
@import url('rahmen.css');

:root {
  --marine: #1677FF;
  --marine-tief: #0E62D9;

  --marine-dunkel: #0B4FB0;
  --nacht: #0F2B46;
  --grund: #F6F8FB;
  --linie-stark: #CBD5E1;
  --info: #EAF3FF;
  --warn-bg: #FFF4E8;
  --warn: #9A3412;
  --gut: #047857;
  --gut-bg: #ECFDF5;
  --fehler: #B91C1C;
  --fehler-bg: #FEF2F2;

  --warn-punkt: #F59E0B;
  --r: 16px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--grund); color: var(--text); font: var(--schrift-text)/1.5 'Figtree', system-ui, sans-serif; }

body { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
body > main { flex: 1 0 auto; width: 100%; }
a { color: var(--akzent); }
a:hover { color: #0E62D9; }
h1, h2, h3 { margin: 0; letter-spacing: -0.02em; }
h1 { font-size: var(--schrift-seite); line-height: 1.15; font-weight: 800; }
h2 { font-size: var(--schrift-titel); font-weight: 800; }
h3 { font-size: var(--schrift-feld); font-weight: 700; }
p { margin: 0; }
.zahl { font-variant-numeric: tabular-nums; }

.kopf--nacht { background: var(--nacht); border-bottom: 0; color: #fff; }
.kopf--nacht .marke { color: #fff; }
.kopf--nacht .marke__wort span { color: #6FB1FF; }
.marke__haendler { font-style: normal; font-size: var(--schrift-mini); font-weight: 700; background: var(--marine); color: #fff; padding: 2px 8px; border-radius: 6px; }
.reiter { display: flex; gap: 4px; }
.reiter a { color: #C7D2FE; text-decoration: none; font-weight: 600; padding: 8px 12px; border-radius: 8px; }
.reiter a[aria-current="page"] { background: rgba(255,255,255,.12); color: #fff; }
.kopf--nacht .kopf__rechts a, .kopf--nacht .kopf__rechts button { color: #fff; }
.knopf-text { background: none; border: 0; padding: 8px 4px; font: inherit; font-weight: 600; cursor: pointer; color: var(--akzent); }
.konto-name { font-weight: 700; max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.seite { max-width: 1200px; margin: 0 auto; padding: 28px 16px 56px; }
.seite--schmal { max-width: 560px; }
.seite--mittel { max-width: 980px; }
.seite__kopf { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.unterzeile { color: var(--text-2); margin-top: 4px; }
.zurueck { display: inline-flex; gap: 6px; align-items: center; font-weight: 600; text-decoration: none; margin-bottom: 14px; font-size: var(--schrift-neben); }

.karte { background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--r); padding: 22px; }
.karte + .karte { margin-top: 16px; }
.karte--schatten { box-shadow: 0 10px 30px -18px rgba(15,23,42,.35); }
.karte h2 { margin-bottom: 12px; }
.stapel { display: flex; flex-direction: column; gap: 16px; }
.hinweis { display: flex; gap: 10px; align-items: flex-start; border-radius: 12px; padding: 12px 14px; font-size: var(--schrift-neben); line-height: 1.45; }

.hinweis--info { background: var(--info); color: var(--nacht); }
.hinweis--warn { background: var(--warn-bg); color: var(--warn); }
.hinweis--gut { background: var(--gut-bg); color: var(--gut); }
.hinweis--fehler { background: var(--fehler-bg); color: var(--fehler); }
.hinweis svg { flex: none; margin-top: 1px; }
.leise { color: var(--text-2); font-size: var(--schrift-klein); }
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: var(--schrift-mini); font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--info); color: var(--marine-tief); white-space: nowrap; }
.chip--warn { background: var(--warn-bg); color: var(--warn); }
.chip--fehler { background: #9A3412; color: #fff; }
.chip--gut { background: var(--gut-bg); color: var(--gut); }
.chip--grau { background: #EEF2F6; color: #334155; }
.chip--dunkel { background: rgba(15,23,42,.78); color: #fff; }
.punkt { width: 8px; height: 8px; border-radius: 50%; background: #34D399; }

.feld { display: flex; flex-direction: column; gap: 6px; }
.feld + .feld, .feld + .reihe, .reihe + .feld, .reihe + .reihe { margin-top: 14px; }
.feld label, .label { font-size: var(--schrift-neben); font-weight: 700; }
.feld small { color: var(--text-2); font-size: var(--schrift-klein); }
.reihe { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
input[type=text], input[type=email], input[type=password], input[type=tel], input[type=number], select, textarea {
  font: inherit; font-size: var(--schrift-feld); color: var(--text); background: #fff; border: 1px solid var(--linie-stark);
  border-radius: 12px; padding: 12px 14px; width: 100%; min-height: 48px;
}
textarea { resize: vertical; min-height: 84px; }
input:focus-visible, select:focus-visible, textarea:focus-visible, button:focus-visible, a:focus-visible { outline: 3px solid #8EC1FF; outline-offset: 1px; }
.haken { display: flex; gap: 10px; align-items: flex-start; font-size: var(--schrift-neben); margin-top: 16px; }
.haken input { width: 22px; height: 22px; flex: none; margin: 0; accent-color: var(--marine); }
.fehlertext { color: var(--fehler); font-size: var(--schrift-neben); font-weight: 600; }

.knopf { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 20px;
  border-radius: 12px; border: 0; background: var(--marine-tief); color: #fff; font: inherit; font-weight: 700; font-size: var(--schrift-feld);
  cursor: pointer; text-decoration: none; text-align: center; }
.knopf:hover { background: var(--marine-dunkel); color: #fff; }
.knopf:disabled { opacity: .55; cursor: default; }
.knopf--breit { width: 100%; }
.knopf--gross { min-height: 56px; font-size: var(--schrift-gross); box-shadow: 0 10px 22px -12px rgba(22,119,255,.6); }
.knopf--dunkel { background: var(--text); }
.knopf--dunkel:hover { background: #1E293B; }
.knopf--hell { background: #fff; color: var(--text); border: 1px solid var(--linie-stark); }
.knopf--hell:hover { background: var(--grund); color: var(--text); }

.knopf--gefahr { background: #fff; color: var(--fehler); border: 1px solid #FCA5A5; }
.knopf--gefahr:hover { background: var(--fehler-bg); color: var(--fehler); }
.knopf--gefahr.knopf--voll { background: var(--fehler); color: #fff; border-color: var(--fehler); }
.knopf--gefahr.knopf--voll:hover { background: #991B1B; color: #fff; }

.filter { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; padding: 14px; margin-bottom: 18px; }
.filter label { font-size: var(--schrift-mini); font-weight: 700; color: #334155; }

.werkzeug { display: flex; align-items: center; justify-content: flex-end; gap: 12px; margin: -8px 0 12px; }
.filter-knopf { display: none; min-height: 40px; }
.ansicht-wahl { display: inline-flex; padding: 3px; gap: 2px; border-radius: 10px; background: #EEF2F6; }
.ansicht-wahl button { border: 0; background: none; font: inherit; font-size: var(--schrift-neben); font-weight: 700; color: var(--text-2);
  padding: 6px 12px; border-radius: 8px; cursor: pointer; }
.ansicht-wahl button[aria-pressed="true"] { background: var(--flaeche); color: var(--text); box-shadow: 0 1px 2px rgba(15,23,42,.12); }
.filter-haken { display: flex; align-items: center; gap: 8px; align-self: end; min-height: 48px; font-size: var(--schrift-neben); font-weight: 600; color: var(--text); }
.filter-haken input { width: 18px; height: 18px; accent-color: var(--marine-tief); }
.hilfe-wege { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.hilfe-wege .knopf { min-height: 44px; }
.auto__eigenes { margin-top: 8px; font-size: var(--schrift-klein); font-weight: 600; color: var(--text-2); }
.liste-zeilen { display: flex; flex-direction: column; border: 1px solid var(--linie); border-radius: var(--r); overflow: hidden; background: var(--flaeche); }
.zeile { display: grid; grid-template-columns: 96px minmax(0, 1fr) 150px 120px; align-items: center; gap: 16px; padding: 10px 16px;
  border-top: 1px solid var(--linie); color: inherit; text-decoration: none; }
.zeile:first-child { border-top: 0; }
.zeile:hover { background: var(--grund); color: inherit; }
.zeile--markiert { box-shadow: inset 3px 0 0 var(--marine); }
.zeile__bild { width: 96px; height: 64px; border-radius: 8px; overflow: hidden; background: linear-gradient(#EEF1F5, #C9D1DC); }
.zeile__bild img { width: 100%; height: 100%; object-fit: cover; display: block; }
.zeile__auto { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.zeile__auto b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.zeile__daten > span { white-space: nowrap; }
.zeile__marken { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 4px; font-size: var(--schrift-klein); }
.zeile__preis .auto__preis { font-size: var(--schrift-titel); }
.zeile__zeit { justify-self: end; }
@media (max-width: 640px) {
  .filter-knopf { display: inline-flex; margin-right: auto; }
  .filter:not(.filter--offen) { display: none; }

  .zeile { grid-template-columns: 72px minmax(0, 1fr) auto; grid-template-areas: "bild wagen wagen" "preis preis zeit"; row-gap: 10px; padding: 12px; }
  .zeile__bild { grid-area: bild; width: 72px; height: 54px; align-self: start; }
  .zeile__auto { grid-area: wagen; }
  .zeile__preis { grid-area: preis; }
  .zeile__zeit { grid-area: zeit; }
}
.raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 18px; }
.auto { background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--r); overflow: hidden; text-decoration: none; color: inherit; display: flex; flex-direction: column; transition: border-color .15s; }
.auto:hover { border-color: var(--akzent); color: inherit; }
.auto--markiert { border: 2px solid var(--marine); }
.auto__bild { position: relative; aspect-ratio: 16 / 9; background: linear-gradient(#EEF1F5, #C9D1DC); }
.auto__bild img { width: 100%; height: 100%; object-fit: cover; display: block; }
.auto__bild .chip { position: absolute; top: 12px; }
.auto__bild .chip--links { left: 12px; }
.auto__bild .chip--rechts { right: 12px; }
.auto__text { padding: 16px; display: flex; flex-direction: column; gap: 2px; flex: 1; }
.auto__name { font-weight: 700; font-size: var(--schrift-gross); }
.auto__fuss { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--linie); display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; }
.auto__preis { font-size: var(--schrift-kopf); font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
.uhr { display: inline-flex; align-items: center; gap: 5px; font-size: var(--schrift-klein); font-weight: 700; padding: 4px 8px; border-radius: 8px; background: #EEF2F6; color: #334155; white-space: nowrap; }
.uhr--bald { background: var(--warn-bg); color: var(--warn); }
.leer { text-align: center; padding: 48px 16px; }
.leer p { color: var(--text-2); margin-top: 6px; }

.zweispaltig { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 24px; align-items: start; }
.seitenleiste { position: sticky; top: 16px; display: flex; flex-direction: column; gap: 16px; }
.galerie__gross { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r); overflow: hidden; background: linear-gradient(#EEF1F5, #C9D1DC); }
.galerie__gross img { width: 100%; height: 100%; object-fit: cover; display: block; }
.galerie__zaehler { position: absolute; right: 12px; bottom: 12px; }
.galerie__pfeil { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 22px; border: 0; background: rgba(255,255,255,.9); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.galerie__pfeil--l { left: 12px; } .galerie__pfeil--r { right: 12px; }

.galerie__gross img { cursor: zoom-in; }
.galerie__vollbild { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border-radius: 20px; border: 0;
  background: rgba(255,255,255,.9); color: var(--text); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.galerie__vollbild:hover { background: #fff; }

.vollbild { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center;
  background: rgba(15,23,42,.92); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.vollbild[hidden] { display: none; }

.vollbild__bild { max-width: 92vw; max-height: 86vh; object-fit: contain; border-radius: 10px; transform-origin: center center;
  cursor: zoom-in; touch-action: none; will-change: transform; user-select: none; -webkit-user-drag: none; }
.vollbild.ist-gezoomt .vollbild__bild { border-radius: 0; }
.vollbild__zu, .vollbild__pfeil { position: fixed; z-index: 1001; display: flex; align-items: center; justify-content: center;
  border: 0; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; cursor: pointer; }
.vollbild__zu:hover, .vollbild__pfeil:hover { background: rgba(255,255,255,.22); }
.vollbild__pfeil[hidden] { display: none; }
.vollbild__zu { top: 16px; right: 16px; width: 44px; height: 44px; font-size: var(--schrift-kopf); line-height: 1; }
.vollbild__pfeil { top: 50%; transform: translateY(-50%); width: 48px; height: 48px; font-size: var(--schrift-seite); line-height: 1; }
.vollbild__pfeil--l { left: 16px; } .vollbild__pfeil--r { right: 16px; }
.vollbild__zaehler { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.7);
  font-size: var(--schrift-neben); font-weight: 600; }
.galerie__leiste { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 8px; margin-top: 8px; }
.galerie__leiste button { padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; aspect-ratio: 4 / 3; cursor: pointer; background: #DDE3EA; }
.galerie__leiste button[aria-current="true"] { border-color: var(--marine); }
.galerie__leiste img { width: 100%; height: 100%; object-fit: cover; display: block; }
.daten { display: grid; grid-template-columns: repeat(auto-fill, minmax(135px, 1fr)); gap: 14px 20px; }
.daten dt { font-size: var(--schrift-klein); color: var(--text-2); }
.daten dd { margin: 0; font-weight: 700; overflow-wrap: anywhere; }
.liste-zeilen { list-style: none; margin: 0; padding: 0; }
.liste-zeilen li { padding: 10px 0; border-top: 1px solid var(--linie); display: flex; gap: 16px; justify-content: space-between; }
.liste-zeilen li:first-child { border-top: 0; }
.liste-zeilen .wert { text-align: right; font-weight: 600; }
.liste-zeilen ul { margin: 0; padding-left: 18px; text-align: left; font-weight: 600; }

.bieten__preis { font-size: var(--schrift-preis); line-height: 1.1; font-weight: 800; letter-spacing: -0.035em; }
.countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 12px 0 6px; }
.countdown div { background: var(--grund); border-radius: 10px; text-align: center; padding: 6px 2px; }
.countdown b { display: block; font-size: var(--schrift-titel); }
.countdown span { font-size: var(--schrift-mini); color: var(--text-2); }
.eingabe-euro { position: relative; }
.eingabe-euro input { font-size: var(--schrift-kopf); font-weight: 800; padding-right: 40px; min-height: 58px; border: 2px solid var(--text); }
.eingabe-euro span { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-weight: 800; font-size: var(--schrift-titel); }
.verlauf { width: 100%; border-collapse: collapse; font-size: var(--schrift-neben); }
.verlauf td { padding: 9px 0; border-top: 1px solid var(--linie); }
.verlauf tr:first-child td { border-top: 0; }
.verlauf td:nth-child(2) { text-align: right; font-weight: 700; }
.verlauf td:nth-child(3) { text-align: right; color: var(--text-2); width: 84px; }
.verlauf tr.ich td { background: var(--info); }
.verlauf tr.ich td:first-child { padding-left: 8px; border-radius: 8px 0 0 8px; }
.verlauf tr.ich td:last-child { padding-right: 8px; border-radius: 0 8px 8px 0; }

.faden { border-top: 1px solid var(--linie); padding: 14px 0; display: flex; flex-direction: column; gap: 6px; }
.faden__von { font-size: var(--schrift-mini); font-weight: 700; color: var(--text-2); }
.faden__frage { font-weight: 700; }
.beitrag { background: var(--grund); border-radius: 12px; padding: 10px 12px; }
.beitrag--nachfrage { background: none; padding: 4px 0 0 16px; }
.beitrag .faden__von { margin-bottom: 2px; }
.frage-form { display: flex; gap: 10px; align-items: flex-start; }
.frage-form textarea, .frage-form input { flex: 1; }
.frage-form .knopf { flex: none; }

.zwei-karten { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; max-width: 960px; margin: 0 auto; }

.zwei-karten .karte + .karte { margin-top: 0; }
.zwei-karten.haendler-zuerst > :last-child { order: -1; }
.karte__titel { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.symbol { width: 44px; height: 44px; border-radius: 12px; background: var(--info); color: var(--marine); display: flex; align-items: center; justify-content: center; flex: none; }
.symbol--nacht { background: var(--nacht); color: #fff; }
.mitte { text-align: center; }

.status-bild { position: relative; aspect-ratio: 16 / 9; background: linear-gradient(#EEF1F5, #C9D1DC); border-radius: var(--r) var(--r) 0 0; overflow: hidden; margin: -22px -22px 18px; }
.status-bild img { width: 100%; height: 100%; object-fit: cover; display: block; }
.status-bild .chip { position: absolute; left: 12px; top: 12px; }
.drei { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; text-align: center; }
.drei div { background: var(--grund); border-radius: 12px; padding: 10px 4px; }
.drei b { display: block; font-size: var(--schrift-gross); }
.drei span { font-size: var(--schrift-mini); color: var(--text-2); }
.haekchen { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.haekchen li { display: flex; gap: 10px; align-items: flex-start; }
.haekchen svg { flex: none; color: var(--gut); margin-top: 3px; }

.warte-karte { max-width: 640px; margin: 8px auto 0; }
.ist-wartend .seite__kopf { justify-content: center; text-align: center; }
.stand-schritte { margin-top: 14px; gap: 12px; }
.stand-schritte .chip { min-width: 26px; justify-content: center; }
.stand-schritte .ist-fertig .chip { background: var(--gut-bg); color: var(--gut); }
.stand-schritte .ist-fertig .chip svg { width: 14px; height: 14px; margin: 0; color: var(--gut); }
.stand-schritte .ist-dran .chip { background: var(--marine-tief); color: #fff; }
.stand-schritte .ist-dran > span:last-child { font-weight: 700; }
.stand-schritte li:not(.ist-fertig):not(.ist-dran) > span:last-child { color: var(--text-2); }
.warte-karte__fuss { margin-top: 16px; font-size: var(--schrift-neben); }

@media (max-width: 900px) {
  .zweispaltig { grid-template-columns: 1fr; }
  .seitenleiste { position: static; }
}
@media (max-width: 640px) {
  h1 { font-size: var(--schrift-kopf); }
  .reiter { display: none; }
  .reiter-mobil { display: flex !important; }
  .karte { padding: 18px; }
  .status-bild { margin: -18px -18px 16px; }
  .frage-form { flex-direction: column; align-items: stretch; }
  .konto-name { display: none; }
}
.reiter-mobil { display: none; gap: 6px; margin: -8px 0 16px; overflow-x: auto; }
.reiter-mobil a { white-space: nowrap; text-decoration: none; font-weight: 700; font-size: var(--schrift-neben); padding: 8px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--linie); color: var(--text); }
.reiter-mobil a[aria-current="page"] { background: var(--marine); border-color: var(--marine); color: #fff; }

.reihe > .feld, .filter > .feld { margin-top: 0; }

.bietleiste { display: none; }
@media (max-width: 900px) {
  .bietleiste:not([hidden]) { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; display: flex; align-items: center; gap: 12px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--flaeche); border-top: 1px solid var(--linie);
    box-shadow: 0 -8px 24px -16px rgba(15,23,42,.35); }
  .bietleiste__text { display: flex; flex-direction: column; min-width: 0; flex: 1; }
  .bietleiste__text .leise, .bietleiste__gut, .bietleiste__warn { font-size: var(--schrift-mini); font-weight: 700; }
  .bietleiste__gut { color: var(--gut); }
  .bietleiste__warn { color: var(--warn); }
  .bietleiste__text b { font-size: var(--schrift-titel); font-weight: 800; letter-spacing: -0.02em; }
  .bietleiste .uhr { flex: none; }
  .bietleiste .knopf { flex: none; min-height: 44px; }
  body:has(.bietleiste:not([hidden])) { padding-bottom: 72px; }
}

@media (max-width: 900px) {
  .zweispaltig--bieten { display: flex; flex-direction: column; align-items: stretch; gap: 16px; }
  .zweispaltig--bieten > .stapel, .zweispaltig--bieten > .seitenleiste { display: contents; }
  .zweispaltig--bieten .m1 { order: 1; }
  .zweispaltig--bieten .m2 { order: 2; }
  .zweispaltig--bieten .m3 { order: 3; }
  .zweispaltig--bieten .karte + .karte { margin-top: 0; }
}

.knopf--datei { border: 2px dashed #94A3B8; color: var(--marine); background: #fff; }
.knopf--datei:hover { background: var(--grund); color: var(--marine); }
@media (max-width: 640px) {
  .reihe { grid-template-columns: 1fr !important; }
}

.faq { margin-top: 24px; border-top: 1px solid var(--linie); }
.faq details { border-bottom: 1px solid var(--linie); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 36px 18px 0; font-weight: 700; font-size: var(--schrift-gross); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 8px; top: 24px; width: 9px; height: 9px; border-right: 2.4px solid var(--text-2); border-bottom: 2.4px solid var(--text-2); transform: rotate(45deg); transition: transform .15s; }
.faq details[open] summary::after { transform: rotate(-135deg); top: 28px; }
.faq details p { padding: 0 0 18px; color: #334155; max-width: 62ch; }

.wahl { display: flex; flex-direction: column; gap: 8px; }
.wahl--reihe { display: grid; grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); }
.wahl__knopf { min-height: 48px; border-radius: 12px; border: 1px solid var(--linie-stark); background: #fff; color: var(--text); font: inherit; font-size: var(--schrift-text);
  text-align: left; padding: 10px 14px; cursor: pointer; position: relative; }
.wahl--reihe .wahl__knopf { text-align: center; padding: 10px 8px; }
.wahl__knopf:hover { border-color: var(--marine); }
.wahl__knopf[aria-pressed="true"] { border: 2px solid var(--marine); background: var(--info); color: var(--marine-tief); font-weight: 700; padding: 9px 13px; }
.wahl--reihe .wahl__knopf[aria-pressed="true"] { padding: 9px 7px; }
.karte > h2 + .leise { margin-top: -6px; }

.kauf-abstand { margin-top: 12px; }
.kauf-knoepfe { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.kauf-titel { margin: 18px 0 10px; font-size: var(--schrift-feld); }
.bewertung { display: flex; flex-direction: column; gap: 14px; }
.bewertung__frage { display: flex; flex-direction: column; gap: 8px; font-size: var(--schrift-text); font-weight: 600; }
.gebuehr-hinweis { margin-bottom: 18px; }

#gesperrt, .konto-hinweis { margin-bottom: 12px; }
.gekauft-titel { margin: 10px 0 14px; font-size: var(--schrift-feld); }

.recht { line-height: 1.6; }
.recht h1 { margin-bottom: 4px; }
.recht h2 { margin: 32px 0 10px; font-size: var(--schrift-titel); }
.recht h3 { margin: 22px 0 6px; }
.recht p { margin: 0 0 12px; color: var(--text); }
.recht ul { margin: 0 0 12px; padding-left: 20px; }
.recht li { margin: 0 0 6px; }
.recht .unterzeile { margin-bottom: 18px; }
.recht__inhalt { margin: 0 0 8px; font-size: var(--schrift-neben); color: var(--text-2); }
.recht ul.recht__tabelle { list-style: none; padding: 0; max-width: 360px; }
.recht__tabelle li { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--linie); margin: 0; }
.recht [id] { scroll-margin-top: 16px; }

.feld__fehler { margin: 6px 0 0; font-size: var(--schrift-klein); }
.haken + .feld__fehler { margin: -4px 0 10px; }

.konto { max-width: 1040px; }

.konto-kopf { margin-bottom: 18px; }

.konto-raster.konto-raster--uebersicht { display: block; }
.uebersicht-kopf { margin-bottom: 20px; }
.uebersicht-kopf h1 { font-size: var(--schrift-kopf); }
.uebersicht-kopf .leise { margin-top: 4px; font-size: var(--schrift-neben); }
.auto--dringend { border: 2px solid #FDBA74; }
.auto--neu { border: 2px dashed var(--linie-stark); background: transparent; align-items: center; justify-content: center;
  gap: 6px; text-align: center; padding: 24px; min-height: 260px; }
.auto--neu:hover { border-color: var(--marine); }
.auto--neu b { font-size: var(--schrift-gross); }
.auto--neu__plus { width: 48px; height: 48px; border-radius: 50%; background: var(--info); color: var(--marine);
  display: flex; align-items: center; justify-content: center; margin-bottom: 6px; }

.zurueck-link { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; text-decoration: none; }

.kopf__neu { font-weight: 700; text-decoration: none; white-space: nowrap; }

@media (max-width: 480px) {
  .kopf__neu-lang { display: none; }
  .kopf__innen:has(.kopf__neu) .marke { font-size: 18px; gap: 7px; }
  .kopf__innen:has(.kopf__neu) .marke__bild { width: 28px; height: 28px; }
}
.konto-raster { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.konto-raster .karte + .karte { margin-top: 0; }

.auto-karte .galerie__gross { aspect-ratio: 16 / 10; }
.galerie__stand { position: absolute; left: 12px; top: 12px; }

.auto-karte .galerie__leiste, .galerie__leiste--gleich { grid-template-columns: repeat(var(--spalten, 6), minmax(0, 1fr)); }
.auto-kopf { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-top: 18px; }
.auto-kopf h2 { margin: 0; font-size: var(--schrift-titel); line-height: 1.25; }
.auto-kopf .chip { flex: none; margin-top: 3px; }
.fortschritt-leiste { list-style: none; margin: 16px 0 4px; padding: 0; display: flex; }
.fortschritt-leiste li { flex: 1 1 0; position: relative; padding-top: 20px; text-align: center; font-size: var(--schrift-mini); color: var(--text-2); }
.fortschritt-leiste li::before { content: ''; position: absolute; top: 4px; left: 50%; width: 12px; height: 12px; margin-left: -6px;
  border-radius: 50%; background: #fff; border: 2px solid var(--linie-stark); box-sizing: border-box; z-index: 1; }
.fortschritt-leiste li::after { content: ''; position: absolute; top: 9px; left: calc(50% + 8px); right: calc(-50% + 8px); height: 2px; background: var(--linie); }
.fortschritt-leiste li:last-child::after { display: none; }
.fortschritt-leiste .ist-fertig { color: var(--text); }
.fortschritt-leiste .ist-fertig::before { background: var(--gut); border-color: var(--gut); }
.fortschritt-leiste .ist-fertig::after { background: var(--gut); }
.fortschritt-leiste .ist-jetzt { color: var(--marine); font-weight: 700; }
.fortschritt-leiste .ist-jetzt::before { background: var(--marine); border-color: var(--marine); box-shadow: 0 0 0 4px var(--info); }
.fortschritt-leiste--ende .ist-jetzt { color: var(--text-2); }
.fortschritt-leiste--ende .ist-jetzt::before { background: #94A3B8; border-color: #94A3B8; box-shadow: none; }
.anstehend { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.anstehend li { display: flex; flex-direction: column; padding: 10px 12px; border-radius: 12px; background: var(--grund); }
.anstehend b { font-size: var(--schrift-neben); }
.anstehend span { font-size: var(--schrift-klein); color: var(--text-2); }
.seiten-titel { font-size: var(--schrift-neben); margin: 14px 0 4px; }
.zeilen { margin: 0; }
.zeilen div { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--linie); font-size: var(--schrift-neben); }
.zeilen div:last-child { border-bottom: 0; }
.zeilen dt { color: var(--text-2); }
.zeilen dd { margin: 0; font-weight: 700; text-align: right; overflow-wrap: anywhere; }

.preis-zeile { display: flex; justify-content: space-between; align-items: flex-end; gap: 10px 20px; flex-wrap: wrap; margin-top: 14px; }
.preis-zeile__ende { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; padding-bottom: 6px; font-size: var(--schrift-neben); }

.antwort__fuss { display: flex; justify-content: flex-end; margin-top: 10px; }

.sicht-titel { font-size: var(--schrift-mini); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--text-2); margin: 20px 0 2px; }
.sicht { margin: 0; }
.sicht div { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 12px; padding: 9px 0;
  border-bottom: 1px solid var(--linie); font-size: var(--schrift-neben); line-height: 1.4; }
.sicht div:last-child { border-bottom: 0; }
.sicht dt { color: var(--text-2); }
.sicht dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.sicht ul { margin: 0; padding-left: 18px; }

.konto-raster--allein { grid-template-columns: minmax(0, 520px); justify-content: center; }

.konto-raster > aside.klebt { position: sticky; top: 16px; }

.stand-karte .auto-kopf { margin-top: 0; align-items: center; }

.stand-karte .auto-kopf h2 { font-size: var(--schrift-titel); text-wrap: balance; }

.stand-karte .fortschritt-leiste { margin: 18px -14px 4px; }
.stand-karte .fortschritt-leiste li { font-size: var(--schrift-mini); white-space: nowrap; }

.stand-karte { container: stand / inline-size; }
@container stand (max-width: 420px) {
  .stand-karte .fortschritt-leiste { margin-inline: 0; }
  .stand-karte .fortschritt-leiste li:first-child { text-align: left; }
  .stand-karte .fortschritt-leiste li:last-child { text-align: right; }
  .stand-karte .fortschritt-leiste li:first-child::before { left: 0; margin-left: 0; }
  .stand-karte .fortschritt-leiste li:first-child::after { left: 16px; }
  .stand-karte .fortschritt-leiste li:last-child::before { left: auto; right: 0; margin-left: 0; }
  .stand-karte .fortschritt-leiste li:nth-last-child(2)::after { right: calc(-100% + 16px); }
  .stand-karte .preis-zeile { display: block; }
  .stand-karte .preis-zeile__ende { flex-direction: row; justify-content: space-between; align-items: baseline;
    gap: 12px; margin-top: 12px; padding-bottom: 0; }
}

.stand-notiz { display: flex; gap: 8px; align-items: flex-start; margin-top: 14px; padding-top: 14px;
  border-top: 1px solid var(--linie); font-size: var(--schrift-neben); line-height: 1.45; color: var(--text-2); }
.stand-notiz svg { flex: none; margin-top: 1px; color: var(--gut); }
.stand-notiz b { color: var(--text); }

.daten .daten__breit { grid-column: 1 / -1; }
.anstehend a { color: inherit; text-decoration: none; }
.anstehend a:hover b { text-decoration: underline; }
@media (max-width: 820px) {
  .konto-raster { grid-template-columns: minmax(0, 1fr); }
  .fortschritt-leiste li { font-size: var(--schrift-mini); }

  .konto-raster > .stapel { display: contents; }
  #seite > * { order: 3; }
  #inhalt > * { order: 4; }
  #inhalt > .reihe-1 { order: 1; }
  #seite > .reihe-2 { order: 2; }
  #seite > .reihe-letzte { order: 5; }
}
@media (max-width: 520px) {
  .antwort__fuss .knopf { width: 100%; }

  .auto-karte .galerie__leiste, .galerie__leiste--gleich { grid-template-columns: repeat(var(--spalten-schmal, 4), minmax(0, 1fr)); }
}

.ist-gesendet [data-vor-dem-senden] { display: none; }

.konto-eingereicht.ist-gesendet > :is(h1, .unterzeile) { text-align: center; text-wrap: balance; }
.konto-eingereicht .link-gesendet p { text-wrap: balance; }
.link-gesendet { text-align: center; padding: 8px 4px 2px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.link-gesendet[hidden] { display: none; }
.link-gesendet__symbol { width: 56px; height: 56px; border-radius: 50%; background: var(--info); color: var(--marine);
  display: flex; align-items: center; justify-content: center; }
.link-gesendet h3 { font-size: var(--schrift-titel); font-weight: 800; }
.link-gesendet > .leise { font-size: var(--schrift-neben); line-height: 1.5; max-width: 340px; }
.link-gesendet b { color: var(--text); overflow-wrap: anywhere; }
.link-gesendet .knopf { margin-top: 6px; }
.link-gesendet__fuss { font-size: var(--schrift-klein) !important; }
.link-gesendet__andere { padding: 0; font-size: var(--schrift-neben); margin-top: -4px; }

.nachreichen { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--linie); }
.nachreichen__titel { font-size: var(--schrift-feld); margin-bottom: 4px; }
.nachreichen > .hinweis { margin-top: 4px; }
.plaetze { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.platz { display: flex; align-items: center; gap: 10px; padding: 8px; border: 1px solid var(--linie-stark); border-radius: 12px; background: var(--flaeche); }
.platz.is-da { border-color: var(--gut); background: var(--gut-bg); }
.platz__bild { flex: none; width: 60px; height: 45px; border-radius: 8px; overflow: hidden; background: var(--grund); }
.platz__bild img { width: 100%; height: 100%; object-fit: cover; display: block; }
.platz:not(.is-da) .platz__bild img { opacity: .8; }
.platz__text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; font-size: var(--schrift-neben); line-height: 1.35; }
.platz__text small { color: var(--text-2); font-size: var(--schrift-klein); }
.platz__fehler { font-size: var(--schrift-klein); }
.platz__knopf { position: relative; flex: none; min-height: 44px; padding: 0 12px; gap: 6px; font-size: var(--schrift-neben); cursor: pointer; }
.platz__knopf:focus-within { outline: 3px solid rgba(22,119,255,.35); outline-offset: 2px; }
.platz__knopf svg { width: 18px; height: 18px; }

.platz__datei { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.platz.is-laedt .platz__knopf { opacity: .6; pointer-events: none; }
.platz__da { flex: none; display: inline-flex; align-items: center; gap: 4px; padding: 0 10px; color: var(--gut); font-weight: 700; font-size: var(--schrift-neben); }

.bieten__preis--stand { font-size: var(--schrift-kopf); letter-spacing: -0.02em; }
.auto__preis--stand { font-size: var(--schrift-gross); }

.foto-sicht { display: inline-flex; margin-bottom: 12px; border: 1px solid var(--linie-stark); border-radius: 10px; overflow: hidden; }
.foto-sicht button { min-height: 36px; padding: 0 14px; border: 0; background: var(--flaeche); color: var(--text-2); font: inherit; font-size: var(--schrift-neben); font-weight: 600; cursor: pointer; }
.foto-sicht button + button { border-left: 1px solid var(--linie-stark); }
.foto-sicht button[aria-pressed="true"] { background: var(--info); color: var(--marine-tief); }
.foto-sicht button:focus-visible { outline: 3px solid rgba(22,119,255,.35); outline-offset: -3px; }
.foto-sicht__hinweis { display: flex; align-items: flex-start; gap: 8px; margin-top: 12px; }
.foto-sicht__hinweis svg { width: 18px; height: 18px; flex: none; margin-top: 1px; color: var(--marine); }

.daten-karte__unter { margin-top: 4px; }
.sym { flex: none; }
.eckdaten-rahmen { container: eckdaten / inline-size; margin-top: 10px; }

.eckdaten { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; margin: 0; }
@container eckdaten (min-width: 660px) {
  .eckdaten { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.eck { display: flex; align-items: center; gap: 10px; min-width: 0; }
.eck > div { min-width: 0; }
.eck__bild { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px;
  background: var(--grund); color: var(--text-2); }
.eck dt { font-size: var(--schrift-klein); color: var(--text-2); }
.eck dd { margin: 0; font-weight: 700; overflow-wrap: anywhere; }
.eck--warn .eck__bild { background: var(--warn-bg); color: var(--warn); }
.eck--bad .eck__bild { background: var(--fehler-bg); color: var(--fehler); }
.eck__notiz { display: block; font-size: var(--schrift-mini); font-weight: 700; color: var(--warn); }
.eck--bad .eck__notiz { color: var(--fehler); }

@container eckdaten (max-width: 439px) {
  .eck { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; align-content: start; gap: 2px 6px; }
  .eck > div { display: contents; }
  .eck__bild, .eck--warn .eck__bild, .eck--bad .eck__bild { width: auto; height: auto; background: none; }
  .eck__bild .sym { width: 16px; height: 16px; }
  .eck dd { grid-column: 1 / -1; }
}

.zustand-rahmen { container: zustand / inline-size; margin-top: 10px; }
.zustand-kacheln { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.zk { min-width: 0; padding: 12px 14px; border: 1px solid var(--linie); border-radius: 12px; }
.zk__kopf { display: flex; align-items: center; gap: 6px; font-size: var(--schrift-klein); color: var(--text-2); }
.zk__kopf .sym { width: 18px; height: 18px; }
.zk__punkt { flex: none; width: 8px; height: 8px; margin-left: auto; border-radius: 50%; }
.zk--good .zk__punkt { background: var(--gut); }
.zk--warn .zk__punkt { background: var(--warn-punkt); }
.zk--bad .zk__punkt { background: var(--fehler); }
.zk__wert { display: block; margin-top: 6px; line-height: 1.3; overflow-wrap: anywhere; }

@container zustand (max-width: 499px) {
  .zustand-kacheln { grid-template-columns: minmax(0, 1fr); gap: 0; border: 1px solid var(--linie); border-radius: 12px; }
  .zk { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 1px 12px;
    padding: 10px 14px; border: 0; border-radius: 0; }
  .zk + .zk { border-top: 1px solid var(--linie); }
  .zk__kopf { display: contents; }
  .zk__kopf .sym { grid-column: 1; grid-row: 1 / 3; width: 20px; height: 20px; }
  .zk__kopf span { grid-column: 2; grid-row: 1; font-size: var(--schrift-klein); color: var(--text-2); }
  .zk__punkt { grid-column: 3; grid-row: 1 / 3; margin-left: 0; }
  .zk__wert { grid-column: 2; grid-row: 2; margin-top: 0; }
}
.schaeden { margin-top: 10px; padding: 12px 14px; border-radius: 12px; background: var(--warn-bg); }
.schaeden__titel { display: flex; align-items: center; gap: 8px; margin: 0; font-size: var(--schrift-neben); color: var(--warn); }
.schaeden__titel .zahl { padding: 0 7px; border-radius: 999px; background: var(--flaeche); font-size: var(--schrift-mini); }
.schaeden ul { margin: 8px 0 0; padding-left: 28px; font-size: var(--schrift-neben); line-height: 1.45; }
.schaeden li + li { margin-top: 4px; }
.eckdaten-rahmen + .sicht, .zustand-rahmen + .sicht, .schaeden + .sicht { margin-top: 12px; }
.sicht__unter dt { padding-left: 14px; }
.ausstattung { margin-top: 14px; }
.ausstattung__titel { display: block; margin-bottom: 8px; font-size: var(--schrift-klein); color: var(--text-2); }
.ausstattung ul { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
