/* ============================================================
   BetInsight – Marketing-Site
   OLED-Schwarz, Kobalt→Violett-Akzent, Daten-Ästhetik
   ============================================================ */

:root {
  color-scheme: dark;
  --bg: #030305;
  --surface: #0b0c12;
  --card: #0e1018;
  --card-hover: #12141e;
  --line: rgba(255, 255, 255, 0.07);
  --line-strong: rgba(255, 255, 255, 0.12);
  --text: #eef0f6;
  --muted: #9ba1b0;
  --faint: #6b7080;
  --cobalt: #2f6bff;
  --violet: #8a5cff;
  --grad: linear-gradient(135deg, var(--cobalt), var(--violet));
  --up: #34d399;
  --warn-bg: #fef3c7;
  --warn-border: #f59e0b;
  --warn-text: #78350f;
  --radius: 18px;
  --radius-sm: 12px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI",
    Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas,
    "Liberation Mono", monospace;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--text);
  text-decoration: none;
}

::selection {
  background: rgba(47, 107, 255, 0.35);
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--cobalt);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 100;
  border-radius: 0 0 8px 0;
}

.skip-link:focus {
  left: 0;
}

/* ---------- Layout-Grundlagen ---------- */

.wrap {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.mono {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
}

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

.eyebrow::before {
  content: "";
  width: 1.5rem;
  height: 1px;
  background: var(--grad);
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(3, 3, 5, 0.75);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 1rem;
}

.logo {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.logo em {
  font-style: normal;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 1.75rem;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

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

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0 9px;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  cursor: pointer;
}

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

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

.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  border-bottom: 1px solid var(--line);
  background: rgba(3, 3, 5, 0.97);
}

.nav-open .mobile-menu {
  display: block;
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  padding: 0.75rem 1.25rem 1.25rem;
  gap: 0.25rem;
}

.mobile-menu a {
  color: var(--muted);
  padding: 0.65rem 0.25rem;
  border-bottom: 1px solid var(--line);
  font-size: 1rem;
}

.mobile-menu a:last-child {
  border-bottom: none;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease,
    border-color 0.2s ease;
}

.btn-primary {
  background: var(--grad);
  color: #fff;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(74, 100, 255, 0.35);
}

.btn-ghost {
  border-color: var(--line-strong);
  color: var(--text);
  background: transparent;
}

.btn-ghost:hover {
  border-color: var(--cobalt);
  background: rgba(47, 107, 255, 0.08);
}

.btn-lg {
  padding: 0.85rem 1.6rem;
  font-size: 1rem;
}

/* App-Store-Badge (Platzhalter) */

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.7rem 1.4rem;
  border-radius: 14px;
  border: 1px solid transparent;
  background:
    linear-gradient(160deg, #131522, #0a0b12) padding-box,
    linear-gradient(135deg, rgba(47, 107, 255, 0.65), rgba(138, 92, 255, 0.65)) border-box;
  color: var(--text);
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.store-badge:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(74, 100, 255, 0.3);
}

.store-badge .badge-icon {
  width: 22px;
  height: 22px;
  stroke: var(--text);
  flex-shrink: 0;
}

.store-badge .badge-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.store-badge small {
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--muted);
}

.store-badge strong {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #fff;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 4.5rem 0 4rem;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 45% at 75% 15%, rgba(47, 107, 255, 0.14), transparent 70%),
    radial-gradient(ellipse 50% 40% at 20% 85%, rgba(138, 92, 255, 0.1), transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 75%);
  pointer-events: none;
}

