/* ==========================================================================
   KlangAudit – Design System v2 „Editorial Paper"
   Warmes Papier · Tinte · Signalrot · Millimeterpapier-Textur
   Display: Bricolage Grotesque · Body: Archivo (beide selbst gehostet)
   ========================================================================== */

/* ---------- Fonts (DSGVO-konform selbst gehostet, latin subset) ---------- */
@font-face {
  font-family: 'Bricolage Grotesque';
  src: url('/fonts/bricolage-grotesque.woff2') format('woff2');
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Archivo';
  src: url('/fonts/archivo.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Archivo';
  src: url('/fonts/archivo-italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD;
}

/* ---------- Design Tokens ---------- */
:root {
  color-scheme: light;

  --ink: #151515;
  --ink-soft: #34312f;
  --paper: #f8f7f3;
  --paper-2: #efeee8;
  --paper-3: #ffffff;
  --cream: #fffdfa;
  --muted: #6e6963;
  --line: rgba(21, 21, 21, 0.14);
  --line-strong: rgba(21, 21, 21, 0.28);

  --red: #b32921;
  --red-bright: #e63223;
  --red-deep: #8f201a;
  --red-soft: #f4d8d4;
  --blue: #263d52;
  --green: #496f56;
  --amber: #b9822b;

  --console: #171717;
  --console-line: rgba(248, 247, 243, 0.12);

  --font-display: 'Bricolage Grotesque', 'Avenir Next', 'Helvetica Neue', sans-serif;
  --font-body: 'Archivo', 'Avenir Next', 'Segoe UI', 'Helvetica Neue', sans-serif;

  --sp-1: 4px;  --sp-2: 8px;   --sp-3: 12px;  --sp-4: 16px;
  --sp-5: 20px; --sp-6: 24px;  --sp-8: 32px;  --sp-10: 40px;
  --sp-12: 48px; --sp-16: 64px; --sp-20: 80px; --sp-24: 96px;

  --r-sm: 6px;
  --r-md: 8px;
  --shadow-soft: 0 18px 60px rgba(21, 21, 21, 0.08);
  --shadow-deep: 0 28px 90px rgba(21, 21, 21, 0.22);

  --max: 1180px;
  --z-header: 100;
}

/* ---------- Reset & Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 104px;
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background:
    linear-gradient(rgba(21, 21, 21, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21, 21, 21, 0.02) 1px, transparent 1px),
    var(--paper);
  background-size: 40px 40px, 40px 40px, auto;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 var(--sp-4);
  overflow-wrap: break-word;
}
h1 { font-size: clamp(2.6rem, 4.5vw, 4.35rem); line-height: 1.03; }
h2 { font-size: clamp(2rem, 3.5vw, 3.25rem); line-height: 1.04; }
h3 { font-size: 1.3rem; line-height: 1.12; }

p { margin: 0 0 var(--sp-4); }
ul, ol { margin: 0 0 var(--sp-4); padding-left: 1.3em; }
li { margin-bottom: var(--sp-2); }

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

strong { font-weight: 700; }
hr { border: 0; border-top: 1px solid var(--line); margin: var(--sp-8) 0; }

button { font: inherit; cursor: pointer; }
input, select, textarea { font: inherit; }

::selection { background: var(--red-soft); color: var(--ink); }

/* ---------- Barrierefreiheit ---------- */
:focus-visible {
  outline: 3px solid rgba(179, 41, 33, 0.45);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 10px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  background: var(--paper-3);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

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

/* ---------- Layout ---------- */
.container {
  width: min(100% - 32px, var(--max));
  margin-inline: auto;
  padding-inline: 0;
}
.container-narrow {
  width: min(100% - 32px, 860px);
  margin-inline: auto;
  padding-inline: 0;
}

.section { position: relative; padding: 84px 0; }
.section-tight { padding: 56px 0; }
.section-alt { background: var(--cream); border-block: 1px solid var(--line); }

/* Editorial: Titel links, Lead rechts, an der Grundlinie ausgerichtet */
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.7fr);
  gap: var(--sp-4) 54px;
  align-items: end;
  text-align: left;
  margin: 0 0 var(--sp-10);
}
.section-head .kicker { grid-column: 1 / -1; margin-bottom: 0; }
.section-head h2 { margin-bottom: 0; }
.section-head .lead { margin-bottom: 4px; }

.kicker {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: var(--sp-3);
}

.lead {
  font-size: 1.1rem;
  line-height: 1.55;
  color: rgba(21, 21, 21, 0.68);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  background: var(--paper-3);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.1;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease, box-shadow 160ms ease;
}
.btn:hover { transform: translateY(-2px); border-color: rgba(21, 21, 21, 0.48); color: var(--ink); }
.btn:active { transform: translateY(0); }
.btn svg { flex: none; }

.btn-primary { color: #fff; border-color: var(--red); background: var(--red); }
.btn-primary:hover { border-color: var(--red-deep); background: var(--red-deep); color: #fff; }

.btn-ghost { background: var(--paper-3); }

.btn-light-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.34);
}
.btn-light-outline:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.6); color: #fff; }

