/* mk.space — „Monochrome + Gold" Design-System für die öffentlichen Seiten von mkolb.de
   (Landing /space · Datenschutz · Impressum). Clean Schwarz/Weiß mit EINER leuchtenden
   Akzentfarbe (Gold #E5BE01). Inter Variable (Body) + Fraunces (Display, serif) — beides
   self-hosted, Zero-CDN. SVG-Line-Icons (einfarbig, stroke=currentColor). Light = Default,
   Dark = Toggle (data-theme am <html>, persistiert in localStorage). Bewegung ruhig/elegant
   (ease-out-quint, kein Overshoot). Responsive 768/480 + safe-area. */

@font-face { font-family: 'InterVariable'; src: url('fonts/InterVariable.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'InterVariable'; src: url('fonts/InterVariable-Italic.woff2') format('woff2'); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: 'Fraunces'; src: url('fonts/Fraunces-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: block; }
@font-face { font-family: 'Fraunces'; src: url('fonts/Fraunces-600.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: block; }
@font-face { font-family: 'Fraunces'; src: url('fonts/Fraunces-400-italic.woff2') format('woff2'); font-weight: 400; font-style: italic; font-display: block; }

:root {
  /* ===== LIGHT (Default) ===== */
  --bg-base: #ffffff;
  --bg-card: #ffffff;
  --bg-elevated: #ffffff;
  --bg-input: #ffffff;
  --border-default: rgba(0, 0, 0, 0.08);
  --border-strong: rgba(0, 0, 0, 0.14);
  --text-primary: #0a0a0a;
  --text-secondary: #525252;
  --text-muted: #a3a3a3;
  --accent: #E5BE01;
  --accent-hover: #C9A600;
  --accent-text: #C9A600;
  --accent-softer: rgba(229, 190, 1, 0.07);
  --accent-soft: rgba(229, 190, 1, 0.12);
  --accent-line: rgba(229, 190, 1, 0.22);
  --accent-glow: rgba(229, 190, 1, 0.40);
  --accent-danger: #dc2626;
  --accent-success: #16a34a;
  --accent-warn: #d97706;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast: 0.18s; --t: 0.28s; --t-slow: 0.4s;
  --radius: 16px; --radius-sm: 12px; --radius-pill: 999px;
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'InterVariable', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  --shadow: 0 12px 36px rgba(0, 0, 0, 0.08);
  --shadow-soft: 0 2px 10px rgba(0, 0, 0, 0.05);
  --shadow-card: 0 1px 0 rgba(0, 0, 0, 0.02) inset, 0 6px 18px rgba(0, 0, 0, 0.06);
  --shadow-lift: 0 18px 44px rgba(0, 0, 0, 0.10), 0 2px 8px rgba(0, 0, 0, 0.05);
  --grad-brand: linear-gradient(135deg, #E5BE01, #C9A600);
  --grad-brand-soft: linear-gradient(135deg, rgba(229, 190, 1, 0.12), rgba(229, 190, 1, 0.06));
  --grad-text: linear-gradient(135deg, #E5BE01, #B89500);
  --glow: 0 8px 24px rgba(229, 190, 1, 0.22);
  --glow-strong: 0 10px 30px rgba(229, 190, 1, 0.30);
  --bg-glow-a: rgba(229, 190, 1, 0.05);
  --bg-glow-b: rgba(0, 0, 0, 0.0);
  --maxw: 1120px;
  --maxw-prose: 760px;
  color-scheme: light;
}

:root[data-theme="dark"] {
  --bg-base: #0a0a0a;
  --bg-card: rgba(20, 20, 20, 0.82);
  --bg-elevated: #1a1a1a;
  --bg-input: #141414;
  --border-default: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text-primary: #f5f5f5;
  --text-secondary: #a3a3a3;
  --text-muted: #737373;
  --accent: #E5BE01;
  --accent-hover: #C9A600;
  --accent-text: #F0CC20;
  --accent-softer: rgba(229, 190, 1, 0.08);
  --accent-soft: rgba(229, 190, 1, 0.16);
  --accent-line: rgba(229, 190, 1, 0.26);
  --accent-glow: rgba(229, 190, 1, 0.50);
  --accent-danger: #f87171;
  --accent-success: #34d399;
  --accent-warn: #FB923C;
  --shadow: 0 14px 40px rgba(0, 0, 0, 0.5);
  --shadow-soft: 0 2px 10px rgba(0, 0, 0, 0.3);
  --shadow-card: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 10px 28px rgba(0, 0, 0, 0.4);
  --shadow-lift: 0 22px 54px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.04);
  --grad-text: linear-gradient(135deg, #F0CC20, #E5BE01);
  --glow: 0 8px 28px rgba(229, 190, 1, 0.40);
  --glow-strong: 0 12px 36px rgba(229, 190, 1, 0.55);
  --bg-glow-a: rgba(229, 190, 1, 0.06);
  color-scheme: dark;
}

/* System-Default, falls kein Toggle gesetzt wurde */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]):not([data-theme="dark"]) {
    --bg-base: #0a0a0a; --bg-card: rgba(20,20,20,0.82); --bg-elevated: #1a1a1a; --bg-input: #141414;
    --border-default: rgba(255,255,255,0.08); --border-strong: rgba(255,255,255,0.14);
    --text-primary: #f5f5f5; --text-secondary: #a3a3a3; --text-muted: #737373;
    --accent-text: #F0CC20; --accent-soft: rgba(229,190,1,0.16); --accent-line: rgba(229,190,1,0.26);
    --shadow: 0 14px 40px rgba(0,0,0,0.5); --shadow-card: 0 1px 0 rgba(255,255,255,0.04) inset, 0 10px 28px rgba(0,0,0,0.4);
    --bg-glow-a: rgba(229,190,1,0.06); color-scheme: dark;
  }
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-feature-settings: 'cv01', 'ss01', 'cv11';
  font-size: 16px; line-height: 1.65;
  color: var(--text-primary);
  background:
    radial-gradient(900px 520px at 8% -12%, var(--bg-glow-a), transparent 60%),
    radial-gradient(820px 500px at 102% 112%, var(--bg-glow-b), transparent 60%),
    var(--bg-base);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

::selection { background: var(--accent); color: #0a0a0a; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }
.prose { max-width: var(--maxw-prose); margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }

/* ===== Navigation — schwebende Leiste auf Inhaltsbreite (wie in der Anwendung) =====
   Kein durchgezogener Balken: der Kopf ist eine abgerundete Karte in Content-Breite.
   Gilt auch für die Rechtstext-Seiten (sie nutzen `nav .container` statt `nav .nav-bar`),
   damit alle öffentlichen Seiten denselben Kopf tragen. */
nav {
  position: sticky; top: 0; z-index: 100;
  padding: max(12px, env(safe-area-inset-top)) 0 10px;
  background: linear-gradient(to bottom, color-mix(in srgb, var(--bg-base) 94%, transparent), color-mix(in srgb, var(--bg-base) 70%, transparent));
  backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%);
}
nav .container, nav .nav-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  width: min(100% - 40px, var(--maxw)); margin: 0 auto; min-height: 60px; padding: 9px 18px;
  border: 1px solid var(--border-default); border-radius: 20px;
  background: var(--bg-card); box-shadow: var(--shadow-soft);
  transition: box-shadow var(--t) var(--ease), border-color var(--t) var(--ease);
}
nav .container:hover, nav .nav-bar:hover { box-shadow: var(--shadow-card); }
.nav-actions { display: inline-flex; align-items: center; gap: 10px; }
nav .brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text-primary); }
nav .brand-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 10px;
  color: #0a0a0a; background: var(--grad-brand); box-shadow: var(--glow);
  font-weight: 800; font-size: 0.82rem; letter-spacing: -0.02em;
  transition: transform 0.35s var(--ease);
}
nav .brand:hover .brand-mark { transform: scale(1.05); }
nav .brand-name { font-family: var(--font-display); font-weight: 600; font-size: 1.18rem; letter-spacing: -0.01em; }
nav .brand-name .dot { color: var(--accent-text); }
nav ul { display: flex; align-items: center; gap: 26px; list-style: none; }
nav a.nav-link { color: var(--text-secondary); text-decoration: none; font-weight: 600; font-size: 0.9rem; transition: color var(--t) var(--ease); }
nav a.nav-link:hover, nav a.nav-link.active { color: var(--accent-text); }
nav .nav-cta { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: var(--radius-sm);
  background: var(--accent); color: #0a0a0a; font-weight: 700; font-size: 0.86rem; text-decoration: none; box-shadow: var(--glow);
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t) var(--ease); }
nav .nav-cta:hover { transform: translateY(-1px); box-shadow: var(--glow-strong); }
nav .nav-cta svg { width: 15px; height: 15px; flex-shrink: 0; }
.theme-toggle { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px;
  border: 1px solid var(--border-default); border-radius: var(--radius-sm); background: transparent;
  color: var(--text-secondary); cursor: pointer; transition: all var(--t) var(--ease); }
