/* ============================================================================
   Ev. Frauengruppe Süderholm - Stylesheet
   ----------------------------------------------------------------------------
   Gliederung
     1 Grundlagen        Farben, Schrift, Grundregeln
     2 Layout            Breiten, Abstaende, Raster
     3 Kopf/Navigation
     4 Bewegung          Einblenden beim Scrollen, Parallax
     5 Bausteine         Knoepfe, Karten, Plaketten
     6 Grossflaechen     Titelbild, Zitatbaender, Bildstreifen
     7 Termine
     8 Galerie
     9 Formulare
    10 Fusszeile
    11 Druck
   ========================================================================== */

/* ======================= 1 GRUNDLAGEN ==================================== */

:root {
  /* Farbwelt: Kirchgruen, warmer Sand, Terrakotta als Akzent */
  --gruen-900: #16332a;
  --gruen-800: #1d4034;
  --gruen-700: #2b5a4b;
  --gruen-500: #46806c;
  --gruen-300: #8cbfad;
  --gruen-100: #dfeee7;
  --sand-50:   #fcfaf6;
  --sand-100:  #f5efe5;
  --sand-200:  #e9dfcf;
  /* Terrakotta dunkel genug fuer kleine Schrift auf hellen Flaechen (>= 5:1),
     terra-300 hell genug fuer kleine Schrift auf dunklen Flaechen (>= 5:1) */
  --terra:     #a04525;
  --terra-300: #f5c8ad;
  --terra-100: #fae7dc;
  --text:      #1e2422;
  --text-leise:#5c6764;
  --weiss:     #ffffff;
  --rot:       #9c2b2b;

  /* Flaechen, die in BEIDEN Modi dunkel bleiben (heller Text darauf).
     Die gruen-Stufen kehren sich im Dunkelmodus um und taugen dafuer nicht. */
  --dunkelflaeche:   #1d4034;
  --dunkelflaeche-2: #16332a;

  --bg:    var(--sand-50);
  --karte: var(--weiss);
  --linie: rgba(30, 36, 34, .12);
  /* Umrandungen von Bedienelementen brauchen 3:1 - die zarte Linie oben
     reicht nur fuer Dekoration (Karten, Trennlinien). */
  --linie-stark: #7e8d88;

  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --sans:  system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --breite: 74rem;
  --radius: 18px;
  --radius-gross: 28px;

  --schatten-klein: 0 1px 2px rgba(22,51,42,.05), 0 4px 12px rgba(22,51,42,.05);
  --schatten:       0 2px 6px rgba(22,51,42,.06), 0 16px 40px rgba(22,51,42,.09);
  --schatten-gross: 0 4px 12px rgba(22,51,42,.08), 0 32px 70px rgba(22,51,42,.16);

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

@media (prefers-color-scheme: dark) {
  :root {
    --bg:     #121b17;
    --karte:  #1a2621;
    --linie:  rgba(255,255,255,.14);
    --linie-stark: #6c7b76;
    --text:   #edf3f0;
    --text-leise: #a9b8b2;
    --gruen-900: #dcece5;
    --gruen-800: #cfe4db;
    --gruen-700: #8ecdb6;
    --gruen-500: #63a68d;
    --gruen-100: #23342d;
    --sand-50:  #121b17;
    --sand-100: #1b2722;
    --sand-200: #2b3b34;
    --terra:     #e79b76;
    --terra-300: #f5c8ad;
    --terra-100: #35241c;
    --weiss:  #1a2621;
    --rot:    #f0a0a0;
    --dunkelflaeche:   #18302a;
    --dunkelflaeche-2: #10211c;
    --schatten-klein: 0 1px 2px rgba(0,0,0,.3);
    --schatten:       0 2px 6px rgba(0,0,0,.35), 0 16px 40px rgba(0,0,0,.35);
    --schatten-gross: 0 4px 12px rgba(0,0,0,.4), 0 32px 70px rgba(0,0,0,.5);
  }
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: var(--serif);
  color: var(--gruen-900);
  line-height: 1.08;
  letter-spacing: -.02em;
  margin: 0 0 .4em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 6.2vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 4.2vw, 3rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); letter-spacing: -.01em; }

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

a { color: var(--gruen-700); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--terra); }

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

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

[hidden] { display: none !important; }

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

