/* hahn.mg · weißer Look: Schwarz, Grau #b8b8b8, Linien #ececec, Neuzeit Grotesk */

:root {
  --schwarz: #000;
  --grau: #b8b8b8;
  --linie: #ececec;
  --weiss: #fff;
  --schrift: 'neuzeit-grotesk', 'Helvetica Neue', Arial, sans-serif;
  /* Seitenrand; auf breiten Monitoren wächst er mit, damit der Inhalt höchstens ~1760 px breit wird
     und nichts über seine echte Pixelgröße hochskaliert */
  --rand: max(clamp(20px, 4vw, 64px), calc((100vw - 1760px) / 2));
  --radius: clamp(10px, 1.2vw, 20px);
  --schatten:
    0 1px 2px rgba(0, 0, 0, .04),
    0 6px 16px rgba(0, 0, 0, .06),
    0 24px 48px -12px rgba(0, 0, 0, .14),
    0 60px 120px -40px rgba(0, 0, 0, .18);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --glas: rgba(255, 255, 255, .96);
  --glas-leiste: rgba(255, 255, 255, .92);
  color-scheme: light;
}

/* Dunkel: automatisch nach Systemeinstellung, per Hahn-Schalter überschreibbar (data-thema) */
:root[data-thema="dunkel"] {
  --schwarz: #f2f2ef; --weiss: #0c0c0c; --grau: #7a7a7a; --linie: #1f1f1f;
  --glas: rgba(12, 12, 12, .95); --glas-leiste: rgba(24, 24, 24, .9);
  --schatten: 0 1px 2px rgba(0, 0, 0, .3), 0 24px 60px -20px rgba(0, 0, 0, .7);
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-thema="hell"]) {
    --schwarz: #f2f2ef; --weiss: #0c0c0c; --grau: #7a7a7a; --linie: #1f1f1f;
    --glas: rgba(12, 12, 12, .95); --glas-leiste: rgba(24, 24, 24, .9);
    --schatten: 0 1px 2px rgba(0, 0, 0, .3), 0 24px 60px -20px rgba(0, 0, 0, .7);
    color-scheme: dark;
  }
}
/* Wechsel als Kreis, der sich vom Schalter aus öffnet (View Transitions, sonst sofort) */
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  transition: background-color .4s, color .4s;
  background: var(--weiss);
  color: var(--schwarz);
  font-family: var(--schrift);
  font-size: clamp(15px, .95vw, 17px);
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; }

:focus-visible { outline: 2px solid var(--schwarz); outline-offset: 4px; border-radius: 4px; }

.skip {
  position: fixed; left: var(--rand); top: -100px; z-index: 100;
  background: var(--schwarz); color: var(--weiss); padding: .6em 1em; border-radius: 999px;
}
.skip:focus { top: 16px; }

/* Kopf ----------------------------------------------------------------- */

.kopf {
  position: fixed; inset: 0 0 auto; z-index: 50;
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px var(--rand);
  color: #fff;
  pointer-events: none;
}
/* Über dem Foto schlicht weiß, danach invertiert über allem */
.kopf:not(.ist-unten) a:not(.knopf) { text-shadow: 0 1px 14px rgba(0, 0, 0, .55); }
.kopf.ist-unten { mix-blend-mode: difference; }
.kopf a { pointer-events: auto; }
/* Name und Kopf-CTA erst, wenn das Foto mit seinem eigenen CTA aus dem Bild ist: nie zwei Knöpfe zugleich */
.kopf__marke, .kopf .knopf, .kopf .thema { opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s .3s, transform .3s; }
.kopf__marke { font-weight: 900; letter-spacing: -.01em; }
.kopf .knopf { transform: translateY(-8px); }
.kopf.ist-unten .kopf__marke, .kopf.ist-unten:not(.bei-kontakt) .knopf, .kopf.ist-unten .thema { opacity: 1; visibility: visible; transform: none; transition: opacity .3s, visibility 0s, transform .3s; }
.kopf__nav { display: flex; align-items: center; gap: 28px; }

