/* Schichtkontor – Markenkit „Filialfunk" (4a), Stand 10.09.2026.
   Tiefsee-Petrol ist der einzige Akzent auf dem Nocturne-Grund: als Linie, Zelle
   und Funkbogen, nie als Fläche. Neutrale kommen aus den Nocturne-Ramps.
   Keine Fremdserver: Schrift und Bilder liegen auf demselben Server. */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/inter.woff2') format('woff2');
}
/* Ersatzschrift auf die Maße von Inter gebracht, damit beim Umschalten nichts springt */
@font-face {
  font-family: 'Inter-Ersatz';
  src: local('Helvetica Neue'), local('Arial'), local('Roboto');
  size-adjust: 107%;
  ascent-override: 90%;
  descent-override: 22%;
  line-gap-override: 0%;
}

:root {
  --grund: #161826;
  --grund-hoch: #1C1F30;
  --rand: #2A2E44;
  --rand-hell: #3A3F5A;
  --text: #E9E9ED;
  --muted: #A9ABB5;
  --faint: #767988;
  --petrol-hell: #A0DBDA;
  --petrol: #53C2C1;
  --petrol-tief: #007979;
  --petrol-flaeche: #113A3A;
  --zelle: #64748B;
  --breite: 1080px;
  --font: 'Inter', 'Inter-Ersatz', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--grund);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.innen { max-width: var(--breite); margin: 0 auto; padding: 0 24px; }
.schmal { max-width: 780px; }

h1, h2, h3 { font-weight: 500; letter-spacing: -0.02em; margin: 0 0 14px; line-height: 1.2; }
h1 { font-size: 36px; }
h2 { font-size: 26px; margin-bottom: 16px; }
h3 { font-size: 17px; letter-spacing: -0.01em; }
p { margin: 0 0 14px; }
a { color: var(--petrol-hell); }
a:hover { color: var(--petrol); }

.fuehrung { font-size: 17px; color: var(--muted); margin-bottom: 22px; }
.klein { font-size: 13px; color: var(--faint); line-height: 1.5; }
.stand { font-size: 13px; color: var(--faint); margin-top: 22px; }
.versteckt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.sprung { position: absolute; left: -9999px; }
.sprung:focus { left: 24px; top: 12px; z-index: 20; background: var(--grund-hoch);
  border: 1px solid var(--petrol); border-radius: 8px; padding: 10px 16px; color: var(--petrol-hell); }

/* ── Marke ────────────────────────────────────────────────────────── */
.marke { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.marke .zeichen { width: 32px; height: 24px; display: block; flex: none; }
.wortmarke { font-weight: 500; font-size: 17px; letter-spacing: -0.01em; }
.klein-marke .zeichen { width: 26px; height: 20px; }
.klein-marke .wortmarke { font-size: 15px; }

/* ── Kopf ─────────────────────────────────────────────────────────── */
.kopf { border-bottom: 1px solid var(--rand); position: sticky; top: 0; z-index: 10;
  background: rgba(22, 24, 38, 0.92); backdrop-filter: blur(8px); }
.kopf-innen { display: flex; align-items: center; gap: 20px; min-height: 64px; flex-wrap: wrap; }
.kopf-nav { display: flex; gap: 20px; margin-left: auto; }
.kopf-nav a { color: var(--muted); text-decoration: none; font-size: 14px; }
.kopf-nav a:hover { color: var(--petrol-hell); }
.kopf-knoepfe { display: flex; gap: 10px; }

.knopf { display: inline-flex; align-items: center; justify-content: center; text-decoration: none;
  border-radius: 10px; padding: 9px 16px; font-size: 14px; font-weight: 500; border: 1px solid var(--rand-hell);
  color: var(--text); white-space: nowrap; }
.knopf:hover { border-color: var(--petrol); color: var(--petrol-hell); }
.knopf-petrol { border-color: var(--petrol); color: var(--petrol-hell); }
.knopf-petrol:hover { background: var(--petrol-flaeche); color: var(--petrol-hell); }
.knopf.gross { padding: 13px 22px; font-size: 16px; }

/* ── Hauptversprechen ─────────────────────────────────────────────── */
.oben { padding: 64px 0 56px; }
.oben-raster { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: center; }
.oben h1 { font-size: 40px; margin-bottom: 18px; }
.oben-knoepfe { display: flex; gap: 12px; flex-wrap: wrap; margin: 26px 0 16px; }

.handy-rahmen { border: 1px solid var(--rand); border-radius: 22px; background: var(--grund-hoch);
  padding: 16px 14px 22px; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35); }
