/* ==========================================================================
   Wir/Allein · ipipapa Bühnenverlag
   Eigenständiges Stylesheet. Keine externen Requests (DSGVO-freundlich:
   keine Google-Fonts-CDN, keine Tracker, keine Remote-Assets).
   Die Custom Properties tragen bewusst die Namen aus dem Design-System-
   Draft, damit ein späteres echtes DS-Bundle sie 1:1 überschreiben kann.
   ========================================================================== */

:root {
  /* --- Farben ------------------------------------------------------------
     Abgeleitet aus WirAllein_Portfolio_2026.pdf: heller Grund, kräftiger
     hellblauer Flächenblock, Navy für Überschriften, Violett als Akzent.
     Die drei Kernwerte stammen 1:1 aus den Farboperatoren des PDFs.
     ---------------------------------------------------------------------- */
  --color-cream:      #F6F8FB;  /* kühles Papierweiß, Seitenhintergrund     */
  --color-paper:      #FFFFFF;  /* Kartenflächen, reines Weiß wie im PDF    */
  --color-ink:        #1B2331;  /* dunkles Blauschwarz, Fließtext           */
  --color-navy:       #22344F;  /* Portfolio-Navy, dunkle Sektion + Titel   */
  --color-blue:       #1F6399;  /* Portfolio-Blau, Links + Lautschrift      */
  --color-violet:     #5F1DAA;  /* Portfolio-Violett, Hauptakzent           */
  --color-violet-soft:#C9B8DB;  /* heller Lavendel aus dem Portfolio        */
  --color-sky:        #BFD2E6;  /* heller Flächenblock des Portfolios       */
  --color-sky-soft:   #E7EFF7;  /* daraus abgeleitete zarte Fläche          */
  --color-muted:      #55606F;  /* kühles Grau, Sekundärtext                */
  --color-line:       #D6DFE9;  /* Rahmen                                   */
  --color-line-soft:  #E8EEF5;  /* zarte Trennlinien                        */

  /* Abstimmungskarten: Referenz an die realen gelben/pinken Handkarten.
     Die -ink-Varianten sind die abgedunkelten Textfassungen, damit die
     kleinen Labels auf Weiß die 4.5:1 aus WCAG AA erreichen. */
  --color-vote-a:     #C68A1E;
  --color-vote-b:     #B0526E;
  --color-vote-a-ink: #8A5E12;
  --color-vote-b-ink: #9C3F5C;

  /* --- Typografie -------------------------------------------------------- */
  /* Systemstacks statt Webfont-CDN: null Latenz, kein Drittanbieter-Request.
     Zum Selbsthosten später: @font-face oben ergänzen und die Stacks
     vorne um den eigenen Namen erweitern. */
  --font-serif: ui-serif, "Iowan Old Style", "Palatino Linotype", Palatino,
                "Book Antiqua", Georgia, Cambria, "Times New Roman", serif;
  --font-sans:  system-ui, -apple-system, "Segoe UI Variable Text", "Segoe UI",
                Roboto, "Helvetica Neue", Arial, sans-serif;
  /* Lautschrift (IPA): zuerst Fonts mit gepflegten IPA-Glyphen und sauber
     sitzenden Kombinationsdiakritika, danach der normale Serif-Stack als
     Rückfall. Alle nur als Systemfont genutzt, kein Webfont-Import. */
  --font-ipa:   "Charis SIL", "Doulos SIL", "Gentium Plus", "Gentium",
                "Noto Sans", var(--font-serif);

  /* --- Form -------------------------------------------------------------- */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;

  --shadow-card:  0 1px 2px rgba(27, 35, 49, .04), 0 8px 24px -14px rgba(27, 35, 49, .16);
  --shadow-lift:  0 2px 4px rgba(27, 35, 49, .05), 0 18px 38px -18px rgba(27, 35, 49, .24);

  /* --- Maße -------------------------------------------------------------- */
  --wrap: 1200px;
  --gut: clamp(20px, 5vw, 48px);
  --header-h: 66px;

  --ease: cubic-bezier(.22, .68, .36, 1);
}

