/* =============================================================
   Sängerhalle Germania Neckarau 1879 e.V.
   Eine Schrift (Crimson Text), Farbwelt aus dem Hero:
   Himmelblau, Bronze des Abzeichens, warmes Braun, Vereinsblau.
   ============================================================= */

@font-face {
  font-family: "Crimson Text";
  src: url("../fonts/crimson-text-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Old London";
  src: url("../fonts/oldlondon.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Crimson Text";
  src: url("../fonts/crimson-text-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --papier: #ffffff;
  --creme: #f6f0e6;
  --tinte: #1b1208;
  --tinte-2: #5f4e3c;
  --bronze: #82603c;
  --bronze-hell: #b28d59;
  --blau: #0b4a96;   /* nur noch für das Logo */
  --himmel: #aec5d3;
  --dunkel: #241a12;
  --linie: rgba(27, 18, 8, 0.14);

  --kopf-h: 72px;
  --maxw: 1240px;
  --pad-x: clamp(1.25rem, 5vw, 4rem);
  --sec-y: clamp(3.25rem, 6vw, 5.5rem);
  --serif: "Crimson Text", Georgia, serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--kopf-h) + 16px); }

body {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.25rem;
  line-height: 1.65;
  color: var(--tinte);
  background: var(--papier);
  -webkit-font-smoothing: antialiased;
}
body.nav-locked { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; }
/* Formularelemente erben die Schrift nicht von selbst, sonst fallen sie auf Arial zurück */
button, input, select, textarea { font-family: inherit; }
a { color: inherit; }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.12; margin: 0; }
p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

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

.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad-x); }

.skip-link { position: absolute; left: -9999px; top: 0; background: var(--dunkel); color: #fff; padding: 0.75rem 1.25rem; z-index: 200; }
.skip-link:focus { left: 0; }

/* ---------- Sektionen ---------- */
.section { padding-block: var(--sec-y); }
.section--dunkel { background: var(--dunkel); color: var(--creme); }
.section--dunkel h2 { color: var(--creme); }
.section--dunkel p { color: rgba(246, 240, 230, 0.8); }

/* Sektionskopf: große Zeile, kurzer Bronzestrich darunter statt Linie quer über die Seite */
.kopf { margin-bottom: clamp(2rem, 4vw, 3.25rem); max-width: 62ch; }
.kopf h1, .kopf h2 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); letter-spacing: 0.01em; }
.kopf h1::after, .kopf h2::after {
  content: "";
  display: block;
  width: 64px;
  height: 3px;
  background: var(--bronze);
  margin-top: 0.9rem;
}
.kopf p { color: var(--tinte-2); margin-top: 1.15rem; font-size: clamp(1.25rem, 1.7vw, 1.5rem); line-height: 1.5; max-width: 52ch; }
/* Größerer Einleitungstext, aktuell für "Unser Chor Germania" */
.kopf--gross { max-width: 68ch; }
.kopf--gross p { font-size: clamp(1.45rem, 2.1vw, 1.9rem); line-height: 1.45; max-width: 58ch; color: var(--tinte); }
.section--dunkel .kopf h2::after { background: var(--bronze-hell); }

.mehr {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
  background: var(--dunkel);
  color: #fff;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 1rem 2.1rem;
  border: 1px solid transparent;   /* gleiche Höhe wie .mehr--linie */
}
.mehr--linie { background: transparent; color: var(--tinte); border-color: var(--tinte); }
.section--dunkel .mehr { background: var(--bronze); }

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease;
}
.nav.is-fest, .nav--immer { background: #ffffff; border-bottom-color: var(--linie); }

.nav__inner {
  margin: 0 auto;
  padding: 6px clamp(1.25rem, 4.4vw, 4rem);
  min-height: var(--kopf-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(1rem, 3vw, 2.5rem);
}

.nav__brand { display: flex; align-items: center; gap: 0.85rem; text-decoration: none; min-width: 0; }
.nav__brand-logo { position: relative; width: clamp(56px, 4.9vw, 70px); flex: none; aspect-ratio: 101 / 73; }
.nav__brand-logo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity 0.3s ease; }
/* Das Logo steht immer in Tinte, wie die Wortmarke daneben.
   Der frühere Wechsel auf Vereinsblau über der weißen Leiste ist raus. */

.nav__wortmarke {
  font-weight: 600;
  font-size: clamp(0.95rem, 1.05vw, 1.15rem);
  letter-spacing: 0.045em;
  line-height: 1.2;
  color: var(--tinte);
  white-space: nowrap;
  transition: color 0.3s ease;
}
.nav__wortmarke small {
  display: block;
  font-weight: 400;
  font-size: 0.74em;
  letter-spacing: 0.055em;
  line-height: 1.3;
  color: var(--tinte-2);
  transition: color 0.3s ease;
}

.nav__links { display: flex; align-items: center; gap: clamp(0.9rem, 1.9vw, 1.75rem); }
.nav__links a {
  text-decoration: none;
  font-size: clamp(13px, 1.05vw, 15.5px);
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--tinte);
  padding-block: 0.35rem;
  border-bottom: 2px solid transparent;
}
.nav__links a[aria-current="page"] { border-bottom-color: var(--bronze); }

/* Burger als eigener Top-Layer außerhalb der Nav */
.nav-burger {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  width: 46px; height: 46px;
  padding: 0;
  background: rgba(23, 16, 12, 0.55);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}
