/* ==========================================================================
   sprads – futuristic dark (agency showcase)
   Display: Coco Gothic (logo match) · Body: DM Sans
   ========================================================================== */

/* Nur Bold: Überschriften nutzen weight 700 – Regular spart ~48KB Request */
@font-face {
  font-family: "Coco Gothic";
  src: url("../fonts/CocoGothic-Bold.min.woff2") format("woff2");
  font-weight: 600 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0020-007E, U+00A0-00FF, U+2013-2014, U+2018-201D, U+2022, U+2026, U+20AC;
}

:root,
html[data-theme="dark"] {
  color-scheme: dark;

  --bg: #07090f;
  --bg-elevated: #0c1018;
  --surface: #11161f;
  --surface-2: #171d29;
  --surface-3: #1e2636;
  --ink: #f4f7fb;
  --text: #e8edf5;
  --text-soft: #a8b2c5;
  --muted: #7a8499;
  --line: rgba(232, 237, 245, 0.08);
  --line-strong: rgba(232, 237, 245, 0.16);
  --accent: #2dd4a0;
  --accent-hover: #5ee9b5;
  --accent-2: #38bdf8;
  --accent-dim: rgba(45, 212, 160, 0.12);
  --accent-glow: rgba(45, 212, 160, 0.28);
  --danger: #fb7185;
  --header-bg: rgba(7, 9, 15, 0.72);
  --header-bg-scrolled: rgba(7, 9, 15, 0.92);
  --footer-bg: #05070c;
  --partner-filter: brightness(0) invert(1);
  --partner-opacity: 0.78;
  --orb-a: rgba(45, 212, 160, 0.22);
  --orb-b: rgba(56, 189, 248, 0.12);
  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 26px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --shadow-glow: 0 0 0 1px rgba(45, 212, 160, 0.18), 0 20px 60px rgba(45, 212, 160, 0.08);
  --font: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Coco Gothic", "DM Sans", system-ui, sans-serif;
  --shell: min(1140px, calc(100% - 2.5rem));
  --header-h: 72px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --safe-b: env(safe-area-inset-bottom, 0px);
}

html[data-theme="light"] {
  color-scheme: light;

  --bg: #f4f2ec;
  --bg-elevated: #fffcf7;
  --surface: #ffffff;
  --surface-2: #f8f6f1;
  --surface-3: #efece4;
  --ink: #101218;
  --text: #171a22;
  --text-soft: #3d4454;
  --muted: #6b7285;
  --line: rgba(16, 18, 24, 0.09);
  --line-strong: rgba(16, 18, 24, 0.16);
  --accent: #0c8f6e;
  --accent-hover: #0a7a5e;
  --accent-2: #155eef;
  --accent-dim: rgba(12, 143, 110, 0.1);
  --accent-glow: rgba(12, 143, 110, 0.18);
  --danger: #d1435b;
  --header-bg: rgba(244, 242, 236, 0.82);
  --header-bg-scrolled: rgba(255, 252, 247, 0.94);
  --footer-bg: #ebe8e0;
  --partner-filter: none;
  --partner-opacity: 0.72;
  --orb-a: rgba(12, 143, 110, 0.16);
  --orb-b: rgba(21, 94, 239, 0.1);
  --shadow: 0 18px 50px rgba(16, 18, 24, 0.08);
  --shadow-glow: 0 0 0 1px rgba(12, 143, 110, 0.18), 0 16px 40px rgba(12, 143, 110, 0.1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100dvh;
  font-family: var(--font);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text);
  background:
    radial-gradient(900px 520px at 85% -5%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 55%),
    radial-gradient(700px 480px at -10% 30%, color-mix(in srgb, var(--accent-2) 12%, transparent), transparent 50%),
    var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  touch-action: manipulation;
  -webkit-tap-highlight-color: color-mix(in srgb, var(--accent) 20%, transparent);
  transition: background-color 0.35s var(--ease), color 0.25s var(--ease);
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
ul { margin: 0; padding: 0; list-style: none; }
p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 0.75rem;
  text-wrap: balance;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -120px;
  z-index: 1000;
  background: var(--accent);
  color: #04110c;
  padding: 0.65rem 1.1rem;
  border-radius: 999px;
  font-weight: 700;
}
.skip-link:focus { top: 1rem; }

/* Ambient */
.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 60;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.glow-orb {
  pointer-events: none;
  position: fixed;
  z-index: 0;
  border-radius: 50%;
  filter: blur(64px);
  opacity: 0.4;
  contain: strict;
  will-change: transform;
}
@media (max-width: 768px), (prefers-reduced-motion: reduce) {
  .glow-orb {
    display: none;
  }
  .noise {
    display: none;
  }
}
.glow-orb--a {
  width: min(50vw, 560px);
  height: min(50vw, 560px);
  top: -12vw;
  right: -8vw;
  background: radial-gradient(circle, var(--orb-a), transparent 68%);
  animation: orb-drift-a 18s ease-in-out infinite alternate;
}
.glow-orb--b {
  width: min(42vw, 460px);
  height: min(42vw, 460px);
  bottom: 8vh;
  left: -14vw;
  background: radial-gradient(circle, var(--orb-b), transparent 70%);
  animation: orb-drift-b 22s ease-in-out infinite alternate;
}
@keyframes orb-drift-a {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(-4%, 6%) scale(1.08); }
}
@keyframes orb-drift-b {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(6%, -5%) scale(1.1); }
}

.site-header, main, .footer-cta, .site-footer { position: relative; z-index: 1; }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  backdrop-filter: blur(18px) saturate(1.3);
  background: var(--header-bg);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease), box-shadow 0.3s;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: var(--header-bg-scrolled);
  box-shadow: var(--shadow);
}
.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.brand {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 0;
}
.brand-logo {
  display: block;
  height: 34px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  object-position: left center;
}
.brand-logo--footer { height: 38px; max-width: 160px; }
.brand-logo--on-light { display: none; }
html[data-theme="light"] .brand-logo--on-dark { display: none; }
html[data-theme="light"] .brand-logo--on-light { display: block; }
html[data-theme="dark"] .brand-logo--on-dark { display: block; }
html[data-theme="dark"] .brand-logo--on-light { display: none; }

