@font-face { font-family: "Archivo"; src: url(../fonts/Archivo-300-800.woff2) format("woff2"); font-weight: 300 800; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url(../fonts/JetBrainsMono-400.woff2) format("woff2"); font-weight: 400 500; font-display: swap; }

:root {
  --night: #0c0e0d;
  --night-2: #151816;
  --bone: #ece7dc;
  --bone-dim: #a9a59b;
  --sun: #f2b544;
  --heat: #ff5b1f;
  --line: rgba(236, 231, 220, .16);
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --sans: "Archivo", system-ui, sans-serif;
  --gut: clamp(16px, 4vw, 56px);
}

* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }
body { background: var(--night); color: var(--bone); font: 400 1.0625rem/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
/* Körnung: kleines SVG-Rauschen, damit die dunklen Flächen nicht steril wirken */
body::after { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 50; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
a { color: inherit; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--sun); outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--sun); color: var(--night); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

/* Kopf */
.top { position: fixed; inset: 0 0 auto; z-index: 40; display: flex; justify-content: space-between; align-items: center; padding: 14px var(--gut);
  background: linear-gradient(to bottom, rgba(12,14,13,.75), transparent); transition: background .3s; }
/* Sobald gescrollt wird, bekommt der Kopf eine ruhige Fläche – sonst liegt das Logo über Überschriften */
.top.is-scrolled { background: rgba(12,14,13,.92); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.top__logo img { width: clamp(120px, 14vw, 175px); height: auto; }
.top__nav { display: flex; gap: clamp(14px, 2.4vw, 36px); align-items: center; font: 500 .8rem/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; }
.top__nav a { text-decoration: none; opacity: .85; }
.top__nav a:hover { opacity: 1; color: var(--sun); }
.top__cta { border: 1px solid var(--sun); color: var(--sun); padding: 9px 14px; }
@media (max-width: 640px) { .top__nav a:not(.top__cta) { display: none; } }

/* Flug */
.flight { position: relative; }
.flight__stage { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.flight__canvas, .flight__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.flight__canvas { display: block; }
.js .flight__poster { display: none; }
.flight__stage::after { content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 60%, rgba(12,14,13,.15), rgba(12,14,13,.7) 75%), linear-gradient(to top, rgba(12,14,13,.85), transparent 45%); }
.flight__chapters { position: relative; margin-top: -100svh; z-index: 2; }

/* Sucher-Ecken wie im Logo */
.hud { position: absolute; inset: clamp(70px, 10vh, 96px) var(--gut) clamp(20px, 4vh, 40px); z-index: 1; font: 400 .72rem/1 var(--mono); letter-spacing: .1em; color: rgba(236,231,220,.75); }
.hud__c { position: absolute; width: 30px; height: 30px; border: 0 solid rgba(236,231,220,.35); }
.hud__c--tl { top: 0; left: 0; border-width: 2px 0 0 2px; }
.hud__c--tr { top: 0; right: 0; border-width: 2px 2px 0 0; }
.hud__c--bl { bottom: 0; left: 0; border-width: 0 0 2px 2px; }
.hud__c--br { bottom: 0; right: 0; border-width: 0 2px 2px 0; }
.hud__row { position: absolute; left: 52px; right: 52px; display: flex; justify-content: space-between; }
.hud__row--top { top: 12px; } .hud__row--bottom { bottom: 12px; }
.hud b { font-weight: 500; color: var(--bone); }
.rec { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--heat); margin-right: 8px; animation: blink 1.6s steps(2) infinite; }
@keyframes blink { 50% { opacity: .2; } }
@media (max-width: 640px) { .hud__row--bottom span:first-child { display: none; } }

.ch { min-height: 120svh; display: flex; flex-direction: column; justify-content: center; padding: 12vh var(--gut); max-width: 1180px; }
.ch > * { max-width: 34rem; }
.ch h1 { font-size: clamp(3rem, 9.5vw, 8.6rem); font-weight: 700; font-stretch: 118%; line-height: .9; letter-spacing: -.02em; max-width: none; margin: .25em 0 .35em; }
.ch h2 { font-size: clamp(2.1rem, 5vw, 4.2rem); font-weight: 650; font-stretch: 112%; line-height: .98; letter-spacing: -.015em; margin-bottom: .45em; }
.ch p { color: rgba(236,231,220,.88); text-shadow: 0 1px 18px rgba(0,0,0,.5); }
.ch__no { font: 500 .78rem/1 var(--mono); color: var(--sun) !important; letter-spacing: .14em; margin-bottom: 1.1em; }
.ch__no::before { content: "SZENE "; color: var(--bone-dim); }
.ch__note { margin-top: 1em; padding-left: 14px; border-left: 2px solid var(--heat); font-size: .95rem; }
.kicker { font: 500 .78rem/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--sun) !important; }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem); max-width: 31rem; }
.scrollhint { margin-top: 2.2em; font: .72rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--bone-dim) !important; }
.scrollhint::after { content: " ↓"; display: inline-block; animation: nudge 1.8s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateY(4px); } }
.ch--hero { justify-content: center; padding-top: 18vh; }

