/* Öffentliche Website, v3. Variance 5, Motion 3, Density 4: ruhig, klar gegliedert, eine Akzentfarbe.
   Formen: Knöpfe als Pille, Karten 16px (--r-karte), Felder 12px (--r-feld). Flächen weiß mit feiner Linie,
   Schatten nur für das Handy im Kopf. Grün nur für Knöpfe, Links, Marker und die Karte. */
.rahmen { width: min(1180px, 100% - 40px); margin-inline: auto; }

/* ------------------------------------------------------------------ Kopfzeile */
.kopfzeile { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: saturate(150%) blur(12px); -webkit-backdrop-filter: saturate(150%) blur(12px); border-bottom: 1px solid var(--linie); }
@supports not (backdrop-filter: blur(1px)) { .kopfzeile { background: var(--bg); } }
.kopf { display: flex; align-items: center; gap: 8px; height: 64px; }
.marke { display: inline-flex; align-items: center; gap: 10px; font-weight: 680; font-size: 1.15rem; color: var(--tinte); text-decoration: none; letter-spacing: -0.01em; }
.marke img { width: 32px; height: 32px; }
.hauptnav { display: flex; gap: 2px; margin-left: 28px; }
.hauptnav a { color: var(--leise); text-decoration: none; padding: 8px 12px; border-radius: 999px; font-weight: 500; font-size: 0.97rem; transition: color var(--kurz) ease, background-color var(--kurz) ease; }
.hauptnav a[aria-current="page"] { color: var(--tinte); background: var(--flaeche-2); }
@media (hover: hover) and (pointer: fine) { .hauptnav a:hover { color: var(--tinte); } }
.app-knopf { margin-left: auto; }
.menue { display: none; position: relative; }
.menue summary { list-style: none; cursor: pointer; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 999px; color: var(--tinte); }
.menue summary::-webkit-details-marker { display: none; }
.menue summary .icon { width: 24px; height: 24px; }
.menue .zu, .menue[open] .auf { display: none; }
.menue[open] .zu { display: block; }
.menue nav { position: absolute; right: 0; top: 52px; width: min(320px, calc(100vw - 32px)); background: var(--flaeche); border: 1px solid var(--linie);
  border-radius: var(--r-karte); box-shadow: var(--schatten-hoch); padding: 8px; display: grid; transform-origin: top right; }
@media (prefers-reduced-motion: no-preference) {
  .menue[open] nav { animation: aufklappen 180ms var(--raus); }
}
@keyframes aufklappen { from { opacity: 0; transform: scale(0.97) translateY(-4px); } }
.menue nav a { display: flex; justify-content: space-between; align-items: center; padding: 14px 14px; border-radius: 10px; color: var(--tinte); text-decoration: none; font-weight: 500; }
.menue nav a .icon { color: var(--leise); width: 18px; height: 18px; }
.menue nav a + a { border-top: 1px solid var(--linie); }

/* ------------------------------------------------------------------ Bausteine */
.abschnitt { padding: 88px 0 0; }
.abschnitt.eng { padding-top: 64px; }
.abschnitt h2, .kopf-abschnitt h2 { font-size: clamp(1.75rem, 3vw, 2.4rem); letter-spacing: -0.028em; }
.abschnitt.eng > h2 { font-size: clamp(1.4rem, 2.2vw, 1.75rem); margin-bottom: 20px; }
.kopf-abschnitt { max-width: 720px; margin-bottom: 36px; }
.einleitung { margin-top: 14px; font-size: 1.12rem; color: var(--leise); max-width: 60ch; }
.unter { margin-top: 18px; font-size: clamp(1.08rem, 1.5vw, 1.22rem); color: var(--leise); max-width: 46ch; }
.marker { display: inline-flex; align-items: center; gap: 8px; font-size: 0.92rem; font-weight: 550; color: var(--gruen); margin-bottom: 18px; }
.marker .icon { width: 18px; height: 18px; }
.aktionen { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.pfeil { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--gruen); text-decoration: none; }
.pfeil .icon { width: 18px; height: 18px; transition: transform var(--kurz) var(--raus); }
.randnotiz { display: flex; gap: 8px; align-items: flex-start; margin-top: 14px; font-size: 0.92rem; color: var(--leise); max-width: 70ch; }
.randnotiz .icon { width: 18px; height: 18px; margin-top: 3px; }
.randnotiz.text { display: block; }
code { font: 500 0.88em/1.5 ui-monospace, "Cascadia Mono", Consolas, monospace; background: var(--flaeche-2); padding: 2px 6px; border-radius: 6px; overflow-wrap: anywhere; }

/* Suchfeld mit Lupe und Knopf in einem Rahmen */
.suche { display: flex; align-items: center; gap: 6px; background: var(--flaeche); border: 1px solid var(--linie); border-radius: 999px; padding: 6px 6px 6px 18px;
  max-width: 560px; margin-top: 30px; box-shadow: var(--schatten); transition: border-color var(--kurz) ease, box-shadow var(--kurz) ease; }
.suche:focus-within { border-color: var(--gruen); box-shadow: 0 0 0 3px color-mix(in srgb, var(--gruen) 20%, transparent); }
.suche > .icon { color: var(--leise); }
.suche input { border: 0; background: transparent; min-height: 46px; padding: 8px 6px; font-size: 1.08rem; box-shadow: none !important; }
.suche input:focus-visible { outline: none; }
.suche .knopf { flex: none; }
.suche.klein { margin-top: 24px; box-shadow: none; }

