/* ==========================================================================
   MailBridge — mailbridge.email
   Design-System „Zustellung“
   Farben: Postgelb-Akzent auf Tinte & Papier. Grün NUR für „zugestellt“,
   Rot NUR für 5xx-Fehler — Farbe trägt Bedeutung, nicht Dekoration.
   Schrift: Bricolage Grotesque (Display) / IBM Plex Sans (Text) /
   IBM Plex Mono (SMTP-Dialoge, Codes, Zahlen). Alles selbst gehostet, DSGVO.
   ========================================================================== */

/* ---- Fonts (self-hosted) ---- */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url('fonts/bricolage-var.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 100 700;
  font-display: swap;
  src: url('fonts/plexsans-var.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/plexsans-italic.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/plexmono-400.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/plexmono-500.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/plexmono-600.woff2') format('woff2');
}

/* ---- Tokens ---- */
:root {
  /* Kanonische Markenfarben aus logo/mailbridge_logo_pack/README.md */
  --ink: #172132;          /* Headlines, Buttons, dunkle Flächen */
  --ink-soft: #434e60;     /* Fließtext */
  --muted: #657182;        /* Nebentext */
  --paper: #f7f6f2;        /* Seitenhintergrund */
  --paper-dim: #edece6;    /* abgesetzte Flächen */
  --card: #ffffff;
  --line: #dcdad1;         /* Linien, Rahmen */
  --line-strong: #b9b6aa;

  --post: #ffc400;         /* Postgelb — Akzent & Primär-CTA */
  --post-deep: #a37e00;    /* Gelb-Derivat für Text auf hell */
  --post-soft: #fff2c2;

  --ok: #0e7c46;           /* „zugestellt“ auf hell */
  --ok-bright: #19c77a;    /* „zugestellt“ auf dunkel */
  --err: #e4574d;          /* 5xx auf dunkel */
  --err-deep: #b0392f;     /* 5xx auf hell */

  --night: #101923;        /* Terminal, Problem-Sektion */
  --night-2: #192330;
  --night-line: #2a3644;
  --night-text: #aeb8c4;

  --font-display: 'Bricolage Grotesque', 'IBM Plex Sans', system-ui, sans-serif;
  --font-body: 'IBM Plex Sans', system-ui, -apple-system, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --wrap: 1160px;
  --radius: 10px;
  --radius-sm: 6px;
}

/* ---- Reset / Basis ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-soft);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-family: var(--font-display); line-height: 1.12; letter-spacing: -0.015em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--post); outline-offset: 2px; border-radius: 2px; }
::selection { background: var(--post); color: var(--ink); }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(20px, 4vw, 40px); }

/* Skip-Link */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

/* ---- Statuscode-Eyebrow: das strukturelle Leitmotiv der Seite ---- */
.status-line {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 0.8125rem; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted);
  margin-bottom: 18px;
}
.status-line::before {
  content: ''; width: 26px; height: 2px; background: var(--line-strong);
}
.status-line .code { font-weight: 600; }
.status-line.is-err .code { color: var(--err-deep); }
.status-line.is-ok .code { color: var(--ok); }
.status-line.is-post .code { color: var(--post-deep); }

