/* =====================================================================
   MKTG41 — main.css  ·  „Void / Constellation" Design-System
   Referenz: DESIGN.md (Dala-Stil). Reines Schwarz, ein Violett + Amber,
   Inter (Ersatz für PPNeueMontreal), Weight-400-Display, Weight-200-Body,
   keine Karten/Rahmen/Schatten. Progressive Enhancement via .anim-ready.
   ===================================================================== */

/* Hausschrift — GENERAL SANS (Fontshare, frei kommerziell, OFL-artig) als naher
   freier Ersatz für Dalas lizenzierte PPNeueMontreal. Bewusst unter dem Familien-
   namen 'PPNeueMontreal' registriert: gleiche Rolle, gleiche Metrik-Nähe, und die
   font-family-Kette rechnet identisch zur Referenz (Design-Diff wird grün).
   Lizenznachweis: assets/fonts/FFL.txt. Dalas echte Font-Datei wird NIE übernommen. */
@font-face { font-family: 'PPNeueMontreal'; font-weight: 200; font-style: normal; font-display: swap; src: url('../assets/fonts/gs-200.woff2') format('woff2'); }
@font-face { font-family: 'PPNeueMontreal'; font-weight: 400; font-style: normal; font-display: swap; src: url('../assets/fonts/gs-400.woff2') format('woff2'); }
@font-face { font-family: 'PPNeueMontreal'; font-weight: 600; font-style: normal; font-display: swap; src: url('../assets/fonts/gs-600.woff2') format('woff2'); }

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; }
img, svg, canvas { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; background: none; border: none; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }

:root {
  /* Palette — DESIGN.md */
  --void:      #000000;
  --white:     #ffffff;
  --ash:       #9a9a9a;
  --silver:    #bdbdbd;
  --iris:      #8052ff;   /* electric iris — CTA/Marke */
  --iris-deep: #5e3ad6;
  --saffron:   #ffb829;   /* saffron spark — Emphasis/Labels */
  --verdant:   #15846e;

  /* Exakt Dalas Font-Stack, damit der Design-Diff die font-family-Kette 1:1 misst. */
  --font: 'PPNeueMontreal', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif;

  --w-extralight: 200;
  --w-regular: 400;
  --w-semibold: 600;

  --wrap: min(88.9vw, 1600px);   /* Dala @1920 gemessen: Container 1600px (=83%); 1280 @1440 wie bisher */
  --gutter: clamp(1.25rem, 5vw, 4rem);

  /* Fluid Typo — Dala skaliert REIN mit vw (gemessen 09.07.: Display 112.5@1440 UND
     150@1920 = konstant 7.8125vw; Body 18@1440/24@1920 = 1.25vw). Die alten Clamps
     deckelten bei den 1440er-Werten — auf Kajs 1920er-Monitor wirkte deshalb alles
     kleiner als das Original. Jetzt vw-proportional, Mins nur fürs Handy. */
  --t-caption: 0.75rem;   /* 12px */
  --t-nav: 0.75rem;       /* 12px — Dala nav */
  --t-body: clamp(1rem, 1.25vw, 1.75rem);                  /* 18@1440 · 24@1920 */
  --t-lead: clamp(1.15rem, 1.6667vw, 2.3rem);              /* 24@1440 · 32@1920 */
  --t-h-sm: clamp(1.75rem, 2.9167vw, 4rem);                /* 42@1440 · 56@1920 (Statement) */
  --t-h:    clamp(2.1rem, 3.7778vw, 5rem);                 /* 54.4@1440 */
  --t-h-lg: clamp(2.8rem, 7.2222vw, 10rem);                /* 104@1440 · 138.7@1920 (Section-Head) */
  --t-display: clamp(3.2rem, 7.8125vw, 11rem);             /* 112.5@1440 · 150@1920 (Dala Display) */

  --track-display: -0.04em;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-curtain: cubic-bezier(0.76, 0, 0.24, 1);
}

