/* OrphicOS landing — "Enterprise Autonomous AI Employees".
   Light, techno-industrial, premium. Michroma (display headline) + Inter (body)
   + IBM Plex Mono (technical labels / cards). Self-hosted fonts — zero external requests.
   Strict 8px rhythm. One rationed accent (interactive) + a signal green (local/live, dots only). */

:root {
  /* ground (light) */
  --bg:        #e6e8ec;
  --bg-2:      #eef0f3;
  --surface:   #ffffff;
  --surface-2: #f4f6f8;
  --line:        rgba(20,24,32,.11);
  --line-strong: rgba(20,24,32,.20);

  /* ink */
  --text:  #15171c;
  --muted: #565c67;
  --faint: #868c98;

  /* accents (rationed) */
  --accent:      #5f78ef;   /* interactive: CTAs, objects */
  --accent-2:    #7488f3;
  --accent-ink:  #ffffff;   /* text on accent */
  --accent-link: #4053c8;   /* inline emphasis on white — higher contrast */
  --signal:      #12a97a;   /* "local / live / secure" — dots + tiny marks only */
  --warn:        #d6483b;   /* the "it's gone" beat — used once, deliberately */

  /* type */
  --display: "Michroma", "IBM Plex Mono", ui-monospace, monospace;
  --sans:    "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono:    "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --max: 1180px;
  --gutter: clamp(18px, 4vw, 44px);
}

* { margin:0; padding:0; box-sizing:border-box; }
html { -webkit-text-size-adjust:100%; scroll-behavior:smooth; }

body {
  background:var(--bg);
  color:var(--text);
  font-family:var(--sans);
  font-size:17px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
  overflow-x:hidden;
}
::selection { background:var(--accent); color:var(--accent-ink); }
a { color:inherit; }

/* ambient wash — two quiet gradients, no decoration */
body::before {
  content:"";
  position:fixed; inset:0; z-index:-1; pointer-events:none;
  background:
    radial-gradient(1100px 620px at 82% -12%, rgba(95,120,239,.10), transparent 60%),
    radial-gradient(900px 560px at 2% 2%, rgba(18,169,122,.05), transparent 62%);
}

.wrap { max-width:var(--max); margin-inline:auto; padding-inline:var(--gutter); }

/* eyebrows / catalog labels */
.eyebrow {
  font-family:var(--mono);
  font-size:12px; letter-spacing:.24em; text-transform:uppercase;
  color:var(--faint); font-weight:500;
}
.eyebrow .dot {
  width:6px; height:6px; border-radius:50%;
  background:var(--signal); display:inline-block; margin-right:9px;
  vertical-align:middle;
  box-shadow:0 0 0 0 rgba(18,169,122,.5);
  animation:pulse 2.6s ease-out infinite;
}
@keyframes pulse {
  0% { box-shadow:0 0 0 0 rgba(18,169,122,.45); }
  70%,100% { box-shadow:0 0 0 7px rgba(18,169,122,0); }
}

