/* ============================================================
   Sales Alchemy - Premium-Theme (Carbon Black + Gold)
   Referenzen: licenseandscale.com (Struktur), taxalchemy.com
   (Level-4-Deconstruction: Typo, Buttons, Karten, Lichteffekte)
   ============================================================ */

/* ---------- Fonts (self-hosted, variable) ---------- */

@font-face {
  font-family: "Outfit";
  src: url("fonts/outfit-variable.woff2") format("woff2");
  font-weight: 300 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("fonts/inter-variable.woff2") format("woff2");
  font-weight: 400 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("fonts/inter-400-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

:root {
  /* Grundton: Carbon Black (#242726), hier 25% abgedunkelt - neutral, kein Blau */
  --bg: #181a19;       /* Basisfarbe der ganzen Seite (10% Richtung Schwarz) */
  --bg-soft: #1d201f;
  --card-top: rgba(43, 47, 44, 0.5);
  --card-bottom: rgba(15, 17, 16, 0.92);
  --line: rgba(200, 206, 200, 0.12);
  --line-soft: rgba(200, 206, 200, 0.07);

  /* Gold: entsättigt nach Referenz-Rezept */
  --gold-deep: #9d8135;
  --gold: #c7a444;
  --gold-bright: #f2c752;
  --gold-text: #e6c15c;
  --gold-line: rgba(199, 164, 68, 0.38);

  /* Smaragd-Mint: Ergebnis- und Verbesserungs-Werte (Geld-Grün) */
  --green-deep: #1f9d63;
  --green: #2ec27e;
  --green-text: #3ddc97;
  --green-line: rgba(61, 220, 151, 0.38);
  --green-glow: rgba(46, 194, 126, 0.30);

  --text: #f3f4f0;
  --text-muted: #adb0a9;
  --text-dim: #7f827b;

  --radius: 18px;
  --radius-big: 26px;

  --font-display: "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;

  /* Feine Grid-Textur (Kartenflächen, wie Referenz) */
  --grid-tex:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.028) 0 1px, transparent 1px 56px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.028) 0 1px, transparent 1px 56px);
}

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

/* hidden-Attribut muss auch gegen display:flex gewinnen */
[hidden] { display: none !important; }

html { scroll-behavior: smooth; overflow-x: clip; }

/* Anker-Sprünge nicht unter der Sticky-Nav landen lassen */
section[id] { scroll-margin-top: 96px; }

body {
  background-color: var(--bg);
  /* Bühnenlicht nur ganz oben: heller Kern am Seitenanfang, verläuft in die flache Basisfarbe.
     Scrollt mit (nicht fixed) und ist auf die obere Höhe begrenzt - unten bleibt es flach dunkel. */
  background-image: radial-gradient(ellipse 90% 78% at 50% 12%, #202120 0%, #181a19 62%);
  background-repeat: no-repeat;
  background-size: 100% 1000px;
  background-position: top center;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* Weiche Gold-Lichtflächen, sehr langsam driftend */
body::before {
  content: "";
  position: fixed;
  inset: -20%;
  background:
    radial-gradient(ellipse 46% 30% at 50% 6%, rgba(199, 164, 68, 0.034), transparent 65%);
  pointer-events: none;
  z-index: 0;
  animation: licht-drift 26s ease-in-out infinite alternate;
}

@keyframes licht-drift {
  from { transform: translate3d(-1.5%, -1%, 0) scale(1); }
  to   { transform: translate3d(1.5%, 1.5%, 0) scale(1.04); }
}

/* Subtiles Grain gegen den "zu cleanen" Look */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  opacity: 0.045;
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: 3;
}

main, .nav-wrap, .footer { position: relative; z-index: 1; }

em {
  font-family: var(--font-body);
  font-style: italic;
  font-weight: 400;
  color: var(--gold-text);
}

/* ---------- Typografie ---------- */
/* Referenz-Erkenntnis: große Headlines LEICHT (300), nicht fett */

h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.1rem);
  font-weight: 300;
  line-height: 1.06;
  letter-spacing: -0.022em;
}