.btn-lg { min-height: 52px; padding: 14px 26px; font-size: 1.02rem; }
.btn-sm { min-height: 42px; padding: 9px 14px; font-size: 0.95rem; }
.btn-block { width: 100%; }

.btn[disabled], .btn[aria-disabled="true"] {
  opacity: 0.46;
  cursor: not-allowed;
  transform: none;
}

.btn .spinner {
  width: 17px; height: 17px;
  border: 2.5px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Header (schwebende Leiste) ---------- */
.site-header {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: var(--z-header);
  width: min(100% - 32px, var(--max));
  border: 1px solid rgba(21, 21, 21, 0.12);
  border-radius: var(--r-md);
  background: rgba(248, 247, 243, 0.86);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-soft);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  min-height: 62px;
  padding: 10px 14px;
  width: 100%;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}
.logo svg {
  width: 36px;
  height: 36px;
  border-radius: 7px;
  box-shadow: 0 8px 24px rgba(21, 21, 21, 0.14);
  flex: none;
}
.logo .logo-text {
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.logo .logo-text span { color: var(--red); }

.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 9px 12px;
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  color: rgba(21, 21, 21, 0.72);
  font-weight: 700;
  font-size: 0.96rem;
  text-decoration: none;
}
.site-nav a.nav-link:hover {
  border-color: var(--line);
  color: var(--ink);
  background: rgba(21, 21, 21, 0.04);
}
.site-nav a[aria-current="page"] { color: var(--red); }
.site-nav .btn { margin-left: 6px; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  background: var(--paper-3);
  align-items: center;
  justify-content: center;
  color: var(--ink);
}
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-burger { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 899px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px;
    border: 1px solid rgba(21, 21, 21, 0.12);
    border-radius: var(--r-md);
    background: rgba(248, 247, 243, 0.97);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    box-shadow: var(--shadow-soft);
  }
  .site-nav.open { display: flex; }
  .site-nav a.nav-link { min-height: 48px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .site-nav a.nav-link:last-of-type { border-bottom-color: transparent; }
  .site-nav .btn { margin: 8px 0 0; }
}

/* ---------- Hero (helles Papier + Punktraster) ---------- */
.hero {
  position: relative;
  min-height: 74svh;
  display: grid;
  align-items: center;
  padding: 158px 0 64px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.78), rgba(248, 247, 243, 0.54)),
    radial-gradient(circle at 4px 4px, rgba(21, 21, 21, 0.1) 1px, transparent 1px);
  background-size: auto, 22px 22px;
  color: var(--ink);
}
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(380px, 0.76fr);
  gap: 56px;
  align-items: center;
  padding-block: 0;
}
.hero h1 { color: var(--ink); max-width: 760px; margin-bottom: 0; }
.hero h1 .accent { color: var(--red); }
.hero .lead {
  max-width: 700px;
  margin: 22px 0 0;
  color: rgba(21, 21, 21, 0.72);
  font-size: clamp(1.06rem, 1.3vw, 1.2rem);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 var(--sp-4);
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.hero-badge .dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--red-bright);
  flex: none;
}