/* ==========================================================================
   Basis
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

/* Portfolio-Signatur: heller Grund mit einem diagonal angeschnittenen
   hellblauen Flächenblock hinter dem Seitenkopf. Bewusst als
   body-Background statt als Pseudo-Element, damit die Fläche randlos
   über die volle Breite läuft, ohne horizontales Scrollen zu erzeugen. */
body {
  margin: 0;
  background-color: var(--color-cream);
  background-image: linear-gradient(104deg, transparent 0 56%, var(--color-sky-soft) 56%);
  background-repeat: no-repeat;
  background-size: 100% clamp(420px, 58vw, 700px);
  background-position: top left;
  color: var(--color-ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 { font-family: var(--font-serif); font-weight: 600; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--color-blue); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--color-navy); }

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

:focus-visible {
  outline: 2px solid var(--color-blue);
  outline-offset: 3px;
  border-radius: 3px;
}

.muted { color: var(--color-muted); }

/* Nur für Screenreader, z. B. Status-Meldungen, die visuell schon
   durch den Inhaltswechsel selbst erkennbar sind. */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--color-navy);
  color: var(--color-cream);
  padding: 12px 18px;
  border-radius: 0 0 var(--radius-sm) 0;
  font-size: .9rem;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { left: 0; color: var(--color-cream); }

/* ==========================================================================
   Layout-Bausteine
   ========================================================================== */

.section {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gut) clamp(48px, 8vw, 76px);
}

.section-title {
  font-size: clamp(1.5rem, 3.2vw, 1.9rem);
  line-height: 1.2;
  color: var(--color-ink);
  margin: 0 0 clamp(20px, 3vw, 28px);
  letter-spacing: -.01em;
}
.section-title--invert { color: var(--color-cream); margin-bottom: 18px; }

.eyebrow {
  font-size: .76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .09em;
  color: var(--color-violet);
  margin: 0 0 10px;
}
.eyebrow--invert { color: rgba(246, 248, 251, .6); letter-spacing: .05em; font-weight: 600; }

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(246, 248, 251, .88);
  border-bottom: 1px solid var(--color-line);
  transition: box-shadow .3s var(--ease), background .3s var(--ease);
}
@supports (backdrop-filter: blur(12px)) or (-webkit-backdrop-filter: blur(12px)) {
  .site-header {
    -webkit-backdrop-filter: saturate(150%) blur(14px);
    backdrop-filter: saturate(150%) blur(14px);
  }
}
.site-header.is-stuck { box-shadow: 0 6px 22px -18px rgba(27, 35, 49, .55); }

.site-header__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  height: var(--header-h);
  padding: 0 var(--gut);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.wordmark {
  display: flex;
  align-items: baseline;
  gap: 9px;
  text-decoration: none;
  color: var(--color-navy);
  white-space: nowrap;
}
.wordmark__name {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: .01em;
}
.wordmark__sub {
  font-size: .66rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--color-muted);
  padding-left: 9px;
  border-left: 1px solid var(--color-line);
}
.wordmark:hover .wordmark__name { color: var(--color-blue); }

