/* Bambaşka Music · Flyer (Version 2). Farben und Begründung siehe DESIGN.md, Änderungen siehe CLAUDE.md Abschnitt 19 */

:root {
  --nachtpflaume: #1E0F1C;
  --samtrot: #6E1433;
  --logorot: #FC0101;
  --signalrot: #D80607;
  --logoweiss: #FFFFFF;
  --rauchrose: #CDBDC8;
  --linie: rgba(205, 189, 200, .35);
  --licht: #FFC98A; /* warmer Lichtsaum beim Öffnen */

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

  --rand-o: max(12px, env(safe-area-inset-top));
  --rand-u: max(12px, env(safe-area-inset-bottom));
  --rand-l: max(12px, env(safe-area-inset-left));
  --rand-r: max(12px, env(safe-area-inset-right));
  --spalte: min(100vw, 480px);

  --display: 'Archivo Display', 'Arial Black', 'Helvetica Neue', Arial, sans-serif;
  --ui: 'Archivo UI', 'Helvetica Neue', Arial, sans-serif;
  --text: 'Newsreader', Georgia, 'Times New Roman', serif;
}

* { box-sizing: border-box; }

html {
  background: var(--samtrot);
  color: var(--logoweiss);
  overscroll-behavior: none; /* kein Pull-to-Refresh */
  -webkit-text-size-adjust: 100%;
}
/* Abschnitt 32: kein Scrollen, ein Bildschirm zur Zeit, weiter nur über die Schaltflächen */
html:not(.seite), html:not(.seite) body { height: 100%; overflow: hidden; }

