/* wallTransfer — Gestaltung wie wallPen Flow (Vorlage „wallPen“, dunkle Ansicht).
   Gleiche Variablen, Geometrie und Zustände wie flow.css, ergänzt um Dateiliste,
   Empfänger-Chips, Fortschritt und Link-Feld. */
:root {
  --grund: #262f36;
  --schrift: #e8ebed;
  --gruen: #cedc00;
  --akzent-schrift: #323e48;
  --flaeche: #323e48;
  --karte-grund: #323e48;
  --breite: 34rem;
  --logo-hoehe: 1.4rem;
  --radius: 14px;
  --radius-gross: 22px;
  --linie: 2px;
  --rand-anteil: 22%;
  --balken-hoehe: 4px;
  --karte-schatten: 0 24px 60px rgba(0, 0, 0, .32), 0 3px 8px rgba(0, 0, 0, .14);
  --feld-glanz: inset 0 1px 0 rgba(255, 255, 255, .055);
  --schrift-text: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  --schrift-kopf: "Barlow Condensed", "Barlow", system-ui, sans-serif;
  --rand: color-mix(in srgb, currentColor var(--rand-anteil), transparent);
  --rand-stark: color-mix(in srgb, currentColor calc(var(--rand-anteil) * 2.4), transparent);
  --gedaempft: color-mix(in srgb, currentColor 72%, transparent);
  --rot: #ff9481;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overscroll-behavior-y: contain; }
body {
  margin: 0; min-height: 100dvh;
  font-family: var(--schrift-text); font-size: 1rem; line-height: 1.5;
  color: var(--schrift); background: var(--grund);
  background-image: linear-gradient(180deg, rgba(0, 0, 0, .28), transparent 42%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
.kachel, .weiter, .dateiflaeche, .chip button, .knopf {
  -webkit-tap-highlight-color: transparent; touch-action: manipulation;
}
[hidden] { display: none !important; }
a { color: var(--gruen); }

/* ---------- Gerüst ---------- */
.rahmen { min-height: 100dvh; display: flex; flex-direction: column; overflow-x: clip; }
.seitenkopf {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.1rem 1.25rem .85rem; border-bottom: 1px solid var(--rand);
}
.marke { display: flex; align-items: center; gap: .7rem; color: inherit; text-decoration: none; }
.kopflogo { height: var(--logo-hoehe); width: auto; display: block; }
.produkt {
  font-family: var(--schrift-kopf); font-weight: 600; font-size: 1.25rem; line-height: 1;
  letter-spacing: .02em; color: var(--gruen);
  padding-left: .7rem; border-left: 1px solid var(--rand-stark);
}
.kopf-rechts { display: flex; align-items: center; gap: .25rem; }
.kopflink {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .45rem .7rem; border-radius: 10px;
  color: inherit; text-decoration: none; font-size: .9rem; font-weight: 600; opacity: .7;
  background: none; border: 0; font-family: inherit; cursor: pointer;
  transition: opacity .15s, background .15s;
}
.kopflink:hover, .kopflink:focus-visible, .kopflink.aktiv { opacity: 1; background: var(--rand); outline: none; }
.kopflink svg { width: 1.05rem; height: 1.05rem; }
.kopf-person { font-size: .82rem; opacity: .55; margin-right: .3rem; }
@media (max-width: 34rem) { .kopf-person, .kopflink .lang { display: none; } }

.segmente { display: flex; gap: .5rem; justify-content: center; padding: 0 1.25rem; margin: .95rem 0 .15rem; }
.segmente i { width: 7px; height: 7px; border-radius: 50%; background: var(--rand-stark); opacity: .3;
              transition: background .25s, opacity .25s, transform .25s; }
.segmente i.da { background: var(--gruen); opacity: 1; transform: scale(1.15); }
.segmente i.jetzt { box-shadow: 0 0 0 4px color-mix(in srgb, var(--gruen) 22%, transparent);
                    animation: punktauf .34s cubic-bezier(.34, 1.3, .64, 1) both; }
@keyframes punktauf { from { transform: scale(.3); } to { transform: scale(1.15); } }

.inhalt {
  flex-grow: 1; width: 100%; max-width: var(--breite); margin: 0 auto;
  padding: 1rem 1.25rem 0; display: flex; flex-direction: column; justify-content: center;
}
.inhalt.breit { --breite: 52rem; justify-content: flex-start; }
.fuss {
  display: flex; gap: 1.1rem; justify-content: center; flex-wrap: wrap;
  padding: .65rem 1.25rem calc(.75rem + env(safe-area-inset-bottom)); font-size: .72rem;
}
.fuss a { color: inherit; text-decoration: none; opacity: .62; }
.fuss a:hover { opacity: 1; text-decoration: underline; }

/* ---------- Typografie ---------- */
h1 {
  font-family: var(--schrift-kopf); font-weight: 600;
  font-size: clamp(1.9rem, 1.35rem + 2.2vw, 2.85rem);
  line-height: 1.06; letter-spacing: -.005em; margin: 0 0 .5rem; text-wrap: balance;
}
h1:focus { outline: none; }
h2 { font-family: var(--schrift-kopf); font-weight: 600; font-size: 1.45rem; line-height: 1.15; margin: 0 0 .8rem; }
.hinweis { margin: 0 0 1.6rem; font-size: .95rem; line-height: 1.5; color: var(--gedaempft); max-width: 46ch; }
.klein { font-size: .85rem; color: var(--gedaempft); }
.hinweisband {
  display: inline-block; margin-bottom: 1rem; font-size: .75rem; letter-spacing: .06em;
  text-transform: uppercase; padding: .35rem .8rem; border-radius: 2rem;
  background: rgba(232, 235, 237, .08); color: var(--gedaempft);
}
.fehler {
  margin: 0 0 1rem; padding: .7rem .9rem; border-radius: 6px; font-size: .95rem; font-weight: 500;
  background: rgba(255, 148, 129, .12); border-left: 3px solid var(--rot); color: #ffb3a4;
}

/* ---------- Karte ---------- */
@media (min-width: 48rem) {
  .seitenkopf, .segmente { max-width: calc(var(--breite) + 4rem); margin-left: auto; margin-right: auto; width: 100%; }
  .seitenkopf { padding: 1.5rem 2rem 1rem; }
  .inhalt { max-width: calc(var(--breite) + 4rem); padding: 2.2rem 2rem 0; }
  .inhalt.breit { max-width: calc(52rem + 4rem); }
  .karte { background: var(--karte-grund); border-radius: var(--radius-gross);
           padding: clamp(2rem, 3.5vw, 3rem); box-shadow: var(--karte-schatten); }
  .fuss { padding: .9rem 2rem 1.2rem; }
}

/* ---------- Kacheln ---------- */
.auswahl { display: grid; gap: .65rem; margin: 0; padding: 0; border: 0; }
.auswahl.zwei { grid-template-columns: 1fr 1fr; }
@media (min-width: 48rem) { .auswahl { gap: .75rem; } }
.kachel {
  display: flex; gap: .85rem; align-items: center; width: 100%; padding: 1rem;
  font: inherit; font-size: 1rem; font-weight: 500; line-height: 1.35; text-align: left; text-decoration: none;
  background: var(--flaeche); color: var(--schrift);
  border: var(--linie) solid var(--rand); border-radius: var(--radius);
  box-shadow: var(--feld-glanz); cursor: pointer; position: relative;
  transition: border-color .15s, box-shadow .15s, transform .08s, opacity .25s;
}
.kachel > span { flex: 1 1 auto; }
.kachel small { display: block; font-weight: 400; font-size: .85rem; color: var(--gedaempft); }
.kachel:hover { border-color: var(--rand-stark); box-shadow: 0 6px 18px rgba(0, 0, 0, .35); transform: translateY(-1px); }
.kachel:active { transform: translateY(0); }
.kachel:focus-visible { outline: none; border-color: var(--gruen);
                        box-shadow: 0 0 0 4px color-mix(in srgb, var(--gruen) 40%, transparent); }
.kachel::after {
  content: ""; width: 1.35rem; height: 1.35rem; flex-shrink: 0;
  border: var(--linie) solid var(--rand-stark); border-radius: 50%;
  background: no-repeat center / .8rem .8rem; transition: background-color .15s, border-color .15s;
}
.kachel.ohne-haken::after { display: none; }
.kachel.gewaehlt, .kachel:has(input:checked) {
  border-color: var(--gruen); font-weight: 600;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .09), 0 6px 20px rgba(0, 0, 0, .4);
}
.kachel.gewaehlt::after, .kachel:has(input:checked)::after {
  border-color: var(--gruen); background-color: var(--gruen);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23323E48' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
  animation: haken .3s cubic-bezier(.34, 1.5, .64, 1) both;
}
.kachel input { position: absolute; opacity: 0; width: 0; height: 0; }
@keyframes haken { from { transform: scale(.4); } to { transform: scale(1); } }
.auswahl .kachel { animation: kachelrein .32s cubic-bezier(0, 0, .2, 1) both; }
.auswahl .kachel:nth-child(2) { animation-delay: .03s; }
.auswahl .kachel:nth-child(3) { animation-delay: .06s; }
.auswahl .kachel:nth-child(4) { animation-delay: .09s; }
.auswahl .kachel:nth-child(5) { animation-delay: .12s; }
@keyframes kachelrein { from { opacity: 0; transform: translateY(.45rem); } }
.kachel .zeichen { width: 2.4rem; height: 2.4rem; flex-shrink: 0; display: grid; place-items: center;
                   border-radius: 12px; background: color-mix(in srgb, var(--gruen) 14%, transparent); color: var(--gruen); }
.kachel .zeichen svg { width: 1.35rem; height: 1.35rem; }

/* ---------- Felder ---------- */
.feld { display: grid; gap: .35rem; margin-bottom: 1rem; }
.feld > span, .feldname { font-size: .85rem; font-weight: 600; color: var(--gedaempft); }
.freiwillig { font-weight: 500; opacity: .7; }
.eingabe, .feld textarea {
  width: 100%; padding: .85rem .9rem; font: inherit; font-size: 1rem;
  color: var(--schrift); background: var(--flaeche);
  border: var(--linie) solid var(--rand); border-radius: var(--radius);
  box-shadow: var(--feld-glanz); transition: border-color .15s, box-shadow .15s;
}
.feld textarea { resize: vertical; min-height: 5rem; }
.eingabe::placeholder, .feld textarea::placeholder { color: var(--schrift); opacity: .42; }
.eingabe:focus, .feld textarea:focus, .chipfeld:focus-within {
  outline: none; border-color: var(--gruen);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--gruen) 32%, transparent);
}
.feldfehler { display: block; color: var(--rot); font-size: .82rem; font-weight: 500; }
.feldfehler:empty { display: none; }
.fehlerhaft .eingabe, .fehlerhaft .chipfeld { border-color: var(--rot); box-shadow: 0 0 0 3px rgba(255, 148, 129, .16); }
.wackeln { animation: wackeln .3s ease-in-out both; }
@keyframes wackeln { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }

