/* ==========================================================================
   Portfolio Moritz Hümmling · Design „Nacht“ (v10: dunkel, eine Signalfarbe, Raster)
   Schrift: Switzer (Indian Type Foundry / Fontshare – frei für kommerzielle Nutzung)

   RASTER: 12 Spalten, ein Spaltenabstand (--gap), ein Außenrand (--rand).
   Hauptachsen: Spalte 1 (Titel, Bilder) und Spalte 7 (Navigation, Texte, Fakten).
   Halbe Breite = 6 Spalten, Drittel = 4, Viertel = 3.
   ========================================================================== */

@font-face { font-family: "Switzer"; src: url("../fonts/switzer-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Switzer"; src: url("../fonts/switzer-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Switzer"; src: url("../fonts/switzer-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  /* Farbwelt „Papier“ (Standard) – die anderen Welten unten überschreiben nur diese Werte */
  --bg: #f2f0ea;
  --ink: #18181a;
  --ink-2: #3b3a37;       /* Fließtext, etwas weicher */
  --grau: #a19e96;        /* große Schrift */
  --grau-text: #6b6963;   /* kleine Schrift, Kontrast ≥ 4.5:1 */
  --linie: #dcd8ce;
  --flaeche: #e8e5dd;
  --kachel: #e6e2d8;      /* Grund der Projektbilder */
  --licht: rgba(255, 255, 255, .7);
  --akzent: #2d4bd6;
  --auf-ink: #f2f0ea;     /* Schrift auf dunklen Knöpfen */
  --glas: rgba(242, 240, 234, .78);
  --glas-linie: rgba(24, 24, 26, .09);
  --buehne-a: #f8f6f1;
  --buehne-b: #e2ded4;
  --punkt: 24, 24, 26;     /* Partikel */
  --mono: inherit;
  /* Außenrand – auf sehr großen Monitoren wächst er, der Inhalt bleibt mittig und max. 2400 px breit */
  --rand: max(clamp(16px, 2.2vw, 32px), calc((100vw - 2400px) / 2));
  --gap: clamp(12px, 1.25vw, 20px);
  --spalte: calc((100% - 2 * var(--rand) - 11 * var(--gap)) / 12);
  --kopf: 64px;
  --abstand: clamp(120px, 14vw, 210px);   /* zwischen großen Blöcken */
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-vorhang: cubic-bezier(.7, 0, .2, 1);
  /* Laufweiten: groß etwas enger – aber so, dass „tz“ nicht verklebt */
  --lw-gross: -.026em;
  --lw-mittel: -.018em;
  color-scheme: light;
}
[data-welt="kork"] {
  --bg: #e8dfcf; --ink: #2a2017; --ink-2: #4a3c2e; --grau: #a8977c; --grau-text: #6f5f4a; --linie: #d5c8b2;
  --flaeche: #e0d5c1; --kachel: #ddd0b9; --licht: rgba(255, 248, 235, .65); --akzent: #a9502a; --auf-ink: #efe8db;
  --glas: rgba(232, 223, 207, .8); --glas-linie: rgba(42, 32, 23, .1); --buehne-a: #f1e9dc; --buehne-b: #d9ccb5; --punkt: 42, 32, 23;
}
[data-welt="salbei"] {
  --bg: #dde2d7; --ink: #1a211b; --ink-2: #39423a; --grau: #8b9587; --grau-text: #5a6559; --linie: #c6cec0;
  --flaeche: #d4dbcd; --kachel: #d2d9ca; --licht: rgba(250, 255, 245, .6); --akzent: #3d6a45; --auf-ink: #e8ece3;
  --glas: rgba(221, 226, 215, .8); --glas-linie: rgba(26, 33, 27, .1); --buehne-a: #e8ece3; --buehne-b: #c9d1c1; --punkt: 26, 33, 27;
}
[data-welt="nebel"] {
  --bg: #e5e8eb; --ink: #15213a; --ink-2: #34405a; --grau: #8e97a7; --grau-text: #56627a; --linie: #cdd3da;
  --flaeche: #dce1e6; --kachel: #d9dee4; --licht: rgba(255, 255, 255, .65); --akzent: #15213a; --auf-ink: #eef1f4;
  --glas: rgba(229, 232, 235, .8); --glas-linie: rgba(21, 33, 58, .1); --buehne-a: #eff2f5; --buehne-b: #d0d6de; --punkt: 21, 33, 58;
}

/* ── Basis ─────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: var(--kopf); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: "Switzer", ui-sans-serif, system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px; line-height: 1.5; letter-spacing: -.004em; font-kerning: normal;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, dl, dd, ol, ul, figure { margin: 0; }
h1, h2, h3, h4 { font-weight: 500; }
ol, ul { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
::selection { background: var(--ink); color: var(--bg); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 2px; }
.grau { color: var(--grau-text); }
.intro-satz .grau, .p-kicker .grau { color: var(--grau); }
.skip { position: absolute; left: var(--rand); top: -100px; z-index: 100; background: var(--ink); color: var(--bg); padding: 10px 14px; }
.skip:focus { top: 10px; }
.tz { margin-right: .035em; }   /* t und z im Namen nicht verkleben lassen */

/* Das Raster */
.raster { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); padding-inline: var(--rand); }
.raster > * { grid-column: 1 / -1; min-width: 0; }

/* ── Übergänge ─────────────────────────────────────────────────────────── */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.w > span { display: inline-block; transform: translateY(110%); transition: transform 1s var(--ease); transition-delay: var(--d, 0s); }
.woerter-an .w > span { transform: none; }

.js [data-einblenden] { opacity: 0; transform: translateY(24px); transition: opacity 1s ease var(--d, 0s), transform 1.1s var(--ease) var(--d, 0s); }
.js [data-einblenden].sichtbar { opacity: 1; transform: none; }

.js .karte[data-einblenden], .js .kachel[data-einblenden], .js .fig[data-einblenden],
.js .p-hero[data-einblenden], .js .ueber-bild[data-einblenden] { opacity: 1; transform: none; }
.js [data-einblenden] .bild-box { clip-path: inset(100% 0 0 0); transition: clip-path 1.25s var(--ease-vorhang) var(--d, 0s); }
.js [data-einblenden] .bild-box img { transform: scale(1.16); transition: transform 1.8s var(--ease) var(--d, 0s); }
.js [data-einblenden].sichtbar .bild-box { clip-path: inset(0 0 0 0); }
.js [data-einblenden].sichtbar .bild-box img { transform: scale(1); }
.js [data-einblenden] .karte-cap, .js .fig[data-einblenden] figcaption { opacity: 0; transition: opacity .8s ease calc(var(--d, 0s) + .45s); }
.js [data-einblenden].sichtbar .karte-cap, .js .fig[data-einblenden].sichtbar figcaption { opacity: 1; }

/* ── Intro ─────────────────────────────────────────────────────────────── */
.intro { padding-top: calc(var(--kopf) + clamp(80px, 22vh, 240px)); }
.intro > .intro-satz {
  grid-column: 1 / span 10;
  font-size: clamp(40px, 6.2vw, 104px); line-height: 1.0; letter-spacing: var(--lw-gross); font-weight: 500;
  text-wrap: balance;
}
.intro > .intro-status { grid-column: 1 / span 6; margin-top: clamp(28px, 4vh, 48px); font-size: 15px; font-weight: 500; }
.punkt { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--akzent); margin-right: 10px; vertical-align: 1px; animation: puls 2.4s infinite; }
@keyframes puls { 0% { box-shadow: 0 0 0 0 rgba(255, 75, 31, .55); } 70% { box-shadow: 0 0 0 7px rgba(255, 75, 31, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 75, 31, 0); } }
@media (max-width: 760px) { .intro > .intro-satz { grid-column: 1 / -1; } }

/* ── Blöcke ────────────────────────────────────────────────────────────── */
.block { padding-top: var(--abstand); }
.block-arbeiten { padding-top: clamp(80px, 13vh, 150px); }
.block-titel { padding: 0 var(--rand); margin-bottom: clamp(20px, 2.6vw, 36px); font-size: clamp(24px, 2.2vw, 34px); letter-spacing: var(--lw-mittel); line-height: 1.1; }

/* ── Projekt-Karten: halbe Breite (6 Spalten), erste volle Breite ──────── */
.karten { row-gap: clamp(44px, 5vw, 72px); }
.karten > .karte { grid-column: span 6; }
.karten > .karte-breit { grid-column: 1 / -1; }
.karte-bild { position: relative; overflow: hidden; background: var(--flaeche); aspect-ratio: 1 / 1; }
.karte-breit .karte-bild { aspect-ratio: 16 / 7.6; }
.karte-bild img { width: 100%; height: 100%; object-fit: cover; }
.karte-bild img.ganz { object-fit: contain; padding: 6% 0; }
.sichtbar a:hover .bild-box img, .karte a:hover .karte-bild img { transform: scale(1.03); }
.karte-cap { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-top: 14px; font-size: clamp(16px, 1.2vw, 19px); }
.karte-cap h3 { font-size: inherit; font-weight: 500; letter-spacing: -.008em; }
.pfeil { display: inline-block; margin-left: .5em; color: var(--ink); transition: transform .5s var(--ease); }
a:hover .pfeil, button:hover .pfeil { transform: translateX(4px); }
.tag { display: inline-block; margin-left: .6em; padding: 3px 9px 2px; border-radius: 99px; font-size: 12px; font-weight: 500; vertical-align: 2px; background: var(--flaeche); color: var(--grau-text); }
@media (max-width: 760px) {
  .karten > .karte { grid-column: 1 / -1; }
  .karte-breit .karte-bild { aspect-ratio: 4 / 5; }
}

/* ── Weitere Arbeiten: Viertel (3 Spalten) ─────────────────────────────── */
.kacheln { row-gap: 36px; }
.kacheln > .kachel { grid-column: span 3; display: block; width: 100%; padding: 0; border: 0; background: none; text-align: left; cursor: pointer; }
.kachel-bild { display: block; overflow: hidden; background: var(--flaeche); aspect-ratio: 4 / 5; }
.kachel-bild img { width: 100%; height: 100%; object-fit: cover; }
.kachel:hover .kachel-bild img { transform: scale(1.03); }
.kachel-titel { font-weight: 500; }
@media (max-width: 760px) {
  .kacheln > .kachel { grid-column: span 6; }
  .kachel .karte-cap { flex-direction: column; gap: 2px; }
}

.kacheln.anzahl-2 > .kachel, .kacheln.anzahl-1 > .kachel { grid-column: span 6; }
.kacheln.anzahl-2 .kachel-bild, .kacheln.anzahl-1 .kachel-bild { aspect-ratio: 3 / 2; }

/* ── Über mich: Bild Spalte 1–5, Text ab Spalte 7 ──────────────────────── */
.ueber-raster { align-items: end; }
.ueber-raster > .ueber-bild { grid-column: 1 / span 5; }
.ueber-bild .bild-box { display: block; overflow: hidden; background: var(--flaeche); }
.ueber-bild img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 22%; }
.ueber-raster > .ueber-text { grid-column: 7 / -1; }
.ueber-text .gross { font-size: clamp(32px, 3.5vw, 58px); line-height: 1.04; letter-spacing: var(--lw-gross); font-weight: 500; max-width: 11em; text-wrap: balance; }
.ueber-lead { margin-top: clamp(20px, 2.4vw, 32px); font-size: clamp(17px, 1.3vw, 20px); line-height: 1.5; color: var(--ink-2); max-width: 30em; }
.ueber-fakten { margin-top: clamp(40px, 5vw, 72px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px var(--gap); font-size: 15px; line-height: 1.45; }
.ueber-fakten > div { border-top: 1px solid var(--linie); padding-top: 12px; }
.ueber-fakten dt { margin-bottom: 4px; }
.ueber-werkzeuge { grid-column: 1 / -1; }
.ueber-werkzeuge dd { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 4px; }
.ueber-werkzeuge span { padding: 5px 12px 4px; border: 1px solid var(--linie); border-radius: 99px; font-size: 14px; white-space: nowrap; }
@media (max-width: 900px) {
  .ueber-raster > .ueber-bild { grid-column: 1 / span 8; }
  .ueber-raster > .ueber-text { grid-column: 1 / -1; margin-top: 48px; }
}
@media (max-width: 520px) {
  .ueber-raster > .ueber-bild { grid-column: 1 / -1; }
  .ueber-fakten { grid-template-columns: 1fr; }
}

/* ── Kontakt ───────────────────────────────────────────────────────────── */
.kontakt-mail { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; padding: 0 var(--rand); }
.mail {
  font-size: clamp(34px, 6.6vw, 120px); font-weight: 500; letter-spacing: var(--lw-gross); line-height: 1;
  overflow-wrap: anywhere; padding-bottom: .06em;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat;
  transition: background-size .7s var(--ease);
}
.mail:hover { background-size: 100% 2px; }
.kopieren { border: 1px solid var(--linie); background: none; border-radius: 99px; cursor: pointer; padding: 9px 16px; font-size: 14px; font-weight: 500; transition: border-color .25s, background .25s, color .25s; }
.kopieren:hover { border-color: var(--ink); }
.kopieren.ok { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.kontakt-links { padding: 0 var(--rand); margin-top: 28px; display: flex; gap: 24px; flex-wrap: wrap; font-size: 16px; }

/* ── Fuß: gleiche Achsen wie die Navigation (Spalte 7, 9, 11) ──────────── */
.fuss { margin-top: var(--abstand); padding-top: 22px; padding-bottom: 26px; font-size: 14px; color: var(--grau-text); border-top: 1px solid var(--linie); }
.fuss a { transition: color .25s; }
.fuss a:hover { color: var(--ink); }
.fuss > .fuss-copy { grid-column: 1 / span 6; }
.fuss > .fuss-a { grid-column: 7 / span 2; }
.fuss > .fuss-b { grid-column: 9 / span 2; }
.fuss > .fuss-c { grid-column: 11 / span 2; }
@media (max-width: 760px) {
  .fuss > .fuss-copy { grid-column: 1 / -1; margin-bottom: 10px; }
  .fuss > .fuss-a, .fuss > .fuss-b, .fuss > .fuss-c { grid-column: span 4; }
}

/* ── Projektseite ──────────────────────────────────────────────────────── */
.p-kopf { padding-top: calc(var(--kopf) + clamp(28px, 5vh, 60px)); }
.p-zurueck { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); font-size: 15px; font-weight: 500; }
.p-zurueck a { grid-column: 1 / span 6; color: var(--grau-text); transition: color .25s; justify-self: start; }
.p-zurueck a:hover { color: var(--ink); }
.p-zurueck .grau { grid-column: 7 / -1; font-variant-numeric: tabular-nums; }
.projekt h1 {
  margin-top: clamp(48px, 10vh, 120px);
  font-size: clamp(48px, 9vw, 156px); font-weight: 500; letter-spacing: -.034em; line-height: .96;
  margin-left: -.035em; hyphens: auto; -webkit-hyphens: auto;
}
.p-kopf > .p-kicker { grid-column: 1 / span 8; margin-top: clamp(20px, 3vh, 36px); font-size: clamp(22px, 2.35vw, 38px); line-height: 1.12; letter-spacing: var(--lw-mittel); font-weight: 500; }
.p-fakten { margin-top: clamp(48px, 7vh, 88px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px var(--gap); font-size: 15px; line-height: 1.45; }
.p-fakten div { border-top: 1px solid var(--linie); padding-top: 12px; }
.p-fakten dt { margin-bottom: 2px; }
.p-fakten a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.p-hero { margin-top: clamp(48px, 7vh, 88px); padding-inline: var(--rand); background: none !important; }
.p-hero .bild-box { display: block; overflow: hidden; background: var(--flaeche); }
.p-hero img { width: 100%; height: auto; max-height: calc(100vh - var(--kopf)); object-fit: cover; }
.p-hero.passend img { aspect-ratio: 16 / 9; max-height: none; object-fit: contain; }
@media (max-width: 760px) {
  .p-kopf > .p-kicker { grid-column: 1 / -1; }
  .p-zurueck .grau { text-align: right; }
  .p-fakten { grid-template-columns: 1fr 1fr; }
  .p-hero.passend img { aspect-ratio: 4 / 5; }
}

.zahlen { margin-top: clamp(80px, 10vw, 140px); row-gap: 28px; }
.zahlen > div { grid-column: span 4; border-top: 1px solid var(--linie); padding-top: 14px; }
.zahlen strong { display: block; font-size: clamp(44px, 6vw, 104px); font-weight: 500; letter-spacing: -.034em; line-height: 1; white-space: nowrap; }
.zahlen span { display: block; margin-top: 10px; font-size: 15px; }
@media (max-width: 640px) { .zahlen > div { grid-column: 1 / -1; } }

/* Textblöcke: Überschrift Spalte 1, Text ab Spalte 7 */
.b-text { margin: clamp(100px, 12vw, 170px) 0 clamp(36px, 4vw, 60px); row-gap: 14px; }
.b-text > h2 { grid-column: 1 / span 6; font-size: 15px; padding-top: .45em; }
.b-text > .b-body { grid-column: 7 / -1; }
.b-body p { font-size: clamp(19px, 1.65vw, 26px); line-height: 1.38; letter-spacing: -.012em; max-width: 34em; }
.b-body p + p { margin-top: .85em; }
@media (max-width: 900px) { .b-text > h2, .b-text > .b-body { grid-column: 1 / -1; } }

/* Bilder: voll (12), breit (2–11), Paar (6+6), Trio (4+4+4) */
.fig { min-width: 0; }
.fig .zoom { display: block; overflow: hidden; background: var(--flaeche); cursor: zoom-in; }
.fig img { width: 100%; }
.fig figcaption, .b-cap { font-size: 14px; color: var(--grau-text); padding-top: 12px; }
.b-voll, .b-breit, .b-paar, .b-trio { margin-top: var(--gap); }
.b-voll { padding-inline: var(--rand); }
.b-breit { padding-inline: calc(var(--rand) + var(--spalte) + var(--gap)); }
.b-paar, .b-trio { align-items: start; row-gap: var(--gap); }
.b-paar > .fig { grid-column: span 6; }
.b-trio > .fig { grid-column: span 4; }
.b-cap { padding-inline: var(--rand); }
@media (max-width: 760px) {
  .b-breit { padding-inline: var(--rand); }
  .b-paar > .fig, .b-trio > .fig { grid-column: 1 / -1; }
}

.p-weiter { margin-top: var(--abstand); padding-inline: var(--rand); }
.p-weiter a { position: relative; display: block; overflow: hidden; color: #fff; }
.p-weiter-bild { display: block; aspect-ratio: 16 / 7; background: var(--flaeche); }
.p-weiter-bild img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.p-weiter-bild::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, .5), rgba(0, 0, 0, 0) 55%); }
.p-weiter-text { position: absolute; z-index: 1; left: clamp(16px, 2.2vw, 32px); right: clamp(16px, 2.2vw, 32px); bottom: clamp(20px, 3vw, 40px); display: flex; flex-direction: column; gap: 6px; }
.p-weiter-text .grau { color: rgba(255, 255, 255, .8); font-size: 15px; font-weight: 500; }
.p-weiter-titel { font-size: clamp(40px, 7vw, 120px); font-weight: 500; letter-spacing: -.034em; line-height: .96; }
.p-weiter a:hover .p-weiter-bild img { transform: scale(1.04); }
@media (max-width: 760px) { .p-weiter-bild { aspect-ratio: 4 / 5; } }

