/* ==========================================================================
   Kubina Group — Stylesheet
   Design-Basis: DESIGN.md (Apple Dark Style)
   ========================================================================== */

:root {
  /* Farben */
  --polar: #f5f5f7;
  --black: #000;
  --carbon: #111;
  --white: #fff;
  --graphite: #1d1d1f;
  --steel: #86868b;
  --divider: #6e6e73;
  --charcoal: #333336;
  --silver: #ccc;
  --green: #00d959;
  /* Markenfarbe: Türkis aus dem Kubina-Group-Tower-Logo */
  --link: #00aac3;          /* Links auf dunklem Grund (Kontrast 6,8:1) */
  --link-light: #007a8c;    /* Links auf hellem Grund (Kontrast 5,1:1) */
  --blue: #00aac3;          /* Buttons – mit schwarzer Schrift (7,5:1) */
  --blue-hover: #1dbdd4;
  --on-accent: #000;
  --orange: #ff791b;
  --error: #ff6961;

  /* Schrift */
  --font-display: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-text: "SF Pro Text", -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* Radien */
  --r-card: 28px;
  --r-chip: 36px;
  --r-pill: 980px;

  /* Layout */
  --max: 1200px;
  --gutter: clamp(16px, 4vw, 44px);
  --nav-h: 48px;
  --section: clamp(90px, 14vw, 180px);

  --ease: cubic-bezier(.25, .1, .25, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  background: var(--carbon);
  color: var(--polar);
  font-family: var(--font-text);
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: -0.022em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 600; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--link); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--blue); color: var(--on-accent); }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 1000;
  background: var(--polar); color: var(--graphite); padding: 10px 16px; border-radius: var(--r-pill);
}
.skip-link:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Layout ---------- */
.container { width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; }
.container--narrow { width: min(820px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { padding-block: var(--section); }
.section--black { background: var(--black); }
.section--tight { padding-block: clamp(60px, 8vw, 110px); }

/* ---------- Typografie ---------- */
.eyebrow {
  display: block;
  font-size: clamp(17px, 1.6vw, 21px);
  font-weight: 600;
  color: var(--steel);
  margin-bottom: 12px;
  letter-spacing: .01em;
}
.display {
  font-size: clamp(44px, 8.2vw, 96px);
  line-height: 1.04;
  letter-spacing: -0.015em;
}
.headline {
  font-size: clamp(36px, 5.6vw, 64px);
  line-height: 1.06;
  letter-spacing: -0.009em;
}
.title {
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.1;
  letter-spacing: 0;
}
.lead {
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.38;
  color: var(--steel);
  font-weight: 500;
  letter-spacing: .005em;
}
.lead strong { color: var(--polar); font-weight: 600; }
.muted { color: var(--steel); }
.center { text-align: center; }
.gradient-text {
  background: linear-gradient(90deg, #f5f5f7 0%, #a1a1a6 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 44px; padding: 11px 22px;
  border-radius: var(--r-pill); border: 0;
  font-size: 17px; font-weight: 400; line-height: 1.2; letter-spacing: -0.022em;
  cursor: pointer; text-decoration: none !important;
  transition: background-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.btn--primary { background: var(--blue); color: var(--on-accent); font-weight: 500; }
.btn--primary:hover { background: var(--blue-hover); }
.btn--ghost { background: transparent; color: var(--link); padding-inline: 12px; }
.btn--ghost:hover { text-decoration: underline !important; }
.btn--outline { background: transparent; color: var(--polar); box-shadow: inset 0 0 0 1px var(--divider); }
.btn--outline:hover { box-shadow: inset 0 0 0 1px var(--polar); }
.btn--small { min-height: 28px; padding: 4px 12px; font-size: 12px; letter-spacing: -0.01em; }
.btn:active { transform: scale(.98); }
.btn[disabled] { opacity: .5; cursor: progress; }

.link-arrow { font-size: 17px; color: var(--link); white-space: nowrap; }
.link-arrow::after { content: " \203A"; font-size: 1.15em; line-height: 0; position: relative; top: .06em; }

.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 28px; }
.center .actions, .actions.center { justify-content: center; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--nav-h);
  /* Der Weichzeichner liegt auf einem Pseudo-Element: ein backdrop-filter direkt am .nav würde
     das mobile Menü (position: fixed) an die 48 px hohe Leiste binden statt an den Bildschirm. */
  transition: transform .45s var(--ease);
}
.nav::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(17, 17, 17, .72);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  transition: background-color .3s;
}
.nav.is-hidden { transform: translateY(-100%); }
.nav__inner {
  height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  width: min(1024px, 100% - 2 * var(--gutter)); margin-inline: auto;
}
.nav__logo { display: flex; align-items: center; flex-shrink: 0; }
.nav__logo img { height: 26px; width: auto; }
.nav__links { display: flex; align-items: center; gap: clamp(16px, 2.6vw, 36px); list-style: none; margin: 0; padding: 0; }
.nav__links a {
  font-size: 12px; letter-spacing: -0.01em; color: rgba(255, 255, 255, .8);
  text-decoration: none; transition: color .2s;
}
.nav__links a:hover, .nav__links a[aria-current="page"] { color: #fff; }
.nav__cta { margin-left: 4px; }
.nav__toggle {
  display: none; width: 44px; height: 44px; margin-right: -12px;
  background: none; border: 0; cursor: pointer; position: relative;
}
.nav__toggle span {
  position: absolute; left: 14px; width: 16px; height: 1.5px; background: var(--polar); border-radius: 2px;
  transition: transform .35s var(--ease), top .35s var(--ease);
}
.nav__toggle span:nth-child(1) { top: 18px; }
.nav__toggle span:nth-child(2) { top: 25px; }
.nav-open .nav__toggle span:nth-child(1) { top: 21.5px; transform: rotate(45deg); }
.nav-open .nav__toggle span:nth-child(2) { top: 21.5px; transform: rotate(-45deg); }

@media (max-width: 833px) {
  .nav__toggle { display: block; }
  .nav__menu {
    position: fixed; inset: var(--nav-h) 0 0 0;
    background: var(--carbon);
    padding: 24px var(--gutter) 40px;
    overflow-y: auto;
    opacity: 0; visibility: hidden;
    transition: opacity .35s var(--ease), visibility 0s linear .35s;
  }
  .nav-open .nav__menu { opacity: 1; visibility: visible; transition-delay: 0s; }
  .nav-open .nav::before { background: var(--carbon); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .nav__links { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__links li { border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .nav__links a {
    display: block; padding: 14px 0; font-size: 28px; font-weight: 600; font-family: var(--font-display);
    color: var(--polar); letter-spacing: 0;
    transform: translateY(-8px); opacity: 0;
    transition: transform .5s var(--ease), opacity .5s var(--ease);
  }
  .nav-open .nav__links a { transform: none; opacity: 1; }
  .nav__links li:nth-child(2) a { transition-delay: .03s; }
  .nav__links li:nth-child(3) a { transition-delay: .06s; }
  .nav__links li:nth-child(4) a { transition-delay: .09s; }
  .nav__links li:nth-child(5) a { transition-delay: .12s; }
  .nav__links li:nth-child(6) a { transition-delay: .15s; }
  .nav__links .nav__cta { border: 0; margin: 28px 0 0; }
  .nav__links .nav__cta a { display: inline-flex; font-size: 17px; font-family: var(--font-text); font-weight: 400; padding: 11px 22px; }
  body.nav-open { overflow: hidden; }
}

/* Lokale Sub-Navigation (Unterseiten) */
.subnav {
  position: sticky; top: 0; z-index: 90;
  margin-top: var(--nav-h);
  background: rgba(17, 17, 17, .72);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.subnav__inner {
  height: 52px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  width: min(1024px, 100% - 2 * var(--gutter)); margin-inline: auto;
}
.subnav__title { font-size: 19px; font-weight: 600; font-family: var(--font-display); color: var(--polar); white-space: nowrap; }
.subnav__links { display: flex; align-items: center; gap: 20px; }
.subnav__links a:not(.btn) { font-size: 12px; color: rgba(255, 255, 255, .8); }
@media (max-width: 600px) { .subnav__links a:not(.btn) { display: none; } .subnav__title { font-size: 17px; } }

main { display: block; }
.page-top { padding-top: var(--nav-h); }

/* ---------- Hero (Startseite) ---------- */
.hero {
  position: relative;
  padding-top: calc(var(--nav-h) + clamp(56px, 9vw, 120px));
  background: var(--black);
  text-align: center;
  overflow: hidden;
}
.hero__eyebrow { font-size: clamp(17px, 1.8vw, 24px); font-weight: 600; color: var(--polar); margin-bottom: 8px; }
.hero__title { max-width: 14ch; margin-inline: auto; }
.hero__sub { max-width: 34em; margin: 22px auto 0; }
.hero__stage {
  position: relative;
  padding: clamp(40px, 6vw, 80px) 0 clamp(70px, 9vw, 130px);
  overflow: hidden;
}
.hero__car {
  position: relative; z-index: 2;
  width: min(1100px, 92vw); margin-inline: auto;
  will-change: transform;
}
.hero__car img { width: 100%; height: auto; }
.hero__floor {
  position: absolute; z-index: 1; left: 50%; bottom: clamp(56px, 8vw, 110px);
  width: min(1000px, 84vw); height: clamp(40px, 6vw, 80px);
  transform: translateX(-50%);
  background: radial-gradient(50% 50% at 50% 50%, rgba(78, 45, 135, .55) 0%, rgba(0, 171, 206, .12) 45%, transparent 75%);
  filter: blur(18px);
  pointer-events: none;
}
.hero__spot {
  position: absolute; z-index: 0; left: 50%; top: 42%;
  width: min(1100px, 110vw); aspect-ratio: 1.6; transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(255, 255, 255, .13), rgba(255, 255, 255, .04) 55%, transparent);
  pointer-events: none;
}
.hero__taillight {
  position: absolute; z-index: 3; left: 16.5%; right: 16.5%; top: 46%; height: 2.4%;
  border-radius: 50%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(255, 60, 60, .95), rgba(255, 0, 0, .35) 60%, transparent);
  filter: blur(6px);
  mix-blend-mode: screen;
  opacity: .55;
  pointer-events: none;
}
.hero__zoom { position: relative; }
.hero__car--rear, .hero__car--front, .hero__zoom, .hero__spot, .hero__light { will-change: transform, opacity; }
.js .hero__car--rear, .js .hero__car--front, .js .hero__spot { opacity: 0; }
.no-motion .hero__car--rear, .no-motion .hero__car--front, .no-motion .hero__spot { opacity: 1; }
.hero__car--rear { width: min(880px, 92vw); }
.hero__car--front { width: min(1060px, 96vw); }
.hero__headlight {
  position: absolute; z-index: 3; top: 36.2%; width: 14%; aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(220, 235, 255, .9), rgba(150, 190, 255, .35) 45%, transparent);
  filter: blur(4px);
  mix-blend-mode: screen;
  opacity: .5;
  pointer-events: none;
}
.hero__headlight--l { left: 9.3%; }
.hero__headlight--r { left: 77%; }
.hero__floor--red {
  background: radial-gradient(50% 50% at 50% 50%, rgba(255, 40, 40, .35) 0%, rgba(255, 40, 40, .08) 45%, transparent 75%);
}
.hero__car--3q { width: min(720px, 90vw); margin-top: calc(-1 * clamp(10px, 3vw, 40px)); }
.hero__floor--silver {
  background: radial-gradient(50% 50% at 50% 50%, rgba(245, 245, 247, .22) 0%, rgba(134, 134, 139, .08) 45%, transparent 75%);
}
@media (max-width: 734px) {
  .hero__car { width: 118vw; margin-left: -9vw; }
  .hero__car--3q, .hero__car--rear, .hero__car--front { width: 100vw; margin-left: 0; }
}

/* ---------- Word-Reveal Statement ---------- */
.statement {
  font-family: var(--font-display);
  font-size: clamp(30px, 4.6vw, 56px);
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--polar);
}
.statement .w { opacity: .18; transition: opacity .2s linear; }
.no-motion .statement .w, .no-js .statement .w { opacity: 1; }

/* ---------- Horizontale Galerie ---------- */
.hscroll { overflow: hidden; background: var(--carbon); }
.hscroll__head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: clamp(32px, 4vw, 56px); }
.hscroll__track {
  display: flex; gap: 20px;
  padding-inline: max(var(--gutter), (100vw - var(--max)) / 2);
  width: max-content;
  will-change: transform;
}
.hscroll__hint { font-size: 14px; color: var(--steel); }
.hscroll__hint--touch { display: none; }
@media (max-width: 1023px) { .hscroll__hint--desk { display: none; } .hscroll__hint--touch { display: inline; } }
@media (max-width: 1023px) {
  .hscroll__viewport { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .hscroll__viewport::-webkit-scrollbar { display: none; }
  .hscroll__track .unit { scroll-snap-align: center; }
}

.unit {
  position: relative; flex: 0 0 auto;
  width: clamp(290px, 34vw, 440px); aspect-ratio: 3 / 4.2;
  border-radius: var(--r-card); overflow: hidden;
  background: var(--black); color: var(--polar);
  display: flex; flex-direction: column; justify-content: space-between;
  text-decoration: none !important;
  isolation: isolate;
}
.unit__img { position: absolute; inset: 0; z-index: -2; }
.unit__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.unit::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.15) 38%, rgba(0,0,0,.1) 60%, rgba(0,0,0,.78) 100%);
}
.unit:hover .unit__img img { transform: scale(1.05); }
.unit__top { padding: 28px 28px 0; }
.unit__label { font-size: 12px; font-weight: 600; color: rgba(255,255,255,.75); text-transform: uppercase; letter-spacing: .08em; }
.unit__title { font-size: clamp(26px, 2.6vw, 32px); line-height: 1.1; margin-top: 6px; }
.unit__bottom { padding: 0 28px 28px; display: flex; align-items: end; justify-content: space-between; gap: 16px; }
.unit__text { font-size: 15px; line-height: 1.4; color: rgba(255,255,255,.85); max-width: 26ch; margin: 0; }
.unit__plus {
  flex: 0 0 36px; width: 36px; height: 36px; border-radius: 50%;
  background: rgba(66, 66, 69, .72); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  display: grid; place-items: center; transition: background-color .25s, transform .25s var(--ease);
}
.unit__plus svg { width: 14px; height: 14px; }
.unit:hover .unit__plus { background: rgba(255,255,255,.9); color: #000; transform: rotate(90deg); }
.unit:hover .unit__plus svg path { stroke: #000; }

/* ---------- Feature-Kacheln ---------- */
.feature { position: relative; }
.feature__head { max-width: 820px; margin-bottom: clamp(36px, 5vw, 64px); }
.feature__head .lead { margin-top: 18px; }
.tile {
  position: relative; border-radius: var(--r-card); overflow: hidden; background: var(--black);
}
.tile--media { aspect-ratio: 16 / 9; }
.tile__bg { position: relative; top: -9%; width: 100%; height: 118%; object-fit: cover; will-change: transform; }
@media (max-width: 734px) { .tile--media { aspect-ratio: 4 / 5; } }
.tile__overlay {
  position: absolute; inset: auto 0 0 0; padding: clamp(24px, 4vw, 48px);
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.75));
}
.tile__overlay p { max-width: 36ch; font-size: clamp(17px, 1.6vw, 21px); font-weight: 600; line-height: 1.3; margin: 0; }
.tile__logo { position: absolute; top: clamp(20px, 3vw, 36px); left: clamp(20px, 3vw, 36px); height: clamp(40px, 5vw, 64px); width: auto; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 1023px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 734px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .grid-4 { grid-template-columns: 1fr 1fr; gap: 12px; } }

