/* =====================================================================
   STUDIO NAME – Stylesheet
   Aufbau: Tokens → Basis → Komponenten → Sektionen → Responsive
   ===================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  --ink: #1B2532;
  --navy: #16253A;
  --graphite: #232327;
  --paper: #F6F3EE;
  --paper-2: #ECE6DA;
  --card-paper: #FBF7EC;
  --red: #E8493D;
  --rule: #B4C8E8;
  --pen: #24306E;

  --f-display: 'Archivo', 'Arial Narrow', system-ui, sans-serif;
  --f-body: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-mono: 'Geist Mono', ui-monospace, 'SFMono-Regular', Consolas, monospace;
  --f-hand: 'Caveat', 'Segoe Print', 'Bradley Hand', cursive;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --ease-back: cubic-bezier(.34, 1.56, .64, 1);

  --gutter: clamp(16px, 4vw, 48px);
  --maxw: 1320px;
  --nav-h: 72px;
  --sheet-r: clamp(24px, 3vw, 44px);
}

/* Akzentfarbe – hier zentral ändern:
   --accent      Hauptfarbe (Buttons, Karte 2, Fortschritt)
   --on-accent   Text auf der Akzentfarbe
   --acc-dark    Akzent als Textfarbe auf dunklem Grund (heller)
   --acc-light   Akzent als Textfarbe auf hellem Grund */
:root { --accent: #1E56A0; --on-accent: #FFFFFF; --acc-dark: #9DBDF0; --acc-light: #1E56A0; }

/* Theme: helle Grund-Sektionen (tone-a), weiße Bögen (tone-b), dunkelblauer Footer (tone-c) */
:root {
  --bg: var(--paper);     --fg: var(--ink);
  --bg-alt: #FFFFFF;      --fg-alt: var(--ink);
  --bg-dark: var(--navy); --fg-dark: #EEF1F5;
  --surface: #FFFFFF; --surface-alt: var(--paper); --surface-dark: #1F3250;
  --acc-a: var(--acc-light); --acc-b: var(--acc-light); --acc-c: var(--acc-dark);
  --shadow: 27, 37, 50; /* Schattenfarbe (Marineblau) als RGB */
  color-scheme: light;
}

.tone-a { --s-bg: var(--bg); --s-fg: var(--fg); --s-surface: var(--surface); --s-acc: var(--acc-a); }
.tone-b { --s-bg: var(--bg-alt); --s-fg: var(--fg-alt); --s-surface: var(--surface-alt); --s-acc: var(--acc-b); }
.tone-c { --s-bg: var(--bg-dark); --s-fg: var(--fg-dark); --s-surface: var(--surface-dark); --s-acc: var(--acc-c); color-scheme: dark; }
.tone-a, .tone-b, .tone-c {
  --s-muted: color-mix(in srgb, var(--s-fg) 62%, transparent);
  --s-line: color-mix(in srgb, var(--s-fg) 14%, transparent);
  background-color: var(--s-bg);
  color: var(--s-fg);
}

/* ---------- 2. Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}
/* Kein automatisches Scroll-Anchoring: der Ablauf-Bereich gleicht seine
   Höhenänderungen selbst aus (sonst würde doppelt korrigiert) */
html, body { overflow-anchor: none; }
html.reduce-motion { scroll-behavior: auto; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--f-body);
  font-size: clamp(16px, .25vw + 15px, 18px);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

/* Filmkorn über allem – Papiergefühl */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9000;
  pointer-events: none;
  opacity: .035;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .5  0 0 0 0 .5  0 0 0 0 .5  0 0 0 .9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

[hidden] { display: none !important; }
img, svg, canvas { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; color: inherit; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }

::selection { background: var(--accent); color: var(--on-accent); }

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

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: fixed; left: 16px; top: 16px; z-index: 10001;
  padding: 10px 16px; border-radius: 999px;
  background: var(--accent); color: var(--on-accent); text-decoration: none;
  transform: translateY(-200%); transition: transform .3s var(--ease-out);
}
.skip:focus { transform: none; }

.wrap { width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; }
.muted { color: var(--s-muted); }

/* ---------- 3. Bausteine ---------- */
.label {
  display: inline-flex; align-items: center; gap: 10px;
  font: 500 12px/1 var(--f-mono);
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--s-muted, currentColor);
}
.label__dot {
  width: 7px; height: 7px; border-radius: 2px; background: var(--accent);
  animation: dotPulse 2.4s var(--ease-io) infinite;
}
@keyframes dotPulse { 50% { transform: rotate(45deg) scale(.7); } }

.h2 {
  font-family: var(--f-display);
  font-weight: 880;
  font-stretch: 78%;
  font-size: clamp(2.6rem, 6.4vw, 6.6rem);
  line-height: .9;
  letter-spacing: -.028em;
  text-transform: uppercase;
  text-wrap: balance;
}
.h3 {
  font: 850 clamp(1.6rem, 2.6vw, 2.4rem)/1 var(--f-display);
  font-stretch: 85%;
  text-transform: uppercase;
  letter-spacing: -.015em;
}

.sec-head { display: grid; gap: 22px; margin-bottom: clamp(48px, 7vw, 96px); max-width: 920px; }
.sec-head--split { max-width: none; grid-template-columns: 1.35fr 1fr; align-items: end; gap: 22px 60px; }
.sec-head--split > div { display: grid; gap: 22px; }
.sec-lead { font-size: clamp(1.05rem, 1.25vw, 1.25rem); color: var(--s-muted); max-width: 46ch; text-wrap: pretty; }