.theme-toggle:hover { color: var(--accent-text); border-color: var(--accent-line); background: var(--accent-soft); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .icon-moon { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: block; }
@media (max-width: 640px) {
  nav .container, nav .nav-bar { width: min(100% - 24px, var(--maxw)); padding: 7px 12px; min-height: 54px; gap: 10px; }
  nav .brand-mark { width: 30px; height: 30px; border-radius: 9px; }
  nav .brand-name { font-size: 1.02rem; }
  nav ul { gap: 14px; }
  nav a.nav-link { font-size: 0.82rem; }
  nav .nav-cta { padding: 7px 13px; font-size: 0.8rem; }
  .nav-link-hide { display: none; }
}

/* ===== Buttons ===== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 26px;
  border-radius: var(--radius-sm); border: 1px solid transparent; font-family: inherit;
  font-size: 0.98rem; font-weight: 600; letter-spacing: -0.01em; text-decoration: none; cursor: pointer;
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t) var(--ease), background var(--t) var(--ease), color var(--t) var(--ease), border-color var(--t) var(--ease); }
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--accent); color: #0a0a0a; box-shadow: var(--glow); }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); box-shadow: var(--glow-strong); text-decoration: none; }
.btn-secondary { background: rgba(0,0,0,0.04); border-color: var(--border-default); color: var(--text-secondary); }
:root[data-theme="dark"] .btn-secondary { background: rgba(255,255,255,0.05); }
.btn-secondary:hover { color: var(--text-primary); border-color: var(--border-strong); transform: translateY(-1px); text-decoration: none; }
.btn-ghost { background: transparent; border-color: var(--border-default); color: var(--text-secondary); }
.btn-ghost:hover { color: var(--accent-text); border-color: var(--accent-line); background: var(--accent-soft); text-decoration: none; }
.btn-group { display: flex; gap: 14px; flex-wrap: wrap; }

/* ===== Hero (Landing) ===== */
.hero { padding: 72px 0 48px; position: relative; }
.hero .eyebrow { display: inline-flex; align-items: center; gap: 7px; padding: 6px 15px; border-radius: var(--radius-pill);
  background: var(--accent-soft); border: 1px solid var(--accent-line); color: var(--accent-text);
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.02em; margin-bottom: 24px; }
.hero .eyebrow svg { width: 15px; height: 15px; }
.hero h1 { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.1rem, 6vw, 4.2rem);
  line-height: 1.04; letter-spacing: -0.03em; margin-bottom: 22px; max-width: 22ch; }
.hero h1 .gold { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero h1 .underline { position: relative; white-space: nowrap; }
.hero h1 .underline::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0.06em; height: 0.16em;
  background: var(--accent); border-radius: 2px; opacity: 0.5; z-index: -1; }
