/* ELB Security · Midnight terminal design system (dope.security reference) */

:root {
  --near-black: #090909;
  --almost-white: #f7f9fa;
  --soft-white: #f0f0f0;
  --steel: #828384;
  --graphite: #474747;
  --iron: #423738;
  --ash: #6b6b6b;
  --violet: #af50ff;
  --lavender: #e1bdff;

  --white-a05: rgba(247, 249, 250, 0.05);
  --white-a08: rgba(247, 249, 250, 0.08);
  --white-a10: rgba(247, 249, 250, 0.1);
  --white-a20: rgba(247, 249, 250, 0.2);
  --nav-bg: rgba(51, 50, 72, 0.7);
  --card-wash: rgba(237, 195, 196, 0.05);

  --font-sans: "Inter Tight", "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --font-serif: "Instrument Serif", "Tiempos Headline", Lora, Georgia, serif;

  --text-caption: 10px;
  --text-body-sm: 14px;
  --text-body: 16px;
  --text-sub: 20px;
  --text-h-sm: 32px;
  --text-h: 48px;
  --text-h-lg: 64px;

  --radius-cards: 19.2px;
  --radius-pills: 1584px;
  --radius-buttons: 8px;
  --radius-small: 6px;

  --page-max: 1200px;
  --gutter: clamp(20px, 4vw, 48px);
  --section-gap: clamp(88px, 12vw, 160px);
  --card-pad: 40px;
  --gap: 16px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-flap: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--near-black);
  color: var(--almost-white);
  font-family: var(--font-sans);
  font-size: var(--text-body);
  line-height: 1.5;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4, p { margin: 0; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img, svg { display: block; max-width: 100%; }
::selection { background: var(--violet); color: var(--near-black); }
:focus-visible { outline: 1px solid var(--almost-white); outline-offset: 4px; }

.container { max-width: var(--page-max); margin: 0 auto; padding-inline: var(--gutter); }
.skip-link { position: absolute; left: -999px; top: 8px; padding: 8px 12px; background: var(--near-black); border: 1px solid var(--almost-white); z-index: 200; }
.skip-link:focus { left: 8px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Typography ---------- */
.serif { font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: -0.03em; }
.eyebrow {
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 400; color: var(--steel);
}
.eyebrow.mono { font-family: var(--font-mono); letter-spacing: 0.2em; }
.stamp {
  font-family: var(--font-mono);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  line-height: 0.95;
  color: var(--soft-white);
  font-size: clamp(28px, 6vw, 74px);
  overflow-wrap: anywhere;
}
.h-lg { font-size: clamp(36px, 5.2vw, 64px); line-height: 1.1; letter-spacing: -0.02em; font-weight: 300; }
.h { font-size: clamp(30px, 4vw, 48px); line-height: 1.15; letter-spacing: -0.02em; font-weight: 300; }
.h-sm { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.2; letter-spacing: -0.01em; font-weight: 400; }
.sub { font-size: var(--text-sub); line-height: 1.5; font-weight: 300; color: var(--steel); }
.lead { font-size: clamp(17px, 1.5vw, 20px); font-weight: 300; line-height: 1.6; color: var(--steel); max-width: 62ch; }
.muted { color: var(--steel); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px; border-radius: var(--radius-buttons);
  background: var(--near-black); border: 1px solid var(--almost-white);
  font-size: var(--text-body); font-weight: 400; line-height: 1;
  transition: background-color .15s ease, color .15s ease, transform .15s ease;
}
.btn:hover { background: var(--almost-white); color: var(--near-black); }
.btn:active { transform: translateY(1px); }
.btn-violet { background: var(--violet); border-color: var(--violet); color: var(--near-black); }
.btn-violet:hover { background: var(--lavender); border-color: var(--lavender); }
.btn-pill {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 20px 32px; border-radius: var(--radius-pills);
  background: var(--card-wash); color: var(--almost-white); border: 0;
  font-weight: 400; line-height: 1;
  transition: background-color .2s ease;
}
.btn-pill:hover { background: var(--white-a10); }
.btn-compact {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 15px; border-radius: var(--radius-small);
  background: var(--white-a08); border: 1px solid var(--almost-white);
  font-size: var(--text-body-sm); line-height: 1; font-weight: 400;
  transition: background-color .15s ease;
}
.btn-compact:hover { background: var(--white-a20); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 400; }
.link-arrow svg { transition: transform .2s var(--ease-out); }
.link-arrow:hover svg { transform: translateX(4px); }
.link-arrow:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: var(--nav-bg); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--ash);
  box-shadow: rgba(16, 24, 40, 0.05) 0 1px 2px 0;
  transition: background-color .3s ease;
}
.nav.is-scrolled { background: rgba(9, 9, 9, 0.72); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: inline-flex; align-items: baseline; font-weight: 700; letter-spacing: 0.02em; font-size: 22px; text-transform: uppercase; }
.brand span { font-weight: 300; }
.brand .dot { color: var(--violet); }
.nav__right { display: flex; align-items: center; gap: 24px; }
.nav__links { display: flex; gap: 28px; }
.nav__links a { font-size: 12px; text-transform: uppercase; letter-spacing: 0.07em; padding: 10.4px 0; color: var(--steel); transition: color .15s; }
.nav__links a:hover { color: var(--almost-white); text-decoration: underline; text-underline-offset: 6px; }
.menu-btn {
  font-family: var(--font-mono); font-size: 16px; letter-spacing: 0.3em; text-transform: uppercase; padding: 8px 0;
}
.menu-btn .lb, .menu-btn .rb { display: inline-block; transition: transform .3s var(--ease-out); }
.menu-btn:hover .lb { transform: translateX(-4px); }
.menu-btn:hover .rb { transform: translateX(4px); }
.nav__phone { font-size: 14px; letter-spacing: 0.02em; }
@media (max-width: 900px) { .nav__links, .nav__phone { display: none; } .nav__inner { height: 64px; } .brand { font-size: 18px; } }
@media (max-width: 600px) { .nav .btn { display: none; } .nav__right { gap: 16px; } }