/* Knöpfe */
.knopf {
  display: inline-flex; align-items: center; gap: .5em;
  padding: .78em 1.35em; border-radius: 999px;
  background: var(--weiss); color: var(--schwarz); font-weight: 900; line-height: 1;
}
/* Icons: Font Awesome Pro 7 (regular), als Maske in Schriftfarbe */
:root { --fa-pfeil: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M505 273c9.4-9.4 9.4-24.6 0-33.9L337 71c-9.4-9.4-24.6-9.4-33.9 0s-9.4 24.6 0 33.9l127 127-406.1 0c-13.3 0-24 10.7-24 24s10.7 24 24 24l406.1 0-127 127c-9.4 9.4-9.4 24.6 0 33.9s24.6 9.4 33.9 0L505 273z'/%3E%3C/svg%3E"); --fa-extern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 384 512'%3E%3Cpath d='M360 64c13.3 0 24 10.7 24 24l0 240c0 13.3-10.7 24-24 24s-24-10.7-24-24l0-182.1-295 295c-9.4 9.4-24.6 9.4-33.9 0S-2.3 416.4 7 407l295-295-182.1 0c-13.3 0-24-10.7-24-24s10.7-24 24-24l240 0z'/%3E%3C/svg%3E"); --fa-zu: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 384 512'%3E%3Cpath d='M7.5 105c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l151 151 151-151c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9l-151 151 151 151c9.4 9.4 9.4 24.6 0 33.9s-24.6 9.4-33.9 0l-151-151-151 151c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9l151-151-151-151z'/%3E%3C/svg%3E"); --fa-runter: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath d='M207.5 409c9.4 9.4 24.6 9.4 33.9 0l200-200c9.4-9.4 9.4-24.6 0-33.9s-24.6-9.4-33.9 0l-183 183-183-183c-9.4-9.4-24.6-9.4-33.9 0s-9.4 24.6 0 33.9l200 200z'/%3E%3C/svg%3E"); }
.knopf::after { content: ""; flex: none; width: .82em; height: .82em; background: currentColor; -webkit-mask: var(--fa-pfeil) center / contain no-repeat; mask: var(--fa-pfeil) center / contain no-repeat; transition: transform .25s; }
.knopf:hover::after { transform: translateX(3px); }
.knopf--klein { padding: .62em 1.05em; font-size: .92em; }
.knopf--klein::after { content: none; }
.knopf--gross { background: var(--schwarz); color: var(--weiss); font-size: clamp(18px, 1.5vw, 24px); }
.kopf .knopf, .hero .knopf { background: #fff; color: #000; }

/* Hahn-Schalter: Spur mit Sonne und Mond, der Hahn läuft hinüber und schläft nachts */
.thema {
  position: relative; display: inline-flex; align-items: center; justify-content: space-between;
  --h: 2.24em; --k: calc(var(--h) - 7px);
  font-size: .92em; width: calc(var(--h) * 1.95); height: var(--h); padding: 0 .55em; border-radius: 999px;
  border: 1.5px solid currentColor; color: inherit; cursor: pointer; pointer-events: auto;
  -webkit-tap-highlight-color: transparent;
}
.thema__sonne, .thema__mond { width: .9em; height: .9em; fill: currentColor; opacity: .7; transition: opacity .3s, transform .5s var(--ease); }
.thema__knopf {
  position: absolute; top: 2px; left: 2px; width: var(--k); height: var(--k); border-radius: 50%;
  background: currentColor; display: grid; place-items: center;
  transition: transform .6s cubic-bezier(.5, -0.4, .3, 1.5);
}
.hahn { width: 72%; height: 72%; fill: #000; color: #000; transform-origin: 50% 85%; transition: transform .4s var(--ease); }
.hahn__kopf { transform-origin: 15px 9px; transition: transform .4s var(--ease); }
.hahn__schlaf { display: none; }
.thema__z { position: absolute; right: -2px; top: -9px; font-size: 10px; font-weight: 900; color: currentColor; opacity: 0; }
.thema__ruf {
  position: absolute; top: calc(100% + 10px); right: -6px; padding: .35em .7em; border-radius: 999px;
  background: #fff; color: #000; font-size: 12px; font-weight: 900; white-space: nowrap; opacity: 0; transform: scale(.6) translateY(-6px);
  transform-origin: 85% 0; pointer-events: none;
}
.thema:hover .hahn { animation: picken .7s ease-in-out; }
.thema.kraeht .thema__ruf { animation: rufen 1.4s var(--ease); }
.thema.kraeht .hahn__kopf { animation: kraehen .5s ease-in-out 2; }
.thema.huepft .thema__knopf .hahn { animation: huepfen .6s var(--ease); }
/* Dunkel: Hahn rechts, schaut zurück, Augen zu, kleine z steigen auf */
.thema[aria-pressed="true"] .thema__knopf { transform: translateX(calc(var(--h) * .95)); }
.thema[aria-pressed="true"] .hahn { transform: scaleX(-1); }
.thema[aria-pressed="true"] .hahn__kopf { transform: rotate(14deg) translateY(.6px); }
.thema[aria-pressed="true"] .hahn__wach { display: none; }
.thema[aria-pressed="true"] .hahn__schlaf { display: inline; }
.thema[aria-pressed="true"] .thema__z { animation: schnarchen 2.4s ease-in-out infinite 1s; }
.thema[aria-pressed="true"] .thema__mond { opacity: 0; transform: rotate(-40deg) scale(.5); }
.thema[aria-pressed="false"] .thema__sonne { opacity: 0; transform: rotate(90deg) scale(.5); }
.thema[aria-pressed="true"]:hover .hahn { animation: none; }
@keyframes picken { 0%, 100% { transform: rotate(0); } 25%, 65% { transform: rotate(18deg); } 45%, 85% { transform: rotate(4deg); } }
@keyframes kraehen { 50% { transform: rotate(-22deg); } }
@keyframes huepfen { 40% { translate: 0 -9px; } }
@keyframes rufen { 0% { opacity: 0; transform: scale(.6) translateY(-6px); } 15%, 75% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(-4px); } }
@keyframes schnarchen { 0% { opacity: 0; transform: translate(0, 4px) scale(.7); } 30% { opacity: 1; } 100% { opacity: 0; transform: translate(6px, -8px) scale(1.2); } }


/* Hero ----------------------------------------------------------------- */

.hero {
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 0 var(--rand) clamp(40px, 8vh, 96px);
  position: relative; overflow: hidden; isolation: isolate;
  color: #fff;
}
/* Foto über die ganze Fläche: unten schwarzweiß, darüber die Farbe, die sich per Maske öffnet */
.hero__bild { position: absolute; inset: 0; z-index: -1; background: #1a1a1a; }
.hero__foto, .hero__foto img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__foto img { object-fit: cover; object-position: 59% 38%; }
.hero__foto--grau img { filter: grayscale(1) contrast(1.12) brightness(.92); }
.hero__foto--farbe {
  --r: 0%; --x: 59%; --y: 42%;
  -webkit-mask-image: radial-gradient(circle at var(--x) var(--y), #000 var(--r), transparent calc(var(--r) + 18%));
  mask-image: radial-gradient(circle at var(--x) var(--y), #000 var(--r), transparent calc(var(--r) + 18%));
}
/* Abdunklung unten, damit die Schrift lesbar bleibt */
.hero__bild::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, .55), rgba(0, 0, 0, 0) 55%), linear-gradient(to bottom, rgba(0, 0, 0, .25), rgba(0, 0, 0, 0) 18%);
}
/* Filmkorn */
.hero__rauschen {
  position: absolute; inset: -50%; z-index: 1; pointer-events: none; opacity: .16; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 1.6 -.3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: korn .9s steps(6) infinite;
}
@keyframes korn {
  0% { transform: translate(0, 0); } 17% { transform: translate(-6%, 4%); } 33% { transform: translate(5%, -7%); }
  50% { transform: translate(-3%, 8%); } 67% { transform: translate(8%, 2%); } 83% { transform: translate(-7%, -4%); }
}
.hero__titel {
  margin: 0;
  font-size: clamp(44px, 7.2vw, 132px);
  font-weight: 900; line-height: .9; letter-spacing: -.035em;
}
.hero__unter { margin: 1.2em 0 0; font-size: clamp(16px, 1.25vw, 21px); }
.hero__zeit {
  display: flex; align-items: center; gap: 16px;
  margin: .3em 0 0; color: rgba(255, 255, 255, .6); font-size: clamp(16px, 1.25vw, 21px);
}
.hero__zeit i { display: block; width: clamp(60px, 12vw, 220px); height: 1px; background: currentColor; transform-origin: left; }
.hero__aktion { display: flex; align-items: baseline; flex-wrap: wrap; gap: 14px 26px; margin: clamp(22px, 3.5vh, 40px) 0 0; }
.hero__mehr { color: rgba(255, 255, 255, .85); text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .45); text-decoration-thickness: 1px; text-underline-offset: 5px; }
.hero__hinweis {
  position: absolute; right: var(--rand); bottom: clamp(40px, 8vh, 96px); margin: 0;
  color: rgba(255, 255, 255, .6); font-size: 14px; writing-mode: vertical-rl;
}