.hero .lede { font-size: clamp(1.08rem, 2.2vw, 1.32rem); color: var(--text-secondary); max-width: 56ch; margin-bottom: 34px; line-height: 1.55; }
.hero .btn-group { margin-bottom: 48px; }
.hero-stats { display: flex; gap: 0; flex-wrap: wrap; margin-top: 8px; border-top: 1px solid var(--border-default); padding-top: 30px; }
.hero-stat { padding: 0 34px; position: relative; }
.hero-stat:not(:first-child)::before { content: ''; position: absolute; left: 0; top: 10%; height: 80%; width: 1px; background: var(--border-default); }
.hero-stat:first-child { padding-left: 0; }
.hero-stat .n { font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 2.4rem); font-weight: 600;
  color: var(--text-primary); letter-spacing: -0.02em; line-height: 1; }
.hero-stat .n .gold { color: var(--accent-text); }
.hero-stat .l { font-size: 0.8rem; color: var(--text-muted); margin-top: 9px; font-weight: 600; max-width: 19ch; line-height: 1.4; }
@media (max-width: 640px) {
  .hero-stats { gap: 22px 18px; padding-top: 24px; }
  .hero-stat { padding: 0; flex: 1 1 42%; }
  .hero-stat:not(:first-child)::before { display: none; }
}

/* ===== Section framing ===== */
section { padding: 84px 0; position: relative; z-index: 1; }
.sec-head { text-align: center; max-width: 660px; margin: 0 auto 64px; }
.sec-head .tag { display: inline-block; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent-text); margin-bottom: 16px; }
.sec-head h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.9rem, 4.2vw, 2.8rem);
  letter-spacing: -0.025em; line-height: 1.1; margin-bottom: 16px; }
.sec-head p { color: var(--text-secondary); font-size: 1.06rem; line-height: 1.6; }
@media (max-width: 768px) { section { padding: 62px 0; } .sec-head { margin-bottom: 44px; } }

/* ===== Cards ===== */
.card {
  background: var(--bg-card); border: 1px solid var(--border-default); border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), border-color var(--t) var(--ease);
}
.card:hover { transform: translateY(-4px); border-color: var(--accent-line); box-shadow: var(--shadow-lift); }
.card-pad { padding: 28px; }

/* ===== Pillar grid (4 product pillars) ===== */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pillar { padding: 30px 26px; }
.pillar .icon-wrap { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px;
  border-radius: 13px; background: #141414; color: #fff; margin-bottom: 18px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.18); transition: background var(--t) var(--ease), transform var(--t) var(--ease); }
:root[data-theme="dark"] .pillar .icon-wrap { background: #1f1f1f; }
.pillar:hover .icon-wrap { background: var(--accent); color: #0a0a0a; transform: translateY(-2px) scale(1.04); }
.pillar .icon-wrap svg { width: 24px; height: 24px; }
.pillar h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; letter-spacing: -0.01em; margin-bottom: 8px; }
.pillar p { color: var(--text-secondary); font-size: 0.94rem; line-height: 1.6; }
@media (max-width: 900px) { .pillars { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .pillars { grid-template-columns: 1fr; } }

/* ===== Feature grid (USPs — clean, hairline-accented, nicht-boxig) =====
   auto-fit: trägt 3 oder 4 Spalten, ohne dass eine zweite Klasse nötig ist. */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(228px, 1fr)); gap: 28px; }
.feature-item { padding: 32px 28px; background: transparent; border: none; border-top: 2px solid var(--accent);
  border-radius: 0; box-shadow: none; }
.feature-item:hover { transform: none; border-color: var(--accent); box-shadow: none; }
.feature-item .fi-icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
  border-radius: 12px; background: var(--accent-soft); color: var(--accent-text); margin-bottom: 18px;
  transition: background var(--t) var(--ease), color var(--t) var(--ease); }