.nav-burger span { display: block; width: 20px; height: 2px; background: #f4eee3; transition: transform 0.25s, opacity 0.2s; }
.nav-burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.is-open span:nth-child(2) { opacity: 0; }
.nav-burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  position: fixed; inset: 0; z-index: 105;
  background: var(--dunkel);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity 0.28s ease;
}
.mobile-nav.is-open { opacity: 1; visibility: visible; }
.mobile-nav__links {
  position: static; background: transparent; border: 0; padding: 0;
  display: flex; flex-direction: column; align-items: center; gap: 1.2rem; width: 100%;
}
.mobile-nav__links a {
  color: var(--creme); text-decoration: none;
  font-size: 1.7rem; font-weight: 600; letter-spacing: 0.02em;
  opacity: 0; transform: translateY(14px);
}
.mobile-nav.is-open .mobile-nav__links a { animation: navIn 0.4s ease forwards; }
.mobile-nav__links a:nth-child(1) { animation-delay: 0.06s; }
.mobile-nav__links a:nth-child(2) { animation-delay: 0.12s; }
.mobile-nav__links a:nth-child(3) { animation-delay: 0.18s; }
.mobile-nav__links a:nth-child(4) { animation-delay: 0.24s; }
.mobile-nav__links a:nth-child(5) { animation-delay: 0.30s; }
.mobile-nav__links a:nth-child(6) { animation-delay: 0.36s; }
.mobile-nav__links a:nth-child(7) { animation-delay: 0.42s; }
@keyframes navIn { to { opacity: 1; transform: none; } }

@media (max-width: 960px) {
  :root { --kopf-h: 64px; }
  .nav__links { display: none; }
  .nav-burger { display: flex; position: fixed; top: 9px; right: clamp(14px, 4vw, 26px); z-index: 106; }
  .nav__brand-logo { width: 56px; }
}
@media (max-width: 420px) { .nav__wortmarke { font-size: 0.92rem; } }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
  background: var(--himmel);
}
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.hero__img--mobil { display: none; }
.hero__inner {
  max-width: 1440px; margin: 0 auto; width: 100%;
  padding: calc(var(--kopf-h) + 1rem) clamp(1.25rem, 4.4vw, 4rem) clamp(1.5rem, 3vw, 2.5rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.82fr);
  align-items: center;
  gap: clamp(1rem, 3vw, 2.5rem);
}
.hero__claim {
  font-weight: 400;
  font-size: clamp(2.25rem, min(8vw, 12.6svh), 7.25rem);
  line-height: 1.2;
  letter-spacing: 0.0328em;
  text-align: center;
  color: var(--tinte);
  text-shadow: 0 4px 4px rgba(0, 0, 0, 0.5);
}
.hero__abzeichen {
  width: auto;
  max-width: min(430px, 30vw);
  max-height: min(64svh, 720px);
  justify-self: center;
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.35));
}
@media (max-width: 860px) {
  .hero__img--desktop { display: none; }
  .hero__img--mobil { display: block; }
  .hero__inner { grid-template-columns: 1fr; justify-items: center; align-content: center; gap: clamp(0.75rem, 3vw, 1.5rem); }
  .hero__claim { font-size: clamp(2.25rem, 11vw, 3rem); line-height: 1.1; }
  .hero__abzeichen { max-width: min(300px, 58vw); max-height: 45svh; }
}

/* ---------- Karten: klare Fläche statt Haarlinie ---------- */
.karten { display: grid; gap: clamp(1rem, 2vw, 1.5rem); }
.karten--4 { grid-template-columns: repeat(4, 1fr); }
.karten--3 { grid-template-columns: repeat(3, 1fr); }
.karten--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 980px) { .karten--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) { .karten--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .karten--4, .karten--3, .karten--2 { grid-template-columns: 1fr; } }

.karte {
  background: var(--creme);
  padding: clamp(1.5rem, 2.5vw, 2rem);
  border-top: 3px solid var(--bronze);
  display: flex;
  flex-direction: column;
}
.karte h3 { font-size: 1.6rem; margin-bottom: 0.7rem; }
.karte p { color: var(--tinte-2); font-size: 1.15rem; }
.karte__meta { margin-top: auto; padding-top: 1.1rem; font-size: 1.08rem; color: var(--bronze); font-weight: 600; }

/* Sektion ohne beigen Kartenhintergrund: Struktur trägt allein der Bronzestrich */
.ohne-beige .karte { background: none; padding-inline: 0; }
.ohne-beige .bildreihe figure { background: none; }
.ohne-beige .bildreihe figcaption { padding-inline: 0; }

/* ---------- Tabellen: Zeilenwechsel statt Striche ---------- */
.tabelle { width: 100%; border-collapse: collapse; table-layout: fixed; }
.tabelle th {
  text-align: left;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
  background: var(--dunkel);
  padding: 0.85rem 1.25rem;
}
.tabelle td { padding: 1.05rem 1.25rem; vertical-align: baseline; }
.tabelle tbody tr:nth-child(odd) { background: var(--creme); }
.tabelle .sp-datum { color: var(--bronze); font-weight: 600; width: 20%; }
.tabelle .sp-zeit { color: var(--tinte-2); width: 15%; }
.tabelle .sp-was { font-weight: 600; width: 35%; }
.tabelle .sp-ort { color: var(--tinte-2); width: 30%; }
.tabelle .sp-amt { color: var(--tinte-2); width: 52%; }
.tabelle .sp-name { font-weight: 600; }

