  /* Layout: ein vollflächiges Foto im Wechsel, Name oben links, Burger oben rechts,
     Menü legt sich als helle Fläche über alles. Einzelthema, bewusst ohne Dunkelmodus. */
  :root {
    color-scheme: light;
    --tinte: #16181a;          /* Text auf hell, Seitenhintergrund hinter den Fotos */
    --papier: #f4f5f4;         /* Menüfläche */
    --weiss: #ffffff;          /* Text auf Foto */
    --leise: #7c8286;          /* Nebentexte im Menü */
    --denim: #4f7fa6;          /* Akzent, aus Tills Jeanshemd */
    --schrift: "Instrument Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
    --rand: clamp(20px, 3.4vw, 48px);
    --wechsel: 1600ms;
  }
  *, *::before, *::after { box-sizing: border-box; }
  html, body { height: 100%; margin: 0; }
  body {
    background: var(--tinte);
    color: var(--weiss);
    font-family: var(--schrift);
    font-size: 16px;
    line-height: 1.4;
    overflow: hidden;
    -webkit-font-smoothing: antialiased;
  }
  a { color: inherit; text-decoration: none; }
  button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
  :focus-visible { outline: 2px solid currentColor; outline-offset: 6px; border-radius: 2px; }

  /* ---------- Bühne ---------- */
  .buehne { position: fixed; inset: 0; overflow: hidden; }
  .bild {
    position: absolute; inset: 0;
    opacity: 0;
    transition: opacity var(--wechsel) ease;
  }
  .bild img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: var(--fokus, 50%) 15%;
    display: block;
    transform: scale(1.001);
  }
  .bild.aktiv { opacity: 1; }
  .bild.aktiv img { animation: naeher 9s ease-out forwards; }
  @keyframes naeher { from { transform: scale(1.001); } to { transform: scale(1.05); } }

  /* dezenter Verlauf, damit Name und Icon auf jedem Motiv lesbar bleiben */
  .buehne::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background:
      linear-gradient(to bottom, rgba(10,12,14,.42), rgba(10,12,14,0) 26%),
      linear-gradient(to top, rgba(10,12,14,.38), rgba(10,12,14,0) 24%);
  }

  /* ---------- Kopf ---------- */
  .kopf {
    position: fixed; z-index: 30; top: 0; left: 0; right: 0;
    display: flex; align-items: flex-start; justify-content: space-between; gap: 24px;
    padding: var(--rand);
    transition: color 400ms ease;
  }
  .name {
    margin: 0;
    font-size: clamp(1.15rem, 1.5vw, 1.5rem);
    font-weight: 600;
    letter-spacing: .01em;
    line-height: 1.1;
  }
  .burger {
    width: 44px; height: 44px; margin: -12px -8px 0 0;
    display: grid; place-items: center;
    position: relative;
  }
  .burger span, .burger::before, .burger::after {
    content: ""; position: absolute; left: 8px; right: 8px; height: 1.5px;
    background: currentColor;
    transition: transform 450ms cubic-bezier(.7,0,.2,1), opacity 250ms ease;
  }
  .burger::before { transform: translateY(-8px); }
  .burger::after  { transform: translateY(8px); }
  .offen .burger span { opacity: 0; }
  .offen .burger::before { transform: rotate(45deg); }
  .offen .burger::after  { transform: rotate(-45deg); }
  .offen .kopf { color: var(--tinte); }

  /* ---------- Fuß der Startseite ---------- */
  .fuss {
    position: fixed; z-index: 10; left: 0; right: 0; bottom: 0;
    display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
    padding: var(--rand);
  }
  .unterzeile {
    margin: 0;
    font-size: clamp(.78rem, .95vw, .95rem);
    font-weight: 500;
    letter-spacing: .14em;
    text-transform: uppercase;
  }
  .unterzeile span { white-space: nowrap; }
  .unterzeile span + span::before { content: "·"; margin: 0 .55em 0 .3em; opacity: .7; }
  .zaehler { display: flex; gap: 8px; }
  .zaehler button {
    width: 34px; height: 24px; position: relative;
  }
  .zaehler button::after {
    content: ""; position: absolute; left: 0; right: 0; top: 11px; height: 1.5px;
    background: currentColor; opacity: .4;
    transition: opacity 400ms ease;
  }
  .zaehler button[aria-current="true"]::after { opacity: 1; }

  /* ---------- Menü ---------- */
  .menue {
    position: fixed; z-index: 20; inset: 0;
    background: var(--papier);
    color: var(--tinte);
    display: flex; flex-direction: column; justify-content: space-between;
    padding: calc(var(--rand) + 84px) var(--rand) var(--rand);
    visibility: hidden;
    opacity: 0;
    transition: opacity 450ms ease, visibility 0s linear 450ms;
    overflow-y: auto;
  }
  .offen .menue { visibility: visible; opacity: 1; transition: opacity 450ms ease; }
  .menue ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: clamp(4px, 1vh, 14px); }
  .menue li {
    opacity: 0; transform: translateY(18px);
    transition: opacity 500ms ease, transform 600ms cubic-bezier(.2,.7,.2,1);
  }
  .offen .menue li { opacity: 1; transform: none; }
  .offen .menue li:nth-child(1) { transition-delay: 90ms; }
  .offen .menue li:nth-child(2) { transition-delay: 150ms; }
  .offen .menue li:nth-child(3) { transition-delay: 210ms; }
  .offen .menue li:nth-child(4) { transition-delay: 270ms; }
  .punkt {
    display: inline-block;
    font-size: clamp(1.7rem, 7.2vw, 6rem);
    font-weight: 500;
    letter-spacing: -.025em;
    line-height: 1.08;
    transition: color 250ms ease, transform 400ms cubic-bezier(.2,.7,.2,1);
  }
  .punkt i { font-style: normal; color: var(--leise); font-weight: 400; opacity: .55; margin: 0 .14em; transition: color 250ms ease; }
  .punkt:hover, .punkt:focus-visible { color: var(--denim); transform: translateX(.12em); }
  .punkt:hover i, .punkt:focus-visible i { color: var(--denim); }
  .menue-fuss {
    display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 32px;
    margin-top: 40px;
    font-size: .875rem;
    color: var(--leise);
  }
  .recht { display: flex; gap: 28px; }
  .recht a { transition: color 200ms ease; }
  .recht a:hover, .recht a:focus-visible { color: var(--tinte); }
  .hinweis { margin: 0; min-height: 1.4em; color: var(--denim); }

  @media (max-width: 640px) {
    .unterzeile { letter-spacing: .1em; line-height: 1.7; max-width: 16em; }
    .punkt { line-height: 1.3; }
    .menue { padding-top: calc(var(--rand) + 96px); }
  }
  @media (prefers-reduced-motion: reduce) {
    .bild.aktiv img { animation: none; }
    .menue li, .punkt { transition: none; transform: none; }
    :root { --wechsel: 600ms; }
  }

