/* =========================================================
   BusinesskundenCenter – Scrollytelling-Seite
   Farben & Typografie angelehnt an www.mainzl.group
   und das BusinesskundenCenter-Magazin (Ausgabe 1, 08/2026)
   ========================================================= */

:root {
    --accent:      var(--bk-accent, #4A6E96);
    --accent-dark: var(--bk-accent-dark, #3C5A7C);
    --accent-rgb:  var(--bk-accent-rgb, 74, 110, 150);
    --black:       #0B0B0B;
    --dark:        #141414;
    --dark-2:      #1C1C1C;
    --beige:       #9C958A;
    --beige-light: #ABA49A;
    --white:       #ffffff;
    --muted:       rgba(255, 255, 255, .62);
    --line:        rgba(255, 255, 255, .14);
    --font:        'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --container:   1200px;
    --ease-out:    cubic-bezier(.22, .8, .3, 1);
}

/* (global entfernt – kommt vom Basis-Layout) */

/* (global entfernt – kommt vom Basis-Layout) */

/* (global entfernt – kommt vom Basis-Layout) */

/* (global entfernt – kommt vom Basis-Layout) */
/* (global entfernt – kommt vom Basis-Layout) */
/* (global entfernt – kommt vom Basis-Layout) */

/* (global entfernt – kommt vom Basis-Layout) */
h2 { font-size: clamp(30px, 4.6vw, 54px); }
h3 { font-size: 22px; font-weight: 700; }

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 28px;
}

.container--narrow { max-width: 900px; }

.accent { color: var(--accent); }

.section { padding: clamp(80px, 12vh, 140px) 0; position: relative; }
.section--dark  { background: var(--dark); }
.section--black { background: var(--black); }
.section--beige { background: var(--beige); color: var(--black); }

.eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .22em;
    color: var(--accent);
    margin-bottom: 22px;
}

.eyebrow::before {
    content: "";
    display: inline-block;
    width: 34px;
    height: 2px;
    background: var(--accent);
    vertical-align: middle;
    margin-right: 12px;
}

.eyebrow--dark { color: var(--black); }
.eyebrow--dark::before { background: var(--black); }

/* =========================================================
   Buttons
   ========================================================= */

.btn {
    display: inline-block;
    padding: 15px 34px;
    font-family: var(--font);
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
    border-radius: 999px;
    transition: transform .25s var(--ease-out), background .25s, color .25s, border-color .25s;
    cursor: pointer;
}

.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--accent-dark); transform: translateY(-3px); }

.btn--ghost { border: 2px solid rgba(255,255,255,.5); color: #fff; }
.btn--ghost:hover { border-color: #fff; background: #fff; color: var(--black); transform: translateY(-3px); }

.btn--small { padding: 11px 24px; font-size: 12px; }

/* =========================================================
   Scroll-Fortschrittsleiste
   ========================================================= */

.progress {
    position: fixed;
    inset: 0 0 auto 0;
    height: 3px;
    z-index: 1000;
    background: transparent;
}

.progress span {
    display: block;
    height: 100%;
    width: 0;
    background: var(--accent);
    transform-origin: left;
}

/* =========================================================
   Kopfzeile
   ========================================================= */

.topbar {
    position: fixed;
    inset: 3px 0 auto 0;
    z-index: 900;
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 14px 28px;
    transition: background .4s, box-shadow .4s, padding .4s;
}

.topbar.is-scrolled {
    background: rgba(8, 8, 8, .88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
    padding-top: 10px;
    padding-bottom: 10px;
}

.topbar__brand { display: flex; align-items: center; gap: 14px; }
.topbar__brand img { height: 40px; width: auto; }

.topbar__divider { width: 1px; height: 34px; background: var(--line); }

.topbar__wordmark {
    font-size: 13px;
    font-weight: 800;
    line-height: 1.25;
    text-transform: uppercase;
    letter-spacing: .1em;
}

.topbar__nav {
    display: flex;
    gap: 26px;
    margin-left: auto;
}

.topbar__nav a {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--muted);
    transition: color .2s;
}

.topbar__nav a:hover { color: var(--accent); }

/* =========================================================
   Punkt-Navigation
   ========================================================= */

.dotnav {
    position: fixed;
    right: 22px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 800;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.dotnav a { position: relative; display: flex; align-items: center; }

.dotnav a span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .28);
    transition: background .3s, transform .3s;
}

.dotnav a::before {
    content: attr(data-label);
    position: absolute;
    right: 22px;
    white-space: nowrap;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: #fff;
    background: rgba(10, 10, 10, .85);
    padding: 5px 12px;
    border-radius: 4px;
    opacity: 0;
    transform: translateX(6px);
    pointer-events: none;
    transition: opacity .25s, transform .25s;
}

.dotnav a:hover::before { opacity: 1; transform: translateX(0); }

.dotnav a.is-active span {
    background: var(--accent);
    transform: scale(1.45);
}

/* =========================================================
   Reveal-Animationen
   ========================================================= */

.reveal-load {
    opacity: 0;
    transform: translateY(26px);
    animation: rise .9s var(--ease-out) forwards;
    animation-delay: var(--d, 0s);
}

@keyframes rise {
    to { opacity: 1; transform: translateY(0); }
}

.js [data-reveal] {
    opacity: 0;
    transform: translateY(34px);
    transition: opacity .85s var(--ease-out), transform .85s var(--ease-out);
    transition-delay: var(--d, 0s);
}

.js [data-reveal].in {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================================
   Hero
   ========================================================= */

.hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    isolation: isolate;
}

.hero__media {
    position: absolute;
    inset: -12% 0;
    z-index: -2;
    will-change: transform;
}

.hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 22%;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(180deg, rgba(5,5,5,.62) 0%, rgba(5,5,5,.18) 34%, rgba(5,5,5,.58) 66%, rgba(5,5,5,.94) 100%);
}