/* Menu overlay */
.menu {
  position: fixed; inset: 0; z-index: 90; background: var(--near-black);
  clip-path: inset(0 0 100% 0);
  transition: clip-path .7s var(--ease-out);
  overflow: auto;
}
.menu.is-open { clip-path: inset(0 0 0 0); }
.menu__inner { min-height: 100%; display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; padding-top: 120px; padding-bottom: 64px; }
.menu__list li { border-bottom: 1px solid var(--white-a10); }
.menu__list a { display: flex; align-items: baseline; justify-content: space-between; padding: 22px 0; font-size: clamp(28px, 4vw, 48px); font-weight: 300; letter-spacing: -0.02em; line-height: 1; transition: color .2s, padding-left .3s var(--ease-out); }
.menu__list a small { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.2em; color: var(--steel); }
.menu__list a:hover { padding-left: 12px; }
.menu__list a:hover small { color: var(--lavender); }
.menu__aside { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }
.menu__aside .eyebrow { margin-bottom: 12px; }
.menu__aside address { font-style: normal; line-height: 1.7; color: var(--steel); }
.menu__aside .big { font-size: clamp(20px, 2vw, 28px); font-weight: 300; color: var(--almost-white); }
.menu li, .menu__aside > * { opacity: 0; transform: translateY(20px); transition: opacity .5s var(--ease-out), transform .6s var(--ease-out); }
.menu.is-open li, .menu.is-open .menu__aside > * { opacity: 1; transform: none; }
.menu.is-open li:nth-child(n) { transition-delay: calc(0.25s + var(--i, 0) * 0.05s); }
@media (max-width: 900px) { .menu__inner { grid-template-columns: 1fr; padding-top: 96px; } .menu__list a { padding: 18px 0; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden;
  padding-top: 120px; padding-bottom: 80px;
  background: #05050a;
}
.hero > picture { position: absolute; inset: 0; z-index: 0; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; z-index: 0; }
.hero > .container { width: 100%; }
.hero__shade { position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background:
    linear-gradient(90deg, rgba(9,9,9,.55) 0%, rgba(9,9,9,.25) 45%, rgba(9,9,9,0) 70%),
    linear-gradient(180deg, rgba(9,9,9,.6) 0%, rgba(9,9,9,0) 30%); }
.hero__stars { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .55; z-index: 1; }
.hero__horizon { position: absolute; left: 0; right: 0; bottom: 0; height: 40%; pointer-events: none; z-index: 1;
  background: linear-gradient(180deg, rgba(9,9,9,0) 0%, rgba(9,9,9,.65) 70%, var(--near-black) 100%); }
.hero__grain, .plane, .sparkle { z-index: 1; }
.hero__grain { position: absolute; inset: 0; pointer-events: none; opacity: .5; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .18 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }
.sparkle { position: absolute; width: 14px; height: 14px; color: var(--almost-white); animation: sparkle 2.8s ease-in-out infinite; }
.sparkle svg { width: 100%; height: 100%; }
@keyframes sparkle { 0%, 100% { opacity: 1; transform: scale(1) rotate(0deg); } 50% { opacity: .7; transform: scale(1.15) rotate(10deg); } }
.plane { position: absolute; top: 18%; left: -6%; width: 6px; height: 6px; border-radius: 50%; background: var(--almost-white); box-shadow: 0 0 6px 2px rgba(247,249,250,.7); animation: plane 18s linear infinite; }
.plane::after { content: ""; position: absolute; right: 6px; top: 2px; width: 60px; height: 1px; background: linear-gradient(90deg, rgba(247,249,250,0), rgba(247,249,250,.6)); }
@keyframes plane { 0% { transform: translate(0, 0); opacity: 0; } 5% { opacity: 1; } 95% { opacity: 1; } 100% { transform: translate(112vw, -8vh); opacity: 0; } }

.hero__grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
.hero__content { container-type: inline-size; min-width: 0; }
/* Schrift richtet sich nach der Spaltenbreite, damit "aus Hamburg" nie umbricht */
.hero__h1 { font-size: clamp(40px, min(7vw, 15.5cqi), 104px); line-height: 1; letter-spacing: -0.015em; font-weight: 400; }
.hero__h1 .serif { font-size: 1.28em; line-height: .8; }
.hero__h1 .line { display: block; overflow: hidden; white-space: nowrap; }
.hero__h1 .char { display: inline-block; transform: translateY(110%); opacity: 0; }
.hero__h1 .char.is-in { transform: none; opacity: 1; transition: transform .9s var(--ease-out), opacity .6s ease; }
.hero__sub { display: flex; align-items: center; gap: 24px; margin-top: 40px; }
.hero__sub p { font-size: clamp(18px, 2vw, 28px); font-weight: 300; line-height: 1.25; max-width: 24ch; }
.hero__sub .icon { width: 36px; height: 36px; flex: none; }
.hero__cta { display: flex; align-items: center; gap: 24px; margin-top: 40px; flex-wrap: wrap; }
.hero__see { display: inline-flex; align-items: center; gap: 12px; font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase; }
.hero__see .play { width: 44px; height: 44px; border-radius: 50%; background: var(--violet); display: grid; place-items: center; transition: transform .2s var(--ease-out); }
.hero__see:hover .play { transform: scale(1.06); }

/* Boarding pass card */
.pass {
  border-radius: var(--radius-cards); background: var(--card-wash); border: 1px solid var(--white-a20);
  padding: var(--card-pad); position: relative; overflow: hidden;
  opacity: 0; transform: translateY(24px);
  transition: opacity .8s var(--ease-out) .5s, transform 1s var(--ease-out) .5s, background-color .2s;
}
.pass.is-in { opacity: 1; transform: none; }
.pass:hover { background: rgba(237,195,196,.07); }
.pass__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.pass__label { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; text-transform: uppercase; letter-spacing: 0.18em; color: var(--steel); }
.pass__route { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; margin-bottom: 28px; padding-bottom: 20px; border-bottom: 1px dashed var(--white-a20); }
.pass__route .code { font-family: var(--font-mono); font-size: 14px; letter-spacing: 0.2em; }
.pass__route .code small { display: block; font-size: 10px; letter-spacing: 0.18em; color: var(--steel); margin-bottom: 4px; }
.pass__route .code:last-child { text-align: right; }
.pass__h { font-size: clamp(24px, 2.4vw, 32px); line-height: 1.15; font-weight: 400; margin-bottom: 8px; }
.pass__p { color: var(--steel); font-size: 14px; margin-bottom: 24px; }
.pass__actions { display: flex; flex-direction: column; gap: 10px; }
.pass__actions .btn-pill { justify-content: space-between; }
.pass__barcode { position: absolute; right: 24px; top: 24px; bottom: 24px; width: 26px; opacity: .55;
  background: repeating-linear-gradient(180deg, var(--almost-white) 0 2px, transparent 2px 5px, var(--almost-white) 5px 6px, transparent 6px 10px, var(--almost-white) 10px 13px, transparent 13px 15px); }
.pass__meta { display: flex; justify-content: space-between; margin-top: 24px; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.18em; color: var(--steel); text-transform: uppercase; }
@media (max-width: 900px) { .hero__grid { grid-template-columns: 1fr; } .pass__barcode { display: none; } .hero { padding-top: 110px; } }

.hero__decor { position: absolute; right: 0; bottom: 90px; display: flex; align-items: center; transform: rotate(-90deg); transform-origin: right bottom; z-index: 2; }
.hero__decor .txt { font-size: 12px; letter-spacing: 0.07em; text-transform: uppercase; margin-right: 32px; }
.hero__decor .plus { width: 16px; height: 16px; position: relative; margin-right: 24px; }
.hero__decor .plus::before, .hero__decor .plus::after { content: ""; position: absolute; background: var(--almost-white); inset: 50% auto auto 0; width: 100%; height: 1px; transform: translateY(-50%); }
.hero__decor .plus::after { inset: 0 auto auto 50%; width: 1px; height: 100%; transform: translateX(-50%); }
@media (max-width: 900px) { .hero__decor { display: none; } }

/* ---------- Sections ---------- */
.section { padding-block: var(--section-gap); position: relative; }
.section--tight { padding-block: calc(var(--section-gap) * .6); }
.section__head { display: grid; grid-template-columns: 1fr; gap: 24px; margin-bottom: clamp(40px, 6vw, 80px); }
.section__head .eyebrow { margin-bottom: 8px; }
.hairline { height: 1px; background: var(--white-a20); width: 100%; }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease-out), transform .9s var(--ease-out); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Split-flap board ---------- */
.board { display: flex; flex-direction: column; gap: 16px; }
.flap-bg { background: linear-gradient(rgba(255,255,255,.2), rgba(255,255,255,0)); border-radius: 8px; padding: 1px; container-type: inline-size; }
.flap {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  width: 100%; padding: 1em 1.2em; border-radius: inherit; background: var(--near-black);
  text-transform: uppercase; position: relative;
  transition: background-color .6s var(--ease-flap);
}
.flap:hover { background: #1c1c1c; }
.flap__text-contain { position: relative; z-index: 1; background-color: inherit; }
.flap__text {
  font-family: var(--font-mono); font-weight: 400; letter-spacing: 0.2em; line-height: 0.95;
  font-size: clamp(18px, 4.6cqw, 50px);
  color: rgba(240, 240, 240, 0); -webkit-text-stroke: 0.8px rgb(247, 249, 250);
  position: relative; z-index: 2; margin: 0;
  transition: color .4s ease;
}
.flap__text.is-filled, .flap:hover .flap__text { color: var(--soft-white); }
.flap__mask { position: absolute; inset: 0 0 0 auto; width: 100%; height: 100%; z-index: 3; background-color: inherit; transform-origin: 100% center; pointer-events: none; }
.flap__line { position: absolute; left: 0; right: 0; top: 50%; height: 5px; margin-top: -2.5px; background: var(--near-black); z-index: 4; pointer-events: none; opacity: 0; }
.flap:hover .flap__line { opacity: 1; }
.flap__meta { display: flex; align-items: center; gap: 24px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.2em; color: var(--steel); flex: none; }
.flap__meta .arrow { width: 28px; height: 28px; border: 1px solid var(--white-a20); border-radius: 50%; display: grid; place-items: center; color: var(--almost-white); transition: background-color .3s, transform .3s var(--ease-out); }
.flap:hover .flap__meta .arrow { background: var(--violet); border-color: var(--violet); color: var(--near-black); transform: rotate(-45deg); }
@media (max-width: 600px) { .flap__meta .tag { display: none; } .flap { padding: .8em .9em; } }

/* ---------- Sticky scroller ---------- */
.scroller { position: relative; }
.scroller__nav { position: absolute; right: var(--gutter); top: 0; height: 100%; z-index: 5; pointer-events: none; }
.scroller__nav-inner { position: sticky; top: 50vh; transform: translateY(-50%); display: flex; flex-direction: column; align-items: flex-end; gap: 24px; pointer-events: auto; }
.scroller__nav-link { font-size: 9px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; white-space: nowrap; opacity: .25; transition: opacity .3s; display: flex; align-items: center; gap: 10px; }
.scroller__nav-link::after { content: ""; width: 24px; height: 1px; background: currentColor; }
.scroller__nav-link.is-active, .scroller__nav-link:hover { opacity: 1; }
.scroller__sticky { position: sticky; top: 0; min-height: 100vh; display: flex; align-items: center; overflow: hidden; }
.scroller__panels { position: relative; min-height: 60vh; width: 100%; }
.scroller__panel { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; opacity: 0; transform: translateY(40px); pointer-events: none; }
.scroller__panel.is-active { opacity: 1; transform: none; pointer-events: auto; }
.scroller__panel .num { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.2em; color: var(--lavender); margin-bottom: 20px; display: block; }
.scroller__panel h3 { font-size: clamp(32px, 4.5vw, 56px); font-weight: 300; line-height: 1.05; letter-spacing: -0.02em; margin-bottom: 20px; }
.scroller__panel p { color: var(--steel); font-size: 18px; max-width: 46ch; }
.scroller__panel .big-serif { font-family: var(--font-serif); font-style: italic; font-size: clamp(64px, 12vw, 200px); line-height: .8; color: var(--white-a20); text-align: right; letter-spacing: -0.03em; }
.scroller__panel--intro { grid-template-columns: 1fr; }
.scroller__panel--intro h2 { font-size: clamp(36px, 6vw, 88px); font-weight: 300; line-height: 1; letter-spacing: -0.02em; max-width: 14ch; }
.scroller__path { position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; pointer-events: none; }
.scroller__path svg { height: 100%; width: 40px; margin-left: -20px; overflow: visible; }
.scroller__path path { stroke: var(--white-a20); stroke-width: 1; fill: none; }
.scroller__path .drawn { stroke: var(--violet); }
.scroller__spacer { height: 100vh; }
@media (max-width: 900px) { .scroller__panel { grid-template-columns: 1fr; } .scroller__panel .big-serif { display: none; } .scroller__nav { display: none; } .scroller__path { display: none; } }

/* ---------- Outline marquee ---------- */
.marquee-wrap { position: absolute; left: 0; right: 0; overflow: hidden; z-index: 0; pointer-events: none; }
.marquee { display: flex; white-space: nowrap; align-items: center; animation: marquee 40s linear infinite; width: max-content; }
.marquee span { font-family: var(--font-sans); font-weight: 700; text-transform: uppercase; font-size: clamp(80px, 15rem, 240px); line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--white-a20); padding-right: .35em; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Service sections ---------- */
.services { position: relative; }
.service { padding-block: calc(var(--section-gap) * .8); position: relative; scroll-margin-top: 80px; }
.service + .service { border-top: 1px solid var(--white-a10); }
.service__grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(32px, 6vw, 96px); position: relative; z-index: 1; }
.service__stamp { position: sticky; top: 120px; align-self: start; }
.service__stamp .index { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.2em; color: var(--lavender); margin-bottom: 20px; }
.service__stamp .stamp { font-size: clamp(26px, 3.4vw, 46px); }
.service__stamp .cta { margin-top: 32px; }
.service__intro { font-size: clamp(18px, 1.6vw, 22px); font-weight: 300; line-height: 1.55; margin-bottom: 40px; }
.rows { border-top: 1px solid var(--white-a20); }
.row { display: grid; grid-template-columns: 1fr 1.6fr; gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--white-a10); align-items: start; }
.row h4 { font-size: 20px; font-weight: 400; line-height: 1.2; letter-spacing: -0.01em; }
.row p { color: var(--steel); font-size: 16px; line-height: 1.6; }
.row .n { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.18em; color: var(--ash); display: block; margin-bottom: 8px; }
@media (max-width: 900px) { .service__grid { grid-template-columns: 1fr; } .service__stamp { position: static; } .row { grid-template-columns: 1fr; gap: 8px; } }