/* Film */
.b-film { margin-top: var(--gap); padding-inline: var(--rand); }
.film-box { position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 9; background: #000; }
.film-box video { display: block; width: 100%; height: 100%; }
.film-box iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.b-film .b-cap a { color: inherit; text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 1px; }
.film-start { position: absolute; inset: 0; border: 0; padding: 0; margin: 0; background: #000; cursor: pointer; }
.film-start img { width: 100%; height: 100%; object-fit: cover; }
.film-start:hover img { transform: scale(1.02); }
.film-knopf {
  position: absolute; left: clamp(16px, 2.2vw, 32px); bottom: clamp(16px, 2.2vw, 32px);
  display: inline-flex; align-items: center; gap: 12px; padding: 10px 20px 10px 10px; border-radius: 99px;
  background: var(--glas); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid var(--glas-linie);
  color: var(--ink); font-size: 15px; font-weight: 500; transition: transform .5s var(--ease);
}
.film-start:hover .film-knopf { transform: scale(1.04); }
.film-dreieck { position: relative; width: 30px; height: 30px; border-radius: 50%; background: var(--akzent); flex: none; }
.film-dreieck::after { content: ""; position: absolute; left: 12px; top: 9px; border-style: solid; border-width: 6px 0 6px 9px; border-color: transparent transparent transparent #0c0c0d; }
.grau-hell { color: var(--grau-text); font-weight: 400; }
.film-box.spielt .film-start { display: none; }
@media (max-width: 760px) {
  .film-knopf { left: 10px; bottom: 10px; padding: 6px 14px 6px 6px; gap: 9px; font-size: 13px; }
  .film-dreieck { width: 24px; height: 24px; }
  .film-dreieck::after { left: 9px; top: 7px; border-width: 5px 0 5px 7px; }
}

/* ── Rechtliches ───────────────────────────────────────────────────────── */
.recht { padding-top: calc(var(--kopf) + clamp(60px, 12vh, 140px)); }
.recht h1 { font-size: clamp(44px, 7vw, 112px); font-weight: 500; letter-spacing: -.034em; line-height: .98; }
.recht > .recht-text { grid-column: 7 / -1; margin-top: clamp(40px, 6vw, 72px); font-size: 17px; line-height: 1.6; }
.recht-text h2 { font-size: 18px; font-weight: 600; margin: 2.2em 0 .45em; letter-spacing: -.01em; }
.recht-text h2:first-child { margin-top: 0; }
.recht-text p + p { margin-top: .8em; }
.recht-text a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.recht-lead { font-size: 21px; line-height: 1.4; letter-spacing: -.012em; margin-bottom: 1.8em; }
.platzhalter { background: rgba(255, 75, 31, .14); padding: 0 4px; border-radius: 3px; }
.klein { font-size: 14px; margin-top: 2em; }
@media (max-width: 900px) { .recht > .recht-text { grid-column: 1 / -1; } }

/* ── Lightbox ──────────────────────────────────────────────────────────── */
.lb { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: var(--bg); color: var(--ink); overscroll-behavior: contain; }
.lb::backdrop { background: transparent; }
.lb[open] { animation: lb-ein .35s ease; }
@keyframes lb-ein { from { opacity: 0; } }
.lb-fig { position: absolute; inset: 72px clamp(16px, 7vw, 110px) 64px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; }
.lb-fig img { max-width: 100%; max-height: calc(100% - 40px); width: auto; height: auto; object-fit: contain; user-select: none; }
.lb-fig figcaption { font-size: 14px; color: var(--grau-text); text-align: center; max-width: 70ch; }
.lb-zaehler { position: absolute; top: 22px; left: var(--rand); font-size: 15px; font-weight: 500; white-space: pre; }
.lb-btn { position: absolute; background: none; border: 0; cursor: pointer; padding: 14px 16px; font-size: 15px; font-weight: 500; color: var(--ink); }
.lb-btn:hover { color: var(--grau-text); }
.lb-zu { top: 8px; right: calc(var(--rand) - 16px); }
.lb-zurueck, .lb-vor { top: 50%; transform: translateY(-50%); font-size: 22px; padding: 24px; }
.lb-zurueck { left: 0; }
.lb-vor { right: 0; }
.lb.einzeln .lb-zurueck, .lb.einzeln .lb-vor { display: none; }
@media (max-width: 760px) {
  .lb-fig { inset: 64px 12px 88px; }
  .lb-zurueck, .lb-vor { top: auto; bottom: 12px; transform: none; }
}

/* ── Seitenwechsel ─────────────────────────────────────────────────────── */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .45s; }
::view-transition-group(*) { animation-duration: .75s; animation-timing-function: cubic-bezier(.2, .7, .1, 1); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js [data-einblenden] { opacity: 1; transform: none; }
  .js [data-einblenden] .bild-box { clip-path: none; }
  .js [data-einblenden] .bild-box img, .w > span { transform: none !important; }
  @view-transition { navigation: none; }
}
@media print {
  .kopf, .lb, .kopieren { display: none !important; }
  .js [data-einblenden], .js [data-einblenden] .bild-box, .js [data-einblenden] .bild-box img, .js [data-einblenden] .karte-cap { opacity: 1; transform: none; clip-path: none; }
  .w > span { transform: none; }
}

/* ── v6: Clips, Call to Action ─────────────────────────────────────────── */
.b-clip { margin-top: var(--gap); padding-inline: var(--rand); }
.b-clip figcaption { padding-inline: 0; }
.clip-box { display: block; overflow: hidden; background: #000; }
.clip-box video { display: block; width: 100%; height: 100%; object-fit: cover; }
.js [data-einblenden] .bild-box video { transform: scale(1.16); transition: transform 1.8s var(--ease) var(--d, 0s); }
.js [data-einblenden].sichtbar .bild-box video { transform: scale(1); }

.intro-status a { display: inline-flex; align-items: center; }
.intro-status a .grau { margin-left: 14px; transition: color .25s, transform .35s var(--ease); }
.intro-status a:hover .grau { color: var(--ink); transform: translateX(3px); }

.kontakt-raster { row-gap: clamp(32px, 4vw, 56px); }
.kontakt-lead {
  grid-column: 1 / span 10;
  font-size: clamp(36px, 5.6vw, 96px); line-height: 1.02; letter-spacing: var(--lw-gross); font-weight: 500; text-wrap: balance;
}
.kontakt-aktion { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 36px; }
.cta {
  display: inline-flex; align-items: center; gap: 14px;
  background: var(--ink); color: var(--bg); border-radius: 99px;
  padding: 18px 26px 18px 30px; font-size: clamp(17px, 1.3vw, 19px); font-weight: 500;
  transition: transform .35s var(--ease), box-shadow .35s;
}
.cta:hover { transform: translateY(-2px); box-shadow: 0 10px 40px -10px rgba(255, 75, 31, .5); }
.cta-pfeil { transition: transform .35s var(--ease); }
.cta:hover .cta-pfeil { transform: translateX(4px); }
.kontakt-aktion .kontakt-mail { padding: 0; gap: 14px 18px; }
.kontakt-aktion .mail { font-size: clamp(17px, 1.3vw, 19px); letter-spacing: normal; line-height: 1.3; background-size: 100% 1px; }
.kontakt-aktion .mail:hover { background-size: 100% 2px; }
@media (max-width: 760px) {
  .kontakt-lead { grid-column: 1 / -1; }
  .cta { width: 100%; justify-content: space-between; }
}
@media (prefers-reduced-motion: reduce) {
  .js [data-einblenden] .bild-box video { transform: none !important; }
}
.b-clip-breit { padding-inline: calc(var(--rand) + var(--spalte) + var(--gap)); }
.b-clip-text { margin-top: clamp(100px, 12vw, 170px); align-items: end; row-gap: 28px; }
.b-clip-text > .fig { grid-column: 1 / span 6; }
.b-clip-text-body { grid-column: 7 / -1; }
.b-clip-text-body h2 { font-size: 15px; margin-bottom: 14px; }
.b-clip-text-body p { font-size: clamp(19px, 1.65vw, 26px); line-height: 1.38; letter-spacing: -.012em; max-width: 34em; }
@media (max-width: 900px) {
  .b-clip-breit { padding-inline: var(--rand); }
  .b-clip-text > .fig, .b-clip-text-body { grid-column: 1 / -1; }
}

/* ── 3D-Bühne (MyoBox zum Drehen) ─────────────────────────────────────── */
.b-3d { margin: clamp(48px, 6vw, 96px) 0 0; padding-inline: var(--rand); }
.d3-buehne {
  position: relative; aspect-ratio: 16 / 9; border-radius: 6px; overflow: hidden;
  background: radial-gradient(70% 70% at 50% 30%, var(--buehne-a) 0%, var(--buehne-b) 100%);
  touch-action: pan-y; user-select: none; -webkit-user-select: none;
}
.d3-buehne canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: grab; opacity: 0; transition: opacity .9s var(--ease); }
.d3-buehne.geladen canvas { opacity: 1; }
.d3-buehne.zieht canvas { cursor: grabbing; }
.d3-laden { position: absolute; inset: 0; display: grid; place-items: center; font-size: 14px; transition: opacity .4s; }
.d3-buehne.geladen .d3-laden { opacity: 0; pointer-events: none; }
.d3-buehne.fehler .d3-laden { opacity: 1; }
.d3-hinweis {
  position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%);
  font-size: 13px; color: var(--grau-text); background: var(--glas); border: 1px solid var(--glas-linie); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  padding: 7px 14px; border-radius: 99px; pointer-events: none; opacity: 0; transition: opacity .5s var(--ease);
}
.d3-buehne.geladen .d3-hinweis { opacity: 1; }
.d3-buehne.geladen.beruehrt .d3-hinweis, .d3-buehne[data-modus="spielen"] .d3-hinweis, .d3-buehne[data-modus="anlegen"] .d3-hinweis { opacity: 0; }
.d3-spannen {
  position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 10px; white-space: nowrap;
  font: inherit; font-size: 15px; font-weight: 500; color: var(--bg); background: var(--ink);
  border: 0; border-radius: 99px; padding: 13px 22px; cursor: pointer; touch-action: none;
  -webkit-touch-callout: none; transition: transform .25s var(--ease), background .25s;
}
.d3-spannen[hidden] { display: none; }
.d3-spannen.aktiv { transform: translateX(-50%) scale(.96); background: var(--ink-2); }
.d3-spannen-punkt { width: 9px; height: 9px; border-radius: 50%; background: var(--akzent); box-shadow: 0 0 0 0 rgba(255, 75, 31, .6); }
.d3-spannen.aktiv .d3-spannen-punkt { animation: d3puls 1s infinite; }
@keyframes d3puls { to { box-shadow: 0 0 0 10px rgba(255, 75, 31, 0); } }
.d3-leiste { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; margin-top: 14px; font-size: 14px; }
.d3-modi { display: inline-flex; gap: 4px; padding: 4px; background: var(--flaeche); border-radius: 99px; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.d3-modi::-webkit-scrollbar { display: none; }
.d3-modi button {
  font: inherit; font-size: 14px; font-weight: 500; color: var(--grau-text); background: transparent;
  border: 0; border-radius: 99px; padding: 8px 16px; cursor: pointer; white-space: nowrap; transition: color .2s, background .25s var(--ease);
}
.d3-modi button:hover { color: var(--ink); }
.d3-modi button[aria-pressed="true"] { color: var(--auf-ink); background: var(--ink); }
.d3-modi button:focus-visible, .d3-spannen:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
@media (max-width: 760px) {
  .d3-buehne { aspect-ratio: 4 / 5; }
  .d3-leiste { flex-direction: column; align-items: stretch; }
  .d3-modi { align-self: stretch; }
  .d3-modi { gap: 2px; }
  .d3-modi button { flex: 1 1 auto; padding: 9px 2px; font-size: 13px; letter-spacing: -.01em; }
}
@media (min-width: 1800px) { .d3-buehne { aspect-ratio: 2 / 1; } }

/* model-viewer (Gefäß zum Drehen) */
.d3-mv model-viewer { position: absolute; inset: 0; width: 100%; height: 100%; --poster-color: transparent; background: transparent; opacity: 0; transition: opacity .9s var(--ease); }
.d3-mv.geladen model-viewer { opacity: 1; }
.d3-mv { aspect-ratio: 4 / 3; }
@media (min-width: 761px) { .d3-mv { aspect-ratio: 16 / 9; } }
.b-aufgabe .b-body p { font-size: clamp(19px, 1.65vw, 26px); }

/* ── Startseite v7: einheitliches Projektraster ───────────────────────── */
.karten { row-gap: clamp(40px, 4.4vw, 64px); }
.karten > .karte { grid-column: span 6; }
.karte .karte-bild { aspect-ratio: 4 / 3; }
.karte-nr { display: inline-block; min-width: 2.2em; font-variant-numeric: tabular-nums; font-weight: 400; }
@media (min-width: 1700px) { .karten > .karte { grid-column: span 4; } }
@media (max-width: 760px) {
  .karten > .karte { grid-column: 1 / -1; }
  .karte .karte-bild { aspect-ratio: 4 / 3; }
}

/* ==========================================================================
   v10 „Nacht“ – dunkel, eine Signalfarbe, technische Details (Mono-Beschriftung,
   CAD-Fadenkreuz), schwebende Kopfzeile, eigener Cursor.
   ========================================================================== */
.mono { font-family: var(--mono); font-size: 12px; font-weight: 400; letter-spacing: .03em; text-transform: uppercase; line-height: 1.5; }
.akzent { color: var(--akzent); }
/* feines Korn über allem – nimmt dem Schwarz das Digitale */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 98; pointer-events: none; opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
:focus-visible { outline-color: var(--akzent); }

/* ── Kopf: schwebende Kapsel ──────────────────────────────────────────── */
.kopf { position: fixed; top: 14px; left: 0; right: 0; z-index: 60; display: flex; justify-content: center; pointer-events: none; transition: transform .7s var(--ease), opacity .5s; }
.kopf.versteckt { transform: translateY(calc(-100% - 24px)); }
.kapsel {
  pointer-events: auto; display: flex; align-items: center; height: 50px; padding: 0 6px 0 7px; border-radius: 99px;
  background: var(--glas); border: 1px solid var(--glas-linie);   /* ohne Weichzeichner: der müsste über der Animation jedes Bild neu rechnen */
  background-color: color-mix(in srgb, var(--glas) 55%, var(--bg));
  font-size: 14px; font-weight: 500; white-space: nowrap;
}
.marke { display: flex; align-items: center; gap: 0; padding-right: 10px; }
.marke-zeichen {
  flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: var(--ink); color: var(--auf-ink); font-size: 12px; font-weight: 600; letter-spacing: .01em;
  transition: background .35s, transform .6s var(--ease);
}
.marke:hover .marke-zeichen { background: var(--akzent); transform: rotate(-12deg); }
.marke-name { display: inline-block; overflow: hidden; max-width: 9.5em; padding-left: 11px; transition: max-width .7s var(--ease), opacity .45s, padding .7s var(--ease); }
.kopf.kompakt .marke-name { max-width: 0; opacity: 0; padding-left: 0; }
.nav { position: relative; display: flex; padding-left: 8px; margin-left: 2px; border-left: 1px solid var(--glas-linie); }
.nav a { position: relative; z-index: 1; padding: 9px 15px; border-radius: 99px; color: var(--grau-text); transition: color .3s; }
.nav a:hover, .nav a.an, .nav a[aria-current] { color: var(--ink); }
.nav-feld {
  position: absolute; z-index: 0; top: 50%; left: 0; height: 36px; width: 0; margin-top: -18px; border-radius: 99px;
  background: var(--glas-linie); opacity: 0;
  transition: transform .55s var(--ease), width .55s var(--ease), opacity .35s;
}
.nav-feld.sichtbar { opacity: 1; }
.kopf-zeit { display: inline-flex; align-items: center; height: 22px; padding: 0 12px 0 14px; margin-left: 6px; border-left: 1px solid var(--glas-linie); color: var(--grau-text); font-variant-numeric: tabular-nums; font-size: 11.5px; }
.kopf-zeit .punkt { width: 6px; height: 6px; margin-right: 9px; vertical-align: 0; }
.kopf-ort { margin-left: .7em; }
.menue-knopf { display: none; }
.menue { display: none; }
@media (max-width: 760px) {
  .kopf { top: 10px; padding: 0 10px; }
  .kapsel { width: 100%; height: 50px; padding-right: 6px; }
  .nav { display: none; }
  .kopf-zeit { margin-left: auto; border: 0; padding: 0 12px; }
  .kopf-ort { display: none; }
  .kopf.kompakt .marke-name { max-width: 9.5em; opacity: 1; padding-left: 11px; }
  .menue-knopf {
    display: inline-grid; height: 38px; padding: 0 17px; border: 0; border-radius: 99px; cursor: pointer;
    background: var(--ink); color: var(--auf-ink); font-size: 14px; font-weight: 500; place-items: center;
  }
  .menue-knopf > span { grid-area: 1 / 1; transition: opacity .3s, transform .45s var(--ease); }
  .menue-zu { opacity: 0; transform: translateY(8px); }
  .menue-offen .menue-auf { opacity: 0; transform: translateY(-8px); }
  .menue-offen .menue-zu { opacity: 1; transform: none; }
  .menue-offen .kopf { transform: none !important; }
  .menue {
    display: flex; flex-direction: column; justify-content: flex-end; gap: 40px;
    position: fixed; inset: 0; z-index: 55; padding: 110px var(--rand) 26px; background: var(--bg);
    clip-path: circle(0 at calc(100% - 52px) 35px); visibility: hidden;
    transition: clip-path .9s var(--ease-vorhang), visibility 0s .9s;
  }
  .menue-offen .menue { clip-path: circle(150% at calc(100% - 52px) 35px); visibility: visible; transition: clip-path .9s var(--ease-vorhang), visibility 0s; }
  .menue-offen { overflow: hidden; }
  .menue-liste li { overflow: hidden; border-top: 1px solid var(--linie); }
  .menue-liste a {
    display: flex; align-items: baseline; gap: 14px; padding: 10px 0 6px;
    font-size: clamp(44px, 14vw, 72px); font-weight: 500; letter-spacing: -.045em; line-height: 1;
    transform: translateY(105%); transition: transform .9s var(--ease) calc(.18s + var(--i) * .07s);
  }
  .menue-liste .mono { font-size: 11px; letter-spacing: .03em; transform: translateY(-1.6em); }
  .menue-offen .menue-liste a { transform: none; }
  .menue-fuss { display: flex; flex-direction: column; gap: 8px; font-size: 16px; opacity: 0; transition: opacity .6s .45s; }
  .menue-offen .menue-fuss { opacity: 1; }
}

/* ── Startseite: Bühne ────────────────────────────────────────────────── */
.buehne { position: relative; height: 320vh; }
.buehne-pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.buehne-pin::before { /* Lichtkegel von oben */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(50% 60% at 62% 30%, var(--licht), transparent 70%);
}
.buehne-canvas { position: absolute; z-index: 1; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1.8s var(--ease); cursor: grab; touch-action: pan-y; }
.buehne.geladen .buehne-canvas { opacity: 1; }
.buehne.zieht .buehne-canvas { cursor: grabbing; }
.buehne.ohne-3d .buehne-canvas, .buehne.ohne-3d .buehne-fuss { display: none; }
.buehne-fenster { position: absolute; left: 36%; right: 6%; top: calc(64px + 7vh); bottom: 0; pointer-events: none; } /* unten begrenzt buehne.js auf die Namenszeile */
.buehne-oben { position: absolute; z-index: 2; left: 0; right: 0; top: calc(64px + clamp(22px, 5vh, 56px)); pointer-events: none; }
.buehne-oben > * { pointer-events: auto; }
.buehne-oben .bo-a { grid-column: 1 / span 3; }
.buehne-oben .bo-b { grid-column: 4 / span 3; }
.buehne-oben .bo-c { grid-column: 10 / -1; justify-self: end; }
.bo-c a { display: inline-flex; align-items: center; padding: 8px 14px 8px 13px; margin: -8px -14px 0 0; border-radius: 99px; border: 1px solid var(--linie); transition: border-color .3s, background .3s; }
.bo-c a:hover { border-color: rgba(255, 75, 31, .6); background: rgba(255, 75, 31, .08); }
.bo-c .punkt { width: 6px; height: 6px; margin-right: 9px; }
.bo-c .pfeil { color: inherit; margin-left: .7em; }
.buehne-satz {
  position: absolute; z-index: 2; left: var(--rand); top: 40%; max-width: 12.5em; pointer-events: none;
  font-size: clamp(22px, 2.15vw, 40px); line-height: 1.1; letter-spacing: -.022em; font-weight: 500; text-wrap: balance;
}
.buehne-unten { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; pointer-events: none; }
.buehne-unten a { pointer-events: auto; }
.buehne-fuss { align-items: end; margin-bottom: clamp(4px, .8vw, 12px); font-size: 15px; font-weight: 500; }
.buehne-kapitel { grid-column: 1 / span 6; position: relative; height: 1.5em; list-style: none; margin: 0; padding: 0; }
.buehne-kapitel li { position: absolute; inset: 0; opacity: 0; transform: translateY(12px); transition: opacity .5s var(--ease), transform .7s var(--ease); pointer-events: none; }
.buehne-kapitel li.an { opacity: 1; transform: none; pointer-events: auto; }
.buehne-kapitel a { display: inline-flex; gap: 12px; align-items: baseline; }
.buehne-kapitel .mono { font-size: 11px; }
.buehne-kapitel .kap-pfeil { transition: transform .35s var(--ease); }
.buehne-kapitel a:hover .kap-pfeil { transform: translateX(4px); }
.buehne-punkte { grid-column: 7 / span 3; display: flex; gap: 6px; margin: 0 0 .45em; }
.buehne-punkte span { width: 22px; height: 2px; border-radius: 2px; background: var(--linie); transition: background .4s, width .6s var(--ease); }
.buehne-punkte span.an { background: var(--ink); width: 40px; }
.buehne-hinweis { grid-column: 10 / -1; justify-self: end; font-size: 11px; }
.buehne-name {
  display: block; padding: 0 var(--rand); margin: 0 0 0 -.045em; white-space: nowrap;
  font-size: 12.9vw; font-weight: 600; letter-spacing: -.058em; line-height: .86; padding-bottom: .2em;
  color: var(--ink);
}
@media (min-width: 2560px) { .buehne-name { font-size: calc(12.9 * 25.6px); } }
.bn-zeile { display: inline-block; white-space: nowrap; }
/* Buchstaben steigen beim Laden auf */
.js .buehne-name .bz { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .24em; margin-bottom: -.24em; }
.js .buehne-name .bz > span { display: inline-block; transform: translateY(135%); transition: transform 1.3s var(--ease) calc(.15s + var(--i) * .045s); }
.js .buehne-name.an .bz > span { transform: none; }
/* CAD-Fadenkreuz */
.fadenkreuz { position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0; transition: opacity .5s; --mx: -10px; --my: -10px; }
.buehne.zeigt .fadenkreuz { opacity: 1; }
.fk-x, .fk-y { position: absolute; background: rgba(237, 236, 231, .1); }
.fk-x { left: 0; right: 0; top: 0; height: 1px; transform: translateY(var(--my)); }
.fk-y { top: 0; bottom: 0; left: 0; width: 1px; transform: translateX(var(--mx)); }
.fk-wert { position: absolute; left: 0; top: 0; font-size: 10.5px; color: var(--grau-text); transform: translate(calc(var(--mx) + 14px), calc(var(--my) + 12px)); white-space: pre; }
@media (pointer: coarse) { .fadenkreuz { display: none; } }
@media (max-width: 1100px) { .buehne-oben .bo-b { grid-column: 5 / span 4; } }
@media (max-width: 760px) {
  .buehne { height: 300vh; }
  .buehne-oben { top: calc(60px + 22px); }
  .buehne-oben .bo-a { grid-column: 1 / span 6; }
  .buehne-oben .bo-b { display: none; }
  .buehne-oben .bo-c { grid-column: 7 / -1; }
  .bo-c a { padding: 6px 11px; margin: -6px -4px 0 0; }
  .bo-c .pfeil { display: none; }
  .buehne-satz { top: calc(60px + 22px + 66px); font-size: clamp(20px, 5.6vw, 26px); max-width: 11em; }
  .buehne-fenster { left: 4%; right: 4%; top: calc(60px + 22px + 66px + 100px); bottom: 0; }
  .buehne-name { font-size: 23.6vw; line-height: .84; white-space: normal; }
  .bn-zeile { display: block; }
  .buehne-kapitel { grid-column: 1 / span 9; }
  .buehne-punkte { grid-column: 10 / -1; justify-self: end; }
  .buehne-punkte span { width: 12px; }
  .buehne-punkte span.an { width: 24px; }
  .buehne-hinweis { display: none; }
}
@media (prefers-reduced-motion: reduce) { .buehne { height: auto; } .buehne-pin { position: relative; } .js .buehne-name .bz > span { transform: none; } }

/* ── Große Abschnittstitel ────────────────────────────────────────────── */
.gross-titel { font-size: clamp(48px, 8.6vw, 168px) !important; font-weight: 500; letter-spacing: -.048em !important; line-height: .9 !important; margin-left: -.04em; }
.gross-titel sup { font-size: 12px; vertical-align: top; position: relative; top: .5em; margin-left: .8em; letter-spacing: .03em; }

/* ── Projekt-Ticker ───────────────────────────────────────────────────── */
.block-arbeiten { position: relative; padding-top: clamp(110px, 14vw, 220px); padding-bottom: clamp(40px, 5vw, 80px); }
.tk-kopf { align-items: end; margin-bottom: clamp(28px, 3.4vw, 52px); }
.tk-kopf .block-titel { grid-column: 1 / span 9; padding: 0; margin: 0; }
.tk-hinweis { grid-column: 10 / -1; justify-self: end; text-align: right; padding-bottom: .5em; }
.nur-grob { display: none; }
@media (pointer: coarse) { .nur-grob { display: inline; } .nur-fein { display: none; } }
.ticker { overflow: hidden; cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; padding-block: 6px; }
.ticker.zieht { cursor: grabbing; }
.ticker.zieht a { pointer-events: none; }
.tk-band { display: flex; column-gap: var(--gap); list-style: none; margin: 0; padding: 0 0 0 var(--rand); will-change: transform; }
.tk { flex: 0 0 clamp(260px, 26vw, 560px); transition: opacity .6s var(--ease); }
.tk a { display: block; color: inherit; -webkit-user-drag: none; }
.tk-bild { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: radial-gradient(70% 48% at 50% 36%, var(--licht), transparent 72%), var(--kachel); border-radius: 3px; }
.tk-bild img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); -webkit-user-drag: none; pointer-events: none; }
.tk-bild::after { /* Licht, das der Maus folgt */
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .6s; pointer-events: none;
  background: radial-gradient(40% 32% at var(--lx, 50%) var(--ly, 40%), rgba(255, 255, 255, .13), rgba(255, 255, 255, 0) 100%);
  mix-blend-mode: screen;
}
.tk.an .tk-bild::after { opacity: 1; }
.tk a:hover .tk-bild img, .tk a:focus-visible .tk-bild img { transform: scale(1.045); }
.tk-band:hover .tk:not(.an) { opacity: .38; }
.tk-cap { display: grid; grid-template-columns: 2.6em 1fr auto; align-items: baseline; gap: 0 8px; padding-top: 14px; font-size: clamp(15px, 1.1vw, 18px); }
.tk-titel { font-weight: 500; letter-spacing: -.01em; }
.tk-meta { font-size: .86em; text-align: right; }
.tk-nr { font-size: 11px; color: var(--grau-text); transition: color .3s; }
.tk.an .tk-nr { color: var(--akzent); }
@media (max-width: 760px) {
  .tk { flex-basis: 76vw; }
  .tk-kopf .block-titel { grid-column: 1 / -1; }
  .tk-hinweis { grid-column: 1 / -1; justify-self: start; text-align: left; margin-top: 14px; }
  .tk-cap { grid-template-columns: 2.4em 1fr; }
  .tk-meta { grid-column: 2; text-align: left; }
}
.js .ticker[data-einblenden] { opacity: 0; transform: translateY(48px); transition: opacity 1.1s var(--ease), transform 1.4s var(--ease); }
.js .ticker[data-einblenden].sichtbar { opacity: 1; transform: none; }

