/* =========================================================
   Jeff Stoll — Meta-Ads und KI-Automatisierung
   Gemeinsames Stylesheet. Design-Tokens als CSS-Variablen.
   ========================================================= */

/* ---------- Design-Tokens ---------- */
:root {
  --bg: #0a0e13;
  --bg-alt: #0e141c;
  --surface: #141c26;
  --surface-2: #1a2431;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);

  --text: #ebeff5;
  --muted: #9aa6b4;
  --dim: #6c7887;

  --primary: #2f5fd0;
  --primary-strong: #2650bd;
  --primary-weak: rgba(47, 95, 208, 0.14);
  --accent: #5f92e8;
  --accent-weak: rgba(95, 146, 232, 0.13);

  --ring: rgba(47, 95, 208, 0.55);
  --shadow: 0 24px 60px -28px rgba(0, 0, 0, 0.75);
  --shadow-sm: 0 10px 30px -18px rgba(0, 0, 0, 0.7);

  /* Zarte Flaechen und Kopfleiste, damit der Hell-Modus daran andocken kann */
  --wash-1: rgba(255, 255, 255, 0.02);
  --wash-2: rgba(255, 255, 255, 0.045);
  --ghost-text: rgba(255, 255, 255, 0.14);
  --header-bg: rgba(10, 14, 19, 0.72);
  --header-bg-solid: rgba(10, 14, 19, 0.97);

  --radius: 18px;
  --radius-sm: 11px;
  --container: 1140px;
  --nav-h: 68px;

  --font: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

/* ---------- Hell-Modus ----------
   Wird ueber data-theme="light" am <html>-Element aktiviert.
   Grundzustand der Seite bleibt dunkel.
   ------------------------------------------------------------------ */
:root[data-theme="light"] {
  --bg: #f5f7fb;
  --bg-alt: #eaeff7;
  --surface: #ffffff;
  --surface-2: #f1f4fa;
  --border: rgba(16, 28, 48, 0.1);
  --border-strong: rgba(16, 28, 48, 0.2);

  --text: #0e1620;
  --muted: #4c5a6b;
  --dim: #6f7b8a;

  --primary: #2450bd;
  --primary-strong: #1c3f9e;
  --primary-weak: rgba(36, 80, 189, 0.1);
  --accent: #2b62d4;
  --accent-weak: rgba(43, 98, 212, 0.1);

  --ring: rgba(36, 80, 189, 0.6);
  --shadow: 0 24px 60px -30px rgba(16, 28, 48, 0.4);
  --shadow-sm: 0 10px 30px -20px rgba(16, 28, 48, 0.32);

  --wash-1: rgba(16, 28, 48, 0.025);
  --wash-2: rgba(16, 28, 48, 0.055);
  --ghost-text: rgba(16, 28, 48, 0.12);
  --header-bg: rgba(245, 247, 251, 0.78);
  --header-bg-solid: rgba(245, 247, 251, 0.97);
}

:root[data-theme="light"] .btn-ghost {
  border-color: rgba(36, 80, 189, 0.35);
}

:root[data-theme="light"] .btn-ghost:hover,
:root[data-theme="light"] .btn-ghost:focus-visible {
  background: rgba(36, 80, 189, 0.08);
  border-color: rgba(36, 80, 189, 0.7);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.6),
    0 0 30px -16px rgba(36, 80, 189, 0.7);
}

:root[data-theme="light"] .btn-ghost:active {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.6),
    0 0 40px -14px rgba(36, 80, 189, 0.85);
}

/* ---------- Reset / Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.12;
}

p {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 3px;
  border-radius: 4px;
}

.btn:focus-visible {
  outline: none;
}

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

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: clamp(4rem, 9vw, 8rem) 0;
}

.section--tight {
  padding: clamp(3rem, 6vw, 4.5rem) 0;
}

.section--alt {
  background: transparent;
}

.section-head {
  max-width: 720px;
  margin-bottom: clamp(2.5rem, 4.5vw, 3.75rem);
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--accent);
  opacity: 0.7;
}

.center .eyebrow::before {
  display: none;
}

h1 {
  font-size: clamp(2.4rem, 5.4vw, 3.85rem);
  line-height: 1.06;
}

h2 {
  font-size: clamp(1.85rem, 3.6vw, 2.7rem);
}

h3 {
  font-size: 1.24rem;
}

.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--muted);
}

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

.text-primary {
  color: #bcd0f5;
}

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font: inherit;
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: -0.005em;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease,
    background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Hauptbutton: klare Praesenz, weicher blauer Schein */