.sprungmarke {
  position: fixed; left: 1rem; top: -5rem; z-index: 200;
  background: var(--dunkelflaeche); color: #fff;
  padding: .8rem 1.4rem; border-radius: 0 0 12px 12px; text-decoration: none;
  transition: top .18s var(--tempo);
}
.sprungmarke:focus { top: 0; color: #fff; }

/* Kleine Vorzeile ueber Ueberschriften */
.augenbraue {
  font-size: .8rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--terra); margin-bottom: 1rem;
}
/* Über Fotos braucht die Vorzeile einen sehr hellen Ton - Terrakotta
   erreicht dort in kleiner Schrift keine 4,5:1. */
.augenbraue--hell { color: #f8e7db; text-shadow: 0 1px 12px rgba(0,0,0,.5); }

.fuehrungstext {
  font-size: clamp(1.12rem, 1.9vw, 1.35rem);
  line-height: 1.55; color: var(--text-leise);
  max-width: 42ch;
}

/* ========================= 2 LAYOUT ====================================== */

.inhalt { width: min(100% - 2.5rem, var(--breite)); margin-inline: auto; }
.inhalt--schmal { width: min(100% - 2.5rem, 46rem); margin-inline: auto; }

section { padding-block: clamp(3.5rem, 9vw, 7rem); }
section.hell { background: var(--sand-100); }
section.dunkel { background: var(--dunkelflaeche-2); color: #e2efe9; }
section.dunkel h2, section.dunkel h3 { color: #fff; }
section.dunkel a { color: #fff; }

.raster {
  display: grid; gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17.5rem), 1fr));
}

.abschnitts-kopf { max-width: 48rem; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.abschnitts-kopf p { color: var(--text-leise); font-size: 1.1rem; max-width: 46ch; }

.knopfreihe { display: flex; flex-wrap: wrap; gap: .85rem; }

/* ==================== 3 KOPF UND NAVIGATION ============================== */

.kopf {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid transparent;
  transition: background .3s var(--tempo), border-color .3s var(--tempo);
}
.kopf--gescrollt { border-bottom-color: var(--linie); }

/* Ueber einem Titelbild startet der Kopf durchsichtig und hell.
   WICHTIG: nur solange nicht gescrollt wurde - sonst stuende dunkle Schrift
   ohne Hintergrund auf dem dunklen Foto. */
.kopf--ueber-bild:not(.kopf--gescrollt) {
  background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none;
}
.kopf--ueber-bild:not(.kopf--gescrollt) .marke__text,
.kopf--ueber-bild:not(.kopf--gescrollt) .marke__text small,
.kopf--ueber-bild:not(.kopf--gescrollt) .nav__liste a,
.kopf--ueber-bild:not(.kopf--gescrollt) .nav__schalter { color: #fff; }
.kopf--ueber-bild:not(.kopf--gescrollt) .marke__zeichen {
  background: rgba(255,255,255,.16); backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,.4);
}
.kopf--ueber-bild:not(.kopf--gescrollt) .nav__liste a:hover { background: rgba(255,255,255,.18); color: #fff; }
.kopf--ueber-bild:not(.kopf--gescrollt) .nav__liste a[aria-current="page"] { background: rgba(255,255,255,.22); color: #fff; }
.kopf--ueber-bild:not(.kopf--gescrollt) .nav__schalter { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.4); }

.kopf__innen {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding-block: .8rem;
}
.marke { display: flex; align-items: center; gap: .8rem; text-decoration: none; }
.marke__zeichen {
  width: 2.7rem; height: 2.7rem; flex: none;
  border-radius: 50%; background: var(--dunkelflaeche); color: #fff;
  display: grid; place-items: center;
  font-family: var(--serif); font-size: 1.3rem;
  transition: background .3s var(--tempo);
}
.marke__text { font-family: var(--serif); font-size: 1.15rem; color: var(--gruen-900); line-height: 1.15; letter-spacing: -.01em; }
.marke__text small {
  display: block; font-family: var(--sans); font-size: .68rem;
  color: var(--text-leise); letter-spacing: .14em; text-transform: uppercase; font-weight: 600;
}

.nav__liste { display: flex; gap: .2rem; list-style: none; margin: 0; padding: 0; }
.nav__liste a {
  display: block; padding: .55rem .95rem; border-radius: 999px;
  text-decoration: none; color: var(--text); font-size: .98rem;
  transition: background .2s var(--tempo), color .2s var(--tempo);
}
.nav__liste a:hover { background: var(--gruen-100); color: var(--gruen-900); }
.nav__liste a[aria-current="page"] { background: var(--gruen-700); color: #fff; }
@media (prefers-color-scheme: dark) { .nav__liste a[aria-current="page"] { color: #12201b; } }

.nav__schalter {
  display: none; align-items: center; gap: .5rem;
  background: var(--gruen-100); color: var(--gruen-900);
  border: 1.5px solid var(--linie-stark); border-radius: 12px;
  font: inherit; font-size: 1rem; padding: .55rem .95rem; cursor: pointer;
}

@media (max-width: 50rem) {
  .nav__schalter { display: inline-flex; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: color-mix(in srgb, var(--bg) 94%, transparent);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--linie); box-shadow: var(--schatten);
  }
  .nav__liste { flex-direction: column; padding: .5rem 1.25rem 1.25rem; }
  .nav__liste a { padding: .9rem 1rem; border-radius: 12px; font-size: 1.1rem; color: var(--text) !important; }
}

/* ======================== 4 BEWEGUNG ===================================== */

/* Einblenden beim Hereinscrollen */
.zeigen {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .85s var(--tempo), transform .85s var(--tempo);
}
.zeigen--da { opacity: 1; transform: none; }
.zeigen--verzoegert-1 { transition-delay: .09s; }
.zeigen--verzoegert-2 { transition-delay: .18s; }
.zeigen--verzoegert-3 { transition-delay: .27s; }

/* Bilder, die sich beim Scrollen langsamer bewegen als die Seite */
.parallax { position: relative; overflow: hidden; }
.parallax__bild {
  position: absolute; inset: -12% 0 -12% 0;
  will-change: transform;
}
.parallax__bild img { width: 100%; height: 100%; object-fit: cover; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .zeigen { opacity: 1 !important; transform: none !important; }
  .parallax__bild { transform: none !important; inset: 0; }
}

/* ======================= 5 BAUSTEINE ===================================== */

.knopf {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .85rem 1.6rem; border-radius: 999px;
  background: var(--gruen-700); color: #fff;
  font: inherit; font-weight: 600; font-size: 1rem; text-decoration: none;
  border: 1.5px solid var(--gruen-700); cursor: pointer;
  transition: transform .22s var(--tempo), background .22s var(--tempo), box-shadow .22s var(--tempo);
}
.knopf:hover {
  background: var(--gruen-800); border-color: var(--gruen-800); color: #fff;
  transform: translateY(-2px); box-shadow: var(--schatten-klein);
}
.knopf:active { transform: translateY(0); }
@media (prefers-color-scheme: dark) { .knopf, .knopf:hover { color: #10201a; } }

.knopf--zweit { background: transparent; color: var(--gruen-700); border-color: var(--linie-stark); }
.knopf--zweit:hover { background: var(--gruen-100); color: var(--gruen-900); border-color: var(--gruen-300); }

/* Weisser Knopf auf dem Titelbild - die Schriftfarbe muss in BEIDEN Modi
   dunkel bleiben, sonst steht helle Schrift auf weissem Grund. */
.knopf--hell { background: #fff; color: var(--dunkelflaeche-2); border-color: #fff; }
.knopf--hell:hover { background: #f2f7f5; color: var(--dunkelflaeche-2); border-color: #f2f7f5; }
.knopf--glas {
  background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.55);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.knopf--glas:hover { background: rgba(255,255,255,.26); color: #fff; border-color: #fff; }

.knopf--klein { padding: .45rem 1rem; font-size: .93rem; font-weight: 500; }

.karte {
  background: var(--karte); border: 1px solid var(--linie);
  border-radius: var(--radius); padding: clamp(1.4rem, 2.5vw, 2rem);
  box-shadow: var(--schatten-klein);
  transition: transform .3s var(--tempo), box-shadow .3s var(--tempo);
}
.karte--hebt:hover { transform: translateY(-4px); box-shadow: var(--schatten); }

.marke-tag {
  display: inline-block; padding: .3rem .85rem; border-radius: 999px;
  background: var(--gruen-100); color: var(--gruen-900);
  font-size: .82rem; font-weight: 600; letter-spacing: .02em;
}

.hinweis-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.hinweis-liste li { position: relative; padding-left: 2rem; }
.hinweis-liste li::before {
  content: ""; position: absolute; left: .1rem; top: .6em;
  width: .55rem; height: .55rem; border-radius: 50%; background: var(--terra);
}

.zahlen {
  display: grid; gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
}
.zahl b {
  display: block; font-family: var(--serif); font-variant-numeric: lining-nums;
  font-size: clamp(2rem, 4vw, 3rem); color: var(--gruen-700); line-height: 1; letter-spacing: -.03em;
}
.zahl > span { display: block; color: var(--text-leise); font-size: .95rem; margin-top: .4rem; }

/* ==================== 6 GROSSFLAECHEN ==================================== */

/* Titelbild ganzflaechig */
.held {
  position: relative; overflow: hidden;
  min-height: min(92vh, 46rem);
  display: grid; align-items: end;
  margin-top: -4.3rem;             /* Kopf liegt darueber */
  padding-top: 4.3rem;
  color: #fff;
}
.held--mittel { min-height: min(66vh, 34rem); }

.held__medium { position: absolute; inset: -14% 0 -14% 0; z-index: 0; will-change: transform; }
.held__medium img { width: 100%; height: 100%; object-fit: cover; }

/* Abdunklung über dem Foto. Die Werte sind so gewählt, dass heller Text auch
   auf einem sehr hellen Foto noch über 4,5:1 liegt:
   oben (Navigation) mind. 62 %, im Textbereich unten mind. 70 %. */
.held__schleier {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg,
    rgba(10,22,18,.74) 0,
    rgba(10,22,18,.62) 7rem,
    rgba(10,22,18,.32) 30%,
    rgba(10,22,18,.72) 50%,
    rgba(10,22,18,.90) 100%);
}

.held__inhalt {
  position: relative; z-index: 2;
  padding-block: clamp(3rem, 8vw, 6rem);
  max-width: 52rem;
}
.held h1 { color: #fff; text-shadow: 0 2px 30px rgba(0,0,0,.35); margin-bottom: .35em; }
.held__text {
  font-size: clamp(1.15rem, 2.2vw, 1.5rem); color: #ffffff;
  max-width: 40ch; text-shadow: 0 1px 16px rgba(0,0,0,.45);
}
.held__treffen {
  display: inline-flex; align-items: center; gap: .6rem;
  margin-top: 1.5rem; padding: .6rem 1.2rem;
  border-radius: 999px; border: 1px solid rgba(255,255,255,.4);
  background: rgba(255,255,255,.14);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font-weight: 600; font-size: 1rem; color: #fff;
}
.held .knopfreihe { margin-top: 2.2rem; }

.held__pfeil {
  position: absolute; left: 50%; bottom: 1.6rem; z-index: 3;
  transform: translateX(-50%);
  width: 2.8rem; height: 2.8rem; border-radius: 50%;
  display: grid; place-items: center; text-decoration: none;
  border: 1px solid rgba(255,255,255,.45); color: #fff;
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  animation: wippen 2.6s var(--tempo) infinite;
}
.held__pfeil:hover { background: rgba(255,255,255,.25); color: #fff; }
@keyframes wippen {
  0%, 100% { transform: translate(-50%, 0); }
  50%      { transform: translate(-50%, 7px); }
}

/* Schlichter Seitenkopf ohne Bild (Impressum, Datenschutz) */
.seiten-kopf {
  background: var(--sand-100); border-bottom: 1px solid var(--linie);
  padding-block: clamp(2.5rem, 6vw, 4rem);
}
.seiten-kopf p { color: var(--text-leise); max-width: 46ch; font-size: 1.08rem; }
.brotkrumen { font-size: .9rem; color: var(--text-leise); margin-bottom: .85rem; letter-spacing: .02em; }
.brotkrumen a { color: var(--text-leise); }

/* Zitatband ueber einem Foto */
.zitat-band {
  position: relative; overflow: hidden;
  min-height: min(70vh, 32rem);
  display: grid; place-items: center;
  color: #fff; text-align: center;
}
.zitat-band__schleier { position: absolute; inset: 0; z-index: 1; background: rgba(12,24,20,.70); }
.zitat-band__inhalt { position: relative; z-index: 2; padding-block: clamp(3rem, 7vw, 5rem); max-width: 46rem; }
.zitat-band blockquote {
  margin: 0; font-family: var(--serif);
  font-size: clamp(1.6rem, 3.6vw, 2.7rem); line-height: 1.22; letter-spacing: -.02em;
  text-shadow: 0 2px 26px rgba(0,0,0,.4);
}
.zitat-band figcaption { margin-top: 1.4rem; font-size: .95rem; color: #e9f1ed; letter-spacing: .06em; text-shadow: 0 1px 12px rgba(0,0,0,.5); }

/* Zwei Spalten: Bild und Text im Wechsel */
.duo {
  display: grid; gap: clamp(1.75rem, 4vw, 4rem); align-items: center;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 21rem), 1fr));
}
.duo--gedreht .duo__bild { order: 2; }
.duo__bild { margin: 0; border-radius: var(--radius-gross); overflow: hidden; box-shadow: var(--schatten); }
.duo__bild img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .8s var(--tempo); }
.duo__bild:hover img { transform: scale(1.03); }
@media (max-width: 46rem) { .duo--gedreht .duo__bild { order: 0; } }

/* Bildstreifen, waagerecht scrollbar */
.streifen {
  display: flex; gap: 1rem; overflow-x: auto; padding-bottom: .75rem;
  scroll-snap-type: x mandatory; scrollbar-width: thin;
}
.streifen > * { flex: 0 0 clamp(13rem, 26vw, 19rem); scroll-snap-align: start; }
.streifen img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }

/* ========================= 7 TERMINE ===================================== */

/* Der naechste Termin, gross herausgestellt */
.spotlight {
  position: relative; overflow: hidden;
  border-radius: var(--radius-gross);
  background: var(--dunkelflaeche); color: #fff;
  box-shadow: var(--schatten-gross);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
.spotlight__text { padding: clamp(1.75rem, 4vw, 3.25rem); align-self: center; }
.spotlight h2, .spotlight h3 { color: #fff; }
.spotlight__titel { font-size: clamp(1.7rem, 3.4vw, 2.6rem); margin-bottom: .5rem; }
.spotlight__datum {
  font-size: .82rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--terra-300); margin-bottom: 1rem;
}
.spotlight__beschreibung { color: #e6efeb; max-width: 44ch; }
.spotlight .knopfreihe { margin-top: 1.75rem; }
.spotlight__medium { position: relative; min-height: 18rem; }
.spotlight__medium img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.spotlight__zahl {
  position: absolute; inset: 0; display: grid; place-items: center;
  background:
    radial-gradient(120% 100% at 30% 20%, rgba(58,110,92,.35), transparent 60%),
    linear-gradient(160deg, #2b5a4b, var(--dunkelflaeche-2));
}
.spotlight__zahl span {
  font-family: var(--serif); font-variant-numeric: lining-nums;
  font-size: clamp(4rem, 11vw, 8rem); line-height: .9; letter-spacing: -.04em;
  color: rgba(255,255,255,.95); text-align: center;
}
.spotlight__zahl small { display: block; font-family: var(--sans); font-size: .95rem; letter-spacing: .22em; text-transform: uppercase; color: #f6e9e0; margin-top: .6rem; }
@media (max-width: 52rem) { .spotlight { grid-template-columns: 1fr; } .spotlight__medium { min-height: 13rem; order: -1; } }

/* Kommende Termine als redaktionelle Reihen */
.termin-gross {
  display: grid; gap: clamp(1.25rem, 3vw, 3rem); align-items: center;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  padding-block: clamp(2rem, 4vw, 3.5rem);
  border-top: 1px solid var(--linie);
}
.termin-gross:first-child { border-top: 0; }
.termin-gross--gedreht .termin-gross__medium { order: 2; }
@media (max-width: 46rem) {
  .termin-gross { grid-template-columns: 1fr; }
  .termin-gross--gedreht .termin-gross__medium { order: 0; }
}

.termin-gross__medium {
  position: relative; border-radius: var(--radius-gross); overflow: hidden;
  aspect-ratio: 5 / 4; box-shadow: var(--schatten-klein);
}
.termin-gross__medium img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--tempo); }
.termin-gross:hover .termin-gross__medium img { transform: scale(1.04); }

/* Wenn kein Foto vorliegt: grosse Datumsflaeche */
.datumsflaeche {
  position: absolute; inset: 0; display: grid; place-items: center; text-align: center;
  background: linear-gradient(155deg, var(--gruen-100), var(--sand-100) 55%, var(--terra-100));
}
.datumsflaeche b {
  display: block; font-family: var(--serif); font-variant-numeric: lining-nums;
  font-size: clamp(3.5rem, 9vw, 6rem); line-height: .88; letter-spacing: -.04em; color: var(--gruen-700);
}
.datumsflaeche span {
  display: block; margin-top: .5rem;
  font-size: .85rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--terra);
}
.datumsflaeche small { display: block; margin-top: .1rem; color: var(--text-leise); letter-spacing: .1em; }

.termin-gross__titel { font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: .5rem; }
.termin-gross__vor {
  font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--terra); margin-bottom: .85rem;
}
.termin-gross__text { color: var(--text-leise); max-width: 46ch; }
.termin-gross__fakten { display: grid; gap: .5rem; margin: 1.25rem 0; }
.termin-gross__fakten div { display: flex; gap: .75rem; align-items: baseline; font-size: .98rem; }
.termin-gross__fakten dt { flex: none; width: 6.5rem; color: var(--text-leise); font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; }
.termin-gross__fakten dd { margin: 0; }
.termin-gross .knopfreihe { margin-top: 1.5rem; }

/* Regelmaessige Monatstreffen - kompakt und ruhig */
.regel-raster {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
}
.regel-karte {
  display: grid; grid-template-columns: 4.5rem 1fr; gap: 1.1rem; align-items: start;
  background: var(--karte); border: 1px solid var(--linie);
  border-radius: var(--radius); padding: 1.35rem;
  transition: border-color .25s var(--tempo), transform .25s var(--tempo);
}
.regel-karte:hover { border-color: var(--gruen-300); transform: translateY(-2px); }
.regel-karte__datum {
  text-align: center; border-radius: 12px; padding: .55rem .25rem;
  background: linear-gradient(160deg, var(--gruen-100), var(--terra-100));
}
.regel-karte__datum b {
  display: block; font-family: var(--serif); font-variant-numeric: lining-nums;
  font-size: 1.85rem; line-height: 1; color: var(--gruen-800); letter-spacing: -.03em;
}
.regel-karte__datum span { display: block; font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--terra); margin-top: .25rem; }
.regel-karte h3 { font-size: 1.05rem; margin-bottom: .2rem; }
.regel-karte p { font-size: .92rem; color: var(--text-leise); margin-bottom: .9rem; }

/* Kompakte Termin-Karte (Rueckblick, Startseite) */
.termine { display: grid; gap: 1rem; }

.termin {
  display: grid; grid-template-columns: 4.5rem 1fr; gap: 1.5rem;
  background: var(--karte); border: 1px solid var(--linie);
  border-radius: var(--radius); padding: 1.35rem 1.6rem;
  transition: border-color .25s var(--tempo), transform .25s var(--tempo);
}
.termin:hover { border-color: var(--gruen-300); }
.termin--vergangen { background: transparent; box-shadow: none; }
.termin--abgesagt .termin__titel { text-decoration: line-through; }

.termin__datum { text-align: center; line-height: 1.05; padding-top: .2rem; }
.termin__tag { display: block; font-family: var(--serif); font-size: 1.9rem; color: var(--gruen-800); font-variant-numeric: lining-nums; letter-spacing: -.03em; }
.termin__monat { display: block; text-transform: uppercase; letter-spacing: .14em; font-size: .7rem; color: var(--terra); font-weight: 700; margin-top: .15rem; }
.termin__jahr { display: block; font-size: .8rem; color: var(--text-leise); }

.termin__titel { margin: 0 0 .35rem; font-size: 1.2rem; }
.termin__meta { display: flex; flex-wrap: wrap; gap: .35rem .9rem; margin-bottom: .6rem; font-size: .92rem; color: var(--text-leise); }
.termin__text { margin-bottom: .8rem; color: var(--text-leise); }
.termin__fuss { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }

.plakette {
  display: inline-block; padding: .22rem .7rem; border-radius: 999px;
  font-size: .78rem; font-weight: 700; letter-spacing: .04em;
}
.plakette--anmeldung { background: var(--terra-100); color: var(--terra); }
.plakette--kategorie { background: var(--gruen-100); color: var(--gruen-900); }
.plakette--abgesagt { background: #f6dede; color: var(--rot); }
.plakette--hell { background: rgba(255,255,255,.2); color: #fff; }
@media (prefers-color-scheme: dark) { .plakette--abgesagt { background: #3a2323; } }

@media (max-width: 34rem) {
  .termin { grid-template-columns: 1fr; gap: .4rem; padding: 1.15rem; }
  .termin__datum { display: flex; align-items: baseline; gap: .5rem; text-align: left; }
  .termin__tag { font-size: 1.4rem; }
}

/* Rueckblick nach Jahren */
.jahr-block {
  margin-bottom: 1rem; border: 1px solid var(--linie);
  border-radius: var(--radius); background: var(--karte); overflow: hidden;
}
.jahr-block > summary {
  cursor: pointer; padding: 1.15rem 1.5rem;
  font-family: var(--serif); font-size: 1.4rem; letter-spacing: -.01em;
  font-variant-numeric: lining-nums; color: var(--gruen-900);
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.jahr-block > summary::-webkit-details-marker { display: none; }
.jahr-block > summary::after { content: "▾"; color: var(--gruen-500); transition: transform .25s var(--tempo); }
.jahr-block[open] > summary::after { transform: rotate(180deg); }
.jahr-block > summary small {
  font-family: var(--sans); font-size: .85rem; color: var(--text-leise);
  letter-spacing: .06em; margin-left: auto; margin-right: .75rem;
}
.jahr-streifen { margin-top: 1.75rem; }
.jahr-streifen h4 {
  margin: 0 0 .75rem; font-size: .74rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: var(--text-leise);
}
.jahr-block__inhalt { padding: 0 1.5rem 1.5rem; }
.jahr-block .termin { border: 0; border-radius: 0; padding-inline: 0; border-top: 1px solid var(--linie); }
.jahr-block .termin:hover { border-color: var(--linie); }

.leer-hinweis {
  border: 1.5px dashed var(--linie); border-radius: var(--radius-gross);
  padding: clamp(2rem, 5vw, 3.5rem); text-align: center; color: var(--text-leise);
  background: var(--karte);
}
.leer-hinweis strong { color: var(--text); font-size: 1.15rem; }

.filterleiste { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.filterleiste button {
  font: inherit; font-size: .95rem; padding: .45rem 1.05rem;
  border-radius: 999px; border: 1.5px solid var(--linie-stark);
  background: var(--karte); color: var(--text); cursor: pointer;
  transition: background .2s var(--tempo), color .2s var(--tempo), border-color .2s var(--tempo);
}
.filterleiste button:hover { border-color: var(--gruen-300); }
.filterleiste button[aria-pressed="true"] { background: var(--gruen-700); border-color: var(--gruen-700); color: #fff; }
@media (prefers-color-scheme: dark) { .filterleiste button[aria-pressed="true"] { color: #12201b; } }

/* ========================= 8 GALERIE ===================================== */

.album { margin-bottom: clamp(3rem, 6vw, 5rem); }
.album__kopf { display: flex; flex-wrap: wrap; align-items: baseline; gap: .5rem 1.1rem; margin-bottom: 1.5rem; }
.album__kopf h2 { margin: 0; }
.album__datum { color: var(--terra); font-weight: 700; letter-spacing: .1em; font-size: .8rem; text-transform: uppercase; }

.bilder { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr)); }
/* Erstes Bild jedes Albums gross */
.bilder > .bild:first-child { grid-column: span 2; grid-row: span 2; }
@media (max-width: 34rem) { .bilder > .bild:first-child { grid-column: span 1; grid-row: span 1; } }

.bild {
  margin: 0; border-radius: var(--radius); overflow: hidden;
  background: var(--sand-100); border: 1px solid var(--linie);
  aspect-ratio: 4 / 3;
}
.bild button { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.bild img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--tempo), filter .4s var(--tempo); }
.bild:hover img { transform: scale(1.06); }

dialog.lupe { border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 96vh; }
dialog.lupe::backdrop { background: rgba(10,18,15,.9); backdrop-filter: blur(6px); }
dialog.lupe img { max-height: 84vh; width: auto; border-radius: 12px; margin-inline: auto; box-shadow: var(--schatten-gross); }
dialog.lupe .lupe__leiste { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .5rem 1rem; color: #fff; padding: 1rem .25rem; }
dialog.lupe .lupe__text { flex: 1 1 12rem; text-align: center; font-size: .95rem; color: rgba(255,255,255,.85); }
dialog.lupe button {
  font: inherit; background: rgba(255,255,255,.14); color: #fff;
  border: 1px solid rgba(255,255,255,.35); border-radius: 999px; padding: .5rem 1.2rem; cursor: pointer;
  backdrop-filter: blur(10px);
}
dialog.lupe button:hover { background: rgba(255,255,255,.3); }

/* ======================== 9 FORMULARE ==================================== */

.kontakt-raster { display: grid; gap: clamp(1.75rem, 4vw, 3rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 21rem), 1fr)); align-items: start; }

.daten-liste { display: grid; gap: 1.15rem; margin: 0; }
.daten-liste dt { font-size: .74rem; text-transform: uppercase; letter-spacing: .14em; color: var(--text-leise); font-weight: 700; }
.daten-liste dd { margin: .15rem 0 0; font-size: 1.1rem; }

.feld { display: grid; gap: .4rem; margin-bottom: 1.15rem; }
.feld label { font-weight: 600; font-size: .95rem; }
.feld input, .feld select, .feld textarea {
  font: inherit; padding: .75rem .95rem;
  border: 1.5px solid var(--linie-stark); border-radius: 12px;
  background: var(--karte); color: var(--text); width: 100%;
  transition: border-color .2s var(--tempo), box-shadow .2s var(--tempo);
}
.feld input::placeholder, .feld textarea::placeholder { color: var(--text-leise); opacity: 1; }
.feld input:focus, .feld select:focus, .feld textarea:focus {
  border-color: var(--gruen-500); box-shadow: 0 0 0 3px var(--gruen-100); outline: none;
}
.feld textarea { min-height: 8rem; resize: vertical; }
.feld small { color: var(--text-leise); }

.karten-platzhalter {
  border: 1px solid var(--linie); border-radius: var(--radius-gross);
  background: var(--sand-100); padding: clamp(2rem, 5vw, 3.5rem); text-align: center;
}

/* ======================== 10 FUSSZEILE =================================== */

.fuss { background: var(--dunkelflaeche-2); color: #cfe0d9; padding-block: clamp(3rem, 6vw, 4.5rem) 1.75rem; }
.fuss h2 { color: #fff; font-size: 1.05rem; letter-spacing: .04em; text-transform: uppercase; font-family: var(--sans); font-weight: 700; }
.fuss a { color: #fff; }
.fuss__raster { display: grid; gap: 2.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }
.fuss__unten {
  margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.15);
  display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; justify-content: space-between;
  font-size: .9rem; color: #a8bdb5;
}
.fuss__links { display: flex; flex-wrap: wrap; gap: 1.25rem; list-style: none; margin: 0; padding: 0; }

/* ========================== 11 DRUCK ===================================== */

@media print {
  .kopf, .fuss, .filterleiste, .nav, .sprungmarke, .nur-bildschirm,
  .termin__fuss, .held__medium, .held__schleier, .held__pfeil,
  .zitat-band, .duo__bild, .termin-gross__medium, .streifen,
  .knopfreihe, .spotlight__medium { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .held { min-height: 0; margin: 0; padding: 0; color: #000; }
  .held h1, .held__text { color: #000; text-shadow: none; }
  .held__treffen { border: 1px solid #999; background: none; color: #000; }
  section { padding-block: .5rem; }
  .spotlight { grid-template-columns: 1fr; background: none; color: #000; box-shadow: none; border: 1px solid #999; }
  .spotlight h2, .spotlight h3, .spotlight__beschreibung { color: #000; }
  .termin, .termin-gross { break-inside: avoid; border: 0; border-bottom: 1px solid #ccc; border-radius: 0; box-shadow: none; padding: .5rem 0; grid-template-columns: 1fr; }
  .jahr-block { border: 0; }
  .jahr-block__inhalt { padding: 0; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; color: #555; }
  h1, h2, h3 { color: #000; }
  .zeigen { opacity: 1 !important; transform: none !important; }
}