/* ---------- Empfänger: E-Mail-Chips ---------- */
.chipfeld {
  display: flex; flex-wrap: wrap; gap: .45rem; align-items: center;
  min-height: 3.4rem; padding: .5rem .6rem; cursor: text;
  background: var(--flaeche); border: var(--linie) solid var(--rand); border-radius: var(--radius);
  box-shadow: var(--feld-glanz); transition: border-color .15s, box-shadow .15s;
}
.chipfeld input {
  flex: 1 1 12rem; min-width: 8rem; border: 0; outline: 0; background: none;
  font: inherit; font-size: 1rem; color: var(--schrift); padding: .35rem .3rem;
}
.chipfeld input::placeholder { color: var(--schrift); opacity: .42; }
.chip {
  display: inline-flex; align-items: center; gap: .5rem; max-width: 100%;
  padding: .35rem .35rem .35rem .75rem; border-radius: 999px;
  background: color-mix(in srgb, var(--gruen) 16%, transparent);
  border: 1px solid color-mix(in srgb, var(--gruen) 55%, transparent);
  font-size: .92rem; font-weight: 600; animation: chiprein .22s cubic-bezier(.34, 1.4, .64, 1) both;
}
.chip span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chip button {
  display: grid; place-items: center; width: 1.5rem; height: 1.5rem; border-radius: 50%;
  border: 0; cursor: pointer; background: rgba(0, 0, 0, .25); color: inherit; padding: 0;
}
.chip button:hover { background: rgba(0, 0, 0, .45); }
.chip button svg { width: .8rem; height: .8rem; }
@keyframes chiprein { from { opacity: 0; transform: scale(.7); } }
.nurlink { margin-top: 1.1rem; }

