/* =============================================================
   TaxPilot — Design System
   ============================================================= */

/* ------- 0. Lokale Schriftarten (DSGVO-konform, keine Anfrage an Google) ------- */
@font-face {
  font-family: 'Inter';
  font-style: normal; font-weight: 400; font-display: swap;
  src: url('../fonts/inter-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal; font-weight: 500; font-display: swap;
  src: url('../fonts/inter-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal; font-weight: 600; font-display: swap;
  src: url('../fonts/inter-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal; font-weight: 700; font-display: swap;
  src: url('../fonts/inter-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal; font-weight: 800; font-display: swap;
  src: url('../fonts/inter-800.woff2') format('woff2');
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal; font-weight: 500; font-display: swap;
  src: url('../fonts/plus-jakarta-sans-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal; font-weight: 600; font-display: swap;
  src: url('../fonts/plus-jakarta-sans-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal; font-weight: 700; font-display: swap;
  src: url('../fonts/plus-jakarta-sans-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal; font-weight: 800; font-display: swap;
  src: url('../fonts/plus-jakarta-sans-800.woff2') format('woff2');
}

/* ------- 1. Design Tokens ------- */
:root {
  /* Brand colors */
  --color-brand-900: #0b1733;
  --color-brand-800: #0f1e3d;
  --color-brand-700: #14305f;
  --color-brand-600: #1d4ed8;
  --color-brand-500: #2563eb;
  --color-brand-400: #3b82f6;
  --color-brand-300: #93c5fd;
  --color-brand-100: #dbeafe;
  --color-brand-50:  #eff6ff;

  /* Accent (Cyan) */
  --color-accent-600: #0891b2;
  --color-accent-500: #06b6d4;
  --color-accent-400: #22d3ee;
  --color-accent-100: #cffafe;

  /* CTA gold */
  --color-cta-600: #d97706;
  --color-cta-500: #f59e0b;
  --color-cta-100: #fef3c7;

  /* Semantic */
  --color-success-500: #10b981;
  --color-warning-500: #f59e0b;
  --color-danger-500:  #ef4444;

  /* Neutrals */
  --color-ink-900: #0f172a;
  --color-ink-800: #1e293b;
  --color-ink-700: #334155;
  --color-ink-600: #475569;
  --color-ink-500: #64748b;
  --color-ink-400: #94a3b8;
  --color-ink-300: #cbd5e1;
  --color-ink-200: #e2e8f0;
  --color-ink-100: #f1f5f9;
  --color-ink-50:  #f8fafc;
  --color-white:   #ffffff;

  /* Surface */
  --surface-base:    #ffffff;
  --surface-muted:   #f8fafc;
  --surface-deep:    #0f1e3d;
  --surface-deeper:  #0b1733;
  --surface-tinted:  #eff6ff;

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-display: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Type scale (fluid clamp) */
  --fs-display-1: clamp(2.5rem, 1.6rem + 4.2vw, 4.5rem);
  --fs-display-2: clamp(2rem, 1.4rem + 2.8vw, 3.25rem);
  --fs-h1:        clamp(1.875rem, 1.4rem + 2vw, 2.75rem);
  --fs-h2:        clamp(1.5rem, 1.2rem + 1.4vw, 2.125rem);
  --fs-h3:        clamp(1.25rem, 1.1rem + 0.7vw, 1.5rem);
  --fs-h4:        1.125rem;
  --fs-lead:      clamp(1.1rem, 1rem + 0.4vw, 1.25rem);
  --fs-body:      1rem;
  --fs-small:     0.875rem;
  --fs-tiny:      0.8125rem;

  /* Spacing scale */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Radii */
  --radius-sm: 0.375rem;
  --radius-md: 0.625rem;
  --radius-lg: 0.875rem;
  --radius-xl: 1.25rem;
  --radius-2xl: 1.75rem;
  --radius-full: 9999px;

  /* Elevation */
  --shadow-sm:  0 1px 2px 0 rgb(15 23 42 / 0.06);
  --shadow-md:  0 4px 16px -2px rgb(15 23 42 / 0.08), 0 2px 6px -2px rgb(15 23 42 / 0.05);
  --shadow-lg:  0 18px 36px -12px rgb(15 23 42 / 0.18), 0 4px 12px -4px rgb(15 23 42 / 0.08);
  --shadow-xl:  0 30px 60px -20px rgb(15 23 42 / 0.25);
  --shadow-glow: 0 0 0 6px rgb(37 99 235 / 0.12);

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --duration-fast: 140ms;
  --duration-mid:  260ms;
  --duration-slow: 460ms;

  /* Layout */
  --container-max: 1200px;
  --container-narrow: 880px;
  --gutter: clamp(1.25rem, 1rem + 1.5vw, 2.5rem);
  --header-h: 76px;
}

/* ------- 2. Modern Reset ------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--color-ink-800);
  background: var(--surface-base);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, picture, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--color-brand-600); text-decoration: none; transition: color var(--duration-fast) var(--ease-out); }
a:hover { color: var(--color-brand-500); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid var(--color-brand-400);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}
button { font-family: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }
ul, ol { padding-left: 1.25rem; }
li + li { margin-top: 0.35rem; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--color-ink-900); line-height: 1.2; letter-spacing: -0.01em; font-weight: 700; }
h1 { font-size: var(--fs-display-2); letter-spacing: -0.02em; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }
p { color: var(--color-ink-700); }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* Skip link */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 1000;
  background: var(--color-brand-700); color: #fff; padding: 0.75rem 1rem;
  border-radius: 0 0 var(--radius-md) 0; font-weight: 600;
}
.skip-link:focus { left: 0; }

/* ------- 3. Layout primitives ------- */
.container { width: 100%; max-width: var(--container-max); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: var(--container-narrow); }

.section { padding-block: clamp(3.5rem, 2rem + 5vw, 6.5rem); }
.section--tight { padding-block: clamp(2.5rem, 1.5rem + 3vw, 4.5rem); }
.section--muted { background: var(--surface-muted); }
.section--deep { background: var(--surface-deep); color: var(--color-ink-100); }
.section--deep h1, .section--deep h2, .section--deep h3, .section--deep h4 { color: #fff; }
.section--deep p { color: rgba(255,255,255,0.78); }

.section-head { max-width: 760px; margin-inline: auto; text-align: center; margin-bottom: var(--space-12); }
.section-head--left { text-align: left; margin-inline: 0; }
.section-head__eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.78rem; font-weight: 600;
  color: var(--color-brand-600);
  background: var(--color-brand-50); padding: 0.4rem 0.85rem;
  border-radius: var(--radius-full); margin-bottom: var(--space-5);
}
.section--deep .section-head__eyebrow { background: rgba(37, 99, 235, 0.18); color: var(--color-brand-300); }
.section-head__title { margin-bottom: var(--space-4); }
.section-head__lead { font-size: var(--fs-lead); color: var(--color-ink-600); }
.section--deep .section-head__lead { color: rgba(255,255,255,0.78); }

/* Grids */
.grid { display: grid; gap: var(--space-6); }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: 1fr; }
@media (min-width: 720px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}

/* ------- 4. Header / Navigation ------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,0.86);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--color-ink-200);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: var(--header-h); gap: var(--space-6);
}
.site-header__brand {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-weight: 800; font-size: 1.15rem; letter-spacing: -0.02em;
  color: var(--color-ink-900);
}
.site-header__brand:hover { color: var(--color-brand-600); }
.brand-mark {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  filter: drop-shadow(0 6px 12px rgba(15, 30, 61, 0.18));
  flex-shrink: 0;
}
.brand-mark img { width: 40px; height: 40px; object-fit: contain; display: block; }
.brand-mark svg { width: 22px; height: 22px; color: white; }

.site-nav { display: none; }
.site-nav__list { display: flex; gap: 0.25rem; list-style: none; padding: 0; margin: 0; }
.site-nav__list li { margin: 0; }
.site-nav__link {
  display: inline-flex; align-items: center; gap: 0.35rem;
  padding: 0.55rem 0.85rem; border-radius: var(--radius-md);
  color: var(--color-ink-700); font-weight: 500; font-size: 0.95rem;
  position: relative;
}
.site-nav__link:hover, .site-nav__link[aria-current="page"] {
  color: var(--color-brand-700); background: var(--color-brand-50);
}
.site-nav__link[data-has-sub] { position: relative; }
.site-nav__link[data-has-sub]::after {
  content: ""; width: 8px; height: 8px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px); opacity: 0.6;
}
/* Permanente, unsichtbare Hover-Bridge direkt am Parent-Link.
   Der Link existiert immer (im Gegensatz zum Submenü, das nur auf :hover
   sichtbar wird) — so bleibt die Bridge auch beim Cursor-Move aktiv. */
.site-nav__link[data-has-sub]::before {
  content: "";
  position: absolute;
  top: 100%;
  left: -0.5rem;
  right: -0.5rem;
  height: 1rem;
  z-index: 1;
}
.site-nav__sub {
  position: absolute; top: 100%; left: 0;
  margin-top: 0.5rem;
  min-width: 280px; padding: 0.5rem;
  background: white; border: 1px solid var(--color-ink-200);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  list-style: none;
  display: none;
}
/* Legacy-Bridge auf dem Submenü selbst — bleibt als zweite Sicherung,
   solange das Submenü sichtbar ist. */
.site-nav__sub::before {
  content: "";
  position: absolute;
  top: -0.6rem; left: 0; right: 0;
  height: 0.6rem;
}
.site-nav__item { position: relative; }
/* :hover/:focus-within sind Fallback ohne JS — die JS-Logik nutzt data-open
   für robustes Open/Close mit Close-Delay (verhindert Mid-Move-Closing). */
.site-nav__item:hover .site-nav__sub,
.site-nav__item:focus-within .site-nav__sub,
.site-nav__item[data-open="true"] .site-nav__sub { display: block; }
.site-nav__sub li { margin: 0; }
.site-nav__sub a {
  display: block; padding: 0.7rem 0.85rem; border-radius: var(--radius-md);
  color: var(--color-ink-700); font-size: 0.95rem;
}
.site-nav__sub a:hover { background: var(--color-brand-50); color: var(--color-brand-700); }
.site-nav__sub a small { display: block; color: var(--color-ink-500); font-size: 0.78rem; margin-top: 0.15rem; }

.site-header__cta { display: none; }

.menu-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: var(--radius-md);
  border: 1px solid var(--color-ink-200); background: white;
  color: var(--color-ink-800);
}
.menu-toggle__bar {
  display: block; width: 22px; height: 2px; background: currentColor;
  position: relative; transition: transform var(--duration-fast) var(--ease-out), background var(--duration-fast);
}
.menu-toggle__bar::before, .menu-toggle__bar::after {
  content: ""; position: absolute; left: 0; width: 100%; height: 2px; background: currentColor;
  transition: transform var(--duration-fast) var(--ease-out), top var(--duration-fast);
}
.menu-toggle__bar::before { top: -7px; }
.menu-toggle__bar::after { top: 7px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bar { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bar::before { transform: rotate(45deg); top: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bar::after { transform: rotate(-45deg); top: 0; }

.mobile-nav {
  display: none;
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 50;
  background: white; overflow-y: auto;
  padding: var(--space-6) var(--gutter) var(--space-16);
  animation: fadeSlide var(--duration-mid) var(--ease-out);
}
.mobile-nav.is-open { display: block; }
.mobile-nav__list { list-style: none; padding: 0; margin: 0; }
.mobile-nav__list li { margin: 0; border-bottom: 1px solid var(--color-ink-100); }
.mobile-nav__list a {
  display: block; padding: 1.1rem 0.25rem; font-size: 1.1rem;
  color: var(--color-ink-800); font-weight: 600;
}
.mobile-nav__list > li:has(.mobile-nav__group) > a::after {
  content: "›";
  display: inline-block; margin-left: 0.5rem;
  color: var(--color-brand-500); font-weight: 700;
  transform: rotate(90deg);
}
.mobile-nav__group { padding-left: 0.85rem; margin: 0.15rem 0 0.75rem; border-left: 2px solid var(--color-brand-200, var(--color-brand-100)); display: grid; }
.mobile-nav__group a { padding: 0.65rem 0.5rem; font-size: 0.95rem; font-weight: 500; color: var(--color-ink-600); border-bottom: 0; }
.mobile-nav__group a::before { content: "›"; color: var(--color-brand-400); margin-right: 0.4rem; opacity: 0.6; }
.mobile-nav__cta { margin-top: var(--space-6); }
@keyframes fadeSlide {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}
body.nav-open { overflow: hidden; }

@media (min-width: 1024px) {
  .site-nav { display: block; }
  .site-header__cta { display: inline-flex; }
  .menu-toggle { display: none; }
}

/* ------- 5. Buttons ------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  padding: 0.85rem 1.4rem;
  font-weight: 600; font-size: 1rem;
  border-radius: var(--radius-full);
  transition: transform var(--duration-fast) var(--ease-out), background var(--duration-fast), box-shadow var(--duration-fast), color var(--duration-fast);
  white-space: nowrap;
}
.btn--primary {
  background: var(--color-brand-600); color: white;
  box-shadow: 0 8px 20px -6px rgb(37 99 235 / 0.5);
}
.btn--primary:hover { background: var(--color-brand-700); transform: translateY(-1px); color: white; box-shadow: 0 12px 24px -6px rgb(37 99 235 / 0.55); }
.btn--secondary {
  background: white; color: var(--color-brand-700);
  border: 1px solid var(--color-ink-200);
  box-shadow: var(--shadow-sm);
}
.btn--secondary:hover { background: var(--color-brand-50); border-color: var(--color-brand-300); }
.btn--ghost { color: var(--color-ink-700); padding: 0.6rem 0.85rem; }
.btn--ghost:hover { color: var(--color-brand-600); background: var(--color-brand-50); }
.btn--lg { padding: 1.05rem 1.75rem; font-size: 1.05rem; }
.btn--block { display: flex; width: 100%; }
.btn svg { width: 1.05em; height: 1.05em; }
.btn--accent {
  background: linear-gradient(135deg, var(--color-cta-500), var(--color-cta-600));
  color: white;
  box-shadow: 0 10px 24px -6px rgb(245 158 11 / 0.55);
}
.btn--accent:hover { transform: translateY(-1px); color: white; box-shadow: 0 14px 26px -6px rgb(245 158 11 / 0.6); }

/* ------- 6. Hero ------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1200px 600px at 110% -10%, rgba(34, 211, 238, 0.18), transparent 70%),
    radial-gradient(800px 600px at -10% 20%, rgba(37, 99, 235, 0.18), transparent 70%),
    linear-gradient(180deg, var(--surface-base) 0%, var(--surface-base) 60%, var(--color-brand-50) 100%);
  padding-block: clamp(4rem, 2rem + 6vw, 7rem) clamp(3rem, 1.5rem + 4vw, 5rem);
}
.hero__grid {
  display: grid; grid-template-columns: 1fr; gap: var(--space-12);
  align-items: center;
}
@media (min-width: 960px) {
  .hero__grid { grid-template-columns: 1.1fr 0.9fr; gap: var(--space-16); }
}
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.45rem 0.9rem; border-radius: var(--radius-full);
  background: white; border: 1px solid var(--color-brand-100);
  color: var(--color-brand-700); font-weight: 600; font-size: 0.85rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: var(--space-5);
}
.hero__eyebrow-dot {
  width: 8px; height: 8px; background: var(--color-success-500);
  border-radius: 50%; box-shadow: 0 0 0 4px rgb(16 185 129 / 0.15);
}
.hero__title {
  font-size: var(--fs-display-1); font-weight: 800; letter-spacing: -0.025em;
  line-height: 1.05;
}
.hero__title em {
  font-style: normal;
  background: linear-gradient(135deg, var(--color-brand-600), var(--color-accent-500));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__lead { font-size: var(--fs-lead); color: var(--color-ink-600); margin-top: var(--space-5); max-width: 540px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: var(--space-8); }
.hero__trust {
  margin-top: var(--space-10);
  display: flex; flex-wrap: wrap; gap: 1.5rem 2.25rem;
  color: var(--color-ink-600); font-size: 0.95rem;
}
.hero__trust-item { display: inline-flex; align-items: center; gap: 0.5rem; }
.hero__trust-item svg { width: 18px; height: 18px; color: var(--color-success-500); }

.hero__visual {
  position: relative; justify-self: center; max-width: 520px; width: 100%;
}
.hero__visual::before {
  content: ""; position: absolute; inset: -12% -10% -10% -12%;
  background: radial-gradient(closest-side, rgba(37, 99, 235, 0.10), transparent 75%);
  z-index: -1;
}

/* ------- 7. Cards ------- */
.card {
  background: white;
  border: 1px solid var(--color-ink-200);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  transition: transform var(--duration-mid) var(--ease-out), box-shadow var(--duration-mid), border-color var(--duration-mid);
  height: 100%;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--color-brand-200, var(--color-brand-100)); }
.card__icon {
  width: 48px; height: 48px; border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--color-brand-50), var(--color-accent-100));
  color: var(--color-brand-600);
  display: grid; place-items: center;
  margin-bottom: var(--space-5);
}
.card__icon svg { width: 24px; height: 24px; }
.card__title { font-size: 1.1rem; font-weight: 700; margin-bottom: var(--space-3); color: var(--color-ink-900); }
.card__text { color: var(--color-ink-600); font-size: 0.97rem; }

/* Stat card */
.stat-card {
  background: linear-gradient(180deg, white 0%, var(--color-brand-50) 100%);
  border: 1px solid var(--color-brand-100);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  text-align: left;
}
.stat-card__value {
  font-size: clamp(2rem, 1.5rem + 1.5vw, 2.75rem);
  font-weight: 800; line-height: 1;
  background: linear-gradient(135deg, var(--color-brand-600), var(--color-accent-500));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: var(--space-3);
}
.stat-card__label { color: var(--color-ink-700); font-weight: 500; }

/* Feature card with icon left */
.feature {
  display: grid; grid-template-columns: auto 1fr; gap: 1rem;
  align-items: start;
}
.feature__icon {
  width: 40px; height: 40px; border-radius: var(--radius-md);
  background: var(--color-brand-50); color: var(--color-brand-600);
  display: grid; place-items: center;
}
.feature__icon svg { width: 20px; height: 20px; }
.feature__title { font-weight: 700; color: var(--color-ink-900); margin-bottom: 0.25rem; }
.feature__text { color: var(--color-ink-600); font-size: 0.95rem; }

/* ------- 8. Process / Steps ------- */
.steps { display: grid; gap: var(--space-6); }
@media (min-width: 880px) { .steps { grid-template-columns: repeat(3, 1fr); gap: var(--space-8); } }
.step {
  position: relative; padding: var(--space-6);
  background: white; border-radius: var(--radius-xl);
  border: 1px solid var(--color-ink-200);
}
.step__num {
  width: 44px; height: 44px; border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--color-brand-600), var(--color-accent-500));
  color: white; font-weight: 700; font-size: 1.1rem;
  display: grid; place-items: center;
  margin-bottom: var(--space-5);
  box-shadow: 0 8px 18px -6px rgb(37 99 235 / 0.4);
}
.step__title { font-size: 1.15rem; font-weight: 700; margin-bottom: var(--space-3); }
.step__text { color: var(--color-ink-600); }

/* ------- 9. Partners / Integrations ------- */
.partner-grid {
  display: grid; gap: var(--space-4);
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 640px) { .partner-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 960px) { .partner-grid { grid-template-columns: repeat(6, 1fr); } }
.partner {
  padding: var(--space-5);
  background: white;
  border: 1px solid var(--color-ink-200);
  border-radius: var(--radius-lg);
  text-align: center;
  font-weight: 600; color: var(--color-ink-700);
  font-size: 0.95rem;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.5rem; min-height: 100px;
  transition: border-color var(--duration-fast), transform var(--duration-fast);
}
.partner:hover { border-color: var(--color-brand-300); transform: translateY(-2px); }
.partner__icon { width: 32px; height: 32px; color: var(--color-brand-600); }
.partner__name { font-weight: 600; }
.partner__type { font-size: 0.78rem; color: var(--color-ink-500); font-weight: 500; }

/* ------- 10. Compare table (Mit / Ohne) ------- */
.compare {
  display: grid; gap: var(--space-6);
  grid-template-columns: 1fr;
}
@media (min-width: 800px) { .compare { grid-template-columns: 1fr 1fr; gap: var(--space-8); } }
.compare__col {
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  border: 1px solid var(--color-ink-200);
  background: white;
}
.compare__col--against {
  border-color: rgb(239 68 68 / 0.25);
  background: linear-gradient(180deg, white, rgb(239 68 68 / 0.04));
}
.compare__col--with {
  border-color: rgb(16 185 129 / 0.35);
  background: linear-gradient(180deg, white, rgb(16 185 129 / 0.06));
  position: relative;
}
.compare__col--with::after {
  content: "Mit TaxPilot"; position: absolute; top: -14px; right: var(--space-6);
  background: var(--color-success-500); color: white;
  padding: 0.3rem 0.8rem; border-radius: var(--radius-full);
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.04em;
}
.compare__col--against::after {
  content: "Ohne TaxPilot"; position: absolute; top: -14px; right: var(--space-6);
  background: var(--color-ink-700); color: white;
  padding: 0.3rem 0.8rem; border-radius: var(--radius-full);
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.04em;
}
.compare__title { font-size: 1.1rem; font-weight: 700; margin-bottom: var(--space-5); }
.compare__list { list-style: none; padding: 0; margin: 0; }
.compare__list li {
  display: grid; grid-template-columns: 20px 1fr; gap: 0.6rem;
  padding: 0.6rem 0; border-top: 1px solid var(--color-ink-100);
  color: var(--color-ink-700); font-size: 0.97rem; align-items: start;
}
.compare__list li:first-child { border-top: 0; }
.compare__list li svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 0.1rem; }
.compare__col--against svg { color: var(--color-danger-500); }
.compare__col--with svg { color: var(--color-success-500); }

/* ------- 11. FAQ ------- */
.faq { max-width: 820px; margin-inline: auto; }
.faq__item {
  background: white;
  border: 1px solid var(--color-ink-200);
  border-radius: var(--radius-lg);
  margin-bottom: 0.75rem;
  overflow: hidden;
  transition: border-color var(--duration-fast);
}
.faq__item[open] { border-color: var(--color-brand-300); box-shadow: var(--shadow-md); }
.faq__q {
  list-style: none; cursor: pointer;
  padding: 1.1rem 1.25rem;
  font-weight: 600; color: var(--color-ink-900);
  display: flex; gap: 1rem; justify-content: space-between; align-items: center;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after {
  content: ""; width: 12px; height: 12px;
  border-right: 2px solid var(--color-brand-500);
  border-bottom: 2px solid var(--color-brand-500);
  transform: rotate(45deg); transition: transform var(--duration-fast);
  flex-shrink: 0;
}
.faq__item[open] .faq__q::after { transform: rotate(-135deg); }
.faq__a { padding: 0 1.25rem 1.25rem; color: var(--color-ink-600); }
.faq__a p + p { margin-top: 0.6rem; }

/* ------- 12. CTA banner ------- */
.cta-banner {
  position: relative; overflow: hidden;
  border-radius: var(--radius-2xl);
  background:
    radial-gradient(800px 400px at 100% 0%, rgba(34, 211, 238, 0.35), transparent 70%),
    radial-gradient(600px 400px at 0% 100%, rgba(245, 158, 11, 0.25), transparent 70%),
    linear-gradient(135deg, var(--color-brand-700), var(--color-brand-900));
  color: white;
  padding: clamp(2.5rem, 1.5rem + 3vw, 4rem);
  display: grid; gap: var(--space-6); align-items: center;
}
@media (min-width: 820px) { .cta-banner { grid-template-columns: 1.4fr 1fr; gap: var(--space-12); } }
.cta-banner__title { color: white; font-size: var(--fs-h1); margin-bottom: var(--space-4); }
.cta-banner__lead { color: rgba(255,255,255,0.82); font-size: var(--fs-lead); margin-bottom: var(--space-6); }
.cta-banner__cta { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.cta-banner .btn--secondary { background: rgba(255,255,255,0.08); color: white; border-color: rgba(255,255,255,0.25); }
.cta-banner .btn--secondary:hover { background: rgba(255,255,255,0.15); }
.cta-banner__visual { display: none; }
@media (min-width: 820px) { .cta-banner__visual { display: block; text-align: center; } }
.cta-banner__visual img { width: 100%; max-width: 280px; margin-inline: auto; }

/* ------- 13. Forms ------- */
.form { display: grid; gap: var(--space-5); }
.form__row { display: grid; gap: var(--space-5); }
@media (min-width: 640px) { .form__row--2 { grid-template-columns: 1fr 1fr; } }
.form__group { display: grid; gap: 0.4rem; }
.form__label { font-weight: 600; color: var(--color-ink-800); font-size: 0.95rem; }
.form__label[data-required]::after { content: "*"; color: var(--color-danger-500); margin-left: 0.2rem; }
.form__hint { font-size: 0.85rem; color: var(--color-ink-500); }
.form__control {
  width: 100%; padding: 0.85rem 1rem;
  font-family: inherit; font-size: 1rem;
  border: 1px solid var(--color-ink-200);
  border-radius: var(--radius-md);
  background: white; color: var(--color-ink-900);
  transition: border-color var(--duration-fast), box-shadow var(--duration-fast);
}
.form__control:focus { border-color: var(--color-brand-500); box-shadow: 0 0 0 4px rgb(37 99 235 / 0.12); outline: none; }
textarea.form__control { min-height: 140px; resize: vertical; }
select.form__control { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--color-ink-500) 50%), linear-gradient(135deg, var(--color-ink-500) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; padding-right: 2.5rem; }

.checkbox {
  display: grid; grid-template-columns: 20px 1fr; gap: 0.65rem; align-items: start;
  font-size: 0.92rem; color: var(--color-ink-600);
}
.checkbox input { width: 18px; height: 18px; margin-top: 0.2rem; accent-color: var(--color-brand-600); }

/* ------- 14. Contact / Info ------- */
.contact-grid {
  display: grid; gap: var(--space-8);
  grid-template-columns: 1fr;
}
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1.2fr 1fr; gap: var(--space-12); } }
.contact-info {
  background: var(--surface-deep); color: white;
  border-radius: var(--radius-xl); padding: var(--space-8);
}
.contact-info h3 { color: white; margin-bottom: var(--space-2); }
.contact-info p { color: rgba(255,255,255,0.75); }
.contact-info__item {
  display: grid; grid-template-columns: 44px 1fr; gap: 1rem; align-items: start;
  padding: 1.1rem 0; border-top: 1px solid rgba(255,255,255,0.12);
}
.contact-info__item:first-of-type { border-top: 0; }
.contact-info__icon {
  width: 44px; height: 44px; border-radius: var(--radius-md);
  background: rgba(255,255,255,0.08); color: var(--color-accent-400);
  display: grid; place-items: center;
}
.contact-info__icon svg { width: 22px; height: 22px; }
.contact-info__label { font-size: 0.85rem; color: rgba(255,255,255,0.65); margin-bottom: 0.15rem; }
.contact-info__value { font-weight: 600; color: white; font-size: 1.05rem; word-break: break-word; }
.contact-info__value a { color: white; }
.contact-info__value a:hover { color: var(--color-accent-400); }