/* Wörter und Buchstaben für die Einblendung */
.split-wort { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .06em; margin-bottom: -.06em; }
.split-zeichen { display: inline-block; will-change: transform; }

/* Werdegang ------------------------------------------------------------ */

.werdegang { padding: clamp(60px, 14vh, 180px) var(--rand); }
.werdegang ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--linie); }
.werdegang li {
  display: grid; grid-template-columns: minmax(120px, 22%) 1fr; gap: 24px;
  padding: 18px 0; border-bottom: 1px solid var(--linie);
  font-size: clamp(15px, 1.1vw, 19px); font-weight: 900;
}
.werdegang li span { color: var(--grau); font-weight: 400; }

/* Timeline gemeinsam ------------------------------------------------------ */

.timeline { position: relative; }

.werk { position: relative; margin: 0; }
.werk__karte {
  display: block; width: 100%;
  border-radius: var(--radius); overflow: hidden;
  background: var(--linie);
  box-shadow: var(--schatten);
  cursor: zoom-in;
  transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s;
}
.werk__karte img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 0%;
}
.werk__karte { aspect-ratio: var(--ar, 16 / 10); }
.werk--mobile .werk__karte, .werk__teil--mobile .werk__karte { border-radius: clamp(6px, .55vw, 10px); }
@media (hover: hover) { .werk__karte:hover { transform: translateY(-6px); } }