.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; margin: 30px 0 0; }

.hero-trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  width: min(100%, 700px);
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}
.hero-trust li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 0;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.76);
  color: rgba(21, 21, 21, 0.78);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.35;
}
.hero-trust svg { color: var(--green); flex: none; margin-top: 1px; }

/* ---------- Audit-Console (Report-Vorschau, dunkel) ---------- */
.report-card {
  border: 1px solid rgba(21, 21, 21, 0.18);
  border-radius: var(--r-md);
  background: var(--console);
  color: #f8f7f3;
  box-shadow: var(--shadow-deep);
  overflow: hidden;
  padding: 0;
  max-width: 520px;
  margin-inline: auto;
}
.report-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  min-height: 52px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--console-line);
}
.report-head strong {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
}
.chip-pdf {
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #fff;
  background: var(--red-bright);
  border-radius: 4px;
  padding: 4px 8px;
}
.report-row {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: 13px 16px;
  border-bottom: 1px solid rgba(248, 247, 243, 0.1);
}
.report-row .meta { flex: 1; min-width: 0; }
.report-row .meta .snd {
  display: block;
  font-weight: 700;
  font-size: 0.94rem;
  color: rgba(248, 247, 243, 0.9);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.report-row .meta .src { display: block; font-size: 0.8rem; color: rgba(248, 247, 243, 0.55); }

.pill {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 88px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 5px 10px;
  white-space: nowrap;
}
.pill-ok   { color: #fff; background: var(--green); }
.pill-warn { color: #161616; background: var(--amber); }
.pill-risk { color: #fff; background: var(--red); }

.report-foot { padding: 14px 16px 16px; }
.report-foot small { color: rgba(248, 247, 243, 0.58); display: block; margin-bottom: 9px; font-size: 0.84rem; }
.progress {
  height: 6px;
  border-radius: 999px;
  background: rgba(248, 247, 243, 0.14);
  overflow: hidden;
}
.progress span {
  display: block;
  height: 100%;
  width: 72%;
  border-radius: inherit;
  background: var(--red-bright);
}

/* ---------- Statistiken / Fakten ---------- */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.stat-card {
  min-height: 170px;
  display: grid;
  align-content: space-between;
  gap: var(--sp-5);
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.82);
}
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.2vw, 2.8rem);
  font-weight: 750;
  color: var(--red);
  letter-spacing: -0.02em;
  line-height: 0.98;
  font-variant-numeric: tabular-nums;
}
.stat-label { font-size: 0.97rem; color: rgba(21, 21, 21, 0.68); font-weight: 600; line-height: 1.4; }
.stat-note {
  margin-top: var(--sp-5);
  text-align: left;
  font-size: 0.9rem;
  color: rgba(21, 21, 21, 0.58);
}

/* ---------- Karten-Raster ---------- */
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.icon-card {
  display: grid;
  align-content: start;
  gap: var(--sp-3);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.8);
  padding: 24px;
  transition: border-color 160ms ease, transform 160ms ease;
}
.icon-card:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.icon-card .card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  border-radius: var(--r-md);
  background: var(--ink);
  color: #f7f1e8;
  margin-bottom: var(--sp-3);
}
.icon-card h3 { margin-bottom: 4px; font-size: 1.38rem; }
.icon-card p { color: rgba(21, 21, 21, 0.66); margin-bottom: 0; }
.icon-card ul { margin: var(--sp-2) 0 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.icon-card ul li {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  color: rgba(21, 21, 21, 0.74);
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0;
}
.icon-card ul svg { color: var(--green); flex: none; margin-top: 3px; }

/* ---------- Leistungs-Checkliste ---------- */
.check-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  max-width: none;
  margin-inline: 0;
}
.check-item {
  display: flex;
  gap: var(--sp-3);
  align-items: flex-start;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.78);
  padding: 20px 22px;
}
.check-item > svg {
  flex: none;
  width: 28px;
  height: 28px;
  padding: 5px;
  border-radius: 50%;
  color: #fff;
  background: var(--green);
  margin-top: 1px;
}
.check-item strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.16rem;
  line-height: 1.12;
  margin-bottom: 3px;
}
.check-item span { color: rgba(21, 21, 21, 0.66); font-size: 0.95rem; }