/* ------- 15. Page hero (subpages) ------- */
.page-hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 400px at 100% 0%, rgba(6, 182, 212, 0.16), transparent 70%),
    radial-gradient(600px 400px at -10% 50%, rgba(37, 99, 235, 0.16), transparent 70%),
    linear-gradient(180deg, var(--surface-base), var(--color-brand-50));
  padding-block: clamp(3.5rem, 2rem + 4vw, 5.5rem);
  border-bottom: 1px solid var(--color-ink-100);
}
.page-hero__inner { max-width: 760px; }
.page-hero__title { font-size: var(--fs-display-2); line-height: 1.1; margin-bottom: var(--space-5); }
.page-hero__lead { font-size: var(--fs-lead); color: var(--color-ink-600); }
.breadcrumbs { font-size: 0.85rem; color: var(--color-ink-500); margin-bottom: var(--space-5); display: flex; gap: 0.4rem; flex-wrap: wrap; }
.breadcrumbs a { color: var(--color-ink-500); }
.breadcrumbs a:hover { color: var(--color-brand-600); }
.breadcrumbs span[aria-current] { color: var(--color-ink-700); font-weight: 500; }

/* ------- 16. Split layouts ------- */
.split {
  display: grid; gap: var(--space-10);
  grid-template-columns: 1fr; align-items: center;
}
@media (min-width: 880px) { .split { grid-template-columns: 1fr 1fr; gap: var(--space-12); } }
.split--reverse > :first-child { order: 1; }
@media (min-width: 880px) { .split--reverse > :first-child { order: 2; } }
.split__visual { position: relative; }
.split__visual img { border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); }
.split__visual--plain img { box-shadow: none; }
.split__title { margin-bottom: var(--space-5); }
.split__lead { font-size: var(--fs-lead); color: var(--color-ink-600); margin-bottom: var(--space-6); }
.split__list { list-style: none; padding: 0; margin: 0; }
.split__list li {
  display: grid; grid-template-columns: 22px 1fr; gap: 0.6rem;
  padding: 0.55rem 0; align-items: start; color: var(--color-ink-700);
}
.split__list li svg { width: 22px; height: 22px; color: var(--color-success-500); margin-top: 0.1rem; }

