/* BasisDisclosure – Stylesheet
   Geschwister von basiscars.com: gleiche Schrift (Geist, selbst gehostet),
   gleiche Kartenlogik, eigener Akzent (Violett + Cyan fuer "Transparenz"). */

@font-face {
  font-family: 'Geist';
  src: url('fonts/geist-latin-ext.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Geist';
  src: url('fonts/geist-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: light dark;
  --bg: #f8f7fc;
  --bg-soft: #f1eff9;
  --text: #15121f;
  --muted: #565169;
  --card-bg: rgba(255, 255, 255, 0.86);
  --card-solid: #ffffff;
  --card-border: rgba(190, 183, 216, 0.6);
  --accent: #6d28d9;          /* Text, Links (7:1 auf hell) */
  --accent-btn: #7c3aed;      /* Flaechen mit weisser Schrift */
  --accent-btn-hover: #6d28d9;
  --accent-soft: #ede9fe;
  --accent-glow: rgba(124, 58, 237, 0.28);
  --cyan: #0e7490;
  --ok: #047857;
  --warn: #b45309;
  --danger: #b91c1c;
  --danger-soft: #fee2e2;
  --code-bg: #17141f;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(40, 20, 90, 0.08);
  --font: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, 'Liberation Mono', monospace;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0a10;
    --bg-soft: #12101a;
    --text: #f5f3ff;
    --muted: #b6b1c9;
    --card-bg: rgba(24, 21, 34, 0.68);
    --card-solid: #18151f;
    --card-border: rgba(255, 255, 255, 0.1);
    --accent: #b9a2fb;
    --accent-btn: #7c3aed;
    --accent-btn-hover: #8b5cf6;
    --accent-soft: rgba(139, 92, 246, 0.16);
    --accent-glow: rgba(139, 92, 246, 0.45);
    --cyan: #67e8f9;
    --ok: #34d399;
    --warn: #fbbf24;
    --danger: #f87171;
    --danger-soft: rgba(248, 113, 113, 0.12);
    --code-bg: #0f0d15;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  }
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
}

img, svg { max-width: 100%; }
a { color: var(--accent); }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 1000;
  background: var(--accent-btn); color: #fff; padding: 0.6rem 1rem; border-radius: 8px;
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 1rem; }

/* Hintergrund-Leuchten wie bei BasisCars, hier Violett + Cyan */
.bg-glow { position: absolute; inset: 0; overflow: hidden; z-index: -1; pointer-events: none; }
.bg-glow::before, .bg-glow::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(100px); opacity: 0.55;
}
.bg-glow::before {
  top: -12rem; left: -10rem; width: 44rem; height: 44rem;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.32) 0%, rgba(124, 58, 237, 0) 70%);
  animation: floatX 22s ease-in-out infinite;
}
.bg-glow::after {
  top: 18rem; right: -8rem; width: 38rem; height: 38rem;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.26) 0%, rgba(6, 182, 212, 0) 70%);
  animation: floatY 26s ease-in-out infinite reverse;
}
@keyframes floatX { 50% { transform: translate(4rem, 1.5rem); } }
@keyframes floatY { 50% { transform: translate(-3rem, -2rem); } }
@keyframes fadeIn { from { transform: translateY(12px); } to { transform: none; } }
.animate-fade-in { animation: fadeIn 0.7s ease-out both; }

/* Layout */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1rem; }
@media (min-width: 640px) { .container { padding: 0 2rem; } }
main { flex: 1 0 auto; }
section { scroll-margin-top: 1.5rem; }

.section { margin-top: 5rem; }
@media (min-width: 900px) { .section { margin-top: 8rem; } }
.section-head { max-width: 760px; margin: 0 auto 2.5rem; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--accent); background: var(--accent-soft); border-radius: 999px; padding: 0.25rem 0.75rem;
  margin-bottom: 1rem;
}
.eyebrow svg { width: 14px; height: 14px; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; }
.section-head h2, .h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); margin-bottom: 1rem; }
.section-head p { color: var(--muted); font-size: 1.05rem; }

