/* ==========================================================================
   Stöger Consulting · Stylesheet
   CI Richtung D „Wartungsseite“ (Entwurf 09.11.2026).
   Design-Tokens 1:1 aus branding/neu/tokens/tokens.css, darunter einige
   abgeleitete Variablen. Branding ändern = nur den :root-Block anpassen.
   Schriften selbst gehostet unter assets/fonts/ (DSGVO, keine Google-Verbindung).
   ========================================================================== */

/* ---------- Schriften (SIL Open Font License, Teilmenge Latin) ---------- */
@font-face { font-family: "Outfit"; src: url("../fonts/outfit-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Outfit"; src: url("../fonts/outfit-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("../fonts/instrument-sans-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("../fonts/instrument-sans-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("../fonts/instrument-sans-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("../fonts/ibm-plex-mono-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

:root {
  /* ---- Tokens (aus tokens.css) ---- */
  --sc-primary: #0755FF;          /* Signalblau: Logo, Knöpfe, Links, Akzente · 5,6:1 auf Weiß */
  --sc-primary-hover: #0044DB;
  --sc-ink: #08183A;              /* Nachtblau: Text, dunkle Flächen */
  --sc-ink-2: #2C3F63;            /* Tinte: Einleitungstexte */
  --sc-muted: #5A6A8C;            /* Stahl: Nebentext · 5,0:1 auf Papier */
  --sc-accent: #6E9BFF;           /* Himmel: Akzent NUR auf Nachtblau */
  --sc-paper: #F2F5FC;            /* Seitenhintergrund */
  --sc-card: #FFFFFF;             /* Karten, Kästen */
  --sc-edge: #DEE6F7;             /* Linien, Rahmen */
  --sc-bone: #E8EDF9;             /* Flächen */
  --sc-grid: rgba(7, 85, 255, .055); /* Rasterlinien */
  --sc-ok: #0F7B4F; --sc-warn: #A35A00; --sc-error: #C2261D;

  --sc-font-head: "Outfit", "Segoe UI", system-ui, sans-serif;            /* 600/700 */
  --sc-font-body: "Instrument Sans", "Segoe UI", system-ui, sans-serif;   /* 400/500/600 */
  --sc-font-mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", monospace; /* 500, Labels in Versalien */

  --sc-radius-s: 7px; --sc-radius: 12px; --sc-radius-l: 18px; --sc-radius-pill: 999px;
  --sc-shadow: 0 26px 50px -30px rgba(8, 24, 58, .45);
  --sc-grid-size: 64px;
  --sc-h1-track: -0.035em; --sc-label-track: .14em;

  /* ---- Abgeleitet (für Rollen auf der Seite) ---- */
  --sc-text: var(--sc-ink);
  --sc-link: var(--sc-primary);
  --sc-link-hover: var(--sc-primary-hover);
  --sc-on-primary: #FFFFFF;
  --sc-night: var(--sc-ink);              /* dunkle Flächen: Abschlussband, Fußzeile */
  --sc-night-text: var(--sc-bone);        /* Fließtext auf Nachtblau (Knochen, 14:1) */
  --sc-input-border: var(--sc-muted);     /* Formularfelder (Stahl, 5,4:1 gegen Weiß) */

  --sc-font-size-base: 1.0625rem;         /* 17px */
  --sc-line-height: 1.6;
  --sc-maxw: 1120px;
  --sc-maxw-text: 46rem;
  --sc-gutter: 16px;
  --sc-header-height: 68px;
  --sc-section-space: 72px;

  color-scheme: light;
}

@media (min-width: 768px) {
  :root { --sc-gutter: 32px; --sc-section-space: 104px; }
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--sc-header-height) + 8px);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  font-family: var(--sc-font-body);
  font-size: var(--sc-font-size-base);
  line-height: var(--sc-line-height);
  color: var(--sc-text);
  background-color: var(--sc-paper);
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; height: auto; }

a { color: var(--sc-link); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--sc-link-hover); }

:focus-visible {
  outline: 2px solid var(--sc-link);
  outline-offset: 3px;
  border-radius: 4px;
}

h1, h2, h3 { font-family: var(--sc-font-head); line-height: 1.12; margin: 0 0 .5em; color: var(--sc-text); }
h1 { font-size: clamp(2.3rem, 7vw, 4.1rem); font-weight: 700; letter-spacing: var(--sc-h1-track); line-height: 1.04; }
h2 { font-size: clamp(1.75rem, 4.2vw, 2.6rem); font-weight: 700; letter-spacing: -0.025em; }
h3 { font-size: 1.2rem; font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 8px; top: -100px; z-index: 100;
  background: var(--sc-primary); color: var(--sc-on-primary);
  padding: 10px 16px; border-radius: var(--sc-radius); font-weight: 600;
}
.skip-link:focus { top: 8px; color: var(--sc-on-primary); }

.container {
  max-width: var(--sc-maxw);
  margin: 0 auto;
  padding-left: var(--sc-gutter);
  padding-right: var(--sc-gutter);
}

/* Rasterhintergrund wie auf der Wartungsseite: 64-px-Linien, zur Mitte hin ausgeblendet */
.grid-bg {
  position: relative;
  background-image:
    linear-gradient(var(--sc-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--sc-grid) 1px, transparent 1px);
  background-size: var(--sc-grid-size) var(--sc-grid-size);
  background-position: center top;
}
.grid-bg::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 85% 70% at 30% 40%, transparent 0%, var(--sc-paper) 82%);
}
.grid-bg > * { position: relative; }

