/* ============================================================
   BDMJ THEME v8.3 — VERBAND EDITION (refined, mobile-first)
   Saubere, performante, konsolidierte Edition.
   IBM Plex Sans + Mono · Petrol-tinted surfaces · Editorial layout
   ============================================================ */

/* ============================================================
   1. DESIGN TOKENS
   ============================================================ */
:root {
  /* Surfaces — petrol-tinted Layered System */
  --bg-base:    #eef4f5;
  --bg-paper:   #ffffff;
  --bg-mute:    #e2ecee;
  --bg-warm:    #d6e6e8;
  --bg-dark:    #082b35;
  --bg-dark-2:  #0c3a47;

  /* Legacy aliases for older page templates (page-mitglieder, page-regional, etc.) */
  --dark:          var(--bg-dark);
  --dark-2:        var(--bg-dark-2);
  --primary-light: var(--primary-300);

  /* Petrol Brand */
  --primary-950: #04161c;
  --primary-900: #082b35;
  --primary-800: #0d4f5c;
  --primary-700: #146775;
  --primary-600: #1b8190;
  --primary-500: #25a5b8;
  --primary-400: #4dc4d6;
  --primary-300: #84d8e3;
  --primary-200: #b3e6ec;
  --primary-100: #d4eaee;
  --primary-50:  #e8f3f5;
  --primary: var(--primary-800);

  /* Accent — gedämpftes Gold (sparsam) */
  --accent: #c8a05c;
  --accent-light: #dcb878;
  --accent-pale:  #f5ecd6;
  --accent-dark:  #9d7e44;

  /* Ink — dark text */
  --ink-950: #04060a;
  --ink-900: #060810;
  --ink-800: #0f1419;
  --ink-700: #1f262e;
  --ink-600: #3a4148;
  --ink-500: #5a6168;
  --ink-400: #7a8088;
  --ink-300: #a8aeb4;
  --ink-200: #cdd2d6;
  --ink-100: #e5e9ec;
  --ink-50:  #eef1f3;
  --ink-line: #d8dde0;
  --ink-rule: #c0c6cb;
  --ink: var(--ink-900);
  --ink-mute: var(--ink-700);

  /* On dark */
  --light-deep: #ffffff;
  --light-body: rgba(255, 255, 255, 0.86);
  --light-mute: rgba(255, 255, 255, 0.66);
  --light-soft: rgba(255, 255, 255, 0.45);
  --light-line: rgba(255, 255, 255, 0.09);

  /* Typography */
  --font-main:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-editorial: 'Fraunces', 'Inter', serif;
  --font-sans:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Shadows */
  --sh-xs: 0 1px 2px rgba(8, 20, 25, 0.05);
  --sh-sm: 0 1px 3px rgba(8, 20, 25, 0.08), 0 1px 2px rgba(8, 20, 25, 0.05);
  --sh-md: 0 4px 16px rgba(8, 20, 25, 0.08), 0 2px 6px rgba(8, 20, 25, 0.05);
  --sh-lg: 0 16px 48px rgba(8, 20, 25, 0.10), 0 8px 16px rgba(8, 20, 25, 0.06);
  --sh-xl: 0 32px 80px rgba(8, 20, 25, 0.14), 0 12px 24px rgba(8, 20, 25, 0.08);

  /* Radii */
  --r-xs: 3px;
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 14px;
  --r-xl: 20px;
  --r-full: 9999px;

  /* Motion */
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);

  /* Layout — fluid scaling via clamp */
  --max:        1200px;
  --max-content: 760px;
  --pad-x:      clamp(20px, 4vw, 32px);
  --pad-y:      clamp(56px, 9vw, 120px);
  --pad-y-sm:   clamp(40px, 7vw, 88px);
}

/* ============================================================
   2. RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-main);
  font-feature-settings: "ss01", "ss02";
  color: var(--ink);
  background: var(--bg-base);
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color 0.2s var(--ease-smooth); }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
::selection { background: var(--primary); color: #fff; }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-radius: 2px; }

/* ============================================================
   3. TYPOGRAPHY — fluid clamp-based scaling
   ============================================================ */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.022em;
  color: var(--ink-900);
}
h1 { font-size: clamp(32px, 5.5vw, 64px); letter-spacing: -0.03em; line-height: 1.04; }
h2 { font-size: clamp(26px, 4vw, 48px); letter-spacing: -0.025em; line-height: 1.08; }
h3 { font-size: clamp(18px, 2.2vw, 24px); font-weight: 600; }
h4 { font-size: clamp(15px, 1.6vw, 17px); font-weight: 600; }

p { line-height: 1.65; color: var(--ink-700); }
strong { font-weight: 600; color: var(--ink-900); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: clamp(10px, 1.1vw, 12px);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
}
.eyebrow::before {
  content: '';
  width: 20px; height: 1px;
  background: currentColor;
  opacity: 0.5;
  flex-shrink: 0;
}

.lead {
  font-size: clamp(16px, 1.8vw, 19px);
  line-height: 1.55;
  color: var(--ink-700);
}

.accent { color: var(--primary); }

/* Dark sections */
.section-dark, .cta-section, #site-footer { color: var(--light-body); }
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4,
.cta-section h1, .cta-section h2, .cta-section h3,
#site-footer h4 { color: var(--light-deep); }
.section-dark p, .cta-section p { color: var(--light-mute); }
.section-dark .eyebrow, .cta-section .eyebrow { color: var(--primary-300); }
.section-dark .accent, .cta-section .accent { color: var(--primary-300); }

/* ============================================================
   4. LAYOUT UTILITIES
   ============================================================ */
.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad-x); }
.container-narrow { max-width: var(--max-content); margin: 0 auto; padding: 0 var(--pad-x); }
.section { padding: var(--pad-y) 0; position: relative; }
.section-md { padding: var(--pad-y-sm) 0; }
.section-soft  { background: var(--bg-mute); }
.section-paper { background: var(--bg-paper); }
.section-warm  { background: var(--bg-warm); }
.section-dark  { background: var(--bg-dark); color: var(--light-body); }

/* ============================================================
   5. BADGE
   ============================================================ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  background: var(--bg-paper);
  border: 1px solid var(--ink-line);
  border-radius: var(--r-full);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-700);
}
.badge-dot { width: 5px; height: 5px; background: var(--primary); border-radius: 50%; flex-shrink: 0; }
.section-dark .badge {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.12);
  color: var(--light-body);
}

/* ============================================================
   6. BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 24px;
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  background: transparent;
  color: inherit;
  border: 1px solid transparent;
  border-radius: 2px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.2s var(--ease-smooth), border-color 0.2s var(--ease-smooth), color 0.2s var(--ease-smooth), transform 0.12s var(--ease-smooth);
}
.btn:active { transform: translateY(1px); }
.btn svg { flex-shrink: 0; width: 16px; height: 16px; transition: transform 0.25s var(--ease-out); }
.btn:hover svg { transform: translateX(3px); }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: 13px; }
.btn-sm svg { width: 14px; height: 14px; }
.btn-lg { min-height: 54px; padding: 0 30px; font-size: 15px; }
.btn-lg svg { width: 18px; height: 18px; }
.btn-primary { background: var(--ink-900); color: #fff; border-color: var(--ink-900); }
.btn-primary:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.btn-outline { color: var(--ink-900); border-color: var(--ink-900); }
.btn-outline:hover { background: var(--ink-900); color: #fff; }
.btn-white { background: #fff; color: var(--ink-900); border-color: #fff; }
.btn-white:hover { background: var(--bg-mute); border-color: var(--bg-mute); }
.btn-ghost-white { color: #fff; border-color: rgba(255,255,255,0.35); }
.btn-ghost-white:hover { background: rgba(255,255,255,0.08); border-color: #fff; color: #fff; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--primary);
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  transition: gap 0.25s var(--ease-out);
}
.link-arrow:hover { gap: 12px; }
.link-arrow svg { width: 14px; height: 14px; flex-shrink: 0; }

/* ============================================================
   7. HEADER + NAV
   ============================================================ */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(238, 244, 245, 0.88);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease;
}
#site-header.scrolled {
  background: rgba(255, 255, 255, 0.96);
  border-bottom-color: var(--ink-line);
}
.nav-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  height: 88px;
  padding: 0 var(--pad-x);
  max-width: 1400px;
  margin: 0 auto;
  gap: 24px;
}
.nav-logo { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-logo img { height: 56px; width: auto; display: block; }
.nav-menu { display: flex; align-items: center; gap: 2px; justify-self: center; }
.nav-item { position: relative; }
.nav-link {
  display: block;
  padding: 9px 14px;
  color: var(--ink-700);
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--r-xs);
  transition: color 0.18s ease, background 0.18s ease;
  white-space: nowrap;
}
.nav-link:hover { color: var(--ink-900); background: var(--bg-mute); }
.nav-link.active { color: var(--primary); }
.nav-link .arrow { display: inline-block; margin-left: 4px; font-size: 8px; opacity: 0.5; transition: transform 0.25s; }
.nav-item:hover .arrow { transform: rotate(180deg); opacity: 0.8; }

.nav-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 240px;
  background: var(--bg-paper);
  border: 1px solid var(--ink-line);
  border-radius: var(--r-md);
  padding: 6px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.22s var(--ease-out);
  box-shadow: var(--sh-lg);
}
.nav-item:hover .nav-dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.nav-dropdown a {
  display: block;
  padding: 9px 14px;
  color: var(--ink-700);
  font-size: 13.5px;
  font-weight: 500;
  border-radius: var(--r-xs);
  transition: all 0.18s ease;
}
.nav-dropdown a:hover { color: var(--ink-900); background: var(--bg-mute); padding-left: 18px; }

.nav-cta { display: inline-flex; align-items: center; gap: 12px; justify-self: end; }
.nav-mobile-cta { display: none; }

/* === SAFETY NET v2: enforce readable contrast on every surface === */
body, p, li, dl, dd, dt { color: var(--ink-700); }
h1, h2, h3, h4, h5, h6 { color: var(--ink-900); }
a { color: var(--primary); }
a:hover { color: var(--primary-700); }

/* Legacy templates use [style*="background:var(--dark"] or class section-dark.
   Any element whose own background uses var(--dark*) or that lives inside one
   must have readable light text — overrides the inline rgba(255,255,255,0.5)
   from the old templates which produces sub-AA contrast. */
.section-dark,
[style*="background:var(--dark)"],
[style*="background:var(--dark-2)"],
[style*="background: var(--dark)"],
[style*="background: var(--dark-2)"] {
  background-color: var(--bg-dark);
  color: var(--light-deep);
}
.section-dark *,
[style*="background:var(--dark)"] *,
[style*="background:var(--dark-2)"] *,
[style*="background: var(--dark)"] *,
[style*="background: var(--dark-2)"] * {
  color: inherit;
}
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4, .section-dark h5, .section-dark h6,
[style*="background:var(--dark"] h1,
[style*="background:var(--dark"] h2,
[style*="background:var(--dark"] h3,
[style*="background:var(--dark"] h4,
[style*="background:var(--dark"] h5,
[style*="background:var(--dark"] h6,
.cta-section h1, .cta-section h2, .cta-section h3, .cta-section h4,
.prayer-featured-card h1, .prayer-featured-card h2, .prayer-featured-card h3 {
  color: #fff !important;
}
.section-dark p, .section-dark li,
[style*="background:var(--dark"] p,
[style*="background:var(--dark"] li,
.cta-section p, .cta-section li,
.prayer-featured-card p {
  color: rgba(255, 255, 255, 0.88) !important;
}
.section-dark .badge,
[style*="background:var(--dark"] .badge {
  color: var(--primary-300) !important;
}
.section-dark strong,
[style*="background:var(--dark"] strong {
  color: #fff !important;
}

/* Old inline pattern: color:rgba(255,255,255,0.5) and 0.6 — bump to 0.88 readable */
[style*="rgba(255,255,255,0.5)"],
[style*="rgba(255,255,255,0.6)"],
[style*="rgba(255,255,255,0.65)"],
[style*="rgba(255, 255, 255, 0.5)"],
[style*="rgba(255, 255, 255, 0.6)"],
[style*="rgba(255, 255, 255, 0.65)"] {
  color: rgba(255, 255, 255, 0.88) !important;
}

.lang-switcher {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--ink-line);
  border-radius: var(--r-xs);
  overflow: hidden;
  background: var(--bg-paper);
}
.lang-switcher button {
  padding: 5px 9px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--ink-500);
  cursor: pointer;
  background: transparent;
  transition: all 0.18s ease;
}
.lang-switcher button + button { border-left: 1px solid var(--ink-line); }
.lang-switcher button:hover { color: var(--ink-900); background: var(--bg-mute); }
.lang-switcher button.active { background: var(--ink-900); color: #fff; }

.lang-toast {
  position: fixed;
  bottom: 28px; left: 50%;
  transform: translateX(-50%) translateY(20px);
  padding: 12px 20px;
  background: var(--ink-900);
  color: #fff;
  border-radius: var(--r-sm);
  font-size: 13.5px;
  font-weight: 500;
  box-shadow: var(--sh-lg);
  opacity: 0;
  visibility: hidden;
  z-index: 10000;
  transition: all 0.3s var(--ease-out);
  max-width: 90vw;
  text-align: center;
}
.lang-toast.show { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }

.nav-toggle {
  display: none;
  align-items: center; justify-content: center;
  width: 42px; height: 42px;
  cursor: pointer;
  border-radius: var(--r-xs);
  background: var(--bg-paper);
  border: 1px solid var(--ink-line);
  color: var(--ink-900);
  transition: all 0.18s ease;
}
.nav-toggle:hover { background: var(--bg-mute); }
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle.open .icon-mosque { display: none; }
.nav-toggle.open .icon-close { display: block; }
.nav-toggle.open { background: var(--ink-900); color: #fff; border-color: var(--ink-900); }

/* ============================================================
   8. HERO
   ============================================================ */
.hero {
  position: relative;
  background: var(--bg-base);
  padding: clamp(120px, 16vw, 152px) 0 clamp(56px, 8vw, 96px);
  overflow: hidden;
}
.hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.hero-content { max-width: 600px; min-width: 0; }
.hero-marker {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-500);
}
.hero-marker-line { flex: 0 0 36px; height: 1px; background: var(--ink-rule); }
.hero-marker-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
  animation: heroDot 2.5s ease-in-out infinite;
}
@keyframes heroDot { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(34px, 6vw, 76px);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.028em;
  color: var(--ink-900);
  margin-bottom: 24px;
  overflow-wrap: break-word;
}
.hero-title .accent { color: var(--primary); }
.hero-title-after-line { width: 56px; height: 2px; background: var(--primary); margin-bottom: 24px; }

.hero-subtitle {
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 1.6;
  color: var(--ink-700);
  margin-bottom: 36px;
  max-width: 520px;
}

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--bg-mute);
}
.hero-visual img { width: 100%; height: 100%; object-fit: cover; }

.hero-stat-float {
  position: absolute;
  bottom: 22px; left: 22px;
  background: var(--bg-paper);
  border: 1px solid var(--ink-line);
  border-radius: var(--r-sm);
  padding: 14px 20px;
  box-shadow: var(--sh-md);
  z-index: 2;
  max-width: calc(100% - 44px);
}
.hero-stat-float-num {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--primary);
  margin-bottom: 4px;
}
.hero-stat-float-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-500);
}

/* Image placeholder */
.img-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: linear-gradient(135deg, var(--bg-mute), var(--bg-warm));
  border: 1px dashed var(--ink-rule);
  color: var(--ink-500);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  min-height: 100%;
  padding: 32px 16px;
  text-align: center;
}
.img-placeholder svg { width: 32px; height: 32px; opacity: 0.4; }

/* ============================================================
   9. SECTION HEADERS (Editorial Pattern)
   ============================================================ */
.section-header-editorial {
  max-width: var(--max);
  margin: 0 auto clamp(40px, 6vw, 64px);
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: end;
}
.section-header-editorial-left .eyebrow { margin-bottom: 16px; }
.section-header-editorial-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--ink-900);
}
.section-header-editorial-title .accent { color: var(--primary); }
.section-header-editorial-right {
  padding-bottom: 6px;
  font-size: clamp(14px, 1.4vw, 16px);
  line-height: 1.6;
  color: var(--ink-600);
  max-width: 420px;
}

/* ============================================================
   10. PROFILE SECTION
   ============================================================ */
.profile-section { padding: var(--pad-y) 0; background: var(--bg-paper); border-top: 1px solid var(--ink-line); }
.profile-header {
  max-width: var(--max);
  margin: 0 auto clamp(40px, 6vw, 72px);
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: end;
}
.profile-header-left { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.profile-header-marker {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--ink-500);
  text-transform: uppercase;
}
.profile-header-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4.4vw, 56px);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: var(--ink-900);
  max-width: 600px;
}
.profile-header-title .accent { color: var(--primary); }
.profile-header-lead {
  padding-bottom: 6px;
  font-size: clamp(14px, 1.3vw, 16px);
  color: var(--ink-700);
  line-height: 1.55;
  max-width: 380px;
  border-left: 2px solid var(--primary);
  padding-left: 20px;
}