h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.8vw, 2.6rem);
  font-weight: 500;
  line-height: 1.14;
  letter-spacing: -0.015em;
}

h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}

h4 {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 500;
  letter-spacing: 0;
}

/* Kicker als Badge-Pill mit feiner Gold-Outline (Referenz: "WELCOME TO") */
.kicker {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-text);
  border: 1px solid var(--gold-line);
  border-radius: 999px;
  padding: 7px 16px;
  margin-bottom: 1.3rem;
  background: rgba(199, 164, 68, 0.05);
}

.section-sub {
  color: var(--text-muted);
  font-size: 1.06rem;
  max-width: 620px;
  margin-top: 1.1rem;
}

/* Problem-Hook über einer Sektions-Headline (z.B. Rechner) */
.section-hook {
  max-width: 620px;
  margin-bottom: 1.1rem;
  color: var(--text-muted);
  font-size: 1.06rem;
}

/* ---------- Navigation ---------- */

.nav-wrap {
  position: sticky;
  top: 14px;
  z-index: 100;
  display: flex;
  justify-content: center;
  padding: 0 16px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  width: 100%;
  max-width: 1180px;
  padding: 12px 14px 12px 26px;
  border-radius: 999px;
  border: 1px solid var(--line-soft);
  background: rgba(14, 15, 14, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 0.22em;
  font-size: 0.88rem;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
}

.nav-logo .logo-mark { width: 24px; height: 27px; flex-shrink: 0; }

/* Wortmarke zweizeilig, zentriert: SALES klein als Overline, ALCHEMY dominant.
   Größen in em -> skalieren mit der Schriftgröße von Nav bzw. Footer. */
.logo-word {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.3;
  text-align: center;
}

.logo-top {
  font-size: 0.86em;
  font-weight: 600;
  letter-spacing: 0.44em;
  margin-right: -0.44em; /* gleicht den Letter-Spacing-Überhang des letzten Buchstabens aus */
  color: var(--text);
}

.logo-gold {
  font-size: 1.14em;
  font-weight: 350;
  letter-spacing: 0.24em;
  margin-right: -0.24em;
  color: var(--gold);
}

/* Nav: ALCHEMY mit Gold-Verlauf wie der Kolben */
.nav-logo .logo-gold {
  background: linear-gradient(120deg, var(--gold-deep), var(--gold-bright));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-links {
  display: flex;
  gap: 26px;
  margin-left: auto;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.93rem;
  transition: color 0.2s;
  background-image: linear-gradient(var(--gold), var(--gold));
  background-repeat: no-repeat;
  background-size: 0% 1px;
  background-position: 0 100%;
  padding-bottom: 3px;
  transition: color 0.2s, background-size 0.3s ease;
}

.nav-links a:hover {
  color: var(--text);
  background-size: 100% 1px;
}

/* ---------- Buttons ---------- */
/* Referenz-Rezept: Versalien 13px, LS 2px, weiß auf gedecktem
   Gold-Gradient, Inset-Kantenglow ("flüssiges Gold") */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 30px;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.25s ease, background-color 0.2s, filter 0.25s;
  white-space: nowrap;
}

.btn .arrow { font-weight: 400; letter-spacing: 0; }

.btn-gold {
  background: linear-gradient(120deg, var(--gold-deep) 20%, var(--gold) 60%);
  color: #fff;
  text-shadow: 0 1px 6px rgba(60, 44, 8, 0.55);
  box-shadow:
    rgba(242, 199, 82, 0.9) -25px 0px 20px -10px inset,
    0 10px 28px -12px rgba(199, 164, 68, 0.45);
}

.btn-gold:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
  box-shadow:
    rgba(242, 199, 82, 1) -32px 0px 24px -10px inset,
    0 14px 34px -12px rgba(199, 164, 68, 0.6);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: rgba(244, 246, 255, 0.22);
}

.btn-ghost:hover {
  border-color: rgba(244, 246, 255, 0.5);
  background: rgba(244, 246, 255, 0.04);
}

