/* ──────────────────────────────────────────────────────────────
   Kisatec Sanierung — Stylesheet
   Industrielles Schwarz mit Babyblau als Hausfarbe.
   Schriften: Anton (Display), Inter Tight (Text), JetBrains Mono (Labels)
   ────────────────────────────────────────────────────────────── */

:root {
  --grund:        #0B0A09;
  --flaeche:      #121110;
  --flaeche-2:    #1A1917;
  --linie:        #2A2724;
  --linie-fein:   #1F1D1B;
  --rand-stark:   #4A4540;
  --text:         #F4F1EC;
  --text-weich:   #D5D0C8;
  --text-leise:   #A8A29A;
  --text-still:   #6B655E;
  --akzent:       #86CFF0;
  --akzent-hell:  #B9E5FA;
  --akzent-dunkel:#2A4A5C;
  --gut:          #7FD6A8;
  --gut-grund:    #163A2A;
  --gut-linie:    #27583F;
  --warn:         #E08A63;
  --warn-grund:   #1C1211;
  --warn-linie:   #C2603A;

  --display: 'Anton', Impact, 'Arial Narrow Bold', sans-serif;
  --body:    'Inter Tight', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono:    'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --breit:   1360px;
  --rand:    40px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--grund);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--akzent); }
a:hover { color: var(--akzent-hell); }
::selection { background: var(--akzent); color: var(--grund); }

:focus-visible {
  outline: 2px solid var(--akzent);
  outline-offset: 2px;
}

img { max-width: 100%; height: auto; display: block; }

/* ── Grundbausteine ──────────────────────────────────────────── */

.huelle {
  max-width: var(--breit);
  margin: 0 auto;
  padding-inline: var(--rand);
}

.label {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-still);
}
.label-akzent { color: var(--akzent); }

.label-strich {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--akzent);
}
.label-strich::before {
  content: '';
  width: 44px;
  height: 2px;
  background: var(--akzent);
  flex: none;
}

h1, h2, h3, h4 { font-weight: 600; margin: 0; text-wrap: balance; }

.display {
  font-family: var(--display);
  font-weight: 400;
  line-height: 0.94;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.d-xl { font-size: clamp(50px, 7vw, 104px); }
.d-l  { font-size: clamp(38px, 4.4vw, 64px); line-height: 1; }
.d-m  { font-size: clamp(30px, 3.4vw, 46px); line-height: 1.02; }
.d-s  { font-size: clamp(26px, 2.4vw, 34px); line-height: 1.05; }

p { margin: 0; text-wrap: pretty; }
.fuehrung { font-size: 21px; line-height: 1.5; color: var(--text-weich); max-width: 60ch; }
.weich { color: var(--text-weich); }
.leise { color: var(--text-leise); }
.still { color: var(--text-still); }

.abschnitt { padding-block: clamp(64px, 8vw, 112px); }
.abschnitt-oben { padding-top: clamp(48px, 6vw, 88px); }

/* ── Knöpfe ──────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 44px;
  padding: 18px 28px;
  border: 1px solid var(--rand-stark);
  border-radius: 2px;
  background: transparent;
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn:hover { border-color: var(--text-leise); color: var(--text); }

.btn-primaer {
  background: var(--akzent);
  border-color: var(--akzent);
  color: var(--grund);
}
.btn-primaer:hover { background: var(--akzent-hell); border-color: var(--akzent-hell); color: var(--grund); }

.btn-hell {
  background: var(--text);
  border-color: var(--text);
  color: var(--grund);
}
.btn-hell:hover { background: #fff; color: var(--grund); }

.btn-klein { padding: 11px 18px; font-size: 15px; }
.btn-akzent-rand { border-color: var(--akzent-dunkel); color: var(--akzent); }
.btn-akzent-rand:hover { border-color: var(--akzent); color: var(--akzent-hell); }

.btn-reihe { display: flex; flex-wrap: wrap; gap: 12px; }

.btn-icon {
  width: 44px; height: 44px; padding: 0;
  display: inline-flex; align-items: center; justify-content: center;
}

.text-link {
  color: var(--akzent);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid var(--akzent);
  padding-bottom: 3px;
  align-self: flex-start;
}
.text-link:hover { border-color: var(--akzent-hell); }

/* ── Notfall-Leiste und Kopf ─────────────────────────────────── */

.notleiste {
  background: var(--akzent);
  color: var(--grund);
  padding: 10px var(--rand);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.notleiste a { color: var(--grund); text-decoration: underline; text-underline-offset: 3px; }
.notleiste a:hover { color: var(--grund); }
.notleiste .trenner { opacity: 0.55; }

.kopf {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(11, 10, 9, 0.93);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--linie);
}
.kopf-innen {
  max-width: var(--breit);
  margin: 0 auto;
  padding: 16px var(--rand);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.marke { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); }
.marke:hover { color: var(--text); }
.marke-text { display: flex; align-items: baseline; gap: 10px; }
.marke-name { font-family: var(--display); font-size: 28px; line-height: 1; letter-spacing: 0.02em; text-transform: uppercase; }
.marke-zusatz { font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--akzent); }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  color: var(--text);
  text-decoration: none;
  padding: 10px 14px;
  font-size: 15px;
  font-weight: 500;
  border-radius: 2px;
}
.nav a:hover { color: var(--akzent); }
.nav a[aria-current='page'] { color: var(--akzent); font-weight: 600; }
.nav .btn { margin-left: 8px; }

