/* ==========================================================================
   Einheit in Christus – Stylesheet (Mobile-First)
   Alle Farben sind CSS-Variablen (siehe :root).
   Herkunft der Farben:
   - Blau  #1e73be, Anthrazit #222222, Grau #575760, Hellgrau #f7f8f9: Originalseite
   - Beige #d8c8b8 / #d8c8a8 und Anthrazit #585858: Logo
   - Ocker #a88858: Banner (Johannes 17:21)
   - Gold, Weinrot, Elfenbein: ergänzte kirchentypische Akzente
   ========================================================================== */

:root {
  /* Original */
  --blue:        #1e73be;
  --blue-deep:   #14558c;
  --ink:         #222222;
  --ink-soft:    #575760;
  --mist:        #f7f8f9;

  /* Abgeleitet aus Logo und Banner */
  --navy:        #0f2d4d;
  --navy-deep:   #0a2038;
  --gold:        #a88858;
  --gold-deep:   #7a5c2e;
  --gold-light:  #d8c8a8;
  --parchment:   #f3ede2;

  /* Ergänzte Akzente */
  --ivory:       #faf7f1;
  --white:       #ffffff;
  --wine:        #6e1f2e;
  --wine-deep:   #4f1521;

  --font-sans:  "Alegreya Sans", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  /* Drei Schriften, drei Aufgaben:
     Cormorant Garamond = Überschriften und Zierzeilen (fein, klassisch)
     Spectral           = hervorgehobener Lesetext (Einleitungen, Konto, Adresse)
     Alegreya Sans      = Fließtext und Menü (Schrift der Originalseite) */
  --font-display: "Cormorant Garamond", "Cormorant", "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --font-serif:   "Spectral", "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;

  --container:  68rem;
  --narrow:     40rem;
  --gutter:     1.25rem;
  --section-y:  clamp(4rem, 10vw, 7.5rem);
  --header-h:   4.25rem;
}

/* ---------- Schriften (selbst gehostet, Dateiliste in assets/fonts/README.txt) ----------
   Fehlt eine Datei, greift die Ersatzschrift aus den Variablen oben (--font-display, --font-serif, --font-sans). */
@font-face { font-family: "Alegreya Sans"; font-weight: 400; font-style: normal; font-display: swap;
  src: local("Alegreya Sans"), url("../assets/fonts/alegreya-sans-latin-400.woff2") format("woff2"); }
@font-face { font-family: "Alegreya Sans"; font-weight: 700; font-style: normal; font-display: swap;
  src: local("Alegreya Sans Bold"), url("../assets/fonts/alegreya-sans-latin-700.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-weight: 500; font-style: normal; font-display: swap;
  src: local("Cormorant Garamond Medium"), url("../assets/fonts/cormorant-garamond-latin-500.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-weight: 600; font-style: normal; font-display: swap;
  src: local("Cormorant Garamond SemiBold"), url("../assets/fonts/cormorant-garamond-latin-600.woff2") format("woff2"); }
@font-face { font-family: "Spectral"; font-weight: 300; font-style: normal; font-display: swap;
  src: local("Spectral Light"), url("../assets/fonts/spectral-latin-300.woff2") format("woff2"); }
@font-face { font-family: "Spectral"; font-weight: 400; font-style: normal; font-display: swap;
  src: local("Spectral"), url("../assets/fonts/spectral-latin-400.woff2") format("woff2"); }

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

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--ivory);
}

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

h1, h2, h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.2;
  color: var(--navy);
  text-wrap: balance;
}

p { margin: 0 0 1.25rem; }

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

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

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  padding: .6rem 1rem; background: var(--navy); color: var(--ivory);
  border-radius: 2px; transition: top .2s;
}
.skip-link:focus { top: 1rem; }

[hidden] { display: none !important; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: var(--narrow); }
.text-center { text-align: center; }

.section { padding-block: var(--section-y); }
.section--parchment { background: var(--parchment); }
.section--dark {
  color: var(--ivory);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(216, 200, 168, .2), transparent 60%),
    var(--navy);
}
.section--dark h2 { color: var(--ivory); }
.section--dark a { color: var(--gold-light); }
.section--dark :focus-visible { outline-color: var(--gold-light); }

.section__head { text-align: center; margin-bottom: 2.5rem; }
.section__head h2 { font-size: clamp(2.4rem, 7.5vw, 3.6rem); letter-spacing: .005em; }
.section__head .ornament { margin: 1.25rem auto 0; }