.theme-toggle {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: color-mix(in srgb, var(--surface) 80%, transparent);
  display: inline-grid;
  place-items: center;
  position: relative;
  color: var(--ink);
  transition: border-color 0.2s, background 0.2s, transform 0.2s var(--ease);
}
.theme-toggle:hover {
  border-color: color-mix(in srgb, var(--accent) 45%, var(--line-strong));
  background: var(--accent-dim);
}
.theme-toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.theme-toggle:active { transform: scale(0.96); }
.theme-toggle__sun,
.theme-toggle__moon {
  grid-area: 1 / 1;
  display: grid;
  place-items: center;
  transition: opacity 0.25s var(--ease), transform 0.35s var(--ease);
}
html[data-theme="dark"] .theme-toggle__sun {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}
html[data-theme="dark"] .theme-toggle__moon {
  opacity: 0;
  transform: rotate(-40deg) scale(0.6);
  pointer-events: none;
}
html[data-theme="light"] .theme-toggle__sun {
  opacity: 0;
  transform: rotate(40deg) scale(0.6);
  pointer-events: none;
}
html[data-theme="light"] .theme-toggle__moon {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}
.icon { display: block; }
.icon--theme { color: var(--ink); }

.nav-desktop {
  display: none;
  align-items: center;
  gap: 0.15rem;
  margin-left: auto;
}
.nav-link {
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  color: var(--text-soft);
  font-size: 0.92rem;
  font-weight: 550;
  transition: color 0.2s, background 0.2s;
}
.nav-link:hover,
.nav-link.is-active {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.05);
}
.nav-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-left: auto;
}
.nav-desktop + .header-cta { margin-left: 0.25rem; }

.nav-toggle {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.03);
}
.nav-toggle span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.25s var(--ease), opacity 0.2s;
}
.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.75px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.75px) rotate(-45deg);
}
.nav-toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.nav-mobile {
  position: absolute;
  inset: var(--header-h) 0 auto;
  background: var(--header-bg-scrolled);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow);
}
.nav-mobile[hidden] { display: none; }
.nav-mobile-inner {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 1rem 0 calc(1.4rem + var(--safe-b));
}
.nav-mobile-inner a {
  padding: 0.9rem 0.15rem;
  font-size: 1.15rem;
  font-weight: 650;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}
.nav-mobile-inner .btn {
  margin-top: 0.85rem;
  text-align: center;
  border-bottom: 0;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.35rem;
  border-radius: 999px;
  font-weight: 650;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  border: 1.5px solid transparent;
  white-space: nowrap;
  transition: transform 0.2s var(--ease), background 0.2s, border-color 0.2s, box-shadow 0.2s, color 0.2s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.btn--primary {
  background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 70%, #0a5));
  color: #04110c;
  box-shadow: 0 12px 36px var(--accent-glow);
}
html[data-theme="light"] .btn--primary {
  color: #ffffff;
}
.btn--primary:hover {
  background: linear-gradient(135deg, var(--accent-hover), var(--accent));
  box-shadow: 0 16px 44px var(--accent-glow);
}
.btn--ghost {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--line-strong);
  color: var(--ink);
}
.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.28);
}
.btn--sm { padding: 0.55rem 1rem; font-size: 0.86rem; }
.btn--lg { padding: 1.05rem 1.55rem; font-size: 1rem; }
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

/* --------------------------------------------------------------------------
   Type
   -------------------------------------------------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
  font-family: var(--font);
}
.eyebrow::before {
  content: "";
  width: 1.25rem;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.display {
  font-family: var(--display);
  font-size: clamp(2.4rem, 6.5vw, 4.25rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.08;
  color: var(--ink);
}
.display-sm {
  font-family: var(--display);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.12;
  color: var(--ink);
}
.display-accent {
  color: var(--accent);
  font-weight: 700;
}
.hero-line {
  display: block;
}
.lede {
  font-size: 1.08rem;
  color: var(--text-soft);
  max-width: 38rem;
  line-height: 1.7;
  text-wrap: pretty;
}
.muted { color: var(--muted); }
.grad-text {
  /* Fallback alias – prefer .display-accent for readability */
  color: var(--accent);
}

/* --------------------------------------------------------------------------
   Sections / cards
   -------------------------------------------------------------------------- */
.section { padding: clamp(4rem, 9vw, 7rem) 0; }
.section--tight { padding: clamp(2.25rem, 5vw, 3.75rem) 0; }
.section-head {
  max-width: 40rem;
  margin-bottom: clamp(1.75rem, 4vw, 2.75rem);
}
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .lede { margin-inline: auto; }

