/* ==========================================================================
   Dossio – Landingpage
   Handgemachtes CSS, kein Build-Step, keine Libs.
   Design-System mit Tokens (Farben · 8px-Spacing · Radius · Shadow · Typo).
   Look: helles, cleanes B2B-SaaS-Layout mit edlen Ink/Gold-Akzenten.
   Marke: Ink #0E1726 · Gold #C9A24A · Tiefe #9A7C30 · Off-White #F7F6F2.
   ========================================================================== */

/* ------------------------------------------------------------------ Tokens */
:root {
  /* Marke */
  --ink: #0E1726;
  --ink-2: #0b1320;          /* tieferes Ink für Sektionswechsel */
  --gold: #C9A24A;
  --gold-bright: #d8b561;
  --gold-deep: #6E5520;  /* AA: 7.04:1 auf Weiß, 6.51:1 auf Off-White (SC 1.4.3) */
  --offwhite: #F7F6F2;
  --offwhite-2: #f1efe7;
  --white: #ffffff;

  /* Text */
  --text: #0E1726;
  --text-muted: #545c70;
  --text-faint: #6B7280;  /* AA: 4.83:1 auf Weiß (SC 1.4.3) */
  --text-faint-on-band: #666b75;  /* AA: 4.95:1 auf --offwhite #F7F6F2 (SC 1.4.3) — .band p */
  --on-dark: #eef0f6;
  --on-dark-muted: #a3abc0;
  --on-dark-faint: #8A93AD;  /* AA: 5.04:1 auf Glass-Panel #1C2533 (SC 1.4.3) */

  /* Linien & Glas */
  --border: #e7e4da;
  --border-strong: #d8d4c7;
  --hair-dark: rgba(255, 255, 255, 0.10);
  --hair-dark-2: rgba(255, 255, 255, 0.055);
  --glass: rgba(255, 255, 255, 0.05);
  --glass-2: rgba(255, 255, 255, 0.03);

  /* Spacing – 8px-Grid */
  --s-1: 4px;  --s-2: 8px;  --s-3: 12px; --s-4: 16px; --s-5: 24px;
  --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px; --s-10: 128px;

  /* Radius */
  --r-xs: 8px; --r-sm: 12px; --r-md: 16px; --r-lg: 22px; --r-pill: 999px;

  /* Shadow – weich, niedrige Opazität */
  --sh-1: 0 1px 2px rgba(14, 23, 38, 0.05);
  --sh-2: 0 8px 24px rgba(14, 23, 38, 0.07);
  --sh-3: 0 18px 48px rgba(14, 23, 38, 0.12);
  --sh-4: 0 34px 80px rgba(14, 23, 38, 0.20);
  --sh-gold: 0 10px 30px rgba(201, 162, 74, 0.35);

  /* Typo */
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-display: "Inter Tight", "Inter", system-ui, sans-serif;
  --t-hero: clamp(2.5rem, 1.2rem + 5.2vw, 4.5rem);
  --t-h2:   clamp(1.75rem, 1.1rem + 2.4vw, 2.7rem);
  --t-h3:   clamp(1.15rem, 1rem + 0.6vw, 1.35rem);
  --t-lead: clamp(1.05rem, 0.98rem + 0.6vw, 1.28rem);
  --t-body: 1rem; --t-sm: 0.9rem; --t-xs: 0.8rem;

  --maxw: 1160px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* -------------------------------------------------------------- Reset/Basis */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); font-size: var(--t-body);
  color: var(--text); background: var(--white); line-height: 1.65;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
h1, h2, h3, h4 {
  font-family: var(--font-display); line-height: 1.08; letter-spacing: -0.025em;
  margin: 0 0 var(--s-3); font-weight: 700;
}
p { margin: 0 0 var(--s-4); }
a { color: var(--gold-deep); text-decoration: none; transition: color .18s var(--ease); }
a:hover { text-decoration: underline; }
img, svg { max-width: 100%; height: auto; display: block; }
ul { margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

/* -------------------------------------------------------------- Layout-Util */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--s-5); }
.section { padding: var(--s-9) 0; }
.section--tight { padding: var(--s-7) 0; }
.section__head { max-width: 680px; margin: 0 auto var(--s-8); text-align: center; }
.section__head h2 { font-size: var(--t-h2); }
.section__head p { color: var(--text-muted); font-size: var(--t-lead); margin: 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: var(--s-2);
  font-size: var(--t-xs); font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--gold-deep); margin-bottom: var(--s-4);
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: linear-gradient(90deg, var(--gold), transparent); }
.section__head .eyebrow { justify-content: center; }
.section__head .eyebrow::after { content: ""; width: 22px; height: 1px; background: linear-gradient(270deg, var(--gold), transparent); }

.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; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--white); padding: 10px 16px; z-index: 100; border-radius: 0 0 var(--r-xs) 0; }
.skip-link:focus { left: 0; top: 0; }

/* ------------------------------------------------------------------ Buttons */
.btn {
  --btn-y: 13px; --btn-x: 22px;
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  font: inherit; font-weight: 600; line-height: 1;
  padding: var(--btn-y) var(--btn-x); border-radius: var(--r-pill);
  border: 1px solid transparent; cursor: pointer;
  transition: transform .16s var(--ease), background .18s var(--ease),
              box-shadow .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease);
  text-decoration: none; white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; }
