/* =========================================================================
   24 Stunden im Leben einer Frau — Freie Bühne Wien
   ========================================================================= */

/* ---------------------------------------------------------------- Tokens */

:root {
  /* Flächen */
  --ink:        #03100d;   /* tiefstes Grün-Schwarz, Grundfläche */
  --ink-2:      #06231c;   /* abgesetzte Abschnitte */
  --card-top:   #0d3a2e;   /* Portrait-Karte oben */
  --card-btm:   #061e18;   /* Portrait-Karte unten */

  /* Akzente */
  --gold:       #d9be91;
  --gold-hi:    #f2e2c2;
  --green:      #1f8f6f;

  /* Schrift */
  --cream:      #e8e3d8;
  --sage:       #b9c9c0;
  --sage-2:     #9fb3aa;
  --sage-3:     #7f968d;
  --sage-4:     #6f8880;

  --line:       #ffffff14;
  --line-gold:  #d9be9126;

  --ui:    'Josefin Sans', system-ui, sans-serif;
  --serif: 'EB Garamond', Georgia, 'Times New Roman', serif;
  --mono:  'IBM Plex Mono', ui-monospace, 'SF Mono', monospace;

  --pad:       clamp(90px, 12vh, 150px);   /* vertikaler Abschnittsrand */
  --gut:       clamp(20px, 5vw, 24px);     /* seitlicher Rand           */
  --wrap:      1180px;
  --ease:      cubic-bezier(.22, .61, .36, 1);
}

/* ------------------------------------------------------------------ Basis */

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Die width/height-Attribute im HTML reservieren den Platz schon vor dem
   Laden (kein Springen des Layouts). height:auto sorgt dafür, dass sie
   trotzdem proportional skalieren. Ausnahmen setzen die Höhe selbst. */
img, svg { max-width: 100%; height: auto; }
p { margin: 0; text-wrap: pretty; }
h1, h2, h3 { margin: 0; font-weight: 400; }

a { color: var(--gold); text-decoration: none; transition: color .25s var(--ease); }
a:hover { color: var(--gold-hi); }

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

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

.wrap { max-width: var(--wrap); margin-inline: auto; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--gold); color: var(--ink);
  padding: 14px 22px; font-family: var(--ui); letter-spacing: .1em;
}
.skip:focus { left: 0; }

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

/* ------------------------------------------------------- Typo-Bausteine */

/* Kleines goldenes Label über jeder Überschrift */
.eyebrow {
  font-family: var(--ui);
  font-size: 11px; font-weight: 400;
  letter-spacing: .32em; text-transform: uppercase;
  color: var(--gold);
}

/* Graue Mono-Kleinschrift für Daten, Rollen, Bildunterschriften */
.meta {
  font-family: var(--mono);
  font-size: 10px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--sage-3);
}

.h-xl, .h-lg {
  font-family: var(--ui); font-weight: 200;
  line-height: 1.08; letter-spacing: .03em;
  text-transform: uppercase; color: var(--cream);
}
.h-xl { font-size: clamp(32px, 4vw, 54px); }
.h-lg { font-size: clamp(28px, 3vw, 40px); line-height: 1.12; }

.lead { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.75; color: var(--sage); }
.body { color: var(--sage); }

.rule { width: 64px; height: 1px; background: var(--gold); }

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

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 16px 34px;
  font-family: var(--ui); font-size: 13px;
  letter-spacing: .22em; text-transform: uppercase;
  border: 1px solid transparent;
  transition: background .25s var(--ease), color .25s var(--ease),
              border-color .25s var(--ease);
}
.btn--gold   { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: var(--gold-hi); color: var(--ink); }
.btn--ghost  { color: var(--cream); border-color: #d9be9155; }
.btn--ghost:hover { border-color: var(--gold); color: var(--cream); }
.btn--sm     { padding: 13px 24px; font-size: 12px; letter-spacing: .2em; }

/* ------------------------------------------------------------------- Nav */

.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding: 18px clamp(20px, 4vw, 32px);
}

/* Verlauf und Weichzeichner liegen bewusst auf einem Pseudo-Element, nicht
   auf .nav selbst: ein backdrop-filter macht das Element sonst zum Bezugs-
   rahmen für position:fixed — das mobile Menü wäre dann nur so groß wie die
   Leiste statt bildschirmfüllend. */
.nav::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(#03100dee, #03100d00);
  backdrop-filter: blur(6px);
}