.site-nav { display: flex; gap: 26px; }
.site-nav a {
  font-size: .88rem;
  font-weight: 500;
  color: var(--color-muted);
  text-decoration: none;
  position: relative;
  padding: 4px 0;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1.5px;
  background: var(--color-blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .28s var(--ease);
}
.site-nav a:hover { color: var(--color-navy); }
.site-nav a:hover::after { transform: scaleX(1); }

@media (max-width: 900px) { .site-nav { display: none; } }
@media (max-width: 480px) { .wordmark__sub { display: none; } }

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  --btn-bg: transparent;
  --btn-fg: var(--color-navy);
  --btn-bd: var(--color-line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 26px;
  border: 1px solid var(--btn-bd);
  border-radius: var(--radius-md);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-sans);
  font-size: .95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .25s var(--ease),
              background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--solid {
  --btn-bg: var(--color-navy);
  --btn-fg: var(--color-cream);
  --btn-bd: var(--color-navy);
  box-shadow: 0 6px 18px -12px rgba(34, 52, 79, .9);
}
.btn--solid:hover {
  --btn-bg: #2D4666;
  color: var(--color-cream);
  box-shadow: 0 12px 26px -14px rgba(34, 52, 79, .95);
}

.btn--ghost { --btn-bg: transparent; --btn-fg: var(--color-navy); --btn-bd: var(--color-line); }
.btn--ghost:hover { --btn-bd: var(--color-navy); background: rgba(34, 52, 79, .04); color: var(--color-navy); }

.btn--cream { --btn-bg: var(--color-cream); --btn-fg: var(--color-navy); --btn-bd: var(--color-cream); }
.btn--cream:hover { color: var(--color-navy); box-shadow: 0 12px 28px -14px rgba(0, 0, 0, .6); }

.btn--outline-cream {
  --btn-bg: transparent;
  --btn-fg: var(--color-cream);
  --btn-bd: rgba(246, 248, 251, .4);
}
.btn--outline-cream:hover {
  --btn-bd: var(--color-cream);
  background: rgba(246, 248, 251, .1);
  color: var(--color-cream);
}

/* ==========================================================================
   Badges
   ========================================================================== */

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 11px;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin: 0;
  width: max-content;
}
.badge--type {
  background: rgba(31, 99, 153, .1);
  color: var(--color-blue);
  border: 1px solid rgba(31, 99, 153, .22);
}
.badge--premium {
  background: rgba(95, 29, 170, .09);
  color: var(--color-violet);
  border: 1px solid rgba(95, 29, 170, .24);
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: clamp(44px, 7vw, 72px) var(--gut) clamp(36px, 5vw, 56px);
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(32px, 5vw, 56px);
  align-items: center;
}

.hero__title {
  font-size: clamp(2.6rem, 7vw, 3.6rem);
  line-height: 1.03;
  letter-spacing: -.02em;
  margin: 18px 0 6px;
  color: var(--color-ink);
}
/* Bewusst aufrecht statt kursiv: Kursivschnitte verzerren IPA-Zeichen und
   verschieben Kombinationsdiakritika (ɐ̯, ʔ, ː). Viele Fonts haben dafür
   keine echten Kursiv-Glyphen und schrägen sie nur synthetisch nach. */
.hero__phon {
  font-family: var(--font-ipa);
  font-style: normal;
  font-size: clamp(1.1rem, 2.6vw, 1.3rem);
  color: var(--color-blue);
  margin: 0 0 20px;
}
.hero__lead {
  font-size: clamp(1.05rem, 2.2vw, 1.15rem);
  line-height: 1.55;
  color: var(--color-muted);
  max-width: 46ch;
  margin: 0 0 32px;
}
.hero__figure { margin: 0; }

/* Ein Primär-CTA, darunter der leise Zweitweg (Infoblatt). */
.hero__cta { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.hero__sublink { margin: 0; font-size: .88rem; }
.hero__sublink a { color: var(--color-muted); text-decoration-color: var(--color-line); }
.hero__sublink a:hover { color: var(--color-navy); text-decoration-color: currentColor; }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; }
  .hero__figure { order: -1; }
}

/* ==========================================================================
   Bild-Platzhalter (greift, falls eine Datei fehlt)
   ========================================================================== */

.ph {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  background:
    linear-gradient(135deg, rgba(34, 52, 79, .09), rgba(95, 29, 170, .07) 55%, rgba(31, 99, 153, .1)),
    repeating-linear-gradient(45deg, rgba(27, 35, 49, .035) 0 2px, transparent 2px 9px),
    var(--color-paper);
  border: 1px solid var(--color-line);
}
.ph--wide { aspect-ratio: 4 / 3; }

.ph__label {
  position: absolute;
  inset: auto 0 0 0;
  padding: 14px 16px;
  font-size: .82rem;
  font-weight: 500;
  color: var(--color-muted);
  font-family: var(--font-serif);
  font-style: italic;
  text-align: center;
}
/* Der Label-Text ist nur sichtbar, wenn kein Bild darüberliegt. */
.ph > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease), opacity .5s var(--ease);
}
.ph.is-missing > img { display: none; }
.ph.is-missing::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 90% at 30% 15%, rgba(255, 253, 249, .55), transparent 60%);
  pointer-events: none;
}

