/* ==========================================================================
   stagerepublic
   Design: Black Box. Schwarzer Grund wie eine Bühne vor dem Einlass, Weiß und
   das Grau aus dem Logo. Eine Schrift, Inter Tight, in zwei Gewichten wie das
   Logo: fett und grau für das erste Wort, sehr leicht (Thin 100) und weiß für
   den Rest. Große Überschriften und Namen in Thin, Fließtext und kleine Schrift
   im normalen Gewicht, damit sie lesbar bleiben. Überschriften, Namen der
   Kreativen und das Menü in Großbuchstaben.
   Ecken durchgehend scharf (Radius 0).
   ========================================================================== */

/* Schrift (selbst gehostet, SIL Open Font License) */
@font-face {
  font-family: "Inter Tight";
  src: url("../fonts/inter-tight-latin-wght-normal.woff2") format("woff2-variations"),
       url("../fonts/inter-tight-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: "Inter Tight";
  src: url("../fonts/inter-tight-latin-wght-italic.woff2") format("woff2-variations"),
       url("../fonts/inter-tight-latin-wght-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
/* Erweiterter Zeichensatz (z. B. polnische Namen wie Pacześniak, Łódź); lädt nur, wenn solche Zeichen vorkommen */
@font-face {
  font-family: "Inter Tight";
  src: url("../fonts/inter-tight-latin-ext-wght-normal.woff2") format("woff2-variations"),
       url("../fonts/inter-tight-latin-ext-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: "Inter Tight";
  src: url("../fonts/inter-tight-latin-ext-wght-italic.woff2") format("woff2-variations"),
       url("../fonts/inter-tight-latin-ext-wght-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

/* --------------------------------------------------------------------------
   Tokens
   Dunkel ist die Grundeinstellung, hell gibt es über den Schalter im Kopf.
   -------------------------------------------------------------------------- */
:root {
  --bg: #0b0b0b;
  --bg-raised: #141414;
  --surface: #1c1c1c;
  --ink: #e8e6e6;
  --ink-2: #a9a6a6;
  --ink-3: #858282;
  --stage: #aeaaaa;
  --line: rgb(232 230 230 / 0.1);
  --line-strong: rgb(232 230 230 / 0.26);
  --accent: #aeaaaa;
  --accent-ink: #0b0b0b;
  --scrim: rgb(0 0 0 / 0.64);
  --header-bg: rgb(11 11 11 / 0.9);
  --light: rgb(255 248 236 / 0.07);
  --cursor: #39ff14;
  --cursor-glow: rgb(57 255 20 / 0.55);
  --grain: 0.05;

  /* Farben des Logos */
  --logo-stage: var(--stage);
  --logo-republic: var(--ink);
  --logo-tagline: var(--ink);

  --font-display: "Inter Tight", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-sans: "Inter Tight", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);

  --maxw: 1240px;
  --gutter: clamp(20px, 6vw, 96px);
  --nav-h: 72px;
  --section-pad: clamp(5.5rem, 13vw, 11.5rem);

  /* Ebenen */
  --z-header: 20;
  --z-menu: 15;
  --z-preview: 30;
  --z-grain: 50;
  --z-intro: 60;
  --z-cursor: 80;

  color-scheme: dark;
}

:root[data-theme="light"] {
  --bg: #f3f2f1;
  --bg-raised: #fbfaf9;
  --surface: #e6e4e2;
  --ink: #1a1a1a;
  --ink-2: #4a4c4e;
  --ink-3: #6b6868;
  --stage: #8d8989;
  --line: rgb(11 11 11 / 0.12);
  --line-strong: rgb(11 11 11 / 0.34);
  --accent: #5d5959;
  --accent-ink: #ffffff;
  --scrim: rgb(11 11 11 / 0.46);
  --header-bg: rgb(243 242 241 / 0.92);
  --light: rgb(255 255 255 / 0.5);
  --cursor: #1fcf0b;
  --cursor-glow: rgb(31 207 11 / 0.4);
  --grain: 0.04;
  color-scheme: light;
}

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

html {
  /* Etwas kleinere Grundschrift (15 statt 16 px); alle rem-Größen folgen */
  font-size: 93.75%;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  -webkit-tap-highlight-color: transparent;
}

a,
button,
label,
summary {
  touch-action: manipulation;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

/* Beim Sperren die Scrollbar-Breite ausgleichen, damit nichts springt */
html.is-locked {
  overflow: hidden;
  padding-right: var(--sbw, 0px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01" 0;
}

/* Filmkorn: fest, ohne Pointer-Events, nie auf scrollenden Containern */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: var(--z-grain);
  pointer-events: none;
  opacity: var(--grain);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.5 0 0 0 0 0.5 0 0 0 0 0.5 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote {
  margin: 0;
}

ul, ol {
  padding: 0;
  list-style: none;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

::selection {
  background: var(--accent);
  color: var(--accent-ink);
}

[hidden] {
  display: none !important;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 1.25rem;
  height: 1.25rem;
  fill: currentColor;
  flex-shrink: 0;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--ink);
  color: var(--bg);
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 200ms var(--ease-out);
}

.skip-link:focus-visible {
  transform: none;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: var(--section-pad);
}

/* Trennlinie oben, bündig mit dem Inhalt statt randlos */
.ruled,
.site-footer {
  background-image: linear-gradient(var(--line), var(--line));
  background-repeat: no-repeat;
  background-position: 50% 0;
  background-size: min(100% - 2 * var(--gutter), var(--maxw) - 2 * var(--gutter)) 1px;
}

.top-sentinel {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 24px;
}

/* --------------------------------------------------------------------------
   Typografie
   -------------------------------------------------------------------------- */
.section-title {
  font-family: var(--font-display);
  font-weight: 100;
  font-size: clamp(1.75rem, 3.1vw, 2.875rem);
  line-height: 1;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.section-lede {
  margin-top: 1.25rem;
  max-width: 46ch;
  color: var(--ink-2);
  font-size: 1.0625rem;
}

em {
  font-style: italic;
}

.text-link {
  position: relative;
  display: inline-block;
  padding-block: 0.25rem;
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--ink);
  background: none;
}

.text-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transform-origin: left;
  transition: transform 300ms var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .text-link:hover::after {
    transform: scaleX(0.35);
  }
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  height: 3.25rem;
  padding-inline: 1.5rem;
  border: 1px solid transparent;
  border-radius: 0;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.005em;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  transition:
    background-color 250ms ease,
    border-color 250ms ease,
    color 250ms ease,
    transform 160ms var(--ease-out);
}

.btn:active {
  transform: scale(0.97);
}

.btn-sm {
  height: 2.5rem;
  padding-inline: 1.125rem;
  font-size: 0.875rem;
}

/* Hauptbutton zurückhaltend: feiner heller Rahmen, gefüllt erst beim Überfahren */
.btn-primary {
  background: transparent;
  border-color: var(--ink-2);
  color: var(--ink);
}

.btn-ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--ink);
}

.btn-arrow {
  width: 1.125rem;
  height: 1.125rem;
  transition: transform 300ms var(--ease-out);
}

.btn[disabled] {
  cursor: progress;
  opacity: 0.7;
}

@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--bg);
  }

  .btn-ghost:hover {
    border-color: var(--ink);
  }

  .btn:hover .btn-arrow {
    transform: translateX(3px);
  }

  .btn:hover .btn-arrow-diag {
    transform: translate(2px, -2px);
  }
}

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  color: var(--ink);
  transition:
    background-color 200ms ease,
    transform 160ms var(--ease-out);
}

.icon-btn:active {
  transform: scale(0.94);
}

@media (hover: hover) and (pointer: fine) {
  .icon-btn:hover {
    background: var(--surface);
  }
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  height: var(--nav-h);
  border-bottom: 1px solid transparent;
  transition:
    background-color 300ms ease,
    border-color 300ms ease;
}

.site-header.is-scrolled {
  background: var(--header-bg);
  border-bottom-color: var(--line);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
}

@media (prefers-reduced-transparency: reduce) {
  .site-header.is-scrolled {
    background: var(--bg);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  height: 2.75rem;
  text-decoration: none;
}

/* Das Logo im Kopf; die Farben kommen aus den Tokens (--logo-*) */
.logo {
  display: block;
  overflow: visible;
}

.brand-logo {
  width: auto;
  height: clamp(1.25rem, 1.6vw, 1.5rem);
  aspect-ratio: 841 / 142;
}

/* Während des Logo-Intros fliegt ein zweites Logo an diese Stelle */
.show-intro .brand-logo {
  visibility: hidden;
}

.primary-nav ul {
  display: flex;
  gap: clamp(1.25rem, 2.4vw, 2.25rem);
}

.primary-nav a {
  position: relative;
  display: inline-block;
  padding-block: 0.375rem;
  font-size: 0.9375rem;
  color: var(--ink-2);
  text-decoration: none;
  transition: color 200ms ease;
}

.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 300ms var(--ease-out);
}

.primary-nav a[aria-current="true"] {
  color: var(--ink);
}

.primary-nav a[aria-current="true"]::after {
  transform: scaleX(1);
}

@media (hover: hover) and (pointer: fine) {
  .primary-nav a:hover {
    color: var(--ink);
  }

  .primary-nav a:hover::after {
    transform: scaleX(1);
  }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Sprachumschalter: die aktuelle Sprache hell, die andere als Link */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.125rem;
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  color: var(--ink-3);
}

.lang-current,
.lang-link {
  display: inline-grid;
  place-items: center;
  min-width: 1.75rem;
  min-height: 2.5rem;
}

.lang-current {
  color: var(--ink);
}

.lang-link {
  color: var(--ink-3);
  text-decoration: none;
  transition: color 200ms ease;
}

.lang-sep {
  color: var(--line-strong);
}

@media (hover: hover) and (pointer: fine) {
  .lang-link:hover {
    color: var(--ink);
  }
}

.menu-lang {
  font-size: 0.9375rem;
}

/* Auf schmalen Telefonen im Kopf nur die andere Sprache; im Menü steht beides */
@media (max-width: 480px) {
  .header-lang .lang-current,
  .header-lang .lang-sep {
    display: none;
  }

  /* Die Schaltflächen sind breit genug, der Abstand dazwischen darf schmal sein */
  .header-actions {
    gap: 0.125rem;
  }
}

.theme-toggle .i-sun {
  display: none;
}

:root:not([data-theme="light"]) .theme-toggle .i-sun {
  display: block;
}

:root:not([data-theme="light"]) .theme-toggle .i-moon {
  display: none;
}

.menu-toggle {
  display: none;
  position: relative;
  width: 2.75rem;
  height: 2.75rem;
}