.feature-item:hover .fi-icon { background: var(--accent); color: #0a0a0a; }
.feature-item .fi-icon svg { width: 24px; height: 24px; }
.feature-item h4 { font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; margin-bottom: 9px; letter-spacing: -0.01em; }
.feature-item p { color: var(--text-secondary); font-size: 0.96rem; line-height: 1.6; margin: 0; }
@media (max-width: 900px) { .feature-grid { grid-template-columns: 1fr; gap: 20px; } }

/* ===== Security layers (6) ===== */
.layers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.layer { display: flex; gap: 14px; align-items: flex-start; padding: 20px 22px; }
.layer .layer-n { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; color: var(--accent-text); line-height: 1; min-width: 28px; }
.layer .layer-t h5 { font-size: 1rem; font-weight: 700; margin-bottom: 4px; letter-spacing: -0.01em; }
.layer .layer-t p { font-size: 0.86rem; color: var(--text-secondary); margin: 0; line-height: 1.55; }
@media (max-width: 900px) { .layers { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .layers { grid-template-columns: 1fr; } }

/* ===== Privacy flow (visual) ===== */
.flow { display: flex; flex-direction: column; gap: 10px; max-width: 620px; margin: 0 auto; }
.flow-step { display: flex; align-items: center; gap: 14px; padding: 16px 20px; border-radius: var(--radius-sm);
  background: var(--bg-card); border: 1px solid var(--border-default); }
.flow-step .fs-icon { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px;
  border-radius: 10px; background: var(--accent-soft); color: var(--accent-text); flex-shrink: 0; }
.flow-step .fs-icon svg { width: 20px; height: 20px; }
.flow-step .fs-text { font-size: 0.92rem; font-weight: 600; }
.flow-step .fs-text span { display: block; font-weight: 400; color: var(--text-muted); font-size: 0.82rem; margin-top: 2px; }
.flow-step.local { border-color: var(--accent-line); }
.flow-step.cloud .fs-icon { background: rgba(217, 119, 6, 0.12); color: var(--accent-warn); }
.flow-arrow { align-self: center; color: var(--text-muted); font-size: 1.1rem; line-height: 0.6; }

/* Gestaffeltes Scroll-Reveal: Steps + Arrows bauen sich nacheinander auf */
.flow.reveal { opacity: 1; transform: none; transition: none; } /* Container nur als Trigger */
.flow .flow-step, .flow .flow-arrow { opacity: 0; transform: translateY(12px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out); }
.flow.visible .flow-step, .flow.visible .flow-arrow { opacity: 1; transform: none; }
.flow.visible > :nth-child(1) { transition-delay: 0s; }
.flow.visible > :nth-child(2) { transition-delay: 0.09s; }
.flow.visible > :nth-child(3) { transition-delay: 0.18s; }
.flow.visible > :nth-child(4) { transition-delay: 0.27s; }
.flow.visible > :nth-child(5) { transition-delay: 0.36s; }
.flow.visible > :nth-child(6) { transition-delay: 0.45s; }
.flow.visible > :nth-child(7) { transition-delay: 0.54s; }
.flow.visible > :nth-child(8) { transition-delay: 0.63s; }
.flow.visible > :nth-child(9) { transition-delay: 0.72s; }
@media (prefers-reduced-motion: reduce) {
  .flow .flow-step, .flow .flow-arrow { opacity: 1; transform: none; transition: none; }
}

/* ===== Steps (how it works) ===== */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step { padding: 30px 26px; position: relative; }
.step::before { counter-increment: step; content: counter(step); font-family: var(--font-display); font-weight: 600;
  font-size: 2.4rem; color: var(--accent); opacity: 0.4; line-height: 1; margin-bottom: 12px; display: block; }
.step h4 { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; margin-bottom: 7px; letter-spacing: -0.01em; }
.step p { color: var(--text-secondary); font-size: 0.92rem; line-height: 1.6; margin: 0; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }

/* ===== Tiles / stats band ===== */
.stat-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat-tile { padding: 26px 22px; text-align: center; }
.stat-tile .n { font-family: var(--font-display); font-weight: 600; font-size: 2.2rem; color: var(--text-primary); letter-spacing: -0.02em; line-height: 1; }
.stat-tile .n .gold { color: var(--accent-text); }
.stat-tile .l { font-size: 0.84rem; color: var(--text-muted); margin-top: 8px; font-weight: 600; }
@media (max-width: 720px) { .stat-band { grid-template-columns: repeat(2, 1fr); } }

/* ===== CTA band ===== */
.cta-band { padding: 52px 48px; text-align: center; background:
  radial-gradient(420px 240px at 50% 0%, var(--accent-soft), transparent 70%), var(--bg-card);
  border: 1px solid var(--accent-line); border-radius: 24px; box-shadow: var(--shadow-lift); }
.cta-band h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.7rem, 3.5vw, 2.3rem);
  letter-spacing: -0.025em; margin-bottom: 14px; }
.cta-band p { color: var(--text-secondary); max-width: 52ch; margin: 0 auto 28px; font-size: 1.04rem; }
@media (max-width: 560px) { .cta-band { padding: 38px 24px; } }

/* ===== FAQ ===== */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq details { background: var(--bg-card); border: 1px solid var(--border-default); border-radius: var(--radius-sm);
  margin-bottom: 12px; padding: 18px 24px; transition: border-color var(--t) var(--ease); }
.faq details[open] { border-color: var(--accent-line); }
.faq summary { font-weight: 600; font-size: 1.02rem; cursor: pointer; list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; color: var(--text-primary); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; width: 9px; height: 9px; border-right: 2px solid var(--accent-text);
  border-bottom: 2px solid var(--accent-text); transform: rotate(45deg); transition: transform var(--t) var(--ease); flex-shrink: 0; margin-top: -4px; }
.faq details[open] summary::after { transform: rotate(225deg); margin-top: 4px; }
.faq .answer { margin-top: 14px; color: var(--text-secondary); font-size: 0.94rem; line-height: 1.65; }
.faq .answer a, .layers-acc .layer-body a { color: var(--accent-text); text-decoration: underline; text-underline-offset: 2px;
  text-decoration-color: var(--accent-line); font-weight: 600; }
.faq .answer a:hover, .layers-acc .layer-body a:hover { text-decoration-color: var(--accent); }

/* ===== Legal prose (Datenschutz / Impressum) ===== */
.legal { max-width: var(--maxw-prose); margin: 0 auto; padding: 48px 24px 80px; position: relative; z-index: 1; }
.legal h1 { font-family: var(--font-display); font-weight: 600; font-size: clamp(2rem, 5vw, 2.8rem);
  letter-spacing: -0.025em; line-height: 1.1; margin: 20px 0 8px; }
.legal .updated { color: var(--text-muted); font-size: 0.86rem; margin: 0 0 28px; }
.legal h2 { font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; letter-spacing: -0.015em;
  margin: 40px 0 12px; line-height: 1.25; scroll-margin-top: 80px; }
.legal h3 { font-size: 1.05rem; font-weight: 700; margin: 26px 0 8px; color: var(--text-primary); }
.legal p, .legal li { font-size: 0.96rem; line-height: 1.7; color: var(--text-secondary); margin: 9px 0; }
.legal p strong, .legal li strong { color: var(--text-primary); font-weight: 600; }
.legal ul, .legal ol { padding-left: 22px; }
.legal a { color: var(--accent-text); text-decoration: underline; text-underline-offset: 2px; text-decoration-color: var(--accent-line); }
.legal a:hover { text-decoration-color: var(--accent); }
.legal .lead { background: var(--accent-softer); border: 1px solid var(--accent-line); border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm); padding: 18px 22px; margin: 22px 0; font-size: 0.97rem; color: var(--text-secondary); }
.legal .lead strong { color: var(--text-primary); }
.legal table { width: 100%; border-collapse: collapse; background: var(--bg-card); border: 1px solid var(--border-default);
  border-radius: var(--radius-sm); overflow: hidden; font-size: 0.9rem; margin: 16px 0; }
.legal th, .legal td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--border-default); vertical-align: top; }
.legal th { font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted);
  background: var(--accent-softer); font-weight: 700; }
.legal tr:last-child td { border-bottom: none; }
.legal td.k { font-weight: 600; color: var(--text-primary); white-space: nowrap; }
.legal code { font-family: var(--font-mono); font-size: 0.86em; background: var(--accent-soft); color: var(--accent-text);
  padding: 1px 6px; border-radius: 5px; }
