/* ==========================================================================
   Fahrschule 24 – Schrobenhausen
   Schriften: Oswald (Anzeige, angelehnt an Verkehrsbeschilderung) und
   Public Sans (Fließtext). Beide selbst gehostet aus assets/fonts/ –
   kein Aufruf von fonts.googleapis.com oder fonts.gstatic.com, keine
   IP-Übertragung an Dritte beim Seitenaufruf.
   ========================================================================== */

@font-face {
    font-family: 'Oswald';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/oswald-700.woff2') format('woff2');
}
@font-face {
    font-family: 'Public Sans';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/public-sans-400.woff2') format('woff2');
}
@font-face {
    font-family: 'Public Sans';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/public-sans-600.woff2') format('woff2');
}
@font-face {
    font-family: 'Public Sans';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/public-sans-700.woff2') format('woff2');
}

:root {
    /* Marke – aus dem Logo entnommen (#791E2C) */
    --brand: #791E2C;
    --brand-deep: #55131E;
    --brand-bright: #A3283B;
    --brand-tint: #F6EEEF;

    --ink: #16181C;
    --ink-soft: #4A4F58;
    --ink-mute: #767C86;

    --paper: #FFFFFF;
    --paper-alt: #F2F1EE;
    --line: #E0DEDA;
    --line-strong: #C9C6C0;

    --ok: #1C6B45;
    --ok-tint: #E7F3ED;
    --wait: #8A5A11;
    --wait-tint: #FBF2E2;

    --display: 'Oswald', "Arial Narrow", "Helvetica Neue Condensed",
               "Roboto Condensed", "Liberation Sans Narrow", sans-serif-condensed,
               system-ui, sans-serif;
    --body: 'Public Sans', system-ui, -apple-system, "Segoe UI", Roboto,
            "Helvetica Neue", Arial, sans-serif;

    --r-sm: 3px;
    --r-md: 6px;
    --wrap: 1180px;
    --gut: clamp(20px, 5vw, 48px);
    --brand-glow: rgba(121, 30, 44, 0.22);
    --shadow-hover: 0 16px 36px -8px rgba(121, 30, 44, 0.18), 0 4px 12px rgba(0,0,0,0.06);
}

*, *::before, *::after { box-sizing: border-box; }

[hidden] { display: none !important; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: .001ms !important;
        transition-duration: .001ms !important;
    }
}

body {
    margin: 0;
    font-family: var(--body);
    font-size: 17px;
    line-height: 1.65;
    color: var(--ink);
    background: var(--paper);
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--brand); }

:focus-visible {
    outline: 3px solid var(--brand-bright);
    outline-offset: 3px;
    border-radius: 2px;
}

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }

.skip-link {
    position: absolute; left: 8px; top: -60px; z-index: 999;
    background: var(--ink); color: #fff; padding: 10px 16px;
    border-radius: var(--r-md); font-weight: 600; text-decoration: none;
    transition: top .15s;
}
.skip-link:focus { top: 8px; }

/* --------------------------------------------------------------- Typografie */

h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.12; font-weight: 700; }

.display {
    font-family: var(--display);
    font-weight: 700;
    letter-spacing: -.005em;
    text-transform: uppercase;
}

h1 { font-size: clamp(2.05rem, 4.6vw, 3.5rem); overflow-wrap: break-word; text-wrap: balance; }
h2 { font-size: clamp(1.9rem, 4.2vw, 3rem); text-wrap: balance; }
h3 { font-size: clamp(1.15rem, 2.2vw, 1.45rem); }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

.lead { font-size: clamp(1.05rem, 1.9vw, 1.22rem); color: var(--ink-soft); max-width: 62ch; }

.eyebrow {
    font-family: var(--display);
    text-transform: uppercase;
    letter-spacing: .16em;
    font-size: .82rem;
    font-weight: 700;
    color: var(--brand);
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}
.eyebrow::before {
    content: ""; width: 34px; height: 3px; background: var(--brand); flex: none;
}

/* ------------------------------------------------------------------ Buttons */

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 15px 26px;
    font: inherit; font-weight: 650; line-height: 1;
    border: 2px solid transparent;
    border-radius: var(--r-md);
    text-decoration: none;
    cursor: pointer;
    transition: background .16s, color .16s, border-color .16s, transform .22s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow .22s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 1em; height: 1em; flex: none; }