/* ── NAV ──────────────────────────────── */
.nav {
  position:sticky; top:0; z-index:40;
  background:color-mix(in srgb, var(--bg) 68%, transparent);
  backdrop-filter:saturate(1.2) blur(12px);
  border-bottom:1px solid transparent;
  transition:border-color .35s ease, background .35s ease;
}
.nav.scrolled { border-bottom-color:var(--line); background:color-mix(in srgb, var(--bg) 86%, transparent); }
.nav-inner { display:flex; align-items:center; justify-content:space-between; height:66px; gap:18px; }
.brand {
  font-family:var(--display); font-weight:400; font-size:16px; letter-spacing:.02em;
  text-decoration:none; color:var(--text); white-space:nowrap;
}
.brand span { color:var(--accent); }
.nav-right { display:flex; align-items:center; gap:clamp(14px,2.4vw,26px); }
.nav-links { display:flex; gap:clamp(16px,2.4vw,26px); }
.nav-links a {
  font-family:var(--mono); font-size:12px; letter-spacing:.08em; text-transform:uppercase;
  color:var(--muted); text-decoration:none; transition:color .2s ease;
}
.nav-links a:hover { color:var(--text); }
.lang {
  font-family:var(--mono); font-size:12px; letter-spacing:.1em; text-transform:uppercase;
  color:var(--faint); text-decoration:none; border:1px solid var(--line-strong);
  padding:5px 9px; border-radius:6px; transition:border-color .2s, color .2s;
}
.lang:hover { color:var(--text); border-color:var(--accent); }
.nav-cta {
  font-family:var(--sans); font-weight:600; font-size:13.5px;
  text-decoration:none; color:var(--accent-ink);
  background:var(--accent); padding:10px 16px; border-radius:8px;
  transition:background .2s ease, transform .2s ease; white-space:nowrap;
}
.nav-cta:hover { background:var(--accent-2); }
.nav-phone {
  font-family:var(--mono); font-size:13px; letter-spacing:.02em;
  color:var(--text); text-decoration:none; padding:8px 4px; white-space:nowrap;
}
.nav-phone:hover { color:var(--accent-link); }
.phone-label { font-size:14px; color:var(--muted); align-self:center; }
.hook-wrap { position:relative; }
.hook-video {
  display:block; width:100%; height:auto; border-radius:14px;
  background:#111; border:1px solid var(--line);
  box-shadow:0 22px 50px -36px rgba(20,24,44,.55);
}
.hook-unmute {
  position:absolute; inset:0; z-index:3;
  border:0; cursor:pointer; border-radius:14px;
  display:flex; align-items:center; justify-content:center;
  font-family:var(--sans); font-weight:700;
  font-size:clamp(1.05rem,2.4vw,1.4rem);
  color:#fff; background:rgba(12,14,22,.48);
}
.hook-unmute span {
  background:var(--accent); color:var(--accent-ink);
  padding:14px 22px; border-radius:999px;
  box-shadow:0 12px 28px -16px rgba(20,24,44,.8);
}
.hook-unmute[hidden] { display:none; }
@media (max-width:720px){ .nav-links{ display:none; } }

/* ── shared button ─────────────────────── */
.btn {
  display:inline-flex; align-items:center; gap:11px;
  font-family:var(--sans); font-weight:600; font-size:16px;
  text-decoration:none; padding:14px 22px; border-radius:11px;
  transition:background .22s ease, border-color .22s ease, transform .22s ease, color .22s ease;
}
.btn .arrow { transition:transform .22s ease; }
.btn:hover .arrow { transform:translateX(4px); }
.btn-primary { background:var(--accent); color:var(--accent-ink); box-shadow:0 14px 30px -16px rgba(95,120,239,.85); }
.btn-primary:hover { background:var(--accent-2); }
.btn-ghost { border:1px solid var(--line-strong); color:var(--text); background:var(--surface); }
.btn-ghost:hover { border-color:var(--accent); color:var(--accent-link); }