/* Serie: gleich hohe Karten in einer Reihe, jede zweite etwas tiefer */
.werk__reihe { display: flex; align-items: flex-start; gap: clamp(14px, 2vw, 32px); }
.werk__reihe > .werk__auftritt { flex-basis: 0; min-width: 0; }
.werk__reihe > .werk__auftritt:nth-child(even) { margin-top: clamp(24px, 5vw, 80px); }
/* Bühne: Hauptbild links, daneben versetzt die übrigen Bilder in ihrem echten Format */
.werk__reihe--buehne { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); align-items: start; }
.werk__reihe--buehne > .werk__auftritt:nth-child(even) { margin-top: 0; }
.werk__buehne-haupt { min-width: 0; }
.werk__buehne-neben { display: flex; flex-wrap: wrap; align-items: flex-start; gap: clamp(14px, 2vw, 32px); }
.werk__buehne-neben > .werk__auftritt { flex: 1 1 100%; min-width: 0; }
.werk__buehne-neben > .werk__teil--mobile { flex: 0 1 calc(50% - clamp(7px, 1vw, 16px)); }

.werk figcaption { margin-top: 14px; font-size: .92em; display: flex; flex-direction: column; gap: 2px; }
.werk figcaption strong { font-weight: 900; }
.werk figcaption span { color: var(--grau); }
.werk__extra { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-top: 6px; }
.werk__anteil { color: var(--grau); font-size: .86em; letter-spacing: .02em; }
.werk__partner, .werk figcaption .werk__partner { display: inline-flex; align-items: center; gap: .35em; padding: .28em .8em .3em; border: 1px solid currentColor; border-radius: 999px; color: var(--schwarz); font-size: .86em; font-weight: 700; text-decoration: none; line-height: 1.2; transition: background .2s, color .2s; }
.werk__partner .werk__mit, .werk figcaption .werk__partner .werk__mit { color: inherit; font-weight: 400; opacity: .6; }
.werk__partner .werk__pfeil, .werk figcaption .werk__partner .werk__pfeil { flex: none; width: .72em; height: .72em; background: currentColor; -webkit-mask: var(--fa-extern) center / contain no-repeat; mask: var(--fa-extern) center / contain no-repeat; transition: transform .2s; }
a.werk__partner:hover { background: var(--schwarz); color: var(--weiss); }
a.werk__partner:hover .werk__pfeil { transform: translate(2px, -2px); }
span.werk__partner { border-style: dashed; }
.gross__text .werk__extra { display: inline-flex; margin: 0 0 0 12px; vertical-align: middle; }
.notiz .werk__extra { margin-top: 8px; }

