/* ─── Lokale Schriften ────────────────────────────────────────────────── */
/* Sora — Display (Headlines) */
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/sora-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/sora-600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/sora-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/sora-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* JetBrains Mono — OCR-/Daten-Akzente */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/jbmono-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/jbmono-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/jbmono-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/jbmono-500-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Inter — Fließtext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/inter-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/inter-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/inter-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/inter-500-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/inter-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/inter-600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ============================================================
   Cardnor — Stylesheet · Konzept „Scanline“
   Dark-first, Sora-Display + JetBrains-Mono-Akzente, Bento-Grid,
   Scan-Ecken-Motiv, Scroll-driven Animations, View Transitions.
   Handgeschriebenes CSS, keine Build-Pipeline.

   Aufbau:
     1. Tokens (Dark = Standard, .light = Override)
     2. Reset, Basis, View Transitions
     3. Typo-Skala & Utilities
     4. Scan-Motive (Ecken, Dot-Grid, Verlaufstext)
     5. Header / Sprachwähler / Mobile Sheet / Footer
     6. Buttons, Badges, Cards, Icons
     7. Hero + Scan-Szene
     8. Fact-Strip (trustbar)
     9. Bento-Grid
    10. Sticky-Steps
    11. Feature-Sektionen, Anchor-Nav, Listen
    12. Pillars / Features / Security-Grid
    13. iPhone-Rahmen
    14. FAQ, Prose, Kontakt
    15. Final CTA
    16. Reveal (scroll-driven + Fallback), Reduced Motion, Fokus
   ============================================================ */

/* 1. Tokens — Dark ist Standard ------------------------------- */
:root {
  --bg: #0a0b10;
  --bg-card: #11131c;
  --bg-muted: #0d0f16;
  --bg-elev: #161926;
  --text: #eef1f6;
  --text-muted: #98a2b3;
  --border: #232734;

  /* Marke — aus dem App-Icon (Blau-Teal → Grün) */
  --brand-blue: #38a3cb;
  --brand-green: #7ad552;
  --brand-mid: #4db67e;
  --brand-grad: linear-gradient(115deg, #2f93bd 0%, #3fae7c 52%, #7ad552 100%);
  --ink: #06131c; /* dunkle Schrift auf Marken-Verlauf */

  --primary: #4cc2d9;
  --primary-soft: #123742;
  --primary-fg: #06131c;
  --accent: #52d58a;
  --success: #52d58a;
  --warning: #fb923c;

  /* Layout */
  --container: 74rem;
  --gutter: 1.5rem;
  --header-h: 4.25rem;

  /* Radii */
  --radius-sm: 0.5rem;
  --radius: 0.75rem;
  --radius-md: 1rem;
  --radius-lg: 1.375rem;
  --radius-full: 9999px;

  /* Schatten */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.45);
  --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.45), 0 1px 2px 0 rgba(0, 0, 0, 0.35);
  --shadow-md: 0 10px 28px -10px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 32px 64px -24px rgba(0, 0, 0, 0.7);
  --glow: 0 0 48px -10px color-mix(in srgb, var(--brand-mid) 45%, transparent);

  /* Fonts */
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Sora", "Avenir Next", "Helvetica Neue", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* Transitions */
  --t-fast: 150ms cubic-bezier(0.22, 0.61, 0.36, 1);
  --t: 220ms cubic-bezier(0.22, 0.61, 0.36, 1);
  --t-slow: 420ms cubic-bezier(0.22, 0.61, 0.36, 1);

  color-scheme: dark;
}

.light {
  --bg: #f6f7f9;
  --bg-card: #ffffff;
  --bg-muted: #eef0f4;
  --bg-elev: #ffffff;
  --text: #10141f;
  --text-muted: #57616f;
  --border: #dfe3ea;

  --brand-blue: #1e7fa8;
  --brand-green: #4fae2d;
  --brand-mid: #2f9463;
  --brand-grad: linear-gradient(115deg, #2382ab 0%, #2f9463 52%, #55b62f 100%);
  --ink: #ffffff;

  --primary: #0d7f9e;
  --primary-soft: #d9eef4;
  --primary-fg: #ffffff;
  --accent: #159a58;
  --success: #159a58;
  --warning: #ea6c0a;

  --shadow-sm: 0 1px 2px 0 rgba(16, 20, 31, 0.06);
  --shadow: 0 1px 3px 0 rgba(16, 20, 31, 0.08), 0 1px 2px 0 rgba(16, 20, 31, 0.05);
  --shadow-md: 0 10px 28px -12px rgba(16, 20, 31, 0.18);
  --shadow-lg: 0 32px 64px -28px rgba(16, 20, 31, 0.28);
  --glow: 0 0 40px -14px color-mix(in srgb, var(--brand-mid) 35%, transparent);

  color-scheme: light;
}

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

* { margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
}

/* Sanfte Übergänge zwischen den Seiten — ohne SPA, rein deklarativ */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation-duration: 160ms; }
::view-transition-new(root) { animation-duration: 220ms; }