.btn-small { padding: 11px 22px; font-size: 0.72rem; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  max-width: 1020px;
  margin: 0 auto;
  padding: 120px 20px 70px;
  text-align: center;
}

/* Fließende Punkt-Sinuswellen (Canvas, zeichnet app.js) -
   ersetzt das Video-Hintergrund-Konzept der Referenz */
.wave-canvas {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1440px, 100vw);
  height: 760px;
  pointer-events: none;
  z-index: -1;
  opacity: 0.6;
  /* Volle Breite/oberer Bereich, weicher Auslauf nach unten (statt mittiger Vignette) */
  -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 55%, transparent 100%);
}

.hero h1 em { display: inline-block; margin-top: 0.15em; }

.hero-sub {
  color: var(--text-muted);
  font-size: 1.12rem;
  margin-top: 1.7rem;
}

.hero-cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 2.5rem;
}

/* "Wie es funktioniert" als dezenter Text-Link neben den zwei Buttons */
.hero-textlink {
  color: var(--text-muted);
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.hero-textlink:hover {
  color: var(--text);
  border-color: var(--gold-line);
}

.stat-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(20px, 5vw, 56px);
  margin-top: 78px;
  flex-wrap: wrap;
}

.stat { text-align: center; }

.stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  font-weight: 300;
  letter-spacing: -0.01em;
  color: var(--gold-text);
}

.stat-label {
  color: var(--text-dim);
  font-size: 0.88rem;
}

.stat-divider {
  width: 1px;
  height: 46px;
  background: var(--line);
}

/* ---------- Sektionen ---------- */

.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 96px 20px;
}

.section-head {
  position: relative;
  max-width: 760px;
  margin-bottom: 3.2rem;
}

/* Spotlight hinter Sektions-Headlines (Referenz-Lichteffekt) */
.section-head::before {
  content: "";
  position: absolute;
  top: -140px;
  left: -160px;
  width: 620px;
  height: 340px;
  background: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(199, 164, 68, 0.027), transparent 70%);
  pointer-events: none;
  z-index: -1;
}

/* ---------- Karten ---------- */
/* Doppelrahmen: äußerer Rahmen + eingesetzte Innenfläche mit
   Navy-Gradient und feiner Grid-Textur (Referenz-Bauweise) */

.card {
  position: relative;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 38px 34px;
  background: transparent;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.card::before {
  content: "";
  position: absolute;
  inset: 9px;
  border-radius: calc(var(--radius) - 7px);
  background:
    var(--grid-tex),
    linear-gradient(180deg, var(--card-top), var(--card-bottom));
  border: 1px solid var(--line-soft);
  z-index: 0;
}

.card > * { position: relative; z-index: 1; }

.card:hover {
  transform: translateY(-3px);
  border-color: var(--gold-line);
}

.card h3, .card h4 { margin-bottom: 0.65rem; }

.card p { color: var(--text-muted); font-size: 0.96rem; }

.card-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 600;
  line-height: 1;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

/* Phasen-Tag als kleines Label unter der grossen Nummer (in der Karte) */
.card .phase-tag { display: block; margin-bottom: 0.9rem; }

/* Benefit-Zeile: durch feine Linie vom Feature-Text abgesetzt */
.card-benefit {
  margin-top: 1.3rem;
  padding-top: 1.3rem;
  border-top: 1px solid var(--line-soft);
  color: var(--text);
  font-weight: 500;
  font-size: 0.96rem;
}

/* ---------- Phasen-Akkordeon (System / "Das Angebot") ---------- */

.phase-accordion {
  position: relative;
  margin-left: 6px;
  padding-left: 34px;
  border-left: 1px solid var(--line);   /* Timeline-Rail */
}

.phase-item {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card-top);
  margin-bottom: 16px;
  padding: 0 30px;
  transition: border-color 0.2s;
}
.phase-item:last-child { margin-bottom: 0; }
.phase-item:hover, .phase-item[open] { border-color: var(--gold-line); }