.nav__brand {
  font-family: var(--ui); font-weight: 300; font-size: 13px;
  letter-spacing: .34em; text-transform: uppercase; color: var(--gold);
}

.nav__links { display: flex; align-items: center; gap: 30px; }

.nav__link {
  font-family: var(--ui); font-size: 12px;
  letter-spacing: .2em; text-transform: uppercase; color: var(--sage-2);
}
.nav__link:hover,
.nav__link[aria-current="true"] { color: var(--cream); }

.nav__toggle { display: none; }

/* --------------------------------------------------------------- Sections */

.section { position: relative; padding: var(--pad) var(--gut); }
.section--alt { background: var(--ink-2); }
.section--clip { overflow: hidden; }
.section--last { padding-bottom: clamp(60px, 7vh, 90px); }

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

/* Zweispaltig: Text links, Bildwelt rechts. */

.hero {
  position: relative; overflow: hidden;
  min-height: 100svh;
  display: grid; grid-template-columns: 1.05fr .95fr;
  align-content: center;
  padding: 112px 0 76px;

  /* Die drei Kreise im Hero haengen an einer gemeinsamen Groesse.
     --couple ist die Breite der Glasscherbe; Zifferblatt und Roulette
     duerfen hoechstens das 1,9-fache davon werden. Ohne diese Deckelung
     wuchsen sie auf hohen, schmalen Fenstern auf das 2,5-fache und die
     Scherbe wirkte daneben verloren. */
  --couple: min(max(46vw, 44vh), 52vw, 74vh);
  --ring:   clamp(calc(var(--couple) * 1.5), 118vh, calc(var(--couple) * 1.9));
}

.hero__bg {
  position: absolute; inset: 0;
  background: url('../assets/img/bg.jpg') center 60% / cover no-repeat;
}
.hero__wash  { position: absolute; inset: 0; }
.hero__ring  { position: absolute; }
.hero__ring img { width: 100%; height: 100%; display: block; }

.shard {
  position: absolute;
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, .5));
}
.shard img { width: 100%; display: block; }

.couple {
  position: absolute;
  filter: drop-shadow(0 40px 80px rgba(0, 0, 0, .6));
}
.couple img { width: 100%; display: block; }

.hero__title { display: block; filter: drop-shadow(0 10px 40px rgba(0, 0, 0, .7)); }

.hero__kicker {
  font-family: var(--ui); font-weight: 300;
  font-size: clamp(13px, 1.4vw, 17px);
  letter-spacing: .3em; text-transform: uppercase; color: var(--cream);
}
.hero__sub {
  font-family: var(--ui); font-weight: 300; font-size: 11px;
  letter-spacing: .26em; text-transform: uppercase; color: #8fa79d;
}
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* -- Ebenen und Bildwelt ------------------------------------------------ */