.platform-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 10px;
  margin-top: var(--sp-8);
}
.platform-chips .chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--paper-3);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 0.9rem;
  font-weight: 700;
  color: rgba(21, 21, 21, 0.8);
}
.platform-chips .chip::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--red-bright);
}

/* ---------- Ablauf / Schritte (Zeitungs-Spalten) ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-block: 1px solid var(--line);
}
.step {
  position: relative;
  min-height: 190px;
  padding: 24px 22px;
  border-left: 1px solid var(--line);
}
.step:first-child { border-left: 0; }
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1rem;
  margin-bottom: 30px;
}
.step h3 { font-size: 1.28rem; margin-bottom: var(--sp-2); }
.step p { color: rgba(21, 21, 21, 0.66); font-size: 0.96rem; margin: 0; }

/* Spalten-Hintergrundlinien in der Ablauf-Sektion */
#ablauf.section-alt {
  background:
    linear-gradient(90deg, rgba(21, 21, 21, 0.05) 1px, transparent 1px),
    var(--paper-2);
  background-size: 25% 100%;
}

/* ---------- Pricing ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}
.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.82);
  padding: 24px;
}
.price-card.featured {
  border-color: rgba(179, 41, 33, 0.42);
  background: linear-gradient(180deg, rgba(244, 216, 212, 0.56), rgba(255, 255, 255, 0.92) 38%);
  box-shadow: 0 20px 62px rgba(179, 41, 33, 0.12);
}
.badge-top {
  position: absolute;
  top: 16px;
  right: 16px;
  left: auto;
  transform: none;
  background: var(--ink);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  border-radius: 999px;
  padding: 6px 10px;
  white-space: nowrap;
}
.price-card .tier-name {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0;
}
.price-line { display: flex; align-items: baseline; gap: 8px; margin: 16px 0 2px; }
.price-line .prefix { font-size: 1.1rem; font-weight: 700; color: var(--muted); }
.price-line .amount {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 3.8vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.price-sub { font-size: 0.9rem; color: rgba(21, 21, 21, 0.58); margin-bottom: var(--sp-5); }
.tier-desc {
  font-size: 0.98rem;
  color: rgba(21, 21, 21, 0.72);
  padding-bottom: var(--sp-5);
  border-bottom: 1px solid var(--line);
  margin-bottom: var(--sp-5);
}
.features {
  list-style: none;
  margin: 0 0 var(--sp-6);
  padding: 0;
  flex: 1;
  display: grid;
  gap: 0;
  align-content: start;
}
.features li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.96rem;
  color: rgba(21, 21, 21, 0.74);
  padding-block: 6px;
  margin: 0;
}
.features li svg { color: var(--red); flex: none; margin-top: 4px; }
.features li.feat-strong { font-weight: 800; color: var(--ink); }
.pricing-note {
  margin-top: var(--sp-8);
  text-align: left;
  font-size: 0.9rem;
  color: rgba(21, 21, 21, 0.58);
  max-width: 860px;
  margin-inline: 0;
}

/* ---------- Hinweis-Boxen ---------- */
/* Standard: „Boundary"-Panel in Tinte (Wichtiger Hinweis) */
.notice-box {
  display: flex;
  gap: var(--sp-5);
  align-items: flex-start;
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: var(--r-md);
  padding: 34px;
  color: #fff;
}
.notice-box > svg { color: #f0b5ad; flex: none; margin-top: 4px; }
.notice-box h2, .notice-box h3 { color: #fff; font-size: clamp(1.35rem, 2.2vw, 1.8rem); margin-bottom: var(--sp-3); }
.notice-box p { color: rgba(255, 255, 255, 0.75); font-size: 1rem; margin-bottom: var(--sp-3); }
.notice-box p:last-child { margin-bottom: 0; }
.notice-box a { color: #f0b5ad; }
.notice-box a:hover { color: #fff; }

/* Info-Variante: heller Merkkasten mit blauer Kante */
.notice-info {
  background: rgba(38, 61, 82, 0.07);
  border: 0;
  border-left: 4px solid var(--blue);
  border-radius: var(--r-sm);
  padding: 18px 20px;
  color: var(--ink);
}
.notice-info > svg { color: var(--blue); margin-top: 2px; }
.notice-info h2, .notice-info h3 { color: var(--ink); font-size: 1.1rem; margin-bottom: var(--sp-2); }
.notice-info p { color: rgba(21, 21, 21, 0.72); font-size: 0.96rem; }
.notice-info a { color: var(--red); }
.notice-info a:hover { color: var(--red-deep); }

/* Auf Rechtsseiten: roter Merkkasten statt Tinte-Panel */
.legal .notice-box:not(.notice-info) {
  background: rgba(179, 41, 33, 0.08);
  border: 0;
  border-left: 4px solid var(--red);
  border-radius: var(--r-sm);
  padding: 18px 20px;
  color: var(--ink);
}
.legal .notice-box:not(.notice-info) > svg { color: var(--red); }
.legal .notice-box:not(.notice-info) h2,
.legal .notice-box:not(.notice-info) h3 { color: var(--ink); font-size: 1.15rem; }
.legal .notice-box:not(.notice-info) p { color: rgba(21, 21, 21, 0.74); }
.legal .notice-box:not(.notice-info) a { color: var(--red); }

/* ---------- FAQ (Karten) ---------- */
.faq {
  max-width: 860px;
  margin-inline: 0;
  display: grid;
  gap: 10px;
}
.faq details {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.8);
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: 19px 20px;
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 700;
  line-height: 1.15;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--red); }
.faq .faq-icon {
  flex: none;
  color: var(--red);
  transition: transform 200ms ease;
}
.faq details[open] .faq-icon { transform: rotate(45deg); }
.faq .faq-body { padding: 0 20px 22px; color: rgba(21, 21, 21, 0.7); max-width: 70ch; }
.faq .faq-body p { margin-bottom: var(--sp-3); }
.faq .faq-body p:last-child { margin-bottom: 0; }
.faq .faq-body a { color: var(--red); }

/* ---------- Finale CTA (Tinte-Panel) ---------- */
.cta-panel {
  position: relative;
  background: var(--ink);
  color: #fff;
  border-radius: var(--r-md);
  border: 1px solid var(--ink);
  padding: clamp(34px, 5vw, 64px);
  text-align: left;
}
.cta-panel h2 { color: #fff; max-width: 700px; }
.cta-panel .lead { color: rgba(255, 255, 255, 0.72); max-width: 680px; margin-inline: 0; }
.cta-panel .hero-cta { justify-content: flex-start; margin-top: var(--sp-6); }
.cta-panel .small-note { margin: var(--sp-5) 0 0; font-size: 0.9rem; color: rgba(255, 255, 255, 0.55); }

/* ---------- Footer (helles Papier) ---------- */
.site-footer {
  background: var(--cream);
  border-top: 1px solid var(--line);
  color: rgba(21, 21, 21, 0.62);
  padding: 48px 0 28px;
  font-size: 0.95rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: var(--sp-8);
  padding-bottom: var(--sp-8);
  border-bottom: 1px solid var(--line);
}
.site-footer .logo .logo-text { color: var(--ink); }
.site-footer .logo .logo-text span { color: var(--red); }
.footer-tagline { margin-top: var(--sp-4); max-width: 36ch; color: rgba(21, 21, 21, 0.62); }
.footer-col h4 {
  color: rgba(21, 21, 21, 0.5);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--sp-4);
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 10px; color: rgba(21, 21, 21, 0.62); }
.site-footer a { color: rgba(21, 21, 21, 0.76); text-decoration: none; font-weight: 700; }
.site-footer a:hover { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.footer-disclaimer {
  margin-top: var(--sp-6);
  padding: 15px 18px;
  border-left: 4px solid var(--red);
  background: rgba(179, 41, 33, 0.06);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  color: rgba(21, 21, 21, 0.7);
  font-size: 0.9rem;
  line-height: 1.55;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3) var(--sp-6);
  justify-content: space-between;
  padding-top: var(--sp-5);
  font-size: 0.88rem;
  color: rgba(21, 21, 21, 0.55);
}

/* ---------- Formulare ---------- */
.form-card {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--cream);
  padding: 26px;
  box-shadow: var(--shadow-soft);
}
fieldset {
  border: 0;
  margin: 0 0 var(--sp-8);
  padding: 0;
}
legend {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ink);
  padding: 0;
  margin-bottom: var(--sp-2);
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}
.legend-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 800;
  flex: none;
}
.fieldset-hint { color: rgba(21, 21, 21, 0.62); font-size: 0.96rem; margin-bottom: var(--sp-5); }

