/* ImmoBoost Demo, Look "Warm und persönlich" (Entwurf 03).
   Eine Datei, Schriften liegen lokal unter /static/fonts, keine fremden Adressen.
   Farben mit gemessenem Kontrast: docs/bildnachweise.md nennt die Schriften, CHANGELOG 0.5.0 die Messung. */
@font-face { font-family: "Fraunces"; src: url("/static/fonts/fraunces-latin.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Nunito Sans"; src: url("/static/fonts/nunito-sans-latin.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Caveat"; src: url("/static/fonts/caveat-latin.woff2") format("woff2"); font-weight: 500 700; font-display: swap; }

:root {
  --creme: #fbf5ec;
  --karte: #fffdf8;
  --tinte: #3a2a20;
  --tinte-2: #6e5b4e;
  --linie: #e8dccb;
  --rand-feld: #9a8570;
  --akzent: #a84b25;
  --akzent-dunkel: #8a3c1c;
  --akzent-hell: #f6e2d8;
  --petrol: #093d4b;
  --petrol-2: #2a5a68;
  --petrol-hell: #e2edf0;
  --petrol-rand: #b5cdd4;
  --salbei: #5f7d66;
  --salbei-tinte: #375540;
  --salbei-hell: #e4ece4;
  --gelb: #f2c46b;
  --gelb-satt: #d9a441;
  --gelb-hell: #fcf0d2;
  --gelb-tinte: #624400;
  --rot: #b0282c;
  --rot-tinte: #8a1b1f;
  --rot-hell: #fbe7e3;
  --bahn: #efe5d6;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Nunito Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --hand: "Caveat", "Segoe Script", cursive;
  --mono: Consolas, "Courier New", monospace;
  --r: 18px;
  --r-klein: 12px;
  --schatten: 0 1px 2px rgba(9, 61, 75, 0.05), 0 18px 36px -26px rgba(9, 61, 75, 0.35);
  --weich: cubic-bezier(0.23, 1, 0.32, 1);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  margin: 0;
  background: var(--creme);
  color: var(--tinte);
  font-family: var(--sans);
  font-size: 17.5px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

img { max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; margin: 0; text-wrap: balance; color: var(--petrol); }
h1 { font-size: clamp(30px, 5vw, 44px); line-height: 1.1; letter-spacing: -0.02em; }
h2 { font-size: clamp(24px, 3.2vw, 30px); line-height: 1.15; letter-spacing: -0.015em; margin: 48px 0 14px; }
h3 { font-size: 20px; line-height: 1.25; margin: 20px 0 6px; }
p { margin: 0 0 12px; }
a { color: var(--petrol); text-underline-offset: 3px; text-decoration-color: var(--akzent); text-decoration-thickness: 1.5px; }
a:hover { color: var(--akzent-dunkel); }
strong { font-weight: 700; }
code { font-family: var(--mono); font-size: 0.9em; overflow-wrap: anywhere; background: var(--bahn); padding: 1px 5px; border-radius: 5px; }

:focus-visible { outline: 3px solid var(--akzent); outline-offset: 3px; border-radius: 6px; }

.nur-vorlesen { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* ---- Rahmen: breite Seiten (Start) und schmale Seiten (Treppe) ---- */
.rahmen { width: min(1160px, 100% - 40px); margin-inline: auto; }
.blatt { width: min(820px, 100% - 40px); margin: 0 auto; padding: 12px 0 56px; }
.nuechtern .blatt { width: min(1080px, 100% - 40px); }

/* ---- Kopf ---- */
.kopf {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(251, 245, 236, 0.93);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--linie);
}
.kopf .rahmen { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 66px; }
.marke { display: inline-flex; align-items: center; flex: none; text-decoration: none; border-radius: 6px; }
.marke img { display: block; height: 30px; width: auto; }
.kopf-nav { display: flex; gap: 22px; font-weight: 600; font-size: 16px; }
.kopf-nav a { color: var(--petrol-2); text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.kopf-nav a:hover { color: var(--petrol); border-bottom-color: var(--akzent); }
.kopf-zusatz { color: var(--tinte-2); font-size: 15px; text-align: right; }

/* ---- Text-Bausteine ---- */
/* Handschrift: nur als kurze Dachzeile über Überschriften der Kundenseiten und als Notiz an Fotos, in Terrakotta. */
.hand { display: block; margin: 0 0 4px; font-family: var(--hand); font-weight: 600; font-size: 28px; line-height: 1.05; color: var(--akzent); }
/* Dachzeile der Arbeitsseiten (Prüfer, Makler) und der PDFs: klein, gesperrt, mit Strich in Terrakotta. */
.ueber { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; font-family: var(--sans); font-size: 13.5px; font-weight: 800; letter-spacing: 0.09em; text-transform: uppercase; line-height: 1.3; color: var(--akzent-dunkel); }
.ueber::before { content: ""; flex: none; width: 22px; height: 3px; border-radius: 2px; background: var(--akzent); }
.held { padding: 34px 0 22px; }
.vorspann { font-size: 19.5px; color: var(--tinte-2); margin-top: 14px; max-width: 34em; }
.ehrlich { display: inline-block; margin: 6px 0 0; padding: 8px 14px; border-radius: 999px; background: var(--petrol-hell); color: var(--petrol); font-size: 16px; font-weight: 600; }
.makler { margin-top: 14px; font-size: 16px; color: var(--tinte-2); }
.makler strong { color: var(--tinte); }
.hilfe { font-size: 15px; color: var(--tinte-2); margin: 2px 0 8px; }
/* Hilfezeile direkt unter einem Knopf: Luft, damit sie nicht am Knopf klebt. */
.haupt + .hilfe, .knopf + .hilfe { margin-top: 16px; }
.klein { font-size: 15px; color: var(--tinte-2); }
.mitte { text-align: center; }
.ohne-abstand, .nuechtern h2.ohne-abstand { margin-top: 0; }
.breit { display: block; width: 100%; }
.zurueck { margin: 14px 0; font-size: 16px; }

/* ---- Karten ---- */
.karte {
  background: var(--karte);
  border: 1px solid var(--linie);
  border-radius: var(--r);
  padding: 24px;
  box-shadow: var(--schatten);
}
.karte > :first-child, .nuechtern .karte > :first-child { margin-top: 0; }
.karte > :last-child { margin-bottom: 0; }
.frei { margin-top: 44px; border: 2px solid var(--petrol); }
.angebot { margin-top: 44px; border: 2px solid var(--akzent); }
.gesperrt { margin-top: 44px; }
.frei h2, .angebot h2, .gesperrt h2 { margin-top: 0; }
.leer { padding: 22px; border: 1.5px dashed var(--rand-feld); border-radius: var(--r); background: transparent; color: var(--tinte-2); text-align: center; box-shadow: none; }

/* ---- Formulare ---- */
.formular label { display: block; font-weight: 700; font-size: 16px; margin-top: 16px; margin-bottom: 5px; }
.formular label:first-of-type { margin-top: 0; }
textarea, select, input[type="url"], input[type="email"], input[type="text"], input[type="password"], input[type="file"] {
  display: block;
  width: 100%;
  font: inherit;
  color: var(--tinte);
  background: #fff;
  border: 1px solid var(--rand-feld);
  border-radius: var(--r-klein);
  padding: 12px 14px;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
input[type="url"], input[type="email"], input[type="text"], input[type="password"], select { min-height: 50px; }
textarea { resize: vertical; min-height: 170px; }
textarea.notiz { min-height: 84px; }
::placeholder { color: #75614f; opacity: 1; }
textarea:focus, select:focus, input:focus {
  outline: none;
  border-color: var(--akzent);
  box-shadow: 0 0 0 4px rgba(168, 80, 47, 0.28);
}
input[type="checkbox"]:focus-visible { outline: 3px solid var(--akzent); outline-offset: 3px; box-shadow: none; }
.formular label.haken, label.haken { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; margin-top: 12px; }
.haken input { flex: none; width: 22px; height: 22px; margin-top: 3px; accent-color: var(--akzent); }
.selbst { margin-top: 16px; border-top: 1px dashed var(--rand-feld); padding-top: 12px; }
.selbst summary { cursor: pointer; color: var(--petrol); font-weight: 700; }
.selbst label { margin-top: 12px; }

/* ---- Knöpfe ---- */
button, .knopf { font: inherit; cursor: pointer; border: 1px solid transparent; text-decoration: none; display: inline-block; }
.haupt, .knopf {
  width: 100%;
  margin-top: 18px;
  padding: 15px 24px;
  border-radius: 999px;
  background: var(--akzent);
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.2;
  text-align: center;
  box-shadow: 0 10px 22px -12px rgba(168, 80, 47, 0.8);
  transition: transform 160ms var(--weich), background-color 200ms ease;
}
.haupt:hover, .knopf:hover { background: var(--akzent-dunkel); color: #fff; }
.haupt:active, .knopf:active { transform: scale(0.98); }
.haupt:disabled { background: #7d6a5b; color: #fff; cursor: not-allowed; box-shadow: none; }
.knopf { width: auto; }
.knopf.breit { width: 100%; }
.knopf.klein-knopf { margin-top: 0; padding: 10px 18px; font-size: 16px; }
.leise, .knopf.leise {
  width: auto;
  margin-top: 6px;
  padding: 9px 18px;
  border-radius: 999px;
  background: transparent;
  border-color: var(--rand-feld);
  color: var(--tinte);
  font-size: 16px;
  font-weight: 600;
  box-shadow: none;
}
.leise:hover, .knopf.leise:hover { background: var(--akzent-hell); border-color: var(--akzent); color: var(--tinte); }
.leise:disabled { color: var(--tinte-2); border-color: var(--linie); cursor: not-allowed; background: transparent; }
.textknopf { padding: 0; background: none; border: 0; color: var(--petrol); text-decoration: underline; text-underline-offset: 3px; font-size: inherit; font-weight: 600; }

/* ---- Meldungen: Fehler, Erfolg, Demo-Hinweis ---- */
.meldung {
  background: var(--rot-hell);
  border: 1px solid #e3aaa6;
  border-left: 5px solid var(--rot);
  border-radius: var(--r-klein);
  padding: 12px 14px;
  color: var(--rot-tinte);
}
.meldung ul { margin: 6px 0 0; padding-left: 20px; }
.meldung p { margin: 0; }
.formular .meldung { margin-top: 14px; }
.hinweisbox {
  margin: 14px 0 0;
  padding: 12px 14px;
  border-radius: var(--r-klein);
  background: var(--petrol-hell);
  border: 1px solid var(--petrol-rand);
  color: var(--petrol);
}
.hinweisbox a { color: var(--petrol); }
.banner {
  margin: 16px 0 0;
  padding: 10px 14px;
  border-radius: var(--r-klein);
  background: var(--gelb-hell);
  border: 1px solid #e6cf94;
  color: var(--gelb-tinte);
  font-size: 16px;
}
.banner a { color: var(--gelb-tinte); }
.banner-leise { background: var(--bahn); border-color: var(--linie); color: var(--tinte-2); }
.banner-leise a { color: var(--petrol); }

/* ---- Stufen der Treppe: wo bin ich? ---- */
.stufen { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 8px; font-size: 15px; }
.stufen li { display: inline-flex; align-items: center; gap: 7px; padding: 5px 13px 5px 6px; border-radius: 999px; border: 1px solid var(--linie); background: var(--karte); color: var(--tinte-2); }
.stufen li::before { content: ""; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--rand-feld); flex: none; }
.stufen li.fertig { color: var(--petrol); border-color: var(--petrol-rand); background: var(--petrol-hell); }
.stufen li.fertig::before { border-color: var(--petrol); background: var(--petrol) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.6 2.6L12 5.6' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.stufen li.hier { color: var(--petrol); font-weight: 700; border-color: var(--akzent); }
.stufen li.hier::before { border-color: var(--akzent); background: var(--akzent); box-shadow: inset 0 0 0 4px var(--karte); }
.stufen a { color: inherit; text-decoration: none; }
.stufen a:hover { text-decoration: underline; }

/* ---- Score ---- */
.score { display: grid; grid-template-columns: 1fr; gap: 14px; align-items: center; margin-top: 18px; }
.score h1 { font-size: clamp(24px, 4.2vw, 32px); }
.kurzurteil { margin-top: 10px; font-size: 18.5px; }
.eckdaten { font-weight: 700; margin-bottom: 4px; }
@media (min-width: 620px) {
  .score { grid-template-columns: 170px 1fr; gap: 28px; }
}
.ring { width: 150px; height: 150px; display: block; margin: 0 auto; }
.ring-bahn { fill: none; stroke: var(--bahn); stroke-width: 10; }
.ring-wert { fill: none; stroke-width: 10; stroke-linecap: round; }
.ring-gut .ring-wert { stroke: var(--salbei); }
.ring-mittel .ring-wert { stroke: var(--gelb-satt); }
.ring-schwach .ring-wert { stroke: var(--rot); }
.ring-zahl { font-family: var(--serif); font-size: 38px; font-weight: 600; fill: var(--petrol); }
.ring-von { font-family: var(--sans); font-size: 11px; fill: var(--tinte-2); letter-spacing: 0.06em; text-transform: uppercase; }

/* ---- Hebel und Bereiche ---- */
.hebel { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.hebel-karte { background: var(--karte); border: 1px solid var(--linie); border-radius: var(--r); padding: 20px 22px; }
.hebel-karte > :last-child { margin-bottom: 0; }
.hebel-kopf { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.hebel-nr {
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid var(--akzent);
  background: var(--akzent);
  color: #fff;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 19px;
  text-align: center;
  line-height: 34px;
}
.hebel-bereich { font-weight: 700; flex: 1; color: var(--petrol); }
.hebel-sym { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: var(--petrol-hell); color: var(--petrol); }
.hebel-text { font-family: var(--serif); font-size: 21px; line-height: 1.3; margin-bottom: 8px; color: var(--petrol); }
.hebel-grund { color: var(--tinte-2); }
.hebel-ruhig { border-color: #bcd0c0; }
/* Belege, Aufwand, Symbole: siehe Block "Belege" am Ende der Datei. */

.punkte { flex: none; padding: 4px 12px; border-radius: 999px; font-size: 15px; font-weight: 700; white-space: nowrap; border: 1px solid transparent; }
.punkte-gut { background: var(--salbei-hell); color: var(--salbei-tinte); border-color: #bcd0c0; }
.punkte-mittel { background: var(--gelb-hell); color: var(--gelb-tinte); border-color: #e6cf94; }
.punkte-schwach { background: var(--rot-hell); color: var(--rot-tinte); border-color: #e3aaa6; }

.bilder { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; }
.bilder li { font-size: 15px; color: var(--tinte-2); text-align: center; }
.bilder img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.bilder .zoom { margin-bottom: 6px; border-radius: var(--r-klein); }

.bereichsliste { list-style: none; margin: 0 0 14px; padding: 0; }
.bereichsliste li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--linie); }
.zu { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; color: var(--tinte-2); }
.zu svg { fill: currentColor; }

/* ---- Warten: der Hinweis liegt über der Seite, solange eine Antwort aussteht ---- */
.warte { display: none; }
.prueft .warte {
  display: flex;
  position: fixed;
  inset: 0;
  z-index: 30;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: rgba(251, 245, 236, 0.95);
  font-family: var(--serif);
  font-size: 23px;
  text-align: center;
  padding: 20px;
}
.prueft .warte .klein { font-family: var(--sans); }
.warte-kreis {
  width: 54px;
  height: 54px;
  margin-bottom: 14px;
  border: 5px solid var(--bahn);
  border-top-color: var(--akzent);
  border-radius: 50%;
  animation: dreh 0.9s linear infinite;
}
@keyframes dreh { to { transform: rotate(360deg); } }

/* ---- Fortschritt langer Läufe: Schritte mit Kreisen und Haken, Balken, Restzeit (AK25 bis AK30) ---- */
/* Fertig: Salbei mit Haken. Läuft: Terrakotta mit Ring. Kommt noch: blass. Der Balken rückt nur mit fertigen Schritten vor. */
.fortschritt { margin-top: 4px; }
.hinweisbox + .fortschritt { margin-top: 20px; }
.lauf-kopf { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; }
.lauf-rest { margin: 0; font-family: var(--serif); font-size: 23px; font-weight: 600; line-height: 1.2; }
.lauf-prozent { margin: 0; flex: none; font-weight: 700; color: var(--tinte-2); font-variant-numeric: tabular-nums; }
.lauf-balken {
  -webkit-appearance: none;
  appearance: none;
  display: block;
  width: 100%;
  height: 14px;
  margin: 10px 0 24px;
  border: 0;
  border-radius: 999px;
  background: var(--bahn);
  color: var(--akzent);
  overflow: hidden;
}
.lauf-balken::-webkit-progress-bar { background: var(--bahn); border-radius: 999px; }
.lauf-balken::-webkit-progress-value { background: var(--akzent); border-radius: 999px; transition: width 500ms var(--weich); }
.lauf-balken::-moz-progress-bar { background: var(--akzent); border-radius: 999px; }
.lauf-balken.steht { color: var(--rand-feld); }
.lauf-balken.steht::-webkit-progress-value { background: var(--rand-feld); }
.lauf-balken.steht::-moz-progress-bar { background: var(--rand-feld); }

.lauf-liste { list-style: none; margin: 0; padding: 0; }
.lauf-schritt { position: relative; display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 14px; padding-bottom: 18px; }
.lauf-schritt::before { content: ""; position: absolute; left: 18px; top: 40px; bottom: 2px; border-left: 2px dashed var(--rand-feld); opacity: 0.5; }
.lauf-schritt:last-child { padding-bottom: 0; }
.lauf-schritt:last-child::before { display: none; }
.lauf-kreis { position: relative; width: 38px; height: 38px; border-radius: 50%; border: 2px solid var(--rand-feld); background: var(--creme); }
.lauf-inhalt { padding-top: 5px; }
.lauf-name { margin: 0; font-weight: 700; }
.lauf-zeile { margin: 2px 0 0; font-size: 16px; color: var(--tinte-2); }
.lauf-zeile:empty, .lauf-fakten:empty { display: none; }
.lauf-fakten { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.lauf-fakten li { padding: 3px 11px; border-radius: 14px; background: var(--salbei-hell); border: 1px solid #bcd0c0; color: var(--salbei-tinte); font-size: 15px; font-weight: 600; }

.ist-fertig .lauf-kreis { border-color: var(--salbei); background: var(--salbei) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.6 2.6L12 5.6' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat; }
.ist-fertig::before { border-left-style: solid; border-left-color: var(--salbei); opacity: 0.7; }
.ist-laeuft .lauf-kreis { border-color: var(--akzent); background: var(--akzent); box-shadow: inset 0 0 0 7px var(--karte); }
.ist-laeuft .lauf-kreis::after { content: ""; position: absolute; inset: -7px; border-radius: 50%; border: 2px solid var(--akzent); opacity: 0; animation: lauf-ring 1.7s ease-out infinite; }
.ist-laeuft .lauf-name { font-family: var(--serif); font-size: 20px; font-weight: 600; line-height: 1.25; }
.ist-laeuft .lauf-zeile { color: var(--tinte); font-variant-numeric: tabular-nums; }
.ist-offen .lauf-kreis { border-style: dashed; background: transparent; }
.ist-offen .lauf-name { font-weight: 600; color: var(--tinte-2); }
.ist-fehler .lauf-kreis { border-color: var(--rot); background: var(--rot-hell) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M5 5l6 6M11 5l-6 6' fill='none' stroke='%23b0282c' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / 20px no-repeat; }
.ist-fehler .lauf-name { color: var(--rot-tinte); }
.lauf-fehler { margin-top: 10px; }
.lauf-fehler .knopf { margin-top: 12px; }
.lauf-fehler .hilfe { margin-top: 8px; }
.lauf-hinweis { margin: 0; font-weight: 600; color: var(--rot-tinte); }
.lauf-abbruch { margin-top: 22px; padding-top: 16px; border-top: 1px dashed var(--rand-feld); }
.lauf-abbruch[data-art="keiner"] { display: none; }
.lauf-abbruch .leise { margin-top: 0; }
.lauf-abbruch .hilfe { margin: 8px 0 0; }
@keyframes lauf-ring { from { transform: scale(0.8); opacity: 0.75; } to { transform: scale(1.2); opacity: 0; } }
.formular > .hinweisbox { margin: 0 0 14px; }

/* ---- Fuß ---- */
.fuss { margin-top: 40px; padding: 34px 0 30px; background: var(--petrol); color: #d5e3e7; font-size: 15px; }
.fuss .rahmen { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px 40px; }
.fuss p { margin: 0 0 4px; }
.fuss a { color: #fff; text-decoration-color: #e9925f; }
.fuss a:hover { color: #ffd9c2; }
.fuss :focus-visible { outline-color: #fff; }
.fuss-logo { display: block; height: 26px; width: auto; margin-bottom: 14px; }
.fuss-nav { display: flex; flex-wrap: wrap; gap: 6px 18px; align-content: flex-start; }
.fuss-version { flex-basis: 100%; margin-top: 4px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, 0.18); font-size: 14px; font-variant-numeric: tabular-nums; }
.fuss-version a { color: #d5e3e7; }

/* ---- Tabellen ---- */
.tabelle { width: 100%; border-collapse: collapse; font-size: 16.5px; }
.tabelle th, .tabelle td { text-align: left; padding: 9px 12px 9px 0; border-bottom: 1px solid var(--linie); vertical-align: top; }
.tabelle th { font-weight: 400; color: var(--tinte-2); width: 46%; }
.tabelle thead th { font-size: 14px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; border-bottom: 2px solid var(--rand-feld); }
.tabelle td.fehlt { color: var(--rot-tinte); font-weight: 600; }
.vergleichstabelle th { width: auto; }
.herkunft th { width: 22%; }
.herkunft thead th:nth-child(2) { width: 28%; }
.herkunft thead th:last-child { width: 50%; }
@media (max-width: 640px) {
  .herkunft thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
  .herkunft, .herkunft tbody, .herkunft tr, .herkunft th, .herkunft td { display: block; width: 100%; }
  .herkunft tr { padding: 8px 0; border-bottom: 1px solid var(--linie); }
  .herkunft th, .herkunft td { border: 0; padding: 2px 0; }
  .herkunft tbody th { font-weight: 700; color: var(--tinte); }
}

/* Listen der nüchternen Seiten: echte Tabellen, auf dem Handy je Zeile ein Block. */
.liste { width: 100%; border-collapse: collapse; background: var(--karte); border: 1px solid var(--linie); font-size: 16px; }
.liste th, .liste td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--linie); vertical-align: top; }
.liste thead th { font-size: 14px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--tinte-2); background: var(--bahn); border-bottom: 2px solid var(--rand-feld); white-space: nowrap; }
.liste tbody th { font-weight: 700; }
.liste tbody tr:hover { background: #fbf3e6; }
.liste td.zahl, .liste th.zahl { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.liste .formular label { margin-top: 10px; font-size: 15px; }
.liste .formular label:first-of-type { margin-top: 0; }
.liste select, .liste textarea { padding: 8px 10px; min-height: 0; font-size: 16px; }
.liste textarea.notiz { min-height: 64px; }
.status { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 14px; font-weight: 700; white-space: nowrap; border: 1px solid var(--linie); background: var(--bahn); color: var(--tinte); }
.status-gut { background: var(--salbei-hell); border-color: #bcd0c0; color: var(--salbei-tinte); }
.status-offen { background: var(--gelb-hell); border-color: #e6cf94; color: var(--gelb-tinte); }
.status-schlecht { background: var(--rot-hell); border-color: #e3aaa6; color: var(--rot-tinte); }
@media (max-width: 760px) {
  .liste thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
  .liste, .liste tbody, .liste tr, .liste th, .liste td { display: block; width: 100%; }
  .liste tr { padding: 10px 0; border-bottom: 2px solid var(--rand-feld); }
  .liste th, .liste td { border-bottom: 0; padding: 4px 14px; }
  .liste td.zahl { text-align: left; }
  .liste td[data-spalte]::before { content: attr(data-spalte) ": "; font-weight: 700; color: var(--tinte-2); }
  .liste td.block[data-spalte]::before { display: block; }
}

.balkenliste { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.balkenliste li { display: grid; grid-template-columns: minmax(120px, 11em) 1fr 6.6em; gap: 12px; align-items: center; font-size: 16px; }
.b-bahn { height: 12px; border-radius: 999px; background: var(--bahn); overflow: hidden; }
.b-wert { display: block; height: 100%; border-radius: 999px; }
.b-gut { background: var(--salbei); }
.b-mittel { background: var(--gelb-satt); }
.b-schwach { background: var(--rot); }
.b-zahl { text-align: right; color: var(--tinte-2); font-variant-numeric: tabular-nums; }
.b-name { display: inline-flex; align-items: center; gap: 8px; }
.b-name .sym-bild { flex: none; color: var(--petrol-2); }
.w-0 { width: 2%; } .w-1 { width: 10%; } .w-2 { width: 20%; } .w-3 { width: 30%; } .w-4 { width: 40%; }
.w-5 { width: 50%; } .w-6 { width: 60%; } .w-7 { width: 70%; } .w-8 { width: 80%; } .w-9 { width: 90%; } .w-10 { width: 100%; }
@media (max-width: 480px) {
  .balkenliste li { grid-template-columns: 1fr 6em; }
  .b-name { grid-column: 1 / -1; font-weight: 700; }
}

.abschnitt h2 { margin-bottom: 12px; }
.fragen { margin: 0; padding-left: 24px; display: grid; gap: 14px; }
.frage { display: block; font-family: var(--serif); font-size: 20px; line-height: 1.3; }
.anlass { display: block; font-size: 15px; color: var(--tinte-2); }
.grenzen { margin: 0; padding-left: 20px; color: var(--tinte-2); font-size: 16px; }
.grenzen li { margin-bottom: 6px; }

.haken-liste { list-style: none; margin: 0 0 6px; padding: 0; }
.haken-liste li { position: relative; padding: 8px 0 8px 32px; border-bottom: 1px solid var(--linie); }
.haken-liste li::before { content: "✓"; position: absolute; left: 4px; color: var(--salbei-tinte); font-weight: 700; }
.haken-liste.offen li::before { content: "□"; color: var(--akzent-dunkel); }

.marken { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.marken li { padding: 7px 14px; border: 1px solid var(--linie); border-radius: 999px; background: var(--karte); font-size: 16px; }

/* ---- Postfach und Mail ---- */
.mail h1 { font-size: clamp(22px, 4vw, 28px); }
.mailkopf { display: grid; grid-template-columns: auto 1fr; gap: 2px 14px; margin: 14px 0; font-size: 16px; }
.mailkopf dt { color: var(--tinte-2); }
.mailkopf dd { margin: 0; overflow-wrap: anywhere; }
.mailtext { white-space: pre-wrap; overflow-wrap: anywhere; border-top: 1px solid var(--linie); padding-top: 14px; }

/* ---- Neue Anzeige ---- */
.vergleich { margin-top: 18px; text-align: center; }
.vn { display: flex; align-items: center; justify-content: center; gap: 12px; }
.ring-klein { width: 118px; height: 118px; margin: 0; }
.pfeil { font-size: 34px; color: var(--akzent); }
.kopierbar .leise { margin-top: 12px; }
.neu-titel { font-family: var(--serif); font-size: 25px; line-height: 1.25; margin-bottom: 4px; }
.kopierbar h3:first-child { margin-top: 0; }
.luecke { background: var(--gelb); color: var(--tinte); padding: 1px 4px; border-radius: 4px; }

.bildfolge { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.bildfolge li { display: grid; grid-template-columns: 120px 1fr; gap: 14px; align-items: center; padding: 10px; background: var(--karte); border: 1px solid var(--linie); border-radius: var(--r-klein); }
.bildfolge img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.bildfolge .zoom { border-radius: 8px; }
.bildfolge p { margin: 2px 0 0; font-size: 16px; color: var(--tinte-2); }
@media (max-width: 480px) { .bildfolge li { grid-template-columns: 88px 1fr; } }

.pflicht { margin-top: 44px; background: var(--petrol-hell); border-color: var(--petrol-rand); box-shadow: none; }
.pflicht, .pflicht .klein { color: var(--petrol); }
.pflicht ul { margin: 0 0 12px; padding-left: 20px; }

/* ---- Musterexposé (0.9.0): Bühne mit Titelbild, Zahlenleiste, Mosaik, Grundrisse, Ist und Soll ---- */
.blatt-breit { width: min(1080px, 100% - 40px); }
.expose { background: var(--karte); border: 1px solid var(--linie); border-radius: 24px; overflow: hidden; box-shadow: 0 2px 4px rgba(9, 61, 75, 0.05), 0 40px 70px -46px rgba(9, 61, 75, 0.55); }
.ex-buehne { position: relative; display: grid; color: #fff; background: var(--petrol); }
.ex-buehne > img { grid-area: 1 / 1; display: block; width: 100%; height: clamp(320px, 52vw, 560px); object-fit: cover; }
.ex-buehne::after { content: ""; grid-area: 1 / 1; background: linear-gradient(180deg, rgba(6, 30, 38, 0.05) 30%, rgba(6, 30, 38, 0.86) 100%); pointer-events: none; }
.ex-buehne-text { grid-area: 1 / 1; z-index: 1; align-self: end; padding: clamp(20px, 4vw, 40px); padding-right: clamp(20px, 30vw, 340px); }
.ex-marke { display: inline-block; margin: 0 0 12px; padding: 4px 12px; border-radius: 999px; background: var(--akzent); font-size: 13px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.ex-buehne h2 { margin: 0; color: #fff; font-size: clamp(28px, 4.4vw, 46px); line-height: 1.06; text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45); }
.ex-unterzeile { margin: 10px 0 0; font-size: clamp(16px, 1.8vw, 19px); color: #e2edf0; }
.ex-preisfeld { grid-area: 1 / 1; z-index: 1; align-self: end; justify-self: end; margin: clamp(20px, 4vw, 40px); padding: 14px 20px; border-radius: 16px; background: rgba(255, 253, 248, 0.96); color: var(--petrol); text-align: right; box-shadow: 0 18px 36px -18px rgba(0, 0, 0, 0.6); }
.ex-preis { margin: 0; font-family: var(--serif); font-size: clamp(22px, 2.6vw, 30px); font-weight: 600; line-height: 1.1; }
.ex-preis-zusatz { margin: 2px 0 0; font-size: 14.5px; color: var(--petrol-2); }
.ex-leiste { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin: 0; background: var(--linie); border-bottom: 1px solid var(--linie); }
.ex-leiste div { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center; background: var(--karte); padding: 16px 20px; }
.ex-leiste-sym { grid-row: span 2; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--petrol-hell); color: var(--petrol); }
.ex-leiste dt { font-size: 13px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--tinte-2); }
.ex-leiste dd { margin: 0; font-family: var(--serif); font-size: 22px; font-weight: 600; color: var(--petrol); line-height: 1.15; }
@media (min-width: 620px) { .ex-leiste { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 980px) { .ex-leiste { grid-template-columns: repeat(6, 1fr); } .ex-leiste div { padding: 18px 16px; } }
.ex-teil { padding: clamp(22px, 3.6vw, 40px); border-bottom: 1px solid var(--linie); }
.ex-teil:last-of-type { border-bottom: 0; }
.ex-teil h3 { margin: 0 0 12px; font-size: clamp(22px, 2.6vw, 28px); }
.ex-zwei { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(22px, 4vw, 48px); align-items: start; }
.ex-zwei > div > :last-child { margin-bottom: 0; }
.ex-mosaik { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 8px; margin: 14px 0 0; border-radius: var(--r); overflow: hidden; }
.ex-mosaik .zoom { border-radius: 0; height: 100%; }
.ex-mosaik img { display: block; width: 100%; height: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.ex-mosaik-gross { grid-row: span 2; }
.ex-mehr { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(9, 61, 75, 0.8); color: #fff; font-size: 17px; font-weight: 800; line-height: 1.3; text-align: center; }
.ex-rest { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.ex-rest img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.ex-rest .zoom { border-radius: 9px; }
.ex-punkt { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; margin: 18px 0 0; padding: 12px 14px; border-radius: var(--r-klein); background: var(--petrol-hell); border-left: 4px solid var(--akzent); color: var(--petrol); font-size: 15.5px; line-height: 1.45; }
.ex-teil > .ex-punkt:first-child { margin-top: 0; }
.ex-punkt-sym { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--petrol); color: #fff; }
.ex-punkt-sym .sym-bild { width: 18px; height: 18px; }
.ex-staerken { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ex-staerken li { display: grid; gap: 10px; padding: 16px; border-radius: var(--r-klein); background: var(--creme); border: 1px solid var(--linie); font-weight: 700; color: var(--petrol); line-height: 1.3; }
.ex-staerke-sym { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--akzent-hell); color: var(--akzent-dunkel); flex: none; }
.ex-zeit { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; position: relative; }
.ex-zeit::before { content: ""; position: absolute; left: 22px; right: 22px; top: 22px; border-top: 2px solid var(--petrol-rand); }
.ex-zeit li { position: relative; display: grid; gap: 2px; align-content: start; }
.ex-zeit-sym { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 8px; border-radius: 50%; background: var(--petrol); color: #fff; box-shadow: 0 0 0 5px var(--karte); }
.ex-jahr { font-family: var(--serif); font-size: 24px; font-weight: 600; color: var(--akzent-dunkel); line-height: 1.1; }
.ex-zeit-was { font-weight: 700; color: var(--petrol); line-height: 1.3; }
.ex-etagen { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 3vw, 32px); }
.ex-etage-kopf { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 10px; padding-bottom: 8px; border-bottom: 2px solid var(--petrol); color: var(--petrol); }
.ex-etage-kopf strong { font-family: var(--serif); font-size: 21px; font-weight: 600; }
.ex-plaene { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 12px; }
.ex-plaene img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; }
.ex-plaene .zoom { border: 1px solid var(--linie); background: var(--creme); }
.ex-etage .chips li { font-size: 14px; font-weight: 600; }
.ex-aussen { margin: 18px 0 0; }
.ex-istsoll { background: linear-gradient(180deg, var(--creme), var(--karte)); }
.ex-paare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.6vw, 28px); margin: 18px 0 16px; }
.ex-skala { list-style: none; margin: 4px 0 18px; padding: 26px 0 0; display: grid; grid-template-columns: repeat(9, 1fr); gap: 3px; }
.ex-skala li { position: relative; padding: 7px 0; text-align: center; font-size: 14px; font-weight: 800; color: #1c1c1c; }
.ex-skala li:first-child { border-radius: 8px 0 0 8px; }
.ex-skala li:last-child { border-radius: 0 8px 8px 0; }
.ek-0 { background: #4f9d4f; } .ek-1 { background: #72b04d; } .ek-2 { background: #a5c84b; } .ek-3 { background: #d9d84a; } .ek-4 { background: #f2c94a; }
.ek-5 { background: #f0a848; } .ek-6 { background: #e8873f; } .ek-7 { background: #e26a3c; } .ek-8 { background: #e05a47; }
.ex-skala li.hier { outline: 3px solid var(--petrol); outline-offset: 1px; border-radius: 6px; z-index: 1; }
.ex-skala li.hier::before { content: "Dieses Haus"; position: absolute; left: 50%; bottom: calc(100% + 9px); transform: translateX(-50%); padding: 2px 9px; border-radius: 999px; background: var(--petrol); color: #fff; font-size: 12px; white-space: nowrap; }
.ex-wege { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ex-wege li { display: flex; gap: 12px; align-items: center; font-size: 15.5px; line-height: 1.35; color: var(--tinte-2); }
.ex-wege strong { color: var(--petrol); }
.ex-termin { padding: 22px; border-radius: var(--r); background: var(--petrol); color: #e2edf0; }
.ex-termin h3 { color: #fff; margin-top: 14px; }
.ex-termin .klein { color: #b9d0d7; }
.ex-termin .ex-staerke-sym { background: var(--akzent); color: #fff; }
.ex-termin .ex-punkt { background: rgba(255, 255, 255, 0.1); color: #fff; }
.ex-termin .ex-punkt-sym { background: #fff; color: var(--petrol); }
.ex-sperre { padding: clamp(22px, 3.6vw, 40px); }
.ex-mosaik-vorschau { margin: 0 0 20px; filter: saturate(0.9); }
.ex-platz { margin: 12px 0 0; padding: 34px 16px; border: 1.5px dashed var(--rand-feld); border-radius: var(--r-klein); color: var(--tinte-2); text-align: center; }
@media (max-width: 860px) {
  .ex-zwei, .ex-etagen, .ex-paare { grid-template-columns: 1fr; }
  .ex-zeit { grid-template-columns: 1fr; gap: 14px; }
  .ex-zeit::before { left: 21px; right: auto; top: 22px; bottom: 22px; border-top: 0; border-left: 2px solid var(--petrol-rand); }
  .ex-zeit li { grid-template-columns: 44px auto 1fr; column-gap: 12px; align-items: center; }
  .ex-zeit-sym { margin-bottom: 0; grid-row: span 2; }
  .ex-zeit li .klein { grid-column: 2 / -1; }
  .ex-buehne-text { padding-right: clamp(20px, 4vw, 40px); padding-bottom: 96px; }
  .ex-preisfeld { justify-self: start; text-align: left; padding: 10px 16px; }
}
@media (max-width: 560px) {
  .ex-mosaik { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .ex-mosaik-gross { grid-column: span 2; grid-row: auto; }
  .ex-staerken, .ex-wege { grid-template-columns: 1fr; }
  .ex-staerken li { grid-template-columns: auto 1fr; align-items: center; }
}

/* ---- Hausdossier: Angebot, Stand, Prüfer ---- */
.annahmen { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 10px; }
.annahmen li { padding: 12px 16px; background: var(--karte); border: 1px solid var(--linie); border-radius: var(--r-klein); }
.annahmen p { margin: 6px 0 0; font-size: 16px; color: var(--tinte-2); }
.marke-annahme { display: inline-block; margin-left: 8px; padding: 1px 10px; border-radius: 999px; background: var(--gelb-hell); border: 1px solid #e6cf94; color: var(--gelb-tinte); font-size: 14px; font-weight: 700; white-space: nowrap; }
.lauf { margin-top: 14px; }
.lauf h3 { margin-top: 0; }
.protokoll { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 0; }
.protokoll li { display: grid; grid-template-columns: 1fr 200px; gap: 14px; align-items: start; padding: 12px 0; border-top: 1px solid var(--linie); }
.protokoll li.offen strong { color: var(--rot-tinte); }
.protokoll p { margin: 4px 0 0; font-size: 16px; }
.protokoll img { display: block; width: 200px; height: auto; max-height: 150px; object-fit: cover; object-position: top; border: 1px solid var(--linie); border-radius: 6px; }
.h { display: inline-block; padding: 1px 10px; border-radius: 999px; font-size: 14px; font-weight: 700; border: 1px solid var(--linie); white-space: nowrap; }
.h-anzeige, .h-foto { background: var(--petrol-hell); border-color: var(--petrol-rand); color: var(--petrol); }
.h-verkaeufer { background: #e3ecf5; border-color: #b4c8dd; color: #1f4266; }
.h-annahme { background: var(--gelb-hell); border-color: #e6cf94; color: var(--gelb-tinte); }
.h-leer { background: var(--bahn); color: var(--tinte-2); }
@media (max-width: 640px) {
  .protokoll li { grid-template-columns: 1fr; }
}

/* ---- Anmeldung, Freigabe, Makler ---- */
.konto-leiste { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 16px; margin: 14px 0 0; padding: 9px 16px; background: var(--bahn); border: 1px solid var(--linie); border-radius: var(--r-klein); font-size: 16px; }
.konto-leiste form { margin: 0; }
.werbelink { overflow-wrap: anywhere; font-family: var(--mono); font-size: 15.5px; }
#freigabe form { margin-top: 12px; }
.schmal { max-width: 460px; margin-inline: auto; }

/* Nüchterne Seiten (Prüfer, Makler, Postfach): gleiche Farben und Schriften, keine Zierde. */
.nuechtern h1 { font-size: clamp(26px, 3.4vw, 34px); }
.nuechtern h2 { font-size: 23px; margin-top: 36px; }
.nuechtern .held { padding: 22px 0 14px; }
.nuechtern .karte { border-radius: var(--r-klein); box-shadow: none; padding: 20px; }
.nuechtern .angebot, .nuechtern .frei { margin-top: 24px; }
.nuechtern .vorspann { font-size: 18px; }

/* ---- Version und Changelog ---- */
.version { margin-top: 18px; }
.version h2 { margin: 0 0 2px; font-size: 26px; }
.version-zeile { margin: 0 0 12px; color: var(--tinte-2); font-size: 16px; }
.version ul { margin: 0; padding-left: 20px; display: grid; gap: 8px; }
.version h3 { font-size: 18px; }
.version-jetzt { border: 2px solid var(--akzent); }
.textseite h2 { font-size: 24px; }
.textseite ul { padding-left: 20px; display: grid; gap: 6px; }

/* =========================== Startseite =========================== */
.start section { padding: clamp(52px, 7vw, 92px) 0; }
.start h2 { font-size: clamp(28px, 3.6vw, 42px); line-height: 1.1; margin: 0; }
.start h3 { margin: 0; }
.start .kopfteil { max-width: 720px; margin-bottom: 40px; }
.start .kopfteil.mittig { text-align: center; margin-inline: auto; }
.start .kopfteil p { margin: 12px 0 0; font-size: 19px; color: var(--tinte-2); }

.start .buehne { padding-top: clamp(36px, 5vw, 64px); }
.buehne .rahmen { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 56px; align-items: start; }
.buehne h1 { margin: 6px 0 18px; font-size: clamp(31px, 4.1vw, 50px); line-height: 1.07; }
.buehne h1 span { display: block; color: var(--akzent); }
.buehne .vorspann { max-width: 30em; margin-top: 0; }
.buehne .ehrlich { margin-top: 12px; }
.formkarte { margin-top: 26px; }

.album { position: relative; aspect-ratio: 1 / 1; max-width: 560px; margin: 26px 0 0 auto; }
.pol { position: absolute; margin: 0; background: #fff; padding: 12px 12px 54px; box-shadow: 0 22px 44px -22px rgba(58, 42, 32, 0.55); border-radius: 4px; }
.pol img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.pol figcaption { position: absolute; left: 16px; bottom: 12px; font-family: var(--hand); font-size: 26px; font-weight: 600; line-height: 1.1; }
.pol.p1 { width: 62%; left: 0; top: 8%; transform: rotate(-5deg); }
.pol.p1 figcaption { color: var(--tinte-2); }
.pol.p2 { width: 66%; right: 0; top: 32%; transform: rotate(3.5deg); z-index: 2; }
.pol.p2 figcaption { color: var(--salbei-tinte); }
.album-notiz { position: absolute; right: 5%; top: 0; z-index: 3; font-family: var(--hand); font-weight: 600; font-size: 28px; line-height: 1; color: var(--akzent); transform: rotate(-4deg); }
.album-notiz svg { display: block; width: 80px; height: 50px; margin: 4px 0 0 34px; }
.album-hinweis { margin: 0; font-size: 15px; color: var(--tinte-2); text-align: right; }

.gedanken { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.gedanke { position: relative; background: var(--karte); border: 1px solid var(--linie); border-radius: 22px; padding: 24px 24px 22px; }
.gedanke::after { content: ""; position: absolute; left: 34px; bottom: -11px; width: 20px; height: 20px; background: var(--karte); border-right: 1px solid var(--linie); border-bottom: 1px solid var(--linie); transform: rotate(45deg); }
.gedanke q { display: block; font-family: var(--serif); font-weight: 600; font-size: 21px; line-height: 1.35; quotes: "„" "“"; color: var(--petrol); }
.gedanke p { margin: 12px 0 0; color: var(--tinte-2); font-size: 16.5px; }

.zweimal { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.inserat { background: var(--karte); border: 1px solid var(--linie); border-radius: var(--r); overflow: hidden; }
.inserat.nachher { border-color: transparent; box-shadow: 0 0 0 2px var(--petrol), 0 26px 50px -30px rgba(9, 61, 75, 0.5); }
.inserat-kopf { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 16px 22px; border-bottom: 1px solid var(--linie); font-weight: 700; }
.inserat-inhalt { display: grid; grid-template-columns: 132px 1fr; gap: 18px; padding: 20px 22px 22px; align-items: start; }
.inserat-inhalt img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; }
.inserat h3 { font-family: var(--sans); font-weight: 700; font-size: 19px; line-height: 1.3; margin-bottom: 8px; }
.inserat p { margin: 0; color: var(--tinte-2); font-size: 16.5px; }
.beispiel-hinweis { margin: 22px 0 0; font-size: 15.5px; color: var(--tinte-2); }

.start .ablauf { background: var(--karte); border-block: 1px solid var(--linie); }
.weg { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.weg::before { content: ""; position: absolute; left: 8%; right: 8%; top: 34px; border-top: 2px dashed var(--rand-feld); opacity: 0.55; }
.halt { position: relative; text-align: center; padding: 0 6px; }
.halt-nr { width: 68px; height: 68px; margin: 0 auto 18px; border-radius: 50%; background: var(--creme); border: 2px solid var(--akzent); display: grid; place-items: center; font-family: var(--serif); font-weight: 600; font-size: 28px; color: var(--akzent); }
.halt.bezahlt .halt-nr { background: var(--akzent); color: #fff; }
.halt p { margin: 8px 0 0; color: var(--tinte-2); font-size: 16.5px; }
.bereiche-zeile { margin-top: 44px; text-align: center; }
.bereiche-zeile p { margin: 0 0 14px; font-weight: 700; }
.bereiche-zeile .marken { justify-content: center; }
.bereiche-zeile .marken li { background: var(--creme); }

.versprechen { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.versprechen div { background: var(--petrol-hell); border-radius: var(--r); padding: 22px; }
.versprechen h3 { font-size: 19px; margin-bottom: 6px; color: var(--petrol); }
.versprechen p { margin: 0; color: var(--petrol); font-size: 16.5px; }
.versprechen .sym { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 14px; border-radius: 12px; background: var(--petrol); color: #fff; }

.preise { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: stretch; }
.preis { display: flex; flex-direction: column; background: var(--karte); border: 1px solid var(--linie); border-radius: var(--r); padding: 28px; }
.preis.betont { border: 2px solid var(--akzent); }
.preis-name { font-weight: 700; font-size: 18px; }
.betrag { font-family: var(--serif); font-weight: 600; font-size: 50px; line-height: 1; margin: 12px 0 6px; color: var(--petrol); }
.preis-zusatz { font-size: 15.5px; color: var(--tinte-2); margin: 0; }
.preis ul { margin: 18px 0 22px; padding-left: 20px; color: var(--tinte-2); flex: 1; }
.preis li { margin: 6px 0; }
.preis .knopf { margin-top: 0; font-size: 17px; }
.preise-hinweis { margin: 20px 0 0; font-size: 15.5px; color: var(--tinte-2); }

.fragen-teil { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 48px; }
.faq details { border-bottom: 1px solid var(--linie); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 40px 18px 0; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 9px; height: 9px; margin-top: -7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform 240ms var(--weich); }
.faq details[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.faq details p { margin: 0; padding: 0 0 18px; color: var(--tinte-2); }

.schluss { background: var(--petrol); color: #fff; border-radius: 28px; padding: clamp(30px, 5vw, 56px); display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); gap: 32px; align-items: center; }
.schluss .hand { color: #ffd9c2; }
.schluss h2 { margin-top: 6px; color: #fff; }
.schluss p { margin: 12px 0 0; }
.schluss .knopf { margin-top: 0; background: var(--akzent); color: #fff; box-shadow: 0 14px 28px -14px rgba(0, 0, 0, 0.55); }
.schluss .knopf:hover { background: #fff; color: var(--petrol); }
.schluss :focus-visible { outline-color: #fff; }

@media (max-width: 980px) {
  .kopf-nav { display: none; }
  .buehne .rahmen, .zweimal, .fragen-teil, .schluss { grid-template-columns: 1fr; }
  .buehne .rahmen { gap: 32px; }
  .album { margin-left: 0; }
  .gedanken, .weg { grid-template-columns: 1fr; }
  .weg { gap: 28px; }
  .weg::before { display: none; }
  .versprechen { grid-template-columns: repeat(2, 1fr); }
  .preise { grid-template-columns: 1fr; max-width: 520px; }
}
@media (max-width: 620px) {
  body { font-size: 17px; }
  .kopf .knopf { display: none; }
  .kopf-zusatz { display: none; }
  .karte { padding: 20px 18px; }
  .pol { padding: 10px 10px 46px; }
  .pol.p1 { width: 56%; }
  .pol.p2 { width: 61%; }
  .pol figcaption { font-size: 21px; left: 12px; bottom: 10px; }
  .album-notiz { font-size: 22px; }
  .album-notiz svg { width: 56px; height: 36px; }
  .versprechen { grid-template-columns: 1fr; }
  .inserat-inhalt { grid-template-columns: 96px 1fr; gap: 14px; padding: 16px 18px 18px; }
  .hebel-karte { padding: 18px 16px; }
  .hebel-kopf { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
  .warte-kreis { animation: none; }
  /* Der laufende Schritt bleibt erkennbar: Der Ring steht still, statt zu pulsieren. */
  .ist-laeuft .lauf-kreis::after { animation: none; opacity: 0.45; }
  .lauf-balken::-webkit-progress-value { transition: none; }
}

/* Bildwerkstatt des Prüfers (0.8.0, ADR 0010): Original und KI-Fassung nebeneinander, Galerie, Vorlagen. */
.lauf-wartet { margin: 0 0 18px; padding: 12px 16px; border-radius: var(--r-klein); background: var(--petrol-hell); border: 1px solid var(--petrol-rand); color: var(--petrol); font-weight: 600; }
.bw-zahlen { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin: 12px 0; }
.bw-zahlen div { padding: 12px 14px; border: 1px solid var(--linie); border-radius: var(--r-klein); background: var(--creme); }
.bw-zahlen dt { font-size: 14px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--tinte-2); }
.bw-zahlen dd { margin: 2px 0 0; font-family: var(--serif); font-size: 22px; font-weight: 600; font-variant-numeric: tabular-nums; }
.bw-foto { margin-top: 18px; }
.bw-paar { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 420px)); gap: 16px; margin: 14px 0 6px; align-items: start; }
.bw-bild { margin: 0; min-width: 0; }
.bw-rahmen { position: relative; border-radius: 8px; overflow: hidden; border: 1px solid var(--linie); background: var(--bahn); }
.bw-rahmen img { display: block; width: 100%; height: auto; }
.bw-vermerk { position: absolute; left: 8px; bottom: 8px; padding: 3px 10px; border-radius: 999px; background: rgba(30, 22, 17, 0.84); color: #fff; font-size: 13px; font-weight: 700; }
.bw-bild figcaption { margin-top: 8px; font-size: 15px; color: var(--tinte-2); }
.bw-bild figcaption strong { color: var(--tinte); }
.bw-angenommen .bw-rahmen { border: 2px solid var(--salbei); }
.bw-verworfen .bw-rahmen img { opacity: 0.45; }
.bw-knoepfe { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 10px; }
.bw-knopf { margin: 0; width: auto; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--rand-feld); background: var(--karte); color: var(--tinte); font-size: 15px; font-weight: 700; }
.bw-knopf:hover:not(:disabled) { border-color: var(--akzent); background: var(--akzent-hell); }
.bw-knopf:disabled { color: var(--tinte-2); border-color: var(--linie); background: transparent; cursor: default; }
.bw-ja { background: var(--salbei); border-color: var(--salbei); color: #fff; }
.bw-ja:hover:not(:disabled) { background: var(--salbei-tinte); border-color: var(--salbei-tinte); }
.bw-anweisung { white-space: pre-line; margin: 10px 0 6px; font-size: 15px; }
.bw-eignung-aufwerten { background: var(--salbei-hell); color: var(--salbei-tinte); border-color: #bcd0c0; }
.bw-eignung-ungeeignet { background: var(--rot-hell); color: var(--rot-tinte); border-color: #e3aaa6; }
.bw-galerie { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.bw-galerie li { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 16px; align-items: center; margin: 0; padding: 12px; }
.bw-galerie img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 6px; display: block; }
.bw-galerie-name { margin: 0; }
.bw-galerie .klein { margin: 2px 0 0; }
.bw-titel { margin-left: 8px; }
.bw-raus { margin-top: 12px; }
.bw-raus .bw-knoepfe { margin-top: 6px; }
.bw-anleitung { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 4px 14px; margin: 12px 0 0; font-size: 16px; }
.bw-anleitung dt { font-weight: 700; color: var(--tinte-2); }
.bw-anleitung dd { margin: 0; }
.bw-hand summary { cursor: pointer; font-weight: 700; color: var(--petrol); }
.bw-hand .formular { margin-top: 14px; }
#abschluss form button + button { margin-top: 10px; }
@media (max-width: 560px) {
  .bw-galerie li { grid-template-columns: 96px minmax(0, 1fr); gap: 12px; }
  .bw-anleitung { grid-template-columns: 1fr; gap: 0; }
  .bw-anleitung dt { margin-top: 8px; }
}

/* ============ Belege, Aufwand, Symbole (0.9.0) ============ */
/* Statt langer Streifen: je Art eine Zeile mit kleinem Titel, die Funde als kurze Marken daneben. */
.sym-bild { display: block; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.belege { display: grid; gap: 10px; margin: 14px 0 0; padding-top: 14px; border-top: 1px solid var(--linie); }
.beleg-reihe { display: grid; grid-template-columns: 158px minmax(0, 1fr); gap: 6px 14px; align-items: start; }
.beleg-art { display: inline-flex; align-items: center; gap: 7px; padding-top: 5px; font-size: 14px; font-weight: 800; letter-spacing: 0.03em; color: var(--petrol-2); }
.beleg-art .sym-bild { flex: none; width: 18px; height: 18px; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.chips li { padding: 4px 12px; border-radius: 999px; border: 1px solid var(--petrol-rand); background: var(--petrol-hell); color: var(--petrol); font-size: 15px; font-weight: 600; line-height: 1.35; }
.chips-fehlt li { border-color: #e9c3b2; background: #fbece4; color: #7a3317; }
.zitate { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.zitate li { padding: 7px 12px; border-radius: 10px; background: var(--bahn); font-size: 15.5px; font-style: italic; color: var(--tinte); }
.beleg-bilder { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.beleg-bilder li { width: 96px; font-size: 13.5px; color: var(--tinte-2); text-align: center; }
.beleg-bilder img { display: block; width: 96px; height: 72px; object-fit: cover; }
.beleg-bilder .zoom { border-radius: 9px; margin-bottom: 3px; }
.aufwand { display: inline-flex; align-items: center; gap: 9px; margin: 14px 0 0; padding: 5px 13px 5px 11px; border-radius: 999px; background: var(--creme); border: 1px solid var(--linie); font-size: 14.5px; font-weight: 700; color: var(--tinte-2); }
.aufwand-punkte { display: inline-flex; gap: 3px; }
.aufwand-punkte i { width: 9px; height: 9px; border-radius: 50%; background: var(--linie); }
.aufwand-1 .aufwand-punkte i:nth-child(-n + 1), .aufwand-2 .aufwand-punkte i:nth-child(-n + 2), .aufwand-3 .aufwand-punkte i { background: var(--akzent); }
@media (max-width: 620px) {
  .beleg-reihe { grid-template-columns: 1fr; gap: 4px; }
  .beleg-art { padding-top: 0; }
}

/* ---- Kleine Bilder zum Vergrößern ---- */
.zoom { position: relative; display: block; overflow: hidden; border-radius: var(--r-klein); line-height: 0; cursor: zoom-in; background: var(--bahn); }
.zoom img { transition: transform 420ms var(--weich); }
.zoom:hover img, .zoom:focus-visible img { transform: scale(1.04); }
.zoom-lupe { position: absolute; right: 7px; bottom: 7px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: rgba(9, 61, 75, 0.82); color: #fff; opacity: 0; transform: translateY(4px); transition: opacity 200ms ease, transform 200ms var(--weich); }
.zoom-lupe .sym-bild { width: 17px; height: 17px; }
.zoom:hover .zoom-lupe, .zoom:focus-visible .zoom-lupe { opacity: 1; transform: none; }
@media (hover: none) { .zoom-lupe { opacity: 1; transform: none; } }

.lichtkasten { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0; padding: 0; border: 0; background: rgba(6, 30, 38, 0.94); color: #fff; overflow: hidden; }
.lichtkasten::backdrop { background: rgba(6, 30, 38, 0.6); }
.lichtkasten[open] { display: grid; grid-template-columns: 64px minmax(0, 1fr) 64px; grid-template-rows: minmax(0, 1fr); align-items: center; }
.lk-bild { grid-column: 2; margin: 0; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 56px 0 22px; min-height: 0; }
.lk-bild img { display: block; max-width: 100%; max-height: calc(100dvh - 130px); width: auto; height: auto; object-fit: contain; border-radius: 6px; background: #0d2a33; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8); }
.lk-bild figcaption { font-size: 16px; text-align: center; color: #e2edf0; }
.lk-zaehler { margin-left: 10px; color: #a9c3cb; font-variant-numeric: tabular-nums; }
.lk-knopf { display: grid; place-items: center; width: 46px; height: 46px; margin: 0 auto; padding: 0; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.35); background: rgba(255, 255, 255, 0.08); color: #fff; font-size: 26px; line-height: 1; }
.lk-knopf:hover { background: var(--akzent); border-color: var(--akzent); }
.lk-knopf[hidden] { display: none; }
.lk-zu { position: absolute; top: 12px; right: 14px; z-index: 2; }
.lichtkasten :focus-visible { outline-color: #fff; }
@media (max-width: 620px) {
  .lichtkasten[open] { grid-template-columns: minmax(0, 1fr); }
  .lk-bild { grid-column: 1; padding-inline: 10px; }
  .lk-vor, .lk-weiter { position: absolute; bottom: 14px; }
  .lk-vor { left: 14px; }
  .lk-weiter { right: 14px; }
  .lk-bild { padding-bottom: 76px; }
}

/* ---- Vorher und nachher mit Schieber (ohne JavaScript: zwei Bilder nebeneinander) ---- */
.vergleich-bild { margin: 0; }
.vg-flaeche { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; border-radius: var(--r-klein); overflow: hidden; }
.vg-flaeche img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.vg-schild { position: absolute; top: 10px; z-index: 2; padding: 4px 11px; border-radius: 999px; font-size: 13px; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; }
.vg-schild-ist { left: 10px; background: rgba(255, 253, 248, 0.92); color: var(--petrol); }
.vg-schild-soll { right: 10px; background: var(--akzent); color: #fff; }
.vg-regler { display: none; }
.vg-an .vg-flaeche { display: block; --teil: 50%; touch-action: pan-y; }
.vg-an .vg-soll { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--teil)); }
.vg-an .vg-soll img { height: 100%; }
.vg-an .vg-griff { position: absolute; top: 0; bottom: 0; left: var(--teil); width: 3px; margin-left: -1.5px; background: #fff; box-shadow: 0 0 0 1px rgba(9, 61, 75, 0.25); z-index: 2; pointer-events: none; }
.vg-an .vg-griff::after { content: ""; position: absolute; top: 50%; left: 50%; width: 42px; height: 42px; margin: -21px 0 0 -21px; border-radius: 50%; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 7l-5 5 5 5M15 7l5 5-5 5' fill='none' stroke='%23093d4b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 24px no-repeat; box-shadow: 0 6px 16px -6px rgba(0, 0, 0, 0.6); }
.vg-an .vg-regler { display: block; position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; margin: 0; padding: 0; opacity: 0; cursor: ew-resize; min-height: 0; border: 0; }
.vg-an .vg-regler:focus-visible + .vg-griff::after { outline: 3px solid var(--akzent); outline-offset: 3px; }
.vergleich-bild figcaption { margin-top: 10px; font-size: 15.5px; color: var(--tinte-2); }
.vergleich-bild figcaption strong { color: var(--petrol); }

/* ---- Bildwerkstatt 0.9.0: Ist und Soll ---- */
.bw-erklaerung { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 12px 0 0; }
.bw-erklaerung div { display: grid; gap: 8px; align-content: start; padding: 14px; border-radius: var(--r-klein); background: var(--creme); border: 1px solid var(--linie); }
.bw-erklaerung dd { margin: 0; font-size: 16px; }
.bw-marke { display: inline-block; padding: 3px 12px; border-radius: 999px; font-size: 13px; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase; }
.bw-marke-ist { background: var(--petrol); color: #fff; }
.bw-marke-soll { background: var(--akzent); color: #fff; }
.bw-zeile { margin: 16px 0 0; }
.bw-zeile + .bw-paar { margin-top: 8px; }
.bw-aufhellen { width: auto; }
.bw-vermerk-soll { background: var(--akzent); }
.bw-rahmen .zoom { border-radius: 0; }
.bw-galerie .zoom { border-radius: 6px; }
.zitate li { width: fit-content; max-width: 100%; }
@media (max-width: 620px) { .bw-erklaerung { grid-template-columns: 1fr; } }

/* ---- Startseite 0.9.0: Fotokarten als leicht gedrehte Polaroids mit Handschrift (Regeln oben bei .pol), Symbole an Bereichen ---- */
.pol .zoom { border-radius: 2px; }
.pol { box-shadow: 0 2px 4px rgba(9, 61, 75, 0.08), 0 26px 48px -24px rgba(9, 61, 75, 0.55); }
.marken li { display: inline-flex; align-items: center; gap: 8px; }
.marken li .sym-bild { flex: none; width: 18px; height: 18px; color: var(--akzent-dunkel); }
.buehne h1 span { color: var(--akzent); }
.halt-nr { color: var(--petrol); border-color: var(--petrol); }
.halt.bezahlt .halt-nr { background: var(--petrol); color: #fff; }
.preis.betont { border-color: var(--petrol); box-shadow: 0 30px 54px -34px rgba(9, 61, 75, 0.6); }
.inserat-inhalt .zoom { border-radius: 8px; }
.gedanke { border-radius: var(--r); }
.protokoll .zoom { border-radius: 6px; width: 200px; }

/* ---- Startseite 0.10.2: Vorschau des Musterexposés unter den Polaroids (AK51). Ein Blatt Papier, leicht gedreht, ganz anklickbar. ---- */
.ex-vorschau { position: relative; display: block; max-width: 420px; margin: 46px 6px 0 auto; padding-top: 34px; text-align: center; text-decoration: none; color: inherit; }
.ex-vorschau-notiz { position: absolute; left: -4%; top: 0; z-index: 2; font-family: var(--hand); font-weight: 600; font-size: 27px; line-height: 1; color: var(--akzent); transform: rotate(-4deg); }
.ex-vorschau-blatt { display: block; padding: 10px; background: #fff; border-radius: 4px; transform: rotate(1.6deg); box-shadow: 0 2px 4px rgba(9, 61, 75, 0.08), 0 26px 48px -24px rgba(9, 61, 75, 0.55); transition: transform 0.18s ease, box-shadow 0.18s ease; }
.ex-vorschau-blatt img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; object-position: top; border-radius: 2px; }
.ex-vorschau-knopf { display: inline-block; margin-top: 22px; padding: 12px 24px; border-radius: 999px; background: var(--petrol); color: #fff; font-weight: 700; font-size: 17px; }
.ex-vorschau-hinweis { display: block; margin-top: 10px; font-size: 15px; color: var(--tinte-2); }
.ex-vorschau:hover .ex-vorschau-blatt, .ex-vorschau:focus-visible .ex-vorschau-blatt { transform: rotate(0deg) translateY(-4px); box-shadow: 0 2px 4px rgba(9, 61, 75, 0.1), 0 34px 56px -24px rgba(9, 61, 75, 0.6); }
.ex-vorschau:hover .ex-vorschau-knopf, .ex-vorschau:focus-visible .ex-vorschau-knopf { background: var(--akzent); }
.ex-vorschau:focus-visible { outline: 3px solid var(--petrol); outline-offset: 8px; border-radius: 6px; }
@media (max-width: 980px) { .ex-vorschau { margin: 40px auto 0; } }
@media (prefers-reduced-motion: reduce) { .ex-vorschau-blatt { transition: none; } }
