/* Henschel Automobile – Webseite. Dunkel und ruhig wie der Entwurf: ein Akzent (Blau wie im Entwurf, das Logo behält sein Gold), eine Textfarbe,
   Montserrat nur für Überschriften (wie im Logo), Fließtext in der Systemschrift. Zuerst fürs Handy. */
@font-face { font-family: 'Montserrat'; src: url('../fonts/Montserrat-SemiBold.ttf') format('truetype'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Montserrat'; src: url('../fonts/Montserrat-Bold.ttf') format('truetype'); font-weight: 700; font-display: swap; }

:root {
    --grund: #0c1117;
    --grund-2: #10161e;
    --flaeche: #151c25;
    --linie: #232c38;
    --text: #f2f4f7;
    --leise: #98a3b1;
    --akzent: #2a6df5;      /* Blau wie im Entwurf */
    --akzent-hell: #5b8ffc;
    --gold: #b08d57;        /* nur noch im Logo */
    --navy: #1d2b45;
    --radius: 12px;         /* Rundungen: Karten/Kästen 12 px, Knöpfe/Eingaben 8 px, Schilder rund (Pille) */
    --schatten: 0 18px 50px rgba(0, 0, 0, .45);
    --titel: 'Montserrat', 'Segoe UI', system-ui, sans-serif;
    --schrift: 'Segoe UI', system-ui, -apple-system, Roboto, 'Helvetica Neue', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--grund); color: var(--text); font: 400 16px/1.6 var(--schrift); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--akzent-hell); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-family: var(--titel); line-height: 1.15; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.015em; }