html { scroll-behavior: smooth; }
body {
  background: var(--void);
  color: var(--white);
  font-family: var(--font);
  font-weight: var(--w-extralight);
  font-size: var(--t-body);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "ss01" 1, "cv11" 1;
}
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
::selection { background: var(--iris); color: #fff; }
em { font-style: normal; color: var(--saffron); }
strong { font-weight: var(--w-regular); }

/* =====================================================================
   TYPO-UTILITIES
   ===================================================================== */
.display { font-weight: var(--w-regular); font-size: var(--t-display); line-height: 1.0; letter-spacing: var(--track-display); }
.h-lg    { font-weight: var(--w-regular); font-size: var(--t-h-lg); line-height: 1.02; letter-spacing: var(--track-display); }
.h       { font-weight: var(--w-regular); font-size: var(--t-h); line-height: 1.08; letter-spacing: -0.03em; }
.h-sm    { font-weight: var(--w-regular); font-size: var(--t-h-sm); line-height: 1.12; letter-spacing: -0.02em; }
.body    { font-weight: var(--w-extralight); font-size: var(--t-body); line-height: 1.55; color: var(--white); }
.body--mut { color: var(--silver); }
.lead    { font-weight: var(--w-extralight); font-size: var(--t-lead); line-height: 1.5; color: var(--white); max-width: 42ch; }
.label   { font-weight: var(--w-semibold); font-size: var(--t-nav); letter-spacing: 0.2em; text-transform: uppercase; color: var(--saffron); }
.ash     { color: var(--ash); }
.iris    { color: var(--iris); }
.saffron { color: var(--saffron); }

/* =====================================================================
   BUTTONS / LINKS
   ===================================================================== */
/* Dala-dekodiert (style.css des Originals): Button = violett #8052ff, radius 1.875rem,
   padding 14.4px/15.96px. Hover = KEIN Magnetic/Schatten, sondern eine teal-grüne
   (#15846e) Ellipsen-WELLE, die per clip-path von unten hochschwappt:
   ellipse(120% 180% at 50% 310%) → at 50% 60%, 1.1s easeOutCubic. */
.pill {
  display: inline-flex; align-items: center; gap: 0.6em;
  font-weight: var(--w-semibold); font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase;
  color: #fff; background: var(--iris); border-radius: 1.875rem;
  padding: 14.4px 15.96px; position: relative; overflow: hidden; isolation: isolate;
}
.pill::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--verdant);   /* #15846e — exakt Dalas Hover-Teal */
  clip-path: ellipse(120% 180% at 50% 310%);
  transition: clip-path 1.1s cubic-bezier(0.215, 0.61, 0.355, 1);
}
.pill:hover::before, .pill:focus::before { clip-path: ellipse(120% 180% at 50% 60%); }
.pill--lg { font-size: 0.86rem; }

.glink { color: var(--ash); transition: color 0.3s; position: relative; }
.glink:hover { color: var(--white); }
.tlink { color: var(--white); border-bottom: 1px solid rgba(255,255,255,0.25); padding-bottom: 1px; transition: border-color 0.3s, color 0.3s; }
.tlink:hover { color: var(--saffron); border-color: var(--saffron); }

/* =====================================================================
   AMBIENT CANVAS + REVEALS
   ===================================================================== */
canvas.ambient { position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: 0.9; }
body > *:not(.ambient):not(.loader) { position: relative; z-index: 1; }

/* Struktur-Blöcke (rows/teasers): weicher Fade wie gehabt.
   Text-Elemente (.rv-lines) laufen stattdessen über Dalas Zeilen-Masken unten. */
.anim-ready [data-reveal]:not(.rv-lines) { opacity: 0; transform: translateY(30px); }
.anim-ready [data-reveal]:not(.rv-lines).is-in { opacity: 1; transform: none; transition: opacity 1s var(--ease), transform 1s var(--ease); }

/* Dala 'splitTextRotateIn' (dekodiert): Zeile = overflow-hidden-Maske, inneres
   Element kippt aus y:120% / rotate:7° / origin oben-links hoch. 0.8s power3.out
   (= cubic-bezier(0.215,0.61,0.355,1)), Zeilen-Stagger via inline transition-delay. */