/* ---- Header ---- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  height: 68px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 700; font-size: 1.2rem;
  color: var(--ink); text-decoration: none; letter-spacing: -0.01em;
}
.brand svg { width: 30px; height: 30px; }
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a {
  text-decoration: none; font-size: 0.95rem; font-weight: 500; color: var(--ink-soft);
  padding: 8px 13px; border-radius: var(--radius-sm);
}
.site-nav a:hover { background: var(--paper-dim); color: var(--ink); }
.site-nav a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.site-nav .nav-login { color: var(--muted); }
.nav-toggle { display: none; }

/* ---- Buttons: genau ein CTA pro Abschnitt ---- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-body); font-weight: 600; font-size: 1rem;
  padding: 13px 24px; border-radius: var(--radius-sm);
  text-decoration: none; border: 1.5px solid transparent;
  cursor: pointer; transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}
.btn-primary {
  background: var(--post); color: var(--ink);
  box-shadow: 0 1px 0 rgba(27, 36, 48, 0.25), inset 0 -2px 0 rgba(27, 36, 48, 0.18);
}
.btn-primary:hover { background: #ffd23d; transform: translateY(-1px); box-shadow: 0 3px 10px rgba(27,36,48,.16), inset 0 -2px 0 rgba(27,36,48,.18); }
.btn-primary:active { transform: translateY(0); }
.btn-ghost { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--ink); background: var(--card); }
.btn-sm { padding: 9px 16px; font-size: 0.92rem; }
.btn .arrow { transition: transform 0.15s ease; }
.btn:hover .arrow { transform: translateX(3px); }
/* Buttons auf dunklem Grund */
.on-dark .btn-ghost { border-color: var(--night-line); color: #e8ecf1; }
.on-dark .btn-ghost:hover { border-color: var(--night-text); background: var(--night-2); }

/* ---- Hero ---- */
.hero { padding: clamp(56px, 9vh, 110px) 0 clamp(48px, 7vh, 90px); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 {
  font-size: clamp(2.5rem, 5.4vw, 4.15rem); font-weight: 700; margin: 0 0 22px;
}
.hero h1 .mark {
  position: relative; white-space: nowrap;
}
.hero h1 .mark::after {
  content: ''; position: absolute; left: -2px; right: -4px; bottom: 0.06em; height: 0.34em;
  background: var(--post); z-index: -1; transform: skewX(-6deg);
}
.hero .sub { font-size: 1.17rem; max-width: 34em; margin-bottom: 30px; }
.hero .cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 22px; }
.trust-line {
  font-family: var(--font-mono); font-size: 0.8rem; color: var(--muted);
  display: flex; flex-wrap: wrap; gap: 6px 18px; padding: 0; margin: 0; list-style: none;
}
.trust-line li { display: inline-flex; gap: 7px; align-items: baseline; }
.trust-line li::before { content: '✓'; color: var(--ok); font-weight: 600; }

/* ---- SMTP-Terminal: das Signatur-Element ---- */
.terminal {
  background: var(--night); border-radius: var(--radius);
  border: 1px solid var(--night-line);
  box-shadow: 0 24px 60px -18px rgba(16, 22, 31, 0.45), 0 2px 8px rgba(16,22,31,.2);
  font-family: var(--font-mono); font-size: 0.84rem; line-height: 1.75;
  color: var(--night-text);
}
.terminal-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 11px 16px; border-bottom: 1px solid var(--night-line);
}
.terminal-bar .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--night-line); }
.terminal-bar .title { margin-left: 8px; font-size: 0.72rem; letter-spacing: 0.06em; color: #5c6b7c; }
.terminal-body { padding: 18px 20px 20px; min-height: 275px; }
.terminal-body .ln { display: block; white-space: pre-wrap; word-break: break-word; }
.terminal-body .c { color: #8fa1b5; }              /* Client-Kommandos */
.terminal-body .s { color: #5c6b7c; }              /* Server 2xx neutral */
.terminal-body .ok { color: var(--ok-bright); font-weight: 500; }
.terminal-body .err { color: var(--err); }
.terminal-body .cmt { color: #46586c; font-style: italic; }
.delivered-chip {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 12px;
  border: 1px solid color-mix(in srgb, var(--ok-bright) 45%, transparent);
  background: color-mix(in srgb, var(--ok-bright) 12%, transparent);
  color: var(--ok-bright); font-weight: 600; font-size: 0.78rem; letter-spacing: 0.09em;
  padding: 6px 13px; border-radius: 100px;
}
.delivered-chip::before { content: '✓'; }
/* Typing-Animation: JS blendet Zeilen ein; ohne JS/reduced-motion alles sichtbar */
.terminal.js-typed .ln, .terminal.js-typed .delivered-chip { visibility: hidden; }
.terminal.js-typed .ln.shown, .terminal.js-typed .delivered-chip.shown { visibility: visible; }
.caret::after { content: '▋'; color: var(--post); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ---- Sektionen ---- */
.section { padding: clamp(64px, 9vw, 110px) 0; }
.section > .wrap > h2, .section-head h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.6rem); font-weight: 700; margin-bottom: 16px; max-width: 20em;
}
.section-head { margin-bottom: clamp(32px, 5vw, 56px); }
.section-head .lead { font-size: 1.13rem; max-width: 36em; }
.section + .section { border-top: 1px solid var(--line); }

/* ---- Problem-Sektion (dunkel, 5xx) ---- */
.section-problem { background: var(--night); border-top: none; }
.section-problem h2 { color: #f2f4f7; }
.section-problem .status-line { color: #5c6b7c; }
.section-problem .status-line::before { background: var(--night-line); }
.error-list { list-style: none; padding: 0; margin: 0 0 36px; display: grid; gap: 0; }
.error-list li {
  padding: 22px 0; border-top: 1px solid var(--night-line);
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 8px 40px; align-items: baseline;
}
.error-list li:last-child { border-bottom: 1px solid var(--night-line); }
.error-list .errcode {
  font-family: var(--font-mono); font-size: 0.8rem; color: var(--err); line-height: 1.6;
  overflow-wrap: anywhere;
}
.error-list .errcode::before { content: '✕ '; }
.error-list .errtext { color: var(--night-text); font-size: 1.02rem; margin: 0; }
.error-list .errtext strong { color: #e8ecf1; font-weight: 600; }
.problem-closer { font-size: 1.22rem; color: #e8ecf1; max-width: 30em; font-family: var(--font-display); font-weight: 600; letter-spacing: -0.01em; line-height: 1.4; }
.problem-closer .turn { color: var(--post); }

/* ---- Lösung ---- */
.solution-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.keyline {
  border-left: 4px solid var(--post); background: var(--card);
  padding: 22px 26px; margin: 28px 0; border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-family: var(--font-display); font-weight: 600; font-size: 1.28rem; color: var(--ink);
  letter-spacing: -0.01em; line-height: 1.45;
  box-shadow: 0 1px 4px rgba(27,36,48,.06);
}
.dns-panel {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  font-family: var(--font-mono); font-size: 0.82rem; overflow: hidden;
  box-shadow: 0 8px 28px -14px rgba(27,36,48,.18);
}
.dns-panel .head {
  padding: 11px 18px; border-bottom: 1px solid var(--line); color: var(--muted);
  font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase;
}
.dns-panel table { width: 100%; border-collapse: collapse; }
.dns-panel td { padding: 11px 18px; border-top: 1px solid var(--paper-dim); vertical-align: top; }
.dns-panel tr:first-child td { border-top: none; }
.dns-panel .k { color: var(--muted); white-space: nowrap; width: 1%; padding-right: 26px; }
.dns-panel .v { color: var(--ink); overflow-wrap: anywhere; }
.dns-panel .tag-ok { color: var(--ok); font-weight: 600; white-space: nowrap; }

/* ---- 3 Schritte (echte Sequenz → Nummern tragen Information) ---- */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 36px); }
.steps li { counter-increment: step; position: relative; padding-top: 18px; }
.steps li::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-mono); font-weight: 600; font-size: 0.9rem; color: var(--post-deep);
}
.steps li::after {
  content: ''; position: absolute; top: 0; left: 0; width: 44px; height: 3px; background: var(--post);
}
.steps h3 { font-size: 1.22rem; margin: 8px 0 8px; font-weight: 650; }
.steps p { margin: 0; font-size: 0.98rem; }
.steps-note {
  margin-top: 40px; font-size: 0.98rem; color: var(--muted);
  display: flex; gap: 10px; align-items: baseline;
}
.steps-note::before { content: '→'; color: var(--post-deep); font-weight: 600; }

/* ---- Vorteile: Liste mit Linien statt Karten-Raster ---- */
.benefits { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(32px, 5vw, 64px); }
.benefits li { padding: 26px 0; border-top: 1px solid var(--line); }
.benefits li:nth-child(-n+2) { border-top: 2px solid var(--ink); }
.benefits h3 { font-size: 1.13rem; font-weight: 650; margin-bottom: 8px; font-family: var(--font-body); letter-spacing: 0; }
.benefits p { margin: 0; font-size: 0.98rem; }

/* ---- Zielgruppen-Karten ---- */
.audience-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.5vw, 28px); }
.audience-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px 26px; display: flex; flex-direction: column; gap: 0;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.audience-card:hover { border-color: var(--line-strong); box-shadow: 0 14px 34px -18px rgba(27,36,48,.25); transform: translateY(-2px); }
.audience-card .who {
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--post-deep); font-weight: 600; margin-bottom: 14px;
}
.audience-card h3 { font-size: 1.28rem; font-weight: 650; margin-bottom: 12px; }
.audience-card p { font-size: 0.97rem; flex: 1; }
.audience-card .card-cta {
  font-weight: 600; font-size: 0.97rem; color: var(--ink); text-decoration: none;
  display: inline-flex; gap: 8px; align-items: center; margin-top: 6px;
}
.audience-card .card-cta::after { content: '→'; transition: transform .15s ease; }
.audience-card .card-cta:hover::after { transform: translateX(3px); }
.audience-card .card-cta:hover { text-decoration: underline; text-decoration-color: var(--post); text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* ---- Vertrauen ---- */
.section-trust { background: var(--paper-dim); }
.trust-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 clamp(32px, 5vw, 64px); list-style: none; padding: 0; margin: 0; }
.trust-grid li {
  display: flex; gap: 14px; align-items: baseline; padding: 15px 0;
  border-top: 1px solid var(--line); font-size: 1rem; color: var(--ink-soft);
}
.trust-grid li:nth-child(-n+2) { border-top: none; }
.trust-grid li::before {
  content: '✓'; font-family: var(--font-mono); color: var(--ok); font-weight: 600; flex: none;
}
.trust-grid li strong { color: var(--ink); font-weight: 600; }