.card {
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.card--hover {
  transition: transform 0.35s var(--ease), border-color 0.25s, box-shadow 0.35s;
}
.card--hover:hover {
  transform: translateY(-4px);
  border-color: rgba(45, 212, 160, 0.3);
  box-shadow: var(--shadow-glow);
}

.grid-3, .grid-2, .grid-4 { display: grid; gap: 1rem; }

/* --------------------------------------------------------------------------
   Hero – clean full-width (no display mock)
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding: clamp(2.25rem, 6vw, 4.25rem) 0 clamp(2rem, 4vw, 2.75rem);
}
.hero-top {
  max-width: 920px;
  margin-bottom: clamp(1.75rem, 4vw, 2.75rem);
}
.hero-top .display { margin-bottom: 1.25rem; }
.hero-top .lede { margin-bottom: 1.5rem; }

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-soft);
  font-size: 0.82rem;
  font-weight: 550;
}
.pill::before {
  content: "";
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
}

/* Gateway – asymmetric */
.gateway-block {
  margin-top: clamp(2rem, 5vw, 3rem);
}
.gateway {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
.gateway-card {
  position: relative;
  overflow: hidden;
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 100% 0%, rgba(45, 212, 160, 0.1), transparent 45%),
    var(--surface);
  display: flex;
  flex-direction: column;
  min-height: 0;
  transition: transform 0.4s var(--ease), border-color 0.3s, box-shadow 0.4s;
}
.gateway-card--ads {
  background:
    radial-gradient(circle at 0% 0%, rgba(56, 189, 248, 0.12), transparent 45%),
    var(--surface);
}
.gateway-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: var(--shadow);
}
.gateway-card:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.gateway-kicker {
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.gateway-card h2 {
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  margin-bottom: 0.6rem;
  line-height: 1.12;
}
.gateway-card p {
  color: var(--text-soft);
  margin-bottom: 1.25rem;
  flex: 1;
  font-size: 0.98rem;
}
.gateway-card .btn { align-self: flex-start; margin-top: auto; }

/* --------------------------------------------------------------------------
   Partners
   -------------------------------------------------------------------------- */


.partners {
  border-block: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 55%, transparent);
  padding: 1.6rem 0;
  overflow: hidden;
}
.partners-label {
  text-align: center;
  color: var(--muted);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 1.15rem;
}
.marquee {
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee-track {
  display: flex;
  width: max-content;
  align-items: center;
  animation: marquee-scroll 45s linear infinite;
  will-change: transform;
}
.marquee-track:hover { animation-play-state: paused; }
.marquee-group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 5rem;
  padding-right: 5rem;
}
.partner-slot {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}
.partner-logo {
  height: 34px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  filter: var(--partner-filter);
  opacity: var(--partner-opacity);
  transition: opacity 0.25s var(--ease), filter 0.25s var(--ease);
}
.partner-logo:hover { opacity: 1; }
.partner-fallback {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--muted);
  font-size: 0.95rem;
  white-space: nowrap;
}
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}


/* --------------------------------------------------------------------------
   Features – bento (not 6 equal cards)
   -------------------------------------------------------------------------- */
.feature-bento {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
.feature-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.45rem;
}
.feature-card p {
  color: var(--muted);
  font-size: 0.96rem;
}
.feature-icon {
  width: 2.85rem;
  height: 2.85rem;
  border-radius: 0.9rem;
  display: grid;
  place-items: center;
  margin-bottom: 0.95rem;
  background: color-mix(in srgb, var(--accent) 22%, var(--surface));
  color: var(--accent);
  border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent);
  box-shadow: inset 0 1px 0 color-mix(in srgb, #fff 12%, transparent);
  flex-shrink: 0;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.25s;
}
html[data-theme="dark"] .feature-icon {
  background: rgba(45, 212, 160, 0.16);
  color: #5ee9b5;
  border-color: rgba(45, 212, 160, 0.4);
}
html[data-theme="light"] .feature-icon {
  background: rgba(12, 143, 110, 0.12);
  color: #0a7a5e;
  border-color: rgba(12, 143, 110, 0.35);
}
.feature-icon .icon {
  width: 22px;
  height: 22px;
}
.feature-card--wide {
  background:
    radial-gradient(circle at 90% 10%, var(--accent-dim), transparent 50%),
    var(--surface);
}

/* --------------------------------------------------------------------------
   Pricing / calc / faq / steps / blog / forms – dark tokens
   -------------------------------------------------------------------------- */
.pricing-grid { display: grid; gap: 1.35rem; align-items: stretch; overflow: visible; padding: 1rem 0.35rem 2rem; }
.price-card {
  position: relative;
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--surface);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform 0.35s var(--ease), border-color 0.3s ease, box-shadow 0.35s var(--ease);
  will-change: transform;
  isolation: isolate;
}
.price-card.is-hot {
  border-color: rgba(45, 212, 160, 0.4);
  background:
    radial-gradient(circle at 50% 0%, rgba(45, 212, 160, 0.12), transparent 55%),
    var(--surface);
  box-shadow: var(--shadow-glow);
}

.price-card:hover {
  transform: translateY(-10px) scale(1.045);
  border-color: color-mix(in srgb, var(--accent) 70%, var(--line));
  box-shadow:
    0 0 0 2px color-mix(in srgb, var(--accent) 55%, transparent),
    0 18px 50px color-mix(in srgb, var(--accent) 22%, transparent),
    var(--shadow);
  z-index: 3;
}
.price-card.is-hot:hover {
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--accent) 75%, transparent),
    0 0 48px color-mix(in srgb, var(--accent) 35%, transparent),
    var(--shadow-glow);
}
@media (prefers-reduced-motion: reduce) {
  .price-card:hover,
  .price-card.reveal.is-in:hover,
  .pricing-grid .price-card:hover {
    transform: none;
  }
}

.price-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: var(--accent);
  color: #04110c;
  font-size: 0.7rem;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.price-card h3 { font-size: 1.5rem; margin-bottom: 0.3rem; }
.price-tagline {
  color: var(--muted);
  font-size: 0.94rem;
  margin-bottom: 1.15rem;
  min-height: 2.6em;
}
.price-old {
  font-family: var(--font);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--muted);
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  margin-right: 0.35rem;
  font-variant-numeric: tabular-nums;
}
.price-amount {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  margin-bottom: 0.3rem;
}
.price-amount strong {
  font-family: var(--font);
  font-size: 2.45rem;
  letter-spacing: -0.03em;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}
.price-amount span { color: var(--muted); font-size: 0.92rem; }
.price-once { color: var(--text-soft); font-size: 0.9rem; margin-bottom: 1.2rem; }
.price-features {
  display: grid;
  gap: 0.6rem;
  margin: 0 0 1.4rem;
  flex: 1;
}
.price-features li {
  position: relative;
  padding-left: 1.3rem;
  color: var(--text-soft);
  font-size: 0.94rem;
}
.price-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--accent);
}