.rvl { display: block; overflow: hidden; }
.rvl__i { display: block; transform: translateY(120%) rotate(7deg); transform-origin: 0 0; }
.anim-ready .rv-lines.is-in .rvl__i { transform: none; transition: transform 0.8s cubic-bezier(0.215, 0.61, 0.355, 1); }
.anim-ready [data-reveal].d1.is-in { transition-delay: 0.08s; }
.anim-ready [data-reveal].d2.is-in { transition-delay: 0.16s; }
.anim-ready [data-reveal].d3.is-in { transition-delay: 0.24s; }

/* =====================================================================
   NAV
   ===================================================================== */
.nav {
  /* Dala: das äußere header.header selbst ist block, ohne eigenes Padding —
     Flex+Padding sitzen im inneren .nav__inner (header__inner-Pendant). */
  position: fixed; top: 0; inset-inline: 0; z-index: 100;
  transition: transform 0.5s var(--ease), background 0.4s, backdrop-filter 0.4s;
  font-size: var(--t-caption); font-weight: var(--w-regular); line-height: 1.5;
}
.nav.is-stuck { background: rgba(0,0,0,0.6); backdrop-filter: blur(12px); }
.nav.is-hidden { transform: translateY(-105%); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; padding: clamp(1rem, 2vw, 1.5rem) var(--gutter); }
.logo { font-weight: var(--w-regular); font-size: 1.3rem; letter-spacing: -0.02em; display: inline-flex; }
.logo__ai { color: var(--iris); min-width: 1.3em; text-align: left; }
/* Dala: nav.nav selbst ist block, die Flex-Reihe sitzt im inneren ul.nav__list.
   Abstand über margin-right je Item (Dala-Wert), nicht per Flex-Gap. */
.nav__links { display: block; }
.nav__list { display: flex; align-items: center; list-style: none; margin: 0; padding: 0; }
.nav__item { display: flex; padding-bottom: 6px; margin-right: 30px; }
.nav__cta { display: flex; }
/* Dala-Nav-Link: 14px, Semibold, 0.35px Tracking, ash — wird auf Hover/aktiv weiß. */
.nlink { display: block; font-weight: var(--w-semibold); font-size: 0.875rem; letter-spacing: 0.35px; color: var(--ash); transition: color 0.3s; }
.nlink:hover, .nlink[aria-current="page"] { color: var(--white); }
@media (max-width: 680px) { .nav__links { display: none; } }

/* =====================================================================
   SECTION RHYTHM
   ===================================================================== */
section { padding-block: clamp(4.5rem, 11vw, 9rem); }
.hero { min-height: 100svh; display: flex; align-items: center; padding-top: 6rem; }

/* Zwei-Spalten-Komposition (Zickzack) */
.duo { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.duo--rev .duo__visual { order: -1; }
@media (max-width: 860px) { .duo { grid-template-columns: 1fr; } .duo--rev .duo__visual { order: 0; } }
.stack > * + * { margin-top: clamp(1.1rem, 2vw, 1.8rem); }

/* =====================================================================
   HERO
   ===================================================================== */
/* Dala-Hero (1920-Messung 09.07.): Titel spannt den VOLLEN Container (1600px @1920),
   keine Zwei-Spalten-Aufteilung — das Gehirn liegt fullscreen-fixed DAHINTER und der
   Titel darf es touchieren. Label sitzt UNTER dem Titel (Dala-Reihenfolge), Body in
   schmaler Spalte (Dala 560px @1920 ≈ 42ch auf Body-Stufe). */
.hero__text { max-width: none; width: 100%; }
.hero__text .display { line-height: 1.1; margin: 0 0 clamp(1.6rem, 3vw, 2.6rem); }
.hero__text .label { margin-bottom: clamp(0.9rem, 1.6vw, 1.4rem); }
/* Dala: Hero-Subline ist WEISS und auf Body-Stufe (18@1440/24@1920), nicht Lead-Stufe. */
.hero__text .lead { color: var(--white); font-size: var(--t-body); max-width: 42ch; }
.hero__text .pill { margin-top: clamp(1.8rem, 3vw, 2.6rem); }
/* Fullscreen-WebGL-Layer (Dala-Prinzip): fixiert HINTER allem Inhalt, der Scroll führt
   Regie (Rotation, Größe, Dezentralisieren/Zusammenführen). Id-Spezifität schlägt die
   body>*-Regel weiter oben (position:relative; z-index:1). Zarter Void-Schimmer liegt
   als CSS-Hintergrund direkt auf dem Canvas — der Renderer ist transparent. */
#brain-stage {
  position: fixed; inset: 0; width: 100%; height: 100%;
  z-index: 0; pointer-events: none; display: block; max-width: none;
  background: radial-gradient(42% 38% at 62% 46%, rgba(128,82,255,0.10), rgba(21,132,110,0.05) 55%, transparent 75%);
}
/* Mobil sitzt das Gehirn ZENTRIERT (HERO_X=0 in brain-webgl.js) — der Void-Schimmer
   wandert mit, sonst glüht er rechts neben der tatsächlichen Partikelwolke. */