.hero__bg { background-position: center 70%; opacity: .5; }
.hero__wash--fade {
  background: linear-gradient(100deg, #03100d 0%, #03100dee 42%, #03100d55 70%, #03100dcc 100%);
}
.hero__wash--glow {
  background: radial-gradient(45% 55% at 72% 45%, rgba(31,143,111,.3), transparent 72%);
}
.hero__ring {
  right: -16%; top: 50%; width: var(--ring); aspect-ratio: 1;
  translate: 0 -50%; opacity: .42;
}

/* Roulette: gleicher Mittelpunkt wie das Zifferblatt, aber kleiner, damit es
   innerhalb des Ziffernkranzes bleibt und die Zahlen nicht doppelt liegen. */
.hero__roulette {
  position: absolute;
  right: -16%; top: 50%; width: var(--ring); aspect-ratio: 1;
  translate: 0 -50%; opacity: .16;
}
.hero__roulette img {
  width: 64%; height: 64%; margin: 18%;
  object-fit: contain; display: block;
  /* Entfärbt, damit das Rot der Fächer nicht gegen das Grün arbeitet —
     es soll als Textur wirken, nicht als zweites Rad. */
  filter: grayscale(1) contrast(.85) brightness(1.15);
  /* Der Rand löst sich auf, statt als harte Kante zu enden. */
  mask-image: radial-gradient(circle at 50% 50%, #000 46%, transparent 72%);
}

.hero__head, .hero__body {
  position: relative; z-index: 20; grid-column: 1;
  display: flex; flex-direction: column; align-items: flex-start;
  padding-inline: clamp(20px, 6vw, 110px);
}
.hero__head { gap: 22px; }
.hero__body { gap: 26px; padding-top: 26px; }

.hero__title { width: 44vw; min-width: 300px; }
.hero__eyebrow {
  font-family: var(--ui); font-size: 11px;
  letter-spacing: .3em; text-transform: uppercase; color: var(--green);
}
.hero__pitch {
  max-width: 30em; font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.65; color: var(--sage);
}

.hero__art {
  position: absolute; inset: 0 0 0 auto; width: 52%; z-index: 15;
}
.couple {
  right: -2%; bottom: 0;
  width: var(--couple); min-width: 340px;
  filter: drop-shadow(0 40px 90px rgba(0, 0, 0, .65));
}
/* Zwei einzelne Scherben treiben ausserhalb des Heros durch die Seite. */
.shard--plot  { right: -60px; top:  8%; width: clamp(160px, 18vw, 320px); opacity: .5; }
.shard--dates { left:  -70px; top: 12%; width: clamp(150px, 16vw, 280px); opacity: .4; }

.shard--2 { left: -12%; top: 14%;    width: min(max(15vw, 140px), 26vh); }
.shard--3 { right: 30%; top:  6%;    width: min(max(12vw, 120px), 22vh); }
.shard--4 { left:   0;  bottom: 10%; width: min(max(16vw, 150px), 28vh); }

/* --------------------------------------------------------------- Intro-Zitat */

.intro {
  max-width: 900px; margin-inline: auto; text-align: center;
  display: flex; flex-direction: column; gap: 28px;
}
blockquote { margin: 0; }
.intro__quote {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(26px, 3.4vw, 44px); line-height: 1.38;
  color: var(--cream);
}
.intro__note { font-size: clamp(17px, 1.4vw, 20px); color: var(--sage-2); }

/* ------------------------------------------------------------- Handlung */

.plot {
  position: relative;
  display: grid; grid-template-columns: minmax(240px, 1fr) minmax(320px, 1.6fr);
  gap: clamp(40px, 6vw, 90px);
}
.plot__head { display: flex; flex-direction: column; gap: 18px; }
.plot__text { display: flex; flex-direction: column; gap: 24px; }

/* ---------------------------------------------------------------- Zwei Spalten */

.cols {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(28px, 4vw, 64px);
}
.col { display: flex; flex-direction: column; gap: 18px; }
/* Abschnittskopf: Label + Überschrift, enger gesetzt als ein Textblock */
.col--head { gap: 16px; max-width: 620px; }


.panel {
  padding: clamp(28px, 3vw, 44px);
  border: 1px solid var(--line-gold);
  background: linear-gradient(#ffffff08, #ffffff02);
}

/* Panel, das nur ein Zitat trägt: mittig gesetzt, damit die Fläche nicht
   oben klebt, und größer als Fließtext — es ist die einzige Stimme hier. */
.panel--quote { justify-content: center; gap: 22px; }
.panel__quote {
  margin: 0;
  font-family: var(--serif); font-style: italic;
  font-size: clamp(22px, 2.2vw, 30px); line-height: 1.42;
  color: var(--cream); text-wrap: pretty;
}
.panel__source {
  font-family: var(--ui); font-size: 11px;
  letter-spacing: .28em; text-transform: uppercase; color: var(--gold);
}

/* Zweiter Name im selben Credit-Block bekommt Luft nach oben. */
.credit__name--gap { margin-top: 10px; }

/* --------------------------------------------------------------- Ensemble */

.ensemble { display: flex; flex-direction: column; gap: clamp(40px, 5vw, 70px); }
/* Das Label "Es spielen" gehört zur Bilderreihe darunter, nicht in den
   großen Abstand zwischen den Blöcken. */
.ensemble > .eyebrow { margin-bottom: clamp(-52px, -4vw, -30px); }

.people {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(24px, 3vw, 40px);
}
.people--team { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

.person { display: flex; flex-direction: column; gap: 18px; }

.person__frame {
  position: relative; aspect-ratio: 3 / 4; overflow: hidden;
  border: 1px solid #d9be9124;
  background: linear-gradient(180deg, var(--card-top), var(--card-btm));
  /* .person__frame ist ein <button> — Browser-Grundstil weg damit */
  display: block; width: 100%; padding: 0; margin: 0;
  font: inherit; text-align: inherit; cursor: pointer;
}
.person__frame img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%;
  /* Einheitlicher Look über sechs sehr unterschiedliche Fotos */
  filter: grayscale(.55) contrast(1.06) brightness(1.02);
  transition: filter .5s var(--ease), scale .7s var(--ease);
}
.person:hover .person__frame img,
.person__frame:focus-visible img { filter: grayscale(.15) contrast(1.06); scale: 1.03; }
.person__frame:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.person__frame::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(6,35,28,0) 45%, rgba(3,16,13,.85) 100%);
}
.person__body { display: flex; flex-direction: column; gap: 8px; }
.person__name {
  font-family: var(--ui); font-weight: 300; font-size: 23px;
  letter-spacing: .06em; text-transform: uppercase; color: var(--cream);
}
.person--team .person__name { font-size: 21px; }
.person__role {
  font-family: var(--mono); font-size: 10px;
  letter-spacing: .16em; text-transform: uppercase; color: var(--gold);
}
.person__more { font-family: var(--mono); font-size: 10px; text-transform: uppercase; }
.person__more:hover { cursor: pointer; }

.team {
  display: flex; flex-direction: column; gap: 26px;
  padding-top: clamp(30px, 4vw, 50px); border-top: 1px solid var(--line-gold);
}

.credits {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: clamp(20px, 2.5vw, 36px);
  padding-top: clamp(24px, 3vw, 36px); border-top: 1px solid #ffffff12;
}
.credit { display: flex; flex-direction: column; gap: 7px; }
.credit__name {
  font-family: var(--ui); font-weight: 300; font-size: 20px;
  letter-spacing: .04em; color: var(--cream);
}
.credit__name--lg { font-size: 21px; }
.credit__note { font-size: 16px; line-height: 1.6; color: var(--sage-2); margin-top: -10px; }

/* Name im Fließtext des Credits, aber klickbar für den Lebenslauf-Dialog. */
.credit__link {
  font: inherit; letter-spacing: inherit; color: inherit;
  background: none; border: 0; padding: 0; cursor: pointer;
  transition: color .25s var(--ease);
}
.credit__link:hover, .credit__link:focus-visible { color: var(--gold); }

/* ---------------------------------------------------- Lebenslauf-Dialog */

.person-modal {
  position: fixed; inset: 0; z-index: 100; max-width: min(720px, 92vw);
  max-height: min(600px, 88vh); margin: auto; padding: 0; border: 0;
  background: linear-gradient(180deg, var(--card-top), var(--card-btm));
  color: var(--cream); overflow: hidden;
}
.person-modal::backdrop { background: rgba(3, 16, 13, .78); backdrop-filter: blur(2px); }

/* Die Portraits sind hochformatig — auf dem Desktop steht das Bild darum
   links neben dem Text statt gestaucht darüber. Nur der Lebenslauf scrollt
   (.person-modal__bio) — Bild, Rolle und Name bleiben stehen. */
.person-modal__panel {
  position: relative; display: flex; flex-direction: row;
  max-height: min(600px, 88vh); overflow: hidden;
}
.person-modal__close {
  position: absolute; top: 14px; right: 14px; z-index: 1;
  width: 38px; height: 38px; display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line-gold); border-radius: 50%; background: var(--ink);
  color: var(--cream); font-size: 22px; line-height: 1; cursor: pointer;
  transition: border-color .25s var(--ease), color .25s var(--ease);
}
.person-modal__close:hover,
.person-modal__close:focus-visible { border-color: var(--gold); color: var(--gold); }