.nav-schalter {
  display: none;
  width: 46px; height: 46px; padding: 0;
  align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--rand-stark); border-radius: 2px;
  cursor: pointer;
}

@media (max-width: 920px) {
  :root { --rand: 20px; }
  .nav-schalter { display: inline-flex; }
  .nav {
    display: none;
    position: absolute;
    left: 0; right: 0; top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: var(--grund);
    border-bottom: 1px solid var(--linie);
    padding: 12px var(--rand) 20px;
  }
  .nav.offen { display: flex; }
  .nav a { padding: 14px 4px; font-size: 17px; }
  .nav .btn { margin-left: 0; margin-top: 8px; }
}

/* ── Hero ────────────────────────────────────────────────────── */

.hero { border-bottom: 1px solid var(--linie); }
.hero-raster {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  align-items: stretch;
}
.hero-haupt { flex: 999 1 560px; min-width: 0; padding-block: clamp(56px, 7vw, 88px) clamp(56px, 7vw, 80px); }
.hero-seite { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 20px; padding-bottom: clamp(32px, 6vw, 80px); }

.hero-haupt h1 { margin-bottom: 32px; }
.hero-haupt .label-strich { margin-bottom: 32px; }
.hero-haupt .fuehrung { margin-bottom: 40px; }

.schlagworte {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 32px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-leise);
  margin-top: 48px;
}

/* ── Bildplatz / Platzhalter ─────────────────────────────────── */

.bildplatz {
  background: var(--flaeche);
  border: 1px solid var(--linie);
  border-radius: 2px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px;
  min-height: 200px;
  overflow: hidden;
}
.bildplatz.hat-bild { padding: 0; }
.bildplatz img { width: 100%; height: 100%; object-fit: cover; }
.bildplatz-hinweis { font-size: 15px; color: var(--text-leise); margin-top: 6px; }
.format-43 { aspect-ratio: 4 / 3; }

/* ── Datenkasten ─────────────────────────────────────────────── */

.kasten { border: 1px solid var(--linie); border-radius: 2px; background: var(--flaeche); }
.kasten-kopf {
  padding: 15px 20px;
  border-bottom: 1px solid var(--linie);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--akzent);
}
.kasten-liste { margin: 0; padding: 6px 20px 14px; }
.kasten-zeile {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid var(--linie-fein);
  font-size: 15px;
}
.kasten-zeile:last-child { border-bottom: 0; }
.kasten-zeile dt { color: var(--text-leise); }
.kasten-zeile dd { margin: 0; font-weight: 600; text-align: right; }

/* ── Ticker ──────────────────────────────────────────────────── */

.ticker {
  background: var(--flaeche);
  border-bottom: 1px solid var(--linie);
  padding: 20px 0;
  overflow: hidden;
}
.ticker-band {
  display: flex;
  gap: 40px;
  align-items: center;
  white-space: nowrap;
  font-family: var(--display);
  font-size: 22px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #3A3632;
  padding-left: var(--rand);
}
.ticker-band .punkt { color: var(--akzent); }

/* ── Karten ──────────────────────────────────────────────────── */

.raster-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr));
  gap: 32px;
}
.raster-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 28px;
}
.raster-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 16px;
}