.menu-toggle-line {
  position: absolute;
  left: 0.6875rem;
  right: 0.6875rem;
  height: 1px;
  background: var(--ink);
  transition: transform 300ms var(--ease-out);
}

.menu-toggle-line:nth-child(1) {
  top: calc(50% - 4px);
}

.menu-toggle-line:nth-child(2) {
  top: calc(50% + 4px);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-line:nth-child(1) {
  transform: translateY(4px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-line:nth-child(2) {
  transform: translateY(-4px) rotate(-45deg);
}

/* Mobiles Menü */
.mobile-menu {
  position: fixed;
  inset: 0 0 auto;
  height: 100vh;
  height: 100lvh;
  z-index: var(--z-menu);
  padding-top: var(--nav-h);
  background: var(--bg);
  opacity: 0;
  transition: opacity 300ms var(--ease-out);
}

.mobile-menu.is-open {
  opacity: 1;
}

/* Solange Menü oder Galerie offen sind, die Seite darunter ausblenden.
   iOS-Safari zeichnet sonst Inhalt unter seiner schwebenden Leiste durch. */
html.has-overlay main,
html.has-overlay .site-footer {
  visibility: hidden;
}

html.has-overlay .lightbox {
  visibility: visible;
}

.mobile-menu-foot p a {
  color: inherit;
  text-decoration: none;
}

.mobile-menu-inner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  height: calc(100svh - var(--nav-h));
  padding-block: 2rem 2.5rem;
  overflow-y: auto;
}

.mobile-menu-links a {
  display: block;
  padding-block: 0.375rem;
  font-family: var(--font-display);
  font-weight: 100;
  font-size: clamp(1.75rem, 7.5vw, 2.5rem);
  line-height: 1.12;
  text-decoration: none;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.mobile-menu-links li,
.mobile-menu-foot {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 500ms var(--ease-out),
    transform 500ms var(--ease-out);
  transition-delay: calc(var(--i, 0) * 50ms + 60ms);
}

.mobile-menu.is-open li,
.mobile-menu.is-open .mobile-menu-foot {
  opacity: 1;
  transform: none;
}

.mobile-menu-foot {
  display: grid;
  gap: 1.5rem;
  justify-items: start;
}

.mobile-menu-foot p {
  color: var(--ink-2);
  font-size: 0.9375rem;
}

/* --------------------------------------------------------------------------
   Bildrahmen (gemeinsam für Porträts)
   Der Rahmen zeigt Initialen, bis das Bild geladen ist, und bleibt so,
   falls ein Bild fehlt.
   -------------------------------------------------------------------------- */
.frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: var(--ratio, 3 / 4);
  background: var(--surface);
  isolation: isolate;
}

.frame-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 100;
  font-size: clamp(1.5rem, 3.4vw, 3rem);
  letter-spacing: 0.02em;
  color: var(--ink-3);
  background:
    radial-gradient(120% 80% at 28% 12%, rgb(255 255 255 / 0.22), transparent 62%),
    var(--surface);
}

.frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
  filter: grayscale(1) contrast(1.04);
  opacity: 0;
  transition:
    opacity 600ms ease,
    filter 600ms ease,
    transform 900ms var(--ease-out);
}

.frame img.is-loaded {
  opacity: 1;
}

.frame.is-missing img {
  display: none;
}

/* --------------------------------------------------------------------------
   Logo-Intro (nur Startseite, einmal pro Sitzung)
   Das Logo steht über der ganzen Seite und fliegt dann in den Kopf (main.js).
   -------------------------------------------------------------------------- */
.intro {
  display: none;
}

.show-intro .intro {
  position: fixed;
  inset: 0;
  z-index: var(--z-intro);
  display: grid;
  place-items: center;
  padding-inline: var(--gutter);
  /* Fängt Klicks ab, damit niemand blind einen Link darunter trifft */
  cursor: pointer;
  /* Falls das Skript nicht läuft, gibt die Seite sich nach ein paar Sekunden selbst frei */
  animation: intro-failsafe 0s linear 6s forwards;
}

.intro-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 50% at 50% 46%, var(--light), transparent 70%),
    var(--bg);
}

.intro-logo {
  position: relative;
  width: min(84vw, 64rem);
}

.intro-word,
.intro-tag {
  width: 100%;
  height: auto;
}

.intro-word {
  aspect-ratio: 841 / 142;
  transform-origin: 0 0;
}

.intro-tag {
  aspect-ratio: 841 / 47;
}

/* Auftritt: das Logo kommt aus dem Dunkel, das Licht geht an */
.show-intro .intro-logo {
  animation: intro-in 1100ms var(--ease-out) both;
}

.show-intro .intro-tag {
  animation: intro-in 900ms var(--ease-out) 260ms both;
}

@keyframes intro-in {
  from {
    opacity: 0;
    transform: translateY(0.6rem) scale(0.985);
    filter: blur(6px);
  }
}

@keyframes intro-failsafe {
  to {
    visibility: hidden;
  }
}

/* --------------------------------------------------------------------------
   Hero: schwarze Bühne, die Überschrift wie das Logo
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  display: flex;
  min-height: calc(100svh - var(--nav-h));
  padding-top: clamp(2rem, 7vh, 5.5rem);
  padding-bottom: clamp(1.5rem, 4vh, 3rem);
  overflow: hidden;
  isolation: isolate;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
}

.kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-2);
}

/* Trennstriche wie in der Unterzeile des Logos */
.kicker span + span::before {
  content: "|";
  margin-inline: 0.75em;
  color: var(--ink-3);
}

.hero-title {
  margin-top: 0;
  font-family: var(--font-display);
  font-weight: 100;
  font-size: clamp(1.25rem, 2.5vw, 2.375rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  text-transform: none;
  text-align: right;
}

/* Der Anfang wie „stage“ im Logo, aber zurückhaltend: grau statt fett */
.hero-title b,
.section-title b,
.page-title b,
.statement-title b,
.cta-title b,
.pf-name b {
  font-weight: 300;
  color: var(--stage);
}

.hero-title .line {
  display: block;
  overflow: hidden;
  /* Reserve für Umlautpunkte und Unterlängen, damit die Maske nichts abschneidet */
  padding-block: 0.08em 0.1em;
  margin-block: -0.08em -0.1em;
}

.hero-title .line-inner {
  display: inline-block;
}

/* Hero-Auftritt: Zeilen steigen aus einer Maske, der Rest blendet ruhig ein */
.js .hero .line-inner {
  transform: translateY(105%);
  transition: transform 1000ms var(--ease-out);
  transition-delay: calc(var(--l, 0) * 90ms + 80ms);
}

.js .hero.is-ready .line-inner {
  transform: none;
}

/* Hinweis nach unten: eine feine Linie, an der ein Lichtpunkt langsam nach
   unten wandert. Rechtsbündig unter dem Satz, führt zum nächsten Abschnitt. */
.scroll-cue {
  position: absolute;
  right: max(var(--gutter), calc((100% - var(--maxw)) / 2 + var(--gutter)));
  bottom: clamp(1.5rem, 5vh, 3rem);
  display: flex;
  /* Etwas Fläche um die Linie, damit sie sich gut treffen lässt */
  padding: 0.75rem;
  margin: -0.75rem;
  color: var(--ink-3);
}

.scroll-cue-line {
  position: relative;
  width: 1px;
  height: clamp(2.75rem, 8vh, 4.5rem);
  overflow: hidden;
  background: var(--line-strong);
}

.scroll-cue-line::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 45%;
  background: var(--ink-2);
  transform: translateY(-100%);
  animation: scroll-cue 2600ms var(--ease-in-out) infinite;
}

@keyframes scroll-cue {
  0% {
    transform: translateY(-100%);
  }

  65%,
  100% {
    transform: translateY(225%);
  }
}

@media (hover: hover) and (pointer: fine) {
  .scroll-cue:hover .scroll-cue-line::after {
    background: var(--ink);
  }
}

/* Erscheint erst, wenn der Satz steht */
.js .hero .scroll-cue {
  opacity: 0;
  transition: opacity 900ms var(--ease-out) 900ms;
}

.js .hero.is-ready .scroll-cue {
  opacity: 1;
}

.js .hero.no-intro .scroll-cue {
  transition: none;
}

/* --------------------------------------------------------------------------
   Sparten auf der Startseite: ein großer Index, nur Namen, keine Gesichter
   -------------------------------------------------------------------------- */
/* Ohne sichtbare Überschrift beginnt der Abschnitt direkt mit dem Satz */
.disciplines .section-lede {
  margin-top: 0;
}

.discipline-index {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  border-bottom: 1px solid var(--line);
}

.discipline-row {
  display: grid;
  grid-template-columns: 3rem minmax(0, 5fr) minmax(0, 6fr) 1.5rem;
  gap: 0.5rem 1.5rem;
  align-items: center;
  padding-block: clamp(1.25rem, 2.6vw, 2rem);
  border-top: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
}

.discipline-num {
  align-self: start;
  padding-top: 0.6em;
  font-size: 0.8125rem;
  font-variant-numeric: tabular-nums;
  color: var(--ink-3);
}

.discipline-name {
  font-size: clamp(1.625rem, 3.2vw, 3rem);
  font-weight: 100;
  line-height: 1;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  transition:
    color 300ms ease,
    font-weight 300ms ease;
}

.discipline-body {
  display: grid;
  gap: 0.5rem;
}

.discipline-text {
  max-width: 42ch;
  color: var(--ink-2);
}

.discipline-people {
  font-size: 0.875rem;
  color: var(--ink-3);
}

.discipline-arrow {
  color: var(--ink-3);
  transition:
    transform 300ms var(--ease-out),
    color 200ms ease;
}

@media (hover: hover) and (pointer: fine) {
  /* Die Zeile unter dem Mauszeiger wird grau wie „stage“ im Logo */
  .discipline-index:has(.discipline-row:hover) .discipline-row:not(:hover) .discipline-name {
    color: var(--ink-3);
  }

  .discipline-row:hover .discipline-name {
    color: var(--stage);
  }

  .discipline-row:hover .discipline-arrow {
    color: var(--ink);
    transform: translateX(4px);
  }
}

/* --------------------------------------------------------------------------
   Was wir tun: Concept, Management, Production
   -------------------------------------------------------------------------- */
.pillar-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 3rem clamp(1.5rem, 3vw, 3rem);
  margin-top: clamp(2.5rem, 5vw, 4rem);
}

.pillar {
  padding-top: 1.25rem;
  border-top: 1px solid var(--line-strong);
}

.pillar-num {
  font-size: 0.8125rem;
  font-variant-numeric: tabular-nums;
  color: var(--ink-3);
}

