/* ==========================================================================
   Monova
   Schwarz-weiß, Schrift Geist (lokal), keine externen Dateien.
   Glas-Optik: Annäherung im Web mit backdrop-filter, Lichtkante und
   Zeiger-Lichtpunkt. Kein offizielles Apple-Material.
   Animationen: js/main.js mit anime.js 4.5 (js/vendor, MIT).
   ========================================================================== */

@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("fonts/geist.woff2") format("woff2");
}

:root {
  color-scheme: dark;

  --bg: #0a0a0b;
  --bg-raised: #111113;
  --bg-card: #151517;
  --text: #f5f5f7;
  --muted: #a1a1a6;
  --faint: #6e6e73;
  --line: rgb(255 255 255 / .09);
  --line-strong: rgb(255 255 255 / .17);

  /* Formen: Buttons immer Pille, Karten 24px, Medien 16px */
  --radius: 24px;
  --radius-media: 16px;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --header: 64px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --font: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI Variable", "Segoe UI", system-ui, sans-serif;
}

/* ---------- Grundlagen ---------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header) + 24px);
  scrollbar-gutter: stable;
}
html.is-locked { overflow: hidden; }

body {
  margin: 0;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

main { flex: 1; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
h1, h2, h3 { font-weight: 600; letter-spacing: -0.035em; line-height: 1.05; text-wrap: balance; }
p { text-wrap: pretty; }
strong { font-weight: 600; }
::selection { background: var(--text); color: var(--bg); }

:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; border-radius: 8px; }
/* Fokusring nur bei Tastatur, nicht nach Tippen oder Klicken (Klasse setzt js/main.js) */
.using-pointer :focus-visible { outline: none; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}

.skip {
  position: fixed; left: 16px; top: -80px; z-index: 200;
  padding: 10px 16px; border-radius: 999px;
  background: var(--text); color: var(--bg); font-weight: 500; text-decoration: none;
}
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

.icon { width: 1.15em; height: 1.15em; flex: none; }

.section { padding-block: clamp(88px, 12vw, 168px); }
.section--tight { padding-block: clamp(56px, 8vw, 104px); }

.h-section { font-size: clamp(2.1rem, 4.6vw, 3.75rem); }
.lead { font-size: clamp(1.125rem, 1.5vw, 1.3125rem); line-height: 1.5; color: var(--muted); max-width: 46ch; }
.muted { color: var(--muted); }
.section-head { max-width: 760px; }
.section-head .lead { margin-top: 20px; }

/* Nur mit JavaScript und erlaubter Bewegung: Startzustand vor dem Einblenden */
.motion [data-reveal]:not([data-reveal="stagger"]),
.motion [data-reveal="stagger"] > *,
.motion [data-split],
.motion [data-hero-item],
.motion [data-hero-visual] { opacity: 0; }

/* ---------- Hintergrund-Licht (folgt dem Zeiger) ---------- */

.ambient { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.glow {
  position: absolute; left: 0; top: 0;
  width: 64vmax; height: 64vmax; margin: -32vmax 0 0 -32vmax;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgb(255 255 255 / .085), rgb(255 255 255 / .02) 55%, transparent);
  transform: translate(72vw, 22vh);
  will-change: transform;
}
.glow--b {
  width: 46vmax; height: 46vmax; margin: -23vmax 0 0 -23vmax;
  background: radial-gradient(closest-side, rgb(255 255 255 / .05), transparent);
  transform: translate(12vw, 88vh);
}

/* ---------- Kopfzeile ---------- */

.top-sentinel { position: absolute; top: 0; left: 0; width: 1px; height: 24px; pointer-events: none; }

.top {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--header);
  border-bottom: 1px solid transparent;
  transition: background-color .5s var(--ease), border-color .5s var(--ease), backdrop-filter .5s var(--ease);
}
.top.is-scrolled {
  background: rgb(10 10 11 / .6);
  border-bottom-color: var(--line);
  -webkit-backdrop-filter: blur(20px) saturate(170%);
  backdrop-filter: blur(20px) saturate(170%);
}
.top .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }

.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: 1.1875rem; letter-spacing: -0.035em;
  text-decoration: none;
}
.brand-mark { width: 22px; height: 22px; }

.top-actions { display: flex; align-items: center; gap: 10px; }