/* ------- 17. Stat strip ------- */
.stat-strip {
  background: white;
  border: 1px solid var(--color-ink-200);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  display: grid; gap: var(--space-6);
  grid-template-columns: 1fr;
}
@media (min-width: 720px) { .stat-strip { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .stat-strip { grid-template-columns: repeat(4, 1fr); } }
.stat-strip__item { text-align: center; padding: 0 0.5rem; }
.stat-strip__item + .stat-strip__item { border-top: 1px solid var(--color-ink-100); padding-top: var(--space-6); }
@media (min-width: 720px) { .stat-strip__item + .stat-strip__item { border-top: 0; padding-top: 0; border-left: 1px solid var(--color-ink-100); } }
.stat-strip__value { font-size: 2.25rem; font-weight: 800; color: var(--color-brand-700); line-height: 1; margin-bottom: 0.4rem; }
.stat-strip__label { color: var(--color-ink-600); font-size: 0.95rem; }

/* ------- 18. Footer ------- */
.site-footer {
  background: var(--surface-deeper);
  color: rgba(255,255,255,0.78);
  padding-block: var(--space-16) var(--space-8);
}
.site-footer a { color: rgba(255,255,255,0.78); }
.site-footer a:hover { color: white; }
.site-footer__grid {
  display: grid; gap: var(--space-8);
  grid-template-columns: 1fr;
  margin-bottom: var(--space-10);
}
@media (min-width: 720px) { .site-footer__grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.site-footer__brand-title { color: white; font-weight: 700; font-size: 1.15rem; margin-bottom: var(--space-3); }
.site-footer__brand-logo { display: block; width: auto; max-width: 180px; height: auto; margin-bottom: var(--space-3); }
.site-footer__col-title {
  color: white; font-weight: 700; font-size: 0.85rem;
  letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: var(--space-4);
}
.site-footer__list { list-style: none; padding: 0; margin: 0; }
.site-footer__list li { margin: 0; padding: 0.35rem 0; font-size: 0.95rem; }
.site-footer__bottom {
  padding-top: var(--space-6);
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between;
  font-size: 0.85rem;
}
.site-footer__legal { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; }
.site-footer__eu { display: flex; align-items: center; gap: 1rem; margin-top: var(--space-6); padding-top: var(--space-6); border-top: 1px solid rgba(255,255,255,0.12); }
.site-footer__eu img { width: 240px; max-width: 100%; background: white; padding: 0.75rem; border-radius: var(--radius-md); }
.site-footer__eu p { font-size: 0.82rem; color: rgba(255,255,255,0.6); }

/* ------- 19. Helpers ------- */
.text-center { text-align: center; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.muted { color: var(--color-ink-500); }
.tag {
  display: inline-flex; align-items: center;
  padding: 0.3rem 0.7rem; border-radius: var(--radius-full);
  background: var(--color-brand-50); color: var(--color-brand-700);
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
}
.tag--accent { background: var(--color-accent-100); color: var(--color-accent-600); }
.tag--warning { background: var(--color-cta-100); color: var(--color-cta-600); }

/* Pricing table */
.pricing {
  background: white;
  border: 1px solid var(--color-ink-200);
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.pricing__row {
  display: grid; grid-template-columns: 1fr auto;
  padding: 1.1rem 1.4rem;
  border-top: 1px solid var(--color-ink-100);
  align-items: center;
}
.pricing__row:first-child { border-top: 0; background: var(--color-brand-50); font-weight: 700; color: var(--color-brand-800); }
.pricing__row:not(:first-child):hover { background: var(--color-ink-50); }
.pricing__value { font-weight: 700; color: var(--color-ink-900); }
.pricing__note { margin-top: var(--space-4); font-size: 0.9rem; color: var(--color-ink-500); }

/* Sticky in-page nav (subpage TOC) */
.toc {
  position: sticky; top: calc(var(--header-h) + 1rem);
  background: white; border: 1px solid var(--color-ink-200);
  border-radius: var(--radius-lg); padding: var(--space-5);
}
.toc__title { font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-ink-500); margin-bottom: var(--space-3); font-weight: 700; }
.toc__list { list-style: none; padding: 0; margin: 0; }
.toc__list li { margin: 0; }
.toc__list a { display: block; padding: 0.55rem 0.6rem; border-radius: var(--radius-md); color: var(--color-ink-700); font-size: 0.95rem; }
.toc__list a:hover { background: var(--color-brand-50); color: var(--color-brand-700); }

/* Quote / Testimonial */
.quote {
  background: white; border-left: 4px solid var(--color-brand-500);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  box-shadow: var(--shadow-md);
}
.quote__text { font-size: var(--fs-lead); color: var(--color-ink-800); line-height: 1.5; font-weight: 500; }
.quote__author { margin-top: var(--space-5); display: flex; align-items: center; gap: 0.85rem; }
.quote__avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, var(--color-brand-600), var(--color-accent-500));
  color: white; font-weight: 700; display: grid; place-items: center;
  font-size: 1.1rem;
}
.quote__name { font-weight: 700; color: var(--color-ink-900); }
.quote__role { font-size: 0.88rem; color: var(--color-ink-500); }

/* Subpage two-column with sticky TOC */
.docs-layout {
  display: grid; gap: var(--space-10);
  grid-template-columns: 1fr;
}
@media (min-width: 1024px) {
  .docs-layout { grid-template-columns: 240px 1fr; gap: var(--space-12); }
}

/* Note box */
.note {
  border: 1px solid var(--color-brand-100);
  background: var(--color-brand-50);
  color: var(--color-brand-800);
  padding: var(--space-5);
  border-radius: var(--radius-lg);
  display: grid; grid-template-columns: 24px 1fr; gap: 0.85rem;
  align-items: start;
}
.note svg { width: 24px; height: 24px; color: var(--color-brand-600); }
.note--warning { background: var(--color-cta-100); border-color: var(--color-cta-500); color: var(--color-cta-600); }
.note--warning svg { color: var(--color-cta-600); }
.note p { color: inherit; }
.note__title { font-weight: 700; margin-bottom: 0.2rem; }

/* Section divider arc */
.section + .section { position: relative; }

/* ============================================================
   PREMIUM LAYER — Wow-Polish
   Animierte Gradients, Glow, Tilt-Hover, Marquee, smooth motion
   ============================================================ */

/* --- Animated gradient orbs (Hero-Background) --- */
@keyframes orb-drift-1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(40px, -30px) scale(1.06); }
  66%      { transform: translate(-30px, 25px) scale(0.96); }
}
@keyframes orb-drift-2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(-50px, 40px) scale(1.1); }
}
@keyframes grain-shift {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(-1%, 1%); }
}

