/* ==========================================================================
   Mammamia — Mütterzentrum Mamma Mia e.V.
   Hauptstylesheet. Basis ist der Designprototyp aus Schritt 2.
   ========================================================================== */

/* ---------- Font ---------- */
/* Figtree als Variable Font (eine Datei, Gewichtsachse 300–900).
   Browser instanziiert jedes per CSS angeforderte font-weight (400/600/700/800). */
@font-face {
  font-family: 'Figtree';
  src: url('../fonts/figtree/Figtree-Variable.woff2') format('woff2');
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  /* Farben — abgeleitet aus img/logo/MammaMia_Logo.svg, festgelegt 2026-05-28 */
  --color-primary:      #97315F;
  --color-secondary:    #0A8087;
  --color-white:        #FFFFFF;
  --color-bg-soft:      #FBF5F8;
  --color-bg-dark:      #2E1F2A;
  --color-text:         #2B2327;
  --color-text-muted:   #7A6971;
  --color-border:       #EBE0E6;
  --color-shadow:       rgba(43, 35, 39, 0.07);
  --color-shadow-hover: rgba(43, 35, 39, 0.12);
  --color-footer-text:  rgba(255, 252, 253, 0.85);
  --color-footer-muted: rgba(255, 252, 253, 0.60);
  --color-focus-ring:   rgba(151, 49, 95, 0.35);
  --color-primary-deep: #7A2850;
  --ink:                #2A2230;
  --color-bg-sand:       #DDC5A7;
  --color-bg-sand-hover: #D6BD9C;

  /* Hero-Scrim-Intensität — tweakbar 0.4–0.7 */
  --scrim: 0.72;

  /* Feedback-Farben (dezent, nicht Primary) */
  --color-success-bg:   #E6F2F3;
  --color-success-text: #075F65;
  --color-error-bg:     #FBE9EC;
  --color-error-text:   #9F2842;

  /* Abstände */
  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  2rem;
  --space-lg:  4rem;
  --space-xl:  6rem;

  /* Radius */
  --radius-card:   1.5rem;
  --radius-btn:    999px;
  --radius-input:  0.75rem;
  --radius-sm:     0.5rem;

  /* Schatten */
  --shadow-card:   0 4px 20px var(--color-shadow);
  --shadow-hover:  0 8px 30px var(--color-shadow-hover);
  --shadow-header: 0 2px 12px rgba(43, 35, 39, 0.06);
  --shadow-cta:    0 -2px 16px rgba(43, 35, 39, 0.08);

  /* Event-detail tokens */
  --ed-cream:        #F7F2EA;
  --ed-sand-soft:    #EFE3D1;
  --ed-hairline:     rgba(42, 34, 48, 0.09);
  --ed-shadow-sm:    0 10px 26px -16px rgba(42, 24, 30, 0.35);
  --ed-shadow-md:    0 22px 50px -26px rgba(42, 24, 30, 0.45);
  --ed-teal-deep:    #19A6B0;
  --ed-blue:         #2E57A3;
  --ed-mauve-deep:   #8E5E7C;

  /* Header-Höhe — wird unten in Media Query für Desktop überschrieben */
  --header-height: 72px;
}

@media (min-width: 1024px) {
  :root { --header-height: 80px; }
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--color-text);
  background: var(--color-white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@media (min-width: 640px) {
  body { font-size: 1.125rem; }
}

body { scrollbar-gutter: stable; }
body.no-scroll { overflow: hidden; }

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

a { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Skip-Link für Tastatur-Navigation */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1000;
  background: var(--color-primary);
  color: var(--color-white);
  padding: 0.75rem 1.25rem;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-weight: 700;
}
.skip-link:focus { left: 0; text-decoration: none; }

/* Überschriften */
h1, h2, h3 {
  margin: 0 0 var(--space-sm);
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: -0.01em;
}
h1 { font-size: 2.5rem;   line-height: 1.15; }
h2 { font-size: 1.75rem;  line-height: 1.2; }
h3 { font-size: 1.375rem; line-height: 1.25; }

@media (min-width: 1024px) {
  h1 { font-size: 3.75rem; }
  h2 { font-size: 2.25rem; }
  h3 { font-size: 1.75rem; }
}

p { margin: 0 0 var(--space-sm); }

.lead {
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--color-text);
}
@media (min-width: 1024px) {
  .lead { font-size: 1.375rem; }
}

.meta {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.4;
}

.eyebrow {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary);
  margin-bottom: var(--space-xs);
}

/* ---------- Layout-Container ---------- */
.container {
  width: 100%;
  max-width: 1340px;
  margin: 0 auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}
@media (min-width: 640px) {
  .container { padding-left: var(--space-md); padding-right: var(--space-md); }
}
.container--prose   { max-width: 65ch; }
.container--article { max-width: 780px; }
.container--legal   { max-width: 860px; }

.container--legal h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--color-border);
}
@media (min-width: 1024px) {
  .container--legal h2 { font-size: 1.75rem; margin-top: 3rem; }
}
.container--legal h2:first-child { margin-top: 0; }
.container--legal h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--color-text);
  margin-top: 1.5rem;
  margin-bottom: 0.4rem;
}
.container--legal h3 a {
  color: inherit;
  text-decoration: none;
}
.container--legal h3 a:hover {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.section {
  padding: var(--space-lg) 0;
}
@media (min-width: 1024px) {
  .section { padding: var(--space-xl) 0; }
}
.section--soft  { background: var(--color-bg-soft); }
.section--white { background: var(--color-white); }
.section--sand  { background: var(--color-bg-sand); }

/* Home page: generous vertical breathing room */
.page-home .section {
  padding: 7rem 0;
}
@media (max-width: 639px) {
  .page-home .section { padding: 4.5rem 0; }
}
@media (min-width: 1024px) {
  .page-home .section { padding: 13rem 0; }
}
.page-home .section-header {
  margin-bottom: var(--space-lg);
}
@media (max-width: 639px) {
  .page-home .section-header { margin-bottom: 2.5rem; }
}
@media (min-width: 1024px) {
  .page-home .section-header { margin-bottom: var(--space-xl); }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  height: 72px;
  display: flex;
  align-items: center;
  transition: background-color 0.2s ease, backdrop-filter 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  box-shadow: var(--shadow-header);
  border-color: var(--color-border);
}


@media (min-width: 1024px) {
  .site-header { height: 80px; }
}

.site-header__inner {
  position: relative;
  width: 100%;
  max-width: 1340px;
  margin: 0 auto;
  padding: 0 var(--space-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-header__logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--color-primary);
  letter-spacing: -0.01em;
  line-height: 1;
}
.site-header__logo:hover { text-decoration: none; }
.site-header__logo img {
  display: block;
  height: 32px;
  width: auto;
}
@media (min-width: 1024px) {
  .site-header__logo img { height: 40px; }
}

.site-header__nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.site-header.scrolled .site-header__nav {
  opacity: 1;
  pointer-events: auto;
}

.site-header__nav a {
  color: var(--color-text);
  font-weight: 400;
  position: relative;
  padding: 0.25rem 0;
  transition: color 0.2s ease;
}
.site-header__nav a:hover {
  color: var(--color-primary);
  text-decoration: none;
}
.site-header__nav a.active {
  color: var(--color-primary);
  font-weight: 700;
}
.site-header__nav a.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 3px;
  background: var(--color-primary);
  border-radius: 2px;
}

