/* Ensure [hidden] always wins over class-level display rules */
[hidden] { display: none !important; }

/* ─── FONTS ────────────────────────────────────────────────── */
@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/space-grotesk-latin.woff2") format("woff2-variations"),
       url("../fonts/space-grotesk-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
  font-style: normal;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin.woff2") format("woff2-variations"),
       url("../fonts/inter-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
  font-style: normal;
}
/* Space Mono — Monospace-Schwester von Space Grotesk, nur für Daten-Zahlen */
@font-face {
  font-family: "Space Mono";
  src: url("../fonts/space-mono-latin.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
  font-style: normal;
}
@font-face {
  font-family: "Space Mono";
  src: url("../fonts/space-mono-latin-700.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
  font-style: normal;
}

/* ─── TOKENS ───────────────────────────────────────────────── */
:root {
  --bg:           #0e1117;
  --bg-card:      #131820;
  --bg-elevated:  #1a2030;

  --white:        #ffffff;
  --text:         #f0f0f0;
  --text-soft:    rgba(240,240,240,0.65);
  --text-muted:   rgba(240,240,240,0.38);

  --accent:       #22c55e;
  --accent-dim:   rgba(34,197,94,0.12);
  --accent-border:rgba(34,197,94,0.22);
  --accent-deep:  #16a34a;

  --data-orange:  #FF9900;
  --data-blue:    #3b82f6;
  --data-purple:  #8B5CF6;

  /* Signal-/Statusfarben (semantisch, site-weit einsetzbar) */
  --signal-warning:        #FF9900;              /* Orange: Achtung, Geld in Gefahr, Handlungsbedarf */
  --signal-warning-dim:    rgba(255,153,0,0.07); /* Hintergrund Warn-Box */
  --signal-warning-border: rgba(255,153,0,0.18); /* Rahmen Warn-Box */
  --signal-danger:         #f87171;              /* Rot: kritisch / Verlust / Fehler */
  --signal-caution:        #fbbf24;              /* Gelb: Optimierungsbedarf */
  /* Grün (--accent) ist das Positiv-/Gut-Signal */

  /* ACOS-Skala (feine Abstufung, nur im Rechner) */
  --acos-aurora:      #c084fc;                /* < 10 %: Wachstum verschenkt */
  --acos-very-good:   #86efac;                /* 10–15 %: sehr effizient */
  --acos-good:        #4ade80;                /* 15–22 %: Sweet Spot */
  --acos-good-edge:   #a3e635;                /* 22–28 %: Sweet-Spot-Edge */
  --acos-warn:        var(--signal-caution);  /* 28–38 %: Optimierungs-Zone */
  --acos-warn-strong: #fb923c;                /* 35–50 %: stark warnend */
  --acos-bad:         var(--signal-danger);   /* > 50 %: kritisch */

  --border:        rgba(255,255,255,0.07);
  --border-strong: rgba(255,255,255,0.14);

  --maxw:  clamp(1100px, 80vw, 1440px);
  --pad-x: 64px;

  --serif: "Space Grotesk", system-ui, sans-serif;
  --sans:  "Inter", system-ui, sans-serif;
  --mono:  "Space Mono", ui-monospace, "Cascadia Code", monospace;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --section-gap: 96px;
}

@media (max-width: 720px) {
  :root { --pad-x: 24px; }
}

/* ─── RESET / BASE ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: var(--sans);
  font-weight: 400;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* ─── HERO-BLEED (Aurora-Übergang in nächste Sektion) ──────── */
.hero-bleed {
  position: relative;
  height: 160px;
  margin-top: -160px;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 90% 100% at 20% 0%, rgba(34,197,94,0.10),   transparent 75%),
    radial-gradient(ellipse 80% 100% at 80% 10%, rgba(30,64,175,0.12),  transparent 75%),
    radial-gradient(ellipse 70% 100% at 50% 20%, rgba(107,33,168,0.08), transparent 75%);
}
img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; }
input { font: inherit; }
a { color: inherit; text-decoration: none; }

::selection { background: var(--accent); color: #071a0e; }
:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; border-radius: 3px; }

/* ─── TYPOGRAPHY ───────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 700;
  color: var(--white);
  margin: 0;
  text-wrap: balance;
}
h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  letter-spacing: -0.035em;
  line-height: 1.04;
}
h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
}
h3 {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  letter-spacing: -0.02em;
  line-height: 1.25;
}
p { margin: 0; text-wrap: pretty; }

.eyebrow {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.lead {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: var(--text-soft);
  line-height: 1.55;
  max-width: 60ch;
}
.arrow { color: var(--accent); display: inline-block; }
.num { font-family: var(--serif); font-feature-settings: "tnum" 1, "ss01" 1; }

/* ─── LAYOUT ───────────────────────────────────────────────── */
.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}
section { padding: var(--section-gap) 0; position: relative; }
section[id] { scroll-margin-top: 72px; }
@media (max-width: 720px) {
  section { padding: 56px 0; }
}

/* ─── NAVIGATION ───────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 16px;
  left: 0; right: 0;
  z-index: 100;
  padding: 0 var(--pad-x);
  background: transparent;
  border: none;
  pointer-events: none;
}
.nav-inner {
  pointer-events: auto;
  max-width: calc(var(--maxw) - clamp(80px, (100vw - 1280px) / 6, 200px));
  margin: 0 auto;
  padding: 10px 24px;
  background: rgba(14,17,23,0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 999px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.20);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  transition: background 0.25s var(--ease), backdrop-filter 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
}
.nav-brand img { height: 36px; width: auto; flex-shrink: 0; }
.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}
.nav-links a {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-soft);
  transition: color 0.2s var(--ease);
}
.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--accent); }
.nav-right { display: flex; align-items: center; gap: 16px; flex: 1; justify-content: flex-end; }
@media (max-width: 880px) { .nav-right .nav-cta-secondary { display: none; } }
.nav-hamb {
  display: none;
  background: none;
  border: 1px solid var(--border-strong);
  width: 40px; height: 36px;
  border-radius: 8px;
  align-items: center; justify-content: center;
  color: var(--text);
}
.nav-hamb svg { width: 18px; height: 18px; }
.nav-mobile {
  pointer-events: auto;
  display: none;
}
@media (max-width: 880px) {
  .nav-mobile {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.32s var(--ease), background 0.32s var(--ease), border-color 0.32s var(--ease);
    background: transparent;
    border: 1px solid transparent;
    border-radius: 16px;
    margin-top: 6px;
    max-width: calc(var(--maxw) - clamp(80px, (100vw - 1280px) / 6, 200px));
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
  }
  .nav-mobile.open {
    background: rgba(14,17,23,0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-color: var(--border);
  }
}
.nav-mobile.open { grid-template-rows: 1fr; }
.nav-mobile-inner {
  overflow-x: hidden;
  overflow-y: auto;
  max-height: calc(100dvh - 80px);
  display: flex; flex-direction: column;
  gap: 4px;
  padding: 0 var(--pad-x);
}
.nav-mobile.open .nav-mobile-inner { padding: 8px var(--pad-x) 20px; }
.nav-mobile a {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-soft);
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.nav-mobile a:last-of-type { border-bottom: none; }

/* ─── NAV DROPDOWN (LEISTUNGEN) ────────────────────────────────── */
.nav-group {
  position: relative;
  display: flex;
  align-items: center;
}
.nav-group-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-soft);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  text-decoration: none;
  transition: color 0.2s var(--ease);
}
.nav-group:hover .nav-group-trigger,
.nav-group.is-open .nav-group-trigger,
.nav-group-trigger:focus-visible {
  color: var(--text);
}
.nav-group-trigger.active { color: var(--accent); }
.nav-group-trigger .chev {
  width: 9px;
  height: 9px;
  transition: transform 0.2s var(--ease);
  stroke: currentColor;
}
.nav-group:hover .nav-group-trigger .chev,
.nav-group.is-open .nav-group-trigger .chev {
  transform: rotate(180deg);
}
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 280px;
  background: rgba(14,17,23,0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 10px;
  margin-top: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s var(--ease), transform 0.15s var(--ease);
  box-shadow: 0 24px 48px rgba(0,0,0,0.4);
  z-index: 101;
}
.nav-group.is-open .nav-dropdown,
.nav-group:focus-within .nav-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
  transition: opacity 0.15s var(--ease), transform 0.15s var(--ease);
}
.nav-dropdown a {
  display: block;
  padding: 12px 14px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--text-soft);
  border-radius: 8px;
  transition: background 0.15s var(--ease), color 0.15s var(--ease);
}
.nav-dropdown a:hover,
.nav-dropdown a:focus-visible {
  background: rgba(255,255,255,0.06);
  color: var(--text);
  outline: none;
}
.nav-dropdown a strong {
  display: block;
  color: var(--white);
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 2px;
  letter-spacing: 0;
}
.nav-dropdown a small {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0;
  font-weight: 400;
}

