/*
  Schichtübergabe — Redesign (v3)
  ----------------------------------------------------------------------
  Vollständiges Redesign innerhalb der Brief-Vorgaben:
  - Vanilla CSS, System-Fonts, keine externen Requests
  - Stahlblau als Anker, mit hellerem Akzent für dunklen Hintergrund
  - Mobile-first
  Visuelle Richtung: dunkler Hero (Industrie-Anmutung, hoher Kontrast),
  großzügige Display-Typografie, Bento-Layout für die Problem-Section,
  durchnummerierte Feature-Karten in der Lösung, Avatar-Stack bei der
  Warteliste als Social Proof.
*/

:root {
  /* Light palette */
  --c-bg: #ffffff;
  --c-surface: #f7f8fb;
  --c-surface-tint: #eef2f7;
  --c-border: #e4e8ef;
  --c-border-strong: #c9cfd9;

  /* Dark palette (Hero, Pricing) */
  --c-bg-dark: #0a1224;
  --c-bg-dark-2: #131d35;
  --c-bg-dark-3: #1b2848;
  --c-on-dark: #eaf0fb;
  --c-on-dark-muted: #93a3c2;
  --c-on-dark-dim: #5b6c8d;

  /* Text */
  --c-text: #0b1424;
  --c-text-2: #2d3a52;
  --c-muted: #6a7589;

  /* Accent (Stahlblau, brief-konform) + helle Variante für Dark-BG */
  --c-accent: #1e3a5f;
  --c-accent-dark: #122340;
  --c-accent-bright: #5e8ac6;
  --c-accent-glow: rgba(94, 138, 198, 0.28);

  /* Industrielle Highlight-Farbe (Warn-/Status-Akzent), sparsam genutzt */
  --c-amber: #f5a623;

  --container: 1180px;
  --container-narrow: 720px;

  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-pill: 999px;

  --shadow-soft: 0 1px 2px rgba(11, 20, 36, 0.04),
    0 6px 18px rgba(11, 20, 36, 0.05);
  --shadow-strong: 0 2px 6px rgba(11, 20, 36, 0.06),
    0 24px 48px -16px rgba(11, 20, 36, 0.18);
  --shadow-hero: 0 30px 80px -30px rgba(0, 0, 0, 0.6);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Reset & base ---------- */

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

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

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

body {
  margin: 0;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "SF Pro Text", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--c-text-2);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--c-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color 120ms var(--ease);
}

a:hover {
  color: var(--c-accent-dark);
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.5em;
  color: var(--c-text);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.08;
}

h1,
h2 {
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.5rem, 7.5vw, 4.6rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.02;
}

h2 {
  font-size: clamp(1.9rem, 4.2vw, 2.9rem);
}

h3 {
  font-size: 1.15rem;
  letter-spacing: -0.015em;
  line-height: 1.3;
}

p {
  margin: 0 0 1em;
}

ul {
  margin: 0;
  padding: 0;
}

/* ---------- Utility ---------- */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -1000px;
  top: 0;
  background: var(--c-accent);
  color: #fff;
  padding: 8px 12px;
  text-decoration: none;
  z-index: 1000;
  border-radius: var(--radius-sm);
}

.skip-link:focus {
  left: 8px;
  top: 8px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 22px;
}

.narrow {
  max-width: var(--container-narrow);
}

.eyebrow {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: 14px;
}

/* ---------- Sprach-Toggle ---------- */

.lang-toggle {
  position: fixed;
  top: 16px;
  right: 18px;
  z-index: 100;
  background: rgba(11, 18, 36, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-pill);
  padding: 7px 14px;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
}

.lang-toggle a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.65);
  padding: 2px 4px;
  font-weight: 500;
}

.lang-toggle a.lang-active,
.lang-toggle a[aria-current="page"] {
  color: #fff;
  font-weight: 700;
}

.lang-toggle span {
  color: rgba(255, 255, 255, 0.25);
  margin: 0 4px;
}

/* Bei legal pages wechseln wir zu hellem Toggle-Look */
body.legal-page .lang-toggle {
  background: rgba(255, 255, 255, 0.85);
  border-color: var(--c-border);
}
body.legal-page .lang-toggle a {
  color: var(--c-muted);
}
body.legal-page .lang-toggle a.lang-active {
  color: var(--c-accent);
}