/* ---- Preise ---- */
.price-rows { display: grid; gap: clamp(18px, 2.5vw, 26px); grid-template-columns: 1fr 1fr; }
.price-teaser {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 30px 28px;
}
.price-teaser .row-name { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; color: var(--muted); margin-bottom: 10px; }
.price-teaser h3 { font-size: 1.35rem; font-weight: 650; margin-bottom: 8px; }
.price-teaser p { font-size: 0.97rem; margin-bottom: 18px; }
.price-teaser .price { font-family: var(--font-mono); color: var(--ink); font-size: 1.05rem; }
.price-teaser .price strong { font-size: 1.7rem; font-weight: 600; letter-spacing: -0.02em; }
.price-teaser .price .unit { color: var(--muted); font-size: 0.85rem; }
.price-note { margin-top: 26px; font-size: 0.85rem; color: var(--muted); }

/* Preistabellen (Preisseite) */
.price-table-block { margin-bottom: clamp(48px, 6vw, 72px); }
.price-table-block h3 { font-size: 1.45rem; font-weight: 650; margin-bottom: 8px; }
.price-table-block .desc { max-width: 44em; margin-bottom: 26px; }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
table.prices { width: 100%; border-collapse: collapse; font-size: 0.98rem; min-width: 560px; }
table.prices th, table.prices td { text-align: left; padding: 15px 22px; }
table.prices thead th {
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--muted); font-weight: 600; border-bottom: 1px solid var(--line); background: var(--paper-dim);
}
table.prices tbody tr + tr td { border-top: 1px solid var(--paper-dim); }
table.prices td.num, table.prices th.num { font-family: var(--font-mono); text-align: right; }
table.prices td.num { color: var(--ink); }
table.prices .pkg { font-weight: 600; color: var(--ink); }
table.prices tr.reco { background: var(--post-soft); box-shadow: inset 3px 0 0 var(--post); }
table.prices tr.reco td { border-top-color: color-mix(in srgb, var(--post) 30%, transparent); }
.reco-badge {
  display: inline-block; margin-left: 10px; padding: 2px 9px; border-radius: 100px;
  background: var(--post); color: var(--ink); font-family: var(--font-mono);
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase;
  vertical-align: 2px;
}
.table-foot { list-style: none; padding: 14px 4px 0; margin: 0; font-size: 0.92rem; color: var(--muted); display: grid; gap: 6px; }
.table-foot li { display: flex; gap: 10px; align-items: baseline; }
.table-foot li::before { content: '·'; font-weight: 700; color: var(--post-deep); }

