/* Kalvado: Tokens, Grundlage, Abschnitte. Farben und Schriften laut SPEC.md */
:root {
  color-scheme: dark;
  --bg: #0B0B0C;
  --surface: #141417;
  --surface-2: #1B1B21;
  --line: #26262B;
  --ink: #F4F4F2;
  --ink-soft: #B4B5C1;
  --cobalt: #4A5CFF;
  --cobalt-hi: #8A98FF;
  --cobalt-deep: #2632B8;
  --on-cobalt: #FFFFFF;

  --display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --text: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(20px, 4.5vw, 72px);
  --section: clamp(80px, 11vw, 160px);
  --radius: 18px;
  --radius-sm: 10px;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --check: polygon(0% 47%, 15% 34%, 39% 66%, 84% 0%, 100% 0%, 42% 100%);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--text);
  font-size: 17px;
  line-height: 1.62;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* feines Korn gegen Banding auf grossen dunklen Flaechen */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { max-width: 100%; display: block; }
a { color: inherit; text-underline-offset: .2em; }
::selection { background: var(--cobalt); color: var(--on-cobalt); }
:focus-visible { outline: 2px solid var(--cobalt-hi); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, p { margin: 0; }
.wrap { width: 100%; max-width: 1360px; margin: 0 auto; padding: 0 var(--gutter); }

.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--cobalt); color: var(--on-cobalt); padding: 10px 16px; border-radius: 8px; text-decoration: none; }
.skip:focus { top: 12px; }

.h2 {
  font-family: var(--display);
  font-stretch: 72%;
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(2.6rem, 6.4vw, 6rem);
  line-height: .92;
  letter-spacing: -0.012em;
  text-wrap: balance;
}

/* Buttons */
.btn {
  --mx: 0px; --my: 0px;
  display: inline-flex; align-items: center; gap: .6em;
  font: 600 16px/1 var(--text);
  padding: 17px 26px; border-radius: 999px;
  text-decoration: none; white-space: nowrap; cursor: pointer; border: 0;
  transform: translate(var(--mx), var(--my));
  transition: background-color .16s var(--ease), color .16s var(--ease), box-shadow .16s var(--ease), transform .25s var(--ease);
}
.btn:active { transform: translate(var(--mx), calc(var(--my) + 1px)) scale(.98); }
.btn--primary { background: var(--cobalt); color: var(--on-cobalt); box-shadow: 0 10px 30px -12px rgba(74, 92, 255, .7), inset 0 1px 0 rgba(255,255,255,.18); }
.btn--primary:hover { background: #5B6CFF; }
.btn--ghost { color: var(--ink); box-shadow: inset 0 0 0 1px rgba(244,244,242,.28); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1px rgba(244,244,242,.7); }
.btn--sm { padding: 12px 18px; font-size: 15px; }
.btn--lg { padding: 20px 32px; font-size: 17px; }
.btn__arrow { transition: transform .2s var(--ease); }
@media (hover: hover) and (pointer: fine) { .btn:hover .btn__arrow { transform: translateX(4px); } }

/* Navigation */
.nav {
  position: fixed; inset: 16px var(--gutter) auto; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 10px 10px 10px 22px; border-radius: 999px;
  background: rgba(16, 16, 19, .72); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.07), 0 12px 40px -18px rgba(0,0,0,.8);
  transition: transform .45s var(--ease), opacity .3s var(--ease);
}
.nav.is-hidden { transform: translateY(calc(-100% - 24px)); opacity: 0; }
.nav__logo img { height: 26px; width: auto; }
.nav__links { display: flex; gap: 30px; font-size: 15px; color: var(--ink-soft); }
.nav__links a { text-decoration: none; transition: color .15s; }
.nav__links a:hover { color: var(--ink); }