.btn-primary {
  position: relative;
  background: linear-gradient(180deg, #3a6ce0, #2650bd);
  color: #ffffff;
  border-color: rgba(140, 178, 245, 0.4);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    0 16px 38px -16px rgba(47, 95, 208, 0.85),
    0 0 34px -12px rgba(95, 146, 232, 0.5);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: linear-gradient(180deg, #4479f0, #2c5ad0);
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    0 22px 48px -16px rgba(47, 95, 208, 1),
    0 0 52px -12px rgba(95, 146, 232, 0.75);
}

.btn-primary:active {
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    0 14px 34px -14px rgba(47, 95, 208, 1),
    0 0 60px -10px rgba(95, 146, 232, 0.9);
}

.btn-ghost {
  background: var(--wash-1);
  color: var(--text);
  border-color: rgba(95, 146, 232, 0.32);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  background: rgba(95, 146, 232, 0.1);
  border-color: rgba(95, 146, 232, 0.7);
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 0 34px -14px rgba(95, 146, 232, 0.7);
}

.btn-ghost:active {
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 0 44px -10px rgba(95, 146, 232, 0.85);
}

/* Kleines rundes Play-Abzeichen vor Buttons wie "Ansehen, wie es funktioniert" */
.btn .btn-play {
  display: inline-grid;
  place-items: center;
  width: 21px;
  height: 21px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--accent-weak);
  color: var(--accent);
}

.btn .btn-play svg {
  width: 10px;
  height: 10px;
}

.btn-lg {
  padding: 1.15rem 2.15rem;
  font-size: 1.1rem;
}

.btn-block {
  width: 100%;
}

/* ---------- Header / Navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--header-bg);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--border);
}

.nav {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 1.12rem;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, #161b23, #0c0f15);
  border: 1px solid rgba(95, 146, 232, 0.55);
  color: var(--accent);
  font-weight: 700;
  font-size: 0.86rem;
  letter-spacing: 0.06em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 2px 10px -4px rgba(0, 0, 0, 0.6);
}

/* Im Kopfbereich steht das Kuerzel allein, deshalb etwas groesser und mit Schein */
.site-header .brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  font-size: 0.95rem;
  border-color: rgba(95, 146, 232, 0.62);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 2px 10px -4px rgba(0, 0, 0, 0.6),
    0 0 22px -8px rgba(95, 146, 232, 0.65);
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.site-header .brand:hover .brand-mark {
  border-color: rgba(120, 168, 245, 0.9);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 0 30px -6px rgba(95, 146, 232, 0.85);
}

.brand-dot {
  display: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-links a {
  padding: 0.5rem 0.85rem;
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.96rem;
  font-weight: 500;
  transition: color 0.15s ease, background 0.15s ease;
}

.nav-links a:hover {
  color: var(--text);
  background: var(--wash-2);
}

.nav-links a[aria-current="page"] {
  color: var(--text);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* ---------- Umschalter fuer Hell- und Dunkel-Modus ---------- */
.theme-toggle {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  padding: 0;
  border-radius: 11px;
  border: 1px solid var(--border-strong);
  background: var(--wash-1);
  color: var(--muted);
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease,
    box-shadow 0.2s ease, transform 0.2s ease;
}

.theme-toggle:hover {
  color: var(--accent);
  border-color: rgba(95, 146, 232, 0.6);
  background: var(--accent-weak);
  transform: translateY(-1px);
  box-shadow: 0 0 24px -10px rgba(95, 146, 232, 0.8);
}

.theme-toggle svg {
  width: 19px;
  height: 19px;
  display: block;
}

/* Sonne zeigen, wenn es dunkel ist. Mond zeigen, wenn es hell ist. */
.theme-toggle .ico-sun { display: block; }
.theme-toggle .ico-moon { display: none; }
:root[data-theme="light"] .theme-toggle .ico-sun { display: none; }
:root[data-theme="light"] .theme-toggle .ico-moon { display: block; }

/* ---------- Drei-Punkte-Menü oben links (statt Initialen) ---------- */
.site-menu {
  position: relative;
}

/* Dezentes Menü-Icon: drei kleine Striche übereinander. Die Klasse heißt
   aus historischen Gründen weiter .menu-dots. */
.menu-dots {
  width: 42px;
  height: 42px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4.5px;
  padding: 0;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: transparent;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease,
    transform 0.2s ease;
}

.menu-dots span {
  width: 17px;
  height: 2px;
  border-radius: 2px;
  background: var(--muted);
  transition: background 0.2s ease, width 0.2s ease;
}

.menu-dots:hover {
  border-color: var(--border-strong);
  background: var(--wash-1);
  transform: translateY(-1px);
}

.menu-dots:hover span {
  background: var(--text);
}

.menu-dots[aria-expanded="true"] {
  border-color: var(--border-strong);
  background: var(--wash-1);
}

.menu-dots[aria-expanded="true"] span {
  background: var(--accent);
}

/* Ausklapp-Panel mit Name und Seiten-Navigation */
.menu-panel {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  min-width: 250px;
  padding: 1.1rem 1.1rem 0.7rem;
  border-radius: 16px;
  border: 1px solid var(--glass-border);
  background: var(--header-bg-solid);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  box-shadow:
    0 24px 60px -30px rgba(0, 0, 0, 0.85),
    0 0 44px -24px rgba(95, 146, 232, 0.5);
  z-index: 120;
  animation: menuIn 0.18s ease;
}

.menu-panel[hidden] {
  display: none;
}

@keyframes menuIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: none; }
}

.menu-panel-name {
  display: block;
  font-weight: 700;
  font-size: 1.06rem;
  letter-spacing: -0.01em;
  color: var(--text);
}

.menu-panel-sub {
  display: block;
  font-size: 0.76rem;
  color: var(--dim);
  margin: 0.15rem 0 0.85rem;
}

.menu-panel-nav {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border);
  padding-top: 0.5rem;
}