/* ---------- Comparison route ---------- */
.route { position: relative; }
.route__line { position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--white-a10); z-index: 0; }
.route__line .drawn { position: absolute; left: 0; top: 0; height: 100%; width: 100%; background: var(--almost-white); transform-origin: left; transform: scaleX(0); }
.route__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; z-index: 1; }
.cmp {
  position: relative; min-height: 340px; border-radius: var(--radius-cards); padding: var(--card-pad);
  display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden;
  background: var(--near-black); border: 0;
  transition: transform .5s var(--ease-out);
}
.cmp:hover { transform: translateY(-6px); }
.cmp::before { content: ""; position: absolute; inset: 0; opacity: .9; transition: opacity .5s; }
.cmp:hover::before { opacity: 1; }
.cmp--1::before { background: radial-gradient(90% 70% at 20% 20%, rgba(90,120,255,.55), transparent 65%), radial-gradient(60% 60% at 90% 90%, rgba(175,80,255,.35), transparent 60%); }
.cmp--2::before { background: radial-gradient(80% 70% at 80% 10%, rgba(255,120,190,.5), transparent 65%), radial-gradient(60% 60% at 10% 90%, rgba(90,120,255,.3), transparent 60%); }
.cmp--3::before { background: radial-gradient(90% 80% at 50% 0%, rgba(175,80,255,.7), transparent 65%), radial-gradient(60% 60% at 90% 100%, rgba(255,120,190,.3), transparent 60%); }
.cmp--4::before { background: linear-gradient(rgba(0,0,0,0), rgba(0,0,0,.5)), radial-gradient(90% 80% at 10% 100%, rgba(120,90,255,.6), transparent 65%), radial-gradient(60% 60% at 90% 10%, rgba(225,189,255,.3), transparent 60%); }
.cmp .ghost { position: absolute; top: 20px; right: 28px; font-size: 120px; font-weight: 700; line-height: 1; color: var(--white-a08); letter-spacing: -0.04em; }
.cmp .lab { position: relative; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--lavender); margin-bottom: 14px; }
.cmp h3 { position: relative; font-size: 24px; font-weight: 400; line-height: 1.2; margin-bottom: 20px; letter-spacing: -0.01em; }
.cmp .vs { position: relative; font-size: 14px; display: inline-flex; gap: 8px; align-items: center; color: var(--almost-white); }
.cmp .node { position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; border-radius: 50%; border: 1px solid var(--almost-white); background: var(--near-black); transform: translate(-50%, -50%); z-index: 2; }
@media (max-width: 1000px) { .route__grid { grid-template-columns: repeat(2, 1fr); } .route__line { display: none; } }
@media (max-width: 560px) { .route__grid { grid-template-columns: 1fr; } .cmp { min-height: 260px; } }