.eyebrow {
  margin: 0 0 .75rem;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.section--dark .eyebrow { color: var(--gold-light); }

.lead { font-family: var(--font-serif); font-weight: 300; font-size: 1.25rem; line-height: 1.6; }
.note { font-size: .95rem; color: var(--gold-light); opacity: .9; }

.ornament { display: block; width: 10rem; height: 1rem; color: var(--gold); margin-inline: auto; }

/* ---------- Header / Navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 247, 241, .95);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--gold-light);
}
.site-header__inner {
  position: relative;
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--container); min-height: var(--header-h);
  margin-inline: auto; padding: .4rem var(--gutter);
}
.brand { display: inline-flex; line-height: 0; }
.brand__logo { height: 3rem; width: auto; }

.nav { flex-basis: 100%; order: 3; }
.nav__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; }
.nav__list a {
  display: block; padding: .4rem 0;
  font-size: .9rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none; color: var(--navy);
}
.nav__list a:hover { color: var(--blue-deep); }
.nav__lang { color: var(--gold-deep) !important; }

/* Aufleuchten des aktiven Menüpunkts (Scroll-Spy) */
.nav__list a { transition: color .35s ease, text-shadow .35s ease, background-size .35s ease; }
.nav__list a[aria-current="location"] {
  color: var(--blue-deep);
  text-shadow: 0 0 .9rem rgba(216, 200, 168, .95), 0 0 .3rem rgba(168, 136, 88, .55);
}
.nav__list a[aria-current="location"]::after {
  content: ""; display: block; height: 2px; margin-top: .15rem;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  box-shadow: 0 0 .6rem rgba(168, 136, 88, .8);
}
.js .nav__list a[aria-current="location"] { border-left: 3px solid var(--gold); padding-left: .75rem; }
.js .nav__list a[aria-current="location"]::after { display: none; }
@media (min-width: 56em) {
  .js .nav__list a[aria-current="location"] { border-left: 0; padding-left: 0; }
  .js .nav__list a[aria-current="location"]::after { display: block; }
}
@media (prefers-reduced-motion: reduce) {
  .nav__list a { transition: none; }
}

.nav-toggle { display: none; }

/* Mit JavaScript: Menü klappt auf kleinen Bildschirmen auf */
.js .nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.75rem; height: 2.75rem; padding: 0;
  background: none; border: 1px solid var(--gold-light); border-radius: 50%;
  color: var(--navy); cursor: pointer;
}
.nav-toggle__icon,
.nav-toggle__icon::before,
.nav-toggle__icon::after {
  display: block; width: 1.1rem; height: 1.5px; background: currentColor;
  transition: transform .25s, opacity .2s;
}
.nav-toggle__icon { position: relative; }
.nav-toggle__icon::before, .nav-toggle__icon::after { content: ""; position: absolute; left: 0; }
.nav-toggle__icon::before { top: -6px; }
.nav-toggle__icon::after  { top:  6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon::after  { transform: translateY(-6px) rotate(-45deg); }

.js .nav {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--ivory); border-bottom: 1px solid var(--gold-light);
  padding: .5rem var(--gutter) 1.25rem;
  display: none;
}
.js .nav.is-open { display: block; }
.js .nav__list { flex-direction: column; gap: 0; }
.js .nav__list a { padding: .8rem 0; border-bottom: 1px solid rgba(168, 136, 88, .3); }