body {
  margin: 0;
  font-family: var(--text);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

/* Spalte: auf dem Handy volle Breite, auf großen Bildschirmen mittiges Hochformat */
.buehne {
  position: relative;
  width: 100%;
  max-width: 480px;
  height: 100vh;
  height: 100svh;
  margin: 0 auto;
  overflow: hidden;
  background: var(--nachtpflaume);
  container-type: inline-size;
}

:focus-visible { outline: 2px solid var(--logoweiss); outline-offset: 3px; }
[tabindex="-1"]:focus { outline: none; }
[hidden] { display: none !important; }

/* ---------- Feste Ebene: Fugenrahmen und Ton-Schalter (bleiben beim Scrollen stehen) ---------- */

.fest {
  position: fixed;
  z-index: 40;
  top: 0; bottom: 0;
  left: 50%;
  width: var(--spalte);
  transform: translateX(-50%);
  pointer-events: none;
}
.rahmen {
  position: absolute;
  top: var(--rand-o);
  left: var(--rand-l);
  right: var(--rand-r);
  bottom: var(--rand-u);
}
.rahmen > i { position: absolute; background: var(--linie); }
.rahmen .r-links { top: 0; bottom: 0; left: 0; width: 1px; }
.rahmen .r-rechts { top: 0; bottom: 44px; right: 0; width: 1px; } /* endet vor dem Ton-Schalter in der Ecke */
.rahmen .r-oben-l { top: 0; left: 0; right: calc(50% + 19px); height: 1px; }
.rahmen .r-oben-r { top: 0; right: 0; left: calc(50% + 19px); height: 1px; }
.rahmen .r-unten { bottom: 0; left: 0; right: 44px; height: 1px; }
.rahmen .r-ring {
  top: -7px; left: calc(50% - 7px);
  width: 14px; height: 14px;
  background: none;
  border: 2px solid var(--logorot);
  border-radius: 50%;
}

/* Ton-Schalter direkt in der unteren rechten Ecke des Rahmens (Abschnitt 32); die Linien enden vor ihm */
.ton {
  position: absolute;
  right: calc(var(--rand-r) - 6px);
  bottom: calc(var(--rand-u) - 6px);
  width: 44px; height: 44px;
  padding: 0;
  display: grid; place-items: center;
  border: 1px solid rgba(205, 189, 200, .5);
  border-radius: 50%;
  background: var(--nachtpflaume);
  color: var(--logoweiss);
  cursor: pointer;
  pointer-events: auto;
}
.ton svg { width: 20px; height: 20px; }
.ton .strich { display: none; }
.ton.aus .wellen { display: none; }
.ton.aus .strich { display: inline; }

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

.bildschirm {
  --skala: 1;
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  visibility: hidden; /* nur der aktive Bildschirm ist zu sehen */
  padding:
    calc(var(--rand-o) + 26px)
    calc(var(--rand-r) + 20px)
    calc(var(--rand-u) + 10px)
    calc(var(--rand-l) + 20px);
  background: radial-gradient(130% 45% at 50% -10%, rgba(110, 20, 51, .7), rgba(110, 20, 51, 0) 72%), var(--nachtpflaume);
  overflow: hidden;
}
.bildschirm-inhalt {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.bildschirm.aktiv { visibility: visible; }
/* Fuß: Schaltfläche zum Weitergehen unten mittig (wie „Weiter“ in der Vorlage), frei vom Ton-Schalter in der Ecke */
.fuss {
  flex: none;
  min-height: 34px;
  margin-top: 12px;
  padding: 0 22px; /* der Ton-Schalter ragt höchstens 18 px in den Inhaltsbereich */
  display: flex;
  justify-content: center;
  align-items: flex-end;
}
.fuss .sprung { margin-top: 0; }
/* vor dem Einblenden unsichtbar (bei reduzierter Bewegung entfällt das) */
.wartet [data-reveal] { opacity: 0; }

.akzent { flex: none; width: 30px; height: 3px; margin: 12px auto; border: 0; background: var(--logorot); }

/* Sprung-Schaltflächen (ersetzen „Weiter“) */
.sprung {
  flex: none;
  align-self: center;
  margin-top: 18px;
  min-height: 48px;
  padding: 0 22px 0 24px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(205, 189, 200, .55);
  border-radius: 24px;
  background: rgba(30, 15, 28, .7);
  color: var(--logoweiss);
  font: 600 16px/1.1 var(--ui);
  cursor: pointer;
}
.sprung svg { width: 16px; height: 16px; flex: none; }
.sprung:hover { border-color: var(--logoweiss); }

/* B2 · Einstieg */
.einstieg .bildschirm-inhalt { align-items: center; text-align: center; }
.einstieg .zeichen { flex: none; display: block; }
.einstieg .zeichen img { display: block; width: 56px; height: 56px; border-radius: 50%; }
.einstieg h1 {
  margin: 14px 0 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: calc(clamp(21px, 7cqw, 33px) * var(--skala));
  line-height: 1.05;
  letter-spacing: .01em;
  white-space: nowrap;
}
.slogan {
  margin: 0;
  font-style: italic;
  font-size: calc(clamp(17px, 5.2cqw, 22px) * var(--skala));
  line-height: 1.25;
  text-wrap: balance;
}
.foto { position: relative; flex: 1 1 auto; min-height: 140px; width: 100%; margin: 16px 0 14px; overflow: hidden; }
.foto picture {
  position: absolute; inset: 0;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 4%, #000 96%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 4%, #000 96%, transparent);
}
.foto picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
/* 1. Szene im Einstieg (Abschnitt 22.4): Video im eigenen Seitenverhältnis (Breitbild), so breit wie möglich,
   aber 8 px innerhalb der Rahmenlinien, immer ganz sichtbar (contain); Ränder weich */
.einstieg .bildschirm-inhalt { justify-content: center; }
.foto.auftritt {
  flex: 0 1 auto;
  align-self: stretch;
  width: auto;
  min-height: 0;
  margin: 22px -12px 18px;
  aspect-ratio: var(--ar);
}
/* Zwischenszenen (Abschnitt 22.5): Clip so breit wie möglich (8 px innerhalb der Linien), mittig, darunter die Schaltfläche */
.zwischenszene .bildschirm-inhalt { justify-content: center; }
.szene-clip {
  position: relative;
  flex: 0 1 auto;
  align-self: stretch;
  min-height: 0;
  margin: 0 -12px;
  aspect-ratio: var(--ar);
  overflow: hidden;
}
.auftritt video, .szene-clip video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: var(--nachtpflaume);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 3%, #000 97%, transparent), linear-gradient(to bottom, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent, #000 3%, #000 97%, transparent), linear-gradient(to bottom, transparent, #000 6%, #000 94%, transparent);
  mask-composite: intersect;
}
.info {
  margin: 0;
  font-size: calc(clamp(14px, 4.3cqw, 17px) * var(--skala));
  line-height: 1.4;
  color: var(--rauchrose);
  text-wrap: balance;
}

/* Textabschnitte (B3, B5) */
.text .bildschirm-inhalt { justify-content: center; }
.text h2, .mitglied h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: calc(clamp(24px, 7.6cqw, 32px) * var(--skala));
  line-height: 1.1;
}
.text .akzent { margin: 16px 0 20px; }
.text p {
  margin: 0;
  max-width: 34em;
  font-size: calc(clamp(17px, 5.1cqw, 20px) * var(--skala));
  line-height: 1.5;
  color: var(--rauchrose);
}