/* ─── TRANSPARENT PILL NAV (HOMEPAGE CLEAN-LOAD) ───────────────── */
.nav.is-transparent .nav-inner {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-color: transparent;
  box-shadow: none;
}
.nav.is-scrolled .nav-inner {
  background: rgba(14,17,23,0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-color: var(--border);
  box-shadow: 0 12px 40px rgba(0,0,0,0.40);
}

@media (max-width: 880px) {
  .nav-links { display: none; }
  .nav-hamb { display: inline-flex; }
  /* Mobile: Lupe in die rechte Leiste, CTA kompakter */
  .nav-right { gap: 8px; }
  .nav-right .nav-search-mobile { display: flex; }
  .nav-right .btn-primary.btn-sm { padding: 8px 13px; font-size: 12px; }

  /* Mobile: Pille → vollbreite feste Leiste bei top:0 */
  .nav {
    top: 0;
    padding: 0;
    width: 100%;
    background: rgba(14,17,23,0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }
  .nav-inner {
    border-radius: 0;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    border: none;
    border-bottom: 1px solid var(--border);
    box-shadow: none;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    padding: 10px 20px;
    gap: 12px;
  }
  /* Transparent-State: untere Border ausblenden */
  .nav.is-transparent .nav-inner {
    border-bottom-color: transparent;
    background: transparent;
  }
  /* Scrolled-State: background vom .nav übernimmt */
  .nav.is-scrolled .nav-inner {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom-color: var(--border);
  }
  /* Mobile Dropdown auf volle Breite */
  .nav-mobile {
    width: 100%;
    max-width: 100%;
    border-radius: 0;
  }
  /* Sub-Links (Leistungs-Unterseiten) im Hamburger-Menü ausblenden */
  .nav-mobile a.nav-sub { display: none; }
}

/* ─── BUTTONS ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 14px;
  padding: 13px 22px;
  border-radius: 9px;
  border: none;
  text-decoration: none;
  transition: opacity 0.15s var(--ease), transform 0.15s var(--ease), background 0.15s var(--ease), border-color 0.15s var(--ease);
  letter-spacing: -0.005em;
  white-space: nowrap;
}
.btn-primary {
  background: #ffffff;
  color: #0a0f1c;
  transition: background 0.15s var(--ease), color 0.15s var(--ease), transform 0.15s var(--ease);
}
.btn-primary:hover { background: var(--accent); color: #071a0e; transform: translateY(-1px); }
.btn-primary:hover .arrow { color: #071a0e; }
.btn-primary:active { transform: translateY(0); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-strong);
}
.btn-ghost:hover { background: var(--bg-elevated); border-color: rgba(255,255,255,0.22); }
.btn-aurora {
  --aurora-angle: 0deg;
  border: 1px solid transparent;
  background-color: transparent;
  background-image:
    linear-gradient(var(--bg-card), var(--bg-card)),
    conic-gradient(
      from var(--aurora-angle),
      rgba(34, 197, 94, 0.85),
      rgba(59, 130, 246, 0.85),
      rgba(139, 92, 246, 0.85),
      rgba(34, 197, 94, 0.85)
    );
  background-clip: padding-box, border-box;
  background-origin: border-box;
  animation: aurora-spin 6s linear infinite;
  color: var(--text);
}
.btn-aurora:hover { transform: translateY(-1px); }
.btn-sm { padding: 9px 16px; font-size: 13px; }
.btn .arrow { font-size: 1.05em; transform: translateY(-1px); }
.btn-primary .arrow { color: #0a0f1c; }

/* ─── BADGE / PILL ─────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  color: var(--accent);
  font-family: var(--sans);
  font-weight: 500;
  font-size: 12px;
  padding: 5px 12px 5px 10px;
  border-radius: 100px;
  letter-spacing: 0.01em;
}
.badge .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(34,197,94,0.18);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0.35); }
  50%      { box-shadow: 0 0 0 5px rgba(34,197,94,0.02); }
}
@keyframes aurora-border {
  0%, 100% {
    border-color: rgba(34, 197, 94, 0.22);
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }
  50% {
    border-color: rgba(34, 197, 94, 0.55);
    box-shadow: 0 0 18px 3px rgba(34, 197, 94, 0.10);
  }
}
@property --aurora-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}
@keyframes aurora-spin {
  to { --aurora-angle: 360deg; }
}

.metric-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 13px;
  color: var(--text);
}
.metric-pill .mp-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--accent);
}

/* ─── HERO ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: min(92vh, 880px);
  padding-top: 148px;
  padding-bottom: 88px;
  overflow: hidden;
  isolation: isolate;
}
#gradient-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -3;
  --gradient-color-1: #22c55e;
  --gradient-color-2: #1e40af;
  --gradient-color-3: #6b21a8;
  --gradient-color-4: #0f172a;
  opacity: 0.85;
}
.hero-grid {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 40%, transparent 100%);
}
.hero-fade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 80% 85% at 50% 45%, transparent 0%, var(--bg) 92%),
    linear-gradient(to bottom, transparent 0%, transparent 75%, var(--bg) 100%);
  pointer-events: none;
}
.hero-inner {
  max-width: 880px;
  position: relative;
  z-index: 1;
}
.hero h1 {
  margin-top: 24px;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  letter-spacing: -0.04em;
  line-height: 1.02;
}
.hero h1 .sub-line {
  display: block;
  color: var(--text-soft);
  font-weight: 500;
  margin-top: 8px;
}
.hero .lead { margin-top: 28px; font-size: clamp(1.05rem, 1.5vw, 1.2rem); }
.hero-ctas {
  margin-top: 36px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.hero-pills {
  margin-top: 44px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* Sub-page hero (smaller, no WebGL — used on Leistungsseiten etc.) */
.sub-hero {
  position: relative;
  padding-top: 168px;
  padding-bottom: 96px;
  overflow: hidden;
  isolation: isolate;
}
.sub-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 60% 60% at 20% 20%, rgba(34,197,94,0.12), transparent 60%),
    radial-gradient(ellipse 50% 60% at 90% 80%, rgba(59,130,246,0.10), transparent 60%);
}
/* Sub-hero mit WebGL-Shader (Kontaktseite etc.) — ::before-Fallback ausblenden */
.sub-hero.sub-hero-shader::before { display: none; }
#gradient-canvas-sub {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -3;
  --gradient-color-1: #22c55e;
  --gradient-color-2: #1e40af;
  --gradient-color-3: #6b21a8;
  --gradient-color-4: #0f172a;
  opacity: 0.55;
}
.sub-hero-fade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 75% 65% at 50% 40%, transparent 0%, var(--bg) 85%),
    linear-gradient(to bottom, transparent 0%, transparent 55%, var(--bg) 100%);
  pointer-events: none;
}
.sub-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 70% 80% at 50% 40%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 40%, #000 30%, transparent 100%);
}
.sub-hero .hero-inner { max-width: 820px; }
.sub-hero h1 {
  margin-top: 20px;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  letter-spacing: -0.035em;
  line-height: 1.06;
}

/* ─── SECTION HEADERS ──────────────────────────────────────── */
.section-head {
  margin-bottom: 40px;
  max-width: 760px;
}
.section-head .eyebrow { margin-bottom: 14px; display: block; }
.section-head h2 { margin-bottom: 16px; }

/* ─── STATS / SOCIAL PROOF ─────────────────────────────────── */
.stats {
  border-bottom: 1px solid var(--border);
  padding: var(--section-gap) 0;
}
.stats-head {
  max-width: 720px;
  margin-bottom: 40px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.big-stat {
  padding: 32px 0;
  border-top: 1px solid var(--accent-border);
  position: relative;
}
.big-stat::before {
  content: "";
  position: absolute;
  top: -1px; left: 0;
  width: 28%;
  height: 1px;
  background: var(--accent);
}
.big-stat .num {
  display: block;
  font-family: var(--mono);   /* PROTOTYP: Space Mono für Daten-Zahlen */
  font-size: clamp(2rem, 4.3vw, 3.1rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.04em;
  line-height: 1;
}
.big-stat .num .accent { color: var(--accent); }
.big-stat .label {
  display: block;
  margin-top: 12px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 13px;
  color: var(--text-soft);
  letter-spacing: 0.01em;
}
.stats-close {
  max-width: 640px;
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.65;
  margin: 0;
}
.stats-close strong { color: var(--text); font-weight: 600; }

@media (max-width: 720px) {
  .stats-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* ─── CHART SECTION ────────────────────────────────────────── */
.chart-section { padding-bottom: var(--section-gap); }
.chart-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  position: relative;
  overflow: hidden;
}
.chart-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--accent-border) 30%, transparent 100%);
}
.chart-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 28px;
}
.chart-head .label {
  font-family: var(--sans);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
}
.chart-head .title {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-top: 6px;
}
.chart-tabs {
  display: flex;
  gap: 4px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 4px;
}
.chart-tabs button {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: var(--sans);
  font-weight: 500;
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 6px;
  transition: all 0.15s var(--ease);
}
.chart-tabs button.active {
  background: var(--bg-elevated);
  color: var(--text);
}
.chart-svg-wrap {
  width: 100%;
  overflow: visible;
}
.chart-svg-wrap svg {
  width: 100%;
  height: auto;
  display: block;
}
.chart-legend {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.chart-legend .item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 12px;
  color: var(--text-soft);
}
.chart-legend .item .swatch {
  width: 22px;
  height: 3px;
  border-radius: 2px;
}
.chart-legend .item .swatch.bar { width: 12px; height: 12px; border-radius: 2px; opacity: 0.4; }
.chart-legend .item .swatch.dashed {
  background-image: linear-gradient(90deg, currentColor 50%, transparent 50%);
  background-size: 6px 3px;
}

