/* ============================================================
   Revenum – saas.revenum.de
   Statische Multi-Page-Site · Dark Theme · Smaragd-Akzent
   Produktfamilie: handwerk+ · immobilien+ · versicherung+
   ============================================================ */

:root {
  --bg: #0c1322;
  --bg-alt: #111a2e;
  --surface: #18233c;
  --surface-2: #1e2b47;
  --border: rgba(255, 255, 255, 0.10);
  --border-strong: rgba(255, 255, 255, 0.17);
  --text: #eef3fa;
  --text-muted: #aab6c9;
  --text-dim: #96a5bc; /* WCAG AA auf allen verwendeten Flächen */
  --accent: #2dd4a0;
  --accent-2: #34d399;
  --accent-dark: #0e9f77;
  --accent-soft: rgba(45, 212, 160, 0.12);
  --radius: 16px;
  --radius-sm: 10px;
  --maxw: 1140px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Markenfarben der Produktfamilie */
.brand-handwerk { --brand: #f59e0b; --brand-soft: rgba(245, 158, 11, 0.12); }
.brand-immobilien { --brand: #60a5fa; --brand-soft: rgba(96, 165, 250, 0.12); }
.brand-versicherung { --brand: #a78bfa; --brand-soft: rgba(167, 139, 250, 0.12); }

* { margin: 0; padding: 0; box-sizing: border-box; }

[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

/* Fängt seitliche Überstände perspektivisch gekippter 3D-Elemente ab */
main { overflow-x: clip; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 96px 0; }
section.tight { padding: 64px 0; }

.section-alt { background: var(--bg-alt); }

/* ---------- Platzhalter-Markierung (vor Launch entfernen) ---------- */
.ph {
  background: #f5d90a;
  color: #1a1a00;
  padding: 0 6px;
  border-radius: 4px;
  font-weight: 600;
}

.ph-block {
  border: 2px dashed #f5d90a;
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: #f5d90a;
  font-size: 0.9rem;
  margin-top: 16px;
}

/* ---------- Typografie ---------- */
h1, h2, h3 { line-height: 1.15; font-weight: 750; letter-spacing: -0.02em; }

h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.15rem; }

.lead {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--text-muted);
  max-width: 720px;
}

.section-head { max-width: 780px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { margin: 14px 0 16px; }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(45, 212, 160, 0.25);
  padding: 5px 12px;
  border-radius: 999px;
}

.accent { color: var(--accent); }

/* Produkt-Wortmarken: „handwerk+" etc. */
.wordmark { font-weight: 800; letter-spacing: -0.02em; }
.wordmark .plus { color: var(--brand, var(--accent)); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font);
  font-size: 0.98rem;
  font-weight: 650;
  padding: 13px 26px;
  border-radius: 12px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }

.btn-primary {
  background: linear-gradient(135deg, var(--accent-2), var(--accent-dark));
  color: #04120c;
  box-shadow: 0 8px 24px rgba(45, 212, 160, 0.25);
}
.btn-primary:hover { box-shadow: 0 10px 30px rgba(45, 212, 160, 0.35); }

.btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-secondary:hover { background: rgba(255, 255, 255, 0.05); }

.btn-sm { padding: 9px 18px; font-size: 0.9rem; border-radius: 10px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(12, 19, 34, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 68px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  white-space: nowrap;
}
.logo:hover { text-decoration: none; }

.logo-mark {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent-2), var(--accent-dark));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 900;
  color: #04120c;
  flex-shrink: 0;
}

.main-nav { display: flex; align-items: center; gap: 26px; }
.main-nav a {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 550;
}
.main-nav a:hover { color: var(--text); text-decoration: none; }

.header-actions { display: flex; align-items: center; gap: 12px; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  padding: 8px 10px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  margin: 4px 0;
  border-radius: 2px;
}

/* ---------- Breadcrumb (Produktseiten) ---------- */
.breadcrumb {
  padding: 20px 0 0;
  font-size: 0.85rem;
  color: var(--text-dim);
}
.breadcrumb a { color: var(--text-dim); }
.breadcrumb a:hover { color: var(--text); }
.breadcrumb span { margin: 0 6px; }

/* ---------- Hero ---------- */
.hero {
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 45% at 70% 0%, rgba(45, 212, 160, 0.13), transparent 65%),
    radial-gradient(ellipse 45% 35% at 15% 15%, rgba(52, 120, 246, 0.08), transparent 60%);
  pointer-events: none;
}
.hero .container { position: relative; }