@media (max-width: 720px) {
  .tabelle, .tabelle tbody, .tabelle tr, .tabelle td { display: block; width: auto; }
  .tabelle thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .tabelle tr { padding: 1.1rem 1.25rem; margin-bottom: 4px; }
  .tabelle td { padding: 0; }
  .tabelle .sp-was { font-size: 1.2rem; }
  .tabelle .sp-datum { font-size: 1rem; }
  .tabelle .sp-zeit::before { content: "Uhrzeit: "; }
  .tabelle .sp-ort::before { content: "Ort: "; }
  .tabelle .sp-amt { font-size: 0.98rem; }
}

.hinweis { margin-top: 1.35rem; color: var(--tinte-2); font-size: 1.08rem; }

/* ---------- Zwei Spalten Fließtext ---------- */
.spalten { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: start; }
.spalten p { color: var(--tinte-2); }
.spalten p + p { margin-top: 1rem; }
@media (max-width: 820px) { .spalten { grid-template-columns: 1fr; } }

/* Bild neben Text */
.medien { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: stretch; }
.medien img { width: 100%; height: 100%; object-fit: cover; min-height: 300px; }
/* Vorstandsfoto vollständig zeigen, nicht auf Tabellenhöhe beschneiden */
#vorstand .medien img { height: auto; min-height: 0; object-fit: contain; align-self: start; }
@media (max-width: 820px) { .medien { grid-template-columns: 1fr; } .medien img { min-height: 0; aspect-ratio: 4 / 3; } }

/* ---------- Bildband über die volle Breite ---------- */
.bildband { position: relative; isolation: isolate; min-height: clamp(320px, 40vw, 480px); display: flex; align-items: center; }
.bildband img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.bildband::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(24, 16, 10, 0.74); }
.bildband__text { color: var(--creme); max-width: 34ch; margin-inline: auto; text-align: center; }
.bildband__text p { font-size: clamp(1.5rem, 3vw, 2.4rem); line-height: 1.25; font-weight: 600; }
/* Heller als --bronze-hell, sonst reicht der Kontrast über dem Foto nicht */
.bildband__text span { display: block; margin-top: 1rem; font-size: 0.95rem; letter-spacing: 0.16em; text-transform: uppercase; color: #e2cba6; }

/* ---------- Bildreihe mit Unterschrift ---------- */
.bildreihe { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 1.5rem); margin-top: clamp(2rem, 4vw, 3rem); }
.bildreihe figure { margin: 0; background: var(--creme); overflow: hidden; }
.bildreihe img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.bildreihe figcaption { padding: 1.1rem 1.25rem 1.35rem; font-weight: 600; font-size: 1.35rem; border-top: 3px solid var(--bronze); }
.bildreihe figcaption span { display: block; font-weight: 400; color: var(--tinte-2); font-size: 1.1rem; margin-top: 0.25rem; }
@media (max-width: 860px) { .bildreihe { grid-template-columns: 1fr; } }

/* ---------- Galerie: Jahrgänge mit Alben ---------- */
.galerie-aufmacher { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; }

.jahrgang { margin-top: clamp(2rem, 4vw, 3rem); }
.jahrgang:first-child { margin-top: 0; }
.jahrgang__kopf {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  background: var(--dunkel);
  color: #fff;
  padding: 0.8rem clamp(1rem, 2vw, 1.5rem);
}
.jahrgang__jahr { font-size: 1.8rem; font-weight: 600; line-height: 1; }

.album { background: var(--creme); margin-top: 4px; }
.album > summary {
  display: grid;
  grid-template-columns: 12rem minmax(0, 1fr) minmax(0, 1fr) 1.5rem;
  gap: clamp(0.4rem, 2vw, 1.5rem);
  align-items: baseline;
  padding: 1.15rem clamp(1rem, 2vw, 1.5rem);
  cursor: pointer;
  list-style: none;
}
.album > summary::-webkit-details-marker { display: none; }
.album__datum { color: var(--bronze); font-weight: 600; }
.album__titel { font-weight: 600; font-size: 1.35rem; }
.album__ort { color: var(--tinte-2); font-size: 1.12rem; }
.album__zeichen { justify-self: end; position: relative; width: 14px; height: 14px; align-self: center; }
.album__zeichen::before, .album__zeichen::after { content: ""; position: absolute; background: var(--tinte); transition: transform 0.25s ease, opacity 0.25s ease; }
.album__zeichen::before { top: 6px; left: 0; width: 14px; height: 2px; }
.album__zeichen::after { top: 0; left: 6px; width: 2px; height: 14px; }
.album[open] .album__zeichen::after { transform: scaleY(0); opacity: 0; }
.album__inhalt { padding: 0 clamp(1rem, 2vw, 1.5rem) clamp(1.25rem, 2vw, 1.5rem); }
.album__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 4px; }
.album__grid button { padding: 0; border: 0; background: none; cursor: pointer; overflow: hidden; line-height: 0; }
.album__grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.album__leer { color: var(--tinte-2); font-size: 1.15rem; }
@media (max-width: 760px) {
  .album > summary { grid-template-columns: 1fr 1.5rem; grid-template-areas: "datum zeichen" "titel zeichen" "ort zeichen"; gap: 0.15rem 1rem; }
  .album__datum { grid-area: datum; font-size: 0.98rem; }
  .album__titel { grid-area: titel; }
  .album__ort { grid-area: ort; }
  .album__zeichen { grid-area: zeichen; align-self: start; margin-top: 0.4rem; }
}