.calc-wrap { display: grid; gap: 1.25rem; align-items: start; }
.calc-panel,
.calc-result {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 1.5rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.calc-fields { display: grid; gap: 1rem; }

.calc-result {
  position: sticky;
  top: calc(var(--header-h) + 1rem);
  background:
    radial-gradient(circle at 100% 0%, rgba(45, 212, 160, 0.12), transparent 45%),
    var(--surface);
}
.calc-price {
  font-family: var(--font);
  font-size: clamp(1.7rem, 3.5vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin: 0.5rem 0 0.75rem;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}
.calc-price .sub {
  display: block;
  margin-top: 0.5rem;
  font-family: var(--font);
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--text-soft);
  letter-spacing: 0;
}
.calc-price .spot-line {
  display: block;
  margin-top: 0.35rem;
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent-2);
}
.calc-note { font-size: 0.84rem; color: var(--muted); margin-top: 1rem; }
.calc-note a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.faq-list { display: grid; gap: 0.65rem; max-width: 820px; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1.05rem 1.2rem;
  font-weight: 650;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-family: var(--display);
  font-size: 1.3rem;
  color: var(--accent);
  flex-shrink: 0;
}
.faq-item[open] summary::after { content: "–"; }
.faq-item .faq-body {
  padding: 0 1.2rem 1.15rem;
  color: var(--text-soft);
  font-size: 0.96rem;
}
.faq-item .faq-body a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.steps {
  display: grid;
  gap: 1rem;
}
.step {
  padding: 1.4rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
}
.step-num {
  display: inline-grid;
  place-items: center;
  min-width: 2.9rem;
  height: 2.9rem;
  padding: 0 0.55rem;
  margin-bottom: 0.85rem;
  border-radius: 0.9rem;
  font-family: var(--font);
  font-weight: 800;
  font-size: 0.95rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
  color: #7df0c4;
  background: rgba(45, 212, 160, 0.18);
  border: 1px solid rgba(45, 212, 160, 0.5);
}
html[data-theme="light"] .step-num {
  color: #0a7a5e;
  background: rgba(12, 143, 110, 0.12);
  border-color: rgba(12, 143, 110, 0.4);
}
.step::before { content: none; }

.blog-grid { display: grid; gap: 1rem; }
.blog-card {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  height: 100%;
  transition: border-color 0.25s, transform 0.3s var(--ease), box-shadow 0.3s;
}
.blog-card:hover {
  border-color: rgba(45, 212, 160, 0.35);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.blog-card:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.blog-meta { color: var(--muted); font-size: 0.84rem; font-weight: 550; }
.blog-card h2, .blog-card h3 { font-size: 1.2rem; line-height: 1.2; }
.blog-card p { color: var(--text-soft); flex: 1; font-size: 0.96rem; }
.blog-article { max-width: 720px; margin: 0 auto; }
.prose { color: var(--text-soft); }
.prose h2, .prose h3 { color: var(--ink); margin-top: 2rem; margin-bottom: 0.75rem; font-size: 1.35rem; }
.prose p { margin-bottom: 1rem; }
.prose ul {
  list-style: disc;
  padding-left: 1.25rem;
  margin: 0 0 1rem;
  display: grid;
  gap: 0.4rem;
}
.prose a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }

.contact-grid { display: grid; gap: 1.25rem; }
.form-grid { display: grid; gap: 1rem; }
.form-row { display: grid; gap: 1rem; }
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}
.form-note { font-size: 0.85rem; color: var(--muted); }
.form-success, .form-error {
  padding: 0.9rem 1rem;
  border-radius: 12px;
  margin-bottom: 1rem;
  font-weight: 550;
}
.form-success {
  background: rgba(45, 212, 160, 0.12);
  border: 1px solid rgba(45, 212, 160, 0.3);
  color: var(--accent);
}
.form-error {
  background: rgba(251, 113, 133, 0.12);
  border: 1px solid rgba(251, 113, 133, 0.3);
  color: #ffb4bc;
}
.check {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-size: 0.9rem;
  color: var(--text-soft);
}
.check input { margin-top: 0.25rem; }

.intent-banner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.15rem;
}
.calc-summary {
  margin: 0.85rem 0 0;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--muted);
}

/* Semi-live Signale */
.signals {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}
.signal {
  padding: 1.15rem 1.2rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  display: grid;
  gap: 0.25rem;
}
.signal__value {
  font-family: var(--font);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.signal__label {
  font-size: 0.92rem;
  font-weight: 650;
  color: var(--text);
}
.signal__note {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.35;
}
@media (max-width: 900px) {
  .signals { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .signals { grid-template-columns: 1fr; }
}

/* Trust panel */
.trust-panel {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  padding: 1.35rem 1.4rem;
  border-radius: var(--radius-lg);
  border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--line));
  background:
    radial-gradient(circle at 0% 0%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 50%),
    var(--surface);
}
.trust-panel__icon {
  flex: 0 0 auto;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--accent) 16%, transparent);
  color: var(--accent);
}
.trust-panel__title {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
  font-family: var(--font);
}
.trust-panel__text {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.98rem;
}
.trust-panel__text a { color: var(--accent); }

/* Angebots-Assistent */
.assist { padding: 1.4rem 1.45rem; max-width: 720px; }
.assist__q {
  margin: 0 0 1rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  font-family: var(--font);
}
.assist__text {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.55;
}
.assist__options {
  display: grid;
  gap: 0.65rem;
}
.assist__btn {
  appearance: none;
  width: 100%;
  text-align: left;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 55%, var(--surface));
  color: var(--ink);
  font-family: var(--font);
  font-size: 0.98rem;
  font-weight: 600;
  padding: 0.95rem 1.05rem;
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color 0.2s, transform 0.2s, background 0.2s;
}
.assist__btn:hover {
  border-color: color-mix(in srgb, var(--accent) 55%, var(--line));
  transform: translateY(-1px);
  background: color-mix(in srgb, var(--accent) 8%, var(--surface));
}