.menu-panel-nav a {
  padding: 0.62rem 0.6rem;
  border-radius: 9px;
  color: var(--muted);
  font-weight: 500;
  font-size: 0.98rem;
  transition: background 0.15s ease, color 0.15s ease;
}

.menu-panel-nav a:hover,
.menu-panel-nav a:focus-visible {
  background: var(--wash-2);
  color: var(--text);
}

.menu-panel-nav a[aria-current="page"] {
  color: var(--accent);
}

/* Der In-Menue-CTA ist nur im mobilen Klappmenue sichtbar */
.nav-cta-mobile {
  display: none;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle span::before {
  transform: translateY(-6px);
}

.nav-toggle span::after {
  transform: translateY(4px);
}

.nav-open .nav-toggle span {
  background: transparent;
}

.nav-open .nav-toggle span::before {
  transform: rotate(45deg);
}

.nav-open .nav-toggle span::after {
  transform: rotate(-45deg) translateY(-1px);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(3.5rem, 9vw, 7rem) 0 clamp(3rem, 7vw, 5.5rem);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -30% -10% auto -10%;
  height: 720px;
  background:
    radial-gradient(45% 55% at 22% 20%, rgba(47, 95, 208, 0.24), transparent 70%),
    radial-gradient(40% 50% at 82% 8%, rgba(95, 146, 232, 0.16), transparent 70%);
  filter: blur(8px);
  pointer-events: none;
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2.25rem, 5.5vw, 4.5rem);
  align-items: center;
}

.hero h1 {
  margin-bottom: 1.5rem;
}

.hero .lead {
  max-width: 34rem;
  margin-bottom: 2.25rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 2.25rem;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.4rem;
  color: var(--dim);
  font-size: 0.92rem;
}

.hero-trust li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-trust svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
}

/* Hero visual: stacked "journey" card */
.hero-visual {
  position: relative;
}

.journey-card {
  background: linear-gradient(180deg, var(--surface), var(--bg-alt));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem;
  box-shadow: var(--shadow);
}

.journey-card h4 {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--dim);
  margin-bottom: 1rem;
  font-weight: 600;
}

.journey-step {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.75rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--wash-1);
}

.journey-step + .journey-step {
  margin-top: 0.6rem;
}

.journey-ico {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--primary-weak);
  color: var(--accent);
}

.journey-ico svg {
  width: 20px;
  height: 20px;
}

.journey-step p {
  font-size: 0.95rem;
  font-weight: 600;
}

.journey-step span {
  display: block;
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--muted);
}

.journey-connector {
  width: 1px;
  height: 14px;
  margin-left: 1.55rem;
  background: linear-gradient(var(--accent), transparent);
}

/* ---------- Cards / Grid ---------- */
.grid {
  display: grid;
  gap: 1.5rem;
}

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

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

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

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.85rem;
  transition: transform 0.2s ease, border-color 0.2s ease,
    background 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  background: var(--surface-2);
}

.card-ico {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--accent-weak);
  color: var(--accent);
  margin-bottom: 1.3rem;
}

.card-ico svg {
  width: 23px;
  height: 23px;
}

.card h3 {
  margin-bottom: 0.7rem;
}

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

/* Step cards with number */
.step {
  position: relative;
  padding-top: 2.6rem;
}