/* ---------- Zeitstrahl (Geschichte) ---------- */
.zeitstrahl { display: grid; gap: 4px; }
.zeitpunkt {
  display: grid;
  grid-template-columns: 9rem minmax(0, 1fr);
  gap: clamp(1rem, 3vw, 2.5rem);
  background: var(--creme);
  border-left: 4px solid var(--bronze);
  padding: clamp(1.25rem, 2.2vw, 1.75rem) clamp(1.25rem, 2.5vw, 2rem);
}
.zeitpunkt__jahr { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 600; color: var(--bronze); line-height: 1.1; }
.zeitpunkt h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.zeitpunkt p { color: var(--tinte-2); max-width: 62ch; }
@media (max-width: 700px) { .zeitpunkt { grid-template-columns: 1fr; gap: 0.4rem; } }

/* ---------- Kontakt ---------- */
.kontakt-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 860px) { .kontakt-layout { grid-template-columns: 1fr; } }

.kontaktdaten { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.kontaktdaten > div { background: var(--creme); padding: clamp(1.15rem, 2vw, 1.5rem); border-top: 3px solid var(--bronze); }
.kontaktdaten h3 { font-size: 1.3rem; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase; color: var(--bronze); margin-bottom: 0.7rem; }
.kontaktdaten p { line-height: 1.55; }
.kontaktdaten a { color: var(--tinte); text-decoration: none; }
@media (max-width: 520px) { .kontaktdaten { grid-template-columns: 1fr; } }

/* ---------- Formular: sichtbare Felder ---------- */
.formular {
  display: grid;
  gap: 1.15rem;
  background: var(--creme);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border-top: 3px solid var(--bronze);
}
.formular__titel { font-size: 1.7rem; }
.feld { display: grid; gap: 0.45rem; }
.feld label { font-size: 0.86rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--tinte-2); }
.feld input, .feld select, .feld textarea {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--tinte);
  background: #ffffff;
  border: 1px solid rgba(27, 18, 8, 0.3);
  border-radius: 2px;
  padding: 0.75rem 0.9rem;
  width: 100%;
}
.feld input:focus, .feld select:focus, .feld textarea:focus { outline: 0; border-color: var(--bronze); box-shadow: 0 0 0 3px rgba(140, 106, 67, 0.22); }
.feld textarea { resize: vertical; min-height: 8rem; }
.feld select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--tinte-2) 50%), linear-gradient(135deg, var(--tinte-2) 50%, transparent 50%);
  background-position: calc(100% - 18px) 55%, calc(100% - 12px) 55%;
  background-size: 6px 6px;
  background-repeat: no-repeat;
  padding-right: 2.25rem;
}
.feld-paar { display: grid; grid-template-columns: 1fr 1fr; gap: 1.15rem; }
@media (max-width: 560px) { .feld-paar { grid-template-columns: 1fr; } }

.zustimmung { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.7rem; align-items: start; }
.zustimmung input { width: 1.1rem; height: 1.1rem; margin-top: 0.35rem; accent-color: var(--bronze); }
.zustimmung span { font-size: 1.08rem; color: var(--tinte-2); line-height: 1.5; }
.zustimmung a { color: var(--tinte); }

.formular button {
  justify-self: start;
  background: var(--dunkel);
  color: #fff;
  border: 0;
  border-radius: 2px;
  font-family: var(--serif);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 1rem 2.25rem;
  cursor: pointer;
}
.falle { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.formular__hinweis { font-size: 1.08rem; color: var(--tinte-2); }

/* ---------- Footer: Marke oben mittig, darunter vier gleich breite Spalten ---------- */
.footer { background: var(--dunkel); color: rgba(246, 240, 230, 0.78); padding-block: clamp(3rem, 5vw, 4.25rem) 1.75rem; text-align: center; }

.footer__marke {
  padding-bottom: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: clamp(2rem, 4vw, 2.75rem);
  border-bottom: 1px solid rgba(246, 240, 230, 0.18);
}
.footer__logo { width: 88px; margin: 0 auto 1.1rem; }
.footer__intro { font-size: 1.15rem; max-width: 40ch; margin-inline: auto; }

.footer__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1.75rem, 3vw, 2.5rem);
  align-items: start;
}
.footer__grid h2 { font-size: 1.15rem; letter-spacing: 0.09em; text-transform: uppercase; color: var(--bronze-hell); margin: 0 0 1.1rem; font-weight: 600; }
.footer a { color: rgba(246, 240, 230, 0.78); text-decoration: none; }
/* Tippfläche auf mindestens 24px bringen, sonst zu fummelig auf dem Handy */
.footer ul a, .footer__unten a { display: inline-block; padding-block: 4px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; font-size: 1.08rem; line-height: 1.45; }

.footer__unten {
  margin-top: clamp(2rem, 4vw, 3rem);
  padding-top: 1.35rem;
  border-top: 1px solid rgba(246, 240, 230, 0.18);
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.75rem; justify-content: center;
  font-size: 0.95rem;
}
@media (max-width: 900px) { .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1.5rem; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; gap: 1.9rem; } }

