/* =====================================================================
   FSG ERING · gemeinsames Design für alle Seiten
   Stil der bisherigen Seite: dunkles Blau, Gold, Cinzel, goldene Tafeln.
   Neu dazu: die animierte Scheibe im Kopf und ruhige Bewegung.
   Alles hängt an body.fsg-neu, alte Seiten bleiben unberührt.

   INHALT
   1 Schriften und Farben   2 Grundlagen       3 Menü        4 Knöpfe
   5 Kopf mit Scheibe       6 Tafeln, Mitteilung, Termine   7 Anlage (Bilder)
   8 Öffnungszeiten         9 Anfahrt         10 Fußzeile
   11 Fenster (Plakat, Bild) 12 Bewegung      13 Schmale Bildschirme
   ===================================================================== */

/* ---------- 1 Schriften und Farben ---------- */
@font-face { font-family: "Cinzel"; src: url("../fonts/Cinzel.woff2") format("woff2"); font-weight: 400 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url("../fonts/SourceSerif4.woff2") format("woff2"); font-weight: 200 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url("../fonts/SourceSerif4-Italic.woff2") format("woff2"); font-weight: 200 900; font-style: italic; font-display: swap; }

body.fsg-neu {
  --dunkel: #111827;
  --nacht: #0a183e;
  --marine: #0e2154;
  --blau: #1a3a6e;
  --koenigsblau: #1a4fa0;
  --gold: #c8973a;
  --gold-hell: #e8b85a;
  --hell: #f0f4ff;
  --leise: #9aafd4;
  --rot: #c8362b;
  --linie: rgba(200, 151, 58, 0.3);
  --linie-zart: rgba(200, 151, 58, 0.16);

  --titel: "Cinzel", "Times New Roman", Times, serif;
  --text: "Source Serif 4", Georgia, "Times New Roman", serif;

  --aus: cubic-bezier(0.16, 1, 0.3, 1);
  --rand: clamp(1.25rem, 4vw, 3rem);
  --innen: max(var(--rand), calc(50vw - 550px));
  --abstand: clamp(4rem, 8vw, 6.5rem);
  --nav-h: 72px;

  margin: 0;
  background: var(--dunkel);
  color: var(--hell);
  font-family: var(--text);
  font-size: 1.0625rem;
  line-height: 1.75;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  scrollbar-color: var(--gold) var(--nacht);
}
html:has(body.fsg-neu) { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 1rem); background: #111827; }
body.fsg-neu ::selection { background: var(--gold); color: var(--nacht); }
body.fsg-neu ::-webkit-scrollbar { width: 12px; }
body.fsg-neu ::-webkit-scrollbar-track { background: var(--nacht); }
body.fsg-neu ::-webkit-scrollbar-thumb { background: var(--gold); border: 3px solid var(--nacht); border-radius: 99px; }

/* ---------- 2 Grundlagen ---------- */
.fsg-neu .fsg-seite, .fsg-neu .fsg-nav, .fsg-neu .fsg-fuss, .fsg-neu .fsg-fenster,
.fsg-neu .fsg-seite *, .fsg-neu .fsg-nav *, .fsg-neu .fsg-fuss *, .fsg-neu .fsg-fenster *,
.fsg-neu .fsg-seite *::before, .fsg-neu .fsg-seite *::after, .fsg-neu .fsg-fenster *::after { box-sizing: border-box; }

.fsg-neu .fsg-seite {
  display: block; width: 100vw; max-width: 100vw; margin: 0 calc(50% - 50vw); padding: 0;
  color: var(--hell); font-family: var(--text);
}
.fsg-neu .fsg-seite > section { position: relative; padding: var(--abstand) var(--innen); }
.fsg-neu .fsg-seite :is(h1, h2, h3, p, ol, ul, figure, address) { margin: 0; padding: 0; }
.fsg-neu .fsg-seite :is(h1, h2) { font-family: var(--titel); font-weight: 900; color: var(--hell); line-height: 1.2; letter-spacing: 0.01em; text-wrap: balance; }
.fsg-neu .fsg-seite section > h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 1rem; }
.fsg-neu .fsg-seite h3 { font-family: var(--titel); font-size: 0.9rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); line-height: 1.4; }
.fsg-neu .fsg-seite p { max-width: 62ch; font-weight: 300; color: rgba(255, 255, 255, 0.88); text-wrap: pretty; }
.fsg-neu .fsg-seite strong { font-weight: 600; color: var(--gold-hell); }
.fsg-neu .fsg-seite a { color: var(--gold); text-underline-offset: 0.2em; }
.fsg-neu .fsg-seite a:hover { color: var(--gold-hell); }
.fsg-neu .fsg-seite img { display: block; max-width: 100%; height: auto; }
.fsg-neu .fsg-seite address { font-style: normal; }
.fsg-neu :is(.fsg-seite, .fsg-nav, .fsg-fuss, .fsg-fenster) :is(a, button):focus-visible { outline: 2px solid var(--gold-hell); outline-offset: 3px; }

/* Kleine goldene Zeile über Abschnittstiteln, wie bisher. */
.fsg-neu .fsg-seite .fsg-label { font-family: var(--titel); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.25em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.75rem; }