.step-num {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(154, 166, 180, 0.35);
}

.card:hover .step-num {
  -webkit-text-stroke: 1px var(--accent);
}

/* ---------- Pillars ---------- */
.pillar {
  display: flex;
  gap: 1.15rem;
  padding: 1.6rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
}

.pillar-num {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--accent);
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 8px;
  background: var(--accent-weak);
  display: grid;
  place-items: center;
}

.pillar h3 {
  font-size: 1.08rem;
  margin-bottom: 0.5rem;
}

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

/* ---------- Check list ---------- */
.checklist {
  display: grid;
  gap: 1.05rem;
}

.checklist li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  color: var(--muted);
}

.checklist svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--accent);
  margin-top: 1px;
}

.checklist strong {
  color: var(--text);
  font-weight: 600;
}

/* ---------- Split content ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.25rem, 5.5vw, 4.5rem);
  align-items: center;
}

.split--narrow {
  grid-template-columns: 1.1fr 0.9fr;
}

/* ---------- Pricing hint ---------- */
.price-card {
  background: linear-gradient(160deg, var(--surface), var(--bg-alt));
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  box-shadow: var(--shadow-sm);
}

.price-tag {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin: 0.5rem 0 1rem;
}

.price-tag .amount {
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.price-tag .per {
  color: var(--muted);
  font-size: 1rem;
}

.price-note {
  color: var(--dim);
  font-size: 0.9rem;
  margin-top: 1rem;
}

.choice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 1.85rem;
}

.choice {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.1rem;
  background: var(--wash-1);
}

.choice h4 {
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.choice p {
  color: var(--muted);
  font-size: 0.9rem;
}

/* ---------- FAQ (native details) ---------- */
.faq {
  max-width: 820px;
  margin: 0 auto;
  border-top: 1px solid var(--border);
}

.faq details {
  border-bottom: 1px solid var(--border);
}

.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 1.5rem 3rem 1.5rem 0;
  position: relative;
  font-weight: 600;
  font-size: 1.06rem;
  transition: color 0.15s ease;
}

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

.faq summary:hover {
  color: var(--accent);
}

.faq summary::after {
  content: "";
  position: absolute;
  right: 0.4rem;
  top: 50%;
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: translateY(-65%) rotate(45deg);
  transition: transform 0.22s ease, border-color 0.2s ease;
}

.faq details[open] summary::after {
  transform: translateY(-35%) rotate(-135deg);
  border-color: var(--accent);
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.32s ease;
  margin-top: -0.3rem;
}

.faq-body-inner {
  padding: 0 3rem 1.6rem 0;
  color: var(--muted);
}

/* Nur Rueckfallebene ohne JavaScript: initFaq() in main.js setzt die
   echte Zielhoehe normalerweise per Inline-Style und animiert damit
   sanft. Falls das Skript nicht laeuft, sorgt diese Regel wenigstens
   dafuer, dass der native details[open]-Zustand den Text zeigt. */
details[open] .faq-body {
  max-height: 2000px;
}

.motion-off .faq-body {
  transition: none;
}

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(150deg, #1b1e25, #0f1216 60%);
  border: 1px solid var(--border-strong);
  border-radius: calc(var(--radius) + 6px);
  padding: clamp(2.25rem, 5vw, 3.75rem);
  text-align: center;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: auto -20% -60% -20%;
  height: 300px;
  background: radial-gradient(50% 60% at 50% 0%, rgba(47, 95, 208, 0.35), transparent 70%);
  pointer-events: none;
}

.cta-band > * {
  position: relative;
}

.cta-band h2 {
  margin-bottom: 1.1rem;
}

.cta-band p {
  color: var(--muted);
  max-width: 42rem;
  margin: 0 auto 2.1rem;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  justify-content: center;
}

/* ---------- Forms ---------- */
.form-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.25rem);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}

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

.field input,
.field select,
.field textarea {
  font: inherit;
  font-size: 0.98rem;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  padding: 0.75rem 0.85rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  width: 100%;
}

.field textarea {
  resize: vertical;
  min-height: 120px;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--dim);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-weak);
}

.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%239aa6b4' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  padding-right: 2.4rem;
}

.form-note {
  font-size: 0.82rem;
  color: var(--dim);
  margin-top: 1rem;
}

.form-status {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  font-size: 0.94rem;
  display: none;
}

.form-status.is-success {
  display: block;
  background: rgba(95, 146, 232, 0.1);
  border: 1px solid rgba(95, 146, 232, 0.4);
  color: #f4dcae;
}