.field { margin-bottom: var(--sp-5); }
.field label {
  display: block;
  font-weight: 800;
  font-size: 0.94rem;
  margin-bottom: 7px;
}
.field .optional { font-weight: 600; color: rgba(21, 21, 21, 0.5); }
.helper { display: block; font-size: 0.86rem; font-weight: 500; color: rgba(21, 21, 21, 0.56); margin-top: 6px; }

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  border: 1px solid rgba(21, 21, 21, 0.22);
  border-radius: var(--r-sm);
  background: #fff;
  color: var(--ink);
  font-size: 16px;
  transition: border-color 140ms ease, box-shadow 140ms ease;
}
textarea { min-height: 120px; resize: vertical; }
select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236e6963' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 40px;
}
input::placeholder, textarea::placeholder { color: rgba(21, 21, 21, 0.42); }
input:focus, select:focus, textarea:focus {
  outline: 3px solid rgba(179, 41, 33, 0.35);
  outline-offset: 1px;
  border-color: var(--red);
}

.field.invalid input,
.field.invalid select,
.field.invalid textarea { border-color: var(--red); background: rgba(179, 41, 33, 0.04); }
.field-error {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  color: var(--red);
  font-size: 0.88rem;
  font-weight: 800;
  margin-top: 6px;
}
.field-error svg { flex: none; margin-top: 2px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* Paket-Auswahl als Radio-Karten */
.pkg-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.pkg-option input { position: absolute; opacity: 0; pointer-events: none; }
.pkg-card {
  display: block;
  height: 100%;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 18px;
  cursor: pointer;
  background: var(--paper-3);
  transition: border-color 140ms ease, box-shadow 140ms ease, background 140ms ease;
}
.pkg-card:hover { border-color: var(--line-strong); }
.pkg-option input:checked + .pkg-card {
  border-color: var(--red);
  background: linear-gradient(180deg, rgba(244, 216, 212, 0.45), rgba(255, 255, 255, 0.95) 46%);
  box-shadow: 0 0 0 3px rgba(179, 41, 33, 0.12);
}
.pkg-option input:focus-visible + .pkg-card {
  outline: 3px solid rgba(179, 41, 33, 0.45);
  outline-offset: 3px;
}
.pkg-card .pkg-name {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.12rem;
  margin-bottom: 4px;
}
.pkg-card .pkg-price { font-weight: 800; color: var(--red); font-size: 0.95rem; }
.pkg-card .pkg-meta { font-size: 0.86rem; color: rgba(21, 21, 21, 0.56); }
.pkg-radio-dot {
  width: 20px; height: 20px;
  border: 2px solid var(--line-strong);
  border-radius: 50%;
  flex: none;
  position: relative;
  background: #fff;
}
.pkg-option input:checked + .pkg-card .pkg-radio-dot { border-color: var(--red); }
.pkg-option input:checked + .pkg-card .pkg-radio-dot::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--red);
}

