/* Änderungsportal – look of SCHWARZgenerativ: dark ground, one thing glows (the primary action). */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url(schriften/inter-400.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url(schriften/inter-600.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url(schriften/inter-700.woff2) format("woff2"); }

:root {
  --bg: #0a0a0a; --bg-alt: #0f0f0f; --surface: #141414; --line: #242424; --line-soft: #1b1b1b;
  --text: #ededed; --text-2: #a3a3a3; --muted: #6e6e6e;
  --signal: #00e08a; --signal-ink: #04231a; --fehler: #ff6b6b; --warn: #e8c46a;
  --r: 4px; --pad: clamp(16px, 4vw, 40px);
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; min-height: 100vh; display: flex; flex-direction: column; }
a { color: inherit; text-underline-offset: 3px; }
a:hover { color: #fff; }
h1, h2 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 0.6em; }
h1 { font-size: clamp(26px, 3.4vw, 36px); font-weight: 700; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
h2 { font-size: 19px; font-weight: 600; margin-top: 2em; }
p { margin: 0 0 0.8em; }
code { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: 0.9em; color: var(--text-2); }
:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }

.kopf { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding: 14px var(--pad); border-bottom: 1px solid var(--line); background: var(--bg-alt); }
.marke { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.marke img { height: 34px; width: auto; }
.marke span { color: var(--text-2); font-size: 14px; border-left: 1px solid var(--line); padding-left: 14px; }
.haupt { display: flex; gap: 20px; font-size: 14px; }
.haupt a { color: var(--text-2); text-decoration: none; }
.haupt a:hover { color: var(--text); }
.wer { margin-left: auto; display: flex; align-items: center; gap: 14px; font-size: 14px; flex-wrap: wrap; }
.wer form { margin: 0; }
.nutzer { color: var(--text-2); }
.ki { font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--line); }
.ki-an { color: var(--text-2); }
.ki-aus { color: var(--warn); border-color: #4a3d1c; background: #1d180b; }

.inhalt { width: 100%; max-width: 1400px; margin: 0 auto; padding: 32px var(--pad) 64px; flex: 1; }
.fuss { color: var(--muted); font-size: 13px; padding: 20px var(--pad); border-top: 1px solid var(--line-soft); }
.pfadleiste { color: var(--muted); font-size: 14px; margin-bottom: 8px; overflow-wrap: anywhere; }
.pfadleiste a { color: var(--text-2); }

.karte { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(18px, 3vw, 28px); margin-bottom: 24px; }
.karte h2:first-child { margin-top: 0; }
.karte.schmal { max-width: 440px; margin: 6vh auto; }
.hinweis { color: var(--text-2); font-size: 14px; }
.leer { color: var(--muted); }

.formular { display: grid; gap: 16px; }
.formular label { display: grid; gap: 6px; font-size: 14px; color: var(--text-2); }
input, textarea, select { font: inherit; color: var(--text); background: var(--bg); border: 1px solid var(--line); border-radius: var(--r); padding: 10px 12px; width: 100%; }
textarea { resize: vertical; min-height: 120px; }
input[type="file"] { padding: 8px; }
input:focus, textarea:focus { border-color: #3a3a3a; outline: none; box-shadow: 0 0 0 2px #2a2a2a; }

button { font: inherit; cursor: pointer; }
/* the one thing that glows */
.haupt-knopf { justify-self: start; background: var(--signal); color: var(--signal-ink); border: 0; border-radius: var(--r); padding: 11px 22px; font-weight: 600; }
.haupt-knopf:hover { filter: brightness(1.08); }
.haupt-knopf[disabled] { opacity: 0.6; cursor: progress; }
.leise { background: transparent; color: var(--text-2); border: 1px solid var(--line); border-radius: var(--r); padding: 6px 12px; font-size: 14px; }
.leise:hover { color: var(--text); border-color: #3a3a3a; }
.leise.aktiv { color: var(--text); border-color: var(--text-2); }

.meldung { border: 1px solid var(--line); border-radius: var(--r); padding: 12px 14px; background: var(--bg-alt); }
.meldung.fehler { border-color: #5a2626; color: #ffb3b3; }
.meldung.ok { border-color: #1f4d3a; }
.meldung.agentur ul { margin: 8px 0 0; padding-left: 1.2em; }
.warten { color: var(--text-2); font-size: 14px; }

.kacheln { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.kachel { display: grid; gap: 4px; padding: 18px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); text-decoration: none; }
.kachel:hover { border-color: #3a3a3a; }
.kachel span { color: var(--text-2); font-size: 14px; }

.seitenliste { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-soft); }
.seitenliste a { display: flex; flex-wrap: wrap; gap: 4px 16px; align-items: baseline; padding: 10px 4px; border-bottom: 1px solid var(--line-soft); text-decoration: none; }
.seitenliste a:hover { background: var(--bg-alt); }
.seitenliste .pfad { font-family: ui-monospace, Consolas, monospace; font-size: 13px; color: var(--text-2); min-width: 0; overflow-wrap: anywhere; flex: 0 1 34ch; }
.seitenliste .titel { flex: 1 1 30ch; min-width: 0; }
.marke-klein { font-size: 12px; color: var(--text-2); border: 1px solid var(--line); border-radius: 999px; padding: 1px 8px; }

.liste { list-style: none; margin: 0; padding: 0; }
.liste li { border-bottom: 1px solid var(--line-soft); padding: 10px 0; }
.liste p { margin: 4px 0 0; overflow-wrap: anywhere; }
.zeile { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 13px; color: var(--text-2); }
.zeit { color: var(--muted); white-space: nowrap; font-size: 13px; }
.wer-klein { color: var(--muted); font-size: 13px; }

.tabelle-huelle { overflow-x: auto; }
.tabelle { width: 100%; border-collapse: collapse; font-size: 14px; }
.tabelle th { text-align: left; color: var(--muted); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: 0.04em; padding: 8px; border-bottom: 1px solid var(--line); }
.tabelle td { vertical-align: top; padding: 10px 8px; border-bottom: 1px solid var(--line-soft); overflow-wrap: anywhere; }
.tabelle td p { margin: 0 0 4px; }
.ops { margin: 0; padding-left: 1.1em; color: var(--text-2); }
.ops.gross { color: var(--text); font-size: 15px; }
.ops.gross li { margin-bottom: 4px; }
.ops.abgelehnt { color: #ffb3b3; }
.wunsch { font-size: 17px; white-space: pre-wrap; overflow-wrap: anywhere; }

.status { font-size: 13px; font-weight: 600; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--text-2); }
.status-uebernommen { border-color: #1f4d3a; color: var(--text); }
.status-fehler, .status-veraltet { border-color: #5a2626; color: #ffb3b3; }

.entscheidung { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-end; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); }
.entscheidung form { display: grid; gap: 10px; margin: 0; }
.haken { display: flex; gap: 8px; align-items: center; font-size: 14px; color: var(--text-2); }
.haken input { width: auto; }

.vorschau-leiste { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 8px 0 12px; font-size: 14px; color: var(--muted); }
.vorschauen { display: grid; gap: 16px; }
.vorschauen figure { margin: 0; min-width: 0; }
.vorschauen figcaption { font-size: 13px; color: var(--text-2); margin-bottom: 6px; font-weight: 600; }
.rahmen-iframe { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: #fff; margin-inline: auto; width: 100%; }
.rahmen-iframe iframe { display: block; width: 100%; height: 75vh; border: 0; background: #fff; }
.vorschauen.handy .rahmen-iframe { max-width: 390px; }
.vorschauen.neben { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 900px) { .vorschauen.neben { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) {
  .marke span { display: none; }
  .wer { margin-left: 0; }
  .rahmen-iframe iframe { height: 65vh; }
}