.site-header__cta { display: none; }

/* Hamburger */
.hamburger {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #DDC5A7;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease, box-shadow 0.2s ease, opacity 0.3s ease;
}
.hamburger:hover {
  background: #D6BD9C;
  box-shadow: var(--shadow-card);
}
.hamburger img { width: 28px; height: 28px; }
.hamburger svg { width: 28px; height: 28px; }
.site-header.scrolled .hamburger {
  opacity: 0;
  pointer-events: none;
}
@media (max-width: 1023px) {
  .site-header__nav {
    display: none;
  }
  .site-header.scrolled .hamburger {
    opacity: 1;
    pointer-events: auto;
  }
}
body.nav-open .site-header {
  z-index: 201;
}

/* Mobile Overlay */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: #DDC5A7;
  z-index: 200;
  opacity: 0;
  /* visibility:hidden entfernt die Overlay-Links auf ALLEN Browsern aus der
     Tab-Reihenfolge — Absicherung für Engines ohne inert-Unterstützung. */
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0s linear 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
}
.nav-overlay.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.2s ease, visibility 0s;
}
.nav-overlay__close {
  width: 44px;
  height: 44px;
  background: #DDC5A7;
  border: none;
  border-radius: 12px;
  color: var(--color-text);
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0;
  z-index: 201;
  transition: background 0.2s ease;
}
.nav-overlay__close:hover { background: #D6BD9C; }
.nav-overlay__close img { width: 28px; height: 28px; }
.nav-overlay__close svg { width: 28px; height: 28px; }
.nav-overlay.open ~ * .nav-overlay__close,
body.nav-open .nav-overlay__close {
  display: inline-flex;
}
body.nav-open .hamburger { display: none; }
.nav-overlay__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  text-align: center;
}
.nav-overlay__list a {
  color: var(--color-text);
  font-size: 1.5rem;
  font-weight: 700;
  transform: translateY(8px);
  opacity: 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-overlay.open .nav-overlay__list a {
  transform: translateY(0);
  opacity: 1;
}
.nav-overlay__list a.active { color: var(--color-primary); }
.nav-overlay__cta { margin-top: var(--space-md); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  min-height: 48px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.01em;
  border: none;
  border-radius: var(--radius-btn);
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.btn:active { transform: translateY(0); box-shadow: var(--shadow-card); }
.btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--color-focus-ring);
}
.btn[disabled], .btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn--compact { padding: 0.625rem 1.25rem; min-height: 40px; font-size: 0.9375rem; }

.btn--primary {
  background: var(--color-primary);
  color: var(--color-white);
}
.btn--secondary {
  background: var(--color-secondary);
  color: var(--color-white);
}
.btn--outlined {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
  padding: calc(0.875rem - 2px) calc(1.75rem - 2px);
}
.btn--outlined:hover {
  background: var(--color-primary);
  color: var(--color-white);
}
.btn--ghost {
  background: rgba(255, 255, 255, 0.16);
  color: var(--color-white);
  border: 2px solid rgba(255, 255, 255, 0.55);
  padding: calc(0.875rem - 2px) calc(1.75rem - 2px);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.26);
  border-color: var(--color-white);
}

.btn svg { width: 20px; height: 20px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh; /* stable — verhindert Zoom-Effekt wenn Browser-Chrome beim Scrollen ein-/ausblendet */
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--color-bg-soft) 0%, #F4E2EC 100%);
  padding: var(--space-lg) 0;
  padding-top: calc(var(--space-lg) + var(--header-height));
  margin-top: calc(-1 * var(--header-height));
  overflow: hidden;
}
.hero--small {
  min-height: calc(30vh + var(--header-height));
  padding: var(--space-md) 0;
  padding-top: calc(var(--space-md) + var(--header-height));
}
.hero--mini {
  min-height: calc(20vh + var(--header-height));
  padding: var(--space-md) 0;
  padding-top: calc(var(--space-lg) + var(--header-height));
}

.hero--sand {
  background: var(--color-bg-sand);
}

.hero--sand h1 {
  color: var(--color-text);
  text-shadow: none;
}

.hero--sand .page-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.hero--sand .page-kicker__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-primary);
  flex: none;
}

/* --- Hero mit Foto --- */
.hero--image {
  background-color: var(--color-bg-dark);
  color: var(--color-white);
}

/* Foto-Ebene: absolut, hinter allem */
.hero-photo {
  position: absolute;
  inset: 0;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 50% 42%;
}

/* Zweilagiger Scrim: links abdunkeln + oben/unten einfassen */
.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(28, 18, 26, var(--scrim))                      0%,
      rgba(28, 18, 26, calc(var(--scrim) * 0.55))          42%,
      rgba(28, 18, 26, 0.08)                               72%,
      transparent                                          100%
    ),
    linear-gradient(
      180deg,
      rgba(28, 18, 26, 0.35) 0%,
      transparent             24%,
      transparent             70%,
      rgba(28, 18, 26, 0.45) 100%
    );
}

/* Textbereich: z-index über Foto + Scrim, feste linke Spalte */
.hero__inner {
  position: relative;
  z-index: 5;
  width: 100%;
  max-width: 1340px;
  margin: 0 auto;
  padding: 0 var(--space-sm);
}

.hero__text {
  max-width: 600px;
  align-self: center;
  text-align: left;
}

/* Farben im Foto-Hero */
.hero--image h1,
.hero--image .lead,
.hero--image .icon-text { color: var(--color-white); }
.hero--image .icon-text img,
.hero--image .icon-text svg { color: var(--color-white); }
.hero--image .hero__facts .icon-text svg { color: #C64F8A; }

/* Hero Subline (SEO-Keyword-Dreiklang unter H1) */
.hero__sub {
  font-size: clamp(14px, 1.2vw, 17px);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.80);
  letter-spacing: 0.01em;
  margin-top: -0.25rem;
  margin-bottom: 1.25rem;
}

/* Hero-Typografie */
.hero h1 {
  font-size: clamp(36px, 6.4vw, 84px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.02;
  max-width: 16ch;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.35);
  margin-bottom: 0.75rem;
}
.hero--sand h1 { text-shadow: none; }

.hero--image .lead {
  font-size: clamp(17px, 1.5vw, 20px);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
  max-width: 44ch;
  margin-bottom: var(--space-md);
}

.hero__facts {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1.5rem;
  margin-bottom: var(--space-md);
  font-weight: 700;
}
.hero__facts .icon-text { font-weight: 700; }
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 0.75rem;
}

/* Scroll-Hinweis unten mittig im Hero */
.hero__scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  color: var(--color-white);
  opacity: 0.7;
  text-decoration: none;
  transition: opacity 0.2s;
  animation: scrollBounce 2s ease-in-out infinite;
}
.hero__scroll-hint:hover {
  opacity: 1;
}
.hero__scroll-hint svg {
  width: 2rem;
  height: 2rem;
  color: var(--color-white);
}
@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