/* Kreativteam-Credits (Autor:innen, Produktion) haben kein Foto — der
   Dialog bleibt dann einspaltig und schmaler, wie auf dem Handy. */
.person-modal--no-image { max-width: min(480px, 90vw); }
.person-modal--no-image .person-modal__panel { flex-direction: column; }
.person-modal--no-image .person-modal__frame { display: none; }

.person-modal__frame { position: relative; flex: 0 0 38%; overflow: hidden; }
.person-modal__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%;
  filter: grayscale(.4) contrast(1.06) brightness(1.02);
}

.person-modal__body {
  flex: 1; min-width: 0; min-height: 0;
  padding: clamp(24px, 4vw, 36px); padding-bottom: 0;
  display: flex; flex-direction: column; gap: 10px;
}
.person-modal__role {
  font-family: var(--mono); font-size: 10px;
  letter-spacing: .16em; text-transform: uppercase; color: var(--gold);
}
.person-modal__name {
  font-family: var(--ui); font-weight: 300; font-size: 26px;
  letter-spacing: .04em; text-transform: uppercase; color: var(--cream);
}
.person-modal__bio {
  flex: 1; min-height: 0; overflow-y: auto;
  padding-right: 14px; margin-bottom: clamp(24px, 4vw, 36px);
  font-family: var(--serif); font-size: 17px; line-height: 1.7; color: var(--sage-2);
}