/* ---------- Kontakt-FAB ---------- */
.fab { position: fixed; right: clamp(16px, 2.4vw, 26px); bottom: clamp(16px, 2.4vw, 26px); z-index: 98; line-height: 0; }
.fab__toggle { width: 58px; height: 58px; border-radius: 50%; border: 0; background: var(--dunkel); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 26px rgba(9, 20, 34, 0.3); }
.fab__toggle svg { width: 25px; height: 25px; fill: currentColor; transition: transform 0.25s ease; }
.fab.open .fab__toggle { background: var(--dunkel); }
.fab.open .fab__toggle svg { transform: rotate(135deg); }
.fab__menu {
  position: absolute; right: 0; bottom: calc(100% + 14px); line-height: 1.6;
  display: flex; flex-direction: column; align-items: flex-end; gap: 12px;
  opacity: 0; visibility: hidden; transform: translateY(12px) scale(0.9); transform-origin: bottom right;
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
}
.fab.open .fab__menu { opacity: 1; visibility: visible; transform: none; }
.fab__item { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; }
.fab__label { background: var(--papier); color: var(--tinte); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; padding: 0.35rem 0.7rem; box-shadow: 0 4px 14px rgba(9, 20, 34, 0.2); white-space: nowrap; }
.fab__icon { width: 46px; height: 46px; border-radius: 50%; background: var(--dunkel); color: var(--creme); display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 18px rgba(9, 20, 34, 0.26); flex: none; }
.fab__icon svg { width: 20px; height: 20px; fill: currentColor; }
@media (max-width: 520px) { .fab { right: 14px; bottom: 14px; } .fab__toggle { width: 52px; height: 52px; } .fab__icon { width: 42px; height: 42px; } }
body.nav-locked .fab, body.nav-locked .cookie { display: none !important; }

/* ---------- Cookie-Hinweis ---------- */
.cookie {
  position: fixed; left: clamp(16px, 2.4vw, 26px); bottom: clamp(16px, 2.4vw, 26px); z-index: 99;
  max-width: 28rem; background: var(--papier);
  border-top: 3px solid var(--bronze);
  box-shadow: 0 14px 36px rgba(9, 20, 34, 0.22);
  padding: 1.25rem 1.4rem;
  display: none;
}
.cookie.is-visible { display: block; }
.cookie p { font-size: 0.95rem; color: var(--tinte-2); margin-bottom: 1rem; }
.cookie a { color: var(--tinte); }
.cookie button {
  background: var(--dunkel); color: #fff; border: 0; border-radius: 2px;
  font-family: var(--serif); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 0.7rem 1.4rem; cursor: pointer;
}
@media (max-width: 640px) {
  .cookie { left: 0; right: 0; bottom: 0; max-width: none; padding: 0.9rem 1rem calc(0.9rem + env(safe-area-inset-bottom)); display: none; align-items: center; gap: 0.9rem; }
  .cookie.is-visible { display: flex; }
  .cookie p { margin: 0; font-size: 0.85rem; line-height: 1.4; }
  .cookie button { white-space: nowrap; padding: 0.6rem 1rem; font-size: 0.75rem; }
  .fab { bottom: 84px; }
  body.cookie-weg .fab { bottom: 14px; }
}

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 120; background: rgba(24, 16, 10, 0.96); display: none; align-items: center; justify-content: center; padding: clamp(1rem, 4vw, 3rem); }
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 100%; max-height: 85vh; width: auto; }
.lightbox__btn { position: absolute; background: rgba(246, 240, 230, 0.14); border: 0; color: var(--creme); width: 48px; height: 48px; border-radius: 50%; font-size: 1.4rem; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.lightbox__btn--zu { top: 1.25rem; right: 1.25rem; }
.lightbox__btn--vor { right: 1.25rem; top: 50%; transform: translateY(-50%); }
.lightbox__btn--zurueck { left: 1.25rem; top: 50%; transform: translateY(-50%); }
.lightbox__zaehler { position: absolute; bottom: 1.4rem; left: 50%; transform: translateX(-50%); color: rgba(246, 240, 230, 0.75); font-size: 0.92rem; letter-spacing: 0.08em; }

/* ---------- Unterseitenkopf ---------- */
.seitenanfang { padding-top: calc(var(--kopf-h) + clamp(2rem, 4vw, 3.5rem)); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .mobile-nav__links a { opacity: 1; transform: none; animation: none; }
}

/* ============================================================
   Überschriften und Bildunterschriften mittig
   ============================================================ */
.kopf { text-align: center; margin-inline: auto; }
.kopf h1::after, .kopf h2::after { margin-inline: auto; }
.kopf p { margin-inline: auto; }

.karte { text-align: center; }
.karte__meta { }

.bildreihe figcaption { text-align: center; }

.jahr { text-align: center; }

.formular__titel { text-align: center; }

/* Jahresband über den Terminen und Alben */
.jahrgang__kopf { justify-content: center; }
.jahrgang .tabelle { margin-top: 10px; }
.jahrgang + .jahrgang { margin-top: clamp(2rem, 4vw, 3rem); }

/* Termintabelle ohne Uhrzeitspalte */
.tabelle--3 .sp-datum { width: 24%; }
.tabelle--3 .sp-was { width: 42%; }
.tabelle--3 .sp-ort { width: 34%; }

/* ---------- Kontakt: linke Spalte untereinander, auf Formularhöhe ---------- */
@media (min-width: 861px) {
  .kontakt-layout { align-items: stretch; }
  .kontaktdaten { grid-template-columns: 1fr; grid-auto-rows: 1fr; height: 100%; }
}
@media (max-width: 860px) {
  .kontaktdaten { grid-template-columns: 1fr; }
}

/* ---------- Galerie-Anriss: Knopf rechts beim Bild ---------- */
.galerie-anriss { position: relative; }
.galerie-anriss .mehr { position: absolute; right: 0; bottom: 0; margin: 0; }
@media (max-width: 640px) {
  .galerie-anriss .mehr { position: static; display: flex; justify-content: center; margin-top: 1.25rem; }
}

/* ---------- Sektion mit Bild im Hintergrund ---------- */
.mit-bild { position: relative; isolation: isolate; color: var(--creme); }
.mit-bild > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.mit-bild::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(24, 16, 10, 0.8); }
.mit-bild h2 { color: var(--creme); }
.mit-bild .kopf p, .mit-bild p { color: rgba(246, 240, 230, 0.88); }
.mit-bild .kopf h2::after { background: var(--bronze-hell); }
.mit-bild .mehr { background: var(--bronze); }
.mit-bild__text { max-width: 68ch; margin-inline: auto; text-align: center; }
.mit-bild__text p + p { margin-top: 1rem; }
.mit-bild .wrap { text-align: center; }