/* ── Eigener Cursor (nur Maus) ────────────────────────────────────────── */
.cursor { position: fixed; left: 0; top: 0; z-index: 100; pointer-events: none; opacity: 0; transition: opacity .3s; }
.cursor-an .cursor { opacity: 1; }
.cursor-an, .cursor-an a, .cursor-an button, .cursor-an canvas, .cursor-an .ticker, .cursor-an model-viewer { cursor: none !important; }
.cursor-k {
  position: absolute; left: 0; top: 0; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%;
  background: var(--ink); display: grid; place-items: center; overflow: hidden;
  transition: width .45s var(--ease), height .45s var(--ease), margin .45s var(--ease), background .35s, border-color .35s;
  border: 1px solid transparent;
}
.cursor-k span { font-size: 13px; font-weight: 500; color: #0c0c0d; white-space: nowrap; opacity: 0; transform: scale(.6); transition: opacity .25s, transform .45s var(--ease); }
.cursor.link .cursor-k { width: 42px; height: 42px; margin: -21px 0 0 -21px; background: rgba(237, 236, 231, .06); border-color: rgba(237, 236, 231, .55); }
.cursor.label .cursor-k { width: 96px; height: 96px; margin: -48px 0 0 -48px; background: var(--akzent); }
.cursor.label .cursor-k span { opacity: 1; transform: none; }
.cursor.zieht .cursor-k { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgba(237, 236, 231, .06); border-color: rgba(237, 236, 231, .6); }
.cursor.zieht .cursor-k span { opacity: 1; transform: none; color: var(--ink); font-size: 12px; }
.cursor.weg .cursor-k { width: 0; height: 0; margin: 0; }

/* ── Über mich ────────────────────────────────────────────────────────── */
.ueber .block-titel { margin-bottom: clamp(40px, 5vw, 80px); }
.ueber-text .gross { font-size: clamp(34px, 3.9vw, 70px); max-width: 12em; }
[data-lesen] .lw { color: var(--grau); transition: color .5s; }
[data-lesen] .lw.an { color: var(--ink); }
.ueber-bild .bild-box { border-radius: 3px; }
.ueber-bild img { filter: grayscale(.9) contrast(1.04); transition: filter 1.2s var(--ease), transform 1.8s var(--ease) !important; }
.ueber-bild:hover img { filter: none; }
.ueber-fakten dt, .p-fakten dt, .b-text > h2, .b-clip-text-body h2 { font-family: var(--mono); font-size: 11.5px; font-weight: 400; letter-spacing: .03em; text-transform: uppercase; }
.ueber-werkzeuge span { border-color: var(--linie); color: var(--ink-2); }

/* ── Kontakt ──────────────────────────────────────────────────────────── */
.kontakt { position: relative; }
.kontakt::before { /* warmer Schein hinter dem Knopf */
  content: ""; position: absolute; right: -10%; bottom: -20%; width: 60vw; height: 60vw; pointer-events: none; z-index: -1;
  background: radial-gradient(closest-side, rgba(255, 75, 31, .13), rgba(255, 75, 31, 0));
}
.kontakt .block-titel { margin-bottom: clamp(24px, 3vw, 44px); }
.kontakt-raster { align-items: end; row-gap: clamp(36px, 4vw, 60px); }
.kontakt-lead { grid-column: 1 / span 9 !important; font-size: clamp(48px, 8.4vw, 164px) !important; line-height: .92 !important; letter-spacing: -.048em !important; margin-left: -.04em; }
.cta-rund {
  grid-column: 10 / -1; justify-self: end; position: relative;
  width: clamp(150px, 13vw, 230px); aspect-ratio: 1; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center;
  background: var(--akzent); color: #0c0c0d; font-size: clamp(16px, 1.25vw, 20px); font-weight: 500; line-height: 1.1;
  transition: transform .6s var(--ease), box-shadow .5s; will-change: transform;
  box-shadow: 0 20px 60px -20px rgba(255, 75, 31, .6);
}
.cta-rund:hover { box-shadow: 0 24px 80px -16px rgba(255, 75, 31, .8); }
.cta-rund-pfeil { font-size: 1.5em; line-height: 1; transition: transform .5s var(--ease); }
.cta-rund:hover .cta-rund-pfeil { transform: rotate(45deg); }
.kontakt-aktion { grid-column: 1 / -1; border-top: 1px solid var(--linie); padding-top: 20px; }
.kontakt-aktion .mail { font-size: clamp(17px, 1.3vw, 20px); }
.kopieren { color: var(--ink); }
@media (max-width: 760px) {
  .kontakt-lead { grid-column: 1 / -1 !important; }
  .cta-rund { grid-column: 1 / -1; justify-self: start; width: 150px; }
}

/* ── Projektseiten ────────────────────────────────────────────────────── */
.p-zurueck .grau { font-family: var(--mono); font-size: 12px; letter-spacing: .03em; }
.p-hero .bild-box, .fig .zoom, .tk-bild, .film-box, .clip-box { border-radius: 3px; }
.p-weiter a { border-radius: 3px; }
.p-weiter-text .grau { font-family: var(--mono); font-size: 12px; letter-spacing: .03em; text-transform: uppercase; color: rgba(255, 255, 255, .75); }
.p-weiter-titel { transition: color .4s; }
.p-weiter a:hover .p-weiter-titel { color: var(--akzent); }
.fuss { border-top-color: var(--linie); }

/* Nächstes Projekt: dunkle Fläche, Titel links, Objektbild rechts */
.p-weiter a { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 34%); align-items: stretch; background: var(--flaeche); color: var(--ink); }
.p-weiter-text { position: static; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; padding: clamp(20px, 3vw, 48px); }
.p-weiter-text .grau { color: var(--grau-text); }
.p-weiter-titel { font-size: clamp(44px, 7.4vw, 140px); }
.p-weiter-pfeil { display: inline-block; margin-left: .25em; font-weight: 400; transition: transform .6s var(--ease); }
.p-weiter a:hover .p-weiter-pfeil { transform: translateX(.18em); }
.p-weiter-meta { font-size: 15px; color: var(--grau-text); }
.p-weiter-bild { aspect-ratio: 4 / 5; }
.p-weiter-bild::after { display: none; }
@media (max-width: 760px) {
  .p-weiter a { grid-template-columns: 1fr; }
  .p-weiter-bild { order: -1; aspect-ratio: 4 / 5; }
}

