/* Cut-EFX – Liner Notes */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  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: "Archivo";
  src: url("../fonts/archivo-latin-ext.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* Farben */
  --sleeve: #2c2d26;
  --sleeve-2: #36372f;
  --bone: #ebe3d2;
  --small: #aaa591;
  --tan: #b89c76;
  --rule: rgba(235, 227, 210, 0.22);

  /* Abstände */
  --s1: 4px; --s2: 8px; --s3: 16px; --s4: 24px; --s5: 32px;
  --s6: 48px; --s7: 64px; --s8: 96px; --s9: 128px;
  --gutter: var(--s3);

  /* Schriftgrössen */
  --t-display: clamp(5.5rem, 22vw, 15rem);
  /* Untergrenze nie breiter als der Bildschirm für das längste Wort («Referenzen») */
  --t-h2: clamp(min(3.5rem, calc((100vw - 2 * var(--gutter)) / 5.15)), 12vw, 8rem);
  --t-sub: clamp(2.25rem, 6vw, 4.5rem); /* Untertitel (Releases, Mixes): etwa halb so gross wie --t-h2 */
  --t-h3: clamp(1.75rem, 4vw, 2.25rem);
  --t-body: clamp(1.125rem, 1.6vw, 1.25rem);
  --t-label: clamp(0.875rem, 1.2vw, 1rem);
  --t-small: 0.9375rem;

  /* Schnitte */
  --w-narrow: 62%;
  --w-cond: 75%;
  --w-btn: 80%;

  --header-h: 64px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);

  color-scheme: dark;
}
@media (min-width: 768px) {
  :root { --gutter: var(--s7); --header-h: 80px; }
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scrollbar-color: var(--small) var(--sleeve);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  background: var(--sleeve);
  color: var(--bone);
  font-family: "Archivo", sans-serif;
  font-size: var(--t-body);
  line-height: 1.55;
  font-variant-numeric: tabular-nums;
  caret-color: var(--tan);
  /* sehr lange Wörter (z. B. «Schweizermeisterschaft») brechen nur um, wenn sie sonst über den Rand ragen */
  overflow-wrap: break-word;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}

/* Schönerer Zeilenumbruch: seltener ein einzelnes Wort allein auf der letzten Zeile */
p, li, dd { text-wrap: pretty; }

/* Körnung über der ganzen Fläche (kräftig, gröberes Korn wie Film) */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0.38;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.6' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

::selection { background: var(--tan); color: var(--sleeve); }

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

a { color: inherit; }

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

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: var(--s3);
  top: 0;
  transform: translateY(-100%);
  z-index: 200;
  padding: var(--s2) var(--s3);
  background: var(--bone);
  color: var(--sleeve);
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: var(--s3); transform: none; }

.wrap {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- Schrift-Stimmen ---------- */

.display {
  font-stretch: var(--w-narrow);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.85;
  letter-spacing: -0.005em;
}

.label {
  font-stretch: var(--w-cond);
  font-weight: 600;
  font-size: var(--t-label);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ---------- Kopfzeile ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: var(--sleeve);
  border-bottom: 1px solid var(--rule);
}
.site-header .wrap {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s4);
}
.brand {
  display: block;
  flex: none;
}
.brand img { width: 40px; height: 40px; }
@media (min-width: 768px) { .brand img { width: 48px; height: 48px; } }

.nav-list {
  list-style: none;
  display: flex;
  gap: clamp(var(--s4), 3vw, var(--s6));
}
.nav-list a {
  display: block;
  padding: var(--s2) 0;
  font-stretch: var(--w-cond);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--bone);
  transition: color 0.2s ease;
}
.nav-list a[aria-current="true"] { color: var(--tan); font-weight: 800; }

