/* =========================================================
   NUPS. – Landingpage
   Farben aus dem Brandbook: #df8381 · #87a3c3 · #f2c374 · #9fb997
   Fonts: Baloo 2 (Headlines) · Poppins (Text)
   ========================================================= */

/* Schriften liegen lokal in assets/fonts (keine Verbindung zu Google Fonts) */
@font-face { font-family: 'Baloo 2'; font-weight: 600; font-style: normal; font-display: swap; src: url('assets/fonts/baloo-2-latin-600.woff2') format('woff2'); }
@font-face { font-family: 'Baloo 2'; font-weight: 700; font-style: normal; font-display: swap; src: url('assets/fonts/baloo-2-latin-700.woff2') format('woff2'); }
@font-face { font-family: 'Baloo 2'; font-weight: 800; font-style: normal; font-display: swap; src: url('assets/fonts/baloo-2-latin-800.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-weight: 400; font-style: normal; font-display: swap; src: url('assets/fonts/poppins-latin-400.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-weight: 500; font-style: normal; font-display: swap; src: url('assets/fonts/poppins-latin-500.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-weight: 600; font-style: normal; font-display: swap; src: url('assets/fonts/poppins-latin-600.woff2') format('woff2'); }

:root {
  --rose: #df8381;  --rose-l: #f8e1e0;  --rose-d: #c4605e;
  --blue: #87a3c3;  --blue-l: #e3eaf3;  --blue-d: #5d7ea4;
  --yellow: #f2c374; --yellow-l: #fcf0d9; --yellow-d: #b98a2c;
  --green: #9fb997; --green-l: #e6eee1; --green-d: #6a8a61;

  --cream: #fcf8f2;
  --paper: #fffdf9;
  --ink: #35323f;
  --ink-2: #6b6677;
  --head: #555555; /* Headline-Grau aus dem Brandbook */
  --line: #ece3d6;

  --bgc: #fcf8f2;
  --f-head: 'Baloo 2', ui-rounded, system-ui, sans-serif;
  --f-body: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --shadow: 0 24px 60px -28px rgba(92, 70, 48, .35);
  --shadow-sm: 0 10px 30px -16px rgba(92, 70, 48, .3);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --nav-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-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;
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bgc);
  transition: background-color .9s var(--ease);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--f-head); font-weight: 800; line-height: 1.02; margin: 0; letter-spacing: -.01em; color: var(--head); }
p { margin: 0; }

.container { width: min(1200px, 100% - 32px); margin-inline: auto; }
@media (min-width: 700px) { .container { width: min(1200px, 100% - 80px); } }

.logo { font-family: var(--f-head); font-weight: 800; letter-spacing: -.02em; line-height: 1; white-space: nowrap; }
.c-r { color: var(--rose); } .c-b { color: var(--blue); } .c-y { color: var(--yellow); } .c-g { color: var(--green); }

.ico { width: 100%; height: 100%; }

/* ---------- Hintergrund-Blobs ---------- */
.bg-blobs { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; animation: drift 26s ease-in-out infinite alternate; }
.b2 { animation-duration: 31s; animation-delay: -8s; }
.b3 { animation-duration: 35s; animation-delay: -14s; }
.b4 { animation-duration: 29s; animation-delay: -5s; }
@keyframes drift {
  0%   { translate: 0 0; scale: 1; }
  50%  { translate: 6vw 4vh; scale: 1.12; }
  100% { translate: -4vw 7vh; scale: .94; }
}
/* ganz zarte Wolken, die langsam durchs Bild ziehen */
.bg-cloud { position: absolute; left: 0; width: clamp(140px, 16vw, 260px); opacity: .32; animation: cloudDrift linear infinite; }
.bg-cloud svg { width: 100%; height: auto; display: block; }
.bc1 { top: 14vh; animation-duration: 140s; animation-delay: -30s; }
.bc2 { top: 46vh; width: clamp(110px, 12vw, 200px); animation-duration: 170s; animation-delay: -110s; opacity: .26; }
.bc3 { top: 72vh; animation-duration: 155s; animation-delay: -70s; }
.bc4 { top: 30vh; width: clamp(90px, 9vw, 160px); animation-duration: 190s; animation-delay: -150s; opacity: .22; }
@keyframes cloudDrift { from { translate: -30vw 0; } to { translate: 110vw 0; } }
.b1 { width: 46vw; height: 46vw; left: -14vw; top: -10vw; background: var(--rose-l); }
.b2 { width: 38vw; height: 38vw; right: -10vw; top: 18vh; background: var(--blue-l); }
.b3 { width: 34vw; height: 34vw; left: 20vw; bottom: -18vw; background: var(--yellow-l); }
.b4 { width: 30vw; height: 30vw; right: 10vw; bottom: -10vw; background: var(--green-l); }
main, .footer, .nav { position: relative; z-index: 1; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  padding: .95em 1.55em; border-radius: 999px; border: 0;
  background: var(--ink); color: #fff;
  font-family: var(--f-body); font-weight: 600; font-size: 15px; line-height: 1;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: translate .45s var(--ease), box-shadow .45s var(--ease), background-color .35s var(--ease), color .35s var(--ease);
}
.btn:hover { translate: 0 -2px; background: #4a4655; box-shadow: 0 14px 30px -14px rgba(53, 50, 63, .6); }
.btn:active { translate: 0 0; box-shadow: 0 6px 14px -10px rgba(53, 50, 63, .6); }
.btn .arr { transition: transform .45s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-sm { padding: .75em 1.2em; font-size: 14px; }
.btn-lg { padding: 1.1em 1.9em; font-size: 16px; }
.btn:focus-visible, a:focus-visible, button:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2);
  margin-bottom: 18px;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(159, 185, 151, .7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(159, 185, 151, 0); } 100% { box-shadow: 0 0 0 0 rgba(159, 185, 151, 0); } }

.h-xl { font-size: clamp(44px, 6vw, 84px); }
.h-lg { font-size: clamp(38px, 4.6vw, 64px); }
.lead { font-size: clamp(16px, 1.3vw, 18px); color: var(--ink-2); max-width: 36em; margin-top: 18px; }
.grad { background: linear-gradient(90deg, var(--rose), var(--yellow) 45%, var(--green) 70%, var(--blue)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 0 clamp(16px, 4vw, 48px);
  transition: background-color .4s, box-shadow .4s, height .4s;
}
.nav.scrolled { background: rgba(255, 253, 249, .78); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); box-shadow: 0 1px 0 var(--line); height: 64px; }
.nav-logo { font-size: 34px; text-decoration: none; }
.nav-links { display: flex; gap: 32px; }
.nav-links a { text-decoration: none; font-size: 15px; font-weight: 500; position: relative; }
.nav-links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; border-radius: 2px; background: var(--rose); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }

/* =========================================================
   STORY – Sticky Automat + Schritte
   ========================================================= */
.story-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  max-width: 1360px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 56px);
}
.steps { grid-column: 1; grid-row: 1; }
.stage-wrap {
  grid-column: 2; grid-row: 1; align-self: start;
  position: sticky; top: 0; height: 100vh; height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  padding-top: calc(var(--nav-h) - 8px);
}

.step { min-height: 82vh; display: flex; align-items: center; padding: 40px 0; }
.step-hero { min-height: 100vh; min-height: 100svh; padding-top: var(--nav-h); position: relative; }
.step-intro { min-height: 70vh; }

.hero-title { font-size: clamp(56px, 8.4vw, 128px); line-height: .92; margin-bottom: 26px; }
.hero-title .w { display: inline-block; overflow: hidden; padding-bottom: .08em; vertical-align: top; }
.hero-title .w > span { display: inline-block; }
.hero-title i { font-style: normal; }
.hero-lead { font-size: clamp(16px, 1.35vw, 19px); color: var(--ink-2); max-width: 30em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-facts { list-style: none; padding: 0; margin: 40px 0 0; display: flex; gap: 32px; }
.hero-facts li { display: flex; flex-direction: column; line-height: 1.1; }
.hero-facts b { font-family: var(--f-head); font-size: 30px; font-weight: 800; }
.hero-facts li:nth-child(1) b { color: var(--rose); }
.hero-facts li:nth-child(2) b { color: var(--blue); }
.hero-facts li:nth-child(3) b { color: var(--green); }
.hero-facts span { font-size: 13px; color: var(--ink-2); }

/* Handgezeichnete Unterstreichung für Schlüsselwörter */
.mark { position: relative; display: inline-block; white-space: nowrap; }
.mark svg { position: absolute; left: -2%; bottom: -.12em; width: 104%; height: .32em; overflow: visible; pointer-events: none; }
.mark path { fill: none; stroke: var(--c); stroke-width: 7; stroke-linecap: round; opacity: .85; }

/* Wortweise Text-Reveals */
.sw { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.sw > span { display: inline-block; will-change: transform; }

/* Tiere, die beim Scrollen vom Rand reinschauen */
.how, .partner { position: relative; overflow-x: clip; }
.peek { position: absolute; z-index: 0; pointer-events: none; }
.peek i { display: block; }
.peek svg { width: 100%; height: auto; display: block; }
.peek-koala { right: -34px; top: 16%; width: clamp(120px, 12vw, 180px); }
.peek-koala i { transform: rotate(-90deg); transform-origin: 50% 50%; }
.peek-koala i svg { animation: nod 5.5s ease-in-out infinite; transform-origin: 50% 100%; }
.peek-teddy { left: -30px; top: 58%; width: clamp(110px, 11vw, 170px); }
.peek-teddy i { transform: rotate(90deg); transform-origin: 50% 50%; }
.peek-teddy i svg { animation: nod 5s ease-in-out infinite; transform-origin: 50% 100%; }
.form-wrap { position: relative; }
.form-wrap .form-card { position: relative; z-index: 1; }
.peek-bunny { right: 48px; top: -118px; width: 120px; z-index: 0; }
.peek-bunny i { animation: nod 4.5s ease-in-out infinite; transform-origin: 50% 100%; }
@keyframes sway { 50% { transform: rotate(-4deg); } }
@keyframes nod { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(4deg); } }

/* Kategorie-Karten */
.step-card {
  position: relative; overflow: hidden; max-width: 520px; width: 100%;
  background: var(--paper); border: 1px solid var(--line); border-radius: 30px;
  padding: 34px 34px 30px; box-shadow: var(--shadow);
  will-change: transform, opacity;
}
.step-card::before {
  content: ''; position: absolute; width: 260px; height: 260px; right: -110px; top: -120px;
  border-radius: 50%; background: var(--cl); transition: transform .8s var(--ease);
}
.step.is-active .step-card::before { transform: scale(1.25); }
.step-card > * { position: relative; }
.step-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.step-icon { width: 54px; height: 54px; border-radius: 18px; background: var(--c); color: #fff; padding: 13px; display: grid; }
.step-num { font-family: var(--f-head); font-weight: 700; font-size: 18px; color: var(--ink-2); }
.step-card h2 { font-size: clamp(32px, 3.2vw, 44px); margin-bottom: 12px; }
.step-card p { color: var(--ink-2); }
.tags { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { font-size: 13px; font-weight: 500; padding: 6px 13px; border-radius: 999px; background: var(--cl); }

/* Chips unter dem Automaten */
.cat-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; max-width: 560px; }
.cat-chip {
  display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(255, 253, 249, .8); cursor: pointer;
  font-size: 12.5px; font-weight: 500; transition: background-color .3s, color .3s, border-color .3s, translate .3s var(--ease);
}
.cat-chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.cat-chip:hover { translate: 0 -2px; border-color: var(--c); }
.cat-chip.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.stage-hint { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--ink-2); transition: opacity .5s; }
.stage-hint > span { width: 18px; height: 18px; display: grid; }
.stage-hint.hide { opacity: 0; }

/* =========================================================
   DER AUTOMAT (3D) – alle Maße in em, skaliert über --m
   ========================================================= */
.stage {
  --m: min(10px, calc((100vh - 200px) / 90), calc((50vw - 60px) / 62));
  --m: min(10px, calc((100svh - 200px) / 90), calc((50vw - 60px) / 62));
  font-size: var(--m);
  width: 62em; height: 90em; position: relative;
  display: grid; place-items: center;
  perspective: 240em; perspective-origin: 50% 36%;
  touch-action: pan-y; user-select: none; -webkit-user-select: none;
  cursor: grab;
}
.stage.dragging { cursor: grabbing; }
.machine-shadow {
  position: absolute; left: 50%; bottom: 3.4em; width: 64em; height: 10em; margin-left: -32em; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(58, 42, 28, .42), rgba(58, 42, 28, .14) 55%, rgba(58, 42, 28, 0));
}
.machine { position: relative; width: 48em; height: 78em; margin-top: -3em; transform-style: preserve-3d; will-change: transform; }

