/* =========================================================
   EINFACH. TECH | Website 2026
   Konzept: Flughafen / Boarding Pass
   Radius-Regel: Flächen 18px, interaktive Elemente pill
   ========================================================= */

:root {
  --bg: #f4f1ea;
  --bg-2: #ebe6dc;
  --surface: #fbf9f4;
  --ink: #0d0d0d;
  --ink-2: #33363b;
  --muted: #5f6268;
  --line: rgba(17, 18, 20, 0.12);
  --line-strong: rgba(17, 18, 20, 0.22);

  --accent: #cba135;
  --accent-2: #e2bc57;
  --accent-ink: #0d0d0d;

  /* Objekte (Boarding Pass, Anzeigetafel) bleiben in beiden Modi dunkel */
  --obj: #141518;
  --obj-2: #1c1e22;
  --obj-ink: #f1f1ee;
  --obj-muted: #8e9198;
  --obj-line: rgba(255, 255, 255, 0.1);

  --radius: 18px;
  --shadow: 0 40px 80px -30px rgba(17, 18, 20, 0.35);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --nav-h: 68px;
  color-scheme: light;
}

:root[data-theme="dark"] {
  --bg: #080808;
  --bg-2: #101010;
  --surface: #141414;
  --ink: #f0ede6;
  --ink-2: #c6c8cc;
  --muted: #9a9da4;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.2);
  --obj: #18191d;
  --obj-2: #202227;
  --shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.7);
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease);
}
img { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.035em; line-height: 1.05; }
h2 { font-size: clamp(2.2rem, 4.6vw, 3.8rem); }
h3 { font-size: 1.5rem; letter-spacing: -0.02em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px); }

.skip {
  position: fixed; top: 12px; left: 12px; z-index: 100;
  padding: 10px 16px; border-radius: 999px; background: var(--accent); color: var(--accent-ink);
  transform: translateY(-200%); transition: transform 0.2s;
}
.skip:focus { transform: none; }

.eyebrow {
  font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 1.4rem;
}

.sec-head { max-width: 720px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.hover-only { display: none; }
@media (hover: hover) and (min-width: 901px) { .hover-only { display: inline; } }
.sec-head p { margin-top: 1rem; color: var(--muted); font-size: 1.15rem; max-width: 52ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  height: 44px; padding: 0 20px; border-radius: 999px;
  font-size: 0.95rem; font-weight: 500; white-space: nowrap;
  transition: transform 0.25s var(--ease), background-color 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.btn:active { transform: scale(0.97); }
.btn--lg { height: 54px; padding: 0 28px; font-size: 1.02rem; }
.btn--primary { background: var(--accent); color: var(--accent-ink); box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.12); }
.btn--primary:hover { box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.12), 0 10px 24px -10px rgba(203, 161, 53, 0.7); }
.btn--primary .ph { transition: transform 0.25s var(--ease); }
.btn--primary:hover .ph { transform: translateX(3px); }
.btn--ghost { border: 1px solid var(--line-strong); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); }

.icon-btn {
  width: 44px; height: 44px; border-radius: 999px; display: grid; place-items: center;
  border: 1px solid var(--line); font-size: 1.15rem; transition: border-color 0.2s;
}
.icon-btn:hover { border-color: var(--line-strong); }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--nav-h);
  transition: background-color 0.3s, border-color 0.3s, backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  backdrop-filter: blur(16px) saturate(160%);
  border-bottom-color: var(--line);
}
.nav__inner { height: 100%; display: flex; align-items: center; gap: 2rem; }
.logo { display: flex; flex-direction: column; line-height: 1; }
.logo__word { font-weight: 700; font-size: 1.3rem; letter-spacing: -0.02em; }
.logo__sub { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.nav__links { display: flex; gap: 2rem; margin-left: auto; }
.nav__links a:not(.btn) { font-size: 0.95rem; color: var(--ink-2); position: relative; }
.nav__links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--accent);
  transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease);
}
.nav__links a:not(.btn):hover::after, .nav__links a[aria-current="page"]::after { transform: scaleX(1); }
.nav__actions { display: flex; align-items: center; gap: 10px; }
.nav__cta-mobile, .nav__burger { display: none; }

#theme-toggle .ph-moon { display: none; }
:root[data-theme="dark"] #theme-toggle .ph-sun { display: none; }
:root[data-theme="dark"] #theme-toggle .ph-moon { display: block; }