/* ---------- Glas-Buttons ---------- */

.btn {
  --mx: 50%;
  --my: 0%;
  position: relative;
  isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: 0 22px;
  border-radius: 999px;
  border: 1px solid rgb(255 255 255 / .16);
  background:
    linear-gradient(180deg, rgb(255 255 255 / .13), rgb(255 255 255 / .03)),
    rgb(255 255 255 / .04);
  -webkit-backdrop-filter: blur(18px) saturate(170%);
  backdrop-filter: blur(18px) saturate(170%);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / .24),
    inset 0 -1px 0 rgb(255 255 255 / .04),
    0 10px 30px rgb(0 0 0 / .35);
  color: var(--text);
  font-size: 1rem; font-weight: 500; letter-spacing: -0.01em; line-height: 1;
  white-space: nowrap; text-decoration: none; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: border-color .35s var(--ease), box-shadow .35s var(--ease), scale .25s var(--ease);
}
/* Lichtpunkt unter dem Zeiger */
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: radial-gradient(110px circle at var(--mx) var(--my), rgb(255 255 255 / .3), transparent 70%);
  opacity: 0; transition: opacity .35s var(--ease);
}
/* Glanzkante oben */
.btn::after {
  content: ""; position: absolute; inset: 1px; z-index: -1; border-radius: inherit;
  background: linear-gradient(180deg, rgb(255 255 255 / .12), transparent 55%);
  pointer-events: none;
}
@media (hover: hover) {
  .btn:hover { border-color: rgb(255 255 255 / .32); }
  .btn:hover::before { opacity: 1; }
}
.btn:active { scale: .97; }
.btn-label { display: inline-flex; align-items: center; gap: .55em; pointer-events: none; }
.btn .icon { width: 1.05em; height: 1.05em; transition: translate .35s var(--ease); }
@media (hover: hover) { .btn:hover .icon-arrow { translate: 3px 0; } }