.hero .wrap {
  position: relative;
  display: grid;
  gap: 3.5rem;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.1rem, 6.5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.hero h1 em {
  font-style: normal;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero .sub {
  margin-top: 1.25rem;
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 34rem;
}

.hero-cta {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.hero-note {
  margin-top: 1rem;
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--faint);
  letter-spacing: 0.06em;
}

/* ---------- iPhone-Mockup (reines CSS) ---------- */

.phone-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pos {
  color: var(--up);
}

.neg {
  color: #f87171;
}

.phone {
  position: relative;
  width: 290px;
  border-radius: 46px;
  padding: 10px;
  background: linear-gradient(160deg, #1c1e28, #08090d);
  border: 1px solid var(--line-strong);
  box-shadow:
    0 40px 80px rgba(0, 0, 0, 0.6),
    0 0 60px rgba(47, 107, 255, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.phone-screen {
  position: relative;
  border-radius: 37px;
  background: #05060a;
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 3.2rem 1.1rem 1.3rem;
  overflow: hidden;
}

/* Coverflow-Karussell: aktives iPhone vorn, die anderen beiden dahinter */

.phone-carousel {
  display: grid;
  place-items: center;
  width: 100%;
  overflow: hidden;
  perspective: 1400px;
  padding: 1.25rem 0 2rem;
  touch-action: pan-y;
}

.phone-carousel .phone {
  grid-area: 1 / 1;
  transition: transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1),
    opacity 0.55s ease, filter 0.55s ease;
  will-change: transform;
}

.phone.is-center {
  transform: translateX(0) scale(1) rotateY(0);
  z-index: 3;
  opacity: 1;
}

.phone.is-left,
.phone.is-right {
  z-index: 1;
  opacity: 0.42;
  filter: brightness(0.65) saturate(0.85);
  cursor: pointer;
}

.phone.is-left {
  transform: translateX(-44%) scale(0.74) rotateY(10deg);
}

.phone.is-right {
  transform: translateX(44%) scale(0.74) rotateY(-10deg);
}

.phone-island {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 88px;
  height: 26px;
  border-radius: 999px;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.app-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 1rem;
}

.app-top .app-title {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.app-top .app-period {
  font-family: var(--mono);
  font-size: 0.62rem;
  color: var(--faint);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stat-hero .stat-label {
  display: block;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
}

.stat-hero .stat-value {
  display: block;
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--up);
  margin-top: 0.15rem;
}

.stat-hero .stat-sub {
  display: inline-block;
  margin-top: 0.3rem;
  font-family: var(--mono);
  font-size: 0.66rem;
  color: var(--muted);
}

.stat-hero .stat-sub b {
  color: var(--up);
  font-weight: 600;
}

/* Kurve als Fläche mit clip-path */

.chart {
  position: relative;
  height: 88px;
  margin: 1.1rem 0 0.9rem;
  border-bottom: 1px solid var(--line);
  background:
    repeating-linear-gradient(
      to top,
      transparent,
      transparent 21px,
      rgba(255, 255, 255, 0.04) 21px,
      rgba(255, 255, 255, 0.04) 22px
    );
}

.chart .area {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(47, 107, 255, 0.55), rgba(138, 92, 255, 0.05));
  clip-path: polygon(
    0% 78%, 9% 70%, 18% 74%, 27% 58%, 36% 63%, 45% 48%,
    54% 55%, 63% 38%, 72% 44%, 81% 26%, 90% 32%, 100% 16%,
    100% 100%, 0% 100%
  );
}

.chart .dot {
  position: absolute;
  top: 12px;
  right: -3px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--violet);
  box-shadow: 0 0 0 4px rgba(138, 92, 255, 0.25);
}

/* Balken (Monatsbilanz) */

.bars {
  display: flex;
  align-items: flex-end;
  gap: 7px;
  height: 54px;
  margin-bottom: 1.1rem;
}

.bars i {
  flex: 1;
  border-radius: 4px 4px 2px 2px;
  background: rgba(255, 255, 255, 0.12);
  min-height: 8%;
}

.bars i.hot {
  background: var(--grad);
}

/* Wettschein-Karte mit Scan-Strahl (Signatur-Element) */

.slip {
  position: relative;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  padding: 0.75rem 0.85rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  overflow: hidden;
}

.slip-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.slip-head .slip-title {
  font-size: 0.72rem;
  font-weight: 600;
}

.slip-head .slip-check {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--up);
}

.slip-head .slip-check::before {
  content: "✓";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: rgba(52, 211, 153, 0.15);
  font-size: 0.55rem;
}

.slip-row {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  font-size: 0.66rem;
  color: var(--muted);
  padding: 0.22rem 0;
  border-top: 1px dashed var(--line);
}

.slip-row b {
  color: var(--text);
  font-weight: 600;
}

.scan-beam {
  position: absolute;
  left: 0;
  right: 0;
  top: -20%;
  height: 34px;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(47, 107, 255, 0.16) 45%,
    rgba(138, 92, 255, 0.5) 50%,
    rgba(47, 107, 255, 0.16) 55%,
    transparent
  );
  animation: scan 3.2s ease-in-out infinite;
  pointer-events: none;
}

@keyframes scan {
  0%, 12% {
    top: -25%;
    opacity: 0;
  }
  22% {
    opacity: 1;
  }
  62% {
    top: 105%;
    opacity: 1;
  }
  70%, 100% {
    top: 105%;
    opacity: 0;
  }
}

/* Scan-Ansicht */

.viewfinder {
  border: 1px dashed rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  padding: 0.9rem 0.8rem;
  margin-bottom: 0.9rem;
}

.scan-hints .slip-row:first-child {
  border-top: none;
}

/* Statistik-Ansicht */

.stat-rows {
  display: grid;
  gap: 0.55rem;
  margin-bottom: 0.9rem;
}

.stat-row {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.68rem;
  color: var(--muted);
}

.stat-row b {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  font-size: 0.66rem;
  font-weight: 600;
}

.stat-bar {
  height: 6px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.stat-bar i {
  display: block;
  height: 100%;
  border-radius: 99px;
  background: var(--grad);
}

/* Kleinteile der Screen-Ansichten */

.mini-label {
  display: block;
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 0.25rem;
}

.mini-list {
  margin-bottom: 0.4rem;
}

.mini-list .slip-row:first-child {
  border-top: none;
}

/* Pager unter dem iPhone */

.phone-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  margin-top: 1.25rem;
}

.pager-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.pager-btn:hover {
  border-color: var(--cobalt);
  color: var(--text);
  background: rgba(47, 107, 255, 0.08);
}

.pager-dots {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pager-dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border: none;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.18);
  cursor: pointer;
  transition: background 0.25s ease, width 0.25s ease;
}