/* ---------- Dateien ---------- */
.ablage {
  position: relative; display: grid; place-items: center; gap: .4rem; text-align: center;
  padding: 2.2rem 1rem; cursor: pointer;
  background: rgba(232, 235, 237, .05); color: inherit;
  border: var(--linie) dashed var(--rand-stark); border-radius: var(--radius-gross);
  transition: border-color .15s, background .15s, transform .15s;
}
.ablage:hover, .ablage.drueber { border-color: var(--gruen); background: color-mix(in srgb, var(--gruen) 8%, transparent); }
.ablage.drueber { transform: scale(1.01); }
.ablage input[type=file] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.ablage .gross { font-family: var(--schrift-kopf); font-size: 1.35rem; font-weight: 600; }
.ablage .pfeil { width: 3rem; height: 3rem; display: grid; place-items: center; border-radius: 50%;
                 background: var(--gruen); color: var(--akzent-schrift); margin-bottom: .3rem; }
.ablage .pfeil svg { width: 1.5rem; height: 1.5rem; }
.ablage.klein-ablage { padding: .9rem 1rem; grid-auto-flow: column; justify-content: center; gap: .6rem; }
.ablage.klein-ablage .pfeil { width: 2rem; height: 2rem; margin: 0; }
.ablage.klein-ablage .pfeil svg { width: 1.1rem; height: 1.1rem; }
.ablage.klein-ablage .gross { font-size: 1.05rem; font-family: var(--schrift-text); }