/* Vanta-3D-Hintergrund (WebGL) im Hero */
.vanta-bg { position: absolute; inset: 0; z-index: 0; }
.vanta-bg canvas { display: block; }
.hero::before { z-index: 1; }
.hero .container { z-index: 2; }
/* Lesbarkeits-Schleier über dem animierten Hintergrund + weicher Übergang zur nächsten Sektion */
body[data-vanta] .hero::before {
  background:
    linear-gradient(90deg, rgba(12, 19, 34, 0.72) 0%, rgba(12, 19, 34, 0.35) 60%, rgba(12, 19, 34, 0.12) 100%),
    linear-gradient(180deg, rgba(12, 19, 34, 0.15) 55%, #0c1322 98%);
}

/* Wenn GSAP aktiv ist, übernimmt es Hover-Bewegung und 3D-Tilt der Karten */
.js-fx .card, .js-fx a.product-card, .js-fx .price-card {
  transition: border-color 0.2s ease;
  will-change: transform;
}
.js-fx .card:hover, .js-fx a.product-card:hover { transform: none; }

.hero-inner { max-width: 840px; }

.hero h1 { margin: 20px 0 22px; }

.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.hero-conditions {
  margin-top: 26px;
  font-size: 0.92rem;
  color: var(--text-dim);
}

.trust-bullets {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 56px;
  list-style: none;
}
.trust-bullets li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text-muted);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
}
.trust-bullets svg { flex-shrink: 0; }

/* ---------- Produktkarten (Startseite) ---------- */
.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }

.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color 0.2s ease, transform 0.2s ease;
  color: var(--text);
}
a.product-card { text-decoration: none; }
a.product-card:hover {
  text-decoration: none;
  border-color: var(--brand, var(--accent));
  transform: translateY(-2px);
}

.product-card .wordmark { font-size: 1.7rem; }
.product-card p { color: var(--text-muted); font-size: 0.95rem; flex-grow: 1; }

.product-meta { display: flex; align-items: center; gap: 10px; }

.badge-live, .badge-soon {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
}
.badge-live { background: var(--accent-soft); color: var(--accent); border: 1px solid rgba(45, 212, 160, 0.3); }
.badge-soon { background: rgba(250, 204, 21, 0.1); color: #facc15; border: 1px solid rgba(250, 204, 21, 0.3); }

.product-link {
  font-weight: 650;
  font-size: 0.95rem;
  color: var(--brand, var(--accent));
}

/* ---------- Produktseiten-Hero ---------- */
.product-hero .wordmark { font-size: clamp(2.4rem, 6vw, 4rem); display: block; margin: 18px 0 10px; }
.product-hero .eyebrow {
  color: var(--brand, var(--accent));
  background: var(--brand-soft, var(--accent-soft));
  border-color: transparent;
}

/* ---------- Produkt-Mockups (reines CSS) ---------- */
.mockup-window {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.mockup-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
}
.mockup-bar .dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.15); }
.mockup-bar .dot:first-child { background: rgba(248, 113, 113, 0.6); }
.mockup-bar .dot:nth-child(2) { background: rgba(250, 204, 21, 0.6); }
.mockup-bar .dot:nth-child(3) { background: rgba(45, 212, 160, 0.6); }
.mockup-url {
  margin-left: 12px;
  font-size: 0.78rem;
  color: var(--text-dim);
  background: var(--bg);
  padding: 4px 14px;
  border-radius: 6px;
}

.kanban {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding: 20px;
}

.kanban-col h4 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.kanban-count {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.72rem;
  padding: 1px 8px;
  color: var(--text-muted);
}

.kanban-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  margin-bottom: 10px;
}
.kanban-card .kanban-title { font-size: 0.86rem; font-weight: 700; display: block; margin-bottom: 3px; }
.kanban-card .kanban-sub { font-size: 0.76rem; color: var(--text-dim); display: block; }
.kanban-tag {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.68rem;
  font-weight: 650;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-style: normal;
}
.kanban-tag.warn { background: rgba(250, 204, 21, 0.12); color: #facc15; }
.kanban-tag.info { background: rgba(96, 165, 250, 0.12); color: #60a5fa; }

/* Portal-Mockup */
.portal-card {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  max-width: 420px;
}
.portal-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 6px; }
.portal-head .portal-title { font-size: 1.05rem; font-weight: 700; }
.portal-status { font-size: 0.8rem; color: var(--accent); font-weight: 650; white-space: nowrap; }

.progress {
  height: 8px;
  background: var(--surface-2);
  border-radius: 999px;
  overflow: hidden;
  margin: 14px 0 20px;
}
.progress-fill {
  height: 100%;
  width: 60%;
  background: linear-gradient(90deg, var(--accent-2), var(--accent-dark));
  border-radius: 999px;
}

.portal-list { list-style: none; }
.portal-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--text-muted);
}
.portal-list li:last-child { border-bottom: none; }
.check {
  width: 22px; height: 22px;
  border-radius: 50%;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.check.done { background: var(--accent-soft); color: var(--accent); }
.check.open { border: 1.5px dashed var(--border-strong); color: transparent; }

/* ---------- Karten-Grids ---------- */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.card:hover { border-color: rgba(45, 212, 160, 0.35); transform: translateY(-2px); }

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-soft);
  border: 1px solid rgba(45, 212, 160, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--accent);
}