/* Bild-Credit unten rechts im Hero */
.hero__credit {
  position: absolute;
  right: 0.75rem;
  bottom: 0.5rem;
  z-index: 6;
  font-size: 0.75rem;
  line-height: 1.2;
  color: var(--color-white);
  opacity: 0.75;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  letter-spacing: 0.01em;
  pointer-events: none;
}

/* Responsive: auf Mobilgeräten keine horizontale Verlauf-Gewichtung nötig */
@media (max-width: 640px) {
  .hero-scrim {
    background:
      linear-gradient(
        180deg,
        rgba(28, 18, 26, 0.55) 0%,
        rgba(28, 18, 26, 0.42) 50%,
        rgba(28, 18, 26, 0.55) 100%
      );
  }
}

/* ---------- Hero-Event-Zeile ---------- */
.hero-event {
  margin-top: 32px;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  max-width: 470px;
  padding: 13px 18px 13px 13px;
  border-radius: 28px;
  text-decoration: none;
  background: #DDC5A7;
  box-shadow: 0 20px 44px -22px rgba(40, 20, 30, .6);
  transition: transform .2s, background .2s;
}
.hero-event:hover {
  transform: translateY(-2px);
  background: #D6BD9C;
  text-decoration: none;
}
.he-date {
  flex: none;
  width: 62px;
  padding: 11px 0 9px;
  border-radius: 18px;
  background: #fff;
  text-align: center;
  line-height: 1;
}
.he-day {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: var(--color-primary-deep);
  letter-spacing: -.02em;
}
.he-mon {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink);
}
.he-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.he-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--color-primary-deep);
  white-space: nowrap;
}
.he-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-primary);
}
.he-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -.02em;
  line-height: 1.12;
}
.he-meta {
  font-size: 13.5px;
  font-weight: 600;
  color: #7A6F62;
}
.he-arrow {
  color: var(--color-primary);
  flex: none;
  margin-left: 4px;
  transition: transform .25s;
}
.hero-event:hover .he-arrow {
  transform: translateX(4px);
}
@media (max-width: 479px) {
  .hero-event { max-width: 100%; gap: 12px; padding: 11px 14px 11px 11px; }
  .he-title { font-size: 17px; }
  .he-date { width: 54px; }
  .he-day { font-size: 24px; }
}

/* Icon-Text Inline */
.icon-text {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  color: var(--color-text);
}
.icon-text img,
.icon-text svg {
  width: 20px;
  height: 20px;
  color: var(--color-primary);
  flex-shrink: 0;
}

/* ---------- Karten-Grid ---------- */
.cards-grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .cards-grid { gap: var(--space-md); }
}
@media (min-width: 640px) {
  .cards-grid--2 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .cards-grid--3 { grid-template-columns: repeat(3, 1fr); }
  .cards-grid--2 { grid-template-columns: repeat(2, 1fr); }
}

.card {
  background: var(--color-white);
  border-radius: var(--radius-card);
  padding: 1.5rem;
  box-shadow: 0 2px 12px var(--color-shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
@media (min-width: 640px) {
  .card { padding: var(--space-md); box-shadow: var(--shadow-card); }
}
@media (hover: hover) {
  .card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
}

.card__icon { color: var(--color-primary); margin-bottom: var(--space-sm); }
.card__icon img,
.card__icon svg { width: 40px; height: 40px; }

.card h3 { margin-bottom: 0.5rem; }
.card p  { color: var(--color-text); margin-bottom: 0; }

/* ---------- Team-Sektion ---------- */
.team-section {
  background: var(--color-bg-sand);
}
.team-section__head {
  max-width: 620px;
  margin-bottom: 96px;
}
@media (max-width: 768px) {
  .team-section__head { margin-bottom: 48px; }
}
.team-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-primary);
}
.team-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-primary);
  display: inline-block;
  flex-shrink: 0;
}
.team-section__head h2 {
  margin-top: 14px;
  font-size: clamp(1.875rem, 3.6vw, 2.875rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--color-text);
  line-height: 1.05;
}
.team-section__head p {
  margin-top: 16px;
  font-size: 1.09rem;
  line-height: 1.6;
  color: var(--color-text-muted);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}
.team-grid .member {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.team-grid .portrait {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  overflow: hidden;
  background: #EFE3D1;
  box-shadow: 0 6px 20px -8px rgba(42, 24, 30, 0.35);
  flex-shrink: 0;
}
.team-grid .portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.team-grid .name {
  margin-top: 16px;
  font-size: 1.19rem;
  font-weight: 800;
  color: var(--color-text);
  letter-spacing: -0.01em;
}
.team-grid .role {
  margin-top: 3px;
  font-size: 0.81rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.team-grid .bio {
  margin-top: 10px;
  font-size: 0.91rem;
  line-height: 1.55;
  color: var(--color-text-muted);
}
.team-grid .r-magenta .role { color: var(--color-primary-deep); }
.team-grid .r-teal    .role { color: var(--color-secondary); }
.team-grid .r-blue    .role { color: #2E57A3; }
.team-grid .r-mauve   .role { color: #8E5E7C; }

@media (max-width: 980px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .team-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 420px) {
  .team-grid { grid-template-columns: 1fr; gap: 36px; }
  .team-grid .portrait { width: 110px; height: 110px; }
}

/* ---------- News-Karten ---------- */
.news-card {
  background: #EFE3D3;
  border-radius: var(--radius-card);
  box-shadow: 0 2px 12px var(--color-shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
@media (min-width: 640px) {
  .news-card { box-shadow: var(--shadow-card); }
}
@media (hover: hover) {
  .news-card { transition: transform 0.2s ease, box-shadow 0.2s ease; }
  .news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
}
.news-card__image {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--color-bg-soft), #F4E2EC);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  overflow: hidden;
}
.news-card__image img { width: 100%; height: 100%; object-fit: cover; }
.news-card__body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  flex-grow: 1;
}
.news-card__date   { font-size: 0.875rem; color: var(--color-text-muted); }
.news-card__title  { font-size: 1.25rem; margin: 0; }
.news-card__teaser { color: var(--color-text); margin: 0; flex-grow: 1; }
.news-card__cta    { margin-top: var(--space-sm); align-self: flex-start; }

/* ---------- Termin-Karten ---------- */
.termine-grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .termine-grid { gap: var(--space-md); }
}
@media (min-width: 640px) {
  .termine-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .termine-grid { grid-template-columns: repeat(3, 1fr); }
}

.termin-card {
  background: var(--color-white);
  border-radius: var(--radius-card);
  box-shadow: 0 2px 12px var(--color-shadow);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  padding: 1.25rem;
  align-items: start;
}
@media (min-width: 640px) {
  .termin-card { box-shadow: var(--shadow-card); padding: 1.5rem; gap: 1.5rem; }
}
@media (hover: hover) {
  .termin-card { transition: transform 0.2s ease, box-shadow 0.2s ease; }
  .termin-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
}

.termin-card__date {
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: var(--radius-sm);
  padding: 0.625rem 0.875rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 68px;
  line-height: 1.1;
  text-align: center;
}
.termin-card__day {
  font-size: 1.75rem;
  font-weight: 700;
  display: block;
}
.termin-card__month {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  display: block;
  margin-top: 0.125rem;
}
.termin-card__year {
  font-size: 0.75rem;
  opacity: 0.85;
  display: block;
  margin-top: 0.125rem;
}

.termin-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 0;
}
.termin-card__thumb {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-bg-soft);
  border: 1px solid var(--color-border);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  flex-shrink: 0;
}
.termin-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.termin-card__thumb svg {
  width: 20px;
  height: 20px;
}
.termin-card__title {
  font-size: 1.25rem;
  margin: 0;
}
.termin-card__teaser {
  color: var(--color-text);
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
}
.termin-card__link {
  margin-top: 0.25rem;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-primary);
  font-weight: 700;
  text-decoration: none;
}
.termin-card__link svg,
.termin-card__link img { width: 20px; height: 20px; }
.termin-card__link:hover { text-decoration: underline; }