.profile-body {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
}
.profile-text p {
  font-size: clamp(15px, 1.4vw, 16px);
  line-height: 1.7;
  color: var(--ink-700);
  margin-bottom: 18px;
}
.profile-text p:last-child { margin-bottom: 0; }
.profile-aside {
  padding: clamp(24px, 4vw, 36px);
  background: var(--bg-mute);
  border-left: 3px solid var(--primary);
  border-radius: var(--r-sm);
  position: relative;
}
.profile-aside-marker {
  position: absolute;
  top: -12px; left: clamp(20px, 3vw, 32px);
  background: var(--bg-paper);
  padding: 2px 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  border: 1px solid var(--ink-line);
  border-radius: var(--r-full);
}
.profile-aside h3 {
  font-family: var(--font-display);
  font-size: clamp(17px, 1.8vw, 22px);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.015em;
  margin-bottom: 14px;
  color: var(--ink-900);
}
.profile-aside p { font-size: 14px; color: var(--ink-700); line-height: 1.6; }

.profile-stats {
  max-width: var(--max);
  margin: clamp(48px, 8vw, 72px) auto 0;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.profile-stat {
  padding: clamp(20px, 3vw, 32px) clamp(14px, 2vw, 24px);
  border-right: 1px solid var(--ink-line);
  border-top: 1px solid var(--ink-line);
}
.profile-stat:first-child { padding-left: 0; }
.profile-stat:last-child { border-right: 0; padding-right: 0; }
.profile-stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 600;
  color: var(--primary);
  line-height: 1;
  letter-spacing: -0.025em;
  margin-bottom: 10px;
  font-variant-numeric: tabular-nums;
}
.profile-stat-label {
  font-family: var(--font-mono);
  font-size: clamp(10px, 1vw, 11px);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-500);
}

/* ============================================================
   11. MISSION SECTION
   ============================================================ */
.mission-section { padding: var(--pad-y) 0; background: var(--bg-base); }
.mission-grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.mission-card {
  position: relative;
  background: var(--bg-paper);
  border: 1px solid var(--ink-line);
  padding: clamp(24px, 3vw, 32px) clamp(20px, 2.5vw, 28px);
  transition: all 0.3s var(--ease-out);
  min-width: 0;
}
.mission-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 0; height: 2px;
  background: var(--primary);
  transition: width 0.4s var(--ease-out);
}
.mission-card:hover::before { width: 100%; }
.mission-card:hover {
  border-color: var(--ink-300);
  background: #fff;
  transform: translateY(-2px);
}
.mission-card-number {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 32px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--primary);
  margin-bottom: 18px;
  display: block;
}
.mission-card-eyebrow {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-500);
  margin-bottom: 10px;
}
.mission-card h3 {
  font-family: var(--font-display);
  font-size: clamp(17px, 1.8vw, 19px);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--ink-900);
  margin-bottom: 12px;
}
.mission-card p { font-size: 14px; color: var(--ink-600); line-height: 1.6; }

/* ============================================================
   12. ZIGZAG SECTION
   ============================================================ */
.zigzag-section { padding: var(--pad-y) 0; background: var(--bg-paper); }
.zigzag-list {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: flex;
  flex-direction: column;
  gap: clamp(48px, 8vw, 96px);
}
.zigzag-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.zigzag-item:nth-child(even) .zigzag-visual { order: 2; }
.zigzag-item:nth-child(even) .zigzag-content { order: 1; }
.zigzag-visual {
  aspect-ratio: 5/4;
  background: var(--bg-mute);
  border-radius: var(--r-md);
  overflow: hidden;
  position: relative;
}
.zigzag-visual img { width: 100%; height: 100%; object-fit: cover; }
.zigzag-visual::after {
  content: '';
  position: absolute;
  top: 16px; right: 16px;
  width: 28px; height: 28px;
  border-top: 1px solid var(--primary);
  border-right: 1px solid var(--primary);
  opacity: 0.5;
}
.zigzag-content { max-width: 460px; min-width: 0; }
.zigzag-content .eyebrow { margin-bottom: 16px; }
.zigzag-content h3 {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.8vw, 36px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.022em;
  color: var(--ink-900);
  margin-bottom: 16px;
}
.zigzag-content h3 .accent { color: var(--primary); }
.zigzag-content p {
  font-size: clamp(14px, 1.4vw, 16px);
  line-height: 1.65;
  color: var(--ink-700);
  margin-bottom: 22px;
}

/* ============================================================
   13. NEWS SECTION
   ============================================================ */
.news-section { padding: var(--pad-y) 0; background: var(--bg-base); }
.news-header {
  max-width: var(--max);
  margin: 0 auto clamp(32px, 5vw, 56px);
  padding: 0 var(--pad-x);
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  flex-wrap: wrap;
}
.news-header-left { max-width: 560px; }
.news-header-left .eyebrow { margin-bottom: 12px; }
.news-header-left h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: var(--ink-900);
}
.news-header-left h2 .accent { color: var(--primary); }

.news-grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(20px, 3vw, 32px);
}
.news-side { display: flex; flex-direction: column; gap: clamp(16px, 2vw, 24px); }
.news-card-featured {
  background: var(--bg-paper);
  border: 1px solid var(--ink-line);
  overflow: hidden;
  transition: all 0.3s var(--ease-out);
}
.news-card-featured:hover { border-color: var(--ink-300); }
.news-card-featured .news-img { aspect-ratio: 16/10; overflow: hidden; background: var(--bg-mute); }
.news-card-featured .news-content { padding: clamp(24px, 3vw, 32px); }
.news-card-featured h3 {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.018em;
  color: var(--ink-900);
  margin-bottom: 14px;
}
.news-card-featured p { font-size: 15px; color: var(--ink-700); line-height: 1.6; margin-bottom: 18px; }
.news-card-side {
  background: var(--bg-paper);
  border: 1px solid var(--ink-line);
  padding: clamp(20px, 2.5vw, 24px) clamp(22px, 3vw, 28px);
  flex: 1;
  display: flex;
  flex-direction: column;
  transition: all 0.3s var(--ease-out);
}
.news-card-side:hover { border-color: var(--ink-300); }
.news-card-side h3 {
  font-family: var(--font-display);
  font-size: clamp(16px, 1.7vw, 18px);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--ink-900);
  margin-bottom: 12px;
}

.news-category {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 10px;
}
.news-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--ink-line);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--ink-500);
  gap: 8px;
}
.news-arrow { color: var(--primary); flex-shrink: 0; }
.news-arrow svg { width: 14px; height: 14px; }
.news-card-link { display: block; height: 100%; color: inherit; }

/* ============================================================
   14. STIMMEN SECTION
   ============================================================ */
.stimmen-section { padding: var(--pad-y) 0; background: var(--bg-mute); }
.stimmen-grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 3vw, 32px);
}
.stimmen-card {
  background: var(--bg-paper);
  border: 1px solid var(--ink-line);
  border-left: 3px solid var(--primary);
  padding: clamp(28px, 4vw, 36px);
  transition: all 0.3s var(--ease-out);
}
.stimmen-card:hover { border-color: var(--ink-300); border-left-color: var(--primary); transform: translateY(-2px); }
.stimmen-card-mark {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 48px);
  line-height: 0.7;
  color: var(--primary);
  margin-bottom: 14px;
  font-weight: 600;
}
.stimmen-card-text {
  font-family: var(--font-display);
  font-size: clamp(16px, 1.8vw, 21px);
  line-height: 1.5;
  color: var(--ink-900);
  margin-bottom: 22px;
  font-weight: 500;
  letter-spacing: -0.012em;
}
.stimmen-card-source {
  display: flex; align-items: center; gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--ink-line);
}
.stimmen-card-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-100), var(--primary-50));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  flex-shrink: 0;
}
.stimmen-card-name { display: block; font-size: 14px; font-weight: 600; color: var(--ink-900); line-height: 1.2; margin-bottom: 2px; }
.stimmen-card-role { font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: 0.06em; color: var(--ink-500); }

/* ============================================================
   15. CTA SECTION
   ============================================================ */
.cta-section {
  position: relative;
  background: var(--bg-dark);
  color: var(--light-body);
  padding: var(--pad-y) var(--pad-x);
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 25% 30%, rgba(37, 165, 184, 0.28) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 75% 70%, rgba(200, 160, 92, 0.12) 0%, transparent 60%);
  pointer-events: none;
}
.cta-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(40px, 6vw, 72px);
  align-items: center;
}
.cta-content .eyebrow { color: var(--primary-300); margin-bottom: 22px; }
.cta-section h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.025em;
  color: var(--light-deep);
  margin-bottom: 20px;
}
.cta-section h2 .accent { color: var(--primary-300); }
.cta-section p {
  font-size: clamp(15px, 1.5vw, 16px);
  line-height: 1.6;
  color: var(--light-body);
  margin-bottom: 32px;
  max-width: 520px;
}
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-visual {
  aspect-ratio: 1/1;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.cta-visual img { width: 100%; height: 100%; object-fit: cover; }
.cta-visual .img-placeholder {
  background: rgba(255,255,255,0.02);
  border: 1px dashed rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.5);
}

/* ============================================================
   16. PAGE HERO (subpages)
   ============================================================ */
.page-hero {
  background: var(--bg-base);
  padding: clamp(120px, 16vw, 152px) 0 clamp(56px, 8vw, 80px);
  border-bottom: 1px solid var(--ink-line);
  position: relative;
}
.page-hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  text-align: center;
}
.page-hero .eyebrow { margin-bottom: 20px; justify-content: center; display: inline-flex; }
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(32px, 5.2vw, 68px);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.028em;
  color: var(--ink-900);
  margin: 0 auto 20px;
  max-width: 880px;
  overflow-wrap: break-word;
}
.page-hero h1 .accent { color: var(--primary); }
.page-hero p {
  font-size: clamp(15px, 1.5vw, 18px);
  color: var(--ink-700);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.6;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 56px; height: 2px;
  background: var(--primary);
}

/* ============================================================
   17. BREADCRUMB
   ============================================================ */
.breadcrumb {
  background: var(--bg-paper);
  border-bottom: 1px solid var(--ink-line);
  padding: 12px 0;
  margin-top: 72px;
}
.breadcrumb-inner {
  display: flex; align-items: center; gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--ink-500);
  flex-wrap: wrap;
}
.breadcrumb-inner a { color: var(--ink-600); transition: color 0.18s; }
.breadcrumb-inner a:hover { color: var(--primary); }
.breadcrumb-sep { color: var(--ink-300); }
.breadcrumb-current { color: var(--ink-900); }

/* ============================================================
   18. PAGE CONTENT (Generic body)
   ============================================================ */
.page-content { padding: var(--pad-y-sm) 0; background: var(--bg-paper); }
.page-content-inner { max-width: var(--max-content); margin: 0 auto; padding: 0 var(--pad-x); }

/* ============================================================
   19. GLAUBE PAGES
   ============================================================ */
.glaube-intro { padding: var(--pad-y-sm) 0; background: var(--bg-paper); border-bottom: 1px solid var(--ink-line); }
.glaube-intro-inner { max-width: var(--max-content); margin: 0 auto; padding: 0 var(--pad-x); }
.glaube-intro-lead {
  font-family: var(--font-display);
  font-size: clamp(19px, 2.4vw, 28px);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.018em;
  color: var(--ink-900);
  margin-bottom: 20px;
}
.glaube-intro-lead .accent { color: var(--primary); }
.glaube-intro p { font-size: clamp(15px, 1.4vw, 16.5px); line-height: 1.7; color: var(--ink-700); margin-bottom: 16px; }

.glaube-section { padding: var(--pad-y-sm) 0; }
.glaube-section-paper { background: var(--bg-paper); }
.glaube-section-mute { background: var(--bg-mute); }
.glaube-section-base { background: var(--bg-base); }
.glaube-section .container-narrow > h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.2vw, 36px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.022em;
  color: var(--ink-900);
  margin-bottom: 20px;
}
.glaube-section .container-narrow > h2 .accent { color: var(--primary); }
.glaube-section .container-narrow > h3 {
  font-family: var(--font-display);
  font-size: clamp(18px, 1.8vw, 20px);
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink-900);
  margin: 28px 0 12px;
}
.glaube-section .container-narrow > p { font-size: clamp(15px, 1.4vw, 16px); line-height: 1.7; color: var(--ink-700); margin-bottom: 16px; }

.glaube-numbered-list {
  margin: clamp(28px, 4vw, 36px) 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(14px, 2vw, 18px);
}
.glaube-numbered-item {
  background: var(--bg-paper);
  border: 1px solid var(--ink-line);
  padding: clamp(20px, 3vw, 26px);
  transition: all 0.25s var(--ease-out);
}
.glaube-numbered-item:hover { border-color: var(--ink-300); box-shadow: var(--sh-sm); }
.glaube-numbered-item-no {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(22px, 2.6vw, 28px);
  font-weight: 600;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 12px;
}
.glaube-numbered-item h4 {
  font-family: var(--font-display);
  font-size: clamp(15px, 1.6vw, 17px);
  font-weight: 600;
  color: var(--ink-900);
  letter-spacing: -0.015em;
  margin-bottom: 8px;
}
.glaube-numbered-item p { font-size: 14px; color: var(--ink-600); line-height: 1.6; }

.glaube-callout {
  margin: clamp(28px, 4vw, 36px) 0;
  padding: clamp(22px, 3vw, 28px) clamp(24px, 4vw, 32px);
  background: var(--bg-mute);
  border-left: 3px solid var(--primary);
  border-radius: var(--r-sm);
}
.glaube-callout-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
  display: block;
}
.glaube-callout p { font-size: clamp(15px, 1.4vw, 16px); color: var(--ink-800); line-height: 1.65; margin: 0; }
.glaube-callout p + p { margin-top: 12px; }

.glaube-source {
  margin: 24px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--ink-line);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--ink-500);
}

.glaube-related { padding: var(--pad-y-sm) 0; background: var(--bg-mute); border-top: 1px solid var(--ink-line); }
.glaube-related-title {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-500);
  margin-bottom: 8px;
  display: block;
}
.glaube-related-heading {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.8vw, 28px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink-900);
  margin-bottom: 28px;
}
.glaube-related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(12px, 2vw, 16px);
}
.glaube-related-card {
  background: var(--bg-paper);
  border: 1px solid var(--ink-line);
  padding: 20px 22px;
  transition: all 0.25s var(--ease-out);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.glaube-related-card:hover { border-color: var(--primary); transform: translateY(-2px); }
.glaube-related-card-no {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--primary);
  text-transform: uppercase;
}
.glaube-related-card-title {
  font-family: var(--font-display);
  font-size: clamp(14px, 1.5vw, 16px);
  font-weight: 600;
  color: var(--ink-900);
  letter-spacing: -0.012em;
}

/* ============================================================
   20. PRAYER TIMES
   ============================================================ */
.prayer-section { padding: var(--pad-y) 0; background: var(--bg-base); }
.prayer-header {
  max-width: var(--max);
  margin: 0 auto clamp(32px, 5vw, 48px);
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: end;
}
.prayer-header h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.8vw, 44px);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: var(--ink-900);
  margin-top: 8px;
}
.prayer-header h2 .accent { color: var(--primary); }
.prayer-date {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-500);
  padding: 8px 14px;
  background: var(--bg-paper);
  border: 1px solid var(--ink-line);
  border-radius: var(--r-full);
  white-space: nowrap;
}

.prayer-featured {
  max-width: var(--max);
  margin: 0 auto 32px;
  padding: 0 var(--pad-x);
}
.prayer-featured-card {
  background: var(--bg-dark);
  border-radius: var(--r-md);
  padding: clamp(28px, 4vw, 40px);
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(28px, 4vw, 40px);
  align-items: center;
  position: relative;
  overflow: hidden;
}
.prayer-featured-card::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 50% 50% at 30% 30%, rgba(37,165,184,0.2) 0%, transparent 60%);
  pointer-events: none;
}
.prayer-featured-info { position: relative; z-index: 1; min-width: 0; }
.prayer-featured-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary-300);
  margin-bottom: 12px;
}
.prayer-featured-city {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.6vw, 30px);
  font-weight: 600;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.prayer-featured-note { font-size: 13.5px; color: rgba(255,255,255,0.6); line-height: 1.5; }