.btn-primary { 
    background: var(--brand); 
    color: #fff; 
    box-shadow: 0 8px 22px var(--brand-glow);
}
.btn-primary:hover { 
    background: var(--brand-deep); 
    box-shadow: 0 12px 28px rgba(121, 30, 44, 0.35);
}

.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn-ghost:hover { background: rgba(255,255,255,.14); border-color: #fff; }

.btn-outline { background: transparent; color: var(--brand); border-color: var(--line-strong); }
.btn-outline:hover { border-color: var(--brand); background: var(--brand-tint); }

/* ------------------------------------------------------------------- Header */

.infobar {
    background: var(--ink);
    color: #CFD2D7;
    font-size: .86rem;
}
.infobar .wrap {
    display: flex; justify-content: space-between; align-items: center;
    gap: 18px; padding-block: 9px; flex-wrap: wrap;
}
.infobar a { color: #fff; text-decoration: none; font-weight: 600; }
.infobar a:hover { text-decoration: underline; }
.infobar-set { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }

.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line);
    transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.site-header.is-scrolled {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    border-bottom-color: transparent;
}
.site-header .wrap {
    display: flex; align-items: center; justify-content: space-between;
    gap: 22px; padding-block: 13px;
}
.brand img { width: 168px; }

.nav { display: flex; align-items: center; gap: 26px; }
.nav a {
    color: var(--ink); text-decoration: none; font-weight: 600; font-size: .96rem;
    padding: 6px 0; border-bottom: 2px solid transparent;
}
.nav a:hover, .nav a[aria-current="true"] { border-bottom-color: var(--brand); color: var(--brand); }

.nav-toggle {
    display: none; background: none; border: 1px solid var(--line-strong);
    border-radius: var(--r-md); padding: 9px 11px; cursor: pointer; color: var(--ink);
}
.nav-toggle svg { width: 22px; height: 22px; display: block; }

/* --------------------------------------------------------------------- Hero */

.hero { position: relative; color: #fff; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(105deg, rgba(15,17,20,.93) 0%, rgba(15,17,20,.82) 46%, rgba(85,19,30,.62) 100%);
}
.hero .wrap { padding-block: clamp(48px, 7vw, 88px); }
.hero-grid { 
    display: grid; 
    grid-template-columns: 1fr; 
    gap: 36px; 
    align-items: center; 
}
@media (min-width: 992px) {
    .hero-grid {
        grid-template-columns: 1.25fr 390px;
        gap: clamp(32px, 5vw, 64px);
    }
}
.hero h1 { color: #fff; }
.hero h1 .accent { color: #F0B9C2; display: block; font-size: .84em; }
.hero p { color: #DCDEE2; font-size: clamp(1.02rem, 1.8vw, 1.18rem); max-width: 52ch; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }

.hero-facts {
    display: flex; gap: 10px 26px; flex-wrap: wrap;
    margin-top: 34px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.2);
    list-style: none; padding-left: 0;
}
.hero-facts li {
    display: flex; align-items: center; gap: 9px;
    font-size: .93rem; color: #E6E8EB;
}
.hero-facts svg { width: 17px; height: 17px; color: #F0B9C2; flex: none; }

/* ------------------------------------------- Signature: das Anmeldefenster */

.window-card {
    background: var(--paper);
    color: var(--ink);
    border-radius: var(--r-md);
    box-shadow: 0 24px 60px rgba(0,0,0,.34);
    border: 1px solid rgba(255,255,255,0.18);
    overflow: hidden;
}
.window-card__head {
    padding: 16px 22px;
    border-bottom: 1px solid var(--line);
    display: flex; align-items: center; gap: 11px;
}
.window-card__head strong {
    font-family: var(--display); text-transform: uppercase;
    letter-spacing: .1em; font-size: .84rem;
}
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--ink-mute); flex: none; }
.dot.is-open { 
    position: relative;
    background: var(--ok); 
    box-shadow: 0 0 0 4px var(--ok-tint); 
}
.dot.is-open::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    border: 2px solid var(--ok);
    animation: status-pulse 2s infinite cubic-bezier(0.24, 0, 0.38, 1);
}
@keyframes status-pulse {
    0% { transform: scale(0.95); opacity: 0.8; }
    70% { transform: scale(2.2); opacity: 0; }
    100% { transform: scale(2.4); opacity: 0; }
}

.dot.is-closed { background: var(--wait); box-shadow: 0 0 0 4px var(--wait-tint); }

.window-card__status {
    padding: 17px 22px;
    background: var(--paper-alt);
    border-bottom: 1px solid var(--line);
}
.window-card__status .state {
    font-family: var(--display); text-transform: uppercase;
    font-size: clamp(1.15rem, 2.2vw, 1.45rem); font-weight: 700; line-height: 1.15;
    letter-spacing: .01em; margin-bottom: 5px; overflow-wrap: break-word;
}
.window-card__status .state.open { color: var(--ok); }
.window-card__status .state.closed { color: var(--wait); }
.window-card__status .detail { font-size: .91rem; color: var(--ink-soft); }

.window-card__times { list-style: none; margin: 0; padding: 6px 22px 4px; }
.window-card__times li {
    display: flex; justify-content: space-between; align-items: baseline; gap: 14px;
    padding: 11px 0; border-bottom: 1px solid var(--line); font-size: .89rem;
}
.window-card__times li:last-child { border-bottom: 0; }
.window-card__times .k { color: var(--ink-soft); }
.window-card__times .v { font-weight: 650; text-align: right; white-space: nowrap; }
.window-card__foot { padding: 4px 22px 20px; }
.window-card__foot .btn { width: 100%; }
.window-card__note { font-size: .8rem; line-height: 1.5; color: var(--ink-soft); margin-top: 12px; text-align: center; }

/* ----------------------------------------------------------------- Sections */

.section { padding-block: clamp(56px, 8vw, 100px); }
.section--alt { background: var(--paper-alt); }
.section--tight { padding-block: clamp(40px, 5vw, 64px); }
.section__head { max-width: 66ch; margin-bottom: clamp(32px, 4vw, 52px); }

/* ----------------------------------------------------------- Über / Split */

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 66px); align-items: center; }
.split__media { position: relative; }
.split__media img { border-radius: var(--r-md); width: 100%; }
.split__stamp {
    position: absolute; left: -14px; bottom: -18px;
    background: var(--brand); color: #fff;
    padding: 16px 20px; border-radius: var(--r-md);
    box-shadow: 0 14px 34px rgba(0,0,0,.22);
    max-width: 62%;
}
.split__stamp .n {
    font-family: var(--display); font-size: 2.1rem; line-height: 1; font-weight: 700;
    display: block;
}
.split__stamp .t { font-size: .84rem; opacity: .9; }