body {
  min-height: 100vh;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  background-color: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "cv02", "cv03", "cv11", "kern";
  transition: background-color var(--t), color var(--t);
}

img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { background: none; border: none; cursor: pointer; }
ul, ol { list-style: none; }
::selection { background: color-mix(in srgb, var(--brand-mid) 40%, transparent); }

.skip-link {
  position: absolute;
  top: -3rem;
  left: 1rem;
  z-index: 200;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  background: var(--brand-grad);
  color: var(--ink);
  font-weight: 600;
  transition: top var(--t-fast);
}
.skip-link:focus { top: 0.75rem; }

/* 3. Typo-Skala & Utilities ------------------------------------ */
.display-1,
.display-2,
.display-3 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.06;
  text-wrap: balance;
}
.display-1 { font-size: clamp(2.5rem, 5.6vw, 4.15rem); }
.display-2 { font-size: clamp(1.85rem, 3.4vw, 2.7rem); line-height: 1.12; }
.display-3 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); line-height: 1.2; font-weight: 600; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--brand-mid);
}
.eyebrow::before { content: "// "; opacity: 0.6; }

.lead {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  line-height: 1.7;
  color: var(--text-muted);
  text-wrap: pretty;
}

.grad-text {
  background: var(--brand-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(4rem, 9vw, 7.5rem); }
.section--muted { background-color: var(--bg-muted); border-block: 1px solid var(--border); }

.section-header { max-width: 46rem; }
.section-header .display-2 { margin-top: 1rem; }
.section-header .lead { margin-top: 1.1rem; }

.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-16 { margin-top: 4rem; }

.i { width: 1.05rem; height: 1.05rem; flex-shrink: 0; }

.two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 64rem) {
  .two-col { grid-template-columns: 1fr 1fr; gap: 4.5rem; }
}

/* 4. Scan-Motive ------------------------------------------------ */
/* Vier Scan-Ecken wie im App-Icon — als reines Hintergrundbild */
.scan-frame {
  --corner: 20px;
  --stroke: 2px;
  --corner-color: color-mix(in srgb, var(--brand-mid) 85%, var(--text));
  position: relative;
}
.scan-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(var(--corner-color), var(--corner-color)) 0 0 / var(--corner) var(--stroke),
    linear-gradient(var(--corner-color), var(--corner-color)) 0 0 / var(--stroke) var(--corner),
    linear-gradient(var(--corner-color), var(--corner-color)) 100% 0 / var(--corner) var(--stroke),
    linear-gradient(var(--corner-color), var(--corner-color)) 100% 0 / var(--stroke) var(--corner),
    linear-gradient(var(--corner-color), var(--corner-color)) 0 100% / var(--corner) var(--stroke),
    linear-gradient(var(--corner-color), var(--corner-color)) 0 100% / var(--stroke) var(--corner),
    linear-gradient(var(--corner-color), var(--corner-color)) 100% 100% / var(--corner) var(--stroke),
    linear-gradient(var(--corner-color), var(--corner-color)) 100% 100% / var(--stroke) var(--corner);
  background-repeat: no-repeat;
}

/* Punktraster-Hintergrund (Scanner-Anmutung) */
.dot-grid {
  position: relative;
}
.dot-grid::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(circle, color-mix(in srgb, var(--text) 14%, transparent) 1px, transparent 1.5px);
  background-size: 26px 26px;
  mask-image: radial-gradient(ellipse 90% 70% at 60% 20%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 60% 20%, #000 0%, transparent 70%);
}

/* Alte flow-backdrop-Hülle (Unterseiten) neutralisieren */
.flow-backdrop { display: none; }

/* 5. Header ------------------------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t), background-color var(--t);
}
.site-header.is-scrolled { border-bottom-color: var(--border); }

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: var(--header-h);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}
.logo__icon {
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 0.45rem;
  display: block;
  flex-shrink: 0;
}
.logo .dot { color: var(--brand-green); }

.nav-primary {
  display: none;
  gap: 0.25rem;
  margin-inline: auto;
}
.nav-primary a {
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--t-fast), background-color var(--t-fast);
}
.nav-primary a:hover { color: var(--text); background: color-mix(in srgb, var(--text) 7%, transparent); }
.nav-primary a[aria-current="page"] { color: var(--text); background: color-mix(in srgb, var(--text) 9%, transparent); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
}

@media (min-width: 64rem) {
  .nav-primary { display: flex; }
  .header-actions { margin-left: 0; }
}

/* Theme-Umschalter: zeigt Icon des aktiven Modus */
.theme-toggle,
.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  color: var(--text-muted);
  background: transparent;
  transition: color var(--t-fast), border-color var(--t-fast);
}
.theme-toggle:hover,
.menu-toggle:hover { color: var(--text); border-color: color-mix(in srgb, var(--text) 30%, var(--border)); }
.theme-toggle svg,
.menu-toggle svg { width: 1.05rem; height: 1.05rem; }
.theme-toggle .icon-sun,
.theme-toggle .icon-moon,
.theme-toggle .icon-system { display: none; }
html[data-theme-mode="dark"] .theme-toggle .icon-moon { display: block; }
html[data-theme-mode="light"] .theme-toggle .icon-sun { display: block; }
html[data-theme-mode="system"] .theme-toggle .icon-system { display: block; }