/* Fotoabschnitte (B4, B6): Foto so breit wie möglich, aber immer 8 px innerhalb der Rahmenlinien, ganz sichtbar */
.fotoseite .bildschirm-inhalt { justify-content: center; }
.grossfoto {
  position: relative;
  flex: 0 1 auto;
  margin: 0 -12px; /* Inhalt beginnt 20 px nach der Linie, Foto 8 px nach der Linie */
  aspect-ratio: var(--ar);
  max-height: 100%;
  min-height: 0;
}
.grossfoto:focus { outline: none; }
.grossfoto picture { position: absolute; inset: 0; }
.grossfoto img { display: block; width: 100%; height: 100%; object-fit: contain; }
.grossfoto.weich picture {
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 14%, #000 82%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 14%, #000 82%, transparent);
}
/* Gruppenfoto 3 (Abschnitt 22.6): rundum weich auslaufender, abgerundeter Rand wie bei den übrigen Bildern und Clips.
   Der Ausschnitt hat dafür mehr weißen Rand; der Verlauf reicht nicht bis zu den Personen (siehe tools/bilder.mjs). */
.grossfoto.rundum { border-radius: 18px; overflow: hidden; }
.grossfoto.rundum picture {
  -webkit-mask-image: linear-gradient(to right, transparent, #000 9%, #000 91%, transparent), linear-gradient(to bottom, transparent, #000 10%, #000 95.5%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent, #000 9%, #000 91%, transparent), linear-gradient(to bottom, transparent, #000 10%, #000 95.5%, transparent);
  mask-composite: intersect;
}

/* Abschnitt 22.6: ein motivierender Satz zu jedem Bild und Video, direkt darunter */
.bildsatz {
  flex: none;
  margin: 14px auto 0;
  max-width: 30em;
  text-align: center;
  font-family: var(--text);
  font-style: italic;
  font-size: calc(clamp(16px, 4.6cqw, 19px) * var(--skala));
  line-height: 1.35;
  color: var(--rauchrose);
  text-wrap: balance;
}
.einstieg .bildsatz { margin: 0 auto 10px; }
.mitglied .bildsatz { margin: 0; text-align: left; }
.mitglied .kurztext + .bildsatz { margin-top: calc(10px * var(--skala)); }
.abschluss-seite .bildsatz { margin: 0 auto; }

/* Mitglieder (B7–B13) */
.mitglied .bildschirm-inhalt { justify-content: center; }
.portraet {
  position: relative;
  flex: 0 1 auto;
  width: 100%;
  aspect-ratio: var(--ar);
  min-height: 150px;
  margin: 0 0 20px;
}
.portraet picture {
  position: absolute; inset: 0;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 4%, #000 96%, transparent), linear-gradient(to bottom, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent, #000 4%, #000 96%, transparent), linear-gradient(to bottom, transparent, #000 6%, #000 94%, transparent);
  mask-composite: intersect;
}
.portraet img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center bottom; }
.portraet.fehlt { display: grid; place-items: center; border: 1px dashed rgba(205, 189, 200, .5); padding: 16px; text-align: center; }
.mitglied .akzent { margin: 14px 0 16px; }
/* Rolle unter dem Namen (Abschnitt 24), z. B. „Keyboard und Gesang“ */
.rolle {
  flex: none;
  margin: 6px 0 0;
  font: 600 calc(clamp(14px, 4.2cqw, 16px) * var(--skala))/1.3 var(--ui);
  letter-spacing: .02em;
  color: var(--rauchrose);
}
.rolle + .akzent { margin-top: 12px; }
.kurztext {
  margin: 0;
  font-size: calc(clamp(16px, 4.9cqw, 19px) * var(--skala));
  line-height: 1.5;
  color: var(--rauchrose);
}
.platzhalter { color: var(--logoweiss); font: 600 15px/1.35 var(--ui); }

/* Videos (eigene Dateien, kein YouTube) */
.videos .bildschirm-inhalt { justify-content: center; align-items: center; gap: 22px; }
.player { position: relative; flex: none; width: 100%; aspect-ratio: 16 / 9; background: #000; border-radius: 4px; overflow: hidden; }
.player video { object-fit: contain; }
.player-start.auf-bild { background: linear-gradient(rgba(30, 15, 28, .1), rgba(30, 15, 28, .35)); box-shadow: none; }

/* Abschluss: Instagram-Ansicht, Buchung, Teilen, Link kopieren */
.abschluss-seite .bildschirm-inhalt { justify-content: center; gap: 12px; }
.insta-ansicht {
  position: relative;
  display: block;
  flex: 0 1 auto; /* Seitenverhältnis des Screenshots; wird es eng, wird unten (Bildraster) gekürzt */
  aspect-ratio: var(--ar, 4 / 5);
  min-height: 150px;
  width: 100%;
  padding: 6px;
  border: 1px solid rgba(205, 189, 200, .4);
  border-radius: 18px;
  margin: 0;
  background: #0c1013;
}
.insta-ansicht picture, .insta-ansicht img { display: block; width: 100%; height: 100%; }
.insta-ansicht img { object-fit: cover; object-position: top; border-radius: 12px; }
.insta-ansicht.fehlt { display: grid; place-items: center; border-style: dashed; text-align: center; padding: 16px; }
a.insta-ansicht:hover { border-color: var(--logoweiss); }
.player video, .player iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0; display: block; background: #000;
}
.player-start {
  position: absolute; inset: 0;
  width: 100%; padding: 0; border: 0;
  display: grid; place-items: center;
  cursor: pointer;
  background: radial-gradient(circle at 50% 50%, rgba(110, 20, 51, .6), rgba(30, 15, 28, .95) 72%), var(--nachtpflaume);
  box-shadow: inset 0 0 0 1px rgba(205, 189, 200, .25);
}
.player-start svg { width: 72px; height: 72px; transition: transform .2s var(--ease); }
.player-start:hover svg, .player-start:focus-visible svg { transform: scale(1.06); }
.player-start:focus-visible { outline-offset: -4px; }