.notiz { margin: 0; max-width: 34em; }
.notiz strong { font-weight: 900; display: block; }
.notiz span { color: var(--grau); }
.notiz--meilenstein strong { font-size: clamp(22px, 2.2vw, 38px); letter-spacing: -.015em; line-height: 1.05; }
.notiz--meilenstein span { font-size: clamp(15px, 1.1vw, 19px); }

.jahresmarke {
  font-weight: 900; color: var(--linie);
  font-size: clamp(90px, 13vw, 240px); line-height: .8; letter-spacing: -.05em;
  pointer-events: none; user-select: none;
}

.timeline__spur {
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: clamp(16px, 2vw, 32px);
  padding: 0 var(--rand) 20vh;
}
.timeline__spur > * { grid-column: 1 / -1; }
.timeline__spur > .werk, .timeline__spur > .notiz { grid-column: var(--spalte); }
.jahresmarke { margin: 10vh 0 -4vw; z-index: 0; }
.werk, .notiz { z-index: 1; margin-top: clamp(40px, 9vh, 120px); }
.notiz + .notiz { margin-top: 20px; }

/* Jahresanzeige und Leiste ------------------------------------------------- */

.jahr {
  position: fixed; left: var(--rand); bottom: 18px; z-index: 40;
  font-weight: 900; font-size: clamp(20px, 1.8vw, 30px); letter-spacing: -.02em; line-height: 1;
  opacity: 0; visibility: hidden;
}
.jahr__knopf {
  display: inline-flex; align-items: center; gap: .3em; margin: -.35em -.5em; padding: .35em .5em; border-radius: .4em;
  font-weight: 900; cursor: pointer; transition: background .2s;
}
.jahr__knopf:hover, .jahr__knopf[aria-expanded="true"] { background: var(--glas-leiste); }
.jahr__pfeil { width: .42em; height: .42em; background: currentColor; -webkit-mask: var(--fa-runter) center / contain no-repeat; mask: var(--fa-runter) center / contain no-repeat; transform: rotate(180deg); transition: transform .3s var(--ease); opacity: .5; }
.jahr__knopf[aria-expanded="true"] .jahr__pfeil { transform: none; }
.jahr__liste {
  position: absolute; left: -12px; bottom: calc(100% + 16px);
  display: grid; grid-template-columns: repeat(4, auto); gap: 2px 4px; padding: 10px;
  border-radius: 16px; background: var(--glas-leiste); backdrop-filter: blur(14px); box-shadow: var(--schatten);
  font-size: 15px; letter-spacing: 0;
}
.jahr__liste[hidden] { display: none; }
.jahr__liste a { padding: .45em .6em; border-radius: 8px; color: var(--grau); transition: color .2s, background .2s; }
.jahr__liste a:hover, .jahr__liste a:focus-visible { color: var(--schwarz); background: var(--linie); }
.jahr__liste a.aktiv { color: var(--schwarz); }
.jahr__ziffern { display: flex; height: 1em; overflow: hidden; }
.jahr__ziffer { display: block; height: 1em; overflow: hidden; }
.jahr__band { display: flex; flex-direction: column; }
.jahr__band span { height: 1em; display: block; }