.text-gradient {
  background: linear-gradient(100deg, var(--text) 35%, var(--accent) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: var(--text);
}
@media (forced-colors: active) { .text-gradient { -webkit-text-fill-color: currentColor; background: none; } }

/* Glaskarte */
.glass-card {
  background: var(--card-bg);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 1.5rem;
  position: relative;
}
@media (min-width: 640px) { .glass-card { padding: 2rem; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 44px; padding: 0.7rem 1.4rem; border-radius: 10px;
  font: inherit; font-weight: 600; font-size: 1rem; line-height: 1.2;
  cursor: pointer; text-decoration: none; border: 1px solid transparent;
  transition: background-color 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.65; cursor: progress; transform: none; }
.btn-accent { background: var(--accent-btn); color: #fff; box-shadow: 0 0 22px var(--accent-glow); }
.btn-accent:hover:not(:disabled) { background: var(--accent-btn-hover); transform: translateY(-1px); }
.btn-secondary { background: var(--card-bg); color: var(--text); border-color: var(--card-border); }
.btn-secondary:hover:not(:disabled) { border-color: var(--accent); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--card-border); }
.btn-ghost:hover:not(:disabled) { border-color: var(--accent); color: var(--accent); }
.btn-block { width: 100%; }
.btn-sm { min-height: 36px; padding: 0.4rem 0.8rem; font-size: 0.875rem; border-radius: 8px; }

.spinner {
  width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid currentColor; border-right-color: transparent;
  animation: spin 0.8s linear infinite; display: inline-block; flex-shrink: 0;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Navigation */
.site-header { position: relative; z-index: 50; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.25rem 0; }
@media (min-width: 900px) { .nav { padding: 2rem 0; } }
.logo {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-size: 1.3rem; font-weight: 700; letter-spacing: -0.045em;
  color: var(--text); text-decoration: none;
}
.logo-mark { width: 30px; height: 30px; flex-shrink: 0; }
.logo span b { color: var(--accent); font-weight: 700; }
.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--card-bg); border: 1px solid var(--card-border); color: var(--text); cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }
.nav-links {
  display: none; position: absolute; left: 1rem; right: 1rem; top: 4.5rem;
  flex-direction: column; gap: 0.25rem; padding: 0.75rem;
  background: var(--card-solid); border: 1px solid var(--card-border); border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.nav-links.is-open { display: flex; }
.nav-links a:not(.btn) {
  color: var(--text); text-decoration: none; font-size: 1rem; font-weight: 500;
  padding: 0.7rem 0.75rem; border-radius: 8px;
}
.nav-links a:not(.btn):hover { background: var(--accent-soft); color: var(--accent); }
.nav-links .btn { margin-top: 0.4rem; }
@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .nav-links {
    display: flex; position: static; flex-direction: row; align-items: center; gap: 0.25rem;
    padding: 0; background: none; border: 0; box-shadow: none;
  }
  .nav-links a:not(.btn) { font-size: 0.95rem; padding: 0.45rem 0.7rem; }
  .nav-links .btn { margin: 0 0 0 0.5rem; min-height: 40px; padding: 0.5rem 1rem; font-size: 0.9rem; }
}

/* Hero */
.hero { padding-top: 1.5rem; }
.hero-grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 1000px) { .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 3.5rem; padding-top: 1.5rem; } }
.hero h1 { font-size: clamp(2.1rem, 5.2vw, 3.3rem); letter-spacing: -0.035em; margin-bottom: 1.25rem; }
.hero-sub { font-size: clamp(1.1rem, 2.4vw, 1.3rem); font-weight: 600; color: var(--text); margin-bottom: 1rem; line-height: 1.4; }
.hero-desc { color: var(--muted); font-size: 1.05rem; margin-bottom: 2rem; max-width: 36rem; }
.cta-group { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 1.5rem; }
.hero-guarantee { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; color: var(--muted); font-size: 0.92rem; }
.hero-guarantee span { display: inline-flex; align-items: center; gap: 0.4rem; }
.hero-guarantee svg { width: 18px; height: 18px; color: var(--ok); }