.knopf {
  min-height: 52px;
  padding: 0 16px;
  white-space: nowrap;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid rgba(205, 189, 200, .55);
  border-radius: 26px;
  background: transparent;
  color: var(--logoweiss);
  font: 600 clamp(14px, 4cqw, 16px)/1.1 var(--ui); /* auf schmalen Handys eine Zeile */
  text-decoration: none;
  cursor: pointer;
}
.knopf svg { width: 20px; height: 20px; flex: none; }
.knopf.haupt { border-color: var(--signalrot); background: var(--signalrot); }
.knopf.haupt:hover { background: #C00506; }
.knopf:not(.haupt):hover { border-color: var(--logoweiss); }
.knopf-reihe { display: flex; gap: 12px; }
.knopf-reihe .knopf { flex: 1 1 0; min-height: 48px; font-size: 15px; padding: 0 12px; }
.knopf-reihe .knopf svg { width: 18px; height: 18px; }
.rueckmeldung { min-height: 1.4em; margin: 0; text-align: center; font: 600 14px/1.4 var(--ui); color: var(--rauchrose); }
.rechtlich, .cover-links { display: flex; justify-content: center; align-items: center; font: 400 14px/1 var(--text); color: var(--rauchrose); }
.rechtlich a, .cover-links a {
  display: inline-flex; align-items: center;
  min-height: 44px; padding: 0 8px;
  color: inherit;
  text-underline-offset: 3px;
  text-decoration-color: rgba(205, 189, 200, .5);
}
.rechtlich span, .cover-links span { opacity: .6; }

/* ---------- Cover: Bühnenvorhang (Abschnitt 19.3) ---------- */

.cover {
  position: fixed;
  z-index: 30;
  top: 0; bottom: 0;
  left: 50%;
  width: var(--spalte);
  transform: translateX(-50%);
  overflow: hidden;
}
.vorhang {
  position: absolute;
  top: 0; bottom: 0;
  width: 50.5%;
  /* Samt: Faltenwurf aus Licht und Schatten, oben und unten dunkler */
  background:
    linear-gradient(to bottom, rgba(10, 2, 6, .55), rgba(10, 2, 6, 0) 24%, rgba(10, 2, 6, 0) 68%, rgba(10, 2, 6, .6)),
    repeating-linear-gradient(90deg,
      rgba(0, 0, 0, .34) 0, rgba(0, 0, 0, .06) 10px, rgba(255, 210, 220, .07) 19px,
      rgba(0, 0, 0, .06) 28px, rgba(0, 0, 0, .34) 38px),
    var(--samtrot);
  will-change: transform;
}
.vorhang-links { left: 0; transform-origin: left center; box-shadow: inset -14px 0 22px -12px rgba(0, 0, 0, .7); }
.vorhang-rechts { right: 0; transform-origin: right center; box-shadow: inset 14px 0 22px -12px rgba(0, 0, 0, .7); }

/* obere Schabracke mit Bogenkante */
.vorhang-oben {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: calc(var(--rand-o) + 40px);
  background:
    linear-gradient(to bottom, rgba(10, 2, 6, .55), rgba(10, 2, 6, .1) 75%, rgba(255, 201, 138, .18) 92%, rgba(10, 2, 6, .3)),
    repeating-linear-gradient(90deg, rgba(0, 0, 0, .3) 0, rgba(0, 0, 0, .05) 9px, rgba(255, 210, 220, .08) 16px, rgba(0, 0, 0, .05) 24px, rgba(0, 0, 0, .3) 32px),
    var(--samtrot);
  -webkit-mask: linear-gradient(#000, #000) top / 100% calc(100% - 11px) no-repeat, radial-gradient(16px 11px at 50% 0, #000 98%, transparent) bottom / 32px 11px repeat-x;
  mask: linear-gradient(#000, #000) top / 100% calc(100% - 11px) no-repeat, radial-gradient(16px 11px at 50% 0, #000 98%, transparent) bottom / 32px 11px repeat-x;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .45));
  will-change: transform;
}
/* Bühnenlicht: fällt beim Öffnen warm von oben durch den Spalt */
.buehnenlicht {
  position: absolute;
  inset: 0;
  opacity: 0;
  background:
    radial-gradient(55% 42% at 50% 0%, rgba(255, 201, 138, .55), rgba(255, 170, 90, 0) 72%),
    radial-gradient(48% 55% at 50% 58%, rgba(255, 226, 186, .22), rgba(255, 226, 186, 0) 70%);
  mix-blend-mode: screen;
  pointer-events: none;
}
.lichtsaum {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 4px;
  margin-left: -2px;
  opacity: 0;
  background: linear-gradient(to bottom, rgba(255, 201, 138, 0), var(--licht) 25%, #FFE2BA 50%, var(--licht) 75%, rgba(255, 201, 138, 0));
  box-shadow: 0 0 14px 3px rgba(255, 170, 90, .4);
  filter: blur(1px);
  mix-blend-mode: screen;
  pointer-events: none;
}

.cover-logo {
  position: absolute;
  left: 50%;
  top: 42%;
  transform: translate(-50%, -50%);
  width: min(62%, 236px);
  aspect-ratio: 488 / 398;
  padding: 7% 9%;
  border-radius: 50%;
  background: var(--logoweiss);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .25);
}
.cover-logo::after { content: ''; position: absolute; inset: 6px; border: 1px solid rgba(30, 15, 28, .2); border-radius: 50%; }
.cover-logo picture, .cover-logo img { display: block; width: 100%; height: 100%; }
.cover-logo img { object-fit: contain; }

.cover-bedienung {
  position: absolute;
  left: 0; right: 0;
  bottom: calc(var(--rand-u) + 34px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.knopf-oeffnen {
  height: 52px;
  padding: 0 30px;
  border: 0;
  border-radius: 26px;
  background: var(--signalrot);
  color: var(--logoweiss);
  font: 600 17px/1 var(--ui);
  cursor: pointer;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .15);
}
.knopf-oeffnen:hover { background: #C00506; }

/* ---------- Mitglieder: Übersicht und sieben Seiten als seitlich wischbare Reihe (Abschnitt 22.3) ---------- */

.bildschirm.mitglieder-reihe { padding: 0; }
/* Fenster genau zwischen den Rahmenlinien: beim Wischen überschreitet nichts die Linien */
.pager-bahn {
  position: absolute;
  top: 0; bottom: 0;
  left: calc(var(--rand-l) + 1px);
  right: calc(var(--rand-r) + 1px);
  overflow: hidden;
  -webkit-user-select: none;
  user-select: none;
}
.folie {
  --skala: 1;
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: calc(var(--rand-o) + 26px) 19px calc(var(--rand-u) + 10px);
  visibility: hidden;
  will-change: transform;
}
.bildschirm.aktiv .folie.sichtbar { visibility: visible; }

/* Übersicht: dezente Nummern mit Abstand über den Köpfen, feine Linie zur Person */
.uebersicht .bildschirm-inhalt { justify-content: center; gap: 18px; }
.gruppenwahl { flex: none; overflow: visible; margin-top: 72px; } /* nie schrumpfen, Platz für die Nummern darüber */
.marke {
  position: absolute;
  bottom: calc(100% - 2px);
  width: 44px; height: 66px;
  margin-left: -22px;
  padding: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
  border: 0;
  background: none;
  cursor: pointer;
}
.marke span, .mitglied-nr {
  display: grid; place-items: center;
  border: 1px solid rgba(205, 189, 200, .45);
  border-radius: 50%;
  color: rgba(255, 255, 255, .82);
  font: italic 400 15px/1 var(--text);
  font-variant-numeric: lining-nums;
}
.marke span { width: 27px; height: 27px; background: rgba(30, 15, 28, .35); transition: border-color .2s var(--ease), color .2s var(--ease), scale .12s var(--ease); }
.marke::after { /* feine Linie von der Nummer zur Person */
  content: '';
  width: 1px; height: 22px;
  margin-top: 5px;
  background: linear-gradient(rgba(205, 189, 200, .45), rgba(205, 189, 200, 0));
}
.marke:hover span, .marke:focus-visible span { border-color: rgba(255, 226, 186, .9); color: var(--logoweiss); }
.marke:focus-visible { outline-offset: 0; }

/* Mitgliedsseite: „Nächster“ (zurück zur Auswahl) und „Weiter“ nebeneinander */
.knopf-paar { flex: none; display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 10px; }
.knopf-paar .sprung { margin-top: 0; padding: 0 16px; gap: 8px; }

/* Nummer neben dem Namen auf jeder Mitgliedsseite (gleicher Stil) */
.name-zeile { flex: none; display: flex; align-items: center; gap: 12px; }
.mitglied-nr { flex: none; width: 32px; height: 32px; font-size: 17px; }

/* Instagram: Überschrift über dem Profilbild, das Bild ist der Link */
.insta-titel {
  margin: 0;
  text-align: center;
  font-family: var(--display);
  font-weight: 800;
  font-size: calc(clamp(21px, 6.4cqw, 27px) * var(--skala));
  line-height: 1.15;
  text-wrap: balance;
}

/* ---------- Anfrage-Formular (Abschnitt 23): Knöpfe wie im Formular der Einladung, in den Farben der Band ---------- */

.anfrage {
  --gold: #D9B98A;      /* warmes Champagner-Gold, wie der Goldton der Einladung */
  --gold-tief: #B08A5E;
}
.anfrage .bildschirm-inhalt { justify-content: center; text-align: center; gap: calc(11px * var(--skala)); }
.anfrage h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: calc(clamp(24px, 7.6cqw, 32px) * var(--skala));
  line-height: 1.1;
}
.anfrage .akzent { margin: 2px auto; }
.anfrage-einleitung {
  margin: 0;
  font-style: italic;
  font-size: calc(clamp(16px, 4.8cqw, 19px) * var(--skala));
  line-height: 1.35;
  color: var(--rauchrose);
}
.feld { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.feld-label {
  font: 600 calc(11.5px * var(--skala))/1.2 var(--ui);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(205, 189, 200, .8);
}
.feld-paar { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.feld-zeile { flex-direction: row; align-items: center; justify-content: center; gap: 18px; }

/* Auswahlknöpfe: ausgewählt färbt sich der Knopf warm, im Kreis erscheint eine Perle (wie in der Einladung) */
.auswahl { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.auswahl.mehrfach { display: flex; flex-wrap: wrap; }
.auswahl.mehrfach .option { flex: 1 1 auto; }
.option {
  min-height: 44px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid rgba(205, 189, 200, .25);
  border-radius: 10px;
  background: transparent;
  color: var(--rauchrose);
  font: 400 calc(clamp(15px, 4.4cqw, 17px) * var(--skala))/1.1 var(--text);
  letter-spacing: .02em;
  white-space: nowrap;
  cursor: pointer;
}
.option .kreis {
  flex: none;
  width: 18px; height: 18px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1.4px solid rgba(205, 189, 200, .6);
  border-radius: 50%;
}
.option .perle {
  display: none;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 28%, #FFFFFF 0%, #FFFAF2 18%, #F6E8D8 48%, #E4CFB6 78%, #C9AB8C 100%);
  box-shadow: 0 1.5px 3px rgba(0, 0, 0, .45), inset 0 -2px 3px rgba(160, 130, 100, .26);
}
.option[aria-checked="true"] {
  border-color: rgba(217, 185, 138, .5);
  background: rgba(217, 185, 138, .09);
  color: var(--logoweiss);
}
.option[aria-checked="true"] .kreis { border-color: var(--gold); box-shadow: 0 1px 3px rgba(0, 0, 0, .4); }
.option[aria-checked="true"] .perle { display: block; }

/* Felder: beim Antippen goldener Rand mit weichem Lichtring (wie in der Einladung) */
.eingabe {
  display: block;
  width: 100%;
  min-height: 44px;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid rgba(205, 189, 200, .28);
  border-radius: 10px;
  background: rgba(255, 255, 255, .05);
  color: var(--logoweiss);
  color-scheme: dark;
  font: 400 17px/1.3 var(--text); /* mindestens 16 px: iPhones vergrößern sonst beim Antippen */
  text-align: center;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color .16s, box-shadow .16s;
}
.eingabe::placeholder { color: rgba(205, 189, 200, .5); }
.eingabe:focus, .eingabe:focus-visible { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(217, 185, 138, .18); }
textarea.eingabe { min-height: 0; height: calc(76px * var(--skala)); resize: none; text-align: left; }
input[type="date"].eingabe { min-width: 0; }
input[type="date"].eingabe::-webkit-date-and-time-value { text-align: center; }
.eingabe.fehlerhaft { border-color: #FF8A8A; box-shadow: 0 0 0 4px rgba(252, 1, 1, .16); }
.feld-fehler { margin: 0; font: 600 13px/1.3 var(--ui); color: #FF9A9A; }
.feld-fehler:empty { display: none; }

/* Zähler (wie „Kişi sayısı“ in der Einladung): runde Knöpfe, Zahl in der Mitte */
.zaehler { display: inline-flex; align-items: center; gap: 16px; }
.zaehler-knopf {
  width: 44px; height: 44px;
  padding: 0;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1.2px solid rgba(217, 185, 138, .55);
  border-radius: 50%;
  background: rgba(255, 255, 255, .04);
  color: #EBD3AF;
  font: 400 22px/1 var(--text);
  cursor: pointer;
}
.zaehler-knopf:disabled { opacity: .35; cursor: default; }
.zaehler-wert {
  min-width: 3ch;
  font: 400 calc(26px * var(--skala))/1 var(--text);
  font-variant-numeric: lining-nums tabular-nums;
  color: var(--logoweiss);
}

/* „Anfrage senden“: Pille mit Goldrand (wie „Gönder“ in der Einladung), innen Samtrot */
.knopf-senden {
  flex: none;
  align-self: center;
  min-height: 50px;
  margin-top: 4px;
  padding: 0 28px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1.8px solid transparent;
  border-radius: 999px;
  background:
    linear-gradient(166deg, #7A1A3C 0%, #5A1230 45%, #3A0D22 100%) padding-box,
    linear-gradient(150deg, #E6CB94 0%, #B08A5E 40%, #DCC191 68%, #9B7A50 100%) border-box;
  box-shadow: 0 8px 18px rgba(0, 0, 0, .35), inset 0 0 0 2px rgba(255, 255, 255, .07);
  color: #F3DFC0;
  font: 600 14px/1 var(--ui);
  letter-spacing: .2em;
  text-transform: uppercase;
  cursor: pointer;
}
.knopf-senden svg { width: 16px; height: 16px; flex: none; color: var(--gold); }
.knopf-senden:hover { translate: 0 -1px; box-shadow: 0 12px 24px rgba(0, 0, 0, .42), inset 0 0 0 2px rgba(255, 255, 255, .07); }
.anfrage .sprung { margin-top: 4px; }
.anfrage-hinweis {
  margin: 0;
  font-style: italic;
  font-size: calc(clamp(14px, 4.1cqw, 16px) * var(--skala));
  line-height: 1.4;
  color: var(--rauchrose);
  text-wrap: balance;
}
.knopf-senden[aria-busy="true"] { opacity: .75; cursor: progress; }
/* Honigtopf gegen Spam (Abschnitt 25): für Menschen unsichtbar und nicht erreichbar */
.honig { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }
/* Rückmeldung nach dem Senden (Abschnitt 23.4): Dank oder Fehler, darunter WhatsApp als zweiter Weg */
.anfrage-ergebnis { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.anfrage-ergebnis:empty { display: none; }
.anfrage-danke { margin: 0; font: 600 15px/1.35 var(--ui); color: #F3DFC0; text-wrap: balance; }
.anfrage .knopf { align-self: center; min-height: 48px; padding: 0 22px; font-size: 15px; }

/* „Flyer öffnen“ wie der Öffnen-Knopf der Einladung: schwebt sanft, ein Ring pulsiert, ein Goldglanz läuft darüber.
   Nur solange der Vorhang zu ist; bei reduzierter Bewegung ruhig. */
.knopf-oeffnen { position: relative; isolation: isolate; }
.knopf-oeffnen::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(105deg, rgba(255, 236, 205, 0) 25%, rgba(255, 236, 205, .55) 50%, rgba(255, 236, 205, 0) 75%) no-repeat;
  background-size: 45% 100%;
  background-position: -100% 0;
  opacity: 0;
  pointer-events: none;
}
.knopf-oeffnen::after {
  content: '';
  position: absolute;
  inset: -1px;
  border: 1px solid rgba(255, 201, 138, .75);
  border-radius: inherit;
  opacity: 0;
  pointer-events: none;
}
.zu .knopf-oeffnen { animation: knopfSchweben 3.4s ease-in-out infinite; }
.zu .knopf-oeffnen::before { animation: knopfGlanz 4.6s ease-in-out infinite; }
.zu .knopf-oeffnen::after { animation: knopfRing 2.9s ease-out infinite; }
@keyframes knopfSchweben { 0%, 100% { transform: translateY(0); opacity: .96; } 50% { transform: translateY(-5px); opacity: 1; } }
@keyframes knopfRing { 0% { opacity: 0; transform: scale(.97); } 24% { opacity: .7; } 100% { opacity: 0; transform: scale(1.1); } }
@keyframes knopfGlanz {
  0%, 32% { background-position: -100% 0; opacity: 0; }
  42% { opacity: .72; }
  64%, 100% { background-position: 200% 0; opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .zu .knopf-oeffnen, .zu .knopf-oeffnen::before, .zu .knopf-oeffnen::after { animation: none; }
}

/* ---------- Drück-Haptik: Knöpfe geben beim Antippen sichtbar nach ---------- */

.sprung, .knopf, .knopf-oeffnen, .insta-ansicht, .ton, .option, .zaehler-knopf, .knopf-senden { transition: scale .12s var(--ease), background-color .12s, border-color .12s, translate .16s, box-shadow .16s; }
.sprung:active, .knopf:active, .knopf-oeffnen:active, .ton:active, .knopf-senden:active { scale: .95; }
.option:active { scale: .97; }
.zaehler-knopf:active:not(:disabled) { scale: .9; }
.insta-ansicht:active { scale: .98; }
.marke:active span { scale: .9; }
.player-start:active svg { transform: scale(.92); }
@media (prefers-reduced-motion: reduce) {
  .sprung, .knopf, .knopf-oeffnen, .insta-ansicht, .ton, .marke span, .player-start svg, .option, .zaehler-knopf, .knopf-senden, .eingabe { transition: none; }
}

/* ---------- Rechtliche Seiten (impressum.html, datenschutz.html) ---------- */

.seite main { padding: 48px 32px; }
.seite h1 { font: 800 28px/1.1 var(--display); margin: 0 0 16px; }
.seite p { font-size: 18px; line-height: 1.5; color: var(--rauchrose); }
.seite a { color: var(--logoweiss); }

/* ---------- Kalender im Formular (Abschnitt 32): bereits gebuchte Tage sind grau ---------- */

.datum-knopf { cursor: pointer; }
.datum-knopf.leer { color: rgba(205, 189, 200, .5); }
.kalender {
  position: absolute;
  z-index: 5;
  inset: calc(var(--rand-o) + 18px) calc(var(--rand-r) + 10px) calc(var(--rand-u) + 50px) calc(var(--rand-l) + 10px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  padding: 18px 14px;
  border: 1px solid rgba(217, 185, 138, .4);
  border-radius: 18px;
  background: radial-gradient(120% 60% at 50% 0%, rgba(110, 20, 51, .55), rgba(110, 20, 51, 0) 70%), var(--nachtpflaume);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .55);
}
.kal-kopf { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.kal-titel { margin: 0; font: 800 clamp(19px, 5.6cqw, 24px)/1.1 var(--display); text-align: center; }
.kal-pfeil {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  padding: 0;
  border: 1.2px solid rgba(217, 185, 138, .55);
  border-radius: 50%;
  background: rgba(255, 255, 255, .04);
  color: #EBD3AF;
  cursor: pointer;
}
.kal-pfeil svg { width: 16px; height: 16px; }
.kal-pfeil:disabled { opacity: .3; cursor: default; }
.kal-wochentage, .kal-raster { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.kal-wochentage span { font: 600 12px/1 var(--ui); letter-spacing: .08em; color: rgba(205, 189, 200, .75); }
.kal-tag {
  aspect-ratio: 1;
  min-height: 40px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 50%;
  background: transparent;
  color: var(--logoweiss);
  font: 400 clamp(16px, 4.8cqw, 19px)/1 var(--text);
  font-variant-numeric: lining-nums tabular-nums;
  cursor: pointer;
}
.kal-tag:hover:not(:disabled) { border-color: rgba(217, 185, 138, .6); }
.kal-tag.heute { border-color: rgba(205, 189, 200, .45); }
.kal-tag.gewaehlt { border-color: #D9B98A; background: rgba(217, 185, 138, .18); color: #F3DFC0; }
.kal-tag.vorbei { color: rgba(205, 189, 200, .28); cursor: default; }
/* gebucht: gräulich hinterlegt und durchgestrichen, nicht wählbar */
.kal-tag.belegt { background: rgba(205, 189, 200, .16); color: rgba(205, 189, 200, .45); text-decoration: line-through; cursor: not-allowed; }
.kal-legende { margin: 2px 0 0; display: flex; align-items: center; justify-content: center; gap: 8px; font: 400 15px/1.3 var(--text); font-style: italic; color: var(--rauchrose); }
.kal-muster { width: 16px; height: 16px; border-radius: 50%; background: rgba(205, 189, 200, .16); border: 1px solid rgba(205, 189, 200, .3); }
.kal-schliessen { align-self: center; min-height: 46px; padding: 0 26px; font-size: 15px; }
.kal-tag:active:not(:disabled), .kal-pfeil:active:not(:disabled) { scale: .92; }
.anfrage:has(.kalender:not([hidden])) .fuss { visibility: hidden; }