/* Timeline-Punkt auf der Rail */
.phase-item::before {
  content: "";
  position: absolute;
  left: -40px;
  top: 32px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--gold-line);
  transition: background 0.2s, border-color 0.2s;
}
.phase-item[open]::before { background: var(--gold); border-color: var(--gold); }

.phase-item summary {
  cursor: pointer;
  list-style: none;
  display: grid;
  grid-template-columns: 150px 1fr minmax(200px, 260px);
  gap: 30px;
  align-items: center;
  padding: 26px 44px 26px 0;
  position: relative;
}
.phase-item summary::-webkit-details-marker { display: none; }

.phase-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 26px;
  font-family: var(--font-display);
  font-size: 1.6rem;
  line-height: 1;
  color: var(--gold-text);
}
.phase-item[open] summary::after { content: "\00d7"; }

.phase-meta { display: flex; flex-direction: column; gap: 5px; }
.phase-num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-text);
}
.phase-zeit {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--text);
}

.phase-main h3 { margin-bottom: 0.4rem; }
.phase-main p { color: var(--text-muted); font-size: 0.96rem; }

/* Ergebnis-Box in Geld-Grün (Ergebnis-Werte-Farbe der Seite) */
.phase-ergebnis {
  display: flex;
  flex-direction: column;
  gap: 6px;
  border: 1px solid var(--green-line);
  border-radius: 12px;
  padding: 14px 18px;
  background: rgba(46, 194, 126, 0.06);
}
.phase-ergebnis-label {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green-text);
}
.phase-ergebnis-text { color: var(--text); font-weight: 500; font-size: 0.95rem; }

/* Aufgeklappter Detail-Bereich */
.phase-detail {
  border-top: 1px solid var(--line-soft);
  padding: 22px 0 30px;
}
.phase-detail-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin-bottom: 16px;
}
.phase-detail ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 760px;
}
.phase-detail li {
  position: relative;
  padding-left: 22px;
  color: var(--text-muted);
  font-size: 0.98rem;
}
.phase-detail li strong {
  display: block;
  color: var(--text);
  font-weight: 600;
  margin-bottom: 4px;
}
.phase-detail li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

@media (max-width: 900px) {
  .phase-item summary {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 24px 44px 24px 0;
  }
  .phase-ergebnis { max-width: 420px; }
}

@media (max-width: 600px) {
  .phase-accordion { margin-left: 4px; padding-left: 22px; }
  .phase-item { padding: 0 20px; }
  .phase-item::before { left: -28px; top: 26px; }
}

.card-grid {
  display: grid;
  gap: 16px;
}

.card-grid-3 { grid-template-columns: repeat(3, 1fr); }

/* Bento-Auflockerung: markierte Karte läuft über zwei Spalten */
.card-wide { grid-column: span 2; }

.glow-card {
  position: relative;
  border-radius: var(--radius-big);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--card-top), var(--card-bottom));
}

/* Rechner-Bereich bewusst ohne Sektions-Spotlight - clean: eine Kante, sonst nichts */
#rechner .section-head::before { display: none; }

.problem-closer {
  margin-top: 2.6rem;
  max-width: 720px;
  color: var(--text-muted);
  font-size: 1.08rem;
}

.problem-closer strong { color: var(--text); font-weight: 500; }

/* ---------- Phasen ---------- */

.phase { margin-bottom: 4rem; }
.phase:last-child { margin-bottom: 0; }

.phase-head {
  margin-bottom: 1.9rem;
  padding-left: 20px;
  border-left: 1px solid var(--gold-line);
}

.phase-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-text);
}

.phase-head h3 { margin-top: 0.55rem; }
.phase-head p { color: var(--text-muted); margin-top: 0.4rem; }

/* Fließtext-Phasen (Mini-Pitch statt Modul-Karten) */
.phase-body { max-width: 720px; }
.phase-body p { color: var(--text-muted); font-size: 1rem; margin-top: 1rem; }
.phase-body p:first-child { margin-top: 0; }
.phase-payoff { color: var(--text); font-weight: 500; margin-top: 1.5rem; }