/* ================= Unterseiten ================= */
.unterseite { background: var(--papier); color: var(--tinte); overflow: auto; }
.offen .unterseite, .offen.hat-unterseite { overflow: hidden; }
.unterseite .kopf {
  color: var(--tinte);
  padding-top: calc(var(--rand) * .6); padding-bottom: calc(var(--rand) * .6);
  align-items: center;
  background: rgba(244,245,244,.9);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.unterseite .burger { margin-top: 0; }
.inhalt {
  --spalte: 1312px;
  padding: calc(var(--rand) + 110px) var(--rand) 0;
  display: flex; flex-direction: column; gap: clamp(64px, 10vw, 140px);
}
.inhalt > * { width: 100%; max-width: var(--spalte); margin-inline: auto; }
.titel {
  margin: 0;
  font-size: clamp(1.7rem, 7.2vw, 6rem);
  font-weight: 500; letter-spacing: -.025em; line-height: 1.06;
  text-wrap: balance;
}
.titel i { font-style: normal; color: var(--leise); font-weight: 400; opacity: .55; margin: 0 .14em; }
.auftakt { display: flex; flex-direction: column; gap: clamp(28px, 4vw, 56px); }
.banner { margin: 0; aspect-ratio: 21 / 9; overflow: hidden; background: #d9dcda; }
.banner img { width: 100%; height: 100%; object-fit: cover; object-position: 38% 22%; display: block; }

.abschnitt { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr); gap: 24px clamp(24px, 5vw, 80px); align-items: start; }
.abschnitt > h2 {
  margin: 0; padding-top: .5em;
  font-size: .82rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  border-top: 1.5px solid var(--tinte);
}
.abschnitt > div { min-width: 0; display: flex; flex-direction: column; gap: clamp(24px, 3vw, 40px); }
.fliess { max-width: 760px; display: flex; flex-direction: column; gap: 1.1em; font-size: clamp(1.05rem, 1.25vw, 1.2rem); line-height: 1.6; }
.fliess p { margin: 0; }
.fliess p:first-child { font-size: 1.25em; line-height: 1.45; font-weight: 500; }

.fakten { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; max-width: 760px; }
.fakten li { border-top: 1px solid rgba(22,24,26,.18); padding-top: 14px; font-size: .92rem; line-height: 1.4; color: var(--leise); }
.fakten b { display: block; color: var(--tinte); font-size: clamp(2rem, 3.4vw, 3rem); font-weight: 500; letter-spacing: -.03em; line-height: 1; margin-bottom: 8px; font-variant-numeric: tabular-nums; }

.namen { margin: 0; font-size: clamp(1.5rem, 3.4vw, 2.9rem); font-weight: 500; letter-spacing: -.02em; line-height: 1.22; text-wrap: balance; }
.namen span { white-space: nowrap; }
.namen span:not(:last-child)::after { content: "·"; color: var(--denim); margin: 0 .1em 0 .3em; }
.namen em { font-style: normal; color: var(--leise); }

.liste { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.liste > li { border-top: 1px solid rgba(22,24,26,.18); padding: clamp(20px, 2.4vw, 32px) 0; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 16px 40px; align-items: start; }
.liste > li:last-child { border-bottom: 1px solid rgba(22,24,26,.18); }
.liste h3 { margin: 0 0 6px; font-size: clamp(1.3rem, 2.1vw, 1.9rem); font-weight: 500; letter-spacing: -.015em; line-height: 1.2; }
.liste p { margin: 0; color: var(--leise); line-height: 1.5; max-width: 34em; }
.liste .meta { font-size: .92rem; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.vorschau { margin: 18px 0 0; max-width: 460px; }
.vorschau img { display: block; width: 100%; height: auto; border: 1px solid rgba(22,24,26,.14); background: #fff; }
.vorschau figcaption { margin-top: 8px; font-size: .82rem; color: var(--leise); }
.verweis { color: var(--tinte); font-weight: 500; border-bottom: 1.5px solid var(--denim); padding-bottom: 2px; transition: color 200ms ease; }
.verweis:hover, .verweis:focus-visible { color: var(--denim); }
.offen-punkt { font-size: .82rem; color: var(--leise); border: 1px dashed rgba(22,24,26,.35); padding: 4px 10px; }

.platzhalter {
  border: 1.5px dashed rgba(22,24,26,.35);
  min-height: 200px; padding: 28px;
  display: flex; flex-direction: column; justify-content: center; gap: 6px;
  color: var(--leise);
}
.platzhalter strong { color: var(--tinte); font-size: 1.15rem; font-weight: 500; }
.platzhalter.foto { min-height: clamp(220px, 32vw, 420px); max-width: 760px; flex: none; }

.seitenfuss {
  max-width: none !important;
  margin-top: clamp(64px, 10vw, 140px);
  padding: var(--rand);
  border-top: 1px solid rgba(22,24,26,.18);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px;
  font-size: .875rem; color: var(--leise);
}
.seitenfuss a:hover, .seitenfuss a:focus-visible { color: var(--tinte); }
.seitenfuss nav { display: flex; gap: 28px; }

@media (max-width: 760px) {
  .inhalt { padding-top: calc(var(--rand) + 90px); }
  .banner { aspect-ratio: 4 / 3; }
  .abschnitt, .liste > li { grid-template-columns: minmax(0, 1fr); }
  .fakten { grid-template-columns: minmax(0, 1fr); gap: 16px; }
}

.punkt[aria-current="page"], .punkt[aria-current="page"] i { color: var(--denim); }