/* ==========================================================================
   v11 – ruhiger: kein Korn, kein Leuchten, keine Technik-Spielereien.
   Beschriftungen in normaler Schrift, Knöpfe schlicht, Farben aus den Materialien.
   ========================================================================== */
body::after { display: none; }
.mono, .ueber-fakten dt, .p-fakten dt, .b-text > h2, .b-clip-text-body h2, .p-zurueck .grau, .p-weiter-text .grau {
  font-family: inherit; text-transform: none; letter-spacing: -.003em; font-size: 14px;
}
.buehne-oben .mono { font-size: 14px; line-height: 1.4; }
.bo-c a { border-color: var(--linie); }
.bo-c a:hover { border-color: var(--ink); background: transparent; }
.fadenkreuz { display: none !important; }
.buehne-pin::before { opacity: 1; }
[data-lesen] .lw { color: inherit !important; }
.ueber-bild img { filter: none; }
.kontakt::before { display: none; }
.cta-rund {
  width: auto; aspect-ratio: auto; border-radius: 99px; flex-direction: row; gap: 14px; padding: 20px 30px;
  background: var(--ink); color: var(--auf-ink); box-shadow: none; transform: none !important; align-self: end;
}
.cta-rund br { display: none; }
.cta-rund:hover { box-shadow: none; background: var(--akzent); }
.cta-rund-pfeil { font-size: 1em; }
.tk-band:hover .tk:not(.an) { opacity: .55; }
.tk.an .tk-bild::after { opacity: .6; }
.tk.an .tk-nr { color: var(--ink); }
.punkt { animation: none; }
.film-dreieck::after { border-left-color: var(--auf-ink) !important; }
.film-dreieck { background: var(--ink); }
.buehne-punkte span.an { background: var(--ink); }
@media (max-width: 760px) { .cta-rund { width: 100%; justify-content: space-between; } }