.legal { max-width: 760px; font-family: var(--font); }
/* Coco Gothic hat kaputte Ziffern – Legal-Seiten komplett auf DM Sans */
.legal h1,
.legal h2,
.legal h3,
.legal h4,
.legal .display-sm {
  font-family: var(--font);
  letter-spacing: -0.01em;
  font-variant-numeric: normal;
}
.legal h2 { margin-top: 2rem; font-size: 1.25rem; }
.legal h3 { margin-top: 1.35rem; font-size: 1.05rem; }
.legal p, .legal li { color: var(--text-soft); }
.legal ul {
  list-style: disc;
  padding-left: 1.2rem;
  margin-bottom: 1rem;
  display: grid;
  gap: 0.35rem;
}
.legal ol {
  list-style: decimal;
  padding-left: 1.35rem;
  margin-bottom: 1rem;
  display: grid;
  gap: 0.35rem;
  color: var(--text-soft);
}
.legal a { color: var(--accent); }
.legal strong { color: var(--ink); font-weight: 650; }

/* AGB: moderne Bereichs-Umschaltung */
.agb-switch { margin-bottom: 0.5rem; }
.agb-switch__cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}
.agb-card {
  appearance: none;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 1.1rem 1.15rem;
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  text-align: left;
  cursor: pointer;
  color: inherit;
  font-family: var(--font);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.agb-card:hover {
  border-color: color-mix(in srgb, var(--accent) 45%, var(--line));
  transform: translateY(-2px);
}
.agb-card.is-active {
  border-color: color-mix(in srgb, var(--accent) 70%, var(--line));
  background:
    radial-gradient(circle at 100% 0%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 55%),
    var(--surface);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 35%, transparent), var(--shadow);
}
.agb-card__icon {
  flex: 0 0 auto;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  color: var(--accent);
}
.agb-card__icon .icon { width: 1.2rem; height: 1.2rem; }
.agb-card__body { display: grid; gap: 0.2rem; min-width: 0; flex: 1; }
.agb-card__title {
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.agb-card__desc {
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.4;
}
.agb-card__check {
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  margin-top: 0.2rem;
  flex: 0 0 auto;
  position: relative;
  transition: border-color 0.2s, background 0.2s;
}
.agb-card.is-active .agb-card__check {
  border-color: var(--accent);
  background: var(--accent);
}
.agb-card.is-active .agb-card__check::after {
  content: "";
  position: absolute;
  left: 0.28rem;
  top: 0.12rem;
  width: 0.28rem;
  height: 0.5rem;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.agb-sticky {
  position: sticky;
  top: calc(var(--header-h, 4.5rem) + 0.5rem);
  z-index: 20;
  margin: 0 0 1.5rem;
  display: flex;
  justify-content: flex-start;
}
.agb-sticky.is-stuck .agb-pill {
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}
.agb-pill {
  display: inline-flex;
  gap: 0.25rem;
  padding: 0.3rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 92%, transparent);
}
.agb-pill__btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-family: var(--font);
  font-size: 0.88rem;
  font-weight: 650;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.agb-pill__btn:hover { color: var(--ink); }
.agb-pill__btn.is-active {
  background: var(--accent);
  color: #fff;
}

.agb-panel[hidden] { display: none !important; }
.agb-panel {
  opacity: 1;
  visibility: visible;
}
.agb-panel__head {
  margin: 0 0 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}
.agb-panel__title {
  margin: 0.35rem 0 0;
  font-size: clamp(1.2rem, 2.4vw, 1.45rem);
  font-family: var(--font);
  letter-spacing: -0.015em;
  color: var(--ink);
}
.agb-panel__body {
  opacity: 1;
  color: var(--text-soft);
}
.agb-panel__body > h2:first-child { margin-top: 0; }

/* Legal-Content nie durch Scroll-Reveal verstecken */
.legal.reveal,
.legal .reveal {
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
}

@media (max-width: 640px) {
  .agb-switch__cards { grid-template-columns: 1fr; }
  .agb-sticky { justify-content: stretch; }
  .agb-pill { width: 100%; }
  .agb-pill__btn { flex: 1; text-align: center; }
}

.page-hero { padding: clamp(2.75rem, 7vw, 4.5rem) 0 2rem; }
.page-hero .display-sm { max-width: 18ch; }
.page-hero .legal .display-sm { max-width: 28ch; }

.stats { display: grid; gap: 0.75rem; }
.stat {
  padding: 1.2rem 1.3rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}
.stat strong {
  display: block;
  font-family: var(--display);
  font-size: 1.35rem;
  margin-bottom: 0.15rem;
  color: var(--ink);
}
.stat span { color: var(--muted); font-size: 0.88rem; }

.vision {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}
.vision-panel {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  min-height: 240px;
  padding: 2rem;
  background:
    linear-gradient(145deg, rgba(45, 212, 160, 0.1), transparent 55%),
    var(--surface);
  display: grid;
  align-content: end;
  box-shadow: var(--shadow);
}

/* Footer */
.footer-cta { padding: 0 0 2rem; }
.footer-cta-card {
  border-radius: var(--radius-lg);
  border: 1px solid color-mix(in srgb, var(--accent) 28%, var(--line));
  background:
    radial-gradient(circle at 0% 50%, var(--accent-dim), transparent 42%),
    radial-gradient(circle at 100% 0%, color-mix(in srgb, var(--accent-2) 12%, transparent), transparent 38%),
    var(--surface);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  display: grid;
  gap: 1.5rem;
  align-items: center;
}
.footer-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.site-footer {
  border-top: 1px solid var(--line);
  padding: 3.25rem 0 calc(2rem + var(--safe-b));
  background: var(--footer-bg);
}
.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2.25rem;
}
.footer-brand p {
  color: var(--muted);
  margin: 0.9rem 0 1rem;
  max-width: 22rem;
  font-size: 0.94rem;
}
.footer-contact { display: grid; gap: 0.35rem; font-size: 0.94rem; }
.footer-contact a:hover { color: var(--accent); }
.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  margin-top: 1.1rem;
  padding: 0;
  list-style: none;
}
.footer-social a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-soft);
}
.footer-social a:hover { color: var(--accent); }
.footer-social .icon--social {
  width: 1.05rem;
  height: 1.05rem;
}
.footer-heading {
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.85rem;
  font-family: var(--font);
  font-weight: 750;
}
.footer-links { display: grid; gap: 0.4rem; }
.footer-links a { color: var(--text-soft); font-size: 0.94rem; }
.footer-links a:hover { color: var(--accent); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.86rem;
}