/* ─── METRIC CARDS ─────────────────────────────────────────── */
.metric-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.metric-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px 22px 18px;
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.metric-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}
.metric-card .label {
  font-family: var(--sans);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  font-weight: 500;
}
.metric-card .value {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: 12px;
}
.metric-card .value .num {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.8rem;
  letter-spacing: -0.02em;
  line-height: 1;
}
.metric-card .delta {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 12px;
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.metric-card .sparkline {
  margin-top: 14px;
  height: 32px;
  width: 100%;
}
.metric-card.green .num,
.metric-card.green .delta { color: var(--accent); }
.metric-card.orange .num,
.metric-card.orange .delta { color: var(--data-orange); }
.metric-card.blue .num,
.metric-card.blue .delta { color: var(--data-blue); }
.metric-card.purple .num,
.metric-card.purple .delta { color: var(--data-purple); }

@media (max-width: 980px) { .metric-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .metric-grid { grid-template-columns: 1fr; } }

/* ─── PROBLEM SECTION ──────────────────────────────────────── */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.problem-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
  position: relative;
}
.problem-card:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.problem-card .pc-num {
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.1em;
}
.problem-card .pc-num::after { content: ""; display: inline-block; width: 20px; height: 1px; background: var(--text-muted); margin-left: 8px; vertical-align: middle; }
.problem-card p {
  margin-top: 16px;
  font-size: 15px;
  color: var(--text);
  line-height: 1.55;
}
.problem-card .pc-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.problem-card .pc-icon svg { width: 16px; height: 16px; }

@media (max-width: 880px) { .problem-grid { grid-template-columns: 1fr !important; } }

/* ─── LEISTUNGEN ───────────────────────────────────────────── */
.leistung-list {
  display: flex;
  flex-direction: column;
}
.leistung-row {
  display: grid;
  grid-template-columns: 80px 1.4fr 2fr auto;
  gap: 32px;
  align-items: start;
  padding: 36px 0;
  border-top: 1px solid var(--border);
}
.leistung-row:last-child { border-bottom: 1px solid var(--border); }
.leistung-row .l-idx {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  padding-top: 4px;
}
.leistung-row h3 {
  font-size: 1.4rem;
  letter-spacing: -0.025em;
}
.leistung-row .l-bold {
  font-family: var(--sans);
  font-weight: 600;
  color: var(--text);
  font-size: 16px;
  margin-bottom: 10px;
  line-height: 1.45;
}
.leistung-row .l-text {
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.6;
}
.leistung-row .l-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  transition: color 0.15s var(--ease);
  font-family: var(--sans);
  font-weight: 500;
  font-size: 13px;
  color: var(--accent);
  transition: opacity 0.15s var(--ease);
}
.leistung-row .l-link:hover,
.leistung-row .l-link:active { color: var(--white); }
.leistung-row .l-cta { align-self: center; }

@media (max-width: 880px) {
  .leistung-row {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 28px 0;
  }
  .leistung-row .l-idx { padding-top: 0; }
  .leistung-row .l-cta { justify-self: start; }
}

/* ─── LEAD-MAGNET / CALC ───────────────────────────────────── */
.calc-section {
  background: linear-gradient(to bottom, transparent 0%, rgba(34,197,94,0.02) 40%, transparent 100%);
}
.calc-card {
  background: var(--bg-card);
  border: 1px solid var(--accent-border);
  border-radius: 18px;
  padding: 40px;
  position: relative;
}
.calc-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  border-radius: 18px 18px 0 0;
  background: linear-gradient(90deg, transparent 0%, var(--accent) 50%, transparent 100%);
}
.calc-grid {
  display: grid;
  grid-template-columns: minmax(180px, 240px) 1fr;
  gap: 40px;
}
.calc-inputs { display: flex; flex-direction: column; gap: 20px; }
.calc-field label {
  display: block;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 12px;
  text-transform: none;
  letter-spacing: 0;
  color: var(--text-soft);
  margin-bottom: 8px;
}
.calc-field .input-wrap {
  position: relative;
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  transition: border-color 0.2s var(--ease);
}
.calc-field .input-wrap:focus-within { border-color: var(--accent); }
.calc-field input {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  padding: 14px 50px 14px 16px;
  color: var(--white);
  font-family: var(--serif);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.02em;
}
.calc-field input[type=number] { -moz-appearance: textfield; }
.calc-field input::-webkit-outer-spin-button,
.calc-field input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.calc-field .unit {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--serif);
  font-weight: 500;
  font-size: 16px;
  color: var(--text-muted);
  pointer-events: none;
}

.calc-outputs {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.calc-out-row { display: flex; flex-direction: column; gap: 4px; }
.calc-out-row .label {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}
.calc-out-row .num {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.9rem;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--text);
}
.calc-out-row.highlight .num {
  color: var(--accent);
  font-size: 2.4rem;
}
.calc-out-row.danger .num {
  color: var(--signal-danger);
  font-size: 2.4rem;
}
.calc-out-row.loss .num { color: var(--signal-danger); }
.calc-out-row.soft-good .num { color: var(--acos-very-good); }
.calc-out-filled { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 24px; }
.calc-loss-hint {
  grid-column: 1 / -1;
  background: var(--signal-warning-dim);
  border: 1px solid var(--signal-warning-border);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 13px;
  color: var(--text-soft);
  line-height: 1.5;
}
.calc-loss-hint strong { color: var(--signal-warning); font-weight: 600; }
.calc-growth-hint {
  grid-column: 1 / -1;
  background: rgba(34, 197, 94, 0.05);
  border: 1px solid var(--accent-border);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 13px;
  color: var(--text-soft);
  line-height: 1.5;
}
.calc-growth-hint strong { color: var(--accent); font-weight: 600; }
.calc-out-full { grid-column: 1 / -1; }
.calc-context-hint {
  font-style: italic;
  color: var(--text-muted);
  font-size: 11.5px;
  line-height: 1.5;
  padding-top: 10px;
  border-top: 1px solid var(--border);
  margin-top: 4px;
}

/* ─── 6-stufiger ACOS-Gradient ───────────────────────────── */
/* < 10 %: Aurora-Outline (Wachstum verschenkt, schillernd statt brav-grün) */
.calc-field .input-wrap.lvl-aurora {
  --aurora-angle: 0deg;
  border: 1px solid transparent;
  background-color: transparent;
  background-image:
    linear-gradient(var(--bg-card), var(--bg-card)),
    conic-gradient(
      from var(--aurora-angle),
      rgba(34, 197, 94, 0.85),
      rgba(59, 130, 246, 0.85),
      rgba(139, 92, 246, 0.85),
      rgba(34, 197, 94, 0.85)
    );
  background-clip: padding-box, border-box;
  background-origin: border-box;
  animation: aurora-spin 6s linear infinite;
}
.calc-field .input-wrap.lvl-aurora input { color: var(--acos-aurora); }
/* 10–15 %: sehr effizient */
.calc-field .input-wrap.lvl-very-good { border-color: rgba(134,239,172,0.55); }
.calc-field .input-wrap.lvl-very-good input { color: var(--acos-very-good); }
/* 15–22 %: Sweet Spot (intensives Grün) */
.calc-field .input-wrap.lvl-good { border-color: rgba(34,197,94,0.55); }
.calc-field .input-wrap.lvl-good input { color: var(--acos-good); }
/* 22–28 %: Sweet-Spot-Edge (Limegrün, knapp über optimal) */
.calc-field .input-wrap.lvl-good-edge { border-color: rgba(163,230,53,0.60); }
.calc-field .input-wrap.lvl-good-edge input { color: var(--acos-good-edge); }
/* 28–38 %: Gelb (Optimierungs-Zone) */
.calc-field .input-wrap.lvl-warn { border-color: rgba(251,191,36,0.65); }
.calc-field .input-wrap.lvl-warn input { color: var(--acos-warn); }
/* 35–50 %: stark warnend */
.calc-field .input-wrap.lvl-warn-strong { border-color: rgba(249,115,22,0.65); }
.calc-field .input-wrap.lvl-warn-strong input { color: var(--acos-warn-strong); }
/* > 50 %: kritisch */
.calc-field .input-wrap.lvl-bad  { border-color: rgba(248,113,113,0.65); }
.calc-field .input-wrap.lvl-bad  input { color: var(--acos-bad); }