@media (max-width: 767px) {
  #brain-stage { background: radial-gradient(52% 34% at 50% 42%, rgba(128,82,255,0.10), rgba(21,132,110,0.05) 55%, transparent 75%); }
}
/* rechte Hero-Spalte: bewusst leer — reserviert im Layout den Raum, in dem das
   fullscreen-fixierte Gehirn beim Seitenstart „wohnt" */
.hero__spacer { min-height: 1px; }
@media (max-width: 900px) { .hero__spacer { display: none; } }
/* Fallback (kein WebGL2 / reduced-motion): ruhiges statisches Glühen statt schwarzem Void.
   brain-webgl.js setzt dann body.brain-fallback und blendet das Canvas aus. */
body.brain-fallback::before {
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(34% 30% at 64% 44%, rgba(128,82,255,0.18), transparent 70%),
    radial-gradient(20% 18% at 58% 52%, rgba(255,184,41,0.06), transparent 75%);
  filter: blur(4px);
}

/* =====================================================================
   MARQUEE (Claim-Band)
   ===================================================================== */
.marquee { overflow: hidden; padding-block: clamp(1.4rem, 3vw, 2.4rem); }
.marquee__inner { display: flex; width: max-content; animation: marquee 30s linear infinite; }
.marquee__inner:hover { animation-play-state: paused; }
.marquee span { display: inline-flex; align-items: center; gap: 2.6rem; padding-right: 2.6rem; white-space: nowrap; font-weight: var(--w-regular); font-size: clamp(1.6rem, 3vw, 2.8rem); letter-spacing: -0.03em; color: var(--ash); }
.marquee b { color: var(--white); font-weight: var(--w-regular); }
.marquee .spark { width: 8px; height: 8px; background: var(--iris); border-radius: 50%; flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =====================================================================
   PROBLEM-BEATS — Dala manifesto--introduction (dekodiert aus dala.html):
   3 Beats à 2 Statements, 48px/w400/lh1.2/ls−0.03, KEINE Nummern/Labels.
   Jeder Beat ein Viewport-Schlag (Dala: je ~900px Sektion, zusammen 2700).
   ZENTRIERT wie das Original (Side-by-Side-Beleg _sbs/pair_02) — die Wortmarke
   entsteht erst später im Manifesto-Bereich, die Spalten-Aufteilung ist obsolet.
   ===================================================================== */
.beats { padding-block: 0; }
.beat { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; }
.beat__body { max-width: 46ch; margin-inline: auto; }
/* Dalas GEMESSENE Beat-Werte @1440 (Diff 09.07.): 36px/w400/lh1.2/ls NORMAL/mb 36px.
   Die Klassen-Namen (t-48@sm, -t-ls-0.03) waren ein Übersetzungs-Artefakt — die
   Messung schlägt die Klassen-Lektüre (Lehre identisch zum qintic im Scroll-Loop). */
.beat__body p {
  font-weight: var(--w-regular);
  font-size: clamp(1.5rem, 2.5vw, 3.4rem);  /* 36@1440 · 48@1920 (vw-proportional wie Dala) */
  line-height: 1.2; letter-spacing: normal; color: var(--white); max-width: 28ch;
  margin-bottom: 2.25rem;
}

/* =====================================================================
   MANIFESTO — Dala section--tall manifesto (dekodiert): 150svh, Inhalt
   vertikal mittig; A = Block rechts (items-end@md), B = links (items-start).
   Titel 56px/w400/ls−0.03, Body-Absätze 24px/w200/lh1.5/ls−0.02.
   ===================================================================== */
.manifesto { min-height: 150svh; display: flex; align-items: center; }
.manifesto__row { display: flex; width: 100%; }
.manifesto--end .manifesto__row { justify-content: flex-end; }
.manifesto--start .manifesto__row { justify-content: flex-start; }
.manifesto__inner { max-width: 34rem; }
/* Dalas GEMESSENE Manifesto-Werte @1440 (Diff 09.07.): Titel 42px/lh1.2/ls normal/mb 24px,
   Body 18px/w200/lh1.5/ls normal/mb 18px — kleiner als die Klassen (t-56/t-24) suggerieren. */
.manifesto__title {
  font-weight: var(--w-regular);
  font-size: var(--t-h-sm);                       /* → 42px @1440, wie Dala gemessen */
  line-height: 1.2; letter-spacing: normal; margin-bottom: 1.5rem;
}
.manifesto__body p { font-weight: var(--w-extralight); font-size: var(--t-body); line-height: 1.5; letter-spacing: normal; color: var(--white); margin-bottom: 1.125rem; }
/* Dalas Manifesto-Link (gemessen: amber = unser Saffron, w400) — Pendant zum „being better"-Link */
.manifesto__body a { color: var(--saffron); font-weight: var(--w-regular); }
.manifesto__body a em { color: inherit; }
@media (max-width: 860px) {
  .manifesto { min-height: 0; }
  .manifesto--end .manifesto__row { justify-content: flex-start; }
  /* Dala „mobile-blur": mobil liegt Text über der dichten Partikelwolke →
     weicher Scrim hinter dem Block (auch für Für-wen-Rows, gleiche Lage). */
  .manifesto__inner, .rows { background: rgba(0, 0, 0, 0.45); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-radius: 12px; padding: 1.2rem; }
}

/* =====================================================================
   TEAM-SLOT — Dala-Position: großer Section-Head (104px wie „Our team"),
   darunter Gründerin-Zitat + Erfahrungs-Absatz statt Team-Slider.
   ===================================================================== */
/* Dalas GEMESSENER Team-Head @1440: 78px/w400/lh1.1/ls normal/mb 36px (nicht .h-lg=104px) */
.team__head { font-weight: var(--w-regular); font-size: clamp(2.6rem, 5.4167vw, 7.5rem); line-height: 1.1; letter-spacing: normal; margin-bottom: 2.25rem; }  /* 78@1440 · 104@1920 */
/* Text links (Lesbarkeits-Zone), Portrait rechts — Dala-Team-Anatomie.
   Das opake Foto deckt die Partikel-Rückkehr bei f≈0.75 ab. */
.team__row { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(2.5rem, 6vw, 7rem); align-items: center; }
@media (max-width: 860px) { .team__row { grid-template-columns: 1fr; } }
.team__stack { max-width: 52ch; }
.team__stack .pull { margin-top: clamp(1.4rem, 2.5vw, 2.2rem); }
/* Portrait: Hochformat 4:5, weiche Ecken wie Dalas team-card, dezenter Rahmen +
   Void-Vignette unten (Bild sitzt ruhig im dunklen Design statt hart zu leuchten). */
.team__photo { position: relative; margin: 0; max-width: 24rem; justify-self: end; width: 100%; }
@media (max-width: 860px) { .team__photo { justify-self: start; max-width: 20rem; } }
.team__photo img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  filter: grayscale(0.15) contrast(1.04);
  display: block;
}
.team__photo::after {  /* Vignette: bindet das Foto an den Void-Hintergrund */
  content: ""; position: absolute; inset: 0; border-radius: 18px; pointer-events: none;
  background: linear-gradient(to top, rgba(0,0,0,0.45), transparent 42%);
}
.team__monogram { display: none; }
.team__caption { position: absolute; left: 1.1rem; bottom: 0.95rem; z-index: 1; display: flex; flex-direction: column; gap: 0.15rem; }
.team__caption b { font-weight: var(--w-regular); font-size: 1.05rem; letter-spacing: 0.01em; }
.team__caption .ash { font-size: var(--t-caption); letter-spacing: 0.08em; text-transform: uppercase; }
/* Fallback (kein assets/sabine.jpg): bewusst gestaltete Monogramm-Karte im Marken-Verlauf */
.team__photo.is-fallback img { visibility: hidden; }
.team__photo.is-fallback::before {
  content: ""; position: absolute; inset: 0; border-radius: 18px;
  background:
    radial-gradient(60% 50% at 70% 20%, rgba(128,82,255,0.35), transparent 70%),
    radial-gradient(50% 45% at 25% 85%, rgba(255,184,41,0.22), transparent 70%),
    linear-gradient(160deg, #101014, #060608);
  border: 1px solid rgba(255, 255, 255, 0.09);
}
.team__photo.is-fallback .team__monogram {
  display: block; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -58%);
  font-weight: var(--w-regular); font-size: clamp(3.5rem, 6vw, 6rem); letter-spacing: -0.03em;
  color: rgba(255, 255, 255, 0.85);
}

