/* StrikeDay Design-System — Etappe 2 (Brand v1.0: Tiefe, Petrol, Seegras, Strike, Gischt, Nebel) */

@font-face { font-family: "Archivo"; font-weight: 400; font-display: swap; src: url("/fonts/archivo-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-weight: 500; font-display: swap; src: url("/fonts/archivo-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-weight: 700; font-display: swap; src: url("/fonts/archivo-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-weight: 900; font-display: swap; src: url("/fonts/archivo-latin-900-normal.woff2") format("woff2"); }
@font-face { font-family: "PlexMono"; font-weight: 400; font-display: swap; src: url("/fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "PlexMono"; font-weight: 500; font-display: swap; src: url("/fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); }

:root {
  --tiefe:        #0A1512;
  --tiefe-2:      #0E1D18;
  --petrol:       #0F5A4A;
  --petrol-tief:  #0B4237;
  --seegras:      #23A56B;
  --seegras-hell: #7FD8B4;
  --strike:       #FF6B2B;
  --gischt:       #EDF3F0;
  --nebel:        #8FA79E;
  --tinte:        #131A17;
  --leise:        #5A6A63;
  --linie:        #DDE3E8;
  --linie-dunkel: rgba(237,243,240,.14);
  --flaeche:      #FFFFFF;
  --hintergrund:  #F4F7F6;
  --fehler:       #B42318;
  --radius:       12px;
  --schatten:     0 1px 3px rgba(0,0,0,.08);
  --sans: "Archivo", -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "PlexMono", ui-monospace, SFMono-Regular, Menlo, monospace;
}
* { box-sizing: border-box; }
body {
  margin: 0; color: var(--tinte); background: var(--hintergrund);
  font: 17px/1.55 var(--sans);
  min-height: 100vh; display: flex; flex-direction: column;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--petrol); }
main { flex: 1; width: 100%; max-width: 960px; margin: 0 auto; padding: 24px 16px; }
h1, h2, h3 { letter-spacing: -.02em; text-wrap: balance; }

/* ---------- Kopf & Fuß ---------- */
.kopf {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 14px 20px; background: var(--tiefe); color: #fff;
}
.marke { display: inline-flex; align-items: center; gap: 10px; font-weight: 900; font-size: 21px;
  color: #fff; text-decoration: none; letter-spacing: -.02em; }
.marke-zeichen { width: 44px; height: 33px; flex: none; }
.marke-wort span { color: var(--seegras-hell); }
.kopf nav { display: flex; align-items: center; gap: 16px; }
.kopf nav a { color: #E6F4EE; text-decoration: none; font-weight: 500; }
.nav-email { color: var(--nebel); font-size: 14px; }
.inline { display: inline; }

.fuss {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding: 20px; color: var(--leise); font-size: 14px; border-top: 1px solid var(--linie);
}
.fuss a { color: var(--leise); }

/* ---------- Dunkle Seiten (Startseite) ---------- */
body.dunkel { background: var(--tiefe); color: var(--gischt); }
body.dunkel main { max-width: none; padding: 0; }
body.dunkel .fuss { border-top-color: var(--linie-dunkel); color: var(--nebel); }
body.dunkel .fuss a { color: var(--nebel); }
.bahn { max-width: 1060px; margin: 0 auto; padding: 0 24px; }

.ober {
  font-family: var(--mono); font-size: 13px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--nebel); margin: 0 0 20px;
}

/* ---------- Animationen (nur wenn JS + Bewegung erlaubt) ---------- */
.js-animiert .zeigen { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.js-animiert .zeigen.sichtbar { opacity: 1; transform: none; }
.js-animiert .zeigen:nth-child(2) { transition-delay: .1s; }
.js-animiert .zeigen:nth-child(3) { transition-delay: .2s; }

@keyframes auftauchen { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes bild-atmen { from { transform: scale(1.06); } to { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) {
  .held-auftritt, .buehne-bild { animation: none !important; }
}

/* Held mit Bildwelt */
.buehne { position: relative; padding: 0; overflow: hidden; min-height: 88vh; display: flex; flex-direction: column; justify-content: center; }
.buehne-bild {
  position: absolute; inset: 0; z-index: 0;
  background: url("/bilder/morgen.webp") center 35% / cover no-repeat var(--tiefe);
  animation: bild-atmen 8s ease-out both;
}
.buehne-schleier {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(10,21,18,.55) 0%, rgba(10,21,18,.25) 40%, rgba(10,21,18,.82) 82%, var(--tiefe) 100%),
              linear-gradient(90deg, rgba(10,21,18,.6) 0%, rgba(10,21,18,.15) 60%);
}
.buehne .bahn { position: relative; z-index: 2; width: 100%; padding-top: 88px; padding-bottom: 24px; }
.held-auftritt { animation: auftauchen .9s ease-out both; }
.held-auftritt.v2 { animation-delay: .15s; }
.held-auftritt.v3 { animation-delay: .3s; }
.alt-buehne { padding: 72px 0 0; }
.buehne-innen { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; }
@media (max-width: 820px) { .buehne-innen { grid-template-columns: 1fr; gap: 36px; } }
.buehne h1 {
  font-weight: 900; font-size: clamp(44px, 7.5vw, 76px); line-height: .98;
  letter-spacing: -.03em; margin: 0 0 20px; color: var(--gischt);
}
.buehne h1 em { font-style: normal; color: var(--seegras-hell); }
.buehne .unterzeile { color: var(--nebel); font-size: 19px; max-width: 52ch; margin: 0 0 28px; }
.cta-reihe { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* Score-Karte (Vorschau des Assistenten) */
.score-karte {
  background: var(--tiefe-2); border: 1px solid var(--linie-dunkel);
  border-radius: 16px; padding: 26px; box-shadow: 0 12px 40px rgba(0,0,0,.35);
}
.score-karte .etikett { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; color: var(--nebel); text-transform: uppercase; }
.score-zeile { display: flex; align-items: baseline; gap: 14px; margin: 14px 0 4px; }
.score-zahl { font-weight: 900; font-size: 64px; line-height: 1; color: var(--gischt); font-variant-numeric: tabular-nums; }
.score-max { color: var(--nebel); font-family: var(--mono); font-size: 15px; }
.score-balken { height: 6px; border-radius: 999px; background: rgba(237,243,240,.12); overflow: hidden; margin: 14px 0 18px; }
.score-balken i { display: block; height: 100%; width: 82%; background: var(--seegras); border-radius: 999px; }
.score-daten { font-family: var(--mono); font-size: 13.5px; color: var(--nebel); line-height: 1.9; }
.score-daten b { color: var(--gischt); font-weight: 500; }
.biss-chip {
  display: inline-block; margin-top: 18px; font-family: var(--mono); font-size: 13px;
  background: rgba(255,107,43,.14); color: var(--strike); border-radius: 999px; padding: 6px 14px;
}
.score-fuss { margin-top: 14px; font-size: 13px; color: var(--nebel); }

/* Die Schnur */
.schnur { height: 56px; overflow: hidden; margin-top: 56px; }
.schnur svg { display: block; width: 100%; height: 100%; }
.schnur path { stroke: var(--seegras); stroke-width: 2; fill: none; }
.biss { animation: biss 7s ease-in-out infinite; }
@keyframes biss {
  0%, 88%, 100% { d: path("M0,28 L1000,28"); }
  90% { d: path("M0,28 L470,28 L500,8 L530,28 L1000,28"); }
  93% { d: path("M0,28 L470,28 L500,44 L530,28 L1000,28"); }
  96% { d: path("M0,28 L1000,28"); }
}
@media (prefers-reduced-motion: reduce) { .biss { animation: none; } }

/* Früher/Heute — die Emotion */
.gefuehl { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 36px; }
@media (max-width: 720px) { .gefuehl { grid-template-columns: 1fr; } }
.gefuehl-karte { border-radius: 14px; padding: 28px; border: 1px solid var(--linie-dunkel); }
.gefuehl-karte.frueher { background: var(--tiefe-2); }
.gefuehl-karte.heute { background: rgba(255,107,43,.05); border-color: rgba(255,107,43,.22); }
.gefuehl-karte .etikett { font-family: var(--mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; display: block; margin-bottom: 16px; }
.gefuehl-karte.frueher .etikett { color: var(--seegras-hell); }
.gefuehl-karte.heute .etikett { color: var(--strike); }
.gefuehl-karte p { margin: 0 0 10px; font-size: 17px; line-height: 1.6; color: var(--gischt); }
.gefuehl-karte p:last-child { margin: 0; }
.gefuehl-karte .leise-zeile { color: var(--nebel); font-size: 15px; }
.pointe { font-weight: 800; font-size: clamp(22px, 3.2vw, 30px); letter-spacing: -.02em; color: var(--gischt); margin: 40px 0 0; max-width: 30ch; line-height: 1.25; }
.pointe em { font-style: normal; color: var(--seegras-hell); }

/* Zielfisch-Galerie */
.zielfische { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 8px; }
@media (max-width: 980px) {
  .zielfische { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; margin-left: -24px; margin-right: -24px; padding-left: 24px; padding-right: 24px; }
  .zielfische::-webkit-scrollbar { display: none; }
  .fisch { flex: 0 0 72%; max-width: 320px; scroll-snap-align: center; }
}
.fisch {
  position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 4 / 5;
  border: 1px solid var(--linie-dunkel); background: var(--tiefe-2);
}
.fisch img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; display: block; }
.fisch:hover img, .fisch:focus-within img { transform: scale(1.05); }
.fisch::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,21,18,0) 40%, rgba(10,21,18,.88) 92%); pointer-events: none; }
.fisch-text { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 18px; }
.fisch-text h3 { margin: 0 0 4px; font-size: 22px; font-weight: 800; color: var(--gischt); letter-spacing: -.01em; }
.fisch-text .mono-daten { font-family: var(--mono); font-size: 12.5px; color: var(--nebel); line-height: 1.7; }
.fisch-text .mono-daten b { color: var(--seegras-hell); font-weight: 500; }
.galerie-fuss { color: var(--nebel); font-size: 13.5px; margin-top: 16px; }

/* Bildband — der Strike-Moment */
.bildband { position: relative; min-height: 62vh; display: flex; align-items: flex-end; overflow: hidden; }
.bildband-bild { position: absolute; inset: 0; background: url("/bilder/drill.webp") center 30% / cover no-repeat var(--tiefe-2); }
.bildband-schleier { position: absolute; inset: 0; background: linear-gradient(180deg, var(--tiefe) 0%, rgba(10,21,18,.1) 30%, rgba(10,21,18,.15) 60%, var(--tiefe) 100%); }
.bildband .bahn { position: relative; z-index: 2; width: 100%; padding-bottom: 64px; padding-top: 120px; }
.bildband h2 { font-weight: 900; font-size: clamp(32px, 5.5vw, 54px); letter-spacing: -.03em; color: var(--gischt); margin: 0 0 8px; text-shadow: 0 2px 24px rgba(10,21,18,.8); }
.bildband p { color: var(--gischt); opacity: .85; font-size: 18px; max-width: 46ch; margin: 0; text-shadow: 0 1px 12px rgba(10,21,18,.8); }
.bildband .mono-zeile { font-family: var(--mono); font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--seegras-hell); margin-bottom: 14px; }

/* Warteliste mit Schnur-Textur */
.warteliste-buehne { position: relative; overflow: hidden; border-radius: 16px; }
.warteliste-buehne::before { content: ""; position: absolute; inset: 0; background: url("/bilder/schnur.webp") center / cover no-repeat; opacity: .35; }
.warteliste-buehne::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(10,21,18,.92) 30%, rgba(10,21,18,.72) 100%); }
.warteliste-buehne .warteliste { position: relative; z-index: 2; background: transparent; border: 1px solid var(--linie-dunkel); max-width: none; }
.warteliste-buehne .warteliste form { max-width: 480px; }