/* ==========================================================================
   Award-Strip
   ========================================================================== */

.award-strip {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gut) clamp(40px, 6vw, 56px);
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.award-strip__note { font-size: .88rem; color: var(--color-muted); margin: 0; }

/* ==========================================================================
   Über das Stück
   ========================================================================== */

.about {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gut) clamp(48px, 8vw, 72px);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
.about__body p { font-size: 1.05rem; line-height: 1.7; margin: 0 0 20px; }
.about__body p:last-child { margin-bottom: 0; }

/* Value Proposition: steht bewusst vor der Handlungsbeschreibung. */
.valueprop {
  border-left: 3px solid var(--color-violet);
  padding-left: clamp(14px, 2vw, 20px);
  margin: 0 0 clamp(24px, 3vw, 30px);
}
.valueprop__head { font-size: 1.05rem; margin: 0 0 12px; color: var(--color-ink); }
.valueprop__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.valueprop__list li {
  position: relative;
  padding-left: 18px;
  font-size: .95rem;
  line-height: 1.55;
  color: var(--color-muted);
}
/* Punkt statt Gedankenstrich als Listenmarke. */
.valueprop__list li::before {
  content: "";
  position: absolute;
  left: 1px;
  top: .58em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-violet);
}
.valueprop__list strong { color: var(--color-ink); font-weight: 600; }

.factcard {
  background: var(--color-paper);
  border: 1px solid var(--color-sky);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: clamp(24px, 3vw, 32px);
  position: sticky;
  top: calc(var(--header-h) + 24px);
}
.factcard__head { font-size: 1.15rem; margin: 0 0 16px; color: var(--color-ink); }
.factcard__list { font-size: .95rem; line-height: 1.9; margin: 0 0 22px; }
.factcard__list:last-child { margin-bottom: 0; }
.factcard__rule { height: 1px; border: 0; background: var(--color-line-soft); margin: 0 0 22px; }
.factcard__note { font-size: .82rem; color: var(--color-muted); font-style: italic; margin: 10px 0 0; }

@media (max-width: 860px) {
  .about { grid-template-columns: 1fr; }
  .factcard { position: static; }
}

/* ==========================================================================
   Abstimmungs-Widget
   ========================================================================== */

.vote {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gut) clamp(48px, 8vw, 76px);
}

.vote__shell {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(28px, 4vw, 52px);
  background:
    linear-gradient(180deg, rgba(255, 253, 249, .9), rgba(255, 253, 249, .5)),
    var(--color-paper);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: clamp(26px, 4vw, 44px);
  position: relative;
  overflow: hidden;
}
/* Bewusst ohne dekorative Farbleiste am oberen Rand: Die Farbcodierung
   A/B passiert schon an den Optionskarten selbst, eine zweite Stelle
   dafür macht den Abschnitt nur unruhiger. */

.vote__blurb { color: var(--color-muted); font-size: .98rem; line-height: 1.6; margin: 0 0 14px; }
/* Nachrangige Fußnote: klein und leise, aber ohne eigene Box-Behandlung. */
.vote__disclaimer {
  font-size: .78rem;
  line-height: 1.55;
  color: var(--color-muted);
  max-width: 54ch;
  margin: 0;
}

.vote__stage { display: flex; flex-direction: column; justify-content: center; min-height: 260px; }
/* Der programmatische Fokus nach jedem Schritt braucht keinen Rahmen.
   bei echter Tastaturnavigation bleibt der Indikator aber erhalten. */
.vote__stage:focus:not(:focus-visible) { outline: none; }

/* Einordnung für Theater: was die Mechanik praktisch bedeutet.
   Nur zarte Fläche, kein zusätzlicher Rahmen: Der Block bleibt als
   Einheit erkennbar, ohne eine weitere Linie in den Abschnitt zu setzen. */