.hero { isolation: isolate; }
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%;
  filter: blur(80px); pointer-events: none; z-index: -1; opacity: 0.55;
}
.hero::before {
  width: 520px; height: 520px; top: -120px; right: -140px;
  background: radial-gradient(closest-side, var(--color-brand-500), transparent 70%);
  animation: orb-drift-1 18s ease-in-out infinite;
}
.hero::after {
  width: 480px; height: 480px; bottom: -140px; left: -120px;
  background: radial-gradient(closest-side, var(--color-accent-500), transparent 70%);
  animation: orb-drift-2 22s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) {
  .hero::before, .hero::after { animation: none; }
}

/* --- Hero title gradient sheen --- */
@keyframes sheen {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}
.hero__title em {
  background: linear-gradient(120deg, var(--color-brand-600) 0%, var(--color-accent-500) 35%, var(--color-cta-500) 65%, var(--color-brand-600) 100%);
  background-size: 280% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: sheen 8s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) { .hero__title em { animation: none; background-size: 100% 100%; } }

.hero__title { font-weight: 800; letter-spacing: -0.035em; }

/* --- Sticky header glass --- */
@supports (backdrop-filter: blur(20px)) or (-webkit-backdrop-filter: blur(20px)) {
  .site-header {
    background: color-mix(in srgb, white 78%, transparent);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
  }
}
.site-header.is-scrolled {
  box-shadow: 0 12px 30px -18px rgb(15 30 61 / 0.18);
}