.card {
  background: #1c1c1e; border-radius: var(--r-card); padding: clamp(24px, 3vw, 40px);
  display: flex; flex-direction: column;
}
.card--black { background: var(--black); }
.card--light { background: var(--white); color: var(--graphite); }
.card--light .muted { color: #6e6e73; }
.card--light a:not(.btn) { color: var(--link-light); }
.card__title { font-size: clamp(21px, 2vw, 28px); line-height: 1.14; margin-bottom: 12px; }
.card__icon { width: 44px; height: 44px; margin-bottom: 20px; color: var(--polar); }
.card--light .card__icon { color: var(--graphite); }
.card--media { padding: 0; overflow: hidden; }
.card--media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.card--media .card__body { padding: clamp(24px, 3vw, 36px); }

/* Kennzahlen */
.metric { padding: clamp(22px, 2.6vw, 32px); border-radius: var(--r-card); background: #1c1c1e; }
.metric__value {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(36px, 4.6vw, 56px); line-height: 1; letter-spacing: -0.01em;
  color: var(--polar); font-variant-numeric: tabular-nums;
}
.metric__value--accent { color: var(--green); }
.metric__value small { font-size: .5em; font-weight: 600; margin-left: 2px; }
.metric__label { margin-top: 10px; font-size: 15px; line-height: 1.35; color: var(--steel); }

/* Preise */
.price {
  display: flex; flex-direction: column; gap: 6px;
  padding: clamp(28px, 3.4vw, 44px); border-radius: var(--r-card); background: #1c1c1e;
}
.price__name { font-size: 21px; font-weight: 600; font-family: var(--font-display); }
.price__value { font-family: var(--font-display); font-size: clamp(44px, 5vw, 64px); font-weight: 600; line-height: 1.05; margin-top: 18px; letter-spacing: -0.01em; }
.price__value span { font-size: 17px; font-weight: 400; color: var(--steel); margin-left: 4px; letter-spacing: 0; }
.price ul { list-style: none; padding: 0; margin: 20px 0 0; color: var(--steel); font-size: 15px; }
.price li { padding: 10px 0; border-top: 1px solid rgba(255,255,255,.08); }
.badge {
  align-self: flex-start; font-size: 12px; font-weight: 600; line-height: 1.33;
  color: var(--orange); background: #311400; padding: 4px 10px; border-radius: 6px;
}

/* Liste mit Häkchen */
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.checklist li { display: flex; gap: 14px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.08); font-size: 17px; }
.checklist li::before {
  content: ""; flex: 0 0 18px; height: 18px; border-radius: 50%; transform: translateY(3px);
  background: var(--polar) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 11px no-repeat;
}

/* Split-Layout (Text + Bild) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.split--flip .split__media { order: -1; }
.split__media { border-radius: var(--r-card); overflow: hidden; background: var(--black); }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 833px) { .split { grid-template-columns: 1fr; } .split--flip .split__media { order: 0; } }

/* Seitenkopf (Unterseiten) */
.page-hero { padding: calc(var(--nav-h) + clamp(56px, 9vw, 120px)) 0 clamp(50px, 7vw, 90px); background: var(--black); }
.has-subnav .page-hero { padding-top: clamp(56px, 8vw, 110px); }
.has-subnav .nav { position: absolute; }
.page-hero .display { max-width: 16ch; }
.page-hero .lead { max-width: 38em; margin-top: 22px; }
.page-hero--center { text-align: center; }
.page-hero--center .display, .page-hero--center .lead { margin-inline: auto; }
.page-hero__media { margin-top: clamp(40px, 6vw, 80px); }

/* Zeitstrahl (Über uns) */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 1px; background: rgba(255,255,255,.15); }
.timeline li { position: relative; padding: 0 0 clamp(36px, 5vw, 56px) 44px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 7px; width: 15px; height: 15px; border-radius: 50%; background: var(--carbon); box-shadow: inset 0 0 0 2px var(--polar); }
.timeline__year { font-family: var(--font-display); font-size: clamp(28px, 3.4vw, 40px); font-weight: 600; line-height: 1.1; }
.timeline__text { margin-top: 8px; color: var(--steel); max-width: 60ch; }