.lang {
  display: flex;
  align-items: center;
  gap: var(--s1);
}
.lang button {
  min-width: 44px;
  min-height: 44px;
  padding: 0 var(--s2);
  background: none;
  border: 0;
  color: var(--small);
  font: inherit;
  font-stretch: var(--w-cond);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: color 0.2s ease;
}
.lang button[aria-pressed="true"] { color: var(--bone); font-weight: 900; text-decoration: underline; text-decoration-color: var(--tan); text-underline-offset: 0.3em; text-decoration-thickness: 2px; }
.lang .sep { color: var(--small); }

.menu-toggle {
  display: none;
  min-height: 44px;
  padding: 0 var(--s2);
  background: none;
  border: 0;
  color: var(--bone);
  font: inherit;
  font-stretch: var(--w-cond);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}

/* Desktop: Navigation oben mittig */
@media (min-width: 900px) {
  .site-header .wrap { display: grid; grid-template-columns: 1fr auto 1fr; }
  .lang { justify-self: end; }
  .site-nav .lang-mobile { display: none; }
}

/* Handy: Menü */
@media (max-width: 899px) {
  .menu-toggle { display: block; margin-left: auto; }
  .site-header > .wrap > .lang { display: none; }
  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    background: var(--sleeve);
    padding: var(--s5) var(--gutter);
    display: flex;
    flex-direction: column;
    gap: var(--s6);
    overflow-y: auto;
    overscroll-behavior: contain;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.25s var(--ease-out), transform 0.25s var(--ease-out), visibility 0s 0.25s;
  }
  .site-nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out), visibility 0s;
  }
  .nav-list { flex-direction: column; gap: 0; border-top: 1px solid var(--rule); }
  .nav-list li { border-bottom: 1px solid var(--rule); }
  .nav-list a {
    padding: var(--s3) 0;
    font-stretch: var(--w-narrow);
    font-weight: 900;
    /* höchstens so gross, dass das längste Wort («Referenzen») auf den Bildschirm passt */
    font-size: min(2.75rem, calc((100vw - 2 * var(--gutter)) / 5.2));
    line-height: 1;
    letter-spacing: 0;
  }
  .lang-mobile { margin-left: calc(var(--s2) * -1); }
  .lang-mobile button { font-size: 1.25rem; }
  body.menu-open { overflow: hidden; }
  /* iPhone: Safari zeigt hinter seiner schwebenden Leiste die Seite selbst.
     Solange das Menü offen ist, wird die Seite ausgeblendet (erst wenn das Menü ganz eingeblendet ist). */
  main, .site-footer { transition: visibility 0s; }
  body.menu-open main,
  body.menu-open .site-footer { visibility: hidden; transition: visibility 0s 0.3s; }
}

/* ---------- Abschnitte ---------- */

.section {
  padding: var(--s8) 0;
  border-top: 1px solid var(--rule);
}
.section-title {
  font-size: var(--t-h2);
  margin-bottom: var(--s6);
}
.intro {
  max-width: 40ch;
  font-size: clamp(1.25rem, 2.2vw, 1.625rem);
  line-height: 1.4;
  margin-bottom: var(--s7);
}

/* Fotos: leicht warm */
.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: sepia(0.2) contrast(1.06) brightness(0.96);
}
.photo { position: relative; overflow: hidden; background: var(--sleeve-2); }
.photo::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.5;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
.photo-credit {
  margin-top: var(--s2);
  font-size: var(--t-small);
  color: var(--small);
}

/* ---------- Credit-Zeilen ---------- */

.credits { border-top: 1px solid var(--rule); }
.credits > div {
  display: grid;
  grid-template-columns: 8.75rem 1fr;
  gap: var(--s3);
  padding: var(--s3) 0;
  border-bottom: 1px solid var(--rule);
}
.credits dt {
  font-stretch: var(--w-cond);
  font-weight: 600;
  font-size: var(--t-label);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--small);
  padding-top: 0.2em;
}
/* Credit-Zeilen: Beschriftung und Namen nebeneinander; reicht der Platz nicht
   (z. B. grosse Schrift auf kleinem Handy), rutschen die Namen darunter */