/* Kanal-Zeilen */
.channel-row {
  display: grid;
  grid-template-columns: 170px 1fr 46px;
  grid-template-areas: "platform handle remove";
  gap: 8px;
  margin-bottom: 10px;
  padding: 10px;
  border: 1px solid rgba(21, 21, 21, 0.08);
  border-radius: var(--r-md);
  background: rgba(21, 21, 21, 0.035);
}
.channel-row .ch-platform { grid-area: platform; }
.channel-row .ch-handle { grid-area: handle; }
.channel-row .ch-remove { grid-area: remove; }
.ch-remove {
  width: 46px;
  min-height: 46px;
  border: 1px solid rgba(21, 21, 21, 0.22);
  border-radius: var(--r-sm);
  background: #fff;
  color: var(--red);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  transition: border-color 140ms ease, background 140ms ease;
}
.ch-remove:hover { border-color: var(--red); background: rgba(179, 41, 33, 0.07); }
.channel-limit-hint {
  font-size: 0.86rem;
  font-weight: 600;
  color: rgba(21, 21, 21, 0.56);
  background: transparent;
  border-radius: var(--r-sm);
  padding: 8px 0 0;
  margin-top: var(--sp-2);
}
.channel-limit-hint.exceed {
  background: rgba(179, 41, 33, 0.1);
  color: var(--red);
  font-weight: 800;
  padding: 10px 14px;
}