.pager-dot.active {
  width: 20px;
  background: var(--grad);
}

.pager-count {
  font-size: 0.7rem;
  color: var(--faint);
  letter-spacing: 0.1em;
}

/* ---------- Sektionen ---------- */

.section {
  padding: 4.5rem 0;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 2.75rem;
}

.section-head h2 {
  font-size: clamp(1.6rem, 4.5vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.section-head p {
  margin-top: 0.85rem;
  color: var(--muted);
  font-size: 1.05rem;
}

/* Feature-Grid */

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

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

.feature-card:hover {
  border-color: rgba(47, 107, 255, 0.4);
  background: var(--card-hover);
  transform: translateY(-2px);
}

.feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(47, 107, 255, 0.16), rgba(138, 92, 255, 0.16));
  border: 1px solid rgba(47, 107, 255, 0.25);
  margin-bottom: 1rem;
}

.feature-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--cobalt);
}

.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 0.4rem;
}

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

/* Schritte */

.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  counter-reset: step;
}

.step {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem 1.5rem;
}

.step .step-num {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--violet);
  display: block;
  margin-bottom: 0.75rem;
}

.step h3 {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 0.4rem;
}

.step p {
  color: var(--muted);
  font-size: 0.93rem;
}

/* CTA-Schluss */

.cta-final {
  text-align: center;
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.cta-final::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 55% 65% at 50% 100%, rgba(47, 107, 255, 0.14), transparent 70%);
  pointer-events: none;
}

.cta-final .wrap {
  position: relative;
}