.pillar-title {
  margin-top: 0.75rem;
  font-size: clamp(1.5rem, 2.3vw, 2.125rem);
  font-weight: 100;
  line-height: 1;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.pillar:nth-child(1) .pillar-title {
  color: var(--stage);
}

.pillar-text {
  max-width: 36ch;
  margin-top: 1.25rem;
  color: var(--ink-2);
}

.pillar-points {
  display: grid;
  gap: 0.5rem;
  margin-top: 1.5rem;
  font-size: 0.9375rem;
}

.pillar-points li {
  display: grid;
  grid-template-columns: 1.25rem minmax(0, 1fr);
}

.pillar-points li::before {
  content: "";
  width: 0.75rem;
  height: 1px;
  margin-top: 0.8em;
  background: var(--ink-3);
}

/* --------------------------------------------------------------------------
   Kreative: Filter, Liste, Porträts
   -------------------------------------------------------------------------- */
.roster-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem 2.5rem;
}

.filter {
  position: relative;
  display: flex;
  gap: 1.75rem;
  padding-bottom: 0.375rem;
}

.filter button {
  position: relative;
  padding-block: 0.5rem;
  font-size: 0.9375rem;
  color: var(--ink-3);
  white-space: nowrap;
  transition: color 200ms ease;
}

.filter button[aria-pressed="true"] {
  color: var(--ink);
}

.filter sup {
  margin-left: 0.25rem;
  font-size: 0.6875rem;
  font-variant-numeric: tabular-nums;
  color: var(--ink-3);
  vertical-align: 0.6em;
}

@media (hover: hover) and (pointer: fine) {
  .filter button:hover {
    color: var(--ink);
  }
}

.filter-indicator {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 1px;
  height: 1px;
  background: var(--ink);
  transform-origin: left;
  transition: transform 300ms var(--ease-in-out);
}

.filter-indicator.no-anim {
  transition: none;
}

.view-toggle {
  display: inline-flex;
  border: 1px solid var(--line-strong);
}

.view-toggle button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  height: 2.5rem;
  padding-inline: 0.875rem;
  font-size: 0.875rem;
  color: var(--ink-2);
  transition:
    background-color 200ms ease,
    color 200ms ease;
}

.view-toggle button + button {
  border-left: 1px solid var(--line-strong);
}

.view-toggle .icon {
  width: 1rem;
  height: 1rem;
}

.view-toggle button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--bg);
}

/* Liste: wie ein Abspann, eine Zeile pro Person. Porträts erst beim Überfahren
   (feine Zeiger) oder in der Porträtansicht. */
.roster-head,
.roster-link {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 4fr) minmax(0, 2fr) minmax(0, 3.5fr) 1.25rem;
  gap: 0.25rem 1.5rem;
  align-items: baseline;
}

.roster-head {
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--line-strong);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.roster-link {
  padding-block: clamp(1rem, 1.8vw, 1.375rem);
  border-bottom: 1px solid var(--line);
  transition: opacity 300ms ease;
}

.cast-item.is-out {
  display: none;
}

.roster-name {
  font-size: clamp(1.25rem, 1.9vw, 1.75rem);
  font-weight: 100;
  line-height: 1.05;
  letter-spacing: -0.04em;
  transition:
    color 250ms ease,
    font-weight 250ms ease;
}

.roster-role,
.roster-city,
.roster-latest {
  font-size: 0.9375rem;
  color: var(--ink-2);
}

.roster-latest em {
  color: var(--ink);
}

.roster-arrow {
  align-self: center;
  width: 1.125rem;
  height: 1.125rem;
  color: var(--ink-3);
  transition:
    transform 300ms var(--ease-out),
    color 200ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .roster:has(.roster-link:hover) .roster-link:not(:hover) {
    opacity: 0.4;
  }

  .roster-link:hover .roster-name {
    color: var(--stage);
  }

  .roster-link:hover .roster-arrow {
    color: var(--ink);
    transform: translateX(4px);
  }
}

/* Folgende Porträt-Vorschau neben dem Mauszeiger */
.cast-preview {
  position: fixed;
  top: 0;
  left: 0;
  z-index: var(--z-preview);
  width: clamp(13rem, 17vw, 17rem);
  pointer-events: none;
  will-change: transform;
}

.cast-preview-inner {
  opacity: 0;
  transform: scale(0.96);
  transform-origin: 0 0;
  transition:
    opacity 200ms var(--ease-out),
    transform 200ms var(--ease-out);
}

.cast-preview.is-visible .cast-preview-inner {
  opacity: 1;
  transform: none;
}

/* Die Vorschau wächst aus der Ecke, die dem Mauszeiger am nächsten ist */
.cast-preview.is-left .cast-preview-inner {
  transform-origin: 100% 0;
}

.cast-preview.is-above .cast-preview-inner {
  transform-origin: 0 100%;
}

.cast-preview.is-left.is-above .cast-preview-inner {
  transform-origin: 100% 100%;
}

/* Porträtansicht */
.portrait-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 3.5rem 1.5rem;
  align-items: start;
  padding-bottom: 4rem;
}

.portrait-grid > li[data-c4="1"],
.portrait-grid > li[data-c4="3"] {
  margin-top: 4.5rem;
  margin-bottom: -4.5rem;
}

.portrait-card {
  display: block;
  width: 100%;
  text-align: left;
}

.portrait-name {
  display: block;
  margin-top: 1rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.375rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.portrait-meta {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: var(--ink-3);
}

@media (hover: hover) and (pointer: fine) {
  .portrait-card:hover img.is-loaded {
    filter: grayscale(0.15) contrast(1.02);
    transform: scale(1.03);
  }
}

.ensemble-note {
  margin-top: clamp(3rem, 6vw, 4.5rem);
  max-width: 52ch;
  font-size: 0.9375rem;
  color: var(--ink-3);
}

/* --------------------------------------------------------------------------
   Zu sehen (Spielplan)
   -------------------------------------------------------------------------- */
.program-list {
  margin-top: clamp(3rem, 6vw, 5rem);
}

.program-item {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1rem 1.5rem;
  align-items: baseline;
  padding-block: clamp(1.75rem, 3vw, 2.5rem);
  border-top: 1px solid var(--line);
}

.program-when {
  grid-column: 1 / span 3;
  font-size: 1rem;
  font-variant-numeric: tabular-nums;
}

.program-label {
  display: block;
  margin-bottom: 0.125rem;
  font-size: 0.8125rem;
  color: var(--ink-3);
}

.program-main {
  grid-column: 4 / span 5;
}

.program-title {
  font-family: var(--font-display);
  font-weight: 100;
  font-size: clamp(1.375rem, 2.1vw, 1.875rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.program-detail {
  margin-top: 0.375rem;
  font-size: 0.9375rem;
  color: var(--ink-2);
}

/* Das Team einer Produktion: Gewerk über dem Namen */
.program-team {
  grid-column: 9 / span 4;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.875rem 1.25rem;
  font-size: 0.9375rem;
}

.program-team dt {
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.program-team dd {
  margin-top: 0.125rem;
}

/* Eigene Produktion: Kennzeichnung wie die Unterzeile des Logos */
.program-item.is-produced .program-label {
  color: var(--stage);
  font-weight: 600;
}

.name-link {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.25em;
  transition: text-decoration-color 200ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .name-link:hover {
    text-decoration-color: currentColor;
  }
}

/* --------------------------------------------------------------------------
   Haltung und Leistungen
   -------------------------------------------------------------------------- */
.statement-title {
  font-family: var(--font-display);
  font-weight: 100;
  font-size: clamp(1.875rem, 4.2vw, 4rem);
  line-height: 1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.statement-body {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.125rem, 1.5vw, 1.4375rem);
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.about-columns {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 3rem 1.5rem;
  margin-top: clamp(3rem, 6vw, 5.5rem);
}

.about-col {
  padding-top: 1.25rem;
  border-top: 1px solid var(--line-strong);
}

.about-col:nth-child(1) {
  grid-column: 5 / span 4;
}

.about-col:nth-child(2) {
  grid-column: 9 / span 4;
}

.about-col h3 {
  font-size: 0.9375rem;
  font-weight: 500;
}

.about-col ul {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.25rem;
  color: var(--ink-2);
}

.quote {
  margin-top: clamp(3.5rem, 7vw, 6.5rem);
  margin-left: calc(100% / 12);
}

.quote blockquote p {
  max-width: 19em;
  font-family: var(--font-display);
  font-weight: 100;
  font-size: clamp(1.375rem, 2vw, 1.75rem);
  line-height: 1.22;
  letter-spacing: -0.03em;
  text-indent: -0.4em;
}

.quote figcaption {
  margin-top: 1.5rem;
  font-size: 0.9375rem;
  color: var(--ink-3);
}

/* --------------------------------------------------------------------------
   Team
   -------------------------------------------------------------------------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 3rem 1.5rem;
  margin-top: clamp(3rem, 6vw, 5rem);
  align-items: start;
}

.team-lead {
  grid-column: 1 / span 5;
}

.team-lead .team-text {
  margin-top: 1.25rem;
}

.team-lead .team-name {
  font-size: clamp(2rem, 3vw, 2.75rem);
}

.team-list {
  grid-column: 7 / span 6;
  display: grid;
  gap: 2.5rem;
  padding-top: clamp(0rem, 8vw, 7rem);
}

.team-member {
  display: grid;
  grid-template-columns: clamp(6.5rem, 10vw, 9rem) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: end;
  padding-top: 2.5rem;
  border-top: 1px solid var(--line);
}

.team-member:first-child {
  padding-top: 0;
  border-top: 0;
}

.team-member .frame .frame-fallback {
  font-size: 1.75rem;
}

.team-name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.5rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.team-role {
  margin-top: 0.25rem;
  font-size: 0.9375rem;
  color: var(--ink-2);
}

.team-contact {
  display: grid;
  gap: 0.125rem;
  margin-top: 0.875rem;
  font-size: 0.9375rem;
}

.team-contact a {
  width: fit-content;
  text-decoration-color: var(--line-strong);
  transition: text-decoration-color 200ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .team-contact a:hover {
    text-decoration-color: currentColor;
  }
}

/* --------------------------------------------------------------------------
   Bewerbung und FAQ
   -------------------------------------------------------------------------- */
.apply-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 4rem 1.5rem;
  align-items: start;
}

.apply-intro {
  grid-column: 1 / span 5;
}

.apply-text {
  margin-top: 1.5rem;
  max-width: 44ch;
  font-size: 1.0625rem;
  color: var(--ink-2);
}

.apply-list {
  display: grid;
  gap: 0.625rem;
  margin-block: 2rem 2.5rem;
  counter-reset: req;
}

.apply-list li {
  display: grid;
  grid-template-columns: 1.75rem 1fr;
  counter-increment: req;
}

.apply-list li::before {
  content: counter(req);
  font-family: var(--font-display);
  font-style: normal;
  font-size: 1.125rem;
  line-height: 1.5;
  color: var(--ink-3);
}

.faq {
  grid-column: 7 / span 6;
  padding-top: clamp(0rem, 1.4vw, 1.25rem);
}

.faq-title {
  margin-bottom: 1.25rem;
  font-size: 0.9375rem;
  font-weight: 500;
}

.faq-item {
  border-top: 1px solid var(--line-strong);
}

.faq-q button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: 100%;
  padding-block: 1.375rem;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.125rem, 1.6vw, 1.375rem);
  line-height: 1.3;
  letter-spacing: -0.015em;
}

.faq-q .icon {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--ink-2);
  transition: transform 300ms var(--ease-out);
}

.faq-q button[aria-expanded="true"] .icon {
  transform: rotate(45deg);
}

.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 300ms var(--ease-out);
}