.dateien { list-style: none; margin: 0 0 .8rem; padding: 0; display: grid; gap: .5rem; }
.datei {
  display: grid; grid-template-columns: 2.4rem 1fr auto; gap: .75rem; align-items: center;
  padding: .7rem .75rem; background: var(--flaeche); border: var(--linie) solid var(--rand);
  border-radius: var(--radius); box-shadow: var(--feld-glanz); position: relative; overflow: hidden;
  animation: kachelrein .28s cubic-bezier(0, 0, .2, 1) both;
}
.datei .typ {
  width: 2.4rem; height: 2.4rem; border-radius: 10px; display: grid; place-items: center;
  font-size: .62rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  background: color-mix(in srgb, var(--gruen) 14%, transparent); color: var(--gruen);
}
.datei .name { min-width: 0; }
.datei .name b { display: block; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.datei .name small { color: var(--gedaempft); font-size: .82rem; font-variant-numeric: tabular-nums; }
.datei .weg {
  width: 2rem; height: 2rem; display: grid; place-items: center; border-radius: 8px;
  border: 0; background: none; color: inherit; opacity: .55; cursor: pointer;
}
.datei .weg:hover { opacity: 1; background: var(--rand); }
.datei .weg svg { width: 1rem; height: 1rem; }
.datei .balken { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--gruen);
                 transition: width .3s linear; }