/* ---------- Header (Dark, transparent over hero) ---------- */

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  padding: 22px 0;
  color: var(--c-on-dark);
}

.site-header.is-light {
  position: static;
  color: var(--c-text);
  background: #fff;
  border-bottom: 1px solid var(--c-border);
  padding: 18px 0;
}

.header-inner {
  display: flex;
  align-items: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  font-weight: 700;
}

.brand-mark {
  flex: 0 0 auto;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.brand-name {
  font-size: 1.05rem;
  letter-spacing: -0.015em;
  color: inherit;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  line-height: 1.2;
  transition:
    background-color 160ms var(--ease),
    color 160ms var(--ease),
    transform 160ms var(--ease),
    box-shadow 220ms var(--ease),
    border-color 160ms var(--ease);
}

/* Primary auf hellem Hintergrund */
.btn-primary {
  background: var(--c-accent);
  color: #fff;
  box-shadow: 0 8px 20px -8px rgba(30, 58, 95, 0.6);
}

.btn-primary:hover,
.btn-primary:focus {
  background: var(--c-accent-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 14px 28px -10px rgba(30, 58, 95, 0.65);
}

/* Primary auf dunklem Hintergrund (Hero) */
.btn-on-dark {
  background: #fff;
  color: var(--c-accent);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.1),
    0 10px 28px -10px rgba(94, 138, 198, 0.55);
}

.btn-on-dark:hover,
.btn-on-dark:focus {
  background: var(--c-surface-tint);
  color: var(--c-accent-dark);
  transform: translateY(-1px);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.15),
    0 14px 36px -10px rgba(94, 138, 198, 0.75);
}

.btn-ghost-dark {
  background: transparent;
  color: var(--c-on-dark);
  border-color: rgba(255, 255, 255, 0.25);
}

.btn-ghost-dark:hover,
.btn-ghost-dark:focus {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}

.btn:active {
  transform: translateY(0);
}

.btn:focus-visible {
  outline: 2px solid var(--c-accent-bright);
  outline-offset: 3px;
}

.btn-arrow {
  display: inline-block;
  transition: transform 200ms var(--ease);
}

.btn:hover .btn-arrow {
  transform: translateX(4px);
}

/* ---------- Sections ---------- */

.section {
  padding: 110px 0;
}

@media (max-width: 640px) {
  .section {
    padding: 72px 0;
  }
}

.section-alt {
  background: var(--c-surface);
}

.section-head {
  margin-bottom: 64px;
  max-width: 720px;
}

.section-head p {
  color: var(--c-muted);
  margin-bottom: 0;
  font-size: 1.1rem;
  line-height: 1.6;
}

/* ---------- Hero (dunkel) ---------- */

.hero {
  position: relative;
  background: var(--c-bg-dark);
  color: var(--c-on-dark);
  padding: 140px 0 120px;
  overflow: hidden;
  isolation: isolate;
}

/* Mesh-Gradient via radial gradients */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 78% 12%, rgba(94, 138, 198, 0.32), transparent 60%),
    radial-gradient(ellipse 50% 40% at 18% 92%, rgba(245, 166, 35, 0.12), transparent 60%),
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(27, 40, 72, 0.95), transparent 70%),
    linear-gradient(180deg, var(--c-bg-dark) 0%, var(--c-bg-dark-2) 100%);
  z-index: -2;
}

/* Karo-Pattern, sehr leise */
.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;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(
    ellipse 70% 70% at 50% 50%,
    #000 30%,
    transparent 80%
  );
  z-index: -1;
  pointer-events: none;
}

.hero h1 {
  color: #fff;
  margin-bottom: 22px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: center;
  position: relative;
}

@media (min-width: 920px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    gap: 72px;
  }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-on-dark-muted);
  margin-bottom: 22px;
  background: rgba(94, 138, 198, 0.12);
  border: 1px solid rgba(94, 138, 198, 0.28);
  padding: 7px 14px;
  border-radius: var(--radius-pill);
}

.hero-eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-amber);
  box-shadow: 0 0 0 4px rgba(245, 166, 35, 0.22);
}