.hero__content {
    padding: 160px 28px 40px;
    max-width: var(--container);
    margin: 0 auto;
    width: 100%;
    will-change: transform, opacity;
}

.hero__issue {
    display: inline-block;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .2em;
    padding: 8px 16px;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 999px;
    margin-bottom: 26px;
    background: rgba(0, 0, 0, .25);
    backdrop-filter: blur(4px);
}

.hero__title {
    font-size: clamp(34px, 8.6vw, 116px);
    letter-spacing: -.02em;
    line-height: .98;
    text-shadow: 0 10px 40px rgba(0, 0, 0, .45);
}

.hero__line { display: block; overflow: hidden; }
.hero__line > span { display: inline-block; }

.hero__part {
    margin-top: 14px;
    font-size: clamp(15px, 1.8vw, 21px);
    font-weight: 600;
    color: rgba(255, 255, 255, .85);
}

.hero__claim {
    margin-top: 6px;
    font-size: clamp(24px, 3.4vw, 42px);
    font-weight: 800;
    color: var(--accent);
}

.hero__sub {
    max-width: 560px;
    margin-top: 18px;
    font-size: clamp(15px, 1.6vw, 18px);
    color: rgba(255, 255, 255, .8);
}

.hero__actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.hero__brands {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: clamp(20px, 4vw, 48px);
    padding: 26px 28px 84px;
    border-top: 1px solid rgba(255, 255, 255, .12);
    margin-top: 44px;
}

.hero__brands img {
    height: 26px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: .82;
    transition: opacity .25s, transform .25s;
}

.hero__brands img:hover { opacity: 1; transform: translateY(-3px); }

.hero__scrollhint {
    position: absolute;
    left: 50%;
    bottom: 22px;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 5;
}

.hero__mouse {
    width: 24px;
    height: 38px;
    border: 2px solid rgba(255, 255, 255, .6);
    border-radius: 999px;
    display: flex;
    justify-content: center;
    padding-top: 7px;
}

.hero__mouse span {
    width: 3px;
    height: 8px;
    border-radius: 2px;
    background: var(--accent);
    animation: wheel 1.8s ease-in-out infinite;
}

@keyframes wheel {
    0%   { transform: translateY(0); opacity: 1; }
    60%  { transform: translateY(12px); opacity: 0; }
    61%  { transform: translateY(0); opacity: 0; }
    100% { opacity: 1; }
}

.hero__scrolltext {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .3em;
    color: rgba(255, 255, 255, .55);
}

/* Ankersprünge (Punkt-Navigation, Sprungmarken) gleiten, statt zu
   springen – Gegenstück dazu ist die reduced-motion-Regel unten. */
html { scroll-behavior: smooth; }

/* =========================================================
   Sticky-Szenen (Grundgerüst)
   ========================================================= */

.scene { position: relative; }

/* Sticky-Box beginnt unter dem (Sticky-)Header: height UND min-height
   auf denselben Wert, sonst ragt die Box unter den Viewport und
   zentrierter Inhalt wird unten abgeschnitten. Statische Varianten
   (Team mobil, reduzierte Bewegung) setzen height wieder auf auto. */