/* Info-Zeilen */
.info-list { display: grid; gap: 0; margin: 0; }
.info-list > div { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid rgba(0,0,0,.08); }
.card:not(.card--light) .info-list > div { border-color: rgba(255,255,255,.08); }
.info-list dt { color: var(--steel); font-size: 15px; }
.info-list dd { margin: 0; }
@media (max-width: 480px) { .info-list > div { grid-template-columns: 1fr; gap: 2px; } }

/* ---------- Formulare ---------- */
.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .form__row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 8px; }
.field > label, .field > .field__label { font-size: 14px; font-weight: 600; color: var(--polar); }
.field__hint { font-size: 13px; color: var(--steel); }
.input, .select, .textarea {
  width: 100%; min-height: 52px; padding: 14px 20px;
  background: rgba(255,255,255,.04); color: var(--polar);
  border: 1px solid var(--divider); border-radius: 14px;
  font-size: 17px; line-height: 1.3;
  transition: border-color .2s, background-color .2s, box-shadow .2s;
  -webkit-appearance: none; appearance: none;
}
.input::placeholder, .textarea::placeholder { color: #6e6e73; }
.input:hover, .select:hover, .textarea:hover { border-color: #8e8e93; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--link); box-shadow: 0 0 0 4px rgba(0,170,195,.25); background: rgba(255,255,255,.06); }
.input, .select { height: 52px; }
.textarea { min-height: 160px; resize: vertical; }
.select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%2386868b' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 20px center; background-size: 12px; padding-right: 48px;
}
.select option { background: #1c1c1e; color: var(--polar); }
input[type="date"].input { color-scheme: dark; }
.field.is-invalid .input, .field.is-invalid .select, .field.is-invalid .textarea { border-color: var(--error); }
.field__error { font-size: 13px; color: var(--error); display: none; }
.field.is-invalid .field__error { display: block; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 20px;
  border-radius: var(--r-chip); background: rgba(66,66,69,.72); color: rgba(255,255,255,.85);
  font-size: 15px; transition: background-color .2s, color .2s, box-shadow .2s; cursor: pointer;
}
.chip input:checked + span { background: var(--polar); color: var(--graphite); }
.chip input:focus-visible + span { box-shadow: 0 0 0 3px var(--link); }

.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--steel); line-height: 1.45; cursor: pointer; }
.check input {
  flex: 0 0 20px; width: 20px; height: 20px; margin: 1px 0 0; border-radius: 6px;
  border: 1px solid var(--divider); background: rgba(255,255,255,.04);
  -webkit-appearance: none; appearance: none; cursor: pointer; transition: background-color .2s, border-color .2s;
}
.check input:checked {
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
  border-color: var(--blue);
}
.field.is-invalid .check input { border-color: var(--error); }

