/* ═══════════════════════════════════════════════════════════════════
   ClubFlex Website — Apple-inspirierter, heller Look.
   Selbst-gehostet (Fonts lokal), keine externen Abhängigkeiten.
   ═══════════════════════════════════════════════════════════════════ */

/* ── Fonts ── */
@font-face { font-family: 'Plus Jakarta Sans'; font-weight: 400; font-style: normal; font-display: swap; src: url('../fonts/plus-jakarta-sans-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Plus Jakarta Sans'; font-weight: 500; font-style: normal; font-display: swap; src: url('../fonts/plus-jakarta-sans-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Plus Jakarta Sans'; font-weight: 600; font-style: normal; font-display: swap; src: url('../fonts/plus-jakarta-sans-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Plus Jakarta Sans'; font-weight: 700; font-style: normal; font-display: swap; src: url('../fonts/plus-jakarta-sans-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Plus Jakarta Sans'; font-weight: 800; font-style: normal; font-display: swap; src: url('../fonts/plus-jakarta-sans-latin-800-normal.woff2') format('woff2'); }

/* ── Tokens ── */
:root {
  --ink: #101418;
  --ink-soft: #3c4551;
  --muted: #6b7480;
  --line: #e8e9ee;
  --bg: #ffffff;
  --tint: #f5f6f8;
  --blue: #0a7cff;
  --blue-deep: #0557d8;
  --azure: #38bdf8;
  --sky: #0ea5e9;
  --emerald: #10b981;
  --coral: #f0653c;
  --amber: #f59e0b;
  --r-lg: 28px;
  --r-md: 20px;
  --shadow-soft: 0 24px 70px -30px rgba(16, 20, 24, 0.25);
  --shadow-card: 0 2px 8px rgba(16, 20, 24, 0.04), 0 18px 46px -24px rgba(16, 20, 24, 0.18);
  --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --wrap: 1200px;
  --card: #ffffff;
  --bg-soft: #fbfbfd;
  --grad-a: #fbfbfd;
  --grad-b: #f3f4f7;
}

/* ── Reset & Basis ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
::selection { background: rgba(10, 124, 255, 0.18); }
section[id], [id] { scroll-margin-top: 92px; }

h1, h2, h3 { font-weight: 800; letter-spacing: -0.025em; line-height: 1.08; text-wrap: balance; }
h1 { font-size: clamp(44px, 7.2vw, 88px); }
h2 { font-size: clamp(32px, 4.6vw, 58px); }
h3 { font-size: 19px; letter-spacing: -0.01em; line-height: 1.3; }

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 18px;
}
.sub {
  font-size: clamp(17px, 1.5vw, 20px);
  color: var(--muted);
  max-width: 640px;
  margin-top: 20px;
}
.grad {
  background: linear-gradient(92deg, var(--blue) 0%, var(--azure) 46%, var(--sky) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.grad--warm { background-image: linear-gradient(92deg, var(--coral) 0%, var(--amber) 60%, #fbbf24 100%); }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15.5px;
  letter-spacing: -0.005em;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.25s ease, border-color 0.25s ease;
  will-change: transform;
  white-space: nowrap;
}
.btn--lg { padding: 16px 32px; font-size: 17px; }
.btn--primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  color: #fff;
  box-shadow: 0 10px 26px -12px rgba(10, 124, 255, 0.65);
}
.btn--primary:hover { transform: translateY(-2px) scale(1.015); box-shadow: 0 18px 36px -14px rgba(10, 124, 255, 0.7); }
.btn--ghost { border: 1.5px solid var(--line); color: var(--ink); background: rgba(255, 255, 255, 0.7); }
.btn--ghost:hover { border-color: #c9ccd6; transform: translateY(-2px); background: #fff; }
.btn--invert { background: #fff; color: var(--blue-deep); box-shadow: 0 12px 30px -14px rgba(0, 0, 0, 0.45); }
.btn--invert:hover { transform: translateY(-2px) scale(1.015); }
.btn--glass { background: rgba(255, 255, 255, 0.16); color: #fff; border: 1.5px solid rgba(255, 255, 255, 0.4); backdrop-filter: blur(6px); }
.btn--glass:hover { background: rgba(255, 255, 255, 0.26); transform: translateY(-2px); }

/* ── Navigation: schwebende Glas-Insel ─────────────────────────────
   Oben: transparente, breite Leiste. Beim Scrollen morpht .nav-inner
   in eine zentrierte, schwebende Kapsel (Dynamic-Island-Gefühl).
   Ein Pill-Indikator gleitet unter Hover/aktiver Sektion mit. */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  padding: 10px 14px 0;
  pointer-events: none;
}
.nav-inner {
  pointer-events: auto;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: max-width 0.55s var(--ease), padding 0.55s var(--ease), background 0.4s ease,
              box-shadow 0.5s var(--ease), border-color 0.4s ease, backdrop-filter 0.4s ease;
}
.nav.is-scrolled .nav-inner {
  max-width: 1040px;
  padding: 8px 10px 8px 20px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(22px) saturate(1.8);
  -webkit-backdrop-filter: blur(22px) saturate(1.8);
  border-color: rgba(16, 20, 24, 0.09);
  box-shadow: 0 18px 46px -20px rgba(16, 20, 24, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}
.nav-brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; letter-spacing: -0.02em; }
.nav-brand img { border-radius: 9px; transition: transform 0.4s var(--ease); }
.nav-brand:hover img { transform: rotate(-8deg) scale(1.06); }
.nav-links { position: relative; display: flex; gap: 4px; margin-left: 4px; }
.nav-links a {
  position: relative;
  z-index: 1;
  font-size: 14.5px;
  font-weight: 650;
  color: var(--ink-soft);
  padding: 8px 14px;
  border-radius: 999px;
  transition: color 0.25s ease;
}
.nav-links a:hover, .nav-links a.is-active { color: var(--ink); }
.nav-pill {
  position: absolute;
  top: 50%;
  left: 0;
  height: 34px;
  width: 0;
  transform: translateY(-50%);
  border-radius: 999px;
  background: rgba(10, 124, 255, 0.1);
  opacity: 0;
  transition: left 0.45s var(--ease), width 0.45s var(--ease), opacity 0.3s ease;
  pointer-events: none;
}
.nav-pill.is-on { opacity: 1; }
.nav-cta { margin-left: auto; display: flex; gap: 14px; align-items: center; }
.nav-login { font-size: 14.5px; font-weight: 650; color: var(--ink-soft); padding: 8px 4px; transition: color 0.2s ease; }
.nav-login:hover { color: var(--ink); }

/* „Für wen"-Dropdown in der Topbar */
.nav-item-menu { position: relative; display: inline-flex; }
.nav-menu-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 14.5px;
  font-weight: 650;
  color: var(--ink-soft);
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
  position: relative;
  z-index: 1;
  transition: color 0.25s ease;
}
.nav-menu-trigger svg { width: 10px; height: 7px; transition: transform 0.25s var(--ease); }
.nav-item-menu.is-open .nav-menu-trigger,
.nav-menu-trigger:hover { color: var(--ink); }
.nav-item-menu.is-open .nav-menu-trigger svg { transform: rotate(180deg); }
.nav-menu-panel {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  width: 300px;
  padding: 8px;
  border-radius: 18px;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px -24px rgba(16, 20, 24, 0.35);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.28s var(--ease), visibility 0s linear 0.25s;
}
.nav-item-menu.is-open .nav-menu-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
  transition: opacity 0.22s ease, transform 0.28s var(--ease);
}
.nav-menu-panel a {
  display: block;
  padding: 10px 12px;
  border-radius: 12px;
  transition: background 0.15s ease;
}
.nav-menu-panel a:hover, .nav-menu-panel a[aria-current="page"] { background: var(--tint); }
.nav-menu-panel a b { display: block; font-size: 14.5px; font-weight: 700; color: var(--ink); letter-spacing: -0.01em; }
.nav-menu-panel a span { display: block; font-size: 12.5px; color: var(--muted); margin-top: 1px; }
.nav-menu-panel .nav-menu-more { border-top: 1px solid var(--line); border-radius: 0 0 12px 12px; margin-top: 4px; padding-top: 12px; }

.nav-cta .btn { padding: 9px 18px; font-size: 14.5px; }
.nav-burger { display: none; margin-left: auto; width: 42px; height: 42px; border: 0; background: transparent; cursor: pointer; pointer-events: auto; }
.nav-burger span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px auto; border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.2s; }
.nav-burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.nav-drawer {
  display: none;
  pointer-events: auto;
  flex-direction: column;
  gap: 4px;
  margin: 10px auto 0;
  max-width: 560px;
  padding: 12px 22px 20px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(22px) saturate(1.8);
  -webkit-backdrop-filter: blur(22px) saturate(1.8);
  border: 1px solid rgba(16, 20, 24, 0.09);
  border-radius: 24px;
  box-shadow: 0 24px 60px -24px rgba(16, 20, 24, 0.35);
}
.nav-drawer a { padding: 11px 4px; font-weight: 700; font-size: 17px; border-bottom: 1px solid var(--line); }
.nav-drawer-label { margin: 14px 0 2px; font-size: 11.5px; font-weight: 800; letter-spacing: 0.09em; text-transform: uppercase; color: var(--muted); }
.nav-drawer a:last-child { border: 0; margin-top: 10px; justify-content: center; }
.nav.is-open .nav-drawer { display: flex; }