@media (min-width: 56em) {
  .nav { flex-basis: auto; order: 0; }
  .js .nav-toggle { display: none; }
  .js .nav { position: static; display: block; padding: 0; background: none; border: 0; }
  .js .nav__list { flex-direction: row; gap: 0 1.5rem; }
  .js .nav__list a { padding: .4rem 0; border: 0; }
  .nav__list a { background: linear-gradient(var(--gold), var(--gold)) 0 100% / 0 1px no-repeat; transition: background-size .3s; }
  .nav__list a:hover { background-size: 100% 1px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; text-align: center;
  min-height: 3rem; padding: .8rem 1.75rem;
  font: 700 .95rem/1.3 var(--font-sans); letter-spacing: .1em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  border: 1px solid transparent; border-radius: 999px;
  transition: background-color .25s, color .25s, border-color .25s, transform .25s;
}
.btn:hover { transform: translateY(-1px); }
.btn--blue { background: var(--blue-deep); color: var(--white); border-color: var(--blue-deep); }
.btn--blue:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn--outline { background: transparent; color: var(--navy); border-color: var(--gold); }
.btn--outline:hover { background: var(--navy); color: var(--ivory); border-color: var(--navy); }
.btn--gold {
  background: linear-gradient(180deg, #e3d4b2, var(--gold-light));
  color: var(--navy-deep); border-color: var(--gold);
}
.section--dark .btn--gold { color: var(--navy-deep); }
.btn--gold:hover { background: #efe3c6; color: var(--navy-deep); }
.btn--outline-dark { background: var(--white); color: var(--navy); border-color: var(--navy); }
.btn--outline-dark:hover { background: var(--navy); color: var(--ivory); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; text-align: center;
  padding-block: clamp(3.5rem, 9vw, 6.5rem) var(--section-y);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(216, 200, 168, .5), transparent 62%),
    var(--ivory);
}
/* Dezente Kirchenfenster-Bögen im Hintergrund */
.hero::before, .hero::after {
  content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  border: 1px solid var(--gold-light); border-bottom: 0;
  border-radius: 999px 999px 0 0; pointer-events: none; opacity: .7;
}
.hero::before { width: min(94vw, 44rem); height: 90%; }
.hero::after  { width: min(84vw, 38rem); height: 84%; opacity: .45; }

.hero__inner { position: relative; z-index: 1; }
.hero__title { font-size: clamp(3.2rem, 13vw, 6.25rem); letter-spacing: .015em; line-height: 1.05; }
.hero__lead { max-width: 30rem; margin: 1rem auto 1.5rem; font-family: var(--font-serif); font-weight: 300; font-size: clamp(1.15rem, 3.8vw, 1.4rem); line-height: 1.55; letter-spacing: .01em; color: var(--ink-soft); }
.hero__figure { margin: 2.25rem auto; max-width: 38rem; padding: .5rem; background: var(--white); border: 1px solid var(--gold-light); box-shadow: 0 .75rem 2rem rgba(15, 45, 77, .1); }
.hero__figure img { width: 100%; }
.hero__actions { display: flex; flex-direction: column; gap: .75rem; align-items: stretch; max-width: 20rem; margin-inline: auto; }

@media (min-width: 40em) {
  .hero__actions { flex-direction: row; justify-content: center; max-width: none; }
}

/* ---------- Vision ---------- */
.vision { text-align: center; font-family: var(--font-sans); font-size: 1.4rem; line-height: 1.7; }
.vision p { text-wrap: pretty; }
.vision__lead { font-family: var(--font-serif); font-weight: 300; font-size: clamp(1.5rem, 5.2vw, 2rem); line-height: 1.4; color: var(--navy); margin-bottom: 1.75rem; }
.invitation {
  margin: 2.5rem 0 0; padding-top: 2rem; position: relative;
  font-family: var(--font-display); font-weight: 500; font-size: clamp(2rem, 7vw, 2.6rem); line-height: 1.2; letter-spacing: .03em; color: var(--wine);
}
.invitation::before {
  content: ""; position: absolute; top: 0; left: 50%; width: 3rem; height: 1px;
  transform: translateX(-50%); background: var(--gold);
}
.seal { width: 8.75rem; height: auto; margin: 2.5rem auto 0; }

/* ---------- Karte (Konto) ---------- */
.card {
  max-width: 50rem; margin-inline: auto;
  padding: 2rem 1.5rem; background: var(--white);
  border: 1px solid var(--gold-light); outline: 1px solid var(--gold-light); outline-offset: -.5rem;
  box-shadow: 0 .75rem 2rem rgba(15, 45, 77, .07);
}
.account { margin: 0; display: grid; gap: 1.25rem; }
.account dt { font-size: .85rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-deep); }
.account dd { margin: .15rem 0 0; font-family: var(--font-serif); font-weight: 400; font-size: 1.2rem; font-variant-numeric: lining-nums; color: var(--navy); overflow-wrap: anywhere; }
.account__iban { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.copy {
  padding: .3rem .9rem; font: 700 .8rem/1.4 var(--font-sans); letter-spacing: .12em; text-transform: uppercase;
  color: var(--navy); background: transparent; border: 1px solid var(--gold); border-radius: 999px; cursor: pointer;
}
.copy:hover { background: var(--navy); color: var(--ivory); border-color: var(--navy); }
@media (min-width: 40em) { .card { padding: 2.75rem 3rem; } }

/* QR-Code (EPC/GiroCode) im Spendenkästchen */
.qr { margin: 2rem 0 0; padding-top: 2rem; text-align: center; border-top: 1px solid var(--gold-light); }
.qr img { width: 11.5rem; height: auto; margin: 0 auto 1rem; padding: .35rem; background: #fff; border: 1px solid var(--gold-light); }
.qr figcaption { max-width: 20rem; margin-inline: auto; font-size: 1rem; line-height: 1.5; color: var(--ink-soft); }
.qr figcaption strong { display: block; margin-bottom: .25rem; font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; color: var(--navy); }
@media (min-width: 40em) {
  .card--donate { display: grid; grid-template-columns: minmax(0, 1fr) 16rem; align-items: center; gap: 2.5rem; }
  .card--donate .qr { margin: 0; padding: 0 0 0 2.5rem; border-top: 0; border-left: 1px solid var(--gold-light); }
}

/* ---------- Vorstand ---------- */
.board { list-style: none; margin: 0; padding: 0; display: grid; gap: 3rem; }
.person { margin: 0; text-align: center; }
.person__frame {
  position: relative; width: 11rem; aspect-ratio: 3 / 4; margin: 0 auto 1.5rem;
  border-radius: 999px 999px .25rem .25rem; overflow: hidden;
  background: var(--parchment);
  box-shadow: 0 0 0 .4rem var(--ivory), 0 0 0 calc(.4rem + 1px) var(--gold), 0 1rem 1.75rem rgba(15, 45, 77, .13);
}
.person__frame img { width: 100%; height: 100%; object-fit: cover; object-position: 45% 25%; }
.person h3 { font-size: 1.95rem; font-weight: 600; }
.person p { margin: .25rem 0 0; font-size: .9rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-deep); }

@media (min-width: 48em) {
  .board { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
}

/* ---------- Kontakt ---------- */
.contact address { font-style: normal; font-size: 1.2rem; }
.contact address strong { display: block; margin-bottom: 1rem; font-family: var(--font-serif); font-size: 1.4rem; font-weight: 400; font-variant-numeric: lining-nums; color: var(--navy); }
.contact__line { display: block; }

/* ---------- Footer ---------- */
.site-footer { padding-block: 3rem 2.5rem; color: rgba(250, 247, 241, .88); background: var(--navy-deep); font-size: 1rem; }
.site-footer .ornament { color: var(--gold); margin-bottom: 1.75rem; }
.site-footer a, .linklike { color: var(--gold-light); }
.site-footer :focus-visible { outline-color: var(--gold-light); }
.footer-nav { list-style: none; margin: 0 0 1.5rem; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.75rem; }
.linklike { padding: 0; font: inherit; background: none; border: 0; text-decoration: underline; text-underline-offset: .2em; cursor: pointer; }
.copyright { margin: 0; font-size: .9rem; opacity: .75; }

/* ---------- Consent-Banner ---------- */
.consent {
  position: fixed; z-index: 200; left: .75rem; right: .75rem; bottom: .75rem;
  max-width: 40rem; margin-inline: auto; padding: 1.25rem;
  background: var(--white); border: 1px solid var(--gold); border-top: 3px solid var(--gold);
  box-shadow: 0 1rem 2.5rem rgba(10, 32, 56, .28); font-size: 1rem; line-height: 1.55;
}
.consent h2 { margin-bottom: .5rem; font-size: 1.3rem; }
.consent p { margin-bottom: 1rem; }
.consent__actions { display: grid; gap: .6rem; }
@media (min-width: 30em) { .consent__actions { grid-template-columns: 1fr 1fr; } }

/* ---------- Dezente Einblend-Animation (nur mit JS, nicht bei reduzierter Bewegung) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .8s ease, transform .8s ease; }
  .js .reveal.is-visible { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---------- Hinweis auf das Event im Kopfbereich ---------- */
.hero__event { margin: 1.75rem auto 0; }
.hero__event a {
  display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .3rem .9rem;
  padding: .7rem 1.4rem; text-decoration: none; color: var(--navy);
  background: rgba(255, 255, 255, .85); border: 1px solid var(--gold); border-radius: 1.75rem;
  box-shadow: 0 .4rem 1.2rem rgba(15, 45, 77, .08); transition: background-color .25s, transform .25s;
}
.hero__event a:hover { background: var(--white); color: var(--navy); transform: translateY(-1px); }
.hero__event-date { font-family: var(--font-display); font-weight: 600; font-size: 1.4rem; line-height: 1.2; color: var(--wine); }
.hero__event-cta { font-weight: 700; letter-spacing: .04em; color: var(--blue-deep); }

/* ---------- Event ---------- */
.event__title { display: flex; flex-direction: column; align-items: center; gap: .35rem; }
.event__eins { padding-left: .12em; font-family: var(--font-display); font-weight: 600; font-size: clamp(4.5rem, 20vw, 8rem); line-height: .95; letter-spacing: .12em; color: var(--navy); }
.event__sub { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.7rem, 6vw, 2.5rem); line-height: 1.15; color: var(--gold-deep); }

.event { display: grid; gap: 3rem; margin-bottom: clamp(3.5rem, 9vw, 5.5rem); }
@media (min-width: 56em) {
  .event { grid-template-columns: minmax(0, 1fr) 22rem; gap: 4rem; align-items: start; }
}
.event__date { margin: 0 0 1rem; font-family: var(--font-display); font-weight: 600; font-size: clamp(2.3rem, 8vw, 3.2rem); line-height: 1.1; color: var(--wine); }
.event__tagline { margin: 0 0 1.25rem; font-family: var(--font-serif); font-weight: 300; font-size: clamp(1.3rem, 4.5vw, 1.6rem); line-height: 1.4; color: var(--navy); }
.event__with { margin: 0 0 2.25rem; padding-top: 1.1rem; border-top: 1px solid var(--gold-light); letter-spacing: .05em; color: var(--ink-soft); }

.timeline { list-style: none; margin: 0 0 2.25rem; padding: 0; }
.timeline__item { position: relative; margin-left: .5rem; padding: 0 0 2.25rem 2.25rem; border-left: 1px dashed var(--gold); }
.timeline__item::before {
  content: ""; position: absolute; left: -.55rem; top: .5rem; width: 1rem; height: 1rem;
  border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 .3rem var(--parchment);
}
.timeline__item:nth-child(2)::before { background: var(--navy); }
.timeline__item--end { padding-bottom: 0; border-left-color: transparent; }
.timeline__item--end::before { background: var(--parchment); border: 2px solid var(--navy); }
.timeline__time { margin: 0 0 .15rem; font-family: var(--font-display); font-weight: 600; font-size: 2rem; line-height: 1.1; color: var(--navy); }
.timeline h3 { margin-bottom: .45rem; font-size: 1.6rem; font-weight: 600; }
.timeline address { margin-bottom: .5rem; font-style: normal; }
.timeline__map { margin: 0 0 1rem; font-size: 1rem; }
.pill {
  display: inline-flex; align-items: center; gap: .65rem; margin: .25rem 0 0; padding: .65rem 1.1rem;
  font-weight: 700; line-height: 1.35; color: var(--navy);
  background: rgba(255, 255, 255, .8); border: 1px solid var(--gold-light); border-radius: 1.5rem;
}
.pill__icon { flex: none; color: var(--gold-deep); }

.event__actions { display: flex; flex-direction: column; gap: .75rem; max-width: 20rem; }
@media (min-width: 40em) { .event__actions { flex-direction: row; max-width: none; } }

.event__flyer { max-width: 22rem; margin: 0 auto; }
.event__flyer img { width: 100%; height: auto; padding: .4rem; background: var(--white); border: 1px solid var(--gold-light); box-shadow: 0 .75rem 2rem rgba(15, 45, 77, .12); }
.event__flyer figcaption { margin-top: .75rem; font-size: .95rem; text-align: center; color: var(--ink-soft); }

/* ---------- Anmeldeformular ---------- */
.signup {
  max-width: 44rem; margin-inline: auto; padding: 2rem 1.5rem; background: var(--white);
  border: 1px solid var(--gold-light); outline: 1px solid var(--gold-light); outline-offset: -.5rem;
  box-shadow: 0 .75rem 2rem rgba(15, 45, 77, .07);
}
@media (min-width: 40em) { .signup { padding: 2.75rem 3rem; } }
.signup__head { margin-bottom: 1.75rem; text-align: center; }
.signup__title { font-size: clamp(2.1rem, 6.5vw, 2.7rem); }
.signup__intro { max-width: 32rem; margin: .75rem auto 0; color: var(--ink-soft); }

.form__grid { display: grid; gap: 1.25rem; }
@media (min-width: 40em) {
  .form__grid { grid-template-columns: 1fr 1fr; gap: 1.25rem 1.5rem; }
  .field--wide { grid-column: 1 / -1; }
}
.field label { display: block; margin-bottom: .35rem; font-weight: 700; line-height: 1.3; color: var(--navy); }
.field input {
  width: 100%; min-height: 3rem; padding: .6rem .9rem; font: inherit; font-size: 1.15rem; color: var(--ink);
  background: var(--ivory); border: 1px solid var(--gold); border-radius: .35rem;
}
.field input:focus-visible { background: var(--white); outline: 3px solid var(--blue); outline-offset: 2px; }
.field input[aria-invalid="true"] { border-color: var(--wine); background: #fdf3f4; }
.field__hint { margin: .35rem 0 0; font-size: .95rem; color: var(--ink-soft); }
.field__error { margin: .35rem 0 0; font-size: .95rem; font-weight: 700; color: var(--wine); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__note { margin: 1.5rem 0 1rem; font-size: .95rem; color: var(--ink-soft); }
.form__submit { width: 100%; }
@media (min-width: 40em) { .form__submit { width: auto; min-width: 14rem; } }
.form__submit:disabled { opacity: .6; cursor: progress; transform: none; }
.form__status { margin: 1rem 0 0; font-weight: 700; }
.form__status.is-error { color: var(--wine); }
.form__success { padding: 1rem 0; text-align: center; font-family: var(--font-serif); font-size: 1.3rem; line-height: 1.5; color: var(--navy); }
.form__success:focus { outline: none; }

/* Menü bei mittleren Breiten etwas enger, damit sieben Punkte passen */
@media (min-width: 56em) and (max-width: 72em) {
  .js .nav__list { gap: 0 1.1rem; }
  .nav__list a { font-size: .82rem; letter-spacing: .1em; }
}

/* ---------- Rechtliche Unterseiten ---------- */
.legal { padding-block: 3rem 5rem; }
.legal__nav { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem; margin-bottom: 2rem; font-size: 1rem; }
.legal h1 { font-size: clamp(2.6rem, 9vw, 3.8rem); margin-bottom: 1.5rem; }
.legal h2 { margin: 2.5rem 0 .9rem; font-size: clamp(1.8rem, 5.5vw, 2.2rem); }
.legal h3 { margin: 2rem 0 .75rem; font-size: 1.6rem; font-weight: 600; }
.legal h4 { margin: 1.5rem 0 .5rem; font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; color: var(--navy); }
.legal p, .legal li { overflow-wrap: anywhere; }
.legal ul { margin: 0 0 1.25rem; padding-left: 1.25rem; }
.legal li { margin-bottom: .6rem; }
.legal__toc { list-style: none; padding-left: 0; }
.legal hr { margin: 2rem 0; border: 0; border-top: 1px solid var(--gold-light); }
.legal__note { margin-top: 2.5rem; font-size: .95rem; color: var(--ink-soft); }

/* Flyer-Overlay */
.lightbox { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 1.25rem; border: 0; background: transparent; display: none; align-items: center; justify-content: center; overflow: hidden; }
.lightbox[open] { display: flex; }
.lightbox::backdrop { background: rgba(15, 45, 77, .55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.lightbox__img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; background: var(--white); box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, .45); cursor: default; }
.lightbox__close { position: absolute; top: .75rem; right: .75rem; width: 2.75rem; height: 2.75rem; border: 1px solid rgba(255, 255, 255, .6); border-radius: 50%; background: rgba(15, 45, 77, .7); color: #fff; font-size: 1.9rem; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.lightbox__close:hover, .lightbox__close:focus-visible { background: var(--wine, #6e1f2e); outline: 2px solid #fff; outline-offset: 2px; }
.event__flyer a { cursor: zoom-in; }
.is-locked { overflow: hidden; }

/* Sicherheitsfrage */
.field--captcha { margin-top: 1.25rem; }
.captcha__q { margin: .25rem 0 .6rem; font-family: var(--font-serif); font-size: 1.15rem; color: var(--navy, #0f2d4d); }
.captcha__row { display: flex; gap: .75rem; align-items: center; flex-wrap: wrap; }
.captcha__row input { width: 6rem; text-align: center; }
.captcha__new { background: none; border: 0; padding: .4rem 0; font: inherit; font-size: .95rem; color: var(--ink-soft); text-decoration: underline; text-underline-offset: .2em; cursor: pointer; }
.captcha__new:hover, .captcha__new:focus-visible { color: var(--blue, #1e73be); }