.scene__sticky {
    position: sticky;
    top: var(--bk-header-offset, 0px);
    min-height: calc(100vh - var(--bk-header-offset, 0px));
    height: calc(100vh - var(--bk-header-offset, 0px));
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

.scene__heading { margin-bottom: clamp(30px, 5vh, 60px); }

/* =========================================================
   Szene: Kinetischer Text
   ========================================================= */

.scene--kinetic { height: 320vh; background: var(--black); }

.kinetic__text {
    /* vh-Begrenzung: Textblock muss auch in flachen Fenstern komplett sichtbar sein */
    font-size: clamp(22px, min(3.6vw, 5.6vh), 50px);
    font-weight: 700;
    line-height: 1.38;
    letter-spacing: -.01em;
}

.kinetic__text .w {
    color: rgba(255, 255, 255, .13);
    transition: color .18s linear;
}

.kinetic__text .w.on { color: #fff; }
.kinetic__text .w.hl.on { color: var(--accent); }

/* Fallback ohne JS: alles sichtbar */
html:not(.js) .kinetic__text { color: #fff; }
html:not(.js) .kinetic__text em { color: var(--accent); font-style: normal; }
.kinetic__text em { font-style: normal; }

/* =========================================================
   Drei Pfeiler
   ========================================================= */

.pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
    margin-top: 14px;
}

.pillar {
    position: relative;
    padding: 40px 34px 36px;
    background: var(--dark-2);
    border: 1px solid rgba(255, 255, 255, .07);
    border-radius: 18px;
    overflow: hidden;
    transition: transform .35s var(--ease-out), border-color .35s;
}

.pillar::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 3px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .5s var(--ease-out);
}

.pillar:hover { transform: translateY(-6px); border-color: rgba(var(--accent-rgb), .4); }
.pillar:hover::after { transform: scaleX(1); }

.pillar__num {
    display: block;
    font-size: 15px;
    font-weight: 800;
    color: var(--accent);
    letter-spacing: .14em;
    margin-bottom: 18px;
}

.pillar h3 { font-size: clamp(21px, 2vw, 26px); margin-bottom: 14px; }
.pillar p { font-size: 15px; color: var(--muted); }

.statement {
    max-width: 880px;
    margin-top: clamp(50px, 8vh, 80px);
    font-size: clamp(20px, 2.6vw, 30px);
    font-weight: 700;
    line-height: 1.45;
}

.statement strong { color: var(--accent); }

.u-underline {
    background-image: linear-gradient(var(--accent), var(--accent));
    background-repeat: no-repeat;
    background-size: 0% 3px;
    background-position: 0 96%;
    transition: background-size 1.2s var(--ease-out) .35s;
}

[data-reveal].in .u-underline { background-size: 100% 3px; }

/* =========================================================
   Zahlenband
   ========================================================= */

.stats__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 34px;
    text-align: center;
}

.stat__value {
    display: block;
    font-size: clamp(52px, 6.5vw, 88px);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -.02em;
}

.stat__label {
    display: block;
    margin-top: 12px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    line-height: 1.5;
    color: rgba(0, 0, 0, .72);
}

/* =========================================================
   Szene: Fahrzeuglebenszyklus
   ========================================================= */

.scene--cycle { height: 420vh; background: var(--dark); }
.scene--cycle .scene__sticky { background: var(--dark); }

.cycle { display: grid; grid-template-rows: auto auto; gap: clamp(30px, 6vh, 70px); }

.cycle__panel {
    position: relative;
    min-height: 190px;
}

.cycle__step {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 12px 34px;
    align-content: start;
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .5s var(--ease-out), transform .5s var(--ease-out);
    pointer-events: none;
}

.cycle__step.is-active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.cycle__num {
    grid-row: span 2;
    font-size: clamp(90px, 12vw, 170px);
    font-weight: 800;
    line-height: .82;
    /* Outline-Ziffer: Fuellung in Szenen-Hintergrundfarbe wird NACH dem
       Stroke gemalt (paint-order) und deckt so die Strichkreuzungen ab,
       die Manropes ueberlappende Glyph-Konturen beim Stroken erzeugen
       (sichtbarer "Stern" in der 2). Sichtbar bleibt die aeussere
       Stroke-Haelfte -> Breite doppelt so gross waehlen. */
    color: var(--dark);
    paint-order: stroke fill;
    -webkit-text-stroke: 4px rgba(var(--accent-rgb), .8);
}

.cycle__step h3 { font-size: clamp(28px, 3.6vw, 46px); align-self: end; }

.cycle__step p {
    max-width: 560px;
    font-size: clamp(15px, 1.7vw, 19px);
    color: var(--muted);
}

.cycle__rail { padding-top: 10px; }

.cycle__line {
    position: relative;
    height: 3px;
    background: rgba(255, 255, 255, .12);
    border-radius: 2px;
    overflow: hidden;
}

.cycle__line span {
    position: absolute;
    inset: 0 auto 0 0;
    width: 0%;
    background: var(--accent);
}

.cycle__nodes {
    display: flex;
    justify-content: space-between;
    margin-top: 16px;
}

.cycle__node {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
}

.cycle__node:first-child { align-items: flex-start; text-align: left; }
.cycle__node:last-child  { align-items: flex-end;  text-align: right; }

.cycle__node i {
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: var(--dark);
    border: 2px solid rgba(255, 255, 255, .3);
    margin-top: -24px;
    transition: background .3s, border-color .3s, transform .3s;
}

.cycle__node b {
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: rgba(255, 255, 255, .45);
    transition: color .3s;
}

.cycle__node.is-done i,
.cycle__node.is-active i {
    background: var(--accent);
    border-color: var(--accent);
}