.menu-toggle { display: inline-flex; }
@media (min-width: 64rem) { .menu-toggle { display: none; } }

.header-actions .cta-app { display: none; }
@media (min-width: 40rem) { .header-actions .cta-app { display: inline-flex; } }

/* Sprachwähler */
.lang-switcher { position: relative; }
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  height: 2.35rem;
  padding-inline: 0.8rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  transition: color var(--t-fast), border-color var(--t-fast);
}
.lang-toggle:hover { color: var(--text); border-color: color-mix(in srgb, var(--text) 30%, var(--border)); }
.lang-toggle .i { width: 0.8rem; height: 0.8rem; }
.flag { width: 1.05rem; height: 0.7rem; border-radius: 2px; flex-shrink: 0; }

.lang-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  z-index: 120;
  min-width: 11rem;
  padding: 0.4rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--bg-elev);
  box-shadow: var(--shadow-md);
}
.lang-menu button {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  padding: 0.55rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: background-color var(--t-fast), color var(--t-fast);
}
.lang-menu button:hover { background: color-mix(in srgb, var(--text) 8%, transparent); color: var(--text); }
.lang-menu button[aria-current="true"] { color: var(--text); font-weight: 600; }
.lang-menu button[aria-current="true"]::after {
  content: "✓";
  margin-left: auto;
  color: var(--brand-green);
  font-family: var(--font-mono);
}

/* Mobile Sheet */
.mobile-sheet { position: fixed; inset: 0; z-index: 150; pointer-events: none; }
.mobile-sheet__overlay {
  position: absolute;
  inset: 0;
  background: rgba(4, 6, 10, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity var(--t);
}
.mobile-sheet__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(21rem, 88vw);
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  padding: 1.5rem;
  background: var(--bg-elev);
  border-left: 1px solid var(--border);
  transform: translateX(100%);
  transition: transform var(--t-slow);
}
.mobile-sheet[data-open="true"] { pointer-events: auto; }
.mobile-sheet[data-open="true"] .mobile-sheet__overlay { opacity: 1; }
.mobile-sheet[data-open="true"] .mobile-sheet__panel { transform: translateX(0); }
.mobile-sheet__close {
  align-self: flex-end;
  width: 2.35rem;
  height: 2.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  color: var(--text-muted);
}
.mobile-sheet__close svg { width: 1.05rem; height: 1.05rem; }
.mobile-sheet__nav { display: flex; flex-direction: column; gap: 0.25rem; }
.mobile-sheet__nav a {
  padding: 0.7rem 0.9rem;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text);
}
.mobile-sheet__nav a:hover { background: color-mix(in srgb, var(--text) 7%, transparent); }
.mobile-sheet__nav a[aria-current="page"] { color: var(--brand-green); }
.mobile-sheet__cta { margin-top: auto; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-muted);
  padding-block: 3.5rem 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 48rem) {
  .footer-grid--3col { grid-template-columns: 2fr 1fr 1fr; gap: 3rem; }
}
.footer-brand p {
  margin-top: 1rem;
  max-width: 24rem;
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--text-muted);
}
.app-badge-wrap { margin-top: 1.5rem; }
.footer-col h3 {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-muted);
}
.footer-col ul { margin-top: 1rem; display: grid; gap: 0.55rem; }
.footer-col a { font-size: 0.92rem; color: var(--text-muted); transition: color var(--t-fast); }
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--text-muted);
}
.footer-bottom a { color: var(--text); }
.footer-bottom a:hover { color: var(--brand-green); }