.section { padding: var(--sc-section-space) 0; }
.section--alt { background-color: var(--sc-card); border-top: 1px solid var(--sc-edge); border-bottom: 1px solid var(--sc-edge); }
.section-head { max-width: var(--sc-maxw-text); margin-bottom: 40px; }

/* Mono-Label in Versalien */
.eyebrow {
  font-family: var(--sc-font-mono); font-weight: 500;
  font-size: .78rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--sc-link); margin: 0 0 16px;
}
.lead { font-size: 1.12rem; color: var(--sc-ink-2); max-width: var(--sc-maxw-text); }
.muted { color: var(--sc-muted); }
.note { color: var(--sc-muted); font-size: .95rem; margin-top: 24px; max-width: var(--sc-maxw-text); }

/* Status-Pille mit pulsierendem Punkt */
.status {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 14px 7px 12px; margin: 0 0 24px;
  border: 1px solid var(--sc-edge); border-radius: var(--sc-radius-pill);
  background: var(--sc-card); color: var(--sc-muted);
  font-family: var(--sc-font-mono); font-weight: 500;
  font-size: .75rem; letter-spacing: .12em; text-transform: uppercase;
}
.beacon {
  width: 8px; height: 8px; border-radius: 50%; flex: 0 0 auto;
  background: var(--sc-primary);
  animation: sc-beacon 2.2s ease-out infinite;
}
@keyframes sc-beacon {
  0% { box-shadow: 0 0 0 0 rgba(7, 85, 255, .5); }
  70% { box-shadow: 0 0 0 9px rgba(7, 85, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(7, 85, 255, 0); }
}

/* ---------- Kopfbereich ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background-color: var(--sc-card);
  border-bottom: 1px solid var(--sc-edge);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: var(--sc-header-height); gap: 16px;
}
.logo { display: inline-flex; align-items: center; color: var(--sc-text); text-decoration: none; padding: 4px 0; }
.logo img, .logo svg { display: block; height: 30px; width: auto; }
@media (min-width: 768px) { .logo img, .logo svg { height: 34px; } }

.nav-toggle {
  display: none; align-items: center; gap: 10px;
  min-height: 44px; padding: 8px 14px;
  font-family: var(--sc-font-mono); font-weight: 500; font-size: .78rem;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--sc-primary); background: var(--sc-card);
  border: 1px solid var(--sc-edge); border-radius: var(--sc-radius);
  cursor: pointer;
}
.nav-toggle-icon,
.nav-toggle-icon::before,
.nav-toggle-icon::after {
  display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px;
}
.nav-toggle-icon { position: relative; }
.nav-toggle-icon::before, .nav-toggle-icon::after { content: ""; position: absolute; left: 0; }
.nav-toggle-icon::before { top: -6px; }
.nav-toggle-icon::after { top: 6px; }

/* Hauptmenü mit Untermenüs (Leistungen, Über uns).
   Ohne JavaScript: Untermenüs am Desktop per Maus und Tastatur (focus-within),
   mobil als offene Liste. Mit JavaScript: Knopf mit aria-expanded klappt auf. */
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 24px; }
.nav-list > li { position: relative; }
.nav a {
  display: inline-block; padding: 8px 0;
  color: var(--sc-text); text-decoration: none; font-weight: 500; font-size: .97rem;
}
.nav a:hover, .nav a[aria-current="page"], .nav .is-active > a { color: var(--sc-link); }
.has-sub { display: flex; flex-wrap: wrap; align-items: center; gap: 2px; }
.subnav { list-style: none; margin: 0; padding: 0 0 6px 16px; width: 100%; }
.subnav a { font-weight: 400; font-size: .95rem; padding: 6px 0; }
.sub-toggle { display: none; }
.js .sub-toggle {
  display: inline-grid; place-items: center; width: 32px; height: 32px; padding: 0;
  border: 1px solid transparent; border-radius: var(--sc-radius-s);
  background: transparent; color: var(--sc-link); cursor: pointer;
}
.js .sub-toggle:hover { border-color: var(--sc-edge); }
.chev { display: block; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .15s ease; }
.sub-toggle[aria-expanded="true"] .chev { transform: translateY(2px) rotate(-135deg); }