.cycle__node.is-active i { transform: scale(1.35); box-shadow: 0 0 0 7px rgba(var(--accent-rgb), .18); }
.cycle__node.is-active b { color: #fff; }
.cycle__node.is-done b   { color: rgba(255, 255, 255, .75); }

/* =========================================================
   TCO
   ========================================================= */

.tco { text-align: center; }

.tco__quote {
    font-size: clamp(24px, 3.4vw, 42px);
    font-weight: 800;
    line-height: 1.35;
    max-width: 900px;
    margin: 0 auto 26px;
}

.tco__note { color: var(--muted); font-size: clamp(16px, 1.8vw, 20px); }
.tco__note strong { color: var(--accent); }

/* =========================================================
   Szene: Team (horizontales Scrollen)
   ========================================================= */

.scene--team { height: 440vh; background: var(--black); }
/* padding klein halten: die Sticky-Box beginnt bereits unter dem Header */
.scene--team .scene__sticky { justify-content: flex-start; padding-top: clamp(20px, 3vh, 44px); }

.team__head { width: 100%; }

.team__viewport {
    flex: 1;
    display: flex;
    /* center statt stretch: der Track wird so hoch wie die hoechste
       Karte (Inhalt) – nicht so hoch wie der Viewport. So wird der Text
       auf flacheren Fenstern nicht unten abgeschnitten. */
    align-items: center;
    overflow: hidden;
    padding-bottom: 3vh;
}

.team__track {
    display: flex;
    /* stretch: alle Karten gleich hoch (Track-Hoehe), egal wie lang der
       Text – die Kacheln behalten dasselbe Format */
    align-items: stretch;
    gap: clamp(22px, 3vw, 44px);
    padding-left: max(28px, calc((100vw - var(--container)) / 2 + 28px));
    padding-right: 8vw;
    will-change: transform;
}

.teamcard {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    width: min(420px, 82vw);
    background: var(--dark-2);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 20px;
    overflow: hidden;
    transition: transform .4s var(--ease-out), border-color .4s;
}

.teamcard:hover { transform: translateY(-8px); border-color: rgba(var(--accent-rgb), .45); }

.teamcard__photo {
    /* 4:3 statt 3:2 und ein hoeherer Deckel: mehr Bildhoehe, damit die
       Koepfe nicht am oberen Rand beschnitten werden */
    aspect-ratio: 4 / 3;
    /* auf flachen Fenstern etwas beschneiden, damit die ganze Karte
       unter dem Sticky-Header sichtbar bleibt */
    max-height: clamp(240px, 36vh, 320px);
    /* FESTE Fotohoehe fuer alle Karten: das Foto schrumpft nie mit der
       Textlaenge darunter – jede Kachel hat dasselbe Format */
    flex: none;
    overflow: hidden;
}

.teamcard__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* beim Höhen-Beschnitt (max-height) oben ansetzen: Köpfe bleiben
       im Bild, beschnitten wird unten am Schreibtisch */
    object-position: center top;
    transition: transform .6s var(--ease-out);
}

.teamcard:hover .teamcard__photo img { transform: scale(1.05); }

/* Der Textblock fuellt den Rest der (einheitlich hohen) Karte */
.teamcard__body { padding: 20px 26px 22px; flex: 1 1 auto; min-height: 0; }

.teamcard__body h3 { font-size: 24px; }

.teamcard__role {
    margin-top: 5px;
    font-size: 12.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--accent);
}

.teamcard__quote {
    margin-top: 16px;
    font-size: 14.5px;
    line-height: 1.7;
    color: var(--muted);
}

/* Flache Fenster: Textblock kompakter, damit dem Foto mehr Hoehe bleibt
   und die Karte in den Sticky-Bereich passt (nur Desktop-Querlayout) */
@media (min-width: 901px) and (max-height: 800px) {
    .teamcard__body { padding: 16px 22px 18px; }
    .teamcard__body h3 { font-size: 21px; }
    .teamcard__quote { margin-top: 10px; font-size: 13.5px; line-height: 1.55; }
    .teamcard__photo { max-height: 32vh; }
    /* Kopfzeile kompakter, damit die Karten samt Foto ins Fenster passen */
    .team__head .scene__heading { font-size: clamp(26px, 4.6vh, 38px); margin-bottom: 14px; }
}

/* Sehr flache Fenster: Zitat auf 3 Zeilen kuerzen, dafuer behaelt das
   Foto genug Hoehe fuers ganze Gesicht */
@media (min-width: 901px) and (max-height: 720px) {
    .teamcard__quote {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
        line-clamp: 3;
        overflow: hidden;
    }
}

/* =========================================================
   Fuhrparkalltag
   ========================================================= */

.daily__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: clamp(40px, 6vw, 90px);
    align-items: center;
}

.daily__media {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
}

.daily__media img { width: 100%; height: 100%; object-fit: cover; }