/* Zustimmungen */
.consent {
  display: flex;
  gap: var(--sp-3);
  align-items: flex-start;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--paper-3);
  padding: 15px 18px;
  margin-bottom: 10px;
}
.consent input[type="checkbox"] {
  width: 20px; height: 20px;
  margin: 3px 0 0;
  flex: none;
  accent-color: var(--red);
  cursor: pointer;
}
.consent label { font-size: 0.94rem; line-height: 1.55; cursor: pointer; color: rgba(21, 21, 21, 0.78); }
.consent label a { color: var(--red); }
.consent.invalid { border-color: var(--red); background: rgba(179, 41, 33, 0.04); }

/* Formular-Meldungen */
.alert {
  display: flex;
  gap: var(--sp-3);
  align-items: flex-start;
  border-radius: var(--r-sm);
  padding: 14px 16px;
  margin-bottom: var(--sp-5);
  font-size: 0.97rem;
  font-weight: 700;
}
.alert svg { flex: none; margin-top: 2px; }
.alert-error { background: rgba(179, 41, 33, 0.1); border: 1px solid rgba(179, 41, 33, 0.3); color: var(--red); }
.alert-success { background: rgba(73, 111, 86, 0.14); border: 1px solid rgba(73, 111, 86, 0.35); color: var(--green); }
.alert[hidden] { display: none; }

.form-legal-note {
  font-size: 0.88rem;
  color: rgba(21, 21, 21, 0.58);
  margin-top: var(--sp-4);
}

.turnstile-slot { margin-block: var(--sp-5); min-height: 0; }