/* Abschnitte dunkel */
.abschnitt { padding: 72px 0; border-top: 1px solid var(--linie-dunkel); }
.abschnitt h2 { font-weight: 800; font-size: clamp(28px, 4vw, 38px); margin: 0 0 14px; color: var(--gischt); }
.abschnitt .einleitung { color: var(--nebel); max-width: 62ch; margin: 0 0 36px; }

.schritte-reihe { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.schritt { background: var(--tiefe-2); border: 1px solid var(--linie-dunkel); border-radius: var(--radius); padding: 24px; }
.schritt .nr { font-family: var(--mono); font-size: 13px; color: var(--seegras); letter-spacing: .12em; }
.schritt h3 { font-size: 19px; font-weight: 700; margin: 10px 0 8px; color: var(--gischt); }
.schritt p { margin: 0; color: var(--nebel); font-size: 15.5px; line-height: 1.55; }

.funktion { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.funktion .karte { background: var(--tiefe-2); border-color: var(--linie-dunkel); box-shadow: none; }
.funktion .karte h3 { margin: 0 0 8px; font-size: 20px; color: var(--gischt); }
.funktion .karte p { color: var(--nebel); font-size: 15.5px; margin: 0 0 14px; }

/* Vereins-Block */
.vereine-block {
  background: var(--petrol); border-radius: 16px; padding: 44px 36px;
  display: grid; grid-template-columns: 1.3fr .7fr; gap: 32px; align-items: center;
}
@media (max-width: 720px) { .vereine-block { grid-template-columns: 1fr; padding: 32px 24px; } }
.vereine-block h2 { color: #fff; margin: 0 0 12px; }
.vereine-block p { color: #CFE9DD; margin: 0 0 8px; max-width: 58ch; }
.vereine-punkte { margin: 16px 0 0; padding: 0; list-style: none; }
.vereine-punkte li { padding-left: 26px; position: relative; margin-bottom: 10px; color: #E6F4EE; font-size: 15.5px; }
.vereine-punkte li::before { content: ""; position: absolute; left: 0; top: 7px; width: 14px; height: 8px; border-left: 2.5px solid var(--seegras-hell); border-bottom: 2.5px solid var(--seegras-hell); transform: rotate(-45deg); }

/* Warteliste */
.warteliste { background: var(--tiefe-2); border: 1px solid var(--linie-dunkel); border-radius: 16px; padding: 36px; max-width: 560px; }
.warteliste h2 { margin-top: 0; }
.warteliste .typen { display: flex; gap: 10px; flex-wrap: wrap; margin: 14px 0 4px; }
.warteliste .typen label {
  display: flex; align-items: center; gap: 8px; margin: 0; font-weight: 500; font-size: 15px;
  border: 1px solid var(--linie-dunkel); border-radius: 999px; padding: 9px 16px; cursor: pointer; color: var(--gischt);
}
.warteliste .typen label:has(input:checked) { border-color: var(--seegras); background: rgba(35,165,107,.12); }
.warteliste input[type=email] { background: var(--tiefe); border-color: var(--linie-dunkel); color: var(--gischt); }
.warteliste .zeile { color: var(--nebel); }
.warteliste .zeile a { color: var(--seegras-hell); }

/* FAQ */
.faq details { border-top: 1px solid var(--linie-dunkel); padding: 18px 0; }
.faq details:last-child { border-bottom: 1px solid var(--linie-dunkel); }
.faq summary { cursor: pointer; font-weight: 700; font-size: 17px; color: var(--gischt); }
.faq summary:focus-visible { outline: 2px solid var(--seegras); outline-offset: 3px; }
.faq p { color: var(--nebel); margin: 12px 0 0; max-width: 68ch; }

/* ---------- Helle Bausteine (App-Seiten) ---------- */
.held { text-align: center; padding: 48px 8px 32px; }
.held h1 { font-size: 40px; line-height: 1.12; margin: 0 0 12px; color: var(--petrol-tief); font-weight: 900; }
.unterzeile { color: var(--leise); max-width: 480px; margin: 0 auto 24px; }
.drei-spalten { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }

.karte { background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--radius);
  box-shadow: var(--schatten); padding: 24px; }
.karte.schmal { max-width: 440px; margin: 24px auto; }
.karte h1 { margin-top: 0; font-size: 26px; font-weight: 800; }
.karte h2 { margin-top: 0; font-size: 19px; }

form label { display: block; margin: 14px 0 4px; font-weight: 600; font-size: 15px; }
form label small { font-weight: 400; color: var(--leise); }
input[type=email], input[type=password], input[type=text] {
  width: 100%; padding: 12px; font-size: 16px; border: 1px solid var(--linie);
  border-radius: 10px; margin-top: 6px; font-family: var(--sans); background: #fff; color: var(--tinte);
}
input:focus { outline: 2px solid var(--seegras); outline-offset: 1px; border-color: var(--seegras); }
.zeile { display: flex; gap: 10px; align-items: flex-start; font-weight: 400 !important; font-size: 14px; }
.zeile input { margin-top: 3px; width: auto; }

.knopf {
  display: inline-block; background: var(--petrol); color: #fff; border: 0; cursor: pointer;
  padding: 13px 24px; font-size: 16px; font-weight: 700; border-radius: 10px;
  text-decoration: none; margin-top: 16px; min-height: 44px; font-family: var(--sans);
}
.knopf:hover { background: var(--petrol-tief); }
.knopf:focus-visible { outline: 2px solid var(--seegras-hell); outline-offset: 2px; }
.knopf.gross { padding: 15px 30px; font-size: 18px; }
.knopf.klein { padding: 8px 14px; font-size: 14px; margin: 0; }
.knopf.gruen { background: var(--seegras); color: #08130E; }
.knopf.gruen:hover { background: #1F9560; }
.knopf.still { background: transparent; color: var(--gischt); border: 1px solid var(--linie-dunkel); }
.knopf.still:hover { background: rgba(237,243,240,.06); }
.leise { background: none; border: 0; color: var(--nebel); cursor: pointer; font-size: 15px; padding: 0; font-family: var(--sans); }

.hinweis { padding: 12px 16px; border-radius: 10px; margin-bottom: 16px; }
.hinweis.fehler { background: #FBEAE8; color: var(--fehler); border: 1px solid #F0C4BF; }
.hinweis.gut { background: #E7F5EE; color: #14683F; border: 1px solid #BFE4D2; }
body.dunkel .hinweis.fehler { background: rgba(180,35,24,.15); color: #FF9B8A; border-color: rgba(180,35,24,.4); }
body.dunkel .hinweis.gut { background: rgba(35,165,107,.12); color: var(--seegras-hell); border-color: rgba(35,165,107,.35); }
body.dunkel .hinweis { margin: 16px auto 0; max-width: 1012px; }

.abzeichen { display: inline-block; font-size: 12.5px; font-weight: 500; padding: 4px 12px; border-radius: 999px; font-family: var(--mono); }
.abzeichen.gut { background: rgba(35,165,107,.14); color: var(--seegras); }
.abzeichen.offen { background: rgba(255,107,43,.12); color: var(--strike); }

.leise-text { color: var(--leise); font-size: 14px; }
body.dunkel .leise-text { color: var(--nebel); }
.schritte { padding-left: 20px; }
.qr { text-align: center; }
.qr img { border: 1px solid var(--linie); border-radius: 10px; padding: 8px; background: #fff; }
code { background: #EEF2F0; padding: 2px 6px; border-radius: 6px; font-size: 14px; word-break: break-all; font-family: var(--mono); }

/* ---------- Werkzeug-Ansichten (Dashboard, CRM, Postfach) ---------- */
body.werkzeug { background: var(--hintergrund); }
body.werkzeug main { max-width: 1120px; }
body.werkzeug h1 { font-size: 30px; font-weight: 900; margin: 4px 0 20px; }
body.werkzeug h2 { font-size: 18px; font-weight: 800; margin: 0 0 12px; }

.reiter { display: flex; gap: 4px; border-bottom: 1px solid var(--linie); margin-bottom: 24px; }
.reiter a { padding: 11px 18px; text-decoration: none; color: var(--leise); font-weight: 600;
  border-bottom: 2px solid transparent; margin-bottom: -1px; }
.reiter a.an { color: var(--petrol); border-bottom-color: var(--petrol); }
.reiter a:hover { color: var(--petrol); }

.kacheln { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: 28px; }
.kachel { background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--radius);
  padding: 18px; display: flex; flex-direction: column; gap: 2px; text-decoration: none; color: inherit; }
a.kachel:hover { border-color: var(--seegras); }
.kachel-zahl { font-size: 30px; font-weight: 900; color: var(--petrol-tief); font-variant-numeric: tabular-nums; }
.kachel-titel { font-size: 13.5px; color: var(--leise); }

.chip { display: inline-block; font-family: var(--mono); font-size: 12px; padding: 3px 10px; border-radius: 999px; }
.chip.grau { background: #EDF0EF; color: #5A6A63; }
.chip.blau { background: #E4EEF6; color: #245C82; }
.chip.orange { background: #FDF1E6; color: #A2551A; }
.chip.gruen { background: #E7F5EE; color: #14683F; }

.hinweis.warnung { background: #FDF1E6; color: #8A4A12; border: 1px solid #F2D2B0; }
.hinweis.warnung ul { margin: 8px 0 0; padding-left: 20px; }
.hinweis.warnung li { margin-bottom: 4px; }

.aufgaben { list-style: none; padding: 0; margin: 0; }
.aufgaben li { background: var(--flaeche); border: 1px solid var(--linie); border-radius: 10px;
  padding: 12px 16px; margin-bottom: 8px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

.filter { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.filter input, .filter select { width: auto; min-width: 180px; margin: 0; }
.filter .knopf { margin: 0; }

.huelle { overflow-x: auto; }
table.liste { width: 100%; border-collapse: collapse; background: var(--flaeche);
  border: 1px solid var(--linie); border-radius: var(--radius); overflow: hidden; font-size: 15px; }
table.liste th { text-align: left; font-family: var(--mono); font-size: 11.5px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--leise); padding: 11px 14px; border-bottom: 1px solid var(--linie); background: #FAFBFB; }
table.liste td { padding: 12px 14px; border-bottom: 1px solid var(--linie); vertical-align: top; }
table.liste tr:last-child td { border-bottom: 0; }
table.liste tr.ungelesen td { background: #F6FBF8; font-weight: 600; }
table.liste a { text-decoration: none; }
table.liste a:hover { text-decoration: underline; }
.mono { font-family: var(--mono); font-size: 13px; }

.zwei-spalten { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 28px; }
@media (max-width: 820px) { .zwei-spalten { grid-template-columns: 1fr; } }
.feld { display: flex; justify-content: space-between; gap: 14px; padding: 8px 0;
  border-bottom: 1px solid var(--linie); font-size: 15px; }
.feld:last-child { border-bottom: 0; }
.feld span { color: var(--leise); flex: none; }
.feld b { text-align: right; font-weight: 600; }
.feld .fehlt { color: #B45309; font-style: italic; font-weight: 400; }

.reihe { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.reihe select, .reihe input { margin: 0; width: auto; min-width: 170px; }
.reihe .knopf { margin: 0; }
select, textarea { width: 100%; padding: 11px; font-size: 15.5px; border: 1px solid var(--linie);
  border-radius: 10px; margin-top: 6px; font-family: var(--sans); background: #fff; color: var(--tinte); }
textarea { resize: vertical; line-height: 1.5; }
select:focus, textarea:focus { outline: 2px solid var(--seegras); outline-offset: 1px; border-color: var(--seegras); }

.verlauf { list-style: none; padding: 0; margin: 0; }
.verlauf li { background: var(--flaeche); border: 1px solid var(--linie); border-left: 3px solid var(--seegras);
  border-radius: 0 10px 10px 0; padding: 14px 16px; margin-bottom: 10px; }
.verlauf-kopf { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.verlauf .art { font-family: var(--mono); font-size: 11.5px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--petrol); }
.verlauf .betreff { font-weight: 700; margin-bottom: 4px; }
.verlauf .text { white-space: pre-wrap; font-size: 15px; color: var(--tinte); }

.kopfzeile { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.kopfzeile .knopf { margin: 0; }
.zurueck { margin: 0 0 6px; font-size: 14px; }
.nachricht-text pre { white-space: pre-wrap; word-wrap: break-word; font-family: var(--sans);
  font-size: 15.5px; line-height: 1.6; margin: 0; max-height: 460px; overflow-y: auto; }
.knopf.still { background: transparent; color: var(--leise); border: 1px solid var(--linie); }
.knopf.still:hover { background: #F2F4F3; color: var(--tinte); }
.knopf[disabled] { opacity: .45; cursor: not-allowed; }
.codes { columns: 2; column-gap: 24px; font-family: var(--mono); font-size: 15px; margin: 20px 0;
  padding-left: 22px; }
.codes li { margin-bottom: 8px; letter-spacing: .04em; }