/* Mobil: Menü klappt aus, wenn JavaScript läuft (Klasse .js am <html>).
   Ohne JavaScript bleibt die Navigation sichtbar. */
@media (max-width: 959px) {
  .header-inner { flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; }
  .nav { width: 100%; }
  .nav-list { flex-direction: column; gap: 0; }
  .js .nav-toggle { display: inline-flex; }
  .js .nav { display: none; }
  .js .nav.is-open { display: block; padding: 8px 0 12px; }
  .js .nav-list > li { border-top: 1px solid var(--sc-edge); }
  .js .nav-list > li.nav-cta { border-top: 0; }
  .js .nav a { display: block; padding: 12px 0; }
  .js .has-sub { flex-wrap: wrap; }
  .js .has-sub > a { flex: 1 1 auto; }
  .js .sub-toggle { width: 44px; height: 44px; }
  .js .subnav { display: none; padding: 0 0 8px 16px; }
  .js .has-sub.is-open > .subnav { display: block; }
  .js .subnav a { padding: 10px 0; }
  .nav .btn { margin-top: 8px; }
  .js .nav a.btn { display: flex; padding: 12px 18px; }
}
@media (min-width: 960px) {
  .nav-list { align-items: center; flex-wrap: nowrap; gap: 4px 22px; }
  .has-sub { flex-wrap: nowrap; }
  .subnav {
    display: none; position: absolute; top: 100%; left: -18px; z-index: 60;
    width: auto; min-width: 280px; padding: 10px 0;
    background: var(--sc-card); border: 1px solid var(--sc-edge); border-radius: var(--sc-radius);
    box-shadow: var(--sc-shadow);
  }
  .subnav a { display: block; padding: 8px 18px; }
  .subnav a:hover { background-color: var(--sc-paper); }
  .has-sub:hover > .subnav,
  .has-sub.is-open > .subnav,
  html:not(.js) .has-sub:focus-within > .subnav { display: block; }
  .nav .nav-cta { margin-left: 8px; }
}