.credits:not(.facts) > div {
  display: flex;
  flex-wrap: wrap;
  column-gap: var(--s3);
  row-gap: var(--s1);
}
.credits:not(.facts) dt { flex: 0 1 8.75rem; }
.credits:not(.facts) dd { flex: 1 1 7rem; min-width: 0; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  min-height: 48px;
  padding: var(--s3) var(--s4);
  background: var(--bone);
  color: var(--sleeve);
  border: 2px solid var(--bone);
  font: inherit;
  font-stretch: var(--w-btn);
  font-weight: 900;
  font-size: 1.125rem;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.15s var(--ease-out);
}
.btn:active { transform: scale(0.98); }

/* Antippen: sofort auslösen (keine Wartezeit auf einen Doppeltipp) */
a, button, summary, label, select { touch-action: manipulation; }

/* Bedienelemente: Text beim langen Drücken nicht markieren (Lesetext bleibt markierbar) */
.btn,
.menu-toggle,
.nav-list a,
.lang button,
.toggle-all,
.group summary {
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

/* Sichtbare Reaktion, solange der Finger (oder die Maus) drückt */
.nav-list a:active,
.lang button:active,
.group summary:active,
.link:active,
.social a:active,
.legal a:active { color: var(--tan); }
.nav-list a[aria-current="true"]:active,
.toggle-all:active { color: var(--bone); } /* schon tan: kurz hell */
.btn-outline {
  background: transparent;
  color: var(--bone);
}
.btn[disabled] { opacity: 0.6; cursor: progress; }

.link {
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--tan);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.25em;
}

/* Kleine Links: unsichtbare Antippfläche von mindestens 44 px Höhe.
   Sie wächst nach oben und unten, ohne dass sich Layout oder Aussehen ändern. */
.brand,
.link,
.social a,
.legal a { position: relative; }
.brand::after,
.link::after,
.social a::after,
.legal a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: max(44px, 100%);
  transform: translateY(-50%);
}

@media (hover: hover) and (pointer: fine) {
  .nav-list a:hover { color: var(--tan); }
  .lang button:hover { color: var(--bone); }
  .btn:hover { background: var(--tan); border-color: var(--tan); color: var(--sleeve); }
  .link:hover { color: var(--tan); }
}

/* ---------- Start ---------- */

.hero {
  padding: var(--s5) 0 var(--s8);
}
.hero .wrap {
  display: grid;
  gap: var(--s5);
}
.hero-cover {
  aspect-ratio: 1;
  width: 100%;
}
.hero-cover img { object-position: 50% 50%; }
/* Name immer auf einer Zeile: Grösse folgt der Spaltenbreite */
.hero h1 {
  font-size: min(15rem, calc((100vw - 2 * var(--gutter)) / 3.2));
  white-space: nowrap;
}
@media (min-width: 900px) {
  .hero h1 { font-size: min(15rem, calc((min(100vw, 1320px) - 2 * var(--gutter) - var(--s7)) / 2 / 3.2)); }
}
.hero .role {
  margin-top: var(--s3);
  color: var(--tan);
}
.hero .lead {
  margin: var(--s4) 0 var(--s5);
  max-width: 36ch;
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  line-height: 1.4;
}
.hero .credits { max-width: 36rem; }
.hero .btn { margin-top: var(--s5); }

@media (min-width: 900px) {
  .hero { padding: var(--s7) 0 var(--s8); }
  .hero .wrap {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: var(--s7);
    align-items: stretch;
  }
  /* Textblock so hoch wie das Cover: Oberkante «CUT-EFX» bündig mit dem Cover oben,
     Button bündig mit dem Cover unten (auf grossen Bildschirmen) */
  .hero-cover { align-self: start; }
  .hero-text { display: flex; flex-direction: column; align-items: flex-start; }
  .hero h1 { text-box: trim-both cap alphabetic; }
  .hero .role { margin-top: var(--s4); }
  .hero .lead { margin: var(--s3) 0 var(--s4); }
  .hero .credits { align-self: stretch; margin-bottom: var(--s4); }
  .hero .credits:not(.facts) > div { padding: var(--s2) 0; }
  .hero .btn { margin-top: auto; }
}