.file-drop {
  position: relative; display: grid; place-items: center; text-align: center; gap: 6px;
  padding: 28px 20px; border: 1px dashed var(--divider); border-radius: 18px;
  background: rgba(255,255,255,.02); color: var(--steel); font-size: 15px; transition: border-color .2s, background-color .2s;
}
.file-drop:hover, .file-drop.is-drag { border-color: var(--link); background: rgba(0,170,195,.06); }
.file-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.file-drop strong { color: var(--polar); font-weight: 600; }
.file-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 14px; color: var(--polar); }
.file-list li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 14px; background: rgba(255,255,255,.05); border-radius: 10px; }
.file-list li span:last-child { color: var(--steel); white-space: nowrap; }

.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form__footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 6px; }
.form__note { font-size: 13px; color: var(--steel); }
.form-status {
  display: none; padding: 16px 20px; border-radius: 14px; font-size: 15px; line-height: 1.4;
}
.form-status.is-error { display: block; background: rgba(255,105,97,.12); color: #ffb4ae; }
.form-success { display: none; text-align: center; padding: clamp(32px, 5vw, 60px) 10px; }
.form-success.is-visible { display: block; }
.form-success__icon {
  width: 64px; height: 64px; margin: 0 auto 20px; border-radius: 50%; background: var(--green);
  display: grid; place-items: center;
}
.form-shell { background: #1c1c1e; border-radius: var(--r-card); padding: clamp(24px, 4vw, 48px); }
.conditional[hidden] { display: none; }

/* ---------- Externe Inhalte (2-Klick) ---------- */
.consent-embed {
  position: relative; border-radius: var(--r-card); overflow: hidden; background: #1c1c1e;
  min-height: 420px; display: grid; place-items: center; text-align: center;
}
.consent-embed__inner { max-width: 480px; padding: 40px 24px; }
.consent-embed__inner p { color: var(--steel); font-size: 14px; margin-top: 12px; }
.consent-embed iframe { width: 100%; height: 100%; min-height: inherit; border: 0; position: absolute; inset: 0; }
.consent-embed--tall.is-loaded { min-height: 1100px; }
.consent-embed.is-loaded { background: #fff; }

/* ---------- Rechtstexte ---------- */
.prose { color: #d2d2d7; font-size: 17px; line-height: 1.6; overflow-wrap: anywhere; }
.prose h2, .prose h3 { color: var(--polar); font-size: 24px; line-height: 1.2; margin: 2em 0 .6em; }
.prose strong { color: var(--polar); }
.prose a { word-break: break-word; }
.prose ul, .prose ol { padding-left: 1.3em; }

/* ---------- CTA Band ---------- */
.cta { text-align: center; }
.cta .headline { max-width: 16ch; margin-inline: auto; }

/* ---------- Footer ---------- */
.footer { background: var(--polar); color: var(--graphite); font-size: 12px; line-height: 1.5; letter-spacing: -0.01em; }
.footer a { color: #424245; }
.footer a:hover { color: var(--graphite); }
.footer__inner { width: min(1024px, 100% - 2 * var(--gutter)); margin-inline: auto; padding: 40px 0 28px; }
.footer__top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; padding-bottom: 32px; border-bottom: 1px solid #d2d2d7; }
.footer__brand img { height: 34px; width: auto; margin-bottom: 14px; }
.footer__brand p { color: #6e6e73; max-width: 30ch; }
.footer .footer__h { font-family: var(--font-text); font-size: 12px; font-weight: 600; margin-bottom: 10px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 18px; color: #6e6e73; }
.footer__legal { display: flex; gap: 0; flex-wrap: wrap; }
.footer__legal a { padding: 0 10px; border-right: 1px solid #d2d2d7; }
.footer__legal a:first-child { padding-left: 0; }
.footer__legal a:last-child { border-right: 0; }
@media (max-width: 833px) { .footer__top { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }

/* ---------- Animations-Grundzustand ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(40px); }
.no-motion [data-reveal] { opacity: 1 !important; transform: none !important; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* Hilfsklassen */
.mt-s { margin-top: 16px; } .mt-m { margin-top: 32px; } .mt-l { margin-top: clamp(48px, 6vw, 80px); }
.stack > * + * { margin-top: 20px; }

/* Parallax-Bilder mittig ausrichten (Überhöhe gleichmäßig oben/unten verteilen) */
[data-parallax] > img { position: relative; top: -8%; }

/* ---------- Feinschliff aus der Abnahme ---------- */
.metric { min-width: 0; }
.metric__value, .metric__label { overflow-wrap: anywhere; }
@media (max-width: 380px) {
  .metric { padding: 18px; }
  .metric__value { font-size: 28px; }
  .metric__label { font-size: 13px; }
  .grid-4 { gap: 10px; }
}
/* Touch-Ziele mindestens 24 px hoch (WCAG 2.2, 2.5.8) */
.footer ul { gap: 0; }
.footer ul a, .footer__legal a { display: inline-block; padding: 6px 0; }
.footer__legal a { padding: 6px 10px; }
.footer__legal a:first-child { padding-left: 0; }
.subnav__links a:not(.btn) { display: inline-block; padding: 8px 4px; }
.footer__brand p a, .info-list a { padding: 2px 0; }
@media (max-width: 600px) { .subnav__links a:not(.btn) { display: none; } }
/* Lange deutsche Wörter in Überschriften dürfen getrennt werden */
.display, .headline, .title { overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; }
.display--legal { font-size: clamp(32px, 6.5vw, 64px); }
.metric__label { hyphens: auto; -webkit-hyphens: auto; }
/* Menü-Button: schwarze Schrift auf Türkis darf nicht von der Menüfarbe überschrieben werden */
.nav__links a.btn--primary, .nav__links a.btn--primary:hover { color: var(--on-accent); }
/* Links im Fließtext sind nicht nur an der Farbe erkennbar (WCAG 1.4.1) */
main p a:not(.btn):not(.link-arrow), main li a:not(.btn):not(.link-arrow), .check a, .prose a, .form__note a {
  text-decoration: underline; text-underline-offset: .18em; text-decoration-thickness: 1px;
}
.card--light .price__value span { color: #6e6e73; }
.field__hint { color: #98989d; }
.info-list a { text-decoration: underline; text-underline-offset: .18em; text-decoration-thickness: 1px; }

main:focus { outline: none; }

/* Rechtstexte */
.prose h2 { scroll-margin-top: 90px; }
.prose h3 { font-size: 19px; color: var(--polar); margin: 1.6em 0 .5em; }
.toc { background: #1c1c1e; border-radius: var(--r-card); padding: 20px 28px; margin-bottom: 2.5em; }
.toc ol { margin: 0; padding-left: 1.4em; columns: 2; column-gap: 40px; font-size: 15px; line-height: 1.9; }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; }
@media (max-width: 734px) { .toc ol { columns: 1; } }
mark.todo { background: #ffd60a; color: #000; padding: 2px 6px; border-radius: 4px; }
.note { font-size: 14px; line-height: 1.5; color: #98989d; background: rgba(255,255,255,.04); border-radius: 14px; padding: 14px 18px; margin: 0; }
.note strong { color: var(--polar); }