/* ─── Mini-Skala unter dem Input ─────────────────────────── */
.calc-scale {
  margin-top: 10px;
  position: relative;
}
.calc-scale-bar {
  height: 6px;
  border-radius: 3px;
  background: linear-gradient(
    to right,
    var(--acos-aurora) 0%,        /* Aurora-Lila <10 % */
    var(--acos-very-good) 14%,    /* Hellgrün 10 % */
    var(--acos-good) 21%,         /* Grün 15 % */
    var(--acos-good) 31%,         /* Grün-Plateau bis 22 % */
    var(--acos-good-edge) 40%,    /* Limegrün 28 % (Sweet-Spot-Edge) */
    var(--acos-warn) 50%,         /* Gelb 35 % */
    var(--signal-warning) 60%,    /* Orange 42 % */
    var(--acos-warn-strong) 75%,  /* Rot-Orange 52 % */
    var(--acos-bad) 100%          /* Rot 70 %+ */
  );
  opacity: 0.6;
}
.calc-scale-marker {
  position: absolute;
  top: -3px;
  width: 2px;
  height: 12px;
  background: var(--text);
  border-radius: 1px;
  transform: translateX(-50%);
  transition: left 0.25s var(--ease, ease-out);
  box-shadow: 0 0 0 2px var(--bg-card);
}
.calc-scale-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

/* ─── CALC FIELD HEADER + TOGGLE ────────────────────────── */
.calc-field-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.calc-field-header label { margin-bottom: 0; }
.calc-toggle-btn {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}
.calc-toggle-btn:hover { color: var(--accent-soft); }
.calc-interpret {
  border-top: 1px solid var(--border);
  padding-top: 14px;
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.65;
  color: var(--text);
  font-style: normal;
  font-weight: 400;
}

/* ─── CALC STEPS (Herleitung) ────────────────────────────── */
.calc-steps {
  border-top: 1px solid var(--border);
  padding-top: 18px;
  margin-top: 6px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.calc-steps-title {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  margin-bottom: 2px;
}
.calc-step {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-family: var(--sans);
  font-size: 12px;
  color: var(--text-muted);
}
.calc-step .cs-label {
  min-width: 88px;
  flex-shrink: 0;
  color: var(--text-muted);
}
.calc-step .cs-eq {
  font-family: var(--serif);
  font-size: 13px;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}
.calc-step .cs-eq b {
  font-weight: 700;
  color: var(--text);
}
.calc-step.cs-result .cs-eq b {
  color: var(--accent);
}

/* ─── CALC TOOLTIPS ──────────────────────────────────────── */
.calc-field label {
  display: flex;
  align-items: center;
  gap: 6px;
}
.calc-tip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  color: var(--text-muted);
  font-size: 0;
  cursor: help;
  position: relative;
  flex-shrink: 0;
}
.calc-tip::before {
  content: "i";
  font-size: 9px;
  font-style: italic;
  font-weight: 700;
  font-family: var(--sans);
  color: var(--text-muted);
  line-height: 1;
}
.calc-tip::after {
  content: attr(data-tip);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: 0;
  padding: 8px 12px;
  border-radius: 8px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s;
  z-index: 20;
  box-shadow: 0 4px 16px rgba(0,0,0,0.18);
}
.calc-tip:hover::after {
  opacity: 1;
}

.calc-email {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px dashed var(--border-strong);
}
.calc-email-head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: space-between;
}
.calc-email-head h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  color: var(--text);
  margin: 0 0 4px;
}
.calc-email-head p {
  font-size: 13px;
  color: var(--text-soft);
  max-width: 44ch;
}
.calc-email-form {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.calc-email-form input {
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  padding: 10px 14px;
  color: var(--text);
  font-size: 13px;
  outline: none;
  min-width: 220px;
}
.calc-email-form input:focus { border-color: var(--accent); }

@media (max-width: 820px) {
  .calc-card { padding: 28px 22px; }
  .calc-grid { grid-template-columns: 1fr; gap: 28px; }
  .calc-out-filled { grid-template-columns: 1fr; }
  .calc-email-form { width: 100%; flex-direction: column; }
  .calc-email-form input { width: 100%; min-width: 0; }
  .calc-email-form .btn { width: 100%; justify-content: center; }
}

/* ─── ÜBER MICH ────────────────────────────────────────────── */
.ueber {
  background: linear-gradient(to bottom, transparent 0%, rgba(255,255,255,0.01) 50%, transparent 100%);
}
.ueber-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 80px;
  align-items: center;
}
.ueber-text .p1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  letter-spacing: -0.02em;
  line-height: 1.5;
  color: var(--white);
  margin-top: 24px;
  max-width: 44ch;
}
.ueber-text p {
  margin-top: 22px;
  color: var(--text-soft);
  font-size: 16px;
  line-height: 1.65;
  max-width: 56ch;
}
.ueber-actions {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
.ueber-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 14px;
  color: var(--accent);
  transition: color 0.15s var(--ease);
}
.ueber-link:hover,
.ueber-link:active { color: var(--white); }
.linkedin-badge {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px 14px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  text-decoration: none;
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
  max-width: 100%;
}
.linkedin-badge:hover {
  border-color: var(--accent-border);
  transform: translateY(-1px);
}
.linkedin-badge:hover .li-cta { color: var(--white); }
.linkedin-badge svg { flex-shrink: 0; }
.linkedin-badge .li-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.linkedin-badge .li-name {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 14px;
  color: var(--text);
  letter-spacing: -0.01em;
}
.linkedin-badge .li-sub {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--text-soft);
}
.linkedin-badge .li-cta {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s var(--ease);
  color: var(--accent);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.linkedin-badge .li-cta .arrow { color: var(--accent); }
.linkedin-badge .li-divider {
  width: 1px;
  align-self: stretch;
  background: var(--border-strong);
  margin: 0 4px;
}
@media (max-width: 480px) {
  .linkedin-badge { flex-wrap: wrap; }
  .linkedin-badge .li-divider { display: none; }
}
.ueber-portrait {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid rgba(34,197,94,0.22);
  display: block;
  text-decoration: none;
  min-height: 360px;
}
.ueber-portrait::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, rgba(34,197,94,0.7) 30%, rgba(34,197,94,0.7) 70%, transparent 100%);
  opacity: 0.75;
  z-index: 3;
}
.ueber-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  filter: brightness(0.92) contrast(1.04);
  transition: transform 0.5s var(--ease);
}
.ueber-portrait:hover img {
  transform: scale(1.05);
}
.ueber-portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 55%, rgba(14,17,23,0.78) 100%),
    radial-gradient(ellipse at 50% 32%, transparent 45%, rgba(14,17,23,0.45) 100%);
  pointer-events: none;
}
.ueber-portrait .caption {
  position: absolute;
  left: 20px; bottom: 18px;
  z-index: 2;
  display: flex; flex-direction: column;
  gap: 2px;
}
.ueber-portrait .caption .name {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.01em;
  color: var(--white);
}
.ueber-portrait .caption .role {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--text-soft);
}
.ueber-portrait .corner {
  position: absolute;
  top: 16px; right: 16px;
  z-index: 2;
  width: 28px; height: 28px;
  border-radius: 7px;
  background: var(--accent);
  color: #071a0e;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-family: var(--serif);
  transition: transform 0.5s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease);
}
.ueber-portrait:hover .corner {
  transform: scale(1.2);
  background: var(--white);
  color: #071a0e;
}

@media (max-width: 920px) {
  .ueber-grid { grid-template-columns: 1fr; gap: 48px; }
  .ueber-portrait { width: 100%; max-width: 100%; height: 340px; }
}