.leiste {
  position: fixed; right: calc(var(--rand) - 40px); top: 50%; z-index: 40;
  transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 0;
  opacity: 0; visibility: hidden;
  font-size: 11px; line-height: 1;
}
.leiste a { display: flex; align-items: center; justify-content: flex-end; gap: 8px; color: var(--grau); padding: 3px 0 3px 16px; transition: color .3s; }
.leiste a:hover { color: var(--schwarz); }
.leiste a::after { content: ''; width: 10px; height: 1px; background: currentColor; transition: width .4s var(--ease); }
.leiste a span { opacity: 0; transition: opacity .3s; }
.leiste:hover a span, .leiste a.aktiv span { opacity: 1; }
.leiste a.aktiv { color: var(--schwarz); }
.leiste a.aktiv::after { width: 24px; }

/* Kontakt und Fuß ----------------------------------------------------------- */

.kontakt {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(32px, 6vw, 120px); align-items: end;
  padding: clamp(120px, 24vh, 300px) var(--rand) clamp(60px, 12vh, 140px);
  font-size: clamp(17px, 1.3vw, 21px);
}
.kontakt__titel { margin: 0 0 .35em; font-size: clamp(40px, 5vw, 88px); font-weight: 900; line-height: .95; letter-spacing: -.03em; }
.kontakt__text { margin: 0 0 1.6em; color: var(--grau); }
.kontakt__aktion { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 28px; margin: 0; }
.kontakt .knopf--gross { font-size: 1em; }
.kontakt__mail { font-weight: 900; border-bottom: 2px solid currentColor; }
.kontakt address { font-style: normal; color: var(--grau); margin-top: 2.4em; font-size: .8em; }
.kontakt__links { list-style: none; padding: 0; margin: .8em 0 0; display: flex; gap: 24px; flex-wrap: wrap; font-size: .8em; }
.kontakt__foto img { width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--schatten); }

.fuss {
  display: flex; justify-content: space-between; gap: 20px;
  padding: 22px var(--rand) 90px; border-top: 1px solid var(--linie); color: var(--grau); font-size: 14px;
}

/* Großansicht --------------------------------------------------------------- */

.gross {
  width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: var(--glas); backdrop-filter: blur(16px);
}
.gross::backdrop { background: transparent; }
.gross__innen {
  height: 100%; overflow-y: auto; overscroll-behavior: contain;
  padding: 10vh var(--rand) 16vh;
}
.gross__innen img {
  margin: 0 auto; width: auto; height: auto; max-width: min(100%, 1440px);
  border-radius: var(--radius); box-shadow: var(--schatten);
}
.gross__text {
  position: fixed; left: var(--rand); bottom: 22px; margin: 0; max-width: calc(100% - 2 * var(--rand));
  padding: 10px 16px; border-radius: 14px; background: var(--glas-leiste); backdrop-filter: blur(10px);
  box-shadow: 0 6px 30px rgba(0, 0, 0, .08);
}
.gross__text span { color: var(--grau); }
.gross__zu {
  position: fixed; right: var(--rand); top: 18px;
  padding: 10px 18px; border-radius: 999px; background: var(--schwarz); color: var(--weiss); cursor: pointer;
}

/* Mobil ------------------------------------------------------------------- */