/* =====================================================================
   INDEX-ROWS (USP / Für wen) — Roman/Zahl + Text, keine Karten
   ===================================================================== */
.rows { margin-top: clamp(2.5rem, 5vw, 4rem); display: grid; gap: clamp(2.2rem, 4vw, 3.6rem); max-width: 720px; }
.row { display: grid; grid-template-columns: auto 1fr; gap: clamp(1.2rem, 4vw, 3.5rem); align-items: start; }
.row__mark { font-weight: var(--w-regular); font-size: clamp(1.6rem, 3vw, 2.6rem); color: var(--iris); line-height: 1; }
.row h3 { font-weight: var(--w-regular); font-size: var(--t-h-sm); letter-spacing: -0.02em; line-height: 1.1; margin-bottom: 0.7rem; }
.row p { color: var(--silver); max-width: 52ch; }

/* =====================================================================
   METHODE (Unterseite) — Zickzack mit Geister-Großzahl
   ===================================================================== */
.mstep { position: relative; padding-block: clamp(3rem, 7vw, 6rem); }
.mstep + .mstep { margin-top: clamp(1rem, 2vw, 2rem); }
.bignum { position: absolute; z-index: 0; top: -0.35em; right: -0.02em; font-weight: var(--w-regular); font-size: clamp(9rem, 26vw, 24rem); line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(128,82,255,0.16); pointer-events: none; user-select: none; letter-spacing: -0.05em; }
.mstep .duo { position: relative; z-index: 1; }
.mstep__q { font-weight: var(--w-regular); font-size: var(--t-h-sm); letter-spacing: -0.02em; line-height: 1.15; }
.mstep__r { margin-top: 1.6rem; }
.mstep__r .label { color: var(--saffron); display: block; margin-bottom: 0.5rem; }
.mstep__r p { color: var(--silver); font-size: var(--t-lead); line-height: 1.45; }