.nav__burger { flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.nav__burger span { display: block; width: 16px; height: 1.5px; background: currentColor; transition: transform 0.3s var(--ease); }
.nav__burger[aria-expanded="true"] span:first-child { transform: translateY(3.25px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { transform: translateY(-3.25px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .nav__links {
    position: fixed; inset: var(--nav-h) 0 auto 0; margin: 0;
    flex-direction: column; gap: 0; padding: 12px 16px 24px;
    background: var(--bg); border-bottom: 1px solid var(--line);
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: opacity 0.25s, transform 0.3s var(--ease);
  }
  .nav__links.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .nav__links a:not(.btn) { padding: 14px 0; font-size: 1.15rem; border-bottom: 1px solid var(--line); }
  .nav__links a:not(.btn)::after { display: none; }
  .nav__cta-mobile { display: inline-flex; margin-top: 18px; height: 52px; }
  .nav__actions { margin-left: auto; }
}

/* ---------- Intro: Blick aus Reiseflughöhe ----------
   Bewusster Farbblock: Intro und Finale sind in beiden Modi "Nacht" */
.intro {
  --horizon: 0.6; /* Horizont als Anteil der Höhe von oben, gleicher Wert im Shader */
  --night-ink: #f4f1ea;
  position: relative; min-height: 100dvh; overflow: hidden; isolation: isolate;
  background: #050505; color: var(--night-ink);
}
.intro__gl, .intro__fallback { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.intro__gl { opacity: 0; transition: opacity 0.6s; }
.intro.has-gl .intro__gl { opacity: 1; }
.intro.has-gl .intro__fallback { display: none; }
/* Ohne WebGL (oder ohne Grafikkarte): gleiche Szene in CSS, Erdbogen + Glanz am Horizont */
.intro__fallback { --fh: calc(var(--horizon) * 100dvh + 1.2rem); overflow: hidden; background: radial-gradient(60% 45% at 50% var(--fh), rgba(226, 188, 87, 0.28), transparent 70%), #050505; }
.intro__fallback::before {
  content: ""; position: absolute; left: 50%; top: var(--fh);
  width: max(270vw, 243dvh); aspect-ratio: 1; border-radius: 50%; transform: translateX(-50%);
  background: radial-gradient(closest-side, #050505 97%, #1a1206 99.4%, #3a2a0e 100%);
  box-shadow:
    0 0 0 2px rgba(255, 246, 222, 1),
    0 -8px 26px 2px rgba(255, 230, 170, 0.9),
    0 -36px 130px 10px rgba(226, 188, 87, 0.65),
    0 -110px 320px 40px rgba(160, 100, 25, 0.5);
}
.intro__fallback::after {
  content: ""; position: absolute; left: 50%; top: var(--fh); width: 70vw; height: 30vh;
  transform: translate(-50%, -60%);
  background: radial-gradient(50% 50% at 50% 60%, rgba(255, 240, 200, 0.85), rgba(226, 188, 87, 0.3) 45%, transparent 72%);
  filter: blur(6px);
}

.intro__inner {
  position: relative; min-height: 100dvh; display: grid;
  grid-template-rows: calc(var(--horizon) * 100dvh) auto;
}
.intro__brand {
  align-self: end; justify-self: center; margin: 0 0 clamp(0.6rem, 2.2vw, 2rem);
  font-family: "Montserrat", var(--font); font-weight: 500;
  font-size: clamp(3.2rem, 14.5vw, 14rem); line-height: 0.8; letter-spacing: 0.14em;
  margin-right: -0.14em; /* Sperrung am Ende ausgleichen */
  white-space: nowrap; user-select: none; color: #f4f1ea;
  will-change: transform, opacity;
}
/* Verlauf pro Buchstabe: background-clip:text greift nicht durch transformierte Kinder */
.intro__brand .l {
  display: inline-block; padding-bottom: 0.04em;
  background: linear-gradient(180deg, #ffffff 15%, #ece3cc 70%, #c9b58a);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.js .intro__brand .l { animation: letterIn 1.3s var(--ease) both; animation-delay: calc(150ms + var(--i) * 75ms); }
@keyframes letterIn {
  from { opacity: 0; transform: translateY(40%) scale(0.92); filter: blur(14px); }
  to { opacity: 1; transform: none; filter: blur(0); }
}

.intro__copy {
  align-self: start; justify-self: center; text-align: center;
  padding: clamp(2rem, 5vh, 3.4rem) 0 clamp(3rem, 8vh, 5rem);
  display: flex; flex-direction: column; align-items: center;
  will-change: transform, opacity;
}
.intro__title { font-size: clamp(1.7rem, 3.4vw, 3rem); letter-spacing: -0.04em; }
.intro__lead { margin-top: 0.9rem; max-width: 46ch; color: #a8a49b; font-size: clamp(1rem, 1.2vw, 1.12rem); }
.intro__ctas { margin-top: 1.8rem; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.js .intro__copy > * { animation: rise 1s var(--ease) both; }
.js .intro__copy > :nth-child(1) { animation-delay: 1.15s; }
.js .intro__copy > :nth-child(2) { animation-delay: 1.3s; }
.js .intro__copy > :nth-child(3) { animation-delay: 1.45s; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } }
.intro .mark { transition-delay: 1.8s; }

.btn--glass {
  color: var(--night-ink); border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.btn--glass:hover { border-color: rgba(255, 255, 255, 0.4); }

@media (max-width: 640px) {
  .intro { --horizon: 0.5; }
  .intro__brand { letter-spacing: 0.08em; margin-right: -0.08em; font-size: 15.5vw; }
  .intro__ctas { flex-direction: column; align-items: stretch; width: 100%; max-width: 320px; }
}

.mark {
  background: linear-gradient(var(--accent), var(--accent)) no-repeat 0 96% / 0% 0.14em;
  transition: background-size 1.1s var(--ease) 0.6s;
  padding: 0 0.04em;
}
.is-loaded .mark { background-size: 100% 0.14em; }

/* Navigation über dunklen Flächen */
.nav { color: var(--ink); }
.nav.on-dark {
  --ink: #f0ede6; --ink-2: #c9c5bc; --muted: #9a968d; --bg: #0b0b0b;
  --line: rgba(255, 255, 255, 0.12); --line-strong: rgba(255, 255, 255, 0.24);
}
.nav.on-dark.is-scrolled { background: rgba(8, 8, 8, 0.5); }

/* ---------- Abflüge ---------- */
.departures { padding: clamp(5rem, 10vw, 8rem) 0 clamp(4rem, 8vw, 6rem); }

/* ---------- Anzeigetafel (FIDS) ---------- */
.fids {
  --fs: clamp(11px, 1.55vw, 22px);
  padding: 10px; border-radius: 22px;
  background: linear-gradient(180deg, #2b2d33, #17181b 60%, #101114);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 -1px 0 rgba(0, 0, 0, 0.6),
    var(--shadow);
  font-family: var(--mono);
}
.fids__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 18px; border-radius: 14px 14px 4px 4px;
  background: var(--accent); color: #0d0d0d;
}
.fids__title { display: flex; align-items: center; gap: 12px; font-size: clamp(1rem, 1.6vw, 1.35rem); }
.fids__title .ph-fill { font-size: 1.5em; }
.fids__title b { font-family: var(--font); font-weight: 700; letter-spacing: -0.02em; }
.fids__title span { font-family: var(--font); font-weight: 400; opacity: 0.7; }
.fids__clock { font-size: clamp(1.1rem, 1.8vw, 1.6rem); font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: 0.04em; }

.fids__screen {
  margin-top: 6px; border-radius: 4px 4px 14px 14px; padding: clamp(10px, 1.6vw, 22px);
  background: radial-gradient(120% 140% at 50% 0%, #121316, #08090a);
  box-shadow: inset 0 2px 12px rgba(0, 0, 0, 0.8);
  overflow: hidden;
}
.fids__cols, .fids__row { display: flex; align-items: center; gap: calc(1.1 * var(--fs)); }
.fids__cols {
  font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: #6f727a;
  padding: 0 calc(0.5 * var(--fs)) 10px;
}
/* Spaltenbreite = Zeichen × (Kachel + Abstand) */
.fids__cols .c-flight { width: calc(6 * (0.98 * var(--fs) + 3px)); }
.fids__cols .c-dest, .fids__cols .c-branch { width: calc(14 * (0.98 * var(--fs) + 3px)); }
.fids__cols span { flex-shrink: 0; }

.fids__rows li + li { margin-top: 4px; }
.fids__row {
  position: relative; width: 100%; padding: calc(0.35 * var(--fs)) calc(0.5 * var(--fs));
  border-radius: 8px; text-align: left; font-size: var(--fs);
  transition: background-color 0.25s;
}
.fids__row::before {
  content: ""; position: absolute; left: 0; top: 18%; bottom: 18%; width: 3px; border-radius: 3px;
  background: var(--accent); transform: scaleY(0); transition: transform 0.35s var(--ease);
}
button.fids__row:hover, a.fids__row:hover { background: rgba(255, 255, 255, 0.04); }
.fids__row.is-active { background: rgba(203, 161, 53, 0.1); }
.fids__row.is-active::before { transform: scaleY(1); }
.fids__row--muted { opacity: 0.7; }

.fids__foot {
  display: flex; justify-content: space-between; gap: 1rem; margin-top: 12px; padding: 10px calc(0.5 * var(--fs)) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: #6f727a;
}
.fids__more { color: var(--accent); animation: blink 2.4s steps(1) infinite; }

/* Fallblatt-Kachel: vier Hälften für die echte Klappbewegung */
.flap { display: inline-flex; gap: 3px; flex-shrink: 0; }
.ch {
  position: relative; display: inline-block; width: 0.98em; height: 1.48em;
  perspective: 240px; color: #f2f0e8; font-weight: 600; line-height: 1.48em; text-align: center;
}
.ch > span {
  position: absolute; left: 0; right: 0; height: 50%; overflow: hidden;
  -webkit-backface-visibility: hidden; backface-visibility: hidden;
}
.ch > span > span { display: block; height: 200%; }
.ch__t, .ch__ft { top: 0; border-radius: 3px 3px 0 0; background: linear-gradient(#26272c, #1d1e22); transform-origin: 50% 100%; }
.ch__b, .ch__fb { bottom: 0; border-radius: 0 0 3px 3px; background: linear-gradient(#1a1b1f, #141518); transform-origin: 50% 0; }
.ch__b > span, .ch__fb > span { transform: translateY(-50%); }
.ch__ft, .ch__fb { z-index: 2; }
.ch__fb { transform: rotateX(90deg); }
.ch::after {
  content: ""; position: absolute; left: 0; right: 0; top: calc(50% - 0.5px); height: 1px; z-index: 3;
  background: rgba(0, 0, 0, 0.75);
}
.ch.go .ch__ft { animation: flapTop 0.075s ease-in forwards; }
.ch.go .ch__fb { animation: flapBottom 0.075s ease-out 0.075s forwards; }
@keyframes flapTop { to { transform: rotateX(-90deg); } }
@keyframes flapBottom { from { transform: rotateX(90deg); } to { transform: rotateX(0); } }

.c-status.is-boarding .ch { color: var(--accent); }
.c-status.is-checkin .ch { color: var(--accent); }
.fids__row--you.is-settled .c-status .ch > span > span { animation: blink 1.4s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0.2; } }

@media (max-width: 900px) {
  .fids { --fs: clamp(11px, 2.6vw, 18px); }
  .c-branch { display: none !important; }
}
@media (max-width: 560px) {
  .fids { --fs: 11px; padding: 7px; }
  .fids__screen { padding: 8px 6px; }
  .c-flight { display: none !important; }
  .flap { gap: 2px; }
  .fids__cols .c-dest { width: calc(14 * (0.98 * var(--fs) + 2px)); }
  .fids__head { padding: 10px 12px; }
}

/* ---------- Manifest: Wörter leuchten beim Scrollen auf ---------- */
.manifest__pin { min-height: 100dvh; display: flex; align-items: center; padding: calc(var(--nav-h) + 2rem) 0 3rem; }
.manifest__text {
  max-width: 22ch; font-size: clamp(2.1rem, 5.6vw, 5.2rem); font-weight: 600; letter-spacing: -0.045em; line-height: 1.04;
}
.manifest__text em { font-style: normal; }
.manifest__text .w { display: inline-block; opacity: 0.14; transition: opacity 0.2s linear; }
.manifest__text em .w { color: var(--accent); }
.no-story .manifest__text .w { opacity: 1; }

/* ---------- Gates: Projekte als Seitwärtsfahrt ---------- */
.gates { position: relative; overflow: hidden; margin-top: clamp(3rem, 6vw, 5rem); }
.gates__track {
  display: flex; align-items: stretch; gap: clamp(16px, 2.4vw, 32px); width: max-content;
  padding: 0 max(clamp(16px, 4vw, 40px), calc((100vw - 1280px) / 2 + 40px));
  height: min(78dvh, 720px);
}
.gates__intro {
  flex: 0 0 auto; width: min(30vw, 380px); display: flex; flex-direction: column; justify-content: center; gap: 1.6rem;
}
.gates__intro h3 { font-size: clamp(1.8rem, 3vw, 2.6rem); letter-spacing: -0.035em; line-height: 1.1; }
.gates__hint { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.gates__hint .ph { font-size: 1.2rem; color: var(--accent); animation: nudge 1.6s var(--ease) infinite; }
@keyframes nudge { 50% { transform: translateX(6px); } }

.gate {
  flex: 0 0 auto; width: min(74vw, 1040px); position: relative; overflow: hidden;
  border-radius: 28px; background: #0b0b0b; color: #f4f1ea; isolation: isolate;
  display: flex; flex-direction: column; justify-content: flex-end;
}
/* Screenshot oben, Infos darunter: Texte der Screenshots kollidieren so nicht mit unseren */
.gate:not(.gate--you) { justify-content: flex-start; padding: 10px; }
.gate__shot { position: relative; flex: 1; min-height: 0; overflow: hidden; border-radius: 20px; background: #141414; }
.gate__shot img { width: 116%; max-width: none; height: 100%; object-fit: cover; object-position: top left; will-change: transform; }
.gate__shot::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08); }
.gate__info {
  flex-shrink: 0; padding: clamp(16px, 2.2vw, 26px) clamp(14px, 2vw, 24px) clamp(10px, 1.4vw, 16px);
  display: grid; grid-template-columns: auto 1fr; column-gap: clamp(20px, 3vw, 48px); align-items: end;
}
.gate__info .gate__no { grid-column: 1; }
.gate__info h3 { grid-column: 1; }
.gate__info p { grid-column: 2; grid-row: 1 / span 2; align-self: end; }
.gate__info .gate__branch { grid-column: 1 / -1; }
.gate__no { display: inline-flex; gap: 12px; font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-2); }
.gate__no span { color: #9a968d; }
.gate h3 { margin-top: 0.5rem; font-size: clamp(1.8rem, 3.2vw, 3rem); letter-spacing: -0.045em; white-space: nowrap; }
.gate p { margin: 0; color: #c9c5bc; max-width: 46ch; }
.gate__branch { margin-top: 0.9rem; display: inline-flex; align-items: center; gap: 8px; font-size: 0.92rem; color: #f4f1ea; }
.gate__branch .ph-fill { color: var(--accent); }

.gate--you {
  width: min(52vw, 640px); justify-content: center; align-items: flex-start; padding: clamp(28px, 4vw, 56px);
  background:
    radial-gradient(90% 70% at 100% 100%, rgba(255, 255, 255, 0.25), transparent 60%),
    linear-gradient(150deg, #e9cd7c, #cba135 55%, #a9842a);
  color: #0d0d0d; transition: transform 0.4s var(--ease);
}
.gate--you .gate__no, .gate--you .gate__no span { color: rgba(13, 13, 13, 0.7); }
.gate__you-title { display: block; margin: 1rem 0 1rem; font-size: clamp(3rem, 7vw, 6.4rem); letter-spacing: -0.06em; line-height: 0.92; }
.gate__you-text { display: block; max-width: 30ch; margin-bottom: 2rem; font-size: 1.05rem; color: rgba(13, 13, 13, 0.75); }
.gate__you-cta { display: inline-flex; align-items: center; gap: 12px; font-weight: 600; font-size: 1.15rem; border-bottom: 2px solid currentColor; padding-bottom: 4px; }
.gate__you-cta .ph { transition: transform 0.3s var(--ease); }
.gate--you:hover .gate__you-cta .ph { transform: translateX(6px); }

/* Ohne Story-Modus: normal wischbar */
.no-story .gates { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
.no-story .gate, .no-story .gates__intro { scroll-snap-align: center; }

@media (max-width: 760px) {
  .gates__track { height: min(72dvh, 600px); }
  .gates__intro { width: 70vw; }
  .gate { width: 86vw; }
  .gate--you { width: 80vw; }
  .gate__shot img { width: 100%; object-position: top center; }
  .gate__shot { flex: 0 0 46%; }
  .gate__info { display: block; padding: 16px 10px 8px; }
  .gate__info p { margin-top: 0.7rem; }
  .gate h3 { font-size: 1.9rem; white-space: normal; }
}

/* ---------- Leistungen: Kartenstapel ---------- */
.stack { padding: clamp(5rem, 10vw, 8rem) 0 clamp(3rem, 6vw, 5rem); }
.stack__card {
  position: sticky; top: calc(var(--nav-h) + 20px + var(--n) * 22px);
  padding-bottom: 8vh;
}
.stack__card:last-child { padding-bottom: 0; }
.svc {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: 1fr 1fr; min-height: min(72dvh, 620px);
  border-radius: 28px; background: var(--surface); border: 1px solid var(--line);
  box-shadow: 0 -20px 50px -30px rgba(0, 0, 0, 0.35);
  transform-origin: 50% 0; will-change: transform;
}
.svc__copy { padding: clamp(28px, 4.4vw, 64px); display: flex; flex-direction: column; justify-content: center; }
.svc__tag {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line-strong);
  font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase;
}
.svc__tag .ph { font-size: 1.05rem; }
.svc h3 { margin-top: 1.6rem; font-size: clamp(2.4rem, 5vw, 4.6rem); letter-spacing: -0.05em; line-height: 0.98; }
.svc p { margin-top: 1rem; color: var(--muted); max-width: 40ch; font-size: 1.08rem; }
.svc ul { margin-top: 1.6rem; display: grid; gap: 10px; }
.svc li { display: flex; gap: 10px; align-items: center; }
.svc li .ph { color: var(--accent); }
.stack__care { margin-top: 2.4rem; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; color: var(--muted); }
.stack__care .ph { font-size: 1.2rem; color: var(--accent); }
.stack__care a { color: var(--ink); font-weight: 500; border-bottom: 1.5px solid var(--accent); padding-bottom: 1px; }
.svc__more { align-self: flex-start; margin-top: 1.8rem; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; border-bottom: 1.5px solid currentColor; padding-bottom: 3px; }
.svc__more .ph { transition: transform 0.3s var(--ease); }
.svc__more:hover .ph { transform: translateX(4px); }

.svc__media { position: relative; margin: 14px 14px 14px 0; border-radius: 20px; overflow: hidden; }
.svc__media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.08) brightness(0.95); transform: scale(1.06); }
/* Gold-Duoton, damit alle Bilder zur Marke passen */
.svc__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, #e2bc57, #6b4f12); mix-blend-mode: color; opacity: 0.75; }
.svc__shade { position: absolute; inset: 0; background: #000; opacity: 0; pointer-events: none; z-index: 2; border-radius: inherit; }

.svc--gold { background: linear-gradient(150deg, #e9cd7c, #cba135 55%, #b38f2d); border-color: transparent; color: #0d0d0d; }
.svc--gold p { color: rgba(13, 13, 13, 0.75); }
.svc--gold .svc__tag { border-color: rgba(13, 13, 13, 0.3); }
.svc--gold li .ph { color: #0d0d0d; }
.svc--gold .svc__media::after { background: linear-gradient(160deg, #3a2c08, #0d0d0d); opacity: 0.55; }
.svc--dark { background: #0d0d0d; color: #f4f1ea; border-color: rgba(255, 255, 255, 0.08); }
.svc--dark p { color: #a8a49b; }
.svc--dark .svc__tag { border-color: rgba(255, 255, 255, 0.2); }

@media (max-width: 860px) {
  .svc { grid-template-columns: 1fr; min-height: 0; }
  .svc__media { margin: 0 14px 14px; aspect-ratio: 16 / 10; }
  .svc h3 { margin-top: 1.1rem; }
  .stack__card { padding-bottom: 5vh; }
}

/* ---------- Ablauf / Flugroute ---------- */
.route { background: var(--bg-2); }
.route__pin { min-height: 100dvh; display: flex; align-items: center; padding: calc(var(--nav-h) + 2rem) 0 3rem; }
.route__map { position: relative; height: 220px; margin-bottom: 2rem; }
.route__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.route__track { fill: none; stroke: var(--line-strong); stroke-width: 2; stroke-dasharray: 2 8; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.route__line { fill: none; stroke: var(--ink); stroke-width: 2.5; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; }
.route__plane {
  position: absolute; left: 0; top: 0; font-size: 30px; color: var(--ink); z-index: 2;
  transform: translate(-50%, -50%) rotate(var(--rot, 0deg));
}
.route__dot {
  position: absolute; width: 18px; height: 18px; border-radius: 999px;
  transform: translate(-50%, -50%); background: var(--bg-2); border: 2px solid var(--line-strong);
  transition: background-color 0.3s, border-color 0.3s, transform 0.3s var(--ease);
}
.route__dot.is-on { background: var(--accent); border-color: var(--ink); transform: translate(-50%, -50%) scale(1.15); }

.route__stops { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.route__stop { opacity: 0.4; transition: opacity 0.4s var(--ease), transform 0.4s var(--ease); transform: translateY(8px); }
.route__stop.is-on { opacity: 1; transform: none; }
.route__code { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.route__stop h3 { margin: 0.4rem 0 0.5rem; font-size: 1.35rem; }
.route__stop p { font-size: 0.95rem; color: var(--muted); }

@media (max-width: 900px) {
  .route__pin { min-height: auto; padding: 5rem 0; }
  .route__map { display: none; }
  .route__stops { grid-template-columns: 1fr; gap: 0; position: relative; padding-left: 34px; }
  .route__stops::before { content: ""; position: absolute; left: 8px; top: 8px; bottom: 8px; border-left: 2px dashed var(--line-strong); }
  .route__stop { position: relative; padding-bottom: 2rem; }
  .route__stop::before {
    content: ""; position: absolute; left: -34px; top: 4px; width: 18px; height: 18px; border-radius: 999px;
    background: var(--bg-2); border: 2px solid var(--line-strong); transition: background-color 0.3s, border-color 0.3s;
  }
  .route__stop.is-on::before { background: var(--accent); border-color: var(--ink); }
}

/* ---------- Pilot: Foto öffnet sich wie ein Fenster ---------- */
.pilot { padding: clamp(5rem, 10vw, 9rem) 0; overflow: hidden; }
.pilot__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.pilot__photo { position: relative; aspect-ratio: 4 / 5; border-radius: 28px; overflow: hidden; clip-path: inset(0 round 28px); will-change: clip-path; }
.pilot__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; will-change: transform; }
.pilot__badge {
  position: absolute; left: 18px; bottom: 18px; display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px; border-radius: 999px; font-size: 0.88rem; font-weight: 500; color: #f4f1ea;
  background: rgba(8, 8, 8, 0.55); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.pilot__badge .ph-fill { color: var(--accent-2); }
.pilot__title { font-size: clamp(2.6rem, 5.6vw, 5.2rem); letter-spacing: -0.05em; line-height: 0.98; }
.pilot__lead { margin-top: 1.6rem; font-size: clamp(1.2rem, 1.7vw, 1.45rem); line-height: 1.45; max-width: 34ch; }
.pilot__text { margin-top: 1rem; color: var(--muted); max-width: 50ch; }
.pilot__facts { margin: 2.4rem 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.pilot__facts dt { display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.pilot__facts dt .ph { font-size: 1.1rem; color: var(--accent); }
.pilot__facts dd { margin: 6px 0 0; font-weight: 500; }

/* Zeilen schieben sich aus einer Maske */
.lines .ln { display: block; overflow: hidden; padding-bottom: 0.06em; }
.lines .ln > span { display: block; transform: translateY(105%); transition: transform 1s var(--ease); transition-delay: calc(var(--k) * 90ms); }
.lines.in .ln > span, .no-story .lines .ln > span { transform: none; }

@media (max-width: 900px) {
  .pilot__grid { grid-template-columns: 1fr; }
  .pilot__photo { max-width: 460px; }
  .pilot__facts { grid-template-columns: 1fr; }
}

/* ---------- Reisefortschritt ---------- */
.hud {
  position: fixed; right: clamp(14px, 1.8vw, 28px); top: 50%; z-index: 45;
  transform: translateY(-50%); display: flex; gap: 14px; align-items: stretch;
  opacity: 0; pointer-events: none; transition: opacity 0.4s;
}
.hud.is-on { opacity: 1; pointer-events: auto; }
.hud__line { position: relative; width: 2px; border-radius: 2px; background: rgba(203, 161, 53, 0.22); order: 2; }
.hud__fill { position: absolute; left: 0; top: 0; width: 100%; height: calc(var(--p, 0) * 100%); background: var(--accent); border-radius: inherit; }
.hud__plane {
  position: absolute; left: 50%; top: calc(var(--p, 0) * 100%); font-size: 16px; color: var(--accent);
  transform: translate(-50%, -50%) rotate(180deg);
}
.hud__stops { display: flex; flex-direction: column; justify-content: space-between; gap: 26px; order: 1; }
.hud__stops a { display: flex; justify-content: flex-end; align-items: center; gap: 10px; height: 18px; font-size: 0.78rem; font-weight: 500; }
.hud__stops a::after { content: ""; width: 7px; height: 7px; border-radius: 999px; background: rgba(203, 161, 53, 0.35); margin-right: -18px; transition: background-color 0.3s, transform 0.3s; }
.hud__stops span {
  padding: 4px 10px; border-radius: 999px; background: var(--surface); color: var(--ink); border: 1px solid var(--line);
  opacity: 0; transform: translateX(6px); transition: opacity 0.25s, transform 0.3s var(--ease);
}
.hud:hover .hud__stops span, .hud__stops a.is-active span, .hud__stops a:focus-visible span { opacity: 1; transform: none; }
.hud__stops a.is-active::after { background: var(--accent); transform: scale(1.4); }
@media (max-width: 1100px) { .hud { display: none; } }

.progress { position: fixed; left: 0; right: 0; top: 0; height: 2px; z-index: 60; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--accent); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }
@media (min-width: 1101px) { .progress { display: none; } }

/* ---------- Finale / Check-in ----------
   Bewusster Farbblock: der Schluss ist in beiden Modi "Nachtflug" */
.finale {
  --night: #09090b;
  position: relative; overflow: hidden; isolation: isolate;
  min-height: 100dvh; padding: clamp(6rem, 12vw, 9rem) 0 clamp(6rem, 12vw, 10rem);
  background:
    radial-gradient(70% 45% at 50% 100%, rgba(203, 161, 53, 0.18), transparent 70%),
    radial-gradient(60% 50% at 50% 0%, #17181c, transparent 70%),
    var(--night);
  color: #f1f1ee;
}
.finale__inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; }
.finale__eyebrow { color: var(--accent); }
.finale__title { font-size: clamp(3.2rem, 10vw, 9.5rem); letter-spacing: -0.06em; line-height: 0.92; max-width: 11ch; }
.finale__lead { margin-top: 1.6rem; max-width: 46ch; color: #a5a8ae; font-size: clamp(1.08rem, 1.4vw, 1.25rem); }
.finale__alt { margin-top: 2.6rem; color: #a5a8ae; }
.finale__alt a { white-space: nowrap; color: #f1f1ee; border-bottom: 1.5px solid var(--accent); padding-bottom: 2px; }

/* Startbahn mit Befeuerung, läuft auf den Betrachter zu */
.runway {
  position: absolute; left: 0; right: 0; bottom: 0; height: 58%; z-index: -1;
  perspective: 300px; perspective-origin: 50% 0%; overflow: hidden; pointer-events: none;
  -webkit-mask: linear-gradient(transparent, #000 45%);
          mask: linear-gradient(transparent, #000 45%);
}
.runway__plane {
  position: absolute; left: 50%; bottom: -2px; width: 760px; height: 1600px; margin-left: -380px;
  transform-origin: 50% 100%; transform: rotateX(80deg); overflow: hidden;
  background: linear-gradient(90deg, transparent 3%, rgba(255, 255, 255, 0.03) 3% 97%, transparent 97%);
}
.runway__track {
  position: absolute; left: 0; right: 0; top: -240px; bottom: 0;
  background:
    repeating-linear-gradient(to bottom, rgba(255, 255, 255, 0.55) 0 70px, transparent 70px 120px) 50% 0 / 10px 100% no-repeat,
    radial-gradient(circle, #f0d58a 0 5px, rgba(203, 161, 53, 0.35) 6px, transparent 13px) 6% 0 / 40px 60px repeat-y,
    radial-gradient(circle, #f0d58a 0 5px, rgba(203, 161, 53, 0.35) 6px, transparent 13px) 94% 0 / 40px 60px repeat-y,
    linear-gradient(90deg, transparent 3%, rgba(255, 255, 255, 0.4) 3% 3.4%, transparent 3.4% 96.6%, rgba(255, 255, 255, 0.4) 96.6% 97%, transparent 97%);
  animation: runway 0.9s linear infinite;
  will-change: transform;
}
@keyframes runway { to { transform: translateY(120px); } }

/* ---------- Boarding Pass ---------- */
.bp-stage {
  width: 100%; max-width: 1000px; margin-top: clamp(3rem, 6vw, 4.5rem);
  perspective: 1600px; text-align: left;
}
.bp {
  --stub: 236px; --rx: 0deg; --ry: 0deg; --mx: 50%; --my: 50%;
  position: relative; display: grid; grid-template-columns: 1fr var(--stub);
  transform: rotateX(var(--rx)) rotateY(var(--ry)); transform-style: preserve-3d;
  filter: drop-shadow(0 50px 50px rgba(0, 0, 0, 0.55)) drop-shadow(0 0 1px rgba(255, 255, 255, 0.2));
}

.bp__main {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(22px, 3.4vw, 40px) clamp(20px, 3.6vw, 44px) clamp(20px, 2.8vw, 30px);
  border-radius: 24px 0 0 24px; color: #f1f1ee;
  background:
    radial-gradient(90% 80% at 0% 0%, rgba(255, 255, 255, 0.07), transparent 60%),
    repeating-radial-gradient(circle at 110% 130%, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 7px),
    repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.018) 0 1px, transparent 1px 5px),
    linear-gradient(160deg, #1d1f24, #121316 70%);
  -webkit-mask:
    radial-gradient(circle 16px at 100% 0, #0000 98%, #000) top / 100% 51% no-repeat,
    radial-gradient(circle 16px at 100% 100%, #0000 98%, #000) bottom / 100% 51% no-repeat;
          mask:
    radial-gradient(circle 16px at 100% 0, #0000 98%, #000) top / 100% 51% no-repeat,
    radial-gradient(circle 16px at 100% 100%, #0000 98%, #000) bottom / 100% 51% no-repeat;
}
.bp__watermark { position: absolute; right: -40px; bottom: -70px; z-index: -1; font-size: 20rem; line-height: 1; color: rgba(255, 255, 255, 0.022); transform: rotate(-12deg); right: -90px; bottom: -110px; }

.bp__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; padding-bottom: 18px; border-bottom: 1px solid rgba(255, 255, 255, 0.09); }
.bp__logo { font-weight: 700; font-size: 1.35rem; letter-spacing: -0.02em; line-height: 1; }
.bp__logo small { display: block; margin-top: 5px; font-family: var(--mono); font-weight: 400; font-size: 0.58rem; letter-spacing: 0.22em; text-transform: uppercase; color: #8e9198; }
.bp__kind { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); text-align: right; }
.bp__kind span { color: #5d6067; }

.bp__route { display: grid; grid-template-columns: auto 1fr auto; align-items: end; gap: clamp(12px, 2vw, 28px); margin: clamp(20px, 3vw, 30px) 0 clamp(18px, 2.6vw, 28px); }
.bp__city b { display: block; font-size: clamp(2.8rem, 6.6vw, 5.4rem); font-weight: 600; letter-spacing: -0.055em; line-height: 0.9; }
.bp__city span { display: block; margin-top: 10px; font-size: 0.82rem; color: #8e9198; }
.bp__city--to { text-align: right; }
.bp__arc { position: relative; height: clamp(54px, 7vw, 84px); margin-bottom: 34px; }
.bp__arc svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.bp__arc-track { fill: none; stroke: rgba(255, 255, 255, 0.16); stroke-width: 1.5; stroke-dasharray: 3 6; vector-effect: non-scaling-stroke; }
.bp__arc-line { fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.6s var(--ease) 0.3s; }
.bp.is-in .bp__arc-line { stroke-dashoffset: 0; }
.bp__plane {
  position: absolute; left: 50%; top: 40%; font-size: clamp(22px, 2.4vw, 30px); color: var(--accent);
  transform: translate(-50%, -50%) rotate(90deg);
  filter: drop-shadow(0 0 12px rgba(226, 188, 87, 0.5));
}
.bp__duration { position: absolute; left: 50%; bottom: -30px; transform: translateX(-50%); white-space: nowrap; font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: #8e9198; }

.bp__fields { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px 16px; padding: 20px 0; border-top: 1px solid rgba(255, 255, 255, 0.09); border-bottom: 1px solid rgba(255, 255, 255, 0.09); }
.bp__field span, .bp__field label {
  display: block; font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase; color: #8e9198;
}
.bp__field b { display: block; margin-top: 5px; font-size: 1.05rem; font-weight: 500; white-space: nowrap; }
.bp__field .is-accent { color: var(--accent); }
.bp__field--pax { grid-column: span 2; }
.bp__field--pax input {
  width: 100%; margin-top: 3px; padding: 0 0 4px; border: 0; border-radius: 0;
  border-bottom: 1.5px dashed rgba(255, 255, 255, 0.3); background: transparent;
  color: #f1f1ee; font: 600 clamp(1.2rem, 2vw, 1.55rem) / 1.25 var(--font); letter-spacing: -0.02em;
  transition: border-color 0.2s;
}
.bp__field--pax input::placeholder { color: #b9bbc0; opacity: 1; }
.bp__field--pax input:hover { border-bottom-color: rgba(255, 255, 255, 0.55); }
.bp__field--pax input:focus { outline: none; border-bottom: 1.5px solid var(--accent); }

.bp__foot { display: flex; align-items: center; gap: 14px; padding-top: 16px; font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: #8e9198; }
.bp__holo {
  width: 64px; height: 10px; border-radius: 999px; flex-shrink: 0;
  background: linear-gradient(100deg, #cba135, #f3e2a8, #9fd3e6, #e7b8d0, #cba135);
  background-size: 300% 100%; background-position: var(--mx) 50%;
  opacity: 0.85; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
}
.bp__note { flex: 1; }
.bp__code { color: #f1f1ee; letter-spacing: 0.18em; }

.bp__foil {
  position: absolute; inset: 0; pointer-events: none; mix-blend-mode: soft-light; opacity: 0; transition: opacity 0.4s;
  background: radial-gradient(circle at var(--mx) var(--my), rgba(255, 255, 255, 0.5), transparent 45%);
}
.bp-stage:hover .bp__foil { opacity: 1; }

/* Abriss-Abschnitt */
.bp__stub {
  position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 18px;
  padding: clamp(22px, 3vw, 32px) clamp(18px, 2.4vw, 28px);
  border-radius: 0 24px 24px 0; color: #0d0d0d; user-select: none; -webkit-user-select: none;
  background:
    repeating-linear-gradient(115deg, rgba(0, 0, 0, 0.025) 0 1px, transparent 1px 5px),
    linear-gradient(160deg, #e9cd7c, #cba135 55%, #a9842a);
  transform-origin: 0% 0%;
  transition: transform 0.4s var(--ease);
  -webkit-mask:
    radial-gradient(circle 16px at 0 0, #0000 98%, #000) top / 100% 51% no-repeat,
    radial-gradient(circle 16px at 0 100%, #0000 98%, #000) bottom / 100% 51% no-repeat;
          mask:
    radial-gradient(circle 16px at 0 0, #0000 98%, #000) top / 100% 51% no-repeat,
    radial-gradient(circle 16px at 0 100%, #0000 98%, #000) bottom / 100% 51% no-repeat;
}
/* Perforation: Lochreihe in Hintergrundfarbe */
.bp__stub::before {
  content: ""; position: absolute; left: -3px; top: 22px; bottom: 22px; width: 6px;
  background: radial-gradient(circle, var(--night) 2.4px, transparent 2.9px) 50% 0 / 6px 12px repeat-y;
}
.bp__stub-top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.bp__stub-kind { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase; }
.bp__stub-top b { font-size: 0.95rem; }
.bp__qr { display: block; width: 100%; max-width: 132px; aspect-ratio: 1; margin: 0 auto; }
.bp__qr svg { display: block; width: 100%; height: 100%; }
.bp__stub-cta { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: clamp(1.15rem, 1.6vw, 1.35rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; }
.bp__stub-cta .ph { font-size: 1.4em; transition: transform 0.3s var(--ease); }
.bp__tear { display: flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.6; }
.bp__stub:hover { transform: rotate(2.5deg); }
.bp__stub:hover .bp__stub-cta .ph { transform: translateX(4px); }
.bp__stub:focus-visible { outline: 3px solid #f1f1ee; outline-offset: 4px; }
.bp__stub.is-dragging { transition: none; }
.bp.is-torn .bp__stub { animation: tearOff 0.75s var(--ease) forwards; }
@keyframes tearOff {
  0% { transform: var(--tear-from, rotate(2.5deg)); }
  30% { transform: rotate(8deg) translate(10px, 8px); opacity: 1; }
  100% { transform: rotate(28deg) translate(60px, 220px); opacity: 0; }
}

@media (max-width: 760px) {
  .bp { --stub: auto; grid-template-columns: 1fr; }
  .bp__main {
    border-radius: 22px 22px 0 0;
    -webkit-mask:
      radial-gradient(circle 14px at 0 100%, #0000 98%, #000) left / 51% 100% no-repeat,
      radial-gradient(circle 14px at 100% 100%, #0000 98%, #000) right / 51% 100% no-repeat;
            mask:
      radial-gradient(circle 14px at 0 100%, #0000 98%, #000) left / 51% 100% no-repeat,
      radial-gradient(circle 14px at 100% 100%, #0000 98%, #000) right / 51% 100% no-repeat;
  }
  .bp__stub {
    border-radius: 0 0 22px 22px; display: grid; grid-template-columns: 1fr 96px; align-items: center;
    -webkit-mask:
      radial-gradient(circle 14px at 0 0, #0000 98%, #000) left / 51% 100% no-repeat,
      radial-gradient(circle 14px at 100% 0, #0000 98%, #000) right / 51% 100% no-repeat;
            mask:
      radial-gradient(circle 14px at 0 0, #0000 98%, #000) left / 51% 100% no-repeat,
      radial-gradient(circle 14px at 100% 0, #0000 98%, #000) right / 51% 100% no-repeat;
  }
  .bp__stub::before { left: 22px; right: 22px; top: -3px; bottom: auto; width: auto; height: 6px; background: radial-gradient(circle, var(--night) 2.4px, transparent 2.9px) 0 50% / 12px 6px repeat-x; }
  .bp__stub-top { grid-column: 1; }
  .bp__qr { grid-column: 2; grid-row: 1 / span 3; max-width: 96px; }
  .bp__stub-cta { grid-column: 1; justify-content: flex-start; }
  .bp__tear { grid-column: 1; }
  .bp__fields { grid-template-columns: repeat(3, 1fr); }
  .bp__field--pax { grid-column: 1 / -1; }
  .bp__route { grid-template-columns: auto 1fr auto; }
  .bp__duration { display: none; }
  .bp__arc { margin-bottom: 10px; }
  .bp__note { display: none; }
  .bp__foot { justify-content: space-between; }
  .bp.is-torn .bp__stub { animation-name: tearOffDown; }
  @keyframes tearOffDown { to { transform: rotate(-8deg) translate(-20px, 200px); opacity: 0; } }
}

@media (hover: hover) and (pointer: fine) { .bp__stub { touch-action: none; cursor: grab; } .bp__stub.is-dragging { cursor: grabbing; } }

/* ---------- Footer ---------- */
.footer { padding: 4rem 0 2rem; border-top: 1px solid var(--line); overflow: hidden; }
.footer__top { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1.5rem; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 1.6rem; color: var(--ink-2); }
.footer__nav a:hover, .footer__legal a:hover { color: var(--ink); }
.footer__mail { font-weight: 500; }
.footer__word {
  margin: 3rem 0 1.5rem; font-weight: 700; letter-spacing: -0.07em; line-height: 0.8;
  font-size: clamp(4.5rem, 21vw, 19rem); color: transparent; -webkit-text-stroke: 1.5px var(--line-strong);
  user-select: none;
}
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: 0.88rem; color: var(--muted); }
.footer__legal { display: flex; gap: 1.4rem; }

/* ---------- Film ---------- */
.reel { padding: clamp(4rem, 8vw, 7rem) 0 clamp(2rem, 4vw, 3rem); }
.reel__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1rem 3rem; margin-bottom: clamp(1.6rem, 3vw, 2.6rem); }
.reel__head h2 { font-size: clamp(2.6rem, 6vw, 5.4rem); letter-spacing: -0.055em; }
.reel__head p { color: var(--muted); max-width: 40ch; font-size: 1.08rem; }
.reel__frame {
  position: relative; aspect-ratio: 16 / 9; border-radius: 28px; overflow: hidden; isolation: isolate;
  background: #050505; transform-origin: 50% 0%; will-change: transform;
  box-shadow: 0 0 0 1px rgba(203, 161, 53, 0.35), 0 40px 90px -40px rgba(203, 161, 53, 0.45), var(--shadow);
}
.reel__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #050505; }
.reel__play {
  position: absolute; left: 50%; top: 50%; z-index: 2; width: 88px; height: 88px; border-radius: 999px; transform: translate(-50%, -50%);
  display: grid; place-items: center; font-size: 2rem; color: #0d0d0d; background: var(--accent);
  box-shadow: 0 0 0 10px rgba(203, 161, 53, 0.2), 0 20px 40px -10px rgba(0, 0, 0, 0.6);
  transition: transform 0.3s var(--ease), opacity 0.3s;
}
.reel__play:hover { transform: translate(-50%, -50%) scale(1.06); }
.reel.is-playing .reel__play { opacity: 0; pointer-events: none; }
.reel__sound {
  position: absolute; right: 16px; bottom: 22px; z-index: 2; display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 14px; border-radius: 999px; font-size: 0.86rem; font-weight: 500; color: #f4f1ea;
  background: rgba(8, 8, 8, 0.55); border: 1px solid rgba(255, 255, 255, 0.18);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.reel__sound:hover { border-color: rgba(255, 255, 255, 0.4); }
.reel__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255, 255, 255, 0.08); z-index: 2; }
.reel__bar span { display: block; height: 100%; width: 100%; background: var(--accent); transform-origin: 0 50%; transform: scaleX(var(--t, 0)); }
/* Handy: Hochformat im Handy-Rahmen */
@media (max-width: 700px) {
  .reel__frame { aspect-ratio: 9 / 16; max-width: 340px; margin: 0 auto; border-radius: 36px; border: 6px solid #141414; }
}

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .hero .reveal { opacity: 1; transform: none; transition: none; animation: rise 0.9s var(--ease) both; animation-delay: calc(80ms + var(--i, 0) * 90ms); }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .runway__track { animation: none; }
  .bp__arc-line { stroke-dashoffset: 0; }
}

/* ---------- Kontakt: Check-in-Schalter ---------- */
.ck { padding: calc(var(--nav-h) + clamp(3rem, 7vw, 6rem)) 0 clamp(5rem, 9vw, 8rem); }
.ck__grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.ck__title { font-size: clamp(2.6rem, 5.4vw, 4.8rem); letter-spacing: -0.05em; line-height: 0.98; max-width: 12ch; }
.ck__lead { margin-top: 1.4rem; color: var(--muted); font-size: 1.15rem; max-width: 42ch; }
.ck__steps { margin-top: 2.4rem; display: grid; gap: 18px; }
.ck__steps li { display: flex; gap: 14px; align-items: flex-start; }
.ck__steps .ph { flex-shrink: 0; width: 42px; height: 42px; border-radius: 999px; display: grid; place-items: center; font-size: 1.2rem; background: var(--surface); border: 1px solid var(--line); color: var(--accent); }
.ck__steps b { display: block; }
.ck__steps span { display: block; color: var(--muted); font-size: 0.96rem; }
.ck__direct { margin-top: 2.4rem; padding-top: 1.6rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 14px 26px; }
.ck__direct a, .ck__direct span { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; }
.ck__direct a { border-bottom: 1.5px solid var(--accent); padding-bottom: 2px; }

.ck__desk { border-radius: 28px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; }
.ck__desk-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 22px; background: var(--accent); color: var(--accent-ink); font-weight: 600; }
.ck__desk-head span:first-child { display: inline-flex; align-items: center; gap: 10px; }
.ck__desk-code { font-family: var(--mono); letter-spacing: 0.1em; }
.ck__form { padding: clamp(22px, 3vw, 36px); display: grid; gap: 18px; }
.ck__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.ck__honey { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.fld { display: grid; gap: 7px; margin: 0; padding: 0; border: 0; min-width: 0; }
.fld > label, .fld legend { font-size: 0.9rem; font-weight: 500; }
.fld > label span, .fld legend span { color: var(--muted); }
.fld input[type="text"], .fld input[type="email"], .fld input[type="tel"], .fld textarea {
  width: 100%; padding: 13px 15px; border-radius: 12px; border: 1px solid var(--line-strong);
  background: var(--bg); color: var(--ink); font: inherit; font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.fld textarea { resize: vertical; min-height: 130px; }
.fld input:focus, .fld textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 30%, transparent); }
.fld.has-error input, .fld.has-error textarea { border-color: #d0453b; }
.fld__help { font-size: 0.86rem; color: var(--muted); }
.fld__err { font-size: 0.86rem; color: #d0453b; }
:root[data-theme="dark"] .fld__err { color: #ff8a80; }
.fld legend { margin-bottom: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-block; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line-strong); font-size: 0.94rem; transition: background-color 0.2s, border-color 0.2s, color 0.2s; }
.chips label:hover span { border-color: var(--ink); }
.chips input:checked + span { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chips input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.fld--check label { display: flex; gap: 12px; align-items: flex-start; font-size: 0.92rem; color: var(--muted); font-weight: 400; }
.fld--check input { width: 20px; height: 20px; margin-top: 2px; flex-shrink: 0; accent-color: var(--accent); }
.fld--check a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.ck__error { padding: 12px 14px; border-radius: 12px; background: rgba(208, 69, 59, 0.1); color: #d0453b; font-size: 0.94rem; }
:root[data-theme="dark"] .ck__error { color: #ff8a80; }
.ck__submit { justify-self: start; }
.ck__submit[disabled] { opacity: 0.6; cursor: progress; }
.ck__done { padding: clamp(32px, 5vw, 56px); text-align: center; display: grid; justify-items: center; gap: 14px; }
.ck__done .ph-fill { font-size: 3.4rem; color: var(--accent); }
.ck__done h2 { font-size: clamp(2rem, 4vw, 3rem); }
.ck__done p { color: var(--muted); max-width: 40ch; }
@media (max-width: 900px) {
  .ck__grid, .ck__row { grid-template-columns: 1fr; }
}

/* ---------- Rechtliches ---------- */
.legal { padding: calc(var(--nav-h) + clamp(3rem, 7vw, 6rem)) 0 clamp(5rem, 9vw, 8rem); }
.legal__inner { max-width: 820px; }
.legal h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); letter-spacing: -0.05em; }
.legal__body { margin-top: 2.6rem; }
.legal__body h2 { margin-top: 2.4rem; font-size: 1.3rem; letter-spacing: -0.02em; }
.legal__body p { margin-top: 0.8rem; color: var(--ink-2); max-width: 68ch; }
.legal__body a { text-decoration: underline; text-underline-offset: 3px; }

/* SEO-Ergänzungen */
.intro__kicker { display: block; margin-bottom: 0.7rem; font-family: var(--mono); font-size: 0.78rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent-2, #e2bc57); }
.footer__contact { display: flex; flex-wrap: wrap; gap: 0.6rem 1.6rem; }
.footer__tel { font-weight: 500; }
.ck__direct a[href^="tel:"] { border-bottom-color: var(--accent); }

.footer__regions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 0.88rem; color: var(--muted); }
.footer__regions a { color: var(--ink-2); }
.footer__regions a:hover { color: var(--ink); }
.sec-link { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); font-weight: 500; border-bottom: 1.5px solid var(--accent); }
.ck__paket { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 4px; padding: 8px 14px; border-radius: 999px; background: rgba(203, 161, 53, 0.14); font-weight: 500; font-size: 0.94rem; }

/* Startseite: Textabschnitt Webdesign Viersen + FAQ */
.local { padding: clamp(4rem, 8vw, 7rem) 0; border-top: 1px solid var(--line); }
.local__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.local h2 { font-size: clamp(1.9rem, 3.4vw, 3rem); }
.local__text p { margin-top: 1.1rem; color: var(--ink-2); max-width: 60ch; }
.local__text a { color: var(--ink); border-bottom: 1.5px solid var(--accent); }
.local__faq-h { margin-bottom: 1.2rem; }
@media (max-width: 900px) { .local__grid { grid-template-columns: 1fr; } }