.vote__context {
  margin-top: 22px;
  padding: 16px 18px;
  background: var(--color-sky-soft);
  border-radius: var(--radius-md);
}
.vote__context-head { font-size: .95rem; margin: 0 0 9px; color: var(--color-ink); }
.vote__context ul { margin: 0; padding-left: 18px; }
.vote__context li {
  font-size: .86rem;
  line-height: 1.55;
  color: var(--color-muted);
  margin-bottom: 6px;
}
.vote__context li:last-child { margin-bottom: 0; }

.vote__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.vote__step {
  font-size: .74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--color-muted);
  white-space: nowrap;
}
.vote__pips { display: flex; gap: 6px; }
.vote__pip {
  width: 22px;
  height: 3px;
  border-radius: 2px;
  background: var(--color-sky);
  transition: background .35s var(--ease);
}
/* Fortschritt bleibt in einer Farbfamilie (hellblau -> blau -> navy),
   statt mit Violett eine dritte Akzentfarbe in den Abschnitt zu holen.
   Die drei Zustände bleiben klar unterscheidbar. */
.vote__pip.is-done { background: var(--color-navy); }
.vote__pip.is-active { background: var(--color-blue); }

.vote__scene {
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 2.4vw, 1.35rem);
  line-height: 1.4;
  color: var(--color-ink);
  margin: 0 0 22px;
}

.vote__act {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--color-violet);
  margin: 0 0 8px;
}

.vote__setup {
  font-size: .93rem;
  line-height: 1.6;
  color: var(--color-muted);
  margin: 0 0 16px;
}

/* Das Zitat trägt sich typografisch selbst: Serife, größerer Grad und
   die Sprecherzeile darüber genügen als Signal — der frühere violette
   Balken war eine weitere Rahmenfarbe im selben Blickfeld. */
.vote__cue {
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 2.2vw, 1.28rem);
  line-height: 1.45;
  color: var(--color-ink);
  margin: 0 0 22px;
}
.vote__cue-speaker {
  display: block;
  font-family: var(--font-sans);
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--color-muted);
  margin-bottom: 7px;
}

.vote__options { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.vote__opt {
  position: relative;
  text-align: left;
  padding: 18px 18px 18px 20px;
  background: var(--color-paper);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-size: .95rem;
  line-height: 1.45;
  color: var(--color-ink);
  cursor: pointer;
  overflow: hidden;
  transition: transform .2s var(--ease), border-color .2s var(--ease), box-shadow .25s var(--ease);
}
.vote__opt::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--opt-color, var(--color-line));
  transition: width .2s var(--ease);
}
.vote__opt[data-opt="a"] { --opt-color: var(--color-vote-a); --opt-ink: var(--color-vote-a-ink); }
.vote__opt[data-opt="b"] { --opt-color: var(--color-vote-b); --opt-ink: var(--color-vote-b-ink); }
.vote__opt:hover {
  transform: translateY(-2px);
  border-color: var(--opt-color);
  box-shadow: var(--shadow-lift);
}
.vote__opt:hover::before { width: 6px; }
.vote__opt-tag {
  display: block;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--opt-ink, var(--color-muted));
  margin-bottom: 6px;
}

.vote__result {
  border-left: 3px solid var(--opt-color, var(--color-navy));
  padding-left: 18px;
  margin: 0 0 22px;
}
.vote__choice {
  font-size: .74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--opt-ink, var(--color-navy));
  margin: 0 0 8px;
}
.vote__flavor {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--color-ink);
  margin: 0;
}

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

.btn--sm { min-height: 42px; padding: 0 20px; font-size: .9rem; }

.vote__summary-path {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}
/* Fläche ohne Rahmen, gleiche Sprache wie der Kontext-Block oben. */
.vote__summary-path li {
  font-size: .78rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--color-sky-soft);
  color: var(--color-muted);
}

@media (max-width: 860px) {
  .vote__shell { grid-template-columns: 1fr; }
  .vote__options { grid-template-columns: 1fr; }
  .vote__stage { min-height: 0; }
}

/* ==========================================================================
   Galerie
   ========================================================================== */

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.gallery__item { margin: 0; }
.gallery__item .ph { cursor: zoom-in; }
.gallery__item:hover .ph > img { transform: scale(1.035); }
.gallery__item figcaption {
  margin-top: 10px;
  font-size: .82rem;
  color: var(--color-muted);
  font-family: var(--font-serif);
  font-style: italic;
}