/* ---------- KPI-Rechner ---------- */

.calc-card {
  max-width: 1140px;
  margin: 0 auto;
  padding: clamp(24px, 3vw, 40px);
}

/* Container fuer den inline eingebetteten Calendly-Kalender (feste Hoehe noetig) */
.calendly-inline {
  min-width: 320px;
  height: 700px;
}
@media (max-width: 640px) {
  .calendly-inline { height: 820px; }
}

/* Hinweis am unteren Rand des gesamten Rechner-Blocks */
.calc-disclaimer {
  margin-top: clamp(22px, 3vw, 34px);
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
  color: var(--text-dim);
  font-size: 0.82rem;
  text-align: center;
}

/* Formular links, Ergebnis-Panel rechts.
   minmax(0, ..) lässt die Spalten unter ihre min-content-Breite schrumpfen -
   sonst bläht der Szenario-Schalter das Grid auf schmalen Screens auf. */
.calc-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(30px, 4vw, 56px);
  align-items: start;
}

/* Rotierendes Siegel an der Kartenecke (Brand-Detail) */
.seal {
  position: absolute;
  top: -54px;
  right: -34px;
  width: 116px;
  height: 116px;
  animation: seal-rotation 28s linear infinite;
  pointer-events: none;
  z-index: 2;
}

.seal text {
  font-family: var(--font-display);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 3.2px;
  text-transform: uppercase;
  fill: var(--gold-text);
}

.seal .seal-spark { font-size: 17px; letter-spacing: 0; }
.seal .seal-ring { fill: none; stroke: var(--gold-line); stroke-width: 1; }
.seal .seal-core { fill: rgba(3, 6, 22, 0.88); stroke: var(--gold-line); stroke-width: 1; }

@keyframes seal-rotation {
  to { transform: rotate(360deg); }
}

/* ---------- Formular: Regler + gekoppelte Tippfelder ---------- */

/* Zweispaltig, damit alles ohne Scrollen sichtbar ist */
.calc-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.35rem 1.6rem;
  align-content: start;
}

.calc-field-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 0.5rem;
}

.calc-field-head label,
.calc-crm legend {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: -0.01em;
}

/* (i)-Icon mit Tooltip - hover und focus, damit es auch per Tap geht */
.calc-info {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  margin-left: 7px;
  vertical-align: 2px;
  border: 1px solid rgba(198, 202, 195, 0.4);
  border-radius: 50%;
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-style: normal;
  cursor: help;
  position: relative;
  outline: none;
}

.calc-info:hover,
.calc-info:focus {
  border-color: var(--gold);
  color: var(--gold-text);
}

.calc-info::after {
  content: attr(data-hint);
  position: absolute;
  bottom: calc(100% + 9px);
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
  max-width: 230px;
  background: #191b18;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 9px 12px;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 0.8rem;
  line-height: 1.45;
  text-align: left;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s;
  z-index: 6;
}

.calc-info:hover::after,
.calc-info:focus::after { opacity: 1; }

/* Gekoppeltes Tippfeld neben dem Label */
.calc-value {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(198, 202, 195, 0.05);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 3px 10px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.calc-value:focus-within {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(199, 164, 68, 0.16);
}

.calc-value input {
  width: 72px;
  background: none;
  border: none;
  outline: none;
  color: var(--gold-text);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 400;
  text-align: right;
}

.calc-value-unit { color: var(--text-dim); font-size: 0.92rem; }

/* Native Zahlen-Spinner ausblenden */
.calc-value input::-webkit-outer-spin-button,
.calc-value input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.calc-value input[type="number"] { -moz-appearance: textfield; appearance: textfield; }

/* Slider: goldene Füllung bis zum Daumen (--fill setzt app.js) */
.calc-range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg,
    var(--gold-deep) 0%,
    var(--gold) var(--fill, 50%),
    rgba(198, 202, 195, 0.14) var(--fill, 50%));
  outline: none;
  cursor: pointer;
}

