/* Ä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 .name { flex: 0 1 auto; min-width: 0; font-weight: 600; overflow-wrap: anywhere; }
.seitenliste .pfad { flex: 1 1 12ch; min-width: 0; font-size: 13px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.seitenliste a.ein { padding-left: 26px; }
.seitenliste .ober { padding: 12px 4px 4px; font-size: 13px; color: var(--muted); border-bottom: 1px solid var(--line-soft); }
.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; }
}

/* the form of one part on the plain page (without scripts) */
.feld-formular h2 { margin: 0; display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: baseline; }
.feld-formular .hinweis { margin: 0; }
.feld-bild { max-width: 100%; max-height: 220px; width: auto; height: auto; justify-self: start; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.knopfzeile { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
a.leise { text-decoration: none; display: inline-block; }

/* ---- the editor: the page is the stage, everything else stays out of its way ---- */
body.app { height: 100vh; height: 100dvh; min-height: 0; overflow: hidden; }
/* the portal's own head makes room: the editor has its way home in its first row */
body.app .kopf { display: none; }
body.app .inhalt { max-width: none; padding: 0; display: flex; flex-direction: column; min-height: 0; }
body.app .fuss { display: none; }
.editor { flex: 1; min-height: 0; display: flex; flex-direction: column; }

.e-kopf { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; padding: 10px var(--pad); border-bottom: 1px solid var(--line); }
.e-titel { flex: 1 1 320px; min-width: 0; display: flex; align-items: center; gap: 10px; }
.e-heim { flex: none; display: inline-flex; padding: 4px; border-radius: var(--r); }
.e-heim:hover { background: #1f1f1f; }
.e-heim img { display: block; width: 24px; height: 24px; }
.e-site { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; color: var(--text-2); text-decoration: none; }
.e-site:hover { text-decoration: underline; }
.wechsler { flex: 0 1 auto; min-width: 0; }
.wechsler > summary { max-width: 100%; padding: 3px 10px; color: var(--text); }
.wechsler > summary h1 { display: block; flex: 0 1 auto; min-width: 0; margin: 0; font-size: 14px; font-weight: 600; letter-spacing: 0; line-height: 1.45; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wechsler > summary::after { flex: none; }
.e-leiste { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }

/* two-way switches */
.wahl { display: inline-flex; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg); }
.wahl[hidden] { display: none; }
.wahl button { background: transparent; color: var(--text-2); border: 0; padding: 6px 12px; font-size: 14px; line-height: 1.45; border-radius: 3px; }
.wahl button:hover { color: var(--text); }
.wahl button.aktiv { background: #2a2a2a; color: var(--text); font-weight: 600; }

/* what opens from the bar: the list of all parts, the wish to the AI */
.menue > summary { list-style: none; cursor: pointer; user-select: none; display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: var(--r); padding: 6px 12px; font-size: 14px; line-height: 1.45; color: var(--text-2); }
.menue > summary::-webkit-details-marker { display: none; }
.menue > summary::after { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.menue > summary:hover { color: var(--text); border-color: #3a3a3a; }
.menue[open] > summary { color: var(--text); border-color: var(--text-2); }
.menue[open] > summary::after { transform: translateY(1px) rotate(225deg); }
.zahl { color: var(--muted); font-weight: 400; font-variant-numeric: tabular-nums; }
.menue-inhalt.links { left: var(--pad); right: auto; }
.menue-inhalt { position: absolute; z-index: 30; top: calc(100% - 2px); right: var(--pad); width: min(440px, calc(100vw - 2 * var(--pad))); max-height: min(68vh, 620px); overflow: auto; overscroll-behavior: contain; background: var(--surface); border: 1px solid #3a3a3a; border-radius: var(--r); box-shadow: 0 18px 50px rgba(0, 0, 0, 0.65); padding: 14px; }
.menue-inhalt.breit { width: min(560px, calc(100vw - 2 * var(--pad))); }
.menue-inhalt > .hinweis { margin-bottom: 14px; }
.stellen h3 { margin: 14px 8px 4px; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); }
.stellen ul { list-style: none; margin: 0; padding: 0; }
.stellen a { display: flex; gap: 10px; align-items: baseline; padding: 7px 8px; border-radius: var(--r); text-decoration: none; color: var(--text-2); font-size: 14px; line-height: 1.4; overflow-wrap: anywhere; }
.stellen a:hover, .stellen a:focus-visible { background: #1f1f1f; color: var(--text); }
.stellen .art { flex: 0 0 3.6em; font-size: 12px; color: var(--muted); }
.stellen .leer { margin: 12px 8px 4px; font-size: 14px; }

/* the stage */
.buehne { flex: 1 1 auto; min-height: 130px; position: relative; display: flex; justify-content: center; background: #1c1c1c; }
.buehne-rahmen { position: relative; width: 100%; height: 100%; background: #fff; }
.buehne-rahmen iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #fff; transition: opacity 0.2s; }
.buehne-rahmen iframe.kommt { opacity: 0; pointer-events: none; }
.buehne.handy { padding: 14px 0; }
.buehne.handy .buehne-rahmen { max-width: 390px; border-radius: 12px; overflow: hidden; box-shadow: 0 0 0 1px #3a3a3a; }
/* while something is saved: a line runs along the top, the page does not take clicks */
.buehne.arbeitet iframe { pointer-events: none; }
.buehne.arbeitet::before { content: ""; position: absolute; z-index: 5; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, transparent, var(--signal), transparent) no-repeat; background-size: 40% 100%; animation: lauf 1.1s linear infinite; }
@keyframes lauf { from { background-position: -70% 0; } to { background-position: 170% 0; } }

/* one line that says what just happened */
.e-status { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; min-height: 48px; padding: 8px var(--pad); border-top: 1px solid var(--line); background: var(--bg-alt); font-size: 14px; color: var(--text-2); }
.e-status-text { flex: 1 1 260px; min-width: 0; overflow-wrap: anywhere; }
.e-status.ok .e-status-text { color: var(--text); }
.e-status.ok .e-status-text::before { content: "✓"; color: var(--signal); font-weight: 700; margin-right: 8px; }
.e-status.fehler .e-status-text { color: #ffb3b3; }
.e-status.ruhe .e-status-text::before { content: "✎"; color: var(--signal); margin-right: 8px; }
.e-status[hidden] { display: none; }
.e-rueck { margin: 0; }
.e-rueck[hidden] { display: none; }

/* the part that is being changed */
.e-feld { flex: 0 1 auto; min-height: 0; border-top: 1px solid #3a3a3a; background: var(--surface); padding: 12px var(--pad) 0; max-height: 56vh; overflow: auto; }
.e-feld[hidden] { display: none; }
.e-feld.mahnung { animation: mahnung 0.5s; }
@keyframes mahnung { 35% { background: #1c2b24; } }
.f-form { display: grid; gap: 10px; max-width: 1100px; margin: 0 auto; }
.f-kopf { display: flex; align-items: baseline; gap: 12px; }
.f-kopf strong { font-size: 15px; font-weight: 600; }
.f-zu { margin-left: auto; align-self: center; background: transparent; border: 0; color: var(--text-2); font-size: 22px; line-height: 1; padding: 2px 9px 4px; border-radius: var(--r); }
.f-zu:hover { color: var(--text); background: #222; }
.e-feld label { display: grid; gap: 4px; font-size: 13px; color: var(--text-2); }
.e-feld input, .e-feld textarea { font-size: 16px; line-height: 1.5; }
.e-feld textarea { min-height: 0; max-height: min(30vh, 260px); resize: none; display: block; }
.e-feld input:focus, .e-feld textarea:focus { border-color: var(--signal); box-shadow: 0 0 0 1px var(--signal); }
.e-feld [readonly], .e-feld [contenteditable="false"] { opacity: 0.6; }
/* running text, formatted the way it will look */
.f-rt { font-size: 16px; line-height: 1.5; color: var(--text); background: var(--bg); border: 1px solid var(--line); border-radius: var(--r); padding: 10px 12px; min-height: 46px; max-height: min(30vh, 260px); overflow: auto; overflow-wrap: anywhere; cursor: text; }
.f-rt:focus { border-color: var(--signal); box-shadow: 0 0 0 1px var(--signal); outline: none; }
.f-rt a { color: #7fe9bf; text-decoration: underline; text-underline-offset: 3px; cursor: text; }
.f-rt strong, .f-rt b { font-weight: 700; }
.f-link { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; color: var(--text-2); }
.f-link[hidden] { display: none; }
.f-link input { flex: 1 1 200px; width: auto; padding: 6px 10px; font-size: 14px; }
.f-link [hidden] { display: none; }
.f-zwei { display: grid; gap: 10px 14px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.f-bild { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 14px; align-items: start; }
.f-bild > img { width: 96px; height: 96px; object-fit: cover; border-radius: var(--r); border: 1px solid var(--line); background: #fff; }
.f-bild-rechts { display: grid; gap: 10px; }
.f-datei { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-size: 13px; color: var(--text-2); }
.f-datei label { display: inline-block; cursor: pointer; color: var(--text); font-size: 14px; }
.f-datei input { position: absolute; width: 1px; height: 1px; opacity: 0; padding: 0; border: 0; }
.f-datei label:focus-within { outline: 2px solid var(--text); outline-offset: 2px; }
.f-meldung { margin: 0; font-size: 14px; border: 1px solid var(--line); border-radius: var(--r); padding: 8px 12px; background: var(--bg-alt); }
.f-meldung.fehler { border-color: #5a2626; color: #ffb3b3; }
.f-meldung[hidden] { display: none; }
.f-fuss { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; position: sticky; bottom: 0; background: var(--surface); padding: 2px 0 14px; }
.f-werkzeug { flex: 1 1 240px; min-width: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 13px; color: var(--muted); }
.f-werkzeug button { background: transparent; border: 1px solid var(--line); border-radius: var(--r); color: var(--text-2); min-width: 34px; padding: 3px 9px; font-size: 14px; }
.f-werkzeug button:hover { color: var(--text); border-color: #3a3a3a; }
.f-werkzeug .fett { font-weight: 700; }
.f-werkzeug .betont { font-style: italic; }
.f-zahl { font-variant-numeric: tabular-nums; margin-left: 4px; }
.f-zahl.knapp { color: var(--warn); }
.f-knoepfe { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.f-knoepfe .leise { padding: 10px 16px; }
.haupt-knopf.ruht[disabled] { opacity: 0.35; cursor: default; }

@media (max-width: 640px) {
  .e-kopf { gap: 8px; }
  .e-titel { flex-basis: 100%; gap: 6px; }
  .e-site { display: none; }
  .wahl button, .menue > summary { padding: 6px 10px; }
  .f-bild { grid-template-columns: 64px minmax(0, 1fr); }
  .f-bild > img { width: 64px; height: 64px; }
}
/* a window too low for a stage: the page scrolls as a whole */
@media (max-height: 520px) {
  body.app { height: auto; overflow: auto; }
  .buehne { flex: none; height: 78vh; }
  .e-feld { max-height: none; }
}

/* link that leaves the portal's own pages: the whole website in a new tab */
.aussen { display: inline-block; border: 1px solid var(--line); border-radius: var(--r); padding: 6px 12px; font-size: 14px; font-weight: 400; letter-spacing: 0; line-height: 1.45; color: var(--text-2); text-decoration: none; white-space: nowrap; }
.aussen::after { content: "↗"; margin-left: 7px; font-size: 13px; line-height: 1; color: var(--signal); }
.aussen:hover { color: var(--text); border-color: #3a3a3a; }
.e-titel .aussen { flex: none; align-self: center; margin-left: auto; padding: 3px 10px; }
@media (max-width: 640px) { .e-titel .aussen .lang { display: none; } }
.warten h1::before { content: ""; flex: none; width: 18px; height: 18px; border: 2px solid var(--line); border-top-color: var(--signal); border-radius: 50%; animation: dreh 0.9s linear infinite; }
@keyframes dreh { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .warten h1::before { animation: none; } }

/* ---- lists that are searched: websites, pages ---- */
.kopfzeile { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 0 0 14px; }
.kopfzeile h1, .kopfzeile h2 { margin: 0; }
h2 + .hinweis, .kopfzeile + .hinweis { margin-top: -6px; }
.kopfzeile + .hinweis { margin-bottom: 14px; }
* + .kopfzeile, [data-suchraum] > .kopfzeile { margin-top: 2em; }
.pfadleiste + .kopfzeile { margin-top: 0; }
.suche { flex: 0 1 280px; width: auto; min-width: 150px; margin-left: auto; padding: 8px 12px; font-size: 14px; }
.kopfzeile .suche + .leise { text-decoration: none; padding: 8px 12px; }
.zaehler { display: inline-block; min-width: 20px; padding: 0 6px; margin-left: 4px; border-radius: 999px; background: var(--signal); color: var(--signal-ink); font-size: 12px; font-weight: 700; line-height: 20px; text-align: center; }
.kachel strong { font-size: 17px; overflow-wrap: anywhere; }
.kachel .marke-klein { justify-self: start; margin-top: 6px; }
.marke-klein { white-space: nowrap; }
.marke-klein.an { border-color: #1f4d3a; color: var(--text); }
.schnell { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.schnell a { display: grid; gap: 2px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; }
.schnell a:hover { border-color: #3a3a3a; }
.schnell span { color: var(--text-2); font-size: 13px; }
.gruppe { margin-top: 18px; }
.gruppe[hidden] { display: none; }
.gruppe h3, .gruppe > summary { margin: 0 0 6px; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-2); }
.gruppe > summary { cursor: pointer; padding: 10px 4px; border: 1px solid var(--line); border-radius: var(--r); }
.gruppe > summary:hover { color: var(--text); border-color: #3a3a3a; }
.gruppe[open] > summary { margin-bottom: 6px; }
.seitenliste a[aria-current] { box-shadow: inset 2px 0 0 var(--signal); background: var(--bg-alt); }

/* requests to the agency and what became of them */
.status.as-offen { border-color: #1f4d3a; color: var(--text); }
.status.as-arbeit { border-color: #4a3d1c; color: var(--warn); }
.status.as-erledigt { color: var(--muted); }
.anfrage .zeile { align-items: center; }
/* inbox: what a visitor wrote, field by field */
.eingang .felder { display: grid; grid-template-columns: minmax(7rem, max-content) 1fr; gap: 4px 16px; margin: 10px 0; }
.eingang .felder dt { color: var(--text-2); font-size: 13px; overflow-wrap: anywhere; }
.eingang .felder dd { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.eingang .zeile form { margin: 0; }
.marke-klein.warn { border-color: #8a5a00; color: var(--text); }
@media (max-width: 560px) { .eingang .felder { grid-template-columns: 1fr; gap: 0; } .eingang .felder dd { margin-bottom: 8px; } }
.anfrage .anliegen { white-space: pre-wrap; font-size: 16px; margin-top: 6px; }
.anfrage .antwort { margin-top: 8px; padding: 8px 12px; border-left: 2px solid var(--signal); background: var(--bg-alt); }
.antworten { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.antworten select { width: auto; flex: none; }
.antworten input { flex: 1 1 240px; width: auto; }
.verlauf .rechts { margin: 0 0 0 auto; }
.leise.klein { padding: 2px 9px; font-size: 13px; }
.durch { text-decoration: line-through; color: var(--muted); }

/* the editor's page switcher */
.stellen.seiten .gruppe { margin-top: 0; }
.stellen.seiten .gruppe h3 { margin: 14px 8px 4px; color: var(--muted); }
.stellen.seiten .seitenliste { border-top: 0; }
.stellen.seiten .seitenliste a { border-bottom: 0; padding: 7px 8px; flex-wrap: nowrap; }
.stellen.seiten .seitenliste a.ein { padding-left: 22px; }
.stellen.seiten .seitenliste .name { font-weight: 400; }
.stellen.seiten .seitenliste a[aria-current] { background: #1f1f1f; color: var(--text); }
.stellen.seiten .seitenliste .ober { border-bottom: 0; padding: 8px 8px 2px; }
.menue-inhalt .suche { width: 100%; margin: 0; flex: none; }

/* the request written at the place it is about */
.f-erkl { margin: 0; font-size: 14px; color: var(--text-2); max-width: 90ch; }
[data-status-knopf][hidden] { display: none; }
@media (max-width: 640px) { .suche { flex-basis: 100%; margin-left: 0; } }

/* one text on every page: search, the places found, replace */
.suchzeile { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 20px; max-width: 720px; }
.suchzeile input { flex: 1 1 260px; width: auto; }
.suchzeile .leise { padding: 10px 18px; }
.haken.rechts { margin-left: auto; }
.gruppe h3 a { text-decoration: none; }
.gruppe h3 a:hover { text-decoration: underline; }
.treffer { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-soft); }
.treffer li { display: flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--line-soft); }
.treffer label { flex: 1 1 auto; min-width: 0; display: flex; align-items: baseline; gap: 10px; padding: 9px 4px; cursor: pointer; }
.treffer label:hover { background: var(--bg-alt); }
.treffer input { width: auto; flex: none; margin: 0; accent-color: var(--signal); align-self: center; }
.treffer .art { flex: 0 0 3.2em; font-size: 12px; color: var(--muted); }
.treffer .umfeld { min-width: 0; overflow-wrap: anywhere; color: var(--text-2); }
.treffer mark { background: rgba(0, 224, 138, 0.22); color: var(--text); border-radius: 2px; padding: 0 2px; font-weight: 600; }
.treffer .leise { flex: none; text-decoration: none; }
.haken input { accent-color: var(--signal); }
.meldung.agentur { margin-top: 18px; display: grid; gap: 8px; }
.ersetzzeile { position: sticky; bottom: 0; z-index: 2; display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; margin-top: 18px; padding: 14px 0; background: var(--bg); border-top: 1px solid var(--line); }
.ersetzzeile label { flex: 1 1 260px; display: grid; gap: 6px; font-size: 14px; color: var(--text-2); }
.knopfzeile .aussen { align-self: center; }

/* search page: hits in the targets of links, folded away below the hits in the texts */
details.ziele { margin-top: 18px; border: 1px solid var(--line); border-radius: var(--r); padding: 0 14px; background: var(--bg-alt); }
details.ziele > summary { cursor: pointer; padding: 12px 0; font-weight: 600; }
details.ziele > summary .leise-text { font-weight: 400; color: var(--text-2); }
details.ziele[open] { padding-bottom: 10px; }
.umfeld.adresse { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 13px; overflow-wrap: anywhere; }
details.ziele > .haken { margin: 4px 0 10px; }
@media (max-width: 560px) {
  .treffer .art { display: none; }
  .treffer li { gap: 6px; }
}