/* --- Brand mark glow on hover --- */
.site-header__brand:hover .brand-mark {
  filter: drop-shadow(0 10px 18px rgba(37, 99, 235, 0.35));
  transform: translateY(-1px) rotate(-4deg);
}
.brand-mark { transition: transform var(--duration-mid) var(--ease-out), filter var(--duration-mid); }

/* --- Premium buttons with sheen --- */
.btn--primary {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--color-brand-500), var(--color-brand-700));
  box-shadow: 0 10px 24px -8px rgb(37 99 235 / 0.55), inset 0 1px 0 rgb(255 255 255 / 0.18);
}
.btn--primary::after {
  content: ""; position: absolute; top: 0; left: -120%; width: 60%; height: 100%;
  background: linear-gradient(120deg, transparent, rgb(255 255 255 / 0.35), transparent);
  transform: skewX(-20deg); transition: left 700ms var(--ease-out);
  pointer-events: none;
}
.btn--primary:hover::after { left: 130%; }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -10px rgb(37 99 235 / 0.65); }

.btn--accent {
  position: relative; overflow: hidden;
}
.btn--accent::after {
  content: ""; position: absolute; top: 0; left: -120%; width: 60%; height: 100%;
  background: linear-gradient(120deg, transparent, rgb(255 255 255 / 0.4), transparent);
  transform: skewX(-20deg); transition: left 700ms var(--ease-out);
}
.btn--accent:hover::after { left: 130%; }
.btn--accent:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -10px rgb(245 158 11 / 0.65); }