.calc-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--gold-bright), var(--gold-deep));
  border: 2px solid #141614;
  box-shadow: 0 0 0 4px rgba(199, 164, 68, 0.18), 0 2px 10px rgba(0, 0, 0, 0.5);
  cursor: grab;
}

.calc-range::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--gold-bright), var(--gold-deep));
  border: 2px solid #141614;
  box-shadow: 0 0 0 4px rgba(199, 164, 68, 0.18), 0 2px 10px rgba(0, 0, 0, 0.5);
  cursor: grab;
}

.calc-range:active::-webkit-slider-thumb { cursor: grabbing; }
.calc-range:focus-visible { box-shadow: 0 0 0 3px rgba(199, 164, 68, 0.25); }

/* CRM-Pflichtauswahl (Haken-Buttons) */
.calc-crm { border: none; }

.calc-required {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-text);
  border: 1px solid var(--gold-line);
  border-radius: 999px;
  padding: 3px 10px;
}

.calc-crm-options {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.calc-crm-option {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(198, 202, 195, 0.04);
  color: var(--text);
  font-size: 0.9rem;
  font-family: var(--font-body);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}

.calc-crm-option:hover {
  border-color: var(--gold);
  background: rgba(199, 164, 68, 0.08);
}

.calc-check {
  width: 18px;
  height: 18px;
  border: 1px solid rgba(198, 202, 195, 0.35);
  border-radius: 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: transparent;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.calc-crm-option.is-selected {
  border-color: var(--gold);
  background: rgba(199, 164, 68, 0.12);
}

.calc-crm-option.is-selected .calc-check {
  background: var(--gold);
  border-color: var(--gold);
  color: #141514;
}

/* Fehlende Pflichtauswahl beim Berechnen */
.calc-crm-missing .calc-crm-option { border-color: rgba(224, 142, 91, 0.55); }

.calc-actions {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 0.3rem;
}

.calc-error {
  color: #e08e5b;
  font-size: 0.92rem;
  min-height: 1.4em;
  margin: 0;
}

/* ---------- Ergebnis-Panel ---------- */

.calc-panel {
  position: sticky;
  top: 104px;
  text-align: center;
  border: 1px solid var(--line-soft);
  border-radius: 20px;
  background: rgba(198, 202, 195, 0.035);
  padding: clamp(18px, 2.2vw, 26px);
}

/* Teaser, bevor zum ersten Mal berechnet wurde */
.calc-teaser .is-blurred {
  filter: blur(16px);
  opacity: 0.55;
  user-select: none;
  color: var(--green-text);
}

.calc-teaser-text {
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 300px;
  margin: 1.1rem auto 0;
}

.result-amount {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 3.6vw, 3rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--green-text);
  text-shadow: 0 0 50px var(--green-glow);
  margin-top: 0.6rem;
}

.result-period {
  font-size: 0.34em;
  font-weight: 400;
  color: var(--text-muted);
  margin-left: 10px;
  letter-spacing: 0;
}

.result-once {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-top: 0.55rem;
}

.result-once strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--green-text);
}

.result-year {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 0.95rem;
}

.result-year strong { color: var(--text); font-weight: 500; }
.result-year-hint { color: var(--text-dim); font-size: 0.85em; }

/* Vergleich: Ist-Funnel links, verbesserter Funnel rechts */
.result-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  text-align: left;
}

.result-col {
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  background: rgba(198, 202, 195, 0.04);
  padding: 12px 14px;
}

.result-col-neu {
  border-color: rgba(61, 220, 151, 0.4);
  background: rgba(46, 194, 126, 0.07);
}

.result-col-head {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 0.6rem;
}

.result-col-neu .result-col-head { color: var(--green-text); }

.result-row {
  color: var(--text-muted);
  font-size: 0.82rem;
  margin-top: 0.3rem;
}

.result-row-value {
  display: inline-block;
  min-width: 2ch;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--text);
  transition: color 0.25s;
}

.result-col-umsatz {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1.8vw, 1.55rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-top: 0.7rem;
  transition: color 0.25s;
}