/* ---------- Knöpfe ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 48px; padding: 12px 20px; border-radius: var(--sc-radius);
  font: inherit; font-weight: 600; font-size: 1rem; line-height: 1.3;
  text-decoration: none; text-align: center; cursor: pointer;
  border: 1px solid var(--sc-edge);
  background-color: var(--sc-card); color: var(--sc-text);
  transition: transform .15s ease, background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-2px); border-color: var(--sc-primary); color: var(--sc-text); }
.btn--primary { background-color: var(--sc-primary); border-color: var(--sc-primary); color: var(--sc-on-primary); }
.btn--primary:hover { background-color: var(--sc-primary-hover); border-color: var(--sc-primary-hover); color: var(--sc-on-primary); }
.btn--secondary { background-color: var(--sc-card); color: var(--sc-text); }
.btn--small { min-height: 42px; padding: 8px 16px; font-size: .95rem; }
.nav .btn { color: var(--sc-on-primary); }
.nav .btn:hover, .nav .btn[aria-current="page"] { color: var(--sc-on-primary); }
.nav a.btn { display: inline-flex; padding: 8px 18px; }
/* Knopf auf Nachtblau */
.btn--light { background-color: var(--sc-primary); border-color: var(--sc-primary); color: var(--sc-on-primary); }
.btn--light:hover { background-color: var(--sc-primary-hover); border-color: var(--sc-accent); color: var(--sc-on-primary); }

/* ---------- Hero ---------- */
.hero { padding: 56px 0 72px; border-bottom: 1px solid var(--sc-edge); }
@media (min-width: 768px) { .hero { padding: 104px 0 120px; } }
.hero h1 { max-width: 14em; }
.hero h1 .quiet { display: block; color: var(--sc-muted); }
.hero .lead { margin-bottom: 32px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 559px) { .actions .btn { width: 100%; } }

/* Aufzählung mit kleinen blauen Quadraten */
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 22px; }
.check-list li::before {
  content: ""; position: absolute; left: 2px; top: .62em;
  width: 7px; height: 7px; border-radius: 2px; background: var(--sc-primary);
}
.hero .check-list { margin-top: 36px; color: var(--sc-text); font-size: .98rem; }
@media (min-width: 768px) { .hero .check-list { display: flex; flex-wrap: wrap; gap: 8px 32px; } }

/* ---------- Raster und Karten ---------- */
.grid { display: grid; gap: 20px; }
@media (min-width: 700px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 960px) {
  .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.card {
  background-color: var(--sc-card);
  border: 1px solid var(--sc-edge);
  border-radius: var(--sc-radius-l);
  padding: 24px;
  display: flex; flex-direction: column;
}
.card { box-shadow: var(--sc-shadow); }
@media (min-width: 768px) { .card { padding: 28px; } }
.card p { color: var(--sc-text); }
.card p:last-child { margin-bottom: 0; }
.card .price-tag {
  margin-top: auto; padding-top: 16px; border-top: 1px solid var(--sc-edge);
  font-family: var(--sc-font-head); font-weight: 600; font-size: 1.15rem; letter-spacing: -0.01em; color: var(--sc-text);
}
.card .price-tag small { display: block; font-family: var(--sc-font-body); font-weight: 400; color: var(--sc-muted); font-size: .88rem; }

.pain { flex-direction: row; gap: 16px; align-items: flex-start; }
/* Nummern-Kachel (wie die Kacheln im Seitenskelett der Wartungsseite) */
.tile {
  flex: 0 0 auto; min-width: 40px; height: 32px; padding: 0 8px; border-radius: var(--sc-radius-s);
  display: inline-grid; place-items: center;
  font-family: var(--sc-font-mono); font-weight: 500; font-size: .85rem; letter-spacing: .12em;
  background-color: var(--sc-bone); color: var(--sc-link);
}
.tile--solid { align-self: flex-start; background-color: var(--sc-primary); color: var(--sc-on-primary); margin-bottom: 18px; }
.pain p { margin: 0; color: var(--sc-text); }
.after { margin-top: 32px; font-size: 1.1rem; max-width: var(--sc-maxw-text); }

.badge {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--sc-edge); color: var(--sc-muted); background: var(--sc-card);
  font-family: var(--sc-font-mono); font-weight: 500; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
  padding: 4px 10px; border-radius: var(--sc-radius-pill); margin-bottom: 14px;
}
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 2px; background: var(--sc-primary); }
.flow { display: flex; flex-wrap: wrap; gap: 6px; margin: auto 0 0; padding: 14px 0 0; list-style: none; }
.flow li {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: .82rem; background-color: var(--sc-paper); border: 1px solid var(--sc-edge);
  border-radius: var(--sc-radius-s); padding: 4px 9px; color: var(--sc-text);
}
.flow li::before { content: ""; width: 6px; height: 6px; border-radius: 2px; background: var(--sc-primary); }