.faq-a > div {
  overflow: hidden;
  visibility: hidden;
  opacity: 0;
  transition:
    opacity 250ms ease,
    visibility 0s linear 300ms;
}

.faq-a p {
  max-width: 54ch;
  padding-bottom: 1.5rem;
  color: var(--ink-2);
}

.faq-item.is-open .faq-a {
  grid-template-rows: 1fr;
}

.faq-item.is-open .faq-a > div {
  visibility: visible;
  opacity: 1;
  transition:
    opacity 300ms ease 80ms,
    visibility 0s linear 0s;
}

/* --------------------------------------------------------------------------
   Kontakt und Formular
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 4rem 1.5rem;
  align-items: start;
}

.contact-info {
  grid-column: 1 / span 5;
}

.contact-mail {
  display: inline-block;
  margin-top: 1.75rem;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.25rem, 1.8vw, 1.625rem);
  line-height: 1.2;
  text-decoration-color: var(--line-strong);
  transition: text-decoration-color 200ms ease;
  overflow-wrap: anywhere;
  letter-spacing: -0.025em;
}

@media (hover: hover) and (pointer: fine) {
  .contact-mail:hover {
    text-decoration-color: currentColor;
  }
}

.contact-facts {
  display: grid;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.contact-facts dt {
  font-size: 0.8125rem;
  color: var(--ink-3);
}

.contact-facts dd {
  max-width: 34ch;
  margin-top: 0.125rem;
}

.contact-facts a {
  text-decoration: none;
}

.contact-form-wrap {
  grid-column: 7 / span 6;
}

.contact-form {
  display: grid;
  gap: 1.5rem;
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.field {
  display: grid;
  gap: 0.5rem;
  align-content: start;
}

.field label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink);
}

.optional {
  margin-left: 0.25rem;
  font-weight: 400;
  color: var(--ink-3);
}

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="url"],
.field input[type="number"],
.field input[type="date"],
.field select,
.field textarea {
  width: 100%;
  min-height: 3rem;
  padding: 0.75rem 0.875rem;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  background: var(--bg-raised);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  transition:
    border-color 200ms ease,
    box-shadow 200ms ease;
  -webkit-appearance: none;
  appearance: none;
}

/* Datumsfelder: iOS zentriert den Wert und lässt leere Felder schrumpfen */
.field input[type="date"] {
  display: block;
  line-height: 1.5;
}

.field input[type="date"]::-webkit-date-and-time-value {
  text-align: left;
}

.field input[type="date"]::-webkit-calendar-picker-indicator {
  opacity: 0.55;
  cursor: pointer;
}

.field input[type="number"] {
  -moz-appearance: textfield;
}

.field textarea {
  min-height: 9rem;
  resize: vertical;
  line-height: 1.5;
}

.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}

.select {
  position: relative;
}

.select::after {
  content: "";
  position: absolute;
  right: 1rem;
  top: 50%;
  width: 0.4rem;
  height: 0.4rem;
  border-right: 1px solid var(--ink-2);
  border-bottom: 1px solid var(--ink-2);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}

.select select {
  padding-right: 2.5rem;
  cursor: pointer;
}

.field-hint {
  font-size: 0.8125rem;
  color: var(--ink-3);
}

.field-error {
  font-size: 0.8125rem;
  color: #a3262f;
}

.field-error:empty {
  display: none;
}

:root[data-theme="dark"] .field-error,
:root[data-theme="dark"] .form-error {
  color: #f0989c;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .field-error,
  :root:not([data-theme="light"]) .form-error {
    color: #f0989c;
  }
}

.field.is-invalid input,
.field.is-invalid textarea {
  border-color: #a3262f;
}

:root[data-theme="dark"] .field.is-invalid input,
:root[data-theme="dark"] .field.is-invalid textarea {
  border-color: #f0989c;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .field.is-invalid input,
  :root:not([data-theme="light"]) .field.is-invalid textarea {
    border-color: #f0989c;
  }
}

.field-check {
  grid-template-columns: 1.25rem minmax(0, 1fr);
  column-gap: 0.875rem;
  align-items: start;
}

.field-check input {
  width: 1.25rem;
  height: 1.25rem;
  margin: 0.15rem 0 0;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  background: var(--bg-raised);
  display: grid;
  place-content: center;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  transition:
    background-color 150ms ease,
    border-color 150ms ease;
}

.field-check input::after {
  content: "";
  width: 0.6rem;
  height: 0.32rem;
  border-left: 1.5px solid var(--bg);
  border-bottom: 1.5px solid var(--bg);
  transform: translateY(-1px) rotate(-45deg) scale(0.6);
  opacity: 0;
  transition:
    opacity 150ms ease,
    transform 150ms var(--ease-out);
}

.field-check input:checked {
  background: var(--ink);
  border-color: var(--ink);
}

.field-check input:checked::after {
  opacity: 1;
  transform: translateY(-1px) rotate(-45deg) scale(1);
}

.field-check.is-invalid input {
  border-color: #a3262f;
}

.field-check label {
  font-weight: 400;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--ink-2);
}

.field-check .field-error {
  grid-column: 2;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  margin-top: 0.5rem;
}

.form-error {
  font-size: 0.875rem;
  color: #a3262f;
}

.form-error:empty {
  display: none;
}

.form-success {
  display: grid;
  justify-items: start;
  gap: 1rem;
  padding: clamp(2rem, 4vw, 3rem);
  border: 1px solid var(--line-strong);
  background: var(--bg-raised);
}

.form-success:focus {
  outline: none;
}

.form-success-icon {
  width: 1.75rem;
  height: 1.75rem;
  color: var(--accent);
}

.form-success h3 {
  font-family: var(--font-display);
  font-weight: 100;
  font-size: clamp(1.875rem, 3vw, 2.5rem);
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.form-success p {
  max-width: 44ch;
  color: var(--ink-2);
  margin-bottom: 0.75rem;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  padding-block: clamp(4rem, 8vw, 6rem) 2rem;
}

.footer-mark {
  display: block;
  width: min(100%, 26rem);
}

.footer-logo {
  width: 100%;
  height: auto;
  aspect-ratio: 841 / 189;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem 1.5rem;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  font-size: 0.9375rem;
  color: var(--ink-2);
}

.footer-grid a {
  text-decoration: none;
  transition: color 200ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .footer-grid a:hover {
    color: var(--ink);
  }
}

.footer-links {
  display: grid;
  gap: 0.25rem;
  align-content: start;
}

.footer-legal {
  margin-top: clamp(3rem, 6vw, 4.5rem);
  font-size: 0.8125rem;
  color: var(--ink-3);
}

.noscript {
  padding: 1.5rem var(--gutter);
  text-align: center;
  background: var(--surface);
}

/* --------------------------------------------------------------------------
   Unterseiten: Seitenkopf, Abschnittsköpfe
   -------------------------------------------------------------------------- */
.page-head {
  padding-top: clamp(3rem, 9vh, 6.5rem);
  padding-bottom: clamp(1rem, 3vw, 2rem);
}

.page-title {
  font-family: var(--font-display);
  font-weight: 100;
  font-size: clamp(2rem, 4.2vw, 4rem);
  line-height: 1;
  letter-spacing: -0.02em;
  padding-bottom: 0.06em;
  text-transform: uppercase;
}

.page-lede {
  margin-top: clamp(1.25rem, 2.5vw, 2rem);
  max-width: 52ch;
  font-size: clamp(1.0625rem, 1.3vw, 1.25rem);
  line-height: 1.55;
  color: var(--ink-2);
}

.page-head + .section {
  padding-top: clamp(3rem, 6vw, 5rem);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem 3rem;
}

.section-head .text-link {
  margin-bottom: 0.75rem;
}

.subsection-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.25rem, 1.7vw, 1.5rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
}

/* Verlinkte Flächen erben Farbe, keine Unterstreichung */
.cast-name,
.portrait-card,
.pager-link {
  color: inherit;
  text-decoration: none;
}