/* ── Hero ── */
.hero {
  position: relative;
  padding: clamp(140px, 18vh, 190px) 24px 40px;
  text-align: center;
  overflow: clip;
}
.hero-blobs { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
  will-change: transform;
}
.blob--a { width: 620px; height: 620px; left: -160px; top: -120px; background: radial-gradient(circle at 30% 30%, #c9e2ff, #e3f0ff 70%, transparent); }
.blob--b { width: 560px; height: 560px; right: -140px; top: 40px; background: radial-gradient(circle at 70% 30%, #bae6fd, #e0f2fe 70%, transparent); }
.blob--c { width: 480px; height: 480px; left: 32%; top: 380px; background: radial-gradient(circle at 50% 50%, #fde8d7, #fef3e6 70%, transparent); opacity: 0.5; }
.hero-copy { max-width: 900px; margin: 0 auto; }
.hero .lede { font-size: clamp(18px, 2vw, 22px); color: var(--muted); max-width: 720px; margin: 26px auto 0; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 36px; }
.hero-note { margin-top: 18px; font-size: 13.5px; color: var(--muted); }
.hero-visual { max-width: 1120px; margin: clamp(48px, 7vh, 84px) auto 0; will-change: transform; }

/* Browser-/Phone-Frames */
.frame {
  background: var(--card);
  border: 1px solid rgba(16, 20, 24, 0.08);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.frame--browser .frame-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 11px 16px;
  background: linear-gradient(var(--grad-a), var(--grad-b));
  border-bottom: 1px solid var(--line);
}
.frame-bar i { width: 11px; height: 11px; border-radius: 50%; background: #e4e5ea; }
.frame-bar i:nth-child(1) { background: #ff5f57; }
.frame-bar i:nth-child(2) { background: #febc2e; }
.frame-bar i:nth-child(3) { background: #28c840; }
.frame-bar span {
  margin: 0 auto;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px 16px;
}
.frame--phone {
  border-radius: 46px;
  border: 10px solid #10131a;
  box-shadow: 0 40px 90px -34px rgba(16, 20, 24, 0.45);
  max-width: 330px;
}
.scroll-cue {
  display: block;
  width: 28px;
  height: 46px;
  margin: 56px auto 0;
  border: 2px solid #c9ccd6;
  border-radius: 999px;
  position: relative;
}
.scroll-cue span {
  position: absolute;
  left: 50%;
  top: 8px;
  width: 4px;
  height: 9px;
  margin-left: -2px;
  border-radius: 4px;
  background: var(--blue);
  animation: cue 1.8s var(--ease) infinite;
}
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(16px); opacity: 0; } 100% { opacity: 0; } }

/* ── Fakten-Leiste ── */
.facts { padding: clamp(46px, 7vh, 76px) 24px; }
.facts-row {
  max-width: var(--wrap);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.facts-row li { text-align: center; padding: 0 14px; border-left: 1px solid var(--line); }
.facts-row li:first-child { border-left: 0; }
.facts-row b { display: block; font-size: 17px; letter-spacing: -0.01em; }
.facts-row span { font-size: 13.5px; color: var(--muted); }

/* ── Sections ── */
.section { padding: clamp(80px, 12vh, 140px) 24px; }
.section--tint { background: var(--tint); }
.section--narrow .faq { max-width: 780px; margin: 0 auto; }
.section-head { max-width: var(--wrap); margin: 0 auto clamp(42px, 6vh, 72px); text-align: center; }
.section-head .sub { margin-left: auto; margin-right: auto; }

/* Feature-Grid */
.grid { max-width: var(--wrap); margin: 0 auto; display: grid; gap: 18px; }
.grid--features { grid-template-columns: repeat(4, 1fr); }
.grid--security { grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 26px 24px;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.3s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-card); border-color: #dfe1e8; }
.card h3 { margin: 16px 0 8px; }
.card p { font-size: 14.5px; color: var(--muted); line-height: 1.55; }
.card--slim h3 { margin-top: 0; font-size: 17px; }
.card-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  font-size: 21px;
  background: #e7f1ff;
}
.card-ico[data-tint="indigo"]  { background: #e7f1ff; }
.card-ico[data-tint="emerald"] { background: #e7f8f1; }
.card-ico[data-tint="coral"]   { background: #ffefe9; }
.card-ico[data-tint="sky"]     { background: #e7f5fe; }
.card-ico[data-tint="amber"]   { background: #fef4e0; }
.card-ico[data-tint="violet"]  { background: #e0f3ff; }
.grid-more {
  max-width: var(--wrap);
  margin: 26px auto 0;
  text-align: center;
  font-size: 14px;
  color: var(--muted);
}
.grid-more a { color: var(--blue); font-weight: 700; }

/* ── Abrechnung: Sticky-Steps ── */
.billing {
  max-width: var(--wrap);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}
.billing-steps { display: flex; flex-direction: column; gap: 14px; padding: 8vh 0; }
.billing-step {
  display: flex;
  gap: 18px;
  padding: 26px 26px;
  border-radius: var(--r-lg);
  border: 1px solid transparent;
  opacity: 0.45;
  transition: opacity 0.5s ease, background 0.5s ease, border-color 0.5s ease, box-shadow 0.5s ease, transform 0.5s var(--ease);
}
.billing-step.is-active {
  opacity: 1;
  background: var(--card);
  border-color: var(--line);
  box-shadow: var(--shadow-card);
  transform: translateX(4px);
}
.billing-step .num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #ffe9e0;
  color: var(--coral);
  font-weight: 800;
  transition: background 0.4s ease, color 0.4s ease;
}
.billing-step.is-active .num { background: var(--coral); color: #fff; }
.billing-step h3 { font-size: 20px; margin-bottom: 8px; }
.billing-step p { font-size: 15px; color: var(--muted); }
.billing-media { min-height: 100%; }
.sticky-media { position: sticky; top: 104px; }
.frame-viewport { overflow: hidden; }
.frame-viewport img {
  transition: transform 1.1s var(--ease), transform-origin 1.1s var(--ease);
  transform-origin: 50% 0%;
}
.sticky-media[data-view="2"] .frame-viewport img { transform: scale(1.9); transform-origin: 6% 22%; }
.sticky-media[data-view="3"] .frame-viewport img { transform: scale(1.55); transform-origin: 42% 96%; }

.chips {
  max-width: var(--wrap);
  margin: clamp(36px, 5vh, 56px) auto 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.chips li {
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--line);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
}

/* ── Showcase (Scroll-Scale) ── */
.showcase { padding: clamp(70px, 11vh, 130px) 24px; }
.showcase-frame {
  max-width: 1160px;
  margin: 0 auto;
  border-radius: 36px;
  overflow: hidden;
  border: 1px solid rgba(16, 20, 24, 0.08);
  box-shadow: 0 60px 130px -50px rgba(16, 20, 24, 0.4);
  transform: scale(0.92);
  will-change: transform;
}
.showcase-caption {
  text-align: center;
  margin-top: 34px;
  font-size: clamp(19px, 2.4vw, 26px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink-soft);
}

/* ── Split-Sektionen ── */
.split {
  max-width: var(--wrap);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(30px, 5vw, 72px);
  align-items: center;
}
.split--flip .split-copy { order: 2; }
.split--flip .split-media { order: 1; }
.split-copy .sub { margin-top: 18px; }
.ticks { margin-top: 26px; display: flex; flex-direction: column; gap: 13px; }
.ticks li { position: relative; padding-left: 36px; font-size: 15.5px; color: var(--ink-soft); }
.ticks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 1px;
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background: #e7f8f1;
  color: #0b8f60;
  font-weight: 800;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ── Buchungs-Mock ── */
.booking-mock {
  max-width: 460px;
  margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-soft);
  padding: 26px;
  position: relative;
}
.booking-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 18px; }
.booking-head b { font-size: 18px; letter-spacing: -0.01em; }
.booking-head span { font-size: 14px; color: var(--muted); }
.booking-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.slot {
  text-align: center;
  padding: 13px 0;
  border-radius: 14px;
  border: 1.5px solid var(--line);
  font-weight: 700;
  font-size: 15px;
  color: var(--ink-soft);
}
.slot.is-taken { color: #c0c4cd; border-style: dashed; text-decoration: line-through; }
.slot.is-sel { background: var(--blue); border-color: var(--blue); color: #fff; box-shadow: 0 10px 22px -10px rgba(10, 124, 255, 0.65); }
.booking-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 20px; }
.booking-foot small { display: block; font-size: 12px; color: var(--muted); }
.booking-foot b { font-size: 20px; letter-spacing: -0.02em; }
.booking-btn {
  padding: 12px 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  color: #fff;
  font-weight: 700;
  font-size: 14.5px;
}
.booking-toast {
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: -26px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #0e1524;
  color: #d9fbe9;
  border-radius: 16px;
  padding: 13px 18px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 24px 50px -20px rgba(14, 21, 36, 0.6);
  animation: floaty 5s ease-in-out infinite;
}
.booking-toast i { font-style: normal; width: 22px; height: 22px; border-radius: 50%; background: var(--emerald); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

/* ── Chat-Mock ── */
.chat-mock {
  max-width: 480px;
  margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-soft);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.chat-title { display: flex; align-items: center; gap: 9px; font-weight: 800; font-size: 15px; margin-bottom: 4px; }
.chat-title .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--emerald); box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.15); }
.chat-b { max-width: 85%; padding: 12px 16px; border-radius: 18px; font-size: 14.5px; line-height: 1.5; }
.chat-b--user { align-self: flex-end; background: var(--blue); color: #fff; border-bottom-right-radius: 6px; }
.chat-b--ai { align-self: flex-start; background: var(--tint); color: var(--ink-soft); border-bottom-left-radius: 6px; }

/* ── Mobile-Band ── */
.mobile-band {
  padding: clamp(80px, 12vh, 140px) 24px;
  background:
    radial-gradient(900px 480px at 12% 10%, rgba(201, 226, 255, 0.55), transparent 65%),
    radial-gradient(800px 480px at 88% 90%, rgba(186, 230, 253, 0.55), transparent 65%),
    var(--bg);
  overflow: clip;
}
.mobile-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(30px, 5vw, 80px);
  align-items: center;
}
.phone-wrap { display: flex; justify-content: center; will-change: transform; }

/* ── Preise ── */
.pricing {
  max-width: var(--wrap);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  align-items: stretch;
}
.price {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.price:hover { transform: translateY(-5px); box-shadow: var(--shadow-card); }
.price h3 { font-size: 18px; }
.price-tag { margin: 14px 0 20px; }
.price-tag b { font-size: 40px; font-weight: 800; letter-spacing: -0.03em; }
.price-tag span { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }
.price ul { display: flex; flex-direction: column; gap: 9px; margin-bottom: 26px; flex: 1; }
.price li { font-size: 14.5px; color: var(--ink-soft); padding-left: 24px; position: relative; }
.price li::before { content: "✓"; position: absolute; left: 0; color: var(--emerald); font-weight: 800; }
.price .btn { justify-content: center; }
.price--hot {
  border: 2px solid transparent;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(135deg, var(--blue), var(--azure), var(--sky)) border-box;
  box-shadow: 0 30px 70px -34px rgba(10, 124, 255, 0.5);
}
.price-flag {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  padding: 5px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue), var(--azure));
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ── FAQ ── */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 0 24px;
  transition: box-shadow 0.3s ease;
}
.faq details[open] { box-shadow: var(--shadow-card); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 36px 20px 0;
  font-weight: 700;
  font-size: 16.5px;
  letter-spacing: -0.01em;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 2px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--tint);
  color: var(--ink-soft);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.35s var(--ease), background 0.25s ease;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); background: #e7f1ff; color: var(--blue); }
.faq details p { padding: 0 0 22px; color: var(--muted); font-size: 15px; }
.faq details a { color: var(--blue); font-weight: 700; }

/* ── Finale CTA ── */
.cta { padding: clamp(60px, 10vh, 120px) 24px; }
.cta-card {
  max-width: var(--wrap);
  margin: 0 auto;
  text-align: center;
  color: #fff;
  border-radius: 36px;
  padding: clamp(56px, 9vh, 96px) 32px;
  background:
    radial-gradient(720px 380px at 14% 0%, rgba(255, 255, 255, 0.16), transparent 60%),
    linear-gradient(130deg, var(--blue-deep) 0%, var(--azure) 55%, var(--sky) 120%);
  box-shadow: 0 50px 120px -50px rgba(5, 87, 216, 0.7);
}
.cta-card h2 { color: #fff; }
.cta-card p { margin-top: 16px; font-size: 18px; color: rgba(255, 255, 255, 0.86); }

/* ── Footer ── */
.footer { border-top: 1px solid var(--line); padding: 56px 24px 30px; background: var(--bg-soft); }
.footer-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 0.9fr 1fr;
  gap: 30px;
}
.footer-brand p { margin-top: 14px; font-size: 14px; color: var(--muted); }
.footer-col { display: flex; flex-direction: column; gap: 9px; }
.footer-col b { font-size: 13px; text-transform: uppercase; letter-spacing: 0.09em; color: var(--muted); margin-bottom: 4px; }
.footer-col a { font-size: 14.5px; color: var(--ink-soft); font-weight: 600; }
.footer-col a:hover { color: var(--blue); }
.footer-note { max-width: var(--wrap); margin: 40px auto 0; font-size: 12.5px; color: var(--muted); }

/* ── Reveal-System (JS setzt .in) ── */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal--zoom { transform: translateY(24px) scale(0.955); }
.reveal--left { transform: translateX(-40px); }
.reveal--right { transform: translateX(40px); }
.reveal.in { opacity: 1; transform: none; }
[data-stagger] > * { opacity: 0; transform: translateY(24px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); transition-delay: var(--d, 0s); }
[data-stagger].in > * { opacity: 1; transform: none; }

/* ── Responsive ── */
@media (max-width: 1080px) {
  .grid--features { grid-template-columns: repeat(2, 1fr); }
  .pricing { grid-template-columns: repeat(2, 1fr); }
  .billing { grid-template-columns: 1fr; }
  .billing-steps { padding: 0; }
  .billing-step { opacity: 1; background: var(--card); border-color: var(--line); }
  .sticky-media { position: static; margin-top: 26px; }
  .sticky-media .frame-viewport img { transform: none !important; }
}
@media (max-width: 880px) {
  /* Lange deutsche Komposita („Übungsleiterabrechnung") dürfen den
     Layout-Viewport nicht aufweiten (Chrome shrink-to-fit). */
  h1, h2, h3, .statement-text, .facts-row li { hyphens: auto; overflow-wrap: break-word; }
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: block; }
  .nav { padding: 8px 10px 0; }
  .nav-inner, .nav.is-scrolled .nav-inner {
    max-width: 620px;
    padding: 7px 8px 7px 16px;
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(22px) saturate(1.8);
    -webkit-backdrop-filter: blur(22px) saturate(1.8);
    border-color: rgba(16, 20, 24, 0.09);
    box-shadow: 0 14px 38px -18px rgba(16, 20, 24, 0.3);
  }
  .split, .mobile-inner { grid-template-columns: 1fr; }
  .split--flip .split-copy { order: 1; }
  .split--flip .split-media { order: 2; }
  .split-media { margin-top: 6px; }
  .facts-row { grid-template-columns: repeat(2, 1fr); row-gap: 26px; }
  .facts-row li:nth-child(odd) { border-left: 0; }
  .grid--security { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .reveal--left, .reveal--right { transform: translateY(30px); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .grid--features, .pricing, .grid--security { grid-template-columns: 1fr; }
  .facts-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .hero { padding-top: 120px; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .booking-mock { padding: 20px; }
  .cta-card { border-radius: 26px; }
}

/* ── Reduced Motion ── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, [data-stagger] > * { opacity: 1 !important; transform: none !important; transition: none !important; }
  .blob, .booking-toast, .scroll-cue span { animation: none !important; }
  .showcase-frame { transform: none !important; }
  [data-parallax] { transform: none !important; }
  .frame-viewport img { transition: none; }
}

/* ── Statement: riesige Typo, Wörter füllen sich beim Scrollen ────── */
.statement {
  padding: clamp(100px, 16vh, 180px) 24px;
  overflow: clip;
}
.statement--tint { background: var(--tint); }
.statement-text {
  max-width: 1100px;
  margin: 0 auto;
  font-size: clamp(38px, 6.6vw, 96px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.07;
  text-wrap: balance;
}
.statement-text .w {
  color: #d4d8df;
  transition: color 0.45s ease;
}
.statement-text .w.on { color: var(--ink); }
.statement-text .w--warm.on {
  background: linear-gradient(92deg, var(--coral) 0%, var(--amber) 80%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.statement-text .w--blue.on {
  background: linear-gradient(92deg, var(--blue-deep) 0%, var(--azure) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@media (max-width: 640px) {
  .statement-text { font-size: clamp(34px, 9.6vw, 48px); }
}

@media (prefers-reduced-motion: reduce) {
  .statement-text .w { color: var(--ink); transition: none; }
  .statement-text .w--warm {
    background: linear-gradient(92deg, var(--coral) 0%, var(--amber) 80%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
  .statement-text .w--blue {
    background: linear-gradient(92deg, var(--blue-deep) 0%, var(--azure) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
  .nav-pill { transition: none; }
  .nav-inner { transition: none; }
}

/* ── Datenschutz-Hinweis (cookieloser Consent-Banner) ─────────────── */
.consent {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 200;
  padding: 0 14px 14px;
  pointer-events: none;
}
.consent[hidden] { display: none; }
.consent-card {
  pointer-events: auto;
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(22px) saturate(1.8);
  -webkit-backdrop-filter: blur(22px) saturate(1.8);
  border: 1px solid rgba(16, 20, 24, 0.09);
  border-radius: 22px;
  box-shadow: 0 24px 60px -24px rgba(16, 20, 24, 0.35);
  animation: consent-in 0.5s var(--ease) both;
}
@keyframes consent-in {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}
.consent-text {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--muted);
}
.consent-text strong { color: var(--ink); }
.consent-text a { color: var(--blue); font-weight: 700; }
.consent-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-shrink: 0;
}
.consent-actions .btn { padding: 9px 18px; font-size: 13.5px; white-space: nowrap; }
@media (max-width: 640px) {
  .consent { padding: 0 10px 10px; }
  .consent-card { flex-direction: column; align-items: stretch; gap: 12px; padding: 16px; }
  .consent-actions { flex-direction: row; }
  .consent-actions .btn { flex: 1; justify-content: center; white-space: normal; }
}
@media (prefers-reduced-motion: reduce) {
  .consent-card { animation: none; }
}

/* ═══ Funktionsdatenbank (funktionen.html) ═════════════════════════
   Unterseite im gleichen Look: kompakter Hero mit Live-Suche,
   sticky Kategorie-Chips mit Scrollspy, Funktions-Karten. */
.fx-hero {
  position: relative;
  padding: clamp(140px, 16vh, 180px) 24px 30px;
  text-align: center;
  overflow: clip;
}
.fx-hero h1 { font-size: clamp(38px, 5.6vw, 68px); }
.fx-hero .sub { margin-left: auto; margin-right: auto; }
.fx-search {
  position: relative;
  max-width: 620px;
  margin: 30px auto 0;
}
.fx-search input {
  width: 100%;
  padding: 17px 54px 17px 26px;
  font: inherit;
  font-size: 16.5px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.85);
  border: 1.5px solid var(--line);
  border-radius: 999px;
  outline: none;
  box-shadow: 0 14px 40px -22px rgba(16, 20, 24, 0.25);
  transition: border-color 0.25s ease, box-shadow 0.3s var(--ease);
  -webkit-appearance: none;
}
.fx-search input:focus {
  border-color: var(--blue);
  box-shadow: 0 18px 46px -20px rgba(10, 124, 255, 0.35);
}
.fx-search svg {
  position: absolute;
  right: 22px;
  top: 50%;
  width: 20px;
  height: 20px;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
}
.fx-count { margin-top: 12px; font-size: 13.5px; color: var(--muted); min-height: 20px; }

.fx-catbar {
  position: sticky;
  top: 66px;
  z-index: 50;
  padding: 8px 14px;
  pointer-events: none;
}
.fx-catbar-inner {
  pointer-events: auto;
  max-width: 1040px;
  margin: 0 auto;
  display: flex;
  gap: 6px;
  padding: 7px;
  overflow-x: auto;
  scrollbar-width: none;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(22px) saturate(1.8);
  -webkit-backdrop-filter: blur(22px) saturate(1.8);
  border: 1px solid rgba(16, 20, 24, 0.09);
  border-radius: 999px;
  box-shadow: 0 14px 38px -18px rgba(16, 20, 24, 0.25);
}
.fx-catbar-inner::-webkit-scrollbar { display: none; }
.fx-catbar a {
  flex-shrink: 0;
  padding: 8px 15px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink-soft);
  white-space: nowrap;
  transition: background 0.25s ease, color 0.25s ease;
}
.fx-catbar a:hover { color: var(--ink); background: rgba(16, 20, 24, 0.05); }
.fx-catbar a.is-active { color: #fff; background: linear-gradient(135deg, var(--blue), var(--blue-deep)); }

.fx-section { padding: clamp(48px, 7vh, 80px) 24px 10px; }
.fx-section-head { max-width: var(--wrap); margin: 0 auto 30px; }
.fx-section-head .eyebrow { margin-bottom: 10px; }
.fx-section-head h2 { font-size: clamp(26px, 3.4vw, 40px); }
.fx-section-head p { margin-top: 12px; max-width: 760px; color: var(--muted); font-size: 16.5px; }

.fx-grid {
  max-width: var(--wrap);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.fx-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 24px 26px;
  box-shadow: var(--shadow-card);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.fx-card:hover { transform: translateY(-2px); box-shadow: 0 6px 14px rgba(16, 20, 24, 0.05), 0 26px 54px -26px rgba(16, 20, 24, 0.22); }
.fx-card-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.fx-card-head .card-ico { width: 40px; height: 40px; font-size: 18px; border-radius: 12px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; }
.fx-card h3 { font-size: 17.5px; }
.fx-card p { font-size: 14.5px; line-height: 1.65; color: var(--ink-soft); }
.fx-card p + p { margin-top: 8px; }
.fx-note {
  margin-top: 10px;
  font-size: 13px;
  color: var(--muted);
}
.fx-note b { color: var(--ink-soft); font-weight: 700; }
.fx-rel { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.fx-rel a {
  font-size: 12px;
  font-weight: 700;
  color: var(--blue-deep);
  background: #e7f1ff;
  padding: 4px 11px;
  border-radius: 999px;
  transition: background 0.2s ease;
}
.fx-rel a:hover { background: #d3e7ff; }

.fx-empty {
  max-width: 620px;
  margin: 40px auto 0;
  padding: 40px 24px;
  text-align: center;
  color: var(--muted);
  font-size: 16px;
  display: none;
}
.fx-empty b { color: var(--ink); }

/* Grenzen-Sektion: bewusst ruhig, ehrlich */
.fx-limits { max-width: var(--wrap); margin: 0 auto; }
.fx-limits-card {
  background: var(--tint);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(26px, 4vw, 44px);
}
.fx-limits-card ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 28px; }
.fx-limits-card li { position: relative; padding-left: 26px; font-size: 14.5px; line-height: 1.6; color: var(--ink-soft); }
.fx-limits-card li::before {
  content: '–';
  position: absolute;
  left: 4px;
  top: 0;
  font-weight: 800;
  color: var(--muted);
}
.fx-limits-card li b { color: var(--ink); }
.fx-limits-card .fx-limits-note { margin-top: 20px; font-size: 13.5px; color: var(--muted); }

.grid-more--cta { margin-top: 34px; }
.grid-more--cta .btn { margin-top: 4px; }

@media (max-width: 880px) {
  .fx-catbar { top: 58px; padding: 6px 10px; }
  .fx-grid { grid-template-columns: 1fr; }
  .fx-limits-card ul { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .fx-hero { padding-top: 120px; }
  .fx-search input { padding: 15px 48px 15px 20px; font-size: 16px; }
}
.fx-section[id] { scroll-margin-top: 136px; }

/* ═══ Öffentlicher Changelog (changelog.html) ══════════════════════ */
.cl-wrap { max-width: 860px; margin: 0 auto; padding: 10px 24px 40px; }
.cl-current {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding: 8px 16px;
  border-radius: 999px;
  background: #e7f1ff;
  color: var(--blue-deep);
  font-size: 13.5px;
  font-weight: 800;
}
.cl-current .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--emerald); }
.cl-release {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 26px 28px;
  box-shadow: var(--shadow-card);
  margin-bottom: 18px;
}
.cl-release-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin-bottom: 6px; }
.cl-version {
  padding: 5px 13px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.cl-date { font-size: 13px; color: var(--muted); font-weight: 600; }
.cl-release h2 { font-size: clamp(20px, 2.4vw, 26px); margin: 4px 0 12px; }
.cl-release p { font-size: 15px; color: var(--ink-soft); margin: 0 0 10px; }
.cl-points { display: grid; gap: 9px; margin-top: 4px; }
.cl-points li { display: flex; align-items: baseline; gap: 10px; font-size: 14.5px; line-height: 1.55; color: var(--ink-soft); }
.cl-chip {
  flex-shrink: 0;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: #eef0f3;
  color: var(--muted);
}
.cl-chip--new { background: #e7f8f1; color: #0b7a52; }
.cl-chip--imp { background: #e7f1ff; color: var(--blue-deep); }
.cl-chip--fix { background: #fef4e0; color: #a16207; }
.cl-state { text-align: center; color: var(--muted); font-size: 15px; padding: 40px 0; }
@media (max-width: 640px) {
  .cl-release { padding: 20px; }
}

/* ═══════════════════════ Rechtsseiten ═══════════════════════ */
.legal-wrap {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 24px 90px;
}
.legal-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 30px;
}
.legal-tabs a {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--line, #e6e9f0);
  background: var(--card, #fff);
  color: var(--ink-soft, #4b5565);
  font-size: 13.5px;
  font-weight: 650;
  text-decoration: none;
  transition: border-color .15s ease, color .15s ease;
}
.legal-tabs a:hover { border-color: var(--blue, #0a7cff); color: var(--blue-deep, #0656c4); }
.legal-tabs a.is-active {
  background: var(--blue, #0a7cff);
  border-color: var(--blue, #0a7cff);
  color: #fff;
}
.legal-body {
  background: var(--card, #fff);
  border: 1px solid var(--line, #e6e9f0);
  border-radius: 20px;
  padding: 34px 38px;
}
.legal-body h2 {
  font-size: 19px;
  line-height: 1.35;
  margin: 30px 0 10px;
  letter-spacing: -0.01em;
}
.legal-body h2:first-child { margin-top: 0; }
.legal-body h3 {
  font-size: 15.5px;
  margin: 22px 0 8px;
}
.legal-body p,
.legal-body li {
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-soft, #4b5565);
}
.legal-body p { margin: 0 0 14px; }
.legal-body ul,
.legal-body ol { margin: 0 0 16px; padding-left: 24px; }
.legal-body li { margin: 0 0 7px; }
.legal-body li::marker { color: var(--blue, #0a7cff); font-weight: 700; }
.legal-body a { color: var(--blue-deep, #0656c4); font-weight: 600; }
.legal-body strong { color: var(--ink, #10131a); }
.legal-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 16px;
  font-size: 14px;
}
.legal-body th,
.legal-body td {
  text-align: left;
  padding: 9px 12px;
  border-bottom: 1px solid var(--line, #e6e9f0);
  vertical-align: top;
  line-height: 1.55;
}
.legal-body th { color: var(--ink, #10131a); font-weight: 700; white-space: nowrap; }
.legal-body code {
  background: var(--bg-soft, #f3f5f9);
  border: 1px solid var(--line, #e6e9f0);
  border-radius: 6px;
  padding: 1px 6px;
  font-size: 13px;
}
.legal-stand {
  margin: 18px 6px 0;
  font-size: 13px;
  color: var(--ink-mute, #8a93a5);
}
@media (max-width: 640px) {
  .legal-body { padding: 22px 20px; border-radius: 16px; }
  .legal-body h2 { font-size: 17px; }
  .legal-body table { display: block; overflow-x: auto; }
}

/* ═══════════════════════ In 3 Schritten ═══════════════════════ */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}
.step {
  position: relative;
  background: var(--card, #fff);
  border: 1px solid var(--line, #e6e9f0);
  border-radius: 22px;
  padding: 30px 26px 24px;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--blue, #0a7cff), var(--blue-deep, #0656c4));
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 14px;
}
.step h3 { font-size: 18px; margin: 0 0 8px; }
.step p {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--ink-soft, #4b5565);
  margin: 0 0 14px;
}
.step-time {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--blue-deep, #0656c4);
  background: var(--blue-soft, rgba(10, 124, 255, .08));
  border-radius: 999px;
  padding: 5px 12px;
}
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; }
}

/* ═══════════════════════ Preisrechner ═══════════════════════ */
.calc {
  max-width: 640px;
  margin: 0 auto 34px;
  padding: 24px 28px;
  background: var(--card, #fff);
  border: 1px solid var(--line, #e6e9f0);
  border-radius: 20px;
  text-align: center;
}
.calc-label {
  display: block;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 14px;
}
.calc-row {
  display: flex;
  align-items: center;
  gap: 16px;
}
.calc-row input[type="range"] {
  flex: 1;
  accent-color: var(--blue, #0a7cff);
  min-height: 28px;
}
.calc-count {
  min-width: 74px;
  font-size: 21px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--blue-deep, #0656c4);
}
.calc-result {
  margin: 12px 0 0;
  font-size: 14.5px;
  color: var(--ink-soft, #4b5565);
}
.calc-result b { color: var(--ink, #10131a); }
.price.is-fit {
  border-color: var(--blue, #0a7cff);
  box-shadow: 0 12px 34px rgba(10, 124, 255, .16);
  transform: translateY(-4px);
}

/* ═══════════════════════ Sicherheit ═══════════════════════ */
#sicherheit .card p { min-height: 0; }


/* ═══════════════════════ Dark-Mode ═══════════════════════ */
:root[data-theme="dark"] {
  --ink: #edf1f7;
  --ink-soft: #c2cad7;
  --muted: #8d96a5;
  --line: #242c38;
  --bg: #0b0e13;
  --tint: #10141b;
  --card: #151a23;
  --bg-soft: #10141b;
  --grad-a: #10141b;
  --grad-b: #0d1017;
  --shadow-soft: 0 24px 70px -30px rgba(0, 0, 0, 0.8);
  --shadow-card: 0 2px 8px rgba(0, 0, 0, 0.3), 0 18px 46px -24px rgba(0, 0, 0, 0.6);
}
:root[data-theme="dark"] body { color-scheme: dark; }
:root[data-theme="dark"] .btn--ghost { background: rgba(21, 26, 35, 0.72); }
:root[data-theme="dark"] .btn--ghost:hover { background: var(--card); border-color: #3a4454; }
:root[data-theme="dark"] .blob--a { background: radial-gradient(circle at 30% 30%, rgba(10, 124, 255, 0.22), rgba(10, 124, 255, 0.08) 70%, transparent); }
:root[data-theme="dark"] .blob--b { background: radial-gradient(circle at 70% 30%, rgba(56, 189, 248, 0.18), rgba(56, 189, 248, 0.06) 70%, transparent); }
:root[data-theme="dark"] .blob--c { background: radial-gradient(circle at 50% 50%, rgba(240, 101, 60, 0.12), transparent 70%); }
:root[data-theme="dark"] .faq summary::after { background: #1c232e; color: var(--ink-soft); }
:root[data-theme="dark"] .faq details[open] summary::after { background: rgba(10, 124, 255, 0.18); color: var(--azure); }
:root[data-theme="dark"] .price--hot {
  background:
    linear-gradient(var(--card), var(--card)) padding-box,
    linear-gradient(135deg, var(--blue), var(--azure), var(--sky)) border-box;
}
:root[data-theme="dark"] .nav.is-scrolled .nav-inner {
  background: rgba(17, 21, 28, 0.78);
  border-color: rgba(255, 255, 255, 0.09);
  box-shadow: 0 18px 46px -20px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
:root[data-theme="dark"] .mobile-band {
  background:
    radial-gradient(900px 480px at 12% 10%, rgba(10, 124, 255, 0.14), transparent 65%),
    radial-gradient(800px 480px at 88% 90%, rgba(56, 189, 248, 0.12), transparent 65%),
    var(--bg);
}
:root[data-theme="dark"] .nav-drawer,
:root[data-theme="dark"] .consent-card {
  background: var(--card);
  border-color: var(--line);
}
:root[data-theme="dark"] img { opacity: 0.96; }
:root[data-theme="dark"] .legal-body code { background: #0d1017; border-color: var(--line); }

/* Theme-Umschalter in der Navigation */
.theme-toggle {
  margin-left: -6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 16px;
  cursor: pointer;
  pointer-events: auto;
  transition: color .15s ease, background .15s ease;
}
.theme-toggle:hover { color: var(--ink); background: var(--tint); }
.theme-toggle .tt-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .tt-sun { display: inline; }
:root[data-theme="dark"] .theme-toggle .tt-moon { display: none; }

@media (max-width: 880px) {
  :root[data-theme="dark"] .nav-inner,
  :root[data-theme="dark"] .nav.is-scrolled .nav-inner {
    background: rgba(17, 21, 28, 0.82);
    border-color: rgba(255, 255, 255, 0.09);
    box-shadow: 0 14px 38px -18px rgba(0, 0, 0, 0.7);
  }
}

@media (max-width: 880px) {
  .theme-toggle { margin-left: auto; }
  .nav-burger { margin-left: 0; }
}

/* ── Vergleichsseite ── */
.vs-wrap { max-width: 980px; margin: 0 auto; overflow-x: auto; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--card); box-shadow: var(--shadow-card); }
.vs-table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 640px; }
.vs-table th, .vs-table td { padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; text-align: left; }
.vs-table thead th { font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); background: var(--tint); }
.vs-table tbody tr:last-child th, .vs-table tbody tr:last-child td { border-bottom: 0; }
.vs-table tbody th { font-weight: 700; color: var(--ink); white-space: nowrap; }
.vs-table td { color: var(--ink-soft); }
.vs-table td.vs-good { background: rgba(16, 185, 129, 0.07); }
.vs-good b { color: var(--emerald); display: block; margin-bottom: 2px; }
.vs-bad b { color: var(--coral); display: block; margin-bottom: 2px; }
.vs-mid b { color: var(--amber); display: block; margin-bottom: 2px; }
.vs-note { max-width: 980px; margin: 14px auto 0; font-size: 13.5px; color: var(--muted); text-align: center; }

/* ── Zielgruppen-Landingpages ── */
.lp-checks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.lp-checks li { position: relative; padding-left: 30px; color: var(--ink-soft); font-size: 15.5px; }
.lp-checks li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 21px; height: 21px; border-radius: 50%; background: rgba(16, 185, 129, 0.14); color: var(--emerald); font-size: 12px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }

/* ── 404 ── */
.err-hero { min-height: 62vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 140px 24px 60px; }
.err-code { font-size: clamp(90px, 16vw, 160px); font-weight: 800; letter-spacing: -0.04em; line-height: 1; background: linear-gradient(92deg, var(--blue) 0%, var(--azure) 60%, var(--sky) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.err-hero h1 { font-size: clamp(24px, 4vw, 34px); letter-spacing: -0.02em; margin-top: 10px; }
.err-hero p:not(.err-code) { color: var(--muted); margin-top: 12px; max-width: 460px; }
.err-actions { display: flex; gap: 12px; margin-top: 26px; flex-wrap: wrap; justify-content: center; }

/* ── Changelog: RSS-Hinweis ── */
.cl-feed { margin-top: 14px; font-size: 14px; }
.cl-feed a { color: var(--muted); font-weight: 600; text-decoration: none; border-bottom: 1px dashed var(--line); padding-bottom: 1px; }
.cl-feed a:hover { color: var(--blue); border-color: var(--blue); }

/* ── Abrechnungszeitraum-Umschalter ── */
.bill-toggle {
  display: flex;
  justify-content: center;
  gap: 4px;
  width: fit-content;
  margin: 0 auto 26px;
  padding: 4px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card);
}
.bill-toggle button {
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
  padding: 8px 18px;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s ease, color 0.2s ease;
}
.bill-toggle button.is-on { background: var(--blue); color: #fff; }
.bill-save {
  font-size: 11px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.14);
  color: var(--emerald);
  letter-spacing: 0.01em;
}
.bill-toggle button.is-on .bill-save { background: rgba(255, 255, 255, 0.2); color: #fff; }

/* ── „Was ist neu"-Teaser ── */
.news-grid {
  max-width: var(--wrap);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.news-card {
  display: block;
  padding: 22px 24px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: var(--shadow-card);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.news-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); }
.news-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.news-version {
  font-size: 12px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(10, 124, 255, 0.1);
  color: var(--blue);
}
.news-date { font-size: 12.5px; color: var(--muted); }
.news-card h3 { font-size: 16.5px; letter-spacing: -0.01em; color: var(--ink); }
.news-card p { margin-top: 8px; font-size: 14px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-more { max-width: var(--wrap); margin: 22px auto 0; display: flex; gap: 18px; align-items: center; }
.news-more a { font-weight: 700; color: var(--blue); font-size: 14.5px; }
.news-rss { color: var(--muted) !important; font-weight: 650 !important; }
@media (max-width: 880px) {
  .news-grid { grid-template-columns: 1fr; }
}

/* ── Sticky-CTA (nur Mobil) ── */
.mcta {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  z-index: 90;
  display: none;
  align-items: center;
  gap: 14px;
  padding: 10px 16px 10px 10px;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: 0 18px 46px -18px rgba(16, 20, 24, 0.4);
  transform: translateY(120%);
  opacity: 0;
  transition: transform 0.35s var(--ease), opacity 0.3s ease;
}
.mcta .btn { flex: 1; text-align: center; justify-content: center; padding: 12px 18px; }
.mcta-link { font-size: 14px; font-weight: 700; color: var(--ink-soft); white-space: nowrap; padding-right: 6px; }
.mcta.is-on { transform: translateY(0); opacity: 1; }
@media (max-width: 880px) {
  .mcta:not([hidden]) { display: flex; }
}
@media (prefers-reduced-motion: reduce) {
  .mcta { transition: none; }
}

/* ── Screenshot-Lightbox ── */
.frame-viewport img { cursor: zoom-in; }
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 4vw, 48px);
  background: rgba(8, 10, 14, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity 0.25s ease;
  cursor: zoom-out;
}
.lightbox.is-on { opacity: 1; }
.lightbox img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 14px;
  box-shadow: 0 40px 120px -30px rgba(0, 0, 0, 0.8);
}
.lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}
@media (prefers-reduced-motion: reduce) {
  .lightbox { transition: none; }
}

/* ── Vergleichstabelle: unter 700 px als gestapelte Karten ── */
@media (max-width: 700px) {
  .vs-wrap { overflow-x: visible; border: 0; background: transparent; box-shadow: none; }
  .vs-table { min-width: 0; }
  .vs-table thead { display: none; }
  .vs-table tbody tr {
    display: block;
    margin-bottom: 16px;
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    background: var(--card);
    box-shadow: var(--shadow-card);
    overflow: hidden;
  }
  .vs-table tbody th {
    display: block;
    padding: 14px 18px 10px;
    font-size: 16px;
    border-bottom: 0;
    white-space: normal;
  }
  .vs-table tbody td {
    display: block;
    border-bottom: 1px solid var(--line);
  }
  .vs-table tbody tr td:last-child { border-bottom: 0; }
  .vs-table td::before {
    content: attr(data-label);
    display: block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 4px;
  }
}

/* ── Ratgeber ── */
.guide-hero { padding: clamp(130px, 16vh, 170px) 24px 30px; max-width: 820px; margin: 0 auto; }
.guide-hero .eyebrow { margin-bottom: 14px; }
.guide-hero h1 { font-size: clamp(30px, 4.6vw, 46px); letter-spacing: -0.025em; line-height: 1.1; }
.guide-hero .sub { margin-top: 16px; }
.guide-meta { display: flex; gap: 14px; align-items: center; margin-top: 18px; font-size: 13.5px; color: var(--muted); flex-wrap: wrap; }
.guide-meta b { color: var(--ink-soft); font-weight: 700; }
.guide-body { max-width: 820px; margin: 0 auto; padding: 10px 24px 30px; }
.guide-body h2 { font-size: 24px; letter-spacing: -0.02em; margin: 38px 0 12px; }
.guide-body h3 { font-size: 18px; letter-spacing: -0.01em; margin: 26px 0 8px; }
.guide-body p { margin: 12px 0; font-size: 16.5px; line-height: 1.75; color: var(--ink-soft); }
.guide-body ul { list-style: disc; }
.guide-body ol { list-style: decimal; }
.guide-body ul, .guide-body ol { margin: 12px 0 12px 22px; padding-left: 4px; display: grid; gap: 8px; }
.guide-body li { font-size: 16px; line-height: 1.65; color: var(--ink-soft); }
.guide-body li::marker { color: var(--blue); font-weight: 700; }
.guide-body a { color: var(--blue); font-weight: 650; }
.guide-body code { font-size: 14px; background: var(--tint); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; }
.guide-note {
  margin: 26px 0;
  padding: 14px 18px;
  border-radius: var(--r-md);
  border: 1px solid rgba(245, 158, 11, 0.35);
  background: rgba(245, 158, 11, 0.08);
  font-size: 14px;
  color: var(--ink-soft);
}
.guide-cta {
  margin: 40px 0 10px;
  padding: 26px 28px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: var(--tint);
}
.guide-cta h2 { margin: 0 0 8px; font-size: 20px; }
.guide-cta p { margin: 0 0 16px; font-size: 15px; }
.guide-rel { max-width: 820px; margin: 10px auto 0; padding: 0 24px 40px; }
.guide-rel b { display: block; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.guide-rel a { display: inline-block; margin: 0 10px 8px 0; font-size: 14.5px; font-weight: 700; color: var(--blue); }

/* Ratgeber-Übersicht */
.guide-grid { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.guide-card {
  display: block;
  padding: 24px 26px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: var(--shadow-card);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.guide-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); }
.guide-card .card-ico { margin-bottom: 14px; }
.guide-card h3 { font-size: 17px; letter-spacing: -0.01em; color: var(--ink); }
.guide-card p { margin-top: 8px; font-size: 14px; color: var(--muted); line-height: 1.6; }
@media (max-width: 980px) { .guide-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .guide-grid { grid-template-columns: 1fr; } }

/* ── Status-Seite ── */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card);
  font-weight: 700;
  font-size: 15px;
}
.status-badge .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--muted); }
.status-badge.is-ok .dot { background: var(--emerald); box-shadow: 0 0 0 5px rgba(16, 185, 129, 0.15); }
.status-badge.is-warn .dot { background: var(--amber); box-shadow: 0 0 0 5px rgba(245, 158, 11, 0.15); }

/* ── Zugang zum bisherigen ClubFlex (Bestandskunden) ── */
.nav-login--legacy { color: var(--muted); font-weight: 600; }
.nav-login--legacy::after { content: "↗"; font-size: 11px; margin-left: 3px; opacity: 0.7; }
@media (max-width: 1080px) {
  .nav-login--legacy { display: none; } /* enge Breiten: Drawer/Footer übernehmen */
}
