/* Formed in Wax — Basis (Chrome, Hero, Intro, Facts); weitere Sektionen: tech.css, wheel.css, footer.css
   Seite selbst nur #000 / #fff / #929292. Farbe kommt ausschließlich aus den Fotos. */

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-var-opsz.woff2") format("woff2-variations"),
       url("../fonts/inter-var-opsz.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Hedvig Letters Serif";
  src: url("../fonts/hedvig-letters-serif-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --black: #000;
  --white: #fff;
  --grey: #929292;          /* auf Schwarz */
  --grey-ink: #666666;      /* auf Weiß: mind. 4,5:1 für kleinen Text */
  --sans: "Inter", sans-serif;
  --serif: "Hedvig Letters Serif", serif;
  --gutter: clamp(16px, 1.6vw, 24px);
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--white);
  color: var(--black);
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.3;
  letter-spacing: -0.01em;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
em { font-family: var(--serif); font-style: normal; font-weight: 400; }
h1, h2, p, dl, dd, figure { margin: 0; }

/* Skip-Link: unsichtbar, bis er per Tastatur den Fokus bekommt */
.skip { position: absolute; left: var(--gutter); top: -200px; z-index: 20; padding: 8px 12px; background: var(--black); color: var(--white); font-size: 13px; }
.skip:focus { top: var(--gutter); outline: 2px solid var(--white); outline-offset: 2px; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

/* ---------- Chrome (fest stehend, Farbe je nach Sektion) ---------- */
.chrome {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: calc(var(--gutter) * .9) var(--gutter);
  color: var(--white);
  transition: color .5s var(--ease);
  pointer-events: none;
  will-change: transform, opacity;
}
.chrome.is-light { color: var(--black); }
.chrome a { pointer-events: auto; }
.wordmark {
  display: flex;
  flex-direction: column;
  font-size: 20px;
  line-height: 1.02;
  letter-spacing: -0.02em;
  font-weight: 420;
}
.wordmark em { font-size: 1.06em; }
/* Navigation (07.11., Felix: keine Buttons): nur ein leiser Textlink rechts oben, Unterstreichung wächst beim Überfahren */
.nav { font-size: 14px; letter-spacing: -0.02em; font-weight: 420; pointer-events: auto; }
.nav a {
  background-image: linear-gradient(currentColor, currentColor); background-repeat: no-repeat;
  background-position: 100% 100%; background-size: 0 1px; padding-bottom: 2px;
  transition: background-size .5s var(--ease), background-position 0s .5s;
}
.nav a:hover { background-size: 100% 1px; background-position: 0 100%; }

/* ---------- 01 Hero ---------- */
.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 560px;
  overflow: hidden;
  background: var(--black);
  color: var(--white);
}
.hero__media { position: absolute; inset: 0; will-change: transform; }
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 54% 42%;
}
.hero__title {
  position: absolute;
  left: var(--gutter);
  bottom: calc(var(--gutter) * 1.1 + 30px);   /* Platz für die Subline darunter */
  font-weight: 400;
  font-size: clamp(44px, 4.9vw, 92px);
  line-height: .9;
  letter-spacing: -0.045em;
}
.hero__title em { letter-spacing: -0.03em; }
.hero__line { display: block; }
.hero__sub {
  position: absolute; left: var(--gutter); bottom: calc(var(--gutter) * 1.1);
  margin: 0; font-size: 14px; letter-spacing: -0.02em; font-weight: 420;
}

/* ---------- 02 Intro ---------- */
.intro { padding-top: clamp(96px, 12vh, 140px); }
.intro__head {
  text-align: center;
  font-weight: 400;
  font-size: clamp(42px, 7.6vw, 148px);
  line-height: .9;
  letter-spacing: -0.055em;
  padding: 0 var(--gutter);
}
.intro__cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 17.5em));
  justify-content: center;
  column-gap: clamp(40px, 9vw, 136px);
  margin: clamp(22px, 2.4vw, 36px) auto 0;
  padding: 0 var(--gutter);
  color: var(--grey-ink);
  font-size: 13px;
  line-height: 1.25;
}
.intro__figure {
  position: relative;
  margin-top: clamp(80px, 8vw, 120px);
  height: 100vh;
  overflow: hidden;
  background: var(--black);
}
.intro__figure img {
  width: 100%;
  height: 116%;
  object-fit: cover;
  object-position: 50% 50%;
  will-change: transform;
}