.leistung {
  background: var(--flaeche);
  border: 1px solid var(--linie);
  border-top: 3px solid var(--akzent);
  border-radius: 2px;
  padding: clamp(24px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.leistung-kopf { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.leistung-nr { font-family: var(--mono); font-size: 12px; letter-spacing: 0.18em; color: var(--akzent); }
.leistung ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.leistung li { display: flex; gap: 12px; align-items: flex-start; color: var(--text-weich); font-size: 16px; }
.leistung li::before { content: '—'; color: var(--akzent); font-family: var(--mono); flex: none; }
.leistung .text-link { margin-top: auto; }

/* ── Ablauf / Tabellenartige Felder ──────────────────────────── */

.felder {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 1px;
  background: var(--linie);
  border: 1px solid var(--linie);
  border-radius: 2px;
}
.feld { background: var(--grund); padding: 32px 28px; display: flex; flex-direction: column; gap: 12px; }
.feld-nr { font-family: var(--display); font-size: 52px; line-height: 1; color: var(--linie); }
.feld-nr.hervor { color: var(--akzent); }
.feld h3 { font-size: 20px; }
.feld p { color: var(--text-leise); font-size: 16px; }

.schritte { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 1px; background: var(--linie); border: 1px solid var(--linie); border-radius: 2px; }
.schritte > li { list-style: none; }
.schritte > li::marker { content: ""; }
.schritt { background: var(--grund); padding: 22px 26px; display: flex; gap: 20px; align-items: baseline; }
.schritt-nr { font-family: var(--mono); font-size: 13px; color: var(--akzent); flex: none; }

/* Nummerierte Liste mit eigenen Ziffern: die Zähler des Browsers
   müssen weg, sonst steht die Nummer doppelt da. */
.schritte-fein {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
  counter-reset: none;
}
.schritte-fein > li {
  list-style: none;
  display: flex;
  gap: 18px;
  align-items: baseline;
}
.schritte-fein > li::marker { content: ""; }

/* ── Galerie ─────────────────────────────────────────────────── */

.galerie { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 16px; }
.galerie figure { margin: 0; }
.galerie .bildplatz { aspect-ratio: 4 / 3; min-height: 0; }

/* ── Bänder, CTA ─────────────────────────────────────────────── */

.band {
  border-top: 1px solid var(--linie);
  border-bottom: 1px solid var(--linie);
  background: var(--flaeche);
}
.band-innen {
  max-width: var(--breit);
  margin: 0 auto;
  padding: clamp(40px, 6vw, 64px) var(--rand);
  display: flex;
  flex-wrap: wrap;
  gap: 32px 48px;
  align-items: center;
  justify-content: space-between;
}

.cta {
  border: 1px solid var(--akzent);
  border-radius: 2px;
  padding: clamp(32px, 5vw, 72px);
  display: flex;
  flex-wrap: wrap;
  gap: 40px 56px;
  align-items: center;
  justify-content: space-between;
}
.cta-text { flex: 1 1 440px; min-width: 0; }
.cta-knoepfe { flex: 0 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.cta-knopf { justify-content: space-between; padding: 20px 26px; font-size: 18px; }
.cta-knopf .zusatz { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.78; font-weight: 400; }

/* ── Formulare ───────────────────────────────────────────────── */

.formular {
  border: 1px solid var(--linie);
  border-radius: 2px;
  background: var(--flaeche);
  padding: clamp(24px, 3vw, 44px);
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.feldgruppe { display: flex; flex-direction: column; gap: 8px; }
.feldgruppe > label,
.feldlegende {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-leise);
}
.feldpaar { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 20px; }

input[type='text'], input[type='tel'], input[type='email'],
input[type='password'], input[type='number'], select, textarea {
  background: var(--grund);
  border: 1px solid var(--linie);
  border-radius: 2px;
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  padding: 15px 16px;
  min-height: 44px;
  width: 100%;
}
textarea { resize: vertical; min-height: 120px; }
input::placeholder, textarea::placeholder { color: var(--text-still); }
input:focus, select:focus, textarea:focus { border-color: var(--akzent); outline: none; }

input[type='file'] {
  background: var(--grund);
  border: 1px dashed var(--rand-stark);
  border-radius: 2px;
  color: var(--text-leise);
  font-family: var(--body);
  font-size: 15px;
  padding: 18px 16px;
  width: 100%;
}

fieldset { border: 0; margin: 0; padding: 0; }
.wahl-reihe { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.wahl {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--rand-stark);
  border-radius: 2px;
  padding: 13px 18px;
  min-height: 44px;
  font-size: 16px;
  cursor: pointer;
}
.wahl:hover { border-color: var(--akzent-dunkel); }
.wahl input { accent-color: var(--akzent); width: 17px; height: 17px; min-height: 0; }

.haken { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--text-leise); cursor: pointer; }
.haken input { accent-color: var(--akzent); width: 18px; height: 18px; min-height: 0; margin-top: 2px; flex: none; }

/* Honeypot: für Menschen unsichtbar, für Bots verlockend */
.falle { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.meldung {
  border: 1px solid var(--linie);
  border-radius: 2px;
  padding: 15px 18px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15px;
}
.meldung-gut { border-color: var(--gut-linie); background: var(--gut-grund); color: #BFEBD4; }
.meldung-fehler { border-color: var(--warn-linie); background: var(--warn-grund); color: #E8C0AC; }
.meldung ul { margin: 6px 0 0; padding-left: 20px; }

/* ── Marken / Status ─────────────────────────────────────────── */

.marker {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid var(--linie);
  border-radius: 2px;
  padding: 4px 8px;
  color: var(--text-leise);
}
.marker-online { background: var(--gut-grund); border-color: var(--gut-linie); color: var(--gut); }
.marker-neu { background: var(--akzent); border-color: var(--akzent); color: var(--grund); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  border: 1px solid var(--linie);
  border-radius: 2px;
  padding: 6px 12px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-leise);
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-still);
}

/* ── Stellenliste ────────────────────────────────────────────── */

.stellen { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 1px; background: var(--linie); border: 1px solid var(--linie); border-radius: 2px; }
.stelle {
  background: var(--grund);
  padding: clamp(22px, 3vw, 32px) clamp(20px, 2.5vw, 28px);
  display: flex;
  flex-wrap: wrap;
  gap: 20px 32px;
  align-items: center;
  justify-content: space-between;
}
.stelle-text { flex: 1 1 420px; min-width: 0; }
.stelle-titel { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 10px; }
.stelle-titel h3 { font-size: clamp(20px, 2vw, 28px); font-family: var(--display); font-weight: 400; text-transform: uppercase; line-height: 1.1; }
.stelle-aktionen { display: flex; flex-wrap: wrap; gap: 9px; }

/* ── Fuß ─────────────────────────────────────────────────────── */

.fuss { border-top: 1px solid var(--linie); background: var(--grund); }
.fuss-innen { max-width: var(--breit); margin: 0 auto; padding: clamp(48px, 6vw, 72px) var(--rand) 32px; }
.fuss-raster { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 48px 32px; }
.fuss h3 {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-still);
  margin-bottom: 18px;
}
.fuss ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; font-size: 16px; }
.fuss a { color: var(--text-weich); text-decoration: none; }
.fuss a:hover { color: var(--akzent); }
.fuss-marke { font-family: var(--display); font-size: 30px; text-transform: uppercase; margin-bottom: 14px; }
.fuss-ab {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--linie-fein);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-still);
}
.fuss-ab button {
  background: transparent; border: 0; padding: 0; cursor: pointer;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--akzent);
  text-decoration: underline; text-underline-offset: 3px;
}