/* ── HERO / STAGE ──────────────────────── */
.hero { padding-top:clamp(14px,2.4vw,30px); padding-bottom:clamp(30px,4vw,58px); }
.stage {
  position:relative; isolation:isolate; overflow:hidden;
  border-radius:26px; border:1px solid var(--line);
  background:linear-gradient(180deg,#ffffff 0%, #e9ebef 100%);
  box-shadow:0 50px 100px -62px rgba(24,28,44,.5), 0 1px 0 rgba(255,255,255,.9) inset;
  display:grid; grid-template-columns:1fr; align-items:stretch;
  min-height:clamp(430px,64vh,592px);
}
@media (min-width:900px){ .stage{ grid-template-columns:1.04fr .96fr; } }

.stage-copy { padding:clamp(26px,3.6vw,52px); display:flex; flex-direction:column; justify-content:center; z-index:2; }
.stage-copy .eyebrow { margin-bottom:20px; }
.hero h1.display,
.scrollhero h1.display {
  font-family:var(--display); font-weight:400; text-transform:uppercase;
  font-size:clamp(1.5rem,4.1vw,2.95rem); line-height:1.1; letter-spacing:.004em;
  color:var(--text); margin:0; max-width:15ch;
  overflow-wrap:break-word;   /* never let a long compound word (e.g. German) break the layout */
}
.hero-desc {
  margin-top:16px; font-family:var(--mono);
  font-size:clamp(12.5px,1.4vw,14px); letter-spacing:.09em; text-transform:uppercase; color:var(--accent-link);
}
.hero-sub {
  margin-top:clamp(16px,2vw,22px);
  font-size:clamp(16px,1.7vw,18.5px); line-height:1.55; color:var(--muted); max-width:42ch;
}
.hero-actions { margin-top:clamp(24px,3vw,32px); display:flex; align-items:center; gap:14px; flex-wrap:wrap; }
.hero-note {
  margin-top:20px; display:inline-flex; align-items:center; gap:10px;
  font-family:var(--mono); font-size:12px; letter-spacing:.04em; color:var(--faint);
}
.hero-note .dot { width:7px; height:7px; border-radius:50%; background:var(--signal); display:inline-block; }

/* the heritage ship — hero centerpiece */
.stage-art { position:relative; min-height:300px; }
.ship { position:absolute; inset:0; margin:0; }
.ship img { width:100%; height:100%; object-fit:cover; object-position:center right; display:block; filter:contrast(1.03) saturate(1.03); }

/* interactive ship — pointer parallax + 3D tilt + cursor gleam.
   Progressive enhancement: JS adds .tilt on pointer devices; without JS (or with
   reduced-motion / touch) the ship stays the same static image. Self-hosted, no requests. */
.stage-art { perspective:1150px; }
.ship { transform-style:preserve-3d; transition:transform .45s cubic-bezier(.2,.7,.2,1); }
.ship img { transition:transform .45s cubic-bezier(.2,.7,.2,1); will-change:transform; }
.ship-gleam {
  position:absolute; inset:0; z-index:1; pointer-events:none; opacity:0;
  mix-blend-mode:soft-light; transition:opacity .4s ease;
  background:radial-gradient(210px 210px at var(--gx,50%) var(--gy,42%), rgba(255,255,255,.95), rgba(255,255,255,0) 62%);
}
.stage-art.tilt .ship { transform:rotateY(calc(var(--tx,0) * 3.4deg)) rotateX(calc(var(--ty,0) * -2.8deg)); }
.stage-art.tilt .ship img { transform:scale(1.055) translate3d(calc(var(--tx,0) * 15px), calc(var(--ty,0) * 11px), 0); }
.stage-art.tilt .ship-gleam { opacity:.55; }

.stage-art::before {
  content:""; position:absolute; inset:0; z-index:1; pointer-events:none;
  background:linear-gradient(90deg,#f1f3f6 0%, rgba(241,243,246,0) 32%);
}
@media (max-width:899px){
  .stage{ min-height:0; }
  .stage-art{ min-height:288px; }
  .stage-art::before{ background:linear-gradient(180deg,#f1f3f6 0%, rgba(241,243,246,0) 22%); }
}

/* floating cards over the stage (the reference's scattered chips) */
.fcard {
  position:absolute; z-index:3;
  background:color-mix(in srgb, var(--surface) 84%, transparent);
  backdrop-filter:blur(9px) saturate(1.1);
  border:1px solid var(--line-strong); border-radius:14px;
  box-shadow:0 26px 54px -32px rgba(20,24,44,.55);
}
.fcard-live { top:18px; right:18px; padding:13px 16px; font-family:var(--mono); }
.fcard-live .l1 { display:flex; align-items:center; gap:8px; font-size:11px; letter-spacing:.16em; text-transform:uppercase; color:var(--muted); }
.fcard-live .l1 .dot { width:7px; height:7px; border-radius:50%; background:var(--signal); box-shadow:0 0 10px 1px rgba(18,169,122,.55); }
.fcard-live .l2 { margin-top:10px; font-size:13px; color:var(--text); }
.fcard-live .l2 b { color:var(--accent-link); font-weight:600; }
.fcard-live .l3 { margin-top:5px; font-size:12px; color:var(--faint); }
.fcard-watch { left:-22px; bottom:26px; display:inline-flex; align-items:center; gap:12px; padding:9px 18px 9px 9px; text-decoration:none; }
.fcard-watch .play { width:34px; height:34px; border-radius:50%; background:var(--accent); color:#fff; display:grid; place-items:center; font-size:11px; padding-left:2px; }
.fcard-watch .wt { font-family:var(--mono); font-size:12px; letter-spacing:.05em; text-transform:uppercase; color:var(--text); }
.fcard-watch:hover .play { background:var(--accent-2); }
@media (max-width:899px){ .fcard-live{ top:14px; left:14px; right:auto; } .fcard-watch{ left:14px; bottom:14px; } }
@media (max-width:520px){ .fcard-watch{ display:none; } }

/* ── SECTION SCAFFOLD ──────────────────── */
.section { padding-block:clamp(60px,8vw,116px); border-top:1px solid var(--line); }
.section-head { max-width:60ch; margin-bottom:clamp(34px,5vw,54px); }
.section-head .eyebrow { display:block; margin-bottom:18px; }
.section-title {
  font-family:var(--sans); font-weight:650;
  font-size:clamp(1.8rem,3.3vw,2.7rem); line-height:1.14; letter-spacing:-.02em; color:var(--text);
}
.section-lead { margin-top:18px; color:var(--muted); font-size:clamp(16px,1.7vw,18.5px); max-width:56ch; }

/* ── DATA-LEAK WEDGE ───────────────────── */
.wedge { background:var(--bg-2); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.wedge-inner { padding-block:clamp(54px,7vw,100px); }
.wedge-quote {
  font-family:var(--sans); font-weight:600; font-size:clamp(1.6rem,3.3vw,2.7rem);
  line-height:1.22; letter-spacing:-.018em; max-width:24ch; color:var(--text);
}
.wedge-quote .gone { color:var(--warn); font-style:italic; }
.wedge-counter {
  margin-top:clamp(22px,3vw,32px); font-size:clamp(17px,1.9vw,20px); color:var(--muted); max-width:52ch; line-height:1.5;
}
.wedge-counter b { color:var(--text); font-weight:600; }
.chips { margin-top:clamp(26px,3vw,36px); display:flex; gap:10px; flex-wrap:wrap; }
.chip {
  font-family:var(--mono); font-size:12px; letter-spacing:.05em;
  color:var(--muted); background:var(--surface); border:1px solid var(--line); border-radius:999px; padding:8px 14px;
  display:inline-flex; align-items:center; gap:8px;
}
.chip .dot { width:6px; height:6px; border-radius:50%; background:var(--signal); display:inline-block; }

/* ── PROOF ─────────────────────────────── */
.proof-grid { display:grid; grid-template-columns:1fr; gap:clamp(28px,4vw,44px); }
@media (min-width:860px){ .proof-grid{ grid-template-columns:.9fr 1.1fr; align-items:start; } }
.mission-list { display:grid; gap:14px; }
.mission {
  display:grid; grid-template-columns:auto 1fr auto; gap:16px; align-items:center;
  background:var(--surface); border:1px solid var(--line); border-radius:12px; padding:18px 20px;
  box-shadow:0 18px 40px -34px rgba(20,24,44,.4);
  transition:border-color .2s ease, transform .2s ease;
}
.mission:hover { border-color:var(--line-strong); transform:translateY(-1px); }
.mission .id { font-family:var(--mono); font-size:12px; letter-spacing:.08em; color:var(--faint); }
.mission .name { font-size:15.5px; color:var(--text); }
.mission .fmt { font-family:var(--mono); font-size:11px; letter-spacing:.12em; text-transform:uppercase; color:var(--accent-link); }
.proof-copy p { color:var(--muted); font-size:clamp(16px,1.7vw,18px); }
.proof-copy p + p { margin-top:1em; }
.proof-copy .pull {
  font-family:var(--sans); font-style:italic; font-weight:500;
  font-size:clamp(1.2rem,2.2vw,1.55rem); line-height:1.4; color:var(--text); margin-bottom:20px;
}
.watch { margin-top:26px; display:inline-flex; }
.proof-video { min-width:0; }
.yt-wrap {
  position:relative; width:100%; aspect-ratio:16/9;
  background:#111; border-radius:14px; overflow:hidden;
  border:1px solid var(--line);
  box-shadow:0 22px 50px -36px rgba(20,24,44,.55);
}
.yt-wrap iframe { position:absolute; inset:0; width:100%; height:100%; border:0; }
.yt-note { margin-top:10px; font-size:13px; color:var(--faint); }
.yt-start {
  position:absolute; inset:0; width:100%; height:100%; border:0; padding:0;
  cursor:pointer; background:#111; color:#fff;
}
.yt-start img { width:100%; height:100%; object-fit:cover; display:block; filter:brightness(.72); }
.yt-start span {
  position:absolute; left:50%; top:50%; transform:translate(-50%,-50%);
  font-family:var(--sans); font-weight:650; font-size:1.05rem;
  background:var(--accent); color:var(--accent-ink);
  padding:14px 22px; border-radius:999px; white-space:nowrap;
}

/* ── AUTOMATION SYSTEMS ────────────────── */
.systems { display:grid; grid-template-columns:1fr; gap:16px; }
@media (min-width:640px){ .systems{ grid-template-columns:1fr 1fr; } }
@media (min-width:980px){ .systems{ grid-template-columns:1fr 1fr 1fr; } }
.sys {
  background:var(--surface); border:1px solid var(--line); border-radius:14px;
  padding:26px 24px 28px; box-shadow:0 20px 46px -36px rgba(20,24,44,.45);
  transition:border-color .2s ease, background .2s ease, transform .2s ease;
}
.sys:hover { border-color:var(--line-strong); background:var(--surface-2); transform:translateY(-2px); }
.sys .num { font-family:var(--mono); font-size:11.5px; letter-spacing:.16em; color:var(--faint); }
.sys h3 { font-family:var(--sans); font-weight:640; font-size:1.28rem; letter-spacing:-.01em; margin:14px 0 10px; }
.sys p { color:var(--muted); font-size:15px; line-height:1.55; }
.sys .tag { display:block; margin-top:16px; font-family:var(--mono); font-size:11px; letter-spacing:.1em; text-transform:uppercase; color:var(--accent-link); }

/* ── FUNNEL / DEPLOYMENT ───────────────── */
.funnel { display:flex; flex-wrap:wrap; gap:10px; align-items:stretch; }
.node {
  flex:1 1 148px; background:var(--surface); border:1px solid var(--line); border-radius:12px;
  padding:18px 16px; position:relative; box-shadow:0 18px 40px -34px rgba(20,24,44,.4);
}
.node .n { font-family:var(--mono); font-size:11px; letter-spacing:.14em; color:var(--faint); }
.node .t { margin-top:8px; font-size:15px; color:var(--text); font-weight:600; }
.node .d { margin-top:6px; font-size:13px; color:var(--muted); line-height:1.45; }
.deploy-note {
  margin-top:clamp(28px,3.4vw,40px); font-family:var(--mono); font-size:13px; letter-spacing:.03em;
  color:var(--muted); display:inline-flex; align-items:center; gap:10px;
}
.deploy-note .dot { width:7px; height:7px; border-radius:50%; background:var(--signal); }

/* ── TRUST BAND ────────────────────────── */
.trust-grid { display:grid; grid-template-columns:1fr; gap:clamp(24px,3vw,36px); }
@media (min-width:620px){ .trust-grid{ grid-template-columns:1fr 1fr; } }
@media (min-width:960px){ .trust-grid{ grid-template-columns:repeat(4,1fr); } }
.trust { padding-top:22px; border-top:2px solid var(--accent); }
.trust h4 { font-family:var(--sans); font-weight:640; font-size:1.15rem; margin-bottom:10px; letter-spacing:-.01em; }
.trust p { color:var(--muted); font-size:14.5px; line-height:1.55; }

/* ── ads / B2B story ───────────────────── */
.cred {
  font-family:var(--mono); font-size:13px; letter-spacing:.1em; text-transform:uppercase;
  color:var(--accent-link); font-weight:600; margin-bottom:14px;
}
.cta-row {
  margin-top:28px; display:flex; flex-wrap:wrap; gap:12px; align-items:center;
}
.cta-note { margin-top:16px; font-size:14.5px; color:var(--muted); }
.cta-note a { color:var(--accent-link); text-decoration:underline; text-underline-offset:3px; }
.close .cta-note { margin-inline:auto; }
.story {
  display:grid; grid-template-columns:1fr; gap:12px;
}
@media (min-width:640px){ .story{ grid-template-columns:1fr 1fr; } }
@media (min-width:980px){ .story{ grid-template-columns:repeat(3,1fr); } }
.story-step {
  background:var(--surface); border:1px solid var(--line); border-radius:12px;
  padding:18px 18px 20px; box-shadow:0 18px 40px -34px rgba(20,24,44,.4);
}
.story-step .n { font-family:var(--mono); font-size:11px; letter-spacing:.14em; color:var(--faint); }
.story-step h3 { margin-top:8px; font-size:1.05rem; letter-spacing:-.01em; }
.story-step p { margin-top:6px; color:var(--muted); font-size:14.5px; line-height:1.5; }
.arch { display:grid; grid-template-columns:1fr; gap:16px; }
@media (min-width:760px){ .arch{ grid-template-columns:1fr 1fr; } }
.arch-card {
  background:var(--surface); border:1px solid var(--line); border-radius:14px;
  padding:24px 22px 26px; box-shadow:0 20px 46px -36px rgba(20,24,44,.45);
}
.arch-kicker {
  font-family:var(--mono); font-size:11px; letter-spacing:.14em; text-transform:uppercase; color:var(--faint);
}
.arch-card h3 { margin-top:8px; font-size:1.25rem; }
.arch-card > p:last-child { margin-top:14px; color:var(--muted); font-size:14.5px; }
.arch-flow {
  list-style:none; margin-top:18px; display:flex; flex-direction:column; gap:0;
}
.arch-flow li {
  font-family:var(--mono); font-size:13.5px; padding:10px 12px;
  background:var(--surface-2); border:1px solid var(--line); border-radius:8px;
}
.arch-flow li + li { margin-top:18px; position:relative; }
.arch-flow li + li::before {
  content:""; position:absolute; left:18px; top:-14px; width:2px; height:12px; background:var(--line-strong);
}
.arch-card--warn { border-top:3px solid var(--warn); }
.arch-card--ok { border-top:3px solid var(--signal); }
.who {
  list-style:none; display:flex; flex-wrap:wrap; gap:10px;
}
.who li {
  font-family:var(--mono); font-size:13px; letter-spacing:.03em;
  color:var(--text); background:var(--surface); border:1px solid var(--line);
  border-radius:999px; padding:10px 16px;
}

/* ── inquiry modal ─────────────────────── */
body.anfrage-open { overflow:hidden; }
.anfrage-modal {
  position:fixed; inset:0; z-index:80;
  background:rgba(18,20,28,.46);
  display:flex; align-items:flex-start; justify-content:center;
  padding:clamp(18px,6vh,72px) 16px 32px;
  overflow:auto;
}
.anfrage-modal[hidden] { display:none; }
.anfrage-panel {
  position:relative; width:min(560px,100%);
  background:var(--surface); border:1px solid var(--line); border-radius:16px;
  padding:28px 24px 26px;
  box-shadow:0 30px 70px -28px rgba(20,24,44,.55);
}
.anfrage-x {
  position:absolute; top:12px; right:12px;
  width:36px; height:36px; border:0; border-radius:8px;
  background:transparent; color:var(--muted); font-size:24px; cursor:pointer; line-height:1;
}
.anfrage-x:hover { color:var(--text); background:var(--surface-2); }
.anfrage-panel h2 { font-size:clamp(1.4rem,3vw,1.85rem); letter-spacing:-.02em; margin-top:8px; }
.anfrage-lead { margin-top:10px; color:var(--muted); font-size:15px; }
.anfrage-grid { margin-top:22px; display:grid; gap:14px; }
@media (min-width:560px){ .anfrage-grid-2{ grid-template-columns:1fr 1fr; } }
.anfrage-field { display:flex; flex-direction:column; gap:6px; }
.anfrage-field span { font-family:var(--mono); font-size:11px; letter-spacing:.08em; text-transform:uppercase; color:var(--faint); }
.anfrage-field input,
.anfrage-field select,
.anfrage-field textarea {
  font:inherit; font-size:15px; color:var(--text);
  background:var(--bg-2); border:1px solid var(--line); border-radius:10px;
  padding:11px 12px; width:100%;
}
.anfrage-field textarea { min-height:88px; resize:vertical; }
.anfrage-hp { position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }
.anfrage-consent {
  display:flex; gap:10px; align-items:flex-start;
  font-size:13.5px; color:var(--muted); line-height:1.45;
}
.anfrage-consent input { margin-top:3px; }
.anfrage-error { margin-top:12px; color:var(--warn); font-size:14px; }
.anfrage-error[hidden] { display:none; }
.anfrage-actions { margin-top:18px; display:flex; flex-wrap:wrap; gap:10px; align-items:center; }
.anfrage-ok { text-align:center; padding:28px 8px 12px; }
.anfrage-ok h2 { outline:none; }
.anfrage-ok p { margin-top:12px; color:var(--muted); }
.no-js .anfrage-modal {
  position:static; background:none; padding:0 0 48px; display:block;
}
.no-js .anfrage-modal[hidden] { display:block; }
.no-js .anfrage-x { display:none; }

/* ── visible lead form (ad / DE conversion) ─ */
.lead-dock {
  background:var(--surface);
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}
.lead-hero {
  display:grid;
  gap:clamp(22px,4vw,40px);
  align-items:start;
  padding-block:clamp(28px,5vw,56px);
}
@media (min-width:860px){
  .lead-hero { grid-template-columns:1.05fr .95fr; align-items:center; }
}
@media (max-width:720px){
  .lead-hero-copy .cta-row { margin-top:18px; }
}
.lead-hero-copy h2,
.lead-dock .lead-hero-copy h2 {
  font-family:var(--sans); font-weight:680;
  font-size:clamp(1.55rem,3.2vw,2.15rem); line-height:1.12; letter-spacing:-.02em;
}
.lead-hero-copy p { margin-top:12px; color:var(--muted); max-width:42ch; }
.lead-card {
  background:var(--bg-2);
  border:1px solid var(--line);
  border-radius:16px;
  padding:22px 20px 20px;
  box-shadow:0 22px 48px -36px rgba(20,24,44,.45);
}
.lead-card h2 { font-size:clamp(1.25rem,2.4vw,1.55rem); letter-spacing:-.02em; margin-top:6px; }
.lead-card-lead { margin-top:8px; color:var(--muted); font-size:15px; }
.lead-form { margin-top:16px; }
.lead-form-grid { display:grid; gap:12px; }
@media (min-width:560px){ .lead-form-grid { grid-template-columns:1fr 1fr; } }
.lead-form .anfrage-consent { margin-top:14px; }
.lead-form .btn { margin-top:16px; width:100%; justify-content:center; border:0; cursor:pointer; }
.lead-form-note { margin-top:10px; font-size:13px; color:var(--faint); }
.lead-card-ok { text-align:center; padding:28px 8px 12px; }
.lead-card-ok h2 { outline:none; }
.lead-card-ok p { margin-top:12px; color:var(--muted); }
.wedge .lead-hero { padding-block:0; }
.trust-strip {
  display:grid; gap:10px;
  margin-top:clamp(22px,3vw,32px);
}
@media (max-width:859px){ .lead-hero-copy .trust-strip { display:none; } }
@media (min-width:860px){ .trust-strip { grid-template-columns:repeat(4,1fr); } }
.trust-strip span {
  font-family:var(--mono); font-size:12px; letter-spacing:.03em; line-height:1.45;
  color:var(--muted); background:var(--surface); border:1px solid var(--line);
  border-radius:10px; padding:12px 14px;
}
.trust-strip b { display:block; color:var(--text); font-weight:600; margin-bottom:4px; font-family:var(--sans); font-size:13.5px; letter-spacing:0; }
.jobs { display:grid; gap:14px; }
@media (min-width:720px){ .jobs { grid-template-columns:repeat(3,1fr); } }
.job {
  background:var(--surface); border:1px solid var(--line); border-radius:14px;
  padding:22px 20px 24px; box-shadow:0 18px 40px -34px rgba(20,24,44,.4);
}
.job h3 { font-size:1.12rem; letter-spacing:-.01em; margin-bottom:8px; }
.job p { color:var(--muted); font-size:14.5px; line-height:1.55; }
.faq { display:grid; gap:10px; max-width:760px; }
.faq details {
  background:var(--surface); border:1px solid var(--line); border-radius:12px; padding:4px 18px;
}
.faq summary {
  cursor:pointer; font-weight:600; padding:14px 0; list-style:none;
}
.faq summary::-webkit-details-marker { display:none; }
.faq details p { color:var(--muted); font-size:15px; line-height:1.55; padding-bottom:16px; }
.close-inner .lead-card { text-align:left; max-width:560px; margin:28px auto 0; }
.close-inner .lead-card p { margin-inline:0; max-width:none; }

/* ── CLOSING CTA ───────────────────────── */
.close {
  background:linear-gradient(180deg, var(--bg-2), var(--bg));
  border-top:1px solid var(--line);
}
.close-inner { padding-block:clamp(70px,9vw,124px); text-align:center; }
.close h2 {
  font-family:var(--sans); font-weight:680;
  font-size:clamp(2rem,4.4vw,3.2rem); line-height:1.08; letter-spacing:-.022em;
  max-width:20ch; margin-inline:auto;
}
.close p { margin-top:20px; color:var(--muted); font-size:clamp(16px,1.8vw,19px); max-width:46ch; margin-inline:auto; }
.close .actions { margin-top:clamp(30px,4vw,42px); display:flex; gap:16px; justify-content:center; flex-wrap:wrap; }
.close .tagline {
  margin-top:clamp(30px,4vw,44px); font-family:var(--mono); font-size:12.5px; letter-spacing:.08em;
  text-transform:uppercase; color:var(--faint);
}

/* ── FOOTER ────────────────────────────── */
.foot {
  border-top:1px solid var(--line); padding-block:34px;
  display:flex; justify-content:space-between; gap:18px; flex-wrap:wrap;
  font-family:var(--mono); font-size:12px; letter-spacing:.05em; color:var(--faint);
}
.foot a { color:var(--faint); text-decoration:none; transition:color .2s; }
.foot a:hover { color:var(--text); }
.foot-links { display:flex; gap:22px; flex-wrap:wrap; }

/* ── reveal system (progressive enhancement) ── */
.js .reveal { opacity:0; transform:translateY(16px); transition:opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.js .reveal.in { opacity:1; transform:none; }

:focus-visible { outline:2px solid var(--accent); outline-offset:3px; border-radius:2px; }

@media (prefers-reduced-motion:reduce){
  * { animation:none !important; transition:none !important; scroll-behavior:auto !important; }
  .js .reveal { opacity:1; transform:none; }
}

/* ── SCROLL HERO — origami sequence, scrollbar = playhead ── */
/* Without JS (or with reduced motion) the section is one viewport tall
   and shows the poster + copy as a normal hero. hero.js adds .sh-active
   to open the 400vh scroll runway. */
.scrollhero { position:relative; height:100svh; background:#dfe3ea; }
.js .scrollhero.sh-active { height:400vh; }

.sh-sticky { position:sticky; top:0; height:100svh; overflow:hidden; }

.sh-poster, .sh-canvas { position:absolute; inset:0; width:100%; height:100%; }
.sh-poster { object-fit:cover; z-index:1; transition:opacity .5s ease; }
.sh-canvas { z-index:2; display:block; }

/* readability scrim behind the left-aligned copy */
.sh-scrim {
  position:absolute; inset:0; z-index:3; pointer-events:none;
  background:
    linear-gradient(90deg, rgba(230,232,236,.94) 0%, rgba(230,232,236,.62) 40%, rgba(230,232,236,0) 68%),
    linear-gradient(180deg, rgba(230,232,236,.55) 0%, rgba(230,232,236,0) 22%);
}

.sh-copy {
  position:absolute; inset:0; z-index:4;
  display:flex; flex-direction:column; justify-content:center;
  will-change:opacity, transform;
}
.sh-copy .eyebrow { margin-bottom:20px; }

.sh-cap {
  position:absolute; left:50%; bottom:13vh; transform:translateX(-50%);
  z-index:4; margin:0; opacity:0; pointer-events:none;
  font-family:var(--mono); font-size:clamp(12.5px,1.5vw,15px);
  letter-spacing:.14em; text-transform:uppercase; text-align:center;
  color:var(--text); white-space:nowrap; max-width:92vw;
  background:color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter:blur(6px);
  border:1px solid var(--line); border-radius:999px;
  padding:11px 22px;
  will-change:opacity;
}
@media (max-width:600px){ .sh-cap { white-space:normal; line-height:1.5; border-radius:16px; } }

.sh-hint {
  display:none;
  position:absolute; left:50%; bottom:22px; transform:translateX(-50%);
  z-index:4; margin:0; pointer-events:none;
  font-family:var(--mono); font-size:11px; letter-spacing:.26em; text-transform:uppercase;
  color:var(--faint);
}
.sh-active .sh-hint { display:block; }
.sh-hint-arrow { display:inline-block; margin-left:9px; animation:sh-bob 1.8s ease-in-out infinite; }
@keyframes sh-bob {
  0%,100% { transform:translateY(0); }
  50% { transform:translateY(4px); }
}