.btn {
  --b-bg: transparent; --b-fg: currentColor; --b-hover: rgba(255, 255, 255, .16);
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: .65em;
  padding: 1.05em 1.65em;
  border: 1px solid transparent; border-radius: 999px;
  background: var(--b-bg); color: var(--b-fg);
  font: 500 15px/1 var(--f-body); letter-spacing: .01em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform .55s var(--ease-out), color .35s, border-color .35s, background-color .35s;
}
.btn::before {
  content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--b-hover);
  transform: translateY(101%); transition: transform .55s var(--ease-out);
}
.btn:hover::before { transform: translateY(0); }
.btn > span, .btn > svg { position: relative; }
.btn--accent { --b-bg: var(--accent); --b-fg: var(--on-accent); --b-hover: color-mix(in srgb, var(--on-accent) 18%, transparent); }
.btn--ghost { border-color: var(--s-line, rgba(255, 255, 255, .2)); --b-hover: var(--s-fg, #fff); }
.btn--ghost:hover { color: var(--s-bg, #000); border-color: var(--s-fg, #fff); }
.btn--sm { padding: .85em 1.25em; font-size: 14px; }
.btn__icon { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .45s var(--ease-out); }
.btn:hover .btn__icon { transform: translateX(3px); }

.link {
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: background-size .45s var(--ease-out), color .3s;
}
.link:hover { background-size: 0 1px; background-position: 100% 100%; color: var(--s-acc, inherit); }

/* ---------- 4. Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 10000;
  display: grid; place-items: center;
  background: var(--bg); color: var(--fg);
  clip-path: inset(0 0 0 0);
  transition: clip-path 1.1s var(--ease-io) .25s;
}
.loader.is-done { clip-path: inset(0 0 100% 0); }
html.no-js .loader, html.reduce-motion .loader { display: none; }

.loader__deck { position: relative; width: 112px; height: 156px; }
.loader__card {
  position: absolute; inset: 0;
  display: flex; padding: 12px;
  border-radius: 12px;
  background: var(--graphite);
  color: #F1ECE0;
  border: 1px solid rgba(255, 255, 255, .07);
  box-shadow: 0 20px 40px -18px rgba(var(--shadow), .45);
  font: 900 30px/1 var(--f-display); font-stretch: 70%;
  animation: loaderFan 1.8s var(--ease-io) infinite;
  transition: transform 1s var(--ease-io), opacity .6s;
}
.loader__card:nth-child(1) { --r: -16; --x: -46; }
.loader__card:nth-child(2) { --r: -6;  --x: -16; background: var(--accent); color: var(--on-accent); }
.loader__card:nth-child(3) { --r: 6;   --x: 16; background: #0E0E10; }
.loader__card:nth-child(4) { --r: 16;  --x: 46; background: #ECE5D4; color: var(--ink); border-color: rgba(var(--shadow), .12); }
@keyframes loaderFan {
  0%, 100% { transform: none; }
  45%, 60% { transform: translateX(calc(var(--x) * 1px)) rotate(calc(var(--r) * 1deg)); }
}
.loader.is-done .loader__card {
  animation: none;
  transform: translate(calc(var(--x) * 3px), -70vh) rotate(calc(var(--r) * 3deg));
}
.loader__card:nth-child(2) { transition-delay: .04s; }
.loader__card:nth-child(3) { transition-delay: .08s; }
.loader__card:nth-child(4) { transition-delay: .12s; }

.loader__meta {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: 28px;
  display: flex; justify-content: space-between; align-items: flex-end;
  font: 500 12px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase;
}
.loader__count b { font: 900 clamp(3rem, 8vw, 6rem)/.8 var(--f-display); font-stretch: 70%; letter-spacing: -.03em; }

/* ---------- 7. Navigation ---------- */
.nav {
  position: fixed; top: 12px; left: 50%; z-index: 7000;
  width: min(100% - 24px, 1260px);
  display: flex; align-items: center; gap: 20px;
  padding: 8px 8px 8px 18px;
  border-radius: 999px;
  background: color-mix(in srgb, #FFFFFF 78%, transparent);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid color-mix(in srgb, var(--fg) 10%, transparent);
  box-shadow: 0 10px 30px -18px rgba(var(--shadow), .35);
  color: var(--fg);
  transform: translate(-50%, 0);
  transition: transform .7s var(--ease-out), opacity .6s, background-color .4s;
}
.js .nav { opacity: 0; transform: translate(-50%, -30px); }
.js.is-loaded .nav { opacity: 1; transform: translate(-50%, 0); }
.js.is-loaded .nav.is-hidden { transform: translate(-50%, calc(-100% - 24px)); }

.nav__brand {
  display: flex; align-items: center; gap: 10px;
  font: 800 15px/1 var(--f-display); font-stretch: 88%;
  text-transform: uppercase; letter-spacing: -.005em;
  text-decoration: none; white-space: nowrap;
}
.logo { width: 32px; height: 32px; overflow: visible; color: var(--accent); fill: currentColor; }
.logo__line { fill: none; stroke: currentColor; stroke-width: 34; }
.logo__arm { transition: transform .6s var(--ease-back); transform-origin: 584px 1227px; }
.nav__brand:hover .logo__arm { transform: scale(1.18); }

.nav__links { display: flex; gap: 2px; margin-left: auto; }
.nav__links a {
  padding: 11px 13px; border-radius: 999px;
  font: 500 12px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase;
  text-decoration: none; opacity: .72;
  transition: opacity .3s, background-color .3s;
}
.nav__links a:hover, .nav__links a.is-active { opacity: 1; background: color-mix(in srgb, var(--fg) 9%, transparent); }
.nav__progress { position: absolute; left: 26px; right: 26px; bottom: -1px; height: 2px; overflow: hidden; border-radius: 2px; }
.nav__progress i { display: block; height: 100%; background: var(--accent); transform-origin: left; transform: scaleX(var(--p, 0)); }

.nav__burger {
  display: none; position: relative;
  width: 46px; height: 46px; margin-left: 4px;
  border-radius: 50%; border: 0;
  background: color-mix(in srgb, var(--fg) 10%, transparent);
  cursor: pointer;
}
.nav__burger-lines { position: absolute; inset: 0; display: grid; place-items: center; }
.nav__burger-lines i {
  grid-area: 1 / 1; width: 18px; height: 1.6px; background: currentColor; border-radius: 2px;
  transition: transform .5s var(--ease-out);
}
.nav__burger-lines i:first-child { transform: translateY(-4px); }
.nav__burger-lines i:last-child { transform: translateY(4px); }
.menu-open .nav__burger-lines i:first-child { transform: rotate(45deg); }
.menu-open .nav__burger-lines i:last-child { transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 6900;
  display: flex; flex-direction: column; justify-content: center; gap: 40px;
  padding: 110px var(--gutter) 40px;
  background: var(--bg); color: var(--fg);
  clip-path: circle(0 at calc(100% - 46px) 40px);
  visibility: hidden;
  transition: clip-path .8s var(--ease-io), visibility 0s .8s;
}
.menu.is-open { clip-path: circle(150% at calc(100% - 46px) 40px); visibility: visible; transition: clip-path .8s var(--ease-io), visibility 0s 0s; }
.menu__links { display: grid; outline: none; }
.menu__links a {
  display: flex; align-items: baseline; gap: 14px; padding: 4px 0;
  font: 900 clamp(2.6rem, 12vw, 5rem)/1 var(--f-display); font-stretch: 75%;
  text-transform: uppercase; text-decoration: none; letter-spacing: -.02em;
  opacity: 0; transform: translateY(40px);
  transition: opacity .6s var(--ease-out), transform .6s var(--ease-out), color .3s;
}
.menu__links a small { font: 500 12px/1 var(--f-mono); color: var(--accent); letter-spacing: .1em; }
.menu__links a:hover { color: var(--accent); }
.menu.is-open .menu__links a { opacity: 1; transform: none; }
.menu.is-open .menu__links a:nth-child(1) { transition-delay: .18s; }
.menu.is-open .menu__links a:nth-child(2) { transition-delay: .23s; }
.menu.is-open .menu__links a:nth-child(3) { transition-delay: .28s; }
.menu.is-open .menu__links a:nth-child(4) { transition-delay: .33s; }
.menu.is-open .menu__links a:nth-child(5) { transition-delay: .38s; }
.menu.is-open .menu__links a:nth-child(6) { transition-delay: .43s; }
.menu__foot { font: 500 14px var(--f-mono); opacity: .7; }

/* ---------- 9. Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column;
  /* clip statt hidden: das Leuchten ragt über den Rand – mit „hidden“ wäre der
     Hero intern seitlich verschiebbar (z. B. wenn ein Kasten ins Bild gescrollt wird) */
  overflow: hidden; overflow: clip;
  background-image: radial-gradient(circle at 1px 1px, color-mix(in srgb, var(--s-fg) 8%, transparent) 1px, transparent 0);
  background-size: 22px 22px;
}
.hero::before {
  content: ''; position: absolute; z-index: 0; pointer-events: none;
  width: 70vmax; height: 70vmax; right: -25vmax; bottom: -40vmax;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 14%, transparent), transparent);
  animation: drift 16s var(--ease-io) infinite alternate;
}
@keyframes drift { to { transform: translate(-12vmax, -6vmax) scale(1.15); } }
/* Leuchten & Punktraster laufen nach unten weich in die nächste Sektion aus */
.hero::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; z-index: 0;
  height: min(45%, 420px);
  pointer-events: none;
  background: linear-gradient(to bottom, transparent, var(--s-bg) 92%);
}

.hero__inner {
  position: relative; z-index: 1; flex: 1 0 auto;
  display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
  padding: calc(var(--nav-h) + 52px) 0 36px;
}
.hero__top { display: flex; justify-content: space-between; gap: 20px; }

.hero__title {
  position: relative;
  margin-top: auto;
  font-family: var(--f-display);
  font-weight: 900;
  font-stretch: 76%;
  /* Obergrenze so gewählt, dass „die informieren.“ auch auf breiten Monitoren einzeilig bleibt */
  font-size: clamp(3.4rem, 10.6vw, 10.5rem);
  line-height: .86;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.hl { display: block; overflow: hidden; padding: .1em 0 .05em; margin: -.1em 0 -.05em; }
.hl__in { display: inline-block; }
.js .hl__in { transform: translateY(115%); transition: transform 1.3s var(--ease-out); }
.js .hl:nth-of-type(2) .hl__in { transition-delay: .1s; }
.js .hl:nth-of-type(3) .hl__in { transition-delay: .2s; }
.js.is-loaded .hl__in { transform: none; }

.rotator {
  display: inline-grid;
  /* clip-path statt overflow: hält die Grundlinie mit „die“ auf einer Linie */
  clip-path: inset(-.16em -.3em -.1em -.1em);
  color: var(--s-acc);
}
.rotator__w { grid-area: 1 / 1; white-space: nowrap; }
.js .rotator__w { transform: translateY(145%); transition: transform .9s var(--ease-out); }
.js .rotator__w.is-current { transform: none; }
.js .rotator__w.is-leaving { transform: translateY(-145%); }

.hero__bottom {
  display: flex; align-items: center;
  padding-top: 26px; border-top: 1px solid var(--s-line);
}
.hero__ctas { display: flex; gap: 10px; flex-wrap: wrap; }

.js .hero__top, .js .hero__bottom > * { opacity: 0; transform: translateY(16px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); }
.js.is-loaded .hero__top, .js.is-loaded .hero__bottom > * { opacity: 1; transform: none; }
.js.is-loaded .hero__bottom > * { transition-delay: .5s; }
.js.is-loaded .hero__top { transition-delay: .4s; }

/* ---------- 11. Manifest ---------- */
.manifest { padding: clamp(110px, 15vw, 220px) 0; }
.manifest__grid { display: grid; grid-template-columns: 1fr 3.2fr; gap: 40px; align-items: start; }
.manifest__text {
  font: 500 clamp(1.75rem, 3.6vw, 3.6rem)/1.1 var(--f-display);
  font-stretch: 92%;
  letter-spacing: -.022em;
  text-wrap: pretty;
}
.manifest__text em { font-style: normal; }
.js .manifest__text .w { opacity: .14; transition: opacity .25s linear; }
.manifest__text .w.em {
  color: var(--s-acc);
  background: linear-gradient(var(--s-acc), var(--s-acc)) no-repeat 0 96% / 0% .07em;
  transition: opacity .25s linear, background-size .8s var(--ease-out);
}
.manifest__text .w.em.is-on { background-size: 100% .07em; }
.manifest__sign { margin-top: 56px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.manifest__sig {
  display: inline-block;
  font: 700 clamp(2.2rem, 3.6vw, 3.2rem)/1 var(--f-hand);
  color: var(--s-acc);
  transform: rotate(-4deg); transform-origin: left;
}
.manifest__role { font: 500 12px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--s-muted); }

/* ---------- 12. Bögen (überlappende Sektionen) ---------- */
.sheet {
  position: relative; z-index: 2;
  border-radius: var(--sheet-r) var(--sheet-r) 0 0;
  margin-top: calc(var(--sheet-r) * -1);
  box-shadow: 0 -24px 48px -36px rgba(var(--shadow), .28);
}

/* ---------- 13. Leistungen ---------- */
.services { padding: clamp(100px, 12vw, 170px) 0; }
.svc-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--s-line); }
.svc {
  position: relative; isolation: isolate;
  display: grid; grid-template-columns: 70px minmax(0, 1.25fr) minmax(0, 1fr) 44px;
  align-items: center; gap: 24px;
  padding: 30px 14px;
  border-bottom: 1px solid var(--s-line);
  transition: color .45s, padding .6s var(--ease-out);
}
.svc::before {
  content: ''; position: absolute; inset: 0; z-index: -1; border-radius: 10px;
  background: var(--s-fg);
  transform: scaleY(0); transform-origin: bottom;
  transition: transform .55s var(--ease-out);
}
.svc__no { font: 500 12px/1 var(--f-mono); letter-spacing: .1em; color: var(--s-muted); transition: color .45s; }
.svc__name {
  font: 900 clamp(1.8rem, 3.8vw, 3.6rem)/.95 var(--f-display); font-stretch: 78%;
  text-transform: uppercase; letter-spacing: -.02em;
}
.svc__desc { color: var(--s-muted); max-width: 40ch; transition: color .45s; }
.svc__arrow { justify-self: end; font-size: 28px; line-height: 1; transition: transform .55s var(--ease-out), color .3s; }
@media (hover: hover) {
  .svc:hover { color: var(--s-bg); padding-left: 30px; padding-right: 26px; }
  .svc:hover::before { transform: scaleY(1); }
  .svc:hover .svc__no, .svc:hover .svc__desc { color: color-mix(in srgb, var(--s-bg) 72%, transparent); }
  .svc:hover .svc__arrow { transform: rotate(45deg); color: var(--acc-dark); }
}