/* Eingangsbewegung: das Cover gleitet wie aus der Hülle */
@media (prefers-reduced-motion: no-preference) {
  .js .hero-cover img {
    animation: sleeve-out 1.1s var(--ease-out) both;
  }
  .js .hero-text > * {
    animation: rise 0.7s var(--ease-out) both;
  }
  .js .hero-text > :nth-child(2) { animation-delay: 0.08s; }
  .js .hero-text > :nth-child(3) { animation-delay: 0.14s; }
  .js .hero-text > :nth-child(4) { animation-delay: 0.2s; }
  .js .hero-text > :nth-child(5) { animation-delay: 0.26s; }
}
@keyframes sleeve-out {
  from { clip-path: inset(0 100% 0 0); transform: translateX(-4%); }
  to { clip-path: inset(0 0 0 0); transform: none; }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

/* ---------- Bio ---------- */

.bio-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--s6);
}
.bio-photo { aspect-ratio: 1; }
/* Wie alle Fotos leicht warm, dazu Weiss gedämpft wie bei den Moody-Fotos (0.96 × 0.8) */
.bio-photo img { filter: sepia(0.2) contrast(1.06) brightness(0.77); }
.bio-text p + p { margin-top: var(--s4); }
.bio-text { max-width: 65ch; }
.facts { margin-top: var(--s7); }
.facts > div { align-items: baseline; }
.facts dt {
  font-stretch: var(--w-narrow);
  font-weight: 900;
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  line-height: 1;
  letter-spacing: 0;
  color: var(--bone);
  padding-top: 0;
}
@media (min-width: 900px) {
  .bio-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s7); align-items: start; }
  .bio-photo-wrap { position: sticky; top: calc(var(--header-h) + var(--s5)); }
}

/* ---------- Musik ---------- */