.prayer-featured-times {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border-left: 1px solid rgba(255,255,255,0.08);
}
.prayer-time-item {
  padding: 0 clamp(8px, 1.4vw, 16px);
  text-align: center;
}
.prayer-time-name {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 8px;
}
.prayer-time-value {
  font-family: var(--font-display);
  font-size: clamp(17px, 2.4vw, 26px);
  font-weight: 500;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.prayer-grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(12px, 2vw, 16px);
}
.prayer-card {
  background: var(--bg-paper);
  border: 1px solid var(--ink-line);
  border-radius: var(--r-sm);
  padding: clamp(20px, 2.6vw, 24px);
  transition: all 0.25s var(--ease-out);
}
.prayer-card:hover { border-color: var(--ink-300); transform: translateY(-2px); box-shadow: var(--sh-sm); }
.prayer-card-state {
  font-family: var(--font-display);
  font-size: clamp(15px, 1.8vw, 18px);
  font-weight: 600;
  color: var(--ink-900);
  letter-spacing: -0.015em;
  margin-bottom: 4px;
  line-height: 1.2;
}
.prayer-card-city {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-500);
  margin-bottom: 16px;
}
.prayer-card-times {
  list-style: none;
  margin: 0;
  padding: 12px 0 0;
  border-top: 1px solid var(--ink-line);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.prayer-card-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 12.5px;
  gap: 12px;
  padding: 4px 0;
  border-bottom: 1px dashed var(--ink-100);
}
.prayer-card-row:last-child { border-bottom: 0; }
.prayer-meta {
  margin-top: 14px !important;
  font-family: var(--font-mono);
  font-size: 11.5px !important;
  letter-spacing: 0.04em;
  color: var(--ink-500);
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.prayer-meta-sep { opacity: 0.5; }
.prayer-meta time { color: var(--ink-700); font-weight: 500; }
.prayer-card-row-name {
  font-family: var(--font-mono);
  color: var(--ink-500);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.prayer-card-row-value {
  font-family: var(--font-mono);
  color: var(--ink-900);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

/* ============================================================
   21. VORSTAND PAGE
   ============================================================ */
.vorstand-page { background: var(--bg-paper); padding: var(--pad-y) 0; }
.vorstand-meta {
  max-width: var(--max);
  margin: 0 auto clamp(40px, 6vw, 64px);
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
.vorstand-meta-text { font-size: clamp(15px, 1.4vw, 16px); line-height: 1.7; color: var(--ink-700); }
.vorstand-meta-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.vorstand-meta-fact { background: var(--bg-base); border: 1px solid var(--ink-line); padding: 20px 22px; }
.vorstand-meta-fact-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-500);
  margin-bottom: 6px;
}
.vorstand-meta-fact-value {
  font-family: var(--font-display);
  font-size: clamp(17px, 1.8vw, 20px);
  font-weight: 600;
  color: var(--ink-900);
  letter-spacing: -0.015em;
}

.vorstand-featured-card { max-width: var(--max); margin: 0 auto clamp(40px, 6vw, 64px); padding: 0 var(--pad-x); }
.vorstand-featured-card-inner {
  background: var(--bg-base);
  border: 1px solid var(--ink-line);
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: clamp(28px, 4vw, 40px);
  padding: clamp(28px, 4vw, 36px);
}
.vorstand-featured-photo {
  aspect-ratio: 4/5;
  background: var(--bg-mute);
  border-radius: var(--r-sm);
  overflow: hidden;
}
.vorstand-featured-photo img { width: 100%; height: 100%; object-fit: cover; }
.vorstand-featured-info { display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.vorstand-featured-info .eyebrow { margin-bottom: 14px; }
.vorstand-featured-info h3 {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.022em;
  color: var(--ink-900);
  margin-bottom: 10px;
}
.vorstand-featured-position {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 6px;
}
.vorstand-featured-city { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; color: var(--ink-500); margin-bottom: 18px; }
.vorstand-featured-bio { font-size: 14.5px; color: var(--ink-700); line-height: 1.65; }

.vorstand-grid-v8 {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2.5vw, 24px);
}
.vorstand-card-v8 {
  background: var(--bg-base);
  border: 1px solid var(--ink-line);
  padding: clamp(22px, 3vw, 28px);
  transition: all 0.25s var(--ease-out);
}
.vorstand-card-v8:hover { border-color: var(--ink-300); transform: translateY(-2px); }
.vorstand-photo-v8 {
  width: 100%;
  aspect-ratio: 4/5;
  background: var(--bg-mute);
  border-radius: var(--r-sm);
  overflow: hidden;
  margin-bottom: 18px;
}
.vorstand-photo-v8 img { width: 100%; height: 100%; object-fit: cover; }
.vorstand-name-v8 {
  font-family: var(--font-display);
  font-size: clamp(16px, 1.8vw, 19px);
  font-weight: 600;
  color: var(--ink-900);
  letter-spacing: -0.015em;
  margin-bottom: 4px;
  line-height: 1.2;
}
.vorstand-position-v8 {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 4px;
}
.vorstand-city-v8 { font-family: var(--font-mono); font-size: 10.5px; color: var(--ink-500); letter-spacing: 0.06em; }

/* ============================================================
   22. FOOTER
   ============================================================ */
#site-footer { background: var(--bg-dark); color: var(--light-mute); padding: clamp(56px, 8vw, 88px) 0 0; }

.footer-feature {
  max-width: var(--max);
  margin: 0 auto clamp(48px, 7vw, 72px);
  padding: 0 var(--pad-x) clamp(48px, 7vw, 72px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  border-bottom: 1px solid var(--light-line);
}
.footer-feature .eyebrow { color: var(--primary-300); margin-bottom: 16px; }
.footer-feature-title {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.2vw, 38px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.022em;
  color: var(--light-deep);
  margin-bottom: 16px;
}
.footer-feature-title .accent { color: var(--primary-300); }
.footer-feature-text { font-size: clamp(14px, 1.4vw, 16px); line-height: 1.6; color: var(--light-body); margin-bottom: 22px; }
.footer-feature-contact { display: flex; flex-direction: column; gap: 14px; }
.footer-contact-item {
  display: flex; align-items: flex-start; gap: 14px;
  padding: clamp(16px, 2vw, 20px) clamp(18px, 2.4vw, 24px);
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--light-line);
  border-radius: var(--r-sm);
}
.footer-contact-icon {
  flex-shrink: 0;
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.05);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary-300);
}
.footer-contact-icon svg { width: 16px; height: 16px; }
.footer-contact-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--light-soft);
  margin-bottom: 4px;
  display: block;
}
.footer-contact-value { font-size: 14px; color: var(--light-deep); font-weight: 500; word-break: break-word; }
.footer-contact-value a:hover { color: var(--primary-300); }

.footer-grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad-x) clamp(40px, 6vw, 56px);
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: clamp(28px, 4vw, 48px);
  border-bottom: 1px solid var(--light-line);
}
.footer-brand { max-width: 380px; }
.footer-logo { display: flex; align-items: center; margin-bottom: 20px; }
.footer-logo img { height: 44px; width: auto; }
.footer-desc { font-size: 14px; line-height: 1.65; color: var(--light-mute); margin-bottom: 22px; }
.footer-social { display: flex; gap: 8px; flex-wrap: wrap; }
.footer-social a {
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.04);
  border-radius: var(--r-xs);
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--light-line);
  color: var(--light-mute);
  transition: all 0.2s ease;
}
.footer-social a:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.2); color: var(--light-deep); }
.footer-social .social-icon { width: 16px; height: 16px; }

.footer-col h4 {
  font-family: var(--font-mono);
  color: var(--light-deep);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a {
  font-size: 14px;
  color: var(--light-mute);
  transition: all 0.18s;
  display: inline-flex; align-items: center; gap: 6px;
}
.footer-col ul a:hover { color: var(--primary-300); }

.footer-bottom {
  max-width: var(--max);
  margin: 0 auto;
  padding: 22px var(--pad-x);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--light-soft);
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-bottom-links a:hover { color: var(--primary-300); }
.footer-credit {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--light-soft);
  padding: 12px var(--pad-x) 22px;
  opacity: 0.7;
}
.footer-credit a { transition: color 0.18s; text-decoration: underline; text-underline-offset: 3px; }
.footer-credit a:hover { color: var(--primary-300); }

/* ============================================================
   23. SCROLL TOP + LOADING
   ============================================================ */
.scroll-top {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 44px; height: 44px;
  background: var(--ink-900);
  border-radius: var(--r-xs);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; opacity: 0; visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s, background 0.25s, transform 0.2s;
  z-index: 999;
  box-shadow: var(--sh-md);
  border: none; color: #fff;
}
.scroll-top.visible { opacity: 1; visibility: visible; }
.scroll-top:hover { background: var(--primary); transform: translateY(-2px); }
.scroll-top-icon { width: 18px; height: 18px; }

.loading-overlay { position: fixed; inset: 0; background: var(--bg-base); z-index: 9999; display: flex; align-items: center; justify-content: center; transition: opacity 0.4s, visibility 0.4s; }
.loading-overlay.hidden { opacity: 0; visibility: hidden; }
.loader-ring { width: 36px; height: 36px; border: 2px solid var(--ink-line); border-top-color: var(--primary); border-radius: 50%; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

[data-aos] { opacity: 0; transform: translateY(20px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
[data-aos].aos-animate { opacity: 1; transform: translateY(0); }

/* ============================================================
   24. LEGACY SUPPORT (backwards compat)
   ============================================================ */
.section-header { max-width: 720px; margin: 0 auto clamp(40px, 6vw, 56px); text-align: center; padding: 0 var(--pad-x); }
.section-header .badge, .section-header .eyebrow { margin-bottom: 14px; justify-content: center; }
.section-header h2 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.022em; margin-bottom: 16px; color: var(--ink-900); }
.section-dark .section-header h2 { color: var(--light-deep); }
.section-header p { color: var(--ink-600); font-size: clamp(14px, 1.4vw, 16px); line-height: 1.6; }
.section-dark .section-header p { color: var(--light-body); }
.highlight, .highlight-grad { color: var(--primary); font-style: normal; }
.section-teal { background: var(--bg-dark); color: var(--light-body); }
.section-teal h1, .section-teal h2, .section-teal h3 { color: var(--light-deep); }
.section-teal p, .section-teal li { color: var(--light-body); }

/* Legacy mission-grid-4 */
.mission-grid-4 { grid-template-columns: repeat(4, 1fr); }
.mission-icon {
  width: 48px; height: 48px;
  background: var(--primary-50);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  color: var(--primary);
}
.mission-icon-svg { width: 22px; height: 22px; stroke-width: 1.5; }

/* ============================================================
   Vorstand — Premium portrait cards
   ============================================================ */
.vorstand-grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.5vw, 32px);
}
.vorstand-card {
  position: relative;
  background: var(--bg-paper);
  border: 1px solid var(--ink-line);
  border-radius: var(--r-lg);
  padding: 0;
  text-align: left;
  overflow: hidden;
  transition: transform var(--motion-base), box-shadow var(--motion-base), border-color var(--motion-base);
  box-shadow: var(--sh-sm);
  display: flex;
  flex-direction: column;
}
.vorstand-card:hover {
  border-color: var(--primary-300);
  transform: translateY(-4px);
  box-shadow: var(--sh-lg);
}
.vorstand-card .vorstand-photo {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  border-radius: 0;
  overflow: hidden;
  margin: 0;
  background: var(--primary-50);
  position: relative;
}
.vorstand-card .vorstand-photo::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 50%;
  background: linear-gradient(to bottom, transparent 0%, rgba(8, 43, 53, 0.55) 100%);
  pointer-events: none;
}
.vorstand-card .vorstand-photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 25%;
  transition: transform 0.6s var(--ease-out);
}
.vorstand-card:hover .vorstand-photo img { transform: scale(1.04); }
.vorstand-photo-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--primary-100), var(--primary-200));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: clamp(36px, 5vw, 56px);
  font-weight: 600; color: var(--primary-800); letter-spacing: -0.04em;
}
.vorstand-card .vorstand-info {
  padding: clamp(18px, 2.5vw, 26px);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.vorstand-card .vorstand-position {
  order: -1;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 8px;
}
.vorstand-card .vorstand-name {
  font-family: var(--font-display);
  font-size: clamp(18px, 1.8vw, 22px);
  font-weight: 600;
  color: var(--ink-900);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0;
}
.vorstand-card .vorstand-city {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--ink-500);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
}
.vorstand-card .vorstand-city::before {
  content: '';
  width: 5px; height: 5px;
  background: var(--primary);
  border-radius: 50%;
  flex-shrink: 0;
}
.vorstand-card .vorstand-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: var(--primary);
  color: #fff;
  border: 0;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  margin-top: 14px;
  text-transform: uppercase;
  align-self: flex-start;
}

/* Featured card — wider, 2-col layout (photo + info) */
.vorstand-card.featured {
  grid-column: span 3;
  max-width: 880px !important;
  margin: 0 auto 28px !important;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  text-align: left;
  background: var(--bg-paper);
}
.vorstand-card.featured .vorstand-photo {
  aspect-ratio: 1 / 1;
  height: 100%;
}
.vorstand-card.featured .vorstand-info {
  padding: clamp(28px, 4vw, 48px);
  justify-content: center;
}
.vorstand-card.featured .vorstand-name {
  font-size: clamp(26px, 3vw, 36px);
}
.vorstand-card.featured .vorstand-position {
  font-size: 12px;
}
.vorstand-card.featured .vorstand-city {
  font-size: 13px;
}

/* Landes-grid for old templates */
.landes-grid { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad-x); display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.landes-card { background: var(--bg-paper); border: 1px solid var(--ink-line); padding: 22px 24px; transition: all 0.25s var(--ease-out); display: flex; align-items: center; gap: 14px; }
.landes-card:hover { border-color: var(--primary); transform: translateY(-2px); }
.landes-wappen { flex: 0 0 44px; width: 44px; height: 44px; object-fit: contain; }
.landes-name { font-family: var(--font-display); font-size: 15px; font-weight: 600; color: var(--ink-900); letter-spacing: -0.012em; }
.landes-count { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-500); }

/* ============================================================
   24b. LANDESJUGENDVERBÄNDE — Light Verband Edition
   ============================================================ */

/* Sticky Quicknav */
.ljv-quicknav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--ink-line);
}
.ljv-quicknav .container { padding: 0 var(--pad-x); }
.ljv-quicknav-scroll {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.ljv-quicknav-scroll::-webkit-scrollbar { display: none; }
.ljv-nav-link {
  padding: 16px 18px;
  color: var(--ink-500);
  font: 600 13px/1.2 var(--font-sans);
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  text-decoration: none;
  transition: color var(--motion-fast), border-color var(--motion-fast);
}
.ljv-nav-link:hover {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

/* Intro */
.ljv-intro {
  padding: clamp(80px, 10vw, 128px) 0 clamp(40px, 6vw, 64px);
  background: var(--bg-base);
  text-align: center;
}
.ljv-intro-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 var(--pad-x);
}
.ljv-intro-inner .eyebrow {
  justify-content: center;
  margin-bottom: 22px;
}
.ljv-intro-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 60px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--ink-900);
  margin-bottom: 20px;
}
.ljv-intro-inner h2 .accent { color: var(--primary); }
.ljv-intro-inner p {
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.7;
  color: var(--ink-600);
  max-width: 600px;
  margin: 0 auto;
}

/* Card sections */
.ljv-card-section {
  padding: clamp(40px, 6vw, 72px) 0;
  background: var(--bg-base);
  scroll-margin-top: 110px;
}
.ljv-card-section:nth-child(even) { background: var(--bg-paper); }

.ljv-card {
  background: var(--bg-paper);
  border: 1px solid var(--ink-line);
  border-radius: var(--r-lg);
  padding: clamp(28px, 4vw, 48px);
  box-shadow: var(--sh-sm);
  transition: border-color var(--motion-base), box-shadow var(--motion-base);
}
.ljv-card-section:nth-child(even) .ljv-card {
  background: var(--bg-base);
}
.ljv-card:hover {
  border-color: var(--primary-300);
  box-shadow: var(--sh-md);
}

/* Card head */
.ljv-card-head {
  padding-top: clamp(8px, 1.5vw, 16px);
  margin-bottom: clamp(24px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 3vw, 32px);
}
.ljv-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
  padding: 8px 16px;
  background: var(--primary);
  color: #fff;
  font: 600 11.5px/1 var(--font-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 999px;
}
.ljv-card-badge-dot {
  width: 6px; height: 6px;
  background: #fff;
  border-radius: 50%;
  opacity: 0.8;
}
.ljv-card-title-row {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 24px);
}
.ljv-card-wappen {
  height: clamp(56px, 7vw, 84px);
  width: auto;
  flex-shrink: 0;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(13, 79, 92, 0.15));
}
.ljv-card-title {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink-900);
  margin: 0;
}

/* Card body — 2-col on desktop */
.ljv-card-body {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
.ljv-card-text { min-width: 0; }
.ljv-card-desc {
  font-size: clamp(15px, 1.4vw, 16.5px);
  line-height: 1.75;
  color: var(--ink-600);
  margin-bottom: 28px;
}
.ljv-card-meta {
  display: flex;
  gap: clamp(20px, 2.5vw, 32px);
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.ljv-card-stat-num {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 600;
  color: var(--primary);
  line-height: 1;
  letter-spacing: -0.025em;
  margin-bottom: 4px;
}
.ljv-card-stat-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-500);
}
.ljv-card-divider {
  width: 1px;
  height: 36px;
  background: var(--ink-line);
  flex-shrink: 0;
}
.ljv-card-region {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--ink-600);
}
.ljv-card-region svg {
  color: var(--primary);
  flex-shrink: 0;
}