/* Auf dem Handy sind die Tabellenzellen Blöcke. Die Spaltenbreiten aus der
   Desktop-Ansicht dürfen dort nicht weitergelten, sonst quetschen sie
   "10. Oktober" und "Ort: folgt" auf zwei Zeilen. */
@media (max-width: 720px) {
  .tabelle .sp-datum,
  .tabelle .sp-zeit,
  .tabelle .sp-was,
  .tabelle .sp-ort,
  .tabelle .sp-amt,
  .tabelle .sp-name,
  .tabelle--3 .sp-datum,
  .tabelle--3 .sp-was,
  .tabelle--3 .sp-ort { width: auto; }
  .tabelle .sp-was { margin-top: 0.15rem; }
  .tabelle .sp-ort { margin-top: 0.25rem; }
}


/* ---------- Vereinslosung von 1919 in Fraktur ---------- */
.losung {
  font-family: "Old London", "Crimson Text", Georgia, serif;
  font-size: clamp(1.65rem, 4.6vw, 3.9rem);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 0.01em;
}
.bildband__text .losung { margin-bottom: 0; }

/* Die Losung braucht die volle Breite, nicht die schmale Textspalte des Bildbands.
   .wrap ist hier ein Flex-Kind und schrumpft sonst auf die Textbreite zusammen. */
.bildband .wrap { width: 100%; }
.bildband__text { max-width: min(100%, 1100px); }
.bildband { min-height: clamp(360px, 46vw, 580px); }
/* Schlägt .bildband__text p, sonst gewinnt dessen höhere Spezifität */
.bildband__text p.losung { font-size: clamp(1.45rem, 4.7vw, 4.3rem); line-height: 1.3; font-weight: 400; }
/* Auf schmalen Geräten an die Viewportbreite koppeln, damit der Reim
   auf zwei Zeilen bleibt und nicht mitten im Vers umbricht. */
@media (max-width: 560px) {
  .bildband .wrap { padding-inline: 1rem; }
  .bildband__text p.losung { font-size: 5.6vw; }
}

/* Vereinsabzeichen neben dem Text: freistellen statt beschneiden */
.medien--wappen img {
  object-fit: contain;
  background: var(--creme);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  height: 100%;
  min-height: 0;
}
.wappen__titel { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-bottom: 1rem; text-align: center; }
@media (max-width: 820px) {
  .medien--wappen img { height: auto; aspect-ratio: 4 / 5; }
}

/* ---------- Rechtstexte: eine ruhige Lesespalte ---------- */
.legal { max-width: 74ch; margin-inline: auto; text-align: left; }
.legal h2 {
  font-size: clamp(1.45rem, 2.2vw, 1.8rem);
  margin-top: clamp(2.25rem, 4vw, 3rem);
  padding-top: 1.35rem;
  border-top: 1px solid var(--linie);
}
.legal h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.legal p { color: var(--tinte-2); margin-top: 1rem; font-size: 1.15rem; line-height: 1.6; }
.legal ul { color: var(--tinte-2); font-size: 1.15rem; line-height: 1.6; margin: 1rem 0 0; padding-left: 1.35rem; }
.legal li { margin-bottom: 0.4rem; }
.legal a { color: var(--tinte); text-underline-offset: 3px; }
.legal em { font-style: normal; font-weight: 600; color: var(--tinte); }
.legal__stand {
  margin-top: clamp(2.25rem, 4vw, 3rem);
  padding-top: 1.35rem;
  border-top: 1px solid var(--linie);
  font-size: 1rem;
}

/* ---------- 404 und Danke: kurze Seite, Fußzeile trotzdem unten ---------- */
.hinweisseite { display: flex; align-items: center; min-height: 68svh; }
.hinweisseite .wrap { width: 100%; text-align: center; }
.hinweisseite .kopf { margin-bottom: 0; }
.hinweisseite .hinweis { margin-top: 1.5rem; text-align: center; }
.hinweisseite .abschluss__knoepfe { margin-top: clamp(1.75rem, 3vw, 2.5rem); }