/* 6. Buttons, Badges, Cards, Icons ------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  white-space: nowrap;
  transition: transform var(--t-fast), box-shadow var(--t-fast), background-color var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.btn:active { transform: translateY(1px); }
.btn--sm { padding: 0.5rem 1rem; font-size: 0.85rem; }
.btn--md { padding: 0.65rem 1.35rem; font-size: 0.92rem; }
.btn--lg { padding: 0.85rem 1.7rem; font-size: 1rem; }

.btn--primary {
  background: var(--brand-grad);
  color: var(--ink);
  box-shadow: var(--glow);
}
.btn--primary:hover { box-shadow: var(--glow), 0 6px 20px -6px color-mix(in srgb, var(--brand-mid) 60%, transparent); filter: brightness(1.06); }

.btn--secondary {
  border: 1px solid var(--border);
  color: var(--text);
  background: color-mix(in srgb, var(--text) 4%, transparent);
}
.btn--secondary:hover { border-color: var(--brand-mid); color: var(--text); }

.btn--ghost { color: var(--text-muted); }
.btn--ghost:hover { color: var(--text); }

.btn--white { background: #ffffff; color: #0d5b70; }
.btn--white:hover { background: rgba(255, 255, 255, 0.9); }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.badge--primary {
  color: var(--brand-mid);
  border: 1px solid color-mix(in srgb, var(--brand-mid) 40%, var(--border));
  background: color-mix(in srgb, var(--brand-mid) 9%, transparent);
}
.badge .i { width: 0.85rem; height: 0.85rem; }

.app-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.55rem 1.15rem;
  border-radius: 0.8rem;
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: border-color var(--t-fast), transform var(--t-fast);
}
.app-badge:hover { border-color: var(--brand-mid); transform: translateY(-1px); }
.app-badge svg { width: 1.6rem; height: 1.6rem; }
.app-badge .top { display: block; font-size: 0.62rem; letter-spacing: 0.04em; color: var(--text-muted); }
.app-badge .bottom { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; line-height: 1.2; }

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  transition: border-color var(--t), transform var(--t), box-shadow var(--t);
}
.card--hover:hover {
  border-color: color-mix(in srgb, var(--brand-mid) 55%, var(--border));
  transform: translateY(-3px);
  box-shadow: var(--shadow-md), var(--glow);
}

.icon-square {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 0.7rem;
  background: color-mix(in srgb, var(--brand-mid) 13%, transparent);
  color: var(--brand-mid);
  flex-shrink: 0;
}
.icon-square svg { width: 1.15rem; height: 1.15rem; }

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}

/* 7. Hero + Scan-Szene ------------------------------------------ */
.hero {
  position: relative;
  overflow: hidden;
}
.hero-inner { padding-block: clamp(4rem, 9vw, 7.5rem) clamp(4rem, 8vw, 6.5rem); position: relative; }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
}
@media (min-width: 64rem) {
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; gap: 5rem; }
}
.hero .display-1 { margin-top: 1.25rem; }
.hero .lead { margin-top: 1.5rem; max-width: 34rem; }
.hero .cta-row { margin-top: 2.5rem; }
.hero-mock { display: flex; justify-content: center; }
@media (min-width: 64rem) { .hero-mock { justify-content: flex-end; } }

/* Leuchtender Marken-Nebel hinter dem Hero */
.hero::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -15%;
  width: 60rem;
  height: 60rem;
  pointer-events: none;
  background:
    radial-gradient(circle at 35% 40%, color-mix(in srgb, var(--brand-blue) 16%, transparent) 0%, transparent 55%),
    radial-gradient(circle at 65% 60%, color-mix(in srgb, var(--brand-green) 12%, transparent) 0%, transparent 55%);
  filter: blur(10px);
}

/* Die Scan-Szene: Visitenkarte + Scanlinie + erkannte Felder */
.scan-scene {
  width: 100%;
  max-width: 27rem;
  display: grid;
  gap: 1.4rem;
}
.scan-stage {
  --corner: 26px;
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
}
.biz-card {
  position: relative;
  aspect-ratio: 85 / 54;
  border-radius: 0.9rem;
  background: linear-gradient(160deg, #ffffff 0%, #eef2f6 100%);
  box-shadow: var(--shadow-lg), var(--glow);
  padding: 9% 9% 8%;
  overflow: hidden;
  transform: rotate(-1.5deg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.biz-card__head { display: flex; align-items: center; gap: 0.65rem; }
.biz-card__logo {
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 0.45rem;
  background: var(--brand-grad);
  flex-shrink: 0;
}
.biz-card__firm {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(0.7rem, 1.6vw, 0.85rem);
  letter-spacing: 0.02em;
  color: #14344a;
}
.biz-card__firm small {
  display: block;
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 0.58em;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #64778a;
}
.biz-card__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(0.95rem, 2.4vw, 1.25rem);
  color: #10141f;
  line-height: 1.15;
}
.biz-card__name small {
  display: block;
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 0.55em;
  letter-spacing: 0.1em;
  color: #64778a;
  margin-top: 0.35em;
}
.biz-card__lines { display: grid; gap: 0.45em; font-size: clamp(0.5rem, 1.3vw, 0.62rem); }
.biz-card__lines span {
  display: block;
  height: 0.5em;
  border-radius: 999px;
  background: #d4dce4;
}
.biz-card__lines span:nth-child(1) { width: 62%; }
.biz-card__lines span:nth-child(2) { width: 48%; }
.biz-card__lines span:nth-child(3) { width: 55%; }

/* Wandernde Scanlinie */
.scan-line {
  position: absolute;
  left: -4%;
  right: -4%;
  top: 0;
  height: 3px;
  border-radius: 999px;
  background: var(--brand-grad);
  box-shadow: 0 0 18px 3px color-mix(in srgb, var(--brand-mid) 65%, transparent);
  animation: scan-sweep 3.4s cubic-bezier(0.45, 0, 0.55, 1) infinite alternate;
}
@keyframes scan-sweep {
  from { top: 6%; }
  to   { top: 92%; }
}

/* Erkannte Felder — Mono-Chips, gestaffelt eingeblendet */
.scan-chips { display: grid; gap: 0.55rem; }
.scan-chips li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0.9rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg-card) 82%, transparent);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  opacity: 0;
  translate: 0 8px;
  animation: chip-in 0.5s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}
