/* =====================================================================
   Akkordeonorchester Rupertigau e. V. – Stylesheet
   Farben & Schriften zentral in :root anpassen.
   Schriften liegen lokal in assets/fonts (keine externen Server, DSGVO).
   ===================================================================== */

@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/source-sans-3.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/source-sans-3-italic.woff2") format("woff2");
  font-weight: 200 900;
  font-style: italic;
  font-display: swap;
}

:root {
  --rot: #B01E23;          /* AOR-Rot (Plakate, Jacken) */
  --rot-tief: #8A151A;
  --rot-zart: #F6E7E4;
  --papier: #FBF8F3;       /* warmes Notenpapier */
  --weiss: #FFFFFF;
  --tinte: #1E1A17;        /* fast schwarz, wie die Obertasten */
  --text: #2E2926;
  --grau: #675F58;
  --linie: #E4DBD0;

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --breite: 72rem;
  --rand: clamp(1rem, 4vw, 2.5rem);
  --abstand: clamp(3rem, 7vw, 5.5rem);
}

/* ---------- Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--papier);
  color: var(--text);
  font: 400 1.0625rem/1.65 var(--sans);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--rot); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--rot-tief); }
:focus-visible { outline: 3px solid var(--rot); outline-offset: 2px; }
h1, h2, h3 {
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-weight: 600;
  color: var(--tinte);
  line-height: 1.1;
  letter-spacing: -.01em;
  margin: 0 0 .5em;
  text-wrap: balance;
  overflow-wrap: break-word;
  hyphens: auto;
}
h1 { font-size: clamp(2.5rem, 7.5vw, 4.75rem); }
h2 { font-size: clamp(1.8rem, 4.2vw, 2.7rem); }
h3 { font-size: 1.3rem; line-height: 1.25; }
p { margin: 0 0 1em; }
address { font-style: normal; }
ul, ol { padding-left: 1.2em; }
strong { font-weight: 650; }

.wrap { max-width: var(--breite); margin-inline: auto; padding-inline: var(--rand); }
.schmal { max-width: 46rem; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--tinte); color: #fff; padding: .6rem 1rem;
}
.skip:focus { left: 1rem; top: 1rem; }

/* ---------- Musikalische Motive ---------- */

/* Klaviatur (Diskantseite des Akkordeons) */
.tasten {
  height: 20px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='84' height='30' viewBox='0 0 84 30'%3E%3Crect width='84' height='30' fill='%23fff'/%3E%3Cpath d='M.5 0v30M12.5 0v30M24.5 0v30M36.5 0v30M48.5 0v30M60.5 0v30M72.5 0v30' stroke='%23cdc3b6'/%3E%3Cg fill='%231e1a17'%3E%3Crect x='8.5' width='7' height='18'/%3E%3Crect x='20.5' width='7' height='18'/%3E%3Crect x='44.5' width='7' height='18'/%3E%3Crect x='56.5' width='7' height='18'/%3E%3Crect x='68.5' width='7' height='18'/%3E%3C/g%3E%3C/svg%3E") repeat-x left top / auto 100%;
  border-bottom: 3px solid var(--rot);
}

/* Balg: Falten im AOR-Rot */
.balg {
  background-color: var(--rot);
  background-image:
    radial-gradient(ellipse 80% 90% at 20% 0%, rgba(255,255,255,.10), transparent 70%),
    repeating-linear-gradient(90deg, rgba(0,0,0,.13) 0 1px, transparent 1px 26px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.045) 0 13px, rgba(0,0,0,.055) 13px 26px);
  color: #fff;
}

