@font-face { font-family: Barlow; font-weight: 400; font-display: swap; src: url(schrift/barlow-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: Barlow; font-weight: 500; font-display: swap; src: url(schrift/barlow-latin-500-normal.woff2) format('woff2'); }
@font-face { font-family: Barlow; font-weight: 600; font-display: swap; src: url(schrift/barlow-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-weight: 600; font-display: swap; src: url(schrift/barlow-condensed-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-weight: 700; font-display: swap; src: url(schrift/barlow-condensed-latin-700-normal.woff2) format('woff2'); }

:root {
  --blaumann: #1b2e6b;
  --blaumann-tief: #121f4d;
  --blaumann-hell: #dfe5f5;
  --weste: #efe200;
  --reflex: #c9ced6;
  --kreide: #eef0f4;
  --papier: #ffffff;
  --tinte: #171b26;
  --stumm: #5a6272;
  --linie: #d5d9e2;
  --gruen: #15784c;
  --gruen-hell: #dcf0e6;
  --ampel: #a86a00;
  --ampel-hell: #fbeecd;
  --rot: #b6281e;
  --rot-hell: #fae1de;
  --oben: env(safe-area-inset-top, 0px);
  --unten: env(safe-area-inset-bottom, 0px);
  --griff: 56px;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; }
body { background: var(--kreide); color: var(--tinte); font: 400 17px/1.45 Barlow, -apple-system, 'Segoe UI', Roboto, sans-serif; -webkit-text-size-adjust: 100%; overscroll-behavior-y: none; }
h1, h2, h3, p { margin: 0; }
button, input, textarea, select { font: inherit; color: inherit; }
a { color: var(--blaumann); }
:focus-visible { outline: 3px solid var(--blaumann); outline-offset: 2px; }
img, video { display: block; max-width: 100%; }

.rahmen { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; max-width: 620px; margin: 0 auto; background: var(--kreide); }

/* Hält den Bereich der Statusleiste beim Scrollen dicht */
.status-grund { position: fixed; top: 0; left: 0; right: 0; height: var(--oben); background: var(--tinte); z-index: 9; }
.testband { background: var(--tinte); color: #fff; font-size: 13px; line-height: 1.2; padding: calc(var(--oben) + 5px) 16px 5px; text-align: center; }

/* Der Kopf zeigt die Rolle: Käufer im Blaumann, Prüfer in der Warnweste */
.kopf { background: var(--blaumann); color: #fff; padding: 12px 16px 14px; position: relative; display: flex; align-items: center; gap: 10px; min-height: 58px; }
.kopf h1 { font: 700 27px/1.05 'Barlow Condensed', sans-serif; letter-spacing: .1px; flex: 1; min-width: 0; overflow-wrap: anywhere; }
.kopf .zurueck { background: none; border: 0; padding: 6px 10px 6px 0; margin: -6px 0; color: inherit; font-weight: 600; min-height: 44px; display: flex; align-items: center; }
.kopf .zurueck svg { width: 22px; height: 22px; }
.rolle-pruefer .kopf { background: var(--weste); color: var(--tinte); padding-bottom: 24px; }
.rolle-pruefer .kopf::after { content: ''; position: absolute; left: 0; right: 0; bottom: 6px; height: 7px; background: var(--reflex); border-top: 1px solid #fff; border-bottom: 1px solid #fff; }

.inhalt { flex: 1; padding: 16px 16px 24px; display: flex; flex-direction: column; gap: 16px; }
.mit-tabs .inhalt { padding-bottom: calc(92px + var(--unten)); }

.tabs { position: fixed; left: 0; right: 0; bottom: 0; z-index: 5; background: var(--papier); border-top: 1px solid var(--linie); display: flex; justify-content: center; padding-bottom: var(--unten); }
.tabs a { flex: 1; max-width: 155px; min-height: 60px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; color: var(--stumm); text-decoration: none; font-size: 13px; font-weight: 500; position: relative; }
.tabs a[aria-current='page'] { color: var(--blaumann); font-weight: 600; }
.tabs svg { width: 24px; height: 24px; }
.tabs .punkt { position: absolute; top: 7px; left: calc(50% + 8px); width: 9px; height: 9px; border-radius: 50%; background: var(--rot); }

.knopf { display: flex; align-items: center; justify-content: center; width: 100%; min-height: var(--griff); border: 0; border-radius: 10px; background: var(--blaumann); color: #fff; font-weight: 600; font-size: 18px; padding: 10px 16px; text-decoration: none; text-align: center; }
.knopf:active { background: var(--blaumann-tief); }
.knopf[disabled] { background: var(--linie); color: var(--stumm); }
.knopf.leise { background: var(--papier); color: var(--blaumann); box-shadow: inset 0 0 0 2px var(--blaumann); }
.knopf.warn { background: var(--papier); color: var(--rot); box-shadow: inset 0 0 0 2px var(--rot); }
.textknopf { background: none; border: 0; color: var(--blaumann); font-weight: 600; padding: 10px 0; min-height: 44px; text-align: left; text-decoration: underline; text-underline-offset: 3px; }
.zeile-knoepfe { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.titel { font: 700 31px/1.08 'Barlow Condensed', sans-serif; }
.untertitel { font: 700 22px/1.15 'Barlow Condensed', sans-serif; }
.leise-text { color: var(--stumm); font-size: 15px; }
.klein { font-size: 14px; color: var(--stumm); }

.flaeche { background: var(--papier); border-radius: 12px; padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; }
.gruppe { display: flex; flex-direction: column; gap: 8px; }

.feld { display: flex; flex-direction: column; gap: 5px; }
.feld > span { font-weight: 600; font-size: 15px; }
.feld small { color: var(--stumm); font-size: 14px; }
.feld input, .feld textarea, .feld select { display: block; width: 100%; min-width: 0; max-width: 100%; -webkit-appearance: none; appearance: none; min-height: 50px; border: 1.5px solid var(--linie); border-radius: 9px; background: var(--papier); padding: 11px 12px; font-size: 17px; }
.feld textarea { min-height: 96px; resize: vertical; }
.feld input:focus, .feld textarea:focus { border-color: var(--blaumann); outline: 0; box-shadow: 0 0 0 2px var(--blaumann-hell); }
.haken { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; padding: 6px 0; }
.haken input { width: 26px; height: 26px; flex: none; accent-color: var(--blaumann); margin: 0; }
.fehler { background: var(--rot-hell); color: var(--rot); border-radius: 9px; padding: 11px 13px; font-weight: 500; font-size: 15.5px; }
.hinweis { background: var(--blaumann-hell); color: var(--blaumann-tief); border-radius: 9px; padding: 11px 13px; font-size: 15.5px; }
.hinweis.muster, .marke-muster { background: var(--ampel-hell); color: #6b4300; }

.wahl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.wahl button { background: var(--papier); border: 2px solid var(--linie); border-radius: 12px; padding: 12px 4px 9px; display: flex; flex-direction: column; gap: 4px; align-items: center; font-weight: 600; font-size: 15px; line-height: 1.15; }
.wahl button svg { width: 42px; height: 42px; color: var(--stumm); }
.wahl button[aria-pressed='true'] { border-color: var(--blaumann); background: var(--blaumann-hell); }
.wahl button[aria-pressed='true'] svg { color: var(--blaumann); }

/* Die Plakette: Fortschritt als runde Prüfmarke */
.plakette-feld { display: flex; align-items: center; gap: 16px; background: var(--papier); border-radius: 12px; padding: 14px 16px; }
.plakette { width: 112px; height: 112px; flex: none; }
.plakette .grund { fill: var(--blaumann-hell); }
.plakette .an { fill: var(--blaumann); }
.plakette .jetzt { fill: var(--weste); stroke: var(--blaumann); stroke-width: 1.5; }
.plakette .aus { fill: var(--kreide); }
.plakette text { font: 700 16px 'Barlow Condensed', sans-serif; fill: var(--blaumann); text-anchor: middle; dominant-baseline: central; }
.plakette .zahl { font-size: 26px; }
.plakette.ende .an { fill: var(--stumm); }
.plakette.ende text { fill: var(--stumm); }
.plakette.mini { width: 48px; height: 48px; }
.status-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.status-text strong { font: 700 24px/1.08 'Barlow Condensed', sans-serif; }

.karte { background: var(--papier); border: 0; border-radius: 12px; padding: 12px 14px; display: flex; gap: 12px; align-items: center; color: inherit; text-decoration: none; text-align: left; width: 100%; }
.karte .mitte { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.karte strong { font-weight: 600; overflow-wrap: anywhere; }
.karte .preis { font: 700 22px 'Barlow Condensed', sans-serif; white-space: nowrap; }

.pruefer-wahl { background: var(--papier); border: 2px solid transparent; border-radius: 12px; padding: 13px 14px; display: flex; flex-direction: column; gap: 6px; text-align: left; width: 100%; }
.pruefer-wahl[aria-pressed='true'] { border-color: var(--blaumann); }
.pruefer-wahl .reihe { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.pruefer-wahl .name { font-weight: 600; font-size: 18px; }
.pruefer-wahl .preis { font: 700 24px 'Barlow Condensed', sans-serif; }
.marken { display: flex; flex-wrap: wrap; gap: 5px; }
.marke { background: var(--kreide); border-radius: 6px; padding: 2px 8px; font-size: 13.5px; font-weight: 500; }
.marke.gut { background: var(--gruen-hell); color: var(--gruen); }

.daten { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 5px 12px; font-size: 15.5px; }
.daten dt { color: var(--stumm); }
.daten dd { margin: 0; overflow-wrap: anywhere; font-weight: 500; }

.rechnung { display: flex; flex-direction: column; gap: 6px; font-size: 16px; }
.rechnung div { display: flex; justify-content: space-between; gap: 12px; }
.rechnung .summe { border-top: 1.5px solid var(--tinte); padding-top: 8px; font-weight: 600; font-size: 19px; }

.chat { flex: 1; display: flex; flex-direction: column; gap: 7px; padding-bottom: 8px; }
.blase { max-width: 84%; padding: 9px 12px; border-radius: 12px; background: var(--papier); align-self: flex-start; overflow-wrap: anywhere; white-space: pre-wrap; }
.blase.eigen { align-self: flex-end; background: var(--blaumann); color: #fff; }
.blase.weg { font-style: italic; color: var(--stumm); }
.chat-eingabe { position: sticky; bottom: 0; background: var(--kreide); padding: 8px 0 calc(8px + var(--unten)); display: flex; gap: 8px; }
.chat-eingabe input { flex: 1; min-height: 50px; border: 1.5px solid var(--linie); border-radius: 9px; padding: 0 12px; background: var(--papier); min-width: 0; }
.chat-eingabe .knopf { width: auto; min-height: 50px; padding: 0 16px; }

.schritte { background: var(--papier); padding: 10px 16px 12px; display: flex; flex-direction: column; gap: 6px; position: sticky; top: var(--oben); z-index: 3; }
.schritte .balken { height: 8px; background: var(--kreide); border-radius: 4px; overflow: hidden; }
.schritte .balken i { display: block; height: 100%; background: var(--blaumann); }
.fuss-knoepfe { position: sticky; bottom: 0; background: var(--kreide); padding: 10px 0 calc(10px + var(--unten)); display: grid; grid-template-columns: 1fr 2fr; gap: 10px; }

.punkt-frage { background: var(--papier); border-radius: 12px; padding: 12px 14px; display: flex; flex-direction: column; gap: 9px; }
.punkt-frage p { font-weight: 500; }
.dreier { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px; }
.dreier button { min-height: 50px; border-radius: 9px; border: 1.5px solid var(--linie); background: var(--papier); font-size: 15px; font-weight: 600; padding: 4px 2px; line-height: 1.12; }
.dreier button[aria-pressed='true'].ok { background: var(--gruen); border-color: var(--gruen); color: #fff; }
.dreier button[aria-pressed='true'].auffaellig { background: var(--rot); border-color: var(--rot); color: #fff; }
.dreier button[aria-pressed='true'].offen { background: var(--stumm); border-color: var(--stumm); color: #fff; }

.slot { background: var(--papier); border-radius: 12px; padding: 11px; display: grid; grid-template-columns: 86px 1fr; gap: 12px; align-items: center; position: relative; }
.slot .bild { width: 86px; height: 86px; border-radius: 9px; background: var(--kreide); display: flex; align-items: center; justify-content: center; overflow: hidden; color: var(--stumm); }
.slot .bild img, .slot .bild video { width: 100%; height: 100%; object-fit: cover; }
.slot .bild svg { width: 34px; height: 34px; }
.slot strong { font-weight: 600; display: block; }
.slot.fertig .bild { background: var(--gruen-hell); color: var(--gruen); }
.slot input[type='file'] { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; }
.slot .laedt { color: var(--blaumann); font-weight: 600; font-size: 14px; }

.tagescode { background: var(--tinte); color: var(--weste); border-radius: 12px; padding: 12px; text-align: center; }
.tagescode b { display: block; font: 700 58px/1 'Barlow Condensed', sans-serif; letter-spacing: 8px; }
.tagescode span { color: #fff; font-size: 15px; }

.fazit-wahl { display: flex; flex-direction: column; gap: 7px; }
.fazit-wahl button { border: 2px solid var(--linie); background: var(--papier); padding: 13px 14px; border-radius: 12px; font-weight: 600; text-align: left; }
.fazit-wahl button[aria-pressed='true'].gruen { background: var(--gruen); border-color: var(--gruen); color: #fff; }
.fazit-wahl button[aria-pressed='true'].gelb { background: var(--ampel); border-color: var(--ampel); color: #fff; }
.fazit-wahl button[aria-pressed='true'].rot { background: var(--rot); border-color: var(--rot); color: #fff; }

.urteil { border-radius: 12px; padding: 15px 16px; color: #fff; display: flex; flex-direction: column; gap: 3px; }
.urteil strong { font: 700 29px/1.06 'Barlow Condensed', sans-serif; }
.urteil.gruen { background: var(--gruen); }
.urteil.gelb { background: var(--ampel); }
.urteil.rot { background: var(--rot); }

.galerie { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.galerie figure { margin: 0; }
.galerie img, .galerie video { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 9px; background: var(--kreide); }
.galerie figcaption { font-size: 13.5px; color: var(--stumm); margin-top: 3px; }

.befund { border-left: 4px solid var(--rot); padding: 2px 0 2px 11px; display: flex; flex-direction: column; gap: 1px; }
.befund strong { font-weight: 600; }
.liste-klein { display: flex; flex-direction: column; font-size: 15px; }
.liste-klein div { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--kreide); }
.wert-ok { color: var(--gruen); font-weight: 600; white-space: nowrap; }
.wert-auffaellig { color: var(--rot); font-weight: 600; white-space: nowrap; }
.wert-offen { color: var(--stumm); font-weight: 600; white-space: nowrap; }
details summary { font-weight: 600; min-height: 44px; display: flex; align-items: center; color: var(--blaumann); }

.sterne { display: flex; gap: 4px; }
.sterne button { background: none; border: 0; padding: 3px; color: var(--linie); }
.sterne button svg { width: 44px; height: 44px; }
.sterne button[aria-pressed='true'] { color: var(--ampel); }

.leer { text-align: center; padding: 30px 12px; color: var(--stumm); display: flex; flex-direction: column; gap: 12px; align-items: center; }

.start { flex: 1; display: flex; flex-direction: column; background: var(--blaumann); color: #fff; padding: calc(var(--oben) + 36px) 24px calc(var(--unten) + 22px); gap: 20px; }
.start .wort { font: 700 58px/.95 'Barlow Condensed', sans-serif; }
.start .satz { font-size: 21px; line-height: 1.3; max-width: 26em; }
.start .plakette { width: 148px; height: 148px; align-self: flex-end; margin-top: auto; }
.start .plakette text { fill: #fff; }
.start .plakette .grund { fill: #2a3f85; }
.start .plakette .an { fill: var(--weste); }
.start .feld > span, .start .haken { color: #fff; }
.start .feld input { color: var(--tinte); }
.start .knopf { background: var(--weste); color: var(--tinte); }
.start .fehler { background: #fff; }
.start .hinweis { background: #fff; }
.start a { color: #fff; }

.schalter { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; }
.schalter input { width: 26px; height: 26px; accent-color: var(--blaumann); }
.mehr-liste { display: flex; flex-direction: column; background: var(--papier); border-radius: 12px; }
.mehr-liste a, .mehr-liste button { display: flex; align-items: center; min-height: 52px; padding: 8px 16px; background: none; border: 0; border-bottom: 1px solid var(--kreide); text-decoration: none; color: var(--tinte); text-align: left; width: 100%; font-weight: 500; }
.mehr-liste .gefahr { color: var(--rot); }
.ursprung { text-align: center; padding: 14px 0 2px; scroll-margin-bottom: 110px; }
.ursprung a { color: var(--stumm); font-size: 13.5px; text-decoration: none; }

/* Einstieg ohne Konto */
.einstieg { display: flex; flex-direction: column; background: var(--kreide); }
.buehne { background: var(--blaumann); color: #fff; padding: calc(var(--oben) + 26px) 20px 22px; display: flex; flex-direction: column; gap: 16px; }
.buehne-kopf { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.buehne .wort { font: 700 54px/.95 'Barlow Condensed', sans-serif; margin: 0; }
.buehne .plakette { width: 74px; height: 74px; flex: none; }
.buehne .plakette .grund { fill: #2a3f85; }
.buehne .plakette .an { fill: var(--weste); }
.buehne .satz { font-size: 21px; line-height: 1.28; }
.pruef-feld { background: var(--papier); color: var(--tinte); border-radius: 14px; padding: 12px; display: flex; flex-direction: column; gap: 10px; }
.art-wahl { display: grid; grid-template-columns: 1fr 1fr 1.25fr; gap: 6px; }
.art-wahl button { min-height: 44px; border-radius: 9px; border: 1.5px solid var(--linie); background: var(--papier); font-weight: 600; font-size: 15px; padding: 4px 2px; }
.art-wahl button[aria-pressed='true'] { background: var(--blaumann); border-color: var(--blaumann); color: #fff; }
.treffer { background: var(--blaumann-hell); color: var(--blaumann-tief); border-radius: 9px; padding: 10px 12px; font-size: 16px; }
.buehne > .knopf { background: var(--weste); color: var(--tinte); }
.teil { padding: 20px 20px 4px; display: flex; flex-direction: column; gap: 12px; }
.einstieg .teil:last-child { padding-bottom: calc(24px + var(--unten)); }
.ablauf { margin: 0; padding: 0; list-style: none; counter-reset: s; display: flex; flex-direction: column; gap: 12px; }
.ablauf li { counter-increment: s; display: grid; grid-template-columns: 34px 1fr; column-gap: 12px; }
.ablauf li::before { content: counter(s); grid-row: span 2; width: 34px; height: 34px; border-radius: 50%; background: var(--blaumann); color: #fff; display: flex; align-items: center; justify-content: center; font: 700 19px 'Barlow Condensed', sans-serif; }
.ablauf b { font-weight: 600; }
.ablauf span { color: var(--stumm); font-size: 15.5px; }
.klein-ablauf li { grid-template-columns: 28px 1fr; }
.klein-ablauf li::before { width: 28px; height: 28px; font-size: 16px; }
.umfang { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.umfang div { background: var(--papier); border-radius: 12px; padding: 10px 8px; display: flex; flex-direction: column; align-items: center; gap: 1px; text-align: center; }
.umfang svg { width: 26px; height: 26px; color: var(--blaumann); }
.umfang b { font: 700 30px/1.05 'Barlow Condensed', sans-serif; min-height: 32px; }
.umfang span { font-size: 13.5px; color: var(--stumm); }
.zurueck-hell { background: none; border: 0; color: #fff; align-self: flex-start; padding: 6px 8px 6px 0; min-height: 44px; }
.zurueck-hell svg { width: 26px; height: 26px; }

/* Als Nächstes und Verlauf */
.naechstes { background: var(--papier); border-left: 5px solid var(--weste); border-radius: 12px; padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; }
.naechstes b { font: 700 21px/1.15 'Barlow Condensed', sans-serif; }
.zeitstrahl { list-style: none; margin: 0; padding: 0 0 0 6px; display: flex; flex-direction: column; }
.zeitstrahl li { position: relative; padding: 0 0 12px 22px; color: var(--stumm); font-size: 15.5px; display: flex; justify-content: space-between; gap: 10px; }
.zeitstrahl li::before { content: ''; position: absolute; left: 0; top: 5px; width: 11px; height: 11px; border-radius: 50%; border: 2px solid var(--linie); background: var(--papier); }
.zeitstrahl li::after { content: ''; position: absolute; left: 6px; top: 18px; bottom: -3px; width: 2px; background: var(--linie); }
.zeitstrahl li:last-child { padding-bottom: 0; }
.zeitstrahl li:last-child::after { display: none; }
.zeitstrahl li.fertig, .zeitstrahl li.jetzt { color: var(--tinte); }
.zeitstrahl li.fertig::before { background: var(--blaumann); border-color: var(--blaumann); }
.zeitstrahl li.fertig::after { background: var(--blaumann); }
.zeitstrahl li.jetzt { font-weight: 600; }
.zeitstrahl li.jetzt::before { background: var(--weste); border-color: var(--blaumann); }
.zeitstrahl small { font-size: 13.5px; color: var(--stumm); white-space: nowrap; font-weight: 400; }
.geld-zusage { border: 2px solid var(--blaumann); }

/* Anfrage */
.termine { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.termine button { min-height: 50px; border-radius: 9px; border: 1.5px solid var(--linie); background: var(--papier); font-weight: 600; font-size: 14.5px; padding: 4px 3px; line-height: 1.12; }
.termine button[aria-pressed='true'] { background: var(--blaumann); border-color: var(--blaumann); color: #fff; }
.pruefer-eintrag { display: flex; flex-direction: column; }
.pruefer-eintrag .textknopf { padding: 4px 14px 8px; min-height: 36px; font-size: 14.5px; }

/* Prüfung */
.schritt-kopf { background: none; border: 0; padding: 0; display: flex; justify-content: space-between; gap: 10px; font-size: 14.5px; color: var(--stumm); min-height: 28px; align-items: center; }
.schritt-kopf span:last-child { color: var(--blaumann); font-weight: 600; }
.schrittliste { list-style: none; margin: 4px 0 0; padding: 0; max-height: 46vh; overflow-y: auto; }
.schrittliste button { width: 100%; min-height: 44px; display: flex; justify-content: space-between; align-items: center; background: none; border: 0; border-bottom: 1px solid var(--kreide); padding: 6px 2px; text-align: left; }
.schrittliste button[aria-current='step'] { font-weight: 600; color: var(--blaumann); }
.schrittliste svg { width: 18px; height: 18px; color: var(--gruen); }
.slot.wartet .bild { outline: 2px dashed var(--blaumann); outline-offset: -2px; }
.vierer { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-items: end; }

/* Bericht */
.vergleich { display: flex; gap: 10px; align-items: flex-start; }
.vergleich .punkt { width: 14px; height: 14px; border-radius: 50%; margin-top: 4px; flex: none; background: var(--gruen); }
.vergleich.pruefen .punkt { background: var(--rot); }
.vergleich.fehlt .punkt { background: var(--linie); }
.vergleich div { display: flex; flex-direction: column; }
.vergleich b { font-weight: 600; }
.galerie figure button { display: block; width: 100%; padding: 0; border: 0; background: none; border-radius: 9px; }
.vollbild { position: fixed; inset: 0; z-index: 30; background: #0a0d14; color: #fff; display: flex; flex-direction: column; padding-top: var(--oben); }
.vollbild-flaeche { flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; overflow: auto; -webkit-overflow-scrolling: touch; }
.vollbild-flaeche img { max-width: 100%; max-height: 100%; object-fit: contain; }
.vollbild-flaeche.gross { display: block; }
.vollbild-flaeche.gross img { max-width: none; max-height: none; width: 220%; }
.vollbild-leiste { display: flex; align-items: center; gap: 8px; padding: 10px 12px calc(10px + var(--unten)); }
.vollbild-leiste span { flex: 1; text-align: center; font-size: 15px; }
.vollbild-leiste button { background: #232836; color: #fff; border: 0; border-radius: 9px; min-height: 44px; min-width: 44px; display: flex; align-items: center; justify-content: center; font-weight: 600; padding: 0 12px; }
.vollbild-leiste svg { width: 22px; height: 22px; }
.vollbild-leiste .dreh svg { transform: rotate(180deg); }

/* Ladegerüst */
.geruest { display: flex; flex-direction: column; gap: 10px; }
.geruest i { display: block; height: 76px; border-radius: 12px; background: var(--linie); opacity: .5; }
@media (prefers-reduced-motion: no-preference) {
  .geruest i { animation: atmen 1.1s ease-in-out infinite alternate; }
  @keyframes atmen { to { opacity: .22; } }
  .inhalt { animation: rein .16s ease-out; }
  @keyframes rein { from { opacity: 0; transform: translateX(10px); } }
}

@media (prefers-reduced-motion: no-preference) {
  .plakette .jetzt { animation: blink 1.6s ease-in-out 2; }
  @keyframes blink { 50% { opacity: .35; } }
}

/* ---- Gratis-Fassung (26.11.2026) ---- */
.wahl.vier { grid-template-columns: 1fr 1fr; }
.wahl.vier button { padding: 14px 6px 11px; }
.wahl.vier button small { font-weight: 400; font-size: 13px; color: var(--stumm); }
.fslot { background: var(--papier); border-radius: 12px; padding: 11px; display: grid; grid-template-columns: 86px 1fr; gap: 12px; align-items: center; }
.fslot .bild { width: 86px; height: 86px; border-radius: 9px; background: var(--kreide); display: flex; align-items: center; justify-content: center; overflow: hidden; color: var(--stumm); position: relative; }
.fslot .bild img { width: 100%; height: 100%; object-fit: cover; }
.fslot .bild svg { width: 34px; height: 34px; }
.fslot.fertig .bild { background: var(--gruen-hell); color: var(--gruen); }
.fslot strong { font-weight: 600; display: block; }
.fslot .aktionen { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.fslot .aktion { position: relative; overflow: hidden; display: inline-flex; align-items: center; min-height: 40px; padding: 6px 12px; border-radius: 9px; border: 1.5px solid var(--linie); background: var(--papier); font-weight: 600; font-size: 15px; color: var(--blaumann); }
.fslot .aktion input[type='file'] { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; font-size: 40px; }
.fslot .aktion.weg { color: var(--rot); }
.einladung { background: var(--papier); border-radius: 12px; padding: 14px 16px; border-left: 4px solid var(--weste); white-space: pre-wrap; overflow-wrap: anywhere; font-size: 16px; }
.einladung small { display: block; color: var(--stumm); margin-top: 8px; font-size: 13px; }
.fortschritt { font-size: 14px; color: var(--stumm); }
.marke-fertig { display: inline-block; font-size: 13px; font-weight: 600; color: var(--gruen); background: var(--gruen-hell); border-radius: 6px; padding: 1px 7px; }
.marke-arbeit { display: inline-block; font-size: 13px; font-weight: 600; color: var(--ampel); background: var(--ampel-hell); border-radius: 6px; padding: 1px 7px; }
.karte .art-icon { width: 46px; height: 46px; flex: none; border-radius: 11px; background: var(--blaumann-hell); color: var(--blaumann); display: flex; align-items: center; justify-content: center; }
.karte .art-icon svg { width: 30px; height: 30px; }
.erfolg { background: var(--gruen-hell); color: var(--gruen); border-radius: 12px; padding: 12px 14px; font-weight: 600; }
.buehne .klein-hell { color: #dfe5f5; font-size: 15px; }
.textknopf.gefahr { color: var(--rot); }
.app-version { text-align: center; color: var(--stumm); font-size: 13px; }