/* ------------------------------------------------------- Ticket-Schalter */
/* Beide Zustände sind fertig gesetzt; das Attribut am <body> entscheidet,
   welcher gezeigt wird. So muss zum Freischalten nichts umgebaut werden. */

[data-tickets="bald"] .ticket-live,
[data-tickets="live"] .ticket-bald { display: none; }

/* "Bald verfügbar" hält den Platz der Schaltfläche, sieht aber nicht wie
   eine aus — sonst klickt jemand dagegen. */
.date__bald {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 13px 24px;
  font-family: var(--ui); font-size: 12px;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--sage-3);
  border: 1px dashed #d9be9138;
}

/* ---------------------------------------------------------------- Termine */

.dates { display: flex; flex-direction: column; gap: clamp(36px, 4vw, 56px); }

.dates__head {
  display: flex; flex-wrap: wrap; align-items: flex-end;
  justify-content: space-between; gap: 24px;
}
.dates__head .meta { font-size: 11px; letter-spacing: .14em; }

.dates__list { display: flex; flex-direction: column; }
.dates__list::after { content: ''; border-top: 1px solid var(--line); }

.date {
  display: grid; grid-template-columns: 120px 1fr auto auto;
  align-items: center; gap: clamp(16px, 3vw, 40px);
  padding: 22px 4px; border-top: 1px solid var(--line);
  transition: background .3s var(--ease);
}
.date:hover { background: #ffffff06; }
.date__day {
  font-family: var(--ui); font-weight: 200;
  font-size: clamp(26px, 3vw, 38px); line-height: 1; color: var(--cream);
}
.date__when { font-family: var(--mono); font-size: 11px; letter-spacing: .16em;
              text-transform: uppercase; color: var(--sage-3); }
.date__tag {
  font-family: var(--ui); font-size: 13px;
  letter-spacing: .2em; text-transform: uppercase; color: var(--sage-3);
}
.date__tag--hl { color: var(--gold); }

.booking {
  display: flex; flex-wrap: wrap; gap: clamp(24px, 4vw, 64px);
  padding: clamp(26px, 3vw, 40px);
  border: 1px solid var(--line-gold);
  background: linear-gradient(#ffffff08, #ffffff02);
}
.booking__item { display: flex; flex-direction: column; gap: 7px; }
.booking__value {
  font-family: var(--ui); font-size: 19px; letter-spacing: .05em; color: var(--cream);
}
.booking__seller { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }

/* Das oeticket-Logo liegt als Negativ-Version (weiß) vor und steht
   deshalb direkt auf dem dunklen Grund — ohne weißen Kasten. */
.oeticket { display: block; width: 132px; }
.oeticket img { width: 100%; display: block; }

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

/* Anfahrtskarte: feste Bilddatei, verlinkt auf die Routenplanung.
   Kein iframe, damit beim Seitenaufruf nichts an Dritte geht. */
.venue__map {
  position: relative; display: block; overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid #d9be9124;
  background: #0a2d24;
}
.venue__map img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: scale .6s var(--ease), opacity .4s var(--ease);
}
.venue__map:hover img { scale: 1.04; opacity: .85; }

.venue__map-cta {
  position: absolute; left: 14px; bottom: 14px;
  padding: 9px 16px; background: var(--gold); color: var(--ink);
  font-family: var(--ui); font-size: 11px;
  letter-spacing: .2em; text-transform: uppercase;
}
.venue__map:hover .venue__map-cta { background: var(--gold-hi); }

.venue__credit { margin-top: -6px; font-size: 9px; }

/* ----------------------------------------------------------------- Footer */

.footer { background: var(--ink); padding: clamp(50px, 7vh, 80px) var(--gut) 40px; }
.footer__inner { display: flex; flex-direction: column; gap: 40px; }
.footer__row {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 28px;
}
.footer__fbw { display: block; width: 104px; flex: none; }
.footer__fbw img { width: 100%; display: block; }
.footer__seller { display: flex; align-items: center; gap: 18px; }
.footer__seller .oeticket { width: 150px; }
.footer__base {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 20px;
  padding-top: 26px; border-top: 1px solid #ffffff12;
}
.footer__base .meta { font-size: 10px; letter-spacing: .14em; color: var(--sage-4); }
.footer__links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer__links a, .footer__cookie {
  font-family: var(--ui); font-size: 11px;
  letter-spacing: .2em; text-transform: uppercase;
}
.footer__cookie { background: none; border: 0; padding: 0; margin: 0;
  color: var(--gold); cursor: pointer; }
.footer__cookie:hover { color: var(--gold-hi); }

/* ------------------------------------------------------------- Animation */

@keyframes spin     { to { rotate: 360deg; } }
@keyframes spin-rev { to { rotate: -360deg; } }
@keyframes floatA { 0%,100% { translate: 0 0; rotate: 0deg; }
                    50%     { translate: 6px -18px; rotate: 4deg; } }
@keyframes floatB { 0%,100% { translate: 0 0; rotate: 0deg; }
                    50%     { translate: -10px 14px; rotate: -5deg; } }
@keyframes floatC { 0%,100% { translate: 0 0; rotate: 0deg; }
                    50%     { translate: 12px 10px; rotate: 3deg; } }
@keyframes breathe { 0%,100% { translate: 0 0; scale: 1; }
                     50%     { translate: 0 -10px; scale: 1.012; } }

.hero__ring img     { animation: spin-rev 300s linear infinite; }
.hero__roulette img { animation: spin 420s linear infinite; }


.shard--plot  img { animation: floatB 20s ease-in-out infinite; }
.shard--dates img { animation: floatC 24s ease-in-out infinite; }
.shard--2 img { animation: floatB 19s ease-in-out infinite; }
.shard--3 img { animation: floatC 17s ease-in-out infinite; }
.shard--4 img { animation: floatA 21s ease-in-out infinite; }
.couple  img  { animation: breathe 12s ease-in-out infinite; }

/* Einblenden beim Scrollen. Ohne JavaScript bleibt alles sichtbar. */
.js [data-reveal] {
  opacity: 0; translate: 0 26px;
  transition: opacity .9s var(--ease), translate .9s var(--ease);
}
.js [data-reveal].is-in { opacity: 1; translate: 0 0; }

/* ------------------------------------------------------------ Responsive */

@media (max-width: 900px) {
  body { font-size: 18px; }

  .nav { padding: 14px var(--gut); }

  .nav__toggle {
    display: inline-flex; align-items: center; gap: 10px;
    min-height: 44px; padding: 10px 4px;
    background: none; border: 0; cursor: pointer;
    font-family: var(--ui); font-size: 12px;
    letter-spacing: .2em; text-transform: uppercase; color: var(--gold);
  }
  .nav__toggle::after {
    content: ''; width: 20px; height: 10px;
    border-top: 1px solid currentColor; border-bottom: 1px solid currentColor;
    transition: transform .3s var(--ease);
  }
  .nav[data-open="true"] .nav__toggle::after { transform: rotate(90deg); }

  .nav__links {
    position: fixed; inset: 0; z-index: -1;
    flex-direction: column; align-items: flex-start; justify-content: center;
    gap: 4px; padding: 0 var(--gut);
    background: var(--ink);
    opacity: 0; visibility: hidden;
    transition: opacity .35s var(--ease), visibility .35s;
  }
  .nav[data-open="true"] .nav__links { opacity: 1; visibility: visible; }
  .nav__link { font-size: 22px; letter-spacing: .14em; padding: 14px 0; }
  .nav__links .btn { margin-top: 22px; }

  /* Reihenfolge am Handy: Titel — Bildwelt — Fließtext. Das entspricht
     der Reihenfolge im HTML, es genügt also, das Raster aufzuheben. */
  .hero { display: flex; flex-direction: column; min-height: 0; padding: 0; }
  .hero__head { padding-top: 104px; }
  .hero__body { padding-top: 4px; padding-bottom: 60px; }
  .hero__title { width: 78vw; min-width: 0; }
  .hero__art {
    position: relative; inset: auto; width: auto;
    height: 56vh; min-height: 300px; margin-bottom: 6px;
  }
  /* Die Höhe muss mitbegrenzt werden: sonst wird die Scherbe auf Tablets
     (breit, aber nicht hoch) höher als ihre Zeile und schiebt sich von
     unten über den Text. 50vh entspricht bei 900x1080 rund 60vh Bildhöhe. */
  .couple { right: -6%; width: min(86vw, 50vh); min-width: 0; }
  /* Auf schmalen Schirmen liegt das Zifferblatt direkt hinter dem Fließtext.
     Kleiner und blasser, damit die Stundenzahlen nicht mitlesen. */
  .hero__ring { right: -34%; width: 96vh; opacity: .22; }
  /* Auf dem Handy liegt der Fließtext direkt auf der Scheibe — dort lieber
     ganz weg. Der Effekt lebt ohnehin von der Fläche neben dem Text. */
  .hero__roulette { display: none; }
  /* Kleinere Fassung des Hintergrunds — spart auf dem Handy rund 90 KB. */
  .hero__bg { background-image: url('../assets/img/bg-sm.jpg'); }

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

  .date { grid-template-columns: 76px 1fr; row-gap: 12px; }
  .date__tag { grid-column: 1 / -1; }
  .date .btn { grid-column: 1 / -1; justify-self: start; }

  /* Auf dem Handy ist neben dem hochformatigen Bild kein Platz mehr für
     den Text — darum bleibt nur das Bild weg, nicht der Lebenslauf. */
  .person-modal { max-width: min(480px, 90vw); }
  .person-modal__panel { flex-direction: column; }
  .person-modal__frame { display: none; }
}

@media (max-width: 560px) {
  .people, .people--team { grid-template-columns: 1fr; }
}

/* --------------------------------------------- Reduzierte Bewegung */
/* Wer im Betriebssystem "Bewegung reduzieren" gewählt hat, bekommt
   die Seite ohne Drehen, Schweben und Parallaxe. */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .hero__ring img, .hero__roulette img,
  .shard img, .couple img { animation: none !important; }

  .js [data-reveal] { opacity: 1; translate: none; transition: none; }

  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* ------------------------------------------------------------------ Cookie-Consent */

.consent {
  position: fixed; inset: auto 0 0 0; z-index: 300;
  padding: var(--gut);
  display: flex; justify-content: center;
  translate: 0 120%; opacity: 0;
  transition: translate .4s var(--ease), opacity .4s var(--ease);
  pointer-events: none;
}
.consent.is-visible { translate: 0 0; opacity: 1; pointer-events: auto; }

.consent__card {
  width: 100%; max-width: 620px;
  background: var(--ink-2);
  border: 1px solid var(--line-gold);
  box-shadow: 0 20px 60px #00000066;
  padding: clamp(20px, 3vw, 28px);
  display: flex; flex-direction: column; gap: 18px;
}

.consent__text { color: var(--sage); font-size: 14px; line-height: 1.6; }
.consent__text a { color: var(--gold); text-decoration: underline; text-underline-offset: 2px; }

.consent [hidden] { display: none !important; }

.consent__panel { display: flex; flex-direction: column; gap: 10px;
  padding-top: 4px; border-top: 1px solid var(--line); }

.consent__toggle { display: flex; align-items: center; gap: 10px;
  font-family: var(--ui); font-size: 12px; letter-spacing: .04em; color: var(--cream); }
.consent__toggle input { flex: none; width: 16px; height: 16px; accent-color: var(--gold); }
.consent__toggle input:disabled { opacity: .6; }

.consent__actions { display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; }

.consent__link { font-family: var(--ui); font-size: 12px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--sage-2); background: none; border: 0;
  padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.consent__link:hover { color: var(--gold); }

.consent__buttons { display: flex; gap: 12px; flex-wrap: wrap; }

@media (max-width: 480px) {
  .consent__actions { flex-direction: column; align-items: stretch; }
  .consent__buttons { justify-content: stretch; }
  .consent__buttons .btn { flex: 1; }
}

/* ------------------------------------------------------------------ Druck */

@media print {
  .nav, .hero__bg, .hero__wash, .hero__ring, .shard, .couple { display: none !important; }
  body { background: #fff; color: #000; }
  .section, .footer { background: #fff !important; padding: 12mm 0; }
  .h-xl, .h-lg, .person__name, .date__day, .credit__name { color: #000; }
  .body, .lead, .person__bio, .intro__note { color: #222; }
  a::after { content: ' (' attr(href) ')'; font-size: 10px; color: #555; }
}