.also { margin-top: 28px; max-width: var(--sc-maxw-text); color: var(--sc-text); }

/* ---------- Preistabellen ---------- */
.price-group { margin-top: 48px; }
.price-group:first-of-type { margin-top: 0; }
.price-group h3 {
  font-family: var(--sc-font-mono); font-weight: 500;
  font-size: .78rem; text-transform: uppercase; letter-spacing: .16em; color: var(--sc-muted);
  margin-bottom: 12px;
}
/* Tabelle „Nachtblau-Kopf“ (CI, Simon 09.11.2026), aus branding/neu/tokens/tokens.css.
   Abweichung: Kopfstil nur für thead th, damit Zeilentitel (tbody th) halbfett auf Weiß/Papier stehen.
   Nutzung: <table class="sc-table">, Zahlenzellen class="num", Gesamtzeile tr.total im tfoot. */
.sc-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--sc-radius); }
.sc-table {
  border-collapse: separate; border-spacing: 0; width: 100%;
  background: var(--sc-card);
  border: 1px solid var(--sc-edge); border-radius: var(--sc-radius); overflow: hidden;
  font-variant-numeric: tabular-nums;
}
.sc-table th, .sc-table td { text-align: left; vertical-align: top; padding: 10px 14px; }
.sc-table thead th {
  background: var(--sc-night); color: #FFFFFF;
  font: 500 11px/1.4 var(--sc-font-mono); letter-spacing: .1em; text-transform: uppercase;
}
.sc-table tbody th { font-weight: 600; color: var(--sc-text); }
.sc-table tbody th, .sc-table tbody td, .sc-table tfoot td { border-top: 1px solid var(--sc-edge); }
.sc-table tbody tr:first-child th, .sc-table tbody tr:first-child td { border-top: 0; }
.sc-table tbody tr:nth-child(even) th, .sc-table tbody tr:nth-child(even) td { background: var(--sc-paper); }
.sc-table th small, .sc-table td small { display: block; color: var(--sc-muted); font-size: .875em; font-weight: 400; margin-top: 2px; }
.sc-table .num { text-align: right; white-space: nowrap; font-weight: 600; width: 34%; }
.sc-table thead .num { font-weight: 500; }
.sc-table .num small { white-space: normal; }
.sc-table tfoot .label { text-align: right; color: var(--sc-muted); }
.sc-table tfoot .total td { background: var(--sc-night); color: #FFFFFF; font: 700 16px var(--sc-font-head); }
.sc-table tfoot .total .label { color: #FFFFFF; }
/* Schmale Bildschirme: Preis rutscht unter den Titel, keine Spalten, kein Querscrollen */
@media (max-width: 559px) {
  .sc-table, .sc-table thead, .sc-table tbody, .sc-table tbody tr { display: block; }
  .sc-table thead tr { display: flex; justify-content: space-between; background: var(--sc-night); }
  .sc-table thead th { display: block; width: auto; }
  .sc-table tbody th, .sc-table tbody td { display: block; width: auto; }
  .sc-table tbody td.num { width: auto; border-top: 0; text-align: right; padding-top: 0; white-space: normal; }
}

.offer-box {
  display: flex; gap: 12px; align-items: flex-start;
  margin-top: 32px; padding: 16px 20px; max-width: var(--sc-maxw-text);
  border: 1px solid var(--sc-edge); background-color: var(--sc-card); border-radius: var(--sc-radius);
}
.offer-box .beacon { margin-top: .55em; }
.offer-box p { margin: 0; }

/* ---------- Warum wir ---------- */
.about { display: grid; gap: 32px; align-items: start; }
@media (min-width: 860px) { .about { grid-template-columns: 1fr 1fr; gap: 56px; } }
.about .check-list li { margin-bottom: 6px; }

/* ---------- Häufige Fragen ---------- */
.faq { max-width: 48rem; }
.faq details { border-bottom: 1px solid var(--sc-edge); }
.faq details:first-child { border-top: 1px solid var(--sc-edge); }
.faq summary {
  cursor: pointer; list-style: none; position: relative;
  padding: 20px 44px 20px 0; font-family: var(--sc-font-head); font-weight: 600; font-size: 1.12rem; letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; display: grid; place-items: center;
  border: 1px solid var(--sc-edge); border-radius: var(--sc-radius-s); background: var(--sc-card);
  font-family: var(--sc-font-mono); font-size: 1rem; color: var(--sc-link);
}
.faq details[open] summary::after { content: "\2212"; }
.faq .answer { padding: 0 0 20px; color: var(--sc-text); }
.faq .answer p:last-child { margin-bottom: 0; }

/* ---------- Abschlussband (Nachtblau) ---------- */
.cta-box {
  position: relative; overflow: hidden;
  background-color: var(--sc-night); color: var(--sc-night-text);
  border-radius: var(--sc-radius-l); padding: 40px 24px;
  box-shadow: var(--sc-shadow);
}
@media (min-width: 768px) { .cta-box { padding: 56px; } }
.cta-box .eyebrow { color: var(--sc-accent); }
.cta-box h2 { color: #FFFFFF; }
.cta-box p { color: var(--sc-night-text); }
.cta-box a:not(.btn) { color: #FFFFFF; }
.cta-box a:not(.btn):hover { color: var(--sc-accent); }
.cta-box :focus-visible { outline-color: var(--sc-accent); }

/* ---------- Formular ---------- */
.contact-layout { display: grid; gap: 40px; }
@media (min-width: 900px) { .contact-layout { grid-template-columns: 1fr 1.3fr; gap: 56px; } }
.contact-facts { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 14px; }
.contact-facts strong {
  display: block; font-family: var(--sc-font-mono); font-weight: 500;
  font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--sc-muted);
}

.form {
  background-color: var(--sc-card);
  border: 1px solid var(--sc-edge); border-radius: var(--sc-radius-l);
  padding: 24px; box-shadow: var(--sc-shadow);
}
@media (min-width: 768px) { .form { padding: 32px; } }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 6px; }
.field .hint { font-weight: 400; color: var(--sc-muted); font-size: .85rem; }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; font-size: 1rem; color: var(--sc-text);
  background-color: var(--sc-card);
  border: 1px solid var(--sc-input-border); border-radius: var(--sc-radius); padding: 11px 13px;
}
.field select { min-height: 48px; }
.field input:hover, .field textarea:hover, .field select:hover { border-color: var(--sc-primary); }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus-visible, .field textarea:focus-visible { outline-offset: 1px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; margin: 6px 0 20px; }
.check input { margin-top: 4px; width: 20px; height: 20px; flex: 0 0 auto; accent-color: var(--sc-primary); }
.form .btn { width: 100%; }
@media (min-width: 560px) { .form .btn { width: auto; } }
.form-note { font-size: .88rem; color: var(--sc-muted); margin-top: 14px; }
.required-mark { color: var(--sc-error); }

/* Honeypot: für Menschen unsichtbar, für Spam-Programme ein normales Feld */
.hp { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.alert { border-radius: var(--sc-radius); padding: 16px 20px; margin-bottom: 24px; }
.alert--error { background-color: var(--sc-paper); border: 1px solid var(--sc-edge); border-left: 4px solid var(--sc-ink); }
.alert--error strong { color: var(--sc-error); }
.alert--error ul { list-style: none; margin: 8px 0 0; padding: 0; }
.alert--error li { position: relative; padding-left: 20px; margin-bottom: 4px; }
.alert--error li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px; border-radius: 2px; background: var(--sc-primary); }

/* ---------- Textseiten (Impressum, Datenschutz) ---------- */
.prose { max-width: var(--sc-maxw-text); }
.prose h1 { font-size: clamp(2rem, 5.5vw, 3rem); }
.prose h2 { font-size: 1.4rem; margin-top: 2em; letter-spacing: -0.015em; }
.prose h3 { font-size: 1.12rem; margin-top: 1.6em; }
.prose ul { list-style: none; padding-left: 0; }
.prose ul > li { position: relative; padding-left: 20px; margin-bottom: .4em; }
.prose ol { padding-left: 1.4em; }
.prose ol > li { margin-bottom: .5em; padding-left: .2em; }
.prose ul > li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 6px; height: 6px; border-radius: 2px; background: var(--sc-primary); }