/* Status-Marken und Punkte (Karte, Listen) */
.marke-status { display: inline-flex; align-items: center; gap: 6px; font-size: 0.82rem; font-weight: 600; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.marke-status.ja { background: var(--gruen-hell); color: var(--gruen-tief); }
.marke-status.teil { background: color-mix(in srgb, var(--gruen-hell) 50%, var(--flaeche-2)); color: var(--tinte); }
.marke-status.fehlt { background: var(--flaeche-2); color: var(--leise); }
@media (prefers-color-scheme: dark) { .marke-status.ja { color: var(--gruen); } }
.punkt { display: inline-block; width: 10px; height: 10px; border-radius: 50%; flex: none; background: var(--flaeche-3); }
.punkt.ja, .legende .k4 { background: #1a7a4c; } .punkt.teil, .legende .k3 { background: #5fae80; } .legende .k2 { background: #b5dcc3; } .legende .k0 { background: #e3e7e2; }
@media (prefers-color-scheme: dark) { .punkt.ja, .legende .k4 { background: #7dd6a1; } .punkt.teil, .legende .k3 { background: #3e8a5e; } .legende .k2 { background: #2f5a40; } .legende .k0 { background: #28302a; } }

/* Kachel-Links: weiße Fläche, feine Linie, Pfeil rückt beim Überfahren */
.zweier, .dreier { display: grid; gap: 16px; }
.zweier { grid-template-columns: 1fr 1fr; }
.dreier { grid-template-columns: repeat(3, 1fr); }
.kachel-link { display: flex; flex-direction: column; gap: 10px; padding: 28px; background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--r-karte);
  color: var(--tinte); text-decoration: none; transition: border-color var(--kurz) ease, transform var(--kurz) var(--raus); }
.kachel-link > .icon { width: 28px; height: 28px; color: var(--gruen); margin-bottom: 6px; }
.kachel-link h2 { font-size: 1.45rem; }
.kachel-link h3 { font-size: 1.15rem; }
.kachel-link p { color: var(--leise); }
.kachel-link .pfeil { margin-top: auto; padding-top: 8px; }
.kachel-link .knopf { margin-top: auto; align-self: flex-start; }
a.kachel-link:active { transform: scale(0.99); }
@media (hover: hover) and (pointer: fine) {
  a.kachel-link:hover { border-color: color-mix(in srgb, var(--gruen) 45%, var(--linie)); }
  a.kachel-link:hover .pfeil .icon, a.pfeil:hover .icon { transform: translateX(3px); }
}
.dreier.flach > div { display: grid; gap: 8px; align-content: start; }
.dreier.flach .icon { width: 28px; height: 28px; color: var(--gruen); }
.dreier.flach h3 { font-size: 1.15rem; margin-top: 6px; }
.dreier.flach p { color: var(--leise); }

/* ------------------------------------------------------------------ Kopf der Startseite */
.held { display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: 48px; padding: 64px 0 56px; }
.held h1 { font-size: clamp(2.6rem, 5.4vw, 4.4rem); font-weight: 680; letter-spacing: -0.04em; line-height: 1.02; max-width: 12ch; }
.vertrauen { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--leise); font-size: 0.95rem; }
.vertrauen li { display: inline-flex; align-items: center; gap: 6px; }
.vertrauen .icon { width: 16px; height: 16px; color: var(--gruen); }
/* Handy: feste Breite und Seitenverhältnis, damit nichts gestaucht wird; die Mitteilung liegt sauber darunter */
.held-bild { position: relative; justify-self: center; --breite: 290px; width: var(--breite); padding-bottom: 28px; }
/* Handy-Rahmen: echtes Seitenverhältnis der Screenshots (1080 × 2400), nichts wird gestaucht */
.held-bild .ui-mitteilung.schwebend { position: absolute; left: -88px; right: 36px; bottom: 0; }

/* Zahlenleiste: echte Zahlen, Linien statt Karten */
.zahlenleiste dl { margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--linie); border-bottom: 1px solid var(--linie); }
.zahlenleiste dl > div { padding: 26px 24px 26px 0; display: flex; flex-direction: column; gap: 4px; }
.zahlenleiste dl > div + div { padding-left: 24px; border-left: 1px solid var(--linie); }
.zahlenleiste dt { order: 2; font-weight: 600; font-size: 0.98rem; }
.zahlenleiste dd { order: 1; margin: 0; font-size: clamp(1.9rem, 3.2vw, 2.6rem); font-weight: 650; letter-spacing: -0.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.zahlenleiste p { order: 3; font-size: 0.9rem; color: var(--leise); }

/* Funktionen: 3 × 2, ohne Kartenrahmen, nur Linie oben */
.funktionen { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 32px; }
.funktionen article { border-top: 1px solid var(--linie); padding: 26px 0 30px; display: grid; gap: 8px; align-content: start; }
.funktionen .icon { width: 26px; height: 26px; color: var(--gruen); }
.funktionen h3 { font-size: 1.15rem; margin-top: 8px; }
.funktionen p { color: var(--leise); max-width: 38ch; }

/* App-Vitrine: Widgets auf ruhiger Fläche */
.vitrine { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 48px; align-items: center; }
.vitrine-bilder { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; background: var(--flaeche-2); border-radius: 24px; padding: 28px; align-items: start; }
.vitrine-bilder figure { margin: 0; display: grid; gap: 8px; }
.vitrine-bilder figure.gross { grid-row: span 2; }
.vitrine-bilder img { border-radius: 16px; box-shadow: var(--schatten); }
.vitrine-bilder figcaption { font-size: 0.85rem; color: var(--leise); padding-left: 4px; }
.vitrine .knopf { margin-top: 28px; }
.play { gap: 12px; padding: 0 22px 0 18px; }
.play .icon { width: 22px; height: 22px; }
.play span { display: grid; text-align: left; line-height: 1.1; }
.play small { font-weight: 500; font-size: 0.72rem; opacity: 0.8; }

/* Schritte: gleich hoch, gleich ausgerichtet */
.schritte { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.schritte li { display: flex; flex-direction: column; gap: 8px; }
.schritte figure { margin: 0 0 14px; height: 280px; background: var(--flaeche-2); border-radius: var(--r-karte); display: flex; align-items: center; justify-content: center; padding: 20px; }
.schritte figure img { height: auto; max-height: 100%; width: auto; max-width: 100%; object-fit: contain; border-radius: 12px; box-shadow: var(--schatten); }
.schritte span { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-weight: 650; font-size: 0.9rem; background: var(--tinte); color: var(--bg); }
.schritte h3 { font-size: 1.15rem; }
.schritte p { color: var(--leise); }

/* Karte */
.karte-abschnitt { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 48px; align-items: center; }
.karte-flaeche { position: relative; background: var(--flaeche); border: 1px solid var(--linie); border-radius: 24px; padding: 28px; }
.karte-de, .karte-flaeche svg { width: 100%; max-width: 480px; height: auto; margin-inline: auto; display: block; }
.karte-flaeche svg a { outline: none; }
/* Eingebettete Karte: eigene Farben hier statt im SVG (dessen <style> würde sonst alle Icons der Seite treffen) */
.karte-flaeche svg path { stroke: var(--flaeche); stroke-width: 1; stroke-linejoin: round; transition: opacity var(--kurz) ease; }
.karte-flaeche svg .k0 { fill: #e3e7e2; } .karte-flaeche svg .k2 { fill: #b5dcc3; } .karte-flaeche svg .k3 { fill: #5fae80; } .karte-flaeche svg .k4 { fill: #1a7a4c; }
@media (prefers-color-scheme: dark) { .karte-flaeche svg .k0 { fill: #28302a; } .karte-flaeche svg .k2 { fill: #2f5a40; } .karte-flaeche svg .k3 { fill: #3e8a5e; } .karte-flaeche svg .k4 { fill: #7dd6a1; } }
.karte-flaeche svg a:focus-visible path, .karte-flaeche svg a.aktiv path { stroke: var(--tinte); stroke-width: 2.5; }
@media (hover: hover) and (pointer: fine) { .karte-flaeche svg:hover path { opacity: 0.55; } .karte-flaeche svg a:hover path { opacity: 1; } }
.karte-info { position: absolute; left: 20px; top: 20px; min-width: 220px; max-width: calc(100% - 40px); background: var(--flaeche); border: 1px solid var(--linie);
  border-radius: 14px; box-shadow: var(--schatten-hoch); padding: 14px 16px; display: grid; gap: 2px; }
.karte-info[hidden] { display: none; }
.karte-info b { font-size: 1.02rem; }
.karte-info span { color: var(--leise); font-size: 0.92rem; }
.karte-info .pfeil { margin-top: 6px; font-size: 0.95rem; }
.legende { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 0.9rem; color: var(--leise); }
.legende i { display: inline-block; width: 12px; height: 12px; border-radius: 4px; margin-right: 8px; vertical-align: -1px; }
.karte-text .pfeil { margin-top: 24px; }

/* Fragen: Überschrift links, Antworten rechts */
.fragen-abschnitt { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 48px; align-items: start; }
.fragen { display: grid; border-top: 1px solid var(--linie); }
.fragen details { border-bottom: 1px solid var(--linie); }
.fragen summary { list-style: none; cursor: pointer; padding: 20px 0; font-weight: 600; font-size: 1.06rem; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.fragen summary::-webkit-details-marker { display: none; }
.fragen summary .icon { transition: transform var(--mittel) var(--raus); color: var(--leise); }
.fragen details[open] summary .icon { transform: rotate(180deg); }
.fragen details p { padding: 0 0 22px; color: var(--leise); max-width: 66ch; }

/* ------------------------------------------------------------------ Orte */
.brotkrumen { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; padding-top: 28px; font-size: 0.92rem; }
.brotkrumen a { color: var(--leise); text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .brotkrumen a:hover { color: var(--tinte); } }
.brotkrumen .icon.rechts { transform: rotate(-90deg); width: 14px; height: 14px; color: var(--leise); }
.seiten-kopf { padding: 56px 0 8px; }
.seiten-kopf > * { max-width: 820px; }
.seiten-kopf h1, .ort-kopf h1 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); font-weight: 680; letter-spacing: -0.035em; line-height: 1.05; }
.ort-kopf { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 48px; align-items: start; padding-top: 24px; }
.steckbrief { margin: 0; background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--r-karte); padding: 6px 22px; }
.steckbrief > div { display: grid; gap: 2px; padding: 14px 0; }
.steckbrief > div + div { border-top: 1px solid var(--linie); }
.steckbrief dt { font-size: 0.85rem; color: var(--leise); }
.steckbrief dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.tonnen { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.tonnen li { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center; background: var(--flaeche); border: 1px solid var(--linie); border-radius: 12px; padding: 14px 16px; }
.tonnen .punkt { width: 14px; height: 14px; grid-row: span 2; }
.tonnen span { grid-column: 2; color: var(--leise); font-size: 0.92rem; }
.t-restmuell { background: #4b5563; } .t-bio { background: #8b5a2b; } .t-papier { background: #2563eb; } .t-gelb { background: #eab308; }
.t-glas { background: #0d9488; } .t-gruen { background: #16a34a; } .t-sperrmuell { background: #9a3412; } .t-schadstoffe { background: #dc2626; }
.t-weihnachtsbaum { background: #166534; } .t-sonstiges { background: #6b7280; }
.gemeinden { list-style: none; padding: 0; margin: 0; columns: 4 200px; column-gap: 24px; }
.gemeinden li { display: flex; align-items: center; gap: 8px; padding: 5px 0; break-inside: avoid; }
.gemeinden .icon { width: 16px; height: 16px; }
.gemeinden .dabei .icon { color: var(--gruen); }
.gemeinden .fehlt { color: var(--leise); }
.gemeinden a { color: var(--tinte); text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .gemeinden a:hover { color: var(--gruen); text-decoration: underline; } }
.nachbarn { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; }
.nachbarn a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; background: var(--flaeche); border: 1px solid var(--linie);
  border-radius: 12px; color: var(--tinte); text-decoration: none; font-weight: 500; transition: border-color var(--kurz) ease; }
.treffer b { font-weight: 600; }
@media (hover: hover) and (pointer: fine) { .nachbarn a:hover { border-color: color-mix(in srgb, var(--gruen) 45%, var(--linie)); } }
.liste-schritte { margin: 0; padding-left: 22px; display: grid; gap: 12px; max-width: 70ch; }
.liste-schritte li { padding-left: 6px; color: var(--leise); }
.liste-schritte b { color: var(--tinte); }
.liste-schritte.klein { gap: 8px; margin: 4px 0 18px; }
.sprungmarken { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.sprungmarken a { font-size: 0.9rem; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--linie); background: var(--flaeche); color: var(--tinte); text-decoration: none; }
.land { padding-top: 40px; scroll-margin-top: 80px; }
.land h2 { font-size: 1.35rem; display: flex; align-items: baseline; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--linie); }
.land h2 span { font-size: 0.92rem; font-weight: 500; color: var(--leise); }
.ortsliste { list-style: none; padding: 0; margin: 12px 0 0; columns: 3 240px; column-gap: 32px; }
.ortsliste li { break-inside: avoid; }
.ortsliste a { display: flex; align-items: center; gap: 10px; padding: 7px 0; color: var(--tinte); text-decoration: none; }
.ortsliste a.fehlt { color: var(--leise); }
@media (hover: hover) and (pointer: fine) { .ortsliste a:hover { color: var(--gruen); } }

/* ------------------------------------------------------------------ Offener Abfuhrkalender */
.regeln { list-style: none; padding: 0; margin: 0; display: grid; border-top: 1px solid var(--linie); }
.regeln li { display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 26px 0; border-bottom: 1px solid var(--linie); }
.regeln li > span { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 650; background: var(--gruen-hell); color: var(--gruen-tief); }
@media (prefers-color-scheme: dark) { .regeln li > span { color: var(--gruen); } }
.regeln h3 { font-size: 1.2rem; margin-bottom: 6px; }
.regeln p { color: var(--leise); max-width: 68ch; }
.code-zeile { margin-top: 10px; }
.zweier.code figure { margin: 0; min-width: 0; background: #111814; border-radius: var(--r-karte); overflow: hidden; }
.zweier.code figcaption { font-size: 0.85rem; color: #a3aea6; padding: 12px 18px; border-bottom: 1px solid #222b25; }
.zweier.code pre { margin: 0; padding: 18px; overflow-x: auto; }
.zweier.code code { background: none; padding: 0; color: #dce5de; font-size: 0.86rem; white-space: pre; overflow-wrap: normal; }
.pruefkarte { background: var(--flaeche); border: 1px solid var(--linie); border-radius: 24px; padding: 32px; display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 24px 40px; align-items: start; }
.pruefkarte h2 { font-size: 1.6rem; margin-bottom: 8px; }
.pruefkarte form { display: flex; gap: 10px; }
.pruefung { grid-column: 1 / -1; }
.pruefpunkte { list-style: none; padding: 16px 0 0; margin: 0; display: grid; gap: 4px; border-top: 1px solid var(--linie); }
.pruefpunkte li { display: flex; gap: 10px; align-items: flex-start; padding: 6px 0; }
.pruefpunkte .icon { margin-top: 2px; }
.pruefpunkte .gut .icon { color: var(--gruen); }
.pruefpunkte .schlecht .icon { color: var(--fehler); }
.pruefpunkte .mittel { color: var(--leise); }
.teilnehmer { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.teilnehmer li { display: flex; gap: 8px; align-items: center; }
.teilnehmer .icon { color: var(--gruen); width: 18px; height: 18px; }

/* ------------------------------------------------------------------ Fuß */
.fuss { border-top: 1px solid var(--linie); margin-top: 112px; padding: 56px 0 48px; color: var(--leise); font-size: 0.95rem; background: var(--flaeche); }
.fuss-raster { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 32px; }
.fuss-marke p { margin-top: 14px; max-width: 32ch; }
.fuss-vertrauen { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; font-size: 0.92rem; }
.fuss-vertrauen li { display: flex; align-items: center; gap: 8px; }
.fuss-vertrauen .icon { width: 18px; height: 18px; color: var(--gruen); }
.fuss .fuss-play { margin-top: 22px; color: var(--auf-gruen); }
.fuss-orte { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--linie); font-size: 0.9rem; }
.fuss-orte span { color: var(--tinte); font-weight: 600; }
.fuss-unten { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 32px; margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--linie); font-size: 0.88rem; }
.fuss-unten p:last-child { max-width: 70ch; }
.fuss nav { display: grid; gap: 10px; align-content: start; }
.fuss nav h2 { font-size: 0.85rem; font-weight: 600; color: var(--tinte); letter-spacing: 0; margin-bottom: 4px; }
.fuss a { color: var(--leise); text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .fuss a:hover { color: var(--tinte); } }
.fuss .marke { color: var(--tinte); }
.fuss-hinweis { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--linie); font-size: 0.88rem; max-width: 80ch; }

/* ------------------------------------------------------------------ Für Kommunen */
.zweispaltig { display: grid; grid-template-columns: 1fr 0.95fr; gap: 56px; align-items: start; padding: 56px 0 0; }
.zweispaltig h1 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); font-weight: 680; letter-spacing: -0.035em; line-height: 1.05; }
.vorteile { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 22px; }
.vorteile li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.vorteile .kachel { width: 44px; height: 44px; border-radius: 12px; background: var(--gruen-hell); color: var(--gruen-tief); display: grid; place-items: center; }
@media (prefers-color-scheme: dark) { .vorteile .kachel { color: var(--gruen); } }
.vorteile b { display: block; font-size: 1.05rem; }
.vorteile span { color: var(--leise); }
.formkarte { background: var(--flaeche); border: 1px solid var(--linie); border-radius: 24px; padding: 32px; position: sticky; top: 88px; }
.formkarte h2 { font-size: 1.5rem; margin-bottom: 6px; }
.formkarte form { display: grid; gap: 18px; margin-top: 22px; }

/* ------------------------------------------------------------------ Rechtstexte */
.dokument { display: grid; grid-template-columns: 220px 1fr; gap: 56px; padding-top: 48px; }
.dokument nav { position: sticky; top: 88px; align-self: start; display: grid; gap: 2px; font-size: 0.94rem; }
.dokument nav a { color: var(--leise); text-decoration: none; padding: 6px 12px; border-radius: 10px; }
@media (hover: hover) and (pointer: fine) { .dokument nav a:hover { background: var(--flaeche-2); color: var(--tinte); } }
.dokument article { max-width: 70ch; }
.dokument h1 { font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 680; }
.dokument h2 { font-size: 1.45rem; margin: 44px 0 12px; scroll-margin-top: 88px; }
.dokument h3 { font-size: 1.12rem; margin: 26px 0 8px; }
.dokument p, .dokument li { color: color-mix(in srgb, var(--tinte) 86%, var(--bg)); }
.dokument p + p { margin-top: 12px; }
.kurz { background: var(--flaeche-2); border-radius: var(--r-karte); padding: 22px 26px; margin-top: 24px; }
.kurz ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; }

/* Danke-Seite und 404 */
.mittig { max-width: 560px; margin: 0 auto; padding: 96px 20px 0; text-align: center; display: grid; gap: 16px; justify-items: center; }
.mittig > .icon { width: 56px; height: 56px; color: var(--gruen); }
.mittig .suche { width: 100%; margin-top: 8px; }

/* ------------------------------------------------------------------ Mobil */
@media (max-width: 960px) {
  .hauptnav, .app-knopf { display: none; }
  .menue { display: block; margin-left: auto; }
  .held, .vitrine, .karte-abschnitt, .fragen-abschnitt, .ort-kopf, .zweispaltig, .dokument, .pruefkarte { grid-template-columns: 1fr; }
  .held { padding: 36px 0 40px; gap: 40px; }
  .held-bild { --breite: 236px; padding-bottom: 24px; }
  .held-bild .ui-mitteilung.schwebend { left: -44px; right: 12px; }
  .zahlenleiste dl { grid-template-columns: 1fr 1fr; }
  .zahlenleiste dl > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .zahlenleiste dl > div:nth-child(n+3) { border-top: 1px solid var(--linie); }
  .funktionen, .dreier { grid-template-columns: 1fr 1fr; }
  .schritte { grid-template-columns: 1fr; max-width: 520px; }
  .zweier { grid-template-columns: 1fr; }
  .fuss-raster { grid-template-columns: 1fr 1fr; }
  .fuss-marke { grid-column: 1 / -1; }
  .zeile, .zeile.umgekehrt, .app-band, .app-held { grid-template-columns: 1fr; }
  .zeile.umgekehrt .zeile-text { order: 0; }
  .zeile { gap: 32px; }
  .vierer { grid-template-columns: 1fr 1fr; }
  .app-band { padding: 40px 32px 0; }
  .app-band-text { padding-bottom: 0; }
  .app-band-bild { justify-self: center; }
  .formkarte { position: static; }
  .dokument nav { position: static; display: flex; flex-wrap: wrap; }
  .abschnitt { padding-top: 72px; }
}
@media (max-width: 600px) {
  .rahmen { width: calc(100% - 32px); }
  .funktionen, .dreier { grid-template-columns: 1fr; }
  .zahlenleiste dl > div { padding: 20px 12px 20px 0; }
  .zahlenleiste dl > div + div { padding-left: 12px; }
  .zahlenleiste dl > div:nth-child(3) { padding-left: 0; }
  .suche { flex-wrap: wrap; border-radius: 20px; padding: 8px; }
  .suche > .icon { display: none; }
  .suche input { flex: 1 1 100%; padding: 8px 10px; }
  .suche .knopf { flex: 1 1 100%; }
  .vitrine-bilder { padding: 16px; gap: 10px; }
  .karte-flaeche { padding: 16px; }
  .kachel-link, .pruefkarte, .formkarte { padding: 22px; }
  .pruefkarte form { flex-direction: column; }
  .fuss-raster { grid-template-columns: 1fr 1fr; }
  .vierer { grid-template-columns: 1fr; }
  .app-band { padding: 32px 22px 0; border-radius: 24px; }
  .telefon-reihe .seite { display: none; }
  .zeile-bild.flaeche { padding: 24px 16px; }
  .zeile-bild .ui-woche.schwebend { left: 8px; right: 8px; width: auto; }
  .zeile-bild .ui-mitteilung.auf-foto { left: 12px; right: 12px; }
  .app-band-bild .ui-mitteilung { left: -40px; right: 0; }
  .regeln li { grid-template-columns: 1fr; gap: 10px; }
}

/* ------------------------------------------------------------------ Abfall-ABC */
.schnellwahl { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.schnellwahl a { display: inline-flex; min-height: 36px; align-items: center; padding: 0 14px; border-radius: 999px; border: 1px solid var(--linie); background: var(--flaeche);
  color: var(--tinte); text-decoration: none; font-size: 0.94rem; transition: border-color var(--kurz) ease; }
@media (hover: hover) and (pointer: fine) { .schnellwahl a:hover { border-color: color-mix(in srgb, var(--gruen) 45%, var(--linie)); } }
.abc-treffer { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.abc-karte { display: grid; grid-template-columns: auto 1fr; gap: 14px; padding: 20px; background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--r-karte); }
.abc-karte .punkt { width: 14px; height: 14px; margin-top: 8px; }
.abc-karte h2 { font-size: 1.2rem; }
.abc-ziel { font-weight: 600; color: var(--gruen); margin: 2px 0 6px; }
.abc-karte .randnotiz { margin-top: 8px; }
.abc-hinweis { margin-top: 24px; }
.abc-gruppe { padding-top: 28px; scroll-margin-top: 80px; }
.abc-gruppe h2 { font-size: 1.3rem; padding-bottom: 10px; border-bottom: 1px solid var(--linie); }
.abc-liste { margin: 0; }
.abc-liste > div { display: grid; grid-template-columns: minmax(180px, 0.35fr) 1fr; gap: 6px 24px; padding: 14px 0; border-bottom: 1px solid var(--linie); scroll-margin-top: 80px; }
.abc-liste > div:target { background: var(--gruen-hell); border-radius: 10px; padding-inline: 12px; }
.abc-liste dt { font-weight: 600; display: flex; align-items: center; gap: 10px; }
.abc-liste dd { margin: 0; display: grid; gap: 2px; }
.abc-liste dd b { font-weight: 600; }
.abc-liste dd span { color: var(--leise); }
@media (max-width: 600px) { .abc-liste > div { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ v4: App-Darstellungen und Abschnitte */
/* Mitteilung wie auf dem Handy, als HTML */
.ui-mitteilung { display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: start; background: color-mix(in srgb, var(--flaeche) 94%, transparent);
  border: 1px solid var(--linie); border-radius: 18px; padding: 14px 16px; box-shadow: var(--schatten-hoch); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: var(--tinte); }
.ui-mitteilung img { width: 36px; height: 36px; }
.ui-mitteilung p { margin: 0; line-height: 1.35; }
.ui-kopf { display: flex; gap: 6px; align-items: baseline; font-size: 0.8rem; color: var(--leise); }
.ui-kopf b { color: var(--tinte); font-weight: 600; }
.ui-mitteilung .ui-kopf span::before { content: "·"; margin-right: 6px; }
.ui-titel { font-weight: 650; font-size: 0.98rem; margin-top: 2px !important; }
.ui-text { font-size: 0.9rem; color: var(--leise); }
/* Wochenleiste wie in der App */
.ui-woche { background: var(--flaeche); border: 1px solid var(--linie); border-radius: 18px; padding: 14px 14px 12px; box-shadow: var(--schatten-hoch); color: var(--tinte); }
.ui-woche .ui-kopf { font-size: 0.92rem; margin: 0 0 8px; }
.ui-woche ol { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(7, 1fr); text-align: center; }
.ui-woche li { display: grid; justify-items: center; gap: 4px; font-variant-numeric: tabular-nums; }
.ui-woche li span { font-size: 0.72rem; color: var(--leise); }
.ui-woche li b { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; font-weight: 550; font-size: 0.95rem; }
.ui-woche li.heute span { color: var(--gruen); font-weight: 600; }
.ui-woche li.heute b { background: var(--gruen); color: var(--auf-gruen); }
.ui-woche i { display: flex; gap: 3px; height: 6px; }
.ui-woche em { width: 6px; height: 6px; border-radius: 50%; }
.ui-woche em.t-restmuell { background: #4b5563; } .ui-woche em.t-bio { background: #8b5a2b; } .ui-woche em.t-papier { background: #2563eb; } .ui-woche em.t-gelb { background: #eab308; }

/* Liste mit Haken */
.haken-liste { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.haken-liste li { display: flex; gap: 10px; align-items: flex-start; }
.haken-liste .icon { width: 20px; height: 20px; color: var(--gruen); margin-top: 2px; }
.haken-liste.hell .icon { color: var(--minze); }

/* Hinweis auf die App im Kopf */
.app-hinweis { display: inline-flex; align-items: center; gap: 10px; margin-top: 26px; padding: 8px 14px 8px 10px; border: 1px solid var(--linie); border-radius: 999px;
  background: var(--flaeche); color: var(--tinte); text-decoration: none; font-size: 0.93rem; transition: border-color var(--kurz) ease; }
.app-hinweis > .icon:first-child { width: 22px; height: 22px; color: var(--gruen); }
.app-hinweis > .icon:last-child { width: 16px; height: 16px; color: var(--leise); transition: transform var(--kurz) var(--raus); }
@media (hover: hover) and (pointer: fine) {
  .app-hinweis:hover { border-color: color-mix(in srgb, var(--gruen) 45%, var(--linie)); }
  .app-hinweis:hover > .icon:last-child { transform: translateX(3px); }
}

/* Funktions-Zeilen: Text und Bild im Wechsel */
.zeile { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding: 48px 0; }
.zeile + .zeile { border-top: 1px solid var(--linie); }
.zeile.umgekehrt .zeile-text { order: 2; }
.zeile-text h3, .zeile-text h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); letter-spacing: -0.025em; }
.zeile-text .marker + h2 { margin-top: 0; }
.zeile-text > p { margin-top: 14px; color: var(--leise); font-size: 1.06rem; max-width: 52ch; }
.zeile-text .pfeil { margin-top: 22px; }
.zeile-text .liste-schritte { margin-top: 18px; }
.zeile-bild { position: relative; margin: 0; }
.zeile-bild.foto { max-width: 440px; width: 100%; justify-self: center; }
.zeile-bild.foto img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 24px; }
.zeile-bild .ui-mitteilung.auf-foto { position: absolute; left: -32px; right: 48px; bottom: 32px; }
.zeile-bild.flaeche { background: var(--flaeche-2); border-radius: 28px; padding: 40px 24px; display: flex; justify-content: center; --breite: 250px; }
.zeile-bild .ui-woche.schwebend { position: absolute; left: -24px; bottom: 36px; width: min(330px, 92%); }
.zeile-bild.widgets { display: grid; grid-template-columns: 1.6fr 1fr; gap: 14px; padding: 32px; align-content: center; }
.widgets img { width: 100%; border-radius: 18px; box-shadow: var(--schatten); }
.widgets .w-monat { grid-row: span 2; align-self: center; }
.widgets .w-count { align-self: end; }
.widgets .w-woche, .widgets .w-tonnen { grid-column: 1 / -1; }

/* Vier Punkte zum Vertrauen */
.vierer { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 32px; }
.vierer > div { border-top: 1px solid var(--linie); padding: 24px 0 8px; display: grid; gap: 8px; align-content: start; }
.vierer .icon { width: 26px; height: 26px; color: var(--gruen); }
.vierer h3 { font-size: 1.1rem; margin-top: 6px; }
.vierer p { color: var(--leise); }

/* App-Band: die eine dunkle Fläche der Seite */
.app-band { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: end; background: var(--gruen-tief); color: #e6f4ea; border-radius: 32px; padding: 56px 56px 0; overflow: hidden; }
@media (prefers-color-scheme: dark) { .app-band { background: #10291b; } }
.app-band-text { padding-bottom: 56px; align-self: center; }
.app-band h2 { color: #fff; font-size: clamp(1.9rem, 3.2vw, 2.7rem); letter-spacing: -0.03em; margin-top: 16px; }
.app-band-text > p { margin-top: 14px; color: #cfe7d8; max-width: 48ch; font-size: 1.06rem; }
.app-band .aktionen { align-items: center; gap: 18px; }
.pille { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 999px; background: rgb(255 255 255 / 0.1); font-size: 0.88rem; font-weight: 550; }
.pille .icon { width: 16px; height: 16px; }
.knopf.hell { background: #fff; color: #11522f; }
@media (hover: hover) and (pointer: fine) { .knopf.hell:hover { background: var(--minze); } }
.pfeil.hell { color: #fff; }
.app-band-bild { position: relative; justify-self: center; --breite: 260px; }
/* Handy ragt von unten ins Band: unten abgeschnitten, die Mitteilung darf überstehen */

.app-band-bild .ui-mitteilung { position: absolute; left: -90px; right: 30px; top: 64px; }

/* Kacheln mit Foto (Kommunen, Standard) */
.kachel-link.mit-foto { padding: 0; overflow: hidden; }
.kachel-link.mit-foto img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; }
.kachel-link.mit-foto > div { padding: 24px 28px 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }

/* App-Seite: drei Handys nebeneinander */
.app-held { display: grid; grid-template-columns: 0.9fr 1.1fr; align-items: center; gap: 40px; padding: 56px 0 24px; }
.app-held h1 { font-size: clamp(2.6rem, 5.4vw, 4.4rem); font-weight: 680; letter-spacing: -0.04em; line-height: 1.02; }
.telefon-reihe { display: flex; justify-content: center; align-items: center; padding: 16px 0; }
.telefon-reihe .telefon.mitte { --breite: 260px; position: relative; z-index: 2; }
.telefon-reihe .telefon.seite { --breite: 210px; }
.telefon-reihe .telefon.links { transform: translateX(32px) rotate(-6deg); }
.telefon-reihe .telefon.rechts { transform: translateX(-32px) rotate(6deg); }

/* v4 mobil: nach den v4-Regeln, damit sie gewinnen */
@media (max-width: 960px) {
  .zeile, .zeile.umgekehrt, .app-band, .app-held { grid-template-columns: 1fr; }
  .zeile.umgekehrt .zeile-text { order: 0; }
  .zeile { gap: 32px; padding: 36px 0; }
  .vierer { grid-template-columns: 1fr 1fr; }
  .app-band { padding: 40px 32px 0; gap: 28px; }
  .app-band-text { padding-bottom: 0; }
  .app-held { padding-top: 32px; }
}
@media (max-width: 600px) {
  .vierer { grid-template-columns: 1fr; }
  .app-band { padding: 32px 22px 0; border-radius: 24px; }
  .app-band-bild { --breite: 230px; }
  .app-band-bild .ui-mitteilung { left: -28px; right: -12px; top: 48px; }
  .telefon-reihe .seite { display: none; }
  .zeile-bild.flaeche { padding: 24px 16px; --breite: 230px; }
  .zeile-bild .ui-woche.schwebend { left: 8px; right: 8px; width: auto; }
  .zeile-bild .ui-mitteilung.auf-foto { left: 12px; right: 12px; bottom: 16px; }
  .zeile-bild.widgets { padding: 18px; gap: 10px; }
  .held-bild .ui-mitteilung.schwebend { left: -36px; right: -8px; }
}

/* Fotos auf Unterseiten */
.seiten-foto { margin: 32px 0 0; }
.seiten-foto img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 20px; }
.seiten-kopf.mit-bild { display: grid; grid-template-columns: 1.15fr 0.85fr; column-gap: 48px; align-items: start; }
.seiten-kopf.mit-bild > * { grid-column: 1; max-width: none; }
.seiten-kopf.mit-bild > .seiten-foto { grid-column: 2; grid-row: 1 / span 6; margin: 0; }
@media (max-width: 960px) {
  .seiten-kopf.mit-bild { grid-template-columns: 1fr; }
  .seiten-kopf.mit-bild > .seiten-foto { grid-column: 1; grid-row: auto; order: 9; margin-top: 28px; }
}

/* ================================================================== v5: Feinschliff (taste-skill, ui-ux-pro-max, emil)
   Ein Abstandssystem: Abschnitte 112/80/64 px, Überschriften eine Größe, keine Etiketten über jeder Überschrift. */
.abschnitt { padding-top: 112px; }
.abschnitt-titel { font-size: clamp(1.8rem, 3vw, 2.5rem); letter-spacing: -0.03em; margin-bottom: 40px; max-width: 22ch; }

/* Fußzeile: beliebte Orte als Zeile (nav-Regel der Fußzeile würde sie sonst untereinander stellen) */
.fuss .fuss-orte { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: baseline; }
.fuss .fuss-orte span { margin-right: 4px; }

/* Handy-Rahmen: Bildschirm mit Kamera-Aussparung, Inhalt beginnt darunter, nichts wird von den Ecken abgeschnitten */
.telefon { width: var(--breite, 280px); aspect-ratio: 9 / 19.3; padding: calc(var(--breite, 280px) * 0.032); border-radius: calc(var(--breite, 280px) * 0.16);
  background: #10161a; box-shadow: 0 0 0 1px rgb(255 255 255 / 0.06) inset, var(--schatten-hoch); display: flex; flex: none; }
.bildschirm { position: relative; flex: 1; display: flex; flex-direction: column; overflow: hidden; background: #f5f8f4;
  border-radius: calc(var(--breite, 280px) * 0.13); padding-top: calc(var(--breite, 280px) * 0.12); }
.bildschirm::before { content: ""; position: absolute; top: calc(var(--breite, 280px) * 0.035); left: 50%; width: 29%; height: calc(var(--breite, 280px) * 0.07);
  transform: translateX(-50%); border-radius: 999px; background: #10161a; }
.bildschirm img { width: 100%; flex: 1; min-height: 0; object-fit: cover; object-position: top; }

/* Kopf: Text links, Handy rechts auf einer ruhigen Fläche; höchstens vier Elemente */
.held { grid-template-columns: 1.08fr 0.92fr; gap: 56px; padding: 72px 0 72px; min-height: min(760px, calc(100dvh - 64px)); }
.held-text { max-width: 600px; }
.held h1 { font-size: clamp(2.7rem, 5.6vw, 4.6rem); max-width: 11ch; }
.held .unter { max-width: 40ch; }
.app-pille { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 22px; padding: 6px 12px 6px 8px; border-radius: 999px; background: var(--gruen-hell);
  color: var(--gruen-tief); text-decoration: none; font-size: 0.9rem; font-weight: 600; transition: background-color var(--kurz) ease; }
.app-pille .icon { width: 18px; height: 18px; }
.app-pille .icon:last-child { width: 14px; height: 14px; transition: transform var(--kurz) var(--raus); }
@media (prefers-color-scheme: dark) { .app-pille { color: var(--gruen); } }
@media (hover: hover) and (pointer: fine) { .app-pille:hover .icon:last-child { transform: translateX(3px); } }
.held-bild { --breite: 300px; width: auto; justify-self: center; padding: 40px 72px 40px; position: relative; }
.held-bild::before { content: ""; position: absolute; inset: 0 0 0 0; border-radius: 40px; background: radial-gradient(120% 90% at 50% 20%, var(--gruen-hell), transparent 70%); z-index: -1; }
.held-bild .ui-mitteilung.schwebend { left: -8px; right: auto; width: 320px; bottom: 56px; }

/* Suche mit Vorschlägen (Combobox) */
.suche.mit-vorschlaegen { position: relative; }
.vorschlaege { position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 8px); margin: 0; padding: 6px; list-style: none; background: var(--flaeche);
  border: 1px solid var(--linie); border-radius: 18px; box-shadow: var(--schatten-hoch); max-height: min(380px, 55vh); overflow-y: auto;
  transform-origin: top center; transition: opacity 150ms var(--raus), transform 150ms var(--raus); }
@starting-style { .vorschlaege { opacity: 0; transform: translateY(-4px) scale(0.98); } }
@media (prefers-reduced-motion: reduce) { .vorschlaege { transition: none; } }
.vorschlaege li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: 12px; cursor: pointer; min-height: 48px; }
.vorschlaege li[aria-selected="true"] { background: var(--flaeche-2); }
@media (hover: hover) and (pointer: fine) { .vorschlaege li:hover { background: var(--flaeche-2); } }
.v-text { display: grid; gap: 1px; min-width: 0; }
.v-name { font-weight: 600; }
.v-info { font-size: 0.86rem; color: var(--leise); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Ablauf: drei Schritte auf einer Linie, ohne Karten */
.ablauf { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; counter-reset: schritt; position: relative; }
.ablauf::before { content: ""; position: absolute; top: 26px; left: 26px; right: 26px; height: 1px; background: var(--linie); }
.ablauf li { position: relative; display: grid; gap: 8px; align-content: start; counter-increment: schritt; }
.ablauf li > .icon { box-sizing: content-box; width: 24px; height: 24px; padding: 14px; border-radius: 50%; background: var(--flaeche); border: 1px solid var(--linie); color: var(--gruen); margin-bottom: 10px; }
.ablauf h3 { font-size: 1.15rem; }
.ablauf h3::before { content: counter(schritt) ". "; color: var(--leise); font-weight: 500; }
.ablauf p { color: var(--leise); max-width: 34ch; }

/* Funktions-Zeile: Text und Foto gleich gewichtet */
#erinnerung .zeile { padding: 0; border: 0; }
.zeile-text h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); letter-spacing: -0.03em; }
.zeile-bild.foto { max-width: 480px; }

/* Bento: eine große Kachel links, zwei rechts; jede mit echtem Bild */
.bento { display: grid; grid-template-columns: 1.15fr 1fr; grid-template-rows: auto auto; gap: 16px; }
.kachel { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; overflow: hidden; border-radius: 24px;
  background: var(--flaeche-2); padding: 32px 32px 0; color: var(--tinte); text-decoration: none; }
.kachel.gross { grid-row: span 2; }
.kachel-text { display: grid; gap: 8px; max-width: 42ch; }
.kachel-text h3 { font-size: 1.35rem; letter-spacing: -0.02em; }
.kachel-text p { color: var(--leise); }
.kachel-text .pfeil { margin-top: 6px; }
.kachel-bild.handy { display: flex; justify-content: center; height: 300px; overflow: hidden; --breite: 250px; }
.kachel.gross .kachel-bild.handy { height: 470px; --breite: 290px; }
.kachel-bild.handy .telefon { box-shadow: var(--schatten); }
.widgets-kachel { padding-bottom: 32px; }
.widget-stapel { display: grid; gap: 12px; }
.widget-stapel img { width: 100%; border-radius: 22px; box-shadow: var(--schatten); }
.abc-kachel { transition: transform var(--kurz) var(--raus); }
a.kachel:active { transform: scale(0.99); }
@media (hover: hover) and (pointer: fine) { a.kachel:hover .pfeil .icon { transform: translateX(3px); } }

/* Auch ohne App: Überschrift links, Liste rechts in einer Fläche */
.ohne-app { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: center; background: var(--flaeche); border: 1px solid var(--linie); border-radius: 24px; padding: 40px; }
.ohne-app h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); letter-spacing: -0.025em; }
.link-liste { list-style: none; padding: 0; margin: 0; display: grid; }
.link-liste li + li { border-top: 1px solid var(--linie); }
.link-liste a { display: grid; grid-template-columns: 44px 1fr 20px; align-items: center; gap: 14px; padding: 16px 4px; color: var(--tinte); text-decoration: none; }
.link-liste a > .icon:first-child { box-sizing: content-box; width: 22px; height: 22px; padding: 11px; border-radius: 12px; background: var(--gruen-hell); color: var(--gruen-tief); }
@media (prefers-color-scheme: dark) { .link-liste a > .icon:first-child { color: var(--gruen); } }
.link-liste a > .icon:last-child { width: 18px; height: 18px; color: var(--leise); transition: transform var(--kurz) var(--raus); }
.link-liste span { display: grid; gap: 2px; }
.link-liste small { color: var(--leise); font-size: 0.92rem; }
@media (hover: hover) and (pointer: fine) { .link-liste a:hover > .icon:last-child { transform: translateX(3px); color: var(--gruen); } }

/* App-Band: Handy ragt von unten hinein */
.app-band-bild { --breite: 270px; height: 440px; overflow: hidden; align-self: end; padding: 0 96px; margin: 0 -40px; }
.app-band-bild .ui-mitteilung { left: 0; right: auto; width: 300px; top: 90px; }

@media (max-width: 960px) {
  .held { grid-template-columns: 1fr; min-height: 0; padding: 40px 0 48px; gap: 32px; }
  .held-bild { --breite: 250px; padding: 28px 48px; }
  .held-bild .ui-mitteilung.schwebend { left: 0; width: 280px; bottom: 36px; }
  .abschnitt { padding-top: 80px; }
  .ablauf { grid-template-columns: 1fr; gap: 20px; }
  .ablauf::before { top: 26px; bottom: 26px; left: 26px; right: auto; width: 1px; height: auto; }
  .ablauf li { grid-template-columns: 54px 1fr; column-gap: 16px; }
  .ablauf li > .icon { grid-row: span 2; margin: 0; }
  .bento { grid-template-columns: 1fr; }
  .kachel.gross { grid-row: auto; }
  .kachel.gross .kachel-bild.handy { height: 360px; --breite: 260px; }
  .ohne-app { grid-template-columns: 1fr; gap: 20px; padding: 28px; }
  .app-band-bild { padding: 0 56px; margin: 0; height: 380px; }
}
@media (max-width: 600px) {
  .abschnitt { padding-top: 64px; }
  .abschnitt-titel { margin-bottom: 28px; }
  .held-bild { --breite: 220px; padding: 20px 36px; }
  .held-bild .ui-mitteilung.schwebend { width: 250px; left: -4px; bottom: 24px; }
  .kachel { padding: 24px 22px 0; }
  .widgets-kachel { padding-bottom: 22px; }
  .kachel-bild.handy, .kachel.gross .kachel-bild.handy { height: 300px; --breite: 230px; }
  .ohne-app { padding: 22px; }
  .app-band-bild { --breite: 230px; height: 340px; padding: 0 40px; }
  .app-band-bild .ui-mitteilung { width: 250px; left: -10px; top: 70px; }
  .vorschlaege { border-radius: 16px; }
}

/* v5 Nachbesserung: weicher Kreis statt Fläche hinter dem Handy; große Kachel zeigt das Handy von oben */
.held-bild::before { inset: 50% auto auto 50%; width: 125%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%;
  background: radial-gradient(closest-side, var(--gruen-hell), transparent); }
.kachel.gross { justify-content: flex-start; }
.kachel.gross .kachel-bild.handy { flex: 1; height: auto; min-height: 440px; align-items: flex-start; }
.kachel-bild.handy { align-items: flex-start; }
@media (max-width: 960px) { .kachel.gross .kachel-bild.handy { min-height: 0; height: 360px; flex: none; } }
@media (max-width: 600px) { .kachel.gross .kachel-bild.handy { height: 300px; } }
form.mit-vorschlaegen { position: relative; }