.btn--primary {
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
  color: var(--ink); border-color: var(--gold-deep); box-shadow: var(--sh-gold);
}
.btn--primary:hover { box-shadow: 0 14px 38px rgba(201, 162, 74, 0.45); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--border-strong); }
.btn--ghost:hover { border-color: var(--ink); background: var(--offwhite); }
.btn--ghost-light { background: var(--glass); color: var(--on-dark); border-color: var(--hair-dark); }
.btn--ghost-light:hover { border-color: var(--on-dark-muted); background: rgba(255,255,255,0.09); }
.btn--lg { --btn-y: 16px; --btn-x: 30px; font-size: 1.05rem; }
.btn--block { width: 100%; }

/* ====================================================================== Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
}
.site-header.is-stuck { border-bottom-color: var(--border); box-shadow: var(--sh-1); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); height: 104px; }
.brand-logo { height: 72px; width: auto; aspect-ratio: 150/93; flex-shrink: 0; }
.site-nav { display: none; gap: var(--s-6); }
.site-nav a { color: var(--text); font-weight: 500; font-size: var(--t-sm); position: relative; white-space: nowrap; }
.site-nav a::after { content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0; background: var(--gold); transition: width .22s var(--ease); }
.site-nav a:hover { color: var(--ink); text-decoration: none; }
.site-nav a:hover::after { width: 100%; }
.header-cta { display: flex; align-items: center; gap: var(--s-2); }
.header-cta .btn { --btn-y: 9px; --btn-x: 18px; font-size: var(--t-sm); }
.header-cta .nav-hide-mobile { display: none; }
@media (min-width: 880px) {
  .site-nav { display: flex; }
  .header-cta .nav-hide-mobile { display: inline-flex; }
}

/* ============================================================== Mobile-Nav */
.nav-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 0; border: 1px solid var(--border-strong);
  border-radius: var(--r-xs); background: var(--white); cursor: pointer;
  transition: border-color .18s var(--ease), background .18s var(--ease);
}
.nav-toggle__bar {
  display: block; width: 22px; height: 2px; margin: 0 auto; background: var(--ink);
  transition: transform .25s var(--ease), opacity .2s var(--ease);
}
.nav-toggle:hover { border-color: var(--ink); background: var(--offwhite); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (min-width: 880px) { .nav-toggle { display: none; } }

.mobile-nav-overlay {
  position: fixed; inset: 0; z-index: 200; background: rgba(14, 23, 38, 0.6);
  opacity: 0; pointer-events: none; transition: opacity .3s var(--ease);
}
.mobile-nav-overlay.is-open { opacity: 1; pointer-events: auto; }

.mobile-nav {
  position: fixed; top: 0; right: 0; z-index: 210; height: 100vh; width: min(320px, 86vw);
  background: var(--white); box-shadow: var(--sh-4);
  display: flex; flex-direction: column; gap: var(--s-4);
  padding: var(--s-7) var(--s-5) var(--s-5);
  transform: translateX(100%); transition: transform .3s var(--ease);
  overflow-y: auto;
}
.mobile-nav.is-open { transform: none; }
.mobile-nav__close {
  position: absolute; top: var(--s-4); right: var(--s-4); width: 36px; height: 36px;
  border: 1px solid var(--border-strong); border-radius: 50%; background: var(--white);
  color: var(--ink); display: flex; align-items: center; justify-content: center; cursor: pointer;
  transition: border-color .18s var(--ease), color .18s var(--ease);
}
.mobile-nav__close svg { width: 18px; height: 18px; }
.mobile-nav__close:hover { border-color: var(--gold); color: var(--gold-deep); }
.mobile-nav a {
  color: var(--ink); font-weight: 500; font-size: 1.05rem; padding: var(--s-2) 0;
  border-bottom: 1px solid var(--border);
}
.mobile-nav a:hover { color: var(--gold-deep); text-decoration: none; }
.mobile-nav .btn { margin-top: var(--s-3); border-bottom: 0; }

body.mobile-nav-open { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  .mobile-nav, .mobile-nav-overlay { transition: none; }
  .nav-toggle__bar { transition: none; }
}

/* ======================================================================== Hero */
.hero {
  position: relative; overflow: hidden; color: var(--on-dark);
  background:
    radial-gradient(1200px 620px at 82% -8%, rgba(201, 162, 74, 0.20), transparent 58%),
    radial-gradient(900px 600px at 8% 110%, rgba(201, 162, 74, 0.08), transparent 60%),
    linear-gradient(170deg, var(--ink) 0%, var(--ink-2) 100%);
  padding: clamp(56px, 7vw, 104px) 0 clamp(64px, 8vw, 116px);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(900px 500px at 50% 0%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(900px 500px at 50% 0%, #000, transparent 75%);
}
.hero__inner { position: relative; display: grid; grid-template-columns: 1fr; gap: var(--s-8); align-items: center; }
.hero__badge {
  display: inline-flex; align-items: center; gap: var(--s-2);
  font-size: var(--t-xs); font-weight: 600; letter-spacing: 0.04em; color: var(--gold-bright);
  background: rgba(201,162,74,0.10); border: 1px solid rgba(201,162,74,0.28);
  padding: 6px 14px; border-radius: var(--r-pill); margin-bottom: var(--s-5);
}
.hero__badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold-bright); animation: pulse 2.4s var(--ease) infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(201,162,74,0.55); } 70% { box-shadow: 0 0 0 8px rgba(201,162,74,0); } 100% { box-shadow: 0 0 0 0 rgba(201,162,74,0); } }
.hero h1 { color: var(--white); font-size: var(--t-hero); letter-spacing: -0.035em; margin-bottom: var(--s-5); font-weight: 800; }
.hero h1 .accent { background: linear-gradient(110deg, var(--gold-bright), var(--gold) 55%, var(--gold-deep)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__lead { color: var(--on-dark-muted); font-size: var(--t-lead); max-width: 560px; margin-bottom: var(--s-5); }

/* Häkchen-Checkliste im Hero (Conversion-Mechanik der Referenz) */
.checklist { display: grid; gap: var(--s-2); margin: 0 0 var(--s-6); }
.checklist li { display: flex; align-items: flex-start; gap: var(--s-3); font-size: var(--t-sm); color: var(--on-dark); }
.checklist .tick {
  width: 22px; height: 22px; flex: none; border-radius: 50%; display: grid; place-items: center;
  background: rgba(201,162,74,0.16); color: var(--gold-bright); border: 1px solid rgba(201,162,74,0.35);
}
.checklist .tick svg { width: 13px; height: 13px; }

.hero__cta { display: flex; flex-wrap: wrap; gap: var(--s-3); }
.hero__trust { margin-top: var(--s-6); display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-6); font-size: var(--t-sm); color: var(--on-dark-muted); }
.hero__trust span { display: inline-flex; align-items: center; gap: var(--s-2); }
.hero__trust svg { width: 16px; height: 16px; flex: none; color: var(--gold); }
@media (min-width: 980px) { .hero__inner { grid-template-columns: 1.05fr 0.95fr; } }

/* Hero-Visual: animierter Flow Upload -> KI -> Dokument */
.hero__visual { perspective: 1400px; }
.mockup {
  position: relative; background: linear-gradient(180deg, var(--glass), var(--glass-2));
  border: 1px solid var(--hair-dark); border-radius: var(--r-lg); padding: var(--s-5);
  box-shadow: var(--sh-4); transform: rotateX(4deg) rotateY(-5deg); transition: transform .5s var(--ease);
}
.hero__visual:hover .mockup { transform: rotateX(0) rotateY(0); }
.mockup::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(140deg, rgba(255,255,255,0.10), transparent 40%); }
.mockup__bar { display: flex; gap: 7px; margin-bottom: var(--s-5); }
.mockup__bar i { width: 11px; height: 11px; border-radius: 50%; background: rgba(255,255,255,0.16); }
.mockup__bar i:first-child { background: rgba(201,162,74,0.7); }
.flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; gap: var(--s-2); }
.flow__step { background: var(--glass); border: 1px solid var(--hair-dark); border-radius: var(--r-sm); padding: var(--s-4) var(--s-2); text-align: center; font-size: var(--t-xs); color: var(--on-dark); transition: background .3s var(--ease), border-color .3s var(--ease); }
.flow__step .ic { width: 36px; height: 36px; margin: 0 auto var(--s-2); color: var(--gold); }
.flow__step.is-doc { background: linear-gradient(180deg, rgba(201,162,74,0.20), rgba(201,162,74,0.05)); border-color: rgba(201, 162, 74, 0.45); }
.flow__arrow { color: var(--gold); }
.flow__arrow svg { width: 22px; height: 22px; }
.flow__arrow svg path { stroke-dasharray: 10; animation: dash 1.6s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -20; } }
.mockup__scan { margin-top: var(--s-4); height: 6px; border-radius: var(--r-pill); background: rgba(255,255,255,0.08); overflow: hidden; }
.mockup__scan i { display: block; height: 100%; width: 40%; border-radius: inherit; background: linear-gradient(90deg, transparent, var(--gold), transparent); animation: scan 2.6s var(--ease) infinite; }
@keyframes scan { 0% { transform: translateX(-100%); } 100% { transform: translateX(310%); } }