.checks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 15px; }
.checks li { display: flex; gap: 13px; align-items: flex-start; }
.checks svg { width: 21px; height: 21px; color: var(--brand); flex: none; margin-top: 2px; }
.checks strong { display: block; }
.checks span { color: var(--ink-soft); font-size: .95rem; }

/* -------------------------------------------------------- Klassen / Filter */

.filters { display: flex; gap: 9px; flex-wrap: wrap; margin-bottom: 28px; }
.filter {
    font: inherit; font-size: .92rem; font-weight: 600;
    padding: 9px 18px; border-radius: 100px; cursor: pointer;
    background: var(--paper); color: var(--ink-soft);
    border: 1px solid var(--line-strong);
    transition: background .15s, color .15s, border-color .15s;
}
.filter:hover { border-color: var(--brand); color: var(--brand); }
.filter[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }

.classes { 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: 20px; 
    list-style: none; 
    padding: 0; 
    margin: 0; 
    align-items: start; 
}

.class-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    overflow: hidden;
    transition: border-color .16s, box-shadow .16s, transform .22s ease;
}
.section--alt .class-card { background: var(--paper); }
.class-card:hover {
    border-color: var(--brand);
    box-shadow: var(--shadow-hover);
    transform: translateY(-3px);
}
.class-card[hidden] { display: none; }

.class-card__details { display: block; }
.class-card__details summary { list-style: none; cursor: pointer; }
.class-card__details summary::-webkit-details-marker { display: none; }

.class-card__top {
    display: flex; 
    align-items: flex-start; 
    gap: 14px;
    padding: 20px 22px;
    -webkit-tap-highlight-color: transparent;
}
.class-card__top:hover .class-card__title-wrap h3 { color: var(--brand); }

.plate {
    font-family: var(--display);
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: .03em;
    line-height: 1;
    width: 58px;
    min-width: 58px;
    height: 38px;
    border: 2px solid var(--brand);
    border-radius: var(--r-sm);
    color: var(--brand);
    background: var(--brand-tint);
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}
.class-card:hover .plate {
    background: var(--brand);
    color: #fff;
}

.class-card__title-wrap {
    flex: 1;
    min-width: 0;
}
.class-card__title-wrap h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0 0 4px;
    line-height: 1.25;
    color: var(--ink);
    transition: color .15s;
}