/* Aufgaben card */
.ljv-card-tasks {
  background: var(--primary-50);
  border: 1px solid var(--primary-100);
  border-radius: var(--r-md);
  padding: clamp(24px, 3vw, 36px);
}
.ljv-card-tasks-title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--primary-900);
  margin: 0 0 20px;
  letter-spacing: -0.01em;
}
.ljv-card-tasks-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
  padding: 0;
}
.ljv-card-tasks-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-700);
}
.ljv-check {
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

/* Regionaljugendverbände block */
.ljv-rjv-block {
  padding: clamp(72px, 9vw, 112px) 0;
  background: var(--bg-dark);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.ljv-rjv-block::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(37,165,184,0.18) 0%, transparent 65%);
  pointer-events: none;
}
.ljv-rjv-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 var(--pad-x);
  position: relative;
}
.ljv-rjv-inner .eyebrow {
  color: var(--primary-300);
  justify-content: center;
  margin-bottom: 22px;
}
.ljv-rjv-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.022em;
  color: #fff;
  margin-bottom: 18px;
}
.ljv-rjv-inner h2 .accent { color: var(--primary-300); }
.ljv-rjv-inner p {
  font-size: clamp(15px, 1.4vw, 16.5px);
  line-height: 1.7;
  color: var(--light-body);
  margin: 0 auto 36px;
  max-width: 560px;
}
.ljv-rjv-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.ljv-rjv-block .btn-outline {
  border-color: rgba(255,255,255,0.35);
  color: #fff;
}
.ljv-rjv-block .btn-outline:hover {
  background: rgba(255,255,255,0.08);
  border-color: #fff;
}

/* ============================================================
   25. RESPONSIVE — Mobile-first overrides
   ============================================================ */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { max-width: 540px; margin: 0 auto; width: 100%; aspect-ratio: 4/3; }
  .profile-header { grid-template-columns: 1fr; gap: 24px; align-items: start; }
  .profile-body { grid-template-columns: 1fr; gap: 36px; }
  .profile-stats { grid-template-columns: repeat(2, 1fr); }
  .profile-stat:nth-child(2) { border-right: 0; padding-right: 0; }
  .profile-stat:nth-child(3) { padding-left: 0; }
  .section-header-editorial { grid-template-columns: 1fr; gap: 24px; align-items: start; }
  .mission-grid, .mission-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .zigzag-item { grid-template-columns: 1fr; gap: 28px; }
  .zigzag-item:nth-child(even) .zigzag-visual { order: 0; }
  .zigzag-item:nth-child(even) .zigzag-content { order: 0; }
  .zigzag-visual { max-width: 600px; margin: 0 auto; width: 100%; }
  .news-grid { grid-template-columns: 1fr; }
  .news-side { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .stimmen-grid { grid-template-columns: 1fr; }
  .cta-inner { grid-template-columns: 1fr; gap: 36px; }
  .footer-feature { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: span 2; max-width: 100%; }
  .vorstand-meta { grid-template-columns: 1fr; gap: 28px; }
  .vorstand-featured-card-inner { grid-template-columns: 1fr; gap: 24px; }
  .vorstand-featured-photo { max-width: 240px; }
  .vorstand-grid-v8, .vorstand-grid { grid-template-columns: repeat(2, 1fr); }
  .vorstand-card.featured { grid-column: span 2; max-width: 720px !important; }
  .landes-grid { grid-template-columns: repeat(2, 1fr); }
  .ljv-card-body { grid-template-columns: 1fr; gap: 28px; }
  .glaube-numbered-list { grid-template-columns: 1fr 1fr; }
  .glaube-related-grid { grid-template-columns: repeat(2, 1fr); }
  .prayer-grid { grid-template-columns: repeat(2, 1fr); }
  .prayer-featured-card { grid-template-columns: 1fr; gap: 24px; }
  .prayer-featured-times { border-left: 0; border-top: 1px solid rgba(255,255,255,0.08); padding-top: 20px; }
  .prayer-header { grid-template-columns: 1fr; gap: 12px; align-items: start; }
}

@media (max-width: 768px) {
  .nav-inner {
    display: flex !important;
    justify-content: space-between;
    height: 76px;
    gap: 12px;
  }
  .nav-logo img { height: 44px; }
  .nav-menu, .nav-cta { display: none; }
  .nav-toggle { display: flex; margin-left: auto; }
  .nav-menu.open {
    display: flex !important;
    flex-direction: column !important;
    position: fixed !important;
    top: 76px !important; left: 0 !important; right: 0 !important; bottom: 0 !important;
    width: 100vw !important; max-width: 100vw !important;
    margin: 0 !important;
    background: var(--bg-base);
    padding: 24px 20px 100px !important;
    gap: 2px;
    overflow-y: auto;
    overscroll-behavior: contain;
    z-index: 9998;
    border-top: 1px solid var(--ink-line);
  }
  .nav-menu.open .nav-item { width: 100%; position: static; }
  .nav-menu.open .nav-link { display: flex; justify-content: space-between; padding: 14px 16px; font-size: 16px; }
  .nav-dropdown {
    position: static !important;
    transform: none !important;
    box-shadow: none !important;
    border: none !important;
    background: var(--bg-mute) !important;
    opacity: 1 !important; visibility: visible !important;
    margin: 4px 0 8px !important;
    width: 100% !important;
    min-width: 0 !important;
    padding: 6px !important;
    left: auto !important; top: auto !important;
  }
  /* Mobile CTA block — lives inside .nav-menu, shown only when menu is open */
  .nav-mobile-cta {
    display: none;
    flex-direction: column;
    gap: 14px;
    margin-top: 18px;
    padding: 18px 16px 0;
    border-top: 1px solid var(--ink-line);
  }
  .nav-menu.open .nav-mobile-cta { display: flex; }
  .lang-switcher-mobile {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    background: var(--bg-mute);
    border: 1px solid var(--ink-line);
    border-radius: 999px;
    padding: 6px;
  }
  .lang-switcher-mobile button {
    border: 0;
    background: transparent;
    padding: 10px 6px;
    border-radius: 999px;
    font: 600 12px/1 var(--font-sans);
    letter-spacing: 0.04em;
    color: var(--ink-mute);
    cursor: pointer;
    transition: background var(--motion-fast), color var(--motion-fast);
  }
  .lang-switcher-mobile button.active {
    background: var(--primary);
    color: #fff;
  }
  .btn-mobile-full {
    width: 100%;
    justify-content: center;
    padding: 14px 18px !important;
    font-size: 15px !important;
  }

  .hero { padding: 100px 0 56px; }
  .hero-content { max-width: 100%; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 10px; }
  .hero-actions .btn { width: 100%; }
  .hero-stat-float { bottom: 16px; left: 16px; padding: 12px 16px; }
  .profile-stats { grid-template-columns: 1fr 1fr; }
  .profile-stat { padding: 20px 14px !important; border-right: 1px solid var(--ink-line) !important; }
  .profile-stat:nth-child(2n) { border-right: 0 !important; padding-right: 0 !important; }
  .profile-stat:nth-child(2n+1) { padding-left: 0 !important; }
  .mission-grid, .mission-grid-4 { grid-template-columns: 1fr; gap: 14px; }
  .news-side { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 12px; }
  .breadcrumb { margin-top: 64px; }
  .cta-actions { flex-direction: column; }
  .cta-actions .btn { width: 100%; }
  .vorstand-grid-v8, .vorstand-grid { grid-template-columns: 1fr; }
  .vorstand-card.featured {
    grid-column: span 1;
    grid-template-columns: 1fr;
  }
  .vorstand-card.featured .vorstand-photo {
    aspect-ratio: 1 / 1;
  }
  .landes-grid { grid-template-columns: 1fr; }
  .ljv-card-title-row { flex-direction: column; align-items: flex-start; gap: 16px; }
  .ljv-card-wappen { height: 56px; }
  .ljv-card-meta { gap: 16px; }
  .ljv-card-divider { display: none; }
  .ljv-rjv-actions .btn { width: 100%; }
  .glaube-numbered-list { grid-template-columns: 1fr; }
  .glaube-related-grid { grid-template-columns: 1fr 1fr; }
  .prayer-grid { grid-template-columns: 1fr; }
  .prayer-featured-times { grid-template-columns: repeat(5, 1fr); }
  .prayer-time-name { font-size: 9.5px; }
  .prayer-time-value { font-size: 18px; }
  .scroll-top { bottom: 16px; right: 16px; }
}

@media (max-width: 480px) {
  .profile-stats { grid-template-columns: 1fr 1fr; gap: 0; }
  .hero-title-after-line { width: 48px; }
  .footer-contact-item { padding: 16px 18px; }
}

/* ===================================================================
   BDMJ v9 — Premium Layer
   Gradients · Islamic ornaments · Refined typography · Animations
   =================================================================== */

:root {
  /* Gradient tokens */
  --grad-hero: linear-gradient(135deg, #eef4f5 0%, #d4eaee 45%, #b3e6ec 100%);
  --grad-petrol: linear-gradient(135deg, #146775 0%, #0d4f5c 50%, #082b35 100%);
  --grad-petrol-soft: linear-gradient(180deg, rgba(13,79,92,0.04) 0%, rgba(132,216,227,0.08) 100%);
  --grad-accent: linear-gradient(135deg, #25a5b8 0%, #4dc4d6 100%);
  --grad-warm: linear-gradient(135deg, #f5ecd6 0%, #dcb878 100%);
  --grad-radial-petrol: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(37,165,184,0.18) 0%, transparent 70%);
  --grad-mesh: radial-gradient(at 20% 20%, rgba(37,165,184,0.12) 0%, transparent 50%),
               radial-gradient(at 80% 0%, rgba(132,216,227,0.10) 0%, transparent 55%),
               radial-gradient(at 60% 80%, rgba(200,160,92,0.06) 0%, transparent 50%);

  /* Refined motion */
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Force Inter & remove monospace look completely */
body, p, li, a, button, input, textarea, select,
h1, h2, h3, h4, h5, h6,
.eyebrow, .badge, .lang-switcher button, .lang-switcher-mobile button,
.ljv-card-badge, .ljv-card-stat-label, .ljv-card-region,
.profile-header-marker, .profile-stat-label, .mission-card-eyebrow,
.hero-stat-float-label, .stimmen-card-source, .news-meta,
.prayer-time-name, .prayer-card-row-name, .prayer-date, .prayer-meta,
.breadcrumb, .footer-contact-label, .footer-bottom,
.vorstand-position, .vorstand-city, .vorstand-badge,
.glaube-callout-label, .glaube-source {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
  font-feature-settings: 'cv11', 'ss01', 'ss03';
}

/* Tighten "tracked" labels — was mono caps, now Inter caps with refined tracking */
.eyebrow,
.profile-header-marker,
.profile-stat-label,
.mission-card-eyebrow,
.hero-stat-float-label,
.prayer-time-name,
.prayer-card-row-name,
.ljv-card-badge,
.ljv-card-stat-label,
.vorstand-position,
.vorstand-badge,
.footer-contact-label,
.glaube-callout-label {
  font-weight: 600;
  letter-spacing: 0.08em !important;
  text-transform: uppercase;
}

/* Slightly tighter body for premium feel */
body {
  font-feature-settings: 'cv11', 'ss01';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
p { line-height: 1.7; }
h1, h2, h3, h4 { letter-spacing: -0.025em; }

/* ===== ISLAMIC ORNAMENT BACKGROUND ===== */
/* Subtle 8-point star pattern at low opacity, applied to hero + section backgrounds */
.hero, .ljv-intro, .page-hero, .cta-section, .section-dark, .ljv-rjv-block, .prayer-featured-card {
  position: relative;
}
.hero::before, .ljv-intro::before, .page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'><g fill='none' stroke='%230d4f5c' stroke-width='0.5' opacity='0.08'><path d='M60 8 L72 28 L94 28 L77 44 L84 66 L60 54 L36 66 L43 44 L26 28 L48 28 Z'/><circle cx='60' cy='60' r='40'/><circle cx='60' cy='60' r='28'/></g></svg>");
  background-size: 240px 240px;
  background-position: center;
  pointer-events: none;
  z-index: 0;
}
.hero > *, .ljv-intro > *, .page-hero > * { position: relative; z-index: 1; }

/* Dynamic gradient backgrounds on hero areas */
.hero { background: var(--grad-hero); }
.page-hero {
  background: linear-gradient(180deg, #ffffff 0%, #eef4f5 100%);
  padding-top: clamp(100px, 12vw, 160px);
  padding-bottom: clamp(48px, 6vw, 72px);
}
.ljv-intro { background: var(--grad-hero); }
.ljv-rjv-block::after,
.prayer-featured-card::after,
.section-dark::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'><g fill='none' stroke='%2384d8e3' stroke-width='0.6' opacity='0.10'><path d='M80 12 L96 36 L124 36 L102 56 L112 84 L80 68 L48 84 L58 56 L36 36 L64 36 Z'/><circle cx='80' cy='80' r='52'/><circle cx='80' cy='80' r='36'/></g></svg>");
  background-size: 320px 320px;
  pointer-events: none;
  opacity: 0.6;
  z-index: 0;
}
.ljv-rjv-block > *, .prayer-featured-card > *, .section-dark > * { position: relative; z-index: 1; }

/* CTA section: premium dark with mesh + ornament */
.cta-section {
  background: var(--grad-petrol);
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-mesh);
  pointer-events: none;
}
.cta-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'><g fill='none' stroke='%2384d8e3' stroke-width='0.5' opacity='0.18'><path d='M90 16 L108 40 L138 40 L114 60 L124 90 L90 74 L56 90 L66 60 L42 40 L72 40 Z'/><circle cx='90' cy='90' r='58'/></g></svg>");
  background-size: 360px 360px;
  pointer-events: none;
}
.cta-section > * { position: relative; z-index: 1; }

/* ===== REFINED BUTTONS ===== */
.btn {
  border-radius: 12px;
  transition: transform var(--motion-base), box-shadow var(--motion-base), background var(--motion-base), color var(--motion-base);
  font-weight: 600;
  letter-spacing: -0.005em;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--grad-petrol);
  color: #fff;
  border: 0;
  box-shadow: 0 6px 20px rgba(13, 79, 92, 0.18), 0 2px 6px rgba(13, 79, 92, 0.12);
}
.btn-primary:hover {
  box-shadow: 0 10px 28px rgba(13, 79, 92, 0.28), 0 4px 10px rgba(13, 79, 92, 0.18);
  background: linear-gradient(135deg, #1b8190 0%, #146775 50%, #0d4f5c 100%);
}
.btn-outline {
  background: transparent;
  border: 1.5px solid var(--ink-line);
  color: var(--ink-900);
}
.btn-outline:hover {
  background: var(--ink-900);
  color: #fff;
  border-color: var(--ink-900);
}
.btn-white {
  background: #fff;
  color: var(--primary-900);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}
.btn-white:hover {
  background: #fff;
  color: var(--primary);
  box-shadow: 0 10px 28px rgba(0,0,0,0.25);
}

/* ===== CARD POLISH ===== */
.mission-card,
.news-card-featured,
.news-card-side,
.stimmen-card,
.ljv-card,
.vorstand-card,
.prayer-card {
  border-radius: 16px;
  transition: transform 0.4s var(--ease-smooth), box-shadow 0.4s var(--ease-smooth), border-color 0.3s var(--ease-smooth);
}
.mission-card:hover,
.news-card-featured:hover,
.news-card-side:hover,
.stimmen-card:hover,
.ljv-card:hover,
.vorstand-card:hover,
.prayer-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 56px rgba(13, 79, 92, 0.12), 0 8px 16px rgba(13, 79, 92, 0.06);
}

/* Vorstand cards: gradient ring on hover */
.vorstand-card { border: 1px solid var(--ink-line); }
.vorstand-card:hover { border-color: transparent; box-shadow: 0 0 0 2px var(--primary-300), 0 24px 56px rgba(13, 79, 92, 0.14); }

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

[data-aos] { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease-smooth), transform 0.7s var(--ease-smooth); }
[data-aos].aos-animate { opacity: 1; transform: translateY(0); }
[data-aos="fade-left"] { transform: translateX(28px); }
[data-aos="fade-left"].aos-animate { transform: translateX(0); }
[data-aos="fade-right"] { transform: translateX(-28px); }
[data-aos="fade-right"].aos-animate { transform: translateX(0); }
[data-aos="zoom"] { transform: scale(0.94); }
[data-aos="zoom"].aos-animate { transform: scale(1); }

/* Soft scroll bg shift on hero */
.hero {
  background-attachment: fixed;
}
@media (max-width: 768px) {
  .hero { background-attachment: scroll; }
}

/* Hero stat-float — premium */
.hero-stat-float {
  border-radius: 14px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 16px 40px rgba(13, 79, 92, 0.12);
}

/* === GLAUBE PHOTO ANCHOR === */
.glaube-visual { max-width: 1100px; margin: clamp(48px, 8vw, 96px) auto; padding: 0 clamp(16px, 3vw, 40px); }
.glaube-photo { aspect-ratio: 16 / 10; max-height: 620px; }
@media (max-width: 768px) { .glaube-photo { aspect-ratio: 4 / 5; } }

/* ===== TRANSLATION TOAST ===== */
.lang-toast {
  background: var(--grad-petrol);
  border-radius: 12px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
  padding: 14px 22px;
  font-weight: 500;
}

/* ===== HEADER REFINEMENT ===== */
#site-header {
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  background: rgba(255, 255, 255, 0.78);
  border-bottom: 1px solid rgba(13, 79, 92, 0.08);
  transition: background var(--motion-base), box-shadow var(--motion-base), border-color var(--motion-base);
}
#site-header.scrolled {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 30px rgba(13, 79, 92, 0.08);
}
.nav-link {
  position: relative;
  transition: color var(--motion-base);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 80%;
  height: 2.5px;
  background: var(--primary);
  border-radius: 2px;
  transition: transform 0.3s var(--ease-smooth), background 0.2s;
}
.nav-link:hover::after { transform: translateX(-50%) scaleX(1); background: var(--grad-accent); }
.nav-link.active {
  color: var(--primary) !important;
  font-weight: 600;
}
.nav-link.active::after {
  transform: translateX(-50%) scaleX(1);
  background: var(--primary);
}
.nav-dropdown a.active {
  background: var(--primary-50);
  color: var(--primary-800);
  font-weight: 600;
}