/* 4. Schritt "QR-Code": eigene Zeile unter dem 3er-Flow (4 Kacheln in einer Reihe
   wuerden auf dem schmalen Mockup zu eng), gleicher Gold/Glas-Stil wie .is-doc. */
.flow__connector { display: flex; justify-content: center; margin: var(--s-3) 0 2px; color: var(--gold); }
.flow__connector svg { width: 16px; height: 22px; }
.flow__connector svg path { stroke-dasharray: 7; animation: dash 1.6s linear infinite; }
.flow__qr {
  display: flex; align-items: center; gap: var(--s-4); margin-top: 2px;
  background: linear-gradient(180deg, rgba(201,162,74,0.20), rgba(201,162,74,0.05));
  border: 1px solid rgba(201,162,74,0.45); border-radius: var(--r-sm); padding: var(--s-4);
}
.flow__qr-info { display: flex; align-items: center; gap: var(--s-3); flex: 1; min-width: 0; }
.flow__qr-info .ic { width: 36px; height: 36px; flex: none; margin: 0; color: var(--gold); }
.flow__qr-info b { display: block; color: var(--white); font-size: var(--t-sm); font-weight: 700; }
.flow__qr-info span { display: block; color: var(--on-dark-muted); font-size: var(--t-xs); margin-top: 2px; }
.flow__qr-img { width: 68px; height: 68px; flex: none; border-radius: 8px; background: #fff; padding: 5px; box-shadow: var(--sh-2); }
.flow__qr-caption { margin: var(--s-4) 0 0; font-size: var(--t-xs); color: var(--on-dark-muted); line-height: 1.55; text-align: center; }
.flow__qr-caption a { color: var(--gold-bright); font-weight: 600; }
@media (max-width: 420px) {
  .flow__qr { flex-direction: column; align-items: stretch; text-align: center; }
  .flow__qr-info { flex-direction: column; }
  .flow__qr-img { align-self: center; }
}

/* QR-Kachel als Lightbox-Trigger: klickbar, oeffnet die Zoom-Ansicht (assets/qr-lightbox.js). */
.flow__qr-trigger { flex: none; border: 0; padding: 0; margin: 0; background: none; cursor: pointer; border-radius: 8px; }
.flow__qr-trigger .flow__qr-img { transition: box-shadow .18s var(--ease), transform .18s var(--ease); }
.flow__qr-trigger:hover .flow__qr-img { box-shadow: 0 0 0 3px rgba(201,162,74,0.4), var(--sh-2); transform: translateY(-1px); }
.flow__qr-trigger:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ============================================================ QR-Demo-Lightbox */
.qr-lb { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: var(--s-5); }
.qr-lb[hidden] { display: none; }
body.qr-lb-open { overflow: hidden; }
.qr-lb__backdrop { position: absolute; inset: 0; background: rgba(6, 10, 18, 0.72); }
.qr-lb__panel {
  position: relative; z-index: 1; width: 100%; max-width: 580px; max-height: 90vh; overflow-y: auto;
  background: linear-gradient(170deg, var(--ink) 0%, var(--ink-2) 100%); color: var(--on-dark);
  border: 1px solid var(--hair-dark); border-radius: var(--r-lg); box-shadow: var(--sh-4);
  padding: var(--s-6); animation: qrLbIn .22s var(--ease);
}
@keyframes qrLbIn { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }
.qr-lb__close {
  position: absolute; top: var(--s-4); right: var(--s-4); width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--hair-dark); background: var(--glass); color: var(--on-dark);
  display: flex; align-items: center; justify-content: center; cursor: pointer; transition: border-color .18s var(--ease), color .18s var(--ease);
}
.qr-lb__close svg { width: 16px; height: 16px; }
.qr-lb__close:hover, .qr-lb__close:focus-visible { border-color: var(--gold); color: var(--gold-bright); }
.qr-lb h2 { color: var(--white); font-size: 1.2rem; margin: 0 0 4px; padding-right: 44px; }
.qr-lb__panel > p#qr-lb-desc { color: var(--on-dark-muted); font-size: var(--t-sm); margin: 0 0 var(--s-6); }
.qr-lb__body { display: grid; grid-template-columns: auto 1fr; gap: var(--s-6); align-items: start; }
.qr-lb__code { display: flex; flex-direction: column; align-items: center; gap: var(--s-3); }
.qr-lb__code img { width: 180px; height: 180px; background: #fff; border-radius: var(--r-sm); padding: var(--s-3); box-shadow: var(--sh-2); }
.qr-lb__url { font-size: var(--t-xs); color: var(--on-dark-muted); font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; }
.qr-lb__preview-tag { display: inline-block; font-size: var(--t-xs); font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--gold-bright); margin-bottom: var(--s-3); }
.qr-lb__preview-card { background: rgba(255,255,255,0.97); border-radius: var(--r-sm); overflow: hidden; box-shadow: var(--sh-2); }
.qr-lb__preview-head { background: rgba(201,162,74,0.16); padding: var(--s-3) var(--s-4); border-bottom: 1px solid var(--border); }
.qr-lb__preview-eyebrow { display: block; font-size: var(--t-xs); font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; color: var(--gold-deep); }
.qr-lb__preview-head p { margin: 3px 0 0; font-size: 0.74rem; color: var(--text-muted); line-height: 1.4; }
.qr-lb__preview-rows { margin: 0; padding: var(--s-3) var(--s-4); display: grid; gap: var(--s-2); }
.qr-lb__preview-rows > div { display: flex; justify-content: space-between; gap: var(--s-3); font-size: 0.8rem; }
.qr-lb__preview-rows dt { color: var(--text-faint); }
.qr-lb__preview-rows dd { margin: 0; color: var(--ink); font-weight: 600; text-align: right; }
.qr-lb__link { display: inline-block; margin-top: var(--s-5); font-size: var(--t-sm); font-weight: 600; color: var(--gold-bright); }
@media (max-width: 560px) {
  .qr-lb__panel { padding: var(--s-5); }
  .qr-lb__body { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .qr-lb__preview { width: 100%; }
  .qr-lb__preview-rows > div { text-align: left; }
}

/* ====================================================================== Band */
.band { background: var(--offwhite); border-block: 1px solid var(--border); text-align: center; }
.band p { margin: 0; font-size: var(--t-xs); letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-faint-on-band); }
.band__items { margin-top: var(--s-4); display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-3) var(--s-7); font-weight: 600; color: var(--ink); }
.band__items span { opacity: 0.7; }