@media (max-width: 860px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .gallery { grid-template-columns: 1fr; } }

/* ==========================================================================
   Zitate
   ========================================================================== */

.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.quote {
  margin: 0;
  background: var(--color-paper);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 26px;
  position: relative;
  transition: transform .25s var(--ease), box-shadow .3s var(--ease);
}
.quote:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.quote blockquote {
  margin: 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--color-ink);
  quotes: "„" "“";
}
.quote blockquote::before { content: open-quote; }
.quote blockquote::after { content: close-quote; }

@media (max-width: 860px) { .quotes { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .quotes { grid-template-columns: 1fr; } }

/* ==========================================================================
   Team
   ========================================================================== */

.credits {
  font-size: .95rem;
  color: var(--color-muted);
  margin: 0 0 clamp(24px, 3vw, 32px);
  max-width: 90ch;
}

.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.person {
  background: var(--color-paper);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 28px;
  transition: transform .25s var(--ease), box-shadow .3s var(--ease);
}
.person:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.person p { font-size: .92rem; line-height: 1.6; margin: 0; }

.person__head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }

.avatar {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(34, 52, 79, .08);
  border: 1px solid rgba(34, 52, 79, .14);
  color: var(--color-navy);
  font-family: var(--font-sans);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
}

.person__name {
  display: block;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.3;
}
.person__role { display: block; font-size: .8rem; color: var(--color-muted); }

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

/* ==========================================================================
   Timeline
   ========================================================================== */

.timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: none;
}
.timeline__item {
  border-top: 2px solid var(--color-navy);
  padding-top: 14px;
}
.timeline__date {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: .82rem;
  color: var(--color-violet);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin: 0 0 8px;
}
.timeline__text { font-size: .9rem; line-height: 1.5; color: var(--color-ink); margin: 0; }

@media (max-width: 980px) { .timeline { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .timeline { grid-template-columns: 1fr; } }

/* ==========================================================================
   Material & Kontakt
   ========================================================================== */

.contact { background: var(--color-navy); padding: clamp(48px, 8vw, 64px) var(--gut); }

.contact__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(32px, 5vw, 56px);
  align-items: start;
}
.contact__lead {
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(246, 248, 251, .82);
  max-width: 52ch;
  margin: 0 0 26px;
}
.contact__side {
  border-left: 1px solid rgba(246, 248, 251, .22);
  padding-left: clamp(20px, 3vw, 40px);
}
.contact__person {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--color-cream);
  margin: 0 0 10px;
  line-height: 1.35;
}
.contact__role {
  font-family: var(--font-sans);
  font-size: .82rem;
  color: rgba(246, 248, 251, .65);
}
.contact__copy { margin: 12px 0 0; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.contact__secondary { margin: 16px 0 0; font-size: .88rem; }
.contact__secondary a {
  color: rgba(246, 248, 251, .72);
  text-decoration-color: rgba(246, 248, 251, .35);
}
.contact__secondary a:hover { color: var(--color-cream); text-decoration-color: currentColor; }

/* ==========================================================================
   Anfrage-Baukasten (mailto ohne Backend)
   ========================================================================== */

.ask {
  margin: 0 0 26px;
  padding: clamp(20px, 3vw, 26px);
  background: rgba(246, 248, 251, .05);
  border: 1px solid rgba(246, 248, 251, .18);
  border-radius: var(--radius-lg);
}
.ask__head { font-size: 1.1rem; color: var(--color-cream); margin: 0 0 8px; }
.ask__hint {
  font-size: .88rem;
  line-height: 1.55;
  color: rgba(246, 248, 251, .68);
  margin: 0 0 18px;
  max-width: 56ch;
}
.ask__chips { display: flex; flex-wrap: wrap; gap: 10px; }

.chip {
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(246, 248, 251, .35);
  background: transparent;
  color: var(--color-cream);
  font-family: var(--font-sans);
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s var(--ease), border-color .2s var(--ease),
              color .2s var(--ease), transform .2s var(--ease);
}
.chip:hover { background: rgba(246, 248, 251, .12); border-color: rgba(246, 248, 251, .6); transform: translateY(-1px); }
.chip[aria-pressed="true"] {
  background: var(--color-cream);
  border-color: var(--color-cream);
  color: var(--color-navy);
}

.ask__form { margin-top: 20px; }
.ask__form[hidden] { display: none; }
.ask__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; }

