/* Startseite: die Oberfläche selbst ist die Seite (Grammatik „Live surface“).
   Alle Maße und Farben aus docflow.css, die wiederum aus der App stammen. */

body { overflow-x: clip; }
main { display: block; }

/* ── Kopf: Reiter der App sind die Navigation ───────────── */
.reiter { display: flex; gap: 4px; }
.reiter a {
  padding: 8px 14px; border-radius: var(--radius);
  color: var(--text-leise); text-decoration: none;
  font-weight: 550; font-size: .95rem;
  transition: background-color .14s ease-out, color .14s ease-out;
}
.reiter a:hover { background: var(--flaeche-2); color: var(--text); }
.reiter a[aria-current="true"] { background: var(--akzent-hell); color: var(--akzent); }
@media (max-width: 860px) { .reiter { display: none; } }
@media (max-width: 520px) {
  .kopf { gap: 10px; }
  .marke { font-size: .98rem; gap: 8px; }
  .kopf .knopf { min-height: 40px; padding: 8px 12px; }
}

/* ── Gemeinsame Flächen ─────────────────────────────────── */
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 var(--rand-seite); }
.flaeche {
  background: var(--flaeche);
  border: 1px solid var(--rand);
  border-radius: var(--radius-gross);
  box-shadow: var(--schatten);
}
.abschnitt-titel {
  font-size: .8rem; font-weight: 650; text-transform: uppercase; letter-spacing: .05em;
  color: var(--text-still); margin-bottom: 10px;
}
.leise { color: var(--text-leise); }
.zahl { font-variant-numeric: tabular-nums; }

.neuigkeit {
  display: flex; align-items: baseline; gap: 10px;
  padding: 11px 16px;
  border-radius: var(--radius); border: 1px solid var(--rand);
  background: var(--flaeche-2); color: var(--text-leise); font-size: .93rem;
}
.neuigkeit .punkt { width: 8px; height: 8px; border-radius: 50%; background: var(--gut); flex: none; transform: translateY(-1px); }