.status-page { padding: 88px 0 104px; }
.status-page .lead { margin-bottom: 28px; }

/* ---------- Fußbereich (Nachtblau, 4 Spalten) ---------- */
.site-footer {
  background-color: var(--sc-night); color: var(--sc-night-text);
  padding: 56px 0 40px; font-size: .95rem;
}
.footer-cols { display: grid; gap: 32px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) { .footer-cols { grid-template-columns: 1fr 1fr 1fr 1.25fr; } }
.footer-title {
  font-family: var(--sc-font-mono); font-weight: 500; font-size: .72rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--sc-accent); margin: 0 0 12px;
}
.footer-list { list-style: none; margin: 0; padding: 0; }
.footer-list a, .site-footer address a {
  color: var(--sc-night-text); display: inline-block; padding: 5px 0;
  text-decoration: none; border-bottom: 1px solid transparent;
}
.footer-list a:hover, .site-footer address a:hover { color: #FFFFFF; border-bottom-color: var(--sc-accent); }
.site-footer address { font-style: normal; margin-top: 12px; line-height: 1.6; }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between;
  margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--sc-ink-2);
}
.footer-bottom img { display: block; height: 30px; width: auto; }
.footer-bottom p { margin: 0; color: var(--sc-night-text); }
.site-footer :focus-visible { outline-color: var(--sc-accent); }