/* --- Card 3D tilt + gradient border on hover --- */
.card {
  position: relative; isolation: isolate;
  transition: transform 400ms var(--ease-out), box-shadow 400ms, border-color 400ms;
}
.card::before {
  content: ""; position: absolute; inset: -1px; z-index: -1;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--color-brand-500), var(--color-accent-500));
  opacity: 0; transition: opacity 400ms;
}
.card:hover {
  transform: translateY(-6px);
  border-color: transparent;
  box-shadow: 0 30px 50px -20px rgb(37 99 235 / 0.25), 0 8px 16px -8px rgb(15 30 61 / 0.12);
}
.card:hover::before { opacity: 1; }
.card { background-clip: padding-box; }

.card__icon { transition: transform var(--duration-mid) var(--ease-out), box-shadow var(--duration-mid); }
.card:hover .card__icon {
  transform: scale(1.08) rotate(-4deg);
  box-shadow: 0 8px 18px -6px rgb(37 99 235 / 0.35);
}

/* --- Stat-Strip premium --- */
.stat-strip {
  position: relative; isolation: isolate; overflow: hidden;
  background: linear-gradient(180deg, white, var(--surface-tinted));
  box-shadow: 0 20px 40px -24px rgb(15 30 61 / 0.18);
}
.stat-strip::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(closest-side at 0% 0%, rgba(6,182,212,0.10), transparent 60%),
    radial-gradient(closest-side at 100% 100%, rgba(37,99,235,0.12), transparent 60%);
  pointer-events: none;
}
.stat-strip__value {
  font-family: var(--font-display);
  background: linear-gradient(135deg, var(--color-brand-700) 0%, var(--color-brand-500) 50%, var(--color-accent-500) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  font-size: clamp(2.5rem, 2rem + 1.8vw, 3.25rem);
  font-weight: 800; letter-spacing: -0.02em;
}

/* --- Steps with connector lines --- */
@media (min-width: 880px) {
  .steps { position: relative; }
  .steps::before {
    content: ""; position: absolute;
    top: 90px; left: 12%; right: 12%; height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-brand-200, var(--color-brand-100)), transparent);
    z-index: 0;
  }
  .step { position: relative; z-index: 1; }
}
.step { transition: transform 400ms var(--ease-out), box-shadow 400ms; }
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.step__num {
  position: relative;
  box-shadow: 0 10px 22px -6px rgb(37 99 235 / 0.45), inset 0 1px 0 rgb(255 255 255 / 0.2);
}
.step__num::after {
  content: ""; position: absolute; inset: -6px; border-radius: 50%;
  background: linear-gradient(135deg, var(--color-brand-500), var(--color-accent-500));
  opacity: 0.18; z-index: -1;
}