/* ---------- Zeitblock ---------- */
.time-block {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--color-bg-soft);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
}
.time-block__icon { color: var(--color-primary); display: flex; }
.time-block__icon img,
.time-block__icon svg { width: 24px; height: 24px; }
.time-block__when { font-weight: 700; color: var(--color-text); display: block; }
.time-block__what { color: var(--color-text-muted); display: block; font-size: 0.9375rem; }
@media (min-width: 640px) {
  .time-block { grid-template-columns: auto 1fr auto; }
  .time-block__what { font-size: 1rem; }
}

/* ---------- Formular ---------- */
.form { display: flex; flex-direction: column; gap: var(--space-sm); }
.form-row { display: flex; flex-direction: column; gap: 0.375rem; }
.form-row label { font-weight: 700; color: var(--color-text); font-size: 0.9375rem; }
.form-input, .form-textarea {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-input);
  padding: 0.75rem 1rem;
  font-family: inherit;
  font-size: 1rem;
  color: var(--color-text);
  background: var(--color-white);
  width: 100%;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-textarea { resize: vertical; min-height: 140px; }
.form-input:focus, .form-textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-focus-ring);
  outline: none;
}
.form-honeypot { position: absolute; left: -9999px; }

/* Formular-Feedback (Erfolg / Fehler) */
.form-feedback {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-input);
  margin-bottom: var(--space-md);
  font-weight: 400;
}
.form-feedback img,
.form-feedback svg { width: 24px; height: 24px; flex-shrink: 0; margin-top: 2px; }
.form-feedback--success {
  background: var(--color-success-bg);
  color: var(--color-success-text);
}
.form-feedback--error {
  background: var(--color-error-bg);
  color: var(--color-error-text);
}
.form-feedback--info {
  background: var(--color-bg-soft);
  color: var(--color-text);
  border: 1px solid var(--color-border);
}

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-sm);
}
.breadcrumb a { color: var(--color-text-muted); }
.breadcrumb a:hover { color: var(--color-primary); }
.breadcrumb__sep { margin: 0 0.5rem; }

/* ---------- Article (Einzelartikel) ---------- */
.article__image {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-card);
  overflow: hidden;
  margin-bottom: var(--space-md);
  background: linear-gradient(135deg, var(--color-bg-soft), #F4E2EC);
}
.article__image img { width: 100%; height: 100%; object-fit: cover; }
.article__meta { color: var(--color-text-muted); font-size: 0.875rem; margin-bottom: 0.5rem; }
.article__content { font-size: inherit; line-height: 1.75; }
.article__content p { margin: 0 0 var(--space-sm); }
.article__content h2 { margin-top: var(--space-md); }
.article__content h3 { margin-top: var(--space-sm); }
.article__content img { border-radius: var(--radius-sm); margin: var(--space-sm) 0; }
.article__back { margin-top: var(--space-lg); display: inline-flex; gap: 0.5rem; align-items: center; }

/* ---------- Kontakt: zweispaltiges Layout ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}
@media (min-width: 1024px) {
  .contact-grid { grid-template-columns: 1fr 1fr; gap: var(--space-lg); }
}

/* ---------- Kontakt / So finden Sie uns (Homepage) ---------- */
.kontakt {
  --kt-sand-soft: #F7F2EB;
  --kt-sand-line: #E4D4BC;
  --kt-hairline:  rgba(42, 34, 48, 0.09);
  --kt-shadow-sm: 0 10px 26px -16px rgba(42, 24, 30, 0.35);
  --kt-shadow-md: 0 22px 50px -26px rgba(42, 24, 30, 0.45);
  --kt-shadow-lg: 0 34px 80px -34px rgba(36, 18, 34, 0.50);
  background: #DDC5A7;
  padding: clamp(56px, 8vw, 108px) 0;
}

/* Heading block */
.kt-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.kt-intro { max-width: 30ch; }
.kt-intro h2 {
  margin-top: 14px;
  font-size: clamp(32px, 3.8vw, 50px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--color-text);
  line-height: 1.03;
  text-wrap: balance;
}
.kt-intro p {
  margin-top: 16px;
  font-size: 17.5px;
  line-height: 1.6;
  color: var(--color-text);
  text-wrap: pretty;
}

/* Unified split card */
.kt-card {
  margin-top: clamp(34px, 4vw, 52px);
  background: var(--color-white);
  border: 1px solid var(--kt-hairline);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--kt-shadow-lg);
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
}

/* Form side */
.kt-form {
  padding: clamp(30px, 3vw, 46px);
  display: flex;
  flex-direction: column;
}
.kt-form__head {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.kt-form__head-ico {
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 12px 26px -12px rgba(151, 49, 95, 0.55);
}
.kt-form__head-ico svg { width: 22px; height: 22px; }
.kt-form__head h3 {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--color-text);
  line-height: 1.1;
}
.kt-form__head p {
  margin-top: 4px;
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text-muted);
}

.kt-form__form {
  margin-top: 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  flex: 1;
}

.kt-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.kt-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.kt-field label {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}
.kt-field input,
.kt-field textarea {
  font-family: inherit;
  font-size: 16px;
  color: var(--color-text);
  background: var(--kt-sand-soft);
  border: 1px solid var(--kt-sand-line);
  border-radius: 14px;
  padding: 14px 16px;
  width: 100%;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.kt-field textarea {
  resize: vertical;
  min-height: 128px;
  line-height: 1.55;
}
.kt-field input::placeholder,
.kt-field textarea::placeholder { color: var(--color-text-muted); }
.kt-field input:focus,
.kt-field textarea:focus {
  outline: none;
  background: var(--color-white);
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(151, 49, 95, 0.12);
}
.kt-field--grow { flex: 1; }

.kt-form__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 2px;
}
.kt-form__note {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--color-text-muted);
  max-width: 34ch;
}
.kt-form__note a {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: none;
}
.kt-form__note a:hover { text-decoration: underline; }

/* Alerts */
.kt-alert {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 20px;
  border-radius: 14px;
  font-weight: 600;
  font-size: 0.9375rem;
  margin-top: 24px;
}
.kt-alert svg { width: 22px; height: 22px; flex: none; }
.kt-alert--success {
  background: var(--color-success-bg);
  border: 1px solid #b6e8c5;
  color: var(--color-success-text);
}
.kt-alert--error {
  background: var(--color-error-bg);
  border: 1px solid #f5c6c6;
  color: var(--color-error-text);
}
.kt-alert--error a { color: inherit; font-weight: 700; }