.handy-zeit { text-align: center; font-size: 13px; color: var(--faint); margin-bottom: 14px; }
.push { display: flex; gap: 11px; align-items: flex-start; border: 1px solid var(--rand);
  border-radius: 14px; padding: 11px 13px; background: rgba(255, 255, 255, 0.02); }
.push + .push { margin-top: 10px; }
.push-warnung { border-color: var(--petrol-tief); }
.push-symbol { width: 32px; height: 32px; border-radius: 9px; border: 1px solid var(--rand-hell);
  display: grid; place-items: center; flex: none; }
.push-symbol svg { width: 20px; height: 15px; }
.push-kopf { display: flex; justify-content: space-between; gap: 10px; font-size: 12.5px; font-weight: 500; }
.push-uhr { color: var(--faint); font-weight: 400; }
.push-text { margin: 3px 0 0; font-size: 13.5px; color: var(--muted); line-height: 1.45; }

/* ── Bänder und Abschnitte ────────────────────────────────────────── */
.band { background: var(--grund-hoch); border-top: 1px solid var(--rand); border-bottom: 1px solid var(--rand); }
/* Damit die feste Kopfleiste beim Sprung nicht die Überschrift verdeckt */
section[id] { scroll-margin-top: 76px; }
.abschnitt { padding: 56px 0; }

.zahlen { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding-top: 32px; padding-bottom: 32px; }
.zahl { text-align: center; }
.zahl .z { display: block; font-size: 40px; font-weight: 500; letter-spacing: -0.03em; color: var(--petrol); line-height: 1.1; }
.zahl .w { display: block; font-size: 13.5px; color: var(--muted); margin-top: 4px; }

/* ── Schritte, Listen ─────────────────────────────────────────────── */
.schritte { counter-reset: schritt; list-style: none; padding: 0; margin: 0 0 20px; }
.schritte li { counter-increment: schritt; position: relative; padding: 0 0 0 46px; margin-bottom: 16px; }
.schritte li::before { content: counter(schritt); position: absolute; left: 0; top: 0;
  width: 30px; height: 30px; border: 1px solid var(--petrol-tief); border-radius: 50%;
  display: grid; place-items: center; color: var(--petrol); font-size: 14px; font-weight: 500; }
.schritte strong { font-weight: 500; color: var(--text); }

.liste { margin: 0 0 18px; }
.liste dt { font-weight: 500; color: var(--petrol-hell); margin-top: 16px; }
.liste dd { margin: 4px 0 0; color: var(--muted); }

.haken { list-style: none; padding: 0; margin: 0; }
.haken li { position: relative; padding-left: 26px; margin-bottom: 10px; color: var(--muted); }
.haken li::before { content: ""; position: absolute; left: 2px; top: 9px; width: 10px; height: 10px;
  border-radius: 3px; border: 1px solid var(--petrol); }

/* ── Kacheln ──────────────────────────────────────────────────────── */
.kacheln { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 26px 0 36px; }
.kachel { border: 1px solid var(--rand); border-radius: 14px; padding: 20px; background: rgba(255, 255, 255, 0.015); }
.kachel h3 { color: var(--petrol-hell); margin-bottom: 8px; }
.kachel p { margin: 0; color: var(--muted); font-size: 14px; }
.unter { margin-top: 34px; }

/* ── Tabellen ─────────────────────────────────────────────────────── */
.tabelle-rahmen { overflow-x: auto; border: 1px solid var(--rand); border-radius: 14px; margin-bottom: 16px; }
table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 480px; }
th, td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--rand); }
thead th { color: var(--petrol-hell); font-weight: 500; font-size: 13px; letter-spacing: 0.02em; }
tbody th { font-weight: 400; color: var(--text); }
td { color: var(--muted); }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: none; }
td.ja { color: var(--petrol); }
td.nein { color: var(--faint); }