/* ─── ABLAUF / STEPS ───────────────────────────────────────── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  position: relative;
}
.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px 28px;
  position: relative;
}
.step-card .s-idx {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.step-card .s-idx::before {
  content: "";
  width: 24px; height: 1px;
  background: var(--accent);
}
.step-card h3 {
  margin-top: 18px;
  font-size: 1.25rem;
}
.step-card .duration {
  font-family: var(--serif);
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}
.step-card p {
  color: var(--text-soft);
  font-size: 14.5px;
  line-height: 1.6;
  margin-top: 18px;
}
@media (max-width: 880px) { .steps-grid { grid-template-columns: 1fr; } }

/* Step accordion (auf Leistungsseiten — klickbar) */
.step-acc {
  cursor: pointer;
}
.step-acc .step-desc-wrap {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.32s var(--ease), margin-top 0.32s var(--ease);
  margin-top: 0;
}
.step-acc.open .step-desc-wrap {
  grid-template-rows: 1fr;
  margin-top: 18px;
}
.step-acc .step-desc-inner { overflow: hidden; }
.step-acc .step-desc {
  color: var(--text-soft);
  font-size: 14.5px;
  line-height: 1.6;
  transform: translateY(-6px);
  opacity: 0;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.step-acc.open .step-desc { transform: translateY(0); opacity: 1; }
.step-acc .step-toggle {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.step-acc .step-toggle .chev {
  display: inline-block;
  transition: transform 0.3s var(--ease);
}
.step-acc.open .step-toggle .chev { transform: rotate(180deg); }

/* ─── ZERTIFIKATE ──────────────────────────────────────────── */
.certs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.cert-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.cert-card--green {
  border-color: var(--accent-border);
}
.cert-card--aurora {
  --aurora-angle: 0deg;
  border: 1px solid transparent;
  background-color: transparent;
  background-image:
    linear-gradient(var(--bg-card), var(--bg-card)),
    conic-gradient(
      from var(--aurora-angle),
      rgba(34, 197, 94, 0.85),
      rgba(59, 130, 246, 0.85),
      rgba(139, 92, 246, 0.85),
      rgba(34, 197, 94, 0.85)
    );
  background-clip: padding-box, border-box;
  background-origin: border-box;
  animation: aurora-spin 6s linear infinite;
}
.cert-badge {
  flex-shrink: 0;
  width: 56px; height: 56px;
  border-radius: 12px;
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
}
.cert-badge svg { width: 26px; height: 26px; }
.cert-card .cert-name {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 15px;
  color: var(--white);
  letter-spacing: -0.01em;
  line-height: 1.35;
}
.cert-card .cert-text {
  margin-top: 10px;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.6;
}
@media (max-width: 720px) { .certs-grid { grid-template-columns: 1fr; } }

/* ─── FAQ ──────────────────────────────────────────────────── */
.faq-list { display: flex; flex-direction: column; }
.faq-item {
  border-top: 1px solid var(--border);
}
.faq-item:last-child { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%;
  background: none;
  border: none;
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  text-align: left;
  color: var(--text);
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  letter-spacing: -0.015em;
  cursor: pointer;
  transition: color 0.2s var(--ease);
}
.faq-q:hover { color: var(--accent); }
.faq-q:hover .plus { color: var(--accent); }
.faq-q .plus {
  flex-shrink: 0;
  width: 24px; height: 24px;
  position: relative;
  color: var(--text-muted);
}
.faq-q .plus::before,
.faq-q .plus::after {
  content: "";
  position: absolute;
  background: currentColor;
  transition: transform 0.3s var(--ease);
}
.faq-q .plus::before { top: 11px; left: 4px; right: 4px; height: 1.5px; }
.faq-q .plus::after  { left: 11px; top: 4px; bottom: 4px; width: 1.5px; }
.faq-item.open .faq-q { color: var(--accent); }
.faq-item.open .faq-q .plus { color: var(--accent); }
.faq-item.open .faq-q .plus::after { transform: rotate(90deg); }
.faq-a-wrap {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.32s var(--ease);
}
.faq-item.open .faq-a-wrap { grid-template-rows: 1fr; }
.faq-a-inner { overflow: hidden; }
.faq-a {
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.65;
  padding: 0 0 24px;
  max-width: 70ch;
}

.faq-all-link {
  color: var(--accent);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.05em;
  transition: color 0.15s var(--ease);
}
.faq-all-link:hover,
.faq-all-link:active { color: var(--white); }

/* ─── FINAL CTA (mit WebGL Shader Background) ──────────────── */
.final-cta {
  text-align: center;
  padding: var(--section-gap) 0;
  border-top: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.final-cta::before {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.6;
  z-index: 1;
}
#gradient-canvas-cta {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -3;
  --gradient-color-1: #22c55e;
  --gradient-color-2: #1e40af;
  --gradient-color-3: #6b21a8;
  --gradient-color-4: #0f172a;
  opacity: 0.55;
}

/* ─── SHADER-VARIANTEN (Design-Tests) ─────────────────────────────────────
   Zum Testen im Browser: data-shader="A" auf <html> setzen + reload.
   Original (kein Attribut): Grün + Tiefblau + Violett + Dunkel.

   Variante A  Grün + Orange + Violett + Dunkel  (warm, energetisch)
   Variante B  Grün + Orange + Tiefblau + Dunkel (warm-kalt-Kontrast, kein Violett)
   Variante C  Orange-Glut + Grün + Tiefblau + Dunkel (Orange glüht als Basis durch)
   ─────────────────────────────────────────────────────────────────────────── */

[data-shader="A"] #gradient-canvas,
[data-shader="A"] #gradient-canvas-sub,
[data-shader="A"] #gradient-canvas-cta {
  --gradient-color-1: #22c55e;
  --gradient-color-2: #ea580c;
  --gradient-color-3: #6b21a8;
  --gradient-color-4: #0f172a;
}

[data-shader="B"] #gradient-canvas,
[data-shader="B"] #gradient-canvas-sub,
[data-shader="B"] #gradient-canvas-cta {
  --gradient-color-1: #22c55e;
  --gradient-color-2: #f97316;
  --gradient-color-3: #1e40af;
  --gradient-color-4: #0f172a;
}

[data-shader="C"] #gradient-canvas,
[data-shader="C"] #gradient-canvas-sub,
[data-shader="C"] #gradient-canvas-cta {
  --gradient-color-1: #c2410c;
  --gradient-color-2: #22c55e;
  --gradient-color-3: #1e40af;
  --gradient-color-4: #0f172a;
}

.cta-fade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 80% 70% at 50% 50%, transparent 0%, var(--bg) 85%),
    linear-gradient(to bottom, var(--bg) 0%, transparent 20%, transparent 80%, var(--bg) 100%);
  pointer-events: none;
}
/* Kontakt-Cards im CTA: links-bündig statt zentriert geerbt */
.final-cta .kontakt-card { text-align: left; }
.final-cta .kontakt-card .k-label,
.final-cta .kontakt-card .k-sub { text-align: left; }
.final-cta .eyebrow { margin-bottom: 20px; }
.final-cta h2 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  letter-spacing: -0.04em;
}
.final-cta .lead { margin: 24px auto 0; }
.final-cta-buttons {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.final-cta .trust {
  margin-top: 36px;
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  font-family: var(--sans);
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}
.final-cta .trust span { display: inline-flex; align-items: center; gap: 7px; }
.final-cta .trust span::before {
  content: ""; width: 4px; height: 4px; border-radius: 50%;
  background: var(--accent);
}

/* ─── FOOTER ───────────────────────────────────────────────── */
.footer {
  padding: 36px 0 56px;
  border-top: 1px solid var(--border);
}
.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-brand {
  display: flex; align-items: center; gap: 14px;
}
.footer-brand img { height: 28px; }
.footer-brand .copy {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--text-muted);
}
.footer-links {
  display: flex;
  gap: 24px;
}
.footer-links a {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--text-muted);
  transition: color 0.2s var(--ease);
}
.footer-links a:hover { color: var(--text); }

/* ─── REVEAL ANIMATIONS ────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  transition-delay: var(--reveal-delay, 0s);
}
.reveal.in { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .badge .dot { animation: none; box-shadow: 0 0 0 3px rgba(34,197,94,0.18); }
  .ueber-portrait { animation: none; }
  .stats-founder-card { animation: none; border-color: var(--border); }
}

/* ─── SECTION DIVIDER (NORTHEAST ARROW MOTIF) ──────────────── */
.divider {
  display: flex; align-items: center; gap: 14px;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  color: var(--accent);
  opacity: 0.6;
}
.divider .line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-border), transparent);
}
.divider .ar { font-size: 14px; }

/* ─── CONTENT-SECTION (auf Leistungsseiten/Über-mich) ──────── */
.content-section { padding: var(--section-gap) 0; }
.content-section .wrap { max-width: 880px; }
.content-section h2 { margin-bottom: 24px; }
.content-section h3 {
  margin-top: 40px;
  margin-bottom: 14px;
  font-size: 1.2rem;
  color: var(--white);
}
.content-section p {
  color: var(--text-soft);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 18px;
  max-width: 72ch;
}
.content-section ul {
  color: var(--text-soft);
  font-size: 16px;
  line-height: 1.7;
  padding-left: 20px;
  margin: 0 0 22px;
  max-width: 72ch;
}
.content-section ul li { margin-bottom: 8px; }
.content-section ul li::marker { color: var(--accent); }
.content-section a:not(.btn):not(.l-link):not(.ueber-link) {
  color: var(--accent);
  border-bottom: 1px solid var(--accent-border);
  transition: border-color 0.15s var(--ease);
}
.content-section a:not(.btn):not(.l-link):not(.ueber-link):hover {
  border-color: var(--accent);
}

/* Highlight-Box (Frameworks, Quotes auf Leistungsseiten) */
.highlight-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 8px;
  padding: 24px 28px;
  margin: 28px 0 28px;
}
.highlight-box .label {
  font-family: var(--sans);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 12px;
  display: block;
}
.highlight-box p { margin: 0; color: var(--text); }
.highlight-box p + p { margin-top: 12px; }
.text-warning { color: var(--signal-warning); }   /* Inline-Signal: Verlust/Geld in Gefahr */