.conditions { list-style: none; padding: 0; margin: 0 0 36px; display: grid; gap: 10px; max-width: 44em; }
.conditions li { display: flex; gap: 12px; align-items: baseline; }
.conditions li::before { content: '—'; color: var(--post-deep); flex: none; }

/* ---- Portal-Seite ---- */
.portal-cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 32px); margin: 40px 0; }
.portal-col { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 28px 22px; }
.portal-col h3 {
  font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase;
  font-weight: 600; margin-bottom: 18px; display: flex; align-items: center; gap: 10px;
}
.portal-col.live h3 { color: var(--ok); }
.portal-col.wip h3 { color: var(--post-deep); }
.portal-col ul { list-style: none; padding: 0; margin: 0; }
.portal-col li { padding: 11px 0; border-top: 1px solid var(--paper-dim); display: flex; gap: 12px; align-items: baseline; font-size: 0.98rem; }
.portal-col li::before { font-family: var(--font-mono); font-weight: 600; flex: none; }
.portal-col.live li::before { content: '✓'; color: var(--ok); }
.portal-col.wip li::before { content: '…'; color: var(--post-deep); }
.hint-box {
  border: 1px dashed var(--line-strong); border-radius: var(--radius); padding: 20px 24px;
  background: var(--card); font-size: 0.98rem; max-width: 46em; margin-bottom: 32px;
}
.hint-box strong { color: var(--ink); }