.form-status.is-error {
  display: block;
  background: rgba(255, 111, 111, 0.1);
  border: 1px solid rgba(255, 111, 111, 0.4);
  color: #ffc7c7;
}

/* ---------- Contact aside ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 3rem);
  align-items: start;
}

.contact-channels {
  display: grid;
  gap: 1.1rem;
  margin-top: 1.85rem;
}

.channel {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.channel:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.channel-ico {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: var(--primary-weak);
  color: var(--accent);
}

.channel-ico svg {
  width: 20px;
  height: 20px;
}

.channel > span:last-child {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.channel .label {
  display: block;
  font-size: 0.8rem;
  color: var(--dim);
}

.channel .value {
  display: block;
  font-weight: 600;
  font-size: 0.98rem;
}

/* ---------- Portrait placeholder ---------- */
.portrait {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background:
    radial-gradient(60% 50% at 50% 30%, rgba(47, 95, 208, 0.18), transparent 70%),
    linear-gradient(160deg, var(--surface), var(--bg-alt));
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--dim);
  position: relative;
  overflow: hidden;
}

.portrait .initials {
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ghost-text);
}

.portrait .ph-note {
  position: absolute;
  bottom: 1rem;
  left: 0;
  right: 0;
  font-size: 0.78rem;
  color: var(--dim);
}

/* ---------- Callout / info ---------- */
.callout {
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 1.1rem 1.25rem;
  background: var(--wash-1);
  color: var(--muted);
  font-size: 0.92rem;
}

.callout strong {
  color: var(--text);
}

/* ---------- Legal pages ---------- */
.legal {
  max-width: 780px;
}

.legal h2 {
  font-size: 1.4rem;
  margin: 2.25rem 0 0.75rem;
}

.legal p,
.legal li {
  color: var(--muted);
  margin-bottom: 0.6rem;
}

.legal ul {
  list-style: disc;
  padding-left: 1.25rem;
}

.legal .ph {
  color: var(--accent);
  background: var(--accent-weak);
  padding: 0.05rem 0.4rem;
  border-radius: 5px;
  font-size: 0.92em;
}

/* ---------- Footer ---------- */
.site-footer {
  padding: clamp(2.75rem, 5vw, 4rem) 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.65fr 0.8fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.75rem;
}

.footer-brand p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-top: 0.9rem;
  max-width: 24rem;
}

.footer-col {
  text-align: right;
}

.footer-col h4 {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--dim);
  margin-bottom: 0.85rem;
  font-weight: 600;
}

.footer-col ul {
  display: grid;
  gap: 0.5rem;
  justify-items: end;
}

.footer-col a {
  color: var(--muted);
  font-size: 0.86rem;
  transition: color 0.15s ease;
}

.footer-col a:hover {
  color: var(--text);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  align-items: center;
  color: var(--dim);
  font-size: 0.88rem;
}

.footer-bottom a {
  color: var(--dim);
}

.footer-bottom a:hover {
  color: var(--muted);
}

/* ---------- Scroll reveal (progressive enhancement) ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.js .reveal.in-view {
  opacity: 1;
  transform: none;
}

/* ---------- Utilities ---------- */
.mt-1 { margin-top: 0.65rem; }
.mt-2 { margin-top: 1.25rem; }
.mt-3 { margin-top: 1.85rem; }
.mt-4 { margin-top: 2.5rem; }
.mb-0 { margin-bottom: 0; }
.muted { color: var(--muted); }
.anchor { scroll-margin-top: calc(var(--nav-h) + 20px); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-visual {
    order: -1;
    max-width: 460px;
  }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .nav-links {
    position: fixed;
    inset: var(--nav-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.2rem;
    padding: 1rem 24px 1.5rem;
    background: var(--header-bg-solid);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    transform: translateY(-140%);
    transition: transform 0.28s ease;
    max-height: calc(100vh - var(--nav-h));
    overflow-y: auto;
  }
  .nav-open .nav-links {
    transform: translateY(0);
  }
  .nav-links a {
    padding: 0.85rem 0.75rem;
    font-size: 1.05rem;
    border-radius: 10px;
  }
  .nav-links .btn {
    margin-top: 0.5rem;
  }
  .nav-toggle {
    display: inline-flex;
  }
  .nav-cta-desktop {
    display: none;
  }
  .nav-links .nav-cta-mobile {
    display: inline-flex;
  }
  .grid-2,
  .grid-3,
  .grid-4,
  .split,
  .split--narrow,
  .contact-grid,
  .choice-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }
  .step-num {
    top: 1.4rem;
  }
  .faq summary {
    font-size: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