.btn { display: inline-block; align-self: flex-start; margin-top: 1.6em; background: var(--sun); color: var(--night); text-decoration: none; border: 0; cursor: pointer;
  font: 600 .95rem/1 var(--sans); font-stretch: 110%; padding: 17px 26px; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%); transition: background .2s, transform .2s; }
.btn:hover { background: #ffc85e; transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--sun); box-shadow: inset 0 0 0 1px var(--sun); }
.btn--ghost:hover { background: rgba(242,181,68,.12); }

/* Inhaltsbereiche */
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 var(--gut); }
.wrap--split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); }
@media (max-width: 860px) { .wrap--split { grid-template-columns: 1fr; } }
.sec { font-size: clamp(2rem, 4.2vw, 3.4rem); font-weight: 650; font-stretch: 112%; line-height: 1; letter-spacing: -.015em; }
.flow, .faq, .contact { padding: clamp(80px, 13vw, 170px) 0; border-top: 1px solid var(--line); position: relative; z-index: 3; background: var(--night); }
.faq { background: var(--night-2); }

.log { list-style: none; padding: 0; margin-top: 56px; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.log li { padding: 26px 26px 0 0; border-right: 1px solid var(--line); margin-right: 26px; }
.log li:last-child { border-right: 0; }
.log__t { font: 600 2.4rem/1 var(--sans); font-stretch: 118%; color: var(--sun); }
.log h3 { font-size: 1.3rem; font-weight: 600; font-stretch: 108%; margin: 18px 0 8px; }
.log p { color: var(--bone-dim); font-size: .98rem; }
@media (max-width: 860px) { .log { grid-template-columns: 1fr; } .log li { border-right: 0; margin: 0; padding: 22px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 56px 1fr; align-items: baseline; } .log h3 { margin-top: 0; } }

.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative; font-size: 1.12rem; font-weight: 500; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: "+"; position: absolute; right: 4px; top: 18px; font: 300 1.6rem/1 var(--mono); color: var(--sun); transition: transform .25s; }
.faq__list details[open] summary::after { transform: rotate(45deg); }
.faq__list p { color: var(--bone-dim); padding: 0 40px 24px 0; }

.contact__lead { color: var(--bone-dim); margin: 22px 0 36px; max-width: 26rem; }
.contact__dl { display: grid; grid-template-columns: 80px 1fr; gap: 10px 16px; }
.contact__dl dt { font: .75rem/1.9 var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--bone-dim); }
.contact__dl a { text-decoration-color: var(--sun); text-underline-offset: 4px; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 22px; }
.form > label, .form fieldset { display: grid; gap: 8px; font-size: .9rem; }
.form > label:not(.consent) span, .form legend { font: .7rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--bone-dim); }
.form fieldset, .form > label:has(textarea), .consent, .form .btn { grid-column: 1 / -1; }
.form fieldset { border: 0; padding: 0; }
.form legend { margin-bottom: 10px; }
.form input:not([type=checkbox]), .form textarea { width: 100%; background: transparent; border: 0; border-bottom: 1px solid rgba(236,231,220,.35); color: var(--bone); font: inherit; font-size: 1rem; padding: 10px 0; border-radius: 0; }
.form input:focus, .form textarea:focus { outline: none; border-bottom-color: var(--sun); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { cursor: pointer; }
.chips input { position: absolute; opacity: 0; }
.chips span { display: inline-block; border: 1px solid var(--line); padding: 9px 14px; font-size: .9rem; transition: .15s; }
.chips input:checked + span { background: var(--sun); color: var(--night); border-color: var(--sun); }
.chips input:focus-visible + span { outline: 2px solid var(--sun); outline-offset: 2px; }
.consent { display: flex !important; gap: 12px; align-items: flex-start; color: var(--bone-dim); font-size: .85rem; }
.consent input { margin-top: 4px; accent-color: var(--sun); }
.hp { position: absolute; left: -9999px; }
@media (max-width: 560px) { .form { grid-template-columns: 1fr; } }

.foot { border-top: 1px solid var(--line); padding: 40px 0; font-size: .9rem; color: var(--bone-dim); position: relative; z-index: 3; background: var(--night); }
.foot__row { display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: center; justify-content: space-between; }
.foot nav { display: flex; gap: 22px; }

/* Rechtstexte */
.legal { max-width: 760px; margin: 0 auto; padding: 140px var(--gut) 100px; }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-stretch: 112%; font-weight: 650; margin-bottom: 40px; }
.legal h2 { font-size: 1.25rem; font-weight: 600; margin: 36px 0 10px; }
.legal p, .legal li { color: rgba(236,231,220,.82); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rec, .scrollhint::after { animation: none; }
}
