/* =========================================================================
   EKG Wernigerode – Gestaltung der Website
   Zuerst fürs Handy gebaut, ab 760px (Tablet) und 1000px (Computer) breiter.
   Farben vorläufig, bis das Logo da ist: nur hier unter :root ändern.
   ========================================================================= */


:root {
  --petrol: #0B5563;
  --petrol-dunkel: #073B45;
  --petrol-tief: #0A4954;
  --petrol-linie: #3E8691;
  --petrol-mittel: #2F7480;
  --gelb: #FFC94D;
  --gelb-hell: #FFF4D6;
  --gelb-mittel: #FFE7A3;
  --gelb-text: #6B4A00;
  --gelb-zahl: #8A5A00;
  --text: #14232B;
  --grau: #4A5B63;
  --mint: #EAF4F1;
  --mint-mittel: #CFE6E2;
  --mint-text: #DCEDEA;
  --mint-gedimmt: #B9DAD6;
  --hell: #F6F8F7;
  --rand: #E3ECEA;
  --nacht: #14232B;
  --nacht-hell: #2A3A43;
  --nacht-text: #B7C4C9;
  --weiss: #FFFFFF;

  --schrift: "Atkinson Hyperlegible", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --titel: "Bricolage Grotesque", "Atkinson Hyperlegible", system-ui, sans-serif;
  --rund-s: 14px;
  --rund-m: 20px;
  --rund-l: 28px;
  --abstand: 48px;
  --rand-seite: 16px;
}

/* ---------- Grundlagen ---------- */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: var(--schrift);
  font-size: 18px;
  line-height: 1.55;
  color: var(--text);
  background: var(--weiss);
  overflow-wrap: break-word;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--petrol); text-underline-offset: 3px; }
a:hover { color: var(--petrol-dunkel); }
h1, h2, h3, p, ul, ol, dl, figure, blockquote { margin: 0; }
ul[class], ol[class] { list-style: none; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--gelb); outline-offset: 3px; border-radius: 6px; }
.abschnitt--nacht :focus-visible, .hero :focus-visible, .seitenkopf--petrol :focus-visible, .fuss :focus-visible { outline-color: var(--gelb); }
main:focus { outline: none; }