.field { margin: 0; display: flex; flex-direction: column; gap: 6px; }
.field--wide { margin-top: 14px; }
.field__label {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: rgba(246, 248, 251, .62);
}
.field__input {
  width: 100%;
  min-height: 46px;
  padding: 10px 13px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(246, 248, 251, .3);
  background: rgba(246, 248, 251, .07);
  color: var(--color-cream);
  font-family: var(--font-sans);
  font-size: .95rem;
  line-height: 1.5;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.field__input:hover { border-color: rgba(246, 248, 251, .5); }
.field__input:focus { border-color: var(--color-cream); background: rgba(246, 248, 251, .12); }
.field__input:focus-visible { outline: 2px solid var(--color-cream); outline-offset: 2px; }
.field__input--area { resize: vertical; min-height: 84px; }

.ask__note { font-size: .8rem; color: rgba(246, 248, 251, .68); margin: 14px 0 0; }
.ask__actions { margin-top: 16px; }

.ask__fallback {
  margin: 18px 0 0;
  padding-top: 16px;
  border-top: 1px solid rgba(246, 248, 251, .16);
  font-size: .86rem;
  line-height: 1.7;
  color: rgba(246, 248, 251, .68);
}
.ask__mail { color: var(--color-cream); text-decoration-color: rgba(246, 248, 251, .5); }
.ask__mail:hover { color: var(--color-cream); text-decoration-color: currentColor; }

.btn-copy {
  margin-left: 8px;
  min-height: 32px;
  padding: 0 12px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(246, 248, 251, .35);
  background: transparent;
  color: var(--color-cream);
  font-family: var(--font-sans);
  font-size: .8rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s var(--ease), border-color .2s var(--ease);
}
.btn-copy:hover { background: rgba(246, 248, 251, .14); border-color: var(--color-cream); }
.contact__copy .btn-copy { margin-left: 0; }

.copy-msg { font-size: .8rem; color: rgba(246, 248, 251, .8); margin-left: 8px; }

@media (max-width: 640px) {
  .ask__grid { grid-template-columns: 1fr; }
}
.contact__mail {
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 2.6vw, 1.3rem);
  color: var(--color-cream);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease);
}
.contact__mail:hover { color: var(--color-cream); border-bottom-color: rgba(246, 248, 251, .6); }
.contact__phone { margin: 8px 0 0; font-size: .92rem; }
.contact__phone a {
  color: rgba(246, 248, 251, .78);
  text-decoration-color: rgba(246, 248, 251, .4);
}
.contact__phone a:hover { color: var(--color-cream); text-decoration-color: currentColor; }
.contact__address {
  font-style: normal;
  font-size: .9rem;
  color: rgba(246, 248, 251, .7);
  margin-top: 18px;
  line-height: 1.6;
}