/* Releases: Cover-Raster, erzeugt von tools/releases.py */
.releases-title { font-size: var(--t-sub); margin-bottom: var(--s5); }
.release-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s5) var(--s3);
}
@media (min-width: 768px) { .release-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s6) var(--s4); } }
@media (min-width: 1100px) { .release-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.release { display: flex; flex-direction: column; }
/* Eingeklappt: nur die erste Reihe (Handy 2, Tablet 3, Computer 4) */
.releases.is-collapsed .release:nth-child(n+3) { display: none; }
@media (min-width: 768px) {
  .releases.is-collapsed .release:nth-child(n+3) { display: flex; }
  .releases.is-collapsed .release:nth-child(n+4) { display: none; }
}
@media (min-width: 1100px) {
  .releases.is-collapsed .release:nth-child(n+4) { display: flex; }
  .releases.is-collapsed .release:nth-child(n+5) { display: none; }
}
.release-link { display: flex; flex-direction: column; gap: var(--s1); color: inherit; text-decoration: none; }
.release-art {
  position: relative;
  display: block;
  margin-bottom: var(--s2);
  background: var(--sleeve-2);
  box-shadow: 0 0 0 1px var(--rule);
  isolation: isolate;
  transition: transform 200ms var(--ease-out);
}
.release-cover { display: block; width: 100%; height: auto; aspect-ratio: 1; filter: grayscale(1) contrast(1.05); transition: filter 400ms ease; }
/* Tönung: Schwarz wird Oliv (Hintergrund), Weiss wird Knochenweiss; farbig bei Maus, Fokus
   oder (Handy) in der Bildschirmmitte, siehe main.js */
.release-art::before,
.release-art::after { content: ""; position: absolute; inset: 0; pointer-events: none; transition: opacity 400ms ease; }
.release-art::before { background: var(--sleeve); mix-blend-mode: lighten; }
.release-art::after { background: var(--bone); mix-blend-mode: multiply; }
.release.is-lit .release-cover,
.release:has(:focus-visible) .release-cover { filter: none; }
.release.is-lit .release-art::before, .release.is-lit .release-art::after,
.release:has(:focus-visible) .release-art::before, .release:has(:focus-visible) .release-art::after { opacity: 0; }
.release-link:active .release-art { transform: scale(0.98); }
.release-name { font-stretch: var(--w-cond); font-weight: 800; font-size: 1.25rem; line-height: 1.15; overflow-wrap: anywhere; transition: color 150ms ease; }
.release-artist { font-size: var(--t-small); line-height: 1.35; overflow-wrap: anywhere; }
.release-meta { font-size: var(--t-small); line-height: 1.35; color: var(--small); }
.release-role { margin-top: var(--s2); font-size: var(--t-small); line-height: 1.5; overflow-wrap: anywhere; }
.release-role + .release-role { margin-top: var(--s1); }
.release-tag {
  display: inline-block;
  margin-right: var(--s1);
  padding: 0 var(--s1);
  border: 1px solid var(--tan);
  color: var(--tan);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  vertical-align: 0.1em;
}
.release-track { color: var(--bone); text-decoration: underline; text-decoration-color: var(--tan); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
.release-track:active { color: var(--tan); }
.release-more { margin-top: var(--s5); }
.release-more[hidden] { display: none; }
.release-profile { margin-top: var(--s5); }
@media (hover: hover) and (pointer: fine) {
  .release-link:hover .release-art { transform: translateY(calc(-1 * var(--s1))); }
  .release:hover .release-cover { filter: none; }
  .release:hover .release-art::before, .release:hover .release-art::after { opacity: 0; }
  .release-link:hover .release-name, .release-track:hover { color: var(--tan); }
}
@media (prefers-reduced-motion: reduce) {
  .release-art, .release-cover, .release-art::before, .release-art::after { transition: none; }
}

/* Mixes: Foto links, Liste rechts (wie Bio); Mixcloud-Player direkt, lädt beim Hinscrollen */
.mixes { margin-top: var(--s8); }
.mixes-title { font-size: var(--t-sub); margin-bottom: var(--s5); }
.mixes-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s5); }
.mixes-photo { aspect-ratio: 1; }
.mix-list { list-style: none; border-top: 1px solid var(--rule); }
.mix { padding: var(--s4) 0; border-bottom: 1px solid var(--rule); display: grid; gap: var(--s2); }
.mix-name { font-stretch: var(--w-cond); font-weight: 800; font-size: var(--t-h3); line-height: 1.1; }
.mix-meta { font-size: var(--t-small); color: var(--small); }
.mix-player { margin-top: var(--s2); }
.mix-player iframe { display: block; width: 100%; height: 60px; border: 0; background: var(--sleeve-2); }
@media (min-width: 900px) {
  .mixes-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s7); align-items: start; }
}

/* Name bleibt am Bindestrich zusammen */
.nobr { white-space: nowrap; }


/* ---------- Referenzen ---------- */

.ref-layout {
  display: grid;
  gap: var(--s6);
}
.ref-photo { aspect-ratio: 1; }
/* Highlights als Credit-Zeilen: Handy Name über Detail, ab 768 px nebeneinander */
.highlights { border-top: 1px solid var(--rule); }
.highlights > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  row-gap: 2px;
  /* Grundabstand; auf grossen Bildschirmen wachsen die Zeilen bis zur Fotohöhe (siehe unten) */
  padding: var(--s2) 0;
  border-bottom: 1px solid var(--rule);
}
.highlights dt {
  font-stretch: var(--w-cond);
  font-weight: 700;
  font-size: var(--t-label);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bone);
}
@media (min-width: 768px) {
  .highlights > div {
    grid-template-columns: minmax(0, 11rem) minmax(0, 1fr); /* gleiche Breite wie die Credit-Zeilen im Start */
    column-gap: var(--s4);
    align-items: baseline;
  }
}
@media (min-width: 900px) {
  .ref-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s7); align-items: stretch; }
  /* Highlights enden bündig mit dem Foto: die Zeilen verteilen sich über die Fotohöhe
     (ist der Text höher als das Foto, bleibt die Liste einfach länger) */
  .ref-layout > div:first-child {
    display: flex;
    flex-direction: column;
    /* Platz für den Bildnachweis, damit die Liste mit dem Foto endet und nicht mit dem Nachweis */
    padding-bottom: calc(var(--s2) + var(--t-small) * 1.5);
  }
  .ref-layout .photo-credit { line-height: 1.5; }
  .highlights { flex: 1; display: flex; flex-direction: column; }
  .highlights > div { flex: 1 1 auto; align-content: center; }
}