/* Hero */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.hero__stage { position: absolute; inset: 0; z-index: -1; }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero__fallback {
  position: absolute; inset: 0; opacity: 1; transition: opacity 1.2s var(--ease);
  background:
    radial-gradient(60% 55% at 72% 38%, rgba(74, 92, 255, .32), transparent 70%),
    radial-gradient(40% 40% at 85% 70%, rgba(38, 50, 184, .35), transparent 70%);
}
.hero.is-3d .hero__fallback { opacity: .55; }
/* Dichte nur dort, wo der Text steht */
.hero__stage::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(11,11,12,.55) 78%, var(--bg) 100%), linear-gradient(90deg, rgba(11,11,12,.6) 0%, transparent 55%); pointer-events: none; }
.hero__copy { width: 100%; max-width: 1360px; margin: 0 auto; padding: 140px var(--gutter) clamp(48px, 8vh, 96px); }
.hero__title {
  font-family: var(--display); font-weight: 900; font-stretch: 68%;
  text-transform: uppercase; font-size: clamp(3.4rem, 9vw, 9.6rem); word-spacing: .06em;
  line-height: .86; letter-spacing: -0.02em; margin-bottom: 30px;
}
.line { display: block; overflow: hidden; padding-bottom: .04em; }
.line__in { display: block; }
.line__in--accent { color: var(--cobalt-hi); }
.hero__lead { max-width: 33ch; font-size: clamp(18px, 1.6vw, 21px); color: #D6D7E0; margin-bottom: 30px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 34px; }
.hero__trust { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 26px; font-size: 15px; color: var(--ink-soft); }
.hero__trust li { display: flex; align-items: center; gap: 9px; }
.hero__trust li::before { content: ""; width: 11px; height: 12px; background: var(--cobalt-hi); clip-path: var(--check); }

/* Laufband */
.marquee { border-block: 1px solid var(--line); overflow: hidden; padding: 22px 0; background: var(--bg); }
.marquee__track { display: flex; align-items: center; gap: 40px; width: max-content; will-change: transform; }
.marquee span { font-family: var(--display); font-stretch: 72%; font-weight: 800; text-transform: uppercase; font-size: clamp(2rem, 4.4vw, 4rem); line-height: 1; letter-spacing: -.01em; }
.marquee span:nth-of-type(3n+2) { color: transparent; -webkit-text-stroke: 1.5px rgba(244,244,242,.55); }
.marquee i { width: clamp(26px, 3vw, 42px); height: clamp(28px, 3.3vw, 46px); background: var(--cobalt); clip-path: var(--check); flex: none; }
html:not(.js) .marquee__track, .no-gsap .marquee__track { animation: marquee 30s linear infinite; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Leistungen */
.services { padding: var(--section) 0 calc(var(--section) * .6); }
.services__title { max-width: 16ch; margin-bottom: clamp(56px, 8vw, 110px); }
.services__title span { color: #C4C5CF; }
.services__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.step { min-height: 66vh; display: flex; flex-direction: column; justify-content: center; padding: 40px 0; opacity: .55; transition: opacity .5s var(--ease); }
.step.is-active, html:not(.js) .step { opacity: 1; }
.step__tag { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--cobalt-hi); font-weight: 600; margin-bottom: 14px; }
.step__title { font-family: var(--display); font-stretch: 72%; font-weight: 800; text-transform: uppercase; font-size: clamp(2.8rem, 5vw, 4.8rem); line-height: .9; letter-spacing: -.01em; margin-bottom: 20px; }
.step__text { font-size: 19px; max-width: 34ch; margin-bottom: 22px; color: #DCDDE4; }
.step__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; color: var(--ink-soft); }
.step__list li { display: flex; gap: 12px; align-items: baseline; }
.step__list li::before { content: ""; flex: none; width: 10px; height: 11px; background: var(--cobalt-hi); clip-path: var(--check); transform: translateY(1px); }
.services__visual { position: sticky; top: max(90px, calc(50vh - 300px)); }

/* Demo: Website, Widget, Automation in einer Ansicht */
.demo { position: relative; padding-bottom: 40px; }
.demo__label { position: absolute; top: -30px; right: 0; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
.browser { position: relative; border-radius: var(--radius); background: #F2F1EE; color: #16161A; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.06); aspect-ratio: 16 / 11; }
.browser__bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: #E4E3DF; font-size: 12px; color: #6B6B73; }
.browser__bar i { width: 10px; height: 10px; border-radius: 50%; background: #C9C8C3; }
.browser__bar span { margin-left: 14px; background: #F2F1EE; padding: 4px 14px; border-radius: 99px; }
.site { padding: 18px 26px; }
.site > * { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.demo[data-stage] .site > * { opacity: 1; transform: none; }
.demo[data-stage] .site > *:nth-child(2) { transition-delay: .08s; }
.demo[data-stage] .site > *:nth-child(3) { transition-delay: .16s; }
.site__nav { display: flex; align-items: center; gap: 18px; font-size: 14px; margin-bottom: 30px; }
.site__nav span:not(.site__navbtn) { width: 46px; height: 7px; border-radius: 4px; background: #D6D5D0; }
.site__nav b { margin-right: auto; font-weight: 700; }
.site__navbtn { font-size: 12px; padding: 7px 14px; border-radius: 99px; background: #16161A; color: #fff; }
.site__kicker { font-size: 12px; color: #6B6B73; margin-bottom: 8px; }
.site__h { font-family: var(--display); font-stretch: 75%; font-weight: 800; text-transform: uppercase; font-size: clamp(1.8rem, 3.2vw, 3rem); line-height: .92; margin-bottom: 18px; }
.site__btn { display: inline-block; font-size: 13px; font-weight: 600; padding: 10px 18px; border-radius: 99px; background: var(--cobalt); color: #fff; }
.site__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 28px; }
.site__cards span { height: 70px; border-radius: 10px; background: #E4E3DF; font-size: 12px; font-weight: 600; color: #55555E; padding: 12px; }

.widget {
  position: absolute; right: 22px; bottom: 22px; width: min(300px, 62%);
  background: #FFFFFF; border-radius: 14px; padding: 16px; color: #16161A;
  box-shadow: 0 30px 60px -20px rgba(22, 22, 40, .45), 0 0 0 1px rgba(22,22,26,.06);
  opacity: 0; transform: translateY(24px) scale(.96); transform-origin: bottom right;
  transition: opacity .5s var(--ease), transform .6s var(--ease);
}
.demo[data-stage="2"] .widget, .demo[data-stage="3"] .widget { opacity: 1; transform: none; }
.widget__title { font-weight: 700; font-size: 14px; margin-bottom: 10px; }
.widget__days, .widget__slots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-bottom: 8px; }
.widget__days span, .widget__slots span { font-size: 11px; text-align: center; padding: 6px 0; border-radius: 8px; background: #F0EFEC; color: #55555E; }
.widget__days b { display: block; font-size: 14px; color: #16161A; }
.widget .is-on { background: var(--cobalt); color: #fff; }
.widget .is-on b { color: #fff; }
.widget__btn { display: block; text-align: center; margin-top: 10px; font-size: 13px; font-weight: 600; padding: 10px; border-radius: 10px; background: #16161A; color: #fff; }

.flow { position: absolute; left: -28px; bottom: -6px; width: min(320px, 70%); display: grid; gap: 10px; }
.note {
  display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 14px;
  background: rgba(27, 27, 33, .94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 18px 40px -16px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.06);
  opacity: 0; transform: translateX(-20px); transition: opacity .5s var(--ease), transform .6s var(--ease);
  transition-delay: calc(var(--i) * .14s);
}
.demo[data-stage="3"] .note { opacity: 1; transform: none; }
.demo[data-stage="3"] .widget { transform: translateY(-14px) scale(.94); opacity: .55; }
.note__ico { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--cobalt); }
.note__ico svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.note b { display: block; font-size: 14px; line-height: 1.3; }
.note small { display: block; font-size: 12.5px; color: var(--ink-soft); line-height: 1.35; }

/* Beispielprojekte */
.work { padding: calc(var(--section) * .5) 0 var(--section); }
.work__pin { overflow: hidden; }
.work__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: clamp(36px, 5vw, 64px); }
.work__note { max-width: 34ch; color: var(--ink-soft); font-size: 16px; }
.rail { display: flex; gap: clamp(16px, 2vw, 28px); padding: 0 var(--gutter); width: max-content; }
.proj {
  flex: none; width: min(78vw, 980px); border-radius: 26px; overflow: hidden;
  display: grid; grid-template-columns: 1.15fr 1fr; min-height: min(68vh, 600px);
  background: var(--surface); box-shadow: inset 0 0 0 1px rgba(255,255,255,.06);
}
.proj__shot { position: relative; padding: clamp(24px, 3vw, 44px); display: grid; place-items: center; overflow: hidden; }
.proj--werk .proj__shot { background: #E8542A; }
.proj--beauty .proj__shot { background: #E9CFC4; }
.proj--physio .proj__shot { background: #1F6F68; }
.proj__body { padding: clamp(28px, 3.4vw, 52px); display: flex; flex-direction: column; justify-content: flex-end; }
.proj__tag { font-size: 13px; color: var(--ink-soft); margin-bottom: 10px; }
.proj__name { font-family: var(--display); font-stretch: 72%; font-weight: 800; text-transform: uppercase; font-size: clamp(2.2rem, 3.8vw, 3.6rem); line-height: .92; margin-bottom: 28px; }
.proj__facts { margin: 0; display: grid; gap: 16px; }
.proj__facts div { display: grid; grid-template-columns: 104px 1fr; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.proj__facts dt { font-size: 13px; font-weight: 600; color: var(--cobalt-hi); letter-spacing: .04em; }
.proj__facts dd { margin: 0; font-size: 16.5px; line-height: 1.45; }
.proj--cta {
  width: min(56vw, 560px); grid-template-columns: 1fr; place-content: center; justify-items: start; gap: 28px;
  padding: clamp(32px, 4vw, 60px); text-decoration: none;
  background: var(--cobalt); box-shadow: none;
}
.proj__cta-text { font-family: var(--display); font-stretch: 72%; font-weight: 800; text-transform: uppercase; font-size: clamp(2.6rem, 4.6vw, 4.6rem); line-height: .9; color: #fff; }
.proj--cta .btn--primary { background: #0B0B0C; box-shadow: none; }
.proj--cta:hover .btn--primary { background: #1B1B21; }

/* Mini-Websites der Beispielbetriebe */
.mini { width: 100%; max-width: 440px; border-radius: 16px; padding: 20px 22px 22px; box-shadow: 0 30px 60px -24px rgba(0,0,0,.55); transform: rotate(-2.2deg); }
.proj:nth-child(2) .mini { transform: rotate(1.8deg); }
.mini__nav { display: flex; align-items: baseline; justify-content: space-between; font-size: 12px; margin-bottom: 26px; opacity: .8; }
.mini__nav b { font-size: 15px; letter-spacing: .04em; opacity: 1; }
.mini__h { font-size: clamp(1.7rem, 2.6vw, 2.5rem); line-height: .98; margin-bottom: 18px; }
.mini__row { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 22px; }
.mini__pill { font-size: 11.5px; padding: 6px 11px; border-radius: 99px; }
.mini__widget { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; align-items: center; padding: 12px 14px; border-radius: 12px; font-size: 12.5px; }
.mini__widget b { font-size: 13.5px; }
.mini__widget span { grid-row: 2; opacity: .7; }
.mini__widget em { grid-row: 1 / 3; grid-column: 2; font-style: normal; font-weight: 700; padding: 9px 14px; border-radius: 99px; }
.mini--werk { background: #17140F; color: #F6EFE6; font-family: var(--display); }
.mini--werk .mini__h { font-stretch: 80%; font-weight: 900; text-transform: uppercase; }
.mini--werk .mini__pill { background: #2A251D; color: #F6EFE6; font-family: var(--text); }
.mini--werk .mini__widget { background: #F6EFE6; color: #17140F; font-family: var(--text); }
.mini--werk .mini__widget em { background: #E8542A; color: #17140F; }
.mini--beauty { background: #FBF6F2; color: #3B2A27; font-family: var(--text); }
.mini--beauty .mini__nav b { font-family: var(--display); font-stretch: 112%; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }
.mini--beauty .mini__h { font-family: var(--display); font-stretch: 110%; font-weight: 500; }
.mini--beauty .mini__pill { background: #F1E3DC; }
.mini--beauty .mini__widget { background: #3B2A27; color: #FBF6F2; }
.mini--beauty .mini__widget em { background: #E9CFC4; color: #3B2A27; }
.mini--physio { background: #F3F7F5; color: #10322F; font-family: var(--text); }
.mini--physio .mini__nav b { font-weight: 700; letter-spacing: 0; }
.mini--physio .mini__h { font-weight: 700; letter-spacing: -.02em; }
.mini--physio .mini__pill { background: #DCEAE5; }
.mini--physio .mini__widget { background: #10322F; color: #F3F7F5; }
.mini--physio .mini__widget em { background: #7FD1B9; color: #10322F; }

/* Ablauf */
.process { padding: var(--section) 0; border-top: 1px solid var(--line); }
.process .h2 { margin-bottom: clamp(48px, 7vw, 96px); max-width: 14ch; }
.process__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 64px); position: relative; }
.process__list::before { content: ""; position: absolute; left: 0; right: 0; top: 30px; height: 1px; background: var(--cobalt); transform-origin: left; transform: scaleX(var(--draw, 1)); }
.process__num { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--bg); box-shadow: inset 0 0 0 1px var(--cobalt); font-family: var(--display); font-stretch: 75%; font-weight: 800; font-size: 26px; color: var(--cobalt-hi); position: relative; margin-bottom: 28px; }
.process__item h3 { font-family: var(--display); font-stretch: 72%; font-weight: 800; text-transform: uppercase; font-size: clamp(2rem, 3vw, 2.8rem); line-height: .95; margin-bottom: 12px; }
.process__item p { color: var(--ink-soft); max-width: 30ch; }

/* Ueber mich */
.about { padding: var(--section) 0; background: var(--surface); }
.about__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 7vw, 120px); align-items: center; }
.about__photo { margin: 0; border-radius: 22px; overflow: hidden; position: relative; aspect-ratio: 4 / 4.4; background: #EDEDEB; clip-path: inset(var(--clip, 0%) 0 0 0 round 22px); }
.about__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transform: scale(var(--zoom, 1)); }

.about__tag { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--cobalt-hi); font-weight: 600; margin-bottom: 18px; }
.about .h2 { margin-bottom: 30px; }
.about__copy p:not(.about__tag):not(.about__sign) { font-size: clamp(18px, 1.5vw, 20px); max-width: 44ch; margin-bottom: 18px; color: #DCDDE4; }
.about__sign { margin-top: 28px; color: var(--ink-soft); font-size: 15px; }

/* Kontakt */
.contact { position: relative; overflow: hidden; padding: var(--section) 0 calc(var(--section) * .8); isolation: isolate; }
.contact__check { position: absolute; z-index: -1; left: -5vw; top: 5%; width: min(56vw, 760px); height: auto; opacity: .9; }
.contact__check path { fill: none; stroke: var(--cobalt); stroke-width: 120; stroke-linejoin: miter; stroke-dasharray: 1; stroke-dashoffset: var(--dash, 0); opacity: .15; }
.contact__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.contact__title { font-family: var(--display); font-stretch: 68%; font-weight: 900; text-transform: uppercase; font-size: clamp(4rem, 9.5vw, 9.5rem); line-height: .84; letter-spacing: -.02em; margin-bottom: 26px; }
.contact__lead { font-size: clamp(18px, 1.6vw, 21px); max-width: 30ch; color: #DCDDE4; }
.contact__giant { position: absolute; z-index: -2; left: 0; right: 0; text-align: center; bottom: -0.2em; font-family: var(--display); font-weight: 900; font-stretch: 100%; font-size: 27vw; line-height: .8; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1px rgba(244,244,242,.07); white-space: nowrap; pointer-events: none; user-select: none; }

/* Formular */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding: clamp(24px, 3vw, 40px); border-radius: 24px; background: rgba(20, 20, 23, .88); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: inset 0 1px 0 rgba(255,255,255,.07), 0 0 0 1px rgba(255,255,255,.06), 0 40px 80px -40px rgba(0,0,0,.9); position: relative; }
.field { display: grid; gap: 8px; margin: 0; border: 0; padding: 0; min-width: 0; }
.field--wide { grid-column: 1 / -1; }
.field label, .field legend { font-size: 14px; font-weight: 500; color: #DCDDE4; padding: 0; }
.opt { color: var(--ink-soft); font-weight: 400; }
.field input, .field textarea {
  width: 100%; font: 400 16px/1.4 var(--text); color: var(--ink);
  background: #0E0E11; border: 1px solid #2E2E35; border-radius: 12px; padding: 14px 16px;
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input::placeholder, .field textarea::placeholder { color: #6E6F7A; }
.field input:hover, .field textarea:hover { border-color: #43434D; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--cobalt); box-shadow: 0 0 0 3px rgba(74, 92, 255, .3); }
.field input[aria-invalid="true"] { border-color: #FF6B6B; }
.field__err { font-size: 13.5px; color: #FF8A8A; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choices legend { width: 100%; margin-bottom: 10px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-block; padding: 10px 16px; border-radius: 99px; font-size: 15px; box-shadow: inset 0 0 0 1px #3A3A43; transition: background-color .15s, box-shadow .15s, color .15s; user-select: none; }
.chip:hover span { box-shadow: inset 0 0 0 1px #5A5A66; }
.chip input:checked + span { background: var(--cobalt); color: #fff; box-shadow: none; }
.chip input:focus-visible + span { outline: 2px solid var(--cobalt-hi); outline-offset: 3px; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 6px; }
.form__small { font-size: 13.5px; color: var(--ink-soft); }
.form__done { grid-column: 1 / -1; padding: 22px; border-radius: 14px; background: rgba(74, 92, 255, .14); box-shadow: inset 0 0 0 1px rgba(138, 152, 255, .4); }
.form__done-title { font-weight: 600; font-size: 18px; margin-bottom: 6px; }
.form__done p:last-child { color: #DCDDE4; font-size: 15px; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 48px 0 40px; font-size: 14px; color: var(--ink-soft); }
.footer__grid { display: grid; grid-template-columns: auto 1fr auto auto; gap: 18px 40px; align-items: center; }
.footer__logo { height: 22px; width: auto; }
.footer__links { display: flex; gap: 22px; }
.footer__links a { text-decoration: none; }
.footer__links a:hover { color: var(--ink); }

/* Startzustand fuer Animationen, nur mit JS und ohne Reduced Motion */
@media (prefers-reduced-motion: no-preference) {
  html.js.motion .line__in { transform: translateY(105%); }
  html.js.motion [data-rise] { opacity: 0; transform: translateY(24px); }
}

/* Tablet */
@media (max-width: 1000px) {
  .services__grid { grid-template-columns: 1fr; }
  .services__visual { order: -1; top: 76px; z-index: 2; padding-top: 8px; background: linear-gradient(var(--bg) 85%, transparent); }
  .demo { padding-bottom: 0; max-width: 560px; margin: 0 auto; }
  .demo__label { top: auto; bottom: 6px; right: 6px; z-index: 3; color: #6B6B73; }
  .browser { aspect-ratio: 16 / 10.5; }
  .flow { left: auto; right: 12px; bottom: 12px; width: min(280px, 72%); }
  .note { padding: 9px 11px; }
  .note__ico { width: 28px; height: 28px; }
  .note small { display: none; }
  .step { min-height: 64vh; }
  .about__grid, .contact__grid { grid-template-columns: 1fr; }
  .about__photo { max-width: 480px; }
  .process__list { grid-template-columns: 1fr; gap: 36px; }
  .process__list::before { left: 30px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; transform: scaleY(var(--draw, 1)); transform-origin: top; }
  .process__item { display: grid; grid-template-columns: 60px 1fr; column-gap: 24px; }
  .process__item h3, .process__item p { grid-column: 2; }
  .process__num { grid-row: 1 / 3; margin-bottom: 0; }
  .footer__grid { grid-template-columns: 1fr; }
}

/* Handy */
@media (max-width: 700px) {
  body { font-size: 16px; }
  .nav { inset: 10px 12px auto; padding: 8px 8px 8px 16px; }
  .nav__links { display: none; }
  .nav__logo img { height: 22px; }
  .hero__copy { padding-top: 120px; }
  .hero__title { font-size: clamp(3.1rem, 17vw, 5rem); }
  .hero__actions .btn { flex: 1 1 auto; justify-content: center; }
  .work__head { flex-direction: column; align-items: flex-start; }
  .rail { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-width: none; }
  .rail::-webkit-scrollbar { display: none; }
  .proj { width: 86vw; grid-template-columns: 1fr; scroll-snap-align: center; min-height: 0; }
  .proj__shot { min-height: 300px; }
  .proj--cta { width: 86vw; }
  .proj__facts div { grid-template-columns: 1fr; gap: 2px; }
  .form { grid-template-columns: 1fr; }
  .form__foot .btn { width: 100%; justify-content: center; }
  .contact__check { width: 120vw; left: -20vw; top: 0; }
  .step__text { font-size: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
  .step { opacity: 1; }
}

/* Schiene: auf groesseren Bildschirmen als angepinnte Buehne */
@media (min-width: 701px) {
  .work__pin { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: 90px 0 40px; }
  .proj { min-height: min(62vh, 560px); }
}
@media (max-width: 1000px) {
  .demo[data-stage="3"] .widget { opacity: 0; transform: translateY(20px) scale(.94); }
  .demo[data-stage="3"] .site { opacity: .35; transition: opacity .5s var(--ease); }
}

/* Runde 2: Pilotangebot, Rueckruf, Duotone-Portraet, Fokus in Stufe 3 */
.pilot { margin-top: clamp(56px, 7vw, 96px); display: flex; align-items: center; justify-content: space-between; gap: 32px 48px; flex-wrap: wrap; padding: clamp(28px, 4vw, 52px); border-radius: 26px; background: var(--cobalt); color: #fff; }
.pilot__copy { max-width: 62ch; }
.pilot__tag { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: #fff; margin-bottom: 12px; }
.pilot__title { font-family: var(--display); font-stretch: 72%; font-weight: 800; text-transform: uppercase; font-size: clamp(2rem, 3.6vw, 3.4rem); line-height: .92; margin-bottom: 14px; }
.pilot p:last-child { font-size: 18px; line-height: 1.55; }
.btn--light { background: #0B0B0C; color: #fff; }
.btn--light:hover { background: #1B1B21; }
.contact__call { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); max-width: 32ch; color: #DCDDE4; font-size: 16px; position: relative; }
.about__photo { background: #ECECEA; }
.about__photo::after { content: ""; position: absolute; right: 18px; bottom: 18px; width: 54px; height: 54px; border-radius: 14px; background: var(--cobalt) url("../assets/favicon.svg") center / 100% no-repeat; box-shadow: 0 10px 24px -10px rgba(20, 24, 80, .6); }
.about__photo img { filter: saturate(.9) contrast(1.03); }
.demo[data-stage="3"] .site { opacity: .4; transition: opacity .5s var(--ease); }
.form__small a { color: var(--ink); }
@media (max-width: 1000px) {
  .flow { bottom: 10px; }
  .note:nth-child(3) { display: none; }
  .demo[data-stage="3"] .site { opacity: .25; }
}
.rail-progress { margin-top: 28px; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.rail-progress span { display: block; height: 100%; background: var(--cobalt-hi); transform-origin: left; transform: scaleX(var(--p, .08)); }

/* Referenzen: echte Screenshots im Browserrahmen */
.proj--wirt .proj__shot { background: #B9733D; }
.proj--agent .proj__shot { background: #1A120D; background-image: radial-gradient(70% 60% at 50% 45%, rgba(240,129,63,.45), transparent 70%); }
.proj--crav .proj__shot { background: #F7E2C8; }
.proj__shot { padding: clamp(22px, 2.6vw, 40px) clamp(22px, 2.6vw, 40px) clamp(56px, 6vw, 84px); place-items: start center; }
.frame { margin: 0; border-radius: 12px; overflow: hidden; background: #111; box-shadow: 0 30px 60px -24px rgba(0,0,0,.65), 0 0 0 1px rgba(0,0,0,.12); }
.frame img { width: 100%; height: auto; display: block; }
.frame--main { width: 100%; transform: rotate(-1.2deg); }
.frame__bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: #ECEBE7; font-size: 11.5px; color: #55555E; }
.frame__bar i { width: 8px; height: 8px; border-radius: 50%; background: #C9C8C3; }
.frame__bar span { margin-left: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.frame--sub { position: absolute; width: 46%; right: clamp(14px, 2vw, 28px); bottom: clamp(14px, 1.6vw, 24px); transform: rotate(2.4deg); box-shadow: 0 24px 50px -18px rgba(0,0,0,.7), 0 0 0 3px rgba(255,255,255,.9); }
.proj__link { align-self: flex-start; margin-top: 22px; color: var(--ink); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--cobalt-hi); padding-bottom: 2px; }
.proj__link:hover { color: var(--cobalt-hi); }
.proj__credit { margin-top: 14px; font-size: 13px; color: var(--ink-soft); }
.proj__tag { color: #C9CAD4; }
.proj--crav .proj__tag { color: #FFB38A; }
@media (max-width: 700px) {
  .proj__shot { min-height: 0; padding-bottom: 64px; }
  .frame--sub { width: 52%; }
}
.contact__direct { margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); display: grid; gap: 10px; max-width: 34ch; }
.contact__direct .contact__call { margin: 0; padding: 0; border: 0; }
.contact__line { display: flex; align-items: baseline; gap: 14px; font-size: 18px; }
.contact__line span { width: 64px; flex: none; font-size: 13px; color: var(--ink-soft); }
.contact__line a { color: var(--ink); text-decoration: none; font-weight: 600; font-variant-numeric: tabular-nums; }
.contact__line a:hover { color: var(--cobalt-hi); }
.contact__call--small { font-size: 14px !important; color: var(--ink-soft) !important; }
.footer a { text-decoration: none; }
.footer p a:hover { color: var(--ink); }
/* Schiene kompakter, damit eine Karte ganz in den Bildschirm passt */
.work .h2 { font-size: clamp(2.4rem, 5vw, 4.8rem); }
.work__head { margin-bottom: clamp(24px, 3vw, 40px); }
@media (min-width: 701px) { .proj { grid-template-columns: 1.3fr 1fr; } }
.proj__shot { place-items: center; }
.frame--main { width: 94%; }
.proj__name { font-size: clamp(2rem, 3vw, 3rem); margin-bottom: 20px; }
.proj__facts { gap: 12px; }
.proj__facts div { padding-top: 12px; grid-template-columns: 96px 1fr; }
.proj__facts dd { font-size: 15.5px; }
.proj__body { padding: clamp(24px, 2.8vw, 44px); }
@media (min-width: 701px) {
  .work__pin { padding: 76px 0 28px; }
  .proj { height: min(66vh, 580px); min-height: 0; }
}
.proj--cta { align-content: center; grid-template-rows: auto auto; }
.proj--cta .btn { align-self: start; justify-self: start; }
.proj__cta-text { font-size: clamp(2.2rem, 3.8vw, 3.8rem); }
.nav__actions { display: flex; align-items: center; gap: 14px; }
.nav__call { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; }
.nav__call svg { width: 18px; height: 18px; fill: none; stroke: var(--cobalt-hi); stroke-width: 1.8; stroke-linejoin: round; }
.nav__call:hover { color: var(--cobalt-hi); }
@media (max-width: 1100px) { .nav__call span { display: none; } .nav__call { width: 42px; height: 42px; justify-content: center; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(244,244,242,.22); } }
@media (max-width: 700px) { .nav__actions { gap: 8px; } }

/* Probleme: vier Situationen, jede mit Verweis auf die Loesung */
.pains { padding: var(--section) 0 calc(var(--section) * .5); }
.pains .h2 { margin-bottom: clamp(36px, 5vw, 72px); }
.pains__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); counter-reset: pain; }
.pain { counter-increment: pain; display: flex; flex-direction: column; gap: 14px; padding: clamp(24px, 3vw, 40px); border-radius: 22px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.pain::before { content: "0" counter(pain); font-family: var(--display); font-stretch: 75%; font-weight: 800; font-size: 15px; letter-spacing: .08em; color: var(--cobalt-hi); }
.pain__problem { font-size: clamp(20px, 1.9vw, 25px); line-height: 1.3; font-weight: 600; color: var(--ink); text-wrap: pretty; }
.pain__cost { font-size: 16.5px; line-height: 1.55; color: var(--ink-soft); max-width: 48ch; }
.pain__fix { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); align-self: stretch; color: var(--ink); font-weight: 600; font-size: 15.5px; text-decoration: none; }
.pain__fix span { color: var(--cobalt-hi); margin-left: 4px; }
.pain__fix:hover { color: var(--cobalt-hi); }
.offer__lead--gap { margin-bottom: 22px; }

/* Bedenken: aufklappbare Antworten */
.faq { padding: var(--section) 0; border-top: 1px solid var(--line); }
.faq__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq .h2 { font-size: clamp(2.4rem, 5vw, 4.8rem); }
.faq__item { border-top: 1px solid var(--line); }
.faq__item:last-child { border-bottom: 1px solid var(--line); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font-size: clamp(18px, 1.6vw, 21px); font-weight: 600; color: var(--ink); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--cobalt); color: var(--cobalt-hi); font-size: 20px; font-weight: 400; transition: transform .2s var(--ease); }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item summary:hover { color: var(--cobalt-hi); }
.faq__item p { padding: 0 54px 24px 0; font-size: 17px; line-height: 1.6; color: #DCDDE4; max-width: 60ch; }
@media (max-width: 1000px) {
  .faq__grid { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .pains__list { grid-template-columns: 1fr; }
  .faq__item p { padding-right: 0; }
}

/* Preise, Praxis-Hinweis, Gratis-Check */
.offer__price { margin: -8px 0 22px; padding-left: 30px; font-size: 15.5px; font-weight: 600; color: var(--cobalt-hi); font-variant-numeric: tabular-nums; }
.offer__copy--wide .offer__price { margin-bottom: 14px; }
.auto__copy .offer__price { margin: 16px 0 0; padding-left: 0; }
.bento__note { margin: 0 0 14px; padding: 14px 18px; border-radius: 14px; background: rgba(74, 92, 255, .12); box-shadow: inset 0 0 0 1px rgba(138, 152, 255, .35); font-size: 15.5px; color: var(--ink); max-width: 72ch; }
.tile.is-off { opacity: .32; filter: grayscale(.6); }
.contact__offer { margin-top: 20px; max-width: 34ch; font-size: 16px; line-height: 1.5; color: #DCDDE4; }
.contact__offer b { color: var(--cobalt-hi); }
.offer__price small { display: block; margin-top: 4px; font-size: 13.5px; font-weight: 400; color: var(--ink-soft); }