/* Kacheln */
.kacheln { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.kachel { background: var(--flaeche); border: 1px solid var(--rand); border-radius: var(--radius-gross); padding: 14px 16px; }
.kachel .wert { font-size: 1.7rem; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; line-height: 1.2; }
.kachel .bezeichnung { font-size: .86rem; color: var(--text-leise); margin-top: 2px; }
.kachel.springt .wert { animation: springen .5s var(--cw-ease-out); color: var(--akzent); }
@keyframes springen { 0% { transform: translateY(6px); opacity: .3; } 100% { transform: none; opacity: 1; } }

/* Dokumentenliste wie in der App */
.liste { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; list-style: none; }
.zeile {
  display: grid; grid-template-columns: 46px 1fr auto; align-items: center; gap: 14px;
  padding: 10px 14px;
  background: var(--flaeche); border: 1px solid var(--rand); border-radius: var(--radius-gross);
}
.miniatur {
  width: 46px; height: 58px; border-radius: 6px;
  border: 1px solid var(--papier-rand); background: var(--papier);
  display: grid; align-content: start; gap: 4px; padding: 9px 7px;
}
.miniatur i { display: block; height: 3px; border-radius: 2px; background: #d9d4c7; }
.miniatur i:nth-child(1) { width: 60%; background: #b9c6e8; }
.miniatur i:nth-child(3) { width: 80%; }
.miniatur i:nth-child(4) { width: 45%; }
.zeile-haupt { min-width: 0; }
.zeile-titel { font-weight: 600; font-size: 1rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.zeile-unter { display: flex; align-items: center; gap: 6px 8px; flex-wrap: wrap; margin-top: 4px; font-size: .86rem; color: var(--text-leise); }
.zeile-rechts { text-align: right; display: flex; flex-direction: column; gap: 4px; align-items: flex-end; }
.zeile-betrag { font-weight: 650; font-variant-numeric: tabular-nums; white-space: nowrap; }
.zeile-datum { font-size: .84rem; color: var(--text-still); font-variant-numeric: tabular-nums; white-space: nowrap; }
.zeile.frisch { border-color: var(--akzent); animation: frisch 2.4s ease-out; }
@keyframes frisch { 0% { background: var(--akzent-hell); transform: translateY(-8px); } 18% { transform: none; } 100% { background: var(--flaeche); } }
.zeile mark, .treffer-text mark { background: #fde9a8; color: inherit; border-radius: 3px; padding: 0 2px; }
@media (max-width: 520px) {
  .zeile { grid-template-columns: 1fr; gap: 6px; padding: 11px 12px; }
  .miniatur { display: none; }
  .zeile-titel { white-space: normal; }
  .zeile-rechts { flex-direction: row; align-items: baseline; gap: 10px; justify-content: flex-start; }
}

/* Felder */
select, input[type=search] {
  font: inherit; font-size: .97rem; color: var(--text);
  background: var(--flaeche); border: 1px solid var(--rand-stark); border-radius: var(--radius);
  padding: 9px 12px; min-height: 44px;
}
select:focus-visible, input[type=search]:focus-visible { outline: 2px solid var(--akzent); outline-offset: -1px; border-color: var(--akzent); }
input[type=search]::placeholder { color: var(--text-still); }

/* ══ Akt 1 · Ablage ═════════════════════════════════════ */
.ablage { padding: 22px 0 40px; }
.ablage .neuigkeit { margin-bottom: 16px; }
.ablage-buehne {
  display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 0; align-items: start;
}
.ablage-app { padding: 0; overflow: hidden; position: relative; z-index: 1; }
.werkzeuge {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding: 12px 16px; background: var(--grund); border-bottom: 1px solid var(--rand);
}
.werkzeuge select { width: auto; }
.maschine {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 14px; border: 1px solid var(--rand); border-radius: 999px; background: var(--flaeche);
  font-size: .9rem;
}
.maschine .klein { font-size: .74rem; font-weight: 650; color: var(--text-leise); text-transform: uppercase; letter-spacing: .04em; }
.maschine b { font-weight: 650; }
.maschine .preis { color: var(--text-still); font-size: .84rem; }
.werkzeuge .knopf { margin-left: auto; }
.ablage-inhalt { padding: 16px; display: grid; gap: 14px; }
@media (min-width: 981px) {
  .ablage-inhalt, .werkzeuge { padding-right: 56px; }
}
.leerzeile { font-size: .9rem; color: var(--text-leise); padding: 10px 2px; }

/* Hilfe-Tafel: überlappt die Oberfläche, eigene Ebene */
.hilfe {
  position: relative; z-index: 2;
  margin: 46px 0 0 -36px;
  padding: 26px 26px 24px;
  background: var(--flaeche); border: 1px solid var(--rand); border-radius: var(--radius-gross);
  box-shadow: var(--schatten-tief);
}
.hilfe .abschnitt-titel { display: flex; align-items: center; gap: 8px; }
.hilfe h1 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.05rem); line-height: 1.15; letter-spacing: -.02em; margin: 2px 0 12px; }
.hilfe h1 span { display: block; color: var(--akzent); }
.hilfe p { color: var(--text-leise); font-size: 1.02rem; }
.hilfe .handlungen { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.hilfe .tel { margin-top: 14px; font-size: .92rem; color: var(--text-leise); }
.hilfe .tel a { color: var(--text); font-weight: 600; text-decoration: none; white-space: nowrap; }
.hilfe .tel a:hover { text-decoration: underline; }
.hilfe::before { /* Zeiger zur Liste hin, wie bei einer Hilfeblase */
  content: ""; position: absolute; left: -9px; top: 64px; width: 16px; height: 16px;
  background: var(--flaeche); border-left: 1px solid var(--rand); border-bottom: 1px solid var(--rand);
  transform: rotate(45deg);
}
@media (max-width: 980px) {
  .ablage-buehne { grid-template-columns: minmax(0, 1fr); }
  .ablage-buehne [data-cw-parallax] { transform: none !important; }
  .hilfe { order: -1; margin: 0 0 18px; box-shadow: var(--schatten-hoch); }
  .hilfe::before { left: 48px; top: auto; bottom: -9px; transform: rotate(-45deg); }
}
@media (max-width: 520px) {
  .ablage { padding-top: 14px; }
  .hilfe { padding: 20px 18px 18px; }
  .hilfe .handlungen .knopf { flex: 1 1 100%; }
  .kacheln { grid-template-columns: 1fr 1fr; }
  .kacheln .kachel:nth-child(3) { display: none; }
  .werkzeuge { padding: 10px 12px; }
  .werkzeuge select { flex: 1 1 140px; }
  .maschine { width: 100%; justify-content: space-between; flex-wrap: wrap; }
  .werkzeuge .knopf { width: 100%; margin-left: 0; }
  .ablage-inhalt { padding: 12px; }
}

/* ══ Akt 2 · Einwerfen (Höhepunkt) ══════════════════════ */
.eingang [data-cw-stage] {
  padding: calc(var(--kopf-hoehe) + 18px) 0 18px;
  display: flex; align-items: center;
}
.eingang .wrap { width: 100%; }
.eingang-buehne { display: grid; grid-template-columns: 330px minmax(0, 1fr); gap: 28px; align-items: stretch; }

.korb { display: flex; flex-direction: column; }
.korb-kopf { margin-bottom: 12px; }
.korb-kopf h2 { font-size: 1.25rem; }
.korb-kopf p { color: var(--text-leise); font-size: .95rem; margin-top: 4px; }
.stapel { position: relative; flex: 1; min-height: 380px; }
.blatt {
  position: absolute; left: 0; width: 100%; max-width: 300px;
  text-align: left; font: inherit; color: var(--text);
  background: var(--papier); border: 1px solid var(--papier-rand); border-radius: 4px;
  padding: 16px 18px 18px;
  box-shadow: 0 1px 1px rgb(60 50 30 / .06), 0 6px 18px rgb(60 50 30 / .10);
  cursor: grab; touch-action: manipulation;
  transition: transform .26s var(--cw-ease-out), box-shadow .2s ease-out, opacity .3s ease-out;
}
.blatt:nth-child(1) { top: 160px; transform: rotate(-1.6deg); z-index: 3; }
.blatt:nth-child(2) { top: 80px;  transform: rotate(1.4deg);  z-index: 2; }
.blatt:nth-child(3) { top: 0;     transform: rotate(-0.6deg); z-index: 1; }
@media (hover: hover) and (pointer: fine) {
  .blatt:hover { box-shadow: 0 2px 3px rgb(60 50 30 / .08), 0 14px 30px rgb(60 50 30 / .16); }
}
.blatt:focus-visible { outline: 3px solid var(--akzent); outline-offset: 3px; z-index: 5; }
.blatt.zieht { cursor: grabbing; transition: box-shadow .2s ease-out; z-index: 10; box-shadow: 0 22px 44px rgb(60 50 30 / .24); }
.blatt.eingeworfen { opacity: 0; pointer-events: none; transform: translate(60px, 0) scale(.92) rotate(0); }
.blatt-kopf { display: flex; justify-content: space-between; gap: 10px; font-size: .78rem; color: #6d6656; }
.blatt-absender { font-weight: 700; color: #2b2a26; font-size: .86rem; }
.blatt-titel { display: block; font-weight: 700; font-size: 1rem; margin: 10px 0 6px; }
.blatt-zeilen { display: grid; gap: 5px; margin-top: 8px; }
.blatt-zeilen i { display: block; height: 4px; border-radius: 2px; background: #e2ddd0; }
.blatt-zeilen i:nth-child(2) { width: 86%; } .blatt-zeilen i:nth-child(3) { width: 64%; }
.blatt-fuss { display: flex; justify-content: space-between; margin-top: 12px; font-size: .84rem; font-variant-numeric: tabular-nums; }
.blatt-wink {
  display: inline-flex; margin-top: 12px; padding: 4px 10px; border-radius: 999px;
  background: var(--akzent-hell); color: var(--akzent); font-size: .8rem; font-weight: 650;
}
.korb-leer { color: var(--text-leise); font-size: .95rem; padding: 18px 0; }

.posteingang { display: flex; flex-direction: column; overflow: hidden; }
.posteingang-kopf {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  padding: 12px 16px; border-bottom: 1px solid var(--rand); background: var(--grund);
}
.posteingang-kopf h3 { font-size: 1rem; }
.posteingang-kopf .maschine { margin-left: auto; padding: 4px 12px; }
.posteingang-koerper { padding: 16px; display: grid; gap: 14px; }

.ablagefeld {
  border: 2px dashed var(--rand-stark); border-radius: var(--radius-gross);
  min-height: 92px; padding: 16px 18px;
  display: flex; align-items: center; justify-content: center; text-align: center;
  color: var(--text-leise); background: var(--grund);
  transition: border-color .15s ease-out, background-color .15s ease-out;
}
.ablagefeld.bereit { border-color: var(--akzent); background: var(--akzent-hell); color: var(--akzent); }
.ablagefeld.arbeitet { border-style: solid; border-color: var(--rand); background: var(--flaeche); justify-content: flex-start; text-align: left; }

.status { display: flex; align-items: center; gap: 10px; font-size: .95rem; }
.status .dreher {
  width: 14px; height: 14px; border-radius: 50%; flex: none;
  border: 2px solid var(--rand-stark); border-top-color: var(--akzent);
  animation: drehen .9s linear infinite;
}
.status .fertig { width: 18px; height: 18px; border-radius: 50%; background: var(--gut); flex: none; display: grid; place-items: center; }
.status .fertig svg { width: 11px; height: 11px; }
@keyframes drehen { to { transform: rotate(360deg); } }

.erkennung { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 14px; }
.erkannter-text {
  margin: 0; min-height: 132px; max-height: 190px; overflow: hidden;
  padding: 12px 14px;
  background: var(--flaeche-2); border: 1px solid var(--rand); border-radius: var(--radius);
  font-family: var(--schrift-mono); font-size: .8rem; line-height: 1.6; white-space: pre-wrap; word-break: break-word;
  color: var(--text);
}
.erkannter-text .leer { color: var(--text-still); font-family: var(--schrift); font-size: .9rem; }
.erkannter-text span { display: block; animation: zeile-ein .28s var(--cw-ease-out) both; }
@keyframes zeile-ein { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.felder { display: grid; gap: 8px; align-content: start; margin: 0; }
.feld { display: grid; grid-template-columns: 82px 1fr; gap: 8px; align-items: baseline; font-size: .92rem; }
.feld dt { color: var(--text-still); font-size: .84rem; }
.feld dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; min-height: 1.4em; }
.feld dd .platzhalter { display: inline-block; width: 70%; height: .7em; border-radius: 3px; background: var(--flaeche-2); }
.feld dd.da { animation: zeile-ein .3s var(--cw-ease-out) both; }

.eingang .liste .zeile:nth-child(n+4) { display: none; }

@media (max-width: 980px) {
  .eingang-buehne { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .korb, .posteingang, .erkennung > * { min-width: 0; }
  .korb-kopf p { display: none; }
  .stapel { min-height: 0; display: flex; gap: 10px; overflow: visible; }
  .blatt { position: relative; top: auto !important; flex: 1 1 0; min-width: 0; padding: 10px 11px 11px; transform: none !important; }
  .blatt.eingeworfen { opacity: .35; transform: none !important; }
  .blatt-zeilen, .blatt-kopf span:last-child { display: none; }
  .blatt-titel { font-size: .86rem; margin: 6px 0 2px; }
  .blatt-fuss { margin-top: 6px; font-size: .78rem; }
  .blatt-absender { font-size: .78rem; }
  .blatt-wink { margin-top: 8px; font-size: .74rem; padding: 3px 8px; }
  .erkennung { grid-template-columns: minmax(0, 1fr); }
  .erkannter-text { min-height: 0; max-height: 92px; }
  .eingang .liste .zeile:nth-child(n+2) { display: none; }
  .posteingang-kopf .maschine { display: none; }
}
@media (max-width: 520px) {
  .eingang [data-cw-stage] { padding-top: calc(var(--kopf-hoehe) + 8px); padding-bottom: 8px; align-items: flex-start; }
  .eingang-buehne { gap: 10px; }
  .blatt { padding: 8px 9px 9px; }
  .blatt-kopf span:first-child { font-size: .72rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .blatt-titel { font-size: .8rem; line-height: 1.3; overflow-wrap: anywhere; -webkit-hyphens: auto; hyphens: auto; }
  .blatt-fuss { display: none; }
  .blatt-wink { margin-top: 6px; }
  .posteingang-kopf { padding: 8px 12px; }
  .korb-kopf { margin-bottom: 8px; }
  .korb-kopf h2 { font-size: 1.05rem; }
  .blatt-fuss span:first-child { display: none; }
  .posteingang-koerper { padding: 10px; gap: 10px; }
  .ablagefeld { min-height: 0; padding: 10px 12px; font-size: .9rem; }
  .feld { grid-template-columns: 70px 1fr; font-size: .88rem; }
  .erkannter-text { max-height: 70px; font-size: .74rem; padding: 8px 10px; }
  .felder { grid-template-columns: 1fr 1fr; gap: 4px 10px; }
  .feld { grid-template-columns: 1fr; gap: 0; }
}
@media (max-height: 760px) and (max-width: 980px) {
  .erkennung > div:first-child { display: none; }
}

/* ══ Akt 3 · Detailansicht ══════════════════════════════ */
.detail { padding: 24px 0 56px; }
.tafel { overflow: hidden; }
.tafel-kopf { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 16px 20px; border-bottom: 1px solid var(--rand); }
.tafel-kopf h2 { font-size: 1.15rem; flex: 1 1 260px; min-width: 0; }
.tafel-koerper { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 28px; padding: 22px 20px; }
.vorschau {
  background: var(--flaeche-2); border: 1px solid var(--rand); border-radius: var(--radius);
  padding: 26px 22px; display: grid; place-items: center;
}
.vorschau .seite {
  width: 100%; max-width: 380px; aspect-ratio: 1 / 1.414;
  background: var(--papier); border: 1px solid var(--papier-rand); border-radius: 3px;
  box-shadow: 0 2px 4px rgb(60 50 30 / .06), 0 10px 26px rgb(60 50 30 / .10);
  padding: 8% 9%; font-size: clamp(.62rem, .5rem + .35vw, .8rem); line-height: 1.55; color: #2b2a26;
  display: flex; flex-direction: column; gap: .9em;
}
.seite .s-absender { font-weight: 700; font-size: 1.15em; }
.seite .s-adresse { color: #6d6656; }
.seite .s-titel { font-weight: 700; font-size: 1.3em; margin-top: .6em; }
.seite .s-text { white-space: pre-line; }
.seite .s-summe { margin-top: auto; display: flex; justify-content: space-between; border-top: 1px solid var(--papier-rand); padding-top: .6em; font-weight: 700; font-variant-numeric: tabular-nums; }
.feldgitter { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 18px; margin: 0; }
.feldgitter div { min-width: 0; }
.feldgitter dt { font-size: .82rem; font-weight: 600; color: var(--text-leise); margin-bottom: 4px; }
.feldgitter dd { margin: 0; padding: 9px 12px; border: 1px solid var(--rand-stark); border-radius: var(--radius); font-weight: 600; font-variant-numeric: tabular-nums; background: var(--flaeche); overflow-wrap: anywhere; }
.feldgitter .breit { grid-column: 1 / -1; }
.tafel-abschnitt { margin-top: 22px; }
.tafel-abschnitt .erkannter-text { max-height: 210px; min-height: 0; }
.tafel-hinweis { margin-top: 14px; font-size: .9rem; color: var(--text-leise); }
@media (max-width: 860px) {
  .tafel-koerper { grid-template-columns: 1fr; }
  .vorschau { padding: 18px; }
  .vorschau .seite { max-width: 300px; }
}
@media (max-width: 520px) {
  .feldgitter { grid-template-columns: 1fr 1fr; gap: 10px; }
  .tafel-koerper { padding: 16px 14px; }
  .tafel-kopf { padding: 14px; }
}

/* ══ Akt 4 · Einrichtung ════════════════════════════════ */
.einrichtung [data-cw-stage] { padding: calc(var(--kopf-hoehe) + 18px) 0 18px; display: flex; align-items: center; }
.einrichtung .wrap { width: 100%; }
.einrichtung-buehne { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 32px; align-items: center; }
.einrichtung-text h2 { font-size: clamp(1.4rem, 1.2rem + .8vw, 1.8rem); line-height: 1.2; margin-bottom: 12px; }
.einrichtung-text p { color: var(--text-leise); max-width: 46ch; }
.einrichtung-text p + p { margin-top: 10px; }
.schritte { list-style: none; margin: 0; padding: 6px 0; }
.schritt {
  display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 14px; align-items: start;
  padding: 16px 20px; border-top: 1px solid var(--rand);
}
.schritt:first-child { border-top: 0; }
.schritt .haken {
  width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--rand-stark);
  display: grid; place-items: center; margin-top: 1px;
  transition: background-color .25s ease-out, border-color .25s ease-out;
}
.schritt .haken svg { width: 13px; height: 13px; opacity: 0; transition: opacity .2s ease-out; }
.schritt h3 { font-size: 1.02rem; }
.schritt p { font-size: .93rem; color: var(--text-leise); margin-top: 3px; }
.schritt .merkmal { margin-top: 2px; }
.schritt.erledigt .haken { background: var(--gut); border-color: var(--gut); }
.schritt.erledigt .haken svg { opacity: 1; }
.schritt .stand-offen { display: inline-flex; }
.schritt .stand-fertig { display: none; }
.schritt.erledigt .stand-offen { display: none; }
.schritt.erledigt .stand-fertig { display: inline-flex; }
/* Am Handy fehlt der zweite Absatz der Einrichtung; der Cloud-Hinweis steht dann im Kontaktkasten. */
.hinweis-cloud { display: none; }
@media (max-width: 980px) {
  .einrichtung-buehne { grid-template-columns: 1fr; gap: 16px; }
  .einrichtung-text p + p { display: none; }
  .hinweis-cloud { display: block; }
}
@media (max-width: 520px) {
  .einrichtung [data-cw-stage] { padding-top: calc(var(--kopf-hoehe) + 8px); }
  .schritt { grid-template-columns: 26px minmax(0, 1fr); gap: 10px; padding: 11px 14px; }
  .schritt .haken { width: 22px; height: 22px; }
  .schritt > .merkmal { grid-column: 2; justify-self: start; }
  .schritt p { font-size: .88rem; }
  .einrichtung-text h2 { font-size: 1.25rem; margin-bottom: 6px; }
  .einrichtung-text p { font-size: .94rem; }
}

/* ══ Akt 5 · Suche und Vorführung ═══════════════════════ */
.suche { padding: 40px 0 0; }
.suche-buehne { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.suchkarte { padding: 20px; }
.suchkarte label { display: block; font-weight: 650; font-size: 1.1rem; margin-bottom: 4px; }
.suchkarte .hilfetext { color: var(--text-leise); font-size: .95rem; margin-bottom: 14px; }
.suchfeld { position: relative; }
.suchfeld svg { position: absolute; left: 14px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--text-still); pointer-events: none; }
.suchfeld input { width: 100%; padding: 13px 14px 13px 42px; font-size: 1.08rem; min-height: 52px; caret-color: var(--akzent); }
.vorschlaege { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 16px; align-items: center; font-size: .9rem; color: var(--text-leise); }
.vorschlag { font: inherit; font-size: .88rem; font-weight: 600; padding: 6px 12px; min-height: 36px; border-radius: 999px; border: 1px solid var(--rand-stark); background: var(--flaeche); color: var(--text); cursor: pointer; }
.vorschlag:hover { background: var(--flaeche-2); }
.vorschlag:active { transform: translateY(1px); }
.suchstatus { font-size: .9rem; color: var(--text-leise); margin-bottom: 10px; min-height: 1.4em; }
.treffer-text { font-size: .84rem; color: var(--text-leise); margin-top: 4px; font-family: var(--schrift-mono); }
.leerzustand { text-align: center; padding: 26px 16px; border: 2px dashed var(--rand); border-radius: var(--radius-gross); }
.leerzustand h3 { font-size: 1.05rem; margin-bottom: 6px; }
.leerzustand p { color: var(--text-leise); max-width: 42ch; margin: 0 auto 14px; }

.vorfuehrung { padding: 24px; }
.vorfuehrung h2 { font-size: 1.35rem; margin-bottom: 8px; }
.vorfuehrung > p { color: var(--text-leise); }
.vorfuehrung .knopf.wichtig { width: 100%; margin-top: 18px; min-height: 50px; font-size: 1.02rem; }
.telefone { display: grid; gap: 8px; margin-top: 12px; }
.telefone .knopf { width: 100%; justify-content: space-between; }
.telefone .knopf span { color: var(--text-leise); font-weight: 500; font-size: .88rem; }
.bestand { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--rand); font-size: .95rem; color: var(--text-leise); }
.bestand a { font-weight: 600; }
.suche .fuss { margin-top: 48px; }
@media (max-width: 860px) { .suche-buehne { grid-template-columns: 1fr; } }
@media (max-width: 520px) {
  .suchkarte, .vorfuehrung { padding: 16px; }
}

/* ── Bewegung reduziert: alles steht, nichts fehlt ─────── */
@media (prefers-reduced-motion: reduce) {
  .blatt, .zeile.frisch, .erkannter-text span, .feld dd.da, .kachel.springt .wert { animation: none !important; transition: none !important; }
  .status .dreher { animation: none; }
}