/* Map side */
.kt-map {
  position: relative;
  background: var(--kt-sand-soft);
  min-height: 420px;
  border-left: 1px solid var(--kt-hairline);
}
.kt-map__ph {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 32px;
  gap: 6px;
}
.kt-map__ph::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.5;
  background-image:
    linear-gradient(var(--kt-sand-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--kt-sand-line) 1px, transparent 1px);
  background-size: 38px 38px;
}
.kt-map__ph > * { position: relative; z-index: 1; }

.kt-map__pin {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  box-shadow: var(--kt-shadow-sm);
  margin-bottom: 14px;
}
.kt-map__pin svg { width: 26px; height: 26px; }

.kt-map__ph h4 {
  margin: 0;
  font-size: 17px;
  font-weight: 800;
  color: var(--color-text);
  letter-spacing: -0.01em;
}
.kt-map__ph p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--color-text);
  max-width: 30ch;
}
.kt-map__ph p a { color: var(--color-primary); font-weight: 600; text-decoration: none; }
.kt-map__ph p a:hover { text-decoration: underline; }
.kt-map__ph .btn { margin-top: 14px; }

.kt-map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.kt-map.loaded iframe { opacity: 1; }
.kt-map.loaded .kt-map__ph { display: none; }

.kt-map__route {
  position: absolute;
  left: 20px;
  bottom: 20px;
  z-index: 4;
}

/* Ghost button */
.btn--ghost {
  background: transparent;
  color: var(--color-text);
  border: 1px solid rgba(42, 34, 48, 0.18);
}
.btn--ghost:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

/* Responsive */
@media (max-width: 980px) {
  .kt-top { grid-template-columns: 1fr; gap: 30px; }
  .kt-card { grid-template-columns: 1fr; }
  .kt-map { min-height: 340px; border-left: none; border-top: 1px solid var(--kt-hairline); }
}
@media (max-width: 639px) {
  .kt-field-row { grid-template-columns: 1fr; }
  .kt-form__foot { flex-direction: column; align-items: stretch; }
  .kt-form__foot .btn { width: 100%; justify-content: center; }
  .kt-map { min-height: 260px; }
}

/* ---------- Footer ---------- */
.site-footer {
  background: #5E564F;
  color: var(--color-footer-text);
  padding: var(--space-lg) 0 var(--space-md);
  margin-top: var(--space-lg);
}
.page-home .site-footer,
.page-impressum .site-footer,
.page-datenschutz .site-footer,
.page-credits .site-footer { margin-top: 0; }
.site-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  max-width: 1340px;
  margin: 0 auto;
  padding: 0 var(--space-sm);
}
@media (min-width: 640px) {
  .site-footer__grid { grid-template-columns: 1fr 1fr; gap: var(--space-md); }
}
@media (min-width: 1024px) {
  .site-footer__grid { grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: var(--space-lg); }
}
.site-footer h3 { color: var(--color-white); font-size: 1.125rem; margin-bottom: var(--space-sm); }
.site-footer a  { color: var(--color-footer-text); }
.site-footer a:hover { color: var(--color-white); text-decoration: underline; text-underline-offset: 4px; }
.site-footer__list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.625rem; }
.site-footer__brand p { color: var(--color-footer-text); max-width: 40ch; }
.site-footer__brand-logo {
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  color: var(--color-white);
  font-size: 1.25rem;
  margin-bottom: var(--space-sm);
  text-decoration: none;
}
.site-footer__brand-logo img { height: 40px; width: auto; display: block; }
.site-footer__credits {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.site-footer__credits-label {
  color: var(--color-footer-muted);
  font-size: 0.8125rem;
}
.site-footer__credits-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-sm);
}
.site-footer__credits-list a {
  display: inline-block;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}
.site-footer__credits-list a:hover,
.site-footer__credits-list a:focus-visible {
  opacity: 1;
}
.site-footer__credits-list img {
  height: 28px;
  width: auto;
  display: block;
  background: var(--color-white);
  padding: 4px 6px;
  border-radius: 4px;
}
.site-footer__donate-text {
  color: var(--color-footer-text);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: var(--space-sm);
  max-width: 36ch;
}
.site-footer__list--bank { gap: 0.5rem; }
.site-footer__list--bank li {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.site-footer__bank-label {
  color: var(--color-footer-muted);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.site-footer__bank-value {
  color: var(--color-footer-text);
  font-size: 0.9375rem;
  font-weight: 600;
}
.site-footer__bottom {
  margin: var(--space-md) auto 0;
  padding: var(--space-md) var(--space-sm) 0;
  max-width: 1340px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--color-footer-muted);
}
@media (min-width: 640px) {
  .site-footer__bottom { flex-direction: row; justify-content: space-between; }
}
.site-footer__bottom a { color: var(--color-footer-muted); }
.site-footer__bottom a:hover { color: var(--color-white); }


/* ---------- Visually Hidden ---------- */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Section Header Component ---------- */
.section-header {
  margin-bottom: var(--space-md);
}
.section-header .eyebrow {
  display: block;
  margin-bottom: 0.125rem;
}
.section-header h2,
.section-header h3 {
  margin-bottom: 0.375rem;
}
.section-header .lead {
  max-width: 50ch;
  margin-bottom: 0;
}

/* ---------- Card Icon: Background Circle Variant ---------- */
.card__icon--bg {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(151, 49, 95, 0.10);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
}
.card__icon--bg svg,
.card__icon--bg img {
  width: 28px;
  height: 28px;
}
.card__icon--bg--teal {
  background: rgba(10, 128, 135, 0.10);
  color: var(--color-secondary);
}

/* ---------- Scroll Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal--left {
  opacity: 0;
  transform: translateX(-24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal--right {
  opacity: 0;
  transform: translateX(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal.is-visible,
.reveal--left.is-visible,
.reveal--right.is-visible {
  opacity: 1;
  transform: translate(0);
}
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal--left,
  .reveal--right,
  .reveal.is-visible,
  .reveal--left.is-visible,
  .reveal--right.is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ==========================================================================
   Aktuelles-Section — Featured + Termin-Liste
   ========================================================================== */

.aktuelles {
  --akt-cream:        #F7F2EA;
  --akt-card:         #EFE3D3;
  --akt-ink:          #2A2230;
  --akt-body:         #5E564F;
  --akt-muted:        #8C8279;
  --akt-magenta:      #C64F8A;
  --akt-magenta-deep: #97315F;
  --akt-teal:         #19A6B0;
  --akt-blue:         #2E57A3;
  --akt-mauve:        #BF7DA3;
  --akt-hairline:     rgba(42, 34, 48, 0.09);
  --akt-shadow-sm:    0 10px 26px -16px rgba(42, 24, 30, 0.35);
  --akt-shadow-md:    0 22px 50px -26px rgba(42, 24, 30, 0.45);

  background: var(--akt-cream);
  padding: clamp(72px, 16vw, 220px) 0;
}

/* Section-Kopf */
.aktuelles .section-head {
  max-width: 620px;
  margin-bottom: 96px;
}
@media (max-width: 768px) {
  .aktuelles .section-head { margin-bottom: 48px; }
}
.aktuelles .section-head h2 {
  margin-top: 14px;
  font-size: clamp(30px, 3.6vw, 46px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--akt-ink);
  line-height: 1.05;
}
.aktuelles .section-head p {
  margin-top: 16px;
  font-size: 17.5px;
  line-height: 1.6;
  color: var(--akt-body);
}

.akt-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--akt-magenta);
}
.akt-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--akt-magenta);
  flex: none;
}