/* Korpus: Front 48×78 · Tiefe 32 */
.face { position: absolute; top: 0; left: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.face.front { width: 48em; height: 78em; transform: translateZ(16em); transform-style: preserve-3d; }
.face.back  { width: 48em; height: 78em; transform: rotateY(180deg) translateZ(16em); background: #e6ded1; border-radius: .7em; }
.face.left  { width: 32em; height: 78em; left: 8em; transform: rotateY(-90deg) translateZ(24em); }
.face.right { width: 32em; height: 78em; left: 8em; transform: rotateY(90deg) translateZ(24em); }
.face.top   {
  width: 48em; height: 32em; top: 23em; transform: rotateX(90deg) translateZ(39em); border-radius: .6em;
  background: linear-gradient(90deg, #d9d1c4, #eee7db 18%, #f4eee4 50%, #eee7db 82%, #d9d1c4);
  box-shadow: inset 0 0 0 .35em #cfc7ba;
}
.top-vent { position: absolute; left: 9em; right: 9em; top: 4.5em; height: 2.2em; border-radius: .4em; background: repeating-linear-gradient(90deg, #c9c0b2 0 .35em, #e6ded1 .35em .9em); }

/* Folierung auf lackiertem Blech */
.skin {
  position: absolute; inset: 0; overflow: hidden; border-radius: .7em;
  background:
    radial-gradient(120% 55% at 25% 0%, rgba(255, 255, 255, .8), rgba(255, 255, 255, 0) 60%),
    linear-gradient(180deg, #fffcf6 0%, #fbf6ec 55%, #f2eadc 100%);
  box-shadow:
    inset 0 0 0 .16em rgba(255, 255, 255, .95),
    inset .7em 0 1em -.5em rgba(90, 70, 50, .16),
    inset -.7em 0 1em -.5em rgba(90, 70, 50, .22),
    inset 0 -.8em 1.2em -.6em rgba(90, 70, 50, .22);
}
.skin .shade { position: absolute; inset: 0; background: #231e2b; opacity: 0; pointer-events: none; z-index: 40; will-change: opacity; }
.face.left .skin, .face.right .skin { border-radius: .5em; }
.skin-sheen {
  position: absolute; inset: 0; pointer-events: none; z-index: 30; mix-blend-mode: soft-light;
  background: linear-gradient(100deg, rgba(255, 255, 255, 0) calc(6% + var(--gl, 0) * .7%), rgba(255, 255, 255, .85) calc(22% + var(--gl, 0) * .7%), rgba(255, 255, 255, 0) calc(40% + var(--gl, 0) * .7%));
}

/* Loch in der Front für das Sichtfenster */
.front-skin {
  -webkit-mask-image: linear-gradient(#000, #000), linear-gradient(#000, #000);
  -webkit-mask-size: 100% 100%, 29em 54.8em;
  -webkit-mask-position: 0 0, 3.9em 9.7em;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-composite: xor;
  mask-image: linear-gradient(#000, #000), linear-gradient(#000, #000);
  mask-size: 100% 100%, 29em 54.8em;
  mask-position: 0 0, 3.9em 9.7em;
  mask-repeat: no-repeat;
  mask-composite: exclude;
}

.art { position: absolute; left: var(--x); top: var(--y); width: var(--w); pointer-events: none; }
.art svg { width: 100%; height: auto; display: block; }
.pill-247 { display: inline-block; font-family: var(--f-head); font-weight: 700; font-size: 2.8em; line-height: 1; padding: .2em .78em .1em; border-radius: 1em; background: #e2807e; color: #fff; }

/* Texte der Folierung – Position in Automaten-em, unabhängig von der Schriftgröße */
.tx { position: absolute; margin: 0; z-index: 2; font-size: calc(var(--fs, 1) * 1em); left: calc(var(--x) / var(--fs, 1)); top: calc(var(--y) / var(--fs, 1)); white-space: nowrap; }
.f-logo { --fs: 8.3; --x: 5.2em; --y: 1.7em; }
.f-slogan { --fs: 2.3; --x: 29.3em; --y: 2.2em; font-family: var(--f-head); font-weight: 600; line-height: 1.12; color: #423d4a; }
.f-foot-text { --fs: 2.05; --x: 3.4em; --y: 65.3em; width: calc(30.1em / 2.05); text-align: center; font-family: var(--f-body); font-weight: 600; color: #6b8cb6; letter-spacing: -.01em; }
.f-pill { --fs: 2.9; --x: 19.4em; --y: 68.7em; }
.s-logo { --fs: 7.4; line-height: 1; }
.s-slogan { --fs: 2.25; font-family: var(--f-head); font-weight: 600; line-height: 1.1; color: #423d4a; }
.s-sub { --fs: 1.75; font-family: var(--f-head); font-weight: 600; line-height: 1.15; color: #423d4a; }
.s-pill { --fs: 2.6; }
.s-list { --fs: 1.3; list-style: none; padding: 0; display: flex; flex-direction: column; gap: 1.05em; color: #423d4a; }
.s-list li { display: flex; align-items: center; gap: .8em; font-weight: 500; }
.s-list .ico { width: 1.55em; height: 1.55em; color: #6b8cb6; flex: none; }
.s-list-sm { --fs: 1.05; gap: .9em; }
.s-blob { --fs: 1; width: 19.5em; height: 20.5em; display: grid; place-items: center; border-radius: 48% 52% 44% 56% / 54% 46% 54% 46%; background: #a3bd9b; rotate: -12deg; }
.s-blob span { font-family: var(--f-head); font-weight: 600; font-size: 2.75em; line-height: 1.02; color: #fff; text-align: center; margin-top: -.4em; }
.s-blob i { position: absolute; bottom: 2.3em; left: 50%; width: 1.5em; margin-left: -.75em; }
.s-blob i svg { width: 100%; height: auto; display: block; }

.door-seam { position: absolute; left: 34.9em; top: 8.4em; bottom: 3.2em; width: .22em; z-index: 1; background: linear-gradient(90deg, rgba(110, 90, 70, .28), rgba(255, 255, 255, .95)); }

/* Warenschacht mit echter Tiefe */
/* Nur die Produkte sind klickbar – alle Flächen davor lassen Klicks durch */
.face.front, .front-skin, .cavity, .cavity *, .win-frame, .cab-edge { pointer-events: none; }
.cavity .product { pointer-events: auto; }
.cavity { position: absolute; left: 4.35em; top: 10.15em; width: 28.2em; height: 53.2em; transform-style: preserve-3d; }
.cav-back {
  position: absolute; inset: 0; transform: translateZ(-8em);
  background: radial-gradient(90% 28% at 50% 0%, #4d4958, rgba(77, 73, 88, 0)), linear-gradient(180deg, #25232b, #16151a 70%, #0e0d11);
}
.cav-wall { position: absolute; }
.cav-top    { left: 0; top: 0; width: 100%; height: 8em; transform-origin: top; transform: rotateX(-90deg); background: linear-gradient(180deg, #6a6674, #2a2830); }
.cav-bottom { left: 0; bottom: 0; width: 100%; height: 8em; transform-origin: bottom; transform: rotateX(90deg); background: linear-gradient(0deg, #2f2d35, #141317); }
.cav-left   { left: 0; top: 0; width: 8em; height: 100%; transform-origin: left; transform: rotateY(90deg); background: linear-gradient(90deg, #3a3741, #17161b); }
.cav-right  { right: 0; top: 0; width: 8em; height: 100%; transform-origin: right; transform: rotateY(-90deg); background: linear-gradient(270deg, #3a3741, #17161b); }
.cav-led {
  position: absolute; left: .8em; right: .8em; top: .3em; height: .38em; border-radius: .2em; transform: translateZ(-.9em);
  background: #fff; box-shadow: 0 0 .8em .25em rgba(236, 243, 255, .9), 0 2em 5em 1.4em rgba(236, 243, 255, .16);
}

.shelves { position: absolute; left: .5em; right: .5em; top: 1.3em; bottom: .25em; transform: translateZ(-3.2em); transform-style: preserve-3d; display: grid; grid-template-rows: repeat(6, 1fr); }
.shelf { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); align-items: end; transform-style: preserve-3d; }
.shelf::before { content: ''; position: absolute; left: -.5em; right: -.5em; top: 0; bottom: 1.3em; background: linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, 0) 45%); pointer-events: none; }
.tray { position: absolute; left: -.5em; right: -.5em; bottom: 1.3em; height: 4.8em; transform-origin: bottom; transform: rotateX(90deg); background: linear-gradient(0deg, #55515e, #26242b); pointer-events: none; }
.rail {
  position: absolute; left: -.5em; right: -.5em; bottom: 0; height: 1.3em; border-radius: .12em; pointer-events: none;
  background: linear-gradient(180deg, #5d5a66 0, #2b2931 .22em, #19181d 100%); box-shadow: 0 .35em .7em rgba(0, 0, 0, .6);
}
.rail::after { content: ''; position: absolute; left: 0; right: 0; top: 0; height: .1em; background: rgba(255, 255, 255, .45); }

.product {
  position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
  background: none; border: 0; padding: 0; margin: 0; cursor: pointer; height: 100%;
  transition: opacity .5s var(--ease), filter .5s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.product .p-svg {
  width: 5.3em; height: 6.36em; margin-bottom: -.1em; will-change: transform;
  transform-origin: 50% 100%;
  transition: translate .45s cubic-bezier(.3, 1.7, .5, 1), scale .45s cubic-bezier(.3, 1.7, .5, 1), rotate .45s cubic-bezier(.3, 1.7, .5, 1), opacity .3s;
  filter: drop-shadow(0 .28em .22em rgba(0, 0, 0, .55));
}
.product .p-code {
  position: relative; z-index: 1; align-self: flex-start; margin: .2em 0 .14em .45em; height: 1em; min-width: 2.3em; padding: 0 .35em; border-radius: .15em;
  font-family: var(--f-body); font-weight: 600; font-size: .7em; line-height: 1em; letter-spacing: .03em; text-align: left;
  background: #f4f1eb; color: #1b1a1f; transition: background-color .3s, color .3s;
}
.product::before {
  content: ''; position: absolute; left: 50%; bottom: 1.2em; width: 5.4em; height: 5.4em; margin-left: -2.7em;
  border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 244, 214, .5), rgba(255, 244, 214, 0));
  opacity: 0; transform: scale(.6); transition: opacity .35s, transform .45s var(--ease);
}
.product:hover .p-svg, .product:focus-visible .p-svg { translate: 0 -.55em; scale: 1.16; rotate: -3deg; }
.product:hover::before, .product:focus-visible::before { opacity: 1; transform: scale(1); }
.product:hover .p-code, .product:focus-visible .p-code { background: var(--yellow); color: var(--ink); }
.product:focus-visible { outline: none; }
.product.is-out .p-svg { opacity: 0; scale: .5; }
.machine.filtering .product:not(.match) { opacity: .24; filter: saturate(.3); }
.machine.filtering .product.match .p-code { background: var(--hl, var(--yellow)); color: var(--ink); }

.fan-blades { transform-origin: 30px 30px; }
.product:hover .fan-blades, .spot-slot .fan-blades { animation: spin .5s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Glasscheibe mit Reflexionen (Werte kommen live aus dem 3D-Loop) */
.glass {
  position: absolute; inset: 0; transform: translateZ(-.3em); pointer-events: none; overflow: hidden; opacity: .8; will-change: opacity;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, 0) 7%),
    linear-gradient(112deg, rgba(255, 255, 255, 0) calc(6% + var(--gl, 0) * 1%), rgba(255, 255, 255, .17) calc(16% + var(--gl, 0) * 1%), rgba(255, 255, 255, .05) calc(25% + var(--gl, 0) * 1%), rgba(255, 255, 255, 0) calc(33% + var(--gl, 0) * 1%)),
    linear-gradient(112deg, rgba(255, 255, 255, 0) calc(56% + var(--gl, 0) * 1.4%), rgba(255, 255, 255, .1) calc(61% + var(--gl, 0) * 1.4%), rgba(255, 255, 255, 0) calc(69% + var(--gl, 0) * 1.4%)),
    linear-gradient(0deg, rgba(205, 220, 240, .07), rgba(205, 220, 240, 0) 30%);
  box-shadow: inset 0 0 0 .08em rgba(255, 255, 255, .28), inset 0 0 2.4em rgba(0, 0, 0, .4);
}
.g-spot { position: absolute; left: 38%; top: 22%; width: 28em; height: 28em; margin: -14em 0 0 -14em; will-change: transform; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 255, 255, .17), rgba(255, 255, 255, 0)); }
.g-streak { position: absolute; top: -10%; bottom: -10%; width: .55em; left: calc(74% + var(--gl, 0) * 1.6%); transform: rotate(13deg); background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .3) 40%, rgba(255, 255, 255, 0)); }

/* Fensterrahmen + Gehäusekante + Füße */
.win-frame {
  position: absolute; left: 3.4em; top: 9.2em; width: 30.1em; height: 55.1em; transform: translateZ(.06em); pointer-events: none;
  border: .95em solid #151418; border-radius: .7em;
  box-shadow: 0 0 0 .14em #a39d95, 0 0 0 .3em #ebe4d8, 0 .3em .7em .2em rgba(60, 40, 20, .2), inset 0 0 0 .1em rgba(255, 255, 255, .14), inset 0 .6em 1.2em rgba(0, 0, 0, .55);
}
.cab-edge {
  position: absolute; inset: 0; border-radius: .7em; pointer-events: none; transform: translateZ(.04em);
  box-shadow: inset 0 0 0 .3em #ddd6ca, inset 0 0 0 .42em #b9b1a5, inset .6em .6em .7em -.4em rgba(255, 255, 255, .8);
}
/* Unterseite + 4 Standfüße (je zwei gekreuzte Flächen → wirken aus jedem Winkel rund) */
.face.bottom { width: 48em; height: 32em; top: 23em; transform: rotateX(-90deg) translateZ(39em); background: #3a3530; border-radius: .6em; }
/* Nivellierfüße: Anschraubteller · Gewindestange · Mutter · Standteller · Bodenschatten.
   Runde Teile = 4 um 45° gedrehte Flächen → wirken aus jedem Blickwinkel zylindrisch. */
.leg { position: absolute; left: var(--lx); top: 78em; width: 0; height: 2.8em; transform: translateZ(var(--lz)); transform-style: preserve-3d; pointer-events: none; }
.cyl { position: absolute; left: 0; top: var(--y); transform-style: preserve-3d; }
.cyl i { position: absolute; top: 0; left: calc(var(--w) / -2); width: var(--w); height: var(--h); border-radius: var(--r, 0); background: var(--bg); }
.cyl i:nth-child(2) { transform: rotateY(45deg); }
.cyl i:nth-child(3) { transform: rotateY(90deg); }
.cyl i:nth-child(4) { transform: rotateY(135deg); }
.disc { position: absolute; left: calc(var(--d) / -2); top: calc(var(--y) - var(--d) / 2); width: var(--d); height: var(--d); border-radius: 50%; transform: rotateX(90deg); background: var(--bg); }
.leg .collar { --w: 3.6em; --h: .42em; --r: .12em; --bg: linear-gradient(90deg, #4f4b46, #8f8a83 30%, #c9c5bf 48%, #8a857e 68%, #4a4641); }
.leg .shaft  { --w: 1.25em; --h: 1.35em; --bg: repeating-linear-gradient(180deg, rgba(0, 0, 0, .18) 0 .08em, rgba(255, 255, 255, 0) .08em .2em), linear-gradient(90deg, #6d6964, #bcb8b2 28%, #f5f3ef 46%, #aaa6a0 66%, #5d5954); }
.leg .nut    { --w: 2.1em; --h: .5em; --r: .08em; --bg: linear-gradient(90deg, #7a766f, #dedbd6 40%, #fbfaf8 50%, #b3afa8 62%, #6c6862); }
.leg .pad    { --w: 4em; --h: .72em; --r: .15em .15em .35em .35em; --bg: linear-gradient(180deg, rgba(255, 255, 255, .0) 0 62%, #2e2b28 62%), linear-gradient(90deg, #77736d, #d6d3ce 34%, #f7f6f3 48%, #b5b1ab 64%, #6a6660); }
.leg .pad-top { --d: 4em; --bg: radial-gradient(circle at 42% 40%, #fbfaf7, #cfcbc5 45%, #8c8882 100%); }
.leg .floor  { --d: 8.5em; --bg: radial-gradient(closest-side, rgba(40, 28, 18, .55), rgba(40, 28, 18, .22) 45%, rgba(40, 28, 18, 0)); }
.leg.back .cyl i, .leg.back .pad-top { filter: brightness(.72); }

/* Touch-Display */
.m-display {
  position: absolute; left: 36.3em; top: 11em; width: 10em; height: 22.4em; z-index: 3; border-radius: 1.1em; padding: .8em .6em 1.2em;
  background: linear-gradient(145deg, #2e2c33, #0f0e12 55%, #1f1d23);
  box-shadow: 0 0 0 .16em #8f8b93, 0 0 0 .32em #e6dfd4, 0 .9em 1.5em -.4em rgba(0, 0, 0, .5), inset 0 .1em .1em rgba(255, 255, 255, .22);
}
.m-display::before { content: ''; position: absolute; top: .3em; left: 50%; width: .3em; height: .3em; margin-left: -.15em; border-radius: 50%; background: #3a3842; }
.d-screen {
  position: relative; width: 100%; height: 100%; border-radius: .45em; overflow: hidden;
  background: linear-gradient(180deg, #fffdf8, #f6efe3); text-align: center; font-family: var(--f-body);
  display: flex; align-items: center; justify-content: center; padding: .8em .6em;
  box-shadow: 0 0 1.4em rgba(255, 246, 228, .3);
}
.d-glare {
  position: absolute; inset: .8em .6em 1.2em; border-radius: .45em; pointer-events: none;
  background:
    linear-gradient(128deg, rgba(255, 255, 255, .4) 0%, rgba(255, 255, 255, 0) 34%),
    linear-gradient(128deg, rgba(255, 255, 255, 0) calc(55% + var(--gl, 0) * .9%), rgba(255, 255, 255, .22) calc(60% + var(--gl, 0) * .9%), rgba(255, 255, 255, 0) calc(67% + var(--gl, 0) * .9%));
}
.d-view { display: flex; flex-direction: column; align-items: center; gap: .45em; width: 100%; }
.d-logo { font-size: 2.7em; }
.d-sub { font-family: var(--f-head); font-weight: 600; font-size: 1.15em; line-height: 1.1; color: var(--ink); text-align: left; align-self: flex-start; margin-left: .5em; }
.d-sub svg { display: inline-block; width: .8em; height: .8em; vertical-align: -.05em; margin-left: .15em; }
.d-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: .6em; margin-top: 1em; width: 100%; }
.d-tiles span { aspect-ratio: 1; border-radius: .7em; background: var(--c); color: #fff; padding: .75em; display: grid; box-shadow: inset 0 -.2em 0 rgba(0, 0, 0, .08); }
.d-tiles .ico { stroke-width: 2; }
.d-ic { width: 3.6em; height: 3.6em; border-radius: .9em; background: var(--c); color: #fff; padding: .75em; display: grid; margin-bottom: .3em; }
.d-title { font-family: var(--f-head); font-weight: 700; font-size: 1.35em; line-height: 1.05; color: var(--ink); }
.d-small { font-size: .85em; color: var(--ink-2); line-height: 1.25; }
.d-thumb { width: 5.4em; height: 6.5em; }
.d-thumb svg { width: 100%; height: 100%; }
.d-pay { display: inline-flex; align-items: center; gap: .3em; margin-top: .4em; font-size: .8em; font-weight: 600; padding: .3em .65em; border-radius: 999px; background: var(--yellow); color: var(--ink); }
.d-pay .ico { width: 1.1em; height: 1.1em; }

/* Kartenleser (nur Karte, kein Münzschlitz) */
.m-reader {
  position: absolute; left: 38.2em; top: 35.5em; width: 5.8em; height: 7em; z-index: 3; border-radius: .9em; padding: .55em;
  display: flex; flex-direction: column; gap: .4em; align-items: center;
  background: linear-gradient(160deg, #ffe2a6, #f2c374 45%, #d8a142);
  box-shadow: inset 0 .12em .1em rgba(255, 255, 255, .75), inset 0 -.25em .35em rgba(120, 70, 0, .28), 0 .6em 1em -.3em rgba(100, 60, 10, .5), 0 0 0 .1em #c69535;
}
.r-top { position: relative; width: 100%; height: 1.05em; border-radius: .3em; background: #1b1a1f; box-shadow: inset 0 .1em .2em rgba(0, 0, 0, .6); }
.r-led { position: absolute; right: .35em; top: 50%; width: .42em; height: .42em; margin-top: -.21em; border-radius: 50%; background: #7fd18b; box-shadow: 0 0 .5em #7fd18b; }
.r-pad { flex: 1; width: 100%; border-radius: .5em; background: radial-gradient(circle at 30% 20%, #3c3a42, #141317); color: #fff; padding: .85em; display: grid; box-shadow: inset 0 0 0 .1em rgba(255, 255, 255, .08); }
/* Ausgabefach: dunkler Schacht mit getönter Klappe und Griffleiste (ohne Animation) */
.m-flap {
  position: absolute; left: 36.8em; top: 51.2em; width: 9em; height: 8.6em; z-index: 3; border-radius: .9em; padding: .7em;
  background: linear-gradient(145deg, #2e2c33, #0f0e12 55%, #1f1d23);
  box-shadow: 0 0 0 .16em #8f8b93, 0 0 0 .32em #e6dfd4, 0 .7em 1.2em -.4em rgba(0, 0, 0, .45), inset 0 .1em .1em rgba(255, 255, 255, .2);
}
.m-flap-door {
  position: relative; display: block; width: 100%; height: 100%; border-radius: .45em; overflow: hidden;
  background: linear-gradient(180deg, #060508 0%, #17151b 55%, #322f38 100%);
  box-shadow: inset 0 1em 1.3em rgba(0, 0, 0, .9), inset 0 0 0 .1em rgba(255, 255, 255, .08);
}
.m-flap-door::before {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 76%;
  background: linear-gradient(160deg, rgba(255, 255, 255, .17), rgba(255, 255, 255, .02) 42%, rgba(255, 255, 255, .09));
  border-bottom: .14em solid rgba(255, 255, 255, .3);
}
.m-flap-door::after {
  content: ''; position: absolute; left: 27%; right: 27%; bottom: .55em; height: .5em; border-radius: .25em;
  background: linear-gradient(180deg, #d9d6d1, #8a8680); box-shadow: 0 .12em .2em rgba(0, 0, 0, .6);
}
.m-reader.pulse { animation: readerPulse 1.1s var(--ease) 2; }
@keyframes readerPulse { 0% { box-shadow: 0 0 0 0 rgba(242, 195, 116, .9); } 100% { box-shadow: 0 0 0 1.6em rgba(242, 195, 116, 0); } }

/* =========================================================
   Marquee
   ========================================================= */
.marquee { position: relative; padding: 70px 0; overflow: hidden; }
.mq-row { overflow: hidden; transform: rotate(-2deg); background: var(--blue); color: #fff; padding: 18px 0; }
.mq-row.alt { transform: rotate(1.5deg); background: var(--rose); color: #fff; margin-top: -10px; }
.mq-track { display: flex; align-items: center; gap: 34px; width: max-content; will-change: transform; }
.mq-track span { font-family: var(--f-head); font-weight: 800; font-size: clamp(30px, 4vw, 54px); line-height: 1; white-space: nowrap; }
.mq-track i { width: 26px; height: 26px; display: grid; color: var(--yellow); flex: none; }
.mq-track i .ico { fill: currentColor; }
.mq-row.alt i { color: #fff; }

/* =========================================================
   So geht's + Zahlen
   ========================================================= */
.how { padding: clamp(80px, 12vw, 150px) 0; }
.sec-head { text-align: center; max-width: 720px; margin: 0 auto 64px; }
.sec-head .lead { margin-inline: auto; }
.how-grid { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.how-line { position: absolute; left: 0; right: 0; top: 80px; width: 100%; height: 60px; z-index: 0; overflow: visible; }
.how-line path { fill: none; stroke: var(--ink); stroke-opacity: .25; stroke-width: 2.5; stroke-dasharray: 8 10; }
.how-card {
  position: relative; z-index: 1; background: var(--paper); border-radius: 30px; padding: 34px 30px 32px;
  border: 1px solid var(--line); box-shadow: var(--shadow); transition: translate .5s var(--ease), rotate .5s var(--ease);
}
.how-card:hover { translate: 0 -8px; rotate: -1deg; }
.how-n { position: absolute; top: 22px; right: 26px; font-family: var(--f-head); font-weight: 800; font-size: 64px; line-height: 1; color: var(--cl); }
.how-ico { width: 76px; height: 76px; border-radius: 24px; background: var(--c); color: #fff; padding: 20px; display: grid; margin-bottom: 26px; box-shadow: 0 14px 30px -14px var(--c); }
.how-card h3 { font-size: 28px; margin-bottom: 8px; }
.how-card p { color: var(--ink-2); font-size: 15px; }

.nums { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 90px; }
.num { text-align: center; padding: 26px 10px; border-top: 3px solid var(--c); }
.num b { font-family: var(--f-head); font-weight: 800; font-size: clamp(44px, 5vw, 72px); line-height: 1; color: var(--ink); }
.num p { color: var(--ink-2); font-size: 14px; margin-top: 8px; }

/* =========================================================
   Für Standorte
   ========================================================= */
.partner { padding: clamp(80px, 12vw, 150px) 0; }
.partner-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.places { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.places span { padding: 9px 16px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-size: 14px; font-weight: 500; box-shadow: var(--shadow-sm); }
.benefits { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.benefit { background: var(--paper); border-radius: 28px; padding: 28px 26px; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: translate .5s var(--ease), box-shadow .5s var(--ease); }
.benefit:nth-child(even) { margin-top: 34px; margin-bottom: -34px; }
.benefit:hover { box-shadow: var(--shadow); translate: 0 -6px; }
.b-ico { width: 56px; height: 56px; border-radius: 18px; background: var(--cl); color: var(--c); padding: 14px; display: grid; margin-bottom: 18px; }
.b-ico .ico { stroke-width: 2.2; }
.benefit h3 { font-size: 24px; margin-bottom: 6px; }
.benefit p { color: var(--ink-2); font-size: 14.5px; }

/* =========================================================
   CTA
   ========================================================= */
.cta { position: relative; padding: clamp(110px, 16vw, 200px) 0; text-align: center; overflow: hidden; }
.cta-inner { position: relative; z-index: 2; }
.cta-title { font-size: clamp(56px, 11vw, 170px); line-height: .9; }
.cta-title .w { display: inline-block; overflow: hidden; padding-bottom: .06em; vertical-align: top; }
.cta-title .w > span { display: inline-block; }
.cta-sub { font-family: var(--f-head); font-weight: 700; font-size: clamp(22px, 2.4vw, 32px); margin: 22px 0 36px; color: var(--ink-2); }
.cta-floats { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.cta-float { position: absolute; width: clamp(60px, 7vw, 110px); }
.cta-float svg { width: 100%; height: auto; filter: drop-shadow(0 14px 18px rgba(80, 60, 40, .22)); animation: bob 5s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-14px) rotate(4deg); } }

/* =========================================================
   Kontakt
   ========================================================= */
.contact { padding: clamp(80px, 12vw, 150px) 0 clamp(80px, 10vw, 130px); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact-info { position: sticky; top: 110px; }
.contact-points { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 12px; }
.contact-points li { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.contact-points li span { width: 26px; height: 26px; border-radius: 50%; background: var(--green); color: #fff; padding: 5px; display: grid; flex: none; }
.contact-points .ico { stroke-width: 3; }
.mail-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 30px; font-family: var(--f-head); font-weight: 700; font-size: 24px; text-decoration: none; border-bottom: 2px solid var(--rose); padding-bottom: 2px; }
.mail-link span { width: 24px; height: 24px; display: grid; color: var(--rose); }

.form-card { position: relative; background: var(--paper); border-radius: 34px; padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow); border: 1px solid var(--line); overflow: hidden; }
.form-card::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: linear-gradient(90deg, var(--rose) 0 25%, var(--blue) 25% 50%, var(--yellow) 50% 75%, var(--green) 75%); }
.f-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field-full { grid-column: 1 / -1; }
.field { position: relative; }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; font-size: 15px; color: var(--ink);
  padding: 24px 16px 9px; border-radius: 16px; border: 1.5px solid var(--line); background: #fff;
  outline: none; transition: border-color .25s, box-shadow .25s; appearance: none; -webkit-appearance: none;
}
.field textarea { resize: vertical; min-height: 120px; }
.field label {
  position: absolute; left: 17px; top: 17px; font-size: 15px; color: var(--ink-2); pointer-events: none;
  transform-origin: left top; transition: transform .25s var(--ease), color .25s;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-l); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field.select label { transform: translateY(-10px) scale(.78); color: var(--blue-d); }
.field.select::after { content: ''; position: absolute; right: 18px; top: 26px; width: 8px; height: 8px; border-right: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2); transform: rotate(45deg); pointer-events: none; }
.field input:user-invalid, .field textarea:user-invalid { border-color: var(--rose); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.types { border: 0; padding: 0; margin: 6px 0 2px; display: flex; flex-wrap: wrap; gap: 8px; }
.types legend { font-size: 14px; font-weight: 600; margin-bottom: 10px; padding: 0; }
.types label { position: relative; cursor: pointer; }
.types input { position: absolute; opacity: 0; }
.types span { display: inline-block; padding: 9px 15px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-size: 14px; transition: all .25s var(--ease); }
.types label:hover span { border-color: var(--rose); }
.types input:checked + span { background: var(--rose); border-color: var(--rose); color: #fff; transform: scale(1.04); }
.types input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }

.check { display: flex; gap: 12px; align-items: flex-start; font-size: 13.5px; color: var(--ink-2); cursor: pointer; margin-top: 4px; }
.check input { position: absolute; opacity: 0; }
.check .box { flex: none; width: 22px; height: 22px; border-radius: 7px; border: 1.5px solid #cfc6b8; background: #fff; color: transparent; padding: 3px; display: grid; transition: all .2s; margin-top: 1px; }
.check .box .ico { stroke-width: 3.2; }
.check input:checked + .box { background: var(--green); border-color: var(--green); color: #fff; }
.check input:focus-visible + .box { outline: 3px solid var(--blue); outline-offset: 2px; }

.f-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 26px; }
.btn[disabled] { opacity: .6; pointer-events: none; }
.form-status { font-size: 14px; color: var(--ink-2); }
.form-status.err { color: var(--rose-d); }

.form-success { text-align: center; padding: 60px 10px; }
.form-success .ok { width: 84px; height: 84px; border-radius: 50%; background: var(--green); color: #fff; padding: 20px; display: grid; margin: 0 auto 22px; }
.form-success .ok .ico { stroke-width: 3; }
.form-success h3 { font-size: 38px; margin-bottom: 10px; }
.form-success p { color: var(--ink-2); }

/* Unterseiten: Impressum & Datenschutz */
.legal { padding: calc(var(--nav-h) + 56px) 0 100px; }
.legal-card { position: relative; overflow: hidden; max-width: 880px; margin: 0 auto; background: var(--paper); border: 1px solid var(--line); border-radius: 34px; padding: clamp(28px, 6vw, 68px); box-shadow: var(--shadow); }
.legal-card::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: linear-gradient(90deg, var(--rose) 0 25%, var(--blue) 25% 50%, var(--yellow) 50% 75%, var(--green) 75%); }
.legal-back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 26px; font-size: 14px; font-weight: 600; text-decoration: none; color: var(--ink-2); transition: color .3s, translate .3s var(--ease); }
.legal-back:hover { color: var(--ink); translate: -3px 0; }
.legal h1 { font-size: clamp(40px, 6vw, 68px); margin-bottom: 8px; }
.legal .stand { color: var(--ink-2); font-size: 14px; margin-bottom: 8px; }
.legal h2 { font-size: clamp(22px, 2.4vw, 28px); line-height: 1.15; margin: 40px 0 12px; }
.legal p, .legal li { color: var(--ink-2); font-size: 16px; }
.legal p { margin: 0 0 14px; }
.legal address { font-style: normal; color: var(--ink-2); margin: 0 0 14px; }
.legal strong { color: var(--ink); font-weight: 600; }
.legal ul { margin: 0 0 14px; padding-left: 1.2em; display: grid; gap: 6px; }
.legal li::marker { color: var(--rose); }
.legal a:not(.legal-back) { color: var(--blue-d); text-underline-offset: 3px; word-break: break-word; }

/* Footer */
.footer { padding: 50px 0 40px; border-top: 1px solid var(--line); }
.foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.foot-logo { font-size: 40px; }
.foot p { color: var(--ink-2); font-size: 14px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 24px; font-size: 14px; }
.foot-links a { text-decoration: none; }
.foot-links a:hover { text-decoration: underline; }
.copy .sep { margin: 0 6px; opacity: .6; }
.copy .credit { color: inherit; text-decoration: none; font-weight: 500; transition: color .3s; }
.copy .credit:hover { color: var(--ink); text-decoration: underline; }

/* =========================================================
   Spotlight + Fly
   ========================================================= */
.spot { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; }
.spot[hidden] { display: none; }
.spot-backdrop { position: absolute; inset: 0; background: rgba(252, 248, 242, .72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.spot-card {
  position: relative; width: min(820px, 100%); display: grid; grid-template-columns: 1fr 1.1fr; gap: 30px; align-items: center;
  background: var(--paper); border-radius: 34px; padding: 26px; box-shadow: 0 40px 100px -30px rgba(60, 45, 30, .45); border: 1px solid var(--line);
}
.spot-close { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--cream); font-size: 24px; line-height: 1; cursor: pointer; z-index: 2; transition: transform .3s var(--ease); }
.spot-close:hover { transform: rotate(90deg); }
.spot-visual { position: relative; aspect-ratio: 1; border-radius: 26px; background: var(--cl, var(--rose-l)); display: grid; place-items: center; overflow: hidden; transition: background-color .5s; }
.spot-ring { position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%; border: 2px dashed rgba(53, 50, 63, .18); animation: spin 22s linear infinite; }
.spot-slot { position: relative; width: 50%; aspect-ratio: 60 / 72; }
.spot-slot svg { width: 100%; height: 100%; filter: drop-shadow(0 22px 20px rgba(60, 45, 30, .28)); }
.spot-info h3 { font-size: clamp(34px, 4vw, 48px); margin: 14px 0 10px; }
.spot-info p { color: var(--ink-2); }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: var(--cl); font-size: 13px; font-weight: 600; }
.chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.spot-meta { display: flex; gap: 12px; margin: 22px 0; }
.spot-meta div { flex: 1 1 0; background: var(--cream); border-radius: 16px; padding: 12px 14px; }
.spot-meta div[hidden] { display: none; }
.spot-meta div:last-child { flex-grow: 1.4; }
.spot-meta small { display: block; font-size: 12px; color: var(--ink-2); }
.spot-meta b { font-family: var(--f-head); font-size: 20px; }
.spot-nav { display: flex; gap: 8px; }
.spot-nav .btn { width: 46px; height: 46px; padding: 0; justify-content: center; font-size: 18px; }

.fly-layer, .confetti-layer { position: fixed; inset: 0; pointer-events: none; z-index: 120; }
.fly { position: absolute; left: 0; top: 0; will-change: transform; }
.fly svg { width: 100%; height: 100%; filter: drop-shadow(0 20px 18px rgba(60, 45, 30, .3)); }
.confetti-layer i { position: absolute; width: 10px; height: 14px; border-radius: 3px; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1000px) {
  .nav-links { display: none; }
  .how-grid, .nums { grid-template-columns: 1fr 1fr; }
  .how-line { display: none; }
  .partner-grid, .contact-grid { grid-template-columns: 1fr; }
  .contact-info { position: static; }
}

@media (max-width: 900px) {
  :root { --nav-h: 60px; }
  .nav-logo { font-size: 28px; }
  .story-grid { grid-template-columns: 1fr; padding: 0; }
  .stage-wrap {
    grid-column: 1; grid-row: 1; z-index: 5; height: 60vh; height: 60svh;
    padding-top: var(--nav-h); gap: 4px;
    background: var(--bgc); transition: background-color .9s var(--ease);
  }
  .stage-wrap::after { content: ''; position: absolute; left: 0; right: 0; top: 100%; height: 36px; background: linear-gradient(var(--bgc), transparent); pointer-events: none; }
  .stage {
    --m: min(calc((100vw - 24px) / 62), calc((60vh - 90px) / 90));
    --m: min(calc((100vw - 24px) / 62), calc((60svh - 90px) / 90));
  }
  .cat-chips { display: none; }
  .steps { grid-row: 2; padding: 0 16px; }
  .step { min-height: 62vh; align-items: flex-start; padding: 24px 0; }
  .step-hero { min-height: auto; padding: 16px 0 60px; }
  .step-intro { min-height: auto; padding: 40px 0; }
  .hero-title { font-size: clamp(52px, 15vw, 84px); }
  .hero-facts { gap: 22px; }
  .scroll-cue { display: none; }
  .step-card { padding: 26px 22px 24px; }
  .spot-card { grid-template-columns: 1fr; gap: 16px; padding: 18px; max-height: calc(100svh - 32px); overflow: auto; }
  .spot-visual { aspect-ratio: auto; height: 220px; }
  .spot-slot { width: auto; height: 78%; }
}

@media (max-width: 600px) {
  .how-grid, .nums, .benefits, .f-grid { grid-template-columns: 1fr; }
  .benefit:nth-child(even) { margin: 0; }
  .nums { grid-template-columns: 1fr 1fr; }
  .hero-cta .btn { flex: 1 1 auto; justify-content: center; }
  .btn-sm { padding: .7em 1em; font-size: 13px; }
}

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