/* --- CTA-Banner sheen --- */
.cta-banner {
  position: relative; isolation: isolate;
  box-shadow: 0 30px 60px -20px rgb(15 30 61 / 0.55);
}
.cta-banner::before {
  content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit;
  background: conic-gradient(from 200deg at 50% 50%, var(--color-brand-500), var(--color-accent-500), var(--color-cta-500), var(--color-brand-500));
  opacity: 0.55; filter: blur(30px);
}
.cta-banner__visual img { animation: float-y 6s ease-in-out infinite; transform-origin: center; }
@keyframes float-y { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@media (prefers-reduced-motion: reduce) { .cta-banner__visual img { animation: none; } }

/* --- Hero mockup subtle hover lift --- */
.hero__mockup { will-change: transform; }

/* --- Compare columns: glow rim --- */
.compare__col { position: relative; isolation: isolate; transition: transform 400ms var(--ease-out), box-shadow 400ms; }
.compare__col:hover { transform: translateY(-3px); }
.compare__col--with { box-shadow: 0 20px 40px -20px rgb(16 185 129 / 0.35); }
.compare__col--with:hover { box-shadow: 0 26px 50px -20px rgb(16 185 129 / 0.5); }
.compare__col--against:hover { box-shadow: 0 26px 50px -20px rgb(239 68 68 / 0.25); }

/* --- FAQ premium --- */
.faq__item {
  background: linear-gradient(180deg, white, color-mix(in srgb, var(--color-brand-50) 50%, white));
  transition: border-color var(--duration-mid), box-shadow var(--duration-mid), transform var(--duration-mid);
}
.faq__item:hover { transform: translateX(2px); }
.faq__item[open] {
  background: linear-gradient(180deg, white, var(--color-brand-50));
  box-shadow: 0 18px 36px -18px rgb(37 99 235 / 0.25);
}
.faq__q { font-family: var(--font-display); font-size: 1.02rem; }

/* --- Section eyebrows premium --- */
.section-head__eyebrow {
  background: linear-gradient(135deg, var(--color-brand-50), color-mix(in srgb, var(--color-accent-100) 80%, white));
  box-shadow: inset 0 0 0 1px rgb(37 99 235 / 0.12);
  position: relative;
}

/* --- Section titles: display font + tighter --- */
.section-head__title, .split__title, .hero__title, .page-hero__title, .cta-banner__title {
  font-family: var(--font-display); font-weight: 800; letter-spacing: -0.025em;
}

/* --- Partner-Marquee (Endlos-Slider) --- */
.partner-marquee {
  position: relative; overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  padding-block: var(--space-2);
}
.partner-marquee__track {
  display: flex; gap: var(--space-4); width: max-content;
  animation: marquee 35s linear infinite;
}
.partner-marquee:hover .partner-marquee__track { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .partner-marquee__track { animation: none; }
}
.partner-marquee .partner {
  flex: 0 0 auto; width: 180px;
  background: white; border-radius: var(--radius-lg);
}

/* --- Aurora background behind dark sections --- */
.section--deep { position: relative; isolation: isolate; overflow: hidden; }
.section--deep::before {
  content: ""; position: absolute; inset: -20%;
  background:
    radial-gradient(closest-side at 20% 30%, rgba(37,99,235,0.35), transparent 60%),
    radial-gradient(closest-side at 80% 70%, rgba(6,182,212,0.30), transparent 60%),
    radial-gradient(closest-side at 50% 50%, rgba(245,158,11,0.10), transparent 70%);
  filter: blur(60px); z-index: -1; pointer-events: none;
  animation: orb-drift-1 24s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) { .section--deep::before { animation: none; } }

/* --- Better focus visible --- */
:focus-visible {
  outline: 3px solid var(--color-brand-400);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* --- Magnetic cursor effect (subtle scale on .btn--magnetic) --- */
.btn--magnetic { transition: transform 160ms var(--ease-out), box-shadow var(--duration-mid); }

/* --- Hero CTA pulse --- */
.hero__cta .btn--primary {
  box-shadow: 0 0 0 0 rgb(37 99 235 / 0.45), 0 10px 24px -8px rgb(37 99 235 / 0.55);
  animation: cta-pulse 3.2s ease-in-out infinite;
}
@keyframes cta-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgb(37 99 235 / 0.0), 0 10px 24px -8px rgb(37 99 235 / 0.55); }
  50%      { box-shadow: 0 0 0 12px rgb(37 99 235 / 0.0), 0 14px 28px -10px rgb(37 99 235 / 0.65); }
}
@media (prefers-reduced-motion: reduce) { .hero__cta .btn--primary { animation: none; } }

/* --- Confidence row (Hero-Sub-Trust) --- */
.confidence-row {
  display: flex; flex-wrap: wrap; gap: 0.75rem 1rem;
  align-items: center; margin-top: var(--space-6);
  padding-top: var(--space-6);
  border-top: 1px dashed var(--color-ink-200);
}
.confidence-row__item {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.85rem; color: var(--color-ink-600);
  padding: 0.4rem 0.8rem; background: white; border-radius: var(--radius-full);
  border: 1px solid var(--color-ink-200); box-shadow: var(--shadow-sm);
}
.confidence-row__item svg { width: 16px; height: 16px; color: var(--color-brand-500); }

/* --- Big quote --- */
.quote {
  background: linear-gradient(135deg, white, color-mix(in srgb, var(--color-brand-50) 60%, white));
  border-left: 0;
  position: relative; isolation: isolate;
  overflow: hidden;
}
.quote::before {
  content: ""; position: absolute; top: 0; left: 0; width: 6px; height: 100%;
  background: linear-gradient(180deg, var(--color-brand-500), var(--color-accent-500));
}
.quote::after {
  content: "“"; position: absolute; top: -30px; right: 8px;
  font-size: 12rem; line-height: 1; font-family: 'Plus Jakarta Sans', serif;
  color: var(--color-brand-100); opacity: 0.6; z-index: -1;
}
.quote__text { font-family: var(--font-display); font-weight: 600; }

/* --- Floating contact info icons --- */
.contact-info__icon { transition: transform var(--duration-mid), background var(--duration-mid); }
.contact-info__item:hover .contact-info__icon {
  transform: scale(1.08) rotate(-4deg);
  background: rgba(34, 211, 238, 0.18);
}

/* --- Premium scroll-bar --- */
@media (pointer: fine) {
  html { scrollbar-color: var(--color-brand-300) transparent; scrollbar-width: thin; }
  ::-webkit-scrollbar { width: 12px; }
  ::-webkit-scrollbar-thumb { background: linear-gradient(180deg, var(--color-brand-400), var(--color-accent-500)); border-radius: 6px; border: 3px solid white; }
  ::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, var(--color-brand-600), var(--color-accent-600)); }
}

/* --- Pricing premium --- */
.pricing { box-shadow: 0 20px 40px -20px rgb(15 30 61 / 0.15); }
.pricing__row { transition: background var(--duration-fast); }

/* --- Page-Hero premium background --- */
.page-hero {
  position: relative; isolation: isolate;
}
.page-hero::after {
  content: ""; position: absolute; right: -10%; top: -30%;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(6,182,212,0.18), transparent 70%);
  filter: blur(60px); z-index: -1; pointer-events: none;
}

/* --- Subtle section reveal motion --- */
.section { position: relative; }
.section > .container { position: relative; z-index: 1; }

/* ============================================================
   PREMIUM LAYER v2 — Wow-Boost
   Hero UI-Mockup, dramatischer Counter, Spotlight, smarter Header,
   Mobile-Tuning, smooth FAQ, choreographed reveals
   ============================================================ */

/* --- Mobile: Hero-Orbs verkleinern --- */
@media (max-width: 600px) {
  .hero::before, .hero::after { width: 280px; height: 280px; filter: blur(50px); opacity: 0.4; }
  .hero::before { top: -60px; right: -80px; }
  .hero::after { bottom: -80px; left: -60px; }
}

/* --- Cursor-Spotlight im Hero --- */
.hero { --mx: 50%; --my: 50%; }
.hero::after {
  /* Overlay-Spotlight, additiv zum Orb */
}
.hero__spotlight {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background: radial-gradient(600px circle at var(--mx) var(--my), rgba(37, 99, 235, 0.10), transparent 50%);
  transition: opacity var(--duration-mid);
  opacity: 0;
}
.hero:hover .hero__spotlight { opacity: 1; }
@media (pointer: coarse) { .hero__spotlight { display: none; } }
@media (prefers-reduced-motion: reduce) { .hero__spotlight { display: none; } }
.hero > .container { position: relative; z-index: 1; }

/* --- Active Nav Link — Gradient Underline --- */
.site-nav__link[aria-current="page"] {
  background: transparent;
  color: var(--color-brand-700);
}
.site-nav__link[aria-current="page"]::before {
  content: ""; position: absolute; bottom: 6px; left: 14%; right: 14%; height: 2px;
  background: linear-gradient(90deg, var(--color-brand-500), var(--color-accent-500));
  border-radius: 2px;
}
.site-nav__link { position: relative; }

