/* Solarscouts Kundenbereich - Gestaltung "Sonnenbogen" (Wienel 23.09.2026, Variante 2 der Entwuerfe),
   seit 28.09.2026 in den Solarscouts-Farben:
   freundlich wie eine App. Navy fuer Handlungen, Solarscouts-Gruen fuer Fortschritt und Erledigtes, gedecktes
   Bernstein nur fuer Wartendes; Ueberschriften Bricolage Grotesque, Text Figtree. Keine Inline-Styles: die Seite laeuft mit
   style-src 'self'. */

/* Beide Schriften kommen vom eigenen Server (Google Fonts, SIL Open Font License 1.1, Freigabe Wienel 28.09.2026) -
   kein Aufruf bei Google. Nur der lateinische Zeichensatz; fehlende Zeichen kommen aus der Systemschrift. */
@font-face {
  font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 600 800; font-stretch: 100%; font-display: swap;
  src: url("fonts/bricolage-grotesque-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Figtree"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("fonts/figtree-latin.woff2") format("woff2");
}

:root {
  /* Solarscouts-Farben wie im Bestellstatus (Wienel 28.09.2026: Solarscouts-Theme statt Orange) */
  /* --rand umrandet Eingabefelder, Auswahllisten und Chips: mindestens 3:1 zum Grund (WCAG 1.4.11, BFSG-Pruefung
     28.09.2026 - vorher #C9D2E3 mit 1,5:1). --linie bleibt fuer reine Trennlinien. */
  --grund: #F4F6FB; --karte: #FFFFFF; --tinte: #16202F; --leise: #56617A; --linie: #DDE3EF; --rand: #7A8499;
  --flaeche: #EEF2F9; --flaeche-hell: #F7F9FC;
  --navy: #13306B; --navy-tief: #0C2049; --navy-hell: #E9EEFC; --navy-linie: #C6D3F2;
  --gruen: #3FA535; --gruen-tief: #24701D; --gruen-hell: #EAF6E8; --gruen-linie: #BFE0BA;
  --warte: #8A5A00; --warte-hell: #FDF3E0; --warte-linie: #EBD3A3;
  --rot: #8A1C16; --rot-hell: #FDECEC; --rot-linie: #F0C0BE;
  --schatten: 0 1px 0 rgba(19, 48, 107, 0.04), 0 14px 30px -20px rgba(19, 48, 107, 0.28);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: "Figtree", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px; line-height: 1.5; color: var(--tinte); background: var(--grund); text-wrap: pretty;
}
h1, h2, h3, h4 {
  font-family: "Bricolage Grotesque", "Figtree", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  margin: 0; font-weight: 700; letter-spacing: -0.015em; line-height: 1.15;
}
p { margin: 0; }
a { color: var(--navy); text-underline-offset: 2px; }
a:hover { color: var(--navy-tief); }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
code, .mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
[hidden] { display: none !important; }
.nur-sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
/* Fokus immer deutlich sichtbar (WCAG 2.4.7/1.4.11: mindestens 3:1 - Navy hat 12,6:1) */
input:focus-visible, textarea:focus-visible, select:focus-visible, button:focus-visible, a:focus-visible,
summary:focus-visible, [tabindex="-1"]:focus {
  outline: 3px solid var(--navy); outline-offset: 2px;
}
::placeholder { color: var(--leise); opacity: 1; }
/* Feste Leisten unten verdecken sonst das fokussierte Feld (WCAG 2.4.11, Technik C43); bei sehr wenig Hoehe
   (400 % Zoom) stehen sie im Fluss */
html:has(.nav) { scroll-padding-bottom: 100px; }
html:has(.absende-leiste) { scroll-padding-bottom: 180px; }
@media (max-height: 480px) { .nav, .absende-leiste { position: static; } }
/* Kontrastmodus (forced colors): gewaehlter Chip sonst nicht erkennbar */
@media (forced-colors: active) { .chip:has(input:checked) { outline: 3px solid Highlight; } }

/* --- Rahmen ---------------------------------------------------------------------------------------------- */
.probe {
  background: var(--warte-hell); color: var(--warte); font-size: 13px; padding: 8px 16px; text-align: center;
  border-bottom: 1px solid var(--warte-linie);
}
.seite { min-height: 100vh; display: flex; flex-direction: column; }
.kopf {
  width: 100%; max-width: 560px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 14px 18px 4px;
}
.kopf img { height: 24px; width: auto; display: block; }
.abmelden-form { margin: 0; }
.abmelden {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 6px; border: 0; background: none;
  font-size: 14px; font-weight: 600; color: var(--leise);
}
.abmelden:hover { color: var(--tinte); }
.inhalt {
  width: 100%; max-width: 560px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px;
  padding: 10px 18px 32px; flex-grow: 1;
}
.mit-nav .inhalt { padding-bottom: 112px; }
.mit-leiste .inhalt { padding-bottom: 150px; }
.kopfzeile { width: 100%; max-width: 560px; margin: 0 auto; display: flex; align-items: center; padding: 10px 12px 0; }
.zurueck {
  display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 0 10px; border-radius: 999px;
  font-weight: 700; font-size: 15px; text-decoration: none;
}
.zurueck:hover { background: var(--flaeche); }

.titelblock { display: flex; flex-direction: column; gap: 6px; }
.auftrag { font-size: 13px; font-weight: 600; letter-spacing: 0.04em; color: var(--leise); font-variant-numeric: tabular-nums; }
.titel { font-size: 32px; }
.unter { font-size: 16px; color: var(--leise); }
.klein { font-size: 13px; color: var(--leise); }
.fuss { font-size: 13px; color: var(--leise); text-align: center; padding: 0 8px; }
.zentriert { text-align: center; }

/* --- Karten ---------------------------------------------------------------------------------------------- */
.karte {
  background: var(--karte); border-radius: 24px; padding: 20px; box-shadow: var(--schatten);
  display: flex; flex-direction: column; gap: 14px;
}
.karte h2 { font-size: 22px; }
.karte h3, .karte h2.h3 { font-size: 19px; }
.karte h1 { font-size: 22px; }
.karte-hinweis { background: var(--navy-hell); box-shadow: none; }
.karte-eng { gap: 8px; }
.karte-mitte { align-items: center; text-align: center; gap: 10px; padding: 26px 20px; }
.kreis {
  width: 64px; height: 64px; border-radius: 999px; display: flex; align-items: center; justify-content: center;
  background: var(--gruen-hell); color: var(--gruen-tief);
}
.kreis-warte { background: var(--warte-hell); color: var(--warte); }

/* --- Sonnenbogen ----------------------------------------------------------------------------------------- */
.bogen { position: relative; }
.bogen svg { display: block; width: 100%; height: auto; }
.bogen text { font-family: "Figtree", ui-sans-serif, system-ui, sans-serif; }
.bogen-mitte {
  position: absolute; left: 12%; right: 12%; top: 50%; display: flex; flex-direction: column; align-items: center;
  gap: 2px; text-align: center;
}
.bogen-status { font-family: "Bricolage Grotesque", "Figtree", sans-serif; font-size: 25px; font-weight: 700; letter-spacing: -0.015em; line-height: 1.1; }
.bogen-termin { font-size: 14px; color: var(--leise); line-height: 1.35; }
.bogen-termin strong { color: var(--tinte); }

/* --- Marken, Chips --------------------------------------------------------------------------------------- */
.marke {
  display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; padding: 4px 11px;
  border-radius: 999px; font-size: 13px; font-weight: 700;
}
.marke-gruen { background: var(--gruen-hell); color: var(--gruen-tief); }
.marke-warte { background: var(--warte-hell); color: var(--warte); }
.marke-grau { background: var(--flaeche); color: var(--leise); }
.marke-klein { font-size: 12px; padding: 2px 9px; }
.sprache {
  display: inline-block; padding: 1px 8px; border-radius: 999px; background: var(--flaeche); color: var(--leise);
  font-size: 12px; font-weight: 600;
}
.zustand-unterwegs { color: var(--gruen-tief); font-weight: 600; }
.zustand-bereit { color: var(--gruen-tief); font-weight: 600; }
.zustand-wartet { color: var(--warte); font-weight: 600; }

/* --- Knoepfe --------------------------------------------------------------------------------------------- */
.knopf {
  display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 22px;
  border-radius: 999px; background: var(--navy); color: #FFFFFF; font-weight: 700; font-size: 17px;
  text-decoration: none; border: 0; width: 100%;
}
a.knopf, a.knopf:hover { color: #FFFFFF; }
.knopf:hover { background: var(--navy-tief); }
.knopf[disabled] { opacity: 0.6; cursor: default; }
.knopf-zweit {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 18px;
  border-radius: 999px; border: 1.5px solid var(--navy); color: var(--navy); background: transparent;
  font-weight: 700; font-size: 15px; text-decoration: none;
}
.knopf-zweit:hover { background: var(--navy-hell); }
.knopf-leise { border-color: var(--rand); color: var(--tinte); }
.knopfreihe { display: flex; flex-wrap: wrap; gap: 10px; }
.icon-knopf {
  width: 44px; height: 44px; flex-shrink: 0; border-radius: 999px; border: 0; background: var(--navy-hell);
  color: var(--navy); display: inline-flex; align-items: center; justify-content: center; text-decoration: none;
}
.icon-knopf:hover { background: var(--navy-linie); color: var(--navy-tief); }
.link-chip {
  display: inline-flex; align-items: center; gap: 6px; min-height: 42px; padding: 0 14px; border-radius: 999px;
  background: var(--flaeche); color: var(--tinte); font-size: 14px; font-weight: 600; text-decoration: none;
}
a.link-chip:hover { background: #E1E7F2; color: var(--tinte); }
.link-chips { display: flex; flex-wrap: wrap; gap: 8px; }

/* --- Listen: Artikel, Fakten, Dokumente ------------------------------------------------------------------ */
.liste { display: flex; flex-direction: column; gap: 12px; }
.artikel { display: flex; gap: 12px; align-items: flex-start; }
.kachel {
  width: 48px; height: 48px; flex-shrink: 0; border-radius: 15px; display: flex; align-items: center;
  justify-content: center; background: var(--navy-hell); color: var(--navy);
}
.kachel-warte { background: var(--warte-hell); color: var(--warte); }
.kachel-klein { width: 40px; height: 40px; border-radius: 12px; }
.artikel-text { display: flex; flex-direction: column; gap: 1px; min-width: 0; padding-top: 2px; }
.artikel-name { font-weight: 600; font-size: 15px; line-height: 1.35; overflow-wrap: anywhere; }
a.artikel-name { color: var(--tinte); }
.set-teile { margin: 6px 0 0; padding: 8px 0 0 12px; border-left: 2px solid var(--linie); display: flex; flex-direction: column; gap: 4px; }
.set-kopf { font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--leise); }
.fakten { display: flex; flex-direction: column; gap: 10px; }
.fakt { display: flex; gap: 12px; align-items: flex-start; }
.fakt-text { font-size: 15px; font-weight: 600; }
.fakt-offen .fakt-text { color: var(--warte); }
.doks { display: flex; flex-direction: column; }
.dok { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--linie); }
.doks > .dok:first-child { border-top: 0; padding-top: 0; }
.karte-hinweis .dok { border-color: var(--navy-linie); }
.dateiart {
  width: 40px; height: 40px; flex-shrink: 0; border-radius: 12px; background: var(--flaeche); color: var(--navy);
  display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 800; letter-spacing: 0.04em;
}
.karte-hinweis .dateiart, .karte-hinweis .icon-knopf, .karte-hinweis .sprache, .karte-hinweis .kachel { background: var(--karte); }
.dok-text { flex-grow: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.dok-name { font-weight: 600; font-size: 15px; color: var(--tinte); text-decoration: none; line-height: 1.3; overflow-wrap: anywhere; }
a.dok-name:hover { text-decoration: underline; color: var(--tinte); }
.dok-meta { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--leise); flex-wrap: wrap; }
.geraet-kopf { display: flex; gap: 12px; align-items: flex-start; }
.geraet-kopf h3, .karte .geraet-kopf h2.h3 { font-size: 17px; line-height: 1.25; }
.zerez { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.zerez-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.zerez-nr { font-size: 21px; font-weight: 700; letter-spacing: 0.02em; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.netz-geraet { font-size: 14px; font-weight: 700; color: var(--navy-tief); padding-top: 4px; }

/* --- Schluessel/Wert --------------------------------------------------------------------------------------- */
.zeilen { display: flex; flex-direction: column; margin: 0; }
.zeile { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 4px 12px; padding: 11px 0; border-top: 1px solid var(--linie); font-size: 15px; }
.zeile:first-child { border-top: 0; }
.zeile dt { color: var(--leise); }
.zeile dd { margin: 0 0 0 auto; font-weight: 600; text-align: right; overflow-wrap: anywhere; display: flex; align-items: center; gap: 8px; justify-content: flex-end; }
.zeile .icon-knopf { width: 36px; height: 36px; }

/* --- Formular -------------------------------------------------------------------------------------------- */
.feld { display: flex; flex-direction: column; gap: 6px; }
.feld > span { font-size: 14px; font-weight: 700; }
.feld small { font-size: 13px; color: var(--leise); }
.feld input, .feld textarea, .feld select, .wahl-feld select {
  width: 100%; min-height: 52px; padding: 13px 16px; border-radius: 16px; border: 1.5px solid var(--rand);
  background: #FFFFFF; font: inherit; font-size: 16px; color: var(--tinte);
}
.feld textarea { min-height: 96px; resize: vertical; }
.pflicht { color: var(--rot); }
.frage { font-size: 15px; font-weight: 700; }
.frageblock { display: flex; flex-direction: column; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.frageblock legend { font-size: 15px; font-weight: 700; padding: 0; margin-bottom: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px;
  border: 1.5px solid var(--rand); background: #FFFFFF; font-size: 15px; font-weight: 600; color: var(--tinte); cursor: pointer;
}
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.chip:has(input:checked) { background: var(--navy); border-color: var(--navy); color: #FFFFFF; }
.chip:has(input:focus-visible) { outline: 3px solid var(--navy); outline-offset: 2px; }
.chip:has(input:disabled) { opacity: 0.55; cursor: default; }
.chips-klein .chip { min-height: 40px; padding: 0 12px; font-size: 14px; }
.haken { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; cursor: pointer; }
.haken input { width: 22px; height: 22px; margin: 1px 0 0; flex-shrink: 0; accent-color: var(--navy); }
.einwilligung { font-size: 14px; color: var(--leise); }
.hinweis {
  display: flex; gap: 10px; align-items: flex-start; padding: 14px; border-radius: 16px; background: var(--warte-hell);
  color: var(--warte); font-size: 14px; line-height: 1.5;
}
.hinweis svg { flex-shrink: 0; margin-top: 1px; }
.hinweis-rot { background: var(--rot-hell); color: var(--rot); }
.hinweis-gruen { background: var(--gruen-hell); color: var(--gruen-tief); }
.sicherheit { font-size: 13px; }
.meldung {
  padding: 14px 16px; border-radius: 16px; font-size: 15px; background: var(--rot-hell); border: 1px solid var(--rot-linie); color: var(--rot);
}
.meldung ul { margin: 6px 0; padding-left: 20px; list-style: disc; }
.meldung p { margin: 6px 0 0; }
.honig { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Reklamation: Artikelwahl, Mengen, Fotos */
.schritte { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.schritte span { height: 6px; border-radius: 999px; background: var(--linie); }
.schritte span.an { background: var(--gruen); }
.auswahl { display: flex; flex-direction: column; gap: 10px; }
.wahl {
  display: flex; flex-direction: column; gap: 12px; padding: 14px; border-radius: 18px; border: 1.5px solid #D5DCE8;
  background: #FFFFFF;
}
.wahl.aktiv { border-color: var(--navy); box-shadow: 0 0 0 3px var(--navy-hell); }
.wahl.gesperrt { background: #F2F4F8; }
.wahl-kopf { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; }
.wahl.gesperrt .wahl-kopf { cursor: default; }
.wahl-kopf input { width: 22px; height: 22px; flex-shrink: 0; accent-color: var(--navy); margin: 2px 0 0; }
.wahl.gesperrt .artikel-name { color: var(--leise); }
.wahl-details { display: flex; flex-direction: column; gap: 12px; }
.zaehler { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.zaehler input {
  width: 64px; min-height: 44px; border-radius: 12px; border: 1.5px solid var(--rand); background: #FFFFFF; text-align: center;
  font: inherit; font-weight: 700; font-size: 16px; color: var(--tinte);
}
.zaehler-von { font-weight: 600; color: var(--leise); }
/* Je Foto eine Zeile: Kachel links, die beiden Auswahlfelder rechts - so bleiben sie auch am Handy lesbar */
.fotos { display: flex; flex-direction: column; gap: 12px; }
.foto-slot { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 8px 12px; align-items: center; }
.foto-slot .foto-kachel { grid-row: span 2; aspect-ratio: 1; }
.foto-slot:not(:has(select + label + select)) .foto-kachel { grid-row: auto; }
.foto-kachel {
  position: relative; aspect-ratio: 4 / 3; border-radius: 16px; border: 2px dashed #B9C3D8; background: var(--flaeche-hell); color: var(--navy);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; font-size: 14px; font-weight: 700;
  cursor: pointer; overflow: hidden; text-align: center; padding: 6px;
}
.foto-kachel input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.foto-kachel:has(input:focus-visible) { outline: 3px solid var(--navy); outline-offset: 2px; }
.foto-kachel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.foto-kachel.gefuellt { border-style: solid; border-color: var(--navy); }
/* X zum Entfernen (Tester 01.10.2026): oben rechts auf der Kachel - die Kachel ist die 104 px breite erste Spalte
   des foto-slot. 32 px Zielflaeche (WCAG 2.5.8), weisser Grund auch auf hellen Fotos sichtbar. */
.foto-slot { position: relative; }
.foto-weg {
  position: absolute; top: 6px; left: 66px; z-index: 2; width: 32px; height: 32px; border-radius: 50%;
  border: 1.5px solid var(--navy); background: #FFFFFF; color: var(--navy);
  font-family: inherit; font-size: 20px; font-weight: 700; line-height: 1;
  display: flex; align-items: center; justify-content: center; cursor: pointer; padding: 0;
  box-shadow: 0 1px 4px rgba(15, 30, 60, .25);
}
.foto-weg:hover { background: var(--navy); color: #FFFFFF; }
.foto-weg:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; }
.foto-name { font-size: 12px; color: var(--leise); overflow-wrap: anywhere; }
.foto-slot select { width: 100%; min-height: 40px; padding: 6px 10px; border-radius: 12px; border: 1.5px solid var(--rand); background: #FFFFFF; font: inherit; font-size: 14px; color: var(--tinte); }
.marken-block { display: flex; flex-direction: column; gap: 10px; padding: 14px; border-radius: 16px; background: var(--flaeche-hell); }
.absende-leiste {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 10; background: var(--karte); border-top: 1px solid var(--linie);
  padding: 12px 18px calc(14px + env(safe-area-inset-bottom));
}
.absende-leiste > div { max-width: 524px; margin: 0 auto; display: flex; flex-direction: column; gap: 8px; }
.datenschutz { font-size: 12px; color: var(--leise); text-align: center; }
.zusammenfassung { display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.zusammenfassung ul { list-style: disc; padding-left: 20px; display: flex; flex-direction: column; gap: 4px; }
.vorschaubilder { display: flex; flex-wrap: wrap; gap: 8px; }
.vorschaubilder img { width: 64px; height: 64px; object-fit: cover; border-radius: 12px; }

/* Meldungen und Ergebnis */
.meldung-karte { display: flex; flex-direction: column; gap: 6px; padding: 14px 0; border-top: 1px solid var(--linie); }
.meldung-karte:first-child { border-top: 0; padding-top: 0; }
.meldung-kopf { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.nachtrag > summary { cursor: pointer; font-size: 14px; font-weight: 700; color: var(--navy); min-height: 40px; display: flex; align-items: center; }
.nachtrag form { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.mail-vorschau { border: 2px dashed var(--warte-linie); box-shadow: none; }
.mail-kopf { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 4px 14px; font-size: 14px; }
.mail-kopf dt { color: var(--leise); }
.mail-kopf dd { margin: 0; overflow-wrap: anywhere; }
.mail-text {
  margin: 0; padding: 12px; border-radius: 12px; background: #FFFFFF; border: 1px solid var(--linie); font-size: 12.5px;
  line-height: 1.5; white-space: pre-wrap; word-break: break-word; max-height: 70vh; overflow: auto;
}

/* --- Fragen und Hilfe ------------------------------------------------------------------------------------ */
.suche {
  display: flex; align-items: center; gap: 10px; min-height: 54px; padding: 0 16px; border-radius: 999px;
  background: #FFFFFF; border: 1.5px solid var(--rand); color: var(--leise);
}
.suche input { border: 0; outline: 0; font: inherit; font-size: 16px; flex-grow: 1; background: transparent; color: var(--tinte); min-width: 0; }
.suche:focus-within { outline: 3px solid var(--navy); outline-offset: 2px; }
.faq { background: var(--karte); border-radius: 20px; box-shadow: var(--schatten); }
.faq > summary {
  list-style: none; cursor: pointer; display: flex; gap: 12px; align-items: flex-start; justify-content: space-between;
  padding: 16px 18px; min-height: 56px;
}
.faq > summary::-webkit-details-marker { display: none; }
.faq-frage { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; font-weight: 700; font-size: 16px; line-height: 1.35; }
.faq-zeile { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 16px; line-height: 1.3; }
.faq > summary > svg { flex-shrink: 0; margin-top: 3px; color: var(--leise); transition: transform 0.15s; }
.faq[open] > summary > svg { transform: rotate(180deg); }
.faq-antwort { padding: 0 18px 18px; display: flex; flex-direction: column; gap: 10px; font-size: 15px; line-height: 1.6; }
.faq-antwort p { margin: 0; }
.quelle { font-size: 13px; color: var(--leise); }
.geplant-liste { display: flex; flex-direction: column; gap: 6px; list-style: disc; padding-left: 20px; font-size: 15px; color: var(--leise); }
.geplant-liste strong { color: var(--tinte); }

/* --- Navigation unten ------------------------------------------------------------------------------------ */
.nav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 10; background: var(--karte); border-top: 1px solid var(--linie);
  padding: 6px 6px calc(10px + env(safe-area-inset-bottom));
}
.nav-innen { max-width: 560px; margin: 0 auto; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.nav a {
  display: flex; flex-direction: column; align-items: center; gap: 3px; min-height: 58px; justify-content: center;
  font-size: 12px; font-weight: 600; color: var(--leise); text-decoration: none; border-radius: 16px;
}
.nav a svg { padding: 4px 14px; border-radius: 999px; box-sizing: content-box; }
.nav a.an { color: var(--navy); }
.nav a.an svg { background: var(--navy-hell); }
.nav a b { font-size: 11px; font-weight: 700; }

/* --- Fusszeile (Impressum, Datenschutz, Barrierefreiheit, Widerruf) und Sitzungs-Dialog ------------------ */
.fusszeile { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; padding: 8px 8px 4px; font-size: 13px; }
.fusszeile a { color: var(--leise); }
.sitzung-dialog {
  border: 0; border-radius: 20px; padding: 22px; max-width: min(420px, calc(100vw - 32px)); box-shadow: var(--schatten);
  display: none; flex-direction: column; gap: 12px; color: var(--tinte);
}
.sitzung-dialog[open] { display: flex; }
.sitzung-dialog::backdrop { background: rgba(22, 32, 47, 0.45); }
.tabelle-rahmen { overflow-x: auto; }

/* --- Intern: Vorschau-Liste, Zaehler --------------------------------------------------------------------- */
.vorschau-hinweis {
  padding: 10px 14px; border-radius: 14px; font-size: 13px; line-height: 1.5; background: var(--warte-hell);
  border: 1px dashed var(--warte-linie); color: var(--warte);
}
.vorschau-hinweis a { color: var(--warte); }
.gruppe-titel { font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--leise); margin-top: 6px; }
.vorschau-liste { display: flex; flex-direction: column; gap: 8px; }
.vorschau-liste form { margin: 0; }
.vorschau-knopf {
  width: 100%; text-align: left; background: var(--karte); border: 0; border-radius: 18px; padding: 12px 16px; box-shadow: var(--schatten);
  display: flex; flex-direction: column; gap: 2px; color: var(--tinte);
}
.vorschau-knopf:hover { background: #FFFFFF; }
.vk-nr { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 15px; font-weight: 700; color: var(--navy); }
.vk-info { font-size: 14px; color: var(--leise); }
.zaehler-tabelle { width: 100%; border-collapse: collapse; font-size: 13px; }
.zaehler-tabelle th, .zaehler-tabelle td { text-align: left; padding: 5px 6px; border-bottom: 1px solid var(--linie); }
details.karte > summary { cursor: pointer; font-weight: 700; }

/* --- Ergaenzungen ---------------------------------------------------------------------------------------- */
.block { display: flex; flex-direction: column; gap: 8px; }
.mini-bogen { display: block; }
.nav-innen.nav-vier { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.nr { font-weight: 700; color: var(--tinte); }
.icon-knopf.kopiert { background: var(--navy); color: #FFFFFF; }
.am-stueck { white-space: nowrap; }

/* --- Artikel im Status: kompakt wie in Version 1 (Menge vorn, Name, Stand), Sets als aufklappbare Klammer ----- */
.posten-titel { margin: 2px 0 0; font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--leise); }
.posten { display: flex; flex-direction: column; }
.posten-zeile { display: flex; gap: 10px; align-items: baseline; padding: 9px 0; border-top: 1px solid var(--linie); }
.posten > li:first-child { border-top: 0; }
.posten-menge { flex: 0 0 auto; min-width: 36px; text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--navy); }
.posten-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.posten-name { font-weight: 600; font-size: 15px; line-height: 1.35; color: var(--tinte); overflow-wrap: anywhere; text-decoration: none; }
a.posten-name:hover { text-decoration: underline; color: var(--tinte); }
.posten-stand { font-size: 13px; }
.posten-set { border-top: 1px solid var(--linie); }
.posten-set-kopf { list-style: none; display: flex; gap: 10px; align-items: flex-start; padding: 10px 0; cursor: pointer; }
.posten-set-kopf::-webkit-details-marker { display: none; }
.posten-set-kopf > svg { flex-shrink: 0; margin-top: 3px; color: var(--leise); transition: transform 0.15s; }
.posten-set details[open] > .posten-set-kopf > svg { transform: rotate(180deg); }
.posten-set-kopf .posten-name { font-weight: 700; }
.posten-teile { margin: 0 0 8px 46px; padding-left: 12px; border-left: 2px solid var(--navy-linie); }
.posten-teile .posten-zeile { padding: 7px 0; }
.posten-teile .posten-menge { min-width: 30px; font-size: 14px; }
.posten-teile .posten-name { font-weight: 500; font-size: 14px; }
.posten-untergruppe { border-top: 1px solid var(--linie); padding-top: 8px; }
.posten-unterkopf { display: block; font-size: 13px; font-weight: 700; color: var(--leise); }
.mini-phasen { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; font-size: 12px; color: var(--leise); }
.mini-phasen li { display: flex; align-items: center; gap: 6px; }
.mini-phasen li + li::before { content: ""; width: 14px; height: 2px; border-radius: 2px; background: var(--linie); }
.mini-phasen .punkt { width: 9px; height: 9px; border-radius: 50%; background: var(--linie); }
.mini-phasen .erreicht .punkt { background: var(--gruen); }
.mini-phasen .aktuell { color: var(--tinte); font-weight: 700; }
.mini-phasen .aktuell .punkt { background: var(--gruen); box-shadow: 0 0 0 3px var(--gruen-hell); }

/* --- Problem melden: ganzes Set oder einzelne Teile -------------------------------------------------------- */
.wahl-set { background: var(--flaeche-hell); }
.teile-wahl > summary { list-style: none; cursor: pointer; font-size: 14px; font-weight: 700; color: var(--navy); padding: 4px 0; }
.teile-wahl > summary::-webkit-details-marker { display: none; }
.teile-wahl > summary::before { content: "+ "; }
.teile-wahl[open] > summary::before { content: "– "; }
.teile-wahl > .auswahl { margin-top: 8px; padding-left: 10px; border-left: 2px solid var(--navy-linie); }
.teile-wahl .wahl { padding: 12px; border-radius: 14px; }

/* --- PC: Seitenleiste statt Navigation unten (Wienel 28.09.2026: "unten sucht am PC niemand") -------------- */
/* ".nav .nav-melden": sonst gewinnt ".nav a" und der Knopf steht auf dem Handy unten in der Leiste */
.nav-auftrag, .nav .nav-melden, .nav-zahl { display: none; }
@media (max-width: 899.98px) {
  .nur-breit { display: none !important; }
}
@media (min-width: 900px) {
  .nur-schmal { display: none !important; }
  .seite.mit-seitenleiste {
    display: grid; grid-template-columns: 232px minmax(0, 720px); grid-template-rows: auto 1fr;
    grid-template-areas: "kopf kopf" "nav inhalt"; column-gap: 48px; justify-content: center; align-content: start;
    padding: 0 24px;
  }
  .mit-seitenleiste > .kopf { grid-area: kopf; max-width: none; margin: 0; padding: 22px 0 10px; }
  .mit-seitenleiste > .inhalt { grid-area: inhalt; max-width: none; margin: 0; padding: 16px 0 64px; }
  .mit-seitenleiste > .nav {
    grid-area: nav; position: sticky; top: 16px; left: auto; right: auto; bottom: auto; z-index: auto; align-self: start;
    margin-top: 16px; padding: 14px 12px 16px; border: 0; border-radius: 24px; background: var(--karte);
    box-shadow: var(--schatten); display: flex; flex-direction: column; gap: 4px;
  }
  .nav-auftrag {
    display: block; margin: 0 0 6px; padding: 2px 12px 12px; border-bottom: 1px solid var(--linie);
    font-size: 13px; color: var(--leise);
  }
  .nav-auftrag strong { color: var(--tinte); font-size: 14px; font-variant-numeric: tabular-nums; }
  .nav-innen, .nav-innen.nav-vier { display: flex; flex-direction: column; gap: 2px; max-width: none; margin: 0; }
  .nav a {
    flex-direction: row; justify-content: flex-start; gap: 12px; min-height: 46px; padding: 0 12px;
    font-size: 15px; color: var(--tinte); border-radius: 14px;
  }
  .nav a svg { padding: 0; border-radius: 0; color: var(--leise); }
  .nav a:hover { background: var(--flaeche); }
  .nav a.an { background: var(--navy-hell); color: var(--navy); font-weight: 700; }
  .nav a.an svg { background: none; color: var(--navy); }
  .nav-zahl {
    display: inline-block; margin-left: auto; min-width: 26px; padding: 1px 8px; border-radius: 999px;
    background: var(--flaeche); color: var(--leise); font-size: 12px; font-weight: 700; text-align: center;
  }
  .nav a.an .nav-zahl { background: var(--karte); color: var(--navy); }
  .nav .nav-melden {
    display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; margin-top: 12px;
    padding: 0 12px; border-radius: 999px; border: 1.5px solid var(--navy); color: var(--navy); font-weight: 700;
  }
  .nav .nav-melden svg { color: var(--navy); }
  .nav .nav-melden:hover, .nav .nav-melden.an { background: var(--navy-hell); }
  .mit-nav .inhalt, .mit-leiste .inhalt { padding-bottom: 64px; }
  .titel { font-size: 36px; }
  .bogen { max-width: 400px; width: 100%; margin: 0 auto; }
  .bogen-status { font-size: 28px; }
  .bogen-termin { font-size: 15px; }
  .absende-leiste {
    position: sticky; left: auto; right: auto; bottom: 0; margin: 0 -10px; border: 1px solid var(--linie);
    border-radius: 20px 20px 0 0; box-shadow: 0 -12px 24px -20px rgba(19, 48, 107, 0.45);
  }
  .absende-leiste > div { max-width: none; }
  .fotos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; }
}

/* --- Navigation: 3 bis 6 Bereiche (mit "Anliegen" in Stufe 2, ohne "Unterlagen" bei reinen Kleinteilen) ------ */
.nav-innen.nav-n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.nav-innen.nav-n4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.nav-innen.nav-n6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
@media (max-width: 899.98px) {
  .nav-innen.nav-n6 a { font-size: 11px; }
  .nav-innen.nav-n6 a svg { padding: 4px 10px; }
}

/* --- Anliegen: Weiche "Was moechten Sie tun?" (K04) und "Ihre Anliegen" (K09) --------------------------------- */
.weiche { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.weiche-kachel {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 18px; background: var(--karte);
  box-shadow: var(--schatten); color: var(--tinte); text-decoration: none;
}
a.weiche-kachel:hover { background: var(--navy-hell); color: var(--tinte); }
.weiche-kachel > svg { margin-left: auto; flex-shrink: 0; color: var(--leise); }
.weiche-kachel.folgt { background: var(--flaeche-hell); box-shadow: none; border: 1.5px dashed var(--rand); color: var(--leise); }
.weiche-kachel.folgt .kachel { background: var(--flaeche); color: var(--leise); }
.weiche-titel { font-weight: 700; font-size: 16px; line-height: 1.3; }
.weitere > summary { cursor: pointer; font-weight: 700; color: var(--navy); padding: 6px 0; }
.weitere[open] > summary { margin-bottom: 10px; }
.zeilen-liste { display: flex; flex-direction: column; gap: 10px; }
@media (min-width: 900px) {
  .weiche { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.wahl-radio .wahl-kopf input[type=radio] { width: 22px; height: 22px; flex-shrink: 0; accent-color: var(--navy); margin: 2px 0 0; }
.wahl-radio:has(input:checked) { border-color: var(--navy); box-shadow: 0 0 0 3px var(--navy-hell); }
.feld-klein { max-width: 160px; }
.beleg-laden { margin-left: auto; }
/* Oeffentliche Wege auf der Anmeldeseite (G3): Kontakt, Hilfe, Widerruf - gut sichtbar, ohne Anmeldung */
.oeffentlich-links { display: flex; flex-direction: column; gap: 10px; font-size: 15px; font-weight: 600; }
.oeffentlich-links a { color: var(--navy); }
.meldung a { display: block; margin-top: 8px; color: var(--rot); font-weight: 700; }
/* Ausweg nach gescheiterter Anmeldung ohne Formulare (Teilpaket 1e): ein Satz mit der Adresse im Fliesstext */
.meldung-weg { display: block; margin-top: 8px; }
.meldung .meldung-weg a { display: inline; margin: 0; }
.nr-ganz { white-space: nowrap; }
/* Zwei Felder nebeneinander (Vorname/Nachname, PLZ/Ort) - auf sehr schmalen Geraeten untereinander */
.feld-reihe { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.feld-reihe-plz { grid-template-columns: 120px minmax(0, 1fr); }
@media (max-width: 359.98px) {
  .feld-reihe, .feld-reihe-plz { grid-template-columns: minmax(0, 1fr); }
}
/* Fehler am Feld (D1, fehler-am-feld): roter Rahmen am Feld, Eintraege im Fehlerkasten sind Links auf ihr Feld */
.feld [aria-invalid="true"], .wahl-feld [aria-invalid="true"], .foto-slot select[aria-invalid="true"] {
  border-color: var(--rot); box-shadow: 0 0 0 3px var(--rot-hell);
}
.chips:has(input[aria-invalid="true"]) .chip, .foto-kachel:has(input[aria-invalid="true"]) { border-color: var(--rot); }
.haken:has(input[aria-invalid="true"]) { color: var(--rot); }
.meldung li a { display: inline; margin: 0; color: var(--rot); font-weight: 600; }
/* D8 (320 px, WCAG 1.4.12): Reiter-Beschriftungen bleiben in ihrer Spalte und brechen an der weichen Trennstelle um
   (NAV_UMBRUCH), statt sich bei groesserem Textabstand zu ueberlappen */
.nav a { min-width: 0; }
.nav a span { max-width: 100%; text-align: center; line-height: 1.15; overflow-wrap: anywhere; }
@media (max-width: 359.98px) { .nav-innen.nav-n6 a svg { padding: 4px 6px; } }
/* D8 (320 px, WCAG 1.4.10/1.4.12, Pruefung im Browser 29.09.2026): lange Woerter (Marktstammdatenregister), Modell-
   nummern und Mailadressen brechen um, statt die Seite zu verbreitern; Normbezeichnungen (am-stueck) bleiben
   zusammen, solange sie in eine Zeile passen */
body { overflow-wrap: anywhere; }
@media (max-width: 480px) { body { -webkit-hyphens: auto; hyphens: auto; } }
.am-stueck { white-space: normal; display: inline-block; max-width: 100%; }
.link-chip { max-width: 100%; }
/* Einstieg aus "Mein Konto" des Shops: Rueckweg oben */
.zurueck-konto { margin: 0; font-size: 14px; font-weight: 600; }
.zurueck-konto a { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; }
/* Konto-Service: eingebettet in "Mein Konto" des Shops (body.einbettung, nur dort). Der Rahmen waechst mit dem Inhalt
   (kb_einbettung.js) - deshalb keine Mindesthoehe aus vh (sonst wuechse er endlos) und nichts mit position: fixed,
   das unten am Rahmen klebte statt am Bildschirm. */
.einbettung { background: transparent; }
.einbettung .seite { min-height: 0; }
.einbettung .nav, .einbettung .absende-leiste { position: static; border-top: 0; }
/* am Handy stehen die Reiter im Rahmen oben - unten muesste man erst ans Ende des Rahmens scrollen */
.einbettung .nav { order: -1; border-bottom: 1px solid var(--linie); }
.einbettung .mit-nav .inhalt, .einbettung .mit-leiste .inhalt { padding-bottom: 16px; }
html:has(.einbettung) { scroll-padding-bottom: 0; }
.konto-liste { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.konto-auftrag {
  display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 12px; align-items: center; padding: 14px 16px;
  border-radius: 16px; border: 1.5px solid var(--linie); background: var(--karte); color: var(--tinte); text-decoration: none;
}
.konto-auftrag:hover, .konto-auftrag:focus-visible { border-color: var(--navy); }
.konto-auftrag > span:first-child { display: flex; flex-direction: column; gap: 2px; }
.konto-stand { text-align: right; }