/* ── Cookie-Hinweis ──────────────────────────────────────────── */

.cookie {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 100;
  width: min(420px, calc(100vw - 40px));
  background: var(--grund);
  border: 1px solid var(--akzent);
  border-radius: 2px;
  padding: 22px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
}
.cookie[hidden], .cookie-dialog[hidden] { display: none; }
.cookie-kopf { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.cookie h2 { font-size: 17px; }
.cookie p { color: var(--text-leise); font-size: 14px; margin-bottom: 18px; }
.cookie-knoepfe { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 14px; }
.cookie-knoepfe .btn { flex: 1 1 auto; padding: 13px 18px; font-size: 15px; }
.cookie-links { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 13px; }
.cookie-links a, .cookie-links button {
  color: var(--text-leise);
  text-decoration: underline;
  text-underline-offset: 3px;
  background: transparent; border: 0; padding: 0; cursor: pointer;
  font-family: var(--body); font-size: 13px;
}
.cookie-links button { color: var(--akzent); font-weight: 600; }

.cookie-dialog {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: rgba(11, 10, 9, 0.78);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.cookie-dialog-karte {
  background: var(--grund);
  border: 1px solid var(--linie);
  border-radius: 2px;
  width: 100%;
  max-width: 460px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
}
.cookie-dialog-kopf { padding: 20px 24px; border-bottom: 1px solid var(--linie); }
.cookie-dialog-kopf h2 { font-family: var(--display); font-weight: 400; font-size: 24px; text-transform: uppercase; }
.cookie-zeile {
  padding: 18px 0;
  border-bottom: 1px solid var(--linie-fein);
  display: flex;
  gap: 16px;
  justify-content: space-between;
  align-items: flex-start;
}
.cookie-zeile:last-child { border-bottom: 0; }
.cookie-zeile h3 { font-size: 16px; margin-bottom: 5px; }
.cookie-zeile p { color: var(--text-leise); font-size: 14px; margin: 0; }
.cookie-zeile label { flex: none; cursor: pointer; display: flex; align-items: center; gap: 8px; }
.cookie-zeile input { accent-color: var(--akzent); width: 18px; height: 18px; min-height: 0; }
.cookie-zeile input:disabled { accent-color: var(--rand-stark); cursor: not-allowed; }
.cookie-dialog-fuss { padding: 18px 24px 22px; border-top: 1px solid var(--linie); display: flex; flex-wrap: wrap; gap: 10px; }

/* Kartenplatzhalter, solange keine Zustimmung vorliegt */
.karte-sperre {
  background: var(--flaeche);
  border: 1px solid var(--linie);
  border-radius: 2px;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
  justify-content: center;
  padding: 24px;
}
.karte-rahmen { width: 100%; min-height: 280px; border: 1px solid var(--linie); border-radius: 2px; }

/* ── Adminbereich ────────────────────────────────────────────── */

.admin-kopf { border-bottom: 1px solid var(--linie); background: var(--flaeche); }
.admin-kopf-innen {
  max-width: var(--breit);
  margin: 0 auto;
  padding: 16px var(--rand);
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
  align-items: center;
  justify-content: space-between;
}
.admin-marke { display: flex; align-items: center; gap: 14px; }
.admin-stempel {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--akzent);
  border: 1px solid var(--akzent-dunkel);
  border-radius: 2px;
  padding: 5px 9px;
}
.admin-person { display: flex; align-items: center; gap: 9px; border: 1px solid var(--linie); border-radius: 2px; padding: 8px 13px; }
.kuerzel {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--akzent); color: var(--grund);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; flex: none;
}
.kuerzel-gross { width: 34px; height: 34px; font-size: 13px; }