.roster-controls {
  justify-content: space-between;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.ensemble-note a {
  color: var(--ink);
  text-decoration-color: var(--line-strong);
}

/* Startseite: Haltung */
.statement-side {
  width: min(100%, 38rem);
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
  margin-left: auto;
}

.statement-side .text-link {
  margin-top: 1.75rem;
}

/* Hero ohne Auftritt, wenn die Startseite in dieser Sitzung schon gezeigt wurde */
.js .hero.no-intro .line-inner {
  transition: none;
}

/* --------------------------------------------------------------------------
   Handlungsaufforderung am Seitenende
   -------------------------------------------------------------------------- */
.cta-inner {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 2rem 1.5rem;
  align-items: end;
}

.cta-title {
  grid-column: 1 / span 7;
  font-family: var(--font-display);
  font-weight: 100;
  font-size: clamp(1.75rem, 3.2vw, 3rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  padding-bottom: 0.04em;
  text-transform: uppercase;
}

.cta-side {
  grid-column: 8 / span 5;
}

.cta-side p {
  max-width: 40ch;
  font-size: 1.0625rem;
  color: var(--ink-2);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 2rem;
  margin-top: 1.75rem;
}

/* --------------------------------------------------------------------------
   Zu sehen: Zusammenfassung und Rückblick
   -------------------------------------------------------------------------- */
.program-summary {
  margin-top: 0.75rem;
  max-width: 46ch;
  color: var(--ink-2);
}

.program-page .program-list {
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
}

.archive-groups {
  display: grid;
  gap: clamp(3rem, 6vw, 4.5rem);
  margin-top: clamp(2.5rem, 5vw, 4rem);
}

.archive-year {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: start;
}

.archive-label {
  grid-column: 1 / span 3;
  font-family: var(--font-display);
  font-weight: 100;
  font-size: clamp(1.5rem, 2.4vw, 2.125rem);
  line-height: 1;
  color: var(--ink-2);
  letter-spacing: -0.04em;
}

.archive-list {
  grid-column: 4 / span 9;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem 1.5rem;
}

.archive-list li {
  display: grid;
  align-content: start;
  gap: 0.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.archive-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.375rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.archive-meta {
  font-size: 0.875rem;
  color: var(--ink-3);
}

.archive-cast {
  margin-top: 0.25rem;
  font-size: 0.9375rem;
  color: var(--ink-2);
}

/* --------------------------------------------------------------------------
   Agentur: Geschichte, Stimmen
   -------------------------------------------------------------------------- */
.history-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 3rem 1.5rem;
  align-items: start;
}

.history-lead {
  grid-column: 1 / span 6;
}

.history-text {
  grid-column: 8 / span 5;
  display: grid;
  gap: 1.25rem;
  font-size: 1.0625rem;
  color: var(--ink-2);
}

.page-agency .about-columns {
  margin-top: clamp(2rem, 4vw, 3rem);
}

.page-agency .about-col:nth-child(1) {
  grid-column: 1 / span 5;
}

.page-agency .about-col:nth-child(2) {
  grid-column: 7 / span 5;
}

.voices-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 4rem 1.5rem;
}

.voices-grid .quote {
  margin: 0;
}

.quote-lead {
  grid-column: 1 / span 10;
}

.quote-small:nth-of-type(2) {
  grid-column: 2 / span 5;
}

.quote-small:nth-of-type(3) {
  grid-column: 8 / span 5;
}

.quote-small blockquote p {
  font-size: clamp(1.5rem, 2.2vw, 2rem);
}

.team-bio {
  max-width: 40ch;
  margin-top: 0.625rem;
  font-size: 0.9375rem;
  color: var(--ink-2);
}

/* --------------------------------------------------------------------------
   Bewerbung: Zeitraum, Ablauf
   -------------------------------------------------------------------------- */
.apply-window {
  display: block;
  width: fit-content;
  margin-bottom: 1.75rem;
  padding: 0.5rem 0.875rem;
  border: 1px solid var(--line-strong);
  font-size: 0.9375rem;
}

.apply-window.is-open {
  border-color: var(--accent);
  color: var(--accent);
}

.apply-intro .subsection-title,
.steps-wrap .subsection-title {
  margin-bottom: 1.25rem;
}

.apply-list li {
  grid-template-columns: 1.75rem 1fr;
}

.apply-list li::before {
  content: "";
  width: 0.875rem;
  height: 1px;
  margin-top: 0.8em;
  background: var(--ink-3);
}

.steps-wrap {
  grid-column: 7 / span 6;
}

.steps li {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  gap: 0 1rem;
  padding-block: 1.5rem;
  border-top: 1px solid var(--line);
  counter-increment: step;
}

.steps {
  counter-reset: step;
}

.steps li::before {
  content: "0" counter(step);
  grid-row: span 2;
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 100;
  font-size: 1.75rem;
  line-height: 1;
  color: var(--stage);
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.steps h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.25rem;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

.steps p {
  max-width: 46ch;
  margin-top: 0.375rem;
  color: var(--ink-2);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 3rem 1.5rem;
  align-items: start;
}

.faq-grid .section-title {
  grid-column: 1 / span 5;
}

.faq-grid .faq {
  padding-top: 0.75rem;
}

/* --------------------------------------------------------------------------
   Kontakt: Ansprechpersonen
   -------------------------------------------------------------------------- */
.page-contact .contact-mail {
  margin-top: 0;
}

.people {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.people-title {
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--ink-3);
}

.people-list {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.people-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0 1rem;
}

.people-name {
  font-weight: 500;
}

.people-role {
  grid-column: 1;
  font-size: 0.875rem;
  color: var(--ink-3);
}

.people-list a {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  font-variant-numeric: tabular-nums;
  text-decoration: none;
  white-space: nowrap;
}

.form-success h2 {
  font-family: var(--font-display);
  font-weight: 100;
  font-size: clamp(1.875rem, 3vw, 2.5rem);
  line-height: 1.1;
  letter-spacing: -0.035em;
}

/* --------------------------------------------------------------------------
   Profilseite
   -------------------------------------------------------------------------- */
.profile {
  padding-top: clamp(1.5rem, 4vh, 3rem);
  padding-bottom: var(--section-pad);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.625rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
  font-size: 0.875rem;
  color: var(--ink-3);
}

.breadcrumb a {
  color: var(--ink-2);
  text-decoration-color: transparent;
  transition: text-decoration-color 200ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .breadcrumb a:hover {
    text-decoration-color: currentColor;
  }
}

.profile-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 3rem 1.5rem;
  align-items: start;
}

.profile-photo {
  grid-column: 1 / span 5;
  position: sticky;
  top: calc(var(--nav-h) + 1.5rem);
}

.profile-photo .frame {
  view-transition-name: portrait;
}

.profile-main {
  grid-column: 7 / span 6;
}

.profile-name {
  font-family: var(--font-display);
  font-weight: 100;
  font-size: clamp(2rem, 3.6vw, 3.25rem);
  line-height: 1;
  letter-spacing: -0.045em;
  padding-bottom: 0.05em;
}

.profile-tag {
  display: inline-block;
  margin-left: 0.5rem;
  padding: 0.125rem 0.5rem;
  border: 1px solid var(--line-strong);
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: var(--ink-2);
  vertical-align: middle;
}

.profile-lede {
  margin-top: 1rem;
  font-size: 1.125rem;
  color: var(--ink-2);
}

.profile-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2rem;
}

.profile-actions .btn {
  height: 3rem;
  padding-inline: 1.25rem;
}

.profile-actions .btn-ghost {
  gap: 0.5rem;
}

.profile-bio {
  margin-top: clamp(2.5rem, 4vw, 3.5rem);
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.0625rem, 1.25vw, 1.25rem);
  line-height: 1.45;
  letter-spacing: -0.015em;
}

.profile-bio p + p,
.selection-bio p + p {
  margin-top: 0.9em;
}

.vita h2,
.profile-contact h2 {
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--ink-3);
}

.vita,
.profile-contact {
  margin-top: 2.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}

.credits {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.25rem;
}

.credits li {
  display: grid;
  grid-template-columns: 3.5rem minmax(0, 1fr);
  gap: 0 1rem;
  align-items: baseline;
}

.credit-year {
  font-size: 0.875rem;
  font-variant-numeric: tabular-nums;
  color: var(--ink-3);
}

.credit-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.25rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.credit-meta {
  grid-column: 2;
  margin-top: 0.125rem;
  font-size: 0.875rem;
  color: var(--ink-2);
}

/* Demnächst: Premiere, Uraufführung usw. stehen über dem Titel statt in der Jahresspalte */
.vita-next .credits li {
  grid-template-columns: minmax(0, 1fr);
}

.vita-next .credit-meta {
  grid-column: 1;
}

.vita-next .credit-year {
  margin-bottom: 0.125rem;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.profile-contact-card {
  display: grid;
  grid-template-columns: 5rem minmax(0, 1fr);
  gap: 1.25rem;
  align-items: end;
  margin-top: 1.25rem;
}

.profile-contact-card .frame-fallback {
  font-size: 1.25rem;
}

.profile-contact-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: -0.015em;
}

.profile-contact-role {
  font-size: 0.875rem;
  color: var(--ink-2);
}

.profile-contact-card .team-contact {
  margin-top: 0.5rem;
}

.profile-contact-note {
  margin-top: 1.25rem;
  font-size: 0.875rem;
  color: var(--ink-3);
}

.copy-status {
  font-size: 0.875rem;
  color: var(--ink-2);
  opacity: 0;
  transition: opacity 200ms ease;
}

.copy-status.is-visible {
  opacity: 1;
}

.profile-pager {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: clamp(3rem, 6vw, 5rem);
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.pager-link {
  display: grid;
  align-content: start;
  gap: 0.5rem;
}

.pager-next {
  justify-items: end;
  text-align: right;
}

.pager-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--ink-3);
}

.pager-label .icon {
  width: 1rem;
  height: 1rem;
  transition: transform 300ms var(--ease-out);
}

.pager-name {
  font-family: var(--font-display);
  font-weight: 100;
  font-size: clamp(1.375rem, 2.3vw, 2rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
}

@media (hover: hover) and (pointer: fine) {
  .pager-prev:hover .pager-label .icon {
    transform: translateX(-3px);
  }

  .pager-next:hover .pager-label .icon {
    transform: translateX(3px);
  }
}

.print-foot {
  display: none;
}

/* --------------------------------------------------------------------------
   Rechtliches und 404
   -------------------------------------------------------------------------- */
.legal {
  max-width: 52rem;
}

.page-legal .page-head {
  padding-bottom: var(--section-pad);
}

.legal-note {
  margin-top: 1.75rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--line-strong);
  background: var(--bg-raised);
  font-size: 0.9375rem;
  color: var(--ink-2);
}

.legal h2 {
  margin-top: 2.75rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.375rem;
  line-height: 1.2;
  letter-spacing: -0.015em;
}

.legal p:not(.legal-note) {
  margin-top: 0.75rem;
  max-width: 62ch;
  color: var(--ink-2);
}

.notfound-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem 2rem;
}

/* --------------------------------------------------------------------------
   Galerie auf der Profilseite
   -------------------------------------------------------------------------- */
.page-lede a {
  color: var(--ink);
  text-decoration-color: var(--line-strong);
}

.gallery {
  margin-top: clamp(3.5rem, 7vw, 5.5rem);
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.gallery-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.gallery-count {
  font-size: 0.875rem;
  color: var(--ink-3);
}

/* Reihen aus build.mjs: --sum ist die Summe der Seitenverhältnisse einer Reihe,
   --n die Zahl der Fotos darin. So füllt jede Reihe die Breite und alle Fotos
   einer Reihe stehen auf gleicher Höhe. */
.gallery-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.gallery-strip > li {
  flex: 0 0 calc((100% - (var(--n) - 1) * 0.75rem) * var(--r) / var(--sum) - 0.5px);
  min-width: 0;
}

.gallery-item,
.gallery-open {
  display: block;
  cursor: zoom-in;
}

.frame.is-color img {
  filter: none;
}

@media (hover: hover) and (pointer: fine) {
  .gallery-item:hover img.is-loaded,
  .gallery-open:hover img.is-loaded {
    transform: scale(1.03);
  }

  .gallery-item:hover .frame:not(.is-color) img.is-loaded {
    filter: grayscale(0.15) contrast(1.02);
  }
}

/* --------------------------------------------------------------------------
   Vollbild-Ansicht der Galerie
   -------------------------------------------------------------------------- */
.lightbox {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: #090b0c;
  color: #eef0ef;
  overflow: hidden;
  opacity: 0;
  transition: opacity 220ms var(--ease-out);
}

.lightbox[data-open] {
  opacity: 1;
}

.lightbox::backdrop {
  background: transparent;
}

/* Feste Zeile und Spalte, damit max-height: 100% am Bild greift */
.lightbox-stage {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template: minmax(0, 1fr) / minmax(0, 1fr);
  place-items: center;
  padding: clamp(4rem, 8vh, 5.5rem) clamp(1rem, 7vw, 6.5rem);
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}

.lightbox-img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  -webkit-user-drag: none;
}