.result-col-umsatz-label {
  font-size: 0.72rem;
  color: var(--text-dim);
  margin-top: 0.05rem;
}

/* Verbesserte Werte: Gold + Pfeil nach oben.
   Sitzt bei den Zeilen auf dem Zahlen-Span, beim Umsatz auf der
   ganzen Zeile - der Pfeil landet dann hinter dem €. */
.is-better {
  color: var(--green-text);
}

.is-better::after {
  content: "↑";
  font-size: 0.75em;
  margin-left: 3px;
}

/* Potenzial-Block unter dem Vergleich */
.result-potenzial {
  margin-top: 1.15rem;
  padding-top: 1.05rem;
  border-top: 1px solid var(--line-soft);
}

/* Szenario-Schalter (Ziel-Stufen) */
.scenario-row {
  margin-top: 1.15rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
}

.scenario-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.scenario {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(198, 202, 195, 0.04);
}

.scenario-btn {
  border: none;
  background: none;
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 7px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.15s, background 0.15s;
}

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

.scenario-btn.is-active {
  background: rgba(199, 164, 68, 0.16);
  color: var(--gold-text);
}

.result-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 1.2rem;
}

/* ---------- ICP ---------- */

.icp-wrap {
  max-width: 720px;
  padding: clamp(30px, 5vw, 50px);
}

.icp-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.icp-list li {
  padding-left: 36px;
  position: relative;
  font-size: 1.05rem;
}

.icp-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 18px;
  height: 18px;
  border: 1px solid var(--gold-line);
  border-radius: 50%;
  background: rgba(199, 164, 68, 0.08);
}

.icp-list li::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 7px;
  width: 6px;
  height: 3px;
  border-left: 1.5px solid var(--gold-bright);
  border-bottom: 1.5px solid var(--gold-bright);
  transform: rotate(-45deg);
}

/* ---------- Über ---------- */

.ueber-wrap {
  max-width: 720px;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  color: var(--text-muted);
  font-size: 1.1rem;
}

.ueber-wrap p:first-child { color: var(--text); }

/* Why-us als eigener Bereich: grauer Vollbreit-Streifen (harter Cut, füllt den ganzen Viewport), plus goldener Akzent-Strich links am Text */
#ueber {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
#ueber::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  background: #2c302d;
  z-index: -1;
}
#ueber .ueber-wrap {
  border-left: 2px solid var(--gold);
  padding-left: 30px;
}

/* ---------- FAQ ---------- */

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 56px;
  align-items: start;
}

/* FAQ: kleiner Kicker + große Headline (Referenz-Proportion) */
.faq-title {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.05;
  margin-top: 0.4rem;
  max-width: 460px;
}

/* FAQ-Items als umrandete Pills (Referenz-Bauweise) */
.faq-item {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(198, 202, 195, 0.03);
  padding: 4px 24px;
  margin-bottom: 12px;
  transition: border-color 0.2s;
}

.faq-item:hover, .faq-item[open] { border-color: var(--gold-line); }

.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 500;
  padding: 16px 40px 16px 0;
  position: relative;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 2px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold-text);
  font-size: 1.35rem;
  font-weight: 300;
}

.faq-item[open] summary::after { content: "×"; }

.faq-item p {
  color: var(--text-muted);
  padding: 0 0 18px;
  max-width: 620px;
  font-size: 0.97rem;
}

/* ---------- Finale CTA ---------- */

.section-final {
  position: relative;
  text-align: center;
  padding-top: 120px;
  padding-bottom: 140px;
}

.section-final::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(900px, 90%);
  height: 420px;
  background: radial-gradient(ellipse 55% 55% at 50% 30%, rgba(199, 164, 68, 0.036), transparent 70%);
  pointer-events: none;
}

.section-final .section-sub { margin-left: auto; margin-right: auto; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  border: 1px solid var(--gold-line);
  border-radius: 999px;
  padding: 8px 18px;
  margin-bottom: 1.7rem;
  background: rgba(199, 164, 68, 0.05);
}

.badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-bright);
  box-shadow: 0 0 10px var(--gold-bright);
}

/* ---------- Footer ---------- */

.footer {
  border-top: 1px solid var(--line-soft);
  padding: 36px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  max-width: 1180px;
  margin: 0 auto;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 0.22em;
  font-size: 0.78rem;
  color: var(--text-dim);
}

.footer-brand .logo-mark { width: 18px; height: 20px; flex-shrink: 0; color: var(--gold-deep); }

.footer-brand .logo-gold { color: var(--gold-deep); }

.footer-links {
  display: flex;
  gap: 22px;
  color: var(--text-dim);
  font-size: 0.85rem;
}

.footer-links a { color: var(--text-dim); text-decoration: none; }
.footer-links a:hover { color: var(--text-muted); }

/* ---------- Scroll-Reveals (Klassen setzt app.js) ---------- */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s cubic-bezier(0.2, 0.6, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.6, 0.2, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Kartenreihen leicht gestaffelt */
.card-grid > .reveal:nth-child(2) { transition-delay: 0.08s; }
.card-grid > .reveal:nth-child(3) { transition-delay: 0.16s; }
.card-grid > .reveal:nth-child(4) { transition-delay: 0.08s; }
.card-grid > .reveal:nth-child(5) { transition-delay: 0.16s; }
.card-grid > .reveal:nth-child(6) { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  body::before, .hero::before, .seal { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .card-grid-3 { grid-template-columns: 1fr 1fr; }
  .card-wide { grid-column: span 2; }
  .faq-grid { grid-template-columns: 1fr; gap: 24px; }
  .nav-links { display: none; }
  .seal { width: 92px; height: 92px; top: -40px; right: -14px; }
  .calc-layout { grid-template-columns: minmax(0, 1fr); }
  .calc-panel { position: static; }
}

@media (max-width: 600px) {
  .card-grid-3 { grid-template-columns: 1fr; }
  .card-wide { grid-column: auto; }
  .calc-form { grid-template-columns: 1fr; }
  .calc-crm-options { flex-direction: column; align-items: stretch; }
  .section { padding: 64px 18px; }
  .hero { padding-top: 88px; }
  .stat-divider { display: none; }
  .stat-bar { gap: 28px; }
  .nav { padding: 10px 12px 10px 18px; gap: 12px; }
  .nav-logo { font-size: 0.74rem; letter-spacing: 0.14em; gap: 8px; }
  .nav-logo .logo-mark { width: 19px; height: 21px; }
  .nav .btn-small { padding: 9px 14px; font-size: 0.66rem; margin-left: auto; }
  .seal { display: none; }
  .section-head::before { left: -60px; width: 340px; height: 240px; }

  /* Vergleich bleibt zweispaltig - Werte kompakter, kein Umbruch im Umsatz */
  .result-col { padding: 10px 11px; }
  .result-col-head { font-size: 0.56rem; letter-spacing: 0.14em; }
  .result-row { font-size: 0.76rem; }
  .result-row-value { font-size: 0.95rem; }
  .result-col-umsatz { font-size: 1.1rem; white-space: nowrap; }
}

/* ---------- Rechtsseiten (Impressum / Datenschutz) ---------- */

.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: 130px 20px 100px;
}

.legal h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--text);
  margin-bottom: 2rem;
}

.legal h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.25rem;
  color: var(--gold-text);
  margin: 2.6rem 0 0.7rem;
}

.legal p,
.legal li {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 0.9rem;
}

.legal ul {
  padding-left: 1.2rem;
  margin-bottom: 0.9rem;
}

.legal strong {
  color: var(--text);
  font-weight: 500;
}

.legal a {
  color: var(--gold-text);
  text-decoration: none;
}

.legal a:hover {
  text-decoration: underline;
}

.legal-note {
  border-left: 2px solid var(--gold);
  padding: 2px 0 2px 18px;
  margin: 1.4rem 0;
}

.legal-back {
  display: inline-block;
  margin-top: 3rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}