/* Raster: Featured 1.5fr | Liste 1fr */
.akt-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 36px;
  align-items: stretch;
}

/* Featured-Karte */
.akt-feature {
  background: var(--akt-card);
  border: 1px solid var(--akt-hairline);
  border-radius: 26px;
  overflow: hidden;
  box-shadow: var(--akt-shadow-md);
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.akt-feature__media {
  position: relative;
  min-height: 300px;
  background-color: var(--akt-cream);
  background-image: linear-gradient(145deg, #DDC5A7 0%, #D6BD9C 100%);
  background-size: cover;
  background-position: center;
}

.akt-feature__badge {
  position: absolute;
  top: 22px;
  left: 22px;
  background: #fff;
  border-radius: 15px;
  padding: 11px 15px 9px;
  text-align: center;
  line-height: 1;
  box-shadow: var(--akt-shadow-sm);
}
.akt-feature__badge-d {
  font-size: 26px;
  font-weight: 800;
  color: var(--akt-magenta);
  letter-spacing: -0.02em;
}
.akt-feature__badge-m {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--akt-ink);
}

.akt-feature__body {
  padding: 32px 32px 30px;
  display: flex;
  flex-direction: column;
}
@media (max-width: 640px) {
  .akt-feature__body { padding: 22px 22px 20px; }
}
.akt-feature__body h3 {
  margin-top: 12px;
  font-size: 27px;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--akt-ink);
  line-height: 1.1;
}
.akt-feature__title-link {
  color: inherit;
  text-decoration: none;
}
.akt-feature__title-link:hover {
  color: var(--color-primary);
  text-decoration: none;
}
.akt-feature__meta {
  margin-top: 13px;
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--akt-ink);
}
.akt-feature__meta svg {
  color: var(--akt-magenta);
  flex: none;
}
.akt-feature__body p {
  margin-top: 14px;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--akt-body);
}
.akt-feature__foot {
  margin-top: auto;
  padding-top: 22px;
}

.akt-link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--akt-magenta-deep);
  text-decoration: none;
}
.akt-link-arrow svg {
  transition: transform 0.25s ease;
}
@media (hover: hover) {
  .akt-link-arrow:hover svg { transform: translateX(4px); }
}

/* Termin-Liste */
.akt-upcoming {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.akt-up-card {
  background: var(--akt-card);
  border: 1px solid var(--akt-hairline);
  border-radius: 20px;
  padding: 20px 22px;
  display: flex;
  align-items: center;
  gap: 18px;
  box-shadow: var(--akt-shadow-sm);
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.2s ease;
}
@media (hover: hover) {
  .akt-up-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--akt-shadow-md);
    text-decoration: none;
  }
}

.akt-up-date {
  flex: none;
  width: 56px;
  text-align: center;
  line-height: 1;
}
.akt-up-d {
  display: block;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--akt-ink);
}
.akt-up-m {
  display: block;
  margin-top: 3px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--akt-muted);
}

.akt-up-info {
  flex: 1;
  min-width: 0;
}
.akt-up-t {
  display: block;
  font-size: 17px;
  font-weight: 700;
  color: var(--akt-ink);
  letter-spacing: -0.01em;
}
.akt-up-s {
  display: block;
  margin-top: 2px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--akt-muted);
}

.akt-chev {
  color: var(--akt-muted);
  flex: none;
}

/* Farb-Modifier: nur die Datumszahl */
.akt-up-card.teal  .akt-up-d { color: var(--akt-teal); }
.akt-up-card.blue  .akt-up-d { color: var(--akt-blue); }
.akt-up-card.mauve .akt-up-d { color: var(--akt-mauve); }

.akt-up-cta {
  margin-top: 0.5rem;
  display: flex;
  justify-content: flex-end;
}

.link-arrow--contrast {
  color: var(--akt-teal);
}
.link-arrow--contrast:hover {
  color: var(--color-secondary);
}

/* Responsive: ≤ 980px → einspaltig */
@media (max-width: 980px) {
  .akt-grid {
    grid-template-columns: 1fr;
  }
  .akt-feature {
    grid-template-columns: 1fr;
  }
  .akt-feature__media {
    min-height: 220px;
  }
}

/* ==========================================================================
   Angebot-Section — Zickzack-Reihen
   ========================================================================== */

:root {
  --cream:         #F7F2EA;
  --sand-soft:     #EFE3D1;
  --sand-line:     #E4D4BC;
  --body-col:      #5E564F;
  --muted-col:     #8C8279;
  --magenta-ang:   #C64F8A;  --magenta-deep-ang: #97315F;
  --teal-ang:      #26B5C0;  --teal-deep-ang:    #19A6B0;
  --mauve-ang:     #BF7DA3;  --mauve-deep-ang:   #8E5E7C;
  --hairline:      rgba(42,34,48,0.09);
  --shadow-lg-ang: 0 34px 80px -34px rgba(36,18,34,0.5);
}

.angebot {
  background: var(--cream);
}

/* Section-Kopf */
.angebot .section-head {
  max-width: 640px;
}
.angebot .section-head h2 {
  margin-top: 14px;
  font-size: clamp(30px, 3.6vw, 46px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1.05;
}
.angebot .section-head p {
  margin-top: 16px;
  font-size: 17.5px;
  line-height: 1.6;
  color: var(--body-col);
}

/* Kicker */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--magenta-ang);
  white-space: nowrap;
}
.kicker .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--magenta-ang);
  flex: none;
}

/* Reihen-Stapel */
.angebot-rows {
  margin-top: clamp(88px, 9vw, 120px);
  display: flex;
  flex-direction: column;
  gap: clamp(112px, 13vw, 160px);
}

/* Einzelne Reihe */
.offer-row {
  --accent:      var(--magenta-ang);
  --accent-deep: var(--magenta-deep-ang);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 5vw, 76px);
  align-items: center;
}
.offer-row.reverse .offer-media { order: 2; }

.offer-row.a-teal    { --accent: var(--teal-ang);    --accent-deep: var(--teal-deep-ang); }
.offer-row.a-magenta { --accent: var(--magenta-ang); --accent-deep: var(--magenta-deep-ang); }
.offer-row.a-mauve   { --accent: var(--mauve-ang);   --accent-deep: var(--mauve-deep-ang); }

/* Bild-Spalte */
.offer-media {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 28px;
  overflow: hidden;
  background: var(--sand-soft);
  box-shadow: var(--shadow-lg-ang);
  border: 1px solid var(--sand-line);
}

.offer-img {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  display: block;
}
.offer-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Platzhalter — warmes Sand mit Muster-Andeutung */
.offer-img--ph {
  background:
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 18px,
      rgba(200,180,154,0.18) 18px,
      rgba(200,180,154,0.18) 19px
    ),
    var(--sand-soft);
}