.class-card__age {
    font-size: .8rem;
    color: var(--ink-mute);
    text-transform: uppercase;
    letter-spacing: .05em;
    font-weight: 650;
    line-height: 1.3;
    display: block;
}
.class-card__age b { color: var(--ink-soft); }

.class-card__chev {
    width: 19px; 
    height: 19px; 
    flex: none;
    color: var(--ink-mute);
    margin-top: 3px;
    transition: transform .22s ease, color .22s ease;
}
.class-card__details[open] .class-card__chev { 
    transform: rotate(180deg); 
    color: var(--brand); 
}

/* Exakt bündige Ausrichtung von Beschreibung & Stichpunkten mit der Überschrift */
.class-card__body {
    padding: 0 22px 22px 94px;
    border-top: 1px solid var(--line);
    padding-top: 16px;
}
.class-card__body > p { 
    font-size: .94rem; 
    color: var(--ink-soft); 
    margin-bottom: 16px; 
    line-height: 1.55;
}

.class-card__meta { 
    list-style: none; 
    padding: 0; 
    margin: 0; 
    display: grid; 
    gap: 9px; 
}
.class-card__meta li { 
    display: flex; 
    gap: 10px; 
    font-size: .89rem; 
    color: var(--ink-soft); 
    align-items: flex-start; 
}
.class-card__meta svg { 
    width: 16px; 
    height: 16px; 
    color: var(--brand); 
    flex: none; 
    margin-top: 3px; 
}

@media (max-width: 620px) {
    .class-card__body {
        padding: 0 20px 20px 20px;
        padding-top: 16px;
    }
}

/* --------------------------------------------------------------- Hinweisbox */

.notice {
    border: 1px solid var(--line-strong);
    border-left: 5px solid var(--brand);
    border-radius: var(--r-md);
    background: var(--paper);
    padding: 26px 28px;
    margin-top: 30px;
}
.notice h3 { font-size: 1.1rem; }
.notice ul { margin: 14px 0 0; padding-left: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 9px; }
.notice li {
    font-size: .88rem; font-weight: 600;
    background: var(--paper-alt); border: 1px solid var(--line);
    padding: 7px 14px; border-radius: 100px;
}
.section--alt .notice li { background: var(--paper-alt); }

/* ------------------------------------------------------------------ Fuhrpark */

.fleet { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; list-style: none; padding: 0; margin: 0; }
.fleet li {
    border: 1px solid var(--line); border-radius: var(--r-md);
    overflow: hidden; background: var(--paper); display: flex; flex-direction: column;
    transition: transform .25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow .25s ease;
}
.fleet li:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.14);
}
.fleet figure { margin: 0; aspect-ratio: 4 / 3; background: var(--paper-alt); overflow: hidden; }
.fleet figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(0.2, 0.8, 0.2, 1); }
.fleet li:hover figure img { transform: scale(1.05); }