.card h3 { margin-bottom: 8px; }
.card p { font-size: 0.93rem; color: var(--text-muted); }

/* ---------- Listen (Pain/Solution) ---------- */
.pain-list { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.pain-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid rgba(248, 113, 113, 0.55);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: 0.93rem;
  color: var(--text-muted);
}

.solution-list li { border-left-color: var(--accent); }

.tool-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.tool-chip {
  font-size: 0.85rem;
  color: var(--text-muted);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 7px 16px;
}
.tool-chip.crossed {
  text-decoration: line-through;
  text-decoration-color: rgba(248, 113, 113, 0.7);
  text-decoration-thickness: 1.5px;
}

/* ---------- Split-Layout ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split .section-head { margin-bottom: 24px; }

.feature-bullets { list-style: none; display: flex; flex-direction: column; gap: 14px; margin-top: 20px; }
.feature-bullets li { display: flex; gap: 12px; align-items: flex-start; color: var(--text-muted); font-size: 0.96rem; }
.feature-bullets li strong { color: var(--text); }
.feature-bullets svg { flex-shrink: 0; margin-top: 3px; }

/* ---------- Prozess / Schritte ---------- */
.steps { list-style: none; display: grid; gap: 16px; counter-reset: step; }
.step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 28px;
  align-items: start;
}
.step-num {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(45, 212, 160, 0.2);
  border-radius: 12px;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step h3 { margin-bottom: 6px; }
.step p { color: var(--text-muted); font-size: 0.95rem; }

/* ---------- Vergleichstabelle ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--border-strong); border-radius: var(--radius); }
.compare {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
  background: var(--surface);
  font-size: 0.92rem;
}
.compare th, .compare td { padding: 16px 20px; text-align: left; vertical-align: top; }
.compare thead th {
  background: var(--surface-2);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  border-bottom: 1px solid var(--border-strong);
}
.compare tbody tr { border-bottom: 1px solid var(--border); }
.compare tbody tr:last-child { border-bottom: none; }
.compare td:first-child { font-weight: 650; color: var(--text); white-space: nowrap; }
.compare td.old { color: var(--text-dim); }
.compare td.new { color: var(--text-muted); }
.compare td.new::before {
  content: "✓ ";
  color: var(--accent);
  font-weight: 700;
}
.compare thead th.new-head { color: var(--accent); }

/* ---------- Preise / Konditionen ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }

.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.price-card.featured {
  border-color: rgba(45, 212, 160, 0.5);
  background: linear-gradient(180deg, rgba(45, 212, 160, 0.06), var(--surface) 40%);
}
.badge-best {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent-2), var(--accent-dark));
  color: #04120c;
  font-size: 0.75rem;
  font-weight: 750;
  padding: 5px 14px;
  border-radius: 999px;
  white-space: nowrap;
}

.price-term { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-dim); font-weight: 700; }
.price-amount { font-size: 2.3rem; font-weight: 800; margin: 10px 0 2px; letter-spacing: -0.02em; }
.price-amount small { font-size: 1rem; font-weight: 550; color: var(--text-muted); }
.price-note { font-size: 0.82rem; color: var(--text-dim); margin-bottom: 20px; }

.price-features { list-style: none; display: flex; flex-direction: column; gap: 10px; margin: 18px 0 26px; flex-grow: 1; }
.price-features li { display: flex; gap: 10px; font-size: 0.9rem; color: var(--text-muted); align-items: flex-start; }
.price-features svg { flex-shrink: 0; margin-top: 4px; }

.included-box {
  margin-top: 36px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
}
.included-box h3 { margin-bottom: 18px; }
.included-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px 24px;
}
.included-grid li { display: flex; gap: 10px; font-size: 0.9rem; color: var(--text-muted); align-items: flex-start; }
.included-grid svg { flex-shrink: 0; margin-top: 4px; }

.pricing-disclaimer { font-size: 0.8rem; color: var(--text-dim); margin-top: 22px; max-width: 860px; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }

.faq-list details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.faq-list details[open] { border-color: rgba(45, 212, 160, 0.35); }

.faq-list summary {
  padding: 18px 22px;
  font-weight: 650;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  content: "+" / "";
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.faq-list details[open] summary::after { transform: rotate(45deg); }

.faq-body { padding: 0 22px 20px; color: var(--text-muted); font-size: 0.95rem; }

/* ---------- Kontakt ---------- */
.contact-box {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
}
.contact-box h2 { font-size: 1.5rem; margin-bottom: 8px; }
.contact-box p { color: var(--text-muted); max-width: 520px; }

/* ---------- Abschluss-CTA ---------- */
.final-cta {
  text-align: center;
  position: relative;
}
.final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 55% 60% at 50% 100%, rgba(45, 212, 160, 0.1), transparent 70%);
  pointer-events: none;
}
.final-cta .container { position: relative; }
.final-cta .hero-ctas { justify-content: center; }
.final-cta .hero-conditions { margin-top: 22px; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-alt);
  padding: 64px 0 32px;
  font-size: 0.9rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-grid h4 { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-dim); margin-bottom: 16px; }
