/* =====================================================================
   GRUNDWERTE – schlicht: Schwarz, Weiß, Grau
   ===================================================================== */
:root {
  --bg: #000;
  --fg: #f5f5f7;
  --muted: #86868b;
  --faint: #2c2c2e;
  --line: rgba(255, 255, 255, 0.1);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --max: 1040px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--fg); font-family: var(--font);
  font-size: 17px; line-height: 1.5; letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: clip;
}
::selection { background: var(--fg); color: var(--bg); }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--fg); outline-offset: 4px; border-radius: 6px; }
.container { width: min(var(--max), 100% - 48px); margin-inline: auto; }

/* ---------- Text-Animationen ---------- */
.bw { display: inline-block; opacity: 0; filter: blur(8px); transform: translateY(0.25em); }
.loaded .hero .bw, .in .bw { animation: blurIn 1.3s var(--ease) forwards; animation-delay: calc(var(--i) * 60ms + var(--base, 0ms)); }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Bausteine ---------- */
.section { padding: clamp(120px, 18vh, 190px) 0; }
.label { margin: 0 0 14px; font-size: 15px; font-weight: 500; color: var(--muted); }
.h2 { margin: 0; font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.06; letter-spacing: -0.04em; font-weight: 600; }

/* =====================================================================
   NAVIGATION
   ===================================================================== */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50; border-bottom: 1px solid transparent;
  height: calc(56px + env(safe-area-inset-top, 0px)); padding-top: env(safe-area-inset-top, 0px);
  opacity: 0; transition: opacity 1s ease 0.6s, background 0.4s, border-color 0.4s;
}
.loaded .nav { opacity: 1; }
.nav.scrolled {
  background: rgba(0, 0, 0, 0.72); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  border-bottom-color: var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; width: min(var(--max), 100% - 48px); margin-inline: auto; }
.logo { font-size: 16px; font-weight: 600; letter-spacing: -0.02em; }
.nav-links { display: flex; gap: 30px; font-size: 13px; color: var(--muted); }
.nav-links a { transition: color 0.2s; }
.nav-links a:hover { color: var(--fg); }

/* =====================================================================
   HERO
   ===================================================================== */
.hero { position: relative; display: grid; place-items: center; min-height: 100vh; min-height: 100svh; padding: 120px 24px 100px; text-align: center; }
.hero-inner { will-change: transform, opacity; }
.eyebrow { margin: 0 0 26px; font-size: 15px; font-weight: 500; color: var(--muted); }
.hero-title { margin: 0; font-size: clamp(3rem, 8.4vw, 7rem); line-height: 1.02; letter-spacing: -0.055em; font-weight: 600; }
.hero-sub { margin: 30px auto 0; max-width: 32ch; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.5; color: var(--muted); }
.scroll-cue { position: absolute; left: 50%; bottom: 40px; width: 1px; height: 48px; overflow: hidden; background: var(--line); opacity: 0; }
.loaded .scroll-cue { animation: fadeIn 1s ease 1.8s forwards; }
.scroll-cue::after { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 50%; background: var(--fg); animation: drop 2.2s var(--ease) infinite; }

/* =====================================================================
   STATEMENT
   ===================================================================== */
.statement { position: relative; height: 220vh; }
.sticky { position: sticky; top: 0; display: grid; place-items: center; height: 100vh; height: 100svh; }
.statement-text { max-width: min(900px, 100% - 48px); margin: 0; font-size: clamp(2rem, 4.4vw, 3.8rem); line-height: 1.16; letter-spacing: -0.04em; font-weight: 600; }
.sw { color: var(--faint); transition: color 0.45s ease; }
.sw.on { color: var(--fg); }

/* =====================================================================
   METHODEN – Liste
   ===================================================================== */