/* ---------- Foto-Momente (07.11.): volle Breite zwischen den Sektionen, Parallax wie das Intro-Foto ---------- */
.moment { position: relative; height: 100vh; overflow: hidden; background: var(--black); }
.moment picture, .moment img { display: block; width: 100%; height: 116%; object-fit: cover; object-position: 50% 50%; will-change: transform; }

/* ---------- 03 Facts ---------- */
.facts {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  column-gap: var(--gutter);
  padding: clamp(96px, 7vw, 120px) var(--gutter) clamp(300px, 36vw, 620px);
  overflow: hidden;
}
.facts__list { align-self: start; font-size: 12.5px; line-height: 1.25; }
.facts__list > div {
  display: grid;
  grid-template-columns: 6.6em 1fr;
  gap: var(--gutter);
  padding: 0 0 .95em;
}
.facts__list dt { font-family: var(--serif); color: var(--black); }
.facts__list dd a { border-bottom: 1px solid currentColor; }
.facts__statement {
  font-family: var(--serif);
  font-size: clamp(24px, 2.35vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.015em;
  max-width: 23em;
  padding-left: clamp(0px, 1.5vw, 24px);
  position: relative;
  z-index: 2;
}
.facts__form {
  position: absolute;
  right: clamp(16px, 7vw, 120px);
  bottom: clamp(24px, 3vw, 56px);
  width: clamp(240px, 34vw, 560px);
  z-index: 1;
  will-change: transform;
}

/* Auftakt: erst sichtbar, wenn GSAP übernimmt (ohne JS sofort sichtbar) */
.js [data-hero-title], .js [data-hero-sub], .js .chrome, .js [data-hero-media] { visibility: hidden; }

/* ---------- SplitText-Masken ---------- */
.line-mask { overflow: clip; padding-bottom: .06em; margin-bottom: -.06em; }

/* ---------- Mobil ---------- */
@media (max-width: 760px) {
  .wordmark { font-size: 18px; }
  /* 08.11. Bot-Befund B: im hellen Zustand legte sich der durchsichtige Kopf über den Text. Weicher weißer Verlauf hinter dem Kopf, nur mobil. */
  .chrome.is-light::before { content: ""; position: absolute; inset: 0 0 -28px 0; z-index: -1; pointer-events: none;
    background: linear-gradient(to bottom, var(--white) 0%, var(--white) 58%, rgba(255,255,255,0) 100%); }
  .nav { font-size: 14px; }
  .hero__media img { object-position: 50% 50%; }
  .hero__title { font-size: clamp(40px, 11.5vw, 60px); bottom: calc(var(--gutter) * 1.4 + 26px); }
  .hero__sub { bottom: calc(var(--gutter) * 1.4); font-size: 13px; }
  .intro__head { font-size: clamp(40px, 12.4vw, 74px); text-align: left; }
  .intro__head br { display: none; }
  .intro__cols { grid-template-columns: 1fr 1fr; column-gap: var(--gutter); justify-content: stretch; }
  .intro__figure, .moment { height: 108vw; }
  .facts { grid-template-columns: 1fr; row-gap: 56px; padding-bottom: 76vw; }
  .facts__statement { padding-left: 0; font-size: clamp(24px, 7vw, 32px); }
  .facts__form { width: 66vw; right: 4vw; bottom: 8vw; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
.facts--late { display: block; padding: clamp(72px, 7vw, 110px) var(--gutter); background: var(--white); }
.facts--late .facts__list { max-width: 30em; margin: 0 auto; font-size: 13px; }
.facts--late .facts__list > div { grid-template-columns: 7em 1fr; padding-bottom: .8em; }