/* Framework-Layer-Cards (4-Layer-Audit, Flywheel etc.) */
.layer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 32px 0;
}
.layer-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px 26px;
}
.layer-card .l-num {
  font-family: var(--serif);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.layer-card h4 {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 600;
  margin: 10px 0 10px;
  letter-spacing: -0.015em;
  color: var(--white);
}
.layer-card p {
  color: var(--text-soft);
  font-size: 14.5px;
  line-height: 1.6;
  margin: 0;
}
@media (max-width: 720px) { .layer-grid { grid-template-columns: 1fr; } }

/* ─── COOKIE BANNER ───────────────────────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: 16px;
  z-index: 9999;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  padding: 18px 22px;
  display: none;
  box-shadow: 0 16px 48px rgba(0,0,0,0.5);
  max-width: 720px;
  margin: 0 auto;
}
.cookie-banner.show { display: block; }
.cookie-banner-grid {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: space-between;
}
.cookie-banner p {
  font-size: 13px;
  color: var(--text-soft);
  line-height: 1.5;
  margin: 0;
  flex: 1 1 320px;
}
.cookie-banner p a {
  color: var(--accent);
  border-bottom: 1px solid var(--accent-border);
}
.cookie-banner-buttons {
  display: flex; gap: 8px; flex-shrink: 0;
}

/* ─── HERO REASSURE ───────────────────────────────────────── */
.hero-reassure {
  margin-top: 14px;
  font-family: var(--sans);
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.01em;
  max-width: 60ch;
}

/* ─── PROBLEM-CARDS Override (2-col Grid statt 3-col) ─────── */
.problem-card .pc-num {
  display: block;
  margin-bottom: 10px;
}
.problem-card p {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.45;
  color: var(--text);
  letter-spacing: -0.015em;
}

/* ─── VERGLEICH ───────────────────────────────────────────── */
.vergleich-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.vergleich-col {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px 28px;
}
.vergleich-col.vergleich-me {
  border-color: var(--accent-border);
  border-left: 3px solid var(--accent);
}
.vergleich-head {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 20px;
}
.vergleich-me .vergleich-head { color: var(--accent); }
.vergleich-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.vergleich-col li {
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.55;
  padding-left: 22px;
  position: relative;
}
.vergleich-col li::before {
  content: "·";
  position: absolute;
  left: 8px;
  top: 0;
  color: var(--text-muted);
  font-size: 18px;
  line-height: 1;
}
.vergleich-me li::before { color: var(--accent); }
.vergleich-me li { color: var(--text); }

@media (max-width: 720px) {
  .vergleich-grid { grid-template-columns: 1fr; }
}

/* ─── CASE STUDIES ────────────────────────────────────────── */
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.case-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.case-card:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.case-cat {
  font-family: var(--sans);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 18px;
}
.case-stat-big {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(2.2rem, 3.5vw, 2.8rem);
  letter-spacing: -0.04em;
  color: var(--accent);
  line-height: 1;
}
.case-stat-label {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--text-soft);
  margin-top: 6px;
}
.case-stat-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.case-before {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 18px;
  color: var(--text-muted);
  text-decoration: line-through;
  text-decoration-color: var(--text-muted);
}
.case-arr {
  font-family: var(--serif);
  color: var(--text-muted);
  font-size: 14px;
}
.case-after {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 22px;
  color: var(--accent);
  letter-spacing: -0.02em;
}
.case-stat-sub {
  font-family: var(--sans);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  margin-left: auto;
}
.case-note {
  margin-top: 10px;
  font-family: var(--serif);
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.04em;
}
.case-context {
  margin-top: 18px;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.6;
}
@media (max-width: 980px) { .case-grid { grid-template-columns: 1fr; } }

/* ─── KONTAKT-GRID ────────────────────────────────────────── */
.kontakt-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.kontakt-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-decoration: none;
}
.kontakt-card:hover {
  border-color: var(--accent-border);
  transform: translateY(-2px);
}
/* Primary CTA Card: knalliges Brand-Grün */
.kontakt-card-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #071a0e;
}
.kontakt-card-primary {
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.kontakt-card-primary:hover {
  background: var(--white);
  border-color: var(--white);
  transform: translateY(-3px);
}
.kontakt-card.kontakt-card-primary .k-icon {
  background: rgba(0,0,0,0.18);
  border-color: rgba(0,0,0,0.24);
  color: #071a0e;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}
.kontakt-card.kontakt-card-primary .k-label { color: #071a0e; font-weight: 700; transition: color 0.2s var(--ease); }
.kontakt-card.kontakt-card-primary .k-sub { color: #0d2614; font-weight: 500; transition: color 0.2s var(--ease); }
.kontakt-card.kontakt-card-primary .k-arrow { color: #071a0e; transition: color 0.2s var(--ease); }
.kontakt-card .k-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  margin-bottom: 12px;
}
.kontakt-card .k-icon svg { width: 18px; height: 18px; }
.kontakt-card .k-label {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text);
  letter-spacing: -0.015em;
}
.kontakt-card .k-sub {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--text-soft);
}
.kontakt-card .k-arrow {
  position: absolute;
  top: 22px;
  right: 22px;
  font-size: 18px;
  color: var(--accent);
  transition: transform 0.2s var(--ease);
}
.kontakt-card:hover .k-arrow { transform: translate(2px, -2px); }
@media (max-width: 880px) { .kontakt-grid { grid-template-columns: 1fr; } }

/* ─── KONTAKT-FORMULAR ────────────────────────────────────── */
.form-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 44px;
  position: relative;
  overflow: hidden;
}
.form-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-border) 30%, transparent 100%);
}
.form-head { margin-bottom: 32px; }
.form-head .eyebrow { display: block; }

.kontakt-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-field label {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  padding: 13px 16px;
  color: var(--text);
  font-family: var(--sans);
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s var(--ease);
}
.form-field textarea {
  font-family: var(--sans);
  resize: vertical;
  min-height: 140px;
  line-height: 1.55;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--accent);
}
.form-field select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23a0a0a0' stroke-width='1.6'><polyline points='3,6 8,11 13,6'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 14px;
  padding-right: 40px;
}
.field-error {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--signal-danger);
}
.field-error:empty { display: none; }

.form-submit {
  align-self: flex-start;
  margin-top: 8px;
}
.form-fineprint {
  margin-top: 8px;
  font-family: var(--sans);
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}
.form-fineprint a {
  color: var(--accent);
  border-bottom: 1px solid var(--accent-border);
}

.form-success {
  display: none;
  margin-bottom: 24px;
  padding: 16px 20px;
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  border-radius: 10px;
  color: var(--accent);
  font-weight: 500;
  font-size: 15px;
}
.form-success[data-fs-success].show,
.form-success[data-fs-success]:not(:empty)[data-visible="true"] { display: block; }
form[data-fs-form-success] ~ .form-success { display: block; }

.form-error {
  display: none;
  margin-bottom: 16px;
  padding: 14px 18px;
  background: rgba(239,68,68,0.08);
  border: 1px solid rgba(239,68,68,0.24);
  border-radius: 10px;
  color: #fca5a5;
  font-size: 14px;
}
.form-error:not(:empty) { display: block; }

@media (max-width: 720px) {
  .form-card { padding: 28px 22px; }
}

/* Dezenter "Lieber per Formular?"-Link unter den Kontakt-Cards */
.kontakt-form-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 28px auto 0;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 13px;
  color: var(--text-soft);
  letter-spacing: 0.04em;
}
.kontakt-form-link:hover { color: var(--accent); }
.kontakt-form-link .arrow { color: var(--accent); }

/* ─── SEO-FOOTER (Sitemap 4-spaltig + Fließtext) ──────────── */
.seo-footer {
  border-top: 1px solid var(--border);
  padding: 64px 0 56px;
  background: var(--bg);
}
.seo-footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}
.seo-footer-col h3 {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin: 0 0 18px;
}
.seo-footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.seo-footer-col li { margin-bottom: 10px; }
.seo-footer-col li:last-child { margin-bottom: 0; }
.seo-footer-col a {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--text-soft);
  text-decoration: none;
  transition: color 0.15s var(--ease);
}
.seo-footer-col a:hover { color: var(--accent); }
.seo-footer-col .coming {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--text-muted);
  opacity: 0.6;
}
.seo-footer-text {
  max-width: 1100px;
  margin: 56px auto 0;
  padding-top: 36px;
  border-top: 1px solid var(--border);
}
.seo-footer-text p {
  font-family: var(--sans);
  font-size: 12.5px;
  line-height: 1.75;
  color: var(--text-muted);
  margin: 0;
}
.seo-footer-text p + p { margin-top: 14px; }
.seo-footer-text strong {
  color: var(--text-soft);
  font-weight: 500;
}
.seo-footer-text a {
  color: var(--text-soft);
  border-bottom: 1px solid var(--border-strong);
  transition: color 0.15s var(--ease), border-color 0.15s var(--ease);
}
.seo-footer-text a:hover { color: var(--accent); border-color: var(--accent); }
@media (max-width: 900px) {
  .seo-footer-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 32px; }
}
@media (max-width: 540px) {
  .seo-footer-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* ─── LEGAL-SEITEN (Impressum/Datenschutz) ────────────────── */
.legal-section { padding: 140px 0 96px; }
.legal-section .wrap { max-width: 760px; }
.legal-section h1 { margin-bottom: 32px; }
.legal-section h2 {
  font-size: 1.3rem;
  margin: 40px 0 14px;
  letter-spacing: -0.02em;
}
.legal-section h3 {
  font-size: 1.05rem;
  margin: 24px 0 10px;
  color: var(--white);
}
.legal-section p,
.legal-section ul {
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 16px;
}
.legal-section ul { padding-left: 22px; }
.legal-section ul li { margin-bottom: 6px; }
.legal-section a {
  color: var(--text-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--border-strong);
}
.legal-section a:hover { color: var(--text); }

/* ─── PREISSEITE ───────────────────────────────────────────── */
.pk-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.pk-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.pk-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}
.pk-card.pk-featured {
  --aurora-angle: 0deg;
  position: relative;
  border: 1px solid transparent;
  background-color: transparent;
  background-image:
    linear-gradient(160deg, rgba(34,197,94,0.06) 0%, var(--bg-card) 55%),
    conic-gradient(
      from var(--aurora-angle),
      rgba(34, 197, 94, 0.85),
      rgba(59, 130, 246, 0.85),
      rgba(139, 92, 246, 0.85),
      rgba(34, 197, 94, 0.85)
    );
  background-clip: padding-box, border-box;
  background-origin: border-box;
  animation: aurora-spin 6s linear infinite;
}
.pk-badge {
  position: absolute;
  top: 28px;
  right: 28px;
  display: inline-flex;
  align-items: center;
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  color: var(--accent);
  font-size: 10px;
  font-weight: 600;
  font-family: var(--serif);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 100px;
}
.pk-name {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--white);
  letter-spacing: -0.02em;
}
.pk-desc {
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.6;
  margin-top: 8px;
}
.pk-price {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 2.4rem;
  color: var(--white);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-top: 24px;
}
.pk-price .pk-unit {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0;
  vertical-align: middle;
}
.pk-features {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.pk-features li {
  font-size: 13px;
  color: var(--text-soft);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}
.pk-features li::before {
  content: "↗";
  color: var(--accent);
  font-size: 12px;
  flex-shrink: 0;
  margin-top: 1px;
}
.pk-cta { margin-top: 28px; }
.pk-note {
  margin: 40px auto 0;
  max-width: 720px;
  padding: 24px 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.7;
  text-align: left;
}
.pk-once-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 56px;
}
.pk-once-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 32px;
  transition: border-color 0.2s var(--ease);
}
.pk-once-card:hover { border-color: var(--border-strong); }
.pk-once-name {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--white);
  letter-spacing: -0.02em;
}
.pk-once-price {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.8rem;
  color: var(--accent);
  letter-spacing: -0.03em;
  margin-top: 12px;
}
.pk-once-sub {
  font-size: 12px;
  color: var(--text-muted);
  font-family: var(--sans);
  margin-top: 2px;
}
.pk-once-desc {
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.6;
  margin-top: 14px;
}
.pk-onboarding {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.01em;
}
.pk-onboarding strong {
  color: var(--text-soft);
  font-weight: 600;
}
.pk-spend {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 8px;
  letter-spacing: 0.02em;
}
.pk-audit-tiers {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 14px;
  margin-bottom: 4px;
}
.pk-audit-tiers div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  font-size: 12px;
}
.pk-audit-tiers div span:first-child {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--text-soft);
  white-space: nowrap;
}
.pk-audit-tiers div span:last-child {
  color: var(--text-muted);
  text-align: right;
}
.pk-group-def {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  line-height: 1.55;
}
@media (max-width: 920px) {
  .pk-grid { grid-template-columns: 1fr; }
  .pk-once-grid { grid-template-columns: 1fr; }
}