.btn--light {
  color: #0a0a0b;
  border-color: rgb(255 255 255 / .7);
  background: linear-gradient(180deg, rgb(255 255 255 / .97), rgb(226 226 231 / .9));
  box-shadow:
    inset 0 1px 0 #fff,
    inset 0 -2px 6px rgb(0 0 0 / .08),
    0 12px 36px rgb(255 255 255 / .1);
}
.btn--light::before { background: radial-gradient(110px circle at var(--mx) var(--my), rgb(255 255 255 / .95), transparent 70%); }
.btn--light::after { background: linear-gradient(180deg, rgb(255 255 255 / .6), transparent 50%); }
@media (hover: hover) { .btn--light:hover { border-color: #fff; } }

.btn--sm { min-height: 38px; padding: 0 16px; font-size: .9375rem; }
.btn--icon { min-height: 42px; width: 42px; padding: 0; }
.btn--icon .icon { width: 18px; height: 18px; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.menu-lines { position: relative; width: 16px; height: 9px; }
.menu-lines span { position: absolute; left: 0; width: 100%; height: 1.5px; border-radius: 2px; background: currentColor; }
.menu-lines span:first-child { top: 0; }
.menu-lines span:last-child { bottom: 0; }

.text-link {
  display: inline-flex; align-items: center; gap: .4em;
  width: fit-content;
  font-weight: 500; text-decoration: none;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 2px;
  transition: border-color .3s var(--ease);
}
.text-link:hover { border-color: var(--text); }
.text-link .icon { width: 1em; height: 1em; transition: translate .35s var(--ease); }
.text-link:hover .icon { translate: 3px 0; }

.pill {
  display: inline-flex; align-items: center; gap: .45em;
  width: fit-content;
  padding: 6px 12px; border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgb(255 255 255 / .05);
  font-size: .8125rem; font-weight: 500; color: var(--muted);
}

/* ---------- Navigation rechts ---------- */

.drawer {
  position: fixed; inset: 0;
  width: 100%; height: 100%; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0;
  background: transparent; color: var(--text);
  overflow: hidden;
}
.drawer::backdrop { background: transparent; }

.drawer-backdrop {
  position: absolute; inset: 0;
  background: rgb(0 0 0 / .5);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.drawer-panel {
  position: absolute; top: 8px; right: 8px; bottom: 8px;
  width: min(440px, calc(100% - 16px));
  display: flex; flex-direction: column;
  padding: 14px 28px 28px;
  border-radius: 28px;
  border: 1px solid var(--line-strong);
  background:
    linear-gradient(180deg, rgb(255 255 255 / .07), rgb(255 255 255 / .02)),
    rgb(20 20 22 / .74);
  -webkit-backdrop-filter: blur(32px) saturate(180%);
  backdrop-filter: blur(32px) saturate(180%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .12), 0 40px 100px rgb(0 0 0 / .6);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.drawer-panel { will-change: transform; }

/* Handys und Tablets: Unschärfe flackert dort, während das Panel hereingleitet.
   Statt Glas daher ein fast deckender Hintergrund, optisch nahezu gleich. */
@media (hover: none), (pointer: coarse) {
  .drawer-backdrop { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgb(0 0 0 / .72); }
  .drawer-panel {
    -webkit-backdrop-filter: none; backdrop-filter: none;
    background: linear-gradient(180deg, #202023, #151517);
  }
}

.drawer-head { display: flex; align-items: center; justify-content: space-between; min-height: 50px; margin-bottom: 20px; }
.drawer-title { font-size: .875rem; color: var(--muted); }

.drawer-nav { display: grid; gap: 2px; }
.drawer-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 6px 0;
  font-size: clamp(1.75rem, 3.6vw, 2.125rem); font-weight: 600; letter-spacing: -0.035em; line-height: 1.2;
  text-decoration: none;
  transition: color .35s var(--ease), translate .45s var(--ease);
}
.drawer-link .icon { width: 22px; height: 22px; opacity: 0; translate: -8px 0; transition: opacity .35s var(--ease), translate .45s var(--ease); }
.drawer-link:focus-visible .icon { opacity: 1; translate: 0 0; }
.drawer-link[aria-current="page"] .icon { opacity: 1; translate: 0 0; }
@media (hover: hover) {
  .drawer-link:hover { translate: 6px 0; }
  .drawer-link:hover .icon { opacity: 1; translate: 0 0; }
  .drawer-nav:hover .drawer-link:not(:hover) { color: var(--faint); }
}

.drawer-sub { list-style: none; padding: 2px 0 12px 2px; display: grid; gap: 2px; }
.drawer-sub a {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  padding: 9px 14px; border-radius: 14px;
  text-decoration: none; font-weight: 500; font-size: 1.0625rem;
  transition: background-color .3s var(--ease);
}
@media (hover: hover) { .drawer-sub a:hover { background: rgb(255 255 255 / .06); } }
.drawer-sub a:active { background: rgb(255 255 255 / .08); }
.drawer-sub small { font-size: .8125rem; color: var(--muted); font-weight: 400; text-align: right; }

.drawer-foot { margin-top: auto; padding-top: 32px; display: grid; gap: 20px; }
.drawer-foot .btn { width: 100%; }
.drawer-contact { font-size: .9375rem; color: var(--muted); line-height: 1.8; }
.drawer-contact a { text-decoration: none; }
.drawer-contact a:hover { color: var(--text); }

/* ---------- Startseite: Hero ---------- */

.hero {
  position: relative;
  padding: calc(var(--header) + clamp(48px, 8vw, 96px)) 0 clamp(64px, 9vw, 128px);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(48px, 7vw, 96px);
  perspective: 2000px;
}
.hero-title { font-size: clamp(2.75rem, 6.7vw, 6.25rem); letter-spacing: -0.05em; line-height: 1.02; max-width: 12.5em; }
.hero-meta {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 24px 48px;
  margin-top: clamp(24px, 3vw, 40px);
}
.hero .lead { max-width: 36ch; }

/* geteilte Wörter: Platz für Unterlängen, Maske zum Hochfahren */
[data-split] span { display: inline-block; }
[data-split] span[style*="overflow"] { padding-bottom: .1em; margin-bottom: -.1em; vertical-align: top; }

.hero-visual { position: relative; width: min(100%, 1000px); margin-left: auto; perspective: 1600px; padding: 0 0 7% 0; transform-origin: 50% 0; }
.tilt { position: relative; transform-style: preserve-3d; }

.device {
  position: relative;
  padding: 6px;
  border-radius: 20px;
  border: 1px solid rgb(255 255 255 / .16);
  background: linear-gradient(180deg, rgb(255 255 255 / .14), rgb(255 255 255 / .03));
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .2), 0 50px 120px rgb(0 0 0 / .65);
}
.device img { width: 100%; border-radius: 14px; }
.device--phone {
  position: absolute; left: 0; bottom: 0;
  width: 27%;
  padding: 5px;
  border-radius: 28px;
  border-color: rgb(255 255 255 / .2);
  background: linear-gradient(180deg, #2c2c2f, #141416);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.device--phone img { border-radius: 23px; aspect-ratio: 390 / 800; object-fit: cover; object-position: 50% 0; }
.hero-visual .device--phone { width: 23%; left: -6%; bottom: -9%; }

/* ---------- Startseite: Aussage, Wort für Wort ---------- */

.statement-text {
  font-size: clamp(1.9rem, 4.4vw, 3.9rem);
  font-weight: 600; letter-spacing: -0.035em; line-height: 1.14;
  max-width: 24ch;
}

/* ---------- Karten mit Lichtrand ---------- */

.spot { --mx: -500px; --my: -500px; position: relative; isolation: isolate; }
.spot::before {
  content: ""; position: absolute; inset: 0; z-index: 3; border-radius: inherit; padding: 1px;
  background: radial-gradient(360px circle at var(--mx) var(--my), rgb(255 255 255 / .5), transparent 45%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  opacity: 0; transition: opacity .4s var(--ease); pointer-events: none;
}
.spot::after {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: radial-gradient(520px circle at var(--mx) var(--my), rgb(255 255 255 / .05), transparent 50%);
  opacity: 0; transition: opacity .4s var(--ease); pointer-events: none;
}
.spot:hover::before, .spot:hover::after { opacity: 1; }

/* ---------- Startseite: Bento ---------- */

.bento {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
  margin-top: 56px;
}
.tile {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  min-height: 260px; padding: clamp(24px, 3vw, 36px);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg-card);
}
.tile h3 { font-size: clamp(1.375rem, 2vw, 1.625rem); letter-spacing: -0.03em; }
.tile p { margin-top: 10px; color: var(--muted); max-width: 38ch; }

.tile--phones { grid-column: span 3; grid-row: span 2; min-height: 600px; }
.tile--speed { grid-column: span 3; }
.tile--files { grid-column: span 3; }
.tile--code { grid-column: span 6; min-height: 340px; justify-content: flex-end; }

.tile-phones { position: relative; flex: 1; margin-top: 32px; }
.tile-phones .device--phone { width: 44%; left: 6%; bottom: -96px; }
.tile-phones .device--phone + .device--phone { left: auto; right: 6%; bottom: -150px; }

.big-number {
  margin-top: auto;
  font-size: clamp(4.5rem, 9vw, 7.5rem); font-weight: 600; letter-spacing: -0.06em; line-height: .9;
  font-variant-numeric: tabular-nums;
}
.big-number small { font-size: .42em; letter-spacing: -0.03em; margin-left: .08em; color: var(--muted); }
.tile--speed h3 { margin-top: 20px; }

.tile-icon {
  display: grid; place-items: center;
  width: 56px; height: 56px; margin-bottom: auto;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: linear-gradient(180deg, rgb(255 255 255 / .12), rgb(255 255 255 / .02));
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .2);
}
.tile-icon .icon { width: 26px; height: 26px; }
.tile--files h3 { margin-top: 28px; }

.tile-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.tile-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 40%; }
.tile-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgb(21 21 23 / .96) 0%, rgb(21 21 23 / .82) 42%, rgb(21 21 23 / .2) 100%);
}

/* ---------- Startseite: Produkte als Stapel ---------- */

.stack { display: grid; gap: 24px; margin-top: 56px; }
.stack-card {
  position: sticky;
  top: calc(var(--header) + 24px);
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  min-height: min(74vh, 640px);
  border-radius: 32px;
  border: 1px solid var(--line);
  background: #141416;
  overflow: hidden;
  transform-origin: 50% 0;
}
.stack-copy {
  display: flex; flex-direction: column; justify-content: center; gap: 20px;
  padding: clamp(28px, 4.5vw, 64px);
}
.stack-copy h3 { font-size: clamp(2.25rem, 4.2vw, 3.5rem); letter-spacing: -0.045em; }
.stack-copy p { color: var(--muted); max-width: 40ch; }
.stack-facts { list-style: none; padding: 0; display: grid; gap: 10px; }
.stack-facts li { display: flex; gap: 10px; align-items: center; font-weight: 500; }
.stack-facts .icon { width: 18px; height: 18px; color: var(--muted); }
.stack-copy .text-link { align-self: flex-start; margin-top: 8px; }
.stack-media { position: relative; overflow: hidden; border-left: 1px solid var(--line); }
.stack-media img { width: 100%; height: 100%; object-fit: cover; object-position: 0 0; }
.stack-dim { position: absolute; inset: 0; z-index: 2; background: #000; opacity: 0; pointer-events: none; }

/* ---------- Ablauf mit Fortschrittslinie ---------- */

.steps {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 7vw, 112px);
}
.steps-head { position: sticky; top: calc(var(--header) + 56px); align-self: start; }
.steps-head .h-section { font-size: clamp(2rem, 3.4vw, 3rem); }
.steps-head .lead { margin-top: 20px; }
.steps-list { position: relative; padding: 4px 0 4px 48px; }
.steps-items { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(56px, 9vw, 112px); }
.steps-line { position: absolute; left: 7px; top: 12px; bottom: 12px; width: 1px; background: var(--line-strong); }
.steps-line-fill { position: absolute; inset: 0; background: var(--text); transform-origin: 50% 0; }
.step { position: relative; }
.step::before {
  content: ""; position: absolute; left: -48px; top: .5em;
  width: 15px; height: 15px; border-radius: 50%;
  border: 1px solid var(--line-strong); background: var(--bg);
  transition: background-color .5s var(--ease), border-color .5s var(--ease), box-shadow .5s var(--ease);
}
.step.is-active::before { background: var(--text); border-color: var(--text); box-shadow: 0 0 0 6px rgb(255 255 255 / .08); }
.step h3 { font-size: clamp(1.5rem, 2.8vw, 2.25rem); letter-spacing: -0.035em; }
.step p { margin-top: 12px; color: var(--muted); max-width: 44ch; }

/* ---------- Abschluss-Aufruf ---------- */

.cta { position: relative; text-align: center; padding-block: clamp(104px, 15vw, 208px); }
.cta h2 { font-size: clamp(2.25rem, 5.2vw, 4.5rem); letter-spacing: -0.045em; max-width: 24ch; margin-inline: auto; }
.cta p { margin: 22px auto 0; color: var(--muted); max-width: 44ch; font-size: 1.125rem; }
.cta .btn-row { justify-content: center; margin-top: 40px; }

/* ---------- Fußzeile ---------- */

.foot { border-top: 1px solid var(--line); padding: 72px 0 28px; color: var(--muted); font-size: .9375rem; overflow: hidden; }
.foot-grid { display: grid; grid-template-columns: 1.5fr repeat(3, minmax(0, 1fr)); gap: 32px; }
.foot-about p { margin-top: 14px; max-width: 30ch; }
.foot h2 { font-size: .8125rem; font-weight: 500; letter-spacing: 0; color: var(--text); margin-bottom: 14px; }
.foot ul { list-style: none; padding: 0; display: grid; gap: 8px; }
.foot-grid > * { min-width: 0; }
.foot a { text-decoration: none; overflow-wrap: anywhere; transition: color .25s var(--ease); }
.foot a:hover { color: var(--text); }
.foot-word {
  margin-top: 64px;
  font-size: clamp(4.5rem, 21vw, 17rem); font-weight: 600; letter-spacing: -0.065em; line-height: .78;
  color: rgb(255 255 255 / .06);
  user-select: none; white-space: nowrap;
}
.foot-word span { display: inline-block; }
.foot-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line);
  font-size: .8125rem;
}