/* ---------- Abschluss der Geschichtsseite ---------- */
.abschluss { text-align: center; border-top: 1px solid var(--linie); }
.abschluss__titel {
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
  line-height: 1.15;
  max-width: 22ch;
  margin-inline: auto;
}
.abschluss__titel::after {
  content: "";
  display: block;
  width: 64px;
  height: 3px;
  background: var(--bronze);
  margin: 1rem auto 0;
}
.abschluss__knoepfe {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
}
.abschluss__knoepfe .mehr { margin-top: 0; }

/* =============================================================
   Hover-Zustände. Nur auf Geräten mit echtem Zeiger, sonst bleibt
   der Zustand auf dem Handy nach dem Antippen kleben.
   ============================================================= */
.nav__links a,
.mobile-nav__links a,
.mehr,
.karte,
.zeitpunkt,
.kontaktdaten > div,
.kontaktdaten a,
.footer a,
.tabelle tbody tr,
.album > summary,
.album__grid img,
.bildreihe figure,
.bildreihe img,
.galerie-aufmacher,
.formular button,
.cookie button,
.fab__toggle,
.fab__icon,
.lightbox__btn,
.nav-burger {
  transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease,
              transform 0.35s ease, opacity 0.25s ease, box-shadow 0.25s ease;
}