/* =====================================================================
   ÜBER MICH
   ===================================================================== */
.quote { font-weight: var(--w-regular); font-size: var(--t-h); line-height: 1.2; letter-spacing: -0.025em; max-width: 20ch; }
.quote strong { color: var(--saffron); font-weight: var(--w-regular); }
.pull { color: var(--silver); font-size: var(--t-lead); line-height: 1.5; max-width: 46ch; }
.stat { display: flex; align-items: baseline; gap: 0.4em; }
.stat__n { font-weight: var(--w-regular); font-size: var(--t-h-lg); letter-spacing: var(--track-display); color: var(--white); font-variant-numeric: tabular-nums; }
.stat__u { font-weight: var(--w-regular); font-size: var(--t-h-sm); color: var(--iris); }
.stat__c { color: var(--ash); max-width: 22ch; }

/* =====================================================================
   TEASER (Startseite → Unterseiten) — Text, floatend, kein Rahmen
   ===================================================================== */
.teasers { margin-top: clamp(2.5rem, 5vw, 4rem); display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: clamp(2rem, 4vw, 3.2rem); }
.teaser { display: block; }
.teaser__k { display: block; font-weight: var(--w-semibold); font-size: var(--t-caption); letter-spacing: 0.2em; text-transform: uppercase; color: var(--iris); margin-bottom: 1rem; }
.teaser h3 { font-weight: var(--w-regular); font-size: var(--t-h-sm); letter-spacing: -0.02em; line-height: 1.05; margin-bottom: 0.8rem; transition: color 0.3s; }
.teaser:hover h3 { color: var(--saffron); }
.teaser p { color: var(--silver); max-width: 34ch; }
.teaser__go { display: inline-flex; align-items: center; gap: 0.5em; margin-top: 1.2rem; font-weight: var(--w-semibold); font-size: var(--t-nav); letter-spacing: 0.08em; text-transform: uppercase; color: var(--white); }
.teaser__go .arw { color: var(--iris); transition: transform 0.35s var(--ease); }
.teaser:hover .teaser__go .arw { transform: translateX(6px); }