/* ===== LINK ARROW ===== */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--primary);
  position: relative;
  transition: gap 0.3s var(--ease-spring);
}
.link-arrow:hover { gap: 12px; color: var(--primary-700); }

/* ===== PHOTO CONTAINERS ===== */
.bdmj-photo-figure {
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 24px 56px rgba(13, 79, 92, 0.12);
}
.bdmj-photo-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s var(--ease-smooth);
}
.bdmj-photo-figure:hover img { transform: scale(1.04); }
.bdmj-photo-figure figcaption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 24px 20px 16px;
  background: linear-gradient(180deg, transparent 0%, rgba(8, 43, 53, 0.85) 100%);
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.04em;
}

/* ===== STRONGER CONTRAST OVERRIDES (v9 reinforce) ===== */
/* Re-anchor the contrast safety so v9 buttons / labels never lose readability */
.section-dark .btn-primary,
.cta-section .btn-primary,
.ljv-rjv-block .btn-primary {
  background: #fff;
  color: var(--primary-900);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}
.section-dark .btn-primary:hover,
.cta-section .btn-primary:hover,
.ljv-rjv-block .btn-primary:hover {
  background: var(--primary-100);
  color: var(--primary-900);
}

/* === DITIB Hutbe — Live Block === */
.hutbe-current {
  padding: clamp(40px, 6vw, 72px) 0 0;
}
.hutbe-current .container {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 clamp(16px, 3vw, 32px);
}
.hutbe-current-card {
  background: var(--grad-petrol);
  color: #fff;
  border-radius: 20px;
  padding: clamp(28px, 4vw, 48px);
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(13, 79, 92, 0.25);
}
.hutbe-current-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200' viewBox='0 0 200 200'><g fill='none' stroke='%2384d8e3' stroke-width='0.6' opacity='0.15'><path d='M100 18 L120 46 L154 46 L128 70 L140 102 L100 84 L60 102 L72 70 L46 46 L80 46 Z'/><circle cx='100' cy='100' r='66'/></g></svg>");
  background-size: 400px 400px;
  background-position: top right;
  pointer-events: none;
}
.hutbe-current-card > * { position: relative; z-index: 1; }

.hutbe-current-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}
.hutbe-current-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-300);
}
.hutbe-current-tag::before {
  content: '';
  width: 8px; height: 8px;
  background: var(--primary-400);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(132, 216, 227, 0.25);
  animation: hutbePulse 2s ease-in-out infinite;
}
@keyframes hutbePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.15); }
}
.hutbe-current-date {
  color: rgba(255, 255, 255, 0.65);
}

.hutbe-current-title {
  font-family: 'Inter', sans-serif !important;
  font-size: clamp(24px, 3.5vw, 40px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: #fff !important;
  margin: 0 0 28px;
}

.hutbe-current-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.hutbe-current-actions .btn-primary {
  background: #fff;
  color: var(--primary-900);
  border: 0;
}
.hutbe-current-actions .btn-primary:hover {
  background: var(--primary-100);
  color: var(--primary-900);
}
.hutbe-current-actions .btn-outline {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
  background: transparent;
}
.hutbe-current-actions .btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  color: #fff;
}

.hutbe-recent {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.hutbe-recent-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary-300);
  margin-bottom: 14px;
}
.hutbe-recent ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hutbe-recent li a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 14.5px;
  line-height: 1.5;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s, gap 0.3s var(--ease-spring);
}
.hutbe-recent li a::before {
  content: '→';
  color: var(--primary-300);
  font-weight: 600;
}
.hutbe-recent li a:hover {
  color: #fff;
  gap: 14px;
}

@media (max-width: 600px) {
  .hutbe-current-actions .btn { width: 100%; justify-content: center; }
}

/* ===================================================================
   BDMJ v9.1 — Refinement Pass
   Photo fix · Refined ornaments · BDMJ-page typography · Footer polish
   =================================================================== */

/* === 1. PHOTO FIX: figures need explicit width === */
.bdmj-photo-figure {
  display: block;
  width: 100%;
  margin: 0;
}
.glaube-photo {
  width: 100%;
  aspect-ratio: 16 / 10;
  max-height: 620px;
}
@media (max-width: 768px) {
  .glaube-photo { aspect-ratio: 4 / 5; max-height: none; }
}

/* === 2. REFINED ORNAMENTS — calmer, more elegant === */
/* Remove busy small-pattern repeat. Use a single large monogram-style accent. */
.hero::before,
.ljv-intro::before,
.page-hero::before {
  background-image: none !important;
}
.hero,
.ljv-intro,
.page-hero {
  position: relative;
  isolation: isolate;
}
.hero::after,
.ljv-intro::after,
.page-hero::after {
  content: '';
  position: absolute;
  top: 50%; right: -120px;
  transform: translateY(-50%);
  width: clamp(400px, 50vw, 720px);
  height: clamp(400px, 50vw, 720px);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200' fill='none'><g stroke='%230d4f5c' stroke-width='0.4' opacity='0.10'><circle cx='100' cy='100' r='80'/><circle cx='100' cy='100' r='65'/><circle cx='100' cy='100' r='50'/><path d='M100 20 L116 50 L150 50 L124 70 L134 100 L100 84 L66 100 L76 70 L50 50 L84 50 Z'/></g></svg>");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  pointer-events: none;
  z-index: 0;
}
@media (max-width: 768px) {
  .hero::after, .ljv-intro::after, .page-hero::after {
    right: -50%; opacity: 0.6;
  }
}

/* Dark sections: subtle monogram instead of repeating pattern */
.section-dark::after,
.cta-section::after,
.ljv-rjv-block::after,
.prayer-featured-card::after {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200' fill='none'><g stroke='%2384d8e3' stroke-width='0.5' opacity='0.16'><circle cx='100' cy='100' r='80'/><circle cx='100' cy='100' r='62'/><path d='M100 28 L114 56 L144 56 L120 74 L130 102 L100 86 L70 102 L80 74 L56 56 L86 56 Z'/></g></svg>") !important;
  background-size: 540px 540px !important;
  background-position: right -120px center !important;
  background-repeat: no-repeat !important;
  opacity: 0.85 !important;
}

/* CTA hutbe-current: same elegant monogram */
.hutbe-current-card::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200' fill='none'><g stroke='%2384d8e3' stroke-width='0.5' opacity='0.18'><circle cx='100' cy='100' r='78'/><circle cx='100' cy='100' r='60'/><path d='M100 30 L114 56 L142 56 L120 74 L130 102 L100 86 L70 102 L80 74 L58 56 L86 56 Z'/></g></svg>") !important;
  background-size: 480px 480px !important;
  background-position: right -80px top -80px !important;
  background-repeat: no-repeat !important;
}

/* === 3. BDMJ-PAGE TYPOGRAPHY — clean editorial layout === */
.page-content,
.bdmj-prose,
.glaube-intro-inner,
.container-narrow {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(16px, 4vw, 32px);
  padding-right: clamp(16px, 4vw, 32px);
}
.bdmj-prose h2, .container-narrow h2, .glaube-intro-inner h2 {
  font-family: 'Inter', sans-serif;
  font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin: clamp(48px, 6vw, 72px) 0 clamp(20px, 2.5vw, 28px);
  color: var(--ink-900);
}
.bdmj-prose h3, .container-narrow h3, .glaube-intro-inner h3 {
  font-family: 'Inter', sans-serif;
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 600;
  letter-spacing: -0.018em;
  margin: clamp(32px, 4vw, 48px) 0 clamp(12px, 1.5vw, 16px);
  color: var(--ink-900);
}
.bdmj-prose h4, .container-narrow h4, .glaube-intro-inner h4 {
  font-size: clamp(16px, 1.8vw, 19px);
  font-weight: 600;
  letter-spacing: -0.014em;
  margin: 24px 0 8px;
}
.bdmj-prose p, .container-narrow p, .glaube-intro-inner p {
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.75;
  color: var(--ink-700);
  margin: 0 0 20px;
}
.bdmj-prose p.lead, .bdmj-prose .lead,
.container-narrow .lead,
.glaube-intro-inner .glaube-intro-lead {
  font-size: clamp(18px, 1.8vw, 22px);
  line-height: 1.55;
  color: var(--ink-800);
  font-weight: 400;
  letter-spacing: -0.012em;
  margin-bottom: 28px;
}
.bdmj-prose ul, .container-narrow ul, .glaube-intro-inner ul {
  margin: 0 0 24px;
  padding-left: 24px;
}
.bdmj-prose li, .container-narrow li, .glaube-intro-inner li {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 8px;
  color: var(--ink-700);
}
.bdmj-prose strong, .container-narrow strong { color: var(--ink-900); font-weight: 600; }
.bdmj-prose em, .container-narrow em { font-style: italic; color: var(--primary-700); }
.bdmj-prose blockquote {
  margin: 32px 0;
  padding: 20px 28px;
  border-left: 3px solid var(--primary);
  background: var(--primary-50);
  border-radius: 0 12px 12px 0;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-800);
}

/* === 4. FOOTER POLISH === */
#site-footer {
  background: linear-gradient(180deg, #082b35 0%, #04161c 100%);
  color: rgba(255, 255, 255, 0.78);
  padding: clamp(48px, 7vw, 80px) clamp(20px, 4vw, 48px) 32px;
  position: relative;
  overflow: hidden;
}
#site-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(37,165,184,0.10) 0%, transparent 60%);
  pointer-events: none;
}
#site-footer > * { position: relative; z-index: 1; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  max-width: 1240px;
  margin: 0 auto;
  padding-bottom: clamp(40px, 5vw, 56px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}
.footer-brand .footer-logo img {
  height: 44px;
  width: auto;
  margin-bottom: 18px;
  filter: brightness(0) invert(1);
}
.footer-desc {
  color: rgba(255, 255, 255, 0.72) !important;
  font-size: 14.5px !important;
  line-height: 1.65;
  max-width: 360px;
  margin-bottom: 22px;
}
.footer-social {
  display: flex;
  gap: 10px;
}
.footer-social a {
  width: 38px; height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
  transition: all 0.25s var(--ease-smooth);
}
.footer-social a:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-2px);
}
.footer-social .social-icon {
  width: 18px; height: 18px;
  display: block;
}

.footer-col h4 {
  color: #fff !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  margin: 0 0 18px !important;
}
.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.footer-col li a {
  color: rgba(255, 255, 255, 0.72) !important;
  font-size: 14.5px;
  font-weight: 400;
  text-decoration: none;
  transition: color 0.2s, transform 0.2s var(--ease-spring);
  display: inline-block;
}
.footer-col li a:hover {
  color: #fff !important;
  transform: translateX(3px);
}

.footer-bottom {
  max-width: 1240px;
  margin: 0 auto;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}
.footer-bottom span { color: rgba(255, 255, 255, 0.55); }
.footer-bottom-links {
  display: flex;
  gap: 24px;
}
.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}
.footer-bottom-links a:hover { color: #fff; }

.footer-credit {
  max-width: 1240px;
  margin: 16px auto 0;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.42);
  text-align: center;
  letter-spacing: 0.02em;
}
.footer-credit a {
  color: rgba(255, 255, 255, 0.62);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  padding-bottom: 1px;
  transition: color 0.2s, border-color 0.2s;
}
.footer-credit a:hover { color: #fff; border-color: #fff; }

@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; text-align: center; align-items: center; }
  .footer-bottom-links { flex-wrap: wrap; justify-content: center; }
}

/* === 5. SECTION SPACING + RHYTHM === */
.profile-section,
.mission-section,
.zigzag-section,
.news-section,
.stimmen-section {
  padding: clamp(64px, 9vw, 120px) 0;
}

/* === 6. EYEBROW POLISH (less mono-y) === */
.eyebrow {
  font-size: clamp(11px, 1vw, 12px) !important;
  font-weight: 600 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: '';
  width: 24px;
  height: 1.5px;
  background: var(--primary);
  border-radius: 1px;
  opacity: 0.8;
}

/* === 7. CONTRAST RE-ANCHOR (v9.1) === */
.section-dark p, .section-dark li,
.cta-section p, .cta-section li,
.prayer-featured-card p {
  color: rgba(255, 255, 255, 0.92) !important;
}
.section-dark a, .cta-section a {
  color: var(--primary-300);
}
.section-dark a:hover, .cta-section a:hover {
  color: #fff;
}

/* ===================================================================
   BDMJ v9.1 — Page Components
   Stat-band · Value-cards · Timeline · Principles · Positions
   =================================================================== */

/* === Section Header (used on BDMJ pages) === */
.bdmj-section-header {
  max-width: 720px;
  margin: 0 auto clamp(40px, 5vw, 64px);
  text-align: center;
}
.bdmj-section-header .eyebrow {
  justify-content: center;
  margin-bottom: 18px;
}
.bdmj-section-header h2 {
  font-family: 'Inter', sans-serif;
  font-size: clamp(32px, 4.4vw, 52px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--ink-900);
  margin: 0 0 16px;
}
.bdmj-section-header h2 .accent { color: var(--primary); }
.bdmj-section-header p {
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.65;
  color: var(--ink-600);
  margin: 0;
}
.bdmj-section-header-light h2 { color: #fff; }
.bdmj-section-header-light p { color: rgba(255, 255, 255, 0.78); }
.bdmj-section-header-light h2 .accent-light { color: var(--primary-300); }

/* === STAT BAND === */
.bdmj-stats-band {
  background: var(--grad-petrol-soft);
  padding: clamp(48px, 6vw, 72px) 0;
  border-top: 1px solid var(--primary-100);
  border-bottom: 1px solid var(--primary-100);
}
.bdmj-stats-band .container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 32px);
}
.bdmj-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(24px, 3vw, 48px);
}
.bdmj-stat {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 8px 0;
  border-left: 2px solid var(--primary-200);
  padding-left: clamp(16px, 2vw, 24px);
}
.bdmj-stat-num {
  font-family: 'Inter', sans-serif;
  font-size: clamp(32px, 4.4vw, 52px);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--primary-800);
  line-height: 1;
  font-feature-settings: 'tnum', 'cv11';
}
.bdmj-stat-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-600);
  letter-spacing: -0.005em;
  line-height: 1.4;
}
@media (max-width: 900px) { .bdmj-stats-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .bdmj-stats-grid { grid-template-columns: 1fr; } }

/* === VALUES SECTION === */
.bdmj-values-section {
  padding: clamp(64px, 9vw, 120px) 0;
  background: var(--bg-paper);
}
.bdmj-values-section .container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 32px);
}
.bdmj-values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.5vw, 28px);
}
.bdmj-value-card {
  background: var(--bg-base);
  border: 1px solid var(--ink-line);
  border-radius: 18px;
  padding: clamp(28px, 3vw, 36px);
  position: relative;
  transition: transform 0.4s var(--ease-smooth), border-color 0.3s, box-shadow 0.4s var(--ease-smooth);
}
.bdmj-value-card:hover {
  border-color: var(--primary-300);
  transform: translateY(-4px);
  box-shadow: 0 24px 56px rgba(13, 79, 92, 0.10);
}
.bdmj-value-number {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--primary);
  margin-bottom: 18px;
}
.bdmj-value-title {
  font-family: 'Inter', sans-serif !important;
  font-size: clamp(17px, 1.8vw, 20px) !important;
  font-weight: 600 !important;
  line-height: 1.25 !important;
  letter-spacing: -0.018em !important;
  color: var(--ink-900) !important;
  margin: 0 0 12px !important;
}
.bdmj-value-text {
  font-size: 14.5px !important;
  line-height: 1.65 !important;
  color: var(--ink-600) !important;
  margin: 0 !important;
}
@media (max-width: 900px) { .bdmj-values-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .bdmj-values-grid { grid-template-columns: 1fr; } }

/* === TIMELINE === */
.bdmj-timeline-section {
  padding: clamp(64px, 9vw, 120px) 0;
  background: var(--bg-base);
}
.bdmj-timeline-section .container {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 32px);
}
.bdmj-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}
.bdmj-timeline::before {
  content: '';
  position: absolute;
  left: 60px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--primary-300), var(--primary-100));
}
.bdmj-timeline-item {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 32px;
  align-items: start;
  padding: 18px 0;
  position: relative;
}
.bdmj-timeline-year {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-800);
  letter-spacing: 0.02em;
  position: relative;
  padding-right: 12px;
}
.bdmj-timeline-year::after {
  content: '';
  position: absolute;
  right: -7px; top: 5px;
  width: 12px; height: 12px;
  background: #fff;
  border: 2px solid var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(13, 79, 92, 0.08);
  z-index: 1;
}
.bdmj-timeline-event {
  font-size: 16px !important;
  line-height: 1.65 !important;
  color: var(--ink-700) !important;
  margin: 0 !important;
}
@media (max-width: 600px) {
  .bdmj-timeline::before { left: 6px; }
  .bdmj-timeline-item { grid-template-columns: 1fr; gap: 8px; padding-left: 28px; }
  .bdmj-timeline-year::after { left: -28px; right: auto; top: 6px; }
}