/* Notenlinien vor Überschriften-Zeilen */
.kicker {
  display: flex; align-items: center; gap: .75rem;
  margin: 0 0 1rem;
  font: 700 .8rem/1.2 var(--sans);
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--rot);
}
.kicker::before {
  content: ""; flex: none; width: 44px; height: 17px;
  background: repeating-linear-gradient(to bottom, currentColor 0 1px, transparent 1px 4px);
  opacity: .55;
}
.balg .kicker { color: #fff; }

/* ---------- Kopfbereich ---------- */
.kopf { background: var(--weiss); border-bottom: 1px solid var(--linie); }
.kopf .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding-block: .7rem;
}
.marke { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--tinte); }
.marke:hover { color: var(--tinte); }
.marke img { width: 26px; height: 57px; }
.marke-name { font: 600 1.2rem/1.05 var(--serif); letter-spacing: -.005em; }
.marke-name small {
  display: block; margin-top: .3rem;
  font: 600 .7rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase;
  color: var(--grau);
}
.haupt ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .15rem; }
.haupt a {
  display: block; padding: .55rem .8rem;
  color: var(--tinte); text-decoration: none;
  font-weight: 600; font-size: 1rem; white-space: nowrap;
}
.haupt a:hover { color: var(--rot); }
.haupt a[aria-current="page"] { color: var(--rot); box-shadow: inset 0 -2px 0 var(--rot); }

@media (max-width: 54rem) {
  .kopf .wrap { flex-direction: column; align-items: stretch; gap: .4rem; padding-bottom: 0; }
  .haupt {
    margin-inline: calc(var(--rand) * -1);
    border-top: 1px solid var(--linie);
    overflow-x: auto; scrollbar-width: none;
  }
  .haupt::-webkit-scrollbar { display: none; }
  .haupt ul { min-width: max-content; justify-content: space-between; padding-inline: calc(var(--rand) - .45rem); }
  .haupt a { padding: .75rem .45rem; font-size: .95rem; }
}