.groups-head {
  display: flex;
  justify-content: flex-end;
  margin: var(--s7) 0 var(--s3);
}
.toggle-all {
  min-height: 44px;
  background: none;
  border: 0;
  color: var(--tan);
  font: inherit;
  font-stretch: var(--w-cond);
  font-weight: 600;
  font-size: var(--t-label);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 0.3em;
}

.group { border-bottom: 1px solid var(--rule); }
.group:first-of-type { border-top: 1px solid var(--rule); }
.group summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s3);
  min-height: 64px;
  padding: var(--s3) 0;
  cursor: pointer;
  font-stretch: var(--w-cond);
  font-weight: 800;
  font-size: var(--t-h3);
  line-height: 1.1;
  text-transform: uppercase;
}
.group summary::-webkit-details-marker { display: none; }
.group summary .count {
  margin-left: var(--s2);
  font-weight: 600;
  font-size: var(--t-label);
  color: var(--small);
  letter-spacing: 0.08em;
}
/* Plus/Minus als gezeichnete Linien */
.group summary .mark {
  position: relative;
  flex: none;
  width: 20px;
  height: 20px;
}
.group summary .mark::before,
.group summary .mark::after {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 20px;
  height: 2px;
  background: var(--tan);
  transition: transform 0.3s var(--ease-out);
}
.group summary .mark::after { transform: rotate(90deg); }
.group[open] summary .mark::after { transform: rotate(0deg); }
@media (hover: hover) and (pointer: fine) {
  .group summary:hover { color: var(--tan); }
}

.group-body { padding: 0 0 var(--s5); max-width: 75ch; }
.group-body ul { list-style: none; }
.group-body li { padding: var(--s2) 0; border-top: 1px dotted var(--rule); }
.group-body li:first-child { border-top: 0; }
.group-body b { font-weight: 700; }
.group-body h4 {
  font-stretch: var(--w-cond);
  font-weight: 600;
  font-size: var(--t-label);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--small);
  margin: var(--s4) 0 var(--s2);
}
.group-body h4:first-child { margin-top: 0; }
.group-body p + p { margin-top: var(--s3); }

@media (prefers-reduced-motion: no-preference) {
  /* nur einblenden; die Bewegung macht die Höhe (siehe «Referenz-Gruppen öffnen weich») */
  .group[open] .group-body { animation: fade-in 300ms var(--ease-out) both; }
}

/* ---------- Kontakt ---------- */

.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s7); }
@media (min-width: 900px) {
  .contact-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: start; }
}
.contact-photo { aspect-ratio: 1; }