.reiter { border-bottom: 1px solid var(--linie); }
.reiter-innen { max-width: var(--breit); margin: 0 auto; padding-inline: var(--rand); display: flex; flex-wrap: wrap; gap: 4px; }
.reiter a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 17px 16px;
  min-height: 44px;
  color: var(--text-leise);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  border-bottom: 2px solid transparent;
}
.reiter a:hover { color: var(--text); }
.reiter a[aria-current='page'] { color: var(--akzent); border-bottom-color: var(--akzent); }
.reiter .zaehler { background: var(--akzent); color: var(--grund); border-radius: 2px; font-family: var(--mono); font-size: 10px; padding: 3px 6px; }

.admin-inhalt { max-width: var(--breit); margin: 0 auto; padding: 36px var(--rand) 64px; }
.admin-titelzeile {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 32px;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 28px;
}
.admin-titelzeile h1 { font-family: var(--display); font-weight: 400; font-size: clamp(32px, 4vw, 42px); line-height: 1; text-transform: uppercase; margin-bottom: 8px; }

.kennzahlen { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 1px; background: var(--linie); border: 1px solid var(--linie); border-radius: 2px; margin-bottom: 32px; }
.kennzahl { background: var(--flaeche); padding: 20px 24px; }
.kennzahl .label { font-size: 10px; margin-bottom: 8px; display: block; }
.kennzahl .wert { font-family: var(--display); font-size: 34px; line-height: 1; }
.kennzahl .wert.akzent { color: var(--akzent); }
.kennzahl .wert.leise { color: var(--text-leise); }

.leer {
  border: 1px dashed var(--linie);
  border-radius: 2px;
  padding: 48px 24px;
  text-align: center;
  color: var(--text-leise);
}

.zurueck {
  background: transparent; border: 0; padding: 0;
  color: var(--text-leise); font-family: var(--body); font-size: 15px;
  text-decoration: none; cursor: pointer;
  display: inline-flex; align-items: center; gap: 9px;
  margin-bottom: 20px;
}
.zurueck:hover { color: var(--text); }

.login-seite { min-height: 100vh; display: flex; flex-direction: column; }
.login-mitte { flex: 1 1 auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 48px; padding: clamp(40px, 7vw, 72px) var(--rand); }
.login-karte { flex: 1 1 420px; max-width: 460px; min-width: 0; }
.login-info { flex: 0 1 380px; min-width: 0; border: 1px solid var(--linie); border-radius: 2px; background: var(--flaeche); padding: 32px; }
.login-info ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 20px; }
.login-info h3 { font-size: 16px; margin-bottom: 5px; }
.login-info p { color: var(--text-leise); font-size: 15px; }

/* ── Bildschirmleser ─────────────────────────────────────────── */

.nur-sr {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.sprung {
  position: absolute; left: -9999px;
  background: var(--akzent); color: var(--grund);
  padding: 12px 18px; z-index: 200; font-weight: 600;
}
.sprung:focus { left: 10px; top: 10px; }

@media print {
  .kopf, .notleiste, .cookie, .cookie-dialog, .reiter { display: none; }
  body { background: #fff; color: #000; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