/* ---------- Knöpfe ---------- */
.knopf {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .75rem 1.25rem; border-radius: 4px;
  background: var(--rot); color: #fff;
  font-weight: 700; text-decoration: none; line-height: 1.2;
  border: 2px solid var(--rot);
}
.knopf:hover { background: var(--rot-tief); border-color: var(--rot-tief); color: #fff; }
.knopf--hell { background: #fff; color: var(--rot); border-color: #fff; }
.knopf--hell:hover { background: var(--rot-zart); border-color: var(--rot-zart); color: var(--rot-tief); }
.knopf--rahmen { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.knopf--rahmen:hover { background: rgba(255,255,255,.12); border-color: #fff; color: #fff; }
.knopf--linie { background: transparent; color: var(--rot); }
.knopf--linie:hover { background: var(--rot-zart); color: var(--rot-tief); border-color: var(--rot-tief); }
.knoepfe { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------- Bühne (Startseite) ---------- */
.buehne .wrap {
  display: grid; grid-template-columns: .9fr 1.1fr;
  gap: clamp(2rem, 5vw, 4rem); align-items: center;
  padding-block: clamp(2.5rem, 6vw, 5rem);
}
.buehne h1 { color: #fff; margin-bottom: .35em; }
.buehne .lead { font-size: 1.2rem; line-height: 1.55; max-width: 34rem; color: rgba(255,255,255,.95); }
.buehne-foto { margin: 0; }
.buehne-foto img {
  width: 100%; background: #fff; padding: 8px;
  box-shadow: 0 24px 48px -20px rgba(0,0,0,.55);
}
.buehne-foto figcaption { margin-top: .6rem; font-size: .9rem; color: rgba(255,255,255,.85); }
.eintritt { font-size: .98rem; color: rgba(255,255,255,.92); margin: 1rem 0 1.5rem; }

@media (max-width: 54rem) {
  /* Mobil: Titel – Foto – Details */
  .buehne .wrap { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .buehne-text { display: contents; }
  .buehne .kicker { order: 1; }
  .buehne h1 { order: 2; }
  .buehne-foto { order: 3; margin: .25rem 0 1.75rem; }
  .buehne .lead { order: 4; }
  .buehne .termine { order: 5; }
  .buehne .eintritt { order: 6; }
  .buehne .knoepfe { order: 7; }
}

/* Termine als Eintrittskarten */
.termine { display: grid; gap: .75rem; margin: 1.5rem 0 0; padding: 0; list-style: none; max-width: 32rem; }
.termin {
  display: grid; grid-template-columns: 5.5rem 1fr;
  background: #fff; color: var(--tinte); border-radius: 4px; overflow: hidden;
  box-shadow: 0 10px 24px -16px rgba(0,0,0,.6);
}
.termin-datum {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: .7rem .5rem; background: var(--tinte); color: #fff; text-align: center;
  border-right: 2px dashed var(--papier);
}
.termin-datum .wt { font: 700 .72rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; opacity: .8; }
.termin-datum .tag { font: 600 2.1rem/1 var(--serif); margin: .2rem 0 .1rem; }
.termin-datum .mon { font: 700 .78rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; }
.termin-info { padding: .8rem 1rem; display: flex; flex-direction: column; justify-content: center; }
.termin-info strong { font: 600 1.15rem/1.2 var(--serif); }
.termin-info span { color: var(--grau); font-size: .98rem; }
.termin--abgesagt .termin-info strong { text-decoration: line-through; }

/* ---------- Abschnitte ---------- */
.abschnitt { padding-block: var(--abstand); }
.abschnitt--weiss { background: var(--weiss); border-block: 1px solid var(--linie); }
.abschnitt--zart { background: var(--rot-zart); }
.lead { font-size: 1.18rem; line-height: 1.6; }
.raster-2 { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.raster-2--gleich { grid-template-columns: 1fr 1fr; }
@media (max-width: 54rem) { .raster-2, .raster-2--gleich { grid-template-columns: 1fr; } }

/* Seitenkopf der Unterseiten */
.seitenkopf .wrap { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.seitenkopf h1 { color: #fff; font-size: clamp(2.3rem, 6vw, 3.8rem); margin-bottom: .3em; }
.seitenkopf p { max-width: 40rem; font-size: 1.15rem; color: rgba(255,255,255,.95); margin: 0; }

/* ---------- Vortragsfolge (Konzertprogramm) ---------- */
.programm { list-style: none; margin: 0 0 2rem; padding: 0; border-top: 2px solid var(--tinte); }
.programm li {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
  gap: .2rem 2rem; padding: .95rem 0; border-bottom: 1px solid var(--linie);
}
.programm .wer { grid-column: 1; grid-row: 1 / span 2; }
.programm .was { grid-column: 2; grid-row: 1; }
.programm .info { grid-column: 2; grid-row: 2; font-size: .95rem; line-height: 1.4; color: var(--grau); }
.programm .wer { color: var(--grau); font-size: .98rem; line-height: 1.4; }
.programm .wer b { display: block; color: var(--text); font-weight: 600; font-size: 1.02rem; }
.programm .was { font: 600 1.22rem/1.25 var(--serif); color: var(--tinte); }
.programm li.zwischen {
  display: block; text-align: center; padding: .6rem 0;
  font: 700 .78rem/1.4 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--rot);
  background: repeating-linear-gradient(to bottom, transparent 0 calc(50% - 6px), var(--linie) calc(50% - 6px) calc(50% - 5px), transparent calc(50% - 5px) calc(50% - 2px), var(--linie) calc(50% - 2px) calc(50% - 1px), transparent calc(50% - 1px) calc(50% + 2px), var(--linie) calc(50% + 2px) calc(50% + 3px), transparent calc(50% + 3px));
}
.programm li.zwischen span { background: var(--papier); padding: 0 .9rem; }
.abschnitt--weiss .programm li.zwischen span { background: var(--weiss); }
@media (max-width: 40rem) {
  .programm li { grid-template-columns: 1fr; }
  .programm .wer, .programm .was, .programm .info { grid-column: 1; grid-row: auto; }
  .programm .was { order: -1; }
}

/* Seitenleiste mit Plakat */
.plakat { margin: 0 0 1.25rem; }
.plakat a { display: block; background: #fff; padding: 8px; border: 1px solid var(--linie); }
.plakat img { width: 100%; }
.plakat figcaption { font-size: .9rem; color: var(--grau); margin-top: .5rem; }
.kasten {
  background: var(--weiss); border: 1px solid var(--linie); border-top: 3px solid var(--rot);
  padding: 1.25rem 1.35rem; margin-bottom: 1.25rem;
}
.kasten h3 { font-size: 1.1rem; margin-bottom: .6rem; }
.kasten p:last-child, .kasten ul:last-child, .kasten dl:last-child { margin-bottom: 0; }
.kasten dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: .35rem 1rem; }
.kasten dt { font-weight: 700; }
.kasten dd { margin: 0; }

/* ---------- Fakten ---------- */
.fakten {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  margin: 2rem 0; padding: 0; list-style: none;
  background: var(--linie); border: 1px solid var(--linie);
}
.fakten li { background: var(--weiss); padding: 1.1rem 1.2rem; }
.fakten b { display: block; font: 600 2rem/1.05 var(--serif); color: var(--rot); }
.fakten span { font-size: .95rem; color: var(--grau); }
@media (max-width: 34rem) { .fakten { grid-template-columns: 1fr; } }

.pfeil-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.pfeil-links a { font-weight: 700; text-decoration: none; }
.pfeil-links a::after { content: " →"; }
.pfeil-links a:hover { text-decoration: underline; }

/* ---------- Konzertarchiv ---------- */
.sprungleiste { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 2.5rem; padding: 0; list-style: none; }
.sprungleiste a {
  display: block; padding: .4rem .85rem; border: 1px solid var(--linie); border-radius: 999px;
  background: #fff; text-decoration: none; color: var(--tinte); font-weight: 600; font-size: .95rem;
}
.sprungleiste a:hover { border-color: var(--rot); color: var(--rot); }
.jahrzehnt { margin-bottom: 3rem; scroll-margin-top: 1rem; }
.jahrzehnt > h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  padding-bottom: .5rem; border-bottom: 2px solid var(--tinte); margin-bottom: 0;
}
details.jahr { border-bottom: 1px solid var(--linie); }
details.jahr > summary {
  display: grid; grid-template-columns: 4.8rem minmax(0, 1fr) auto; align-items: baseline;
  gap: 1rem; padding: 1rem 0; cursor: pointer; list-style: none;
}
details.jahr > summary::-webkit-details-marker { display: none; }
details.jahr > summary::after {
  content: "+"; font: 400 1.6rem/1 var(--sans); color: var(--rot); width: 1.5rem; text-align: center;
  transition: transform .2s ease;
}
details.jahr[open] > summary::after { transform: rotate(45deg); }
details.jahr > summary:hover .jahr-titel { color: var(--rot); }
.jahr-zahl { font: 600 1.7rem/1 var(--serif); color: var(--rot); font-variant-numeric: lining-nums tabular-nums; }
.jahr-titel { font: 600 1.18rem/1.3 var(--serif); color: var(--tinte); }
.jahr-titel small { display: block; margin-top: .2rem; font: 400 .92rem/1.4 var(--sans); color: var(--grau); }
.marke-klein {
  display: inline-block; vertical-align: middle; margin-left: .4rem; padding: .1rem .45rem;
  font: 700 .66rem/1.4 var(--sans); letter-spacing: .08em; text-transform: uppercase;
  border-radius: 3px; background: var(--rot); color: #fff;
}
.marke-klein--grau { background: var(--grau); }
.jahr-inhalt { padding: 0 0 1.75rem 5.8rem; max-width: 60rem; }
.jahr-inhalt h3 { font-size: 1.05rem; font-family: var(--sans); font-weight: 700; margin: 1.5rem 0 .6rem; }
.jahr-inhalt .termine-liste { list-style: none; padding: 0; margin: 0 0 1rem; }
.jahr-inhalt .termine-liste li { padding-left: 1.1rem; position: relative; }
.jahr-inhalt .termine-liste li::before { content: "♪"; position: absolute; left: 0; color: var(--rot); font-size: .9em; }
@media (max-width: 40rem) {
  details.jahr > summary { grid-template-columns: 3.6rem minmax(0, 1fr) auto; gap: .75rem; }
  .jahr-zahl { font-size: 1.35rem; }
  .jahr-inhalt { padding-left: 0; }
}

/* Bildergalerien */
.galerie {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(8.5rem, 1fr));
  gap: .75rem; margin: 0 0 1rem; padding: 0; list-style: none;
}
.galerie figure { margin: 0; }
.galerie a { display: block; background: #fff; padding: 5px; border: 1px solid var(--linie); }
.galerie a:hover { border-color: var(--rot); }
.galerie img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.galerie--dokumente img { aspect-ratio: 3 / 4; object-fit: contain; background: #fff; }
.galerie figcaption { font-size: .85rem; line-height: 1.35; color: var(--grau); margin-top: .35rem; }

/* Lightbox (einfaches <dialog>, siehe main.js) */
dialog.lightbox {
  padding: 0; border: 0; background: transparent; color: #fff;
  max-width: min(96vw, 70rem); max-height: 96vh; overflow: visible;
}
dialog.lightbox::backdrop { background: rgba(20, 16, 14, .9); }
.lightbox figure { margin: 0; display: flex; flex-direction: column; align-items: center; }
.lightbox img { max-width: 100%; max-height: 82vh; width: auto; background: #fff; }
.lightbox figcaption { margin-top: .6rem; text-align: center; font-size: .95rem; }
.lightbox-knopf {
  position: fixed; border: 0; border-radius: 50%; width: 2.75rem; height: 2.75rem;
  background: rgba(255,255,255,.14); color: #fff; font-size: 1.5rem; line-height: 1; cursor: pointer;
}
.lightbox-knopf:hover { background: rgba(255,255,255,.28); }
.lightbox-zu { top: 1rem; right: 1rem; }
.lightbox-zurueck { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox-vor { right: 1rem; top: 50%; transform: translateY(-50%); }

/* ---------- Über uns ---------- */
.aemter { display: grid; grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr)); gap: 1.25rem; }
.amt { background: var(--weiss); border: 1px solid var(--linie); padding: 1.1rem 1.25rem; }
.amt h3 { font-size: 1.12rem; margin-bottom: .6rem; color: var(--rot); }
.amt dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: .3rem .9rem; font-size: .98rem; }
.amt dt { color: var(--grau); font-variant-numeric: tabular-nums; white-space: nowrap; }
.amt dd { margin: 0; font-weight: 600; }

.portraits { display: grid; gap: 1.5rem; }
.portrait {
  display: grid; grid-template-columns: 9rem minmax(0, 1fr); grid-template-rows: auto 1fr;
  gap: 0 1.5rem; align-items: start;
  background: var(--weiss); border: 1px solid var(--linie); padding: 1.25rem;
}
.portrait > img { width: 100%; grid-row: 1 / span 2; filter: saturate(.9); }
.portrait-bilder { grid-row: 1 / span 2; display: grid; gap: .5rem; align-content: start; }
.portrait-bilder img { width: 100%; filter: saturate(.9); }
.portrait h3 { margin-bottom: .15rem; }
.portrait .rolle { color: var(--rot); font-weight: 700; font-size: .92rem; margin-bottom: .75rem; }
.portrait-text p:last-child { margin-bottom: 0; }
@media (max-width: 34rem) {
  .portrait { grid-template-columns: 5.5rem minmax(0, 1fr); gap: 0 1rem; }
  .portrait > img, .portrait-bilder { grid-row: 1; }
  .portrait-bilder { gap: .35rem; }
  .portrait-kopf { align-self: center; }
  .portrait-text { grid-column: 1 / -1; margin-top: 1rem; }
}

.stile { display: grid; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); gap: 1.25rem; }
.stil { border-top: 3px solid var(--rot); background: var(--weiss); padding: 1.1rem 1.25rem; border-inline: 1px solid var(--linie); border-bottom: 1px solid var(--linie); }
.stil h3 { font-size: 1.15rem; }
.stil p { font-size: 1rem; }
.stil p:last-child { margin-bottom: 0; }

/* ---------- Besetzung ---------- */
.register { display: grid; grid-template-columns: repeat(auto-fill, minmax(16.5rem, 1fr)); gap: 1.25rem; }
.stimme { background: var(--weiss); border: 1px solid var(--linie); padding: 1.1rem 1.25rem; }
.stimme h2 {
  font-size: 1.15rem; margin: 0 0 .75rem; padding-bottom: .5rem;
  border-bottom: 1px solid var(--linie); color: var(--rot);
}
.stimme ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.stimme li { line-height: 1.35; }
.stimme li b { display: block; font-weight: 650; color: var(--tinte); }
.stimme li span { font-size: .88rem; color: var(--grau); }

.besetzung-details summary {
  cursor: pointer; list-style: none;
}
.besetzung-details summary::-webkit-details-marker,
.besetzung-details summary::marker { display: none; content: ''; }
.besetzung-details summary b {
  text-decoration: underline dotted; text-decoration-color: var(--grau);
  text-underline-offset: .25em;
}
.besetzung-details[open] summary b { color: var(--rot); text-decoration-color: var(--rot); }
.besetzung-foto {
  display: block; width: 5.5rem; height: auto; margin-top: .6rem;
  border: 1px solid var(--linie); filter: saturate(.9);
}
.stand { color: var(--grau); font-size: .95rem; }

/* ---------- Kontakt ---------- */
.karten { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1.25rem; }
.karte { background: var(--weiss); border: 1px solid var(--linie); padding: 1.35rem 1.4rem; }
.karte h2, .karte h3 { font-size: 1.25rem; margin-bottom: .6rem; }
.karte p:last-child { margin-bottom: 0; }
.karte address { font-style: normal; }
.foto { margin: 0; }
.foto img { width: 100%; background: #fff; padding: 6px; border: 1px solid var(--linie); }
.foto figcaption { font-size: .88rem; color: var(--grau); margin-top: .4rem; }

/* ---------- Textseiten (Impressum, Datenschutz) ---------- */
.textseite h2 { font-size: 1.5rem; margin-top: 2.2rem; }
.textseite h3 { font-size: 1.15rem; margin-top: 1.5rem; }
.textseite address { font-style: normal; margin-bottom: 1em; }

/* ---------- Fußbereich ---------- */
.fuss { background: var(--tinte); color: #D9D0C6; font-size: .98rem; }
.fuss a { color: #fff; }
.fuss a:hover { color: #F3C9C4; }
.fuss-raster {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 2rem;
  padding-block: 3rem 2rem;
}
.fuss-marke { display: flex; gap: .9rem; align-items: flex-start; }
.fuss-marke img { width: 24px; height: 53px; flex: none; }
.fuss-name { font: 600 1.15rem/1.2 var(--serif); color: #fff; margin-bottom: .4rem; }
.fuss-titel { font: 700 .75rem/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: #fff; margin: .3rem 0 .7rem; }
.fuss ul { list-style: none; margin: 0; padding: 0; }
.fuss-unten { border-top: 1px solid rgba(255,255,255,.14); padding-block: 1.1rem 1.4rem; font-size: .9rem; color: #A69C92; }
.fuss-unten p { margin: 0; }
@media (max-width: 54rem) { .fuss-raster { grid-template-columns: 1fr 1fr; } .fuss-raster > :first-child { grid-column: 1 / -1; } }
@media (max-width: 30rem) { .fuss-raster { grid-template-columns: 1fr; } }

/* ---------- Druck ---------- */
@media print {
  .tasten, .haupt, .fuss, .knoepfe, .sprungleiste { display: none !important; }
  .balg { background: none !important; color: #000 !important; }
  .balg h1, .balg .kicker, .seitenkopf p, .buehne .lead, .eintritt { color: #000 !important; }
  details.jahr > .jahr-inhalt { display: block; }
  body { background: #fff; }
}

/* ---------- Zeitleiste (Über uns) ---------- */
.zeitleiste { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--rot); }
.zeitleiste li { position: relative; padding: 0 0 1.1rem 1.4rem; }
.zeitleiste li::before {
  content: ""; position: absolute; left: -7px; top: .45rem;
  width: 12px; height: 12px; border-radius: 50%; background: var(--papier); border: 2px solid var(--rot);
}
.zeitleiste b { display: block; font: 600 1.25rem/1.2 var(--serif); color: var(--rot); }
.zeitleiste span { color: var(--text); }
@media (max-width: 40rem) {
  .lightbox-zurueck, .lightbox-vor { top: auto; bottom: 1rem; transform: none; }
}