/* --- Hero UI-Mockup (Live Buchungssatz) --- */
.hero__mockup {
  position: relative;
  background: linear-gradient(180deg, #ffffff, #f8fafc);
  border-radius: var(--radius-xl);
  border: 1px solid color-mix(in srgb, var(--color-brand-200, var(--color-brand-100)) 70%, white);
  box-shadow:
    0 30px 80px -24px rgb(15 30 61 / 0.28),
    0 12px 24px -12px rgb(15 30 61 / 0.12),
    inset 0 1px 0 #fff;
  padding: 1rem;
  width: 100%; max-width: 460px;
  transform: perspective(1200px) rotateY(-8deg) rotateX(6deg);
  transform-style: preserve-3d;
  transition: transform 600ms var(--ease-out);
}
.hero__mockup:hover { transform: perspective(1200px) rotateY(-4deg) rotateX(3deg); }
@media (max-width: 880px) {
  .hero__mockup { transform: none; max-width: 100%; }
}
.hero__mockup-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.4rem 0.6rem 0.85rem;
  border-bottom: 1px solid var(--color-ink-100);
}
.hero__mockup-dots { display: inline-flex; gap: 0.35rem; }
.hero__mockup-dots span { width: 10px; height: 10px; border-radius: 50%; background: var(--color-ink-200); }
.hero__mockup-dots span:nth-child(1) { background: #ff6b6b; }
.hero__mockup-dots span:nth-child(2) { background: #ffd23f; }
.hero__mockup-dots span:nth-child(3) { background: var(--color-success-500); }
.hero__mockup-title {
  font-size: 0.78rem; font-weight: 600; color: var(--color-ink-500);
  letter-spacing: 0.04em;
}
.hero__mockup-status {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.72rem; font-weight: 600; color: var(--color-success-500);
  padding: 0.25rem 0.55rem; border-radius: var(--radius-full);
  background: rgba(16, 185, 129, 0.1);
}
.hero__mockup-status::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor;
  box-shadow: 0 0 0 0 currentColor;
  animation: pulse-dot 1.8s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6); }
  50%      { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
}
@media (prefers-reduced-motion: reduce) { .hero__mockup-status::before { animation: none; } }

.hero__mockup-rows { display: grid; gap: 0.4rem; padding: 0.6rem 0 0.4rem; }
.hero__mockup-row {
  display: grid; grid-template-columns: 28px 1fr auto;
  align-items: center; gap: 0.7rem;
  padding: 0.65rem 0.55rem; border-radius: var(--radius-md);
  background: white; border: 1px solid var(--color-ink-100);
  font-size: 0.85rem;
  animation: row-in 600ms var(--ease-out) backwards;
}
.hero__mockup-row:nth-child(1) { animation-delay: 0.4s; }
.hero__mockup-row:nth-child(2) { animation-delay: 0.7s; }
.hero__mockup-row:nth-child(3) { animation-delay: 1.0s; }
.hero__mockup-row:nth-child(4) { animation-delay: 1.3s; }
@keyframes row-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero__mockup-row { animation: none; }
}
.hero__mockup-avatar {
  width: 28px; height: 28px; border-radius: 8px;
  display: grid; place-items: center;
  font-size: 0.7rem; font-weight: 700; color: white;
  background: linear-gradient(135deg, var(--color-brand-500), var(--color-accent-500));
}
.hero__mockup-source { display: flex; flex-direction: column; gap: 0.1rem; min-width: 0; }
.hero__mockup-source-name { font-weight: 600; color: var(--color-ink-900); }
.hero__mockup-source-meta { font-size: 0.72rem; color: var(--color-ink-500); }
.hero__mockup-amount {
  font-family: var(--font-mono); font-weight: 700; color: var(--color-ink-900);
  font-variant-numeric: tabular-nums;
}
.hero__mockup-amount--in { color: var(--color-success-500); }
.hero__mockup-footer {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1rem 0.55rem 0.35rem; font-size: 0.85rem; color: var(--color-ink-500);
  border-top: 1px solid var(--color-ink-100); margin-top: 0.4rem;
}
.hero__mockup-footer strong {
  font-family: var(--font-display);
  font-size: 1.5rem; font-weight: 800;
  background: linear-gradient(135deg, var(--color-brand-600), var(--color-accent-500));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  margin-right: 0.3rem;
}
.hero__mockup-tag {
  display: inline-flex; align-items: center; gap: 0.3rem;
  padding: 0.25rem 0.55rem; border-radius: var(--radius-full);
  background: var(--color-brand-50); color: var(--color-brand-700);
  font-size: 0.7rem; font-weight: 600;
}
.hero__mockup-tag svg { width: 12px; height: 12px; }

/* Floating badges around the mockup */
.hero__mockup-float {
  position: absolute; padding: 0.7rem 0.95rem; border-radius: var(--radius-lg);
  background: white; box-shadow: var(--shadow-lg);
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: 0.85rem; font-weight: 600; color: var(--color-ink-800);
  border: 1px solid var(--color-ink-100);
  animation: float-y 6s ease-in-out infinite;
}
.hero__mockup-float svg { width: 22px; height: 22px; color: var(--color-brand-500); }
.hero__mockup-float--tl { top: -18px; left: -28px; animation-delay: 0s; }
.hero__mockup-float--br { bottom: -22px; right: -22px; animation-delay: 1.5s; }
@media (max-width: 880px) {
  .hero__mockup-float--tl { top: -16px; left: 8px; }
  .hero__mockup-float--br { bottom: -18px; right: 8px; }
}

/* Marquee guard: ohne JS soll Animation nicht starten — JS klont und setzt data-ready */
.partner-marquee[data-ready] .partner-marquee__track { animation: marquee 38s linear infinite; }
.partner-marquee:not([data-ready]) .partner-marquee__track { animation: none; }
.partner-marquee[data-ready]:hover .partner-marquee__track { animation-play-state: paused; }

/* CTA-Banner: scharfer Premium-Border statt blur-glow */
.cta-banner::before {
  content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit;
  background: conic-gradient(from 200deg at 50% 50%, var(--color-brand-500), var(--color-accent-500), var(--color-cta-500), var(--color-brand-500));
  opacity: 1; filter: none;
  -webkit-mask: linear-gradient(#000, #000) content-box, linear-gradient(#000, #000);
  -webkit-mask-composite: xor; mask-composite: exclude;
  padding: 2px;
}

/* Scrollbar Premium-Refinement */
@media (pointer: fine) {
  ::-webkit-scrollbar-thumb { border: 3px solid transparent; background-clip: padding-box; }
}

/* Hero-CTA-Pulse: nur in-view */
@media (prefers-reduced-motion: no-preference) {
  .hero__cta .btn--primary { animation-iteration-count: 6; }
}

/* Smooth FAQ-Reveal (CSS-only, ohne Layout-Sprung) */
.faq__item details, .faq__item { overflow: clip; }
.faq__a {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows 300ms var(--ease-out);
}
.faq__item[open] .faq__a { grid-template-rows: 1fr; }
.faq__a > p, .faq__a > * { min-height: 0; overflow: hidden; }

/* Section + Card stagger choreography */
.grid [data-reveal]:nth-child(1) { transition-delay: 0ms; }
.grid [data-reveal]:nth-child(2) { transition-delay: 80ms; }
.grid [data-reveal]:nth-child(3) { transition-delay: 160ms; }
.grid [data-reveal]:nth-child(4) { transition-delay: 240ms; }
.grid [data-reveal]:nth-child(5) { transition-delay: 320ms; }
.grid [data-reveal]:nth-child(6) { transition-delay: 400ms; }

/* Aktive Nav-Items: Gradient-Underline auch in Mobile-Nav */
.mobile-nav__list a[aria-current="page"] { color: var(--color-brand-700); }