.form { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s5); max-width: 36rem; }
.field { display: grid; gap: var(--s2); }
.field label {
  font-stretch: var(--w-cond);
  font-weight: 600;
  font-size: var(--t-label);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.field .opt { color: var(--small); font-weight: 400; letter-spacing: 0.06em; text-transform: none; }
.field .req { color: var(--tan); }
.field .hint { font-size: var(--t-small); color: var(--small); }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  font: inherit;
  font-size: 1.125rem;
  color: var(--bone);
  background: transparent;
  border: 0;
  border-bottom: 2px solid var(--small);
  border-radius: 0;
  padding: var(--s2) 0;
  transition: border-color 0.2s ease;
  -webkit-appearance: none;
  appearance: none;
}
.field textarea { resize: vertical; min-height: 9rem; line-height: 1.5; }
.field select {
  background-image: linear-gradient(45deg, transparent 50%, var(--bone) 50%), linear-gradient(135deg, var(--bone) 50%, transparent 50%);
  background-position: calc(100% - 14px) 55%, calc(100% - 8px) 55%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: var(--s5);
}
.field select option { background: var(--sleeve); color: var(--bone); }
.field input[type="date"]::-webkit-calendar-picker-indicator { filter: invert(0.9) sepia(0.2); }
/* iPhone: leeres Datumsfeld sonst viel niedriger (schwer zu treffen) und Datum mittig */
.field input[type="date"] { display: block; width: 100%; min-height: 3rem; text-align: left; }
.field input[type="date"]::-webkit-date-and-time-value { text-align: left; margin: 0; }
.field input[type="date"]::-webkit-datetime-edit { justify-content: flex-start; text-align: left; padding: 0; }
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible { border-bottom-color: var(--bone); }
.field [aria-invalid="true"] { border-bottom-color: var(--tan); }
.error {
  font-size: var(--t-small);
  color: var(--tan);
  font-weight: 600;
}
.error:empty { display: none; }
.field-date[hidden] { display: none; }

.req-note { font-size: var(--t-small); color: var(--small); }
.form-status {
  padding: var(--s4) 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.form-status:empty { display: none; }
.form-status strong {
  display: block;
  font-stretch: var(--w-cond);
  font-weight: 800;
  font-size: var(--t-h3);
  line-height: 1.1;
  text-transform: uppercase;
  margin-bottom: var(--s2);
}
.alt-contact { margin-top: var(--s6); }

/* ---------- Fusszeile ---------- */

.site-footer {
  border-top: 1px solid var(--rule);
  padding: var(--s7) 0 var(--s6);
  font-size: var(--t-small);
  color: var(--small);
}
.footer-grid { display: grid; gap: var(--s5); }
.footer-grid img { width: 64px; height: 64px; }
/* Social Links als Logos (Simple Icons, CC0), einfarbig in der Schriftfarbe.
   Jede Antippfläche 44 × 44 px; die Liste rückt um den Leerraum ums erste Logo nach links,
   damit das Logo bündig mit dem Text darunter steht. */
.social { list-style: none; display: flex; flex-wrap: wrap; gap: 0 var(--s2); margin-left: -10px; }
.social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--bone);
}
.social svg { width: 24px; height: 24px; display: block; }
/* Mixcloud-Zeichen ist breit und flach: auf den Umriss zugeschnitten und breiter, damit es gleich stark wirkt */
.social svg.social-wide { width: 36px; height: auto; }
.legal a {
  display: inline-block;
  padding: var(--s2) 0;
  color: var(--bone);
  font-stretch: var(--w-cond);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
}
.legal { list-style: none; display: flex; flex-wrap: wrap; gap: var(--s2) var(--s4); }
@media (hover: hover) and (pointer: fine) {
  .social a:hover, .legal a:hover { color: var(--tan); }
}
@media (min-width: 900px) {
  .footer-grid { grid-template-columns: auto 1fr auto; align-items: start; gap: var(--s7); }
}

/* ---------- Unterseiten ---------- */

.page { padding: var(--s7) 0 var(--s8); }
/* Etwas kleinere Untergrenze als --t-h2, damit «Datenschutz» (11 Zeichen) auf 320 px in eine Zeile passt */
.page h1 { font-size: clamp(min(3.5rem, calc((100vw - 2 * var(--gutter)) / 5.45)), 12vw, 8rem); margin-bottom: var(--s6); }
.page h2 {
  font-stretch: var(--w-cond);
  font-weight: 800;
  font-size: var(--t-h3);
  text-transform: uppercase;
  margin: var(--s6) 0 var(--s3);
}
.page p, .page address { max-width: 65ch; font-style: normal; }
.page p + p { margin-top: var(--s3); }
.page-list { max-width: 65ch; padding-left: var(--s4); }
.page-list li + li { margin-top: var(--s2); }
.page-date { margin-top: var(--s6); font-size: var(--t-small); color: var(--small); }
.page .back { margin-top: var(--s7); }