/* Praxis-Beweis-Leiste (unter dem Hero) */
.proof { background: #fff; border-top: 3px solid #C9A24A; padding: 40px 0; text-align: center; }
.proof__eyebrow { margin: 0 0 20px; font-size: var(--t-xs); letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-deep); font-weight: 700; }
.doc-types { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.doc-type { background: #fff; border: 1px solid rgba(14,23,38,.10); border-top: 3px solid #C9A24A; border-radius: 14px; padding: 18px 20px; box-shadow: 0 6px 22px rgba(14,23,38,.05); }
.doc-type b { display: block; color: var(--ink); font-size: 1.05rem; margin-bottom: 6px; }
.doc-type span { color: #5b6470; font-size: .92rem; line-height: 1.5; }
.ppwr-hl { max-width: 760px; margin: 22px auto 0; text-align: center; background: #FBF7EE; border: 1px solid rgba(201,162,74,.4); border-radius: 14px; padding: 16px 22px; color: var(--ink); line-height: 1.55; }
@media (max-width: 720px) { .doc-types { grid-template-columns: 1fr; } }
.hero__speed { display: inline-flex; align-items: center; gap: 10px; margin: 4px 0 20px; padding: 10px 16px; background: #FBF7EE; border: 1px solid rgba(201,162,74,.45); border-radius: 999px; color: var(--ink); font-size: .98rem; }
.hero__speed svg { width: 20px; height: 20px; color: #C9A24A; flex: 0 0 auto; }
.proof__stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px 64px; }
.proof__stat b { display: block; font-family: 'Inter Tight', Inter, sans-serif; font-weight: 800; font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1; color: var(--ink); }
.proof__stat span { display: block; margin-top: 6px; font-size: var(--t-sm); color: var(--text-faint); }
.proof__note { margin: 20px 0 0; font-size: var(--t-sm); color: var(--text-faint); }
.proof__compare { max-width: 560px; margin: 26px auto 0; }
.proof__compare-label { display: block; text-align: center; font-size: var(--t-sm); color: var(--ink); font-weight: 600; margin-bottom: 14px; }
.proof .bar { display: flex; align-items: center; gap: 14px; margin: 9px 0; }
.proof .bar__track { position: relative; flex: 1; height: 22px; background: #eef0f3; border-radius: 6px; overflow: hidden; }
.proof .bar__fill { position: absolute; top: 0; bottom: 0; left: 0; border-radius: 6px; }
.proof .bar__fill--human { background: #0E1726; }
.proof .bar__fill--dossio { background: #C9A24A; }
.proof .bar b { min-width: 150px; text-align: left; font-size: var(--t-sm); font-weight: 600; color: var(--ink); }
.proof__compare-foot { display: block; text-align: center; font-size: var(--t-xs); color: var(--text-faint); margin-top: 14px; }

/* ================================================================== Features */
.features { display: grid; gap: var(--s-5); grid-template-columns: 1fr; }
@media (min-width: 760px) { .features { grid-template-columns: repeat(3, 1fr); } }
.feature {
  position: relative; background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: var(--s-6); box-shadow: var(--sh-2); overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.feature::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: linear-gradient(90deg, var(--gold), var(--gold-deep)); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.feature:hover { transform: translateY(-4px); box-shadow: var(--sh-3); border-color: var(--border-strong); }
.feature:hover::before { transform: scaleX(1); }
.feature__icon {
  width: 52px; height: 52px; border-radius: var(--r-sm); display: grid; place-items: center;
  background: linear-gradient(160deg, rgba(201,162,74,0.18), rgba(201,162,74,0.06));
  color: var(--gold-deep); margin-bottom: var(--s-5); border: 1px solid rgba(201,162,74,0.22);
}
.feature__icon svg { width: 26px; height: 26px; }
.feature h3 { font-size: var(--t-h3); }
.feature p { color: var(--text-muted); margin: 0; }

/* ============================================= „Was Dossio erledigt" (Check) */
.deliver { background: linear-gradient(180deg, var(--offwhite), var(--offwhite-2)); }
.deliver__grid { display: grid; gap: var(--s-7); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 920px) { .deliver__grid { grid-template-columns: 1fr 1fr; } }
.deliver__copy h2 { font-size: var(--t-h2); }
.deliver__copy > p { color: var(--text-muted); font-size: var(--t-lead); }
.deliver__list { display: grid; gap: var(--s-3); margin-top: var(--s-6); }
.deliver__list li { display: flex; gap: var(--s-3); align-items: flex-start; }
.deliver__list .tick {
  width: 26px; height: 26px; flex: none; border-radius: 50%; display: grid; place-items: center;
  background: rgba(201,162,74,0.14); color: var(--gold-deep); border: 1px solid rgba(201,162,74,0.30);
}
.deliver__list .tick svg { width: 15px; height: 15px; }
.deliver__list span { color: var(--text); }
.deliver__list strong { color: var(--ink); }
.deliver__card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: var(--s-6); box-shadow: var(--sh-3);
}
.deliver__card h3 { font-size: var(--t-h3); margin-bottom: var(--s-4); }
.compare { display: grid; gap: var(--s-2); }
.compare__row { display: grid; grid-template-columns: 1fr auto auto; gap: var(--s-3); align-items: center; padding: var(--s-3) 0; border-bottom: 1px solid var(--border); font-size: var(--t-sm); }
.compare__row:last-child { border-bottom: 0; }
.compare__head { font-weight: 700; color: var(--text-faint); font-size: var(--t-xs); text-transform: uppercase; letter-spacing: 0.06em; border-bottom: 1px solid var(--border-strong); }
.compare__cell { text-align: center; min-width: 64px; font-weight: 600; }
.compare__cell.man { color: var(--text-faint); }
.compare__cell.dos { color: var(--gold-deep); }

/* ============================ So funktioniert's – scroll-erzählte Animation */
.steps { background: var(--white); }
.steps__layout { display: grid; gap: var(--s-7); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 960px) { .steps__layout { grid-template-columns: 1fr 1fr; } }

/* Linke Spalte: Schrittliste */
.steps__list { display: grid; gap: var(--s-4); }
.stepcard {
  border: 1px solid var(--border); border-radius: var(--r-md); padding: var(--s-5) var(--s-5);
  background: var(--white); box-shadow: var(--sh-1); cursor: pointer;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease), transform .3s var(--ease);
}
.stepcard__top { display: flex; align-items: center; gap: var(--s-3); }
.stepcard__num {
  display: inline-grid; place-items: center; width: 34px; height: 34px; flex: none;
  border-radius: var(--r-sm); background: var(--offwhite); color: var(--text-faint);
  font-family: var(--font-display); font-weight: 700; font-size: var(--t-sm);
  transition: background .3s var(--ease), color .3s var(--ease);
}
.stepcard h3 { font-size: 1.1rem; margin: 0; }
.stepcard p { color: var(--text-muted); font-size: var(--t-sm); margin: var(--s-3) 0 0; }
.stepcard.is-active { border-color: var(--gold); box-shadow: var(--sh-3); transform: translateX(4px); }
.stepcard.is-active .stepcard__num { background: var(--ink); color: var(--gold); }

/* Rechte Spalte: sticky-Visual, das mit den Schritten wechselt */
.steps__stage { position: relative; }
@media (min-width: 960px) { .steps__stage { position: sticky; top: 100px; } }
.stage {
  position: relative; background: linear-gradient(170deg, var(--ink), var(--ink-2));
  border: 1px solid var(--hair-dark); border-radius: var(--r-lg); padding: var(--s-6);
  min-height: 340px; box-shadow: var(--sh-4); overflow: hidden;
}
.stage::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 36px 36px;
}
.stage__panel {
  position: absolute; inset: var(--s-6); display: grid; place-content: center; text-align: center;
  opacity: 0; transform: scale(0.96) translateY(10px); transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.stage__panel.is-active { opacity: 1; transform: none; }
.stage__panel svg { width: clamp(160px, 60%, 260px); margin: 0 auto var(--s-5); }
.stage__panel h4 { color: var(--white); font-size: 1.2rem; margin-bottom: var(--s-2); }
.stage__panel p { color: var(--on-dark-muted); font-size: var(--t-sm); max-width: 36ch; margin: 0 auto; }

/* ======================================================================= ROI */
.roi { background: radial-gradient(800px 500px at 90% 0%, rgba(201,162,74,0.10), transparent 60%), var(--ink); color: var(--on-dark); }
.roi .section__head h2 { color: var(--white); }
.roi .section__head p { color: var(--on-dark-muted); }
.roi__grid { display: grid; gap: var(--s-6); grid-template-columns: 1fr; align-items: stretch; }
@media (min-width: 900px) { .roi__grid { grid-template-columns: 1fr 1fr; } }
.roi__panel { background: linear-gradient(180deg, var(--glass), var(--glass-2)); border: 1px solid var(--hair-dark); border-radius: var(--r-md); padding: var(--s-6); backdrop-filter: blur(6px); }
.roi__panel h3 { color: var(--white); font-size: var(--t-h3); margin-bottom: var(--s-5); }
.field { margin-bottom: var(--s-5); }
.field label { display: block; font-size: var(--t-sm); font-weight: 500; margin-bottom: var(--s-2); color: var(--on-dark); }
.field input[type="number"] { width: 100%; font: inherit; padding: 12px 14px; border-radius: var(--r-sm); border: 1px solid var(--hair-dark); background: rgba(255,255,255,0.06); color: var(--white); transition: border-color .18s var(--ease), background .18s var(--ease); }
.field input[type="number"]:focus { border-color: var(--gold); background: rgba(255,255,255,0.1); }
.field__hint { font-size: var(--t-xs); color: var(--on-dark-faint); margin: 6px 0 0; }
.roi__result { background: linear-gradient(180deg, rgba(201,162,74,0.16), rgba(201,162,74,0.04)); border-color: rgba(201,162,74,0.32); display: flex; flex-direction: column; }
.roi__metrics { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); }
.metric { background: rgba(255,255,255,0.05); border: 1px solid var(--hair-dark); border-radius: var(--r-sm); padding: var(--s-4); }
.metric__label { font-size: var(--t-xs); color: var(--on-dark-muted); margin: 0 0 var(--s-1); }
.metric__value { font-family: var(--font-display); font-size: 1.55rem; font-weight: 700; color: var(--white); margin: 0; }
.metric__value .unit { font-size: var(--t-sm); font-weight: 500; color: var(--on-dark-muted); }
.roi__headline { grid-column: 1 / -1; margin-top: var(--s-2); background: linear-gradient(160deg, var(--gold-bright), var(--gold)); color: var(--ink); border-radius: var(--r-sm); padding: var(--s-5); text-align: center; }
.roi__headline .big { font-family: var(--font-display); font-size: 2rem; font-weight: 800; display: block; line-height: 1.05; }
.roi__headline .small { font-size: var(--t-sm); font-weight: 600; }
.roi__note { font-size: var(--t-xs); color: var(--on-dark-faint); margin: var(--s-5) 0 0; }

/* =================================================================== Portal */
.portal { background: var(--white); }
.portal__grid { display: grid; gap: var(--s-7); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 920px) { .portal__grid { grid-template-columns: 1fr 1fr; } }
.portal__copy h2 { font-size: var(--t-h2); }
.portal__copy > p { color: var(--text-muted); font-size: var(--t-lead); }
.portal__list { display: grid; gap: var(--s-3); margin: var(--s-6) 0; }
.portal__list li { display: flex; gap: var(--s-3); align-items: flex-start; }
.portal__list .tick { width: 26px; height: 26px; flex: none; border-radius: 50%; display: grid; place-items: center; background: rgba(201,162,74,0.14); color: var(--gold-deep); border: 1px solid rgba(201,162,74,0.30); }
.portal__list .tick svg { width: 15px; height: 15px; }
.portal__list strong { color: var(--ink); }
.portal__card { background: linear-gradient(180deg, var(--offwhite), var(--white)); border: 1px solid var(--border); border-radius: var(--r-lg); padding: var(--s-6); box-shadow: var(--sh-3); max-width: 420px; margin-inline: auto; }
.portal__card .pc-logo { height: 30px; width: auto; aspect-ratio: 150/93; margin-bottom: var(--s-5); }
.portal__card h3 { font-size: 1.25rem; margin-bottom: var(--s-2); }
.portal__card .pc-sub { color: var(--text-muted); font-size: var(--t-sm); margin-bottom: var(--s-5); }
.pc-input { height: 44px; border-radius: var(--r-sm); border: 1px solid var(--border-strong); background: var(--white); margin-bottom: var(--s-3); display: flex; align-items: center; padding: 0 var(--s-4); color: var(--text-faint); font-size: var(--t-sm); }
.pc-2fa { display: flex; gap: var(--s-2); margin-bottom: var(--s-5); }
.pc-2fa i { flex: 1; height: 46px; border-radius: var(--r-sm); border: 1px solid var(--border-strong); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; color: var(--ink); background: var(--white); }
.pc-2fa i:nth-child(odd) { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,162,74,0.14); }

/* ================================================================== Pricing */
.pricing { background: linear-gradient(180deg, var(--offwhite), var(--offwhite-2)); }
.pricing__grid { display: grid; gap: var(--s-5); grid-template-columns: 1fr; align-items: stretch; }
@media (min-width: 620px) and (max-width: 979px) { .pricing__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .pricing__grid { grid-template-columns: repeat(4, 1fr); gap: var(--s-4); } }
@media (min-width: 980px) { .plan { padding: var(--s-5) var(--s-4); } .plan__price .amount { font-size: 2rem; } }
.plan { position: relative; background: var(--white); border: 1px solid var(--border); border-radius: var(--r-md); padding: var(--s-6); display: flex; flex-direction: column; box-shadow: var(--sh-2); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.plan:hover { transform: translateY(-4px); box-shadow: var(--sh-3); }
.plan--featured { border: 1.5px solid var(--gold); box-shadow: var(--sh-4); background: linear-gradient(180deg, #fffdf7, var(--white)); }
@media (min-width: 900px) { .plan--featured { transform: translateY(-12px); } .plan--featured:hover { transform: translateY(-16px); } }
.plan__badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: linear-gradient(180deg, var(--gold-bright), var(--gold)); color: var(--ink); font-size: var(--t-xs); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 6px 16px; border-radius: var(--r-pill); box-shadow: var(--sh-gold); }
.plan h3 { font-size: 1.35rem; margin-bottom: var(--s-1); }
.plan__tagline { color: var(--text-muted); font-size: var(--t-sm); min-height: 2.8em; }
.plan__price { margin: var(--s-4) 0 var(--s-1); display: flex; align-items: baseline; gap: 6px; min-height: 2.9rem; }
.plan__price .amount--text { font-size: 1.6rem; white-space: nowrap; }
.plan__price .amount { font-family: var(--font-display); font-size: 2.5rem; font-weight: 800; letter-spacing: -0.04em; }
.plan__price .per { color: var(--text-faint); font-size: var(--t-sm); }
/* Beta-Preis: „Kostenlos in der Beta" als markante, nicht umbrechende Einheit */
.plan__price--beta { align-items: baseline; flex-wrap: wrap; gap: 4px 8px; }
.plan__price--beta .amount { color: var(--gold-deep); }
.plan__price--beta .per { color: var(--gold-deep); font-weight: 700; font-size: 1.05rem; letter-spacing: .005em; white-space: nowrap; }
.plan__vat { font-size: .72rem; color: var(--text-faint); margin: 2px 0 0; }
.plan__trial { font-size: var(--t-sm); color: var(--gold-deep); font-weight: 600; margin-bottom: var(--s-5); }
.plan ul { display: grid; gap: var(--s-3); margin-bottom: var(--s-6); list-style: none; }
.plan li { position: relative; padding-left: 26px; font-size: var(--t-sm); color: var(--text); line-height: 1.5; }
.plan li svg { position: absolute; left: 0; top: 3px; width: 18px; height: 18px; color: var(--gold-deep); }
.plan .btn { margin-top: auto; }

/* ======================================================================= FAQ */
.faq__list { max-width: 760px; margin: 0 auto; display: grid; gap: var(--s-3); }
.faq__item { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-md); overflow: hidden; box-shadow: var(--sh-1); transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.faq__item[open] { border-color: var(--border-strong); box-shadow: var(--sh-2); }
.faq__q { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); padding: var(--s-5) var(--s-6); font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; color: var(--ink); }
.faq__q::-webkit-details-marker { display: none; }
.faq__q .chev { width: 22px; height: 22px; flex: none; color: var(--gold-deep); transition: transform .25s var(--ease); }
.faq__item[open] .faq__q .chev { transform: rotate(180deg); }
.faq__a { padding: 0 var(--s-6) var(--s-5); color: var(--text-muted); }
.faq__a p { margin: 0; }

/* ================================================================= Final-CTA */
.cta-final { background: radial-gradient(900px 500px at 50% -20%, rgba(201,162,74,0.22), transparent 58%), linear-gradient(180deg, var(--ink-2), var(--ink)); color: var(--on-dark); text-align: center; }
.cta-final h2 { color: var(--white); font-size: var(--t-h2); }
.cta-final p { color: var(--on-dark-muted); max-width: 560px; margin: 0 auto var(--s-6); font-size: var(--t-lead); }
.cta-final .hero__cta { justify-content: center; }

/* ==================================================================== Footer */
.site-footer { background: var(--ink-2); color: var(--on-dark-muted); padding: var(--s-8) 0 var(--s-6); }
.site-footer__grid { display: grid; gap: var(--s-6); grid-template-columns: 1fr; }
@media (min-width: 740px) { .site-footer__grid { grid-template-columns: 1.6fr 1fr 1fr; } }
.site-footer .brand-logo { height: 56px; width: auto; aspect-ratio: 150/93; margin-bottom: var(--s-4); filter: brightness(0) invert(1); }
.site-footer h2, .site-footer h4 { color: var(--white); font-size: var(--t-sm); margin: 0 0 var(--s-4); letter-spacing: 0.02em; }
.site-footer ul { list-style: none; display: grid; gap: var(--s-3); }
.site-footer a { color: var(--on-dark-muted); }
.site-footer a:hover { color: var(--gold); text-decoration: none; }
.site-footer__bottom { margin-top: var(--s-7); padding-top: var(--s-5); border-top: 1px solid var(--hair-dark); display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-5); justify-content: space-between; font-size: var(--t-sm); }
.site-footer__legal { display: flex; gap: var(--s-5); flex-wrap: wrap; }

/* ============================================================ Rechtsseiten */
.legal { max-width: 820px; margin: 0 auto; padding: var(--s-8) var(--s-5) var(--s-9); }
.legal h1 { font-size: var(--t-h2); margin-bottom: var(--s-5); }
.legal h2 { font-size: 1.25rem; margin: var(--s-7) 0 var(--s-3); }
.legal p, .legal li { color: var(--text-muted); }
.legal ul { padding-left: 1.2em; list-style: disc; display: grid; gap: var(--s-2); }
.legal address { font-style: normal; }
.legal .back { display: inline-block; margin-bottom: var(--s-5); font-weight: 600; }
.ph { background: rgba(201, 162, 74, 0.2); border-bottom: 1px dashed var(--gold-deep); padding: 0 4px; border-radius: 3px; color: var(--ink); font-style: normal; }
.legal__note { background: var(--offwhite); border: 1px solid var(--border); border-left: 4px solid var(--gold); border-radius: var(--r-sm); padding: var(--s-4) var(--s-5); margin: var(--s-5) 0; font-size: var(--t-sm); color: var(--text); }

/* ============================================================ Scroll-Reveal */
/* Vor-JS sichtbar (Progressive Enhancement): ohne .reveal-ready bleibt der Inhalt
   sichtbar — kein FOUC/CLS, wenn JS deaktiviert oder noch nicht geladen. */
.reveal-ready [data-reveal] { opacity: 0; transform: translateY(18px); }
.reveal-ready [data-reveal] { transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal-ready [data-reveal].is-in { opacity: 1; transform: none; }

/* ======================================================== Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .mockup { transform: none !important; }
  .stage__panel { position: relative; inset: auto; opacity: 1; transform: none; margin-bottom: var(--s-5); }
}

/* Skip-Link-Ziel: sichtbarer Inhalt ohne störenden Outline-Ring. */
#main:focus { outline: none; }

/* --- Cookie-Hinweis (TDDDG) --- */
.cookie-bar {
  position: fixed; left: 50%; bottom: 18px; transform: translate(-50%, 140%);
  z-index: 1000; width: min(720px, calc(100% - 32px));
  display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap;
  background: var(--ink, #0E1726); color: #fff;
  border: 1px solid rgba(201, 162, 74, .35); border-radius: 14px;
  padding: 16px 18px; box-shadow: 0 18px 50px rgba(14, 23, 38, .35);
  opacity: 0; transition: transform .35s ease, opacity .35s ease;
}
.cookie-bar.is-visible { transform: translate(-50%, 0); opacity: 1; }
.cookie-bar__txt { margin: 0; font-size: .9rem; line-height: 1.5; flex: 1 1 320px; color: rgba(255, 255, 255, .9); }
.cookie-bar__txt a { color: var(--gold, #C9A24A); }
.cookie-bar__actions { flex: 0 0 auto; }
.cookie-bar__btn {
  border: 0; cursor: pointer; font-weight: 700; font-size: .9rem;
  background: var(--gold, #C9A24A); color: var(--ink, #0E1726);
  padding: 10px 22px; border-radius: 10px;
}
.cookie-bar__btn:hover { filter: brightness(1.06); }
@media (prefers-reduced-motion: reduce) {
  .cookie-bar { transition: none; transform: translate(-50%, 0); }
}