/* ---------- Unterseiten ---------- */

.page-hero { padding: calc(var(--header) + clamp(64px, 11vw, 136px)) 0 clamp(48px, 7vw, 96px); }
.page-hero h1 { font-size: clamp(2.75rem, 7.4vw, 6rem); letter-spacing: -0.05em; line-height: 1; }
.page-hero .lead { margin-top: 24px; max-width: 48ch; }
.page-hero .btn-row { margin-top: 32px; }

.prose > * { max-width: 68ch; }
.prose h2 { font-size: 1.375rem; letter-spacing: -0.02em; margin: 48px 0 12px; }
.prose h2:first-child { margin-top: 0; }
.prose p + p { margin-top: 1em; }
.prose p { color: var(--muted); }
.prose strong { color: var(--text); }

.facts-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 48px; max-width: 880px; }
.facts-list dt { font-size: .875rem; color: var(--faint); margin-bottom: 6px; }
.facts-list dd { color: var(--text); }
.note { margin-top: 48px; max-width: 68ch; color: var(--muted); font-size: .9375rem; }

/* ---------- Produkte ---------- */

.jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }

.product { scroll-margin-top: calc(var(--header) + 24px); }
.product + .product { border-top: 1px solid var(--line); }
.product-head { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.product-head h2 { font-size: clamp(2.5rem, 6vw, 4.75rem); letter-spacing: -0.05em; }
.product .lead { margin-top: 20px; }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.split--media-first > :first-child { order: 0; }

.feature-list { list-style: none; padding: 0; display: grid; gap: 28px; margin-top: 40px; }
.feature-list li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; }
.feature-list .tile-icon { width: 44px; height: 44px; margin: 0; }
.feature-list .tile-icon .icon { width: 20px; height: 20px; }
.feature-list h3 { font-size: 1.125rem; letter-spacing: -0.02em; line-height: 1.3; }
.feature-list p { color: var(--muted); margin-top: 4px; }