/* ==========================================================================
   v12 – klar gegliedert: Einstieg (Name, Satz, Objekt) · Projekte auf dunkler Bühne · Über mich · Kontakt
   ========================================================================== */
.kopf-zeit { display: none; }
.menue-knopf { margin-left: auto; }
.marke { padding-right: 14px; }

/* Einstieg: genau ein Bildschirm, nichts klebt fest */
.held { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; }
.held::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(42% 52% at 50% 40%, var(--licht), transparent 72%); }
.held .buehne-canvas { opacity: 0; transition: opacity 1.8s var(--ease); }
.held.geladen .buehne-canvas { opacity: 1; }
.held.zieht .buehne-canvas { cursor: grabbing; }
.held.ohne-3d .buehne-canvas { display: none; }
.held .buehne-fenster { left: 26%; right: 26%; top: calc(64px + 5vh); bottom: 0; }
.held-zeile { align-items: end; margin-bottom: clamp(12px, 1.6vw, 26px); }
.held-satz { grid-column: 1 / span 5; font-size: clamp(18px, 1.45vw, 26px); line-height: 1.22; letter-spacing: -.016em; font-weight: 500; max-width: 17em; pointer-events: auto; }
.held .buehne-kapitel { grid-column: 9 / -1; height: 1.5em; font-size: clamp(15px, 1.1vw, 18px); }
.held .buehne-kapitel li { display: flex; justify-content: flex-end; }
.held .buehne-kapitel a { gap: 10px; }
@media (max-width: 760px) {
  .held .buehne-fenster { left: 5%; right: 5%; top: 86px; }
  .held-satz { grid-column: 1 / -1; font-size: 19px; }
  .held .buehne-kapitel { grid-column: 1 / -1; margin-top: 14px; }
  .held .buehne-kapitel li { justify-content: flex-start; }
}