/* Nummer oben links */
.offer-num {
  position: absolute;
  top: 20px;
  left: 22px;
  z-index: 2;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #fff;
  opacity: 0.92;
  text-shadow: 0 1px 12px rgba(0,0,0,0.4);
}

/* Text-Spalte */
.offer-text {
  max-width: 30em;
}
.offer-text h3 {
  font-size: clamp(21px, 1.9vw, 26px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.15;
  margin-top: 0;
  margin-bottom: 0;
}
.offer-text p {
  margin-top: 16px;
  font-size: 16.5px;
  line-height: 1.62;
  color: var(--body-col);
}

/* Spendenhinweis */
.offer-donation {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 20px;
  padding: 12px 16px;
  background: rgba(150, 49, 95, 0.07);
  border-left: 3px solid var(--color-primary);
  border-radius: 0 6px 6px 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--color-text);
}
.offer-donation svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--color-primary);
}

/* Fußzeile mit Haarlinie */
.offer-foot {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--sand-line);
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.offer-meta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--muted-col);
}
.offer-meta .m-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}

.offer-foot .link-arrow {
  margin-left: auto;
  color: var(--accent-deep);
}

/* „Mehr erfahren"-Link */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15.5px;
  font-weight: 700;
  text-decoration: none;
  color: var(--accent-deep);
  transition: color 0.2s ease;
}
.link-arrow svg {
  transition: transform 0.25s ease;
  flex: none;
}
.link-arrow:hover svg {
  transform: translateX(4px);
}