.media {
  position: relative; overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg-card);
}
.media img { width: 100%; height: 100%; object-fit: cover; }

.shelf { --inset: max(var(--gutter), calc((100% - var(--wrap)) / 2 + var(--gutter))); margin-top: 56px; }
.shelf-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(78%, 720px);
  gap: 16px;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--inset);
  padding: 0 var(--inset) 20px;
  scrollbar-width: none;
}
.shelf-track:focus-visible { outline-offset: -2px; }
.shelf-track::-webkit-scrollbar { display: none; }
.shelf-item { scroll-snap-align: start; }
.shelf-item .device { box-shadow: inset 0 1px 0 rgb(255 255 255 / .2), 0 24px 60px rgb(0 0 0 / .5); }
.shelf-item figcaption { margin-top: 14px; color: var(--muted); font-size: .9375rem; }
.shelf-controls { display: flex; justify-content: flex-end; gap: 8px; margin-top: 8px; }

.media--tall { aspect-ratio: 4 / 5; }
.media--wide { aspect-ratio: 4 / 3; }

.product-title { font-size: clamp(2.5rem, 6vw, 4.75rem); letter-spacing: -0.05em; }
.product-detail { margin-top: clamp(48px, 7vw, 88px); align-items: start; }
.product-detail .feature-list { margin-top: 0; }
.product-offer { display: grid; gap: 16px; padding: clamp(24px, 3.4vw, 40px); border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg-card); }
.product-offer .btn-row { margin-top: 8px; }