.daily__badge {
    position: absolute;
    left: 20px;
    bottom: 20px;
    background: var(--accent);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .12em;
    padding: 9px 18px;
    border-radius: 999px;
}

.daily__intro {
    margin: 18px 0 30px;
    color: var(--muted);
    font-size: clamp(16px, 1.8vw, 19px);
}

.checklist {
    list-style: none;
    margin: 0;
    padding: 0;
}

.checklist li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .09);
    font-size: 16px;
    font-weight: 600;
}

.checklist li:last-child { border-bottom: none; }

.check {
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    margin-top: 1px;
    border-radius: 50%;
    background: rgba(var(--accent-rgb), .14);
    border: 1.5px solid rgba(var(--accent-rgb), .55);
    display: flex;
    align-items: center;
    justify-content: center;
}

.check svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: #eaf7c0;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 26;
    stroke-dashoffset: 26;
    transition: stroke-dashoffset .7s var(--ease-out) calc(var(--d, 0s) + .3s);
}

[data-reveal].in .check svg { stroke-dashoffset: 0; }

/* =========================================================
   Leasingrücknahme – Timeline
   ========================================================= */

.takeback__head { max-width: 780px; margin-bottom: clamp(50px, 8vh, 90px); }

.takeback__intro { margin-top: 20px; color: var(--muted); font-size: clamp(16px, 1.8vw, 19px); }

.takeback__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    gap: clamp(44px, 6vw, 100px);
    align-items: start;
}

.timeline { position: relative; padding-left: 46px; }

.timeline__bar {
    position: absolute;
    left: 13px;
    top: 8px;
    bottom: 8px;
    width: 3px;
    background: rgba(255, 255, 255, .12);
    border-radius: 2px;
    overflow: hidden;
}

.timeline__bar span {
    position: absolute;
    inset: 0 0 auto 0;
    height: 0%;
    background: var(--accent);
}

.tl-item { position: relative; padding-bottom: clamp(36px, 5vh, 56px); }
.tl-item:last-child { padding-bottom: 0; }

.tl-item__dot {
    position: absolute;
    left: -46px;
    top: 6px;
    width: 29px;
    height: 29px;
    border-radius: 50%;
    background: var(--black);
    border: 2px solid rgba(255, 255, 255, .3);
    transition: border-color .35s, box-shadow .35s;
}

.tl-item__dot::after {
    content: "";
    position: absolute;
    inset: 7px;
    border-radius: 50%;
    background: var(--accent);
    transform: scale(0);
    transition: transform .35s var(--ease-out);
}

.tl-item.is-on .tl-item__dot { border-color: var(--accent); box-shadow: 0 0 0 6px rgba(var(--accent-rgb), .12); }
.tl-item.is-on .tl-item__dot::after { transform: scale(1); }

.tl-item__when {
    display: inline-block;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .16em;
    color: var(--accent);
    margin-bottom: 8px;
}

.tl-item h3 { font-size: clamp(20px, 2.2vw, 26px); margin-bottom: 8px; }
.tl-item p { color: var(--muted); font-size: 15.5px; max-width: 560px; }

.tl-item { opacity: .35; transform: translateX(14px); transition: opacity .5s var(--ease-out), transform .5s var(--ease-out); }
.tl-item.is-on { opacity: 1; transform: translateX(0); }
html:not(.js) .tl-item { opacity: 1; transform: none; }

.takeback__side {
    position: sticky;
    top: 80px;
    align-self: start;
    display: flex;
    flex-direction: column;
    gap: 26px;
}

.takeback__media {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
}

.benefits {
    background: var(--dark-2);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 20px;
    padding: 30px 32px;
}

.benefits__title {
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .18em;
    color: var(--accent);
    margin-bottom: 16px;
}

/* Ohne den globalen Reset des Standalone-Onepagers braucht die Liste
   einen eigenen: sonst Browser-Bullet + Akzent-Punkt doppelt. */
.benefits ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.benefits li {
    position: relative;
    padding: 9px 0 9px 26px;
    font-size: 15px;
    font-weight: 600;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
}

.benefits li:last-child { border-bottom: none; }

.benefits li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 17px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--accent);
}

/* =========================================================
   Leistungen
   ========================================================= */

.services__heading { max-width: 760px; margin-bottom: clamp(40px, 6vh, 70px); }

.services__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service {
    background: rgba(255, 255, 255, .92);
    color: var(--black);
    border-radius: 18px;
    padding: 36px 32px;
    transition: transform .35s var(--ease-out), box-shadow .35s;
}

.service:hover {
    transform: translateY(-7px);
    box-shadow: 0 26px 60px rgba(0, 0, 0, .22);
}

.service__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 62px;
    border-radius: 16px;
    background: rgba(var(--accent-rgb), .16);
    margin-bottom: 22px;
}

.service__icon svg {
    width: 30px;
    height: 30px;
    fill: none;
    stroke: var(--accent-dark);
    stroke-width: 2.2;
}