/* === PRINCIPLES (Werte mit Arabisch) === */
.bdmj-principles-section {
  padding: clamp(64px, 9vw, 120px) 0;
  background: var(--grad-petrol);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.bdmj-principles-section::after {
  content: '';
  position: absolute;
  top: 50%; right: -120px;
  transform: translateY(-50%);
  width: 540px; height: 540px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200' fill='none'><g stroke='%2384d8e3' stroke-width='0.5' opacity='0.18'><circle cx='100' cy='100' r='78'/><circle cx='100' cy='100' r='60'/><path d='M100 30 L114 56 L142 56 L120 74 L130 102 L100 86 L70 102 L80 74 L58 56 L86 56 Z'/></g></svg>");
  background-size: contain;
  background-repeat: no-repeat;
  pointer-events: none;
}
.bdmj-principles-section .container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 32px);
  position: relative;
  z-index: 1;
}
.bdmj-principles-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(16px, 2vw, 24px);
}
.bdmj-principle-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: clamp(28px, 3vw, 36px) 16px;
  text-align: center;
  transition: all 0.3s var(--ease-smooth);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.bdmj-principle-card:hover {
  background: rgba(255, 255, 255, 0.10);
  border-color: var(--primary-300);
  transform: translateY(-3px);
}
.bdmj-principle-ar {
  display: block;
  font-size: clamp(28px, 3vw, 36px);
  color: var(--primary-300);
  margin-bottom: 12px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0;
  direction: rtl;
}
.bdmj-principle-de {
  display: block;
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
}
@media (max-width: 900px) { .bdmj-principles-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .bdmj-principles-grid { grid-template-columns: repeat(2, 1fr); } }

/* === POSITIONEN === */
.bdmj-positions-section {
  padding: clamp(48px, 7vw, 96px) 0 clamp(72px, 10vw, 140px);
  background: var(--bg-base);
}
.bdmj-positions-section .container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 32px);
}
.bdmj-positions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(20px, 2.5vw, 28px);
}
.bdmj-position-card {
  background: var(--bg-paper);
  border: 1px solid var(--ink-line);
  border-radius: 18px;
  padding: clamp(28px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.4s var(--ease-smooth), border-color 0.3s, box-shadow 0.4s var(--ease-smooth);
}
.bdmj-position-card:hover {
  border-color: var(--primary-300);
  transform: translateY(-4px);
  box-shadow: 0 24px 56px rgba(13, 79, 92, 0.10);
}
.bdmj-position-date {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
}
.bdmj-position-title {
  font-family: 'Inter', sans-serif !important;
  font-size: clamp(17px, 1.8vw, 20px) !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  letter-spacing: -0.018em !important;
  color: var(--ink-900) !important;
  margin: 0 !important;
}
.bdmj-position-text {
  font-size: 15px !important;
  line-height: 1.65 !important;
  color: var(--ink-600) !important;
  margin: 0 !important;
}
.bdmj-position-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 8px;
}
.bdmj-position-actions .btn-sm {
  padding: 8px 14px;
  font-size: 13px;
}
.bdmj-position-status {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-500);
  font-style: italic;
}
@media (max-width: 700px) { .bdmj-positions-grid { grid-template-columns: 1fr; } }

/* ===================================================================
   BDMJ v9.2 — Ornament Fix
   SVG monograms → soft radial gradients (no rendering quirks)
   =================================================================== */

/* KILL all SVG ornament pseudo-elements that were rendering as filled boxes */
.hero::before, .hero::after,
.ljv-intro::before, .ljv-intro::after,
.page-hero::before, .page-hero::after,
.section-dark::after,
.cta-section::after,
.ljv-rjv-block::after,
.prayer-featured-card::after,
.bdmj-principles-section::after {
  background-image: none !important;
  background: none !important;
  content: none !important;
  display: none !important;
}

/* Re-introduce subtle ATMOSPHERE via soft pure-CSS gradients */
.hero, .ljv-intro, .page-hero {
  position: relative;
  isolation: isolate;
  background-image:
    radial-gradient(ellipse 60% 80% at 100% 50%, rgba(132, 216, 227, 0.18) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 0% 100%, rgba(13, 79, 92, 0.05) 0%, transparent 60%);
  background-blend-mode: normal;
}
.hero { background-color: #eef4f5; }
.ljv-intro { background-color: #eef4f5; }
.page-hero { background-color: #f5fafb; }

/* Dark sections: keep gradient, no ornament — just a soft glow */
.section-dark,
.cta-section,
.ljv-rjv-block,
.bdmj-principles-section {
  position: relative;
  isolation: isolate;
  background-image:
    radial-gradient(ellipse 70% 50% at 100% 0%, rgba(37, 165, 184, 0.22) 0%, transparent 65%),
    radial-gradient(ellipse 50% 40% at 0% 100%, rgba(37, 165, 184, 0.12) 0%, transparent 60%);
}
.section-dark { background-color: var(--bg-dark); }
.cta-section { background-color: var(--primary-900); }
.ljv-rjv-block { background-color: var(--bg-dark); }
.bdmj-principles-section { background-color: var(--bg-dark); }

/* Reinforce: ALL text inside dark sections is light + readable */
.section-dark,
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4, .section-dark h5, .section-dark h6,
.cta-section,
.cta-section h1, .cta-section h2, .cta-section h3, .cta-section h4,
.ljv-rjv-block,
.ljv-rjv-block h1, .ljv-rjv-block h2, .ljv-rjv-block h3,
.bdmj-principles-section,
.bdmj-principles-section h1, .bdmj-principles-section h2, .bdmj-principles-section h3 {
  color: #fff !important;
}
.section-dark p, .section-dark li, .section-dark span:not(.badge):not(.accent):not(.accent-light):not(.eyebrow),
.cta-section p, .cta-section li,
.ljv-rjv-block p, .ljv-rjv-block li,
.bdmj-principles-section p {
  color: rgba(255, 255, 255, 0.86) !important;
}
.section-dark .eyebrow, .cta-section .eyebrow,
.ljv-rjv-block .eyebrow, .bdmj-principles-section .eyebrow,
.section-dark .accent-light, .ljv-rjv-block .accent-light,
.bdmj-principles-section .accent-light {
  color: var(--primary-300) !important;
}
.section-dark .eyebrow::before, .cta-section .eyebrow::before,
.ljv-rjv-block .eyebrow::before, .bdmj-principles-section .eyebrow::before {
  background: var(--primary-300) !important;
}

/* Section header on light: ensure heading is solidly dark */
.bdmj-section-header h2,
.ljv-intro-inner h2,
.page-hero h1 {
  color: var(--ink-900) !important;
}
.bdmj-section-header-light h2,
.bdmj-section-header-light p {
  /* in dark contexts */
  color: #fff !important;
}
.bdmj-section-header-light p { color: rgba(255, 255, 255, 0.78) !important; }

/* Stat-band on light: ensure numbers are petrol-dark, not invisible */
.bdmj-stat-num { color: var(--primary-800) !important; }
.bdmj-stat-label { color: var(--ink-600) !important; }

/* === Page-hero z-index hygiene === */
.page-hero > *,
.hero > *,
.ljv-intro > * {
  position: relative;
  z-index: 1;
}
.page-hero-inner h1,
.page-hero-inner p {
  color: var(--ink-900);
}
.page-hero-inner p { color: var(--ink-600); }

/* ===================================================================
   BDMJ v9.3 — Hero image robustness fix
   Hero-visual sometimes collapsed due to aspect-ratio + grid interaction.
   Force explicit dimensions + absolute-positioned img → always renders.
   =================================================================== */

.hero-visual {
  position: relative;
  width: 100%;
  min-height: clamp(420px, 60vw, 640px);
  aspect-ratio: 4 / 5;
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg-mute);
  display: block;
  box-shadow: 0 32px 80px rgba(13, 79, 92, 0.12);
}
.hero-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-stat-float {
  position: absolute;
  z-index: 2;
}

/* Tablet/mobile: keep aspect 4/3 but ensure min-height */
@media (max-width: 1024px) {
  .hero-visual {
    max-width: 540px;
    margin: 0 auto;
    aspect-ratio: 4 / 3;
    min-height: 360px;
  }
}
@media (max-width: 600px) {
  .hero-visual {
    aspect-ratio: 5 / 4;
    min-height: 280px;
  }
}

/* ===================================================================
   BDMJ — Kontakt Page
   =================================================================== */
.kontakt-section {
  padding: clamp(48px, 7vw, 96px) 0 clamp(72px, 10vw, 140px);
  background: var(--bg-base);
}
.kontakt-section .container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 32px);
}
.kontakt-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

/* --- Linke Spalte: Info --- */
.kontakt-info {
  position: sticky;
  top: 100px;
}
.kontakt-info-head {
  margin-bottom: 32px;
}
.kontakt-info-head .eyebrow { margin-bottom: 14px; }
.kontakt-info-title {
  font-family: 'Inter', sans-serif !important;
  font-size: clamp(26px, 3vw, 36px) !important;
  font-weight: 600 !important;
  letter-spacing: -0.022em !important;
  color: var(--ink-900) !important;
  margin: 0 !important;
  line-height: 1.15;
}
.kontakt-channels {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}
.kontakt-channel {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 22px;
  background: var(--bg-paper);
  border: 1px solid var(--ink-line);
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s var(--ease-smooth);
}
.kontakt-channel:hover {
  border-color: var(--primary-300);
  transform: translateX(4px);
  box-shadow: 0 12px 28px rgba(13, 79, 92, 0.10);
}
.kontakt-channel-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  background: var(--primary-50);
  border-radius: 12px;
  color: var(--primary-800);
  transition: all 0.3s var(--ease-smooth);
}
.kontakt-channel:hover .kontakt-channel-icon {
  background: var(--primary);
  color: #fff;
}
.kontakt-channel-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.kontakt-channel-label {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-500);
}
.kontakt-channel-value {
  font-size: 15.5px;
  font-weight: 500;
  color: var(--ink-900);
  word-break: break-word;
}

.kontakt-address {
  background: var(--bg-paper);
  border: 1px solid var(--ink-line);
  border-radius: 14px;
  padding: 24px 26px;
}
.kontakt-address-label {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-500);
  margin-bottom: 12px;
}
.kontakt-address address {
  font-style: normal;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--ink-700);
}

/* --- Rechte Spalte: Formular --- */
.kontakt-form-wrap {
  background: var(--bg-paper);
  border: 1px solid var(--ink-line);
  border-radius: 20px;
  padding: clamp(28px, 4vw, 48px);
  box-shadow: 0 24px 60px rgba(13, 79, 92, 0.06);
}
.kontakt-form-head {
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--ink-line);
}
.kontakt-form-title {
  font-family: 'Inter', sans-serif !important;
  font-size: clamp(20px, 2.4vw, 26px) !important;
  font-weight: 600 !important;
  letter-spacing: -0.018em !important;
  color: var(--ink-900) !important;
  margin: 0 0 6px !important;
}
.kontakt-form-note {
  font-size: 14px !important;
  color: var(--ink-500) !important;
  margin: 0 !important;
}

.kontakt-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.kontakt-form-row { display: flex; flex-direction: column; gap: 6px; }
.kontakt-form-row label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-700);
  letter-spacing: -0.005em;
}
.kontakt-form-row label span { color: var(--primary); }
.kontakt-form input[type="text"],
.kontakt-form input[type="email"],
.kontakt-form select,
.kontakt-form textarea {
  width: 100%;
  background: var(--bg-base);
  border: 1.5px solid var(--ink-line);
  border-radius: 10px;
  padding: 13px 16px;
  color: var(--ink-900);
  font-family: inherit;
  font-size: 15px;
  line-height: 1.5;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.kontakt-form input::placeholder,
.kontakt-form textarea::placeholder {
  color: var(--ink-400);
}
.kontakt-form input:focus,
.kontakt-form select:focus,
.kontakt-form textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(13, 79, 92, 0.08);
  background: #fff;
}
.kontakt-form textarea { resize: vertical; min-height: 140px; }
.kontakt-form select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%230d4f5c' stroke-width='2' stroke-linecap='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}
.kontakt-form optgroup {
  font-style: normal;
  font-weight: 600;
  color: var(--primary-800);
}
.kontakt-form option { color: var(--ink-900); }

.kontakt-form-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 4px 0;
}
.kontakt-form-consent input[type="checkbox"] {
  margin-top: 3px;
  flex-shrink: 0;
  accent-color: var(--primary);
  width: 16px;
  height: 16px;
}
.kontakt-form-consent label {
  font-size: 13px;
  font-weight: 400 !important;
  color: var(--ink-600);
  line-height: 1.5;
}
.kontakt-form-consent a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.kontakt-form-submit {
  align-self: stretch;
  justify-content: center;
  margin-top: 8px;
}

/* CF7 styling (in case the plugin is active) */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form select,
.wpcf7-form textarea {
  width: 100%;
  background: var(--bg-base) !important;
  border: 1.5px solid var(--ink-line) !important;
  border-radius: 10px !important;
  padding: 13px 16px !important;
  color: var(--ink-900) !important;
  font-family: inherit !important;
  font-size: 15px !important;
}
.wpcf7-form label {
  font-size: 13px !important;
  font-weight: 600 !important;
  color: var(--ink-700) !important;
}

/* Responsive */
@media (max-width: 1024px) {
  .kontakt-grid { grid-template-columns: 1fr; }
  .kontakt-info { position: static; }
}

/* === Kontaktformular: Danke + Alerts === */
.kontakt-thankyou {
  text-align: center;
  padding: clamp(32px, 5vw, 56px) clamp(20px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.kontakt-thankyou-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background: var(--primary-50);
  color: var(--primary-700);
  border-radius: 50%;
  margin-bottom: 6px;
  animation: kontaktThankyou 0.6s var(--ease-spring);
}
@keyframes kontaktThankyou {
  0% { opacity: 0; transform: scale(0.7); }
  100% { opacity: 1; transform: scale(1); }
}
.kontakt-thankyou-title {
  font-family: 'Inter', sans-serif !important;
  font-size: clamp(24px, 3vw, 32px) !important;
  font-weight: 600 !important;
  letter-spacing: -0.022em !important;
  color: var(--ink-900) !important;
  margin: 0 !important;
}
.kontakt-thankyou-text {
  font-size: 15.5px !important;
  line-height: 1.65 !important;
  color: var(--ink-600) !important;
  margin: 0 0 12px !important;
  max-width: 380px;
}

.kontakt-alert {
  padding: 14px 18px;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.55;
  margin-bottom: 20px;
}
.kontakt-alert-error {
  background: #fff4f4;
  border: 1px solid #ffd5d5;
  color: #8a1f1f;
}
.kontakt-alert-error a { color: #8a1f1f; text-decoration: underline; }

/* ===================================================================
   BDMJ v9.5 — Card-on-dark-section contrast fix
   When light-background cards live inside .section-dark, their content
   was inheriting the dark-section's white text — invisible on white BG.
   =================================================================== */

/* Vorstand cards (inside .section section-dark) — force dark text on light bg */
.section-dark .vorstand-card,
.vorstand-card {
  color: var(--ink-700) !important;
}
.section-dark .vorstand-card .vorstand-name,
.vorstand-card .vorstand-name,
.vorstand-card h3.vorstand-name {
  color: var(--ink-900) !important;
}
.section-dark .vorstand-card .vorstand-position,
.vorstand-card .vorstand-position {
  color: var(--primary) !important;
}
.section-dark .vorstand-card .vorstand-city,
.vorstand-card .vorstand-city {
  color: var(--ink-500) !important;
}
.section-dark .vorstand-card .vorstand-badge,
.vorstand-card .vorstand-badge {
  color: #fff !important;
}

/* LJV / Verband / Position cards inside dark contexts */
.section-dark .ljv-card,
.section-dark .bdmj-value-card,
.section-dark .bdmj-position-card,
.section-dark .vorstand-card-v8 {
  color: var(--ink-700) !important;
}
.section-dark .ljv-card .ljv-card-title,
.section-dark .ljv-card .ljv-card-tasks-title,
.section-dark .bdmj-value-card h3,
.section-dark .bdmj-position-card h3,
.section-dark .vorstand-card-v8 .vorstand-name-v8 {
  color: var(--ink-900) !important;
}

/* ===================================================================
   Single Post — Editorial Layout
   =================================================================== */
.single-post {
  background: var(--bg-base);
  padding-bottom: clamp(72px, 10vw, 140px);
}
.single-post-hero {
  padding: clamp(48px, 7vw, 96px) 0 clamp(32px, 5vw, 56px);
  text-align: center;
  background: linear-gradient(180deg, #ffffff 0%, var(--bg-base) 100%);
}
.single-post-hero-inner {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 32px);
}
.single-post-hero .eyebrow {
  justify-content: center;
  margin-bottom: 20px;
}
.single-post-title {
  font-family: 'Inter', sans-serif !important;
  font-size: clamp(28px, 4.4vw, 48px) !important;
  font-weight: 600 !important;
  line-height: 1.15 !important;
  letter-spacing: -0.025em !important;
  color: var(--ink-900) !important;
  margin: 0 0 22px !important;
}
.single-post-meta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--ink-500);
  font-weight: 500;
}
.single-post-meta-sep { opacity: 0.5; }