/* ---- FAQ ---- */
.faq-list { max-width: 800px; }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px;
  align-items: baseline; padding: 20px 4px; font-weight: 600; color: var(--ink); font-size: 1.06rem;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: '+'; font-family: var(--font-mono); color: var(--post-deep); font-weight: 500;
  font-size: 1.3rem; line-height: 1; transition: transform .18s ease; flex: none;
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list summary:hover { color: var(--post-deep); }
.faq-list .answer { padding: 0 4px 22px; max-width: 40em; }
.faq-list .answer p { margin-bottom: 0; }

/* ---- Abschluss-CTA-Banner ---- */
.cta-banner { background: var(--ink); border-top: none; position: relative; overflow: hidden; }
.cta-banner .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px 48px; align-items: center; }
.cta-banner h2 { color: #f5f6f8; font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: 10px; }
.cta-banner p { color: #a7b1bd; margin: 0; max-width: 34em; }
.cta-banner::before {
  /* Poststreifen: Zitat der Paketklebebänder — dezent, im Anschnitt */
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 6px;
  background: repeating-linear-gradient(-45deg, var(--post) 0 22px, var(--ink) 22px 44px);
}
.cta-banner .contact-alt { margin-top: 14px; font-size: 0.9rem; color: #77828f; }
.cta-banner .contact-alt a { color: #a7b1bd; }

/* ---- Footer ---- */
.site-footer { background: var(--night); color: #77828f; font-size: 0.9rem; padding: 44px 0 36px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 18px 40px; justify-content: space-between; align-items: baseline; }
.site-footer a { color: #a7b1bd; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.site-footer .fine { width: 100%; margin-top: 6px; font-size: 0.82rem; }

/* ---- Scroll-Reveal (dezent; JS setzt .reveal) ---- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---- Reduced Motion ---- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .terminal.js-typed .ln, .terminal.js-typed .delivered-chip { visibility: visible; }
  .caret::after { animation: none; content: ''; }
  .btn, .audience-card { transition: none; }
}

/* ---- Responsive ---- */
@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .terminal { max-width: 640px; }
  .steps { grid-template-columns: 1fr; gap: 26px; }
  .audience-grid { grid-template-columns: 1fr; }
  .solution-grid { grid-template-columns: 1fr; }
  .price-rows { grid-template-columns: 1fr; }
  .portal-cols { grid-template-columns: 1fr; }
  .cta-banner .wrap { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 1rem; }
  .benefits { grid-template-columns: 1fr; }
  .benefits li:nth-child(2) { border-top: 1px solid var(--line); }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-grid li:nth-child(2) { border-top: 1px solid var(--line); }
  .error-list li { grid-template-columns: 1fr; }
  /* Mobile-Navigation */
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 42px; height: 42px; border: 1px solid var(--line); border-radius: var(--radius-sm);
    background: var(--card); cursor: pointer; font-size: 1.1rem; color: var(--ink);
  }
  .site-nav {
    position: absolute; top: 68px; right: 0; left: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; padding: 10px 20px 16px; gap: 2px;
    display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px 10px; }
  .site-nav .btn { justify-content: center; margin-top: 8px; }
}
