/* allemeineAutos Vorschau: Handy zuerst (390 px), danach Tablet und Desktop. Systemschrift, keine externen Dateien. */
:root {
  --gelb: #ffd400;
  --gelb-dunkel: #e6bf00;
  --schwarz: #141414;
  --grund: #fffbe0;
  --karte: #fff;
  --linie: #ece3a6;
  --grau: #5c5a48;
  --u-top: #1f9d55;
  --u-gut: #74b816;
  --u-fair: #868e96;
  --u-erhoeht: #e8590c;
  --u-hoch: #d64545;
  --radius: 18px;
  --schatten: 0 2px 0 rgba(20, 20, 20, .06), 0 10px 26px rgba(80, 66, 0, .10);
  --rand: 16px;
  --schrift: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--grund); color: var(--schwarz); font-family: var(--schrift);
  font-size: 1rem; line-height: 1.5; overflow-x: hidden;
}
img, svg { max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-style: italic; font-weight: 800; line-height: 1.15; letter-spacing: -.01em; margin: 0 0 .5em; }
h1 { font-size: 1.7rem; }
h2 { font-size: 1.35rem; }
h3 { font-size: 1.1rem; }
p { margin: 0 0 .8em; }
.klein { font-size: .86rem; color: var(--grau); }
.unter { color: var(--grau); margin-top: -.2em; }
.nur-leser { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sprung { position: absolute; left: -999px; top: 0; background: var(--schwarz); color: #fff; padding: .6rem 1rem; z-index: 100; }
.sprung:focus { left: 8px; top: 8px; }
:focus-visible { outline: 3px solid var(--schwarz); outline-offset: 2px; border-radius: 6px; }

/* ---------- Kopf ---------- */
.kopf { position: sticky; top: 0; z-index: 20; background: var(--gelb); border-bottom: 3px solid var(--schwarz); }
.kopf-innen {
  max-width: 1240px; margin: 0 auto; padding: 8px var(--rand) 10px;
  display: grid; grid-template-columns: auto 1fr; grid-template-areas: "marke nav" "suche suche"; gap: 6px 10px; align-items: center;
}
.marke { grid-area: marke; display: flex; align-items: center; gap: 8px; text-decoration: none; }
.marke img { display: block; }
.marke-text { display: none; font-style: italic; font-weight: 600; font-size: 1.3rem; letter-spacing: -.02em; }
.marke-text b { font-weight: 900; }
.nav { grid-area: nav; display: flex; justify-content: flex-end; gap: 2px; }
.nav a { text-decoration: none; font-weight: 700; font-size: .88rem; padding: .55rem .6rem; border-radius: 999px; white-space: nowrap; min-height: 40px; display: inline-flex; align-items: center; }
.nav a:hover { background: rgba(255, 255, 255, .55); }
.nav a.aktiv { background: var(--schwarz); color: var(--gelb); }
.kopf-suche { grid-area: suche; display: flex; background: #fff; border: 2px solid var(--schwarz); border-radius: 999px; overflow: hidden; }
.kopf-suche input { flex: 1; min-width: 0; border: 0; padding: 0 14px; height: 44px; font: inherit; font-size: 1rem; background: transparent; }
.kopf-suche input:focus { outline: none; }
.kopf-suche:focus-within { box-shadow: 0 0 0 3px rgba(20, 20, 20, .35); }
.kopf-suche button { border: 0; background: var(--schwarz); color: var(--gelb); width: 52px; cursor: pointer; display: grid; place-items: center; }

.inhalt { max-width: 1240px; margin: 0 auto; padding: 18px var(--rand) 36px; }
.fuss { background: var(--schwarz); color: #e8e4c0; text-align: center; padding: 22px var(--rand) 28px; font-size: .9rem; }
.fuss p { margin: .2em 0; }
.fuss a { color: var(--gelb); }

/* ---------- Bausteine ---------- */
.knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: .4em; text-align: center; text-decoration: none; cursor: pointer;
  background: var(--gelb); color: var(--schwarz); border: 2px solid var(--schwarz); border-radius: 14px; min-height: 48px; padding: .6rem 1.2rem;
  font: inherit; font-weight: 800; font-size: 1rem; box-shadow: 0 3px 0 var(--schwarz); transition: transform .08s, box-shadow .08s;
}
.knopf:hover { background: #ffe040; }
.knopf:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--schwarz); }
.knopf.hell { background: #fff; }
.knopf.hell:hover { background: #fff8c8; }
.knopf.schwarz { background: var(--schwarz); color: var(--gelb); }
.knopf.gross { width: 100%; min-height: 54px; font-size: 1.05rem; }
.knopf.klein { min-height: 40px; padding: .3rem .9rem; font-size: .9rem; box-shadow: 0 2px 0 var(--schwarz); }
.chip {
  display: inline-flex; align-items: center; gap: .4em; background: #fff; border: 2px solid var(--schwarz); border-radius: 999px; padding: .35rem .85rem;
  font: inherit; font-size: .9rem; font-weight: 600; text-decoration: none; cursor: pointer; min-height: 38px; color: var(--schwarz);
}
.chip:hover { background: var(--gelb); }
.chip.x span[aria-hidden] { font-weight: 800; }
.kasten { background: var(--karte); border: 1px solid var(--linie); border-radius: var(--radius); padding: 18px; box-shadow: var(--schatten); margin-bottom: 16px; }
.kasten h2 { font-size: 1.2rem; }
.block { margin: 0 0 30px; }
.block-kopf { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.block-kopf h2 { margin-bottom: .3em; }
.alle { font-weight: 700; white-space: nowrap; }
.demo-hinweis { background: #fff3b0; border: 2px dashed var(--schwarz); border-radius: 12px; padding: .6rem .9rem; }
.schmal { max-width: 720px; margin: 0 auto; }
.text { max-width: 860px; margin: 0 auto; }
.text ul { padding-left: 1.2rem; }
.text li { margin-bottom: .4em; }
.zurueck { margin-bottom: 10px; font-weight: 700; }
.textlink { font-weight: 700; }

/* Formularfelder */
.feld { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.feld > span { font-size: .85rem; font-weight: 700; }
.feld input, .feld select, .feld textarea {
  width: 100%; min-height: 48px; padding: .6rem .8rem; font: inherit; font-size: 1rem; background: #fff; color: var(--schwarz);
  border: 2px solid #cfc78a; border-radius: 12px;
}
.feld textarea { min-height: 120px; resize: vertical; }
.feld input:focus, .feld select:focus, .feld textarea:focus { outline: 3px solid var(--schwarz); outline-offset: 1px; border-color: var(--schwarz); }
.feld.inline { flex-direction: row; align-items: center; gap: 8px; }
.feld.inline select { min-height: 42px; width: auto; flex: 1; min-width: 0; }
.feld.inline > span { flex: none; }
.raster-form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.raster-form .knopf { grid-column: 1 / -1; }
.anfrage-form, .garage-form, .login-form { display: grid; gap: 14px; }
.fehler { color: #b3261e; font-weight: 700; background: #fde8e6; border-radius: 10px; padding: .6rem .8rem; margin: 0; }

/* Preisurteil in Ampelfarben */
.urteil { --c: var(--u-fair); display: inline-flex; align-items: center; gap: .45em; padding: .28rem .75rem; border-radius: 999px; font-weight: 800; font-size: .92rem;
  background: color-mix(in srgb, var(--c) 17%, #fff); border: 2px solid var(--c); color: var(--schwarz); white-space: nowrap; }
.urteil i { width: .8em; height: .8em; border-radius: 50%; background: var(--c); display: inline-block; }
.urteil.klein { font-size: .8rem; padding: .18rem .6rem; }
.u-top { --c: var(--u-top); } .u-gut { --c: var(--u-gut); } .u-fair { --c: var(--u-fair); } .u-erhoeht { --c: var(--u-erhoeht); } .u-hoch { --c: var(--u-hoch); }
.preis { font-weight: 900; font-size: 1.4rem; letter-spacing: -.02em; }
.preis.gross { font-size: 2.1rem; }

/* ---------- Karten ---------- */
.karte { position: relative; background: var(--karte); border: 1px solid var(--linie); border-radius: var(--radius); overflow: hidden; box-shadow: var(--schatten); display: flex; flex-direction: column; transition: transform .12s, box-shadow .12s; }
.karte:hover { transform: translateY(-3px); box-shadow: 0 2px 0 rgba(20, 20, 20, .06), 0 16px 32px rgba(80, 66, 0, .16); }
.karte-link { text-decoration: none; color: inherit; }
.karte-link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.karte-link:focus-visible { outline: none; }
.karte:has(.karte-link:focus-visible) { outline: 3px solid var(--schwarz); outline-offset: 2px; }
.karte-bild { position: relative; background: #eee9c4; }
.autobild { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; background: #eee9c4; }
.siegel { position: absolute; left: 10px; top: 10px; background: var(--schwarz); color: var(--gelb); font-size: .78rem; font-weight: 800; padding: .25rem .6rem; border-radius: 999px; display: inline-flex; align-items: center; gap: 4px; }
.karte-text { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.karte-titel { font-size: 1.08rem; margin: 0; font-style: normal; font-weight: 800; overflow-wrap: anywhere; }
.karte-preiszeile { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px 10px; }
.karte-monat { margin: 0; color: var(--grau); font-size: .9rem; }
.fakten { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 6px; }
.fakten li { background: #f6f2d2; border-radius: 8px; padding: .12rem .5rem; font-size: .84rem; font-weight: 600; }
.karte-ort { margin: 0; font-size: .85rem; color: var(--grau); margin-top: auto; padding-top: 4px; }
.trefferliste { display: grid; gap: 16px; grid-template-columns: 1fr; }

.reihe { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(var(--rand) * -1); padding: 6px var(--rand) 18px; scrollbar-width: thin; }
.reihe .karte { flex: 0 0 78%; max-width: 300px; scroll-snap-align: start; }
.reihe .karte:last-child { margin-right: 4px; }

/* ---------- Start ---------- */
.held { background: var(--gelb); border: 3px solid var(--schwarz); border-radius: 26px; padding: 20px 16px 18px; margin-bottom: 26px; box-shadow: 0 6px 0 var(--schwarz); }
.held-innen { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.held-ente { width: 92px; height: auto; flex: none; }
.held h1 { font-size: 1.9rem; margin: 0 0 .25em; }
.held-text { margin: 0; font-size: 1.05rem; font-weight: 600; }
.satzsuche { display: grid; gap: 10px; }
.satzsuche input { width: 100%; min-height: 58px; border: 3px solid var(--schwarz); border-radius: 16px; padding: .6rem 1rem; font: inherit; font-size: 1.05rem; background: #fff; }
.satzsuche input:focus { outline: 3px solid var(--schwarz); outline-offset: 2px; }
.satzsuche .knopf { background: var(--schwarz); color: var(--gelb); min-height: 56px; font-size: 1.1rem; box-shadow: 0 3px 0 rgba(0, 0, 0, .4); }
.beispiele { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 14px 0 0; font-size: .9rem; }
.beispiele > span { font-weight: 700; width: 100%; }
.klein-held { padding-bottom: 14px; }
.klein-held h1 { font-size: 1.6rem; }
.schnell { background: var(--karte); border: 1px solid var(--linie); border-radius: var(--radius); padding: 18px; box-shadow: var(--schatten); }
.kacheln { display: grid; gap: 14px; grid-template-columns: 1fr; }
.kachel { background: var(--karte); border: 1px solid var(--linie); border-radius: var(--radius); padding: 18px; box-shadow: var(--schatten); }
.kachel h3 { font-size: 1.15rem; }
.kachel p { margin: 0; color: #2d2c24; }
.kachel-zeichen { font-size: 2rem; display: block; margin-bottom: 6px; }
.teaser { background: var(--schwarz); color: #fff; border-radius: 26px; padding: 24px 18px; display: grid; gap: 16px; margin-bottom: 10px; }
.teaser h2 { color: var(--gelb); }
.teaser p { margin: 0; color: #e8e4c0; }
.teaser .knopf.schwarz { background: var(--gelb); color: var(--schwarz); border-color: var(--gelb); box-shadow: none; }

/* ---------- Suche ---------- */
.suche-layout { display: block; position: relative; }
.filter-schalter { position: absolute; opacity: 0; pointer-events: none; }
.filter-hintergrund { display: none; position: fixed; inset: 0; background: rgba(20, 20, 20, .5); z-index: 40; }
.filter-schalter:checked ~ .filter-hintergrund { display: block; }
.filter {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: var(--grund); max-height: 88vh; overflow-y: auto; padding: 16px var(--rand) 22px;
  border-radius: 24px 24px 0 0; border-top: 3px solid var(--schwarz); transform: translateY(105%); transition: transform .22s ease; visibility: hidden;
}
.filter-schalter:checked ~ .filter { transform: none; visibility: visible; }
.filter-kopf { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.filter-kopf h2 { margin: 0; }
.schliessen { width: 44px; height: 44px; display: grid; place-items: center; font-size: 1.3rem; font-weight: 800; background: #fff; border: 2px solid var(--schwarz); border-radius: 50%; cursor: pointer; font-style: normal; }
.filterform { display: grid; gap: 12px; }
.paar { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.zuruecksetzen { text-align: center; font-weight: 700; }
.treffer-kopf { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.treffer-kopf h1 { font-size: 1.25rem; margin: 0; overflow-wrap: anywhere; }
.filter-knopf { flex: none; min-height: 44px; }
.verstanden { background: #fff3b0; border: 2px solid var(--schwarz); border-radius: 14px; padding: 10px 12px; margin-bottom: 12px; }
.verstanden-titel { display: block; font-weight: 800; font-size: .88rem; margin-bottom: 6px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.werkzeugleiste { display: grid; gap: 6px; margin-bottom: 14px; }
.sortform { display: flex; align-items: center; gap: 8px; min-width: 0; }
.sortform .feld.inline { flex: 1; min-width: 0; }
.sortform .knopf { flex: none; }
.formelhinweis { margin: 0; font-size: .85rem; color: var(--grau); }
.seiten { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; margin: 24px 0 6px; }
.seitenlink { font-weight: 800; background: var(--gelb); border: 2px solid var(--schwarz); border-radius: 12px; padding: .6rem 1.1rem; text-decoration: none; min-height: 46px; display: inline-flex; align-items: center; }
.seiteninfo { font-weight: 700; }
.leer { text-align: center; padding: 36px 12px; }

/* ---------- Detail ---------- */
.detail { display: grid; gap: 0; grid-template-columns: minmax(0, 1fr); }
.galerie { position: relative; margin-bottom: 14px; }
.galerie-spur { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; border-radius: var(--radius); border: 1px solid var(--linie); scrollbar-width: none; background: #eee9c4; -webkit-overflow-scrolling: touch; }
.galerie-spur::-webkit-scrollbar { display: none; }
.galerie-bild { flex: 0 0 100%; scroll-snap-align: center; }
.pfeil { position: absolute; top: calc(50% - 36px); width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--schwarz); background: rgba(255, 255, 255, .92); font-size: 1.8rem; line-height: 1; cursor: pointer; display: grid; place-items: center; padding: 0 0 3px; }
.pfeil.links { left: 10px; } .pfeil.rechts { right: 10px; }
.zaehler { position: absolute; right: 10px; top: 10px; background: rgba(20, 20, 20, .78); color: #fff; font-size: .8rem; font-weight: 700; padding: .2rem .65rem; border-radius: 999px; }
.vorschau { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; padding-bottom: 4px; }
.vorschaubild { flex: none; width: 72px; border: 3px solid transparent; border-radius: 10px; padding: 0; background: none; cursor: pointer; overflow: hidden; }
.vorschaubild.aktiv { border-color: var(--schwarz); }
.vorschaubild .autobild { border-radius: 7px; }
.kopfblock h1 { font-size: 1.6rem; margin-bottom: .3em; overflow-wrap: anywhere; }
.preisblock { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 4px; }
.verbrauch-zeile { display: flex; flex-wrap: wrap; gap: 6px 16px; background: #fff; border: 1px solid var(--linie); border-radius: 12px; padding: 10px 14px; margin: 10px 0 16px; font-size: .92rem; }
.co2k { display: inline-grid; place-items: center; min-width: 1.9em; padding: 0 .35em; border-radius: 6px; color: #fff; font-weight: 900; }
.k-a { background: #1f9d55; } .k-b { background: #4aa52e; } .k-c { background: #74b816; color: var(--schwarz); } .k-d { background: #f2c200; color: var(--schwarz); }
.k-e { background: #f08c00; } .k-f { background: #e8590c; } .k-g { background: #d64545; }
.tabelle-blick { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; margin: 0; }
.tabelle-blick > div { display: flex; flex-direction: column; padding: 9px 0; border-bottom: 1px solid var(--linie); min-width: 0; }
.tabelle-blick dt { font-size: .8rem; color: var(--grau); font-weight: 600; }
.tabelle-blick dd { margin: 0; font-weight: 700; overflow-wrap: anywhere; }
.urteil-text { font-weight: 700; margin-left: 6px; }
.marktbalken { margin: 14px 0 18px; }
.mb-spur { position: relative; display: flex; height: 16px; border-radius: 999px; overflow: visible; }
.mb-zone { flex: 1; height: 100%; }
.mb-zone.z1 { background: var(--u-top); border-radius: 999px 0 0 999px; } .mb-zone.z2 { background: var(--u-gut); } .mb-zone.z3 { background: var(--u-fair); }
.mb-zone.z4 { background: var(--u-erhoeht); } .mb-zone.z5 { background: var(--u-hoch); border-radius: 0 999px 999px 0; }
.mb-markt { position: absolute; top: -5px; bottom: -5px; width: 3px; background: var(--schwarz); transform: translateX(-50%); }
.mb-preis { position: absolute; top: 50%; width: 26px; height: 26px; border-radius: 50%; background: var(--gelb); border: 4px solid var(--schwarz); transform: translate(-50%, -50%); }
.mb-text { display: flex; justify-content: space-between; font-size: .8rem; color: var(--grau); margin-top: 10px; font-weight: 600; gap: 6px; }
.diagramm { width: 100%; height: auto; display: block; }
.dg-wert { font: 700 12px var(--schrift); fill: var(--schwarz); }
.dg-achse { font: 600 11px var(--schrift); fill: #6b6850; }
.gross-zahl { margin: 0 0 8px; }
.gross-zahl strong { font-size: 2rem; font-weight: 900; letter-spacing: -.02em; }
.regler { display: grid; gap: 14px; margin: 10px 0 14px; }
.regler label { display: grid; gap: 6px; font-size: .92rem; }
input[type=range] { width: 100%; height: 34px; accent-color: var(--schwarz); }
.posten { margin: 0 0 8px; }
.posten > div { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--linie); }
.posten dt { font-weight: 600; } .posten dd { margin: 0; font-weight: 800; }
.posten .summe { border-bottom: 0; border-top: 3px solid var(--schwarz); font-size: 1.1rem; }
.ausstattung { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ausstattung li { background: #f6f2d2; border-radius: 999px; padding: .3rem .8rem; font-weight: 600; font-size: .92rem; }
.haken-liste { list-style: none; margin: 0 0 10px; padding: 0; display: grid; gap: 8px; }
.haken-liste li { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.haken { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--u-top); color: #fff; font-weight: 900; font-style: normal; }
.haken-liste .nein .haken { background: var(--u-erhoeht); }
.ente-filter h2 { display: flex; align-items: center; gap: 8px; }
.batterie .bat-balken { height: 22px; background: #e6e1b8; border-radius: 999px; overflow: hidden; margin: 6px 0 10px; border: 2px solid var(--schwarz); }
.bat-balken span { display: block; height: 100%; background: var(--u-top); }
.sterne { color: #e6a700; letter-spacing: 1px; }
.haendler-name { font-size: 1.1rem; font-weight: 800; margin-bottom: 2px; }
.siegel-liste { list-style: none; margin: 8px 0 12px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.siegel-liste li { background: #f6f2d2; border-radius: 999px; padding: .2rem .7rem; font-size: .84rem; font-weight: 700; }
.siegel-liste li.gruen { background: #d8f0e0; }
.preiskasten .urteil { margin: 6px 0 10px; }
.knopfreihe { display: grid; gap: 10px; margin-top: 12px; }
.detail-rechts { margin-top: 4px; }

/* Chat */
.ki-marke { font-style: normal; font-size: .72rem; background: var(--schwarz); color: var(--gelb); border-radius: 999px; padding: .15rem .55rem; vertical-align: middle; white-space: nowrap; }
.chat-verlauf { max-height: 300px; overflow-y: auto; display: flex; flex-direction: column; gap: 8px; padding: 10px; background: #faf6d8; border-radius: 14px; margin-bottom: 10px; }
.blase { max-width: 88%; padding: .55rem .85rem; border-radius: 16px; font-size: .95rem; overflow-wrap: anywhere; }
.blase.assistent { background: #fff; border: 1px solid var(--linie); align-self: flex-start; border-bottom-left-radius: 4px; }
.blase.nutzer { background: var(--schwarz); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.chat-vorschlaege { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.chat-vorschlaege .chip { font-size: .82rem; min-height: 34px; padding: .25rem .7rem; }
.chat-form { display: flex; gap: 8px; }
.chat-form input { flex: 1; min-width: 0; min-height: 48px; border: 2px solid #cfc78a; border-radius: 12px; padding: 0 .8rem; font: inherit; }

/* Fussleiste nur auf dem Handy */
.mit-fussleiste { padding-bottom: 82px; }
.fussleiste { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: #fff; border-top: 3px solid var(--schwarz); padding: 10px var(--rand) calc(10px + env(safe-area-inset-bottom)); display: flex; align-items: center; justify-content: space-between; gap: 12px; box-shadow: 0 -8px 24px rgba(0, 0, 0, .12); }
.fussleiste > div { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-width: 0; }
.fl-preis { font-size: 1.35rem; font-weight: 900; letter-spacing: -.02em; line-height: 1.1; }
.fussleiste .knopf { flex: none; min-width: 140px; }

/* ---------- Mein Auto, Händler ---------- */
.ergebnis h2 { font-size: 1.4rem; }
.gebote { list-style: none; padding: 0; margin: 0 0 8px; display: grid; gap: 10px; counter-reset: g; }
.gebote li { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: #faf6d8; border-radius: 14px; padding: 12px 14px; }
.gebote li > div { display: flex; flex-direction: column; min-width: 0; }
.gebot { font-weight: 900; font-size: 1.3rem; white-space: nowrap; }
.tarif { position: relative; }
.tarif.hervor { border: 3px solid var(--schwarz); background: #fff8c8; }
.tarif-marke { position: absolute; top: -12px; right: 14px; background: var(--schwarz); color: var(--gelb); border-radius: 999px; padding: .1rem .7rem; font-size: .8rem; font-weight: 800; }
.tarif-preis { font-size: 2.2rem; font-weight: 900; letter-spacing: -.02em; margin: 0 0 8px; }
.tarif-preis span { font-size: .95rem; font-weight: 600; color: var(--grau); margin-left: 4px; }
.tarif ul { margin: 0; padding-left: 1.1rem; }
.rechner-ergebnis { background: #fff3b0; border-radius: 14px; padding: 14px 16px; margin-bottom: 10px; }
.rechner-ergebnis p { margin: .25em 0; }
.schaufenster h1 { margin-bottom: .2em; }
.quittung blockquote { margin: 0 0 14px; padding: 12px 14px; background: #faf6d8; border-left: 5px solid var(--schwarz); border-radius: 8px; overflow-wrap: anywhere; }

table.formel, table.nachweise { width: 100%; border-collapse: collapse; margin: 14px 0; background: #fff; border-radius: 12px; overflow: hidden; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--linie); vertical-align: top; overflow-wrap: anywhere; }
th { background: var(--gelb); font-weight: 800; }
table.nachweise { font-size: .9rem; }

/* ---------- Anmelden ---------- */
.login-seite .inhalt { max-width: 440px; min-height: 80vh; display: flex; align-items: center; }
.login { width: 100%; text-align: center; background: #fff; border: 3px solid var(--schwarz); border-radius: 26px; padding: 26px 20px; box-shadow: 0 6px 0 var(--schwarz); }
.login h1 { font-size: 2rem; margin: 6px 0 0; }
.login h1 b { font-weight: 900; }
.login-ente { width: 130px; height: auto; margin: 0 auto; display: block; }
.claim { font-weight: 800; font-style: italic; font-size: 1.15rem; margin: 2px 0 10px; }
.login-form { text-align: left; margin-top: 12px; }
.login-seite .fuss { margin-top: 0; }

/* ---------- Tablet und Desktop ---------- */
@media (min-width: 520px) {
  .marke-text { display: inline; }
  .nav a { font-size: .95rem; padding: .55rem .8rem; }
  .raster-form { grid-template-columns: repeat(3, 1fr); }
  .trefferliste { grid-template-columns: repeat(2, 1fr); }
  .kacheln.drei, .kacheln.vier { grid-template-columns: repeat(2, 1fr); }
  .satzsuche { grid-template-columns: 1fr auto; }
  .beispiele > span { width: auto; }
  .held-ente { width: 120px; }
  .reihe .karte { flex-basis: 46%; }
}
@media (min-width: 760px) {
  h1 { font-size: 2.1rem; }
  .held { padding: 28px 28px 24px; }
  .held h1 { font-size: 2.6rem; }
  .held-ente { width: 150px; }
  .kopf-innen { grid-template-columns: auto minmax(180px, 1fr) auto; grid-template-areas: "marke suche nav"; gap: 14px; padding-top: 10px; }
  .kacheln.drei { grid-template-columns: repeat(3, 1fr); }
  .kacheln.vier { grid-template-columns: repeat(4, 1fr); }
  .raster-form { grid-template-columns: repeat(4, 1fr); }
  .teaser { grid-template-columns: 1fr auto; align-items: center; padding: 28px; }
  .reihe .karte { flex-basis: 31%; }
  .tabelle-blick { grid-template-columns: repeat(3, 1fr); }
  .werkzeugleiste { grid-template-columns: auto 1fr; align-items: center; }
  .formelhinweis { text-align: right; }
  .knopfreihe { grid-template-columns: 1fr; }
  table.nachweise { font-size: .95rem; }
}
@media (max-width: 759px) {
  table.nachweise thead { display: none; }
  table.nachweise, table.nachweise tbody, table.nachweise tr, table.nachweise td { display: block; width: 100%; }
  table.nachweise tr { padding: 8px 4px; border-bottom: 3px solid var(--linie); }
  table.nachweise td { border: 0; padding: 3px 12px; }
  table.nachweise td::before { content: attr(data-label) ": "; font-weight: 800; }
}
@media (min-width: 960px) {
  .suche-layout { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 26px; align-items: start; }
  .filter { position: sticky; top: 130px; transform: none; visibility: visible; max-height: calc(100vh - 150px); border: 1px solid var(--linie); border-radius: var(--radius); background: #fff; z-index: 1; padding: 16px; box-shadow: var(--schatten); }
  .filter-hintergrund, .filter-knopf, .schliessen { display: none !important; }
  .trefferliste { grid-template-columns: repeat(2, 1fr); }
  .reihe { flex-wrap: nowrap; }
  .reihe .karte { flex-basis: 23%; max-width: 300px; }
  .detail { grid-template-columns: minmax(0, 1.55fr) minmax(320px, 1fr); gap: 28px; align-items: start; }
  .detail-rechts { margin-top: 0; }
  .rechts-innen { position: sticky; top: 100px; max-height: calc(100vh - 116px); overflow-y: auto; padding: 2px 4px 2px 0; scrollbar-width: thin; }
  .preisblock { display: none; }
  .kopfblock .klein { margin-bottom: 4px; }
  .mit-fussleiste { padding-bottom: 0; }
  .fussleiste { display: none; }
  .vorschaubild { width: 88px; }
}
@media (min-width: 1200px) {
  .trefferliste { grid-template-columns: repeat(3, 1fr); }
  .inhalt { padding-top: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