/* ---------- Danke-Seite ---------- */
.confirm-hero { text-align: left; padding: 170px 0 var(--sp-10); }
.confirm-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 68px; height: 68px;
  border-radius: 50%;
  background: var(--green);
  border: 0;
  color: #fff;
  margin-bottom: var(--sp-6);
}
.next-steps { max-width: 720px; margin-inline: 0; text-align: left; }
.next-steps h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.next-steps ol { counter-reset: ns; list-style: none; padding: 0; }
.next-steps ol li {
  counter-increment: ns;
  position: relative;
  padding: 18px 18px 18px 66px;
  margin-bottom: 10px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.8);
  color: rgba(21, 21, 21, 0.74);
}
.next-steps ol li::before {
  content: counter(ns);
  position: absolute;
  left: 16px; top: 16px;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Rechtsseiten ---------- */
.page-hero {
  background: transparent;
  border-bottom: 1px solid var(--line);
  padding: 168px 0 40px;
}
.page-hero h1 {
  font-size: clamp(2.7rem, 6vw, 5.2rem);
  margin-bottom: var(--sp-3);
  hyphens: auto;
  -webkit-hyphens: auto;
}
.page-hero .updated { color: rgba(21, 21, 21, 0.58); font-size: 0.98rem; margin: 0; }
.page-hero .kicker { margin-bottom: var(--sp-2); }

.legal {
  width: min(100% - 32px, 820px);
  margin-inline: auto;
  padding: var(--sp-12) 0 var(--sp-24);
}
.page-hero .legal,
.page-hero .container-narrow { padding-block: 0; }
.legal h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  margin-top: var(--sp-12);
  margin-bottom: var(--sp-3);
}
.legal h3 { font-size: 1.2rem; margin-top: var(--sp-8); }
.legal p, .legal li { color: rgba(21, 21, 21, 0.74); font-size: 1.01rem; }
.legal address {
  font-style: normal;
  line-height: 1.8;
  padding: 16px 20px;
  border-left: 4px solid var(--ink);
  background: rgba(21, 21, 21, 0.04);
  margin-bottom: var(--sp-4);
}
.legal a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }

/* Platzhalter-Markierung – vor Go-Live ersetzen! */
mark.ph {
  background: #f5e5b8;
  border: 1px dashed var(--amber);
  border-radius: 4px;
  padding: 0 0.35em;
  color: #6b4a12;
  font-weight: 700;
}

/* ---------- Scroll-Reveal ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.5s ease-out, transform 0.5s ease-out; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 1023px) {
  .hero { min-height: 0; }
  .hero-inner { grid-template-columns: 1fr; gap: var(--sp-10); }
  .report-card { margin-inline: 0; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step { border-left: 0; border-top: 1px solid var(--line); }
  .step:first-child, .step:nth-child(2) { border-top: 0; }
  .steps { border-top: 1px solid var(--line); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 580px; }
  .price-card.featured { order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .pkg-grid { grid-template-columns: 1fr; }
  .section-head { grid-template-columns: 1fr; align-items: start; gap: var(--sp-3); }
}

@media (max-width: 767px) {
  .section { padding: 64px 0; }
  .cards-3 { grid-template-columns: 1fr; }
  .check-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .form-card { padding: 20px; }
  .notice-box { padding: 24px 20px; flex-direction: row; }
  .cta-panel { border-radius: var(--r-md); }
  .hero { padding: 140px 0 48px; }
  .page-hero { padding-top: 150px; }
  .confirm-hero { padding-top: 150px; }
}

@media (max-width: 559px) {
  .site-header { top: 8px; width: min(100% - 22px, var(--max)); }
  .container, .container-narrow { width: min(100% - 22px, var(--max)); }
  .legal { width: min(100% - 22px, 820px); }
  .hero h1 { font-size: clamp(2.3rem, 9.5vw, 3.2rem); }
  .hero-trust { grid-template-columns: 1fr; }
  .hero-cta .btn { width: 100%; }
  .stat-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step:nth-child(2) { border-top: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr; gap: var(--sp-6); }
  .channel-row {
    grid-template-columns: 1fr 46px;
    grid-template-areas:
      "platform platform"
      "handle remove";
  }
  .notice-box { flex-direction: column; gap: var(--sp-3); }
}