.single-post-featured {
  max-width: 1080px;
  margin: 0 auto clamp(48px, 6vw, 80px);
  padding: 0 clamp(16px, 3vw, 32px);
}
.single-post-featured img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  display: block;
  box-shadow: 0 24px 60px rgba(13, 79, 92, 0.12);
}

/* Body: editorial prose */
.single-post-body {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 32px);
}
.single-post-body p,
.single-post-body li {
  font-size: clamp(15.5px, 1.45vw, 17.5px) !important;
  line-height: 1.75 !important;
  color: var(--ink-700) !important;
  margin: 0 0 22px !important;
}
.single-post-body .post-lead {
  font-size: clamp(18px, 1.8vw, 21px) !important;
  line-height: 1.55 !important;
  color: var(--ink-800) !important;
  margin-bottom: 36px !important;
  font-weight: 400 !important;
}
.single-post-body .post-lead strong { color: var(--ink-900); font-weight: 600; }

.single-post-body h2 {
  font-family: 'Inter', sans-serif !important;
  font-size: clamp(22px, 2.6vw, 30px) !important;
  font-weight: 600 !important;
  letter-spacing: -0.022em !important;
  color: var(--ink-900) !important;
  margin: clamp(48px, 6vw, 72px) 0 8px !important;
  line-height: 1.2 !important;
}
.single-post-body h3 {
  font-family: 'Inter', sans-serif !important;
  font-size: clamp(17px, 1.7vw, 19px) !important;
  font-weight: 600 !important;
  letter-spacing: -0.015em !important;
  color: var(--primary) !important;
  margin: 0 0 22px !important;
  text-transform: none;
}

.single-post-body strong { color: var(--ink-900); font-weight: 600; }
.single-post-body em { color: var(--primary-700); font-style: italic; }
.single-post-body a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.single-post-body a:hover { color: var(--primary-700); }

.single-post-body blockquote {
  margin: 36px 0;
  padding: 24px 32px;
  border-left: 4px solid var(--primary);
  background: var(--primary-50);
  border-radius: 0 14px 14px 0;
  position: relative;
}
.single-post-body blockquote p {
  margin: 0 !important;
  font-size: 18px !important;
  line-height: 1.6 !important;
  color: var(--ink-800) !important;
  font-style: italic;
}
.single-post-body blockquote p strong {
  font-style: normal;
  color: var(--primary-900);
}

.single-post-body .post-download {
  margin: 48px 0 24px !important;
  padding: 28px;
  background: var(--bg-paper);
  border: 1px solid var(--primary-100);
  border-radius: 16px;
  text-align: center;
}
.single-post-body .post-download .btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  color: #fff !important;
  font-weight: 600;
  text-decoration: none !important;
  background: var(--grad-petrol);
  border: 0;
  box-shadow: 0 8px 20px rgba(13, 79, 92, 0.18);
}
.single-post-body .post-download .btn:hover {
  color: #fff !important;
  box-shadow: 0 12px 30px rgba(13, 79, 92, 0.28);
  transform: translateY(-1px);
}

/* Navigation */
.single-post-nav {
  max-width: 1080px;
  margin: clamp(64px, 8vw, 96px) auto 0;
  padding: 32px clamp(16px, 4vw, 32px) 0;
  border-top: 1px solid var(--ink-line);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.single-post-nav-link {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 22px;
  background: var(--bg-paper);
  border: 1px solid var(--ink-line);
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s var(--ease-smooth);
}
.single-post-nav-link.next {
  text-align: right;
  grid-column: 2;
}
.single-post-nav-link.prev:only-child { grid-column: 1; }
.single-post-nav-link:hover {
  border-color: var(--primary-300);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(13, 79, 92, 0.08);
}
.single-post-nav-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.04em;
}
.single-post-nav-title {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-800);
}

@media (max-width: 600px) {
  .single-post-nav { grid-template-columns: 1fr; }
  .single-post-nav-link.next { grid-column: 1; text-align: left; }
}

/* === Mega-Dropdown for "Der Glaube" === */
.nav-dropdown-mega {
  display: none;
  position: absolute;
  top: 100%; left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 540px;
  padding: 20px 22px;
  background: #fff;
  border: 1px solid var(--ink-line);
  border-radius: 14px;
  box-shadow: 0 24px 56px rgba(13, 79, 92, 0.15);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s var(--ease-smooth), transform 0.22s var(--ease-smooth);
  grid-template-columns: 1.4fr 1fr;
  gap: 18px 28px;
  z-index: 1100;
}
.nav-item-mega:hover .nav-dropdown-mega,
.nav-item-mega:focus-within .nav-dropdown-mega {
  display: grid;
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown-mega .nav-dropdown-col {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.nav-dropdown-mega .nav-dropdown-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  padding: 4px 12px 8px;
  border-bottom: 1px solid var(--ink-line);
  margin-bottom: 6px;
}
.nav-dropdown-mega a {
  padding: 9px 12px;
  font-size: 14.5px;
  color: var(--ink-700);
  text-decoration: none;
  border-radius: 8px;
  transition: background var(--motion-fast), color var(--motion-fast);
}
.nav-dropdown-mega a:hover {
  background: var(--primary-50);
  color: var(--primary-800);
}
.nav-dropdown-mega .nav-dropdown-cta {
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--ink-line);
  font-weight: 600;
  color: var(--primary);
}

/* Mobile: stack columns */
@media (max-width: 768px) {
  .nav-dropdown-mega {
    display: block !important;
    position: static !important;
    transform: none !important;
    min-width: 0 !important;
    width: 100% !important;
    background: var(--bg-mute) !important;
    box-shadow: none !important;
    border: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    padding: 6px !important;
    margin: 4px 0 8px !important;
  }
  .nav-dropdown-mega .nav-dropdown-col + .nav-dropdown-col {
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid var(--ink-line);
  }
}

/* === Glaube-Thema page (DITIB content) === */
.glaube-thema {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(40px, 6vw, 72px) clamp(20px, 4vw, 32px) clamp(72px, 10vw, 120px);
}
.glaube-thema p {
  font-size: clamp(15.5px, 1.4vw, 17px);
  line-height: 1.75;
  color: var(--ink-700);
  margin: 0 0 22px;
}
.glaube-thema p:first-of-type {
  font-size: clamp(17px, 1.6vw, 19px);
  color: var(--ink-800);
  margin-bottom: 28px;
}
.glaube-thema h2, .glaube-thema h3, .glaube-thema h4 {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  color: var(--ink-900);
  letter-spacing: -0.022em;
  margin: clamp(40px, 5vw, 56px) 0 14px;
}
.glaube-thema h2 { font-size: clamp(22px, 2.4vw, 28px); }
.glaube-thema h3 { font-size: clamp(18px, 1.8vw, 21px); color: var(--primary); }
.glaube-thema h4 { font-size: clamp(16px, 1.6vw, 18px); }
.glaube-thema strong { color: var(--ink-900); font-weight: 600; }
.glaube-thema em { color: var(--primary-700); font-style: italic; }
.glaube-thema ul, .glaube-thema ol { margin: 0 0 22px; padding-left: 24px; }
.glaube-thema li { font-size: 16px; line-height: 1.7; color: var(--ink-700); margin-bottom: 6px; }
.glaube-thema blockquote {
  margin: 28px 0;
  padding: 20px 26px;
  border-left: 3px solid var(--primary);
  background: var(--primary-50);
  border-radius: 0 12px 12px 0;
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--ink-800);
}
.glaube-thema .glaube-source {
  margin: 56px 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--ink-line);
  font-size: 12.5px;
  color: var(--ink-500);
  letter-spacing: 0.02em;
}
.glaube-thema .glaube-source a { color: var(--primary); }

.glaube-thema-related {
  margin-top: clamp(48px, 6vw, 80px);
  padding-top: 28px;
  border-top: 1px solid var(--ink-line);
}
.glaube-thema-related-label {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-500);
  margin-bottom: 18px;
}
.glaube-thema-related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
@media (max-width: 600px) {
  .glaube-thema-related-grid { grid-template-columns: 1fr; }
}
.glaube-thema-related-card {
  display: block;
  padding: 16px 20px;
  background: var(--bg-paper);
  border: 1px solid var(--ink-line);
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.25s var(--ease-smooth);
}
.glaube-thema-related-card:hover {
  border-color: var(--primary-300);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(13, 79, 92, 0.08);
}
.glaube-thema-related-card-title {
  font-weight: 600;
  font-size: 15px;
  color: var(--ink-900);
}

/* ===================================================================
   v9.6 — Prose Width Alignment
   Inhalts-Container alle auf gleiche Breite wie die Hero-Featured-Images
   (~1040px), damit nichts mehr eingeengt wirkt.
   =================================================================== */

:root {
  --prose-max: 1040px;
}

/* Editorial body content — alle prose containers */
.bdmj-prose,
.single-post-body,
.glaube-thema,
.glaube-intro-inner,
.container-narrow {
  max-width: var(--prose-max) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: clamp(20px, 4vw, 40px) !important;
  padding-right: clamp(20px, 4vw, 40px) !important;
}

/* Single-Post hero stays centered + cap title at slightly narrower for readability */
.single-post-hero-inner,
.bdmj-section-header,
.kontakt-info-head,
.ljv-intro-inner,
.page-hero-inner {
  max-width: 900px;
  margin: 0 auto;
}

/* Featured image matches prose max */
.single-post-featured {
  max-width: var(--prose-max) !important;
}
.single-post-nav {
  max-width: var(--prose-max) !important;
}

/* Glaube-Thema page-hero matches */
.glaube-thema {
  max-width: var(--prose-max) !important;
}

/* Increase font-size slightly for the wider line length */
.bdmj-prose p,
.bdmj-prose li,
.single-post-body p,
.single-post-body li,
.glaube-thema p,
.glaube-thema li {
  font-size: clamp(16px, 1.4vw, 18px) !important;
  line-height: 1.75 !important;
}
.single-post-body .post-lead,
.bdmj-prose .lead,
.bdmj-prose p.lead {
  font-size: clamp(18px, 1.7vw, 22px) !important;
  line-height: 1.6 !important;
}

/* Headlines slightly larger for proportion */
.bdmj-prose h2,
.single-post-body h2,
.glaube-thema h2 {
  font-size: clamp(24px, 2.8vw, 34px) !important;
}
.bdmj-prose h3,
.single-post-body h3,
.glaube-thema h3 {
  font-size: clamp(18px, 2vw, 23px) !important;
}

/* Blockquote pulls slightly out from the body for visual emphasis */
.single-post-body blockquote,
.bdmj-prose blockquote,
.glaube-thema blockquote {
  margin-left: -8px;
  margin-right: -8px;
  padding: 24px 32px;
}

@media (max-width: 600px) {
  .single-post-body blockquote,
  .bdmj-prose blockquote,
  .glaube-thema blockquote {
    margin-left: 0;
    margin-right: 0;
  }
}

/* ===================================================================
   v9.7 — Dropdown z-index + Eyebrow centering fix
   =================================================================== */

/* Dropdown: high z-index, ensure no parent clips it */
#site-header,
.nav-inner,
.nav-menu,
.nav-item {
  overflow: visible !important;
}
.nav-dropdown,
.nav-dropdown-mega {
  z-index: 1100 !important;
}
/* Make sure the header itself has high enough stacking */
#site-header {
  z-index: 1000;
}

/* Eyebrow — symmetric line in centered contexts */
.page-hero .eyebrow,
.single-post-hero .eyebrow,
.bdmj-section-header .eyebrow,
.ljv-intro-inner .eyebrow,
.glaube-intro-inner .eyebrow {
  justify-content: center;
}
.page-hero .eyebrow::after,
.single-post-hero .eyebrow::after,
.bdmj-section-header .eyebrow::after,
.ljv-intro-inner .eyebrow::after,
.glaube-intro-inner .eyebrow::after {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1.5px;
  background: currentColor;
  opacity: 0.8;
  border-radius: 1px;
  flex-shrink: 0;
  margin-left: 10px;
}
.page-hero .eyebrow::before,
.single-post-hero .eyebrow::before,
.bdmj-section-header .eyebrow::before,
.ljv-intro-inner .eyebrow::before,
.glaube-intro-inner .eyebrow::before {
  width: 24px !important;
  height: 1.5px !important;
  opacity: 0.8 !important;
  margin-right: 0;
}

/* Page-hero content stays nicely centered with refined inner spacing */
.page-hero-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  padding: 0 clamp(20px, 4vw, 32px);
}
.page-hero-inner h1 {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.page-hero-inner p {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* ===================================================================
   v9.7.1 — Hard dropdown fix
   backdrop-filter creates new containing block → forces dropdown
   to be clipped within header. Replace with solid background.
   =================================================================== */
#site-header {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  background: rgba(255, 255, 255, 0.95) !important;
  isolation: auto !important;
  overflow: visible !important;
  contain: none !important;
}
#site-header.scrolled {
  background: #ffffff !important;
  box-shadow: 0 8px 30px rgba(13, 79, 92, 0.08) !important;
}
.nav-inner, .nav-menu, .nav-item {
  overflow: visible !important;
  contain: none !important;
}
.nav-dropdown, .nav-dropdown-mega {
  z-index: 9999 !important;
  pointer-events: auto !important;
}
.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateX(-50%) translateY(0) !important;
}
.nav-item-mega:hover .nav-dropdown-mega,
.nav-item-mega:focus-within .nav-dropdown-mega {
  display: grid !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateX(-50%) translateY(0) !important;
}

.single-post-body .single-post-inline {
  margin: 36px auto !important;
  max-width: 100% !important;
  border-radius: 14px !important;
  overflow: hidden;
}
.single-post-body .single-post-inline img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
}
.single-post-body .single-post-inline figcaption {
  display: block !important;
  position: static !important;
  background: var(--bg-base) !important;
  color: var(--ink-600) !important;
  padding: 12px 0 0 !important;
  font-size: 14px !important;
  text-align: center;
  letter-spacing: 0;
  font-style: italic;
}


/* ===================================================================
   v9.8 — TYPOGRAPHIC & SCALING CONSOLIDATION (2026-05-19)
   - Single typographic scale: 10 sizes instead of 50+ ad-hoc values
   - Single text font: Inter everywhere · Fraunces only for .editorial
   - Normalize body line-height and rhythm
   - Tame breakpoints — fewer layout jumps
   - Fix figure/blockquote/list alignment in prose
   =================================================================== */

:root {
  /* Typographic scale (fluid; ratios ~1.18) */
  --fs-3xs:  11px;                                /* mono labels, eyebrows */
  --fs-2xs:  12px;                                /* badges, small captions */
  --fs-xs:   13px;                                /* captions, meta, buttons-sm */
  --fs-sm:   14px;                                /* secondary body, buttons */
  --fs-base: clamp(15px, 1.05vw, 16px);           /* body */
  --fs-md:   clamp(16px, 1.25vw, 18px);           /* prose body */
  --fs-lg:   clamp(18px, 1.4vw, 21px);            /* lead, h4 */
  --fs-xl:   clamp(20px, 1.7vw, 23px);            /* h3 */
  --fs-2xl:  clamp(24px, 2.6vw, 30px);            /* h2 inside prose */
  --fs-3xl:  clamp(28px, 3.4vw, 38px);            /* h2 section */
  --fs-4xl:  clamp(32px, 4.4vw, 48px);            /* h1 page-hero */
  --fs-5xl:  clamp(40px, 5.5vw, 64px);            /* hero h1 */

  /* Line-height tokens */
  --lh-tight:   1.15;
  --lh-snug:    1.35;
  --lh-normal:  1.55;
  --lh-relaxed: 1.7;
  --lh-loose:   1.85;
}

/* -----------------------------------------------------------------
   FONT FAMILY — Single source of truth
   ----------------------------------------------------------------- */
html, body,
h1, h2, h3, h4, h5, h6,
p, a, span, div, li, ul, ol, dl, dt, dd,
button, input, textarea, select, label,
table, th, td, caption,
blockquote, cite, q,
figure, figcaption,
nav, header, footer, main, section, article, aside,
.eyebrow, .badge, .tag, .meta, .caption,
.btn, .nav-link, .nav-link-cta,
.bdmj-prose, .single-post-body, .glaube-thema,
.hero-title, .hero-subtitle,
.page-hero h1, .page-hero p,
.section-title, .section-eyebrow {
  font-family: var(--font-main);
}

/* Fraunces ONLY for explicitly editorial elements */
.font-editorial,
.editorial-display,
.hero-display.editorial,
[class*="--editorial"] {
  font-family: var(--font-editorial);
}

/* -----------------------------------------------------------------
   HEADINGS — Consistent scale across all contexts
   (uses !important where the existing CSS uses it, to win cleanly)
   ----------------------------------------------------------------- */
h1 {
  font-size: var(--fs-5xl);
  line-height: var(--lh-tight);
  letter-spacing: -0.03em;
  font-weight: 700;
}

h2,
.bdmj-prose h2,
.single-post-body h2,
.glaube-thema h2 {
  font-size: var(--fs-3xl) !important;
  line-height: var(--lh-snug) !important;
  letter-spacing: -0.02em;
  font-weight: 700;
}