.media-pair { position: relative; padding: 0 4% 14% 0; }
.media-pair .device--phone { width: 27%; left: auto; right: 0; bottom: 0; }

.contact-more { margin-top: clamp(48px, 7vw, 80px); display: grid; gap: 16px; }

.fineprint { margin-top: 28px; font-size: .8125rem; color: var(--faint); max-width: 60ch; }

/* ---------- Leistungen ---------- */

.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.plan {
  display: flex; flex-direction: column; gap: 28px;
  padding: clamp(24px, 3.4vw, 40px);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg-card);
}
.plan h2 { font-size: clamp(1.5rem, 2.4vw, 1.875rem); letter-spacing: -0.03em; }
.plan-price { font-size: clamp(2.75rem, 5.4vw, 4rem); font-weight: 600; letter-spacing: -0.05em; line-height: 1; }
.plan-price small { margin-left: 10px; font-size: 1rem; font-weight: 400; letter-spacing: 0; color: var(--muted); }
.check-list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 20px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.4; }
.check-list .icon { width: 18px; height: 18px; margin-top: 1px; color: var(--muted); }
.plan-thumb {
  position: relative; display: block; width: 100%; padding: 0;
  border: 1px solid var(--line); border-radius: var(--radius-media); overflow: hidden;
  background: #000; cursor: zoom-in;
}
.plan-thumb img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: top; transition: scale .8s var(--ease); }
.plan-thumb:hover img { scale: 1.04; }
.plan-thumb .pill { position: absolute; right: 12px; bottom: 12px; color: var(--text); background: rgb(10 10 11 / .6); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.plan--wide { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.plan--wide .plan-main { display: grid; gap: 20px; align-content: start; }
.plan .btn-row { margin-top: auto; }

/* ---------- Hosting ---------- */

.intro-text { font-size: clamp(1.25rem, 2.2vw, 1.75rem); line-height: 1.45; letter-spacing: -0.015em; max-width: 34ch; }
.intro-text + .intro-text { margin-top: 1em; color: var(--muted); }

.wide-media { aspect-ratio: 21 / 9; }
.topics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(40px, 6vw, 80px) clamp(32px, 6vw, 96px); }
.topic { border-top: 1px solid var(--line-strong); padding-top: 28px; }
.topic h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); letter-spacing: -0.035em; }
.topic p { margin-top: 14px; color: var(--muted); }
.topic p + p { margin-top: .8em; }