.service h3 { font-size: 20px; margin-bottom: 10px; }
.service p { font-size: 14.5px; color: rgba(0, 0, 0, .65); }

/* =========================================================
   Standorte / Karte
   ========================================================= */

.map__stage {
    margin: clamp(36px, 6vh, 64px) 0 40px;
    /* dezenter Tiefenverlauf statt flacher Fläche */
    background: radial-gradient(130% 100% at 22% 0%, #17191d 0%, #101216 48%, #0b0c0f 100%);
    border: 1px solid rgba(255, 255, 255, .07);
    border-radius: 22px;
    padding: clamp(16px, 3vw, 40px);
    overflow: hidden;
}

#mapSvg {
    width: 100%;
    height: auto;
    display: block;
    /* Karte komplett sichtbar halten: Höhe am Raum unter dem
       Sticky-Header ausrichten (Überschrift + Stage-Rahmen ~300px) */
    max-height: clamp(320px, calc(100vh - var(--bk-header-offset, 64px) - 300px), 560px);
    margin: 0 auto;
}

/* Dezentes Gradnetz + Kartendeko (Nordpfeil, Maßstab) */
.map__grid line { stroke: rgba(255, 255, 255, .045); stroke-width: 1; }

.map__compass,
.map__scalebar {
    fill: none;
    stroke: rgba(255, 255, 255, .35);
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.map__decotext {
    fill: rgba(255, 255, 255, .45);
    font-family: var(--font);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .08em;
    text-anchor: middle;
}

/* Seen der Region (OSM-Umrisse) – liegen unter Straßen und Ortspunkten */
.map__lake {
    fill: rgba(120, 165, 205, .13);
    stroke: rgba(150, 195, 235, .26);
    stroke-width: .8;
    stroke-linejoin: round;
}

.map__lake--major {
    fill: rgba(120, 165, 205, .18);
    stroke: rgba(150, 195, 235, .34);
}

.map__lakename {
    fill: rgba(170, 205, 235, .5);
    font-family: var(--font);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    text-anchor: middle;
}

/* Stadtumrisse München/Salzburg (vereinfachte reale Stadtgrenzen) */
.map__cityarea {
    fill: rgba(255, 255, 255, .05);
    stroke: rgba(255, 255, 255, .14);
    stroke-width: 1;
}

.map__citydot { fill: rgba(255, 255, 255, .55); }

.map__cityname {
    fill: rgba(255, 255, 255, .5);
    font-family: var(--font);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    text-anchor: middle;
}

.map__road {
    fill: none;
    stroke: rgba(255, 255, 255, .28);
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-dasharray: var(--len, 1000);
    stroke-dashoffset: var(--len, 1000);
    transition: stroke-dashoffset 1.6s var(--ease-out);
}

.map__road--main { stroke: rgba(var(--accent-rgb), .85); stroke-width: 4; transition-duration: 2.2s; }

.map.is-drawn .map__road { stroke-dashoffset: 0; }
.map.is-drawn #roadA94 { transition-delay: .3s; }
.map.is-drawn #roadA99 { transition-delay: .5s; }

/* Autobahnschild in Verkehrsblau mit weißem Rand (wie das echte A8-Schild) */
.map__sign rect {
    fill: #0e5aa7;
    stroke: rgba(255, 255, 255, .85);
    stroke-width: 1.5;
}

.map__sign text {
    fill: #fff;
    font-family: var(--font);
    font-size: 15px;
    font-weight: 800;
    text-anchor: middle;
}

.map__sign, .map__pin {
    opacity: 0;
    transition: opacity .6s var(--ease-out);
    transition-delay: var(--d, 0s);
}

.map.is-drawn .map__sign,
.map.is-drawn .map__pin { opacity: 1; }

.map__dot { fill: var(--accent); }

/* weicher statischer Schein hinter den Standort-Pins */
.map__halo { fill: var(--accent); fill-opacity: .12; }

.map__pulse {
    fill: none;
    stroke: var(--accent);
    stroke-width: 2;
    opacity: 0;
}

.map.is-drawn .map__pulse {
    animation: pulse 2.4s ease-out infinite;
    animation-delay: calc(var(--d, 0s) + .5s);
}

@keyframes pulse {
    0%   { opacity: .8; transform: scale(1); }
    70%  { opacity: 0;  transform: scale(2.4); }
    100% { opacity: 0;  transform: scale(2.4); }
}

.map__pulse, .map__dot { transform-box: fill-box; transform-origin: center; }

.map__label {
    fill: #fff;
    font-family: var(--font);
    font-size: 17px;
    font-weight: 800;
    text-anchor: middle;
}

.map__label-light { fill: var(--accent); }

.map__sublabel {
    fill: rgba(255, 255, 255, .6);
    font-family: var(--font);
    font-size: 12.5px;
    font-weight: 600;
    text-anchor: middle;
}

/* Beim Bad-Reichenhall-Pin stehen die Labels links neben dem Punkt,
   damit die Netzlinie nach Traunstein nicht durch den Text läuft */
.map__label--end,
.map__sublabel--end { text-anchor: end; }

.map__label--start,
.map__sublabel--start { text-anchor: start; }

/* Bezugslinie, wenn die Beschriftung eines Standorts nicht direkt am
   Punkt Platz findet (Rosenheim: Block liegt südlich der A8). */
.map__leader {
    fill: none;
    stroke: rgba(var(--accent-rgb), .45);
    stroke-width: 1.2;
    stroke-linecap: round;
}

/* Konstellation: alle Orte sind Knoten, feine gerade Kanten vernetzen
   sie untereinander. pathLength="100" normiert jede Kante – das
   Zeichnen läuft rein über CSS, getriggert vom data-p/is-on-Mechanismus. */
.map__net {
    fill: none;
    stroke: var(--accent);
    stroke-opacity: .3;
    stroke-width: 1.2;
    stroke-linecap: round;
    stroke-dasharray: 101;
    stroke-dashoffset: 101;
    transition: stroke-dashoffset .7s var(--ease-out) .05s;
}

.map__net.is-on { stroke-dashoffset: 0; }

/* Ganz feine Anbindungen der kleinen Orte */
.map__net--fine { stroke-opacity: .15; stroke-width: .8; }

/* Ortsknoten poppen kurz nach ihrem Scroll-Trigger auf (leichtes
   Aufskalieren), die Kanten ziehen anschließend zwischen den Knoten nach */
.map__town {
    opacity: 0;
    transform: scale(.6);
    transform-box: fill-box;
    transform-origin: center;
    transition: opacity .5s var(--ease-out) .2s, transform .5s var(--ease-out) .2s;
}

.map__town.is-on { opacity: 1; transform: scale(1); }

.map__town circle { fill: rgba(255, 255, 255, .92); }

/* Akzentring um die benannten Orte */
.map__town .map__ring {
    fill: none;
    stroke: var(--accent);
    stroke-opacity: .45;
    stroke-width: 1;
}

/* Kleinere Orte ohne Beschriftung – verdichten das Netzbild */
.map__town--minor circle { fill: rgba(255, 255, 255, .45); }

.map__townname {
    fill: rgba(255, 255, 255, .78);
    font-family: var(--font);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    text-anchor: middle;
}

.map__townname--start { text-anchor: start; }
.map__townname--end { text-anchor: end; }

@media (prefers-reduced-motion: reduce) {
    .map__net,
    .map__town { transition: none; }
}

.map__cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* Die Karten sind Links: die rote Unterstreichung aus dem
   Basis-Layout-CSS von mainzl.group unterdrücken */
a.loccard,
a.loccard:hover,
a.loccard:focus { text-decoration: none; }

.loccard {
    display: block;
    background: var(--dark-2);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 18px;
    padding: 30px 30px 26px;
    transition: transform .35s var(--ease-out), border-color .35s;
}

.loccard:hover { transform: translateY(-6px); border-color: rgba(var(--accent-rgb), .5); }

.loccard h3 { font-size: 19px; margin-bottom: 10px; }

.loccard__part {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: var(--accent);
    margin-top: 3px;
}

.loccard p { font-size: 15px; color: var(--muted); margin-bottom: 16px; }

.loccard__link {
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--accent);
}