h3,
.bdmj-prose h3,
.single-post-body h3,
.glaube-thema h3 {
  font-size: var(--fs-xl) !important;
  line-height: var(--lh-snug) !important;
  letter-spacing: -0.01em;
  font-weight: 600;
}

h4 {
  font-size: var(--fs-lg);
  line-height: var(--lh-snug);
  font-weight: 600;
}

h5 { font-size: var(--fs-md); line-height: var(--lh-snug); font-weight: 600; }
h6 { font-size: var(--fs-base); line-height: var(--lh-snug); font-weight: 600; letter-spacing: 0.02em; }

/* Page-hero h1 — slightly smaller than homepage hero */
.page-hero h1,
.single-post-hero h1,
.single-post-title {
  font-size: var(--fs-4xl);
  line-height: var(--lh-tight);
  letter-spacing: -0.025em;
}

/* -----------------------------------------------------------------
   BODY TEXT — Consolidate to ONE prose size
   ----------------------------------------------------------------- */
body,
p {
  font-size: var(--fs-base);
  line-height: var(--lh-relaxed);
}

.bdmj-prose p, .bdmj-prose li,
.single-post-body p, .single-post-body li,
.glaube-thema p, .glaube-thema li {
  font-size: var(--fs-md) !important;
  line-height: var(--lh-relaxed) !important;
}

/* Lead text */
.lead, .post-lead, .single-post-body .post-lead,
.bdmj-prose .lead, .bdmj-prose p.lead,
.hero-subtitle, .page-hero p {
  font-size: var(--fs-lg) !important;
  line-height: var(--lh-normal) !important;
}

/* -----------------------------------------------------------------
   SMALL TEXT — Collapse 10.5/11/11.5/12/12.5/13/13.5 → 3 sizes
   ----------------------------------------------------------------- */
.eyebrow,
.section-eyebrow,
.kicker,
.label-mono,
.nav-eyebrow,
[class*="-eyebrow"] {
  font-size: var(--fs-3xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: var(--lh-normal);
}

.badge, .tag,
.profile-stat-label,
.footer-col h4,
.footer-meta,
.copyright {
  font-size: var(--fs-2xs);
  letter-spacing: 0.04em;
}

.meta, .caption,
.single-post-meta,
.single-post-body figcaption,
.bdmj-photo-figure figcaption,
.news-meta,
.cta-meta,
.breadcrumb {
  font-size: var(--fs-xs);
  line-height: var(--lh-normal);
}

/* -----------------------------------------------------------------
   BUTTONS & NAV
   ----------------------------------------------------------------- */
.btn, .btn-secondary, .btn-primary {
  font-size: var(--fs-sm);
  letter-spacing: 0.01em;
}
.btn-sm { font-size: var(--fs-xs); }
.btn-lg { font-size: var(--fs-base); }

.nav-link, .nav-link-cta {
  font-size: var(--fs-sm);
}

/* -----------------------------------------------------------------
   IMAGES & FIGURES — Fix overflow and centering issues
   ----------------------------------------------------------------- */
img {
  max-width: 100%;
  height: auto;
}

figure {
  margin-left: 0;
  margin-right: 0;
}

.single-post-body .single-post-inline,
.bdmj-photo-figure {
  margin: clamp(24px, 4vw, 40px) auto;
  max-width: 100%;
}

.single-post-body .single-post-inline img,
.bdmj-photo-figure img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.single-post-body .single-post-inline figcaption,
.bdmj-photo-figure figcaption {
  margin-top: 12px;
  text-align: center;
  font-style: italic;
  color: var(--ink-600);
}

/* -----------------------------------------------------------------
   BLOCKQUOTE — Consistent across all prose contexts
   ----------------------------------------------------------------- */
.bdmj-prose blockquote,
.single-post-body blockquote,
.glaube-thema blockquote {
  margin: clamp(28px, 4vw, 40px) 0;
  padding: clamp(20px, 3vw, 28px) clamp(20px, 3vw, 32px);
  border-left: 3px solid var(--primary);
  background: var(--bg-mute);
  border-radius: var(--r-sm);
}

.bdmj-prose blockquote p,
.single-post-body blockquote p,
.glaube-thema blockquote p {
  font-size: var(--fs-md);
  line-height: var(--lh-normal);
  font-style: italic;
  color: var(--ink-800);
  margin: 0;
}

.bdmj-prose blockquote p + p,
.single-post-body blockquote p + p,
.glaube-thema blockquote p + p {
  margin-top: 12px;
}

/* -----------------------------------------------------------------
   LISTS — Consistent indent and spacing
   ----------------------------------------------------------------- */
.bdmj-prose ul, .bdmj-prose ol,
.single-post-body ul, .single-post-body ol,
.glaube-thema ul, .glaube-thema ol {
  padding-left: 1.4em;
  margin: 0 0 1.2em;
}

.bdmj-prose li + li,
.single-post-body li + li,
.glaube-thema li + li {
  margin-top: 8px;
}

/* -----------------------------------------------------------------
   CONTAINER — Consistent max-widths & horizontal padding
   ----------------------------------------------------------------- */
.container,
.bdmj-section .container {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
  width: 100%;
}

.single-post-body,
.bdmj-prose,
.glaube-thema {
  max-width: var(--prose-max, 720px);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}

/* -----------------------------------------------------------------
   BREAKPOINT NORMALIZATION
   - Below 1024: tablet adjustments
   - Below 768:  mobile single-column
   - Below 480:  compact mobile
   ----------------------------------------------------------------- */
@media (max-width: 768px) {
  :root {
    --pad-x: clamp(16px, 4.5vw, 22px);
  }

  /* Tame H1 on mobile so it doesn't overflow */
  h1 { font-size: clamp(28px, 7vw, 40px); }
  .page-hero h1, .single-post-hero h1, .single-post-title {
    font-size: clamp(24px, 6.5vw, 36px);
  }

  /* All grids collapse cleanly */
  .footer-grid {
    grid-template-columns: 1fr 1fr !important;
  }
  .footer-brand { grid-column: span 2; }

  /* Blockquote — reduce side padding on mobile */
  .single-post-body blockquote,
  .bdmj-prose blockquote,
  .glaube-thema blockquote {
    margin-left: 0;
    margin-right: 0;
    padding-left: 16px;
    padding-right: 16px;
  }
}

@media (max-width: 480px) {
  /* Even tighter scale on tiny screens */
  h2, .bdmj-prose h2, .single-post-body h2, .glaube-thema h2 {
    font-size: clamp(22px, 6vw, 28px);
  }
  h3, .bdmj-prose h3, .single-post-body h3, .glaube-thema h3 {
    font-size: clamp(18px, 5vw, 22px);
  }
  .footer-grid {
    grid-template-columns: 1fr !important;
  }
  .footer-brand { grid-column: auto; }
}

/* -----------------------------------------------------------------
   PREVENT HORIZONTAL OVERFLOW from media (without breaking sticky)
   ----------------------------------------------------------------- */
img, video, iframe, table, pre {
  max-width: 100%;
}

/* Prose containers shouldn't ever overflow viewport */
.single-post,
.single-post-body,
.bdmj-prose,
.glaube-thema {
  overflow-wrap: break-word;
  word-wrap: break-word;
}

body {
  overflow-x: clip;
}

/* ===================================================================
   v9.8.1 — TARGETED FIXES (2026-05-19)
   1. News-card grid overflow on mobile (intrinsic image width)
   2. Desktop nav menu items not centered (grid columns asymmetric)
   3. Mobile menu bottom items clipped by Safari toolbar
   =================================================================== */

/* --- 1. News-card / news-grid mobile overflow ------------------ */
/* The default `grid-template-columns: 1.4fr 1fr` on .news-grid
   plus an intrinsic 800px-wide <img> inside .news-card refuses to
   shrink because grid items have min-width: auto. Force shrinkable. */
.news-grid,
.news-side {
  min-width: 0;
}
.news-grid > * {
  min-width: 0;
}
.news-card,
.news-card-featured,
.news-card-side {
  min-width: 0;
  overflow: hidden;
  background: var(--bg-paper);
  border: 1px solid var(--ink-line);
  border-radius: var(--r-md);
  display: block;
}
.news-card .news-img,
.news-card-featured .news-img,
.news-card-side .news-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-mute);
}
.news-card .news-img img,
.news-card-featured .news-img img,
.news-card-side .news-img img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.news-card .news-content,
.news-card-featured .news-content,
.news-card-side .news-content {
  padding: clamp(20px, 3vw, 28px);
}
.news-card .news-category,
.news-card-featured .news-category,
.news-card-side .news-category {
  font-size: var(--fs-3xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 10px;
}
.news-card h3,
.news-card-featured h3,
.news-card-side h3 {
  font-size: var(--fs-xl);
  line-height: var(--lh-snug);
  font-weight: 600;
  color: var(--ink-900);
  margin-bottom: 12px;
}
.news-card p,
.news-card-featured p,
.news-card-side p {
  font-size: var(--fs-base);
  line-height: var(--lh-normal);
  color: var(--ink-700);
}

/* Archive page: when .news-grid contains only .news-card (no side/featured split),
   render as a responsive auto-fit grid. */
.archive .news-grid,
.blog .news-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)) !important;
  gap: clamp(20px, 3vw, 32px);
}

@media (max-width: 768px) {
  .news-grid,
  .archive .news-grid,
  .blog .news-grid {
    grid-template-columns: 1fr !important;
  }
}

/* --- 2. Desktop nav: center menu items relative to viewport ----- */
@media (min-width: 1025px) {
  .nav-inner {
    grid-template-columns: 1fr auto 1fr !important;
  }
  .nav-logo {
    justify-self: start;
  }
  .nav-menu {
    justify-self: center;
  }
  .nav-cta {
    justify-self: end;
  }
}

/* --- 4. Mobile footer — stacked, centered, tight spacing ----------- */
@media (max-width: 768px) {
  #site-footer {
    padding-top: clamp(40px, 8vw, 64px) !important;
    padding-bottom: clamp(12px, 3vw, 20px) !important;
  }

  /* Single column — everything stacked, centered */
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
    padding-bottom: 24px !important;
    text-align: center;
  }
  .footer-brand {
    grid-column: 1 / -1 !important;
    max-width: 100% !important;
    text-align: center !important;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .footer-logo {
    justify-content: center !important;
    display: flex !important;
    margin-bottom: 14px !important;
  }
  .footer-logo img { height: 38px !important; }
  .footer-desc {
    max-width: 480px !important;
    margin: 0 auto 16px !important;
    font-size: var(--fs-sm) !important;
    line-height: 1.55 !important;
    text-align: center;
  }
  .footer-social {
    justify-content: center !important;
  }
  .footer-social a {
    width: 36px !important;
    height: 36px !important;
  }

  /* Each link section: heading + items in compact centered stack
     with items spread as horizontal pills so it doesn't feel like a long list */
  .footer-col {
    text-align: center;
    padding: 4px 0;
  }
  .footer-col h4 {
    font-size: 10.5px !important;
    margin-bottom: 12px !important;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    font-weight: 600;
  }
  .footer-col ul {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 6px 14px !important;
    padding: 0;
    margin: 0;
    list-style: none;
  }
  .footer-col ul a, .footer-col li a {
    font-size: 13px !important;
    line-height: 1.4 !important;
    display: inline-block;
  }

  /* Bottom row: copyright + legal links side-by-side, compact */
  .footer-bottom {
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    gap: 8px 16px !important;
    padding: 14px var(--pad-x) 10px !important;
    font-size: 11.5px !important;
    line-height: 1.4;
  }
  .footer-bottom-links { gap: 14px !important; }
  .footer-bottom-links a { font-size: 12px !important; }

  .footer-credit {
    padding: 4px var(--pad-x) 14px !important;
    font-size: 11px !important;
    text-align: center !important;
  }
}

/* --- 5. Desktop dropdowns — portal display + hover bridge -----------
   bdmj-dropdown.js portals dropdowns to <body> via JS, so the
   `:hover .nav-dropdown-mega { display: grid }` CSS rule never fires
   (the dropdown is no longer inside .nav-item-mega). Force display
   once portaled — JS handles opacity. */
.nav-dropdown-mega[data-portaled="1"],
.nav-dropdown[data-portaled="1"] {
  display: grid !important;
}
.nav-dropdown[data-portaled="1"] {
  display: block !important;
}

/* JS positions the dropdown at `rect.bottom + 8px` — leaving an 8px gap
   between nav-item and dropdown. The cursor crosses this gap going to
   the dropdown, firing mouseleave on the item → hide() fires after 120ms.
   For short dropdowns (Jugendverbände has only 2 items), the cursor may
   not reach the dropdown in time. Add an invisible bridge so the gap
   counts as part of the dropdown's hover area. */
.nav-dropdown[data-portaled="1"]::before,
.nav-dropdown-mega[data-portaled="1"]::before {
  content: '';
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 16px;
  background: transparent;
  pointer-events: auto;
}

/* --- 6. Lighten dark band above footer + bump turquoise sections ---
   The dark .cta-section + .ljv-rjv-block stacked against the dark
   footer was too heavy. Use a more saturated petrol tint so they
   feel like proper accent sections, not just gray. Same tint for
   page-hero areas so subpages get a clearer brand accent. */
:root {
  --bg-accent-soft: #c9e5e9;  /* Saturated petrol tint, between primary-100 and 200 */
}
.cta-section,
.ljv-rjv-block,
.page-hero,
.glaube-section-mute,
.glaube-related,
.stimmen-section {
  background: var(--bg-accent-soft) !important;
  color: var(--ink-900) !important;
}
.page-hero {
  border-bottom: 1px solid rgba(13, 79, 92, 0.12) !important;
}
.cta-section::before,
.ljv-rjv-block::before {
  display: none !important;
}
.cta-section h1, .cta-section h2, .cta-section h3, .cta-section h4,
.ljv-rjv-block h1, .ljv-rjv-block h2, .ljv-rjv-block h3 {
  color: var(--ink-900) !important;
}
.cta-section p,
.ljv-rjv-block p {
  color: var(--ink-700) !important;
}
.cta-section .eyebrow,
.cta-section .accent,
.ljv-rjv-block .eyebrow,
.ljv-rjv-block .accent {
  color: var(--primary) !important;
}
.cta-visual {
  background: rgba(13, 79, 92, 0.06) !important;
  border-color: var(--ink-line) !important;
}
.ljv-rjv-block .btn-outline {
  border-color: var(--ink-300) !important;
  color: var(--ink-900) !important;
}
.ljv-rjv-block .btn-outline:hover {
  background: rgba(13, 79, 92, 0.05) !important;
  border-color: var(--primary) !important;
}

/* --- 3b. Mobile menu visual fixes (Aktuelles/Kontakt/Sprachschalter) -- */
@media (max-width: 768px) {
  /* Hide the desktop ::after underline on mobile — at full link width it
     looks like a horizontal rule instead of an indicator */
  .nav-menu.open .nav-link::after {
    display: none !important;
  }

  /* Active state: subtle tint instead of huge teal underline */
  .nav-menu.open .nav-link.active {
    color: var(--primary) !important;
    font-weight: 500 !important;
    background: rgba(13, 79, 92, 0.08) !important;
    border-radius: var(--r-sm);
  }

  /* Uniform sizing for ALL nav links in the mobile menu — same weight,
     same size, same vertical rhythm */
  .nav-menu.open .nav-link {
    font-size: 16px !important;
    font-weight: 500 !important;
    letter-spacing: 0;
    line-height: 1.4;
  }

  /* Sprachumschalter: only 2 langs rendered — use 2 columns, not 3,
     and keep buttons compact + centered */
  .lang-switcher-mobile {
    grid-template-columns: repeat(2, 1fr) !important;
    max-width: 220px;
    margin: 16px auto 0;
  }
  .lang-switcher-mobile button {
    padding: 8px 12px !important;
    font-size: 13px !important;
    letter-spacing: 0.02em;
  }
}

/* --- 3. Mobile menu scrollable + safe area for Safari toolbar --- */
/* The menu wasn't scrolling on iOS Safari because:
   - `bottom: 0` aligns with layout viewport, which extends behind the Safari toolbar
   - 100vh-based heights include the area hidden by the toolbar
   - Without `-webkit-overflow-scrolling: touch` momentum scroll fails when
     body has overflow: hidden (set by JS when menu opens)
   Fix: use dvh (dynamic viewport height), explicit height, and ensure touch scroll works. */
@media (max-width: 768px) {
  .nav-menu.open {
    /* Lock the height to the *visible* viewport (excludes Safari toolbars) */
    bottom: auto !important;
    height: calc(100dvh - 76px) !important;
    max-height: calc(100dvh - 76px) !important;
    /* Enable smooth iOS momentum scrolling */
    -webkit-overflow-scrolling: touch !important;
    overflow-y: auto !important;
    touch-action: pan-y !important;
    /* Generous bottom padding so the last item (lang-switcher) sits well above
       the Safari toolbar, even with the dynamic URL bar in any state */
    padding-bottom: calc(48px + env(safe-area-inset-bottom, 0px)) !important;
  }
  /* Browsers without dvh support fall back to vh */
  @supports not (height: 100dvh) {
    .nav-menu.open {
      height: calc(100vh - 76px - 80px) !important;
      max-height: calc(100vh - 76px - 80px) !important;
    }
  }
  .nav-mobile-cta {
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
  .lang-switcher-mobile {
    width: 100%;
  }
}