.lightbox-img.is-sw {
  filter: grayscale(1) contrast(1.04);
}

.lightbox-missing {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: rgb(238 240 239 / 0.6);
}

.lightbox-btn {
  position: absolute;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  color: #eef0ef;
  background: rgb(255 255 255 / 0.06);
  border: 1px solid rgb(255 255 255 / 0.16);
  transition:
    background-color 200ms ease,
    transform 160ms var(--ease-out);
}

.lightbox-btn:active {
  transform: scale(0.94);
}

@media (hover: hover) and (pointer: fine) {
  .lightbox-btn:hover {
    background: rgb(255 255 255 / 0.14);
  }
}

.lightbox-btn .icon {
  width: 1.25rem;
  height: 1.25rem;
}

.lightbox :focus-visible {
  outline-color: #eef0ef;
}

.lightbox-close {
  top: 1rem;
  right: 1rem;
}

.lightbox-count {
  position: absolute;
  top: 1.75rem;
  left: clamp(0.75rem, 2vw, 1.5rem);
  font-size: 0.875rem;
  font-variant-numeric: tabular-nums;
  color: rgb(238 240 239 / 0.62);
}

.lightbox-count span {
  margin-left: 1rem;
}

.lightbox-prev,
.lightbox-next {
  top: 50%;
  margin-top: -1.5rem;
}

.lightbox-prev {
  left: clamp(0.75rem, 2vw, 1.5rem);
}

.lightbox-next {
  right: clamp(0.75rem, 2vw, 1.5rem);
}

/* --------------------------------------------------------------------------
   Casting-Anfrage
   -------------------------------------------------------------------------- */
.casting-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 3rem 1.5rem;
  align-items: start;
}

.casting-side {
  grid-column: 1 / span 4;
  position: sticky;
  top: calc(var(--nav-h) + 1.5rem);
  display: grid;
  gap: 2.25rem;
}

.casting-form-wrap {
  grid-column: 6 / span 7;
}

.side-title {
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--ink-3);
}

.picked-list {
  display: grid;
  gap: 0.5rem;
  margin-top: 0.875rem;
}

.picked-list:empty {
  display: none;
}

.picked-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: baseline;
  gap: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--line);
}

.picked-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: -0.015em;
}

.picked-role {
  font-size: 0.8125rem;
  color: var(--ink-3);
}

.picked-remove {
  display: grid;
  place-items: center;
  align-self: center;
  width: 2rem;
  height: 2rem;
  color: var(--ink-3);
  transition: color 200ms ease;
}

.picked-remove .icon {
  width: 1rem;
  height: 1rem;
}

@media (hover: hover) and (pointer: fine) {
  .picked-remove:hover {
    color: var(--ink);
  }
}

.picked-suggest {
  font-family: var(--font-display);
  font-size: 1.0625rem;
}

.picked-empty {
  max-width: 34ch;
  margin-top: 0.875rem;
  font-size: 0.9375rem;
  color: var(--ink-2);
}

.agent-name {
  margin-top: 0.875rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: -0.015em;
}

.agent-role {
  font-size: 0.875rem;
  color: var(--ink-2);
}

.casting-agent .team-contact {
  margin-top: 0.625rem;
}

.casting-form {
  display: grid;
  gap: 2.5rem;
}

.form-section {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.form-section + .form-section {
  padding-top: 2.25rem;
  border-top: 1px solid var(--line);
}

/* float holt die Legende aus der Rahmenlinie in den Inhalt */
.form-legend {
  float: left;
  width: 100%;
  padding: 0;
  margin-bottom: 1.25rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.375rem, 2vw, 1.75rem);
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.form-legend ~ * {
  clear: both;
}

.form-fields {
  display: grid;
  gap: 1.5rem;
}

.form-section > .field-error {
  margin-top: 0.75rem;
}

/* Auswahl nach Sparten, nur Namen: Fotos gibt es erst auf den Profilen */
.pick-groups {
  display: grid;
  gap: 1.5rem;
}

.pick-group-title {
  margin-bottom: 0.625rem;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.pick-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr));
  gap: 0.625rem;
}

.pick {
  position: relative;
  display: block;
  height: 100%;
  padding: 0.75rem 2.75rem 0.75rem 0.875rem;
  border: 1px solid var(--line-strong);
  cursor: pointer;
  transition:
    border-color 200ms ease,
    background-color 200ms ease,
    transform 160ms var(--ease-out);
}

.pick:active {
  transform: scale(0.98);
}

.pick input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  opacity: 0;
  pointer-events: none;
}

.pick:has(input:focus-visible) {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.pick:has(input:checked) {
  border-color: var(--ink);
  background: var(--bg-raised);
}

@media (hover: hover) and (pointer: fine) {
  .pick:hover {
    border-color: var(--ink-3);
  }

  .pick:has(input:checked):hover {
    border-color: var(--ink);
  }
}

.pick-name {
  display: block;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.3;
}

.pick-role {
  display: block;
  margin-top: 0.125rem;
  font-size: 0.8125rem;
  line-height: 1.35;
  color: var(--ink-3);
}

.pick-check {
  position: absolute;
  top: 50%;
  right: 0.75rem;
  display: grid;
  place-items: center;
  width: 1.25rem;
  height: 1.25rem;
  margin-top: -0.625rem;
  border: 1px solid var(--line-strong);
  transition:
    background-color 150ms ease,
    border-color 150ms ease;
}

.pick-check .icon {
  width: 0.875rem;
  height: 0.875rem;
  opacity: 0;
  transform: scale(0.6);
  transition:
    opacity 150ms ease,
    transform 150ms var(--ease-out);
}

.pick:has(input:checked) .pick-check {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bg);
}

.pick:has(input:checked) .pick-check .icon {
  opacity: 1;
  transform: none;
}

.pick-suggest {
  margin-top: 1.25rem;
}

.field.is-invalid select {
  border-color: #a3262f;
}

:root[data-theme="dark"] .field.is-invalid select {
  border-color: #f0989c;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .field.is-invalid select {
    border-color: #f0989c;
  }
}

