/* =========================================================
   Anastasiia — Version 5
   Based on the "Hey Creator" UGC template (video-first),
   refined for a German social-media manager.
   ========================================================= */
/* Inter, self-hosted (no request to Google Fonts → no visitor IP sent to Google).
   Variable fonts from Google Fonts v20, Latin + Latin-ext subsets only. */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("assets/fonts/inter-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("assets/fonts/inter-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: italic; font-weight: 500 600; font-display: swap; src: url("assets/fonts/inter-italic-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: italic; font-weight: 500 600; font-display: swap; src: url("assets/fonts/inter-italic-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
:root {
  --bg: #EEE6D8;           /* beige page background */
  --white: #F8F3EA;        /* light beige: alternating sections + surfaces */
  --ink: #161310;
  --ink-2: #4A433B;
  --muted: #675E54;        /* warm grey, keeps AA contrast on beige */
  --line: rgba(60, 42, 20, .12);
  --dark: #3A3733;         /* warm graphite grey for the dark sections */
  --dark-2: #45413C;
  --blue: #3550F0;
  --radius: 22px;
  --pad: clamp(20px, 4vw, 40px);
  --section: clamp(88px, 11vw, 150px);
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--font); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
p { margin: 0; text-wrap: pretty; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.035em; line-height: 1.02; text-wrap: balance; }
h2 { font-size: clamp(36px, 5vw, 60px); }
em { font-style: italic; font-weight: 600; color: var(--blue); }
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 8px; }
.wrap { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: var(--pad); }
.muted { color: var(--muted); }

/* ---------- buttons ----------
   Liquid fill (from version 2): a soft blob grows from where the cursor
   entered and drains back towards where it left. JS sets --x / --y and
   toggles .is-filled; the motion itself is a CSS transform. */
.btn {
  --fill: var(--blue); --fill-text: #fff;
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center;
  height: 52px; padding: 0 26px; border-radius: 999px;
  font-weight: 500; font-size: 16px; white-space: nowrap; cursor: pointer;
  border: 1px solid transparent;
  -webkit-tap-highlight-color: transparent;
  transition: transform 160ms var(--ease), color 300ms ease, border-color 300ms ease;
}
.btn::before {
  content: ""; position: absolute; z-index: -1;
  left: var(--x, 50%); top: var(--y, 50%);
  width: 260%; aspect-ratio: 1;
  margin: -130% 0 0 -130%;              /* % margins resolve against width → centred on (x, y) */
  border-radius: 44% 56% 52% 48% / 52% 46% 54% 48%;
  background: var(--fill);
  transform: scale(0) rotate(-40deg);
  transition: transform 650ms var(--ease);
  pointer-events: none;
}
.btn.is-filled::before { transform: scale(1) rotate(0deg); transition-duration: 750ms; }
.btn.is-filled { color: var(--fill-text); }
.btn:active { transform: scale(0.97); }
.btn--sm { height: 44px; padding: 0 20px; font-size: 15px; }
.btn--block { width: 100%; }
.btn--dark  { background: var(--ink); color: #fff; }
.btn--light { background: #fff; color: var(--ink); }
.btn--ghost { --fill: var(--ink); border-color: var(--line); color: var(--ink); background: transparent; }
.btn--ghost.is-filled { border-color: var(--ink); }
/* keyboard users get the same fill without the pointer */
.btn:focus-visible::before { transform: scale(1) rotate(0deg); }
.btn:focus-visible { color: var(--fill-text); }
.round {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--white); cursor: pointer;
  display: grid; place-items: center; font-size: 17px;
  transition: transform 160ms var(--ease), border-color 200ms ease;
}
.round:active { transform: scale(0.94); }
@media (hover: hover) { .round:hover { border-color: var(--ink); } }

/* ---------- nav: floating pill bar ---------- */
.nav { position: fixed; top: 10px; left: 0; right: 0; z-index: 50; padding-inline: var(--pad); pointer-events: none; }
.nav__bar {
  pointer-events: auto;
  max-width: 1100px; margin: 0 auto; height: 66px; padding: 0 10px 0 22px;
  display: flex; align-items: center; gap: 20px;
  background: rgba(248, 243, 234, .86); border: 1px solid var(--line); border-radius: 22px;
  -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px);
}
.nav__logo img { height: 38px; width: auto; }
.nav__links { display: flex; gap: 26px; margin-left: auto; font-size: 15px; color: var(--ink-2); }
@media (hover: hover) { .nav__links a:hover { color: var(--ink); } }
/* language switch: DE | EN */
.lang { display: flex; padding: 3px; border: 1px solid var(--line); border-radius: 999px; }
.lang button {
  appearance: none; border: 0; background: transparent; cursor: pointer;
  min-width: 36px; padding: 9px 10px; border-radius: 999px;
  font: 600 12px/1 var(--font); letter-spacing: .06em; color: var(--muted);
  transition: background-color 200ms ease, color 200ms ease, transform 160ms var(--ease);
}
.lang button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.lang button:active { transform: scale(.94); }
@media (hover: hover) { .lang button[aria-pressed="false"]:hover { color: var(--ink); } }

/* ---------- hero ---------- */
.hero { /* hero + ticker always fit the first screen */
  min-height: 100svh; padding-top: 104px; display: flex; flex-direction: column;
  position: relative; isolation: isolate; overflow-x: clip;  /* side cards + glow never widen the page */
}  /* side cards + glow never widen the page */
.hero::before { /* dotted ground like the template */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: radial-gradient(rgba(60,42,20,.1) 1px, transparent 1px);
  background-size: 18px 18px;
  -webkit-mask-image: linear-gradient(#000 60%, transparent); mask-image: linear-gradient(#000 60%, transparent);
}
.hero::after { /* soft blue glow behind the stack */
  content: ""; position: absolute; z-index: -1; right: 10%; top: 22%; width: 520px; height: 520px;
  background: radial-gradient(closest-side, rgba(53, 80, 240, .12), transparent);
}
.hero__grid { flex: 1; display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.hero__copy { container-type: inline-size; }
/* one phrase per line; size follows the column so "Mehr Sichtbarkeit," never wraps */
.hero h1 { font-size: min(88px, 12.4cqi); line-height: 1.04; }
.hero h1 > span { display: block; white-space: nowrap; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }

/* reel card (phone-like) */
.card {
  position: relative; margin: 0;
  aspect-ratio: 9 / 16; border-radius: 22px; overflow: hidden;
  background: #222; box-shadow: 0 30px 60px -30px rgba(0,0,0,.45);
}
.card video { width: 100%; height: 100%; object-fit: cover; }
.card figcaption {
  position: absolute; inset: 0; pointer-events: none;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 14px 16px 16px; color: #fff;
  background: linear-gradient(rgba(0,0,0,.28), transparent 25%, transparent 65%, rgba(0,0,0,.5));
}
.card__who { font-size: 12px; opacity: .9; display: flex; align-items: center; gap: 6px; }
.card__who::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); }
.card b { font-weight: 600; font-size: 15px; margin-top: auto; }
.card__bar { display: block; height: 3px; margin-top: 12px; border-radius: 3px; background: rgba(255,255,255,.35); position: relative; }
.card__bar::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: #fff; transform-origin: left; transform: scaleX(var(--p, 0)); transition: transform 260ms linear; }
.card__bar::before { content: ""; position: absolute; z-index: 1; left: calc(var(--p, 0) * (100% - 9px)); top: -3px; width: 9px; height: 9px; border-radius: 50%; background: var(--blue); transition: left 260ms linear; }
.card::after { /* play glyph */
  content: ""; position: absolute; left: 50%; top: 50%; width: 54px; height: 54px; margin: -27px 0 0 -27px; border-radius: 50%;
  background: rgba(255,255,255,.85) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5.5v13l11-6.5z' fill='%23121212'/%3E%3C/svg%3E") center / 20px no-repeat;
  transition: opacity 200ms ease, transform 200ms var(--ease); pointer-events: none;
}
.card.is-playing::after { opacity: 0; transform: scale(.9); }

/* stack */
.stack { position: relative; display: flex; flex-direction: column; align-items: center; }
.stack__cards { position: relative; width: clamp(200px, calc((100svh - 330px) * 9 / 16), 300px); aspect-ratio: 9 / 16; touch-action: pan-y; cursor: grab; user-select: none; }
.stack__cards:active { cursor: grabbing; }
.stack .card {
  position: absolute; inset: 0;
  transition: transform 520ms var(--ease), opacity 400ms ease, filter 400ms ease;
  will-change: transform;
}
.stack__ctrl { display: flex; align-items: center; gap: 14px; margin-top: 22px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

/* ticker */
.ticker { width: 100%; max-width: 1180px; margin: 24px auto 0; padding: 14px var(--pad) 26px; display: flex; align-items: center; gap: 40px; }
.ticker__mask { overflow: hidden; flex: 1; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.ticker__track { list-style: none; margin: 0; padding: 0; display: flex; width: max-content; animation: tick 30s linear infinite; }
.ticker__track li { padding: 0 34px; font-size: 26px; font-weight: 600; letter-spacing: -0.03em; color: #A3998C; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { padding: var(--section) 0; }
.section--white { background: var(--white); }
.section--dark { background: var(--dark); color: #fff; }
.split-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 48px; }
.split-head p { max-width: 330px; color: var(--muted); }


/* dark services */
.dark-title { font-size: clamp(34px, 4.6vw, 56px); max-width: 760px; margin-bottom: 56px; }
.dark-title em { color: #7D8CFF; }
.services { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.acc details { border-top: 1px solid rgba(255,255,255,.12); }
.acc details:last-child { border-bottom: 1px solid rgba(255,255,255,.12); }
.acc summary {
  list-style: none; cursor: pointer; padding: 22px 0;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  font-size: 19px; font-weight: 500;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; font-weight: 300; font-size: 26px; line-height: 1; transition: transform 250ms var(--ease); }
.acc details[open] summary::after { transform: rotate(45deg); }
.acc details p { padding: 0 40px 24px 0; color: rgba(255,255,255,.68); }
.acc--light details { border-color: var(--line) !important; }
.acc--light details p { color: var(--muted); }
.showcase { background: var(--dark-2); border: 1px solid rgba(255,255,255,.08); border-radius: 28px; padding: 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: center; }
.showcase__media { aspect-ratio: 9 / 16; border-radius: 18px; overflow: hidden; background: #2a2a2a; }
.showcase__media video, .showcase__media img { width: 100%; height: 100%; object-fit: cover; animation: fade 400ms ease; }
@keyframes fade { from { opacity: 0; } }
.showcase__facts { list-style: none; margin: 0; padding: 0 8px; display: grid; gap: 26px; }
.showcase__facts b { display: block; font-size: clamp(40px, 4.4vw, 56px); font-weight: 600; letter-spacing: -0.04em; line-height: 1; }
.showcase__facts span { display: block; margin-top: 8px; font-size: 14px; color: rgba(255,255,255,.62); }

/* about */
.about { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
/* profile card tilts towards the cursor / finger (driven by main.js) */
.tilt { max-width: 380px; perspective: 900px; touch-action: pan-y; -webkit-tap-highlight-color: transparent; }
.profile {
  position: relative; background: #fff; border-radius: 26px; padding: 10px;
  box-shadow: 0 1px 0 var(--line), 0 24px 50px -30px rgba(0,0,0,.3);
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) scale(var(--s, 1));
  transform-style: preserve-3d;
}
.tilt.is-live .profile { will-change: transform; }
.profile img { width: 100%; height: auto; aspect-ratio: 4 / 4.4; object-fit: cover; object-position: 60% 25%; border-radius: 18px; transform: translateZ(18px); }
.profile__foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 8px 6px; transform: translateZ(10px); }
.profile__glare { /* soft light that follows the pointer */
  position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 30%), rgba(255,255,255,.45), rgba(255,255,255,0) 27.5%);
  opacity: var(--go, 0); transform: translateZ(19px);
}
.profile__foot b { display: block; font-weight: 600; }
.profile__foot span { font-size: 13px; color: var(--muted); }
.about__copy h2 { margin-bottom: 26px; }
.about__copy p { color: var(--ink-2); max-width: 520px; }
.about__copy p + p { margin-top: 16px; }
.about__copy .about__sign { margin-top: 28px; font-style: italic; font-weight: 500; font-size: 21px; color: var(--ink); }

/* steps: sticky wheel that turns while you scroll (pattern from version 4) */
.flow { position: relative; }
.flow__grid { padding-block: var(--section); }
.flow__head { margin-bottom: 0; }
.wheel { display: none; }                       /* no JS: plain list */
.flow__list { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 28px; }
.step > span { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--bg); border: 1px solid var(--line); font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
.step h3 { font-size: clamp(28px, 3.2vw, 42px); margin: 22px 0 14px; }
.step p { font-size: 18px; color: var(--ink-2); max-width: 40ch; }
.step:last-child > span { background: var(--blue); color: #fff; border-color: var(--blue); }

.js .flow { height: calc(var(--n) * 80svh + 100svh); }
.js .flow__sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; display: flex; align-items: center; }
.js .flow__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  grid-template-areas: "head head" "wheel list";
  grid-template-rows: auto 1fr;
  align-items: center; column-gap: clamp(40px, 6vw, 100px);
  height: min(100svh, 900px);
  padding-top: 110px; padding-bottom: 40px;
}
.js .flow__head { grid-area: head; }
.js .wheel { grid-area: wheel; display: block; }
.js .flow__list { grid-area: list; margin: 0; gap: 0; }
.js .step { grid-area: 1 / 1; pointer-events: none; }
.js .step.is-active { pointer-events: auto; }
/* leaving: quick (180ms), no delay */
.js .step > * {
  opacity: 0; transform: translateY(14px); filter: blur(4px);
  transition: opacity 160ms var(--ease), transform 180ms var(--ease), filter 160ms var(--ease);
}
.js .step.is-before > * { transform: translateY(-14px); }        /* scrolled past: exits up, re-enters from above */
/* arriving: a bit slower, after the old one has gone; title first, text right behind */
.js .step.is-active > * {
  opacity: 1; transform: none; filter: none;
  transition: opacity 380ms var(--ease), transform 520ms var(--ease), filter 380ms var(--ease);
  transition-delay: 140ms;
}
.js .step.is-active > p { transition-delay: 300ms; }
.js .step > h3, .js .step.is-before > h3, .js .step.is-active > h3 { transform: none; filter: none; }

/* word-by-word reveal: each word rises out of its own mask (words split in main.js) */
.w { display: inline-block; vertical-align: top; overflow: clip; padding: 0 .04em .12em; margin: 0 -.04em -.12em; }
.w > span { display: inline-block; transform: translateY(110%); will-change: transform; }
/* step titles: arrive word by word, leave quickly upwards (or downwards when scrolling back) */
.js .step h3 .w > span { transition: transform 180ms var(--ease); }
.js .step.is-before h3 .w > span { transform: translateY(-110%); }
.js .step.is-active h3 .w > span {
  transform: none;
  transition: transform 620ms var(--ease);
  transition-delay: calc(var(--d0, 140ms) + var(--wi) * 55ms);
}
/* section heading: once, when the section first scrolls in */
.js .flow__head h2 .w > span { transition: transform 900ms var(--ease); transition-delay: calc(var(--wi) * 70ms); }
.js .flow.is-shown .flow__head h2 .w > span { transform: none; }
.js .step > span { display: none; }            /* the wheel already shows the number */
.js .step h3 { margin-top: 0; }

.wheel {
  --size: min(40vw, 56svh, 480px);
  --r: calc(var(--size) * .44);
  position: relative; width: var(--size); height: var(--size); justify-self: center;
}
.wheel__etch { position: absolute; inset: 0; width: 100%; height: 100%; }
.etch { fill: none; stroke: var(--line); stroke-width: 1; vector-effect: non-scaling-stroke; }
.etch--dash { stroke-dasharray: 2 6; }
.wheel__arc {
  fill: none; stroke: var(--blue); stroke-width: 2.2; stroke-linecap: round;
  stroke-dasharray: 3 100; transform: rotate(calc(var(--base, 0deg) + var(--arc-rot, -10.8deg))); transform-origin: 200px 200px;
  transition: stroke-dasharray 700ms var(--ease-in-out), transform 700ms var(--ease-in-out), opacity 500ms var(--ease);
}
.wheel__ring { position: absolute; inset: 0; transition: transform 700ms var(--ease-in-out); }
.wheel__node {
  --a: calc(var(--base, 0deg) + var(--i) * 72deg);
  position: absolute; left: 50%; top: 50%;
  width: 56px; height: 56px; margin: -28px 0 0 -28px;
  transform: rotate(var(--a)) translateX(var(--r)) rotate(calc(-1 * var(--a)));
  cursor: pointer; -webkit-tap-highlight-color: transparent;
  transition: opacity 400ms var(--ease), scale 600ms var(--ease);
}
.wheel__node b {
  display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%;
  background: var(--white); border: 1px solid var(--line);
  font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--muted);
  transition: transform 700ms var(--ease-in-out), scale 420ms var(--ease), background-color 250ms ease, border-color 250ms ease, color 250ms ease, box-shadow 250ms ease;
}
.wheel__node.is-done b { color: var(--ink); border-color: rgba(53, 80, 240, .35); }
.wheel__node.is-active b { scale: 1.12; background: var(--blue); border-color: var(--blue); color: #fff; box-shadow: 0 0 0 7px rgba(53, 80, 240, .14), 0 10px 26px -10px rgba(53, 80, 240, .6); transition-delay: 0ms, 380ms, 380ms, 380ms, 380ms, 380ms; }
@media (hover: hover) and (pointer: fine) { .wheel__node:not(.is-active):hover b { border-color: var(--ink); color: var(--ink); } }
.wheel__node:active b { scale: .94; transition-duration: 700ms, 140ms, 250ms, 250ms, 250ms, 250ms; transition-delay: 0ms; }   /* press feedback */
.wheel__pin { /* fixed marker where the active step locks in */
  position: absolute; top: 50%; left: calc(50% + var(--r) + 38px);
  width: 34px; height: 2px; border-radius: 2px; background: var(--blue);
  transform-origin: left center;
  transition: opacity 400ms var(--ease), scale 500ms var(--ease);
}
.wheel__center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; pointer-events: none; }
.wheel__count { display: block; font-size: clamp(56px, 7.5vw, 100px); font-weight: 600; letter-spacing: -0.05em; line-height: 1; font-variant-numeric: tabular-nums; }   /* rolled by WAAPI in main.js */
.wheel__etch, .wheel__center { transition: opacity 600ms var(--ease), transform 900ms var(--ease); }

/* first arrival: rings settle, nodes drop in one after another, then number + first step */
.js .flow:not(.is-shown) .wheel__etch { opacity: 0; transform: scale(.94) rotate(-8deg); }
.js .flow:not(.is-shown) .wheel__arc { opacity: 0; }
.js .flow:not(.is-shown) .wheel__node { opacity: 0; scale: .6; }
.js .flow:not(.is-shown) .wheel__pin { opacity: 0; scale: 0 1; }
.js .flow:not(.is-shown) .wheel__center { opacity: 0; transform: translateY(10px); }
.js .flow:not(.is-shown) .step.is-active > * { opacity: 0; transform: translateY(14px); filter: blur(4px); }
.js .flow.is-shown .wheel__node:nth-child(1) { transition-delay: 120ms; }
.js .flow.is-shown .wheel__node:nth-child(2) { transition-delay: 175ms; }
.js .flow.is-shown .wheel__node:nth-child(3) { transition-delay: 220ms; }
.js .flow.is-shown .wheel__node:nth-child(4) { transition-delay: 255ms; }
.js .flow.is-shown .wheel__node:nth-child(5) { transition-delay: 280ms; }
.js .flow.is-shown .wheel__center { transition-delay: 260ms; }
.js .flow.is-shown .wheel__pin { transition-delay: 380ms; }
.js .flow.is-shown .wheel__arc { transition-delay: 0ms, 0ms, 420ms; }
.js .flow.is-shown.is-entering .step.is-active > h3 { transition-delay: 360ms; --d0: 380ms; }
.js .flow.is-shown.is-entering .step.is-active > p { transition-delay: 560ms; }
.js .flow:not(.is-shown) .step.is-active h3 .w > span { transform: translateY(110%); }
.wheel__of { margin-top: 10px; font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }

/* more: tilted belt */
.more { overflow: hidden; }
.more__head { text-align: center; margin-bottom: 56px; }
.more__head p { color: var(--muted); max-width: 520px; margin: 18px auto 0; }
.belt { overflow: hidden; padding: 30px 0 40px; cursor: grab; touch-action: pan-y; }
.belt__track { display: flex; gap: 26px; width: max-content; will-change: transform; }
.belt .card { width: 230px; flex: none; transform: rotate(var(--tilt, 0deg)); }
.belt .card:nth-child(4n+1) { --tilt: -3deg; }
.belt .card:nth-child(4n+2) { --tilt: 2deg; margin-top: -14px; }
.belt .card:nth-child(4n+3) { --tilt: -1.5deg; margin-top: 10px; }
.belt .card:nth-child(4n) { --tilt: 2.5deg; }
.belt__ctrl { display: flex; justify-content: center; gap: 12px; }
.pause { height: 40px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); cursor: pointer; font-size: 13px; }
.pause[aria-pressed="true"] { background: var(--ink); color: #fff; }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.plan { background: #fff; border-radius: 26px; padding: 30px 28px 28px; display: flex; flex-direction: column; }
.plan h3 { font-size: 21px; letter-spacing: -0.02em; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.tag { font-size: 12px; font-weight: 500; letter-spacing: 0; padding: 6px 11px; border-radius: 999px; background: var(--blue); color: #fff; white-space: nowrap; }
.plan__price { font-size: 50px; font-weight: 600; letter-spacing: -0.04em; line-height: 1; margin: 22px 0 24px; font-variant-numeric: tabular-nums; }
.plan__price small { font-size: 15px; font-weight: 400; letter-spacing: 0; color: var(--muted); margin-left: 6px; }
.plan ul { list-style: none; margin: 0 0 28px; padding: 0; flex: 1; }
.plan li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 15px; }
.plan li span { color: var(--muted); }
.plan li b { font-weight: 500; text-align: right; }
.plan li.off { opacity: .55; }
.plan--dark { background: var(--dark); color: #fff; }
.plan--dark li { border-color: rgba(255,255,255,.12); }
.plan--dark li span, .plan--dark .plan__price small { color: rgba(255,255,255,.62); }

/* faq */
.faq { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 6vw, 90px); }
.faq h2 { margin-bottom: 18px; }
.acc--light summary { font-size: 18px; }

/* contact (layout from version 4) */
.contact__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 110px); align-items: start; }
.contact__head { max-width: 640px; }
.contact__head p { margin-top: 20px; color: var(--ink-2); font-size: 18px; max-width: 54ch; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form .full { grid-column: 1 / -1; }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }   /* spam trap, invisible to people */
.form__status a { color: inherit; text-decoration: underline; }
.form button:disabled { opacity: .6; cursor: progress; }
.form label { display: grid; gap: 8px; }
.form label > span { font-size: 11px; font-weight: 500; line-height: 1; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.form input, .form select, .form textarea {
  width: 100%; padding: 15px 20px; border-radius: 999px;
  border: 1px solid rgba(60, 42, 20, .2); background: #fff; color: var(--ink); font: inherit; font-size: 16px;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}
.form textarea { border-radius: 22px; resize: vertical; min-height: 130px; }
.form select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23161310' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 18px center; background-size: 16px; }
.form ::placeholder { color: #8A8076; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(53, 80, 240, .14); }
.form .is-invalid { border-color: #D9472B; box-shadow: 0 0 0 4px rgba(217, 71, 43, .12); }
.form .btn { margin-top: 10px; height: 58px; }
.form__status { min-height: 1.5em; font-size: 14px; color: var(--ink-2); }
.footer { background: var(--white); border-top: 1px solid var(--line); }
.footer__inner { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; padding-block: 34px calc(34px + env(safe-area-inset-bottom)); font-size: 14px; color: var(--muted); }
.footer__logo { height: 42px; width: auto; }

/* ---------- legal pages (Impressum, Datenschutz) ---------- */
.nav__back { margin-left: auto; }
.legal { max-width: 820px; padding-top: calc(66px + 10px + clamp(56px, 8vw, 96px)); padding-bottom: clamp(72px, 9vw, 120px); }
.legal h1 { font-size: clamp(40px, 6vw, 64px); margin-bottom: 40px; }
.legal h2 { font-size: clamp(20px, 2.2vw, 24px); letter-spacing: -0.02em; line-height: 1.25; margin: 44px 0 12px; }
.legal h3 { font-size: 18px; letter-spacing: -0.01em; line-height: 1.3; margin: 30px 0 8px; }
.legal p, .legal li { color: var(--ink-2); overflow-wrap: anywhere; }
.legal p { margin: 0 0 14px; }
.legal a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 22px; margin-inline: auto; font-size: 12px; line-height: 1; letter-spacing: .18em; text-transform: uppercase; }
@media (hover: hover) { .footer nav a:hover { color: var(--ink); } }

/* ---------- entrance / reveal ---------- */
.js [data-in] { opacity: 0; transform: translateY(18px); transition: opacity 700ms var(--ease), transform 900ms var(--ease); transition-delay: calc(var(--d, 0) * 80ms); }
.js [data-in].is-in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .plans { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
}
@media (max-width: 860px) {
  body { font-size: 16px; }
  .nav { top: 8px; }
  .nav__bar { height: 58px; padding-left: 16px; border-radius: 18px; }
  .nav__logo img { height: 32px; }
  .nav__links { display: none; }
  .nav__bar { gap: 12px; }
  .lang { margin-left: auto; }
  .hero { min-height: 0; padding-top: 104px; }
  .hero__grid { grid-template-columns: 1fr; gap: 50px; }
  .hero::after { right: -30%; top: 45%; }
  .stack__cards { width: min(250px, 64vw); }
  .ticker { flex-direction: column; align-items: flex-start; gap: 14px; margin-top: 40px; padding-bottom: 40px; }
  .ticker__mask { width: 100%; }
  .ticker__track li { font-size: 21px; padding: 0 22px; }
  .split-head { flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 34px; }
  .card { border-radius: 16px; }
  .services, .about, .faq, .contact__grid { grid-template-columns: 1fr; }
  .showcase { grid-template-columns: 1fr 1fr; padding: 12px; }
  .tilt { max-width: 340px; }
  /* steps on phones: wheel on top, active step below */
  .js .flow { height: calc(var(--n) * 70svh + 100svh); }
  .js .flow__grid {
    grid-template-columns: 1fr; grid-template-areas: "head" "wheel" "list";
    grid-template-rows: auto auto auto; height: 100svh;
    padding-top: 84px; padding-bottom: 24px; row-gap: 18px; align-content: center;
  }
  .js .flow__head h2 { font-size: clamp(28px, 8vw, 40px); }
  .js .flow__head p { display: none; }
  .wheel { --size: min(66vw, 34svh, 300px); --base: 90deg; }
  .wheel__node { width: 42px; height: 42px; margin: -21px 0 0 -21px; }
  .wheel__node b { font-size: 12px; }
  .wheel__count { font-size: clamp(42px, 12vw, 60px); }
  .wheel__pin { left: 50%; top: calc(50% + var(--r) + 28px); width: 2px; height: 16px; transform-origin: center top; }
  .js .flow:not(.is-shown) .wheel__pin { scale: 1 0; }
  .js .flow__list { text-align: center; padding-top: 24px; align-self: start; }
  .step h3 { margin: 14px 0 10px; }
  .step p { margin-inline: auto; font-size: 16px; }
  .belt .card { width: 180px; }
  .form { grid-template-columns: 1fr; }
  .footer__inner { flex-direction: column; align-items: flex-start; gap: 20px; }
  .footer nav { margin: 0; }
}
@media (max-height: 520px) and (orientation: landscape) {
  .js .flow { height: auto; }
  .js .flow__sticky { position: static; height: auto; }
  .js .flow__grid { display: block; height: auto; padding-block: var(--section); }
  .js .wheel { display: none; }
  .js .flow__list { margin-top: 40px; gap: 28px; }
  .js .flow .step > * { opacity: 1; transform: none; filter: none; }
  .js .step > span { display: inline-grid; }
  .js .step h3 { margin-top: 22px; }
  .js .flow .step h3 .w > span { transform: none; }
}
@media (max-width: 400px) {
  .nav__bar .btn--sm { padding: 0 14px; font-size: 14px; }
  .lang button { min-width: 32px; padding: 9px 8px; }
  .hero__actions .btn { flex: 1; padding: 0 18px; }
}
/* ---------- custom cursor (from version 2; fine pointers only, enabled by JS) ----------
   A solid black dot with a fading trail; grows over anything interactive. */
.cursor, .cursor-trail { display: none; }
.has-cursor, .has-cursor * { cursor: none !important; }
.has-cursor input, .has-cursor textarea { cursor: text !important; }
.has-cursor .cursor {
  display: block; position: fixed; left: 0; top: 0; z-index: 1000;
  pointer-events: none; will-change: transform;
}
.cursor__dot {
  --s: .2;                              /* 64px * .2 ≈ 13px dot */
  position: absolute; left: -32px; top: -32px;
  width: 64px; height: 64px; border-radius: 50%;
  background: #000;
  transform: scale(var(--s));
  opacity: 0;
  transition: transform 350ms var(--ease), opacity 200ms ease, background-color 200ms ease;
}
.cursor.is-visible .cursor__dot { opacity: 1; }
.cursor.is-link .cursor__dot { --s: .43; }        /* over links, buttons, cards: grows */
.cursor.is-text .cursor__dot { opacity: 0; }      /* over text fields: native caret instead */
.cursor.is-down .cursor__dot { --s: .14; }        /* press feedback */
.cursor.is-down.is-link .cursor__dot { --s: .35; }
.has-cursor .cursor-trail { display: block; position: fixed; inset: 0; z-index: 999; pointer-events: none; }
.cursor-trail i {
  position: absolute; left: -5px; top: -5px;
  width: 10px; height: 10px; border-radius: 50%;
  background: #000; opacity: 0;
  will-change: transform; transition: opacity 200ms ease;
}
.cursor-trail.is-visible i { opacity: var(--o); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-in] { opacity: 1; transform: none; transition: none; }
  .ticker__track { animation: none; }
  .wheel__ring, .wheel__node b, .wheel__arc { transition-duration: 0ms; }
  .js .step > *, .js .step.is-before > *, .js .flow:not(.is-shown) .step.is-active > * { transform: none; filter: none; }
  .w > span, .js .flow .step h3 .w > span, .js .flow .flow__head h2 .w > span { transform: none !important; transition: none !important; }
  .js .flow:not(.is-shown) .wheel__etch, .js .flow:not(.is-shown) .wheel__center { transform: none; }
  .js .flow:not(.is-shown) .wheel__node, .js .flow:not(.is-shown) .wheel__pin { scale: none; }
}