@media (max-width: 860px) {
  .contact__inner { grid-template-columns: 1fr; }
  .contact__side { border-left: 0; border-top: 1px solid rgba(246, 248, 251, .22); padding-left: 0; padding-top: 28px; }
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  padding: 28px var(--gut);
  text-align: center;
  font-size: .82rem;
  color: var(--color-muted);
}
.site-footer a { color: var(--color-muted); text-decoration: none; }
.site-footer a:hover { color: var(--color-blue); text-decoration: underline; }
.site-footer__line { margin: 0 0 8px; }
.site-footer__credential { margin: 0 0 12px; font-size: .78rem; }
.site-footer__legal { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.site-footer__legal span { color: var(--color-line); }

/* ==========================================================================
   Mobiler Dauer-CTA (ersetzt die ab 900px ausgeblendete Navigation)
   ========================================================================== */

.mobile-cta {
  display: none;
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 40;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-radius: var(--radius-md);
  background: var(--color-navy);
  color: var(--color-cream);
  font-family: var(--font-sans);
  font-size: .95rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 12px 30px -12px rgba(34, 52, 79, .85);
  transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.mobile-cta:hover { color: var(--color-cream); }
.mobile-cta.is-hidden { opacity: 0; transform: translateY(140%); pointer-events: none; }

@media (max-width: 900px) {
  .mobile-cta { display: flex; }
  /* Platz, damit der Balken den Footer nicht verdeckt. */
  body { padding-bottom: 84px; }
}

/* ==========================================================================
   Lightbox
   ========================================================================== */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(4px, 2vw, 20px);
  padding: clamp(16px, 4vw, 48px);
  background: rgba(13, 18, 27, .93);
  opacity: 0;
  transition: opacity .28s var(--ease);
}
.lightbox[hidden] { display: none; }
.lightbox.is-open { opacity: 1; }

.lightbox__figure { margin: 0; max-width: min(1100px, 100%); text-align: center; }
.lightbox__img {
  max-width: 100%;
  max-height: 78vh;
  width: auto;
  margin: 0 auto;
  border-radius: var(--radius-md);
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .9);
}
.lightbox__cap {
  margin-top: 14px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: .9rem;
  color: rgba(246, 248, 251, .78);
}

.lightbox__close,
.lightbox__nav {
  flex: 0 0 auto;
  background: rgba(246, 248, 251, .1);
  border: 1px solid rgba(246, 248, 251, .22);
  color: var(--color-cream);
  border-radius: 50%;
  cursor: pointer;
  line-height: 1;
  transition: background .2s var(--ease), transform .2s var(--ease);
}
.lightbox__close:hover,
.lightbox__nav:hover { background: rgba(246, 248, 251, .22); transform: scale(1.06); }

.lightbox__close {
  position: absolute;
  top: clamp(12px, 3vw, 24px);
  right: clamp(12px, 3vw, 24px);
  width: 44px;
  height: 44px;
  font-size: 1.6rem;
}
.lightbox__nav { width: 48px; height: 48px; font-size: 2rem; font-family: var(--font-sans); }

@media (max-width: 640px) {
  .lightbox__nav { width: 40px; height: 40px; font-size: 1.5rem; }
}

/* ==========================================================================
   Scroll-Reveal
   ========================================================================== */

.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* Sicherheitsnetz aus index.html: script.js nicht geladen -> alles sichtbar. */
.js.reveal-off .reveal { opacity: 1 !important; transform: none !important; }

/* ==========================================================================
   Reduced Motion: alle Bewegungen aus, Inhalte bleiben sichtbar
   ========================================================================== */

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

  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }

  .js .reveal { opacity: 1; transform: none; }

  .btn:hover,
  .quote:hover,
  .person:hover,
  .vote__opt:hover,
  .chip:hover,
  .lightbox__nav:hover,
  .lightbox__close:hover { transform: none; }

  .gallery__item:hover .ph > img { transform: none; }

  /* Ein-/Ausblenden ohne Bewegung, nur die Sichtbarkeit ändert sich. */
  .mobile-cta,
  .mobile-cta.is-hidden { transform: none; }
}

/* ==========================================================================
   Druck
   ========================================================================== */

@media print {
  .site-header, .site-nav, .vote, .lightbox, .btn-row, .skip-link,
  .mobile-cta, .ask__form, .ask__chips, .hero__cta { display: none !important; }
  body { background: #fff; font-size: 11pt; padding-bottom: 0; }
  .contact { background: #fff; color: #000; }
  .ask { background: none; border: 0; padding: 0; }
  .ask__head, .ask__hint, .ask__fallback, .ask__mail,
  .contact__person, .contact__role, .contact__secondary a { color: #000; }
  .btn-copy { display: none !important; }
  .section-title--invert, .contact__lead, .contact__mail, .contact__phone, .contact__address { color: #000; }
  .ph, .quote, .person, .factcard { box-shadow: none; break-inside: avoid; }
  .gallery, .quotes, .team { break-inside: avoid; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; color: #555; }
}