/* Schmuckzeile: Wort zwischen zwei auslaufenden Goldlinien. */
.fsg-neu .fsg-seite .fsg-orn { display: flex; align-items: center; justify-content: center; gap: 1rem; max-width: none; margin: 0 0 2.2rem; font-size: 1rem; }
.fsg-neu .fsg-orn::before, .fsg-neu .fsg-orn::after { content: ""; height: 1px; flex: 0 1 130px; background: linear-gradient(90deg, transparent, rgba(200, 151, 58, 0.6)); }
.fsg-neu .fsg-orn::after { transform: scaleX(-1); }
.fsg-neu .fsg-orn span { font-family: var(--titel); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold); white-space: nowrap; }

.fsg-neu .fsg-sprung { position: fixed; left: 1rem; top: -5rem; z-index: 300; padding: 0.7rem 1.1rem; background: var(--gold); color: var(--nacht); font-family: var(--titel); font-weight: 700; text-decoration: none; transition: top 0.2s var(--aus); }
.fsg-neu .fsg-sprung:focus { top: 1rem; }

/* ---------- 3 Menü ---------- */
.fsg-neu .fsg-nav {
  position: fixed; inset: 0 0 auto 0; z-index: 200; height: var(--nav-h);
  display: flex; align-items: center; gap: 0.9rem; padding: 0 var(--rand);
  font-family: var(--titel); color: #fff; transition: height 0.35s var(--aus);
  view-transition-name: fsg-nav;
}
/* Der Hintergrund liegt auf einer eigenen Ebene, damit das Handy-Menü
   (position: fixed) nicht im Menübalken eingesperrt wird. */
.fsg-neu .fsg-nav::before {
  content: ""; position: absolute; inset: 0; z-index: -1; transition: background 0.3s;
  background: rgba(14, 33, 84, 0.92); border-bottom: 1px solid var(--linie);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
}
.fsg-neu .fsg-nav.ist-gerollt::before, .fsg-neu .fsg-nav.ist-offen::before { background: rgba(14, 33, 84, 0.99); }
.fsg-neu .fsg-nav.ist-gerollt { --nav-h: 62px; }
.fsg-neu .fsg-nav-wappen { flex: none; display: block; border-radius: 50%; transition: transform 0.4s var(--aus); }
.fsg-neu .fsg-nav-wappen:hover { transform: rotate(-6deg) scale(1.06); }
.fsg-neu .fsg-nav-wappen img { display: block; width: 52px; height: 52px; transition: width 0.35s var(--aus), height 0.35s var(--aus); }
.fsg-neu .fsg-nav.ist-gerollt .fsg-nav-wappen img { width: 44px; height: 44px; }
.fsg-neu .fsg-nav-name { margin-right: auto; font-size: 0.95rem; font-weight: 600; letter-spacing: 0.06em; line-height: 1.25; color: var(--gold); text-decoration: none; }
.fsg-neu .fsg-nav-name span { display: block; font-size: 0.7rem; font-weight: 400; letter-spacing: 0.14em; color: var(--leise); }
.fsg-neu .fsg-menue ul { list-style: none; margin: 0; padding: 0; }
.fsg-neu .fsg-menue > ul { display: flex; align-items: center; }
.fsg-neu .fsg-menue li { position: relative; margin: 0; }
.fsg-neu .fsg-menue :is(a, button) {
  display: block; padding: 0.8rem 1.1rem; border: 0; background: none; cursor: pointer;
  font: 600 0.8rem/1.2 var(--titel); letter-spacing: 0.12em; text-transform: uppercase; color: #fff; text-decoration: none;
  transition: color 0.2s, background 0.2s;
}
.fsg-neu .fsg-menue :is(a, button):hover, .fsg-neu .fsg-menue a[aria-current] { color: var(--gold-hell); }
.fsg-neu .fsg-hat-unter > button::after {
  content: ""; display: inline-block; width: 0.4em; height: 0.4em; margin: 0 0 0.25em 0.6em;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg); transition: transform 0.3s var(--aus);
}
.fsg-neu .fsg-hat-unter > button[aria-expanded="true"]::after { transform: translateY(0.25em) rotate(225deg); }
.fsg-neu .fsg-hat-unter > ul {
  position: absolute; top: 100%; right: 0; min-width: 13.5rem; padding: 0.4rem 0;
  background: rgba(14, 33, 84, 0.99); border: 1px solid var(--linie); border-top: 2px solid var(--gold);
  box-shadow: 0 18px 40px -12px rgba(0, 0, 0, 0.6);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity 0.2s, transform 0.3s var(--aus), visibility 0.2s;
}
.fsg-neu .fsg-hat-unter > button[aria-expanded="true"] + ul,
.fsg-neu .fsg-hat-unter:focus-within > ul { opacity: 1; visibility: visible; transform: none; }
@media (hover: hover) and (min-width: 901px) {
  .fsg-neu .fsg-hat-unter:hover > ul { opacity: 1; visibility: visible; transform: none; }
}
.fsg-neu .fsg-hat-unter > ul a:hover { background: rgba(200, 151, 58, 0.1); }
.fsg-neu .fsg-nav-knopf { display: none; }

