/* site.css — Alina Portfolio, gemeinsames System aller Hauptseiten (seit 2026-09-10, Audit Pakete A–C).
   Detroit-pur: Weiß/Schwarz ohne Akzent, Anton uppercase lh .92 ls -.018em, Barlow 12px ●-Labels,
   24px-Ränder, radius 0, keine Kanten. Hier liegen Tokens, Typo, Labels, Links, Reveal-Startzustände,
   Preloader + Seitenwechsel-Overlay, Sektions-Gerüst, Satelliten, Outro-Peak + Footer, Mobile-Basis.
   Seiten-Sektionen (Hero, Werk-Bühne, Listen …) stehen in der jeweiligen HTML.
   Cache-Bust: ?v= in JEDER Seite site-weit bumpen, wenn sich diese Datei ändert. */
:root { --ink: #000; --paper: #fff; --grey: #6b6b6b; --body: #3a3a3a; --mute: #d9d9d9; --mute2: #cfcfcf;
        --peak: #0a0a0a; --pad: 24px; --tight: -.018em; --navh: 96px;
        --ease: cubic-bezier(.22,1,.36,1); }
* { margin: 0; padding: 0; box-sizing: border-box; }
html { background: var(--paper); scrollbar-width: thin; scrollbar-color: #cfcfcf #fff; -webkit-text-size-adjust: 100%; }
body { background: var(--paper); color: var(--ink); font-family: Barlow, Arial, sans-serif;
       font-weight: 300; overflow-x: clip; -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
main { position: relative; }

/* Nav-Chrome: schwarz auf weiß; weiß auf dem dunklen Peak / über dunklen Medien (Logo, CTA und Toggle getrennt) */
.lpnav { --lpnav-ink: #000; }
html.nav-light .lpnav { --lpnav-ink: #fff; }
html.nav-light-l .lpnav .lpnav-logo { --lpnav-ink: #fff; }
html.nav-light-r .lpnav .lpnav-toggle, html.nav-light-r .lpnav .lpnav-cta { --lpnav-ink: #fff; }
.lpnav-logo, .lpnav-toggle, .lpnav-cta { transition: color .35s ease; }
.lpnav-header { transition: transform .35s var(--ease); }
@media (max-width: 900px) { html.nav-hide .lpnav:not(.is-open) .lpnav-header { transform: translateY(-100%); } }

/* ── Detroit-Displaytypo ── */
.d { font-family: Anton, Impact, "Arial Narrow", sans-serif; font-weight: 400; text-transform: uppercase;
     line-height: .92; letter-spacing: var(--tight); }
.d.um { line-height: .98; }                     /* Folgezeilen mit Umlaut-Punkten */
.c { text-align: center; }
.ln { display: block; clip-path: inset(-.3em 0 -.08em 0); }   /* Zeilen-Maske: Luft für Umlaute/Komma */
.ln-i { display: block; }
.ln.num { clip-path: inset(-.3em 0 -.08em -48px); }         /* hängende Nummer liegt links außerhalb */
/* Char-Zeilen (Hero-H1): Maske mit Luft für Ober-/Unterlängen, Chars steigen aus der Zeile */
.hl { display: block; overflow: hidden; padding: .12em .05em .22em; margin: -.12em -.05em -.22em; }
.hch { display: inline-block; white-space: pre; will-change: transform; }

/* ── Kleintext: Barlow 12px uppercase, ●-Bullet als CSS-Kreis ── */
.lbl { font-family: Barlow, Arial, sans-serif; font-size: 12px; font-weight: 400; line-height: 1.5;
       letter-spacing: .03em; text-transform: uppercase; color: var(--ink); }
.lbl.g { color: var(--grey); }
.dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: currentColor;
       margin-right: 9px; vertical-align: 1px; }
.txt { font-size: 15px; line-height: 1.62; color: var(--body); font-weight: 300; }
.txt strong { font-weight: 500; color: var(--ink); }
.nw { white-space: nowrap; }

/* ── 12px-Textlink mit Underline-Sweep; .big = Hero-CTA eine Stufe über den Labels ── */
.tl { position: relative; display: inline-block; font-family: Barlow, Arial, sans-serif; font-size: 12px;
      font-weight: 500; line-height: 1; letter-spacing: .04em; text-transform: uppercase;
      padding-bottom: 5px; white-space: nowrap; }
.tl::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px;
             background: currentColor; transform: scaleX(0); transform-origin: left;
             transition: transform .5s var(--ease); }
.tl:hover::after, .tl:focus-visible::after { transform: scaleX(1); }
.tl .arr { display: inline-block; margin-left: .45em; transition: transform .5s var(--ease); }
.tl:hover .arr { transform: translateX(4px); }
.tl.big { font-size: 14px; letter-spacing: .05em; padding-bottom: 7px; }
.tl.big::after { height: 2px; }
.tl .ext { display: inline-block; margin-left: .35em; transition: transform .5s var(--ease); }   /* ↗ = neuer Tab */
.tl:hover .ext { transform: translate(3px, -3px); }

/* ── Reveal-Startzustände NUR unter html.js.cine (reduced-motion / No-JS: alles sichtbar) ── */
html.js.cine [data-rv]:not(.is-in) .ln-i { transform: translateY(118%); }
html.js.cine [data-rv]:not(.is-in) .rv { opacity: 0; transform: translateY(22px); }
html.js.cine .sat:not(.is-in) { clip-path: inset(100% 0 0 0); }
html.js.cine [data-rv]:not(.is-in) .kvr { clip-path: inset(100% 0 0 0); }   /* Medien im Grid (Innenseiten) */
html.js.cine [data-intro]:not(.is-in) .hch { transform: translateY(125%); }
html.js.cine [data-intro]:not(.is-in) .rv { opacity: 0; transform: translateY(18px); }

/* ── Preloader: Wortmarke in Displaygröße steigt aus der Maske, zieht nach oben aus, Overlay fällt.
      CSS-Sicherheitsnetz ohne GSAP (Sequenz läuft auch, wenn ein Script hängt). ── */
.pre { display: none; }
html.js .pre { display: flex; position: fixed; inset: 0; z-index: 200; background: #fff;
               align-items: center; justify-content: center;
               animation: preOut .4s 2.7s var(--ease) forwards; }
.pre-m { overflow: hidden; padding: .16em .08em .2em; }
.pre-w { display: block; font-family: Anton, Impact, sans-serif; font-size: clamp(44px, 6.5vw, 104px); line-height: 1;
         text-transform: uppercase; letter-spacing: -.01em; transform: translateY(118%);
         animation: preIn .7s .1s var(--ease) forwards, preExit .5s 1.6s var(--ease) forwards; }
@keyframes preIn { to { transform: translateY(0); } }
@keyframes preExit { to { transform: translateY(-118%); } }
@keyframes preOut { to { opacity: 0; visibility: hidden; } }
@media (prefers-reduced-motion: reduce) { html.js .pre { display: none; } }
html.js .pre[data-short] { animation-delay: .2s; }   /* Innenseiten: Overlay fällt sofort, auch ohne GSAP */
html.js .pre[data-short] .pre-w { display: none; }
/* Seitenwechsel: dasselbe Overlay kommt zurück (site.js setzt .is-exit und blendet ein) */
html.js .pre.is-exit { display: flex; opacity: 0; visibility: visible; animation: none; }
html.js .pre.is-exit .pre-w { animation: none; transform: translateY(118%); }

/* ══ Sektions-Grundgerüst ══ */
.sec { position: relative; padding-inline: var(--pad); overflow: clip; }
.sat { position: absolute; z-index: 0; width: var(--w); height: auto; pointer-events: none; object-fit: cover;
       object-position: center; border: 0; outline: 0; box-shadow: none; background: transparent; }
.sat.fg { z-index: 2; }
.in { position: relative; z-index: 1; }
.sec > .webgl-distort-canvas { z-index: 0; }   /* WebGL-Kopie der Satelliten bleibt hinter der Typo */

/* ══ Outro — der EINE dunkle Peak, Footer darin (auf allen Hauptseiten) ══ */
.outro { background: var(--peak); color: #fff; min-height: 100vh; display: flex; flex-direction: column;
         align-items: center; text-align: center; padding-top: 140px; padding-bottom: 28px; }
.outro-in { margin-block: auto; }
.outro h2 { font-size: clamp(52px, 8vw, 128px); }
.outro h2 a { display: block; }
.outro .lbl { color: #fff; margin-top: 30px; }
.outro .mail { margin-top: 46px; font-size: clamp(16px, 1.4vw, 22px); font-weight: 300; }
.outro .mail a { position: relative; }
.sep { display: inline-block; margin-inline: .35em; }
.outro .mail a[hidden] { display: none !important; }
.outro .mail a::after { content: ""; position: absolute; left: 0; bottom: -3px; width: 100%; height: 1px;
                        background: currentColor; transform: scaleX(0); transform-origin: left;
                        transition: transform .5s var(--ease); }
.outro .mail a:hover::after { transform: scaleX(1); }
.outro .addr { margin-top: 14px; color: rgba(255,255,255,.72); font-size: 15px; }
.outro .tl { margin-top: 34px; }
.outro footer { width: 100%; margin-top: 110px; display: flex; justify-content: space-between;
                flex-wrap: wrap; gap: 14px 28px; font-size: 12px; letter-spacing: .03em;
                text-transform: uppercase; color: rgba(255,255,255,.72); }
.outro footer nav { display: flex; gap: 28px; flex-wrap: wrap; }
.outro footer a { transition: color .3s; }
.outro footer a:hover { color: #fff; }

/* ══ Mobile-Basis (Standard-Perspektive) ══ */
@media (max-width: 900px) {
  .sat.hm { display: none; }
  .sat { width: calc(var(--w) * .55); }
  .outro { min-height: 0; padding-top: 100px; padding-bottom: 24px; }
  .outro h2 { font-size: 13.5vw; }
  .outro footer { margin-top: 80px; justify-content: flex-start; }
  .outro .mail .nw { display: block; margin-top: 4px; }
  .outro .mail .nw .sep { display: none; }
  /* Tippziele >= 44px bei 12px-Textlinks, optisch unverändert */
  .tl, .tl.big { padding-block: 16px; margin-block: -16px; }
  .tl::after, .tl.big::after { bottom: 16px; }
  .outro .mail a { display: inline-block; padding-block: 13px; margin-block: -13px; }
  .outro footer a { display: inline-block; padding-block: 15px; margin-block: -15px; }
}

/* ══ Innenseiten: Intro (kompakt), Grids, Listen, Formular ══ */
.intro { padding-top: calc(var(--navh) + 60px); padding-bottom: 40px; text-align: center; }
.intro h1 { font-size: clamp(64px, 9.75vw, 168px); }
.intro .lbl { margin-top: 30px; max-width: 720px; margin-inline: auto; }
.grid2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px 64px; align-items: center; }
.grid2.flip > .gtext { order: 2; }
.gmedia { position: relative; }
.gmedia .kvr { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: #111; }
.gmedia .kvr.tall { aspect-ratio: 4 / 5; }
.gmedia .detail { position: absolute; width: 40%; aspect-ratio: 4 / 5; object-fit: cover; right: -8%; bottom: -14%; background: #111; }
.grid2.flip .gmedia .detail { right: auto; left: -8%; }
.gtext h2 { font-size: clamp(44px, 6vw, 96px); }
.gtext .lbl { margin-top: 18px; }
.gtext .txt { margin-top: 22px; max-width: 460px; }
.gtext .tl { margin-top: 26px; }
.facts-list { list-style: none; margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.facts-list li { font-size: 12px; text-transform: uppercase; letter-spacing: .03em; color: var(--grey); }
.facts-list li::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: currentColor; margin-right: 9px; vertical-align: 1px; }
.hint { margin-top: 18px; font-size: 13px; color: var(--grey); max-width: 460px; }
.case { padding-top: 120px; padding-bottom: 120px; }
.case + .case { padding-top: 60px; }
/* Formular: Unterstrich-Felder, Chips als Textschalter, Submit als großer Textlink */
.form { display: grid; gap: 34px; }
.f-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; }
.f-field { display: grid; gap: 8px; }
.f-field label, .f-legend { font-size: 12px; text-transform: uppercase; letter-spacing: .03em; color: var(--grey); }
.f-field input, .f-field textarea { font: 300 17px/1.4 Barlow, Arial, sans-serif; color: var(--ink); background: transparent; border: 0;
  border-bottom: 1px solid var(--ink); border-radius: 0; padding: 8px 0 10px; outline: 0; width: 100%; -webkit-appearance: none; appearance: none; }
.f-field textarea { min-height: 120px; resize: vertical; }
.f-field input:focus-visible, .f-field textarea:focus-visible { border-bottom-width: 2px; }
.f-chips { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 4px; }
.f-chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.f-chips label { position: relative; font: 500 12px/1 Barlow, Arial, sans-serif; text-transform: uppercase; letter-spacing: .04em; color: var(--grey);
  padding: 12px 0; cursor: pointer; transition: color .3s ease; }
.f-chips label::after { content: ""; position: absolute; left: 0; bottom: 8px; width: 100%; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.f-chips label:hover { color: var(--ink); }
.f-chips input:checked + label { color: var(--ink); }
.f-chips input:checked + label::after { transform: scaleX(1); }
.f-chips input:focus-visible + label { outline: 2px solid var(--ink); outline-offset: 2px; }
.f-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.f-submit { font: 500 14px/1 Barlow, Arial, sans-serif; letter-spacing: .05em; text-transform: uppercase; background: var(--ink); color: #fff;
  border: 0; border-radius: 0; padding: 20px 28px; cursor: pointer; display: inline-flex; align-items: center; gap: 10px; justify-self: start;
  transition: transform .5s var(--ease), opacity .3s; }
.f-submit:hover { transform: translateX(4px); }
.f-submit:disabled { opacity: .5; }
.f-submit:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.f-note { font-size: 13px; color: var(--grey); max-width: 520px; }
.f-success[hidden] { display: none; }
.f-success h2 { font-size: clamp(36px, 4vw, 64px); }
.f-success .txt { margin-top: 18px; max-width: 460px; }
.faq details { border-top: 1px solid var(--ink); }
.faq details:last-child { border-bottom: 1px solid var(--ink); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 0; font: 400 17px/1.3 Barlow, Arial, sans-serif; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: Barlow, sans-serif; font-weight: 300; font-size: 22px; line-height: 1; transition: transform .4s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .txt { padding: 0 0 20px; max-width: 520px; }
@media (max-width: 900px) {
  .intro { padding-top: 120px; padding-bottom: 24px; }
  .intro h1 { font-size: clamp(40px, 12vw, 80px); }
  .grid2 { grid-template-columns: 1fr; gap: 36px; }
  .grid2.flip > .gtext { order: 0; }
  .gmedia .detail { display: none; }
  .gtext h2 { font-size: 11.5vw; }
  .case { padding-top: var(--navh); padding-bottom: 80px; }
  .case + .case { padding-top: 24px; }
  .f-chips label { padding: 14px 0; }
}