.legal .toc { background: var(--bg-card); border: 1px solid var(--border-default); border-radius: var(--radius-sm);
  padding: 18px 24px; margin: 26px 0; }
.legal .toc h3 { margin: 0 0 10px; font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); }
.legal .toc ol { margin: 0; columns: 2; column-gap: 28px; font-size: 0.9rem; list-style: decimal; padding-left: 18px; }
.legal .toc li { margin: 4px 0; break-inside: avoid; }
.legal .toc a { color: var(--text-secondary); text-decoration: none; }
.legal .toc a:hover { color: var(--accent-text); }
.legal .legal-ref { display: block; font-size: 0.84rem; color: var(--text-muted); margin: 6px 0 0; font-style: italic; }
.legal .project { background: var(--bg-card); border: 1px solid var(--border-default); border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0; padding: 18px 22px; margin: 18px 0; }
.legal .project h3 { margin-top: 0; }
.legal .pill { display: inline-flex; align-items: center; gap: 5px; padding: 3px 11px; border-radius: var(--radius-pill);
  font-size: 0.76rem; font-weight: 700; background: var(--accent-soft); color: var(--accent-text); border: 1px solid var(--accent-line); }
@media (max-width: 680px) { .legal .toc ol { columns: 1; } }

/* ===== Version-Switcher + Archiv-Banner ===== */
.version-switcher { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 0 0 24px; }
.version-switcher .vs-label { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); font-weight: 700; }
.version-switcher select { appearance: none; -webkit-appearance: none; font-family: inherit; font-size: 0.88rem;
  padding: 8px 30px 8px 13px; border: 1px solid var(--border-default); border-radius: var(--radius-sm);
  background: var(--bg-card); color: var(--text-secondary); cursor: pointer;
  transition: border-color var(--t) var(--ease), color var(--t) var(--ease);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23a3a3a3' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><path d='m6 9 6 6 6-6'/></svg>");
  background-repeat: no-repeat; background-position: right 10px center; }
.version-switcher select:hover { border-color: var(--accent-line); color: var(--accent-text); }
.version-switcher select:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.archive-banner { background: var(--accent-softer); border: 1px solid var(--accent-line); border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm); padding: 13px 18px; margin: 0 0 26px; font-size: 0.9rem; color: var(--text-secondary); }
.archive-banner a { color: var(--accent-text); font-weight: 600; }

/* ===== Footer ===== */
footer { padding: 56px 0 40px; border-top: 1px solid var(--border-default); margin-top: 40px; position: relative; z-index: 1; }
footer .container { display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; justify-content: space-between; }
footer .foot-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
footer .foot-brand .brand-mark { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px;
  border-radius: 9px; color: #0a0a0a; background: var(--grad-brand); font-weight: 800; font-size: 0.74rem; }
footer .foot-brand .brand-name { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; }
footer .foot-blurb { color: var(--text-muted); font-size: 0.86rem; max-width: 34ch; margin-bottom: 16px; }
footer .foot-links { display: flex; gap: 22px; flex-wrap: wrap; }
footer .foot-links a { color: var(--text-secondary); text-decoration: none; font-size: 0.86rem; font-weight: 600; transition: color var(--t) var(--ease); }
footer .foot-links a:hover { color: var(--accent-text); }
footer .foot-meta { width: 100%; color: var(--text-muted); font-size: 0.8rem; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--border-default); }
footer .foot-meta a.foot-legal { color: var(--text-muted); text-decoration: none; transition: color var(--t) var(--ease); }
footer .foot-meta a.foot-legal:hover { color: var(--accent-text); }