h1 { font-size: clamp(2rem, 4.2vw, 3.3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: 1.12rem; font-weight: 600; }
p { margin: 0 0 1em; }
.leise { color: var(--leise); }
.klein-text { font-size: .85rem; }
.mitte { text-align: center; }
.rahmen { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.rahmen.schmal { max-width: 860px; }
:focus-visible { outline: 2px solid var(--akzent-hell); outline-offset: 2px; }

.vorschau-band { background: #1a222d; color: var(--leise); text-align: center; font-size: .8rem; padding: 4px 8px; }
.vorschau-hinweis { border: 1px dashed var(--akzent); padding: 8px 12px; border-radius: var(--radius); color: var(--akzent-hell); }

/* Kopf */
.kopf { position: sticky; top: 0; z-index: 20; background: rgba(12, 17, 23, .88); backdrop-filter: blur(10px); border-bottom: 1px solid var(--linie); }
.kopf-innen { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 16px; }
.logo img { width: 168px; height: auto; }
.menue-knopf { display: inline-flex; background: none; border: 1px solid var(--linie); color: var(--text); border-radius: 8px; padding: 8px; cursor: pointer; }
.menue { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 2px; padding: 10px 20px 18px; background: var(--grund); border-bottom: 1px solid var(--linie); }
.menue.offen { display: flex; }
.menue a { color: var(--text); padding: 10px 2px; font-weight: 500; }
.menue a[aria-current="page"] { color: var(--akzent-hell); }
.menue .knopf { margin-top: 8px; }

/* Knöpfe – nur zwei Arten: Gold (Hauptaktion) und Rand */
.knopf {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; border-radius: 8px;
    font-weight: 600; font-size: .95rem; border: 1px solid transparent; cursor: pointer; text-decoration: none !important;
    transition: background .15s, border-color .15s, color .15s, transform .1s; font-family: inherit; line-height: 1.2;
}
.knopf:active { transform: translateY(1px); }
.knopf-akzent { background: var(--akzent); color: #fff !important; }
.knopf-akzent:hover { background: var(--akzent-hell); }
.knopf-rand { border-color: rgba(255, 255, 255, .35); color: var(--text) !important; background: rgba(255, 255, 255, .03); }
.knopf-rand:hover { border-color: var(--akzent-hell); color: var(--akzent-hell) !important; }
.knopf-breit { width: 100%; }
.knopf-gross { padding: 16px 24px; font-size: 1.05rem; width: 100%; }
.knopf-text { background: none; border: 0; color: var(--leise); cursor: pointer; font: inherit; text-decoration: underline; }
.knopf-reihe { display: flex; flex-wrap: wrap; gap: 12px; }
.knopf-stapel { display: grid; gap: 10px; margin: 18px 0; }
.knopf-stapel.waagerecht { display: flex; flex-wrap: wrap; }
.symbol { width: 26px; height: 26px; flex: none; }
.symbol.klein { width: 18px; height: 18px; }

/* Startbild: Foto über die ganze Breite, Text darüber (wie im Entwurf) */
.held { position: relative; isolation: isolate; overflow: hidden; border-bottom: 1px solid var(--linie); background: var(--grund-2); }
/* Bildausschnitt leicht nach oben: Wenn beschnitten wird, geht das Pflaster unten weg, nicht das Schild oben */
.held-foto { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 70% 15%; }
.held::after { content: ''; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(180deg, rgba(12, 17, 23, .55) 0%, rgba(12, 17, 23, .75) 55%, rgba(12, 17, 23, .97) 100%); }
.held-innen { min-height: 78vh; display: flex; align-items: flex-end; padding-top: 56px; padding-bottom: 40px; }
.held-text { max-width: 640px; }
.held h1 { text-shadow: 0 2px 18px rgba(0, 0, 0, .5); }
.held-unter { font-size: 1.15rem; color: #dde2e8; margin-bottom: 1.6em; }
.held-ohne { background: radial-gradient(ellipse at 70% 30%, rgba(42, 109, 245, .22), transparent 55%); }

/* Vertrauensleiste */
.vertrauen { background: var(--grund-2); border-bottom: 1px solid var(--linie); }
.vertrauen-innen { display: grid; gap: 12px; padding-top: 16px; padding-bottom: 16px; }
.vertrauen-innen div { display: flex; align-items: center; gap: 12px; font-weight: 500; font-size: .95rem; }
.vertrauen .symbol { color: var(--akzent-hell); }

/* Abschnitte */
.abschnitt { padding: 64px 0; }
.abschnitt-kopf { text-align: center; margin-bottom: 36px; }
.abschnitt-kopf.links { text-align: left; }
.abschnitt-kopf p { font-size: 1.05rem; }
.leer { text-align: center; color: var(--leise); padding: 28px; border: 1px dashed var(--linie); border-radius: var(--radius); }

/* Fahrzeugkarten – zentriert, auch bei nur zwei Autos stimmig */
.raster { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 380px)); justify-content: center; }
.karte { background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .15s, border-color .15s; }
.karte:hover { transform: translateY(-2px); border-color: #334052; }
.karte-bild { position: relative; display: block; aspect-ratio: 16 / 11; background: #0a0e13; }
.karte-bild img { width: 100%; height: 100%; object-fit: cover; }
.karte-ohne-bild { display: flex; align-items: center; justify-content: center; height: 100%; color: var(--leise); font-size: .9rem; }
.karte-ohne-bild.gross { aspect-ratio: 4 / 3; background: #0a0e13; border-radius: var(--radius); }
.karte-text { padding: 18px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.karte-text h3 { margin: 0; font-size: 1.18rem; }
.karte-text h3 a { color: var(--text); }
.karte-daten { color: var(--leise); font-size: .9rem; margin: 0; }
.karte-preis { font-family: var(--titel); font-size: 1.3rem; font-weight: 700; margin: 8px 0 14px; }
.karte-text .knopf { margin-top: auto; }
/* Schilder: ein ruhiger Stil, nur „Verfügbar“ bekommt Gold */
.schild { display: inline-block; padding: 4px 11px; border-radius: 999px; font-size: .78rem; font-weight: 600; letter-spacing: .01em;
    background: rgba(255, 255, 255, .05); color: var(--text); border: 1px solid var(--linie); white-space: nowrap; }
.karte-preis-zeile { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 8px 0 14px; }
.karte-preis-zeile .karte-preis { margin: 0; }
.schild-verfuegbar { border-color: var(--akzent); color: var(--akzent-hell); }
.schild-verkauft { color: var(--leise); }
/* Verkaufte Autos bleiben 14 Tage sichtbar: Foto gedämpft, Preis grau, Schild „Zu spät, schon verkauft“ */
.karte.verkauft .karte-bild img { filter: grayscale(.6); opacity: .7; }
.karte.verkauft .karte-preis { color: var(--leise); }
.verkauft-hinweis { margin-bottom: 14px; }

/* Band unten auf der Startseite (Fahrzeugsuche), Navy aus dem Logo, Foto mit Schlüsselanhänger rechts */
.band { position: relative; isolation: isolate; overflow: hidden; background: linear-gradient(110deg, #16223a, var(--navy) 60%, #16213a); border-top: 1px solid var(--linie); border-bottom: 1px solid var(--linie); }
.band-emblem { position: absolute; right: -40px; bottom: -70px; width: 320px; opacity: .08; pointer-events: none; }
/* Foto (z. B. Schlüssel mit Anhänger) rechts, links ein dunkler Verlauf für den Text */
.band-foto { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 78% 50%; }
.band:not(.band-ohne)::after { content: ''; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(90deg, rgba(14, 22, 38, .96) 0%, rgba(14, 22, 38, .88) 45%, rgba(14, 22, 38, .35) 100%); }
.band-innen { display: grid; gap: 20px; padding-top: 56px; padding-bottom: 56px; min-height: 300px; align-items: center; position: relative; }
.band p { color: #d7dde6; margin: 0; font-size: 1.05rem; max-width: 620px; }
.band-innen .knopf { justify-self: start; }

/* Karte „Auto verkaufen in fünf Schritten“ direkt unter dem Startbild (ab Tablet überlappend, wie auf gutachter-uelzen.de) */
.ablauf { position: relative; z-index: 2; }
.ablauf-karte { background: var(--flaeche); border: 1px solid var(--linie); border-top: 4px solid var(--akzent); border-radius: var(--radius);
    box-shadow: 0 18px 48px rgba(0, 0, 0, .45); padding: 22px 20px; display: grid; gap: 18px; margin-top: 16px; }
.ablauf-titel h2 { font-size: 1.35rem; margin: 0; letter-spacing: .01em; }
.ablauf-titel p { margin: 2px 0 0; color: var(--leise); font-size: .95rem; }
.ablauf-schritte { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; counter-reset: schritt; }
.ablauf-schritte li { display: grid; grid-template-columns: 36px 1fr; column-gap: 10px; align-items: center; }
.ablauf-schritte li::before { counter-increment: schritt; content: counter(schritt); display: inline-flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; border-radius: 8px; background: var(--akzent); color: #fff; font-family: var(--titel); font-weight: 700; font-size: 1rem; grid-row: span 2; }
.ablauf-schritte b { font-weight: 600; font-size: .95rem; line-height: 1.25; }
.ablauf-schritte small { color: var(--leise); font-size: .8rem; line-height: 1.3; }
.ablauf-knopf { white-space: nowrap; justify-self: start; }
/* Dieselbe Schrittliste senkrecht (Seite „Fahrzeugsuche“) */
.ablauf-schritte.senkrecht { grid-template-columns: 1fr; gap: 14px; margin-bottom: 22px; }
.suche-kasten { text-align: center; }
.suche-kasten p { max-width: 560px; margin: 0 auto 18px; }
.startseite .vertrauen { margin-top: 24px; }

/* Liste mit Filter */
.filter { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 24px; }
.filter label { display: grid; gap: 4px; font-size: .85rem; color: var(--leise); }

/* Formulare */
.formular { display: grid; gap: 14px; }
.formular label { display: grid; gap: 6px; font-weight: 500; font-size: .95rem; }
input, select, textarea {
    width: 100%; font: inherit; color: var(--text); background: #0d1218; border: 1px solid var(--linie);
    border-radius: 8px; padding: 11px 12px; min-height: 46px;
}
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--akzent); outline: none; }
.felder-2 { display: grid; gap: 14px; }
.feld-falle { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.auswahl { border: 1px solid var(--linie); border-radius: 8px; padding: 10px 14px; display: flex; flex-wrap: wrap; gap: 16px; margin: 0; }
.auswahl legend { padding: 0 6px; font-weight: 500; }
.auswahl label, .haken-feld { display: flex !important; align-items: center; gap: 8px; font-weight: 400 !important; }
.auswahl input, .haken-feld input { width: 20px; min-height: 20px; height: 20px; accent-color: var(--akzent); flex: none; }
.meldung { padding: 12px 14px; border-radius: 8px; background: rgba(42, 109, 245, .14); border: 1px solid var(--akzent); }
.meldung.fehler { background: rgba(208, 87, 79, .12); border-color: #d0574f; }
.kasten { background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--radius); padding: 24px; margin-top: 36px; }

/* Fahrzeugseite */
.pfad { color: var(--leise); font-size: .9rem; }
.fahrzeug-kopf { display: grid; gap: 28px; }
.galerie-buehne { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; border-radius: var(--radius); background: #0a0e13; scrollbar-width: none; }
.galerie-buehne::-webkit-scrollbar { display: none; }
.galerie-buehne img { flex: 0 0 100%; scroll-snap-align: center; aspect-ratio: 4 / 3; object-fit: contain; width: 100%; }
.galerie-leiste { display: flex; gap: 8px; overflow-x: auto; margin-top: 10px; padding-bottom: 4px; }
.galerie-leiste button { flex: 0 0 auto; padding: 0; border: 2px solid transparent; border-radius: 6px; background: none; cursor: pointer; overflow: hidden; opacity: .7; }
.galerie-leiste button.aktiv { border-color: var(--akzent); opacity: 1; }
.galerie-leiste img { width: 96px; height: 64px; object-fit: cover; }
.hinweis { font-size: .8rem; margin-top: 8px; }
.fahrzeug-seite h1 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); margin: 12px 0 6px; }
.preis { font-family: var(--titel); font-size: 2.1rem; font-weight: 700; margin: 6px 0 0; }
.steuer { font-size: .85rem; }
.eckdaten { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 18px 0; }
.eckdaten div { background: var(--flaeche); border: 1px solid var(--linie); border-radius: 8px; padding: 10px 12px; }
.eckdaten dt, .tabelle dt { color: var(--leise); font-size: .8rem; }
.eckdaten dd, .tabelle dd { margin: 0; font-weight: 600; }
.fahrzeug-unten { display: grid; gap: 36px; margin-top: 48px; }
.tabelle div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--linie); }
.tabelle dd { text-align: right; }
.beschreibung { white-space: pre-line; }
.ausstattung { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.ausstattung li { display: flex; gap: 10px; align-items: flex-start; }
.ausstattung .symbol { color: var(--akzent-hell); margin-top: 3px; }
.text-seite h2 { font-size: 1.2rem; margin-top: 1.8em; }
.einleitung { font-size: 1.15rem; color: #d7dde6; }

/* Auto verkaufen */
.schritt-titel { display: flex; align-items: center; gap: 12px; margin-top: 28px; }
.schritt-titel span { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: var(--akzent); color: #fff; font-size: 1rem; font-family: var(--titel); }
.foto-raster { display: grid; grid-template-columns: 1fr; gap: 12px; }
.foto-feld { position: relative; display: grid !important; grid-template-columns: 72px 1fr; column-gap: 14px; row-gap: 2px !important;
    grid-template-areas: "skizze titel" "skizze hinweis" "skizze knopf" "bild bild"; align-items: center;
    background: var(--flaeche); border: 1px dashed #3a4659; border-radius: var(--radius); padding: 12px 14px; cursor: pointer; }
.foto-skizze { grid-area: skizze; justify-self: center; color: var(--leise); }
.foto-titel { grid-area: titel; font-weight: 600; }
.foto-hinweis { grid-area: hinweis; font-size: .78rem; font-weight: 400; line-height: 1.35; }
.foto-knopf { grid-area: knopf; display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; color: var(--akzent-hell); font-weight: 600; }
.foto-vorschau { grid-area: bild; margin-top: 8px; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; }
.foto-feld.fertig { grid-template-columns: 1fr; grid-template-areas: "titel" "knopf" "bild"; border-style: solid; border-color: var(--akzent); }
.foto-feld.fertig .foto-skizze, .foto-feld.fertig .foto-hinweis { display: none; }
.foto-feld.klein { grid-template-columns: 1fr; grid-template-areas: "knopf" "bild"; justify-items: center; }
.foto-feld input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; min-height: 0; }
.foto-skizze .symbol { width: 54px; height: 54px; }
.standort { width: 64px; height: 84px; }
.standort-punkt { fill: var(--akzent); }
.foto-titel em { font-style: normal; font-size: .7rem; color: var(--akzent-hell); border: 1px solid var(--akzent); border-radius: 4px; padding: 0 4px; margin-left: 4px; vertical-align: middle; }
.macken { display: grid; gap: 12px; margin-bottom: 12px; }
.macke { display: grid; grid-template-columns: 110px 1fr; gap: 10px; align-items: center; background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--radius); padding: 10px; }
.macke .foto-feld.klein { padding: 10px 6px; min-height: 90px; justify-content: center; }
.macke .knopf-text { grid-column: 1 / -1; justify-self: end; }
.datenschutz-kasten { margin-top: 8px; font-size: .9rem; }
/* Ablauf in Schritten: Kopfleiste (zurück, „Schritt x von 5“, anrufen), Balken, je Schritt ein Block */
.wizard-titel { font-family: var(--schrift); font-size: .95rem; font-weight: 600; color: var(--leise); letter-spacing: 0; margin: 0 0 12px; }
.wizard-kopf { display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; gap: 8px; }
.wizard-knopf { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--linie);
    border-radius: 8px; color: var(--text); background: var(--flaeche); }
.wizard-knopf:hover { border-color: var(--akzent-hell); color: var(--akzent-hell); }
.wizard-stand { text-align: center; font-weight: 600; font-size: .95rem; }
.wizard-balken { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; margin: 4px 0 14px; }
.wizard-balken span { height: 5px; border-radius: 3px; background: var(--linie); transition: background .2s; }
.wizard-balken span.aktiv { background: var(--akzent); }
.schritt { display: grid; gap: 14px; }
.schritt[hidden] { display: none; }
.schritt h2 { margin: 4px 0 0; font-size: 1.65rem; }
.schritt h3 { margin: 10px 0 0; font-size: 1.1rem; }
.schritt > p.leise { margin: 0; }
.tipp { background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--radius); padding: 12px 14px; font-size: .9rem; color: #d7dde6; }
.tipp strong { display: block; margin-bottom: 2px; color: var(--text); }
.schritt-fuss { display: grid; gap: 6px; justify-items: center; margin-top: 6px; }
.schritt-fuss .knopf { width: 100%; }
.foto-feld.fehlt { border-color: #d0574f; }
.spiegel { transform: scaleX(-1); }
.schritt-danke { text-align: center; padding: 20px 0; }
.schritt-danke .vorgang { text-align: left; margin: 0 0 18px; }
.schritt-danke .vorgang strong { margin-bottom: 6px; }
.schritt-danke .vorgang .knopf-reihe { margin-top: 12px; }
.schritt-danke .knopf-reihe { justify-content: center; }
.fortschritt { height: 8px; background: var(--linie); border-radius: 4px; overflow: hidden; }
.fortschritt-balken { height: 100%; width: 0; background: var(--akzent); transition: width .2s; }

/* Fuß */
.fuss { border-top: 1px solid var(--linie); background: #090d12; padding-top: 40px; }
.fuss-innen { display: grid; gap: 28px; padding-bottom: 28px; }
.fuss-titel { font-size: .8rem; color: var(--leise); text-transform: uppercase; letter-spacing: .1em; margin-bottom: .8em; font-family: var(--schrift); font-weight: 600; }
.fuss p { margin: 0 0 .5em; }
.fuss a { color: var(--text); }
.fuss-zeile { border-top: 1px solid var(--linie); padding-top: 16px; padding-bottom: 22px; font-size: .85rem;
    display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; }
.fuss-zeile a { color: var(--leise); text-decoration: underline; text-underline-offset: 2px; }
.fuss-zeile a:hover { color: var(--text); }

/* Tablet und größer */
@media (min-width: 720px) {
    .rahmen { padding: 0 28px; }
    .felder-2 { grid-template-columns: 1fr 1fr; }
    .filter { grid-template-columns: repeat(4, 1fr); }
    .vertrauen-innen { grid-template-columns: repeat(3, 1fr); padding-top: 20px; padding-bottom: 20px; }
    .vertrauen-innen div { justify-content: center; }
    .vertrauen-innen div + div { border-left: 1px solid var(--linie); }
    .band-innen { grid-template-columns: 1fr auto; }
    .held-innen { padding-bottom: 112px; }                /* Platz für die überlappende Karte */
    .ablauf { margin-top: -64px; }
    /* Tablet: Titel links, Knopf rechts, darunter die Schritte (3 + 2) */
    .ablauf-karte { margin-top: 0; padding: 22px 28px 24px; grid-template-columns: 1fr auto; align-items: center; }
    .ablauf-titel { grid-row: 1; grid-column: 1; }
    .ablauf-knopf { grid-row: 1; grid-column: 2; }
    .ablauf-schritte { grid-row: 2; grid-column: 1 / -1; grid-template-columns: repeat(3, 1fr); gap: 14px 18px; }
    .foto-raster { grid-template-columns: repeat(3, 1fr); }
    .foto-raster.zwei { grid-template-columns: repeat(2, 1fr); }
    .foto-raster.eins { grid-template-columns: 1fr; max-width: 340px; margin: 0 auto; width: 100%; }
    .foto-feld { grid-template-columns: 1fr; grid-template-areas: "skizze" "titel" "hinweis" "knopf" "bild"; text-align: center;
        justify-items: center; row-gap: 6px !important; padding: 14px 10px; }
    .fuss-innen { grid-template-columns: 2fr 1fr 1fr; }
}
@media (min-width: 980px) {
    .menue-knopf { display: none; }
    .menue { display: flex; position: static; flex-direction: row; align-items: center; gap: 30px; padding: 0; background: none; border: 0; }
    .menue a { padding: 0; }
    .menue .knopf { margin: 0 0 0 10px; padding: 11px 26px; }
    .logo img { width: 200px; }
    /* Höhe folgt dem Seitenverhältnis des Fotos (16:9), höchstens so hoch, dass die Karte „Auto verkaufen“ darunter
       noch ganz ins Fenster passt: Fenster minus Kopfzeile (72) minus überstehender Kartenteil (156 − 64) minus 24 Luft.
       So bleiben Schild, Auto und Karte auf dem ersten Bildschirm sichtbar. */
    /* Text am PC mittig auf Augenhöhe (links neben dem Auto), nicht am unteren Rand */
    .held-innen { min-height: max(480px, min(56.3vw, 100vh - 188px)); align-items: center; padding-top: 40px; padding-bottom: 112px; }
    .held::after { background: linear-gradient(90deg, rgba(12, 17, 23, .94) 0%, rgba(12, 17, 23, .72) 42%, rgba(12, 17, 23, .25) 75%, rgba(12, 17, 23, .35) 100%),
        linear-gradient(180deg, rgba(12, 17, 23, .1), rgba(12, 17, 23, .85)); }
    .fahrzeug-kopf { grid-template-columns: 1.5fr 1fr; align-items: start; }
    .fahrzeug-seite { position: sticky; top: 96px; }
    .fahrzeug-unten { grid-template-columns: 1.2fr 1fr; }
    .foto-raster { grid-template-columns: repeat(4, 1fr); }
    .ablauf-schritte { grid-template-columns: repeat(5, 1fr); }
}
@media (min-width: 1240px) {
    /* Eine Zeile wie beim Vorbild: Titel | fünf Schritte | Knopf. Die Karte ist hier nur 118 px hoch, also steht
       weniger über: Startbild = Fenster − 72 − (118 − 64) − 24 */
    .held-innen { min-height: max(480px, min(56.3vw, 100vh - 150px)); }
    .ablauf-karte { grid-template-columns: auto 1fr auto; gap: 24px; }
    .ablauf-titel { grid-column: 1; padding-right: 22px; border-right: 1px solid var(--linie); }
    .ablauf-schritte { grid-row: 1; grid-column: 2; gap: 12px; }
    .ablauf-schritte li { grid-template-columns: 32px 1fr; column-gap: 8px; }
    .ablauf-schritte li::before { width: 32px; height: 32px; font-size: .95rem; }
    .ablauf-schritte b { font-size: .88rem; }
    .ablauf-schritte small { font-size: .76rem; }
    .ablauf-knopf { grid-column: 3; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
