/* ============ Schriften (selbst gehostet, kein Google-Aufruf) ============ */

/* Variable Schriften: eine Datei deckt alle Staerken ab */
@font-face {
    font-family: "Hanken Grotesk";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("assets/fonts/hanken-grotesk-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Fuer Marken wie Skoda oder Citroen */
@font-face {
    font-family: "Hanken Grotesk";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("assets/fonts/hanken-grotesk-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: "Archivo";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("assets/fonts/archivo-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "Archivo";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("assets/fonts/archivo-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}


:root {
    --nav-height: 64px;
    --unterleiste-hoehe: 58px;

    /* Schriften */
    --schrift: "Hanken Grotesk", system-ui, "Segoe UI", Arial, sans-serif;
    --schrift-titel: "Archivo", "Hanken Grotesk", system-ui, Arial, sans-serif;

    /* Groessenleiter - nur diese Stufen verwenden */
    --text-xs: 13px;
    --text-sm: 14px;
    --text-md: 16px;
    --text-lg: 18px;
    --text-h3: 20px;
    --text-xl: 22px;
    --text-h2: clamp(28px, 4vw, 40px);
    --text-h1: clamp(34px, 6vw, 60px);

    /* Zeilenhoehen */
    --zeile: 1.55;
    --zeile-titel: 1.15;

    /* Farben */
    --rot: #D8001A;
    --rot-dunkel: #B30016;
    --rot-hell: #FF4A5E;
    --grau: #898989;
    --dunkel: #111;

    /* Textrollen: drei je Untergrund, mehr braucht es nicht */
    --text-dunkel: #111;
    --text-dunkel-leise: #5c5c5c;
    --text-hell: #fff;
    --text-hell-leise: #a3a3a3;

    /* Radien */
    --radius: 10px;
    --radius-rund: 999px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: var(--schrift);
    font-size: var(--text-md);
    line-height: var(--zeile);
    color: var(--text-dunkel);
}

h1, h2, h3 {
    font-family: var(--schrift-titel);
    line-height: var(--zeile-titel);
    /* Grosse Buchstaben stehen sonst zu weit auseinander */
    letter-spacing: -0.02em;
}

/* Links global entschaerft - Aussehen kommt je Bereich */
a {
    color: inherit;
    text-decoration: none;
}


/* ============ Navbar ============ */

.nav {
    position: relative;
    width: 100%;
    height: var(--nav-height);
    background-color: black;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 0 24px;
}

.nav_left_side {
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav_right_side {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-logo {
    display: flex;
    align-items: center;
    height: 100%;
    margin-right: 16px;
}

.nav-logo img {
    height: 44px;
    width: auto;
    display: block;
}

.nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Gilt nur innerhalb der Navbar, damit Links im Seiteninhalt frei bleiben */
.nav a {
    color: var(--grau);
    font-size: var(--text-sm);
    font-weight: 500;
    display: flex;
    justify-content: center;
    text-align: center;
    transition: color 0.2s ease, text-shadow 0.2s ease, transform 0.2s ease;
}

.nav-links a {
    padding: 8px 10px;
    /* "Über uns" soll nicht umbrechen */
    white-space: nowrap;
}

.nav a:hover {
    transform: scale(1.05);
    color: #fff;
    text-shadow: 0 0 8px #fff;
}

.nav-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.nav-phone img {
    height: 32px;
    width: 32px;
    display: block;
}

.nav-phone .nav-phone-icon-hover {
    display: none;
}

.nav-phone:hover .nav-phone-icon {
    display: none;
}

.nav-phone:hover .nav-phone-icon-hover {
    display: block;
}


/* ============ Unterleiste (nur auf schmalen Bildschirmen) ============ */

.unterleiste {
    /* Erst ab dem Handy-Breakpoint sichtbar */
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 50;
    background-color: #0b0b0b;
    border-top: 1px solid #262626;
    /* Platz fuer die Bedienleiste des iPhones */
    padding-bottom: env(safe-area-inset-bottom, 0px);
}

.unterleiste a {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    height: var(--unterleiste-hoehe);
    padding: 0 2px;
    font-size: 11px;
    font-weight: 500;
    line-height: 1;
    color: var(--grau);
    transition: color 0.2s ease;
}

.unterleiste a span {
    /* Bei "Finanzierung" wird es eng */
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.unterleiste svg {
    width: 23px;
    height: 23px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.unterleiste a:hover {
    color: #d8d8d8;
}

/* Die Seite, auf der man gerade ist - wird vom Skript gesetzt */
.unterleiste a.aktiv {
    color: #fff;
}

.unterleiste a.aktiv svg {
    stroke: var(--rot);
}

.unterleiste a:focus-visible {
    outline: 2px solid var(--rot);
    outline-offset: -3px;
}


/* ============ Hero ============ */

.hero {
    display: flex;
    /* min-height statt height: waechst mit, wenn der Inhalt mehr Platz braucht */
    min-height: calc(100vh - var(--nav-height));
    min-height: calc(100dvh - var(--nav-height));
    padding: 48px 24px 36px;
    /* Zwei Verlaeufe: einer von links fuer den Text, einer von unten fuer die Merkmale */
    background-image:
        linear-gradient(to right, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.45) 50%, rgba(0, 0, 0, 0.22) 100%),
        linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 32%),
        url("assets/img/hero.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-innen {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.hero-inhalt {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}



.hero h1::before {
    /* Der rote Strich, frueher unter der Vorzeile */
    content: "";
    display: block;
    width: 64px;
    height: 3px;
    margin-bottom: 24px;
    background-color: var(--rot);
}

.hero h1 {
    /* Begrenzung in em statt <br>: bricht von selbst, auch auf dem Handy */
    max-width: 11em;
    margin: 0 0 18px;
    font-size: var(--text-h1);
    font-weight: 800;
    line-height: 1.04;
    color: var(--text-hell);
}

.hero-text {
    margin: 0 0 32px;
    font-size: var(--text-xl);
    font-weight: 400;
    color: #ededed;
}

.hero-knoepfe {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}


/* ============ Merkmale am unteren Rand des Heros ============ */

.hero-merkmale {
    list-style: none;
    margin: 48px 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
}

.hero-merkmale li {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 4px 30px;
    border-left: 1px solid rgba(255, 255, 255, 0.28);
    font-size: var(--text-sm);
    line-height: 1.35;
    color: #f0f0f0;
}

.hero-merkmale li:first-child {
    padding-left: 0;
    border-left: none;
}

.merkmal-icon {
    flex: 0 0 auto;
    width: 30px;
    height: 30px;
    /* Strichzeichnung statt Flaeche */
    fill: none;
    stroke: #fff;
    stroke-width: 1.4;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: 0.9;
}


/* ============ Buttons im Seiteninhalt ============ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    padding: 0 20px;
    border-radius: var(--radius-rund);
    background-color: var(--rot);
    color: #fff;
    font-size: var(--text-sm);
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
    background-color: var(--rot-dunkel);
    color: #fff;
}

/* Eckiger Button wie im Hero-Entwurf */
.btn-eckig {
    height: 52px;
    padding: 0 30px;
    gap: 12px;
    border-radius: 2px;
    font-size: var(--text-md);
    font-weight: 700;
}

.btn-pfeil {
    transition: transform 0.2s ease;
}

.btn-eckig:hover .btn-pfeil {
    transform: translateX(4px);
}

.btn-umriss {
    background-color: transparent;
    border: 2px solid var(--rot);
    color: var(--rot);
}

.btn-umriss:hover {
    background-color: var(--rot);
    color: #fff;
}

/* Umriss-Button auf dunklem Grund */
.btn-hell {
    border-color: #fff;
    color: #fff;
}

.btn-hell:hover {
    background-color: #fff;
    border-color: #fff;
    color: var(--text-dunkel);
}

/* Weisser Button auf rotem Grund */
.btn-weiss {
    background-color: #fff;
    color: var(--rot);
}

.btn-weiss:hover {
    background-color: var(--dunkel);
    color: #fff;
}


/* ============ Bewertungen ============ */

.bewertungen {
    padding: 72px 24px;
    background-color: #fff;
}

.bewertungen-kopf {
    max-width: 1200px;
    margin: 0 auto 36px;
    text-align: center;
}

.bewertungen-kopf h2 {
    margin: 0 0 22px;
    font-size: var(--text-h2);
    font-weight: 700;
    color: var(--text-dunkel);
}

/* Schnitt je Plattform als Link zu allen Bewertungen */
.bewertung-schnitte {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.bewertung-schnitte a {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border: 1px solid #e2e2e2;
    border-radius: var(--radius-rund);
    font-size: var(--text-sm);
    color: var(--text-dunkel-leise);
    transition: border-color 0.2s ease;
}

.bewertung-schnitte a:hover {
    border-color: var(--rot);
}

.bewertung-schnitte a:focus-visible {
    outline: 2px solid var(--rot);
    outline-offset: 3px;
}

.schnitt-zahl {
    font-family: var(--schrift-titel);
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--text-dunkel);
    font-variant-numeric: tabular-nums;
}

.schnitt-quelle {
    font-weight: 600;
    color: var(--text-dunkel);
}

/* Sterne als SVG wie die anderen Icons - Textzeichen haengen von der Schrift ab */
.stern {
    display: inline-flex;
}

.stern svg {
    width: 18px;
    height: 18px;
    fill: var(--rot);
}

.stern.leer svg {
    fill: #d9d9d9;
}

.bewertung-liste {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.bewertung {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 28px 24px;
    border-radius: var(--radius);
    background-color: #f4f4f4;
}

.bewertung-sterne {
    display: flex;
    gap: 2px;
}

.bewertung-text {
    /* Schiebt den Namen bei unterschiedlich langen Texten nach unten */
    flex: 1;
    margin: 0;
    font-size: var(--text-md);
    line-height: var(--zeile);
    color: var(--text-dunkel);
}

.bewertung-text p {
    margin: 0;
}

.bewertung-text p::before {
    content: "\201E";
}

.bewertung-text p::after {
    content: "\201C";
}

.bewertung-fuss {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: var(--text-sm);
}

.bewertung-name {
    font-weight: 600;
    color: var(--text-dunkel);
}

.bewertung-meta {
    color: var(--text-dunkel-leise);
}

/* Markiert Platzhalter aus bewertungen.json - darf so nicht online gehen */
.bewertung-beispiel {
    position: absolute;
    top: -9px;
    right: 12px;
    padding: 1px 8px;
    border-radius: var(--radius-rund);
    background-color: var(--dunkel);
    font-size: var(--text-xs);
    font-weight: 600;
    color: var(--text-hell);
}

/* Pflichtangabe nach § 5b Abs. 3 UWG: ob und wie die Echtheit geprueft wird */
.bewertung-hinweis {
    max-width: 680px;
    margin: 28px auto 0;
    text-align: center;
    font-size: var(--text-xs);
    color: var(--text-dunkel-leise);
}


/* ============ Punkte unter einer Wisch-Reihe ============ */

.punkte {
    /* Nur dort sinnvoll, wo gewischt wird */
    display: none;
    justify-content: center;
    margin-top: 20px;
}

.punkt {
    display: flex;
    align-items: center;
    justify-content: center;
    /* Die Flaeche ist groesser als der Punkt, damit man sie trifft */
    height: 26px;
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
}

.punkt::before {
    content: "";
    /* Immer strichbreit, der Clip-Pfad zeigt davon nur einen Punkt -
       so aendert sich beim Wechsel nicht das Layout */
    width: 22px;
    height: 8px;
    border-radius: 999px;
    background-color: #3f3f3f;
    clip-path: inset(0 7px round 4px);
    transition: clip-path 0.25s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s ease;
}

/* Der aktuelle Punkt wird zum Strich */
.punkt.aktiv::before {
    clip-path: inset(0 0 round 4px);
    background-color: var(--rot);
}

.punkt:focus-visible {
    outline: 2px solid var(--rot);
    outline-offset: -2px;
    border-radius: 999px;
}


/* ============ Fahrzeugbereich ============ */

.fahrzeuge-bereich {
    padding: 72px 24px;
    background-color: #f4f4f4;
}

.bereich-kopf {
    max-width: 1200px;
    margin: 0 auto 32px;
}

.bereich-kopf h2 {
    margin: 0 0 8px;
    font-size: var(--text-h2);
    font-weight: 700;
    color: var(--text-dunkel);
}

.bereich-kopf p {
    margin: 0;
    font-size: var(--text-md);
    color: var(--text-dunkel-leise);
}


/* ============ Karussell ============ */

.karussell {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.fahrzeug-liste {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    /* Platz, damit das Anheben und der Schatten nicht abgeschnitten werden */
    padding: 8px 4px 20px;
    cursor: grab;
    /* Bildlaufleiste ausblenden, geschoben wird mit Maus, Pfeilen oder Finger */
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.fahrzeug-liste::-webkit-scrollbar {
    display: none;
}

.fahrzeug-liste:focus-visible {
    outline: 2px solid var(--rot);
    outline-offset: 2px;
}

/* Waehrend des Ziehens: Einrasten aus, sonst zappelt es */
.fahrzeug-liste.zieht {
    cursor: grabbing;
    scroll-snap-type: none;
    user-select: none;
}

.fahrzeug-liste.zieht .fahrzeug:hover {
    transform: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

.karussell-pfeil {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background-color: #fff;
    color: var(--text-dunkel);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
    transition: background-color 0.2s ease, opacity 0.2s ease;
}

.karussell-pfeil svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.karussell-pfeil:focus-visible {
    outline: 2px solid var(--rot);
    outline-offset: 2px;
}

.karussell-pfeil:hover {
    background-color: #ececec;
}

/* Am Ende der Reihe verschwindet der Pfeil */
.karussell-pfeil:disabled {
    opacity: 0;
    pointer-events: none;
}

.karussell-pfeil-links {
    left: -12px;
}

.karussell-pfeil-rechts {
    right: -12px;
}

.bereich-fuss {
    max-width: 1200px;
    margin: 32px auto 0;
    display: flex;
    justify-content: center;
}


/* ============ Fahrzeugankauf - Teaser ============ */

/* ============ Garantie (Pro Garant) ============ */

.garantie {
    padding: 88px 24px;
    background-color: #fff;
}

.garantie-innen {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 480px);
    gap: 64px;
    align-items: center;
}

.garantie-text h2 {
    margin: 0 0 16px;
    font-size: var(--text-h2);
    font-weight: 700;
    line-height: var(--zeile-titel);
    text-wrap: balance;
    color: var(--text-dunkel);
}

.garantie-einleitung {
    max-width: 56ch;
    margin: 0 0 36px;
    font-size: var(--text-lg);
    line-height: var(--zeile);
    color: var(--text-dunkel-leise);
}

.garantie-zwischentitel {
    margin: 0 0 12px;
    font-size: var(--text-md);
    font-weight: 700;
    color: var(--text-dunkel);
}

.garantie-bauteile {
    list-style: none;
    margin: 0 0 36px;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.garantie-bauteile li {
    padding: 6px 14px;
    border: 1px solid #dcdcdc;
    border-radius: var(--radius-rund);
    font-size: var(--text-sm);
    color: var(--text-dunkel);
}

/* Das Typenschild: Garantiedaten wie auf der eingepraegten Plakette im Motorraum */
.typenschild {
    --niete: radial-gradient(circle at 40% 35%, #8a8a8a 0 1.5px, #3a3a3a 2.5px 4px, transparent 4.5px);
    position: relative;
    padding: 32px 36px 28px;
    border-radius: 6px;
    background:
        var(--niete) top 14px left 14px / 10px 10px no-repeat,
        var(--niete) top 14px right 14px / 10px 10px no-repeat,
        var(--niete) bottom 14px left 14px / 10px 10px no-repeat,
        var(--niete) bottom 14px right 14px / 10px 10px no-repeat,
        linear-gradient(155deg, #262626 0%, #141414 55%, #1c1c1c 100%);
    color: var(--text-hell);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 18px 40px -12px rgba(0, 0, 0, 0.35);
}

.typenschild-kopf {
    display: flex;
    gap: 18px;
    align-items: center;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--rot);
}

.typenschild-logo {
    flex: none;
    width: 96px;
    height: auto;
}

.typenschild-art {
    margin: 0;
    font-family: var(--schrift-titel);
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--text-hell);
}

.typenschild-daten {
    margin: 0;
}

.typenschild-daten div {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.typenschild-daten dt {
    font-size: var(--text-sm);
    color: var(--text-hell-leise);
}

.typenschild-daten dd {
    margin: 0;
    font-family: var(--schrift-titel);
    font-size: var(--text-md);
    font-weight: 700;
    text-align: right;
    font-variant-numeric: tabular-nums;
}

/* Auf dem dunklen Schild braucht die gelbe Luecke dunkle Schrift */
.typenschild .luecke {
    color: var(--text-dunkel);
}

/* Staffel aus den Garantiebedingungen, klein unter den Eckdaten */
.typenschild-staffel {
    width: 100%;
    margin-top: 18px;
    border-collapse: collapse;
    font-size: var(--text-sm);
    font-variant-numeric: tabular-nums;
}

.typenschild-staffel caption {
    margin-bottom: 8px;
    font-size: var(--text-xs);
    text-align: left;
    color: var(--text-hell-leise);
}

.typenschild-staffel th,
.typenschild-staffel td {
    padding: 5px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    text-align: right;
}

.typenschild-staffel th[scope="row"],
.typenschild-staffel thead th:first-child {
    text-align: left;
    font-weight: 400;
    color: var(--text-hell-leise);
}

.typenschild-staffel thead th {
    font-size: var(--text-xs);
    font-weight: 600;
    color: var(--text-hell-leise);
}

.typenschild-fuss {
    margin: 18px 0 0;
    font-size: var(--text-xs);
    line-height: 1.5;
    color: var(--text-hell-leise);
}

/* Im Garantiefall: drei Schritte, die Reihenfolge zaehlt */
.garantie-fall {
    max-width: 1200px;
    margin: 80px auto 0;
    padding-top: 48px;
    border-top: 1px solid #e3e3e3;
}

.garantie-fall-titel {
    margin: 0 0 28px;
    font-family: var(--schrift-titel);
    font-size: var(--text-xl);
    color: var(--text-dunkel);
}

.garantie-schritte {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px;
    counter-reset: schritt;
}

.garantie-schritte li {
    counter-increment: schritt;
}

.garantie-schritte li::before {
    content: counter(schritt);
    display: block;
    margin-bottom: 12px;
    font-family: var(--schrift-titel);
    font-size: 44px;
    font-weight: 800;
    line-height: 1;
    color: var(--rot);
}

.garantie-schritte h4 {
    margin: 0 0 8px;
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--text-dunkel);
}

.garantie-schritte p {
    margin: 0;
    font-size: var(--text-md);
    line-height: var(--zeile);
    color: var(--text-dunkel-leise);
}

.garantie-hotline {
    margin: 36px 0 0;
    font-size: var(--text-md);
    color: var(--text-dunkel);
}

.garantie-hotline a {
    font-weight: 700;
    color: var(--rot);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.garantie-hotline span {
    color: var(--text-dunkel-leise);
}

/* Kurzfassung auf der Detailseite, fuehrt zum Abschnitt auf der Startseite */
.detail-garantie {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 14px;
    align-items: center;
    padding: 14px 16px;
    border-radius: var(--radius);
    background-color: var(--dunkel);
    color: var(--text-hell);
    transition: background-color 0.2s ease;
}

.detail-garantie:hover {
    background-color: #262626;
}

.detail-garantie:focus-visible {
    outline: 2px solid var(--rot);
    outline-offset: 3px;
}

.detail-garantie-logo {
    width: 52px;
    height: auto;
}

.detail-garantie-titel {
    display: block;
    font-weight: 700;
    font-size: var(--text-sm);
}

.detail-garantie-text {
    display: block;
    margin-top: 2px;
    font-size: var(--text-xs);
    color: var(--text-hell-leise);
}

.detail-garantie .luecke {
    color: var(--text-dunkel);
}

.detail-garantie-pfeil {
    color: var(--rot-hell);
    transition: transform 0.2s ease;
}

.detail-garantie:hover .detail-garantie-pfeil {
    transform: translateX(4px);
}


/* ============ Haeufige Fragen ============ */

.fragen {
    padding: 88px 24px;
    background-color: #f4f4f4;
}

.fragen-innen {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
    gap: 64px;
    align-items: start;
}

.fragen-kopf h2 {
    margin: 0 0 14px;
    font-size: var(--text-h2);
    line-height: var(--zeile-titel);
    color: var(--text-dunkel);
}

.fragen-kopf p {
    margin: 0;
    max-width: 40ch;
    font-size: var(--text-md);
    line-height: var(--zeile);
    color: var(--text-dunkel-leise);
}

.fragen-kopf a,
.frage a {
    color: var(--rot);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.fragen-liste {
    border-top: 1px solid #dcdcdc;
}

.frage {
    border-bottom: 1px solid #dcdcdc;
}

.frage summary {
    position: relative;
    padding: 22px 48px 22px 0;
    list-style: none;
    font-family: var(--schrift-titel);
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--text-dunkel);
    cursor: pointer;
}

.frage summary::-webkit-details-marker {
    display: none;
}

.frage summary:hover {
    color: var(--rot);
}

.frage summary:focus-visible {
    outline: 2px solid var(--rot);
    outline-offset: 4px;
}

/* Plus aus zwei Balken; der senkrechte dreht sich beim Oeffnen weg */
.frage summary::before,
.frage summary::after {
    content: "";
    position: absolute;
    right: 8px;
    top: 50%;
    width: 16px;
    height: 2px;
    background-color: var(--rot);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.frage summary::after {
    transform: rotate(90deg);
}

.frage[open] summary::after {
    transform: rotate(0deg);
}

.frage p {
    margin: 0 0 22px;
    max-width: 65ch;
    font-size: var(--text-md);
    line-height: var(--zeile);
    color: var(--text-dunkel-leise);
}


.ankauf-teaser {
    padding: 56px 24px;
    background-color: var(--rot);
}

.ankauf-innen {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.ankauf-text {
    max-width: 620px;
}


.ankauf-text h2 {
    margin: 0 0 10px;
    font-size: var(--text-h2);
    font-weight: 700;
    color: #fff;
}

.ankauf-text p {
    margin: 0;
    font-size: var(--text-lg);
    color: rgba(255, 255, 255, 0.92);
}


/* ============ Fahrzeug-Raster (Uebersichtsseite) ============ */

.seiten-kopf {
    padding: 56px 24px;
    background-color: var(--dunkel);
}

.seiten-kopf-innen {
    max-width: 1200px;
    margin: 0 auto;
}

.seiten-kopf h1 {
    margin: 0 0 10px;
    font-size: var(--text-h2);
    font-weight: 700;
    color: var(--text-hell);
}

.seiten-kopf p {
    max-width: 62ch;
    margin: 0;
    color: var(--text-hell-leise);
}

.fahrzeug-raster {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

/* Meldung, wenn die Daten fehlen oder der Bestand leer ist */
.fahrzeug-hinweis {
    grid-column: 1 / -1;
    margin: 0;
    padding: 32px 0;
    font-size: var(--text-md);
    color: var(--text-dunkel-leise);
}


/* ============ Fahrzeug-Kachel ============ */

.fahrzeug {
    flex: 0 0 300px;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    background-color: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.fahrzeug:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
    transform: translateY(-3px);
}

.fahrzeug-bild {
    display: block;
    aspect-ratio: 4 / 3;
    background-color: #e9e9e9;
}

.fahrzeug-bild img {
    /* Verhindert das Geisterbild beim Ziehen mit der Maus */
    user-select: none;
    -webkit-user-drag: none;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.fahrzeug-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 16px;
}

/* Kleine Zeichen ueber dem Titel: Neu, Preisbewertung */
.merkzeichen {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.merkzeichen-neu,
.merkzeichen-preis {
    padding: 3px 9px;
    border-radius: var(--radius-rund);
    font-size: var(--text-xs);
    font-weight: 700;
    line-height: 1.4;
}

.merkzeichen-neu {
    background-color: var(--rot);
    color: #fff;
}

/* Gruentoene wie die Ampel der Preisbewertung, Text dunkel genug fuer 4,5:1 */
.merkzeichen-preis {
    background-color: #e6f4ea;
    color: #1e6b34;
}

.merkzeichen-very-good-price {
    background-color: #1e7b3a;
    color: #fff;
}

.merkzeichen-reasonable-price {
    background-color: #eef3e6;
    color: #4a5e2a;
}

.merkzeichen-quelle {
    font-size: var(--text-xs);
    color: var(--text-dunkel-leise);
}

.fahrzeug-titel {
    margin: 0;
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--text-dunkel);
}

.fahrzeug-untertitel {
    margin: 0;
    font-size: var(--text-xs);
    color: var(--text-dunkel-leise);
}

.fahrzeug-daten {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px 12px;
    font-size: var(--text-xs);
    line-height: 1.4;
    color: var(--text-dunkel-leise);
    /* Gleich breite Ziffern, damit Zahlen untereinander stehen */
    font-variant-numeric: tabular-nums;
}

.fahrzeug-fuss {
    margin-top: auto;
    padding-top: 6px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.fahrzeug-preis {
    font-family: var(--schrift-titel);
    font-size: var(--text-h3);
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--text-dunkel);
    font-variant-numeric: tabular-nums;
}


/* ============ Detailseite eines Fahrzeugs ============ */

.detail {
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px 24px 72px;
}

.detail-zurueck {
    display: inline-block;
    margin-bottom: 20px;
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--text-dunkel-leise);
}

.detail-zurueck:hover {
    color: var(--rot);
}

.detail-raster {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
    gap: 40px;
    align-items: start;
}

.galerie-buehne {
    position: relative;
    aspect-ratio: 4 / 3;
    background-color: #e9e9e9;
    border-radius: var(--radius);
    overflow: hidden;
}

.galerie-bild {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    user-select: none;
}

.galerie-pfeil {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: var(--radius-rund);
    background-color: rgba(17, 17, 17, 0.6);
    color: #fff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.galerie-pfeil:hover {
    background-color: var(--rot);
}

.galerie-pfeil-links {
    left: 12px;
}

.galerie-pfeil-rechts {
    right: 12px;
}

.galerie-zaehler {
    position: absolute;
    right: 12px;
    bottom: 12px;
    padding: 4px 10px;
    border-radius: var(--radius-rund);
    background-color: rgba(17, 17, 17, 0.6);
    color: #fff;
    font-size: var(--text-xs);
    font-variant-numeric: tabular-nums;
}

.galerie-leiste {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    padding-bottom: 6px;
    overflow-x: auto;
}

.galerie-vorschau {
    flex: 0 0 96px;
    aspect-ratio: 4 / 3;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 6px;
    overflow: hidden;
    background-color: #e9e9e9;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s ease, border-color 0.2s ease;
}

.galerie-vorschau img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.galerie-vorschau:hover,
.galerie-vorschau.aktiv {
    opacity: 1;
}

.galerie-vorschau.aktiv {
    border-color: var(--rot);
}

.detail-info {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.detail-titel {
    margin: 0;
    font-family: var(--schrift-titel);
    font-size: var(--text-h2);
    line-height: var(--zeile-titel);
    color: var(--text-dunkel);
}

.detail-untertitel {
    margin: 0;
    color: var(--text-dunkel-leise);
}

.detail-preis {
    margin: 4px 0;
    font-family: var(--schrift-titel);
    font-size: var(--text-h2);
    font-weight: 700;
    color: var(--rot);
    font-variant-numeric: tabular-nums;
}

.detail-daten {
    list-style: none;
    margin: 0;
    padding: 16px 0;
    border-top: 1px solid #e3e3e3;
    border-bottom: 1px solid #e3e3e3;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 16px;
    font-size: var(--text-sm);
    color: var(--text-dunkel);
    font-variant-numeric: tabular-nums;
}

.detail-kontakt {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 6px;
}

.detail-kontakt .btn {
    flex: 1 1 200px;
}

.detail-telefon {
    flex-basis: 100%;
    margin: 0;
    font-size: var(--text-sm);
    color: var(--text-dunkel-leise);
}

.detail-telefon a {
    font-weight: 600;
    color: var(--text-dunkel);
}

.detail-highlights {
    list-style: none;
    margin: -2px 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.detail-highlights li {
    padding: 5px 12px;
    border-radius: var(--radius-rund);
    background-color: #f1f1f1;
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--text-dunkel);
}

/* Technische Daten und Ausstattung unter Galerie und Preis */
.detail-mehr {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
    gap: 56px;
    margin-top: 64px;
    padding-top: 48px;
    border-top: 1px solid #e3e3e3;
}

.detail-abschnitt-titel {
    margin: 0 0 20px;
    font-family: var(--schrift-titel);
    font-size: var(--text-xl);
    color: var(--text-dunkel);
}

.technik-liste {
    margin: 0;
}

.technik-liste div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 0;
    border-bottom: 1px solid #ececec;
    font-size: var(--text-sm);
}

.technik-liste dt {
    color: var(--text-dunkel-leise);
}

.technik-liste dd {
    margin: 0;
    text-align: right;
    font-weight: 600;
    color: var(--text-dunkel);
    font-variant-numeric: tabular-nums;
}

.ausstattung-gruppen {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 40px;
}

.ausstattung-gruppe h3 {
    margin: 0 0 12px;
    font-size: var(--text-md);
    font-weight: 700;
    color: var(--text-dunkel);
}

.ausstattung-gruppe ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
    font-size: var(--text-sm);
    color: var(--text-dunkel);
}

.ausstattung-gruppe li {
    position: relative;
    padding-left: 22px;
}

/* Nur auf dem Handy sichtbar, siehe Mobil-Bereich */
.ausstattung-knopf {
    display: none;
}

/* Haken aus zwei Raendern, in Markenrot */
.ausstattung-gruppe li::before {
    content: "";
    position: absolute;
    left: 3px;
    top: 0.3em;
    width: 5px;
    height: 10px;
    border-right: 2px solid var(--rot);
    border-bottom: 2px solid var(--rot);
    transform: rotate(45deg);
}

.detail-mobile {
    font-size: var(--text-sm);
    color: var(--text-dunkel-leise);
    text-decoration: underline;
}

.detail-mobile:hover {
    color: var(--rot);
}


/* ============ Kartenbild (Startseite und Kontakt) ============ */

/* Eigenes Bild statt eingebetteter Karte: kein Aufruf bei Google oder OSM beim Laden der Seite */
.karte {
    display: block;
    margin: 4px 0 6px;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid #dcdcdc;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.karte img {
    display: block;
    width: 100%;
    height: auto;
}

.karte:hover {
    border-color: var(--rot);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
}

.karte:focus-visible {
    outline: 2px solid var(--rot);
    outline-offset: 3px;
}

.karte-quelle {
    margin: 0 0 24px;
    font-size: var(--text-xs);
    color: var(--text-dunkel-leise);
}

.karte-quelle a {
    color: inherit;
    text-decoration: underline;
}


/* ============ Kontaktseite ============ */

.kontakt {
    max-width: 1200px;
    margin: 0 auto;
    padding: 56px 24px 88px;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 72px;
    align-items: start;
}

.kontakt-wege {
    display: grid;
    gap: 12px;
}

/* Grosse Zeilen statt Karten: Art, Wert, Pfeil */
.kontakt-weg {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 20px;
    align-items: center;
    padding: 22px 24px;
    border: 1px solid #e3e3e3;
    border-radius: var(--radius);
    color: var(--text-dunkel);
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.kontakt-weg:hover {
    border-color: var(--rot);
    background-color: #fff7f8;
}

.kontakt-weg:focus-visible {
    outline: 2px solid var(--rot);
    outline-offset: 3px;
}

.kontakt-weg svg {
    width: 32px;
    height: 32px;
    fill: none;
    stroke: var(--rot);
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.kontakt-weg-text {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.kontakt-weg-art {
    font-size: var(--text-sm);
    color: var(--text-dunkel-leise);
}

.kontakt-weg-wert {
    font-family: var(--schrift-titel);
    font-size: var(--text-xl);
    font-weight: 700;
    overflow-wrap: anywhere;
    font-variant-numeric: tabular-nums;
}

.kontakt-weg-hinweis {
    font-size: var(--text-xs);
    color: var(--text-dunkel-leise);
}

.kontakt-weg-pfeil {
    font-size: var(--text-xl);
    color: var(--rot);
    transition: transform 0.2s ease;
}

.kontakt-weg:hover .kontakt-weg-pfeil {
    transform: translateX(4px);
}

.kontakt-ort h2 {
    margin: 0 0 14px;
    font-size: var(--text-h2);
    line-height: var(--zeile-titel);
    color: var(--text-dunkel);
}

.kontakt-adresse {
    margin: 0 0 24px;
    font-style: normal;
    font-size: var(--text-lg);
    line-height: var(--zeile);
}

.kontakt-ort .zeiten-titel {
    margin-top: 48px;
    text-align: left;
}


/* ============ Finanzierungsseite ============ */

.finanzierung {
    max-width: 1200px;
    margin: 0 auto;
    padding: 56px 24px 88px;
}

.finanzierung h2 {
    margin: 0 0 24px;
    font-size: var(--text-h2);
    line-height: var(--zeile-titel);
    color: var(--text-dunkel);
}

/* Schritte wie im Garantie-Abschnitt, Ueberschrift hier h3 statt h4 */
.finanzierung .garantie-schritte h3 {
    margin: 0 0 8px;
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--text-dunkel);
}

.finanzierung-hinweis {
    max-width: 760px;
    margin-top: 72px;
}

.finanzierung-hinweis h2,
.finanzierung-kontakt h2 {
    font-size: var(--text-xl);
    margin-bottom: 12px;
}

.finanzierung-hinweis p,
.finanzierung-kontakt p {
    margin: 0;
    max-width: 65ch;
    font-size: var(--text-md);
    line-height: var(--zeile);
    color: var(--text-dunkel-leise);
}

.finanzierung-kontakt {
    margin-top: 56px;
    padding: 40px;
    border-radius: var(--radius);
    background-color: #f4f4f4;
}

.finanzierung-knoepfe {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}


/* ============ Ueber-uns-Seite ============ */

.ueber-uns {
    max-width: 1200px;
    margin: 0 auto;
    padding: 56px 24px 88px;
}

.ueber-uns h2 {
    margin: 0 0 24px;
    font-size: var(--text-h2);
    line-height: var(--zeile-titel);
    color: var(--text-dunkel);
}

.ueber-uns-person {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    gap: 48px;
    align-items: start;
}

.ueber-uns-text p {
    margin: 0 0 16px;
    max-width: 65ch;
    font-size: var(--text-md);
    line-height: var(--zeile);
    color: var(--text-dunkel-leise);
}

/* Hochformat-Foto, nicht hoeher als noetig */
.ueber-uns-bild {
    max-width: 400px;
    margin: 0;
    justify-self: end;
}

.ueber-uns-bild img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--radius);
}

.ueber-uns-bild figcaption {
    margin-top: 10px;
    font-size: var(--text-sm);
    color: var(--text-dunkel-leise);
}

.ueber-uns-werte {
    margin-top: 72px;
}

.ueber-uns-liste {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ueber-uns-liste li {
    padding-top: 20px;
    border-top: 3px solid var(--rot);
}

.ueber-uns-liste h3 {
    margin: 0 0 8px;
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--text-dunkel);
}

.ueber-uns-liste p {
    margin: 0;
    line-height: var(--zeile);
    color: var(--text-dunkel-leise);
}

.ueber-uns-liste a {
    color: var(--rot);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.ueber-uns .finanzierung-kontakt h2 {
    font-size: var(--text-xl);
    margin-bottom: 12px;
}


/* ============ 404 ============ */

.nicht-gefunden {
    max-width: 680px;
    margin: 0 auto;
    padding: 96px 24px 120px;
    text-align: center;
}

/* Doppelte Klasse, sonst gewinnt .nicht-gefunden p */
.nicht-gefunden .nicht-gefunden-code {
    margin: 0;
    font-family: var(--schrift-titel);
    font-size: clamp(88px, 18vw, 160px);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.04em;
    color: var(--rot);
}

.nicht-gefunden h1 {
    margin: 12px 0 14px;
    font-size: var(--text-h2);
    line-height: var(--zeile-titel);
    color: var(--text-dunkel);
}

.nicht-gefunden p {
    margin: 0 0 32px;
    font-size: var(--text-lg);
    color: var(--text-dunkel-leise);
}

.nicht-gefunden-knoepfe {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}


/* ============ Rechtstexte (Datenschutz, Impressum) ============ */

.rechtstext {
    max-width: 760px;
    margin: 0 auto;
    padding: 48px 24px 72px;
    line-height: var(--zeile);
    color: var(--text-dunkel);
}

.rechtstext h2 {
    margin: 40px 0 12px;
    font-family: var(--schrift-titel);
    font-size: var(--text-xl);
    line-height: var(--zeile-titel);
}

.rechtstext h2:first-child {
    margin-top: 0;
}

.rechtstext p,
.rechtstext ul {
    margin: 0 0 14px;
}

.rechtstext ul {
    padding-left: 20px;
}

.rechtstext li {
    margin-bottom: 6px;
}

.rechtstext a {
    color: var(--rot);
    text-decoration: underline;
}

.rechtstext-stand {
    margin-top: 40px;
    font-size: var(--text-sm);
    color: var(--text-dunkel-leise);
}

/* Noch fehlende Angaben - muessen vor dem Livegang weg */
.luecke {
    padding: 0 4px;
    background-color: #fff3a3;
    font-weight: 600;
}



/* ============ Ueber uns - Teaser ============ */

.ueber-teaser {
    padding: 72px 24px;
    background-color: #fff;
}

.ueber-innen {
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
}

.ueber-innen h2 {
    margin: 0 0 14px;
    font-size: var(--text-h2);
    font-weight: 700;
    color: var(--text-dunkel);
}

.ueber-text {
    margin: 0 0 28px;
    font-size: var(--text-lg);
    color: var(--text-dunkel-leise);
}


/* ============ Standort und Oeffnungszeiten ============ */

.standort {
    padding: 72px 24px;
    background-color: #f4f4f4;
}

.standort-innen {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    /* Beide Spalten mittig, wie beim Ueber-uns-Block darueber */
    justify-items: center;
    text-align: center;
}

.standort-spalte {
    width: 100%;
    max-width: 420px;
}

.standort-spalte h2 {
    margin: 0 0 20px;
    font-size: var(--text-h2);
    font-weight: 700;
    color: var(--text-dunkel);
}

.standort-adresse {
    margin: 0 0 14px;
    font-style: normal;
    font-size: var(--text-md);
    line-height: 1.7;
    color: var(--text-dunkel);
}

.standort-telefon {
    margin: 0 0 28px;
    font-size: var(--text-md);
    font-variant-numeric: tabular-nums;
}

.standort-telefon a {
    color: var(--rot);
    font-weight: 600;
}

.standort-telefon a:hover {
    color: var(--rot-dunkel);
}

/* WhatsApp und E-Mail unter der Telefonnummer */
.standort-weitere {
    margin: -16px 0 28px;
    font-size: var(--text-sm);
    line-height: 1.8;
    color: var(--text-dunkel-leise);
}

.standort-weitere a {
    color: var(--text-dunkel);
    font-weight: 600;
}

.standort-weitere a:hover {
    color: var(--rot);
}

.zeiten-titel {
    margin: 0 0 20px;
    font-size: var(--text-h3);
    font-weight: 700;
    color: var(--text-dunkel);
}

/* Tag links, Zeit rechts, Zeilen durch feine Linien getrennt */
.zeiten {
    margin: 0;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0;
    font-size: var(--text-md);
}

.zeiten dt,
.zeiten dd {
    margin: 0;
    padding: 11px 0;
    border-top: 1px solid #e0e0e0;
    color: var(--text-dunkel);
    /* Der Tag bleibt linksbuendig, die Zeit rechts */
    text-align: left;
}

.zeiten dt:first-of-type,
.zeiten dt:first-of-type + dd {
    border-top: none;
}

.zeiten dd {
    text-align: right;
    font-variant-numeric: tabular-nums;
    color: var(--text-dunkel-leise);
}

.zeiten .zeiten-zu {
    color: var(--text-dunkel-leise);
}

/* Der laufende Tag wird vom Skript markiert */
.zeiten .heute {
    font-weight: 700;
    color: var(--rot);
}

.zeiten-hinweis {
    margin: 16px 0 0;
    font-size: var(--text-xs);
    color: var(--text-dunkel-leise);
}


/* ============ Footer ============ */

.fuss {
    padding: 56px 24px 0;
    background-color: var(--dunkel);
    color: var(--text-hell-leise);
}

.fuss-innen {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 36px;
}

/* Verhindert, dass lange Inhalte die Spalte aufblaehen */
.fuss-spalte {
    min-width: 0;
}

.fuss-logo {
    height: 44px;
    width: auto;
    display: block;
    margin-bottom: 16px;
}

.fuss-zeile {
    margin: 0 0 6px;
    font-size: var(--text-sm);
}

.fuss-titel {
    margin: 0 0 14px;
    font-family: var(--schrift-titel);
    font-size: var(--text-md);
    font-weight: 700;
    color: var(--text-hell);
}

.fuss-adresse {
    margin: 0 0 14px;
    font-style: normal;
    font-size: var(--text-sm);
    line-height: 1.6;
}

.fuss-liste {
    list-style: none;
    margin: 0;
    padding: 0;
}

.fuss-liste li {
    margin-bottom: 9px;
}

.fuss-liste a {
    font-size: var(--text-sm);
    color: var(--text-hell-leise);
    transition: color 0.2s ease;
}

.fuss-liste a:hover {
    color: var(--text-hell);
}

.fuss-unten {
    max-width: 1200px;
    margin: 44px auto 0;
    padding: 20px 0 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.fuss-unten p {
    margin: 0;
    font-size: var(--text-xs);
}


/* ============ Ankauf: Ablauf in drei Schritten ============ */

.ablauf {
    padding: 44px 24px;
    background-color: #fff;
    border-bottom: 1px solid #e6e6e6;
}

.ablauf-liste {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.ablauf-liste li {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 16px;
    align-items: start;
}

.ablauf-nummer {
    grid-row: span 2;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-rund);
    background-color: var(--rot);
    color: #fff;
    font-family: var(--schrift-titel);
    font-weight: 700;
}

.ablauf-titel {
    margin: 0 0 4px;
    font-size: var(--text-lg);
    font-weight: 700;
}

.ablauf-liste p {
    margin: 0;
    font-size: var(--text-sm);
    color: var(--text-dunkel-leise);
}


/* ============ Ankauf: Formular ============ */

.ankauf-bereich {
    padding: 56px 24px 72px;
    background-color: #f4f4f4;
}

.ankauf-formular,
.ankauf-danke {
    max-width: 820px;
    margin: 0 auto;
}

.formular-pflicht {
    margin: 0 0 16px;
    font-size: var(--text-sm);
    color: var(--text-dunkel-leise);
}

.pflicht {
    color: var(--rot);
}

/* Jeder Abschnitt eine weisse Karte */
.formular-block {
    margin: 0 0 20px;
    padding: 28px;
    border: none;
    border-radius: var(--radius);
    background-color: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

/* legend liegt sonst auf dem Rahmen, float holt sie in die Karte */
.formular-block > legend {
    float: left;
    width: 100%;
    margin: 0 0 20px;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--schrift-titel);
    font-size: var(--text-h3);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.formular-block > legend + * {
    clear: both;
}

.block-nummer {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: var(--radius-rund);
    background-color: var(--dunkel);
    color: #fff;
    font-size: var(--text-sm);
}

.block-text {
    margin: 0 0 16px;
    font-size: var(--text-sm);
    color: var(--text-dunkel-leise);
}

.felder {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px 20px;
}

.feld {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: none;
}

.feld-breit {
    grid-column: 1 / -1;
}

.feld > label,
.feld > legend {
    display: block;
    margin: 0 0 6px;
    padding: 0;
    font-size: var(--text-sm);
    font-weight: 600;
}

.feld input[type="text"],
.feld input[type="tel"],
.feld input[type="email"],
.feld select,
.feld textarea {
    width: 100%;
    /* 16px verhindert, dass iOS beim Antippen hineinzoomt */
    font: inherit;
    font-size: var(--text-md);
    color: var(--text-dunkel);
    padding: 11px 12px;
    border: 1px solid #cfcfcf;
    border-radius: 6px;
    background-color: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.feld textarea {
    resize: vertical;
    min-height: 120px;
}

.feld input:focus,
.feld select:focus,
.feld textarea:focus {
    outline: none;
    border-color: var(--dunkel);
    box-shadow: 0 0 0 3px rgba(17, 17, 17, 0.12);
}

.feld input::placeholder,
.feld textarea::placeholder {
    /* Hellster Grauton, der auf Weiss noch 4,5:1 erreicht */
    color: #767676;
}

/* Einheit rechts im Feld: km, PS, Euro */
.feld-einheit {
    position: relative;
}

.feld-einheit::after {
    content: attr(data-einheit);
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: var(--text-sm);
    color: var(--text-dunkel-leise);
    pointer-events: none;
}

.feld-einheit input[type="text"] {
    padding-right: 44px;
}

.feld-hilfe {
    margin: 6px 0 0;
    font-size: var(--text-xs);
    color: var(--text-dunkel-leise);
}

/* Fehler werden vom Skript gesetzt */
.feld-fehler {
    margin: 6px 0 0;
    font-size: var(--text-xs);
    font-weight: 600;
    color: var(--rot);
}

.feld [aria-invalid="true"] {
    border-color: var(--rot);
}

/* Ankreuzfelder und Auswahlknoepfe */
.auswahl {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 8px 12px;
    border: 1px solid #dcdcdc;
    border-radius: 6px;
    font-size: var(--text-sm);
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.auswahl input {
    flex: none;
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: var(--rot);
}

.auswahl:hover {
    border-color: #a8a8a8;
}

.auswahl:has(input:checked) {
    border-color: var(--rot);
    background-color: #fff5f6;
}

.auswahl:has(input:focus-visible) {
    outline: 2px solid var(--dunkel);
    outline-offset: 2px;
}

.auswahl-reihe {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 8px;
}

.ausstattung {
    margin: 24px 0;
    padding: 0;
    border: none;
}

.ausstattung > legend {
    margin: 0 0 10px;
    padding: 0;
    font-size: var(--text-sm);
    font-weight: 600;
}

.legende-zusatz {
    font-weight: 400;
    color: var(--text-dunkel-leise);
}

.ausstattung-liste {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 8px;
}

/* Honigtopf gegen Spam - weg vom Bildschirm statt display:none,
   manche Programme ueberspringen unsichtbare Felder */
.honig {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}


/* ============ Ankauf: Fotos ============ */

/* Das echte Dateifeld bleibt fuer Tastatur und Vorleser erreichbar */
.foto-eingabe {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.foto-ablage {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 32px 16px;
    border: 2px dashed #c4c4c4;
    border-radius: var(--radius);
    background-color: #fafafa;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.foto-ablage svg {
    width: 40px;
    height: 40px;
    fill: none;
    stroke: var(--rot);
    stroke-width: 1.6;
    stroke-linejoin: round;
}

.foto-ablage:hover,
.foto-feld.zieht-drueber .foto-ablage {
    border-color: var(--rot);
    background-color: #fff5f6;
}

.foto-eingabe:focus-visible + .foto-ablage {
    outline: 2px solid var(--dunkel);
    outline-offset: 2px;
}

.foto-ablage-titel {
    font-weight: 600;
}

.foto-ablage-text {
    font-size: var(--text-xs);
    color: var(--text-dunkel-leise);
}

.foto-liste {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 10px;
}

.foto-liste:not(:empty) {
    margin-top: 14px;
}

.foto {
    position: relative;
    aspect-ratio: 4 / 3;
    border-radius: 6px;
    overflow: hidden;
    background-color: #eee;
}

.foto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Waehrend das Foto verkleinert wird */
.foto.laedt::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #eee 0, #f7f7f7 50%, #eee 100%);
    background-size: 200% 100%;
    animation: foto-laedt 1.2s linear infinite;
}

@keyframes foto-laedt {
    to { background-position: -200% 0; }
}

.foto-entfernen {
    position: absolute;
    top: 6px;
    right: 6px;
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    padding: 0;
    border: none;
    border-radius: var(--radius-rund);
    background-color: rgba(17, 17, 17, 0.75);
    cursor: pointer;
}

.foto-entfernen svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: #fff;
    stroke-width: 2;
    stroke-linecap: round;
}

.foto-entfernen:hover,
.foto-entfernen:focus-visible {
    background-color: var(--rot);
}


/* ============ Ankauf: Absenden und Dank ============ */

.formular-senden {
    padding-top: 8px;
}

.datenschutz-hinweis {
    margin: 0 0 20px;
    font-size: var(--text-xs);
    color: var(--text-dunkel-leise);
}

.datenschutz-hinweis a {
    color: var(--text-dunkel);
    text-decoration: underline;
}

.formular-senden .btn[disabled] {
    opacity: 0.6;
    cursor: progress;
}

.formular-meldung {
    margin: 16px 0 0;
    padding: 12px 14px;
    border: 1px solid rgba(216, 0, 26, 0.35);
    border-radius: 6px;
    background-color: #fff1f2;
    color: var(--rot-dunkel);
    font-size: var(--text-sm);
    font-weight: 600;
}

.ankauf-danke {
    padding: 48px 28px;
    border-radius: var(--radius);
    background-color: #fff;
    text-align: center;
}

.ankauf-danke:focus {
    outline: none;
}

.ankauf-danke svg {
    width: 56px;
    height: 56px;
    padding: 12px;
    border-radius: var(--radius-rund);
    background-color: var(--rot);
    fill: none;
    stroke: #fff;
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ankauf-danke h2 {
    margin: 16px 0 10px;
    font-size: var(--text-h2);
}

.ankauf-danke p {
    max-width: 480px;
    margin: 0 auto 24px;
    color: var(--text-dunkel-leise);
}

.ankauf-danke p a {
    color: var(--rot);
    font-weight: 600;
}


/* ============ Schmale Desktops: sechs Menuepunkte plus Nummer werden eng ============ */

@media (max-width: 1040px) {

    .nav-links a {
        padding: 8px 7px;
    }

    /* Nur das Symbol, wie auf dem Handy */
    .nav-phone span {
        display: none;
    }
}


/* ============ Mobil ============ */

@media (max-width: 900px) {

    /* Statt Burger-Menue: feste Leiste am unteren Rand */
    .unterleiste {
        display: flex;
    }

    .nav-links {
        display: none;
    }

    .kontakt {
        grid-template-columns: minmax(0, 1fr);
        gap: 48px;
        padding: 32px 16px 56px;
    }

    .kontakt-weg {
        padding: 18px 16px;
        gap: 14px;
    }

    .fragen {
        padding: 64px 16px;
    }

    .fragen-innen {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
    }

    .finanzierung {
        padding: 32px 16px 56px;
    }

    .finanzierung-kontakt {
        padding: 28px 20px;
    }

    .ueber-uns {
        padding: 32px 16px 56px;
    }

    .ueber-uns-person,
    .ueber-uns-liste {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
    }

    .ueber-uns-bild {
        justify-self: start;
    }

    /* Typenschild unter den Text */
    .garantie {
        padding: 64px 16px;
    }

    .garantie-innen {
        grid-template-columns: minmax(0, 1fr);
        gap: 40px;
    }

    .typenschild {
        padding: 28px 24px 24px;
    }

    .garantie-fall {
        margin-top: 56px;
        padding-top: 40px;
    }

    .garantie-schritte {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
    }

    /* Bilder oben, Daten und Knoepfe darunter */
    .detail-raster {
        /* minmax(0, …): sonst macht die Vorschauleiste die Spalte breiter als den Bildschirm */
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }

    .detail {
        padding: 20px 16px 48px;
    }

    .detail-mehr {
        grid-template-columns: minmax(0, 1fr);
        gap: 40px;
        margin-top: 40px;
        padding-top: 32px;
    }

    /* Damit die feste Leiste nichts verdeckt */
    body {
        padding-bottom: calc(var(--unterleiste-hoehe) + env(safe-area-inset-bottom, 0px));
    }

    .nav-logo {
        margin-right: 0;
    }

    /* Nur das Symbol, die Nummer braucht zu viel Platz */
    .nav-phone span {
        display: none;
    }

    /* Auf dem Handy wird mit dem Finger geschoben, Pfeile sind unnoetig */
    .karussell-pfeil {
        display: none;
    }

    .fahrzeug {
        flex-basis: 260px;
    }

    .hero {
        /* Panorama 2,4:1 - mit cover bliebe auf dem Handy nur ein Streifen uebrig.
           Stattdessen: Foto in voller Breite oben, Text darunter auf Dunkel. */
        min-height: auto;
        background-color: var(--dunkel);
        background-image:
            linear-gradient(to bottom,
                rgba(17, 17, 17, 0.1) 0,
                rgba(17, 17, 17, 0.1) 28vw,
                rgba(17, 17, 17, 0.8) 45vw,
                var(--dunkel) 52vw,
                var(--dunkel) 100%),
            url("assets/img/hero.jpg");
        /* 125 Prozent: die aeusseren Fahnen fallen weg, das Foto wird praesenter */
        background-size: 100% 100%, 125% auto;
        background-position: top center, top center;
        /* Das Foto ist dann 52vw hoch, danach beginnt der Text */
        padding: calc(52vw + 16px) 16px 32px;
    }

    /* Zwei Reihen statt einer, Trennstriche waeren dann falsch */
    .hero-merkmale {
        margin-top: 32px;
        gap: 18px 0;
    }

    .hero-merkmale li {
        flex: 1 1 45%;
        padding: 0;
        border-left: none;
    }

    .bewertungen {
        padding: 48px 16px;
    }

    /* Wie die Leistungen: zum Wischen, die naechste Karte schaut hervor */
    .bewertung-liste {
        display: flex;
        gap: 16px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        margin: 0 -16px;
        /* Oben Platz fuer das Beispiel-Etikett, das ueber die Karte ragt */
        padding: 12px 16px 16px;
        /* Einrasten mit Abstand zum Rand, sonst klebt die Karte am Bildschirm */
        scroll-padding-inline: 16px;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .bewertung-liste::-webkit-scrollbar {
        display: none;
    }

    .bewertung {
        flex: 0 0 84%;
        scroll-snap-align: start;
    }

    .punkte {
        display: flex;
    }

    .ankauf-teaser {
        padding: 40px 16px;
    }

    .standort-innen {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .ueber-teaser,
    .standort {
        padding: 48px 16px;
    }

    /* Zwei statt vier Spalten */
    .fuss-innen {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .fuss {
        padding: 44px 16px 0;
    }

    .fahrzeuge-bereich {
        padding: 48px 16px;
    }

    .ablauf {
        padding: 32px 16px;
    }

    .ablauf-liste {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .ankauf-bereich {
        padding: 32px 16px 48px;
    }

    .formular-block {
        padding: 22px 18px;
    }
}

@media (max-width: 560px) {

    /* Bleibt bei zwei Spalten, wird nur kompakter */
    .hero-merkmale li {
        gap: 10px;
        font-size: var(--text-xs);
    }

    .merkmal-icon {
        width: 26px;
        height: 26px;
    }

    .nav {
        padding: 0 16px;
        gap: 12px;
    }

    .ankauf-innen .btn {
        width: 100%;
    }

    .fuss-innen {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .hero-knoepfe .btn {
        flex: 1 1 100%;
    }

    .felder {
        grid-template-columns: 1fr;
    }

    /* Zwei Spalten statt 17 Zeilen untereinander */
    .ausstattung-liste {
        grid-template-columns: 1fr 1fr;
    }

    .ausstattung-liste .auswahl {
        gap: 8px;
        padding: 8px 10px;
        font-size: var(--text-xs);
    }

    .formular-senden .btn {
        width: 100%;
    }

    .ausstattung-gruppen {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
    }

    /* Lange Liste eingeklappt, unten weich ausgeblendet */
    .detail-ausstattung.eingeklappt .ausstattung-gruppen {
        max-height: 360px;
        overflow: hidden;
        -webkit-mask-image: linear-gradient(#000 60%, transparent);
        mask-image: linear-gradient(#000 60%, transparent);
    }

    .detail-ausstattung.eingeklappt .ausstattung-knopf {
        display: flex;
        width: 100%;
        margin-top: 8px;
    }
}


/* ============ Weniger Bewegung, wenn im System gewuenscht ============ */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .fahrzeug:hover,
    .nav a:hover {
        transform: none;
    }
}