/* ===== Reveal animation ===== */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out); }
.reveal.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ===== Hero — dynamischer Glow + Dashboard-Preview ===== */
.hero { position: relative; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; top: -30%; left: 50%; transform: translateX(-50%);
  width: 120%; height: 70%; pointer-events: none; z-index: 0;
  background: radial-gradient(60% 60% at 50% 40%, var(--accent-soft), transparent 70%);
  animation: glowDrift 9s ease-in-out infinite alternate;
}
@keyframes glowDrift {
  0% { transform: translate(-54%, 0) scale(1); opacity: 0.7; }
  100% { transform: translate(-46%, 3%) scale(1.08); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) { .hero::before { animation: none; } }
.hero .container { position: relative; z-index: 1; }

/* Staggered reveal */
.reveal.d1 { transition-delay: 0.06s; }
.reveal.d2 { transition-delay: 0.12s; }
.reveal.d3 { transition-delay: 0.18s; }
.reveal.d4 { transition-delay: 0.24s; }
.reveal.d5 { transition-delay: 0.30s; }

/* Dashboard-Preview (konkretes Produkt-Bild — 4 Kacheln wie die echte App) */
.preview {
  margin-top: 56px; position: relative; z-index: 1;
  background: var(--bg-card); border: 1px solid var(--border-default); border-radius: 22px;
  box-shadow: var(--shadow-lift); padding: 18px; max-width: 880px;
  opacity: 0; transform: translateY(28px) scale(0.985);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.preview.visible { opacity: 1; transform: translateY(0) scale(1); animation: previewFloat 7s ease-in-out 0.8s infinite; }
@keyframes previewFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@media (prefers-reduced-motion: reduce) { .preview.visible { animation: none; } }
.preview-bar { display: flex; align-items: center; gap: 8px; padding: 4px 6px 14px; }
.preview-bar .dot { width: 11px; height: 11px; border-radius: 50%; background: rgba(0,0,0,0.12); }
:root[data-theme="dark"] .preview-bar .dot { background: rgba(255,255,255,0.14); }
.preview-bar .dot.live { background: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); animation: livePulse 2.6s ease-in-out infinite; }
@keyframes livePulse { 0%, 100% { box-shadow: 0 0 0 3px var(--accent-soft); } 50% { box-shadow: 0 0 0 7px rgba(229,190,1,0.10); } }
@media (prefers-reduced-motion: reduce) { .preview-bar .dot.live { animation: none; } }
.preview-bar .url { margin-left: 10px; font-size: 0.78rem; color: var(--text-muted); font-family: var(--font-mono); }
.preview-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.preview-tile {
  background: var(--bg-elevated); border: 1px solid var(--border-default); border-radius: 14px;
  padding: 18px 16px; min-height: 132px; display: flex; flex-direction: column; gap: 10px;
  transition: transform var(--t) var(--ease), border-color var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.preview-tile:hover { transform: translateY(-3px); border-color: var(--accent-line); box-shadow: var(--shadow-card); }
.preview-tile .pt-icon { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px;
  border-radius: 10px; background: #141414; color: #fff; }
:root[data-theme="dark"] .preview-tile .pt-icon { background: #1f1f1f; }
.preview-tile:hover .pt-icon { background: var(--accent); color: #0a0a0a; }
.preview-tile .pt-icon svg { width: 18px; height: 18px; }
.preview-tile .pt-name { font-family: var(--font-display); font-weight: 600; font-size: 1rem; letter-spacing: -0.01em; }
.preview-tile .pt-meta { font-size: 0.76rem; color: var(--text-muted); margin-top: auto; line-height: 1.4; }
.preview-tile .pt-line { height: 6px; border-radius: 3px; background: var(--accent-soft); }
.preview-tile .pt-line.s { width: 60%; }
@media (max-width: 720px) { .preview-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .preview-grid { grid-template-columns: 1fr; } }

/* Wechselnde Sektion-Tönung (Rhythmus) */
section.alt { background: linear-gradient(180deg, transparent, var(--accent-softer) 38%, transparent); }

/* Konkrete Use-Cases — borderlose, editorial-typografische Zitatblöcke */
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.case { padding: 0; background: transparent; border: none; border-radius: 0; box-shadow: none; }
.case:hover { transform: none; border-color: transparent; box-shadow: none; }
.case .case-q { font-family: var(--font-display); font-weight: 600; font-size: 1.32rem; line-height: 1.3;
  letter-spacing: -0.01em; margin-bottom: 14px; color: var(--text-primary); }
.case .case-q::before { content: '“'; color: var(--accent-text); margin-right: 2px; }
.case .case-q::after { content: '”'; color: var(--accent-text); }
.case .case-a { color: var(--text-secondary); font-size: 0.98rem; line-height: 1.65; margin: 0; }
.case .case-a strong { color: var(--text-primary); }
@media (max-width: 900px) { .cases { grid-template-columns: 1fr; gap: 28px; } }

/* ===== Produkt-Rahmen (mk.space als Raum — 4 Apps als Panes, auto-rotierend) ===== */
.raum { max-width: 760px; margin: 0 auto; }
.raum-frame { position: relative; background: var(--bg-card); border: 1px solid var(--border-default);
  border-radius: 22px; box-shadow: var(--shadow-lift); overflow: hidden; }
.raum-titlebar { display: flex; align-items: center; gap: 10px; padding: 12px 18px;
  border-bottom: 1px solid var(--border-default); background: rgba(0,0,0,0.025); }
:root[data-theme="dark"] .raum-titlebar { background: rgba(255,255,255,0.035); }
.raum-titlebar .brand-mark { width: 26px; height: 26px; font-size: 0.72rem; border-radius: 7px; }
.raum-titlebar .raum-title { font-family: var(--font-display); font-weight: 600; font-size: 1rem;
  letter-spacing: -0.01em; }
.raum-titlebar .raum-title .dot { color: var(--accent); }
.raum-titlebar .raum-dots { margin-left: auto; display: flex; gap: 6px; }
.raum-titlebar .raum-dots span { width: 10px; height: 10px; border-radius: 50%; background: var(--border-default); }
.raum-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--border-default); }
.raum-tile { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 28px 26px;
  border: none; background: var(--bg-card); color: var(--text-secondary); font-family: inherit; text-align: left;
  cursor: pointer; transition: background var(--t) var(--ease); }
.raum-tile .rt-icon { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px;
  border-radius: 12px; background: #141414; color: #fff;
  transition: background var(--t) var(--ease), color var(--t) var(--ease), transform var(--t) var(--ease), box-shadow var(--t) var(--ease); }
:root[data-theme="dark"] .raum-tile .rt-icon { background: #1f1f1f; }
.raum-tile .rt-icon svg { width: 23px; height: 23px; }
.raum-tile .rt-name { font-family: var(--font-display); font-weight: 600; font-size: 1.12rem;
  letter-spacing: -0.01em; color: var(--text-primary); }
.raum-tile .rt-tag { font-size: 0.8rem; color: var(--text-muted); }
.raum-tile:hover { background: rgba(229,190,1,0.06); }
.raum-tile:hover .rt-icon { transform: translateY(-2px); }
.raum-tile.active { background: rgba(229,190,1,0.11); }
.raum-tile.active .rt-icon { background: var(--accent); color: #0a0a0a; box-shadow: var(--glow); }
.raum-detail { margin-top: 16px; }
.tab-progress { height: 2px; margin: 14px 0 0; background: var(--border-default);
  border-radius: 2px; overflow: hidden; }
.tab-progress-fill { display: block; height: 100%; width: 0; background: var(--grad-brand); border-radius: 2px; }
.tab-progress-fill.run { animation: tabFill 4.6s linear forwards; }
@keyframes tabFill { from { width: 0; } to { width: 100%; } }
@media (prefers-reduced-motion: reduce) { .tab-progress-fill.run { animation: none; width: 100%; } }
.tab-panel { display: none; background: var(--bg-card); border: 1px solid var(--border-default);
  border-radius: var(--radius); box-shadow: var(--shadow-card); padding: 36px; }
.tab-panel.active { display: block; animation: tabIn 0.45s var(--ease-out); }
@keyframes tabIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.tp-inner { display: flex; gap: 26px; align-items: flex-start; }
.tp-inner .icon-wrap { display: inline-flex; align-items: center; justify-content: center; width: 54px; height: 54px;
  border-radius: 15px; background: #141414; color: #fff; flex-shrink: 0; box-shadow: 0 8px 22px rgba(0,0,0,0.20);
  transition: background var(--t) var(--ease), color var(--t) var(--ease); }
:root[data-theme="dark"] .tp-inner .icon-wrap { background: #1f1f1f; }
.tab-panel.active .tp-inner .icon-wrap { background: var(--accent); color: #0a0a0a; }
.tp-inner .icon-wrap svg { width: 28px; height: 28px; }
.tp-inner h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; letter-spacing: -0.01em; margin-bottom: 8px; }
.tp-inner p { color: var(--text-secondary); font-size: 1.04rem; line-height: 1.6; margin: 0; max-width: 62ch; }
@media (prefers-reduced-motion: reduce) { .tab-panel.active { animation: none; } }
@media (max-width: 560px) { .raum-tile { padding: 20px 18px; gap: 10px; } .raum-tile .rt-name { font-size: 1rem; } .raum-tile .rt-tag { font-size: 0.74rem; } .tp-inner { flex-direction: column; gap: 16px; } .tab-panel { padding: 26px; } }

/* ===== Security-Layers als Akkordeon (interaktiv, kompakt) ===== */
.layers-acc { max-width: 760px; margin: 0 auto; }
.layers-acc details { background: var(--bg-card); border: 1px solid var(--border-default); border-radius: var(--radius-sm);
  margin-bottom: 10px; transition: border-color var(--t) var(--ease), box-shadow var(--t) var(--ease); }
.layers-acc details[open] { border-color: var(--accent-line); box-shadow: var(--shadow-card); }
.layers-acc summary { display: flex; align-items: center; gap: 16px; padding: 16px 22px; cursor: pointer; list-style: none;
  font-weight: 700; font-size: 1rem; color: var(--text-primary); }
.layers-acc summary::-webkit-details-marker { display: none; }
.layers-acc summary .layer-n { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; color: var(--accent-text);
  line-height: 1; min-width: 26px; }
.layers-acc summary h5 { font-size: 1rem; font-weight: 700; margin: 0; letter-spacing: -0.01em; flex: 1; }
.layers-acc summary::after { content: ''; width: 9px; height: 9px; border-right: 2px solid var(--accent-text);
  border-bottom: 2px solid var(--accent-text); transform: rotate(45deg); transition: transform var(--t) var(--ease);
  flex-shrink: 0; margin-top: -4px; }
.layers-acc details[open] summary::after { transform: rotate(225deg); margin-top: 4px; }
.layers-acc .layer-body { padding: 0 22px 18px 64px; }
.layers-acc .layer-body p { font-size: 0.92rem; color: var(--text-secondary); line-height: 1.6; margin: 0; }
@media (max-width: 560px) { .layers-acc .layer-body { padding-left: 22px; } }

/* ===== Pseudonymisierungs-Demo (interaktiv — Live before/after) ===== */
.demo { max-width: 760px; margin: 0 auto; background: var(--bg-card); border: 1px solid var(--border-default);
  border-radius: 20px; box-shadow: var(--shadow-lift); overflow: hidden; }
.demo-stage { padding: 30px 32px 24px; }
.demo-label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 14px; display: inline-flex; align-items: center; gap: 8px; }
.demo-label::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.demo-text { font-size: 1.1rem; line-height: 1.8; color: var(--text-primary); margin: 0 0 22px; }
.demo-text .pii { background: var(--accent-soft); color: var(--text-primary); padding: 1px 6px; border-radius: 5px;
  font-weight: 600; transition: background var(--t) var(--ease); white-space: nowrap; }
.demo.masked .demo-text .pii { font-size: 0; background: transparent; }
.demo.masked .demo-text .pii::before { content: attr(data-token); font-size: 1.1rem; font-weight: 700; color: var(--accent-text);
  letter-spacing: 0.01em; }
.demo.masked .demo-text { animation: demoSwap 0.55s var(--ease-out); }
@keyframes demoSwap { 0% { background: var(--accent-softer); } 100% { background: transparent; } }
@media (prefers-reduced-motion: reduce) { .demo.masked .demo-text { animation: none; } }
.demo-cloud { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 15px 18px; border-radius: var(--radius-sm);
  background: var(--bg-elevated); border: 1px dashed var(--border-default); }
.demo-cloud .dc-label { font-size: 0.78rem; font-weight: 700; color: var(--text-muted); display: inline-flex; align-items: center; gap: 8px; }
.demo-cloud .dc-label svg { width: 16px; height: 16px; }
.demo-cloud .dc-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-danger); flex-shrink: 0;
  transition: background var(--t) var(--ease); }
.demo.masked .demo-cloud .dc-dot { background: var(--accent-success); }
.demo-cloud .dc-out { font-family: var(--font-mono); font-size: 0.85rem; line-height: 1.5; }
.demo-cloud .dc-out.raw { color: var(--accent-danger); }
.demo-cloud .dc-out.masked { display: none; color: var(--accent-success); }
.demo.masked .dc-out.raw { display: none; }
.demo.masked .dc-out.masked { display: inline; }
.demo-foot { padding: 0 32px 28px; }
.demo-foot .btn { width: 100%; justify-content: center; }
@media (max-width: 560px) { .demo-stage { padding: 22px 20px 20px; } .demo-foot { padding: 0 20px 22px; } .demo-text { font-size: 1rem; line-height: 1.7; } }

/* ===== Häkchenliste in den Produkt-Panes ===== */
.tp-list { list-style: none; margin: 18px 0 0; display: flex; flex-direction: column; gap: 9px; }
.tp-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.92rem; color: var(--text-secondary); line-height: 1.5; }
.tp-list li svg { width: 17px; height: 17px; color: var(--accent-text); flex-shrink: 0; margin-top: 2px; }

/* ===== „Technik"-Zeile in den Schutzschichten — für alle, die es genau wissen wollen ===== */
.layers-acc .layer-body .tech { display: block; margin-top: 10px; padding-left: 11px;
  border-left: 2px solid var(--accent-line); font-family: var(--font-mono);
  font-size: 0.76rem; line-height: 1.6; color: var(--text-muted); }

/* ===== Preise ===== */
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px;
  align-items: start; padding-top: 14px; max-width: 760px; margin: 0 auto 30px; }
.price-card { position: relative; display: flex; flex-direction: column; padding: 32px 28px 28px;
  background: var(--bg-card); border: 1px solid var(--border-default); border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), border-color var(--t) var(--ease); }