@media (max-width: 960px) {
  .casting-side,
  .casting-form-wrap {
    grid-column: 1 / -1;
  }

  .casting-side {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .gallery-strip {
    flex-wrap: nowrap;
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }

  .gallery-strip::-webkit-scrollbar {
    display: none;
  }

  .gallery-strip > li {
    flex: none;
    width: calc(15rem * var(--r));
    scroll-snap-align: start;
  }

  .lightbox-stage {
    padding: 4rem 0.75rem 6rem;
  }

  .lightbox-prev,
  .lightbox-next {
    top: auto;
    bottom: max(1.25rem, env(safe-area-inset-bottom));
    margin-top: 0;
  }

  .lightbox-prev {
    left: calc(50% - 3.75rem);
  }

  .lightbox-next {
    right: calc(50% - 3.75rem);
  }

  .casting-side {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  /* Auf dem Handy eine kompakte Liste */
  .pick-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.375rem;
  }

  .pick {
    padding: 0.625rem 3rem 0.625rem 0.75rem;
  }

  .pick-check {
    right: 0.875rem;
  }
}

/* --------------------------------------------------------------------------
   Merkliste: Symbol in der Kopfzeile, Merken-Schalter
   -------------------------------------------------------------------------- */
/* Lesezeichen mit der Anzahl daneben, ruhig wie die übrigen Symbole */
.saved-link {
  display: none;
  width: auto;
  min-width: 2.5rem;
  padding-inline: 0.5rem;
  gap: 0.375rem;
  grid-auto-flow: column;
  text-decoration: none;
}

html.has-saved .saved-link {
  display: inline-grid;
}

.saved-link .icon {
  width: 1.125rem;
  height: 1.125rem;
}

.saved-count {
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.saved-count:empty {
  display: none;
}

.save-toggle .save-on,
.save-toggle[aria-pressed="true"] .save-off {
  display: none;
}

.save-toggle[aria-pressed="true"] .save-on {
  display: block;
}

/* Über einem Porträt: kleines dunkles Feld oben rechts */
.has-save {
  position: relative;
}

.save-toggle-icon {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  color: #f3f5f4;
  background: rgb(14 17 18 / 0.55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition:
    background-color 200ms ease,
    opacity 200ms ease,
    transform 160ms var(--ease-out);
}

.save-toggle-icon .icon {
  width: 1.125rem;
  height: 1.125rem;
}

.save-toggle-icon:active {
  transform: scale(0.92);
}

.save-toggle-icon:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Mit Maus erst beim Überfahren, gemerkte Profile bleiben sichtbar markiert */
@media (hover: hover) and (pointer: fine) {
  .save-toggle-icon {
    opacity: 0;
  }

  .has-save:hover .save-toggle-icon,
  .save-toggle-icon:focus-visible,
  .save-toggle-icon[aria-pressed="true"] {
    opacity: 1;
  }

  .save-toggle-icon:hover {
    background: rgb(14 17 18 / 0.78);
  }
}

/* --------------------------------------------------------------------------
   Ähnliche Profile
   -------------------------------------------------------------------------- */
.related {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: clamp(3.5rem, 7vw, 5.5rem);
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.related-list {
  grid-column: 2 / span 3;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.related .portrait-name {
  font-size: 1.375rem;
}

.related-note {
  max-width: 22ch;
  margin-top: 1rem;
  font-size: 0.9375rem;
  color: var(--ink-3);
}

/* --------------------------------------------------------------------------
   Merkliste-Seite
   -------------------------------------------------------------------------- */
.saved-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 3rem 1.5rem;
  align-items: start;
}

.saved-main {
  grid-column: 1 / span 7;
}

.saved-side {
  grid-column: 9 / span 4;
  position: sticky;
  top: calc(var(--nav-h) + 1.5rem);
  display: grid;
  gap: 2rem;
}

.saved-list {
  border-top: 1px solid var(--line);
}

.saved-list:not(:has(> li:not([hidden]))) {
  border-top: 0;
}

.saved-item {
  display: grid;
  grid-template-columns: 5.5rem minmax(0, 1fr) auto;
  gap: 1.5rem;
  align-items: center;
  padding-block: 1rem;
  border-bottom: 1px solid var(--line);
}

.saved-photo .frame-fallback {
  font-size: 1.25rem;
}

.saved-name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.25rem, 2vw, 1.625rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.saved-name a {
  text-decoration: none;
}

.saved-meta {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: var(--ink-3);
}

.saved-links {
  margin-top: 0.5rem;
}

.saved-links .text-link,
.share-more .text-link,
.pick-from-saved .text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
}

.saved-links .icon,
.pick-from-saved .icon {
  width: 1rem;
  height: 1rem;
}

.saved-remove {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  color: var(--ink-2);
  border: 1px solid transparent;
  transition:
    border-color 200ms ease,
    transform 160ms var(--ease-out);
}

.saved-remove:active {
  transform: scale(0.94);
}

@media (hover: hover) and (pointer: fine) {
  .saved-remove:hover {
    border-color: var(--line-strong);
    color: var(--ink);
  }
}

.saved-empty p {
  max-width: 40ch;
  font-size: 1.125rem;
  color: var(--ink-2);
}

.saved-empty p .icon {
  width: 1.1em;
  height: 1.1em;
  vertical-align: -0.2em;
}

.saved-empty .btn {
  margin-top: 1.75rem;
}

.saved-clear {
  margin-top: 1.5rem;
  font-size: 0.875rem;
  color: var(--ink-3);
}

.saved-block {
  display: grid;
  gap: 0.75rem;
}

.pdf-status {
  font-size: 0.875rem;
  color: var(--ink-2);
}

.pdf-status:empty {
  display: none;
}

.btn[aria-busy="true"] {
  cursor: progress;
  opacity: 0.7;
}

.share-form {
  gap: 1.25rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.share-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.5rem;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.share-text {
  margin-top: -0.5rem;
  font-size: 0.9375rem;
  color: var(--ink-2);
}

.share-form .field textarea {
  min-height: 5.5rem;
}

.share-out {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
}

.share-url {
  min-width: 0;
  height: 2.5rem;
  padding-inline: 0.75rem;
  border: 1px solid var(--line-strong);
  border-right: 0;
  border-radius: 0;
  background: var(--bg-raised);
  color: var(--ink-2);
  font: inherit;
  font-size: 0.8125rem;
  text-overflow: ellipsis;
}

.share-url:focus-visible {
  outline: none;
  border-color: var(--accent);
}

.share-out .btn {
  gap: 0.5rem;
}

.share-out .btn .icon {
  width: 1rem;
  height: 1rem;
}

.share-more {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1.5rem;
}

.share-more .copy-status {
  flex-basis: 100%;
}

/* Casting-Seite: Merkliste übernehmen */
.pick-from-saved {
  margin-bottom: 1rem;
}

/* --------------------------------------------------------------------------
   Auswahl-Link
   -------------------------------------------------------------------------- */
.selection-kicker {
  margin-bottom: 1.25rem;
  font-size: 0.875rem;
  color: var(--ink-3);
}

.selection-note {
  max-width: 44rem;
  margin: 2rem 0 0;
  padding-left: 1.25rem;
  border-left: 1px solid var(--line-strong);
  font-family: var(--font-display);
  font-size: clamp(1.125rem, 1.7vw, 1.375rem);
  line-height: 1.45;
  color: var(--ink-2);
  font-weight: 300;
}

.selection-bar {
  display: grid;
  gap: 1.75rem;
  padding-bottom: clamp(2rem, 4vw, 3rem);
}

.selection-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.selection-contact {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr);
  gap: 1.25rem;
  align-items: end;
  max-width: 34rem;
}

.selection-contact .frame-fallback {
  font-size: 1.125rem;
}

.selection-contact .team-contact {
  margin-top: 0.5rem;
}

.selection-item {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 2rem 1.5rem;
  align-items: start;
  padding-block: clamp(2rem, 4vw, 3.5rem);
  border-top: 1px solid var(--line);
}

.selection-photo {
  grid-column: 1 / span 4;
}

.selection-body {
  grid-column: 6 / span 7;
}

.selection-index {
  font-size: 0.875rem;
  font-variant-numeric: tabular-nums;
  color: var(--ink-3);
}

.selection-name {
  margin-top: 0.5rem;
  font-family: var(--font-display);
  font-weight: 100;
  font-size: clamp(1.625rem, 2.5vw, 2.125rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.selection-name a {
  text-decoration: none;
}

.selection-bio {
  max-width: 62ch;
  margin-top: 1rem;
  color: var(--ink-2);
}

.selection-meta {
  margin-top: 0.5rem;
  color: var(--ink-2);
}

.selection-credits h3 {
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--ink-3);
}

.selection-credits {
  margin-top: 1.75rem;
}

.selection-credits ol {
  display: grid;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.selection-credits li {
  display: grid;
  grid-template-columns: 3.5rem minmax(0, 1fr);
  gap: 1rem;
  align-items: baseline;
}

.selection-credit {
  font-size: 0.9375rem;
  color: var(--ink-2);
}

.selection-credit em {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  color: var(--ink);
}

.selection-item-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 2rem;
}

.selection-item-actions .btn {
  gap: 0.5rem;
}

.selection-item-actions .icon {
  width: 1rem;
  height: 1rem;
}

.selection-agent {
  margin-top: 1.25rem;
  font-size: 0.875rem;
  color: var(--ink-3);
}

.selection-agent a {
  color: var(--ink-2);
  text-decoration-color: var(--line-strong);
}

.selection-empty p {
  max-width: 44ch;
  font-size: 1.125rem;
  color: var(--ink-2);
}

.selection-empty .btn {
  margin-top: 1.75rem;
}

@media (max-width: 960px) {
  .related {
    grid-template-columns: minmax(0, 1fr);
  }

  .related-list {
    grid-column: 1;
  }

  .saved-main,
  .saved-side {
    grid-column: 1 / -1;
  }

  .saved-side {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }

  .share-form {
    padding-top: 0;
    border-top: 0;
  }

  .selection-photo {
    grid-column: 1 / span 5;
  }

  .selection-body {
    grid-column: 6 / span 7;
  }
}

@media (max-width: 767px) {
  .related-list {
    display: flex;
    gap: 0.75rem;
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }

  .related-list::-webkit-scrollbar {
    display: none;
  }

  .related-list > li {
    flex: none;
    width: min(62vw, 15rem);
    scroll-snap-align: start;
  }

  .saved-side {
    grid-template-columns: minmax(0, 1fr);
  }

  .share-form {
    padding-top: 2rem;
    border-top: 1px solid var(--line);
  }

  .saved-item {
    grid-template-columns: 4.5rem minmax(0, 1fr) auto;
    gap: 1rem;
  }

  .selection-item {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
  }

  .selection-photo,
  .selection-body {
    grid-column: 1;
  }

  .selection-photo {
    width: min(100%, 18rem);
  }

  .selection-actions .btn {
    flex: 1 1 100%;
  }
}

/* --------------------------------------------------------------------------
   Scroll-Reveals (nur Marketing-Flächen, einmalig)
   -------------------------------------------------------------------------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 900ms var(--ease-out),
    transform 900ms var(--ease-out);
  transition-delay: calc(var(--d, 0) * 80ms);
}

.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

.js [data-reveal="clip"] {
  opacity: 1;
  transform: none;
  clip-path: inset(100% 0 0 0);
  transition: clip-path 1100ms var(--ease-in-out);
}

.js [data-reveal="clip"].is-in {
  clip-path: inset(0 0 0 0);
}

/* --------------------------------------------------------------------------
   Seitenübergänge (View Transitions zwischen Dokumenten)
   Die Seite blendet ruhig über, der Kopf bleibt stehen, und ein angeklicktes
   Porträt gleitet an seinen Platz auf der Profilseite.
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  @view-transition {
    navigation: auto;
  }
}

.site-header {
  view-transition-name: site-header;
}

::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 280ms;
  animation-timing-function: ease;
}

::view-transition-group(portrait) {
  animation-duration: 560ms;
  animation-timing-function: cubic-bezier(0.77, 0, 0.175, 1);
}

::view-transition-image-pair(portrait) {
  overflow: hidden;
}

::view-transition-old(portrait),
::view-transition-new(portrait) {
  height: 100%;
  object-fit: cover;
  animation-duration: 560ms;
}

/* --------------------------------------------------------------------------
   Großbuchstaben für Überschriften, Namen der Kreativen und das Menü
   Versalien brauchen mehr Luft als Kleinbuchstaben, daher die Laufweiten.
   -------------------------------------------------------------------------- */
/* Überlange Wörter in Versalien (z. B. Titel aus Auswahl-Links) brechen um, statt herauszuragen */
h1,
h2,
h3 {
  overflow-wrap: break-word;
}

@media (max-width: 767px) {
  .page-title,
  .legal h2 {
    hyphens: auto;
  }
}

/* Überschriften */
.subsection-title,
.program-title,
.form-legend,
.faq-q button,
.steps h3,
.team-name,
.legal h2,
.people-title,
.share-title,
.form-success h2,
.form-success h3 {
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

/* Kleine Überschriften über Listen */
.vita h2,
.profile-contact h2,
.side-title,
.selection-credits h3 {
  letter-spacing: 0.08em;
}

.vita h2,
.profile-contact h2,
.side-title,
.selection-credits h3 {
  font-size: 0.75rem;
  text-transform: uppercase;
}

/* Namen der Kreativen */
.roster-name,
.portrait-name,
.profile-name,
.pager-name,
.saved-name,
.selection-name,
.pick-name,
.picked-name,
.program-team dd,
.discipline-people,
.name-link {
  text-transform: uppercase;
}

.roster-name,
.profile-name,
.pager-name,
.selection-name {
  letter-spacing: 0;
}

.portrait-name,
.saved-name,
.pick-name,
.picked-name,
.program-team dd,
.discipline-people,
.name-link {
  letter-spacing: 0.04em;
}

/* Menü */
.primary-nav a,
.footer-links a {
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   Neongrüner Cursor (nur mit Maus, main.js setzt has-cursor)
   Der normale Zeiger verschwindet, außer in Eingabefeldern und offenen Dialogen.
   -------------------------------------------------------------------------- */
.cursor {
  display: none;
}

html.has-cursor,
html.has-cursor * {
  cursor: none !important;
}

html.has-cursor input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]),
html.has-cursor textarea,
html.has-cursor select,
html.has-cursor dialog[open],
html.has-cursor dialog[open] * {
  cursor: auto !important;
}

.has-cursor .cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: var(--z-cursor);
  display: block;
  width: 0;
  height: 0;
  pointer-events: none;
  will-change: transform;
  transition: opacity 200ms ease;
}

.cursor.is-away,
.cursor.is-native {
  opacity: 0;
}

.cursor-dot,
.cursor-ring {
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 50%;
}

.cursor-dot {
  width: 8px;
  height: 8px;
  margin: -4px 0 0 -4px;
  background: var(--cursor);
  box-shadow: 0 0 10px 1px var(--cursor-glow);
  transition: transform 180ms var(--ease-out);
}

.cursor-ring {
  width: 34px;
  height: 34px;
  margin: -17px 0 0 -17px;
  border: 1px solid var(--cursor);
  box-shadow: 0 0 12px var(--cursor-glow), inset 0 0 8px var(--cursor-glow);
  opacity: 0;
  transform: scale(0.35);
  transition:
    transform 260ms var(--ease-out),
    opacity 200ms ease;
}

/* Über Links und Buttons: Ring auf, Punkt kleiner */
.cursor.is-link .cursor-ring {
  opacity: 1;
  transform: none;
}

.cursor.is-link .cursor-dot {
  transform: scale(0.6);
}

/* Beim Klicken zieht sich alles kurz zusammen */
.cursor.is-down .cursor-dot {
  transform: scale(0.45);
}

.cursor.is-down .cursor-ring {
  transform: scale(0.82);
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .discipline-row {
    grid-template-columns: 2.5rem minmax(0, 1fr) 1.5rem;
  }

  .discipline-body {
    grid-column: 2;
  }

  .discipline-arrow {
    grid-column: 3;
    grid-row: 1;
  }

  .roster-head,
  .roster-link {
    grid-template-columns: minmax(0, 5fr) minmax(0, 4fr) minmax(0, 2fr) 1.25rem;
  }

  .roster-head span:nth-child(4),
  .roster-latest {
    display: none;
  }
}

@media (max-width: 960px) {
  .primary-nav {
    display: none;
  }

  .menu-toggle {
    display: inline-block;
  }

  .portrait-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .portrait-grid > li[data-c4="1"],
  .portrait-grid > li[data-c4="3"] {
    margin-top: 0;
    margin-bottom: 0;
  }

  .portrait-grid > li[data-c3="1"] {
    margin-top: 3.5rem;
    margin-bottom: -3.5rem;
  }

  .program-when {
    grid-column: 1 / span 12;
  }

  .program-main {
    grid-column: 1 / span 6;
  }

  .program-team {
    grid-column: 7 / span 6;
  }

  .pillar-list {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .pillar {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 0 1.5rem;
  }

  .pillar-num,
  .pillar-title {
    grid-column: 1;
  }

  .pillar-text,
  .pillar-points {
    grid-column: 2;
  }

  .pillar-text {
    grid-row: 1 / span 2;
    margin-top: 0;
  }

  .about-col:nth-child(1),
  .page-agency .about-col:nth-child(1) {
    grid-column: 1 / span 6;
  }

  .about-col:nth-child(2),
  .page-agency .about-col:nth-child(2) {
    grid-column: 7 / span 6;
  }

  .quote {
    margin-left: 0;
  }

  .quote-lead {
    grid-column: 1 / -1;
  }

  .quote-small:nth-of-type(2) {
    grid-column: 1 / span 6;
  }

  .quote-small:nth-of-type(3) {
    grid-column: 7 / span 6;
  }

  .history-lead {
    grid-column: 1 / -1;
  }

  .history-text {
    grid-column: 1 / span 9;
  }

  .team-lead {
    grid-column: 1 / span 6;
  }

  .team-list {
    grid-column: 7 / span 6;
    padding-top: 0;
  }

  .team-member {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .team-member .frame {
    width: 7rem;
  }

  .apply-intro,
  .steps-wrap,
  .faq,
  .faq-grid .section-title,
  .contact-info,
  .contact-form-wrap {
    grid-column: 1 / -1;
  }

  .archive-label,
  .archive-list {
    grid-column: 1 / -1;
  }

  .cta-title {
    grid-column: 1 / -1;
  }

  .cta-side {
    grid-column: 1 / span 9;
  }

  .profile-photo {
    grid-column: 1 / span 5;
  }

  .profile-main {
    grid-column: 6 / span 7;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  :root {
    --nav-h: 64px;
  }

  .hero-title {
    font-size: clamp(1.25rem, 5.4vw, 1.75rem);
  }

  .kicker {
    font-size: 0.75rem;
    letter-spacing: 0.06em;
  }

  .discipline-name {
    font-size: clamp(1.5rem, 6.6vw, 2.25rem);
  }

  .discipline-num {
    padding-top: 0.35em;
  }

  /* Liste der Kreativen auf dem Handy: Name, darunter Tätigkeit und Ort */
  .roster-head {
    display: none;
  }

  .roster-link {
    grid-template-columns: minmax(0, 1fr) 1.25rem;
    gap: 0.25rem 1rem;
    border-bottom-color: var(--line);
  }

  .roster-name {
    grid-column: 1;
  }

  .roster-role {
    grid-column: 1;
    grid-row: 2;
  }

  .roster-city {
    display: none;
  }

  .roster-arrow {
    grid-column: 2;
    grid-row: 1 / span 2;
  }

  .program-team {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pillar {
    display: block;
  }

  .pillar-text {
    margin-top: 1rem;
  }

  .section-head .text-link {
    margin-bottom: 0;
  }

  .roster-controls {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
  }

  .filter {
    max-width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
    gap: 1.25rem;
  }

  .filter::-webkit-scrollbar {
    display: none;
  }

  .portrait-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.5rem 1rem;
  }

  .portrait-grid > li[data-c3="1"] {
    margin-top: 0;
    margin-bottom: 0;
  }

  .portrait-grid > li[data-c2="1"] {
    margin-top: 2.5rem;
    margin-bottom: -2.5rem;
  }

  .portrait-name {
    font-size: 1.375rem;
  }

  .program-item {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .program-when,
  .program-main,
  .program-team {
    grid-column: 1;
  }

  .statement-side {
    margin-left: 0;
  }

  .about-columns,
  .voices-grid,
  .history-grid,
  .cta-inner,
  .archive-list {
    grid-template-columns: 1fr;
  }

  .about-col:nth-child(1),
  .about-col:nth-child(2),
  .page-agency .about-col:nth-child(1),
  .page-agency .about-col:nth-child(2),
  .quote-small:nth-of-type(2),
  .quote-small:nth-of-type(3),
  .history-text,
  .cta-side {
    grid-column: 1;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .team-lead,
  .team-list {
    grid-column: 1;
  }

  .team-member {
    grid-template-columns: 6.5rem minmax(0, 1fr);
    align-items: end;
  }

  .team-member .frame {
    width: auto;
  }

  .field-row {
    grid-template-columns: 1fr;
  }

  .profile-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .profile-photo {
    position: static;
    grid-column: 1;
    width: min(100%, 24rem);
  }

  .profile-main {
    grid-column: 1;
  }

  .profile-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .profile-actions .btn-primary,
  .profile-actions .copy-status {
    grid-column: 1 / -1;
  }

  .profile-actions .btn-ghost {
    padding-inline: 0.75rem;
  }

  .profile-pager {
    gap: 1rem;
  }

  .pager-name {
    font-size: 1.75rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   Reduzierte Bewegung: weniger und sanfter, nicht gar nichts
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .js .hero .line-inner {
    transform: none;
    transition: none;
  }

  .scroll-cue-line::after {
    animation: none;
    transform: none;
  }

  .cursor-dot,
  .cursor-ring {
    transition: opacity 150ms ease;
  }

  .show-intro .intro-logo,
  .show-intro .intro-tag {
    animation: none;
  }

  .js [data-reveal] {
    transform: none;
    transition: opacity 400ms ease;
  }

  .js [data-reveal="clip"] {
    clip-path: none;
    opacity: 0;
  }

  .js [data-reveal="clip"].is-in {
    opacity: 1;
  }

  .cast-preview-inner,
  .mobile-menu-links li,
  .mobile-menu-foot {
    transform: none;
  }

  .frame img,
  .portrait-card:hover img.is-loaded {
    transform: none;
  }
}

/* --------------------------------------------------------------------------
   Druck: Profilseiten als schlichtes A4-Blatt
   -------------------------------------------------------------------------- */
@media print {
  :root,
  :root[data-theme="light"] {
    --bg: #ffffff;
    --bg-raised: #ffffff;
    --surface: #eeeeee;
    --ink: #111111;
    --ink-2: #333333;
    --ink-3: #555555;
    --line: #cccccc;
    --line-strong: #999999;
    --stage: #777777;
    color-scheme: light;
  }

  @page {
    size: A4;
    margin: 14mm 14mm 16mm;
  }

  body {
    font-size: 10pt;
    background: #ffffff;
  }

  body::after,
  .site-header,
  .site-footer,
  .mobile-menu,
  .skip-link,
  .profile-actions,
  .profile-pager,
  .breadcrumb,
  .cast-preview,
  .cursor,
  .cta-band,
  .menu-toggle,
  .gallery,
  .lightbox,
  .related,
  .save-toggle,
  .saved-link,
  .saved-side,
  .saved-remove,
  .selection-actions,
  .selection-item-actions {
    display: none !important;
  }

  .js [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
  }

  .profile {
    padding: 0;
  }

  body {
    font-size: 9.5pt;
  }

  .profile-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0 6mm;
  }

  .profile-main {
    display: contents;
  }

  .profile-photo {
    grid-column: 1 / span 2;
    grid-row: 1 / span 3;
    position: static;
    width: auto;
  }

  .profile-name,
  .profile-lede,
  .profile-bio {
    grid-column: 3 / span 4;
    align-self: start;
  }

  .profile-name {
    font-size: 30pt;
  }

  .profile-lede {
    margin-top: 2mm;
    font-size: 10.5pt;
  }

  .profile-bio {
    margin-top: 5mm;
    font-size: 12pt;
  }

  .vita {
    grid-column: 1 / span 3;
  }

  .vita + .vita {
    grid-column: 4 / span 3;
  }

  .vita {
    margin-top: 6mm;
    padding-top: 4mm;
    break-inside: avoid;
  }

  /* Die Ansprechperson steht unten auf dem Blatt */
  .profile-contact {
    display: none;
  }

  .credits {
    gap: 2mm;
  }

  .credit-title {
    font-size: 12pt;
  }

  .frame img {
    opacity: 1;
  }

  .print-foot {
    display: block;
    margin-top: 8mm;
    padding-top: 3mm;
    border-top: 1px solid #cccccc;
    font-size: 8.5pt;
    color: #555555;
  }

  a {
    text-decoration: none;
  }
}