/* Hero load-in (Jitter-like stagger / blur clear) */
.hero-anim {
  opacity: 0;
  transform: translateY(18px);
  filter: blur(10px);
  animation: hero-in 0.85s var(--ease) forwards;
  animation-delay: calc(var(--i, 0) * 0.08s + 0.05s);
}
@keyframes hero-in {
  to {
    opacity: 1;
    transform: none;
    filter: blur(0);
  }
}

/* Scroll reveal – ohne blur (blur ist teuer für CWV/INP) */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.55s var(--ease),
    transform 0.55s var(--ease);
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Tarif-Cards: Hover muss .reveal.is-in transform:none schlagen */
.price-card:hover,
.price-card.reveal.is-in:hover,
.pricing-grid .price-card:hover {
  transform: translateY(-12px) scale(1.04);
  border-color: color-mix(in srgb, var(--accent) 75%, var(--line));
  box-shadow:
    0 0 0 2px color-mix(in srgb, var(--accent) 60%, transparent),
    0 22px 55px color-mix(in srgb, var(--accent) 25%, transparent),
    var(--shadow);
  z-index: 5;
}
.price-card.is-hot:hover {
  box-shadow:
    0 0 0 2px color-mix(in srgb, var(--accent) 80%, transparent),
    0 26px 60px color-mix(in srgb, var(--accent) 32%, transparent),
    var(--shadow-glow);
}


/* Card hover micro-physics */
.card--hover:hover .feature-icon {
  transform: scale(1.06);
  box-shadow: 0 0 0 6px var(--accent-dim);
}