.cta-final h2 {
  font-size: clamp(1.7rem, 5vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.cta-final p {
  color: var(--muted);
  margin: 0.85rem auto 1.75rem;
  max-width: 32rem;
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.5rem 0 3rem;
  margin-top: 2rem;
}

.footer-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}

.footer-nav a {
  color: var(--muted);
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

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

.footer-meta {
  font-size: 0.82rem;
  color: var(--faint);
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.25rem;
}

/* ---------- Unterseiten (Support / Rechtliches) ---------- */

.page {
  padding: 3.5rem 0 4rem;
  min-height: 55vh;
}

.page-narrow {
  max-width: 46rem;
}

.page h1 {
  font-size: clamp(1.8rem, 5vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 0.85rem;
}

.page .lead {
  color: var(--muted);
  font-size: 1.08rem;
  margin-bottom: 2rem;
}

.page h2 {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin: 2.25rem 0 0.6rem;
}

.page h3 {
  font-size: 1.02rem;
  font-weight: 700;
  margin: 1.5rem 0 0.4rem;
}

.page p,
.page li {
  color: var(--muted);
  font-size: 0.97rem;
}

.page p + p {
  margin-top: 0.7rem;
}

.page ul,
.page ol {
  padding-left: 1.25rem;
  margin: 0.5rem 0;
}

.page li {
  margin: 0.3rem 0;
}

.page a {
  color: var(--cobalt);
  border-bottom: 1px solid rgba(47, 107, 255, 0.4);
}

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

.placeholder {
  font-family: var(--mono);
  font-size: 0.9em;
  color: var(--warn-border);
  background: rgba(245, 158, 11, 0.08);
  border-radius: 4px;
  padding: 0 0.25rem;
}

/* Entwurfs-Banner */

.draft-banner {
  background: var(--warn-bg);
  border: 1px solid var(--warn-border);
  border-left: 6px solid var(--warn-border);
  color: var(--warn-text);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1.1rem;
  margin-bottom: 2.25rem;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.45;
}

.draft-banner strong {
  color: var(--warn-text);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* FAQ */

.faq {
  max-width: 46rem;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--card);
  margin-bottom: 0.75rem;
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq details[open] {
  border-color: rgba(47, 107, 255, 0.35);
}

.faq summary {
  cursor: pointer;
  padding: 1rem 1.15rem;
  font-weight: 600;
  color: var(--text);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

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

.faq summary::after {
  content: "+";
  font-family: var(--mono);
  font-size: 1.1rem;
  color: var(--cobalt);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq .faq-body {
  padding: 0 1.15rem 1.1rem;
}

.faq .faq-body p {
  font-size: 0.93rem;
  color: var(--muted);
}

.faq .faq-body a {
  color: var(--cobalt);
  border-bottom: 1px solid rgba(47, 107, 255, 0.4);
}

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

/* Kontaktformular */

.contact-form {
  max-width: 46rem;
  display: grid;
  gap: 1.1rem;
}

.form-row {
  display: grid;
  gap: 1.1rem;
}

.form-field {
  display: grid;
  gap: 0.4rem;
}

.form-field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  background: var(--card);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  color: var(--text);
  font: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

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

.form-field input:focus-visible,
.form-field select:focus-visible,
.form-field textarea:focus-visible {
  outline: none;
  border-color: var(--cobalt);
  box-shadow: 0 0 0 3px rgba(47, 107, 255, 0.18);
}

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

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  margin-top: 0.25rem;
}

.form-hint {
  font-size: 0.8rem;
  color: var(--faint);
  max-width: 28rem;
  line-height: 1.5;
}

/* ---------- Scroll-Reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */

@media (min-width: 720px) {
  .nav-links {
    display: flex;
  }

  .nav-toggle,
  .mobile-menu {
    display: none !important;
  }

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

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

  .form-row {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
}

@media (min-width: 980px) {
  .hero {
    padding: 6rem 0 5.5rem;
  }

  .hero .wrap {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2rem;
  }

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

  .phone {
    width: 310px;
  }

  .phone.is-left {
    transform: translateX(-54%) scale(0.76) rotateY(10deg);
  }

  .phone.is-right {
    transform: translateX(54%) scale(0.76) rotateY(-10deg);
  }
}

/* ---------- Bewegung reduzieren ---------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .scan-beam {
    display: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