/* ── Kontakt ──────────────────────────────────────────────────────── */
.kontakt-karte { border: 1px solid var(--rand); border-radius: 14px; padding: 22px; margin-top: 26px; }
.kontakt-zeile { display: flex; gap: 14px; align-items: baseline; margin-bottom: 8px; }
.kontakt-zeile span { color: var(--faint); font-size: 13px; min-width: 66px; }

/* ── Fragen ───────────────────────────────────────────────────────── */
#fragen h3 { margin-top: 28px; color: var(--text); }
#fragen p { color: var(--muted); }

/* ── Fuß ──────────────────────────────────────────────────────────── */
.fuss { border-top: 1px solid var(--rand); padding: 40px 0 28px; }
.fuss-innen { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.fuss-innen .klein { margin: 10px 0 0; max-width: 320px; }
.fuss-nav { display: flex; gap: 22px; flex-wrap: wrap; align-items: flex-start; }
.fuss-nav a { color: var(--muted); text-decoration: none; font-size: 14px; }
.fuss-nav a:hover { color: var(--petrol-hell); }
.fuss-zeile { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--rand); }

/* ── Rechtstexte ──────────────────────────────────────────────────── */
.recht { padding: 48px 0 64px; }
.recht h2 { font-size: 20px; margin-top: 34px; }
.recht h3 { font-size: 16px; margin-top: 24px; color: var(--petrol-hell); }
.recht p, .recht li { color: var(--muted); }
.recht ul { padding-left: 20px; }
.recht .platzhalter { color: var(--petrol-hell); }

/* ── Anmelden ─────────────────────────────────────────────────────── */
.mitte { min-height: 68vh; display: flex; align-items: center; justify-content: center; padding: 40px 20px 60px; }
.karte { width: 100%; max-width: 420px; background: var(--grund-hoch); border: 1px solid var(--rand);
  border-radius: 16px; padding: 30px 26px; }
.karte h1 { font-size: 22px; margin-bottom: 6px; }
label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.feld { display: flex; align-items: stretch; border: 1px solid var(--rand); border-radius: 10px;
  background: var(--grund); overflow: hidden; }
.feld:focus-within { border-color: var(--petrol); box-shadow: 0 0 0 3px rgba(83, 194, 193, 0.18); }
.feld input { flex: 1; min-width: 0; background: transparent; border: 0; color: var(--text);
  font: inherit; font-size: 17px; padding: 13px 14px; outline: none; text-transform: lowercase; }
.feld input::placeholder { color: var(--faint); }
.feld .rest { display: flex; align-items: center; padding: 0 14px 0 0; color: var(--muted); white-space: nowrap; }
.karte .knopf { width: 100%; margin-top: 16px; padding: 13px 18px; font-size: 16px; }
.fehler { color: var(--petrol-hell); font-size: 13px; margin: 10px 0 0; min-height: 18px; }

/* ── Schmale Geräte ───────────────────────────────────────────────── */
@media (max-width: 860px) {
  .oben-raster { grid-template-columns: 1fr; gap: 34px; }
  .oben h1 { font-size: 30px; }
  .kacheln { grid-template-columns: 1fr 1fr; }
  .kopf-nav { display: none; }
  .kopf-knoepfe { margin-left: auto; }
}
@media (max-width: 560px) {
  /* Kopf bleibt einzeilig: Marke und ein Knopf */
  .kopf-innen { min-height: 56px; gap: 12px; flex-wrap: nowrap; }
  .wortmarke { font-size: 15px; }
  .marke .zeichen { width: 27px; height: 20px; }
  .kopf-knoepfe .knopf { padding: 8px 12px; font-size: 13px; }
  h1, .oben h1 { font-size: 26px; }
  h2 { font-size: 21px; }
  .fuehrung { font-size: 16px; }
  .oben { padding: 40px 0 40px; }
  .abschnitt { padding: 40px 0; }
  .kacheln { grid-template-columns: 1fr; }
  .zahlen { grid-template-columns: 1fr; gap: 18px; }
  .zahl { display: flex; align-items: baseline; justify-content: center; gap: 10px; }
  .zahl .z { font-size: 30px; }
  .knopf.gross { width: 100%; }
  .kopf-knoepfe .knopf-still { display: none; }
}

@media print {
  body { background: #fff; color: #000; }
  .kopf, .fuss-nav, .oben-knoepfe, .handy { display: none; }
}