.fleet .body { padding: 20px 22px 24px; flex: 1; }
.fleet .for {
    font-family: var(--display); text-transform: uppercase; letter-spacing: .12em;
    font-size: .76rem; font-weight: 700; color: var(--brand); margin-bottom: 6px;
}
.fleet h3 { font-size: 1.1rem; margin-bottom: 6px; }
.fleet p { font-size: .92rem; color: var(--ink-soft); }
.fleet .pending {
    display: flex; align-items: center; justify-content: center;
    height: 100%; color: var(--ink-mute); font-size: .9rem; text-align: center; padding: 20px;
    background: repeating-linear-gradient(135deg, #EDEBE7 0 12px, #F4F2EF 12px 24px);
}

/* --------------------------------------------------------------- Preisbanner */

.pricing {
    background: var(--ink); color: #fff; border-radius: var(--r-md);
    padding: clamp(30px, 5vw, 52px);
    display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(26px, 4vw, 52px); align-items: center;
}
.pricing h2 { color: #fff; }
.pricing p { color: #C7CAD0; }
.pricing .box {
    background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16);
    border-radius: var(--r-md); padding: 26px;
}
.pricing .box h3 { color: #fff; font-size: 1.05rem; }
.pricing .box .btn { width: 100%; margin-top: 8px; }
.pricing .box .btn + .btn { margin-top: 10px; }

/* ------------------------------------------------------------------ Zeiten */

.schedule { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-bottom: clamp(36px, 5vw, 56px); }
.schedule .card {
    background: var(--paper); border: 1px solid var(--line);
    border-radius: var(--r-md); padding: 30px;
}
.schedule .card__icon {
    width: 44px; height: 44px; border-radius: var(--r-md);
    background: var(--brand-tint); color: var(--brand);
    display: grid; place-items: center; margin-bottom: 16px;
}
.schedule .card__icon svg { width: 23px; height: 23px; }
.schedule .time {
    font-family: var(--display); font-size: clamp(1.7rem, 3.4vw, 2.3rem);
    font-weight: 700; line-height: 1.05; margin: 6px 0 4px;
}
.schedule .days { font-weight: 650; color: var(--brand); font-size: .95rem; }
.schedule .card p { font-size: .94rem; color: var(--ink-soft); margin-top: 14px; }

/* ------------------------------------------------------------------- Ablauf */

.unterricht-wrapper {
    margin-top: clamp(40px, 6vw, 64px);
}
.steps-wrapper {
    margin-top: clamp(60px, 8vw, 90px);
    padding-top: clamp(40px, 6vw, 60px);
    border-top: 1px solid var(--line);
}

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; counter-reset: s; }
.steps li { 
    counter-increment: s; 
    padding-top: 22px; 
    border-top: 3px solid var(--line); 
    position: relative;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease, border-color 0.25s ease;
    overflow: hidden;
}
.steps li::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 4px;
    background: var(--brand-bright);
    transition: width 0.3s ease;
}
.steps li:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 28px rgba(0,0,0,0.06);
    border-color: var(--line-strong);
}
.steps li:hover::after {
    width: 100%;
}
.steps li::before {
    content: counter(s, decimal-leading-zero);
    font-family: var(--display); font-size: 1.5rem; font-weight: 700;
    color: var(--brand); display: block; margin-bottom: 8px; line-height: 1;
}
.steps h3 { font-size: 1.02rem; margin-bottom: 6px; }
.steps p { font-size: .89rem; color: var(--ink-soft); }

/* ------------------------------------------------------------------ Kontakt */

.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 4vw, 52px); align-items: center; }

.contact-list { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 2px; }
.contact-list li { display: flex; gap: 15px; padding: 15px 0; border-bottom: 1px solid var(--line); align-items: flex-start; }
.contact-list svg { width: 20px; height: 20px; color: var(--brand); flex: none; margin-top: 4px; }
.contact-list .k { font-size: .78rem; text-transform: uppercase; letter-spacing: .09em; color: var(--ink-mute); font-weight: 650; }
.contact-list .v { font-size: 1.05rem; font-weight: 650; }
.contact-list .v a { text-decoration: none; color: var(--ink); }
.contact-list .v a:hover { color: var(--brand); text-decoration: underline; }

.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); padding: clamp(24px, 3.5vw, 38px); }
.section--alt .form-card { background: var(--paper); }