.loccard__link::after { content: " →"; }

/* =========================================================
   Kontakt
   ========================================================= */

.contact__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin: clamp(36px, 6vh, 60px) 0 50px;
}

.person {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 24px;
    align-items: center;
    background: var(--dark-2);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 18px;
    padding: 24px;
    transition: transform .35s var(--ease-out), border-color .35s;
}

.person:hover { transform: translateY(-5px); border-color: rgba(var(--accent-rgb), .45); }

.person img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    object-position: 50% 12%;
    border-radius: 14px;
}

.person h3 { font-size: 20px; }

.person__role {
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--accent);
    margin: 4px 0 12px;
}

.person a {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: rgba(255, 255, 255, .82);
    transition: color .2s;
    width: fit-content;
}

.person a:hover { color: var(--accent); }

.contact__cta { display: flex; gap: 16px; flex-wrap: wrap; }

/* =========================================================
   Footer
   ========================================================= */

.footer {
    background: #060606;
    border-top: 1px solid rgba(255, 255, 255, .08);
    padding: 46px 0;
}

.footer__inner {
    display: flex;
    align-items: center;
    gap: 34px;
    flex-wrap: wrap;
}

.footer__logo { height: 44px; width: auto; }

.footer__note { font-size: 13px; color: rgba(255, 255, 255, .55); line-height: 1.7; }

.footer__legal {
    margin-left: auto;
    display: flex;
    gap: 24px;
}

.footer__legal a {
    font-size: 13px;
    font-weight: 700;
    color: rgba(255, 255, 255, .6);
    transition: color .2s;
}