/* =====================================================================
   „WEITER"-Sprung am Seitenende
   ===================================================================== */
.nextp { display: block; padding-block: clamp(3.5rem, 8vw, 7rem); }
.nextp__k { font-weight: var(--w-semibold); font-size: var(--t-nav); letter-spacing: 0.2em; text-transform: uppercase; color: var(--ash); }
.nextp__t { font-weight: var(--w-regular); font-size: var(--t-h-lg); letter-spacing: var(--track-display); line-height: 1; margin-top: 0.6rem; display: inline-flex; align-items: center; gap: 0.3em; transition: color 0.3s; }
.nextp:hover .nextp__t { color: var(--saffron); }
.nextp__t .arw { color: var(--iris); transition: transform 0.4s var(--ease); }
.nextp:hover .nextp__t .arw { transform: translateX(16px); }

/* =====================================================================
   PAGE-HERO (Unterseiten)
   ===================================================================== */
.page-hero { min-height: 52svh; display: flex; flex-direction: column; justify-content: flex-end; padding-top: 8rem; padding-bottom: clamp(1rem, 3vw, 3rem); }
.page-hero .label { margin-bottom: 1.4rem; }
.page-hero h1 { max-width: 16ch; }

/* =====================================================================
   FORM (Kontakt) — borderless, floatend
   ===================================================================== */