.field { margin-bottom: 18px; }
.field label { display: block; font-size: .89rem; font-weight: 650; margin-bottom: 7px; }
.field .req { color: var(--brand); }
.field input, .field select, .field textarea {
    width: 100%; font: inherit; font-size: 1rem;
    padding: 13px 15px;
    border: 1px solid var(--line-strong); border-radius: var(--r-md);
    background: var(--paper); color: var(--ink);
    transition: border-color .15s, box-shadow .15s, transform .15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
    outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-tint);
    transform: translateY(-1px);
}
.field textarea { min-height: 122px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.consent { display: flex; gap: 12px; align-items: flex-start; margin: 22px 0; font-size: .88rem; color: var(--ink-soft); }
.consent input { width: 19px; height: 19px; flex: none; margin-top: 2px; accent-color: var(--brand); }

.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.alert { border-radius: var(--r-md); padding: 16px 19px; margin-bottom: 22px; font-size: .95rem; display: flex; gap: 12px; }
.alert svg { width: 20px; height: 20px; flex: none; margin-top: 2px; }
.alert--ok { background: var(--ok-tint); color: #145033; border: 1px solid #B8DCC9; }
.alert--err { background: #FBEDEE; color: #7A1F26; border: 1px solid #EDC7CB; }

/* ---------------------------------------------------------------------- FAQ */

.faq { max-width: 860px; }
.faq details { 
    border-bottom: 1px solid var(--line); 
    transition: background-color 0.2s ease, padding 0.2s ease;
    border-radius: var(--r-sm);
}
.faq details:hover {
    background-color: rgba(121, 30, 44, 0.02);
}
.faq summary {
    cursor: pointer; list-style: none; padding: 20px 44px 20px 14px; position: relative;
    font-weight: 650; font-size: 1.05rem;
    transition: color 0.15s ease;
}
.faq summary:hover { color: var(--brand); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: ""; position: absolute; right: 14px; top: 50%; width: 11px; height: 11px;
    border-right: 2.5px solid var(--brand); border-bottom: 2.5px solid var(--brand);
    transform: translateY(-70%) rotate(45deg); transition: transform .2s;
}
.faq details[open] {
    background-color: var(--paper);
    box-shadow: 0 4px 18px rgba(0,0,0,0.04);
    border-left: 3px solid var(--brand);
    margin-block: 8px;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq .answer { padding: 0 14px 24px; color: var(--ink-soft); font-size: .98rem; max-width: 72ch; }

/* ------------------------------------------------------------------- Footer */

.site-footer { background: var(--ink); color: #A9AEB6; padding-block: clamp(44px, 6vw, 70px) 0; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 34px; }
.site-footer h4 {
    color: #fff; font-family: var(--display); text-transform: uppercase;
    letter-spacing: .11em; font-size: .82rem; margin-bottom: 16px;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.site-footer a { color: #A9AEB6; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-logo { width: 178px; margin-bottom: 16px; filter: brightness(0) invert(1); opacity: .92; }
.footer-bottom {
    margin-top: 42px; border-top: 1px solid rgba(255,255,255,.13);
    padding-block: 20px 24px; display: flex; justify-content: space-between;
    gap: 16px; flex-wrap: wrap; font-size: .87rem;
}
.footer-bottom nav { display: flex; gap: 20px; }

/* ------------------------------------------------------- Mobile Aktionsleiste */

.quickbar {
    display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 120;
    background: var(--paper); border-top: 1px solid var(--line);
    padding: 9px calc(var(--gut) / 2) calc(9px + env(safe-area-inset-bottom));
    gap: 9px;
    box-shadow: 0 -6px 22px rgba(0,0,0,.09);
}
.quickbar .btn { flex: 1; padding: 13px 12px; font-size: .95rem; }

/* -------------------------------------------------------------- Rechtsseiten */

.legal { padding-block: clamp(44px, 6vw, 84px); }
.legal .wrap { max-width: 820px; }
.legal h1 { font-size: clamp(2rem, 4.4vw, 2.8rem); margin-bottom: 10px; }
.legal h2 { font-size: 1.32rem; margin-top: 42px; }
.legal h3 { font-size: 1.05rem; margin-top: 28px; }
.legal p, .legal li { color: var(--ink-soft); }
.legal address { font-style: normal; color: var(--ink); line-height: 1.75; }
.legal .updated { color: var(--ink-mute); font-size: .9rem; }
.legal .todo {
    background: #FFF7E3; border: 1px dashed #D9A93C; color: #6D4E06;
    padding: 3px 8px; border-radius: var(--r-sm); font-weight: 700; font-size: .9rem;
}

/* ------------------------------------------------------------------ Responsiv */

@media (max-width: 1040px) {
    .classes, .fleet, .steps { grid-template-columns: repeat(2, 1fr); }
    .steps li:last-child { grid-column: span 2; }
    .hero-grid, .contact, .pricing, .split { grid-template-columns: 1fr; }
    .split__media { order: -1; }
    .split__stamp { left: auto; right: 14px; bottom: -14px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
    .infobar { display: none; }
    .nav {
        display: none; position: absolute; top: 100%; left: 0; right: 0;
        flex-direction: column; align-items: stretch; gap: 0;
        background: var(--paper); border-bottom: 1px solid var(--line);
        padding: 8px var(--gut) 20px;
        box-shadow: 0 18px 34px rgba(0,0,0,.1);
    }
    .nav.is-open { display: flex; }
    .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
    .nav a:last-of-type { border-bottom: 0; }
    .nav .btn { margin-top: 14px; }
    .nav-toggle { display: block; }
    .quickbar { display: flex; }
    body { padding-bottom: 74px; }
}

@media (max-width: 620px) {
    body { font-size: 16px; }
    .classes, .fleet, .schedule, .steps, .field-row { grid-template-columns: 1fr; }
    .steps li:last-child { grid-column: auto; }
    .footer-grid { grid-template-columns: 1fr; }
    .split__stamp { position: static; max-width: none; margin-top: 14px; }
    .hero-actions .btn { flex: 1 1 100%; }
}

@media print {
    .site-header, .infobar, .quickbar, .hero-media, form { display: none !important; }
}