.hero h1 .grad {
  background: linear-gradient(
    100deg,
    var(--c-accent-bright) 0%,
    #b5cef0 60%,
    #fff 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lede {
  font-size: clamp(1.1rem, 1.7vw, 1.35rem);
  color: var(--c-on-dark-muted);
  margin-bottom: 36px;
  max-width: 56ch;
  line-height: 1.55;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  margin-top: 38px;
  font-size: 0.92rem;
  color: var(--c-on-dark-muted);
  list-style: none;
}

.hero-meta li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-meta svg {
  color: var(--c-accent-bright);
}

/* ---------- Hero-Visual (CSS-only Mockup-Karte) ---------- */

.hero-visual {
  display: none;
}

@media (min-width: 920px) {
  .hero-visual {
    display: block;
    position: relative;
    perspective: 1500px;
  }
}

.mock-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-hero);
  transform: rotate(-1.2deg);
  position: relative;
  z-index: 2;
}

/* glow behind mock card */
.hero-visual::before {
  content: "";
  position: absolute;
  inset: -20px -10px -40px -10px;
  background: radial-gradient(
    ellipse at 50% 50%,
    rgba(94, 138, 198, 0.45) 0%,
    transparent 70%
  );
  filter: blur(30px);
  z-index: 1;
}

.mock-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--c-border);
  margin-bottom: 16px;
}

.mock-title {
  font-weight: 700;
  color: var(--c-text);
  font-size: 1rem;
  letter-spacing: -0.01em;
}

.mock-sub {
  font-size: 0.84rem;
  color: var(--c-muted);
  margin-top: 3px;
}

.mock-status {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  background: rgba(245, 166, 35, 0.14);
  color: #a36b00;
  padding: 6px 10px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.mock-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mock-item {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  align-items: start;
}

.mock-flag {
  width: 24px;
  height: 16px;
  border-radius: 2px;
  margin-top: 4px;
  display: inline-block;
  flex: 0 0 auto;
  overflow: hidden;
  position: relative;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.mock-flag-pl {
  background: linear-gradient(180deg, #fff 50%, #dc143c 50%);
}
.mock-flag-tr {
  background: #e30a17;
}
.mock-flag-tr::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 9px 8px, #fff 3.5px, transparent 4px),
    radial-gradient(circle at 10.5px 8px, #e30a17 3px, transparent 3.5px);
}
.mock-flag-de {
  background: linear-gradient(
    180deg,
    #000 0 33%,
    #dd0000 33% 66%,
    #ffce00 66%
  );
}

.mock-orig {
  font-size: 0.85rem;
  color: var(--c-muted);
  font-style: italic;
  margin-bottom: 3px;
  line-height: 1.45;
}

.mock-trans {
  font-size: 0.94rem;
  color: var(--c-text);
  line-height: 1.45;
  font-weight: 500;
}

.mock-foot {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--c-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.84rem;
  color: var(--c-muted);
}

.mock-ack {
  color: #1d7a45;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.mock-ack svg {
  color: #1d7a45;
}

/* ---------- Bento-Grid für Problem-Section ---------- */

.bento {
  list-style: none;
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .bento {
    grid-template-columns: repeat(4, 1fr);
  }
  /* first card spans 2 cols and 2 rows -> hero card */
  .bento > li:nth-child(1) {
    grid-column: span 2;
    grid-row: span 2;
  }
  .bento > li:nth-child(2),
  .bento > li:nth-child(3) {
    grid-column: span 2;
  }
  .bento > li:nth-child(4) {
    grid-column: span 4;
  }
}

@media (min-width: 980px) {
  .bento {
    grid-template-columns: repeat(6, 1fr);
  }
  .bento > li:nth-child(1) {
    grid-column: span 3;
    grid-row: span 2;
  }
  .bento > li:nth-child(2) {
    grid-column: span 3;
  }
  .bento > li:nth-child(3) {
    grid-column: span 3;
  }
  .bento > li:nth-child(4) {
    grid-column: span 6;
  }
}

.bento-item {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  transition:
    transform 220ms var(--ease),
    box-shadow 220ms var(--ease),
    border-color 220ms var(--ease);
}

.bento-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-strong);
  border-color: var(--c-border-strong);
}

.bento-item h3 {
  margin: 0 0 10px;
  font-size: 1.25rem;
}

.bento-item p {
  margin: 0;
  color: var(--c-muted);
  font-size: 1rem;
  line-height: 1.55;
  max-width: 50ch;
}

.bento-item .card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--c-surface-tint);
  color: var(--c-accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  transition: background-color 220ms var(--ease), color 220ms var(--ease);
}