.hide-mobile { display: none; }
.center { text-align: center; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (min-width: 720px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .gateway { grid-template-columns: 1.15fr 0.85fr; }
  .gateway-card { min-height: 260px; padding: 2rem; }
  .calc-wrap { grid-template-columns: 1.15fr 0.85fr; }
  .form-row { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 0.9fr 1.1fr; }
  .footer-cta-card { grid-template-columns: 1.3fr 0.7fr; }
  .hide-mobile { display: inline-flex; }
  .feature-bento {
    grid-template-columns: repeat(6, 1fr);
  }
  .feature-card--wide { grid-column: span 3; }
  .feature-bento .feature-card:not(.feature-card--wide) { grid-column: span 2; }
}

@media (min-width: 960px) {
  .nav-desktop { display: flex; }
  .nav-toggle { display: none; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .pricing-grid { grid-template-columns: repeat(3, 1fr); }
  .vision { grid-template-columns: 1.1fr 0.9fr; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .blog-grid { grid-template-columns: repeat(3, 1fr); }
  .calc-fields { grid-template-columns: 1fr 1fr; }
  .calc-fields .field--full { grid-column: 1 / -1; }
  .feature-bento .feature-card:nth-child(1) { grid-column: span 4; }
  .feature-bento .feature-card:nth-child(2) { grid-column: span 2; }
  .feature-bento .feature-card:nth-child(n+3) { grid-column: span 2; }
}

@media (max-width: 719px) {
  :root {
    --shell: min(100% - 1.35rem, 1140px);
    --header-h: 64px;
  }
  .brand-logo { height: 28px; max-width: 118px; }
  .btn-row { width: 100%; }
  .btn-row .btn { flex: 1 1 auto; justify-content: center; }
  .display { font-size: clamp(2.15rem, 9.5vw, 2.85rem); line-height: 1.1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .hero-anim {
    opacity: 1;
    transform: none;
    animation: none;
  }
  .glow-orb--a,
  .glow-orb--b,
  .marquee-track { animation: none !important; }
  .btn:hover,
  .card--hover:hover,
  .gateway-card:hover,
  .blog-card:hover { transform: none; }
}

@media (prefers-reduced-transparency: reduce) {
  .site-header,
  .nav-mobile {
    backdrop-filter: none;
    background: var(--header-bg-scrolled);
  }
}

.header-cta {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.header-cta .nav-toggle {
  order: 3;
}
.header-cta .theme-toggle {
  order: 2;
}
.header-cta .btn {
  order: 1;
}


/* Feature / UI icons – always visible */
.feature-icon {
  width: 2.9rem;
  height: 2.9rem;
  border-radius: 0.9rem;
  display: grid;
  place-items: center;
  margin-bottom: 0.95rem;
  flex-shrink: 0;
  background: rgba(45, 212, 160, 0.16);
  color: #6ee7b7;
  border: 1px solid rgba(45, 212, 160, 0.45);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.25s;
}
html[data-theme="light"] .feature-icon {
  background: rgba(12, 143, 110, 0.14);
  color: #0b8f6e;
  border-color: rgba(12, 143, 110, 0.4);
}
.feature-icon svg,
.feature-icon .icon {
  display: block;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: inherit;
  stroke: currentColor;
  fill: none;
  overflow: visible;
}
.feature-icon svg [fill="currentColor"] {
  fill: currentColor;
  stroke: none;
}
.theme-toggle svg,
.theme-toggle .icon {
  display: block;
  width: 18px;
  height: 18px;
  color: inherit;
  stroke: currentColor;
  fill: none;
}

/* ===== Icons must always paint ===== */
.feature-icon,
.contact-icon {
  width: 2.9rem;
  height: 2.9rem;
  border-radius: 0.9rem;
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  background: rgba(45, 212, 160, 0.18);
  color: #7df0c4;
  border: 1px solid rgba(45, 212, 160, 0.5);
}
.feature-icon { margin-bottom: 0.95rem; }
html[data-theme="light"] .feature-icon,
html[data-theme="light"] .contact-icon {
  background: rgba(12, 143, 110, 0.12);
  color: #0a7a5e;
  border-color: rgba(12, 143, 110, 0.4);
}
.feature-icon svg,
.contact-icon svg,
.feature-icon .icon,
.contact-icon .icon {
  display: block !important;
  width: 22px !important;
  height: 22px !important;
  overflow: visible !important;
  opacity: 1 !important;
  visibility: visible !important;
  color: inherit !important;
}
.feature-icon svg .icon-stroke,
.contact-icon svg .icon-stroke,
.feature-icon svg [stroke],
.contact-icon svg [stroke] {
  stroke: currentColor !important;
  fill: none !important;
}
.feature-icon svg [fill="currentColor"],
.contact-icon svg [fill="currentColor"] {
  fill: currentColor !important;
  stroke: none !important;
}

.contact-list {
  display: grid;
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}
.contact-label {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 650;
  margin-bottom: 0.15rem;
}
.contact-item a {
  color: var(--accent);
  font-weight: 600;
}
.contact-item a:hover { text-decoration: underline; }
.contact-text {
  color: var(--text-soft);
  font-size: 0.98rem;
  line-height: 1.45;
}

/* Light mode header – high contrast, always readable */
html[data-theme="light"] .site-header {
  background: rgba(255, 252, 247, 0.92);
  border-bottom-color: rgba(16, 18, 24, 0.1);
  color: #101218;
}
html[data-theme="light"] .site-header.is-scrolled {
  background: rgba(255, 252, 247, 0.97);
  box-shadow: 0 8px 28px rgba(16, 18, 24, 0.06);
}
html[data-theme="light"] .nav-link {
  color: #3d4454;
}
html[data-theme="light"] .nav-link:hover,
html[data-theme="light"] .nav-link.is-active {
  color: #101218;
  background: rgba(16, 18, 24, 0.06);
}
html[data-theme="light"] .nav-mobile {
  background: #fffcf7;
  border-bottom-color: rgba(16, 18, 24, 0.1);
}
html[data-theme="light"] .nav-mobile-inner a {
  color: #101218;
  border-bottom-color: rgba(16, 18, 24, 0.08);
}
html[data-theme="light"] .theme-toggle {
  color: #101218;
  border-color: rgba(16, 18, 24, 0.16);
  background: #fff;
}
html[data-theme="light"] .theme-toggle:hover {
  background: rgba(12, 143, 110, 0.1);
  border-color: rgba(12, 143, 110, 0.35);
}
html[data-theme="light"] .nav-toggle {
  border-color: rgba(16, 18, 24, 0.16);
  background: #fff;
}
html[data-theme="light"] .nav-toggle span {
  background: #101218;
}
html[data-theme="light"] .brand-logo--on-dark { display: none !important; }
html[data-theme="light"] .brand-logo--on-light { display: block !important; }
html[data-theme="dark"] .brand-logo--on-dark { display: block !important; }
html[data-theme="dark"] .brand-logo--on-light { display: none !important; }


/* ==========================================================================
   Forms – Awwwards-grade controls (dark + light)
   ========================================================================== */
.field {
  position: relative;
}
.field label {
  display: block;
  font-size: 0.84rem;
  font-weight: 650;
  letter-spacing: 0.01em;
  color: var(--text-soft);
  margin-bottom: 0.5rem;
}

.field input,
.field select,
.field textarea {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  box-sizing: border-box;
  border-radius: 16px;
  border: 1px solid color-mix(in srgb, var(--line-strong) 80%, transparent);
  background: color-mix(in srgb, var(--surface-2) 88%, #000 12%);
  color: var(--ink);
  padding: 0.95rem 1.15rem;
  outline: none;
  font: inherit;
  line-height: 1.35;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 1px 2px rgba(0, 0, 0, 0.12);
  transition:
    border-color 0.22s var(--ease),
    box-shadow 0.22s var(--ease),
    background 0.22s var(--ease),
    transform 0.22s var(--ease);
}

html[data-theme="dark"] .field input,
html[data-theme="dark"] .field select,
html[data-theme="dark"] .field textarea {
  background: #0e131c;
  border-color: rgba(232, 237, 245, 0.12);
  color: #f2f5fa;
  color-scheme: dark;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.03),
    0 0 0 1px rgba(0, 0, 0, 0.25);
}

html[data-theme="light"] .field input,
html[data-theme="light"] .field select,
html[data-theme="light"] .field textarea {
  background: #ffffff;
  border-color: rgba(16, 18, 24, 0.12);
  color: #101218;
  color-scheme: light;
  box-shadow: 0 1px 2px rgba(16, 18, 24, 0.04);
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--muted);
  opacity: 0.9;
}

.field select {
  padding-right: 2.75rem;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6 9l6 6 6-6' stroke='%237df0c4' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 16px;
}

html[data-theme="light"] .field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6 9l6 6 6-6' stroke='%230c8f6e' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 16px;
}

.field select option,
.field select optgroup {
  background-color: #0e131c;
  color: #f2f5fa;
}

html[data-theme="light"] .field select option,
html[data-theme="light"] .field select optgroup {
  background-color: #ffffff;
  color: #101218;
}

.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: color-mix(in srgb, var(--accent) 45%, var(--line-strong));
}

.field input:focus,
.field select:focus,
.field textarea:focus,
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  border-color: color-mix(in srgb, var(--accent) 75%, transparent);
  box-shadow:
    0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  background: color-mix(in srgb, var(--surface) 70%, #000 30%);
}

html[data-theme="dark"] .field input:focus,
html[data-theme="dark"] .field select:focus,
html[data-theme="dark"] .field textarea:focus {
  background: #121826;
}

html[data-theme="light"] .field input:focus,
html[data-theme="light"] .field select:focus,
html[data-theme="light"] .field textarea:focus {
  background: #fff;
  box-shadow: 0 0 0 3px rgba(12, 143, 110, 0.18);
}

.field textarea {
  min-height: 140px;
  resize: vertical;
  line-height: 1.55;
}

/* Kill brown/yellow autofill */
html[data-theme="dark"] .field input:-webkit-autofill,
html[data-theme="dark"] .field input:-webkit-autofill:hover,
html[data-theme="dark"] .field input:-webkit-autofill:focus,
html[data-theme="dark"] .field textarea:-webkit-autofill,
html[data-theme="dark"] .field select:-webkit-autofill {
  -webkit-text-fill-color: #f2f5fa !important;
  caret-color: #f2f5fa;
  transition: background-color 99999s ease-out;
  box-shadow: 0 0 0 1000px #0e131c inset !important;
  border: 1px solid rgba(45, 212, 160, 0.35) !important;
}

html[data-theme="light"] .field input:-webkit-autofill,
html[data-theme="light"] .field input:-webkit-autofill:focus {
  -webkit-text-fill-color: #101218 !important;
  box-shadow: 0 0 0 1000px #ffffff inset !important;
}

.check {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-size: 0.92rem;
  color: var(--text-soft);
  padding: 0.85rem 1rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface-2) 70%, transparent);
}
.check input[type="checkbox"] {
  -webkit-appearance: none;
  appearance: none;
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
  border-radius: 6px;
  border: 1.5px solid color-mix(in srgb, var(--accent) 50%, var(--line-strong));
  background: #0e131c;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
}
html[data-theme="light"] .check input[type="checkbox"] {
  background: #fff;
}
.check input[type="checkbox"]:checked {
  background: var(--accent);
  border-color: var(--accent);
}
.check input[type="checkbox"]:checked::after {
  content: "";
  width: 0.28rem;
  height: 0.5rem;
  border: solid #04110c;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) translate(-1px, -1px);
}
.check input[type="checkbox"]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.form-grid { gap: 1.15rem; }