.list { margin-top: 64px; border-top: 1px solid var(--line); }
.row { position: relative; display: grid; grid-template-columns: 64px 1fr 1.2fr; gap: 24px; align-items: baseline; padding: 38px 0; }
.row::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--line);
  transform: scaleX(0); transform-origin: left; transition: transform 1.4s var(--ease);
}
.row.in::after { transform: scaleX(1); }
.row > * { opacity: 0; transform: translateY(18px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.row.in > * { opacity: 1; transform: none; }
.row.in > :nth-child(2) { transition-delay: 0.08s; }
.row.in > :nth-child(3) { transition-delay: 0.16s; }
.row .num { font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
.row .name { margin: 0; font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.1; letter-spacing: -0.04em; font-weight: 600; }
.row .name span { display: inline-block; transition: transform 0.6s var(--ease); }
.row:hover .name span { transform: translateX(8px); }
.row .text { margin: 0; max-width: 40ch; font-size: 17px; line-height: 1.55; color: var(--muted); }

/* =====================================================================
   ABLAUF – Schritte mit Linie
   ===================================================================== */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: 72px; padding-top: 44px; }
.steps-line { position: absolute; left: 0; right: 0; top: 4px; height: 1px; background: var(--line); }
.steps-line span { position: absolute; inset: 0; background: var(--fg); transform: scaleX(var(--p, 0)); transform-origin: left; }
.step { position: relative; }
.step::before {
  content: ""; position: absolute; left: 0; top: -44px; width: 9px; height: 9px; border-radius: 50%;
  background: var(--bg); border: 1px solid var(--muted); transition: background 0.4s, border-color 0.4s;
}
.step.on::before { background: var(--fg); border-color: var(--fg); }
.step .num { display: block; margin-bottom: 14px; font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
.step h3 { margin: 0 0 10px; font-size: clamp(1.35rem, 2vw, 1.7rem); letter-spacing: -0.03em; font-weight: 600; }
.step p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--muted); }

/* =====================================================================
   ANGEBOTE
   ===================================================================== */
.note { display: inline-flex; align-items: center; gap: 10px; margin: 22px 0 0; font-size: 15px; color: var(--muted); }
.note .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--fg); animation: pulse 2.4s ease-in-out infinite; }
.offers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; margin-top: 64px; }
.offer { position: relative; display: flex; flex-direction: column; padding-top: 36px; }
.offer::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--fg);
  transform: scaleX(0); transform-origin: left; transition: transform 1.4s var(--ease) var(--d, 0s);
}
.offer.in::before { transform: scaleX(1); }
.offer > * { opacity: 0; transform: translateY(18px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.offer.in > * { opacity: 1; transform: none; transition-delay: calc(var(--d, 0s) + var(--k, 0) * 0.07s); }
.offer > :nth-child(2) { --k: 1; }
.offer > :nth-child(3) { --k: 2; }
.offer > :nth-child(4) { --k: 3; }
.offer > :nth-child(5) { --k: 4; }
.offer .num { font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
.offer-name { margin: 14px 0 0; font-size: clamp(2rem, 3.6vw, 2.9rem); line-height: 1.05; letter-spacing: -0.045em; font-weight: 600; }
.offer-text { margin: 16px 0 0; max-width: 38ch; font-size: 17px; line-height: 1.55; color: var(--muted); }
.offer-points { list-style: none; margin: 32px 0 0; padding: 0; }
.offer-points li { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); font-size: 16px; }
.offer-points li:last-child { border-bottom: 1px solid var(--line); }
.offer-points svg { flex: none; width: 16px; height: 16px; fill: none; stroke: var(--fg); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.offer-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: auto; padding-top: 32px; font-size: 15px; color: var(--muted); }
.offer-cta {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border: 1px solid rgba(255, 255, 255, 0.22); border-radius: 999px;
  color: var(--fg); font-weight: 500; transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.offer-cta svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.5s var(--ease); }
.offer-cta:hover { background: var(--fg); border-color: var(--fg); color: #000; }
.offer-cta:hover svg { transform: translateX(3px); }

/* =====================================================================
   KONTAKT & FOOTER
   ===================================================================== */
.contact { padding: clamp(140px, 22vh, 230px) 0; text-align: center; }
.contact .h2 { font-size: clamp(2.8rem, 7vw, 5.2rem); letter-spacing: -0.05em; }
.contact-text { margin: 20px 0 40px; font-size: clamp(17px, 1.5vw, 20px); color: var(--muted); }
.pill {
  display: inline-flex; align-items: center; gap: 12px; padding: 16px 28px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--fg); color: #000; font-size: 16px; font-weight: 600; letter-spacing: -0.01em;
  transition: transform 0.5s var(--ease), background 0.3s;
}
.pill:hover { transform: scale(1.03); background: #fff; }
.pill:active { transform: scale(0.98); }
.pill .k { color: #6e6e73; font-weight: 500; }
.pill .sep { width: 1px; height: 16px; background: rgba(0, 0, 0, 0.15); }
.pill svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.footer { border-top: 1px solid var(--line); padding: 22px 0 30px; font-size: 12px; color: var(--muted); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.footer a { transition: color 0.2s; }
.footer a:hover { color: var(--fg); }

.toast {
  position: fixed; left: 50%; bottom: calc(32px + env(safe-area-inset-bottom, 0px)); z-index: 100; padding: 12px 20px; border-radius: 999px;
  background: rgba(44, 44, 46, 0.8); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  font-size: 14px; font-weight: 500; opacity: 0; transform: translate(-50%, 10px); transition: opacity 0.35s, transform 0.5s var(--ease); pointer-events: none;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* =====================================================================
   KEYFRAMES & RESPONSIVE
   ===================================================================== */
@keyframes blurIn { to { opacity: 1; filter: blur(0); transform: none; } }
@keyframes fadeIn { to { opacity: 1; } }
@keyframes drop { 0% { transform: translateY(-100%); } 100% { transform: translateY(200%); } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

@media (max-width: 760px) {
  .nav-links { gap: 22px; }
  .nav-links .hide-sm { display: none; }
  .offers { grid-template-columns: 1fr; gap: 72px; margin-top: 48px; }
  .row { grid-template-columns: 40px 1fr; gap: 6px 16px; padding: 30px 0; }
  .row .text { grid-column: 2; }
  .steps { grid-template-columns: 1fr; gap: 40px; margin-top: 56px; padding: 0 0 0 32px; }
  .steps-line { top: 0; bottom: 0; left: 4px; right: auto; width: 1px; height: auto; }
  .steps-line span { transform: scaleY(var(--p, 0)); transform-origin: top; }
  .step::before { top: 5px; left: -32px; }
}

.reduce .bw, .reduce .reveal, .reduce .row > *, .reduce .offer > * { opacity: 1 !important; filter: none !important; transform: none !important; animation: none !important; }
.reduce .row::after, .reduce .offer::before { transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}