.price-card:hover { transform: translateY(-4px); border-color: var(--accent-line); box-shadow: var(--shadow-lift); }
.price-card.featured { border-color: var(--accent-line); box-shadow: var(--shadow-lift);
  background: radial-gradient(340px 180px at 50% 0%, var(--accent-soft), transparent 72%), var(--bg-card); }
.price-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  padding: 5px 14px; border-radius: var(--radius-pill); background: var(--accent); color: #0a0a0a;
  font-size: 0.7rem; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase;
  box-shadow: var(--glow); white-space: nowrap; }
.price-head h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.35rem;
  letter-spacing: -0.01em; margin-bottom: 6px; }
.price-for { color: var(--text-muted); font-size: 0.9rem; line-height: 1.5; margin: 0 0 20px; min-height: 2.7em; }
.price-amount { display: flex; align-items: baseline; gap: 9px; padding-bottom: 20px; margin-bottom: 20px;
  border-bottom: 1px solid var(--border-default); }
.price-amount .pa-value { font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.9rem, 4vw, 2.4rem); letter-spacing: -0.03em; line-height: 1; }
.price-card.featured .price-amount .pa-value { color: var(--accent-text); }
.price-amount .pa-per { color: var(--text-muted); font-size: 0.86rem; font-weight: 600; }
.price-list { list-style: none; margin: 0 0 26px; padding: 0; display: flex; flex-direction: column; gap: 11px; flex: 1; }
.price-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.94rem;
  color: var(--text-secondary); line-height: 1.5; }