/* Projekte: dunkle Bühne als eigene Fläche */
.block-arbeiten {
  --kachel: #1c1c1e; --licht: rgba(255, 255, 255, .1); --grau-text: #8e8d87; --linie: #2b2b2d; --flaeche: #26262a; --ink: #ecebe6;
  background: #141415; color: var(--ink);
  margin: clamp(10px, 1.4vw, 24px) clamp(6px, .8vw, 12px) 0; border-radius: clamp(18px, 2vw, 30px);
  padding-top: clamp(72px, 8vw, 140px); padding-bottom: clamp(56px, 6vw, 110px); overflow: hidden;
}
.block-arbeiten .tk-kopf { margin-bottom: clamp(32px, 4vw, 64px); }
.block-arbeiten .gross-titel sup { font-size: 14px; color: var(--grau-text); font-family: inherit; text-transform: none; letter-spacing: 0; }
.tk-bild img { transition: none; }
.tk a:hover .tk-bild img, .tk a:focus-visible .tk-bild img { transform: none; }
.tk-bild::after { display: none; }
.tk-objekt { position: absolute; inset: 0; transition: transform .9s var(--ease); will-change: transform; }
.tk-objekt img { width: 100%; height: 100%; object-fit: cover; }
.tk-schatten {
  position: absolute; left: var(--sx); top: var(--sy); width: var(--sb); height: 3.4%;
  transform: translate(-50%, -50%); border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0, 0, 0, .8), rgba(0, 0, 0, .35) 55%, rgba(0, 0, 0, 0));
  transition: transform .9s var(--ease), opacity .9s var(--ease);
}
/* Zeigen: Objekt hebt ab, Schatten wird kleiner und weicher */
.ticker.fertig .tk a:hover .tk-objekt, .ticker.fertig .tk a:focus-visible .tk-objekt { transform: translateY(-5%) rotate(-1.5deg); }
.ticker.fertig .tk a:hover .tk-schatten, .ticker.fertig .tk a:focus-visible .tk-schatten { transform: translate(-50%, -50%) scale(.72); opacity: .5; }
.tk-band:hover .tk:not(.an) { opacity: .45; }
/* Hereinkommen: Objekte fallen nacheinander auf ihren Schatten */
.js .ticker:not(.da) .tk-objekt { transform: translateY(-70%); opacity: 0; }
.js .ticker:not(.da) .tk-schatten { transform: translate(-50%, -50%) scale(.2); opacity: 0; }
.js .ticker:not(.da) .tk-cap { opacity: 0; transform: translateY(12px); }
.js .ticker.da:not(.fertig) .tk-objekt { transition: transform 1.15s cubic-bezier(.3, 1.32, .5, 1) calc(var(--i) * .11s), opacity .35s ease calc(var(--i) * .11s); }
.js .ticker.da:not(.fertig) .tk-schatten { transition: transform 1.15s cubic-bezier(.3, 1.32, .5, 1) calc(var(--i) * .11s + .12s), opacity .8s ease calc(var(--i) * .11s + .12s); }
.tk-cap { transition: opacity .8s var(--ease) calc(var(--i) * .11s + .35s), transform .9s var(--ease) calc(var(--i) * .11s + .35s); }
.ticker.fertig .tk-cap { transition: none; }
.tk-nr { font-size: 13px; color: var(--grau-text); }
.tk-meta { color: var(--grau-text); }
.tk.an .tk-nr { color: var(--ink); }
.block-arbeiten .tag { background: #26262a; color: #b9b8b2; }
@media (prefers-reduced-motion: reduce) {
  .js .ticker .tk-objekt, .js .ticker .tk-schatten, .js .ticker .tk-cap { opacity: 1 !important; transform: none !important; }
  .js .ticker .tk-schatten { transform: translate(-50%, -50%) !important; }
}

/* Einzelbild im Hoch-/Quadratformat: mittig, höchstens ~600 px breit */
.b-schmal { padding-inline: max(var(--rand), calc(50% - 300px)); }

/* ==========================================================================
   Kurz zu mir (Startseite, zwischen Einstieg und Projekten):
   Satz links, rechts Moritz freigestellt. Er steht hinter der dunklen Projekt-Bühne und taucht beim Scrollen auf
   (--p 0 → 1 aus main.js). Unteres Bilddrittel liegt immer unter der Bühne (dort endet das Foto seitlich).
   ========================================================================== */
.ich { position: relative; z-index: 1; padding-top: clamp(110px, 16vh, 200px); }
.ich-raster { align-items: end; }
.ich-text { grid-column: 1 / span 7; align-self: center; padding-bottom: clamp(20px, 4vh, 60px); }
.ich-satz { font-size: clamp(28px, 3.2vw, 62px); font-weight: 500; line-height: 1.08; letter-spacing: var(--lw-gross); text-wrap: pretty; color: var(--ink); }
.ich-satz .grau { color: var(--grau); }
.ich-mehr { display: inline-block; margin-top: clamp(28px, 3.4vw, 52px); font-size: 15px; color: var(--grau-text); transition: color .25s; }
.ich-mehr:hover { color: var(--ink); }
.ich-bild { grid-column: 8 / -1; position: relative; margin: 0; aspect-ratio: 1333 / 870; }
.ich-bild::before {   /* weiches Licht hinter dem Kopf, damit das Foto im Raum steht statt aufgeklebt */
  content: ""; position: absolute; inset: -18% -22% -10%; pointer-events: none;
  background: radial-gradient(46% 52% at 50% 52%, var(--licht), transparent 72%);
}
.ich-bild img {
  position: absolute; left: 0; top: 0; width: 100%; height: auto;
  transform: translateY(calc((1 - var(--p, 1)) * 34% - 12%)); will-change: transform;   /* -12 %: höher, mehr Oberkörper sichtbar */
}
.block-arbeiten { z-index: 2; }
@media (max-width: 760px) {
  .ich-text { grid-column: 1 / -1; padding-bottom: 36px; }
  .ich-satz { font-size: clamp(28px, 8.4vw, 40px); line-height: 1.1; }
  .ich-bild { grid-column: 2 / -1; }
}

/* Zeilen nach Sinn umbrechen, solange Platz ist; auf schmalen Schirmen fließt der Satz frei */
@media (min-width: 1100px) { .ich-satz .z { display: block; } }

/* Link im Fließtext (z. B. Vision 360 unter „Über mich“) */
.text-link { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .18em; transition: color .2s, text-decoration-color .2s; }
.text-link:hover { text-decoration-color: transparent; }

/* ── Intro beim ersten Besuch: Strich → Punkte → Gefäß, dann Name, dann der Rest ── */
.vorspann .held .buehne-canvas { transition: none; }
.held::before { transition: opacity 2s var(--ease); }
.vorspann:not(.vorspann-ende) .held::before { opacity: 0; }
.vorspann .buehne-name .bz > span { transform: none !important; opacity: 0; transition: opacity .38s var(--ease) calc(var(--i) * .028s) !important; }
.vorspann.vorspann-name .buehne-name .bz > span { opacity: 1; }
.vorspann:not(.vorspann-ende) .kopf { opacity: 0; transform: translateY(-18px); }
.vorspann .kopf { transition: transform .9s var(--ease), opacity .9s var(--ease); }
.held-zeile { transition: opacity .9s var(--ease); }
.vorspann:not(.vorspann-ende) .held-zeile { opacity: 0; }
.vorspann:not(.vorspann-ende) .held-satz .w > span { transform: translateY(110%) !important; }

/* ==========================================================================
   Handy aufgeräumt (nur bis 760 px): ruhigere Abstände, Projekte als Raster, Foto im Rahmen
   ========================================================================== */
@media (max-width: 760px) {
  :root { --abstand: 96px; }
  /* Kurz zu mir: Foto als ruhige Kachel statt halb unter der Projekt-Bühne */
  .ich { padding-top: 88px; padding-bottom: 12px; }
  .ich-text { padding-bottom: 28px; }
  .ich-satz { font-size: clamp(26px, 7.6vw, 34px); }
  .ich-mehr { margin-top: 22px; }
  .ich-bild { grid-column: 1 / -1; aspect-ratio: 1 / .92; overflow: hidden; border-radius: 18px; background: radial-gradient(60% 55% at 50% 38%, var(--licht), transparent 75%), var(--flaeche); }
  .ich-bild::before { display: none; }
  .ich-bild img { left: 50%; top: auto; bottom: 0; width: 76%; transform: translateX(-50%) !important; will-change: auto; }
  /* Projekte: großes erstes Projekt, darunter zwei Spalten */
  .block-arbeiten { margin-top: 12px; padding-top: 56px; padding-bottom: 40px; border-radius: 22px; }
  .block-arbeiten .tk-kopf { margin-bottom: 24px; }
  .ticker.als-raster { overflow: visible; cursor: auto; touch-action: auto; user-select: auto; -webkit-user-select: auto; padding-block: 0; }
  .als-raster .tk-band { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 10px; padding: 0 var(--rand); transform: none !important; will-change: auto; }
  .als-raster .tk { flex: none; min-width: 0; }
  .als-raster .tk:first-child { grid-column: 1 / -1; }
  .als-raster .tk-bild { border-radius: 10px; }
  .als-raster .tk-cap { grid-template-columns: 1.9em 1fr; gap: 1px 4px; padding-top: 10px; font-size: 14.5px; line-height: 1.25; }
  .als-raster .tk-nr { font-size: 11px; }
  .als-raster .tk-meta { font-size: 12.5px; }
  .als-raster .tag { font-size: 10px; padding: 2px 6px 1px; vertical-align: 1px; }
  .als-raster .tk:first-child .tk-cap { font-size: 16px; }
  .tk-band:hover .tk:not(.an) { opacity: 1; }
  /* Über mich, Kontakt: weniger Leerraum */
  .ueber .block-titel { margin-bottom: 28px; }
  .ueber-bild .bild-box { border-radius: 18px; }
  .ueber-raster > .ueber-text { margin-top: 36px; }
  .ueber-fakten { margin-top: 32px; }
  .kontakt .block-titel { margin-bottom: 18px; }
  .kontakt-raster { row-gap: 28px; }
  .kontakt-aktion .kontakt-mail { gap: 12px 14px; }
  .fuss { margin-top: 72px; }
}