.scan-chips li:nth-child(1) { animation-delay: 0.5s; }
.scan-chips li:nth-child(2) { animation-delay: 0.95s; }
.scan-chips li:nth-child(3) { animation-delay: 1.4s; }
.scan-chips li:nth-child(4) { animation-delay: 1.85s; }
.scan-chips li:nth-child(5) { animation-delay: 2.5s; }
@keyframes chip-in {
  to { opacity: 1; translate: 0 0; }
}
.scan-chips .k {
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  min-width: 4.4rem;
}
.scan-chips .v { color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.scan-chips .ok { margin-left: auto; color: var(--brand-green); }
.scan-chips li.scan-chips__done {
  border-color: color-mix(in srgb, var(--brand-green) 45%, var(--border));
  background: color-mix(in srgb, var(--brand-green) 10%, var(--bg-card));
}
.scan-chips__done .v { color: var(--brand-green); font-weight: 500; }

/* 8. Fact-Strip (Klasse trustbar) -------------------------------- */
.trustbar {
  border-block: 1px solid var(--border);
  background: var(--bg-muted);
}
.trustbar-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem 2rem;
  padding-block: 2.25rem;
}
@media (min-width: 48rem) {
  .trustbar-list { grid-template-columns: repeat(4, 1fr); }
}
.trustbar-list li { display: flex; gap: 0.8rem; align-items: flex-start; }
.trustbar-list .icon-square { width: 2.25rem; height: 2.25rem; border-radius: 0.55rem; }
.trustbar-list .icon-square svg { width: 1rem; height: 1rem; }
.trustbar-list strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: -0.01em;
}
.trustbar-list li > div > span {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.75rem;
  line-height: 1.55;
  color: var(--text-muted);
}

/* 9. Bento-Grid --------------------------------------------------- */
.bento {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 3.25rem;
}
@media (min-width: 40rem) {
  .bento { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 64rem) {
  .bento { grid-template-columns: repeat(6, 1fr); }
  .bento-tile--lg { grid-column: span 4; grid-row: span 2; }
  .bento-tile--tall { grid-column: span 2; grid-row: span 2; }
  .bento-tile--half { grid-column: span 3; }
}
.bento-tile {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: border-color var(--t), box-shadow var(--t);
}
.bento-tile:hover {
  border-color: color-mix(in srgb, var(--brand-mid) 55%, var(--border));
  box-shadow: var(--glow);
}
.bento-tile h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.12rem;
  letter-spacing: -0.015em;
}
.bento-tile p { font-size: 0.92rem; line-height: 1.65; color: var(--text-muted); max-width: 34rem; }
.bento-tile .icon-square { margin-bottom: 0.25rem; }
.bento-tile .feature-card__link { margin-top: auto; }

/* Große Kachel mit angeschnittenem iPhone */
.bento-tile--lg { min-height: 22rem; }
.bento-tile--lg .bento-shot {
  position: absolute;
  right: clamp(1rem, 4%, 2.5rem);
  bottom: -38%;
  width: min(46%, 15rem);
  transform: rotate(3deg);
  border-radius: 1.8rem;
  border: 6px solid #1c1f2b;
  box-shadow: var(--shadow-lg);
  transition: transform var(--t-slow), bottom var(--t-slow);
}
.bento-tile--lg:hover .bento-shot { transform: rotate(1.5deg) translateY(-1.25rem); }
.bento-tile--lg > h3,
.bento-tile--lg > p { max-width: 52%; }
@media (max-width: 63.99rem) {
  .bento-tile--lg { min-height: 20rem; }
}
@media (max-width: 39.99rem) {
  .bento-tile--lg > h3, .bento-tile--lg > p { max-width: 100%; }
  .bento-tile--lg { padding-bottom: 12rem; }
  .bento-tile--lg .bento-shot { width: 55%; bottom: -45%; }
}