/* Responsive ≤ 840px */
@media (max-width: 840px) {
  .offer-row {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .offer-row.reverse .offer-media {
    order: 0;
  }
  .offer-media {
    aspect-ratio: 16 / 10;
  }
  .offer-text {
    max-width: none;
  }
  .offer-foot .link-arrow {
    margin-left: 0;
  }
}

/* ==========================================================================
   Aktuelles-Unterseite (aktuelles.php)
   ========================================================================== */

/* Mini-Hero mit Sand-Verlauf */
.akt-page-hero {
  background: linear-gradient(135deg, #EFE3D3 0%, #E5D5BF 100%);
  color: var(--akt-ink, #2A2230);
  position: relative;
  overflow: hidden;
}
.akt-page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 120% at 90% 50%, rgba(197, 79, 138, 0.08) 0%, transparent 70%);
  pointer-events: none;
}
.akt-page-hero .hero__text {
  max-width: 680px;
}
.akt-page-hero h1 {
  color: var(--akt-ink, #2A2230);
  margin-top: 0.35rem;
  font-size: clamp(2rem, 5vw, 3rem);
}
.akt-page-hero__sub {
  margin-top: 0.75rem;
  font-size: 1.125rem;
  color: #5E564F;
  max-width: 52ch;
}

/* Kicker-Varianten */
.akt-kicker--light {
  color: var(--akt-magenta-deep, #97315F);
}
.akt-kicker--muted {
  color: var(--akt-muted, #8C8279);
}
.akt-dot--muted {
  background: var(--akt-muted, #8C8279) !important;
}

/* Block-Spacing auf der Unterseite — überschreibt das große Homepage-Padding */
.akt-page-block {
  padding: 3.5rem 0 5rem !important;
}
.akt-page-block .section-head {
  max-width: 580px;
  margin-bottom: 2.5rem !important;
}

/* Kein Upcoming */
.akt-no-upcoming {
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
  padding: var(--space-xl, 6rem) 0;
}
.akt-no-upcoming__icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--akt-card, #EFE3D3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-md, 2rem);
  color: var(--akt-magenta, #C64F8A);
}
.akt-no-upcoming h2 {
  font-size: 1.6rem;
  margin-bottom: 0.75rem;
  color: var(--akt-ink, #2A2230);
}
.akt-no-upcoming p {
  color: var(--akt-body, #5E564F);
  margin-bottom: var(--space-md, 2rem);
}

/* Leer-Zustand Seitenleiste */
.akt-up-empty {
  padding: 1.25rem 1.5rem;
  background: var(--akt-card, #EFE3D3);
  border-radius: var(--radius-card, 1.5rem);
  color: var(--akt-body, #5E564F);
  font-size: 0.9375rem;
}
.akt-up-empty p { margin: 0; }

/* ---- Vergangene Veranstaltungen ---- */
.akt-page-past {
  background: var(--color-white);
  padding: var(--space-xl, 6rem) 0;
  border-top: 1px solid rgba(42, 34, 48, 0.07);
}
.akt-past-head {
  max-width: 580px;
}
.akt-past-head h2 {
  color: var(--akt-ink, #2A2230);
}
.akt-past-head p {
  color: var(--akt-body, #5E564F);
}

/* Grid: 3 Spalten → 2 → 1 */
.akt-past-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-top: 2.5rem;
}
@media (max-width: 980px) {
  .akt-past-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .akt-past-grid {
    grid-template-columns: 1fr;
  }
}

/* Vergangen-Karte */
.akt-past-card {
  background: #FDFAF7;
  border: 1px solid rgba(42, 34, 48, 0.08);
  border-radius: 1.25rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.akt-past-card:hover {
  box-shadow: 0 12px 32px -10px rgba(42, 24, 30, 0.18);
  transform: translateY(-2px);
}

/* Bild-Bereich */
.akt-past-card__img-wrap {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--akt-card, #EFE3D3);
}
.akt-past-card__img-wrap--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--akt-muted, #8C8279);
}
.akt-past-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
  filter: saturate(0.75) brightness(0.95);
}
.akt-past-card:hover .akt-past-card__img {
  transform: scale(1.04);
  filter: saturate(1) brightness(1);
}

/* Karten-Body */
.akt-past-card__body {
  padding: 1.25rem 1.375rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.5rem;
}

/* Meta-Zeile: Datum + Badge */
.akt-past-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.akt-past-card__date {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--akt-muted, #8C8279);
}
.akt-past-card__date-d {
  font-size: 1rem;
  font-weight: 800;
  color: var(--akt-ink, #2A2230);
}
.akt-past-card__date-sep { display: none; }
.akt-past-card__date-m {
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.akt-past-card__date-y {
  color: var(--akt-muted, #8C8279);
}
.akt-past-card__badge {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.2em 0.6em;
  border-radius: 999px;
  background: rgba(42, 34, 48, 0.07);
  color: var(--akt-muted, #8C8279);
  white-space: nowrap;
}

/* Titel */
.akt-past-card__title {
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--akt-ink, #2A2230);
  margin: 0;
}
.akt-past-card__title a {
  color: inherit;
  text-decoration: none;
}
.akt-past-card__title a:hover {
  color: var(--akt-magenta-deep, #97315F);
}

/* Teaser */
.akt-past-card__teaser {
  font-size: 0.9rem;
  color: var(--akt-body, #5E564F);
  line-height: 1.6;
  margin: 0;
  flex: 1;
}

/* Link — gedämpfte Variante */
.akt-link-arrow--muted {
  color: var(--akt-muted, #8C8279);
  margin-top: auto;
  padding-top: 0.5rem;
}
.akt-link-arrow--muted:hover {
  color: var(--akt-magenta-deep, #97315F);
}

/* ============================================================
   Event Detail Page (artikel.php)
   ============================================================ */

/* --- Hero --- */
.ev-hero {
  position: relative;
  margin-top: calc(-1 * var(--header-height));
}

.ev-hero .photo {
  position: relative;
  height: min(58vh, 560px);
  min-height: 380px;
  overflow: hidden;
}
.ev-hero .photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
}
.ev-hero .scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(28, 18, 26, 0.34) 0%,
    transparent 30%,
    transparent 46%,
    rgba(28, 18, 26, 0.74) 100%
  );
}
.ev-hero--no-img {
  height: min(58vh, 560px);
  min-height: 380px;
  background: linear-gradient(135deg, #DDC5A7 0%, var(--color-bg-dark) 100%);
}
.ev-hero .hero-inner {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  padding-bottom: clamp(28px, 4vw, 52px);
}
.ev-hero h1 {
  color: #fff;
  font-size: clamp(32px, 5.4vw, 62px);
  line-height: 1.0;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.4);
  text-wrap: balance;
  max-width: 16ch;
  margin: 0;
}
.ev-hero .hero-meta {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  color: #fff;
}
.ev-hero .hm {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}
.ev-hero .hm svg { flex: none; opacity: 0.92; width: 20px; height: 20px; }

/* --- Body --- */
.ev-body {
  background: var(--ed-cream);
  padding: clamp(40px, 6vw, 76px) 0 clamp(56px, 8vw, 104px);
}
.ev-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: clamp(36px, 5vw, 64px);
  align-items: start;
}
.ev-main { min-width: 0; }

.ev-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--color-text-muted);
  margin-bottom: 22px;
  text-decoration: none;
  transition: color 0.15s ease;
}
.ev-back:hover { color: var(--color-primary); text-decoration: none; }
.ev-back svg { width: 16px; height: 16px; }

.lede-lg {
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.5;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.ev-prose {
  margin-top: 20px;
  font-size: 17px;
  line-height: 1.75;
  color: #5E564F;
  max-width: 62ch;
}
.ev-prose p            { margin: 0 0 18px; }
.ev-prose p:last-child { margin-bottom: 0; }
.ev-prose h2           { margin: 28px 0 8px; color: var(--ink); }
.ev-prose h3           { margin: 20px 0 6px; color: var(--ink); }
.ev-prose ul,
.ev-prose ol           { margin: 0 0 18px; padding-left: 1.4em; }
.ev-prose li           { margin-bottom: 5px; }
.ev-prose a            { color: var(--color-primary); }
.ev-prose strong       { color: var(--ink); }

/* --- Sidebar --- */
.ev-aside {
  position: sticky;
  top: calc(var(--header-height) + 20px);
}
.ev-panel {
  background: #fff;
  border: 1px solid var(--ed-hairline);
  border-radius: 24px;
  box-shadow: var(--ed-shadow-md);
  overflow: hidden;
}
.ev-panel-pad { padding: 22px 22px 24px; }
.ev-panel-actions { display: flex; flex-direction: column; gap: 10px; }
.ev-panel .btn { width: 100%; justify-content: center; }

/* Facts list */
.ev-facts { border-top: 1px solid var(--ed-hairline); }
.ev-fact {
  display: flex;
  gap: 13px;
  padding: 15px 22px;
  border-bottom: 1px solid var(--ed-hairline);
}
.ev-fact:last-child { border-bottom: none; }
.ev-fact .fico {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: var(--ed-sand-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
}
.ev-fact .fico svg { width: 20px; height: 20px; }
.ev-fact .fk {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}
.ev-fact .fv {
  margin-top: 2px;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.4;
}
.ev-fact .fv small {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: #5E564F;
  margin-top: 1px;
}

/* Share row */
.ev-share {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
}
.ev-share .slab {
  font-size: 12px;
  font-weight: 700;
  color: var(--color-text-muted);
}
.ev-share .sicons { display: flex; gap: 8px; margin-left: auto; }
.ev-share a,
.ev-share button {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  border: 1px solid var(--ed-hairline);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  cursor: pointer;
  padding: 0;
  transition: all 0.2s ease;
  text-decoration: none;
}
.ev-share a:hover,
.ev-share button:hover {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
  transform: translateY(-2px);
  text-decoration: none;
}
.ev-share svg { width: 17px; height: 17px; }

/* --- Related events --- */
.ev-related {
  background: #fff;
  border-top: 1px solid var(--ed-hairline);
  padding: clamp(52px, 7vw, 88px) 0;
}
.ev-related-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-primary);
}
.ev-related-kicker .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-primary);
  flex: none;
}
.ev-related-h2 {
  margin: 8px 0 0;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.ev-rel-grid {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}
.ev-rel-card {
  background: #fff;
  border: 1px solid var(--ed-hairline);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--ed-shadow-sm);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: transform 0.18s ease, box-shadow 0.2s ease;
}
.ev-rel-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--ed-shadow-md);
  text-decoration: none;
}
.ev-rel-thumb {
  aspect-ratio: 16 / 10;
  position: relative;
  overflow: hidden;
  background: var(--ed-sand-soft);
}
.ev-rel-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ev-rel-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: #fff;
  border-radius: 12px;
  padding: 7px 11px 6px;
  text-align: center;
  line-height: 1;
  box-shadow: var(--ed-shadow-sm);
  min-width: 44px;
}
.ev-rel-badge .rbd {
  font-size: 18px;
  font-weight: 800;
  color: var(--color-primary);
  letter-spacing: -0.02em;
}
.ev-rel-badge .rbm {
  display: block;
  margin-top: 3px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
}
.ev-rel-body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.ev-rel-kick {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.ev-rel-card.teal  .ev-rel-kick { color: var(--ed-teal-deep); }
.ev-rel-card.blue  .ev-rel-kick { color: var(--ed-blue); }
.ev-rel-card.mauve .ev-rel-kick { color: var(--ed-mauve-deep); }
.ev-rel-card h3 {
  margin: 5px 0 0;
  font-size: 17px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.ev-rel-meta {
  margin-top: 7px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-muted);
  line-height: 1.4;
}
.ev-rel-go {
  margin-top: auto;
  padding-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-primary-deep);
}
.ev-rel-go svg { width: 16px; height: 16px; transition: transform 0.25s ease; }
.ev-rel-card:hover .ev-rel-go svg { transform: translateX(4px); }

/* --- Responsive --- */
@media (max-width: 980px) {
  .ev-grid { grid-template-columns: 1fr; }
  .ev-aside { position: static; }
}
@media (max-width: 680px) {
  .ev-hero .hero-meta { gap: 8px 16px; }
}

/* ==========================================================================
   Print
   ========================================================================== */
@media print {
  .site-header,
  .hamburger,
  .nav-overlay,
  .site-footer__donate-text,
  .site-footer__list--bank,
  .site-footer__credits { display: none !important; }

  body { color: #000; background: #fff; }

  a[href]::after { content: " (" attr(href) ")"; font-size: 0.85em; color: #444; }
  a[href^="#"]::after,
  a[href^="javascript"]::after { content: ""; }
}