.footer-line { margin-top: var(--s3); }

/* Einfache Kopfzeile der Unterseiten */
.site-header--simple .wrap { display: flex !important; justify-content: space-between; }
.site-header--simple .wrap > .lang { display: flex !important; }
@media (min-width: 768px) {
  .credits > div { grid-template-columns: 11rem 1fr; }
  .credits:not(.facts) dt { flex-basis: 11rem; }
}

.group-title { font: inherit; letter-spacing: inherit; text-transform: inherit; }
/* Lange Wörter (z. B. «Produktionen») dürfen bei sehr grosser Schrift umbrechen, ohne Trennstrich
   (automatische Trennung entfernt: Safari trennte schon bei normaler Schrift) */
.group-title { min-width: 0; overflow-wrap: break-word; }

/* ==========================================================
   Bewegung
   ========================================================== */

/* 1) Fotos gleiten beim ersten Hineinscrollen aus der «Hülle».
      Nur mit JavaScript versteckt, sonst sofort sichtbar. */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] {
    clip-path: inset(0 100% 0 0);
    /* gleiche Kurve wie das Foto darunter: schnell los, sanft auslaufen */
    transition: clip-path 700ms var(--ease-out);
  }
  .js [data-reveal="right"] { clip-path: inset(0 0 0 100%); }
  .js [data-reveal] img {
    transform: translateX(-6%) scale(1.04);
    transition: transform 1000ms var(--ease-out);
  }
  .js [data-reveal="right"] img { transform: translateX(6%) scale(1.04); }
  .js [data-reveal].is-in { clip-path: inset(0 0 0 0); }
  .js [data-reveal].is-in img { transform: none; }
}
@media (prefers-reduced-motion: no-preference) and (max-width: 767px) {
  .js [data-reveal] { transition-duration: 600ms; }
  .js [data-reveal] img { transform: translateX(-3%) scale(1.02); transition-duration: 700ms; }
  .js [data-reveal="right"] img { transform: translateX(3%) scale(1.02); }
}
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 0; transition: opacity 300ms ease; }
  .js [data-reveal].is-in { opacity: 1; }
}

/* 2) Referenz-Gruppen öffnen weich in der Höhe (neuere Browser);
      ältere Browser klappen ohne Bewegung auf. */
@media (prefers-reduced-motion: no-preference) {
  @supports (interpolate-size: allow-keywords) {
    .groups { interpolate-size: allow-keywords; }
    .group::details-content {
      block-size: 0;
      overflow: clip;
      transition: block-size 300ms var(--ease-out), content-visibility 300ms allow-discrete;
    }
    .group[open]::details-content { block-size: auto; }
  }
}

/* 3) Meldung nach dem Absenden blendet weich ein */
@keyframes status-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
.form-status:not(:empty) { animation: status-in 300ms var(--ease-out) both; }
@media (prefers-reduced-motion: reduce) {
  .form-status:not(:empty) { animation: fade-in 200ms ease both; }
}



/* Eckdaten: Zahl oben, Text darunter */
.facts > div { grid-template-columns: 1fr; gap: var(--s1); }
@media (min-width: 768px) {
  .facts > div { grid-template-columns: 1fr; }
}

/* Ohne JavaScript: Knöpfe ausblenden, die dann nichts tun würden
   (Menü, Sprache, «Alle öffnen», Formular absenden) */
html:not(.js) .menu-toggle,
html:not(.js) .lang,
html:not(.js) .toggle-all,
html:not(.js) #contact-form [type="submit"] { display: none; }
.noscript-note { margin-bottom: var(--s5); max-width: 48ch; }
html:not(.js) .site-header--simple .wrap > .lang { display: none !important; }