.footer-grid ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-grid a { color: var(--text-muted); }
.footer-grid a:hover { color: var(--text); }
.footer-about p { color: var(--text-muted); margin-top: 14px; max-width: 340px; }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 28px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  color: var(--text-dim);
  font-size: 0.82rem;
}

/* ---------- Rechtsseiten ---------- */
.legal-page { padding: 80px 0 100px; max-width: 800px; margin: 0 auto; }
.legal-page h1 { margin-bottom: 32px; font-size: 2.2rem; }
.legal-page h2 { font-size: 1.3rem; margin: 36px 0 12px; }
.legal-page p, .legal-page li { color: var(--text-muted); font-size: 0.96rem; }
.legal-page ul { padding-left: 22px; margin: 10px 0; }

/* ---------- Responsive ---------- */
/* Navigation kollabiert schon bei 980px – verhindert Header-Overflow auf Tablets */
@media (max-width: 980px) {
  section { padding: 72px 0; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .trust-bullets { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .included-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .kanban { grid-template-columns: repeat(2, 1fr); }

  .main-nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border-strong);
    padding: 20px 24px;
    gap: 18px;
  }
  .main-nav.open { display: flex; }
  .nav-toggle { display: block; }
}

@media (max-width: 720px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; }
  .pain-list { grid-template-columns: 1fr; }
  .trust-bullets { grid-template-columns: 1fr; }
  .included-grid { grid-template-columns: 1fr; }
  .step { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero { padding: 72px 0 56px; }
  .contact-box { padding: 28px; }
  /* Kompakter Header, damit Logo + CTA + Menü-Button auf 360–400px passen */
  .site-header .container { gap: 10px; padding: 0 14px; }
  .header-actions { gap: 8px; }
  .header-actions .btn { padding: 9px 12px; font-size: 0.82rem; }
  .logo { font-size: 1.1rem; }
}

/* ============================================================
   Effekt-Layer („Hingucker")
   ============================================================ */

/* Scroll-Fortschrittsbalken (per JS eingefügt) */
.scroll-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  z-index: 200;
  background: linear-gradient(90deg, var(--accent-2), var(--accent-dark));
  transform-origin: 0 50%;
  transform: scaleX(0);
  pointer-events: none;
}

/* Header blendet beim Runterscrollen aus, beim Hochscrollen ein */
.site-header { transition: transform 0.35s ease; }
.site-header.header-hidden { transform: translateY(-100%); }

/* Cursor-Glow (nur Maus-Geräte, per JS eingefügt) */
.cursor-glow {
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  background: radial-gradient(560px circle at var(--mx, 50%) var(--my, 50%), rgba(45, 212, 160, 0.07), transparent 65%);
}

/* Feines Filmkorn für Tiefe */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 95;
  pointer-events: none;
  opacity: 0.032;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Marquee-Band mit den Produkt-Wortmarken */
.marquee {
  overflow: hidden;
  padding: 30px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-alt);
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 56px;
  white-space: nowrap;
  width: max-content;
  will-change: transform;
}
.marquee-track .mq {
  font-size: clamp(1.7rem, 3.5vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(238, 243, 250, 0.34);
  padding-right: 0;
}
.marquee-track .mq .plus { color: var(--brand, var(--accent)); -webkit-text-stroke: 0; }
.marquee-track .mq-dot { color: var(--accent); font-size: 1.4rem; }

/* Zahlen-Leiste */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.stat {
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 12px 20px;
}
.stat-num {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--accent);
  line-height: 1.1;
}
.stat-label { font-size: 0.88rem; color: var(--text-muted); margin-top: 6px; }