/* ─── Paket-Vergleichstabelle ──────────────────────────────── */
.pk-matrix-head { margin-top: 72px; text-align: center; }
.pk-matrix-head h3 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--white);
  letter-spacing: -0.02em;
}
.pk-matrix-head p { color: var(--text-soft); font-size: 14px; margin: 8px 0 0; }
.pk-matrix-wrap {
  margin: 28px auto 0;
  max-width: 1100px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--bg-card);
}
.pk-matrix {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-family: var(--sans);
}
.pk-matrix th, .pk-matrix td {
  padding: 13px 18px;
  text-align: center;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  color: var(--text-soft);
  vertical-align: middle;
}
.pk-matrix tbody tr:last-child th,
.pk-matrix tbody tr:last-child td { border-bottom: none; }
.pk-matrix thead th {
  font-family: var(--serif);
  font-weight: 700;
  color: var(--white);
  font-size: 15px;
  border-bottom: 1px solid var(--border-strong);
  background: var(--bg-card);
}
.pk-matrix th[scope="row"] {
  text-align: left;
  color: var(--text);
  font-weight: 500;
  font-family: var(--sans);
  font-size: 14px;
}
.pk-matrix thead th:first-child {
  text-align: left;
}
.pk-matrix .pk-m-feat { background: rgba(34, 197, 94, 0.05); }
.pk-matrix thead th.pk-m-feat { background: var(--accent-dim); color: var(--accent); }
.pk-m-rec {
  display: block;
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 2px;
}
.pk-matrix td.pk-m-yes { color: var(--accent); font-weight: 700; font-size: 15px; }
.pk-matrix td.pk-m-val { color: var(--text); font-weight: 500; }
.pk-m-no::before {
  content: "";
  display: inline-block;
  width: 12px;
  height: 2px;
  border-radius: 1px;
  background: var(--text-muted);
  vertical-align: middle;
}
.pk-matrix .calc-tip { margin-left: 5px; vertical-align: middle; }
.pk-matrix .calc-tip::after { white-space: normal; width: 220px; left: 0; transform: none; text-align: left; }
.pk-matrix td:nth-child(n+3) .calc-tip::after { left: auto; right: 0; }
.pk-matrix-foot {
  margin: 16px auto 0;
  max-width: 720px;
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}
.pk-matrix-more {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.32s var(--ease);
}
.pk-matrix-more.open { max-height: 2000px; }
.pk-matrix-cont { border-top: 1px solid var(--border-strong); }
.pk-matrix-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 18px auto 0;
  padding: 10px 22px;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: 100px;
  color: var(--text);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.pk-matrix-toggle:hover { border-color: var(--accent-border); color: var(--accent); }
.pk-matrix-toggle .chev { transition: transform 0.3s var(--ease); font-size: 13px; line-height: 1; }
.pk-matrix-toggle[aria-expanded="true"] .chev { transform: rotate(180deg); }
.pk-matrix-toggle .pk-matrix-toggle-less { display: none; }
.pk-matrix-toggle[aria-expanded="true"] .pk-matrix-toggle-more { display: none; }
.pk-matrix-toggle[aria-expanded="true"] .pk-matrix-toggle-less { display: inline; }
@media (max-width: 720px) {
  .pk-matrix-head { margin-top: 56px; }
  .pk-matrix th, .pk-matrix td { padding: 11px 13px; font-size: 13px; }
  .pk-matrix th[scope="row"] { font-size: 13px; }
  .pk-matrix .calc-tip::after { width: 170px; }
  /* Auf schmalen Screens horizontal scrollen statt hart umbrechen */
  .pk-matrix-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .pk-matrix { min-width: 640px; }
  /* Aufgeklappter Teil laeuft im selben Scroll-Container wie die obere Tabelle, damit beide synchron scrollen und die Spalten ausgerichtet bleiben */
  .pk-matrix-more { min-width: 640px; }
}