.footer__legal a:hover { color: var(--accent); }

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 1100px) {
    .dotnav { display: none; }
}

@media (max-width: 900px) {
    .topbar__nav { display: none; }

    .pillars { grid-template-columns: 1fr; }

    .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 40px 20px; }

    .cycle__num { -webkit-text-stroke-width: 3px; } /* sichtbar ~1.5px (aeussere Haelfte, s. paint-order oben) */

    /* Team: normale vertikale Liste statt Sticky-Horizontal-Scroll –
       height: auto ist Pflicht, sonst behält die statische Box die
       100vh-Höhe der Basisregel und die Karten laufen aus der Sektion */
    .scene--team { height: auto !important; }
    .scene--team .scene__sticky { position: static; min-height: 0; height: auto; padding-top: 0; }
    .scene--team { padding: 90px 0 70px; }
    .team__viewport { overflow: visible; padding-bottom: 0; }
    .team__track {
        flex-direction: column;
        padding: 26px 28px 0 !important;
        transform: none !important;
    }
    .teamcard { width: 100%; }

    .daily__grid { grid-template-columns: 1fr; }

    .takeback__grid { grid-template-columns: 1fr; }
    .takeback__side { position: static; }

    .services__grid { grid-template-columns: repeat(2, 1fr); }

    .map__cards { grid-template-columns: 1fr; }

    .contact__grid { grid-template-columns: 1fr; }

    .footer__legal { margin-left: 0; }
}

@media (max-width: 560px) {
    body { font-size: 16px; }

    .topbar { padding: 10px 16px; gap: 12px; }
    .topbar__brand img { height: 30px; }
    .topbar__divider { height: 26px; }
    .topbar__wordmark { font-size: 10.5px; }
    .btn--small { padding: 9px 16px; font-size: 11px; }

    .hero__content { padding-top: 130px; }
    .hero__brands { gap: 18px; padding-bottom: 90px; }
    .hero__brands img { height: 18px; }

    .scene--kinetic { height: 260vh; }
    .scene--cycle { height: 360vh; }

    .cycle__step { grid-template-columns: 1fr; }
    .cycle__num { grid-row: auto; font-size: 64px; }
    .cycle__node b { display: none; }
    .cycle__node i { margin-top: -22px; }

    .stats__grid { grid-template-columns: repeat(2, 1fr); }

    .services__grid { grid-template-columns: 1fr; }

    .person { grid-template-columns: 88px 1fr; gap: 18px; }
    .person img { width: 88px; height: 88px; }

    .timeline { padding-left: 40px; }
    .tl-item__dot { left: -40px; }
}

/* =========================================================
   Reduzierte Bewegung
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }

    .reveal-load,
    .js [data-reveal] {
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
        transition: none !important;
    }

    .scene--kinetic, .scene--cycle, .scene--team { height: auto !important; }
    .scene__sticky { position: static; min-height: 0; height: auto; padding: 90px 0; }

    .kinetic__text .w { color: #fff; }
    .kinetic__text .w.hl { color: var(--accent); }

    .cycle__panel { min-height: 0; }
    .cycle__step {
        position: static;
        opacity: 1;
        transform: none;
        margin-bottom: 44px;
        pointer-events: auto;
    }
    .cycle__rail { display: none; }

    .team__track { flex-wrap: wrap; transform: none !important; padding: 26px 28px 0; }
    .teamcard { width: min(420px, 100%); }

    .tl-item { opacity: 1; transform: none; }
    .tl-item .tl-item__dot::after { transform: scale(1); }
    .tl-item .tl-item__dot { border-color: var(--accent); }

    .hero__media { inset: 0; transform: none !important; }
    .hero__mouse span { animation: none; }
    .map__pulse { animation: none !important; opacity: 0; }

    .check svg { stroke-dashoffset: 0; transition: none; }
    .u-underline { background-size: 100% 3px; transition: none; }
}

/* === Anpassung an das Basis-Layout (Elementor-Kit) === */
.scene, .section--dark, .section--black,
.scene p, .section--dark p, .section--black p,
.scene li, .section--dark li, .section--black li {
    color: var(--white);
}
.section--beige, .section--beige p { color: var(--black); }

.scene h1, .scene h2, .scene h3,
.section--dark h1, .section--dark h2, .section--dark h3,
.section--black h1, .section--black h2, .section--black h3 {
    color: var(--white);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -.01em;
}
.section--beige h2, .section--beige h3 {
    font-weight: 800;
    line-height: 1.12;
}
.scene .accent, .section--dark .accent, .section--black .accent { color: var(--accent); }

/* === Karte: scrollgesteuerte A8 === */
#roadA8 { transition: none; }

.map__sign.is-on,
.map__pin.is-on { opacity: 1; }

.map__pin.is-on .map__pulse {
    animation: pulse 2.4s ease-out infinite;
    animation-delay: .3s;
}