.bento-item:hover .card-icon {
  background: var(--c-accent);
  color: #fff;
}

/* Erste Karte: dunkel, prominenter (Hero-Card im Bento) */
.bento-item-feature {
  background: linear-gradient(155deg, var(--c-bg-dark) 0%, var(--c-bg-dark-3) 100%);
  color: var(--c-on-dark);
  border-color: transparent;
}

.bento-item-feature h3 {
  color: #fff;
  font-size: clamp(1.4rem, 2.2vw, 1.7rem);
}

.bento-item-feature p {
  color: var(--c-on-dark-muted);
  font-size: 1.05rem;
}

.bento-item-feature .card-icon {
  background: rgba(94, 138, 198, 0.18);
  color: var(--c-accent-bright);
  width: 60px;
  height: 60px;
}

.bento-item-feature:hover .card-icon {
  background: var(--c-accent-bright);
  color: #fff;
}

.bento-item-feature::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 60% 50% at 90% 10%,
    rgba(94, 138, 198, 0.25),
    transparent 70%
  );
  pointer-events: none;
}

/* ---------- Numbered Feature-Cards (Lösung) ---------- */

.feature-grid {
  list-style: none;
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 980px) {
  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  position: relative;
  overflow: hidden;
  transition:
    transform 220ms var(--ease),
    box-shadow 220ms var(--ease),
    border-color 220ms var(--ease);
}

.feature:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-strong);
  border-color: var(--c-border-strong);
}

.feature-num {
  position: absolute;
  top: 18px;
  right: 24px;
  font-size: 4.4rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--c-surface-tint);
  z-index: 0;
  pointer-events: none;
  user-select: none;
  transition: color 220ms var(--ease);
}

.feature:hover .feature-num {
  color: rgba(94, 138, 198, 0.18);
}

.feature h3,
.feature p,
.feature .card-icon {
  position: relative;
  z-index: 1;
}

.feature .card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--c-surface-tint);
  color: var(--c-accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.feature h3 {
  margin: 0 0 8px;
  font-size: 1.12rem;
}

.feature p {
  margin: 0;
  color: var(--c-muted);
  font-size: 0.97rem;
  line-height: 1.55;
}

/* ---------- About / Quote ---------- */

.about-quote {
  position: relative;
  font-size: clamp(1.2rem, 2.4vw, 1.55rem);
  line-height: 1.55;
  font-weight: 500;
  color: var(--c-text);
  padding: 32px 0 12px;
}

.about-quote::before {
  content: "“";
  position: absolute;
  top: -32px;
  left: -8px;
  font-size: 9rem;
  line-height: 1;
  color: var(--c-accent);
  opacity: 0.12;
  font-family: Georgia, "Times New Roman", serif;
  pointer-events: none;
}

.about-byline {
  margin-top: 22px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 0.95rem;
  color: var(--c-muted);
}

.about-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c-accent) 0%, var(--c-accent-bright) 100%);
  color: #fff;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  box-shadow: 0 4px 12px -4px rgba(30, 58, 95, 0.45);
}

/* ---------- Pricing (dunkle Karte mit großem Preis) ---------- */

.pricing-card {
  background: linear-gradient(155deg, var(--c-bg-dark) 0%, var(--c-bg-dark-3) 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 56px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-hero);
}

.pricing-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 100% 0%, rgba(94, 138, 198, 0.25), transparent 60%),
    radial-gradient(ellipse 50% 70% at 0% 100%, rgba(245, 166, 35, 0.12), transparent 60%);
  pointer-events: none;
}

.pricing-card > * {
  position: relative;
}

.pricing-card .eyebrow {
  color: var(--c-on-dark-muted);
  margin-bottom: 14px;
}

.pricing-card h2 {
  color: #fff;
  margin-bottom: 30px;
}