/* Produktbild: Browserfenster mit KI-Bild */
.hero-visual { position: relative; padding-bottom: 0; }
@media (min-width: 640px) { .hero-visual { padding-bottom: 12.5rem; } }
.mock-window {
  background: var(--card-solid); border: 1px solid var(--card-border);
  border-radius: var(--radius); box-shadow: var(--shadow); overflow: visible;
}
.mock-bar {
  display: flex; align-items: center; gap: 0.75rem; padding: 0.65rem 0.9rem;
  border-bottom: 1px solid var(--card-border); font-size: 0.78rem; color: var(--muted);
}
.mock-dots { display: flex; gap: 6px; }
.mock-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--card-border); display: block; }
.mock-dots i:nth-child(1) { background: #f87171; }
.mock-dots i:nth-child(2) { background: #fbbf24; }
.mock-dots i:nth-child(3) { background: #34d399; }
.mock-url {
  flex: 1; min-width: 0; background: var(--bg-soft); border-radius: 6px; padding: 0.2rem 0.6rem;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.mock-article { padding: 1rem; }
@media (min-width: 640px) { .mock-article { padding: 1.25rem; } }
.mock-article-title { font-weight: 700; font-size: 1.05rem; margin-bottom: 0.75rem; letter-spacing: -0.01em; }
.mock-lines { display: grid; gap: 0.45rem; margin-top: 0.9rem; }
.mock-lines i { display: block; height: 8px; border-radius: 4px; background: var(--bg-soft); }
.mock-lines i:nth-child(2) { width: 92%; }
.mock-lines i:nth-child(3) { width: 70%; }

/* Das Bild mit Badge – nachgebaut wie im Plugin (Standard: unten links, Schwarz 70 %) */
.ai-figure { position: relative; border-radius: 10px; overflow: visible; }
.ai-figure > svg { display: block; width: 100%; height: auto; border-radius: 10px; }
.ai-badge {
  position: absolute; left: 12px; bottom: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  height: 26px; min-width: 26px; padding: 0 8px; border-radius: 6px;
  background: rgba(0, 0, 0, 0.7); color: #fff; border: 0;
  font: 700 12px/1 var(--font); letter-spacing: 0.04em; cursor: pointer;
}
.ai-badge:focus-visible { outline: 2px solid #fff; outline-offset: 2px; box-shadow: 0 0 0 4px #000; }
.ai-tooltip {
  position: absolute; left: 12px; bottom: 48px; z-index: 2;
  max-width: min(280px, calc(100% - 24px));
  background: rgba(0, 0, 0, 0.88); color: #fff; font-size: 13px; line-height: 1.4;
  padding: 0.5rem 0.7rem; border-radius: 6px;
  opacity: 0; transform: translateY(4px); pointer-events: none;
  transition: opacity 0.15s ease, transform 0.15s ease;
}
.ai-tooltip::after {
  content: ""; position: absolute; left: 10px; top: 100%;
  border: 6px solid transparent; border-top-color: rgba(0, 0, 0, 0.88);
}
.ai-figure.is-open .ai-tooltip { opacity: 1; transform: none; }

/* Mediathek-Ausschnitt */
.mock-media {
  margin-top: 1rem; font-size: 0.82rem;
}
@media (min-width: 640px) {
  .mock-media { position: absolute; right: -0.5rem; bottom: 0; width: min(390px, 82%); margin-top: 0; }
}
@media (min-width: 1000px) { .mock-media { right: -1.5rem; } }
.mock-media .mock-bar { font-weight: 600; color: var(--text); }
.mock-media .mock-bar svg { width: 16px; height: 16px; color: var(--accent); }
.media-bulk { display: flex; gap: 0.5rem; padding: 0.6rem 0.9rem; border-bottom: 1px solid var(--card-border); }
.media-bulk span {
  flex: 1; border: 1px solid var(--card-border); border-radius: 5px; padding: 0.2rem 0.5rem;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--text);
}
.media-bulk b { border: 1px solid var(--accent); color: var(--accent); border-radius: 5px; padding: 0.2rem 0.55rem; font-weight: 600; }
.media-table { width: 100%; border-collapse: collapse; }
.media-table th, .media-table td { padding: 0.5rem 0.9rem; text-align: left; border-bottom: 1px solid var(--card-border); vertical-align: middle; }
.media-table tr:last-child td { border-bottom: 0; }
.media-table th { font-size: 0.75rem; color: var(--muted); font-weight: 600; }
.media-table th:last-child, .media-table td:last-child { white-space: nowrap; }
.media-file { display: flex; align-items: center; gap: 0.6rem; min-width: 0; }
.media-file span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.thumb { width: 30px; height: 30px; border-radius: 5px; flex-shrink: 0; display: block; }
.t1 { background: linear-gradient(135deg, #7c3aed, #06b6d4); }
.t2 { background: linear-gradient(135deg, #d6d3d1, #a8a29e); }
.t3 { background: linear-gradient(135deg, #f59e0b, #db2777); }
.t4 { background: linear-gradient(135deg, #22d3ee, #4f46e5); }
.pill { display: inline-block; padding: 2px 6px; border-radius: 3px; font-size: 11px; font-weight: 600; line-height: 1.35; color: #fff; vertical-align: middle; }
.pill-ki { background: #1a1a2e; }
@media (prefers-color-scheme: dark) { .pill-ki { background: #3b3366; } }
.pill-c2pa { background: #15803d; margin-left: 3px; }
.state { font-size: 14px; margin-left: 4px; vertical-align: middle; }
.state-ok { color: var(--ok); }
.state-na { color: var(--muted); }
.media-check { width: 14px; height: 14px; border: 1.5px solid var(--muted); border-radius: 3px; display: inline-block; vertical-align: middle; }
.media-check.on { background: var(--accent-btn); border-color: var(--accent-btn); position: relative; }
.media-check.on::after { content: ""; position: absolute; left: 3.5px; top: 0.5px; width: 4px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* Trust-Leiste */
.trust-bar { margin-top: 3.5rem; display: grid; gap: 0.75rem; grid-template-columns: 1fr; }
@media (min-width: 560px) { .trust-bar { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .trust-bar { grid-template-columns: repeat(4, 1fr); margin-top: 4rem; } }
.trust-item {
  display: flex; gap: 0.85rem; align-items: center; padding: 1rem 1.1rem;
  background: var(--card-bg); border: 1px solid var(--card-border); border-radius: var(--radius);
}
.trust-icon {
  width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0;
  display: grid; place-items: center; background: var(--accent-soft); color: var(--accent);
}
.trust-icon svg { width: 20px; height: 20px; }
.trust-item strong { display: block; font-size: 0.95rem; }
.trust-item span { display: block; color: var(--muted); font-size: 0.85rem; line-height: 1.4; }

/* AI-Act-Abschnitt */
.law-grid { display: grid; gap: 1rem; }
@media (min-width: 700px) { .law-grid { grid-template-columns: repeat(2, 1fr); } }

.law-card h3 { font-size: 1.1rem; margin: 0.9rem 0 0.5rem; }
.law-card p { color: var(--muted); font-size: 0.95rem; }
.law-card .ref { display: inline-block; margin-top: 0.75rem; font-size: 0.8rem; font-weight: 600; color: var(--accent); }
.icon-tile {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent);
}
.icon-tile svg { width: 22px; height: 22px; }
.timeline {
  display: grid; gap: 1rem; margin: 0 auto 2.5rem; max-width: 900px;
}
@media (min-width: 700px) { .timeline { grid-template-columns: repeat(3, 1fr); } }
.timeline-item { border-left: 3px solid var(--card-border); padding: 0.25rem 0 0.25rem 1rem; }
.timeline-item.now { border-left-color: var(--accent-btn); }
.timeline-item time { display: block; font-weight: 700; font-size: 1.05rem; }
.timeline-item span { color: var(--muted); font-size: 0.92rem; }
.notice {
  display: flex; gap: 0.85rem; align-items: flex-start; margin-top: 1.5rem;
  padding: 1rem 1.25rem; border-radius: var(--radius-sm);
  background: var(--accent-soft); color: var(--text); font-size: 0.93rem;
}
.notice svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--accent); margin-top: 0.15rem; }

/* Zwei Ebenen */
.layers { display: grid; gap: 1.25rem; }
@media (min-width: 900px) { .layers { grid-template-columns: 1fr 1fr; } }
.layer h3 { font-size: 1.35rem; margin: 0.9rem 0 0.5rem; }
.layer > p { color: var(--muted); margin-bottom: 1.25rem; }
.layer-demo { border-radius: 12px; overflow: hidden; border: 1px solid var(--card-border); }
.alt-demo { padding: 0.9rem 1rem; font-size: 0.85rem; background: var(--bg-soft); }
.alt-demo code { font-family: var(--mono); font-size: 0.82rem; word-break: break-word; }
.alt-demo mark { background: var(--accent-soft); color: var(--accent); border-radius: 3px; padding: 0 2px; }
.code {
  background: var(--code-bg); color: #e9e6f5; font-family: var(--mono); font-size: 0.78rem; line-height: 1.65;
  padding: 1rem 1.1rem; overflow-x: auto; white-space: pre; tab-size: 2;
}
.code .c { color: #8f88a8; }
.code .k { color: #c4b5fd; }
.code .s { color: #67e8f9; }
.code .v { color: #86efac; }
.code-label {
  display: flex; justify-content: space-between; align-items: center; gap: 0.5rem;
  background: var(--code-bg); color: #b6b1c9; font-size: 0.72rem; font-family: var(--mono);
  padding: 0.55rem 1.1rem 0;
}

/* Funktionen */
.feature-grid { display: grid; gap: 1rem; }
@media (min-width: 640px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .feature-grid { grid-template-columns: repeat(3, 1fr); } }
.feature-card h3 { font-size: 1.08rem; margin: 0.9rem 0 0.45rem; }
.feature-card p { color: var(--muted); font-size: 0.94rem; }
.feature-card ul { margin-top: 0.6rem; padding-left: 1.1rem; color: var(--muted); font-size: 0.9rem; }
.chips { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-top: 0.75rem; }
.chip {
  font-size: 0.75rem; font-weight: 600; padding: 0.15rem 0.55rem; border-radius: 999px;
  border: 1px solid var(--card-border); color: var(--text); background: var(--bg-soft);
}

/* Erkennungs-Demo */
.detect-row { display: grid; gap: 1.5rem; align-items: center; }
@media (min-width: 900px) { .detect-row { grid-template-columns: 1fr 1fr; gap: 3rem; } }
.detect-row h3 { font-size: clamp(1.35rem, 3vw, 1.75rem); margin-bottom: 0.75rem; }
.detect-row > div > p { color: var(--muted); margin-bottom: 1rem; }
.upload-mock { padding: 0; overflow: hidden; }
.upload-item { display: flex; align-items: center; gap: 0.8rem; padding: 0.85rem 1.1rem; border-bottom: 1px solid var(--card-border); font-size: 0.88rem; }
.upload-item:last-child { border-bottom: 0; }
.upload-item .thumb { width: 38px; height: 38px; }
.upload-meta { flex: 1; min-width: 0; }
.upload-meta strong { display: block; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.upload-meta span { color: var(--muted); font-size: 0.8rem; }
.upload-tag { font-size: 0.75rem; font-weight: 600; white-space: nowrap; padding: 0.2rem 0.55rem; border-radius: 999px; }
.upload-tag.yes { background: var(--accent-soft); color: var(--accent); }
.upload-tag.no { background: var(--bg-soft); color: var(--muted); }

.check-list { list-style: none; display: grid; gap: 0.6rem; }
.check-list li { position: relative; padding-left: 1.75rem; font-size: 0.95rem; }
.check-list li svg { position: absolute; left: 0; top: 0.2em; width: 18px; height: 18px; color: var(--ok); }

/* So geht's */
.steps { display: grid; gap: 1.75rem 1rem; list-style: none; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { padding-top: 2rem; }
.step-num {
  position: absolute; top: -18px; left: 1.5rem;
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent-btn); color: #fff; font-weight: 700; box-shadow: 0 0 18px var(--accent-glow);
}
.step h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.step p { color: var(--muted); font-size: 0.95rem; }
kbd {
  font-family: var(--font); font-size: 0.85em; font-weight: 600; color: var(--text);
  background: var(--bg-soft); border: 1px solid var(--card-border); border-radius: 4px; padding: 0 0.3rem;
}
.steps-wrap { padding-top: 18px; }

/* Preise */
.pricing-toggle {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 0.75rem 1rem;
  margin-bottom: 1.5rem;
}
.toggle-label { font-weight: 600; color: var(--muted); cursor: pointer; display: inline-flex; align-items: center; gap: 0.5rem; }
.toggle-label.is-active { color: var(--text); }
.badge-free {
  background: var(--text); color: var(--bg); font-size: 0.75rem; font-weight: 600;
  padding: 0.2rem 0.6rem; border-radius: 999px; white-space: nowrap;
}
.switch { position: relative; display: inline-block; width: 60px; height: 34px; flex-shrink: 0; }
.switch input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; z-index: 1; }
.slider {
  position: absolute; inset: 0; border-radius: 34px;
  background: var(--card-bg); border: 1px solid var(--card-border); transition: 0.3s;
}
.slider::before {
  content: ""; position: absolute; width: 26px; height: 26px; left: 3px; top: 3px;
  border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: 0.3s;
}
.switch input:checked + .slider { background: var(--accent-btn); border-color: var(--accent-btn); }
.switch input:checked + .slider::before { transform: translateX(26px); }
.switch input:focus-visible + .slider { outline: 3px solid var(--accent); outline-offset: 3px; }

.b2b-confirm {
  display: flex; gap: 0.6rem; align-items: flex-start; justify-content: center;
  max-width: 640px; margin: 0 auto 3rem; font-size: 0.92rem; color: var(--muted); line-height: 1.5;
  cursor: pointer;
}
.b2b-confirm input { width: 18px; height: 18px; margin-top: 0.15rem; accent-color: var(--accent-btn); flex-shrink: 0; cursor: pointer; }
.b2b-confirm.is-invalid { color: var(--danger); }
.b2b-confirm a { color: inherit; text-decoration: underline; }

.pricing-grid { display: grid; gap: 1.5rem; max-width: 1060px; margin: 0 auto; }
@media (min-width: 900px) { .pricing-grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; } }
.pricing-card { display: flex; flex-direction: column; }
.pricing-card.popular { border-color: var(--accent-btn); background: linear-gradient(180deg, var(--accent-soft), var(--card-bg) 55%); }
.popular-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--accent-btn); color: #fff; padding: 0.25rem 1rem; border-radius: 999px;
  font-size: 0.8rem; font-weight: 600; white-space: nowrap;
}
.pricing-card h3 { font-size: 1.4rem; }
.tier-desc { color: var(--muted); font-size: 0.93rem; margin: 0.35rem 0 1.25rem; min-height: 2.8em; }
.price { margin-bottom: 1.25rem; }
.price-num { display: flex; align-items: baseline; gap: 0.25rem; }
.price .amount { font-size: 3rem; font-weight: 700; letter-spacing: -0.04em; line-height: 1; }
.price .currency { font-size: 1.5rem; font-weight: 600; }
.price .period { display: block; color: var(--muted); font-size: 0.9rem; margin-top: 0.35rem; }
.price .per-month { display: block; color: var(--accent); font-size: 0.85rem; font-weight: 600; min-height: 1.4em; }
.tier-limits { border-top: 1px solid var(--card-border); border-bottom: 1px solid var(--card-border); padding: 0.85rem 0; margin-bottom: 1.25rem; display: grid; gap: 0.4rem; }
.limit-row { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.92rem; color: var(--muted); }
.limit-row b { color: var(--text); font-weight: 600; text-align: right; }
.feature-list { list-style: none; display: grid; gap: 0.7rem; margin-bottom: 1.75rem; }
.feature-list li { position: relative; padding-left: 1.75rem; font-size: 0.92rem; line-height: 1.4; }
.feature-list li svg { position: absolute; left: 0; top: 0.05em; width: 18px; height: 18px; color: var(--ok); }
.feature-list li.extra { font-weight: 600; }
.pricing-card .buy { margin-top: auto; }
.buy-error {
  margin-top: 0.75rem; font-size: 0.88rem; color: var(--danger); background: var(--danger-soft);
  border-radius: 8px; padding: 0.55rem 0.75rem;
}
.buy-error[hidden] { display: none; }

.pricing-trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem 1.5rem; margin: 2.5rem auto 0; max-width: 1000px; }
.pricing-trust span { display: inline-flex; align-items: center; gap: 0.45rem; font-size: 0.9rem; color: var(--muted); }
.pricing-trust svg { width: 18px; height: 18px; color: var(--ok); flex-shrink: 0; }
.pricing-ust { text-align: center; color: var(--muted); font-size: 0.92rem; margin: 1.25rem 0 1.75rem; }
.guarantee {
  display: flex; gap: 1.25rem; align-items: center; max-width: 820px; margin: 0 auto;
}
.guarantee-icon {
  width: 56px; height: 56px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center;
  background: rgba(16, 185, 129, 0.14); color: var(--ok);
}
.guarantee-icon svg { width: 28px; height: 28px; }
.guarantee h3 { font-size: 1.15rem; margin-bottom: 0.3rem; }
.guarantee p { color: var(--muted); font-size: 0.94rem; }
@media (max-width: 559px) { .guarantee { flex-direction: column; align-items: flex-start; } }

/* FAQ */
.faq-list { max-width: 860px; margin: 0 auto; display: grid; gap: 0.75rem; }
.faq-item { padding: 0; }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.1rem 1.25rem; font-weight: 600; font-size: 1.02rem; line-height: 1.35;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--accent); transition: transform 0.2s ease; }
.faq-item[open] summary svg { transform: rotate(45deg); }
.faq-item summary:focus-visible { outline-offset: -3px; border-radius: var(--radius); }
.faq-body { padding: 0 1.25rem 1.2rem; color: var(--muted); font-size: 0.96rem; }
.faq-body p + p, .faq-body p + ul, .faq-body ul + p { margin-top: 0.6rem; }
.faq-body ul { padding-left: 1.2rem; }
.faq-body code { font-family: var(--mono); font-size: 0.85em; background: var(--bg-soft); padding: 0 0.25rem; border-radius: 4px; color: var(--text); }
@media (min-width: 640px) { .faq-item summary { padding: 1.25rem 1.5rem; } .faq-body { padding: 0 1.5rem 1.35rem; } }

/* Abschluss-CTA */
.final-cta { text-align: center; padding: 3rem 1.5rem; overflow: hidden; }
@media (min-width: 640px) { .final-cta { padding: 4rem 2rem; } }
.final-cta::before {
  content: ""; position: absolute; inset: auto -20% -60% -20%; height: 120%; z-index: -1;
  background: radial-gradient(ellipse at center, var(--accent-glow), transparent 65%);
}
.final-cta h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); margin-bottom: 0.85rem; }
.final-cta p { color: var(--muted); max-width: 40rem; margin: 0 auto 1.75rem; }
.final-cta .cta-group { justify-content: center; margin-bottom: 0; }

/* Footer */
.footer { margin-top: 6rem; padding: 3rem 0 2.5rem; border-top: 1px solid var(--card-border); background: var(--bg-soft); color: var(--muted); }
.footer-content { display: grid; gap: 1.75rem; justify-items: center; text-align: center; }
@media (min-width: 900px) { .footer-content { grid-template-columns: 1fr auto 1fr; align-items: center; text-align: left; } .footer-brand { justify-self: start; } .made-in { justify-self: end; } }
.footer-brand { display: flex; flex-direction: column; gap: 0.35rem; align-items: center; }
@media (min-width: 900px) { .footer-brand { align-items: flex-start; } }
.footer-copy { font-size: 0.85rem; }
.footer-links { display: flex; flex-direction: column; align-items: center; gap: 0.7rem; }
.footer-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem 1.75rem; }
.footer-row a { color: var(--text); text-decoration: none; font-size: 0.95rem; font-weight: 500; }
.footer-row a:hover { color: var(--accent); }
.footer-row.legal a { font-size: 0.85rem; color: var(--muted); }
.made-in { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.9rem; font-weight: 500; }
.made-in svg { width: 22px; height: 14px; border-radius: 2px; }
.footer-legal { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--card-border); text-align: center; }
.footer-legal p { font-size: 0.82rem; line-height: 1.6; max-width: 900px; margin: 0 auto; }
.footer-legal p + p { margin-top: 0.5rem; }
.footer-legal a { color: inherit; }

/* Unterseiten (Erfolg, Konto, Rechtstexte, 404) */
.page { padding-top: 1rem; padding-bottom: 2rem; }
.page-narrow { max-width: 760px; }
.page-wide { max-width: 880px; }
.back-link { display: inline-flex; align-items: center; gap: 0.4rem; margin-bottom: 1.5rem; color: var(--muted); text-decoration: none; font-size: 0.95rem; }
.back-link:hover { color: var(--accent); }
.back-link svg { width: 18px; height: 18px; }
.page h1 { font-size: clamp(1.9rem, 5vw, 2.5rem); margin-bottom: 0.75rem; letter-spacing: -0.03em; }
.lead { color: var(--muted); font-size: 1.05rem; margin-bottom: 1.75rem; }

.status-icon {
  width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 1.25rem;
  background: var(--accent-soft); color: var(--accent);
}
.status-icon svg { width: 32px; height: 32px; }
.status-icon.ok { background: rgba(16, 185, 129, 0.14); color: var(--ok); }
.status-icon.err { background: var(--danger-soft); color: var(--danger); }
.status-icon .spinner { width: 28px; height: 28px; border-width: 3px; }

.key-box {
  display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: stretch;
  margin: 0.5rem 0 1.5rem;
}
.key-value {
  flex: 1 1 260px; min-width: 0; font-family: var(--mono); font-size: 1rem; font-weight: 600; letter-spacing: 0.02em;
  background: var(--bg-soft); border: 1px dashed var(--accent); color: var(--text);
  border-radius: 10px; padding: 0.75rem 1rem; word-break: break-all; user-select: all;
}
.field-label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--muted); margin-bottom: 0.35rem; }
.meta-grid { display: grid; gap: 0.75rem; margin-bottom: 1.5rem; }
@media (min-width: 560px) { .meta-grid { grid-template-columns: repeat(3, 1fr); } }
.meta-item { background: var(--bg-soft); border-radius: 10px; padding: 0.75rem 1rem; }
.meta-item span { display: block; font-size: 0.8rem; color: var(--muted); }
.meta-item strong { font-size: 1.05rem; }
.next-steps { list-style: none; counter-reset: ns; display: grid; gap: 0.85rem; margin: 0.75rem 0 1.75rem; }
.next-steps li { counter-increment: ns; position: relative; padding-left: 2.4rem; color: var(--muted); }
.next-steps li strong { color: var(--text); }
.next-steps li::before {
  content: counter(ns); position: absolute; left: 0; top: -0.05rem;
  width: 1.7rem; height: 1.7rem; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent); font-weight: 700; font-size: 0.85rem;
}
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.alert {
  border-radius: 10px; padding: 0.85rem 1rem; font-size: 0.94rem; margin-top: 1rem;
  background: var(--danger-soft); color: var(--danger);
}
.alert[hidden] { display: none; }
.alert-info { background: var(--accent-soft); color: var(--text); }
.alert-ok { background: rgba(16, 185, 129, 0.12); color: var(--ok); }
.h-sub { font-size: 1.15rem; margin: 0.5rem 0 0.25rem; }

/* Formular (Konto) */
.form-row { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.input {
  flex: 1 1 280px; min-width: 0; min-height: 46px; font: inherit; font-family: var(--mono); font-size: 0.98rem;
  color: var(--text); background: var(--card-solid); border: 1px solid var(--card-border); border-radius: 10px;
  padding: 0.6rem 0.9rem;
}
.input:focus { outline: 3px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.help { color: var(--muted); font-size: 0.87rem; margin-top: 0.6rem; }
.license-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0.75rem; margin-bottom: 1.25rem; }
.license-head h2 { font-size: 1.4rem; }
.status-badge { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.82rem; font-weight: 600; padding: 0.25rem 0.7rem; border-radius: 999px; }
.status-badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.status-badge.active { background: rgba(16, 185, 129, 0.14); color: var(--ok); }
.status-badge.warn { background: rgba(245, 158, 11, 0.15); color: var(--warn); }
.status-badge.off { background: var(--danger-soft); color: var(--danger); }
.usage { margin-bottom: 1.25rem; }
.usage-top { display: flex; justify-content: space-between; font-size: 0.9rem; margin-bottom: 0.4rem; color: var(--muted); }
.usage-top b { color: var(--text); }
.usage-bar { height: 8px; background: var(--bg-soft); border-radius: 999px; overflow: hidden; }
.usage-bar i { display: block; height: 100%; background: var(--accent-btn); border-radius: 999px; transition: width 0.3s ease; }
.domain-list { list-style: none; border: 1px solid var(--card-border); border-radius: 12px; overflow: hidden; margin-bottom: 1.5rem; }
.domain-list li { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; padding: 0.7rem 0.9rem; border-bottom: 1px solid var(--card-border); }
.domain-list li:last-child { border-bottom: 0; }
.domain-list .domain { font-family: var(--mono); font-size: 0.92rem; overflow-wrap: anywhere; min-width: 0; }
.domain-list .empty { color: var(--muted); font-size: 0.93rem; justify-content: flex-start; }
.btn-remove { color: var(--danger); border-color: var(--card-border); background: transparent; }
.btn-remove:hover:not(:disabled) { border-color: var(--danger); }
.divider { border: 0; border-top: 1px solid var(--card-border); margin: 1.75rem 0; }

/* Rechtstexte */
.prose { line-height: 1.75; }
.prose .stand { color: var(--muted); font-size: 0.9rem; margin-bottom: 2rem; }
.prose h2 { font-size: 1.2rem; color: var(--accent); margin: 2rem 0 0.5rem; letter-spacing: -0.01em; }
.prose h3 { font-size: 1.05rem; margin: 1.25rem 0 0.35rem; }
.prose p { margin-bottom: 1rem; }
.prose ul { margin: 0 0 1rem 1.4rem; }
.prose li { margin-bottom: 0.3rem; }
.prose .highlight { font-weight: 600; font-size: 1.1rem; color: var(--accent); }
.table-wrap { overflow-x: auto; margin: 0 0 1rem; border: 1px solid var(--card-border); border-radius: 10px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.92rem; min-width: 460px; }
.prose th, .prose td { padding: 0.55rem 0.8rem; text-align: left; border-bottom: 1px solid var(--card-border); }
.prose tbody tr:last-child td { border-bottom: 0; }
.prose th { background: var(--bg-soft); font-weight: 600; }

/* 404 */
.error-code { font-size: clamp(4rem, 14vw, 7rem); font-weight: 800; letter-spacing: -0.06em; line-height: 1; margin-bottom: 0.5rem; }

@media print {
  .bg-glow, .site-header, .footer, .nav-toggle { display: none !important; }
  body { background: #fff; color: #000; }
  .glass-card { border: 0; padding: 0; background: none; backdrop-filter: none; }
}

/* Grid-Kinder duerfen schrumpfen (lange Code-Zeilen scrollen in sich, statt die Seite zu verbreitern) */
.hero-grid > *, .layers > *, .detect-row > *, .feature-grid > *, .law-grid > *, .pricing-grid > *, .steps > * { min-width: 0; }
.mock-media { overflow: hidden; }
.media-table { table-layout: fixed; }
.media-table th:first-child { width: 2.4rem; padding-right: 0; }
.media-table th:last-child { width: 7.6rem; }
.media-table td:first-child { padding-right: 0; }
@media (max-width: 400px) { .media-table th, .media-table td { padding-left: 0.6rem; padding-right: 0.6rem; } }
[tabindex="-1"]:focus { outline: none; }