/* Rotierender Leuchtrahmen */
@property --angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}
.glow-border { position: relative; }
.glow-border::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: var(--radius);
  padding: 1.5px;
  background: conic-gradient(from var(--angle),
    transparent 0%, transparent 55%,
    var(--brand, var(--accent)) 78%, transparent 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  animation: spin-border 4.5s linear infinite;
  pointer-events: none;
}
@keyframes spin-border { to { --angle: 360deg; } }

/* Schimmernde Schlüsselwörter */
.shimmer {
  background: linear-gradient(110deg, var(--accent-2) 30%, #b9f4dd 50%, var(--accent-2) 70%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 4.5s linear infinite;
}
@keyframes shimmer { to { background-position: -220% 0; } }

/* Icon-Mikroanimation */
.card-icon { transition: transform 0.3s ease; }
.card:hover .card-icon { transform: rotate(-8deg) scale(1.12); }

/* Wort- und Buchstaben-Spans für Text-Animationen (per JS erzeugt) */
.w, .ltr { display: inline-block; will-change: transform; }

/* Typewriter-Zeile im Hero */
.type-line {
  margin-top: 20px;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: var(--text-muted);
  font-weight: 550;
  min-height: 1.6em;
}
.type-line .plus-accent { color: var(--accent); font-weight: 800; }
.type-word { color: var(--accent); font-weight: 750; }
.type-caret {
  display: inline-block;
  width: 2px;
  height: 1.05em;
  background: var(--accent);
  margin-left: 3px;
  vertical-align: text-bottom;
  animation: caret-blink 0.8s steps(1) infinite;
}
@keyframes caret-blink { 50% { opacity: 0; } }

/* Vanta im Abschluss-CTA */
.final-cta { overflow: hidden; }
.vanta-cta { position: absolute; inset: 0; z-index: 0; }
.final-cta::before { z-index: 1; }

/* Cookie-Banner */
.cookie-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 220;
  display: flex;
  justify-content: flex-start;
  pointer-events: none;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.cookie-banner.visible { opacity: 1; transform: translateY(0); }
.cookie-inner {
  pointer-events: auto;
  max-width: 440px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}
.cookie-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.cookie-inner h3 { margin: 0; }
.cookie-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 2px;
}
.cookie-close:hover { color: var(--text); }
.cookie-inner p { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 16px; }
.cookie-settings { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.cookie-opt {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  cursor: pointer;
}
.cookie-opt input { accent-color: var(--accent); width: 16px; height: 16px; }
.cookie-opt span { margin-left: auto; font-size: 0.76rem; color: var(--text-dim); }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cookie-links { margin-top: 14px; font-size: 0.82rem; margin-bottom: 0 !important; }
.cookie-links a { color: var(--text-dim); text-decoration: underline; }
.cookie-links a:hover { color: var(--text); }

@media (max-width: 720px) {
  .cookie-banner { left: 12px; right: 12px; bottom: 12px; }
  .cookie-inner { max-width: none; width: 100%; }
}

/* Bestell-Dialog */
.order-modal {
  position: fixed;
  inset: 0;
  z-index: 230;
  background: rgba(7, 11, 20, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.order-modal.visible { opacity: 1; }
.order-card {
  max-width: 500px;
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}
.order-card p { font-size: 0.92rem; color: var(--text-muted); margin-bottom: 14px; }
.order-summary { color: var(--accent) !important; font-weight: 650; }
.order-box {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: 0.92rem;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  word-break: break-word;
}
.order-email { color: var(--accent); }
.order-hint { font-size: 0.82rem !important; color: var(--text-dim) !important; margin: 14px 0 0 !important; }

@media (max-width: 980px) {
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .cursor-glow { display: none; }
}

/* ---------- Reduzierte Bewegung ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .card, a.product-card, .faq-list summary::after, .site-header, .card-icon { transition: none; }
  .btn:hover, .card:hover, a.product-card:hover { transform: none; }
  .glow-border::after, .shimmer { animation: none; }
  .shimmer { color: var(--accent); background: none; }
  .marquee-track { transform: none !important; }
  .scroll-progress, .cursor-glow { display: none; }
  body::after { display: none; }
  .type-caret { animation: none; }
}