.offset-pair { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 16px; align-items: start; }
.offset-pair .media:first-child { aspect-ratio: 4 / 3; }
.offset-pair .media:last-child { aspect-ratio: 4 / 5; margin-top: 18%; }

/* ---------- Kontakt ---------- */

.contact-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.contact-tile {
  display: grid; gap: 22px; align-content: start;
  padding: clamp(24px, 3.4vw, 40px);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg-card);
}
.contact-tile .tile-icon { margin: 0; }
.contact-label { font-size: .875rem; color: var(--muted); }
.contact-value {
  font-size: clamp(1.375rem, 2.3vw, 1.875rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1.2;
  text-decoration: none; overflow-wrap: anywhere;
}
.contact-value:hover { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.copy-btn.is-done { border-color: rgb(255 255 255 / .45); }

.quote-line { font-size: clamp(1.25rem, 2.2vw, 1.625rem); letter-spacing: -0.02em; line-height: 1.4; max-width: 36ch; }

.timeline { position: relative; margin-top: 56px; padding-top: 44px; }
.timeline-items { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.timeline-line { position: absolute; top: 7px; left: 0; right: 0; height: 1px; background: var(--line-strong); }
.timeline-line span { position: absolute; inset: 0; background: var(--text); transform-origin: 0 50%; }
.timeline-items li { position: relative; }
.timeline-items li::before {
  content: ""; position: absolute; top: -44px; left: 0;
  width: 15px; height: 15px; border-radius: 50%;
  border: 1px solid var(--text); background: var(--bg);
}
.timeline h3 { font-size: 1.375rem; letter-spacing: -0.025em; }
.timeline p { margin-top: 10px; color: var(--muted); max-width: 32ch; }

.reasons { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 40px; margin-top: 36px; }
.reasons li { display: flex; gap: 12px; align-items: flex-start; font-size: 1.125rem; line-height: 1.45; }
.reasons .icon { width: 20px; height: 20px; margin-top: 3px; }

/* ---------- Häufige Fragen ---------- */

.faq { max-width: 860px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 26px 0;
  list-style: none; cursor: pointer;
  font-size: clamp(1.125rem, 2vw, 1.5rem); font-weight: 500; letter-spacing: -0.02em; line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq-icon {
  display: grid; place-items: center; flex: none;
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: linear-gradient(180deg, rgb(255 255 255 / .1), rgb(255 255 255 / .02));
  transition: rotate .5s var(--ease), background-color .3s;
}
.faq-icon .icon { width: 16px; height: 16px; }
.faq details[open] .faq-icon { rotate: 45deg; }
.faq-answer { padding: 0 64px 30px 0; color: var(--muted); max-width: 64ch; }
.faq-answer a { color: var(--text); }
@supports (interpolate-size: allow-keywords) {
  .faq { interpolate-size: allow-keywords; }
  .faq details::details-content { height: 0; overflow: clip; transition: height .5s var(--ease), content-visibility .5s allow-discrete; }
  .faq details[open]::details-content { height: auto; }
}

/* ---------- Vorschau (Demo) ---------- */

.demo-stage { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, 300px); gap: clamp(20px, 3vw, 40px); align-items: end; }
.frame-screen { --s: .5; position: relative; overflow: hidden; border-radius: 14px; background: #fff; }
.frame-screen iframe { position: absolute; top: 0; left: 0; border: 0; transform: scale(var(--s)); transform-origin: 0 0; background: #fff; }
.frame--desktop .frame-screen { aspect-ratio: 16 / 10; }
.frame--phone { padding: 5px; border-radius: 30px; }
.frame--phone .frame-screen { aspect-ratio: 390 / 844; border-radius: 25px; --s: .7; }
.frame-label { margin-top: 14px; color: var(--muted); font-size: .9375rem; }
.frame-screen, .frame-screen iframe { background: var(--bg-card); }
.demo-links { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 32px; }

/* ---------- Bildbetrachter ---------- */

.lightbox {
  position: fixed; inset: 0;
  width: 100%; height: 100%; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0;
  background: rgb(0 0 0 / .88);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  color: var(--text);
}
.lightbox::backdrop { background: transparent; }
.lightbox[open] { display: grid; place-items: center; }
.lightbox-figure { display: grid; place-items: center; padding: 72px clamp(16px, 6vw, 80px); width: 100%; height: 100%; }
.lightbox-figure img { max-width: min(100%, 1400px); max-height: 100%; border-radius: var(--radius-media); box-shadow: 0 40px 120px rgb(0 0 0 / .7); }
.lightbox-close { position: absolute; top: 16px; right: 16px; }
.lightbox-prev, .lightbox-next { position: absolute; top: 50%; translate: 0 -50%; }
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }

/* ---------- Anpassung an Bildschirmgrößen ---------- */

@media (max-width: 1023px) {
  .hero-visual .device--phone { left: -2%; }
  .foot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot-about { grid-column: 1 / -1; }
  .demo-stage { grid-template-columns: minmax(0, 1fr); }
  .frame--phone { max-width: 300px; }
}

@media (max-width: 767px) {
  body { font-size: 1rem; }
  .top-cta { display: none; }
  .hero { padding-top: calc(var(--header) + 32px); }

  .bento { grid-template-columns: minmax(0, 1fr); }
  .tile--phones, .tile--speed, .tile--files, .tile--code { grid-column: auto; grid-row: auto; }
  .tile--phones { min-height: 440px; }
  .tile--code { min-height: 300px; }
  .tile-bg::after { background: linear-gradient(0deg, rgb(21 21 23 / .97) 30%, rgb(21 21 23 / .55) 100%); }

  .stack-card { position: relative; top: auto; grid-template-columns: minmax(0, 1fr); min-height: 0; border-radius: var(--radius); }
  .stack-media { order: -1; aspect-ratio: 16 / 10; border-left: 0; border-bottom: 1px solid var(--line); }

  .steps { grid-template-columns: minmax(0, 1fr); }
  .steps-head { position: static; }
  .steps-list { padding-left: 40px; }
  .step::before { left: -40px; }

  .split, .plans, .plan--wide, .contact-tiles, .topics, .reasons, .facts-list { grid-template-columns: minmax(0, 1fr); }
  .check-list { grid-template-columns: minmax(0, 1fr); }
  .offset-pair { grid-template-columns: minmax(0, 1fr); }
  .offset-pair .media:last-child { margin-top: 0; aspect-ratio: 4 / 3; }
  .wide-media { aspect-ratio: 4 / 3; }
  .shelf-track { grid-auto-columns: 86%; }

  .timeline { padding: 0 0 0 40px; }
  .timeline-items { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .timeline-line { top: 6px; bottom: 6px; left: 7px; right: auto; width: 1px; height: auto; }
  .timeline-line span { transform-origin: 50% 0; }
  .timeline-items li::before { top: .35em; left: -40px; }

  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid > :nth-child(3) { grid-column: 1 / -1; grid-row: 2; }
  .faq-answer { padding-right: 0; }
}

/* ---------- Barrierefreiheit ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

@media (prefers-reduced-transparency: reduce) {
  .btn, .drawer-panel, .top.is-scrolled, .device, .plan-thumb .pill, .lightbox {
    -webkit-backdrop-filter: none; backdrop-filter: none;
  }
  .btn { background: #2a2a2d; }
  .btn--light { background: #f5f5f7; }
  .drawer-panel { background: #18181a; }
  .top.is-scrolled { background: #0a0a0b; }
}

@media (forced-colors: active) {
  .btn { border: 1px solid ButtonText; }
}