.svc-float {
  position: fixed; top: 0; left: 0; z-index: 60;
  width: 300px; height: 210px;
  pointer-events: none; opacity: 0;
  transition: opacity .35s;
}
.svc-float.is-on { opacity: 1; }
.svc-float__inner {
  position: relative; width: 100%; height: 100%;
  border-radius: 18px; overflow: hidden;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .55), 0 30px 60px -20px rgba(var(--shadow), .45);
}
.viz {
  position: absolute; inset: 0; padding: 22px;
  display: flex; flex-direction: column; justify-content: space-between;
  opacity: 0; transform: translateY(24%);
  transition: opacity .45s var(--ease-out), transform .6s var(--ease-out);
}
.viz.is-on { opacity: 1; transform: none; }

.viz--design { background: var(--accent); color: var(--on-accent); }
.vz-sw { display: flex; gap: 8px; }
.vz-sw i { width: 30px; height: 30px; border-radius: 50%; border: 2px solid color-mix(in srgb, var(--on-accent) 40%, transparent); }
.vz-sw i:nth-child(1) { background: var(--ink); }
.vz-sw i:nth-child(2) { background: var(--paper); }
.vz-sw i:nth-child(3) { background: var(--red); }
.vz-sw i:nth-child(4) { background: #FFD24A; }
.vz-aa { font: 900 74px/.8 var(--f-display); font-stretch: 70%; letter-spacing: -.04em; }
.viz.is-on .vz-aa { animation: aaMorph 2.4s var(--ease-io) infinite alternate; }
@keyframes aaMorph { to { font-stretch: 125%; font-weight: 200; } }
.vz-cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 6px; height: 26px; }
.vz-cols i { border-radius: 4px; background: color-mix(in srgb, var(--on-accent) 25%, transparent); }