@media (hover: hover) and (pointer: fine) {
  /* Navigation */
  .nav__links a:hover { color: var(--bronze); border-bottom-color: var(--bronze); }
  .nav__brand:hover .nav__wortmarke,
  .nav__brand:hover .nav__wortmarke small { color: var(--bronze); }
  .mobile-nav__links a:hover { color: var(--bronze-hell); }
  .nav-burger:hover { background: rgba(23, 16, 12, 0.8); }

  /* Knöpfe */
  .mehr:hover { background: var(--bronze); color: #fff; }
  .mehr--linie:hover { background: var(--tinte); color: #fff; border-color: var(--tinte); }
  .section--dunkel .mehr:hover, .mit-bild .mehr:hover { background: var(--bronze-hell); }
  .formular button:hover, .cookie button:hover { background: var(--bronze); }

  /* Karten und Kontaktblöcke: der Bronzestrich wächst, die Fläche wärmt sich auf */
  .karte:hover { border-top-color: var(--tinte); background: #efe6d7; }
  .ohne-beige .karte:hover { background: none; border-top-color: var(--tinte); }
  .kontaktdaten > div:hover { border-top-color: var(--tinte); background: #efe6d7; }
  .kontaktdaten a:hover { color: var(--bronze); text-decoration: underline; text-underline-offset: 3px; }

  /* Zeitstrahl */
  .zeitpunkt:hover { border-left-color: var(--tinte); background: #efe6d7; }

  /* Tabellenzeilen */
  .tabelle tbody tr:hover { background: #e9dfcd; }

  /* Alben: Kopfzeile und Bilder */
  .album > summary:hover { background: #efe6d7; }
  .album__grid button:hover img { transform: scale(1.06); }
  .bildreihe figure:hover img { transform: scale(1.04); }
  .bildreihe img, .album__grid img { will-change: transform; }
  .galerie-anriss:hover .galerie-aufmacher { opacity: 0.92; }

  /* Fußzeile */
  .footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

  /* Schwebeknopf und Lightbox */
  .fab__toggle:hover { background: var(--bronze); }
  .fab__item:hover .fab__icon { background: var(--bronze); }
  .lightbox__btn:hover { background: rgba(246, 240, 230, 0.3); }

  /* Textlinks */
  .cookie a:hover, .zustimmung a:hover { color: var(--bronze); }
}

/* Bildzoom und Bewegung abschalten, wenn das System das verlangt */
@media (prefers-reduced-motion: reduce) {
  .album__grid button:hover img,
  .bildreihe figure:hover img { transform: none; }
  .nav__links a, .mobile-nav__links a, .mehr, .karte, .zeitpunkt,
  .kontaktdaten > div, .kontaktdaten a, .footer a, .tabelle tbody tr,
  .album > summary, .album__grid img, .bildreihe figure, .bildreihe img,
  .galerie-aufmacher, .formular button, .cookie button, .fab__toggle,
  .fab__icon, .lightbox__btn, .nav-burger { transition: none; }
}

/* ---------- Chorleitung: Porträt links, Lebenslauf rechts ---------- */
.medien--chorleiter { grid-template-columns: 0.75fr 1.25fr; align-items: start; }
.medien--chorleiter img {
  height: auto;
  min-height: 0;
  object-fit: cover;
  border-top: 3px solid var(--bronze);
  position: sticky;
  top: calc(var(--kopf-h) + 1.5rem);
}
.chorleiter__text { text-align: left; }
.chorleiter__text p { color: var(--tinte-2); font-size: 1.15rem; }
.chorleiter__text p + p { margin-top: 1.05rem; }
@media (max-width: 820px) {
  .medien--chorleiter { grid-template-columns: 1fr; }
  .medien--chorleiter img { position: static; aspect-ratio: 4 / 5; max-width: 340px; margin-inline: auto; }
}

/* ---------- Vorstandsfoto mit Bildunterschrift ---------- */
.vorstand-bild { margin: 0; align-self: start; }
.vorstand-bild figcaption {
  padding: 0.9rem 0 0;
  color: var(--tinte-2);
  font-size: 1.05rem;
  line-height: 1.5;
  text-align: left;
}
#vorstand .medien { align-items: start; }
#vorstand .vorstand-bild img { height: auto; min-height: 0; object-fit: contain; }
@media (max-width: 820px) {
  .vorstand-bild figcaption { text-align: center; }
  #vorstand .vorstand-bild img { aspect-ratio: 4 / 3; object-fit: cover; }
}

/* ---------- Singstundenband direkt unter dem Hero ---------- */
/* Liegt auf dem Chorfoto (.mit-bild liefert Bildlage und Abdunklung).
   Farbwelt hier bewusst ohne Bronze: nur Creme auf Dunkel. */
.singstunde-band { text-align: center; }
.singstunde-band .wrap { max-width: 60ch; }
.singstunde-band__bild--mobil { display: none; }
.singstunde-band__label {
  font-size: clamp(0.95rem, 1.5vw, 1.15rem);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin: 0 0 clamp(1rem, 2vw, 1.5rem);
}
.singstunde-band__zeit {
  font-size: clamp(2.3rem, 6.4vw, 4.6rem);
  line-height: 1.12;
  font-weight: 600;
  margin: 0;
}
/* Die Uhrzeit muss in einer Zeile bleiben, darum an die Viewportbreite
   gekoppelt statt an die große Zeile darüber. */
.singstunde-band__zeit span {
  display: block;
  white-space: nowrap;
  font-size: clamp(1.5rem, 6.2vw, 3.6rem);
  margin-top: 0.15em;
}
.singstunde-band__ort {
  margin: clamp(1.25rem, 2.5vw, 1.9rem) 0 0;
  font-size: clamp(1.3rem, 2.2vw, 1.75rem);
  line-height: 1.45;
}
.singstunde-band__hinweis {
  margin: clamp(0.75rem, 1.5vw, 1.1rem) 0 0;
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
}
/* .mit-bild p setzt alle Absätze auf 88 Prozent; Label, Zeit und Ort voll */
.mit-bild.singstunde-band .singstunde-band__label,
.mit-bild.singstunde-band .singstunde-band__zeit,
.mit-bild.singstunde-band .singstunde-band__ort { color: var(--creme); }
/* Heller Knopf statt Bronze: deckend und kontrastreich auf dem Foto */
.mit-bild.singstunde-band .mehr--hell,
.mit-bild.singstunde-band .mehr--hell:hover {
  background: var(--creme);
  color: var(--tinte);
  border-color: var(--creme);
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
}
/* Über dem unruhigen Chorfoto braucht der Text mehr Deckung als die
   Standardabdunklung von .mit-bild. */
.singstunde-band::after { background: rgba(24, 16, 10, 0.84); }
@media (max-width: 860px) {
  .singstunde-band__bild--desktop { display: none; }
  .singstunde-band__bild--mobil { display: block; }
}

/* ============================================================
   Cremeflächen im Sektionsrhythmus
   Bauteile, die von Haus aus creme sind, werden darauf weiß,
   sonst verschwinden Karten, Zeilenwechsel und Kästen.
   ============================================================ */
.section--creme { background: var(--creme); }
.section--creme .karte,
.section--creme .zeitpunkt,
.section--creme .bildreihe figure,
.section--creme .kontaktdaten > div,
.section--creme .formular,
.section--creme .tabelle tbody tr:nth-child(odd),
.section--creme .album { background: var(--papier); }
/* Sektion trägt beide Klassen selbst, darum verbunden statt verschachtelt */
.section--creme.ohne-beige .karte { background: none; }

/* ---------- Zwischenüberschrift innerhalb einer Sektion ---------- */
.block__titel {
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  text-align: center;
  margin: clamp(2.5rem, 5vw, 4rem) 0 clamp(1.25rem, 2.5vw, 1.75rem);
}

/* ---------- Stimmen aus dem Chor ---------- */
.stimmen { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 1.5rem); }
@media (max-width: 900px) { .stimmen { grid-template-columns: 1fr; } }
.stimme {
  margin: 0;
  background: var(--creme);
  border-top: 3px solid var(--bronze);
  padding: clamp(1.5rem, 2.5vw, 2rem);
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  text-align: left;
}
.stimme blockquote { margin: 0; }
.stimme blockquote p {
  font-size: clamp(1.2rem, 1.7vw, 1.4rem);
  line-height: 1.5;
  color: var(--tinte);
}
/* Anführungszeichen als Zeichen der Sektion, nicht als Bild */
.stimme blockquote p::before { content: "„"; }
.stimme blockquote p::after { content: "“"; }
.stimme figcaption {
  margin-top: auto;
  font-weight: 600;
  font-size: 1.15rem;
}
.stimme figcaption span { display: block; font-weight: 400; color: var(--tinte-2); font-size: 1.05rem; }

/* ---------- CTA mit vorangestelltem Icon ---------- */
.mehr svg { width: 1em; height: 1em; fill: currentColor; flex: none; }

/* Urheberhinweis in der Fußzeile: gleiche Zeile wie Copyright und
   Rechtstexte, nur etwas zurückgenommen. */
.footer__urheber { opacity: 0.75; }