.pricing-big {
  font-size: clamp(3.4rem, 9vw, 5.2rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: #fff;
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 6px;
}

.pricing-big .currency {
  font-size: 0.5em;
  font-weight: 600;
  color: var(--c-on-dark-muted);
}

.pricing-big .per {
  font-size: 0.32em;
  font-weight: 500;
  color: var(--c-on-dark-muted);
  letter-spacing: 0;
}

.pricing-sub {
  color: var(--c-on-dark-muted);
  margin-bottom: 32px;
  font-size: 1.02rem;
}

.pricing-sub strong {
  color: var(--c-amber);
  font-weight: 700;
}

/* ---------- Warteliste / Form ---------- */

.waitlist-card {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  box-shadow: var(--shadow-soft);
  text-align: center;
}

@media (max-width: 560px) {
  .waitlist-card {
    padding: 36px 24px;
  }
}

.waitlist-card .section-head {
  margin: 0 auto 32px;
  text-align: center;
}

.waitlist-card .section-head p {
  margin: 0;
}

.waitlist-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0 auto 20px;
  max-width: 460px;
}

@media (min-width: 560px) {
  .waitlist-form {
    flex-direction: row;
    align-items: stretch;
    flex-wrap: wrap;
  }
  .waitlist-form input[type="email"] {
    flex: 1 1 200px;
  }
}

.waitlist-form input[type="email"] {
  padding: 14px 18px;
  border: 1px solid var(--c-border-strong);
  border-radius: var(--radius-pill);
  font-size: 1rem;
  font-family: inherit;
  color: var(--c-text);
  background: var(--c-surface);
  transition: border-color 140ms var(--ease), box-shadow 140ms var(--ease),
    background-color 140ms var(--ease);
}

.waitlist-form input[type="email"]:focus {
  outline: none;
  border-color: var(--c-accent);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(30, 58, 95, 0.12);
}

.waitlist-form .btn {
  flex: 0 0 auto;
}

.form-message {
  width: 100%;
  margin: 0 auto;
  max-width: 460px;
  font-size: 0.95rem;
  padding: 12px 16px;
  border-radius: var(--radius);
  text-align: left;
}

.form-error {
  background: #fff5f5;
  border: 1px solid #f1c0c0;
  color: #8a1f1f;
}

.form-success {
  background: #f0f7f1;
  border: 1px solid #b9d6bf;
  color: #1f5d2f;
  margin-top: 12px;
}

/* Live-Counter unter dem Warteliste-Formular */
.waitlist-count {
  margin: 18px 0 0;
  font-size: 0.93rem;
  color: var(--c-muted);
  text-align: center;
}

.waitlist-count strong {
  color: var(--c-accent);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

/* ---------- Footer (dunkel) ---------- */

.site-footer {
  background: var(--c-bg-dark);
  color: var(--c-on-dark-muted);
  padding: 56px 0 36px;
  font-size: 0.93rem;
}

.site-footer .brand {
  color: #fff;
}

.site-footer .brand-name {
  color: #fff;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  justify-content: space-between;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 24px;
}

@media (min-width: 720px) {
  .footer-inner {
    flex-direction: row;
    align-items: center;
  }
}

.footer-tagline {
  margin: 0;
  color: var(--c-on-dark-muted);
  max-width: 36ch;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-links a {
  color: var(--c-on-dark-muted);
  text-decoration: none;
  transition: color 140ms var(--ease);
}

.footer-links a:hover {
  color: #fff;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  color: var(--c-on-dark-dim);
  font-size: 0.85rem;
}

.footer-meta p {
  margin: 0;
}

/* ---------- Legal pages ---------- */

.legal-page {
  background: var(--c-surface);
}

.legal {
  background: #fff;
  padding: 56px 44px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--c-border);
  margin: 40px auto;
  box-shadow: var(--shadow-soft);
}

@media (max-width: 640px) {
  .legal {
    padding: 36px 22px;
  }
}

.legal h2 {
  margin-top: 1.8em;
  font-size: 1.25rem;
}

.legal ul {
  padding-left: 1.2em;
  margin: 0 0 1em;
}

.legal li {
  margin-bottom: 0.3em;
}

/* ---------- Reveal-on-scroll ---------- */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal.is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