@media (max-width: 760px) {
  .kopf__nav { gap: 16px; }
  .kopf__nav a:not(.knopf) { display: none; }
  .leiste { display: none; }
  .werdegang li { grid-template-columns: 1fr; gap: 2px; }
  .timeline__spur > .werk, .timeline__spur > .notiz { grid-column: 1 / -1; }
  .timeline__spur > .werk--mobile { grid-column: 3 / span 8; }
  .timeline__spur > .werk--serie { grid-column: 1 / -1; }
  /* Handy: Bilder einer Serie bündig und mit einem Abstand, die Beschriftung immer darunter */
  .werk__reihe { gap: 10px; }
  .werk__reihe > .werk__auftritt:nth-child(even) { margin-top: 0; }
  .werk__reihe--buehne { grid-template-columns: 1fr; gap: 10px; }
  .werk__buehne-haupt { display: contents; }
  .werk__buehne-haupt > figcaption { order: 3; margin-top: 4px; } /* + 10px Raster = 14px wie überall */
  .werk__buehne-neben { order: 2; margin-top: 0; flex-wrap: nowrap; gap: 10px; }
  .werk__buehne-neben > .werk__auftritt { flex: 1 1 0; }
  .werk__buehne-neben > .werk__teil--mobile { flex: .45 1 0; }
  .fuss { flex-direction: column; }
  .kontakt { grid-template-columns: 1fr; }
  .kontakt__foto { order: -1; max-width: 70%; }
  .hero__foto img { object-position: 62% 40%; }
  .hero__hinweis { display: none; }
  .jahr { bottom: 12px; font-size: 20px; }
  .jahr__knopf { background: var(--glas-leiste); backdrop-filter: blur(10px); margin: 0; padding: .4em .6em; }
  .gross__text { left: 10px; right: 10px; bottom: 10px; max-width: none; }
  .gross__text .werk__extra { display: flex; margin: 6px 0 0; }
  .kopf { transition: transform .35s cubic-bezier(.2, .7, .2, 1); }
  .kopf.ist-weg { transform: translateY(-110%); }
}

/* Weniger Bewegung ----------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .hero__foto--farbe { -webkit-mask-image: none; mask-image: none; }
  .hero__rauschen { animation: none; }
}

/* Partner-Link gegen die grauen span-Regeln von Notiz, Bildunterschrift und Großansicht absichern */
.werk__extra .werk__partner { color: var(--schwarz); }
.werk__extra .werk__partner span { color: inherit; }
.werk__extra a.werk__partner:hover { color: var(--weiss); }

/* Impressum & Datenschutz ------------------------------------------------------ */

.recht { padding: clamp(120px, 18vh, 200px) var(--rand) clamp(60px, 12vh, 140px); }
.recht h1 { font-weight: 900; font-size: clamp(40px, 6vw, 96px); letter-spacing: -.03em; line-height: .95; margin: 0 0 clamp(40px, 8vh, 90px); }
.recht__text { max-width: 44em; font-size: clamp(15px, 1.05vw, 17px); line-height: 1.6; }
.recht__text h2 { font-weight: 900; font-size: 1.5em; letter-spacing: -.01em; margin: 2.4em 0 .5em; padding-top: 1em; border-top: 1px solid var(--linie); }
.recht__text h2:first-child { margin-top: 0; border-top: 0; padding-top: 0; }
.recht__text h3, .recht__text h4 { font-weight: 900; font-size: 1em; margin: 1.8em 0 .3em; }
.recht__text p, .recht__text ul { margin: 0 0 1em; }
.recht__text ul { padding-left: 1.2em; }
.recht__text a { text-decoration: underline; text-decoration-color: var(--grau); text-underline-offset: 3px; overflow-wrap: anywhere; }
.gross__text > strong { font-weight: 900; margin-right: .45em; }

.gross__zu { display: inline-flex; align-items: center; gap: .45em; }
.gross__zu::before { content: ""; width: .8em; height: .8em; background: currentColor; -webkit-mask: var(--fa-zu) center / contain no-repeat; mask: var(--fa-zu) center / contain no-repeat; }

/* Statische Werkliste für Crawler ohne JavaScript; mit JavaScript übernimmt die Timeline */
.werkliste__titel { font-size: clamp(28px, 4vw, 56px); font-weight: 900; margin: 0 0 24px; }
.werkliste { margin: 0; padding: 0 0 0 1.2em; display: grid; gap: 6px; }
.werkliste a { text-decoration: underline; }
.js .werkliste, .js .werkliste__titel { display: none; }