.unsichtbar { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.springen { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--gelb); color: var(--text); padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.springen:focus { top: 12px; }

.huelle { width: 100%; max-width: 1200px; margin: 0 auto; padding-left: var(--rand-seite); padding-right: var(--rand-seite); }
.schmal { max-width: 860px; }
.schmal-links > * { max-width: 760px; }

@media (max-width: 759px) { .nur-gross { display: none !important; } }
@media (min-width: 760px) { .nur-klein { display: none !important; } }

/* ---------- Schrift-Stufen ---------- */

.titel-seite, .hero__titel {
  font-family: var(--titel); font-weight: 600; line-height: 1.04; letter-spacing: -0.5px;
  font-size: clamp(38px, 9vw, 68px); text-wrap: balance;
}
.titel-gross { font-family: var(--titel); font-weight: 600; line-height: 1.1; font-size: clamp(30px, 6.5vw, 48px); text-wrap: balance; }
.titel-mittel { font-family: var(--titel); font-weight: 600; line-height: 1.12; font-size: clamp(26px, 5vw, 40px); text-wrap: balance; }
.kicker { font-weight: 700; color: var(--petrol); text-transform: uppercase; letter-spacing: 1.5px; font-size: 14px; }
.kicker--gelb { color: var(--gelb); }
.einleitung { color: var(--grau); max-width: 720px; }
.einleitung p + p, .fliesstext p + p, .fliesstext p + ul, .fliesstext ul + p { margin-top: 12px; }
.fliesstext ul { padding-left: 1.2em; }
.fliesstext h2, .fliesstext h3 { font-family: var(--titel); font-weight: 600; margin: 28px 0 8px; line-height: 1.2; }
.fliesstext h2 { font-size: 26px; }
.fliesstext h3 { font-size: 21px; }
.klein { font-size: 15px; color: var(--grau); }
.adresse-gross { font-size: 21px; font-weight: 700; line-height: 1.35; }
.pfeil-link { font-weight: 700; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; }
.pfeil-link::after { content: "→"; transition: transform .2s ease; }
.pfeil-link:hover::after { transform: translateX(4px); }

/* ---------- Knöpfe ---------- */

.knoepfe { display: flex; flex-direction: column; gap: 12px; }
.knoepfe--mitte { align-items: center; }
.knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 26px; border-radius: 999px;
  font-weight: 700; font-size: 18px; text-decoration: none; text-align: center; line-height: 1.2;
  border: 2px solid transparent; cursor: pointer; background: none;
  transition: background-color .2s ease, color .2s ease, transform .2s ease;
}
.knopf:active { transform: scale(.98); }
.knopf--gelb { background: var(--gelb); color: var(--text); }
.knopf--gelb:hover { background: #FFD670; color: var(--text); }
.knopf--rand-hell { border-color: var(--weiss); color: var(--weiss); }
.knopf--rand-hell:hover { background: var(--weiss); color: var(--petrol); }
.knopf--petrol { background: var(--petrol); color: var(--weiss); }
.knopf--petrol:hover { background: var(--petrol-dunkel); color: var(--weiss); }
.knopf--rand { border-color: var(--petrol); color: var(--petrol); background: var(--weiss); }
.knopf--rand:hover { background: var(--petrol); color: var(--weiss); }
.knopf--dunkel { background: var(--nacht); color: var(--weiss); }
.knopf--dunkel:hover { background: #000; color: var(--weiss); }
.knopf--breit { width: 100%; }
.knopf--klein { min-height: 44px; padding: 0 18px; font-size: 16px; }
.knopf--gross { min-height: 58px; font-size: 19px; }

.rund-knopf {
  width: 52px; height: 52px; border-radius: 50%; border: 0; background: var(--gelb); color: var(--text);
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
}
.rund-knopf--rand { background: transparent; border: 2px solid #5D7480; color: var(--weiss); }
.rund-knopf--rand:hover { border-color: var(--weiss); }

/* ---------- Kopfzeile und Menü ---------- */

.kopf { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--rand); backdrop-filter: saturate(1.4) blur(8px); }
.kopf__zeile { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 68px; padding-top: 10px; padding-bottom: 10px; flex-wrap: wrap; }
.marke { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); min-width: 0; }
.marke:hover { color: var(--text); }
.marke__logo, .marke__logo-bild { width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0; object-fit: contain; }
.marke__logo { background: var(--petrol); color: var(--weiss); display: flex; align-items: center; justify-content: center; font-family: var(--titel); font-weight: 800; font-size: 14px; letter-spacing: .5px; }
.marke__text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.marke__name { font-family: var(--titel); font-weight: 600; font-size: 19px; }
.marke__unter { display: none; font-size: 14px; color: var(--grau); }

.menue-knopf {
  display: none; align-items: center; gap: 8px; min-height: 48px; padding: 0 14px; border: 0; border-radius: 12px;
  background: var(--mint); color: var(--text); font-weight: 700; cursor: pointer;
}
.js .menue-knopf { display: inline-flex; }
.menue-knopf__zu { display: none; }
.menue-knopf[aria-expanded="true"] .menue-knopf__auf { display: none; }
.menue-knopf[aria-expanded="true"] .menue-knopf__zu { display: inline; }
.menue-knopf .icon { display: block; }

.nav { width: 100%; }
.js .nav { display: none; }
.js .nav.offen { display: block; }
.nav ul { list-style: none; margin: 0; display: flex; flex-direction: column; gap: 4px; padding: 8px 0 12px; }
.nav a {
  display: flex; align-items: center; min-height: 52px; padding: 0 14px; border-radius: 12px;
  color: var(--text); font-weight: 700; font-size: 20px; text-decoration: none;
}
.nav a:hover { background: var(--mint); color: var(--text); }
.nav a[aria-current="page"] { background: var(--mint); color: var(--petrol); }
.nav .nav__kontakt { background: var(--gelb); justify-content: center; border-radius: 999px; margin-top: 6px; }
.nav .nav__kontakt:hover, .nav .nav__kontakt[aria-current="page"] { background: #FFD670; color: var(--text); }

/* ---------- Bilder und Platzhalter ---------- */

.bild-platz { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; min-height: 160px; background: var(--mint-mittel); color: var(--petrol); }
.bild-platz .icon { opacity: .45; }
.bild-platz--gelb { background: var(--gelb-mittel); color: var(--gelb-text); }
.bild-platz--dunkel { background: var(--petrol-mittel); color: var(--mint-text); }

/* ---------- Startseite: großer Kopf ---------- */

.hero { background: var(--petrol); color: var(--weiss); }
.hero__raster { display: flex; flex-direction: column; gap: 22px; padding-top: 36px; padding-bottom: 40px; }
.hero__inhalt { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.plakette { align-self: flex-start; background: var(--gelb); color: var(--text); font-weight: 700; font-size: 15px; padding: 5px 14px; border-radius: 999px; }
.hero__text { font-size: 19px; color: var(--mint-text); max-width: 560px; }
.naechster {
  display: flex; align-items: center; gap: 14px; align-self: stretch;
  background: var(--petrol-tief); border: 1px solid var(--petrol-linie); border-radius: 16px; padding: 12px 16px; line-height: 1.3;
}
.naechster .icon { color: var(--gelb); flex-shrink: 0; }
.naechster__label { display: block; font-size: 14px; color: var(--mint-gedimmt); }
.naechster__datum { display: block; font-weight: 700; font-size: 18px; }
.hero .knoepfe .knopf { width: 100%; }

/* Startbild über die ganze Breite, zur Schrift hin in die Hintergrundfarbe
   überblendet. Am Handy liegt das Bild oben, am Rechner rechts. */
.hero { position: relative; overflow: hidden; isolation: isolate; }
.hero__hintergrund { position: absolute; top: 0; left: 0; right: 0; height: 360px; z-index: -1; overflow: hidden; }
.hero__folie { position: absolute; inset: 0; opacity: 0; transition: opacity 1.6s ease; }
.hero__folie.ist-aktiv { opacity: 1; }
.hero__folie img, .hero__folie .bild-platz { width: 100%; height: 100%; object-fit: cover; }
.hero__hintergrund::after {
  content: ""; position: absolute; inset: 0;
  /* Eigene Ebene wie das zoomende Bild, damit am Rand kein Streifen Foto durchblitzt */
  transform: translateZ(0);
  background: linear-gradient(180deg, rgba(11, 85, 99, 0) 30%, rgba(11, 85, 99, .8) 75%, var(--petrol) calc(100% - 3px), var(--petrol) 100%);
}
.hero__raster { padding-top: 250px; }

/* Punkte unter dem Startbild: wie viele Bilder es gibt, antippen = zu diesem Bild.
   Am Handy ganz unten mittig, am Rechner unten mittig über dem Bild. */
.hero__punkte { position: absolute; z-index: 2; left: 0; right: 0; bottom: 4px; display: flex; justify-content: center; gap: 2px; }
.hero__punkte[hidden] { display: none; }
.hero__punkte button { width: 36px; height: 36px; padding: 0; border: 0; background: none; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.hero__punkte span { display: block; width: 10px; height: 10px; border-radius: 999px; background: rgba(255, 255, 255, .55); box-shadow: 0 1px 3px rgba(0, 0, 0, .3); transition: width .3s ease, background-color .3s ease; }
.hero__punkte button:hover span { background: var(--weiss); }
.hero__punkte button[aria-pressed="true"] span { width: 26px; background: var(--gelb); }
@media (max-width: 999px) {
  .hero:has(.hero__punkte:not([hidden])) .hero__raster { padding-bottom: 52px; }
}
@media (min-width: 1000px) {
  .hero__punkte { left: 30%; bottom: 12px; }
}

/* ---------- Einladung am Seitenende ---------- */

.einladung { background: var(--gelb); }
.einladung__raster { display: flex; flex-direction: column; gap: 28px; }
.einladung__text { display: flex; flex-direction: column; gap: 14px; max-width: 620px; }
.einladung__text p { font-size: 19px; }
.einladung__termine { display: grid; gap: 12px; list-style: none; padding: 0; margin: 0; }
.einladung__termin { display: flex; align-items: center; gap: 14px; background: var(--weiss); border-radius: 18px; padding: 16px 18px; line-height: 1.3; }
.einladung__termin .icon { color: var(--petrol); flex-shrink: 0; }
.einladung__art { display: block; font-size: 15px; color: var(--grau); }
.einladung__wann { display: block; font-weight: 700; font-size: 19px; }

/* ---------- Fakten-Leiste ---------- */

.fakten { background: var(--mint); }
ul.fakten__raster { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding-top: 20px; padding-bottom: 20px; }
.fakt { display: flex; gap: 12px; align-items: flex-start; }
.fakt .icon { display: none; color: var(--petrol); flex-shrink: 0; }
.fakt > span { display: flex; flex-direction: column; line-height: 1.3; }
.fakt strong { font-weight: 700; }
.fakt > span > span { font-size: 15px; color: var(--grau); }

/* ---------- Abschnitte ---------- */

.abschnitt { padding: var(--abstand) 0; }
.abschnitt--oben-knapp { padding-top: 8px; }
.abschnitt--hell { background: var(--hell); }
.abschnitt--mint { background: var(--mint); }
.abschnitt--nacht { background: var(--nacht); color: var(--weiss); }
.abschnitt-rand { padding: 0 0 var(--abstand); }
.abschnitt__kopf { display: flex; flex-direction: column; gap: 12px; max-width: 760px; margin-bottom: 28px; }

.zweispaltig { display: flex; flex-direction: column; gap: 28px; }
.zweispaltig__seite, .zweispaltig__haupt { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.zweispaltig__seite > .knopf, .zweispaltig__seite > .pfeil-link { align-self: flex-start; }

/* ---------- Schritte "So läuft ein Sonntag" ---------- */

.schritte { display: grid; gap: 14px; counter-reset: schritt; }
.schritt { background: var(--hell); border-radius: 18px; padding: 18px; display: grid; grid-template-columns: auto 1fr; column-gap: 14px; row-gap: 2px; align-items: start; }
.schritt--weiss { background: var(--weiss); }
.schritt--gelb { background: var(--gelb-hell); }
.schritt__nr { grid-row: span 2; font-family: var(--titel); font-weight: 600; font-size: 30px; color: var(--petrol); line-height: 1; }
.schritt--gelb .schritt__nr { color: var(--gelb-zahl); }
.schritt h3 { font-size: 19px; }
.schritt p { font-size: 16px; color: var(--grau); }
/* Freundliches Symbol oben rechts in jedem Schritt */
.schritt { position: relative; padding-right: 72px; }
.schritt__symbol {
  position: absolute; top: 14px; right: 14px; width: 46px; height: 46px; border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  background: var(--weiss); color: var(--petrol); box-shadow: 0 0 0 1px var(--rand);
}
.schritt--weiss .schritt__symbol { background: var(--mint); box-shadow: none; }
.schritt--gelb .schritt__symbol { background: var(--weiss); color: var(--gelb-zahl); box-shadow: none; }
@media (min-width: 700px) {
  .schritt__symbol { top: 22px; right: 22px; width: 52px; height: 52px; }
  .schritt__symbol .icon { width: 28px; height: 28px; }
}

/* ---------- Einblicke ---------- */

.einblicke { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 130px; gap: 10px; }
.einblicke__feld { border-radius: 18px; overflow: hidden; }
.einblicke__feld img { width: 100%; height: 100%; object-fit: cover; }
.einblicke__feld .bild-platz { min-height: 0; }
.einblicke__feld--1 { grid-column: span 2; grid-row: span 2; }
.einblicke__feld--4, .einblicke__feld--5 { display: none; }
.einblicke-abschnitt { padding-bottom: var(--abstand); }

/* ---------- Termine ---------- */

.termine { display: flex; flex-direction: column; gap: 12px; }
.termin { background: var(--weiss); border-radius: 18px; padding: 14px 16px; display: flex; gap: 16px; align-items: center; border: 2px solid transparent; }
.abschnitt:not(.abschnitt--hell) .termin { border-color: var(--rand); }
.termin__datum { width: 64px; flex-shrink: 0; text-align: center; background: var(--mint); color: var(--petrol); border-radius: 14px; padding: 8px 0; line-height: 1.1; display: flex; flex-direction: column; }
.termin__tag { font-size: 13px; font-weight: 700; }
.termin__nr { font-family: var(--titel); font-size: 26px; font-weight: 600; }
.termin__monat { font-size: 13px; }
.termin--gd .termin__datum { background: var(--petrol); color: var(--weiss); }
.termin--fr { border-color: var(--gelb) !important; }
.termin--fr .termin__datum { background: var(--gelb); color: var(--text); }
.termin__text { min-width: 0; }
.termin__titel { font-weight: 700; font-size: 19px; line-height: 1.3; }
.termin__info { color: var(--grau); font-size: 16px; }
.termin__beschreibung { color: var(--grau); font-size: 15px; margin-top: 4px; }
.termin__flyer { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-weight: 700; font-size: 16px; }
.hinweis-box { background: var(--mint); border-radius: 18px; padding: 18px 20px; }

.filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.filter button { min-height: 46px; padding: 0 20px; border-radius: 999px; border: 2px solid var(--petrol); background: var(--weiss); color: var(--petrol); font-weight: 700; cursor: pointer; }
.filter button[aria-pressed="true"] { background: var(--petrol); color: var(--weiss); }
.monat + .monat { margin-top: 32px; }
.monat__titel { font-family: var(--titel); font-weight: 600; font-size: 26px; margin-bottom: 14px; }
.monat[hidden], .termin[hidden] { display: none !important; }

/* ---------- Kacheln der Angebote ---------- */

.kacheln { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.kacheln > li { display: flex; }
.kachel {
  flex: 1; display: flex; flex-direction: column; justify-content: flex-end;
  text-decoration: none; color: var(--text); border-radius: 18px; overflow: hidden; min-height: 104px;
}
.kachel:hover { color: var(--text); }
.kachel--gelb { background: var(--gelb-mittel); }
.kachel--petrol { background: var(--mint-mittel); }
.kachel__bild { display: none; }
.kachel__text { display: flex; flex-direction: column; gap: 4px; padding: 16px; }
.kachel__titel { font-weight: 700; font-size: 19px; line-height: 1.2; hyphens: auto; -webkit-hyphens: auto; }
.kachel__kurz { display: none; font-size: 17px; color: var(--grau); }
.kachel__info { font-size: 14px; color: var(--grau); }

/* ---------- WhatsApp ---------- */

.whatsapp { background: var(--gelb); border-radius: 24px; padding: 28px 22px; display: flex; flex-direction: column; gap: 24px; }
.whatsapp__text { display: flex; flex-direction: column; gap: 14px; }
.whatsapp__text .knopf { align-self: stretch; }
.qr { background: var(--weiss); border-radius: 20px; padding: 14px; width: 190px; height: 190px; flex-shrink: 0; }
.qr svg, .qr img { width: 100%; height: 100%; display: block; }
.qr--gross { width: 240px; height: 240px; }

/* ---------- Jahreslosung ---------- */

.losung { background: var(--petrol); color: var(--weiss); border-radius: 22px; padding: 26px 22px; display: flex; flex-direction: column; gap: 10px; }
.losung__jahr { order: -1; font-size: 14px; font-weight: 700; color: var(--gelb); text-transform: uppercase; letter-spacing: 1.5px; }
.losung__text { font-family: var(--titel); font-weight: 600; font-size: clamp(25px, 5vw, 36px); line-height: 1.17; }
.losung__stelle { font-size: 16px; color: var(--mint-text); }
.losung--gross { text-align: center; align-items: center; padding: 40px 24px; }
.losung--gross .losung__text { font-size: clamp(28px, 6vw, 46px); }

/* ---------- Zitate ---------- */

.stimmen__kopf { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-end; justify-content: space-between; margin-bottom: 24px; }
.stimmen__kopf .titel-gross { margin-top: 10px; }
.stimmen__pfeile { display: flex; gap: 10px; }
.stimmen__buehne { min-height: 300px; }
.stimmen__folie[hidden] { display: none; }
.stimmen__folie:not([hidden]) .zitat { animation: zitatEin .45s ease both; }
@keyframes zitatEin { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.stimmen__punkte { display: flex; flex-wrap: wrap; gap: 2px; margin-top: 16px; }
.stimmen__punkte button { width: 40px; height: 44px; border: 0; background: transparent; display: flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; }
.stimmen__punkte span { width: 12px; height: 8px; border-radius: 999px; background: #6F8790; transition: width .25s ease, background-color .25s ease; }
.stimmen__punkte button[aria-pressed="true"] span { width: 28px; background: var(--gelb); }

.zitat { display: flex; flex-direction: column; gap: 18px; }
.zitat__foto { width: 96px; height: 96px; border-radius: 50%; overflow: hidden; flex-shrink: 0; background: var(--petrol); display: flex; align-items: center; justify-content: center; color: var(--gelb); }
.zitat__foto img { width: 100%; height: 100%; object-fit: cover; }
.zitat__symbol .icon { width: 54px; height: 54px; stroke-width: 1.6; }
.zitat__inhalt { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.zitat__text { font-family: var(--titel); font-weight: 600; font-size: 25px; line-height: 1.25; }
.zitat__name { font-size: 17px; color: var(--nacht-text); }
.zitat__name strong { color: var(--weiss); }

.zitat-raster { display: grid; gap: 16px; }
.zitat-raster .zitat { background: var(--nacht-hell); border-radius: 22px; padding: 24px; gap: 14px; }
.zitat-raster .zitat__foto { width: 64px; height: 64px; }
.zitat-raster .zitat__symbol .icon { width: 34px; height: 34px; }
.zitat-raster .zitat__text { font-size: 21px; }

/* ---------- Kapelle auf der Startseite ---------- */

.kapelle-bilder { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.kapelle-bilder__gross { grid-column: span 2; height: 200px; border-radius: 22px; overflow: hidden; }
.kapelle-bilder__klein { height: 160px; border-radius: 20px; overflow: hidden; }
.kapelle-bilder img { width: 100%; height: 100%; object-fit: cover; }

.fakten-liste { display: flex; flex-direction: column; gap: 10px; }
.fakten-liste > div { display: flex; flex-direction: column; }
.fakten-liste dt { font-weight: 700; }
.fakten-liste dd { margin: 0; color: var(--grau); }
.fakten-liste--eng { gap: 8px; }

/* ---------- Unterseiten: Kopf ---------- */

.seitenkopf { padding: 40px 0 32px; }
.seitenkopf .huelle > * + * { margin-top: 16px; }
.seitenkopf--petrol { background: var(--petrol); color: var(--weiss); padding-bottom: 40px; }
.seitenkopf__raster { display: flex; flex-direction: column; gap: 24px; }
.seitenkopf__text { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.seitenkopf__bild { height: 220px; border-radius: 22px; overflow: hidden; }
.seitenkopf__bild img { width: 100%; height: 100%; object-fit: cover; }
.seitenkopf--petrol .hero__text { color: var(--mint-text); }

.sprungmarken { display: flex; flex-wrap: wrap; gap: 8px; }
.sprungmarken a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; background: var(--mint); color: var(--petrol); font-weight: 700; text-decoration: none; font-size: 16px; }
.sprungmarken a:hover { background: var(--petrol); color: var(--weiss); }

/* ---------- Gottesdienst ---------- */

.rhythmus { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.rhythmus__feld { border-radius: 18px; padding: 18px; display: flex; flex-direction: column; gap: 4px; background: var(--mint); }
.rhythmus__feld--gd { background: var(--petrol); color: var(--weiss); }
.rhythmus__feld--fr { background: var(--gelb); }
.rhythmus__feld--frei { background: var(--hell); border: 2px dashed var(--rand); }
.rhythmus__woche { font-size: 14px; font-weight: 700; opacity: .8; text-transform: uppercase; letter-spacing: 1px; }
.rhythmus__titel { font-family: var(--titel); font-weight: 600; font-size: 21px; line-height: 1.15; }
.rhythmus__info { font-size: 15px; opacity: .85; }

.rund-bild { border-radius: 24px; overflow: hidden; height: 240px; }
.rund-bild img { width: 100%; height: 100%; object-fit: cover; }
.gruppen-karten { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.gruppen-karten li { background: var(--gelb-hell); border-radius: 16px; padding: 16px; display: flex; flex-direction: column; }
.gruppen-karten span { color: var(--grau); font-size: 16px; }

.fragen { display: flex; flex-direction: column; gap: 10px; margin-top: 24px; }
.frage { background: var(--weiss); border-radius: 16px; }
.frage summary { list-style: none; cursor: pointer; padding: 16px 52px 16px 18px; font-weight: 700; position: relative; min-height: 56px; display: flex; align-items: center; }
.frage summary::-webkit-details-marker { display: none; }
.frage summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 28px; font-weight: 400; color: var(--petrol); line-height: 1; }
.frage[open] summary::after { content: "–"; }
.frage__antwort { padding: 0 18px 18px; color: var(--grau); }

.schluss__inhalt { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 24px; }

/* ---------- Angebote ---------- */

.angebot { padding: var(--abstand) 0; scroll-margin-top: 80px; }
.angebot__raster { display: flex; flex-direction: column; gap: 24px; }
.angebot__text { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.angebot__galerie { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.angebot__galerie > div { height: 110px; border-radius: 16px; overflow: hidden; }
.angebot__galerie img { width: 100%; height: 100%; object-fit: cover; }
.angebot .fakten-liste { background: var(--mint); border-radius: 18px; padding: 18px; }
.angebot--gespiegelt .fakten-liste { background: var(--weiss); }
.angebot .knoepfe .knopf { width: 100%; }
.kreise { display: flex; flex-direction: column; gap: 10px; }
.kreise li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; background: var(--weiss); border: 1px solid var(--rand); border-radius: 16px; padding: 12px 14px; }
.kreise li > span { display: flex; flex-direction: column; }
.kreise li > span > span { color: var(--grau); font-size: 16px; }
.naechste-termine { background: var(--gelb-hell); border-radius: 16px; padding: 14px 18px; }
.naechste-termine__titel { font-weight: 700; }
.naechste-termine ul { padding-left: 1.1em; color: var(--grau); }

/* ---------- Über uns ---------- */

.werte { display: grid; gap: 14px; }
.wert { background: var(--weiss); border-radius: 22px; padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.abschnitt--hell .wert--weiss { background: var(--weiss); }
.wert__icon { width: 52px; height: 52px; border-radius: 14px; background: var(--mint); color: var(--petrol); display: flex; align-items: center; justify-content: center; }
.wert h3 { font-size: 21px; }
.wert p { color: var(--grau); font-size: 17px; }

.team { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 14px; }
.person { display: flex; flex-direction: column; gap: 2px; }
.person__foto { aspect-ratio: 1; border-radius: 22px; overflow: hidden; margin-bottom: 10px; }
.person__foto img { width: 100%; height: 100%; object-fit: cover; }
.person__foto .bild-platz { min-height: 0; }
.person__name { font-weight: 700; font-size: 19px; }
.person__aufgabe { color: var(--grau); font-size: 16px; }
.verband-logo { align-items: center; }
.verband-logo img { max-height: 160px; width: auto; }

/* ---------- Kapelle ---------- */

.kapelle-kopf { padding-top: 16px; }
.kapelle-galerie { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 90px; gap: 10px; }
.kapelle-galerie__feld { border-radius: 16px; overflow: hidden; }
.kapelle-galerie__feld img { width: 100%; height: 100%; object-fit: cover; }
.kapelle-galerie__feld .bild-platz { min-height: 0; }
.kapelle-galerie__feld--1 { grid-column: span 3; grid-row: span 2; border-radius: 22px; }
.kapelle-kopf + .abschnitt { padding-top: 32px; }

/* ---------- Info-Karten (Seitenleisten) ---------- */

.info-karte { background: var(--hell); border-radius: 22px; padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.info-karte h2 { font-family: var(--titel); font-weight: 600; font-size: 23px; line-height: 1.2; }
.info-karte--mint { background: var(--mint); }
.info-karte--gelb { background: var(--gelb); }
.info-karte > .icon { color: var(--petrol); }
.info-karte .pfeil-link { align-self: flex-start; }
.seitenleiste { gap: 16px; }
.person-karte { flex-direction: row; align-items: center; gap: 16px; }
.person-karte__foto { width: 88px; height: 88px; border-radius: 50%; overflow: hidden; flex-shrink: 0; }
.person-karte__foto img { width: 100%; height: 100%; object-fit: cover; }
.person-karte__foto .bild-platz { min-height: 0; }
.mit-icon { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; min-height: 44px; }

/* ---------- Spenden ---------- */

.spenden-karte { background: var(--hell); border-radius: 26px; padding: 24px 20px; display: flex; flex-direction: column; gap: 32px; }
.spenden-karte__konto, .spenden-karte__qr { display: flex; flex-direction: column; gap: 16px; }
.konto { display: flex; flex-direction: column; gap: 14px; }
.konto > div { display: flex; flex-direction: column; }
.konto dt { font-size: 15px; color: var(--grau); }
.konto dd { margin: 0; font-weight: 700; font-size: 19px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.konto__iban { font-variant-numeric: tabular-nums; letter-spacing: .5px; font-size: 20px; }
.spenden-karte__qr .qr { background: var(--weiss); }

/* ---------- Formulare ---------- */

.formular { display: flex; flex-direction: column; gap: 18px; }
.feld { display: flex; flex-direction: column; gap: 6px; }
.feld label { font-weight: 700; }
.feld input[type="text"], .feld input[type="email"], .feld select, .feld textarea {
  width: 100%; min-height: 54px; padding: 12px 14px; font-size: 18px;
  border: 2px solid #A9BDB9; border-radius: 12px; background: var(--weiss);
}
.feld textarea { min-height: 160px; resize: vertical; }
.feld input:focus, .feld select:focus, .feld textarea:focus { border-color: var(--petrol); outline: 3px solid var(--gelb); outline-offset: 0; }
.feld [aria-invalid="true"] { border-color: #B3261E; }
.feld__fehler { color: #B3261E; font-weight: 700; font-size: 16px; }
.feld--haken { flex-direction: row; flex-wrap: wrap; align-items: flex-start; gap: 12px; }
.feld--haken input { width: 26px; height: 26px; margin: 2px 0 0; flex-shrink: 0; accent-color: var(--petrol); }
.feld--haken label { flex: 1; font-weight: 400; font-size: 16px; min-width: 0; }
.feld--haken .feld__fehler { width: 100%; }
.feld--falle { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.meldung { border-radius: 14px; padding: 14px 16px; font-weight: 700; }
.meldung--fehler { background: #FCE8E6; color: #8C1D18; }
.erfolg { background: var(--mint); border-radius: 24px; padding: 32px 24px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.erfolg__icon { width: 64px; height: 64px; border-radius: 50%; background: var(--petrol); color: var(--weiss); display: flex; align-items: center; justify-content: center; }

.rechtstext h2 { font-size: 24px; }

/* ---------- Fußzeile ---------- */

.fuss { background: var(--nacht); color: #DCE4E6; font-size: 17px; }
.fuss__raster { display: grid; gap: 28px; padding-top: 40px; padding-bottom: 48px; }
.fuss__spalte { display: flex; flex-direction: column; gap: 6px; }
.fuss__name { font-family: var(--titel); font-weight: 600; font-size: 22px; color: var(--weiss); }
.fuss__titel { font-weight: 700; color: var(--weiss); }
.fuss a { color: #DCE4E6; display: inline-flex; align-items: center; min-height: 40px; }
.fuss a:hover { color: var(--weiss); }
.fuss a.fuss__hervor { color: var(--gelb); font-weight: 700; }
.fuss__whatsapp { display: inline-flex; align-items: center; gap: 8px; }
.fuss__titel--abstand { margin-top: 14px; }

/* Knopf für angemeldete Pflegepersonen */

/* ---------- Dezente Effekte (abschaltbar über "Bewegung reduzieren") ---------- */

@keyframes einblenden { from { opacity: 0; transform: translateY(32px); } to { opacity: 1; transform: none; } }
@supports (animation-timeline: view()) {
  .reveal { animation: einblenden linear both; animation-timeline: view(); animation-range: entry 0% entry 30%; }
}
.heben { transition: transform .25s ease, box-shadow .25s ease; }
@media (hover: hover) {
  .heben:hover { transform: translateY(-5px); box-shadow: 0 14px 30px rgba(20, 35, 43, .12); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .stimmen__folie:not([hidden]) .zitat { animation: none !important; }
  .heben, .heben:hover { transition: none; transform: none; }
}

/* =========================================================================
   Ab Tablet-Breite
   ========================================================================= */
@media (min-width: 760px) {
  :root { --abstand: 72px; --rand-seite: 24px; }
  body { font-size: 19px; }

  .knoepfe { flex-direction: row; flex-wrap: wrap; }
  .hero .knoepfe .knopf, .angebot .knoepfe .knopf { width: auto; }

  .marke__unter { display: block; }
  .marke__logo, .marke__logo-bild { width: 48px; height: 48px; }
  .marke__name { font-size: 20px; }

  ul.fakten__raster { grid-template-columns: repeat(4, minmax(0, 1fr)); padding-top: 28px; padding-bottom: 28px; }
  .fakt { align-items: center; }
  .fakt .icon { display: block; }

  .schritte { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .schritt { display: flex; flex-direction: column; gap: 10px; padding: 28px; border-radius: 22px; }
  .schritt__nr { font-size: 40px; }
  .schritt h3 { font-size: 22px; }
  .schritt p { font-size: 17px; }

  .einblicke { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 200px; gap: 16px; }
  .einblicke__feld { border-radius: 24px; }
  .einblicke__feld--4, .einblicke__feld--5 { display: block; }

  .termin { padding: 20px 24px; gap: 24px; border-radius: 20px; }
  .termin__datum { width: 76px; padding: 10px 0; border-radius: 16px; }
  .termin__tag, .termin__monat { font-size: 14px; }
  .termin__nr { font-size: 32px; }
  .termin__titel { font-size: 21px; }
  .termin__info { font-size: 17px; }

  /* Alle Angebote als Kacheln mit Bild – wie am Handy, nur größer */
  .kacheln { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
  .kachel { background: var(--weiss) !important; border: 1px solid var(--rand); border-radius: 22px; justify-content: flex-start; }
  .kachel__bild { display: block; height: 160px; }
  .kachel__bild img { width: 100%; height: 100%; object-fit: cover; }
  .kachel__bild .bild-platz { min-height: 0; }
  .kachel__text { padding: 20px 22px 22px; gap: 6px; }
  .kachel__titel { font-size: 22px; }
  .kachel__kurz { display: block; }
  .kachel__info { font-size: 16px; font-weight: 700; color: var(--petrol); }

  .whatsapp { flex-direction: row; align-items: center; padding: 48px; border-radius: 32px; }
  .whatsapp__text { flex: 1; }
  .whatsapp__text .knopf { align-self: flex-start; }

  .losung { padding: 40px; border-radius: 28px; }

  .stimmen__buehne { min-height: 240px; }
  .zitat { flex-direction: row; align-items: center; gap: 36px; }
  .zitat__foto { width: 180px; height: 180px; }
  .zitat__symbol .icon { width: 96px; height: 96px; }
  .zitat__text { font-size: clamp(28px, 3.4vw, 38px); }
  .zitat__name { font-size: 19px; }
  .zitat-raster { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .zitat-raster .zitat { flex-direction: column; align-items: flex-start; padding: 32px; }
  .zitat-raster .zitat__foto { width: 72px; height: 72px; }
  .zitat-raster .zitat__symbol .icon { width: 40px; height: 40px; }
  .zitat-raster .zitat__text { font-size: 24px; }

  .rhythmus { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
  .rhythmus__feld { padding: 24px; border-radius: 22px; min-height: 150px; }

  .werte { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
  .team { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }

  .fakten-liste > div { flex-direction: row; gap: 12px; }
  .fakten-liste dt { min-width: 160px; }

  .kapelle-galerie { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 170px; gap: 14px; }
  .kapelle-galerie__feld { border-radius: 22px; }
  .kapelle-galerie__feld--1 { grid-column: 1 / span 3; grid-row: 1 / span 2; border-radius: 28px; }
  .kapelle-galerie__feld--2 { grid-column: 4; grid-row: 1; }
  .kapelle-galerie__feld--3 { grid-column: 4; grid-row: 2; }
  .kapelle-galerie__feld--4 { display: none; }

  .spenden-karte { flex-direction: row; padding: 40px; gap: 48px; border-radius: 32px; }
  .spenden-karte__konto { flex: 1.2; }
  .spenden-karte__qr { flex: 1; }

  .fuss__raster { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-top: 56px; padding-bottom: 56px; }
  .seitenkopf { padding: 64px 0 40px; }
  .angebot__galerie > div { height: 200px; border-radius: 22px; }
}

/* =========================================================================
   Ab Computer-Breite
   ========================================================================= */
@media (min-width: 1000px) {
  :root { --abstand: 88px; }

  /* Menü immer sichtbar, kein Menü-Knopf */
  .kopf__zeile { flex-wrap: nowrap; }
  .js .menue-knopf { display: none; }
  .js .nav, .nav { display: block; width: auto; }
  .nav ul { flex-direction: row; align-items: center; gap: 2px; padding: 0; }
  .nav a { font-size: 18px; min-height: 46px; padding: 0 14px; border-radius: 10px; }
  .nav .nav__kontakt { margin: 0 0 0 8px; padding: 0 20px; }
  .nav .nav__nur-mobil { display: none; }

  .hero__raster { flex-direction: row; align-items: center; gap: 48px; padding-top: 72px; padding-bottom: 72px; }
  .hero__inhalt { flex: 1 1 52%; gap: 24px; }
  .hero__text { font-size: 22px; }
  .naechster { align-self: flex-start; padding: 14px 20px; border-radius: 18px; }
  .naechster__datum { font-size: 21px; }

  .schritte { grid-template-columns: repeat(4, minmax(0, 1fr)); }

  .zweispaltig { flex-direction: row; gap: 56px; }
  .zweispaltig__seite { flex: 1 1 32%; }
  .zweispaltig__haupt { flex: 2 1 60%; }
  .zweispaltig--mitte { align-items: center; }
  .zweispaltig--gleich > * { flex: 1 1 50%; }
  .zweispaltig--bild-rechts > .rund-bild { order: 2; }
  .zweispaltig__seite--breit { flex: 1.2 1 50%; }
  .zweispaltig--mitte .zweispaltig__haupt { flex: 1 1 44%; }
  .zweispaltig--termine .zweispaltig__seite { flex: 0 0 360px; position: sticky; top: 100px; align-self: flex-start; }
  .seitenleiste { flex: 0 0 380px !important; }

  .kapelle-bilder { grid-template-rows: 260px 160px; }
  .kapelle-bilder__gross { height: auto; border-radius: 28px; }
  .kapelle-bilder__klein { height: auto; }

  .seitenkopf__raster { flex-direction: row; align-items: center; gap: 48px; }
  .seitenkopf__text { flex: 1 1 52%; }
  .seitenkopf__bild { flex: 1 1 44%; height: 400px; border-radius: 28px; }
  .seitenkopf--petrol { padding: 72px 0; }

  .rund-bild { height: 420px; border-radius: 28px; }

  .angebot__raster { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 56px; align-items: center; }
  .angebot__bild { height: 440px; }
  .angebot--gespiegelt .angebot__bild { order: 2; }
  .angebot__galerie { grid-column: 1 / -1; order: 3; }

  .kapelle-galerie__feld--1 { grid-column: 1 / span 2; }
  .kapelle-galerie__feld--2 { grid-column: 3; }
  .kapelle-galerie__feld--3 { grid-column: 3; }
  .kapelle-galerie__feld--4 { display: block; grid-column: 4; grid-row: 1 / span 2; }

  .fuss__raster { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* =========================================================================
   Feinabstimmung nach dem Entwurf aus Claude Design (Handy zuerst)
   ========================================================================= */

/* Abstände links/rechts auch bei Listen, die gleichzeitig Hülle sind */
ul.huelle, ol.huelle { padding-left: var(--rand-seite); padding-right: var(--rand-seite); }

/* Menü-Knopf: nur das Symbol, wie im Entwurf */
.menue-knopf { width: 48px; height: 48px; padding: 0; justify-content: center; }

/* Hilfsklassen */
.fett { font-weight: 700; }
.gelb { color: var(--gelb) !important; }
.hell { color: var(--mint-text); }
.gross { font-size: 20px; }
.klein-grau { font-size: 16px; color: var(--grau); }
.kicker--gold { color: var(--gelb-zahl); }
.abstand-unten { margin-bottom: 28px; }
.knopf--mittel { min-height: 50px; padding: 0 24px; align-self: flex-start; }
.knopf--handy-breit { width: 100%; }

/* Einblicke: am Handy ein großes und zwei kleine Fotos */
.einblicke { grid-template-rows: 200px 130px; grid-auto-rows: 130px; }
.einblicke__feld--1 { grid-row: span 1; }

/* Zitate: Punkte und Weiter-Knopf unten */
.stimmen__fuss { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; }
.stimmen__fuss .stimmen__punkte { margin-top: 0; }

/* Kapelle auf der Startseite (Handy) */
.kapelle-handybild { height: 190px; border-radius: 20px; overflow: hidden; }
.kapelle-handybild img { width: 100%; height: 100%; object-fit: cover; }
.kapelle-handybild .bild-platz { min-height: 0; }

/* Knappe Fußzeile (Unterseiten, Handy) */
.fuss__knapp { display: flex; flex-direction: column; gap: 14px; padding-top: 36px; padding-bottom: 40px; }
.fuss__links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.fuss__knapp a.fuss__hervor { font-weight: 400; }
.fuss__recht { display: flex; flex-wrap: wrap; gap: 0 20px; }

/* Kopf der Unterseiten */
.seitenkopf--mint { background: var(--mint); }
.seitenkopf .titel-seite { font-size: clamp(38px, 9vw, 56px); line-height: 1.05; }
.seitenkopf--petrol .titel-seite { font-size: clamp(38px, 9vw, 60px); }
.abschnitt--seite { padding-top: 40px; }
.abschnitt--oben { padding-bottom: 0; }
.abschnitt--gelbhell { background: var(--gelb-hell); }
.abschnitt--gelbhell .zweispaltig > div { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.abschnitt--gelbhell .fliesstext { color: var(--grau); }
.sprungmarken a { background: var(--weiss); color: var(--text); min-height: 46px; padding: 0 18px; }
.sprungmarken a:hover { background: var(--petrol); color: var(--weiss); }

/* Schritte als Karten (Gottesdienst) */
.schritt--karte { display: flex; flex-direction: column; gap: 10px; padding: 28px; border-radius: 22px; }
.schritt--karte .schritt__nr { font-size: 40px; }
.schritt--karte h3 { font-size: 22px; }
.schritt--karte p { font-size: 17px; }

/* Vier-Wochen-Takt */
.rhythmus { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.rhythmus__feld { padding: 26px; border-radius: 22px; gap: 8px; min-height: 0; }
.rhythmus__woche { text-transform: none; letter-spacing: 0; font-size: 15px; opacity: 1; }
.rhythmus__feld--gd .rhythmus__woche { color: var(--gelb); }
.rhythmus__feld--gd .rhythmus__info { color: var(--mint-text); }
.rhythmus__titel { font-size: 28px; line-height: 1.1; }
.rhythmus__info { font-size: 17px; opacity: 1; }
.rhythmus__feld--frei { border: 2px dashed #C9D6D3; color: var(--grau); }
.rhythmus__feld--frei .rhythmus__titel { color: var(--text); }

.frage { border-radius: 18px; }
.frage summary { font-size: 20px; padding: 20px 52px 20px 24px; }
.frage__antwort { padding: 0 24px 20px; }
.gruppen-karten li { border-radius: 18px; padding: 18px; }
.gruppen-karten strong { font-size: 20px; }

/* Schluss-Zeile: Überschrift links, Knöpfe daneben */
.schluss__inhalt { align-items: flex-start; text-align: left; gap: 16px; }
.schluss .titel-gross { font-size: clamp(28px, 6vw, 36px); }

/* Termine-Seite */
.filter button { border-color: #C9D6D3; color: var(--text); }
.filter button[aria-pressed="true"] { border-color: var(--petrol); }
.monat__titel { font-size: 28px; }
.termine--liste .termin { background: var(--hell); border-color: transparent !important; }
.termine--liste .termin__monat { display: none; }
.termine--liste .termin--gruppe .termin__datum { background: var(--weiss); border: 2px solid var(--mint-mittel); }

.info-karte { border-radius: 24px; padding: 24px; }
.info-karte .knopf { align-self: flex-start; min-height: 50px; padding: 0 22px; }
.info-karte--petrol { background: var(--petrol); color: var(--weiss); }
.info-karte--petrol p { color: var(--mint-text); }
.info-karte--petrol .klein { color: var(--mint-gedimmt); }
.info-karte--petrol a:not(.knopf) { color: var(--gelb); }
.info-karte--petrol > .icon { color: var(--gelb); }
.info-karte--petrol .kicker { color: var(--gelb); }
.info-karte--gelbhell { background: var(--gelb-hell); }
.info-karte--gelbhell p { color: var(--grau); }
.info-karte--rand { background: transparent; border: 2px solid var(--rand); }
.info-karte .info-karte__klein { font-family: var(--schrift); font-size: 20px; font-weight: 700; }
.info-karte--rand p { color: var(--grau); font-size: 17px; }
.info-karte--gross { border-radius: 28px; padding: 28px; gap: 14px; }
.adresse-titel { font-family: var(--titel); font-weight: 600; font-size: clamp(24px, 6vw, 30px); line-height: 1.2; color: var(--weiss) !important; }

/* Angebote */
.angebot .fakten-liste { background: none; padding: 0; border-radius: 0; gap: 8px; font-size: 18px; }
.angebot .fakten-liste dt { min-width: 150px; }
.angebot__bild.rund-bild { height: 260px; }
.kreise li { background: var(--hell); border: 0; border-radius: 18px; padding: 16px 20px; }
.angebot--gespiegelt .kreise li { background: var(--weiss); }
.naechste-termine { background: none; padding: 0; color: var(--grau); font-size: 17px; }
.naechste-termine strong { color: var(--text); }
.angebot__galerie { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: 200px 140px; gap: 14px; height: auto; }
.angebot__galerie > div { height: auto; border-radius: 20px; overflow: hidden; }
.angebot__galerie .angebot__galerie-gross { grid-column: span 2; border-radius: 24px; }
.angebot__galerie img { width: 100%; height: 100%; object-fit: cover; }
.angebot__galerie .bild-platz { min-height: 0; }

/* Über uns */
.werte { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.wert { background: var(--hell); padding: 30px; gap: 12px; }
.wert > .icon { color: var(--petrol); }
.wert h3 { font-size: 24px; }
.wert--weiss { background: var(--weiss); padding: 28px; gap: 10px; }
.wert--weiss h3 { font-size: 22px; }
.losung-gelb { background: var(--gelb); border-radius: 24px; padding: 36px 22px; display: flex; flex-direction: column; gap: 14px; align-items: center; text-align: center; }
.losung-gelb .losung__jahr { color: var(--text); font-size: 15px; }
.losung-gelb__text { font-family: var(--titel); font-weight: 600; font-size: clamp(28px, 6.5vw, 46px); line-height: 1.12; max-width: 820px; }
.losung-gelb__stelle { font-size: 18px; }
.abschnitt-rand .losung-gelb { margin-top: 0; }
.zitat-karten { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.zitat-karte { margin: 0; background: var(--hell); border-radius: 24px; padding: 30px; display: flex; flex-direction: column; gap: 18px; justify-content: space-between; }
.zitat-karte--gelb { background: var(--gelb-hell); }
.zitat-karte blockquote { font-family: var(--titel); font-weight: 600; font-size: clamp(21px, 5vw, 24px); line-height: 1.3; }
.zitat-karte figcaption { display: flex; gap: 14px; align-items: center; line-height: 1.35; }
.zitat-karte figcaption > span:last-child { display: flex; flex-direction: column; }
.zitat-karte figcaption > span:last-child span { font-size: 16px; color: var(--grau); }
.zitat-karte__foto { width: 64px; height: 64px; flex-shrink: 0; border-radius: 50%; overflow: hidden; background: var(--petrol); color: var(--gelb); display: flex; align-items: center; justify-content: center; }
.zitat-karte__foto img { width: 100%; height: 100%; object-fit: cover; }
.team { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.person { border: 1px solid var(--rand); border-radius: 22px; overflow: hidden; gap: 0; }
.person__foto { aspect-ratio: auto; height: 240px; border-radius: 0; margin: 0; }
.person__text { padding: 20px; display: flex; flex-direction: column; gap: 4px; }
.person__name { font-size: 21px; }
.person__aufgabe { font-size: 17px; }
.verband-logo { background: var(--weiss); border-radius: 22px; height: 140px; justify-content: center; align-items: center; padding: 16px; }
.verband-logo img { max-height: 108px; }
.verband-logo__leer { color: var(--grau); opacity: .5; }

/* Kapelle */
.kapelle-galerie { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: 200px 110px; gap: 10px; grid-auto-rows: auto; }
.kapelle-galerie__feld--1 { grid-column: 1 / -1; grid-row: 1; }
.kapelle-galerie__feld--2, .kapelle-galerie__feld--3, .kapelle-galerie__feld--4 { grid-row: 2; }

/* Spenden */
.spenden-karte { background: none; padding: 0; border-radius: 0; gap: 20px; }
.spenden-karte__konto { border: 2px solid var(--rand); border-radius: 24px; padding: 24px 20px; gap: 20px; }
.spenden-karte__qr { background: var(--petrol); color: var(--weiss); border-radius: 24px; padding: 24px 20px; align-items: flex-start; }
.spenden-karte__qr p { color: var(--mint-text); }
.spenden-karte__qr .klein { color: var(--mint-gedimmt); }
.konto dt { font-size: 19px; color: var(--text); font-weight: 700; }
.konto dd { font-weight: 400; color: var(--text); }
.konto__iban { font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; letter-spacing: 1px; }

/* Kontakt */
.formular__zeile { display: grid; gap: 18px; }
.feld input[type="text"], .feld input[type="email"], .feld select, .feld textarea { border-color: #C9D6D3; border-radius: 14px; }
.person-karte { background: var(--hell); }
.person-karte__foto { width: 72px; height: 72px; }
.ansprech-liste { display: flex; flex-direction: column; gap: 10px; font-size: 17px; }
.ansprech-liste > div { display: flex; justify-content: space-between; gap: 12px; }
.ansprech-liste dt { font-weight: 700; }
.ansprech-liste dd { margin: 0; color: var(--grau); text-align: right; }

@media (min-width: 560px) {
  .formular__zeile { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 760px) {
  .knopf--handy-breit { width: auto; align-self: flex-start; }
  .einblicke { grid-template-rows: 200px 200px; grid-auto-rows: 200px; }
  .einblicke__feld--1 { grid-row: span 2; }
  .stimmen__fuss { justify-content: flex-start; }
  .fuss__knapp { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; padding-top: 48px; padding-bottom: 48px; }
  .fuss__knapp .fuss__name { margin: 0; }
  .fuss__links { flex-direction: row; flex-wrap: wrap; gap: 0 24px; }
  .fuss__recht { gap: 0 24px; }
  .abschnitt--seite { padding-top: 56px; }
  .seitenkopf--mint { padding: 56px 0; }
  .schluss__inhalt { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; }
  .losung-gelb { border-radius: 32px; padding: 56px 48px; }
  .angebot__bild.rund-bild { height: 340px; border-radius: 28px; }
  .info-karte { padding: 28px; }
  .info-karte--gross { padding: 32px; }
  .kapelle-galerie { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: 240px 240px; gap: 16px; }
  .kapelle-galerie__feld { border-radius: 24px; }
  .kapelle-galerie__feld--1 { grid-column: 1 / span 2; grid-row: 1 / span 2; border-radius: 28px; }
  .kapelle-galerie__feld--2 { grid-column: 3 / span 2; grid-row: 1; display: block; }
  .kapelle-galerie__feld--3 { grid-column: 3; grid-row: 2; }
  .kapelle-galerie__feld--4 { grid-column: 4; grid-row: 2; display: block; }
  .spenden-karte { gap: 32px; }
  .spenden-karte__konto { flex: 3 1 0; padding: 36px; border-radius: 28px; }
  .spenden-karte__qr { flex: 2 1 0; padding: 36px; border-radius: 28px; }
  .konto > div { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 4px 16px; }
  .konto dt { min-width: 170px; }
}

@media (min-width: 1000px) {
  .seitenkopf--petrol { padding: 64px 0; }
  .seitenkopf--petrol .seitenkopf__bild { height: 360px; }
  .angebot__raster--oben { align-items: flex-start; }
  .zweispaltig--termine .zweispaltig__seite { flex-basis: 360px; }
}

/* Druck: nur Inhalt */
/* ---------- Feinere Darstellung am Rechner ----------
   Etwas kleinere Schrift und ein kompakterer Startblock, damit die Seite am
   Rechner nicht zu wuchtig wirkt und die Info-Leiste unter dem Startblock
   schon im ersten Bild zu sehen ist. */
@media (min-width: 1000px) {
  body { font-size: 17px; }
  .nav a { font-size: 16px; min-height: 42px; padding: 0 12px; }
  .knopf { font-size: 16px; }
  .knopf--gross { font-size: 17px; }

  .titel-seite, .hero__titel { font-size: clamp(38px, 4.2vw, 56px); }
  .titel-gross { font-size: clamp(30px, 3.2vw, 40px); }
  .titel-mittel { font-size: clamp(26px, 2.6vw, 32px); }

  .hero__raster { padding-top: 72px; padding-bottom: 80px; min-height: 540px; }
  .hero__inhalt { flex: 0 1 560px; gap: 20px; }
  .hero__hintergrund { bottom: 0; height: auto; left: 30%; left: round(down, 30%, 1px); }
  .hero__hintergrund::after {
    background: linear-gradient(90deg, var(--petrol) 0%, var(--petrol) 3px, rgba(11, 85, 99, .85) 22%, rgba(11, 85, 99, .35) 45%, rgba(11, 85, 99, 0) 65%);
  }

  .einladung__raster { flex-direction: row; align-items: center; justify-content: space-between; gap: 56px; }
  .einladung__termine { flex: 0 0 400px; }
  .hero__text { font-size: 19px; }
  .naechster__datum { font-size: 19px; }

  .fakten { border-bottom: 1px solid var(--mint-mittel); }
  ul.fakten__raster { padding-top: 28px; padding-bottom: 28px; }
  .fakt strong { font-size: 18px; }
  .fakt .icon { width: 36px; height: 36px; }

  .schritt__nr { font-size: 34px; }
  .schritt h3 { font-size: 20px; }
  .termin__titel { font-size: 19px; }
  .termin__info { font-size: 16px; }
  .kachel__titel { font-size: 20px; }
  .zitat__text { font-size: clamp(24px, 2.6vw, 32px); }
  .losung__text { font-size: 32px; }
  .losung--gross .losung__text, .losung-gelb__text { font-size: 38px; }
}

@media print {
  .kopf, .fuss, .filter, .menue-knopf, .stimmen__pfeile, .stimmen__punkte { display: none !important; }
  .reveal { animation: none !important; }
  body { font-size: 12pt; }
}

/* Nummern-Schilder an den Bildstellen (nur mit ?bildnummern in der Adresse) */
.bildnr { position: absolute; top: 10px; left: 10px; z-index: 5; max-width: calc(100% - 20px); background: var(--gelb); color: var(--text); font-weight: 700; font-size: 14px; line-height: 1.3; padding: 4px 10px; border-radius: 999px; box-shadow: 0 2px 8px rgba(0, 0, 0, .25); scroll-margin-top: 120px; pointer-events: none; }
:has(> .bildnr):not(.hero__hintergrund) { position: relative; }
.hero__hintergrund > .bildnr { top: auto; bottom: 120px; left: auto; right: 16px; }

/* =========================================================================
   Hinweis-Fenster (besondere Anlässe) und Keks-Fenster (Google Analytics)
   Beide schweben unten am Rand und verdecken keinen Text dauerhaft.
   ========================================================================= */

.hinweis-fenster {
  position: fixed; z-index: 800; right: 20px; bottom: 20px;
  width: min(420px, calc(100% - 40px));
  display: flex; gap: 18px; align-items: flex-start;
  padding: 20px 48px 20px 20px;
  background: var(--weiss); color: var(--text);
  border-radius: var(--rund-m); border-top: 6px solid var(--gelb);
  box-shadow: 0 14px 40px rgba(20, 35, 43, .22), 0 2px 6px rgba(20, 35, 43, .08);
  animation: fenster-rein .5s cubic-bezier(.2, .8, .2, 1) both;
}
.hinweis-fenster[hidden] { display: none; }
.hinweis-fenster.ist-weg { animation: fenster-raus .25s ease-in both; }
.hinweis-fenster__zu {
  position: absolute; top: 8px; right: 8px; width: 36px; height: 36px;
  display: grid; place-items: center; border: 0; border-radius: 50%;
  background: transparent; color: var(--grau); cursor: pointer;
}
.hinweis-fenster__zu:hover { background: var(--hell); color: var(--text); }
.hinweis-fenster--bild { width: min(520px, calc(100% - 40px)); }
.hinweis-fenster__bild {
  position: relative; flex: 0 0 160px; width: 160px; aspect-ratio: 3 / 4; padding: 0; border: 0; cursor: zoom-in;
  border-radius: var(--rund-s); overflow: hidden; background: var(--mint); color: var(--petrol);
  box-shadow: 0 0 0 1px var(--rand);
}
a.hinweis-fenster__bild { cursor: pointer; }
.hinweis-fenster__bild img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .3s ease; }
.hinweis-fenster__bild:hover img { transform: scale(1.04); }
.hinweis-fenster__pdf { display: grid; place-items: center; align-content: center; gap: 4px; height: 100%; font-weight: 700; }
.hinweis-fenster__marke {
  position: absolute; left: 8px; bottom: 8px; display: grid; place-items: center; min-width: 28px; height: 28px; padding: 0 8px;
  border-radius: 999px; background: var(--gelb); color: var(--text); font-size: 13px; font-weight: 700;
}
.hinweis-fenster__datei { margin-top: 8px; font-size: 15px; }
.hinweis-fenster__text { min-width: 0; }
.hinweis-fenster__kicker {
  display: flex; align-items: center; gap: 6px; margin-bottom: 4px;
  font-size: 13px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; color: var(--gelb-zahl);
}
.hinweis-fenster__titel { font-family: var(--titel); font-weight: 800; font-size: 23px; line-height: 1.15; text-wrap: balance; }
.hinweis-fenster__info {
  margin-top: 8px; font-size: 16px; line-height: 1.5; color: var(--grau);
  display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden;
}
.hinweis-fenster__knopf {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; min-height: 40px; padding: 0 16px;
  border-radius: 999px; background: var(--petrol); color: var(--weiss); font-weight: 700; font-size: 16px; text-decoration: none;
}
.hinweis-fenster__knopf:hover { background: var(--petrol-dunkel); color: var(--weiss); }

/* Bild oder Flyer groß */
.bild-gross { padding: 0; border: 0; background: transparent; max-width: 94vw; max-height: 92vh; overflow: visible; }
.bild-gross::backdrop { background: rgba(7, 59, 69, .82); }
.bild-gross img { max-width: 94vw; max-height: 88vh; width: auto; border-radius: var(--rund-s); box-shadow: 0 20px 60px rgba(0, 0, 0, .4); }
.bild-gross form { position: absolute; top: -18px; right: -10px; }
.bild-gross__zu { width: 48px; height: 48px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--gelb); color: var(--text); cursor: pointer; }

/* Sprung vom Hinweis-Fenster zu einem Termin */
.termin:target { outline: 3px solid var(--gelb); outline-offset: 3px; background: var(--gelb-hell) !important; }

/* ---------- Keks-Fenster ---------- */

.kekse {
  position: fixed; z-index: 850; left: 20px; bottom: 20px;
  width: min(420px, calc(100% - 40px));
  background: var(--weiss); color: var(--text);
  border-radius: var(--rund-l); overflow: hidden;
  box-shadow: 0 18px 50px rgba(20, 35, 43, .28), 0 2px 6px rgba(20, 35, 43, .08);
  animation: fenster-rein .5s cubic-bezier(.2, .8, .2, 1) both;
}
.kekse[hidden] { display: none; }
.kekse.ist-weg { animation: fenster-raus .25s ease-in both; }
.kekse__bild { background: var(--gelb-hell); height: 128px; overflow: hidden; position: relative; }
.kekse__bild img { position: absolute; left: 0; bottom: -6px; width: 240px; height: auto; animation: hand-rein .9s .25s cubic-bezier(.2, .9, .25, 1.15) both; }
.kekse__inhalt { padding: 18px 22px 22px; }
.kekse__titel { font-family: var(--titel); font-weight: 800; font-size: 24px; line-height: 1.15; }
.kekse__text { margin-top: 8px; font-size: 16px; line-height: 1.5; color: var(--grau); }
.kekse__mehr { margin-top: 8px; font-size: 15px; }
.kekse__knoepfe { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.kekse__knoepfe .knopf { min-height: 48px; padding: 0 12px; font-size: 17px; }

.fuss__knopf-link { padding: 0; border: 0; background: none; color: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-size: inherit; }

@keyframes fenster-rein { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes fenster-raus { to { opacity: 0; transform: translateY(16px); } }
@keyframes hand-rein { from { transform: translateX(-105%) rotate(-4deg); } to { transform: none; } }

/* Mit Bearbeiten-Leiste: etwas höher, damit nichts verdeckt wird */
.bea-an .hinweis-fenster, .bea-an .kekse { bottom: 96px; }

@media (max-width: 759px) {
  .hinweis-fenster {
    left: 10px; right: 10px; bottom: 10px; width: auto;
    padding: 12px 44px 12px 12px; gap: 12px; border-top-width: 5px;
    bottom: calc(10px + env(safe-area-inset-bottom));
  }
  .hinweis-fenster--bild { width: auto; }
  .hinweis-fenster__bild { flex-basis: 66px; width: 66px; }
  .hinweis-fenster__marke { left: 4px; bottom: 4px; min-width: 22px; height: 22px; padding: 0 5px; font-size: 11px; }
  .hinweis-fenster__datei { display: none; }
  .hinweis-fenster__kicker { font-size: 12px; margin-bottom: 2px; }
  .hinweis-fenster__titel { font-size: 17px; }
  .hinweis-fenster__info { display: none; }
  .hinweis-fenster__knopf { margin-top: 8px; min-height: 36px; padding: 0 14px; font-size: 15px; }

  .kekse { left: 0; right: 0; bottom: 0; width: 100%; border-radius: var(--rund-m) var(--rund-m) 0 0; }
  .kekse__bild { height: 78px; }
  .kekse__bild img { width: 150px; bottom: -4px; }
  .kekse__inhalt { padding: 12px 16px calc(14px + env(safe-area-inset-bottom)); }
  .kekse__titel { font-size: 20px; }
  .kekse__text { font-size: 14.5px; line-height: 1.45; margin-top: 4px; }
  .kekse__mehr { font-size: 14px; margin-top: 4px; }
  .kekse__knoepfe { margin-top: 12px; }
  .kekse__knoepfe .knopf { min-height: 46px; font-size: 16px; }
  .bea-an .hinweis-fenster { bottom: 76px; }
}

@media (prefers-reduced-motion: reduce) {
  .hinweis-fenster, .kekse, .kekse__bild img, .hinweis-fenster.ist-weg, .kekse.ist-weg { animation: none !important; }
}

@media print { .hinweis-fenster, .kekse { display: none !important; } }

/* ---------- Lebensfragen ---------- */

.fragen-themen { display: grid; gap: 16px; margin-top: 28px; }
.fragen-thema { background: var(--weiss); border-radius: 24px; padding: 22px 22px 10px; border: 2px solid var(--petrol); }
.fragen-thema--1, .fragen-thema--2 { border-color: var(--gelb); }
.fragen-thema__titel { display: flex; align-items: center; gap: 12px; font-family: var(--titel); font-weight: 600; font-size: 22px; line-height: 1.2; margin-bottom: 6px; }
.fragen-thema__icon { color: var(--petrol); display: flex; flex-shrink: 0; }
.fragen-thema__icon .icon { width: 26px; height: 26px; }
.fragen-thema--1 .fragen-thema__icon, .fragen-thema--2 .fragen-thema__icon { color: var(--gelb-zahl); }
.fragen-thema ul { display: flex; flex-direction: column; list-style: none; padding: 0; margin: 0; }
.fragen-thema li { position: relative; padding: 14px 0 14px 26px; line-height: 1.45; font-size: 18px; }
.fragen-thema li + li { border-top: 1px solid var(--rand); }
.fragen-thema li::before { content: "?"; position: absolute; left: 2px; top: 13px; font-family: var(--titel); font-weight: 800; color: var(--petrol); }
.fragen-thema details summary { cursor: pointer; }
.fragen-thema__antwort { color: var(--grau); margin-top: 8px; }
.seelsorge-zitat { margin: 28px 0 0; padding: 22px 24px; border-left: 5px solid var(--gelb); background: var(--weiss); border-radius: 0 20px 20px 0; }
.seelsorge-zitat blockquote { margin: 0; font-family: var(--titel); font-weight: 600; font-size: 22px; line-height: 1.35; color: var(--petrol); }
.seelsorge-zitat figcaption { margin-top: 10px; color: var(--grau); }
.melden-karte { background: var(--weiss); gap: 16px; }
.melden-karte .person-karte { padding: 0; background: none; }
.melden-karte__foto { border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 3; margin: -6px -6px 4px; position: relative; }
.melden-karte__foto img, .melden-karte__foto .bild-platz { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; min-height: 0; }
.lebensfragen-kopf { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.melden-karte .knopf { gap: 10px; }
.melden-text { margin-top: 32px; display: flex; flex-direction: column; gap: 10px; }
.weiterlesen { display: grid; gap: 16px; }
.video-karte { display: flex; gap: 18px; align-items: center; background: var(--petrol); color: var(--weiss); border-radius: 22px; padding: 22px; text-decoration: none; }
.video-karte:hover { color: var(--weiss); background: var(--petrol-dunkel); }
.video-karte__abspielen { flex: 0 0 68px; height: 68px; border-radius: 50%; background: var(--gelb); color: var(--text); display: flex; align-items: center; justify-content: center; padding-left: 4px; }
.video-karte__text { display: flex; flex-direction: column; gap: 4px; }
.video-karte__titel { font-family: var(--titel); font-weight: 600; font-size: 22px; line-height: 1.25; }
.video-karte .klein { color: var(--mint-gedimmt); }
.link-liste { display: flex; flex-direction: column; gap: 10px; }
.link-liste a { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--hell); border-radius: 18px; padding: 16px 18px; text-decoration: none; color: var(--text); }
.link-liste a:hover { background: var(--mint); }
.link-liste a > span { display: flex; flex-direction: column; }
.link-liste a > span > span { color: var(--grau); font-size: 16px; }
.link-liste .icon { color: var(--petrol); flex-shrink: 0; }
/* Familienberatung mit Flyer */
.beratung { display: flex; flex-direction: column; gap: 28px; background: var(--gelb-hell); border-radius: var(--rund-l); padding: 28px 22px; }
.beratung__text { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.beratung__zeit { display: flex; gap: 10px; align-items: flex-start; font-weight: 700; }
.beratung__zeit .icon { color: var(--petrol); flex-shrink: 0; margin-top: 2px; }
.beratung__knoepfe { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.beratung__knoepfe .knopf { gap: 10px; }
.beratung__bild { display: block; border-radius: var(--rund-m); overflow: hidden; aspect-ratio: 4 / 3; }
.beratung__bild img, .beratung__bild .bild-platz { width: 100%; height: 100%; object-fit: cover; }
.haken-liste--eng { margin: 4px 0 8px; gap: 10px; }
.notfall { display: flex; flex-direction: column; gap: 24px; }
.notfall__wege { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.notfall__wege .knopf { gap: 10px; }

@media (min-width: 760px) {
  .fragen-themen { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .weiterlesen { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
  .beratung { flex-direction: row; align-items: stretch; gap: 48px; padding: 44px 48px; }
  .beratung__text { flex: 1; }
  .beratung__bild { flex: 0 0 44%; aspect-ratio: auto; min-height: 340px; }
  .beratung .haken-liste--eng { grid-template-columns: 1fr; }
  .notfall { flex-direction: row; align-items: center; justify-content: space-between; gap: 48px; }
  .notfall > div:first-child { max-width: 560px; }
}
@media (min-width: 1000px) {
  .fragen-thema { padding: 28px 30px 14px; }
  .video-karte { padding: 28px; }
}

/* ---------- Familienberatung ---------- */
.info-karte--weiss { background: var(--weiss); border: 1px solid var(--rand); }
.zurueck-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; font-size: 16px; }
.beratung-schild { display: inline-block; background: var(--gelb); color: var(--text); font-weight: 700; border-radius: 999px; padding: 6px 16px; font-size: 15px; }
.beratung-bereiche { display: grid; gap: 10px; }
.beratung-bereiche li { display: flex; align-items: center; gap: 12px; background: var(--mint); border-radius: 18px; padding: 14px 16px; font-weight: 700; color: var(--petrol-dunkel); }
.beratung-bereiche__icon { flex: 0 0 42px; width: 42px; height: 42px; border-radius: 50%; background: var(--petrol); color: var(--gelb); display: inline-flex; align-items: center; justify-content: center; }
.beratung-themen { margin-top: 44px; }
.haken-liste { display: grid; gap: 12px; margin-top: 20px; }
.haken-liste li { position: relative; padding-left: 36px; }
.haken-liste li::before { content: ""; position: absolute; left: 0; top: 2px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--gelb) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23073B45' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 68% no-repeat; }
.beratung-karten { display: grid; gap: 16px; }
.titel-karte { font-family: var(--titel); font-weight: 600; font-size: 24px; line-height: 1.2; color: var(--petrol-dunkel); display: flex; align-items: center; gap: 12px; }
.punkt-liste { display: grid; gap: 8px; }
.punkt-liste li { position: relative; padding-left: 22px; }
.punkt-liste li::before { content: ""; position: absolute; left: 2px; top: 10px; width: 9px; height: 9px; border-radius: 50%; background: var(--petrol); }
.beratung-zeit { gap: 14px; padding: 28px; }
.beratung-zeit p { color: var(--mint-text); }
.beratung-zeit__gross { font-family: var(--titel); font-weight: 600; font-size: clamp(26px, 5vw, 36px); line-height: 1.15; color: var(--weiss) !important; }
.beratung-zeit .beratung__zeit .icon { color: var(--gelb); }
.beratung-zeit strong { color: var(--weiss); }
.beratung-zeit .beratung__zeit { font-weight: 400; }
.beratung-kosten { display: flex; flex-direction: column; gap: 24px; }
.beratung-konto dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; }
.beratung-konto dt { color: var(--grau); }
.beratung-konto dd { margin: 0; }
.beratung-konto__daten { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.beratung-konto__qr { order: 2; display: flex; flex-direction: column; align-items: center; gap: 6px; align-self: flex-start; }
.beratung-konto__qr .qr { width: 150px; height: 150px; padding: 0; border-radius: 0; }
.beratung-konto__qr .klein { font-weight: 700; color: var(--petrol); }
.beratung-bereiche li.beratung-bereiche__gelb { background: var(--gelb-hell); color: var(--gelb-text); }
.beratung-bereiche__gelb .beratung-bereiche__icon { background: var(--gelb); color: var(--petrol-dunkel); }
.beratung-team { margin-top: 20px; }

.flyer-karten { display: grid; gap: 16px; }
.flyer-karte { display: flex; gap: 18px; align-items: center; background: var(--hell); border-radius: 22px; padding: 18px; text-decoration: none; color: var(--text); }
.flyer-karte:hover { background: var(--mint); color: var(--text); }
.abschnitt--hell .flyer-karte { background: var(--weiss); border: 1px solid var(--rand); }
.abschnitt--hell .flyer-karte:hover { background: var(--mint); }
.flyer-karte__bild { flex: 0 0 96px; border-radius: 8px; overflow: hidden; box-shadow: 0 8px 20px rgba(7, 59, 69, .18); }
.flyer-karte__bild--hoch { flex-basis: 70px; margin: 0 13px; }
.flyer-karte__bild img { width: 100%; }
.flyer-karte__text { display: flex; flex-direction: column; gap: 4px; }
.flyer-karte__text strong { font-family: var(--titel); font-weight: 600; font-size: 21px; }
.flyer-karte__text > span { color: var(--grau); font-size: 16px; }
.flyer-karte__los { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; font-weight: 700; color: var(--petrol) !important; }
.flyer-karte--angebot { margin: 4px 0 24px; max-width: 460px; }
@media (min-width: 760px) {
  .beratung-bereiche { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .haken-liste { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
  .beratung-karten { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .beratung-kosten { flex-direction: row; align-items: center; gap: 48px; }
  .beratung-kosten > div:first-child { flex: 1; }
  .beratung-konto { flex: 0 0 600px; flex-direction: row; align-items: center; gap: 28px; padding: 26px 28px; }
  .beratung-konto__qr { order: 0; align-self: center; }
  .beratung-konto .fett { white-space: nowrap; }
  .flyer-karten { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
}

/* ---------- Nächster Termin bei Angeboten, Hauskreise ---------- */

.naechster-termin { display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; background: var(--gelb-hell); border-radius: 999px; padding: 8px 16px 8px 12px; font-size: 17px; }
.naechster-termin .icon { color: var(--petrol); flex-shrink: 0; }
.angebot--gespiegelt .naechster-termin { background: var(--weiss); }
.kachel__info--termin { color: var(--petrol); font-weight: 700; }
.kreise--raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.kreise--raster li { flex-direction: column; align-items: flex-start; justify-content: space-between; padding: 14px 16px; }
.kapelle-offen { display: flex; gap: 14px; align-items: flex-start; background: var(--gelb-hell); border-radius: 20px; padding: 16px 18px; margin-top: 22px; }
.kapelle-offen .icon { color: var(--petrol); flex-shrink: 0; align-self: center; }
.kapelle-offen p { margin: 0; }

/* Startbild am Rechner so hoch, dass unten gerade noch „Zum ersten Mal hier?“ zu sehen ist.
   Abgezogen werden: Kopfzeile (69), Leiste „Auf einen Blick“ (100), Abstand über der Zeile (48), sichtbare Zeile (30). */
@media (min-width: 1000px) {
  .hero__raster { min-height: max(580px, calc(100vh - 247px)); min-height: max(580px, calc(100svh - 247px)); }
}

/* „Zum ersten Mal hier?“ rückt näher an die Leiste „Auf einen Blick“ (etwa halber Abstand). */
.fakten + .abschnitt { padding-top: calc(var(--abstand) * .55); }

/* Startseite am Rechner: Knöpfe etwas abgesetzt, etwa mittig zwischen
   „Nächster Gottesdienst“ und der Leiste darunter. Der freie Platz wird
   gleichmäßig verteilt: über dem Text, über den Knöpfen und unter den Knöpfen. */
@media (min-width: 1000px) {
  .hero__raster { align-items: stretch; padding-bottom: 36px; }
  .hero__inhalt > :first-child { margin-top: auto; }
  .hero__knoepfe { margin-top: auto; margin-bottom: auto; padding-top: 8px; }
}

/* ---------- Kapelle: Geschichte (aufklappbar) ---------- */

.geschichte { margin-top: 22px; }
.geschichte > summary { list-style: none; cursor: pointer; display: inline-flex; }
.geschichte > summary::-webkit-details-marker { display: none; }
.geschichte__zu, .geschichte[open] .geschichte__auf { display: none; }
.geschichte[open] .geschichte__zu { display: inline; }
.zeitleiste { list-style: none; padding: 0; margin: 28px 0 16px; position: relative; }
.zeitleiste::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: var(--mint-mittel); }
.zeitleiste li { position: relative; padding: 0 0 26px 36px; }
.zeitleiste li::before { content: ""; position: absolute; left: 0; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--weiss); border: 3px solid var(--petrol); box-sizing: border-box; }
.zeitleiste li:last-child::before { background: var(--gelb); border-color: var(--gelb); }
.zeitleiste__jahr { display: block; font-family: var(--titel); font-weight: 800; font-size: 20px; color: var(--petrol); }
.zeitleiste p { color: var(--grau); margin-top: 4px; max-width: 640px; }
.grau { color: var(--grau); }

/* Logos (Angebot mit „Bild nicht beschneiden“): ganz zeigen, auf weißem Grund */
.bild-ganz { background: var(--weiss); border: 1px solid var(--rand); }
.bild-ganz img { object-fit: contain !important; padding: 8%; box-sizing: border-box; }
/* Bild ganz zeigen, freie Fläche mit verschwommener Vergrößerung füllen (z. B. Flyer) */
.bild-unscharf { position: relative; overflow: hidden; }
.bild-unscharf img { position: relative; object-fit: contain !important; }
.bild-unscharf img.bild-unscharf__grund { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover !important; filter: blur(22px) brightness(.9); transform: scale(1.2) !important; }

/* Termine: Gottesdienste und Frühstücke immer gelb umrandet */
.termin.termin--gd, .termin.termin--fr,
.termine--liste .termin.termin--gd, .termine--liste .termin.termin--fr { border-color: var(--gelb) !important; }
.filter button { white-space: nowrap; }
@media (min-width: 1000px) { .filter button { padding: 0 15px; } }

/* Testdatum aktiv (nur Testseite) */
.testdatum-leiste { background: #B42318; color: #fff; text-align: center; font-size: 14px; font-weight: 700; padding: 6px 12px; }
/* Hinweis für Angemeldete: Termine warten auf Freigabe */
.freigabe-leiste { background: #FFC94D; color: #14232B; text-align: center; font-size: 15px; font-weight: 700; padding: 8px 12px; }
.freigabe-leiste a { color: #14232B; margin-left: 6px; }

/* ---------- Über uns: Gemeindeleben (Fotos zum Durchwischen) ---------- */

.gemeindeleben__kopf { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.gemeindeleben__kopf > div:first-child { max-width: 680px; }
.gemeindeleben__pfeile { display: flex; gap: 10px; flex-shrink: 0; }
.gemeindeleben__pfeile[hidden] { display: none; }
ul.galerie {
  list-style: none; margin: 0; padding: 0 var(--rand-seite) 8px;
  display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory;
  scroll-padding-left: var(--rand-seite); scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.galerie::-webkit-scrollbar { display: none; }
.galerie:focus-visible { outline: 3px solid var(--gelb); outline-offset: 4px; }
.galerie__folie { flex: 0 0 85%; aspect-ratio: 4 / 3; border-radius: 22px; overflow: hidden; scroll-snap-align: start; position: relative; }
.galerie__folie img, .galerie__folie .bild-platz { width: 100%; height: 100%; object-fit: cover; min-height: 0; }
@media (max-width: 759px) { .gemeindeleben__pfeile { display: none; } }
@media (min-width: 760px) { .galerie__folie { flex-basis: 48%; } }
@media (min-width: 1000px) {
  ul.galerie { padding-left: max(var(--rand-seite), calc((100% - 1200px) / 2 + var(--rand-seite))); scroll-padding-left: max(var(--rand-seite), calc((100% - 1200px) / 2 + var(--rand-seite))); }
  .galerie__folie { flex-basis: 40%; border-radius: 26px; }
}
.gemeindeleben__pfeile .rund-knopf { border-color: var(--petrol); color: var(--petrol); background: var(--weiss); }
.gemeindeleben__pfeile .rund-knopf:hover { background: var(--petrol); color: var(--weiss); }

/* ---------- Mehrere Fotos an einer Stelle (Gemeindehaus) ---------- */
.bildwechsler { position: relative; }
.bildwechsler__liste {
  list-style: none; margin: 0; padding: 0; height: 100%;
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.bildwechsler__liste::-webkit-scrollbar { display: none; }
.bildwechsler__liste:focus-visible { outline: 3px solid var(--gelb); outline-offset: -3px; }
.bildwechsler__folie { flex: 0 0 100%; height: 100%; scroll-snap-align: start; }
.bildwechsler__folie img { width: 100%; height: 100%; object-fit: cover; }
.bildwechsler__pfeil {
  position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%;
  border: 0; background: rgba(255, 255, 255, .92); color: var(--petrol); display: grid; place-items: center;
  cursor: pointer; box-shadow: 0 4px 14px rgba(0, 0, 0, .18);
}
.bildwechsler__pfeil:hover { background: var(--gelb); color: var(--text); }
.bildwechsler__pfeil[hidden] { display: none; }
.bildwechsler__pfeil--zurueck { left: 12px; }
.bildwechsler__pfeil--weiter { right: 12px; }
.bildwechsler__zahl {
  position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); padding: 3px 12px; border-radius: 999px;
  background: rgba(7, 59, 69, .75); color: var(--weiss); font-size: 15px; pointer-events: none;
}

/* ---------- Foto groß ansehen ---------- */
.foto-klickbar { cursor: zoom-in; }
.foto-klickbar:focus-visible { outline: 3px solid var(--gelb); outline-offset: -3px; }
.foto-gross__pfeil {
  position: fixed; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; border: 0;
  background: var(--weiss); color: var(--petrol); display: grid; place-items: center; cursor: pointer;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .3);
}
.foto-gross__pfeil:hover { background: var(--gelb); color: var(--text); }
.foto-gross__pfeil[hidden], .foto-gross__zahl[hidden] { display: none; }
.foto-gross__pfeil--zurueck { left: 16px; }
.foto-gross__pfeil--weiter { right: 16px; }
.foto-gross__zahl { position: fixed; bottom: 14px; left: 50%; transform: translateX(-50%); margin: 0; color: var(--weiss); font-size: 16px; }
@media (max-width: 759px) {
  .foto-gross__pfeil { width: 44px; height: 44px; top: auto; bottom: 8px; transform: none; }
  .foto-gross__pfeil--zurueck { left: calc(50% - 110px); }
  .foto-gross__pfeil--weiter { right: calc(50% - 110px); }
  .foto-gross__zahl { bottom: 20px; }
}

/* ---------- Fußzeile: auf allen Seiten gleich ---------- */
.fuss { background: var(--petrol-dunkel); border-top: 6px solid var(--gelb); }
.fuss__raster { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; padding-top: 44px; padding-bottom: 32px; }
.fuss__spalte--marke { grid-column: 1 / -1; }
.fuss__spalte p { margin: 0; }
.fuss__titel { text-transform: uppercase; letter-spacing: .08em; font-size: 14px; color: var(--gelb); margin-bottom: 4px !important; }
.fuss__klein { font-size: 15px; color: var(--mint-gedimmt); }
.fuss a.fuss__hervor { color: var(--weiss); font-weight: 400; text-decoration: underline; text-decoration-color: rgba(255, 201, 77, .6); text-underline-offset: 4px; min-height: 36px; }
.fuss a.fuss__hervor:hover { text-decoration-color: var(--gelb); }
.fuss__unten { display: flex; flex-direction: column; gap: 6px; padding-top: 18px; padding-bottom: 26px; border-top: 1px solid rgba(255, 255, 255, .15); font-size: 15px; color: var(--mint-gedimmt); }
.fuss__unten p { margin: 0; }
.fuss__unten a, .fuss__unten .fuss__knopf-link { color: var(--mint-gedimmt); min-height: 32px; }
.fuss__recht { display: flex; flex-wrap: wrap; gap: 0 20px; }
/* Handy und Tablet: „Mittragen“ über die ganze Breite, Links nebeneinander */
@media (max-width: 999px) {
  .fuss__spalte--mittragen { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 4px 24px; }
  .fuss__spalte--mittragen .fuss__titel { flex-basis: 100%; }
}
@media (min-width: 1000px) {
  .fuss__raster { grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 32px; padding-top: 56px; padding-bottom: 44px; }
  .fuss__spalte--marke { grid-column: auto; }
  .fuss__unten { flex-direction: row; justify-content: space-between; align-items: center; }
}

/* ---------- Zitate als Sprechblasen (Startseite und Über uns) ----------
   Dunkles Petrol, Sprechblasen nebeneinander zum Wischen bzw. mit Pfeilen;
   die nächste Blase schaut am Rand hervor. Unter jeder Blase Rundfoto (oder Anfangsbuchstabe), Vorname und Alter. */
.abschnitt--blasen { background: var(--petrol-dunkel); color: var(--weiss); }
.abschnitt--blasen :focus-visible { outline-color: var(--gelb); }
.blasen__kopf { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.blasen__kopf .titel-gross { margin-top: 10px; }
.blasen__pfeile { display: flex; gap: 10px; flex-shrink: 0; }
.blasen__pfeile[hidden], .blasen__fuss[hidden] { display: none; }
.abschnitt--blasen .rund-knopf--rand { border-color: var(--petrol-linie); }
.abschnitt--blasen .rund-knopf--rand:hover { border-color: var(--weiss); }
ul.blasen__liste {
  list-style: none; margin: 0; padding: 0 var(--rand-seite) 4px;
  display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory;
  scroll-padding-left: var(--rand-seite); scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.blasen__liste::-webkit-scrollbar { display: none; }
.blasen__liste:focus-visible { outline: 3px solid var(--gelb); outline-offset: 4px; }
.blase { flex: 0 0 80%; scroll-snap-align: start; display: flex; }
.blase figure { margin: 0; display: flex; flex-direction: column; width: 100%; }
.blase__text {
  position: relative; flex: 1; display: flex; flex-direction: column; gap: 12px;
  background: var(--weiss); color: var(--text); border-radius: 24px; padding: 24px 24px 26px;
}
/* Spitze der Sprechblase, zeigt nach unten zum Foto */
.blase__text::after {
  content: ""; position: absolute; left: 34px; bottom: -21px; width: 36px; height: 22px;
  background: inherit; clip-path: polygon(0 0, 100% 0, 22% 100%);
}
.blase--hell .blase__text { background: var(--gelb-hell); }
.blase--gelb .blase__text { background: var(--gelb); }
.blase__text .icon { color: var(--petrol); width: 28px; height: 28px; stroke-width: 2.2; }
.blase blockquote { margin: 0; font-family: var(--titel); font-weight: 500; font-size: 20px; line-height: 1.35; }
.blase figcaption { display: flex; align-items: center; gap: 12px; margin-top: 30px; padding-left: 14px; line-height: 1.3; }
.blase figcaption > span:last-child { display: flex; flex-direction: column; gap: 2px; }
.blase figcaption strong { font-size: 18px; }
.blase figcaption > span:last-child span { font-size: 15px; color: var(--mint-gedimmt); }
.blase__foto {
  width: 56px; height: 56px; border-radius: 50%; overflow: hidden; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--petrol-mittel); border: 3px solid var(--weiss);
  font-family: var(--titel); font-weight: 600; font-size: 22px; color: var(--weiss);
}
.blase--hell .blase__foto { border-color: var(--gelb-hell); }
.blase--gelb .blase__foto { border-color: var(--gelb); }
.blase__foto img { width: 100%; height: 100%; object-fit: cover; }
.blasen__fuss { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 20px; }
.blasen__punkte { display: flex; flex-wrap: wrap; gap: 2px; }
.blasen__punkte button { width: 32px; height: 44px; border: 0; background: transparent; padding: 0; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.blasen__punkte span { display: block; width: 10px; height: 10px; border-radius: 999px; background: var(--petrol-linie); transition: width .25s ease, background-color .25s ease; }
.blasen__punkte button[aria-pressed="true"] span { width: 26px; background: var(--gelb); }
@media (max-width: 759px) { .blasen__pfeile { display: none !important; } }
@media (min-width: 760px) {
  .blasen__fuss { display: none !important; }
  .blase { flex-basis: 46%; }
  ul.blasen__liste { gap: 24px; }
  .blase__text { border-radius: 28px; padding: 30px 32px 32px; }
  .blase__text::after { left: 44px; bottom: -25px; width: 42px; height: 26px; }
  .blase__text .icon { width: 34px; height: 34px; }
  .blase blockquote { font-size: 22px; }
  .blase figcaption { margin-top: 34px; padding-left: 20px; gap: 14px; }
  .blase__foto { width: 64px; height: 64px; font-size: 24px; }
  .blase figcaption strong { font-size: 19px; }
  .blase figcaption > span:last-child span { font-size: 16px; }
}
@media (min-width: 1000px) {
  ul.blasen__liste { padding-left: max(var(--rand-seite), calc((100% - 1200px) / 2 + var(--rand-seite))); scroll-padding-left: max(var(--rand-seite), calc((100% - 1200px) / 2 + var(--rand-seite))); }
  .blase { flex-basis: 460px; }
}

/* ---------- Seite Gottesdienst: großes Bild oben, wie auf der Startseite ----------
   Das Bild füllt den Kopfbereich und läuft zur Schrift hin in Petrol aus.
   Handy: Bild oben, nach unten ausgeblendet. Rechner: Bild rechts, nach links ausgeblendet.
   Der Kopfbereich wird dabei nicht höher als vorher. */
.seitenkopf--bildgross { position: relative; overflow: hidden; isolation: isolate; padding-top: 190px; }
.seitenkopf--bildgross .seitenkopf__bild,
.seitenkopf--bildgross .seitenkopf__bild:has(> .bildnr) {
  position: absolute; top: 0; left: 0; right: 0; height: 290px; z-index: -1; margin: 0; border-radius: 0;
}
.seitenkopf--bildgross .seitenkopf__bild::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  transform: translateZ(0);
  background: linear-gradient(180deg, rgba(11, 85, 99, 0) 30%, rgba(11, 85, 99, .8) 75%, var(--petrol) calc(100% - 3px), var(--petrol) 100%);
}
.seitenkopf--bildgross .seitenkopf__bild > .bildnr { top: auto; bottom: 110px; left: auto; right: 16px; }
@media (min-width: 1000px) {
  .seitenkopf--bildgross { padding-top: 64px; }
  .seitenkopf--bildgross .seitenkopf__raster { min-height: 360px; }
  .seitenkopf--bildgross .seitenkopf__text { flex: 0 1 600px; }
  .seitenkopf--bildgross .seitenkopf__bild,
  .seitenkopf--bildgross .seitenkopf__bild:has(> .bildnr) { height: auto; bottom: 0; left: 30%; left: round(down, 30%, 1px); }
  .seitenkopf--bildgross .seitenkopf__bild::after {
    background: linear-gradient(90deg, var(--petrol) 0%, var(--petrol) 3px, rgba(11, 85, 99, .85) 22%, rgba(11, 85, 99, .35) 45%, rgba(11, 85, 99, 0) 65%);
  }
}

/* =========================================================================
   Kleine freundliche Bewegungen (22.11.2026)
   Alles sehr kurz und sanft; bei „Bewegung reduzieren“ komplett aus.
   ========================================================================= */
@media (prefers-reduced-motion: no-preference) {

  /* 1. Begrüßung oben: Zeilen gleiten nacheinander sanft herein */
  @keyframes kopfEin { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
  .hero__inhalt > *,
  .seitenkopf__text > *,
  .seitenkopf .huelle:not(.seitenkopf__raster) > * { animation: kopfEin .7s cubic-bezier(.2, .7, .3, 1) both; }
  .hero__inhalt > :nth-child(2), .seitenkopf__text > :nth-child(2), .seitenkopf .huelle:not(.seitenkopf__raster) > :nth-child(2) { animation-delay: .08s; }
  .hero__inhalt > :nth-child(3), .seitenkopf__text > :nth-child(3), .seitenkopf .huelle:not(.seitenkopf__raster) > :nth-child(3) { animation-delay: .16s; }
  .hero__inhalt > :nth-child(4), .seitenkopf__text > :nth-child(4), .seitenkopf .huelle:not(.seitenkopf__raster) > :nth-child(4) { animation-delay: .24s; }
  .hero__inhalt > :nth-child(n+5), .seitenkopf__text > :nth-child(n+5), .seitenkopf .huelle:not(.seitenkopf__raster) > :nth-child(n+5) { animation-delay: .32s; }

  /* 2. Bilder oben: blenden weich ein und kommen ganz leicht näher */
  @keyframes bildEin { from { opacity: 0; transform: scale(1.06); } to { opacity: 1; transform: none; } }
  .seitenkopf__bild img { animation: bildEin 1.4s ease-out both; }
  /* Startbilder: jedes Bild zoomt ganz langsam, solange es steht */
  @keyframes langsamNaeher { from { transform: scale(1.07); } to { transform: none; } }
  .hero__folie.ist-aktiv img { animation: langsamNaeher 7s ease-out both; }

  /* 3. „Nächster Gottesdienst“: Kalender-Symbol schwingt kurz, wie eine kleine Glocke */
  @keyframes glocke {
    0%, 100% { transform: none; } 20% { transform: rotate(-12deg); } 40% { transform: rotate(9deg); }
    60% { transform: rotate(-5deg); } 80% { transform: rotate(2deg); }
  }
  .naechster .icon { transform-origin: 50% 10%; animation: glocke 1s ease-in-out .9s both; }

  /* 4. Knöpfe heben sich beim Drüberfahren ein kleines Stück */
  @media (hover: hover) {
    .knopf:hover { transform: translateY(-2px); }
    .knopf--gelb:hover, .knopf--petrol:hover { box-shadow: 0 8px 18px rgba(20, 35, 43, .18); }
    .knopf:active { transform: translateY(0) scale(.98); box-shadow: none; }
    .knopf { transition: background-color .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease; }

    /* 5. Symbole im Gottesdienst-Ablauf wippen, wenn man über den Schritt fährt */
    @keyframes wippen { 0%, 100% { transform: none; } 30% { transform: rotate(-10deg) scale(1.08); } 65% { transform: rotate(6deg) scale(1.08); } }
    .schritt__symbol { transition: transform .3s ease; }
    .schritt:hover .schritt__symbol { animation: wippen .6s ease-in-out; }
    .fakt .icon { transition: transform .3s ease; }
    .fakt:hover .icon { transform: scale(1.12) rotate(-6deg); }

    /* 6. Fotos in Kacheln und Karten rücken beim Drüberfahren sanft näher */
    .kachel__bild { overflow: hidden; }
    .kachel__bild img { transition: transform .6s ease; }
    .kachel:hover .kachel__bild img { transform: scale(1.05); }
  }
}

/* ---------- Leichter Schatten hinter Fotos (22.11.2026) ----------
   Gilt für die Foto-Flächen im Inhalt, nicht für die großen Bilder oben. */
.einblicke__feld, .kapelle-bilder__gross, .kapelle-bilder__klein, .rund-bild,
.angebot__galerie > div, .kapelle-galerie__feld, .kapelle-handybild, .melden-karte__foto,
.beratung__bild, .galerie__folie, .person-karte__foto, .zitat__foto, .zitat-karte__foto {
  box-shadow: 0 10px 24px -10px rgba(7, 59, 69, .35), 0 2px 6px rgba(7, 59, 69, .08);
}
.seitenkopf:not(.seitenkopf--bildgross) .seitenkopf__bild { box-shadow: 0 14px 32px -12px rgba(0, 0, 0, .45); }
@media (min-width: 760px) { .person__foto { box-shadow: none; } }
/* Platz unter den Fotos zum Durchwischen, damit der Schatten nicht abgeschnitten wird */
ul.galerie { padding-top: 4px; padding-bottom: 22px; }

/* =========================================================================
   Sprachen: Flaggen oben rechts, Persisch und Arabisch (von rechts nach links)
   ========================================================================= */
/* Flaggen klein und ganz rechts, sollen nicht ins Auge springen (am Handy rechts neben dem Menü-Knopf) */
.sprachen { display: flex; align-items: center; gap: 2px; order: 2; margin-inline-start: auto; }
.menue-knopf { order: 1; }
.nav { order: 3; }
.sprachen__flagge { display: inline-flex; padding: 6px 3px; border-radius: 6px; line-height: 0; opacity: .85; }
.sprachen__flagge:hover, .sprachen__flagge[aria-current] { opacity: 1; }
.sprachen__flagge svg { display: block; width: 18px; height: auto; border-radius: 2px; box-shadow: 0 0 0 1px rgba(20, 35, 43, .18); }
.sprachen__flagge:hover { background: var(--mint); }
.sprachen__flagge[aria-current] svg { box-shadow: 0 0 0 1.5px var(--weiss), 0 0 0 3px var(--petrol); }
/* Am schmalen Handy darf der Name notfalls gekürzt werden, damit Flaggen und Menü in eine Zeile passen */
@media (max-width: 999px) { .marke__name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } }
.menue-knopf, .sprachen { flex-shrink: 0; }
@media (max-width: 999px) { .marke { flex: 1 1 0; min-width: 0; } }
/* Der Name „EKG Wernigerode“ bleibt in seiner eigenen Schrift */
[dir="rtl"] .marke__name, [dir="rtl"] .marke__logo { font-family: "Bricolage Grotesque", "Atkinson Hyperlegible", system-ui, sans-serif; }
@media (max-width: 400px) {
  .sprachen__flagge { padding: 6px 2px; }
  .sprachen__flagge svg { width: 17px; }
  .kopf__zeile { gap: 6px; }
  .marke { gap: 8px; }
  .marke__name { font-size: 16px; }
}
@media (max-width: 359px) {
  .marke__logo, .marke__logo-bild { width: 36px; height: 36px; }
  .marke__name { font-size: 15px; }
  .sprachen__flagge svg { width: 16px; }
}
@media (min-width: 1000px) {
  .nav { order: 1; margin-inline-start: auto; }
  .sprachen { order: 2; margin-inline-start: 18px; }
  .sprachen__flagge svg { width: 20px; }
}
/* Handy und Tablet (Menü-Knopf): Flaggen nicht in der Kopfzeile, sondern unten im aufgeklappten Menü, mit Namen.
   Am Computer umgekehrt: Flaggen oben rechts, im Menü keine. */
.sprachen--menue { display: none; }
@media (max-width: 999px) {
  .sprachen--kopf { display: none; }
  .sprachen--menue {
    display: flex; flex-wrap: wrap; gap: 4px; margin: 0; padding: 12px 0 14px;
    border-top: 1px solid var(--rand);
  }
  .sprachen--menue .sprachen__flagge {
    gap: 8px; align-items: center; min-height: 48px; padding: 0 10px; border-radius: 12px;
    line-height: 1.2; opacity: 1; color: var(--text); font-weight: 700; font-size: 17px; text-decoration: none;
  }
  .sprachen--menue .sprachen__flagge svg { width: 24px; }
  .sprachen--menue .sprachen__flagge[aria-current] { background: var(--mint); color: var(--petrol); }
}

.nur-deutsch-hinweis { margin-top: 18px; color: var(--grau); font-size: 16px; }
main > .nur-deutsch-hinweis { padding-top: 6px; padding-bottom: 6px; }

/* Schrift: Atkinson und Bricolage haben keine persischen/arabischen Buchstaben.
   Genutzt wird die Schrift des Geräts (nichts wird von fremden Servern geladen). */
html[dir="rtl"] {
  --schrift: Vazirmatn, "Segoe UI", Tahoma, "Noto Sans Arabic", "Geeza Pro", system-ui, sans-serif;
  --titel: Vazirmatn, "Segoe UI", Tahoma, "Noto Sans Arabic", "Geeza Pro", system-ui, sans-serif;
}
html[dir="rtl"] body { line-height: 1.75; }
html[dir="rtl"] * { letter-spacing: normal !important; }
html[dir="rtl"] .titel-seite, html[dir="rtl"] .hero__titel, html[dir="rtl"] .titel-gross, html[dir="rtl"] .titel-mittel { font-weight: 700; line-height: 1.35; }
html[dir="rtl"] .termin__tag { font-size: 12px; }

/* Spiegeln, was mit links/rechts fest eingestellt ist */
[dir="rtl"] .springen { left: auto; right: 12px; }
[dir="rtl"] .fliesstext ul, [dir="rtl"] .naechste-termine ul { padding-left: 0; padding-right: 1.2em; }
[dir="rtl"] .pfeil-link::after { content: "←"; }
[dir="rtl"] .pfeil-link:hover::after { transform: translateX(-4px); }
[dir="rtl"] .knopf .icon, [dir="rtl"] .link-liste .icon, [dir="rtl"] .zurueck-link .icon, [dir="rtl"] .hinweis-fenster__knopf .icon { transform: scaleX(-1); }
[dir="rtl"] .schritt { padding-right: 0; padding-left: 72px; }
[dir="rtl"] .schritt__symbol { right: auto; left: 14px; }
@media (min-width: 700px) { [dir="rtl"] .schritt__symbol { right: auto; left: 22px; } }
[dir="rtl"] .frage summary::after { right: auto; left: 18px; }
[dir="rtl"] .schluss__inhalt { text-align: right; }
[dir="rtl"] .ansprech-liste dd { text-align: left; }
[dir="rtl"] .fragen-thema li::before { left: auto; right: 2px; }
[dir="rtl"] .seelsorge-zitat { border-left: 0; border-right: 5px solid var(--gelb); border-radius: 20px 0 0 20px; }
[dir="rtl"] .haken-liste li { padding-left: 0; padding-right: 36px; }
[dir="rtl"] .haken-liste li::before { left: auto; right: 0; }
[dir="rtl"] .punkt-liste li { padding-left: 0; padding-right: 22px; }
[dir="rtl"] .punkt-liste li::before { left: auto; right: 2px; }
[dir="rtl"] .zeitleiste::before { left: auto; right: 7px; }
[dir="rtl"] .zeitleiste li::before { left: auto; right: 0; }
[dir="rtl"] .hinweis-fenster { right: auto; left: 20px; }
[dir="rtl"] .hinweis-fenster__zu { right: auto; left: 8px; }
[dir="rtl"] .kekse { left: auto; right: 20px; }
@media (max-width: 759px) {
  [dir="rtl"] .hinweis-fenster { left: 10px; right: 10px; padding: 12px 12px 12px 44px; }
  [dir="rtl"] .kekse { left: 0; right: 0; }
}

/* Großes Bild oben: Text steht rechts, also Bild nach links, Verlauf von rechts */
@media (min-width: 1000px) {
  [dir="rtl"] .hero__hintergrund { left: 0; right: 30%; right: round(down, 30%, 1px); }
  [dir="rtl"] .hero__hintergrund::after {
    background: linear-gradient(270deg, var(--petrol) 0%, var(--petrol) 3px, rgba(11, 85, 99, .85) 22%, rgba(11, 85, 99, .35) 45%, rgba(11, 85, 99, 0) 65%);
  }
  [dir="rtl"] .hero__punkte { left: 0; right: 30%; }
}
@media (min-width: 1000px) {
  [dir="rtl"] .seitenkopf--bildgross .seitenkopf__bild,
  [dir="rtl"] .seitenkopf--bildgross .seitenkopf__bild:has(> .bildnr) { left: 0; right: 30%; right: round(down, 30%, 1px); }
  [dir="rtl"] .seitenkopf--bildgross .seitenkopf__bild::after {
    background: linear-gradient(270deg, var(--petrol) 0%, var(--petrol) 3px, rgba(11, 85, 99, .85) 22%, rgba(11, 85, 99, .35) 45%, rgba(11, 85, 99, 0) 65%);
  }
}

/* Bilder und Zitate zum Wischen laufen technisch weiter von links nach rechts,
   der Text darin steht von rechts nach links. */
[dir="rtl"] .blasen__liste, [dir="rtl"] .galerie, [dir="rtl"] .bildwechsler__liste,
[dir="rtl"] .blasen__pfeile, [dir="rtl"] .gemeindeleben__pfeile { direction: ltr; }
[dir="rtl"] .blase, [dir="rtl"] .galerie__folie, [dir="rtl"] .bildwechsler__folie { direction: rtl; }
[dir="rtl"] .blase__text::after { left: auto; right: 34px; transform: scaleX(-1); }
@media (min-width: 760px) { [dir="rtl"] .blase__text::after { left: auto; right: 44px; } }
[dir="rtl"] .blase figcaption { padding-left: 0; padding-right: 14px; }

/* Kopfzeile in allen Sprachen gleich aufgebaut: Logo links, Flaggen immer rechts oben (Daniels Wunsch).
   Nur Menü und Untertitel laufen innen von rechts nach links. */
[dir="rtl"] .kopf__zeile { direction: ltr; }
[dir="rtl"] .nav, [dir="rtl"] .marke__unter { direction: rtl; }
@media (min-width: 1000px) {
  [dir="rtl"] .nav { margin-left: auto; margin-right: 0; }
  [dir="rtl"] .nav .nav__kontakt { margin: 0 8px 0 0; }
}

/* Flaggen ganz an den rechten Rand (Daniels Wunsch): am Computer außerhalb des Inhaltsbereichs,
   am Handy dicht am Rand */
@media (max-width: 999px) { .sprachen { margin-right: 0; } }
@media (min-width: 1000px) {
  .sprachen { position: absolute; top: 50%; right: 60px; transform: translateY(-50%); margin: 0; }
  .kopf__zeile { padding-right: max(var(--rand-seite), calc(185px - max(0px, (100vw - 1200px) / 2))); }
}
/* Kleinere Laptops: weniger Platz, Flaggen etwas näher an den Rand, damit das Menü in einer Zeile bleibt */
@media (min-width: 1000px) and (max-width: 1279px) {
  .sprachen { position: static; transform: none; margin-inline-start: 10px; }
  .kopf__zeile { padding-right: var(--rand-seite); gap: 8px; }
  .nav a { white-space: nowrap; padding: 0 10px; }
  .nav .nav__kontakt { padding: 0 16px; }
}
