#bwc-slider {
    position:relative;
    width: 100%;
    height:80vh;
    height:80dvh;
    overflow:hidden;
    outline:none;
}

/* Slides */
#bwc-slider .slide {
    position:absolute;
    width:100%; height:100%;
    background-size:cover;
    background-position:center;
    opacity:0;
    transition:opacity .8s;
}

#bwc-slider .slide.active { opacity:1; }

/* Content */
#bwc-slider .content {
    position:absolute;
    inset:0;
    color:#fff;
}

/* Banner headline sizing is a 1:1 port of the live production site's
   Revolution-Slider layer, NOT a free design choice -- measured directly
   against wulf-tow.de with Chromium across 15 viewports (390px..2560px):
   the live layer is declared as 70px/line-height 80px at a 1920px design
   grid with Slider Revolution's "fluid text" scaling enabled, which makes
   the rendered size exactly  70px * min(viewportWidth, 1920) / 1920 --
   verified at 1680->61, 1600->58, 1440->53, 1366->50, 1280->47, 1200->44,
   1024->37, 768->28, 480->18, 390->14, and clamped flat at 70px for
   1921/2200/2560. min(3.645833vw, 70px) reproduces that curve exactly
   (70/1920*100 = 3.645833), and min(4.166667vw, 80px) the line-height
   (80/1920*100). font-weight is 400 on live (the SR7 layer JSON declares
   weight 400 for 'DCC Ash'), not 700 -- the previous hardcoded
   3rem/700 rendered a flat, non-scaling 48px bold headline at every
   desktop width.

   Position (top/left below) is calibrated the same way, against the live
   wp_revslider_slides.layers x/y values on the same shared 1920x700
   design canvas: title layer x=550px,y=90px -> left:28.6% (550/1920),
   top:12.9% (90/700). [MEDIUM confidence per RESEARCH.md Finding 3 /
   Assumption A1 -- flagged for a follow-up visual confirmation pass;
   the live Revolution Slider used these same raw px values across all
   its own breakpoints too, i.e. it was not truly responsive either, so
   no new mobile-specific breakpoint is added here.] */
#bwc-slider .content h2 {
    font-family: 'DCC Ash', 'Source Sans Pro', sans-serif;
    font-weight: 400;
    font-size: min(3.645833vw, 70px);
    line-height: min(4.166667vw, 80px);
    position:absolute;
    top:12.9%;
    left:28.6%;
}

/* Button position is a 1:1 port of the live production site's
   Revolution-Slider layer, same calibration method as the h2 rule above:
   on the shared 1920x700 design canvas, the live layer declares the
   button at x=550px,y=300px (title is at x=550px,y=90px) -- translated
   to percentages of that canvas: left:28.6% (550/1920), top:42.9%
   (300/700). Scoped under .content so it only affects this slide's
   button, not .btn elements sitewide. [MEDIUM confidence, same
   Assumption A1 flag as the h2 rule above.] */
#bwc-slider .content .btn {
    position:absolute;
    top:42.9%;
    left:28.6%;
}

#bwc-slider .slide .content > * { opacity:0; }

/* ENTER */
#bwc-slider .slide.active h2 {
    animation:bwcSliderSlideInLeft .8s forwards;
}

#bwc-slider .slide.active a {
    animation:bwcSliderFadeIn 1s forwards .3s;
}

/* EXIT */
#bwc-slider .slide.exit h2 {
    animation:bwcSliderSlideDownExit .6s forwards;
}

/* Animations */
@keyframes bwcSliderSlideInLeft {
    from { opacity:0; transform:translateX(-60px); }
    to { opacity:1; transform:translateX(0); }
}

@keyframes bwcSliderFadeIn {
    to { opacity:1; }
}

@keyframes bwcSliderSlideDownExit {
    to { opacity:0; transform:translateY(20px); }
}

/* Progress Bar */
#bwc-slider .progress {
    position:absolute;
    bottom:0;
    left:0;
    height:4px;
    width:0%;
    background:#fff;
}

/* Navigation Buttons */
#bwc-slider .nav-btn {
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    width:44px;
    height:44px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background-color:#002a65;
    color:#e2e2e2;
    border:1px solid #002a65;
    font-size:1.5rem;
    cursor:pointer;
    z-index:2;
    transition:all .3s ease;
}

#bwc-slider .nav-btn:hover {
    background-color:#fff;
    color:#002a65;
    border-color:#002a65;
}

#bwc-slider #prev { left:10px; }
#bwc-slider #next { right:10px; }

/* Mobile */
@media (max-width:768px){
    #bwc-slider { height:60vh; height:60dvh; }
    /* No font-size override here any more: the min(3.645833vw, 70px) rule
       above already reproduces the live site's own mobile sizes exactly
       (768px -> 28px, 480px -> 18px, 390px -> 14px, all measured against
       wulf-tow.de). The previous flat 1.5rem/24px was both too large at
       390px and too small at 768px. */
}