.datei.fertig { border-color: color-mix(in srgb, var(--gruen) 55%, transparent); }
.datei .status { width: 1.6rem; height: 1.6rem; display: grid; place-items: center; }
.datei.fertig .status { border-radius: 50%; background: var(--gruen); color: var(--akzent-schrift); }
.datei .status svg { width: .9rem; height: .9rem; }
.summe { display: flex; justify-content: space-between; font-size: .85rem; color: var(--gedaempft); margin: 0 .2rem 1rem; }

/* ---------- Übersicht vor dem Hochladen ---------- */
.uebersicht { list-style: none; margin: 1.6rem 0 0; padding: 1rem 1.1rem; display: grid; gap: .55rem;
              border-radius: var(--radius); background: rgba(0, 0, 0, .14); font-size: .92rem; }
.uebersicht li { display: grid; grid-template-columns: 6.5rem 1fr; gap: .8rem; }
.uebersicht li > span:first-child { color: var(--gedaempft); }
.uebersicht li > span:last-child { overflow-wrap: anywhere; }

/* ---------- Fortschritt ---------- */
.fortschritt { display: grid; justify-items: center; text-align: center; gap: .3rem; margin: .5rem 0 1.4rem; }
.ring { width: 9.5rem; height: 9.5rem; position: relative; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 7; }
.ring .spur { stroke: var(--rand); }
.ring .lauf { stroke: var(--gruen); stroke-linecap: round; transition: stroke-dashoffset .4s linear;
              filter: drop-shadow(0 0 6px color-mix(in srgb, var(--gruen) 50%, transparent)); }