.form { display: grid; gap: clamp(1.6rem, 3vw, 2.4rem); max-width: 560px; }
.field label { display: block; font-weight: var(--w-semibold); font-size: var(--t-caption); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ash); margin-bottom: 0.8rem; }
.field input, .field select, .field textarea {
  width: 100%; color: var(--white); font-size: var(--t-lead); font-weight: var(--w-extralight);
  border-bottom: 1px solid rgba(255,255,255,0.22); padding: 0.6em 0; transition: border-color 0.3s;
}
.field textarea { resize: vertical; min-height: 3.2em; line-height: 1.4; }
.field input::placeholder, .field textarea::placeholder { color: var(--ash); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--iris); }
.field select { appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%238052ff' stroke-width='1.5' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.2em center; }
.field select option { background: #0a0a0a; color: #fff; }
.form__hint { color: var(--ash); font-size: 0.85rem; }

/* =====================================================================
   OUTRO — Dala-Finale: Globus formt sich hinter Claim + CTA.
   Obere ~65svh = Anlauf-Strecke für den Morph, Inhalt füllt den letzten Viewport.
   ===================================================================== */
.outro { min-height: 165svh; display: flex; flex-direction: column; justify-content: flex-end; padding-block: 0; }
.outro__inner { min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.outro__claim {
  font-weight: var(--w-regular);
  font-size: clamp(1.9rem, 3.3333vw, 4.5rem);   /* 48@1440 · 64@1920, wie Dalas Schluss-Claim */
  line-height: 1.25; letter-spacing: -0.02em; margin-bottom: clamp(1.6rem, 3vw, 2.4rem);
}

/* =====================================================================
   FOOTER
   ===================================================================== */
.foot { padding-block: clamp(3rem, 6vw, 5rem); }
.foot__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: clamp(2rem, 4vw, 3rem); align-items: start; }
@media (max-width: 780px) { .foot__grid { grid-template-columns: 1fr; gap: 2rem; } }
.foot__claim { color: var(--ash); margin-top: 0.8rem; max-width: 26ch; }
.foot__grid h4 { font-weight: var(--w-semibold); font-size: var(--t-caption); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ash); margin-bottom: 1rem; }
.foot__grid li + li { margin-top: 0.5rem; }
.foot__mini { margin-top: 1.4rem; color: var(--ash); font-size: 0.82rem; }

/* =====================================================================
   SITE-LOADER (Dala-dekodiert) / VIEW-TRANSITIONS / SCRAMBLE
   Exit-Rezept aus theme.js: Zeilen fahren in overflow-Masken per
   translateY(−120%) nach oben (gestaffelt), danach Overlay-Fade.
   ===================================================================== */
html:not(.js) .loader { display: none; }
.loader { position: fixed; inset: 0; z-index: 9999; background: var(--void); display: flex; flex-direction: column; align-items: center; justify-content: center; transition: opacity 0.6s var(--ease); }
.loader.is-exit { opacity: 0; pointer-events: none; }
.loader__main { display: flex; flex-direction: column; align-items: center; gap: clamp(2rem, 5vh, 3.2rem); }
/* Viertel-Dreh-Spinner: cubic-bezier wirkt je Keyframe-Segment → snappende 90°-Schritte */
.loader__spinner svg { animation: lspin 1.8s var(--ease-curtain) infinite; }
@keyframes lspin {
  0% { transform: rotate(0); } 25% { transform: rotate(90deg); }
  50% { transform: rotate(180deg); } 75% { transform: rotate(270deg); } 100% { transform: rotate(360deg); }
}
.loader__heading { text-align: center; font-weight: var(--w-regular); font-size: clamp(1.5rem, 2.4vw, 2.25rem); line-height: 1.3; letter-spacing: -0.02em; }
.loader__line { display: block; overflow: hidden; }
.loader__line-i { display: block; transform: translateY(0); transition: transform 0.7s var(--ease-curtain); }
.loader.is-done .loader__line-i { transform: translateY(-120%); }
.loader.is-done .loader__heading .loader__line:nth-child(2) .loader__line-i { transition-delay: 0.1s; }
.loader.is-done .loader__spinner { opacity: 0; transition: opacity 0.5s var(--ease); }
.loader__info { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; align-items: flex-end; padding: clamp(1.2rem, 2.5vw, 2rem) var(--gutter); }
.loader__status { display: inline-flex; align-items: baseline; font-weight: var(--w-semibold); font-size: var(--t-caption); letter-spacing: 0.2em; text-transform: uppercase; color: var(--white); }
.loader__dots span { animation: ldot 1.2s infinite; }
.loader__dots span:nth-child(2) { animation-delay: 0.2s; }
.loader__dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes ldot { 0%, 60%, 100% { opacity: 0.25; } 30% { opacity: 1; } }
.loader__progress { font-weight: var(--w-regular); font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; white-space: pre; }

@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out 0.4s var(--ease) both; }
::view-transition-new(root) { animation: vt-in 0.55s 0.08s var(--ease) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-16px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(22px); } }

.scramble-char { color: var(--iris); }

/* =====================================================================
   REDUCED MOTION
   ===================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .anim-ready [data-reveal] { opacity: 1 !important; transform: none !important; }
  .marquee__inner { animation: none; }
  .loader { display: none; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
  * { scroll-behavior: auto !important; }
}