/* ---------- Unterseiten ---------- */
.page-hero { padding: 28px 0 56px; border-bottom: 1px solid var(--sc-edge); }
@media (min-width: 768px) { .page-hero { padding: 36px 0 88px; } }
.page-hero h1 { font-size: clamp(2.1rem, 5.6vw, 3.5rem); max-width: 18em; }
.page-hero .lead { margin-bottom: 20px; }
.page-hero .actions { margin-top: 28px; }
.page-hero .callout { margin-top: 28px; }
.hero-note { max-width: var(--sc-maxw-text); color: var(--sc-text); }

/* Brotkrumen */
.breadcrumb { margin: 0 0 28px; font-size: .9rem; color: var(--sc-muted); }
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; }
.breadcrumb li { display: inline-flex; align-items: center; }
.breadcrumb li + li::before { content: "/"; margin: 0 10px; color: var(--sc-muted); }
.breadcrumb a { color: var(--sc-muted); display: inline-block; padding: 4px 0; }
.breadcrumb a:hover { color: var(--sc-link); }
.breadcrumb [aria-current="page"] { color: var(--sc-text); }

/* Fließinhalt in Abschnitten: Text schmal, Tabellen und Raster breit */
.content > p, .content > ul, .content > ol, .content > .callout, .content > .offer-box, .content > .actions { max-width: var(--sc-maxw-text); }
.content > .sc-table-wrap { margin: 4px 0 24px; }
.content > .grid { margin: 4px 0 28px; }
.content > .faq { margin-bottom: 8px; }
.content > .check-list { margin-bottom: 1.4em; }
.content > .offer-box { margin: 0 0 24px; }
.content > .actions { margin: 8px 0 1em; }
.content > :last-child { margin-bottom: 0; }
.section-head h2 { margin-bottom: 0; }
.card h3 a { color: inherit; text-decoration: none; }
.card h3 a:hover { color: var(--sc-link); text-decoration: underline; }
.card .check-list { gap: 8px; margin-bottom: 1em; }
.card .check-list:last-child, .card .steps:last-child { margin-bottom: 0; }
.card-link { margin-top: auto; padding-top: 14px; font-weight: 600; }
.card .price-tag + .card-link { padding-top: 10px; }