/* Native select hidden when custom UI present */
.field select.is-native-hidden {
  position: absolute !important;
  opacity: 0 !important;
  pointer-events: none !important;
  width: 1px !important;
  height: 1px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  clip: rect(0, 0, 0, 0);
}

.cselect {
  position: relative;
  width: 100%;
}
.cselect-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border-radius: 16px;
  border: 1px solid rgba(232, 237, 245, 0.12);
  background: #0e131c;
  color: #f2f5fa;
  padding: 0.95rem 1.15rem;
  text-align: left;
  cursor: pointer;
  font: inherit;
  line-height: 1.35;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.03),
    0 0 0 1px rgba(0, 0, 0, 0.25);
  transition: border-color 0.22s var(--ease), box-shadow 0.22s var(--ease), background 0.22s var(--ease);
}
.cselect-trigger:hover {
  border-color: color-mix(in srgb, var(--accent) 45%, rgba(232, 237, 245, 0.12));
}
.cselect.is-open .cselect-trigger,
.cselect-trigger:focus-visible {
  border-color: color-mix(in srgb, var(--accent) 75%, transparent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent);
  background: #121826;
  outline: none;
}
.cselect-label {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cselect-chevron {
  display: grid;
  place-items: center;
  color: #7df0c4;
  transition: transform 0.25s var(--ease);
  flex-shrink: 0;
}
.cselect.is-open .cselect-chevron {
  transform: rotate(180deg);
}
.cselect-menu {
  position: absolute;
  z-index: 40;
  left: 0;
  right: 0;
  top: calc(100% + 0.4rem);
  margin: 0;
  padding: 0.4rem;
  list-style: none;
  border-radius: 16px;
  border: 1px solid rgba(232, 237, 245, 0.12);
  background: #0e131c;
  box-shadow:
    0 18px 50px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(45, 212, 160, 0.08);
  max-height: min(280px, 50vh);
  overflow: auto;
  overscroll-behavior: contain;
}
.cselect-option {
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  color: #e8edf5;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.cselect-option:hover,
.cselect-option:focus {
  background: rgba(45, 212, 160, 0.12);
  color: #fff;
  outline: none;
}
.cselect-option.is-selected {
  background: rgba(45, 212, 160, 0.18);
  color: #7df0c4;
  font-weight: 650;
}
.cselect-option.is-disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

html[data-theme="light"] .cselect-trigger {
  background: #fff;
  color: #101218;
  border-color: rgba(16, 18, 24, 0.12);
  box-shadow: 0 1px 2px rgba(16, 18, 24, 0.04);
}
html[data-theme="light"] .cselect.is-open .cselect-trigger,
html[data-theme="light"] .cselect-trigger:focus-visible {
  background: #fff;
  box-shadow: 0 0 0 3px rgba(12, 143, 110, 0.18);
}
html[data-theme="light"] .cselect-chevron { color: #0c8f6e; }
html[data-theme="light"] .cselect-menu {
  background: #fff;
  border-color: rgba(16, 18, 24, 0.1);
  box-shadow: 0 18px 50px rgba(16, 18, 24, 0.12);
}
html[data-theme="light"] .cselect-option { color: #171a22; }
html[data-theme="light"] .cselect-option:hover,
html[data-theme="light"] .cselect-option:focus {
  background: rgba(12, 143, 110, 0.1);
  color: #0a7a5e;
}
html[data-theme="light"] .cselect-option.is-selected {
  background: rgba(12, 143, 110, 0.14);
  color: #0a7a5e;
}