/* ---------- 4 Knöpfe ---------- */
.fsg-neu .fsg-seite .fsg-knoepfe { display: flex; flex-wrap: wrap; gap: 0.8rem; max-width: none; }
.fsg-neu .fsg-seite a.fsg-knopf, .fsg-neu .fsg-fenster :is(a, button).fsg-knopf {
  display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; padding: 0.8rem 1.8rem;
  border: 1px solid var(--gold); border-radius: 0; cursor: pointer; background: var(--gold); color: var(--nacht);
  font: 700 0.82rem/1.2 var(--titel); letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none;
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.25s var(--aus);
}
.fsg-neu .fsg-seite a.fsg-knopf:hover, .fsg-neu .fsg-fenster .fsg-knopf:hover { background: var(--gold-hell); border-color: var(--gold-hell); color: var(--nacht); transform: translateY(-2px); }
.fsg-neu .fsg-seite a.fsg-knopf:active, .fsg-neu .fsg-fenster .fsg-knopf:active { transform: none; }
.fsg-neu .fsg-seite a.fsg-knopf-leise, .fsg-neu .fsg-fenster .fsg-knopf-leise { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.5); }
.fsg-neu .fsg-seite a.fsg-knopf-leise:hover, .fsg-neu .fsg-fenster .fsg-knopf-leise:hover { background: rgba(200, 151, 58, 0.1); color: var(--gold-hell); border-color: var(--gold); }
.fsg-neu .fsg-seite a.fsg-textlink {
  font-family: var(--titel); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold); text-decoration: none; border-bottom: 1px solid rgba(200, 151, 58, 0.4); padding-bottom: 3px;
  transition: color 0.2s, border-color 0.2s;
}
.fsg-neu .fsg-seite a.fsg-textlink:hover { color: var(--gold-hell); border-color: var(--gold-hell); }