/* Nummerierte Schritte mit Mono-Kachel */
.steps { list-style: none; counter-reset: step; margin: 0 0 1.4em; padding: 0; display: grid; gap: 14px; }
.steps > li { counter-increment: step; position: relative; padding-left: 54px; min-height: 30px; }
.steps > li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; left: 0; top: -1px; width: 40px; height: 30px;
  display: grid; place-items: center; border-radius: var(--sc-radius-s);
  background-color: var(--sc-bone); color: var(--sc-link);
  font-family: var(--sc-font-mono); font-weight: 500; font-size: .8rem; letter-spacing: .08em;
}

/* Hinweiskasten */
.callout {
  margin: 0 0 24px; padding: 16px 20px;
  background-color: var(--sc-card); border: 1px solid var(--sc-edge); border-left: 4px solid var(--sc-primary);
  border-radius: var(--sc-radius);
}
.callout p { margin: 0; }

/* Kleine Mono-Zeile (Datum, Lesezeit, Kennzeichnung) */
.meta {
  font-family: var(--sc-font-mono); font-weight: 500; font-size: .74rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--sc-muted); margin: 0 0 12px;
}
.cta-box .lead { color: inherit; }
.cta-box .actions { margin-top: 28px; }

/* Blog */
.post-card h3 { font-size: 1.25rem; line-height: 1.25; }
.article-body { padding: 48px 0 var(--sc-section-space); }
.article-body .prose > p:first-child { margin-top: 0; }
.disclaimer { color: var(--sc-muted); font-size: .95rem; max-width: var(--sc-maxw-text); margin: 0; }
.prose .sc-table-wrap { margin: 1.2em 0 1.6em; }
.prose .actions { margin: 1.4em 0; }
.prose h2 { scroll-margin-top: calc(var(--sc-header-height) + 8px); }

/* Tabellen mit mehr als zwei Spalten: erste Spalte breit genug, Preisspalte schmaler */
@media (min-width: 560px) {
  .sc-table--cols tbody th { min-width: 11.5em; }
  .sc-table--cols .num { width: 22%; }
}
/* Tabellen mit mehr als zwei Spalten: mobil nur erste und letzte Kopfzelle */
@media (max-width: 559px) {
  .sc-table thead th:not(:first-child):not(:last-child) { display: none; }
  .sc-table tbody td:not(.num) { border-top: 0; padding-top: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

@media print {
  .site-header, .nav-toggle, .skip-link, .cta-box .btn { display: none !important; }
  body { font-size: 11pt; background: var(--sc-card); color: var(--sc-ink); }
  .site-footer, .cta-box { background: var(--sc-card); color: var(--sc-ink); }
  a { color: inherit; }
}