/* Verlaufs-Kachel (Apple Intelligence) */
.bento-tile--grad {
  background: var(--brand-grad);
  border-color: transparent;
  color: var(--ink);
}
.bento-tile--grad h3 { color: var(--ink); }
.bento-tile--grad p { color: color-mix(in srgb, var(--ink) 78%, #ffffff); }
.bento-tile--grad .icon-square {
  background: rgba(255, 255, 255, 0.22);
  color: var(--ink);
}
.bento-tile--grad .eyebrow { color: color-mix(in srgb, var(--ink) 72%, #ffffff); }

/* Flaggenreihe (Sprachen-Kachel) */
.bento-flags { display: flex; gap: 0.5rem; margin-top: auto; padding-top: 0.75rem; }
.bento-flags .flag { width: 1.6rem; height: 1.05rem; border-radius: 3px; box-shadow: var(--shadow-sm); }

/* 10. Sticky-Steps ------------------------------------------------ */
.steps-sticky {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-top: 3.5rem;
}
@media (min-width: 64rem) {
  .steps-sticky { grid-template-columns: 24rem 1fr; gap: 6rem; }
}
.steps-phone { display: none; }
@media (min-width: 64rem) {
  .steps-phone {
    display: block;
    position: sticky;
    top: calc(var(--header-h) + 3rem);
    align-self: start;
  }
}
.steps-phone .phone { max-width: 21rem; margin-inline: auto; }
.steps-phone .phone { position: relative; }
.step-shot { transition: opacity 0.5s ease; }
.step-shot:not(:first-child) {
  position: absolute;
  inset: 0.5rem;
  border-radius: 2.3rem;
  width: calc(100% - 1rem);
  height: calc(100% - 1rem);
  object-fit: cover;
}
.step-shot:not(.is-active) { opacity: 0; }
.step-shot.is-active { opacity: 1; }

.steps-list { display: grid; gap: clamp(2.5rem, 6vh, 4.5rem); }
.step-block {
  padding: 1.9rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: border-color var(--t), box-shadow var(--t);
}
@media (min-width: 64rem) {
  .step-block { min-height: 46vh; display: flex; flex-direction: column; justify-content: center; }
}
.step-block.is-active {
  border-color: color-mix(in srgb, var(--brand-mid) 55%, var(--border));
  box-shadow: var(--glow);
}
.step-num {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  background: var(--brand-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 500;
}
.step-block h3 {
  margin-top: 0.9rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  letter-spacing: -0.02em;
}
.step-block p { margin-top: 0.8rem; color: var(--text-muted); line-height: 1.7; max-width: 32rem; }

/* Kompakt-Steps (alte Klassen, falls irgendwo genutzt) */
.steps { display: grid; grid-template-columns: 1fr; gap: 1.25rem; margin-top: 3.5rem; }
@media (min-width: 48rem) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step-card .step-num { font-size: 1rem; }
.step-card h3 { margin-top: 0.8rem; font-family: var(--font-display); font-weight: 600; font-size: 1.12rem; }
.step-card p { margin-top: 0.6rem; font-size: 0.92rem; color: var(--text-muted); line-height: 1.65; }

/* 11. Feature-Sektionen, Anchor-Nav, Listen ----------------------- */
.page-hero { border-bottom: 1px solid var(--border); position: relative; overflow: hidden; }
.page-hero-inner { padding-block: clamp(4.5rem, 9vw, 7rem) clamp(3.5rem, 7vw, 5rem); position: relative; }
.page-hero h1 { margin-top: 1.25rem; max-width: 50rem; }
.page-hero .lead { margin-top: 1.25rem; max-width: 38rem; }
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(circle, color-mix(in srgb, var(--text) 13%, transparent) 1px, transparent 1.5px);
  background-size: 26px 26px;
  mask-image: radial-gradient(ellipse 80% 90% at 75% 10%, #000 0%, transparent 65%);
  -webkit-mask-image: radial-gradient(ellipse 80% 90% at 75% 10%, #000 0%, transparent 65%);
}

.anchor-nav {
  position: sticky;
  top: var(--header-h);
  z-index: 90;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.anchor-nav__inner {
  display: flex;
  gap: 0.25rem;
  overflow-x: auto;
  padding-block: 0.6rem;
  scrollbar-width: none;
}
.anchor-nav__inner::-webkit-scrollbar { display: none; }
.anchor-nav a {
  padding: 0.42rem 0.95rem;
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  white-space: nowrap;
  transition: color var(--t-fast), background-color var(--t-fast);
}
.anchor-nav a:hover { color: var(--text); }
.anchor-nav a.is-active {
  color: var(--ink);
  background: var(--brand-grad);
  font-weight: 500;
}

.feature-section-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
  align-items: center;
}
@media (min-width: 64rem) {
  .feature-section-grid { grid-template-columns: 1.05fr 0.95fr; gap: 5.5rem; }
  .feature-section--reverse .feature-section-grid { grid-template-columns: 0.95fr 1.05fr; }
  .feature-section--reverse .feature-section-text { order: 2; }
  .feature-section--reverse .feature-section-mock { order: 1; }
}
.feature-section-text .display-2 { margin-top: 1.4rem; }
.feature-section-text .copy { margin-top: 1.25rem; display: grid; gap: 0.9rem; }
.feature-section-text .copy p { color: var(--text-muted); line-height: 1.7; }
.feature-section-mock { display: flex; justify-content: center; }

.feature-list {
  margin-top: 1.75rem;
  display: grid;
  gap: 0.65rem;
}
.feature-list li {
  position: relative;
  padding-left: 2.3rem;
  font-size: 0.94rem;
  line-height: 1.6;
  color: var(--text-muted);
}
.feature-list li::before {
  content: "[✓]";
  position: absolute;
  left: 0;
  top: 0.05em;
  font-family: var(--font-mono);
  font-size: 0.82em;
  color: var(--brand-green);
}

/* 12. Pillars / Features / Security-Grid --------------------------- */
.pillars,
.features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 3.25rem;
}
@media (min-width: 48rem) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .pillars { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 64rem) {
  .features { grid-template-columns: repeat(3, 1fr); }
}

.pillar-card .icon-square { margin-bottom: 1.1rem; }
.pillar-card h3 {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 600;
  letter-spacing: -0.015em;
}
.pillar-card p { margin-top: 0.7rem; font-size: 0.92rem; line-height: 1.65; color: var(--text-muted); }

.feature-card-wrap { display: block; height: 100%; }
.feature-card-wrap .feature-card { height: 100%; }
.feature-card { display: flex; gap: 1rem; align-items: flex-start; }
.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.feature-card p { margin-top: 0.5rem; font-size: 0.9rem; line-height: 1.6; color: var(--text-muted); }
.feature-card__link {
  display: inline-block;
  margin-top: 0.8rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--brand-mid);
}
.feature-card__link::after { content: " →"; }

.security-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 40rem) {
  .security-grid { grid-template-columns: repeat(2, 1fr); }
}
.security-card h3 {
  margin-top: 1rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.security-card p { margin-top: 0.45rem; font-size: 0.88rem; line-height: 1.6; color: var(--text-muted); }

/* 13. iPhone-Rahmen ------------------------------------------------ */
.phone-wrap { display: flex; justify-content: center; }
.phone {
  position: relative;
  width: 100%;
  max-width: 300px;
  padding: 0.5rem;
  border-radius: 2.75rem;
  background: linear-gradient(155deg, #2a2d38 0%, #12141c 60%, #07080c 100%);
  box-shadow:
    var(--shadow-lg),
    0 0 0 1px rgba(255, 255, 255, 0.09) inset,
    var(--glow);
  transition: transform var(--t-slow);
}
.phone img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 2.3rem;
  background: #0b0b0f;
}
.phone--tilt-left { transform: rotate(-2deg); }
.phone--tilt-right { transform: rotate(2deg); }
.phone--tilt-left:hover { transform: rotate(-1deg) scale(1.01); }
.phone--tilt-right:hover { transform: rotate(1deg) scale(1.01); }

/* Zwei versetzte iPhones */
.phone-duo { position: relative; width: 100%; max-width: 460px; padding-top: 1.5rem; }
.phone-duo .phone--back {
  position: absolute;
  top: 0;
  right: 0;
  width: 54%;
  z-index: 1;
  transform: rotate(4deg);
  opacity: 0.96;
}
.phone-duo .phone--front { position: relative; z-index: 2; width: 72%; transform: rotate(-2deg); }

/* 14. FAQ, Prose, Kontakt ------------------------------------------ */
.faq-list { display: grid; gap: 3.5rem; max-width: 50rem; }
.faq-group h2 { letter-spacing: -0.02em; }
.faq-group h2::before {
  content: "§ ";
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 0.7em;
  color: var(--brand-mid);
}
.faq-accordion { margin-top: 1.25rem; display: grid; gap: 0.6rem; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  transition: border-color var(--t);
}
.faq-item[open] { border-color: color-mix(in srgb, var(--brand-mid) 45%, var(--border)); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.96rem;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .i { color: var(--text-muted); transition: transform var(--t); }
.faq-item[open] summary .i { transform: rotate(180deg); color: var(--brand-mid); }
.faq-item .answer {
  padding: 0 1.25rem 1.15rem;
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--text-muted);
}
.faq-item .answer a { color: var(--brand-mid); text-decoration: underline; text-underline-offset: 3px; }

.prose { max-width: 44rem; }
.prose h2 {
  margin-top: 2.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: -0.015em;
}
.prose h2:first-child { margin-top: 0; }
.prose p { margin-top: 0.9rem; color: var(--text-muted); line-height: 1.75; }
.prose a { color: var(--brand-mid); text-decoration: underline; text-underline-offset: 3px; }
.prose small { font-family: var(--font-mono); font-size: 0.78rem; }

.contact-aside .card { display: block; }
.contact-aside .label {
  margin-top: 0.9rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
}
.contact-aside .value {
  display: inline-block;
  margin-top: 0.3rem;
  font-weight: 600;
  color: var(--brand-mid);
}
.contact-aside .value-text { margin-top: 0.3rem; font-size: 0.94rem; line-height: 1.6; color: var(--text); }

/* 15. Final CTA ----------------------------------------------------- */
.final-cta { padding-block: clamp(4rem, 9vw, 7rem); position: relative; }
.final-cta-inner {
  position: relative;
  overflow: hidden;
  max-width: var(--container);
  margin-inline: auto;
  border-radius: clamp(1.25rem, 3vw, 2rem);
  background: var(--brand-grad);
  color: var(--ink);
  padding: clamp(2.5rem, 6vw, 4.5rem);
  text-align: center;
  box-shadow: var(--glow), var(--shadow-lg);
}
.final-cta .container { position: relative; }
.final-cta-inner h2 { color: var(--ink); max-width: 40rem; margin-inline: auto; }
.final-cta-inner > p {
  margin-top: 1.25rem;
  max-width: 36rem;
  margin-inline: auto;
  color: color-mix(in srgb, var(--ink) 80%, #ffffff);
  line-height: 1.7;
}
.final-cta-inner .cta-row { margin-top: 2.25rem; justify-content: center; }
.final-cta-inner .app-badge {
  background: var(--ink);
  border-color: transparent;
  color: #ffffff;
}
.final-cta-inner .app-badge .top { color: rgba(255, 255, 255, 0.6); }
.final-cta-inner .btn--ghost { color: var(--ink) !important; font-weight: 600; }
.final-cta-inner .btn--ghost:hover { opacity: 0.75; }
/* Dezente Scan-Ecken in der CTA-Fläche */
.final-cta-inner::after {
  content: "";
  position: absolute;
  inset: 1rem;
  pointer-events: none;
  --cc: color-mix(in srgb, var(--ink) 35%, transparent);
  background:
    linear-gradient(var(--cc), var(--cc)) 0 0 / 22px 2px,
    linear-gradient(var(--cc), var(--cc)) 0 0 / 2px 22px,
    linear-gradient(var(--cc), var(--cc)) 100% 0 / 22px 2px,
    linear-gradient(var(--cc), var(--cc)) 100% 0 / 2px 22px,
    linear-gradient(var(--cc), var(--cc)) 0 100% / 22px 2px,
    linear-gradient(var(--cc), var(--cc)) 0 100% / 2px 22px,
    linear-gradient(var(--cc), var(--cc)) 100% 100% / 22px 2px,
    linear-gradient(var(--cc), var(--cc)) 100% 100% / 2px 22px;
  background-repeat: no-repeat;
}

/* Brand-Panel (Bestandsklasse, reduziert) */
.brand-panel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--brand-grad);
  color: var(--ink);
  padding: 2.25rem;
  box-shadow: var(--glow);
}
.brand-panel h2, .brand-panel h3 { color: var(--ink); }
.brand-panel p { color: color-mix(in srgb, var(--ink) 80%, #ffffff); }
.brand-panel .eyebrow { color: color-mix(in srgb, var(--ink) 72%, #ffffff); }

/* 16. Reveal, Reduced Motion, Fokus --------------------------------- */
/* Modern: scroll-getriebene Einblendung ohne JS */
@supports (animation-timeline: view()) {
  .reveal {
    animation: reveal-rise linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 42%;
    animation-delay: var(--reveal-delay, 0ms); /* wird bei SDA ignoriert, unschädlich */
  }
  @keyframes reveal-rise {
    from { opacity: 0; translate: 0 26px; }
    to   { opacity: 1; translate: 0 0; }
  }
}
/* Fallback: IntersectionObserver (app.js) — nur wenn JS läuft */
@supports not (animation-timeline: view()) {
  html.js .reveal {
    opacity: 0;
    translate: 0 22px;
    transition: opacity 0.55s cubic-bezier(0.22, 0.61, 0.36, 1), translate 0.55s cubic-bezier(0.22, 0.61, 0.36, 1);
    transition-delay: var(--reveal-delay, 0ms);
  }
  html.js .reveal.is-visible { opacity: 1; translate: 0 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal { animation: none !important; opacity: 1 !important; translate: 0 0 !important; }
  .scan-line { display: none; }
  .scan-chips li { opacity: 1; translate: 0 0; animation: none; }
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 2px var(--bg),
    0 0 0 5px color-mix(in srgb, var(--brand-mid) 70%, transparent);
  border-radius: var(--radius-sm);
}
.btn:focus-visible,
.theme-toggle:focus-visible,
.menu-toggle:focus-visible,
.lang-toggle:focus-visible {
  border-radius: var(--radius-full);
}