.price-list li svg { width: 18px; height: 18px; color: var(--accent-text); flex-shrink: 0; margin-top: 2px; }
.price-cta { width: 100%; }
.price-fine { margin: 12px 0 0; font-size: 0.78rem; color: var(--text-muted); text-align: center; line-height: 1.5; }
.price-legal { max-width: 860px; margin: 0 auto; text-align: center; font-size: 0.82rem;
  color: var(--text-muted); line-height: 1.65; }
.price-legal a { color: var(--accent-text); text-decoration: underline; text-underline-offset: 2px;
  text-decoration-color: var(--accent-line); font-weight: 600; }
.price-legal a:hover { text-decoration-color: var(--accent); }
@media (max-width: 900px) {
  .price-grid { grid-template-columns: 1fr; max-width: 460px; gap: 30px; }
  .price-for { min-height: 0; }
}
@media (max-width: 560px) { .price-card { padding: 28px 22px 24px; } }

/* ===== Speicher-Rechner (in der Preis-Sektion) ===== */
.calc { max-width: 720px; margin: 0 auto 46px; padding: 30px 32px; border-radius: var(--radius);
  background: var(--bg-card); border: 1px solid var(--border-default); box-shadow: var(--shadow-card); }
.calc-head h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.3rem;
  letter-spacing: -0.01em; margin-bottom: 6px; }
.calc-head p { color: var(--text-muted); font-size: 0.9rem; margin: 0 0 22px; line-height: 1.55; }
.calc-row { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 10px; }
.calc-label { font-size: 0.76rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); }
.calc-value { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600;
  color: var(--accent-text); letter-spacing: -0.02em; }
.calc input[type="range"] { -webkit-appearance: none; appearance: none; display: block; width: 100%;
  height: 6px; border-radius: 3px; outline: none; margin: 4px 0 20px; cursor: pointer;
  background: linear-gradient(to right, var(--accent) 0%, var(--accent) var(--calc-fill, 20%),
    var(--border-default) var(--calc-fill, 20%), var(--border-default) 100%); }
.calc input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px;
  border-radius: 50%; background: var(--accent); border: 3px solid var(--bg-card);
  box-shadow: var(--glow); cursor: grab; }
.calc input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%;
  background: var(--accent); border: 3px solid var(--bg-card); box-shadow: var(--glow); cursor: grab; }
.calc input[type="range"]:focus-visible { outline: 2px solid var(--accent-line); outline-offset: 5px; }
.calc-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.calc > .calc-chips { margin-bottom: 22px; }
.calc-chip { padding: 8px 14px; border-radius: var(--radius-pill); border: 1px solid var(--border-default);
  background: transparent; color: var(--text-secondary); font: inherit; font-size: 0.84rem; font-weight: 600;
  cursor: pointer; transition: all var(--t) var(--ease); }
.calc-chip:hover { color: var(--accent-text); border-color: var(--accent-line); background: var(--accent-soft); }
.calc-chip.active { background: var(--accent); border-color: var(--accent); color: #0a0a0a; box-shadow: var(--glow); }
.calc-verdict { margin: 22px 0 0; padding-top: 20px; border-top: 1px solid var(--border-default);
  font-size: 1rem; color: var(--text-secondary); line-height: 1.6; }
.calc-verdict strong { font-family: var(--font-display); font-weight: 600; font-size: 1.12rem;
  color: var(--text-primary); }
.calc-note { margin: 12px 0 0; font-size: 0.78rem; color: var(--text-muted); line-height: 1.5; }
@media (max-width: 560px) { .calc { padding: 24px 20px; } .calc-row { flex-wrap: wrap; gap: 8px; } }

/* ===== Print (Legal/PDF) ===== */
@media print {
  nav, footer, .theme-toggle, .version-switcher, .btn-group { display: none !important; }
  body { background: #fff; }
  .legal { padding-top: 0; }
  :root[data-theme="dark"] { --text-primary: #0a0a0a; --text-secondary: #3f3f3f; --bg-card: #fff; --border-default: #ddd; }
}