/* heller Editor – hebt sich von der dunklen Hover-Zeile ab */
.viz--code { background: #FFFFFF; color: var(--ink); justify-content: center; }
.viz--code pre { margin: 0; font: 13px/1.6 var(--f-mono); white-space: pre; }
.t-k { color: var(--accent); font-weight: 500; } .t-f { color: #9A5B1E; } .t-s { color: #2F7D4F; } .t-n { color: #B4532A; }
.t-caret { display: inline-block; width: 7px; height: 15px; margin-left: 2px; vertical-align: -2px; background: var(--ink); animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }

.viz--text { background: #FFF6DE; color: var(--ink); justify-content: center; gap: 12px; }
.viz--text p { font: 900 30px/1 var(--f-display); font-stretch: 78%; text-transform: uppercase; }
.viz--text mark { color: inherit; background: linear-gradient(transparent 55%, #FFD24A 55%) no-repeat 0 0 / 0% 100%; transition: background-size 1s var(--ease-out) .2s; }
.viz.is-on mark { background-size: 100% 100%; }
.viz--text i { display: block; height: 8px; border-radius: 4px; background: rgba(0, 0, 0, .12); }
.viz--text i:nth-of-type(2) { width: 82%; } .viz--text i:nth-of-type(3) { width: 58%; }

/* ---------- 14. Pakete: Karteikarten-Show ---------- */
.deck { position: relative; height: 470vh; }
.deck__pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }

.deck__head {
  position: absolute; left: 0; right: 0; top: calc(var(--nav-h) + 44px); z-index: 2;
  display: grid; gap: 20px; justify-items: start;
}
.deck__head > * { max-width: 430px; }
.deck__title { font-size: clamp(2.4rem, 4.8vw, 5.2rem); }
.deck__meter { display: flex; align-items: center; gap: 16px; font: 500 12px/1 var(--f-mono); letter-spacing: .1em; color: var(--s-muted); }
.deck__meter b { color: var(--s-fg); font-weight: 500; }
.deck__ticks { display: flex; gap: 6px; }
.deck__ticks i { position: relative; width: 28px; height: 3px; border-radius: 3px; overflow: hidden; background: var(--s-line); }
.deck__ticks i::after { content: ''; position: absolute; inset: 0; background: var(--accent); transform: scaleX(var(--t, 0)); transform-origin: left; }

.deck__stage {
  --cx: 60%; --cy: 55%; --cw: 300px;
  position: absolute; inset: 0; z-index: 3;
  pointer-events: none;
}
.deck__backdrop {
  position: absolute; inset: 0; z-index: 40;
  background: color-mix(in srgb, var(--s-bg) 62%, transparent);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  opacity: 0; transition: opacity .5s;
}
.deck.is-picked .deck__backdrop { opacity: 1; pointer-events: auto; }
.deck__close {
  position: absolute; top: calc(var(--nav-h) + 30px); right: var(--gutter); z-index: 70;
  width: 54px; height: 54px; border-radius: 50%; border: 0;
  display: grid; place-items: center;
  background: var(--s-fg); color: var(--s-bg);
  font-size: 30px; line-height: 1; cursor: pointer;
  opacity: 0; transform: scale(.5) rotate(-90deg); pointer-events: none;
  transition: opacity .35s, transform .55s var(--ease-back);
}
.deck.is-picked .deck__close { opacity: 1; transform: none; pointer-events: auto; }

.deck__hint {
  position: absolute; z-index: 30; left: 0; top: 0;
  display: flex; align-items: flex-start; gap: 2px;
  font: 700 clamp(1.45rem, 1.9vw, 1.95rem)/1 var(--f-hand);
  color: var(--s-acc);
  white-space: nowrap;
  transform: translate(var(--hx, 0), var(--hy, 0)) rotate(-6deg);
  opacity: 0; transition: opacity .5s;
  pointer-events: none;
}
.deck__hint span { margin-top: 30px; }
.deck__hint svg { width: 64px; height: 48px; flex: none; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.deck.is-complete:not(.is-picked):not(.was-picked) .deck__hint:not(.is-off) { opacity: 1; animation: hintBob 2.4s var(--ease-io) infinite; }
@keyframes hintBob { 50% { transform: translate(var(--hx, 0), calc(var(--hy, 0) - 6px)) rotate(-4deg); } }

/* Karte */
.pcard {
  position: absolute; left: var(--cx); top: var(--cy);
  width: var(--cw); height: calc(var(--cw) * 1.4);
  margin: calc(var(--cw) * -.7) 0 0 calc(var(--cw) * -.5);
  perspective: 1600px;
  font-size: calc(var(--cw) / 18.75);
  pointer-events: auto;
  will-change: transform;
  visibility: hidden;
}
.pcard.is-live { visibility: visible; }
.pcard__inner { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; will-change: transform; }
.pcard__face {
  position: absolute; inset: 0;
  border-radius: 1.15em; overflow: hidden;
  -webkit-backface-visibility: hidden; backface-visibility: hidden;
  box-shadow: 0 1.8em 3.2em -1.4em rgba(0, 0, 0, .7), 0 .3em .8em -.3em rgba(0, 0, 0, .4);
}
.pcard__back { transform: rotateY(180deg); }

.pcard[data-look="graphite"] { --c-bg: #26262B; --c-fg: #F1ECE0; --c-muted: rgba(241, 236, 224, .62); --c-line: rgba(241, 236, 224, .16); }
.pcard[data-look="accent"]   { --c-bg: var(--accent); --c-fg: var(--on-accent); --c-muted: color-mix(in srgb, var(--on-accent) 74%, transparent); --c-line: color-mix(in srgb, var(--on-accent) 22%, transparent); }
.pcard[data-look="ink"]      { --c-bg: #0F0F12; --c-fg: #F1ECE0; --c-muted: rgba(241, 236, 224, .58); --c-line: rgba(241, 236, 224, .14); }
.pcard[data-look="paper"]    { --c-bg: #ECE5D4; --c-fg: #141416; --c-muted: rgba(20, 20, 22, .6); --c-line: rgba(20, 20, 22, .15); }

.pcard__front {
  display: flex; flex-direction: column;
  padding: 1.35em 1.4em 1.3em;
  background: var(--c-bg); color: var(--c-fg);
  border: 1px solid rgba(255, 255, 255, .06);
}
.pcard[data-look="ink"] .pcard__front {
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 1.4em 1.4em;
  border-color: rgba(255, 255, 255, .1);
}
.pcard__top { display: flex; justify-content: space-between; align-items: flex-start; }
.pcard__num { font: 900 3.9em/.78 var(--f-display); font-stretch: 68%; letter-spacing: -.045em; }
.pcard__tag { margin-top: .35em; font: 500 .66em/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--c-muted); }
.pcard__badge {
  position: absolute; right: 1em; top: 4.6em;
  padding: .2em .7em .3em;
  border: .12em solid currentColor; border-radius: 50%;
  font: 700 1.35em/1 var(--f-hand);
  transform: rotate(-12deg);
}
.pcard__mid { margin-top: auto; }
.pcard__name {
  margin-bottom: .45em;
  font: 900 2.35em/.9 var(--f-display); font-stretch: 76%;
  text-transform: uppercase; letter-spacing: -.02em;
}
.pcard__tagline { max-width: 22ch; font-size: .82em; line-height: 1.4; color: var(--c-muted); }
.pcard__foot {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-top: 1.15em; padding-top: 1em;
  border-top: 1px solid var(--c-line);
}
.pcard__price { font: 850 1.45em/1 var(--f-display); font-stretch: 84%; }
.pcard__price small { display: block; margin-bottom: .4em; font: 500 .44em/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--c-muted); }
.pcard__price em { display: block; margin-top: .5em; font: 500 .44em/1.25 var(--f-mono); font-style: normal; letter-spacing: .06em; text-transform: uppercase; color: var(--c-muted); }
.pcard__turn { display: inline-flex; align-items: center; gap: .45em; font: 500 .64em/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--c-muted); }
.pcard__turn svg { width: 1.5em; height: 1.5em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; transition: transform .7s var(--ease-out); }
.pcard:hover .pcard__turn svg { transform: rotate(-200deg); }
.pcard__hit {
  position: absolute; inset: 0; z-index: 5;
  border: 0; border-radius: inherit; background: transparent; cursor: pointer;
}
.pcard__hit:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.pcard[data-look="accent"] .pcard__hit:focus-visible { outline-color: var(--s-fg); }
.pcard__glare {
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 0%), rgba(255, 255, 255, .28), transparent 50%);
  opacity: var(--glare, 0); mix-blend-mode: soft-light;
}
.pcard__dim { position: absolute; inset: 0; z-index: 4; pointer-events: none; background: #000; opacity: var(--dim, 0); }

/* Rückseite = echte Karteikarte */
.pcard__back {
  display: flex; flex-direction: column;
  padding: 0 1.3em 1.2em;
  background-color: var(--card-paper);
  background-image: repeating-linear-gradient(to bottom, transparent 0, transparent calc(1.75em - 1px), var(--rule) calc(1.75em - 1px), var(--rule) 1.75em);
  color: #1B1B1F;
}
.ix__head {
  display: flex; justify-content: space-between; align-items: center; gap: .6em;
  height: 3.5em; margin: 0 -1.3em; padding: .2em 1.1em 0 1.3em;
  background: var(--card-paper);
  border-bottom: 2px solid var(--red);
}
.ix__name { font: 900 1.3em/1 var(--f-display); font-stretch: 78%; text-transform: uppercase; letter-spacing: -.01em; }
.ix__no { font: 500 .62em/1 var(--f-mono); letter-spacing: .12em; color: #8A867C; margin-left: auto; }
.ix__flipback {
  width: 2.1em; height: 2.1em; flex: none;
  display: grid; place-items: center;
  border: 1px solid #D8D1C0; border-radius: 50%; background: #fff;
  cursor: pointer; transition: transform .5s var(--ease-out), background-color .3s;
}
.ix__flipback svg { width: 1.05em; height: 1.05em; fill: none; stroke: #1B1B1F; stroke-width: 2; stroke-linecap: round; }
.ix__flipback:hover { transform: rotate(-180deg); background: #F2EDE0; }
.ix__list { list-style: none; margin: 0; padding: 0 0 0 .1em; }
.ix__list li {
  /* lange Zeilen dürfen umbrechen – die Zeilenhöhe entspricht dem Linienabstand,
     daher landet auch die zweite Zeile genau auf der nächsten Linie */
  display: flex; align-items: flex-start; gap: .45em;
  font: 600 1.3em/1.3462 var(--f-hand);
  color: var(--pen);
}
.ix__list li svg { width: .85em; height: .85em; margin-top: .25em; flex: none; fill: none; stroke: var(--acc-light); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 30; stroke-dashoffset: 30; transition: stroke-dashoffset .5s var(--ease-out); }
.pcard.is-flipped .ix__list li svg { stroke-dashoffset: 0; }
.pcard.is-flipped .ix__list li:nth-child(1) svg { transition-delay: .35s; }
.pcard.is-flipped .ix__list li:nth-child(2) svg { transition-delay: .45s; }
.pcard.is-flipped .ix__list li:nth-child(3) svg { transition-delay: .55s; }
.pcard.is-flipped .ix__list li:nth-child(4) svg { transition-delay: .65s; }
.pcard.is-flipped .ix__list li:nth-child(5) svg { transition-delay: .75s; }
.pcard.is-flipped .ix__list li:nth-child(6) svg { transition-delay: .85s; }
.pcard.is-flipped .ix__list li:nth-child(7) svg { transition-delay: .95s; }
.pcard.is-flipped .ix__list li:nth-child(8) svg { transition-delay: 1.05s; }
/* nicht enthalten: Bleistiftgrau mit rotem X */
.ix__list li.is-no { color: #A8A396; }
.ix__list li.is-no svg { stroke: var(--red); }
.ix__foot { margin-top: auto; display: grid; gap: .55em; }
.ix__pricewrap { display: flex; align-items: center; justify-content: space-between; gap: .6em; }
.ix__price { position: relative; display: inline-block; padding: .1em .45em; font: 700 1.9em/1 var(--f-hand); color: #1B1B1F; }
.ix__price svg { position: absolute; left: -12%; top: -22%; width: 124%; height: 144%; overflow: visible; fill: none; stroke: var(--red); stroke-width: 2.2; stroke-linecap: round; stroke-dasharray: 340; stroke-dashoffset: 340; transition: stroke-dashoffset .9s var(--ease-out); }
.pcard.is-flipped .ix__price svg { stroke-dashoffset: 0; transition-delay: .5s; }
.ix__note { font: 500 .6em/1.35 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: #77736A; text-align: right; }
.ix__cta { width: 100%; font-size: .84em; padding: 1em; }

/* ---------- 15. Übersicht ---------- */
.overview { padding: clamp(50px, 7vw, 90px) 0 clamp(110px, 13vw, 170px); }
.overview__head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 12px 24px; margin-bottom: 34px; }
.overview__head p { color: var(--s-muted); }
.overview__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.ov {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; gap: 18px;
  padding: 26px 22px 22px;
  border-radius: 22px;
  background: var(--s-surface);
  border: 1px solid var(--s-line);
  transition: transform .6s var(--ease-out), border-color .4s;
}
.ov::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, -30%), color-mix(in srgb, var(--accent) 20%, transparent), transparent 45%);
  opacity: 0; transition: opacity .4s;
}
.ov:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--accent) 55%, transparent); }
.ov:hover::before { opacity: 1; }
.ov--hl { border-color: var(--accent); }
.ov__top { display: flex; justify-content: space-between; align-items: flex-start; }
.ov__num { font: 900 2.6rem/.8 var(--f-display); font-stretch: 68%; letter-spacing: -.04em; }
.ov__badge { padding: 6px 10px; border-radius: 99px; background: var(--accent); color: var(--on-accent); font: 500 11px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; }
.ov__name { font: 900 1.55rem/1 var(--f-display); font-stretch: 80%; text-transform: uppercase; }
.ov__tag { color: var(--s-muted); font-size: .95rem; line-height: 1.45; }
.ov__price { font: 850 2.1rem/1 var(--f-display); font-stretch: 82%; }
.ov__note { display: block; margin-top: 6px; font: 500 12px/1.3 var(--f-mono); color: var(--s-muted); letter-spacing: .04em; }
.ov__monthly { display: block; margin-top: 8px; font: 600 .95rem/1.3 var(--f-body); color: var(--s-acc); }
.ov__list { list-style: none; margin: 0; padding: 18px 0 0; border-top: 1px solid var(--s-line); display: grid; gap: 10px; font-size: .95rem; }
.ov__list li { display: flex; gap: 10px; align-items: flex-start; }
.ov__list svg { width: 16px; height: 16px; flex: none; margin-top: 4px; fill: none; stroke: var(--s-acc); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.ov__list li.is-no { color: color-mix(in srgb, var(--s-fg) 42%, transparent); }
.ov__list li.is-no svg { stroke: color-mix(in srgb, var(--s-fg) 32%, transparent); }
.ov .btn { margin-top: auto; }

/* Alle Karten-Zeilen (Name, Preis, Liste, Button) über die Pakete hinweg bündig */
@supports (grid-template-rows: subgrid) {
  .ov { display: grid; grid-row: span 5; grid-template-rows: subgrid; row-gap: 18px; }
  .ov .btn { margin-top: 0; align-self: end; }
}
.overview__note { margin-top: 30px; color: var(--s-muted); }
.overview__vat { margin-top: 10px; max-width: 80ch; font-size: .85rem; line-height: 1.5; color: var(--s-muted); }
.deck__vat { max-width: 34ch; font: 500 11px/1.45 var(--f-mono); letter-spacing: .04em; color: var(--s-muted); }
.form__vat { margin-top: 12px; font: 500 12px/1.4 var(--f-mono); color: #6B6760; }
.overview__note a { color: var(--s-fg); }

/* ---------- 16. Vorher / Nachher ---------- */
.ba { padding: clamp(100px, 12vw, 170px) 0; }
.browser {
  /* immer komplett im Viewport sichtbar – auch auf flachen Laptop-Screens */
  width: min(100%, (100vh - 150px) * 1.7);
  min-width: min(100%, 560px);
  margin-inline: auto;
  border-radius: 18px; overflow: hidden;
  background: #ECEEF1;
  border: 1px solid rgba(var(--shadow), .14);
  box-shadow: 0 50px 100px -40px rgba(var(--shadow), .35), 0 20px 40px -20px rgba(var(--shadow), .18);
}
.browser__bar { display: flex; align-items: center; gap: 16px; padding: 11px 16px; background: #ECEEF1; color: #6B7380; border-bottom: 1px solid rgba(var(--shadow), .1); }
.browser__dots { display: flex; gap: 7px; }
.browser__dots i { width: 11px; height: 11px; border-radius: 50%; background: #FF5F57; }
.browser__dots i:nth-child(2) { background: #FEBC2E; }
.browser__dots i:nth-child(3) { background: #28C840; }
.browser__url {
  flex: 1; max-width: 420px; margin-inline: auto;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 7px 14px; border-radius: 8px;
  background: #FFFFFF; color: #4A5260;
  font: 12.5px/1 var(--f-mono);
}
.browser__url svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.browser__spacer { width: 47px; }

.ba__view {
  position: relative; aspect-ratio: 16 / 9.4;
  container-type: inline-size;
  overflow: hidden; touch-action: pan-y; user-select: none; -webkit-user-select: none;
  cursor: ew-resize;
  --pos: 50%;
}
.ba__layer { position: absolute; inset: 0; }
.ba__before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); z-index: 5; width: 0; outline: none; }
.ba__handle::before { content: ''; position: absolute; top: 0; bottom: 0; left: -1.5px; width: 3px; background: #fff; box-shadow: 0 0 20px rgba(0, 0, 0, .4); }
.ba__knob {
  position: absolute; top: 50%; left: 0;
  width: 58px; height: 58px; margin: -29px 0 0 -29px;
  display: grid; place-items: center;
  border-radius: 50%; background: var(--accent); color: var(--on-accent);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .35), 0 0 0 4px #fff;
  transition: transform .35s var(--ease-back);
}
.ba__knob svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.ba__view.is-drag .ba__knob, .ba__handle:focus-visible .ba__knob { transform: scale(1.14); }
.ba__tag {
  position: absolute; top: 3cqw; z-index: 4;
  padding: 7px 11px; border-radius: 99px;
  background: rgba(10, 10, 12, .72); color: #fff;
  font: 500 11px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase;
  pointer-events: none;
}
.ba__tag--before { left: 2cqw; }
.ba__tag--after { right: 2cqw; }

/* Alte Website (bewusst schlimm) */
.ob {
  position: absolute; inset: 0; overflow: hidden;
  padding: 1.2cqw 1.6cqw;
  background-color: #FFFFCC;
  background-image: repeating-linear-gradient(45deg, rgba(255, 0, 0, .05) 0 1cqw, transparent 1cqw 2cqw);
  font-family: 'Comic Sans MS', 'Comic Sans', 'Chalkboard SE', cursive;
  color: #000080;
}
.ob__marquee { overflow: hidden; white-space: nowrap; padding: .6cqw 0; background: #000080; color: #FFFF00; border: .3cqw outset #C0C0C0; font: bold 1.3cqw/1 'Times New Roman', serif; }
.ob__marquee span { display: inline-block; padding-left: 100%; animation: obMarq 16s linear infinite; }
@keyframes obMarq { to { transform: translateX(-100%); } }
.ob__title {
  margin: 1.4cqw 0; text-align: center;
  font: bold 3.3cqw/1.1 'Comic Sans MS', 'Comic Sans', cursive;
  background: linear-gradient(90deg, #f00, #f80, #cc0, #0a0, #00f, #a0a);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.ob__body { display: grid; grid-template-columns: 21% 1fr; gap: 1.4cqw; }
.ob__side { display: flex; flex-direction: column; gap: .6cqw; padding: 1.1cqw; background: #C0C0C0; border: .35cqw outset #fff; font: 1.4cqw 'Times New Roman', serif; }
.ob__side span { color: #0000EE; text-decoration: underline; }
.ob__counter { margin-top: 1.2cqw; font: 1.1cqw 'Courier New', monospace; color: #000; }
.ob__counter b { display: block; margin-top: .3cqw; padding: .35cqw .5cqw; background: #000; color: #0F0; letter-spacing: .3em; font-size: 1.4cqw; }
.ob__main { display: flex; flex-direction: column; gap: 1.1cqw; align-items: flex-start; }
.ob__h { font: bold 2.5cqw 'Times New Roman', serif; color: #F00; text-decoration: underline; animation: obBlink 1.1s steps(1) infinite; }
@keyframes obBlink { 50% { opacity: 0; } }
.ob__img { display: grid; place-items: center; width: 36cqw; height: 13cqw; border: .2cqw dashed #808080; background: #fff; font: 1.2cqw 'Courier New', monospace; color: #808080; }
.ob__p { max-width: 60cqw; font: 1.5cqw/1.35 'Times New Roman', serif; color: #000; }
.ob__uc { padding: .5cqw 1.3cqw; background: repeating-linear-gradient(-45deg, #FFD700 0 1cqw, #111 1cqw 2cqw); color: #fff; font: bold 1.5cqw 'Arial Black', Arial, sans-serif; text-shadow: 0 0 .3cqw #000, 0 0 .3cqw #000; }
.ob__small { font: italic 1.05cqw 'Times New Roman', serif; color: #808080; }

/* Neue Website */
.nb { position: absolute; inset: 0; display: flex; flex-direction: column; padding: 0 4.5cqw; background: #F4EADB; color: #2A1B12; font-family: var(--f-body); overflow: hidden; }
.nb__nav { display: flex; align-items: center; justify-content: space-between; padding: 2.4cqw 0; }
.nb__logo { font: italic 600 2.3cqw/1 Georgia, 'Times New Roman', serif; letter-spacing: -.02em; }
.nb__logo i { color: #D9822B; font-style: normal; }
.nb__links { display: flex; gap: 2.8cqw; font-size: 1.15cqw; opacity: .75; }
.nb__cta { padding: .95cqw 1.7cqw; border-radius: 99px; background: #2A1B12; color: #F4EADB; font-size: 1.1cqw; }
.nb__hero { flex: 1; display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 3cqw; padding-bottom: 3cqw; }
.nb__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 1.7cqw; }
.nb__eyebrow { font: 500 1cqw/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: #9A5B1E; }
.nb__h { font: 400 6.8cqw/.9 Georgia, 'Times New Roman', serif; letter-spacing: -.04em; }
.nb__h em { color: #C9671A; }
.nb__p { max-width: 34cqw; font-size: 1.35cqw; line-height: 1.5; color: #5A4334; }
.nb__btns { display: flex; gap: 1cqw; }
.nb__btn { padding: 1.15cqw 2cqw; border-radius: 99px; background: #C9671A; color: #fff; font-size: 1.15cqw; }
.nb__btn--ghost { background: transparent; color: #2A1B12; box-shadow: inset 0 0 0 .13cqw #2A1B12; }
.nb__chips { display: flex; gap: .8cqw; }
.nb__chips span { padding: .65cqw 1.15cqw; border-radius: 99px; background: rgba(42, 27, 18, .07); font-size: 1cqw; }
.nb__art { position: relative; height: 100%; min-height: 30cqw; display: grid; place-items: center; }
.nb__sun { position: absolute; width: 30cqw; height: 30cqw; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #F5C27E, #D9822B 70%); }
.nb__loaf {
  position: relative; width: 31cqw; height: 15cqw;
  border-radius: 50% 50% 40% 40% / 72% 72% 28% 28%;
  background: radial-gradient(ellipse at 40% 28%, #EBB06A, #B0622A 55%, #6E3412);
  box-shadow: inset 0 -1.3cqw 2cqw rgba(60, 25, 5, .5), 0 2.4cqw 3cqw -1cqw rgba(60, 25, 5, .5);
  transform: rotate(-6deg) translateY(3cqw);
  animation: loafBob 5s var(--ease-io) infinite alternate;
}
@keyframes loafBob { to { transform: rotate(-3deg) translateY(2cqw); } }
.nb__loaf i { position: absolute; top: 28%; width: 5.4cqw; height: 1.3cqw; border-radius: 50%; background: linear-gradient(#F7DDAE, #E2B276); transform: rotate(-24deg); box-shadow: inset 0 .2cqw .3cqw rgba(0, 0, 0, .2); }
.nb__loaf i:nth-child(1) { left: 20%; } .nb__loaf i:nth-child(2) { left: 42%; } .nb__loaf i:nth-child(3) { left: 64%; }
.nb__tag { position: absolute; right: 1cqw; top: 3cqw; padding: 1cqw 1.4cqw; border-radius: 1.2cqw; background: #fff; font-size: 1.05cqw; line-height: 1.3; box-shadow: 0 1cqw 2cqw rgba(42, 27, 18, .15); transform: rotate(4deg); }
.nb__tag b { font: 400 1.6cqw/1.2 Georgia, serif; }

/* ---------- 17. Ablauf (horizontal) ---------- */
.process { position: relative; height: var(--process-h, 420vh); }
/* mit der Maus ziehbar (js/sections.js) */
@media (hover: hover) and (pointer: fine) {
  .js .process:not(.is-stacked) .process__pin { cursor: grab; }
  .js .process.is-dragging .process__pin { cursor: grabbing; user-select: none; -webkit-user-select: none; }
}
.process__pin {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  overflow: hidden;
  display: flex; flex-direction: column; justify-content: center; gap: clamp(26px, 5vh, 64px);
  padding-top: calc(var(--nav-h) - 10px);
}
.process__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; }
.process__head > div { display: grid; gap: 20px; }
.process__head .h2 { font-size: clamp(2.2rem, min(5vw, 9vh), 5.4rem); max-width: 16ch; }
.process__count { font: 500 14px/1 var(--f-mono); letter-spacing: .1em; color: var(--s-muted); white-space: nowrap; }
.process__count b { color: var(--s-fg); font-weight: 500; }
.process__track {
  position: relative;
  display: flex; gap: clamp(24px, 4vw, 64px);
  width: max-content;
  padding: 56px max(var(--gutter), (100vw - var(--maxw)) / 2) 8px;
  will-change: transform;
}
.process__line { position: absolute; left: 0; top: 0; width: 100%; height: 100px; overflow: visible; pointer-events: none; }
.process__line path { fill: none; stroke-linecap: round; }
.process__line-bg { stroke: var(--s-line); stroke-width: 2; stroke-dasharray: 2 9; }
.process__line-fg { stroke: var(--accent); stroke-width: 3; }
.step { position: relative; flex: none; width: clamp(280px, 29vw, 430px); padding-top: 40px; }
.step__dot {
  position: absolute; left: 0; top: -7px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--s-bg); border: 2px solid color-mix(in srgb, var(--s-fg) 35%, transparent);
  transition: background-color .4s, border-color .4s, box-shadow .4s;
}
.step.is-active .step__dot { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 7px color-mix(in srgb, var(--accent) 25%, transparent); }
.step__no {
  display: block;
  font: 900 clamp(4rem, min(10vw, 17vh), 10rem)/.8 var(--f-display); font-stretch: 66%;
  letter-spacing: -.045em;
  color: transparent;
  -webkit-text-stroke: 1.5px color-mix(in srgb, var(--s-fg) 30%, transparent);
  transition: color .6s, -webkit-text-stroke-color .6s;
}
.step.is-active .step__no { color: var(--accent); -webkit-text-stroke-color: var(--accent); }
.step__title { margin: 26px 0 12px; font: 900 clamp(1.6rem, 2.4vw, 2.5rem)/1 var(--f-display); font-stretch: 80%; text-transform: uppercase; }
.step__text { max-width: 34ch; margin-bottom: 20px; color: var(--s-muted); }
.step__meta { display: inline-block; padding: 8px 13px; border: 1px solid var(--s-line); border-radius: 99px; font: 500 11.5px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; }

/* Gestapelte Variante (Mobil / reduzierte Bewegung / ohne JavaScript) */
.process.is-stacked, .no-js .process { height: auto; padding: clamp(100px, 12vw, 160px) 0; }
.process.is-stacked .process__pin, .no-js .process__pin { position: relative; height: auto; overflow: visible; padding-top: 0; display: block; }
.process.is-stacked .process__head, .no-js .process__head { margin-bottom: 50px; }
.process.is-stacked .process__count, .no-js .process__count { display: none; }
.process.is-stacked .process__track, .no-js .process__track { flex-direction: column; width: auto; gap: 56px; padding: 0 var(--gutter) 0 calc(var(--gutter) + 34px); transform: none !important; }
.process.is-stacked .process__track::before, .no-js .process__track::before { content: ''; position: absolute; top: 8px; bottom: 8px; left: calc(var(--gutter) + 6px); width: 2px; background: var(--s-line); }
.process.is-stacked .process__line, .no-js .process__line { display: none; }
.process.is-stacked .step, .no-js .step { width: auto; padding-top: 0; }
.process.is-stacked .step__dot, .no-js .step__dot { left: -34px; top: 10px; }
.process.is-stacked .step__no, .no-js .step__no { font-size: clamp(4rem, 18vw, 6rem); }
.no-js .step__no { color: var(--accent); -webkit-text-stroke-color: var(--accent); }

/* Ohne JavaScript: Karten-Bühne entfällt, Hinweis statt leerer Fläche */
.no-js .deck { height: auto; }
.no-js .deck__pin { position: relative; height: auto; padding: calc(var(--nav-h) + 60px) 0 40px; }
.no-js .deck__head { position: relative; top: 0; }
.no-js .deck__meter, .no-js .deck__hint, .no-js .deck__close, .no-js .deck__stage { display: none; }
.deck__noscript { margin-top: 10px; padding: 18px 20px; border: 1.5px dashed var(--s-acc); border-radius: 14px; max-width: 520px; }

/* ---------- 19. FAQ ---------- */
.faq { padding: clamp(100px, 12vw, 170px) 0; }
.faq__grid { display: grid; grid-template-columns: 1fr 1.45fr; gap: clamp(40px, 6vw, 110px); align-items: start; }
.faq__aside { position: sticky; top: calc(var(--nav-h) + 40px); display: grid; gap: 22px; }
.qa { border-bottom: 1px solid var(--s-line); }
.qa:first-child { border-top: 1px solid var(--s-line); }
.qa summary {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 26px 0;
  list-style: none; cursor: pointer;
  font: 750 clamp(1.1rem, 1.6vw, 1.45rem)/1.25 var(--f-display); font-stretch: 92%;
  transition: color .3s;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--s-acc); }
.qa summary i { position: relative; flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--s-line); color: var(--s-fg); transition: background-color .35s, border-color .35s, color .35s; }
.qa summary i::before, .qa summary i::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.6px; background: currentColor; transform: translate(-50%, -50%); }
.qa summary i::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .5s var(--ease-out); }
.qa[open] summary i { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.qa[open] summary i::after { transform: translate(-50%, -50%) rotate(0deg); }
.qa.is-closing summary i { background: transparent; border-color: var(--s-line); color: var(--s-fg); }
.qa.is-closing summary i::after { transform: translate(-50%, -50%) rotate(90deg); }
.qa__a { overflow: hidden; }
.qa__a p { max-width: 62ch; padding: 0 60px 26px 0; color: var(--s-muted); }

/* ---------- 20. Kontakt & Formular ---------- */
.contact { position: relative; padding: clamp(100px, 12vw, 170px) 0; overflow: hidden; }
.contact__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(44px, 6vw, 100px); align-items: start; }
.contact__intro { display: grid; gap: 24px; }
.mailcard { display: grid; justify-items: start; gap: 12px; margin-top: 14px; padding: 24px; border-radius: 20px; background: var(--s-surface); border: 1px solid var(--s-line); }
.mailcard__label { font: 500 12px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--s-muted); }
.mailcard__mail { font: 850 clamp(1.25rem, 2.4vw, 2.05rem)/1.1 var(--f-display); font-stretch: 84%; text-decoration: none; word-break: break-all; transition: color .3s; }
.mailcard__mail:hover { color: var(--s-acc); }
.mailcard__copy { display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; border-radius: 99px; border: 1px solid var(--s-line); background: none; font-size: 14px; cursor: pointer; transition: background-color .3s, color .3s; }
.mailcard__copy:hover { background: var(--s-fg); color: var(--s-bg); }
.mailcard__copy svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; }

.form-stack { position: relative; }
.form-stack__ghost { position: absolute; inset: 0; border-radius: 24px; box-shadow: 0 30px 60px -30px rgba(var(--shadow), .35); transition: transform .8s var(--ease-out); }
.form-stack__ghost--1 { background: var(--accent); transform: rotate(3deg) translate(10px, 14px); }
.form-stack__ghost--2 { background: #DCD4C2; transform: rotate(-2.4deg) translate(-8px, 8px); }
.form-stack:hover .form-stack__ghost--1 { transform: rotate(4.5deg) translate(16px, 18px); }
.form-stack:hover .form-stack__ghost--2 { transform: rotate(-3.6deg) translate(-14px, 10px); }

.form {
  --s-fg: #17171A; --s-bg: var(--card-paper); --s-line: rgba(23, 23, 26, .16); --s-muted: #6B6760; --s-acc: var(--acc-light);
  position: relative; z-index: 1;
  padding: clamp(22px, 3vw, 38px);
  border-radius: 24px;
  background: var(--card-paper); color: #17171A;
  box-shadow: 0 40px 80px -30px rgba(var(--shadow), .32), 0 0 0 1px rgba(var(--shadow), .06);
}
.form__top { display: flex; align-items: center; gap: 16px; margin-bottom: 26px; padding-bottom: 16px; border-bottom: 2px solid var(--red); }
.form__step-label { font: 500 12px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: #6B6760; white-space: nowrap; }
.form__step-label b { color: #17171A; font-weight: 500; }
.form__bar { flex: 1; height: 4px; overflow: hidden; border-radius: 4px; background: #E3DCCB; }
.form__bar i { display: block; height: 100%; width: 33.3%; background: var(--acc-light); transition: width .7s var(--ease-out); }

.form__step { min-width: 0; margin: 0; padding: 0; border: 0; display: none; }
.form__step.is-active { display: block; animation: stepIn .7s var(--ease-out); }
.form__step.is-active.is-back { animation-name: stepInBack; }
@keyframes stepIn { from { opacity: 0; transform: translateX(36px) rotate(1deg); } }
@keyframes stepInBack { from { opacity: 0; transform: translateX(-36px) rotate(-1deg); } }
.form__q { float: left; width: 100%; margin-bottom: 22px; padding: 0; font: 900 clamp(1.55rem, 2.5vw, 2.2rem)/1.02 var(--f-display); font-stretch: 80%; text-transform: uppercase; letter-spacing: -.01em; }
.form__q + * { clear: both; }

.choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice__box { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 16px 16px 15px; border: 1.5px solid #D8D1C0; border-radius: 16px; background: rgba(255, 255, 255, .55); transition: border-color .3s, background-color .3s, box-shadow .3s, transform .4s var(--ease-out); }
.choice:hover .choice__box { transform: translateY(-2px); border-color: #B8B09D; }
.choice__top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.choice__box b { font: 900 1.12rem/1 var(--f-display); font-stretch: 82%; text-transform: uppercase; }
.choice__box small { font: 500 12px/1.3 var(--f-mono); color: #6B6760; }
.choice__time { display: block; margin-top: 3px; white-space: nowrap; }
.choice__dot { width: 18px; height: 18px; flex: none; border-radius: 50%; border: 1.5px solid #BDB5A3; transition: border .3s, background-color .3s; }
.choice input:checked + .choice__box { border-color: var(--acc-light); background: color-mix(in srgb, var(--accent) 9%, #fff); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 20%, transparent); }
.choice input:checked + .choice__box .choice__dot { border: 5px solid var(--acc-light); }
.choice input:focus-visible + .choice__box { outline: 2px solid var(--acc-light); outline-offset: 3px; }
.choice--wide { grid-column: 1 / -1; }

.field { display: grid; gap: 6px; margin-bottom: 20px; }
.field__label { font: 500 12px/1.2 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: #6B6760; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field textarea {
  width: 100%; padding: 10px 0;
  border: 0; border-bottom: 1.5px solid #CBC4B3; border-radius: 0;
  background: transparent; color: #17171A;
  font: 500 1.05rem/1.4 var(--f-body);
  transition: border-color .3s, box-shadow .3s;
}
.field textarea {
  resize: vertical; min-height: 120px; line-height: 28px; padding: 2px 0;
  background-image: repeating-linear-gradient(to bottom, transparent 0 27px, #E2DACA 27px 28px);
  background-attachment: local;
}
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--acc-light); box-shadow: 0 1.5px 0 0 var(--acc-light); }
.field [aria-invalid="true"] { border-bottom-color: #C62E22 !important; }
.field ::placeholder { color: #A39D90; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }

.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__err { display: block; min-height: 1.1em; margin-top: 4px; font-size: .84rem; color: #C62E22; }
.form__err:empty { min-height: 0; margin: 0; }
.form__nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 28px; }
.form__nav [data-next], .form__nav [data-submit] { margin-left: auto; }
.form__nav .btn--ghost { --s-line: rgba(23, 23, 26, .2); }
.form__status { min-height: 1.2em; margin-top: 12px; font-size: .9rem; color: #6B6760; }
.form__status:empty { display: none; }
.form__status.is-error { color: #C62E22; }
.form__privacy { margin-top: 20px; padding-top: 14px; border-top: 1px dashed rgba(23, 23, 26, .16); font-size: .85rem; line-height: 1.45; color: #6B6760; }
.form__privacy a { color: #17171A; }

/* Ohne JavaScript: alle Schritte untereinander, direkt absenden (kontakt.php) */
.no-js .form__step { display: block; }
.no-js .form__step + .form__step { margin-top: 28px; }
.no-js .form__top, .no-js .form [data-next], .no-js .form [data-prev] { display: none !important; }
.no-js .form [data-submit] { display: inline-flex !important; }

.form__done { padding: 26px 0 8px; text-align: center; }
.form__check { width: 96px; height: 96px; margin: 0 auto 20px; fill: none; stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.form__check circle { stroke: var(--acc-light); stroke-dasharray: 220; stroke-dashoffset: 220; animation: drawIn .9s var(--ease-out) forwards; }
.form__check path { stroke: #17171A; stroke-dasharray: 60; stroke-dashoffset: 60; animation: drawIn .6s var(--ease-out) .6s forwards; }
@keyframes drawIn { to { stroke-dashoffset: 0; } }
.form__done-title { font: 900 clamp(2rem, 4vw, 3rem)/1 var(--f-display); font-stretch: 78%; text-transform: uppercase; }
.form__done-text { max-width: 36ch; margin: 12px auto 0; color: #6B6760; }

/* ---------- 21. Footer ---------- */
.footer { position: relative; overflow: hidden; padding: 90px 0 28px; border-top: 1px solid var(--s-line); }
.footer .wrap { position: relative; z-index: 1; }
.footer__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.footer__cols > div { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.footer__label { margin-bottom: 6px; font: 500 12px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--s-muted); }
.wordmark {
  display: flex; justify-content: center;
  margin: clamp(60px, 9vw, 120px) 0 22px;
  font-family: var(--f-display);
  font-size: var(--wm-size, 15vw);
  line-height: .78;
  text-transform: uppercase;
  white-space: nowrap;
  font-variation-settings: 'wght' 900, 'wdth' 80;
  user-select: none; -webkit-user-select: none;
}
.wordmark span { display: inline-block; }
.footer__bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px 24px;
  padding-top: 24px; border-top: 1px solid var(--s-line);
  font: 500 12px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--s-muted);
}
.footer__top { text-decoration: none; color: var(--s-fg); padding: 10px 16px; border: 1px solid var(--s-line); border-radius: 99px; transition: background-color .3s, color .3s; }
.footer__top:hover { background: var(--s-fg); color: var(--s-bg); }

/* ---------- 22. Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 26px; z-index: 9600;
  max-width: calc(100% - 32px);
  padding: 14px 22px; border-radius: 99px;
  background: var(--fg); color: var(--bg);
  font: 500 14px/1.3 var(--f-body);
  box-shadow: 0 20px 40px -10px rgba(var(--shadow), .35);
  transform: translate(-50%, calc(100% + 60px));
  opacity: 0;
  transition: transform .6s var(--ease-back), opacity .3s;
  pointer-events: none;
}
.toast.is-on { transform: translate(-50%, 0); opacity: 1; }

/* Rechtsseiten (Impressum / Datenschutz) */
.legal-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; }
.legal { padding: clamp(40px, 7vw, 90px) 0 clamp(80px, 10vw, 140px); }
.legal__wrap { width: min(100% - 2 * var(--gutter), 780px); margin-inline: auto; }
.legal h1 { margin: 22px 0 28px; font-size: clamp(2.6rem, 7vw, 5.4rem); hyphens: manual; }
.legal h2 { margin: 46px 0 12px; font: 850 1.3rem/1.2 var(--f-display); font-stretch: 88%; text-transform: uppercase; letter-spacing: -.005em; }
.legal p { margin-bottom: 12px; color: var(--s-muted); }
.legal strong { color: var(--s-fg); font-weight: 600; }
.legal address { margin-bottom: 12px; font-style: normal; color: var(--s-muted); }
.legal ol { margin: 0 0 12px; padding: 0; list-style: none; counter-reset: absatz; }
.legal ol > li { position: relative; margin-bottom: 10px; padding-left: 2.4em; color: var(--s-muted); counter-increment: absatz; }
.legal ol > li::before { content: '(' counter(absatz) ')'; position: absolute; left: 0; top: 0; color: var(--s-fg); font-variant-numeric: tabular-nums; }
.legal ul { margin: 10px 0 0; padding-left: 1.1em; }
.legal ul > li { margin-bottom: 8px; }
.legal li strong { color: var(--s-fg); }
/* noch auszufüllende Platzhalter – fallen sofort ins Auge */
.todo { padding: 0 .3em; border-radius: 4px; background: color-mix(in srgb, var(--red) 28%, transparent); color: var(--s-fg); font-weight: 500; }
.legal-foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding: 28px 0 40px; border-top: 1px solid color-mix(in srgb, var(--fg) 14%, transparent); font: 500 12px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: color-mix(in srgb, var(--fg) 62%, transparent); }
.legal-foot__links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.legal-foot__links [aria-current="page"] { color: var(--fg); }

/* View-Transitions: Seitenwechsel (z. B. zum Impressum) weich überblenden */
@view-transition { navigation: auto; }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }

/* ---------- 23. Scroll-Reveals ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(30px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.sw { display: inline-block; vertical-align: top; overflow: hidden; padding: .12em 0 .08em; margin: -.12em 0 -.08em; }
.sw > span { display: inline-block; }
.js [data-split] .sw > span { transform: translateY(110%); transition: transform 1.1s var(--ease-out); transition-delay: calc(var(--i, 0) * 55ms); }
.js [data-split].is-in .sw > span { transform: none; }

/* ---------- 24. Reduzierte Bewegung ---------- */
html.reduce-motion *, html.reduce-motion *::before, html.reduce-motion *::after {
  animation-duration: .001ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: .001ms !important;
  transition-delay: 0s !important;
}
html.reduce-motion [data-reveal], html.reduce-motion [data-split] .sw > span { opacity: 1 !important; transform: none !important; }
html.reduce-motion .manifest__text .w { opacity: 1 !important; }
html.reduce-motion .deck { height: auto; }
html.reduce-motion .deck__pin { position: relative; height: max(100vh, 760px); }

/* ---------- 25. Responsive ---------- */
@media (max-width: 1100px) {
  .nav__links { display: none; }
  .nav__cta { margin-left: auto; }
  .nav__burger { display: block; }

  .manifest__grid { grid-template-columns: 1fr; }
  .sec-head--split { grid-template-columns: 1fr; }
  .svc { grid-template-columns: 54px minmax(0, 1fr) minmax(0, 1fr) 30px; }

  .deck__head { gap: 14px; }
  .deck__stage { --cx: 50%; --cy: 60%; }

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

  .faq__grid, .contact__grid { grid-template-columns: 1fr; }
  .faq__aside { position: static; }
  .footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
  :root { --nav-h: 64px; }
  .nav { padding-left: 14px; gap: 10px; }
  .nav__cta { display: none; }
  .nav__burger { margin-left: auto; }

  .hero__title { font-size: clamp(2.6rem, 14.4vw, 6rem); }
  .hero__ctas { flex: 1; }
  .hero__ctas .btn { flex: 1; }

  .svc { grid-template-columns: 40px minmax(0, 1fr) 24px; gap: 8px 14px; padding: 24px 6px; }
  .svc__desc { grid-column: 2 / 3; grid-row: 2; font-size: .95rem; }
  .svc__arrow { grid-column: 3; grid-row: 1; font-size: 22px; }

  .deck { height: 420vh; }
  .deck__head { top: calc(var(--nav-h) + 26px); }
  .deck__title { font-size: clamp(2rem, 10vw, 3rem); }
  .deck__stage { --cy: 63%; }
  .deck__close { top: auto; bottom: 22px; right: 50%; margin-right: -27px; }

  .overview__grid { grid-template-columns: 1fr; }

  .browser { width: 100%; }
  .ba__knob { width: 46px; height: 46px; margin: -23px 0 0 -23px; }
  .browser__spacer, .browser__dots { display: none; }
  .ba__view { aspect-ratio: 4 / 3.4; }

  .qa__a p { padding-right: 0; }
  .form-stack__ghost--1 { transform: rotate(2deg) translate(3px, 10px); }
  .form-stack__ghost--2 { transform: rotate(-1.6deg) translate(-3px, 6px); }
  .choice-grid, .field-row { grid-template-columns: 1fr; }
  .form__nav .btn { padding: 1em 1.3em; }
  .footer__cols { grid-template-columns: 1fr 1fr; gap: 26px 18px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}

@media (hover: none) {
  .svc-float { display: none; }
}

/* Flache Bildschirme (Laptops mit wenig Höhe) */
@media (max-height: 760px) and (min-width: 821px) {
  .process__pin { gap: 16px; }
  .process__track { padding-top: 44px; }
  .step { padding-top: 30px; }
  .step__title { margin: 16px 0 8px; }
  .step__text { margin-bottom: 12px; font-size: .95rem; }
  .deck__head { top: calc(var(--nav-h) + 24px); gap: 14px; }
  .deck__title { font-size: clamp(2.2rem, min(4.8vw, 9vh), 5.2rem); }
}

@media print {
  .loader, .nav, body::after { display: none !important; }
}