/* ─── SERVICE-SEITEN (Leistungsseiten) ──────────────────────── */
.incl-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.incl-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 24px;
  transition: border-color 0.2s var(--ease);
}
.incl-item:hover { border-color: var(--accent-border); }
.incl-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
  font-size: 15px;
  line-height: 1;
}
.incl-body { display: flex; flex-direction: column; gap: 4px; }
.incl-name {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 14px;
  color: var(--white);
}
.incl-desc {
  font-size: 13px;
  color: var(--text-soft);
  line-height: 1.55;
}
.service-for-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 32px;
}
.service-for-item {
  padding: 18px 22px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.service-for-item::before {
  content: "✓";
  color: var(--accent);
  font-weight: 600;
  flex-shrink: 0;
}
@media (max-width: 720px) {
  .incl-grid { grid-template-columns: 1fr; }
  .service-for-grid { grid-template-columns: 1fr; }
}

/* ─── BLOG ÜBERSICHT ───────────────────────────────────────── */
.blog-list { display: flex; flex-direction: column; margin-top: 56px; }
.blog-card { display: block; padding: 40px 0; border-bottom: 1px solid var(--border); text-decoration: none; color: inherit; transition: opacity 0.2s; }
.blog-card:first-child { border-top: 1px solid var(--border); }
.blog-card:hover { opacity: 0.75; }
.blog-card-meta { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 12px; }
.blog-card-title { font-family: var(--serif); font-size: clamp(22px, 2.8vw, 34px); font-weight: 700; color: var(--text); line-height: 1.2; margin: 0 0 12px; }
.blog-card-teaser { font-size: 16px; color: var(--text-muted); line-height: 1.6; margin: 0 0 16px; max-width: 60ch; }
.blog-card-link { font-size: 14px; color: var(--accent); }

/* ─── BLOGARTIKEL ──────────────────────────────────────────── */
.article-section,
.list-section { padding: 80px 0 120px; }   /* Content-/Listen-Hub-Sektionen */
.lead-magnet-cta { padding: 0 0 64px; }       /* Lead-Magnet-Block am Ende der Leistungsseiten */
.article-wrap { max-width: 720px; margin: 0 auto; padding: 0 24px; }
.article-meta-line { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); margin: 0 0 24px; }
.article-meta-line a { color: var(--accent); text-decoration: none; }
.article-h1 { font-family: var(--serif); font-size: clamp(34px, 5vw, 60px); font-weight: 700; line-height: 1.1; color: var(--text); margin: 0 0 20px; }
.article-lede { font-family: var(--serif); font-style: italic; font-size: clamp(18px, 2vw, 24px); color: var(--accent); line-height: 1.4; margin: 0 0 48px; padding-bottom: 40px; border-bottom: 1px solid var(--border); }
.glossar-lede { font-size: clamp(17px, 1.4vw, 20px); color: var(--text); line-height: 1.6; margin: 0 0 40px; padding-bottom: 32px; border-bottom: 1px solid var(--border); }
.article-body h2 { font-family: var(--serif); font-size: clamp(22px, 2.5vw, 34px); font-weight: 700; color: var(--text); margin: 56px 0 16px; line-height: 1.2; }
.article-body p { font-size: 17px; line-height: 1.74; color: var(--text-soft); margin: 0 0 20px; }
.article-body p strong { color: var(--text); }
.article-body ul { list-style: none; padding: 0; margin: 16px 0 24px; }
.article-body ul li { position: relative; padding-left: 20px; font-size: 17px; line-height: 1.72; color: var(--text-soft); margin-bottom: 10px; }
.article-body ul li::before { content: "↗"; position: absolute; left: 0; color: var(--accent); font-size: 13px; top: 3px; }
.article-body a,
.incl-desc a,
.service-for-item a { color: var(--text-soft); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--border-strong); }
.article-body a:hover,
.incl-desc a:hover,
.service-for-item a:hover { color: var(--text); text-decoration-color: var(--text-soft); }
.compare-table-wrap { overflow-x: auto; margin: 32px 0; border-radius: 12px; border: 1px solid var(--border); }
.compare-table { width: 100%; border-collapse: collapse; }
.compare-table th { text-align: left; padding: 12px 16px; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-muted); border-bottom: 1px solid var(--border); background: var(--bg-card); }
.compare-table td { padding: 14px 16px; font-size: 14px; border-bottom: 1px solid var(--border); vertical-align: top; color: var(--text-soft); }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table .pro { color: var(--accent); }
.compare-table .con { color: #f87171; }
.compare-table .neutral { color: var(--text-muted); }
.highlight-box { background: var(--accent-dim); border: 1px solid var(--accent-border); border-radius: 12px; padding: 24px 28px; margin: 32px 0; }
.highlight-box p { margin: 0; color: var(--text); font-size: 16px; line-height: 1.65; }
.article-faq { margin: 48px 0; }
.article-faq-item { padding: 24px 0; border-bottom: 1px solid var(--border); }
.article-faq-item:first-child { border-top: 1px solid var(--border); }
.article-faq-q { font-weight: 600; color: var(--text); font-size: 16px; margin: 0 0 10px; }
.article-faq-a { color: var(--text-soft); font-size: 16px; line-height: 1.65; margin: 0; }
.author-block { display: flex; align-items: flex-start; gap: 20px; margin-top: 64px; padding-top: 40px; border-top: 1px solid var(--border); }
.author-avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--accent-dim); border: 1px solid var(--accent-border); display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 20px; color: var(--accent); flex-shrink: 0; }
.author-name { font-weight: 600; color: var(--text); font-size: 15px; margin: 0 0 4px; }
.author-desc { color: var(--text-muted); font-size: 14px; line-height: 1.6; margin: 0; }

@media (max-width: 680px) {
  .compare-table-wrap { margin: 24px -24px; border-radius: 0; border-left: none; border-right: none; }
}

/* ─── STATS MAIN (text + founder card side-by-side) ─────────── */
.stats-main {
  display: flex;
  gap: 32px;
  align-items: stretch;
  justify-content: space-between;
  margin-top: 56px;
}
.stats-close {
  min-width: 0;
  align-self: flex-start;
}
.stats-founder-card {
  flex-shrink: 0;
  width: 399px;
  background: var(--bg-card);
  border: 1px solid rgba(34, 197, 94, 0.22);
  border-radius: 16px;
  padding: 24px 28px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  text-align: left;
  animation: aurora-border 6s ease-in-out infinite;
}
.stats-founder-img {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  border: 2px solid var(--accent-border);
}
.stats-founder-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.stats-founder-meta strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  line-height: 1.3;
}
.stats-founder-meta span {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
}
.stats-founder-link {
  font-size: 12px;
  color: var(--accent);
  font-weight: 500;
  transition: color 0.2s var(--ease);
  margin-top: 2px;
}
.stats-founder-link:hover,
.stats-founder-link:active { color: var(--white); }
@media (max-width: 720px) {
  .stats-main { flex-direction: column; }
  .stats-founder-card {
    width: 100%;
    padding: 16px 20px;
    gap: 16px;
  }
  .stats-founder-meta { flex: 1; }
}

/* ─── GROSSE BILDSCHIRME: 1440p+ (≥ 2000 px Viewport) ─────────
   Greift bei 1440p mit 125%-Skalierung (~2048px) und grösser.
   1080p bei 100% (1920px) bleibt komplett unverändert.
   Alle Werte sind fluid (clamp), skalieren bis 4K mit.       */
@media (min-width: 2000px) {
  :root {
    --maxw:  clamp(1440px, 78vw, 2200px);
    --pad-x: clamp(64px, 4vw, 96px);
  }
  section { padding: clamp(var(--section-gap), 5.5vw, 120px) 0; }

  h1 { font-size: clamp(3.4rem, 3vw, 5rem); }
  h2 { font-size: clamp(2.6rem, 2.4vw, 3.6rem); }
  h3 { font-size: clamp(1.4rem, 1.3vw, 2rem); }

  .hero h1 { font-size: clamp(4.2rem, 3.8vw, 7rem); }
  .hero .lead { font-size: clamp(1.2rem, 1.2vw, 1.6rem); }
  .lead { font-size: clamp(1.1rem, 1.2vw, 1.45rem); }
  .hero-inner { max-width: clamp(880px, 56vw, 1200px); }

  .section-head { margin-bottom: clamp(40px, 3.5vw, 64px); }
  .big-stat .num { font-size: clamp(3.6rem, 3.5vw, 5.5rem); }
}

/* ─── Glossar-Links im Fließtext ─── */
main a[href*="/glossar/"] {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(34, 197, 94, 0.3);
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
main a[href*="/glossar/"]:hover {
  color: var(--accent);
  text-decoration-color: var(--accent);
}

/* ─── Glossar: Filter-Bar + Suche ─── */
.glossar-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 40px;
}
.glossar-filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  flex: 1;
}
.filter-btn {
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid var(--border-strong);
  background: transparent;
  color: var(--text-soft);
  font: 500 13px/1 var(--sans);
  cursor: pointer;
  transition: border-color .2s, color .2s, background .2s;
}
.filter-btn:hover {
  border-color: rgba(34,197,94,.4);
  color: var(--text);
}
.filter-btn.active {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-dim);
}
.glossar-search {
  padding: 8px 14px;
  border-radius: 6px;
  border: 1px solid var(--border-strong);
  background: var(--bg-card);
  color: var(--text);
  font: 14px/1.4 var(--sans);
  width: 200px;
  outline: none;
  transition: border-color .2s;
}
.glossar-search:focus { border-color: rgba(34,197,94,.4); }
.glossar-search::placeholder { color: var(--text-muted); }
.blog-card.is-hidden { display: none; }
.glossar-no-results {
  display: none;
  color: var(--text-muted);
  font-size: .95rem;
  padding: 24px 0;
}
.glossar-no-results.visible { display: block; }
@media (max-width: 600px) {
  .glossar-filter-bar { flex-direction: column; align-items: flex-start; }
  .glossar-search { width: 100%; }
}

/* ─── Site-Suche: Nav-Button + Overlay ─── */
.nav-search-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: transparent;
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  color: var(--text-soft);
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color .15s, color .15s;
}
.nav-search-btn:hover { border-color: var(--accent-border); color: var(--text); }
.nav-search-btn svg { width: 16px; height: 16px; }
.nav-search-mobile { display: none; }

.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(14, 17, 23, 0.88);
  backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 120px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .15s;
}
.search-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.search-overlay-box {
  width: min(640px, calc(100vw - 48px));
}
.search-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  padding: 0 16px;
  gap: 12px;
}
.search-input-wrap:focus-within { border-color: rgba(34,197,94,.4); }
.search-input-wrap svg { width: 18px; height: 18px; color: var(--text-muted); flex-shrink: 0; }
.search-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 16px 0;
  color: var(--text);
  font: 18px/1 var(--sans);
}
.search-input::placeholder { color: var(--text-muted); }
.search-close {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font: 13px/1 var(--sans);
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 4px;
}
.search-close:hover { color: var(--text); }
.search-results {
  margin-top: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}
.search-result {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 12px 16px;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
}
.search-result:last-child { border-bottom: none; }
.search-result:hover { background: var(--bg-elevated); }
.search-result-cat {
  font: 500 11px/1 var(--sans);
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .06em;
  flex-shrink: 0;
  width: 90px;
}
.search-result-title { font: 500 15px/1.3 var(--serif); }
.search-result-desc { font: 13px/1.4 var(--sans); color: var(--text-muted); margin-top: 2px; }
.search-result-body { flex: 1; min-width: 0; }
.search-hint {
  margin-top: 12px;
  text-align: center;
  color: var(--text-muted);
  font: 12px/1 var(--sans);
}
@media (max-width: 600px) {
  .search-overlay { padding-top: 80px; }
  .nav-search-btn { display: none; }
}

@media (max-width: 600px) {
  .btn-ghost { white-space: normal; text-align: center; }
}