/* ---------- Referenzen ---------- */
.quote { font-family: var(--font-serif); font-style: italic; font-size: clamp(40px, 7vw, 112px); line-height: .95; letter-spacing: -0.03em; max-width: 14ch; }
.quote .thin { font-family: var(--font-sans); font-style: normal; font-weight: 300; }
.ref__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: end; }
.ref__grid p { color: var(--steel); font-size: 18px; line-height: 1.6; }
.ref__facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 64px; border-top: 1px solid var(--white-a20); }
.fact { padding-top: 24px; border-top: 1px solid transparent; }
.fact b { display: block; font-size: clamp(36px, 4vw, 56px); font-weight: 300; letter-spacing: -0.03em; line-height: 1; margin-bottom: 8px; }
.fact span { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--steel); }
@media (max-width: 900px) { .ref__grid { grid-template-columns: 1fr; gap: 32px; } .ref__facts { grid-template-columns: 1fr; } }

/* ---------- Kontakt ---------- */
.contact__grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact__info address { font-style: normal; color: var(--steel); line-height: 1.8; margin-top: 32px; }
.contact__info address b { color: var(--almost-white); font-weight: 400; }
.contact__info a:hover { text-decoration: underline; text-underline-offset: 4px; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--steel); }
.field input, .field select, .field textarea {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--white-a20); color: var(--almost-white);
  font: inherit; font-weight: 300; padding: 12px 0; border-radius: 0; outline: none; transition: border-color .2s;
  appearance: none; -webkit-appearance: none;
}
.field select { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' stroke='%23f7f9fa' fill='none'/></svg>"); background-repeat: no-repeat; background-position: right center; }
.field select option { background: var(--near-black); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--almost-white); }
.field textarea { min-height: 120px; resize: vertical; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; color: var(--steel); line-height: 1.5; }
.check input { margin-top: 4px; accent-color: var(--violet); }
.check a { text-decoration: underline; text-underline-offset: 3px; }
.form__actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.form__actions small { color: var(--ash); font-size: 12px; }
.form-ok { padding: 24px; border: 1px solid var(--white-a20); border-radius: var(--radius-buttons); display: none; }
@media (max-width: 900px) { .contact__grid { grid-template-columns: 1fr; } .form { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--white-a20); padding-top: 48px; padding-bottom: 24px; position: relative; overflow: hidden; }
.footer__grid { display: grid; grid-template-columns: 1.2fr 2fr; gap: 48px; }
.footer__left .brand { font-size: 28px; margin-bottom: 24px; }
.footer__left p { color: var(--steel); font-size: 16px; line-height: 1.75; max-width: 32ch; margin-bottom: 32px; }
.footer__cert { display: inline-flex; align-items: center; gap: 12px; padding: 10px 14px; border: 1px solid var(--white-a20); border-radius: var(--radius-small); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; }
.footer__cert .ring { width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--almost-white); display: grid; place-items: center; font-size: 9px; }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 12px; }
.footer__title { text-transform: uppercase; font-size: 12px; letter-spacing: 0.18em; font-weight: 700; margin-bottom: 16px; color: var(--almost-white); }
.footer__cols a { display: block; padding: 6px 0; font-size: 15px; color: var(--steel); transition: color .15s; }
.footer__cols a:hover { color: var(--almost-white); }
.footer__decor { position: absolute; right: var(--gutter); top: 64px; display: flex; align-items: center; transform: rotate(-90deg); transform-origin: right top; }
.footer__decor .txt { font-size: 12px; letter-spacing: 0.07em; text-transform: uppercase; margin-right: 24px; white-space: nowrap; }
.footer__bottom { margin-top: 96px; }
.footer__bottom-wrap { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; gap: 24px; flex-wrap: wrap; }
.footer__stamp { display: flex; align-items: center; gap: 16px; font-size: 14px; }
.footer__stamp .plus { width: 12px; height: 12px; position: relative; }
.footer__stamp .plus::before, .footer__stamp .plus::after { content: ""; position: absolute; background: var(--almost-white); left: 0; top: 50%; width: 100%; height: 1px; }
.footer__stamp .plus::after { left: 50%; top: 0; width: 1px; height: 100%; }
.footer__stamp .sep { color: var(--ash); }
.footer__coord { display: flex; align-items: center; gap: 12px; font-size: 14px; font-variant-numeric: tabular-nums; }
.footer__coord .heart { width: 14px; height: 14px; }
.footer__legal { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 20px; }
.footer__legal a, .footer__legal span { font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--steel); }
.footer__legal a:hover { text-decoration: underline; color: var(--almost-white); }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr; } .footer__cols { grid-template-columns: 1fr 1fr; } .footer__decor { display: none; } .footer__bottom { margin-top: 56px; } }

/* ---------- Legal pages ---------- */
.legal { padding-top: 160px; padding-bottom: var(--section-gap); max-width: 760px; }
.legal h1 { margin-bottom: 40px; }
.legal h2 { font-size: 20px; font-weight: 400; margin: 40px 0 12px; }
.legal p, .legal li { color: var(--steel); line-height: 1.7; margin-bottom: 12px; }
.legal a { text-decoration: underline; text-underline-offset: 3px; }
.legal address { font-style: normal; color: var(--steel); line-height: 1.7; }

/* ---------- Motion safety ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .hero__h1 .char, .pass, .reveal { opacity: 1 !important; transform: none !important; }
  .flap__text { color: var(--soft-white); }
  .flap__mask { display: none; }
}