/* ---------- 5 Kopf mit Scheibe ---------- */
.fsg-neu .fsg-seite > .fsg-kopf {
  min-height: min(100vh, 860px); min-height: min(100svh, 860px);
  padding-top: calc(var(--nav-h) + 3rem); padding-bottom: 4rem;
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); align-items: center; gap: clamp(2rem, 5vw, 5rem);
  background: linear-gradient(180deg, #0c1c4a 0%, var(--blau) 62%, #14295c 100%);
  border-bottom: 1px solid var(--linie-zart);
  overflow: hidden; overflow: clip;
}
.fsg-neu .fsg-kopf-text { position: relative; z-index: 2; display: grid; justify-items: start; }
.fsg-neu .fsg-seite .fsg-marke {
  display: inline-block; margin-bottom: 1.8rem; padding: 0.45rem 1.2rem; border: 1px solid rgba(200, 151, 58, 0.4);
  font-family: var(--titel); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.25em; text-transform: uppercase; color: var(--gold);
}
.fsg-neu .fsg-seite .fsg-kopf h1 { font-size: clamp(1.6rem, 3.1vw, 3.1rem); line-height: 1.25; hyphens: manual; }
.fsg-neu .fsg-kopf h1 em { display: block; font-style: normal; color: var(--gold); }
.fsg-neu .fsg-seite .fsg-kopf-unter { margin-top: 1.2rem; font-size: clamp(1.02rem, 1.5vw, 1.2rem); font-style: italic; letter-spacing: 0.04em; color: #fff; }
.fsg-neu .fsg-kopf-unter::after { content: ""; display: block; width: 80px; height: 2px; margin-top: 1.4rem; background: linear-gradient(90deg, var(--gold), transparent); }
.fsg-neu .fsg-seite .fsg-naechster {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.2rem 1rem; margin-top: 1.8rem;
  font-family: var(--titel); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold);
}
.fsg-neu .fsg-seite .fsg-naechster[hidden] { display: none; }
.fsg-neu .fsg-seite .fsg-naechster a { font-size: 1.1rem; letter-spacing: 0.04em; text-transform: none; color: #fff; text-decoration: none; border-bottom: 1px solid rgba(200, 151, 58, 0.4); }
.fsg-neu .fsg-seite .fsg-naechster a:hover { color: var(--gold-hell); border-color: var(--gold-hell); }
.fsg-neu .fsg-kopf .fsg-knoepfe { margin-top: 2rem; }

.fsg-neu .fsg-scheibe {
  position: relative; justify-self: center; width: min(100%, 78vh, 640px); aspect-ratio: 1;
  transform: translate3d(0, calc(var(--fsg-roll, 0) * -6vh), 0);
}
.fsg-neu .fsg-scheibe > svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.fsg-neu .fsg-scheibe > img { position: absolute; inset: 22%; width: 56%; height: 56%; object-fit: contain; z-index: 1; }
.fsg-neu .fsg-scheibe .fsg-ring { fill: none; stroke: var(--gold); }
.fsg-neu .fsg-scheibe .fsg-ring-fern { fill: none; stroke: var(--gold); opacity: 0.14; }
.fsg-neu .fsg-scheibe .fsg-band { fill: var(--nacht); }
.fsg-neu .fsg-scheibe .fsg-flaeche { fill: #f4eedd; }
.fsg-neu .fsg-scheibe text { font-family: var(--titel); font-size: 37px; font-weight: 600; fill: var(--gold-hell); }
.fsg-neu .fsg-scheibe .fsg-schrift, .fsg-neu .fsg-scheibe .fsg-striche { transform-box: view-box; transform-origin: center; }
.fsg-neu .fsg-scheibe .fsg-schrift { transform: rotate(calc(var(--fsg-roll, 0) * 70deg)); }
.fsg-neu .fsg-scheibe .fsg-striche { transform: rotate(calc(var(--fsg-roll, 0) * -40deg)); }
.fsg-neu .fsg-scheibe .fsg-striche line { stroke: var(--gold); stroke-width: 2; opacity: 0.7; }

/* Kopf der Unterseiten: Marke, Titel, optional ein Satz, Goldlinie. */
.fsg-neu .fsg-seite > .fsg-seitenkopf {
  min-height: 32vh; display: grid; align-content: center; justify-items: center; text-align: center;
  padding: calc(var(--nav-h) + 3.5rem) var(--rand) 2rem;
  background: radial-gradient(ellipse 70% 50% at 50% 40%, rgba(26, 79, 160, 0.35) 0%, rgba(26, 79, 160, 0) 70%), linear-gradient(160deg, #0d1520 0%, #162040 50%, #0d1520 100%);
}
.fsg-neu .fsg-seite .fsg-seitenkopf .fsg-marke { margin-bottom: 1.6rem; }
.fsg-neu .fsg-seite .fsg-seitenkopf h1 { font-size: clamp(1.8rem, 3.8vw, 2.8rem); }
.fsg-neu .fsg-seite .fsg-seitenkopf p:not(.fsg-marke) { margin-top: 1rem; max-width: 560px; color: rgba(255, 255, 255, 0.85); }
.fsg-neu .fsg-seitenkopf::after { content: ""; width: 80px; height: 2px; margin-top: 1.3rem; background: linear-gradient(90deg, transparent, var(--gold), transparent); }

/* Inhalt der Unterseiten: die Bausteine stehen in css/seiten.css. */
.fsg-neu .fsg-seite > .fsg-alt { padding: 0; }
.fsg-neu .fsg-seite .fsg-alt p { max-width: none; font-weight: inherit; color: inherit; }
.fsg-neu .fsg-seite .fsg-alt strong { color: inherit; }
.fsg-neu .fsg-seite .fsg-alt :is(h2, h3, h4) { font-family: inherit; font-weight: bold; letter-spacing: normal; text-transform: none; color: inherit; line-height: inherit; text-wrap: wrap; }
.fsg-neu .fsg-seite .fsg-alt h2 { font-size: 1.5em; }
.fsg-neu .fsg-seite .fsg-alt h3 { font-size: 1.17em; }
.fsg-neu .fsg-seite .fsg-alt h4 { font-size: 1em; }
.fsg-neu .fsg-seite img[data-fsg-zoom] { cursor: zoom-in; }

/* ---------- 6 Tafeln, Mitteilung, Termine ---------- */
.fsg-neu .fsg-seite > .fsg-aktuell {
  padding-inline: max(var(--rand), calc(50vw - 490px));
  background: linear-gradient(180deg, rgba(14, 33, 84, 0.98) 0%, rgba(10, 24, 62, 0.98) 100%);
  border-bottom: 1px solid var(--linie-zart);
}
.fsg-neu .fsg-tafel { position: relative; border: 1px solid var(--linie); background: rgba(255, 255, 255, 0.03); padding: clamp(1.6rem, 4vw, 2.6rem) clamp(1.2rem, 4vw, 2.8rem); }
.fsg-neu .fsg-tafel-ecken::before, .fsg-neu .fsg-tafel-ecken::after { content: ""; position: absolute; width: 22px; height: 22px; border: 0 solid var(--gold); }
.fsg-neu .fsg-tafel-ecken::before { top: -1px; left: -1px; border-width: 2px 0 0 2px; }
.fsg-neu .fsg-tafel-ecken::after { bottom: -1px; right: -1px; border-width: 0 2px 2px 0; }

.fsg-neu .fsg-mitteilung { margin-bottom: 2.4rem; }
.fsg-neu .fsg-mitteilung .fsg-tafel { border-color: rgba(200, 151, 58, 0.42); background: linear-gradient(180deg, rgba(26, 79, 160, 0.26), rgba(255, 255, 255, 0.03) 70%); text-align: center; display: grid; justify-items: center; }
.fsg-neu .fsg-seite .fsg-mitteilung-datum { font-family: var(--titel); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; }
.fsg-neu .fsg-seite .fsg-mitteilung h2 { font-size: clamp(1.4rem, 3vw, 2rem); line-height: 1.3; }
.fsg-neu .fsg-seite .fsg-mitteilung .fsg-tafel > p:not([class]) { margin-top: 1.1rem; max-width: 36rem; }
.fsg-neu .fsg-beisatz { margin-top: 1.8rem; max-width: 36rem; border: 1px solid rgba(200, 151, 58, 0.55); background: rgba(200, 151, 58, 0.08); padding: 1.3rem 1.4rem; }
.fsg-neu .fsg-seite .fsg-beisatz h3 { margin-bottom: 0.5rem; }
.fsg-neu .fsg-seite .fsg-beisatz p { color: #fff; font-weight: 400; }
.fsg-neu .fsg-mitteilung .fsg-knoepfe { margin-top: 1.6rem; justify-content: center; }
.fsg-neu .fsg-mitteilung.ist-sperrung .fsg-tafel { border-color: var(--rot); }
.fsg-neu .fsg-mitteilung.ist-sperrung .fsg-tafel-ecken::before, .fsg-neu .fsg-mitteilung.ist-sperrung .fsg-tafel-ecken::after { border-color: var(--rot); }
.fsg-neu .fsg-seite .fsg-mitteilung.ist-sperrung :is(.fsg-mitteilung-datum, .fsg-orn span) { color: #ff9c8f; }

.fsg-neu .fsg-termine { list-style: none; }
.fsg-neu .fsg-termine li {
  display: grid; grid-template-columns: 13.5rem minmax(0, 1fr); column-gap: 1.8rem; align-items: baseline;
  padding: 1rem 0.6rem; border-bottom: 1px solid var(--linie-zart); position: relative; transition: background 0.25s;
}
.fsg-neu .fsg-termine li:last-child { border-bottom: 0; }
.fsg-neu .fsg-termine li:hover { background: rgba(200, 151, 58, 0.05); }
.fsg-neu .fsg-termine li[hidden] { display: none; }
.fsg-neu .fsg-wann { grid-row: span 2; font-family: var(--titel); font-size: 1rem; font-weight: 600; color: #fff; line-height: 1.45; font-variant-numeric: lining-nums tabular-nums; }
.fsg-neu .fsg-wann b { font-weight: 600; color: var(--gold); }
.fsg-neu .fsg-wann i { font-family: var(--text); font-weight: 400; color: rgba(255, 255, 255, 0.55); }
.fsg-neu .fsg-termine strong { font-family: var(--titel); font-size: 1.08rem; font-weight: 600; line-height: 1.35; color: #fff; }
.fsg-neu .fsg-termine li > span { font-size: 0.95rem; font-style: italic; color: rgba(255, 255, 255, 0.68); }
/* Der nächste Termin trägt einen kleinen Ring, die Scheibe im Kleinen. */
.fsg-neu .fsg-termine li.ist-naechster { background: rgba(200, 151, 58, 0.07); }
.fsg-neu .fsg-termine li.ist-naechster::before {
  content: ""; position: absolute; left: -0.95rem; top: 1.45rem; width: 0.7rem; height: 0.7rem; border-radius: 50%;
  border: 1.5px solid var(--gold); box-shadow: inset 0 0 0 2px var(--nacht), inset 0 0 0 0.35rem var(--gold);
}
html:not(.fsg-js) .fsg-termine li::before { content: attr(data-von); grid-row: span 2; font-weight: 600; }
.fsg-neu .fsg-seite .fsg-tafel-fuss { margin: 1.8rem auto 0; text-align: center; }

/* ---------- 7 Anlage (Bilder) ---------- */
.fsg-neu .fsg-bilder { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; margin-top: 2.5rem; }
.fsg-neu .fsg-bild { position: relative; }
.fsg-neu .fsg-bild button { display: block; width: 100%; padding: 0; border: 1px solid var(--linie); background: none; cursor: zoom-in; overflow: hidden; border-radius: 2px; }
.fsg-neu .fsg-bild img { width: 100%; height: clamp(260px, 30vw, 400px); object-fit: cover; transition: transform 0.6s var(--aus); }
.fsg-neu .fsg-bild button:hover img { transform: scale(1.04); }
.fsg-neu .fsg-bild figcaption {
  position: absolute; inset: auto 1px 1px 1px; padding: 2.4rem 1.5rem 1.1rem; pointer-events: none;
  background: linear-gradient(0deg, rgba(10, 20, 50, 0.94) 0%, rgba(10, 20, 50, 0) 100%);
  font-size: 0.92rem; color: rgba(255, 255, 255, 0.88);
}
.fsg-neu .fsg-bild figcaption strong { display: block; font-family: var(--titel); font-size: 1.05rem; font-weight: 600; color: var(--gold); }

/* ---------- 8 Öffnungszeiten ---------- */
.fsg-neu .fsg-seite > .fsg-besuch { background: rgba(255, 255, 255, 0.03); border-block: 1px solid rgba(200, 151, 58, 0.2); }
.fsg-neu .fsg-zeitkarten { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; margin-top: 2.5rem; }
.fsg-neu .fsg-zeitkarte { position: relative; border: 1px solid rgba(200, 151, 58, 0.5); background: rgba(255, 255, 255, 0.08); padding: 2rem 1.8rem; transition: border-color 0.3s, transform 0.4s var(--aus); }
.fsg-neu .fsg-zeitkarte::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.fsg-neu .fsg-zeitkarte:hover { border-color: var(--gold); transform: translateY(-4px); }
.fsg-neu .fsg-seite .fsg-zeitkarte h3 { font-size: 1.1rem; letter-spacing: 0.04em; text-transform: none; margin-bottom: 0.4rem; }
.fsg-neu .fsg-seite .fsg-zeitkarte .fsg-zeit { font-size: 1.7rem; font-weight: 400; line-height: 1.3; letter-spacing: 0.03em; color: #fff; font-variant-numeric: lining-nums; }
.fsg-neu .fsg-seite .fsg-zeitkarte p:last-child { margin-top: 0.75rem; font-size: 0.95rem; font-style: italic; }
.fsg-neu .fsg-seite .fsg-telefonkasten {
  display: inline-grid; gap: 0.1rem; margin-top: 2.5rem; padding: 1rem 1.8rem; max-width: none;
  border: 1px solid var(--linie); background: rgba(200, 151, 58, 0.05);
}
.fsg-neu .fsg-telefonkasten span { font-family: var(--titel); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); }
.fsg-neu .fsg-seite .fsg-telefonkasten a { font-size: 1.35rem; font-weight: 400; color: #fff; text-decoration: none; font-variant-numeric: lining-nums; }
.fsg-neu .fsg-seite .fsg-telefonkasten a:hover { color: var(--gold-hell); }
.fsg-neu .fsg-besuch .fsg-knoepfe { margin-top: 1.5rem; }

/* ---------- 9 Anfahrt ---------- */
.fsg-neu .fsg-seite > .fsg-anfahrt { text-align: center; background: linear-gradient(180deg, rgba(26, 79, 160, 0), rgba(26, 79, 160, 0.25)); }
.fsg-neu .fsg-seite .fsg-anfahrt p { margin-inline: auto; }
.fsg-neu .fsg-anfahrt address { display: inline-block; margin-top: 1.5rem; padding: 2.5rem clamp(1.5rem, 6vw, 3.5rem); background: rgba(200, 151, 58, 0.04); font-size: 1.12rem; line-height: 1.8; color: #fff; }

/* ---------- 10 Fußzeile ---------- */
.fsg-neu .fsg-fuss { background: var(--marine); border-top: 1px solid var(--linie); color: var(--leise); font-family: var(--text); font-size: 0.95rem; text-align: center; }
.fsg-neu .fsg-fuss-innen { display: grid; justify-items: center; gap: 0.5rem; padding: 2.6rem var(--rand) 2.2rem; }
.fsg-neu .fsg-fuss-wappen img { display: block; width: 64px; height: 64px; }
.fsg-neu .fsg-fuss p { margin: 0; }
.fsg-neu .fsg-fuss-name { font-family: var(--titel); font-size: 1.05rem; font-weight: 600; letter-spacing: 0.06em; color: var(--gold); margin-top: 0.4rem; }
.fsg-neu .fsg-fuss-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.2rem 2rem; margin-top: 0.8rem; }
.fsg-neu .fsg-fuss-links a { padding: 0.5rem 0.2rem; font-family: var(--titel); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: #fff; text-decoration: none; transition: color 0.2s; }
.fsg-neu .fsg-fuss-links a:hover { color: var(--gold-hell); }
.fsg-neu .fsg-fuss-recht { margin-top: 0.6rem; font-size: 0.85rem; }

/* ---------- 11 Fenster (Plakat, Bild groß) ---------- */
.fsg-neu dialog.fsg-fenster {
  max-width: min(94vw, 62rem); max-height: 94vh; max-height: 94dvh; padding: 0; border: 1px solid var(--gold); border-radius: 0;
  background: var(--nacht); color: #fff; font-family: var(--text); overflow: hidden; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.7);
}
.fsg-neu dialog.fsg-fenster[open] { display: flex; flex-direction: column; animation: fsg-fenster-auf 0.45s var(--aus); }
.fsg-neu dialog.fsg-fenster::backdrop { background: rgba(5, 10, 28, 0.84); animation: fsg-ein 0.3s; }
.fsg-neu .fsg-fenster img { display: block; min-height: 0; max-width: 100%; max-height: calc(94dvh - 5rem); width: auto; height: auto; object-fit: contain; margin: 0 auto; }
.fsg-neu .fsg-fenster-plakat { max-width: min(94vw, 34rem); }
.fsg-neu .fsg-fenster-plakat > a { display: block; min-height: 0; overflow: auto; }
.fsg-neu .fsg-fenster-fuss { flex: none; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.6rem; padding: 0.8rem; border-top: 1px solid var(--linie); }
.fsg-neu .fsg-fenster .fsg-fenster-fuss .fsg-knopf { min-height: 2.75rem; padding: 0.5rem 1.1rem; font-size: 0.76rem; }
@keyframes fsg-fenster-auf { from { opacity: 0; clip-path: circle(0% at 50% 50%); } to { opacity: 1; clip-path: circle(75% at 50% 50%); } }
@keyframes fsg-ein { from { opacity: 0; } }

/* ---------- 12 Bewegung ----------
   Ohne Skript ist alles sichtbar. Erst .fsg-js versteckt den Anfangszustand,
   .ist-da löst die Bewegung aus. */
@view-transition { navigation: auto; }

.fsg-js .fsg-neu .fsg-zeig { opacity: 0; transform: translateY(1.5rem); }
.fsg-js .fsg-neu .fsg-zeig.ist-da { opacity: 1; transform: none; transition: opacity 0.7s var(--aus) var(--warte, 0s), transform 0.9s var(--aus) var(--warte, 0s), border-color 0.3s; }

/* Kopf der Unterseiten: Zeilen kommen nacheinander, die Goldlinie wächst. */
.fsg-js .fsg-neu .fsg-seitenkopf > * { animation: fsg-hoch 0.9s var(--aus) both; }
.fsg-js .fsg-neu .fsg-seitenkopf > :nth-child(2) { animation-delay: 0.12s; }
.fsg-js .fsg-neu .fsg-seitenkopf > :nth-child(3) { animation-delay: 0.24s; }
.fsg-js .fsg-neu .fsg-seitenkopf::after { animation: fsg-linie 1.1s var(--aus) 0.35s both; }
@keyframes fsg-hoch { from { opacity: 0; transform: translateY(1.2rem); } }
@keyframes fsg-linie { from { width: 0; opacity: 0; } }

/* Schmuckzeile: die Goldlinien wachsen aus der Mitte. */
.fsg-js .fsg-neu .fsg-zeig .fsg-orn::before, .fsg-js .fsg-neu .fsg-zeig .fsg-orn::after { flex-basis: 0; }
.fsg-js .fsg-neu .fsg-zeig.ist-da .fsg-orn::before, .fsg-js .fsg-neu .fsg-zeig.ist-da .fsg-orn::after { flex-basis: 130px; transition: flex-basis 1.1s var(--aus) 0.25s; }

/* Blende: Bilder öffnen sich wie der Blick durchs Diopter. */
.fsg-js .fsg-neu .fsg-blende { clip-path: circle(0% at 50% 50%); }
.fsg-js .fsg-neu .fsg-blende.ist-da { clip-path: circle(75% at 50% 50%); transition: clip-path 1.3s var(--aus); }

/* Terminzeilen kommen nacheinander. */
.fsg-js .fsg-neu .fsg-termine li { opacity: 0; transform: translateX(-0.8rem); }
.fsg-js .fsg-neu .fsg-termine li.ist-da { opacity: 1; transform: none; transition: opacity 0.6s var(--aus) var(--warte, 0s), transform 0.8s var(--aus) var(--warte, 0s), background 0.25s; }

/* Die Scheibe im Kopf: Ringe zeichnen sich von außen nach innen, die Mitte öffnet sich. */
.fsg-js .fsg-neu .fsg-scheibe :is(.fsg-ring, .fsg-ring-fern) { stroke-dasharray: 1; stroke-dashoffset: 1; }
.fsg-js .fsg-neu .fsg-scheibe :is(.fsg-band, .fsg-flaeche) { clip-path: circle(0% at 50% 50%); transform-box: view-box; }
.fsg-js .fsg-neu .fsg-scheibe > img { opacity: 0; transform: scale(0.86); filter: blur(8px); }
.fsg-js .fsg-neu .fsg-scheibe :is(text, .fsg-striche line) { opacity: 0; }
.fsg-js .fsg-neu .fsg-scheibe.ist-da :is(.fsg-ring, .fsg-ring-fern) { stroke-dashoffset: 0; transition: stroke-dashoffset 1.5s var(--aus) var(--warte, 0s); }
.fsg-js .fsg-neu .fsg-scheibe.ist-da :is(.fsg-band, .fsg-flaeche) { clip-path: circle(75% at 50% 50%); transition: clip-path 1.4s var(--aus) var(--warte, 0.3s); }
.fsg-js .fsg-neu .fsg-scheibe.ist-da > img { opacity: 1; transform: none; filter: none; transition: opacity 0.8s 0.75s, transform 1.2s var(--aus) 0.75s, filter 0.9s 0.75s; }
.fsg-js .fsg-neu .fsg-scheibe.ist-da text { opacity: 1; transition: opacity 1.2s 0.9s; }
.fsg-js .fsg-neu .fsg-scheibe.ist-da .fsg-striche line { opacity: 0.7; transition: opacity 0.8s 1.1s; }
.fsg-neu .fsg-scheibe .fsg-schrift-lauf { transform-box: view-box; transform-origin: center; animation: fsg-drehen 180s linear infinite; }
.fsg-neu .fsg-scheibe.ist-weg .fsg-schrift-lauf { animation-play-state: paused; }
@keyframes fsg-drehen { to { transform: rotate(360deg); } }

/* Kopftext kommt Zeile für Zeile, wie bisher. */
.fsg-js .fsg-neu .fsg-kopf-text > * { opacity: 0; transform: translateY(1.5rem); }
.fsg-js .fsg-neu .fsg-kopf.ist-da .fsg-kopf-text > * { opacity: 1; transform: none; transition: opacity 0.9s var(--aus), transform 1s var(--aus); }
.fsg-js .fsg-neu .fsg-kopf.ist-da .fsg-kopf-text > :nth-child(2) { transition-delay: 0.15s; }
.fsg-js .fsg-neu .fsg-kopf.ist-da .fsg-kopf-text > :nth-child(3) { transition-delay: 0.3s; }
.fsg-js .fsg-neu .fsg-kopf.ist-da .fsg-kopf-text > :nth-child(4) { transition-delay: 0.42s; }
.fsg-js .fsg-neu .fsg-kopf.ist-da .fsg-kopf-text > :nth-child(5) { transition-delay: 0.54s; }

@media (prefers-reduced-motion: reduce) {
  html:has(body.fsg-neu) { scroll-behavior: auto; }
  .fsg-neu .fsg-scheibe, .fsg-neu .fsg-scheibe .fsg-schrift, .fsg-neu .fsg-scheibe .fsg-striche { transform: none !important; }
  .fsg-neu .fsg-scheibe .fsg-schrift-lauf { animation: none; }
  .fsg-js .fsg-neu :is(.fsg-zeig, .fsg-blende, .fsg-termine li, .fsg-kopf-text > *, .fsg-scheibe > img, .fsg-band, .fsg-flaeche) {
    transform: none !important; clip-path: none !important; filter: none !important;
  }
  .fsg-js .fsg-neu .fsg-scheibe :is(.fsg-ring, .fsg-ring-fern) { stroke-dashoffset: 0; }
  .fsg-neu dialog.fsg-fenster[open] { animation: fsg-ein 0.2s; }
  .fsg-js .fsg-neu .fsg-seitenkopf > *, .fsg-js .fsg-neu .fsg-seitenkopf::after { animation: none; }
  .fsg-neu * { transition-duration: 0.25s !important; transition-delay: 0s !important; }
  @view-transition { navigation: none; }
}

/* ---------- 13 Schmale Bildschirme ---------- */
@media (max-width: 900px) {
  body.fsg-neu { --nav-h: 64px; font-size: 1rem; }
  .fsg-neu .fsg-nav-name { font-size: 0.78rem; letter-spacing: 0.03em; }
  .fsg-neu .fsg-nav-name span { letter-spacing: 0.08em; }
  .fsg-neu .fsg-nav-wappen img { width: 44px; height: 44px; }

  .fsg-neu .fsg-nav-knopf {
    display: inline-flex; align-items: center; gap: 0.6rem; min-height: 44px; padding: 0 0.9rem 0 0.8rem;
    border: 1px solid var(--linie); background: none; color: #fff; cursor: pointer;
    font: 600 0.76rem/1 var(--titel); letter-spacing: 0.12em; text-transform: uppercase;
  }
  .fsg-neu .fsg-nav-knopf-striche { position: relative; width: 18px; height: 12px; }
  .fsg-neu .fsg-nav-knopf-striche::before, .fsg-neu .fsg-nav-knopf-striche::after {
    content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: var(--gold); transition: transform 0.35s var(--aus), top 0.35s var(--aus);
  }
  .fsg-neu .fsg-nav-knopf-striche::before { top: 2px; }
  .fsg-neu .fsg-nav-knopf-striche::after { top: 9px; }
  .fsg-neu .fsg-nav-knopf[aria-expanded="true"] .fsg-nav-knopf-striche::before { top: 5px; transform: rotate(45deg); }
  .fsg-neu .fsg-nav-knopf[aria-expanded="true"] .fsg-nav-knopf-striche::after { top: 5px; transform: rotate(-45deg); }

  .fsg-neu .fsg-menue {
    position: fixed; inset: var(--nav-h) 0 0 0; padding: 1rem var(--rand) 3rem; overflow-y: auto; background: rgba(14, 33, 84, 0.99);
    visibility: hidden; clip-path: circle(0% at calc(100% - 3.5rem) 0); transition: clip-path 0.6s var(--aus), visibility 0.6s;
  }
  .fsg-neu .fsg-nav.ist-offen .fsg-menue { visibility: visible; clip-path: circle(150% at calc(100% - 3.5rem) 0); }
  .fsg-neu .fsg-menue > ul { display: block; }
  .fsg-neu .fsg-menue > ul > li { border-bottom: 1px solid var(--linie-zart); }
  .fsg-neu .fsg-menue > ul > li > :is(a, button) { width: 100%; padding: 1.1rem 0; text-align: left; font-size: 1rem; }
  .fsg-neu .fsg-hat-unter > button { pointer-events: none; color: var(--gold); font-size: 0.72rem !important; letter-spacing: 0.25em; padding-bottom: 0.3rem !important; }
  .fsg-neu .fsg-hat-unter > button::after { display: none; }
  .fsg-neu .fsg-hat-unter > ul { position: static; min-width: 0; padding: 0 0 0.6rem; border: 0; background: none; box-shadow: none; opacity: 1; visibility: inherit; transform: none; }
  .fsg-neu .fsg-hat-unter > ul a { padding: 0.85rem 0 0.85rem 1rem; font-size: 0.95rem; }

  .fsg-neu .fsg-seite > .fsg-kopf { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; min-height: 0; padding-top: calc(var(--nav-h) + 1.5rem); padding-bottom: 3rem; text-align: center; }
  .fsg-neu .fsg-kopf-text { justify-items: center; }
  .fsg-neu .fsg-scheibe { order: -1; width: min(86vw, 46vh); }
  .fsg-neu .fsg-seite .fsg-kopf h1 { font-size: clamp(1.35rem, 6.2vw, 2.4rem); }
  .fsg-neu .fsg-seite .fsg-marke { font-size: 0.7rem; letter-spacing: 0.18em; margin-bottom: 1.2rem; }
  .fsg-neu .fsg-kopf-unter::after { margin-inline: auto; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
  .fsg-neu .fsg-seite .fsg-naechster, .fsg-neu .fsg-kopf .fsg-knoepfe { justify-content: center; }

  .fsg-neu .fsg-termine li { grid-template-columns: minmax(0, 1fr); padding: 0.9rem 0.2rem; }
  .fsg-neu .fsg-wann { grid-row: auto; font-size: 0.92rem; }
  .fsg-neu .fsg-termine li.ist-naechster { padding-left: 1.5rem; }
  .fsg-neu .fsg-termine li.ist-naechster::before { left: 0.3rem; top: 1.3rem; }
  .fsg-neu .fsg-bilder, .fsg-neu .fsg-zeitkarten { grid-template-columns: minmax(0, 1fr); }
  .fsg-neu .fsg-orn::before, .fsg-neu .fsg-orn::after { flex-basis: 60px; }
}
@media (max-width: 520px) {
  .fsg-neu .fsg-nav-knopf-wort { display: none; }
  .fsg-neu .fsg-nav-knopf { padding: 0 0.8rem; }
  .fsg-neu .fsg-nav { gap: 0.7rem; }
}