.ring .prozent { position: absolute; inset: 0; display: grid; place-items: center;
                 font-family: var(--schrift-kopf); font-size: 2.4rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.tempo { font-variant-numeric: tabular-nums; color: var(--gedaempft); font-size: .92rem; min-height: 1.4em; }
.pause { color: var(--rot); font-weight: 600; font-size: .92rem; }

/* ---------- Link ---------- */
.linkfeld {
  display: flex; align-items: stretch; gap: .4rem; padding: .35rem;
  background: rgba(0, 0, 0, .2); border: var(--linie) solid color-mix(in srgb, var(--gruen) 55%, transparent);
  border-radius: var(--radius); margin: .4rem 0 1rem;
}
.linkfeld input {
  flex: 1 1 auto; min-width: 0; border: 0; background: none; color: var(--schrift);
  font: inherit; font-size: .98rem; padding: .55rem .6rem; font-variant-numeric: tabular-nums;
}
.linkfeld input:focus { outline: none; }
.knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .7rem 1.1rem; border: 0; border-radius: 10px; cursor: pointer;
  font: inherit; font-size: .95rem; font-weight: 600; text-decoration: none; white-space: nowrap;
  background: var(--gruen); color: var(--akzent-schrift); transition: filter .15s, transform .1s;
}
.knopf:hover { filter: brightness(.95); }
.knopf:active { transform: translateY(1px); }
.knopf svg { width: 1.05rem; height: 1.05rem; }
.knopf.zweit { background: var(--rand); color: var(--schrift); }
.knopf.zweit:hover { background: var(--rand-stark); }
.knopf.kopiert { background: #fff; }
.knopfreihe { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .4rem; }
.mailinfo { display: flex; gap: .6rem; align-items: flex-start; margin: 0 0 1rem; font-size: .92rem; color: var(--gedaempft); }
.mailinfo svg { width: 1.1rem; height: 1.1rem; flex-shrink: 0; margin-top: .15rem; color: var(--gruen); }

/* ---------- Abschluss ---------- */
.abschlusszeichen {
  display: grid; place-items: center; width: 3.4rem; height: 3.4rem; border-radius: 50%;
  background: var(--gruen); margin-bottom: 1.3rem;
  animation: kreisauf .5s cubic-bezier(.34, 1.35, .64, 1) both;
}
.abschlusszeichen svg { width: 1.8rem; height: 1.8rem; stroke: #262f36; }
.hakenzug { stroke-dasharray: 26; stroke-dashoffset: 26; animation: hakenzeichnen .42s .2s cubic-bezier(.65, 0, .35, 1) both; }
@keyframes kreisauf { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: scale(1); } }
@keyframes hakenzeichnen { to { stroke-dashoffset: 0; } }

/* ---------- Aktionsleiste ---------- */
.aktion {
  position: sticky; bottom: 0; z-index: 4; margin: 1.5rem -1.25rem 0;
  padding: .9rem 1.25rem calc(1.1rem + env(safe-area-inset-bottom));
  background: var(--grund); border-top: 1px solid var(--rand);
  display: flex; gap: .6rem; align-items: center;
}
.weiter {
  display: flex; align-items: center; justify-content: center; gap: .6rem;
  flex: 1 1 auto; padding: .9rem 1.5rem; font: inherit; font-size: 1rem; font-weight: 600; text-decoration: none;
  background: var(--gruen); color: var(--akzent-schrift);
  border: none; border-radius: var(--radius); cursor: pointer; transition: filter .15s, transform .1s, box-shadow .15s;
}
.weiter svg { width: 1.15rem; height: 1.15rem; }
.weiter:hover { filter: brightness(.95); box-shadow: 0 6px 18px rgba(0, 0, 0, .3); }
.weiter:active { transform: translateY(1px); }
.weiter:focus-visible { outline: none; box-shadow: 0 0 0 4px color-mix(in srgb, var(--gruen) 45%, transparent); }
.weiter.unfertig { background: transparent; color: var(--schrift); box-shadow: inset 0 0 0 2px var(--gruen); }
.weiter.unfertig:hover { filter: none; background: color-mix(in srgb, var(--gruen) 14%, transparent); }
.weiter[disabled] { opacity: .5; cursor: default; filter: none; box-shadow: none; }
.weiter.gross { padding: 1.1rem 1.5rem; font-size: 1.1rem; }
.zurueck {
  display: grid; place-items: center; width: 3.2rem; height: 3.2rem; flex: 0 0 auto;
  border-radius: var(--radius); border: var(--linie) solid var(--rand); background: none; color: inherit; cursor: pointer;
  transition: border-color .15s, transform .15s;
}
.zurueck:hover { border-color: var(--rand-stark); transform: translateX(-2px); }
.zurueck svg { width: 1.2rem; height: 1.2rem; }
@media (min-width: 48rem) {
  .aktion { position: static; margin: 1.8rem 0 0; padding: 0; background: none; border-top: none; justify-content: flex-end; }
  .weiter { flex: 0 0 auto; padding: .95rem 2.4rem; }
  .aktion .zurueck { margin-right: auto; }
}
.nebenweg { margin-top: 1.4rem; font-size: .88rem; color: var(--gedaempft); }
.nebenweg a { color: inherit; font-weight: 600; }

/* ---------- Schrittwechsel ---------- */
.schritt { animation: flaeche-kommt .44s cubic-bezier(.4, 0, .2, 1) both; }
.rueckwaerts .schritt { animation-name: flaeche-kommt-rueck; }
@keyframes flaeche-kommt { from { opacity: 0; transform: translateX(1.7rem); } }
@keyframes flaeche-kommt-rueck { from { opacity: 0; transform: translateX(-1.7rem); } }

/* ---------- Listen (Meine Transfers, Detail, Download) ---------- */
.tabelle { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.zeile {
  display: grid; grid-template-columns: 2.4rem 1fr auto; gap: .9rem; align-items: center;
  padding: .85rem 1rem; background: var(--flaeche); border: var(--linie) solid var(--rand);
  border-radius: var(--radius); color: inherit; text-decoration: none; box-shadow: var(--feld-glanz);
  transition: border-color .15s, transform .1s, box-shadow .15s;
}
a.zeile:hover { border-color: var(--rand-stark); transform: translateY(-1px); box-shadow: 0 6px 18px rgba(0, 0, 0, .35); }
.zeile .zeichen { width: 2.4rem; height: 2.4rem; display: grid; place-items: center; border-radius: 10px;
                  background: color-mix(in srgb, var(--gruen) 14%, transparent); color: var(--gruen); }
.zeile .zeichen svg { width: 1.2rem; height: 1.2rem; }
.zeile .mitte { min-width: 0; }
.zeile .mitte b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.zeile .mitte small { color: var(--gedaempft); font-size: .84rem; }
.zeile .rechts { text-align: right; font-size: .84rem; color: var(--gedaempft); white-space: nowrap; font-variant-numeric: tabular-nums; }
.zeile .rechts .knopf { font-size: .88rem; padding: .55rem .9rem; }
.marker { display: inline-block; padding: .1rem .55rem; border-radius: 999px; font-size: .72rem; font-weight: 600;
          letter-spacing: .03em; background: var(--rand); color: var(--schrift); }
.marker.gruen { background: color-mix(in srgb, var(--gruen) 22%, transparent); color: var(--gruen); }
.abschnitt { margin-top: 2.2rem; }
.kopfzeile { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.2rem; }
.kopfzeile h1 { margin: 0; }
.leer { text-align: center; padding: 2.5rem 1rem; color: var(--gedaempft); border: var(--linie) dashed var(--rand); border-radius: var(--radius-gross); }
.fakten { display: grid; grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); gap: .6rem; margin: 1.2rem 0 1.4rem; }
.fakt { padding: .8rem 1rem; border-radius: var(--radius); background: rgba(0, 0, 0, .14); }
.fakt span { display: block; font-size: .78rem; color: var(--gedaempft); }
.fakt b { font-family: var(--schrift-kopf); font-size: 1.35rem; font-weight: 600; }
.verlauf { list-style: none; margin: 0; padding: 0; font-size: .88rem; display: grid; gap: .35rem; }
.verlauf li { display: grid; grid-template-columns: 9.5rem 1fr; gap: .8rem; color: var(--gedaempft); }
.verlauf li b { color: var(--schrift); font-weight: 600; }
.inline { display: inline; }
.gefahr { background: rgba(255, 148, 129, .14); color: #ffb3a4; }
.gefahr:hover { background: rgba(255, 148, 129, .24); }
.trenner { border: 0; border-top: 1px solid var(--rand); margin: 1.8rem 0; }
.nachricht { margin: 0 0 1.4rem; padding: 1rem 1.1rem; border-radius: var(--radius); background: rgba(0, 0, 0, .14);
             white-space: pre-line; border-left: 3px solid var(--gruen); }

/* ---------- Meldung (Verbindung, Fehler) ---------- */
.stoerung {
  position: fixed; left: 50%; z-index: 50; bottom: calc(1rem + env(safe-area-inset-bottom));
  display: flex; align-items: center; gap: .8rem; max-width: calc(100vw - 2rem);
  padding: .55rem 1.1rem; background: #10171c; color: #fff; font-size: .92rem;
  border-radius: 999px; box-shadow: 0 12px 34px rgba(0, 0, 0, .28);
  transform: translateX(-50%); animation: stoerungrein .3s cubic-bezier(.34, 1.3, .64, 1) both;
}
@keyframes stoerungrein { from { opacity: 0; transform: translate(-50%, 1.2rem); } }
.ansage { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
.abstand-oben { margin-top: 1.2rem; }
body:has(.inhalt.breit) .seitenkopf { max-width: calc(52rem + 4rem); }
