/* ============================================================
   Masjid Albirr Duisburg – Haupt-Stylesheet
   Islamisch-modernes Design: Grün, Gold, Dunkelblau, Anthrazit
   ============================================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Noto+Naskh+Arabic:wght@400;500;600;700&display=swap');

/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  --clr-primary:       #1B3A6B;   /* Dunkelblau */
  --clr-primary-light: #2A5298;
  --clr-secondary:     #2E7D32;   /* Islamisch-Grün */
  --clr-secondary-light: #43A047;
  --clr-gold:          #C8A951;   /* Gold */
  --clr-gold-light:    #E6C878;
  --clr-anthracite:    #2D2D2D;
  --clr-white:         #FFFFFF;
  --clr-off-white:     #F8F6F1;
  --clr-light-gray:    #F0EDE6;
  --clr-border:        #E0D9CC;
  --clr-text:          #2D2D2D;
  --clr-text-muted:    #6B6560;

  /* Compatibility aliases for older/generated subpages */
  --primary: var(--clr-primary);
  --secondary: var(--clr-secondary);
  --gold: var(--clr-gold);
  --dark: var(--clr-anthracite);
  --light: var(--clr-off-white);

  --font-heading:  'Inter', Arial, sans-serif;
  --font-body:     'Inter', Arial, sans-serif;
  --font-arabic:   'Noto Naskh Arabic', 'Noto Sans Arabic', serif;

  --radius-sm:   6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  32px;

  --shadow-sm:  0 2px 8px rgba(27,58,107,0.08);
  --shadow-md:  0 4px 20px rgba(27,58,107,0.12);
  --shadow-lg:  0 8px 40px rgba(27,58,107,0.16);
  --shadow-gold: 0 4px 20px rgba(200,169,81,0.25);

  --transition: all 0.3s ease;
  --transition-fast: all 0.18s ease;
}

/* ============================================================
   BASIS
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--clr-text);
  background: var(--clr-white);
  line-height: 1.7;
  overflow-x: hidden;
}

body.rtl {
  font-family: var(--font-arabic);
  direction: rtl;
  text-align: right;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--clr-primary);
  line-height: 1.3;
}

body.rtl h1,
body.rtl h2,
body.rtl h3,
body.rtl h4 {
  font-family: var(--font-arabic);
}

a {
  color: var(--clr-primary);
  text-decoration: none;
  transition: var(--transition-fast);
}

a:hover { color: var(--clr-gold); }

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

.container-xl { max-width: 1280px; }

/* ============================================================
   ISLAMISCHE MUSTER – Dekorative Elemente
   ============================================================ */
.pattern-bg {
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%231B3A6B' fill-opacity='0.04'%3E%3Cpath d='M30 0L60 30L30 60L0 30z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.geometric-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.5rem 0;
}

.geometric-divider::before,
.geometric-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--clr-gold), transparent);
}

.geometric-divider span {
  width: 12px;
  height: 12px;
  background: var(--clr-gold);
  transform: rotate(45deg);
  display: inline-block;
  flex-shrink: 0;
}

/* ============================================================
   NAVBAR – professioneller Header
   ============================================================ */
.site-navbar {
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(16px);
  box-shadow: 0 8px 30px rgba(27,58,107,0.08);
  position: sticky;
  top: 0;
  z-index: 1050;
  border-bottom: 2px solid var(--clr-gold);
  min-height: 84px;
}

.site-navbar .container-xl {
  gap: 18px;
}

.site-brand,
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 230px;
  padding: 10px 0;
}

.brand-logo-wrap {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--clr-primary) 0%, var(--clr-secondary) 100%);
  box-shadow: 0 10px 25px rgba(27,58,107,0.16);
  overflow: hidden;
  flex-shrink: 0;
}

.site-brand.has-custom-logo {
  min-width: auto;
  gap: 0;
}

.site-brand.has-custom-logo .brand-logo-wrap {
  width: auto;
  max-width: 235px;
  height: 64px;
  min-width: 130px;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.site-brand.has-custom-logo .brand-logo-img {
  width: auto;
  max-width: 235px;
  height: 64px;
  max-height: 64px;
  object-fit: contain;
  padding: 0;
  background: transparent;
  display: block;
}

.site-brand.has-custom-logo .brand-text {
  display: none;
}

.brand-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
  background: #fff;
}

.brand-logo-icon {
  color: var(--clr-gold);
  font-size: 1.55rem;
  line-height: 1;
}

/* Rückwärtskompatibilität für Footer/alte Bereiche */
.brand-logo {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--clr-primary) 0%, var(--clr-secondary) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-gold);
  font-size: 1.4rem;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  min-width: 0;
}

.brand-text .name {
  font-family: var(--font-heading);
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--clr-primary);
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.brand-text .tagline {
  font-size: 0.7rem;
  color: var(--clr-gold);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 700;
}

.navbar-nav {
  align-items: center;
}

.navbar-nav .nav-link {
  font-weight: 700;
  color: #172033 !important;
  padding: 0.8rem 0.95rem !important;
  border-radius: 14px;
  transition: var(--transition-fast);
  font-size: 0.94rem;
  line-height: 1.25;
  white-space: nowrap;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--clr-primary) !important;
  background: rgba(27,58,107,0.075);
}

.btn-primary-ma,
.nav-donate-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: linear-gradient(135deg, var(--clr-secondary), var(--clr-secondary-light)) !important;
  color: var(--clr-white) !important;
  border-radius: 14px !important;
  font-weight: 800 !important;
  padding: 0.78rem 1.25rem !important;
  border: 0 !important;
  min-height: 54px;
  box-shadow: 0 12px 26px rgba(46,125,50,0.18);
  text-decoration: none;
}

.nav-donate-btn:hover,
.btn-primary-ma:hover {
  background: linear-gradient(135deg, var(--clr-primary), var(--clr-primary-light)) !important;
  color: var(--clr-white) !important;
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(27,58,107,0.18);
}

.lang-dropdown-toggle {
  min-height: 46px;
  border-radius: 14px;
  border: 1px solid rgba(27,58,107,0.14);
  background: #f8fafc;
  color: var(--clr-primary);
  font-weight: 800;
  padding: 0.55rem 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.lang-dropdown-toggle:hover,
.lang-dropdown-toggle:focus {
  background: var(--clr-primary);
  color: #fff;
  border-color: var(--clr-primary);
  box-shadow: 0 8px 20px rgba(27,58,107,0.16);
}

.lang-dropdown-menu {
  border: 0;
  border-radius: 18px;
  padding: 8px;
  box-shadow: 0 18px 50px rgba(15,23,42,0.14);
  min-width: 230px;
}

.lang-dropdown-item {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  align-items: center;
  gap: 10px;
  border-radius: 12px;
  padding: 10px 12px;
  font-weight: 700;
  color: #18243a;
}

.lang-dropdown-item:hover,
.lang-dropdown-item.active {
  background: rgba(27,58,107,0.08);
  color: var(--clr-primary);
}

.lang-code {
  font-size: 0.75rem;
  color: var(--clr-text-muted);
  font-weight: 800;
}

.navbar-toggler {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: #f8fafc;
  box-shadow: none !important;
}

@media (max-width: 1199.98px) {
  .site-brand, .navbar-brand { min-width: 190px; }
  .navbar-nav .nav-link { padding-inline: .65rem !important; font-size: .9rem; }
}

@media (max-width: 991.98px) {
  .site-navbar { min-height: 76px; }
  .site-brand, .navbar-brand { min-width: auto; }
  .navbar-collapse {
    margin-top: 14px;
    padding: 16px;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 18px 45px rgba(15,23,42,0.12);
  }
  .navbar-nav { align-items: stretch; }
  .navbar-nav .nav-link { white-space: normal; padding: .9rem 1rem !important; }
  .nav-donate-btn { display: flex !important; width: 100%; }
  .lang-dropdown { width: 100%; }
  .lang-dropdown-toggle { width: 100%; justify-content: center; }
  .lang-dropdown-menu { width: 100%; }
}

@media (max-width: 575.98px) {
  .brand-logo-wrap { width: 50px; height: 50px; border-radius: 16px; }
  .brand-text .name { font-size: 0.98rem; }
  .brand-text .tagline { font-size: 0.62rem; }
}

/* ============================================================
   HERO-BEREICH
   ============================================================ */
.hero-section {
  background: linear-gradient(135deg, var(--clr-primary) 0%, #0D2245 50%, var(--clr-secondary) 100%);
  color: var(--clr-white);
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
  min-height: 620px;
  display: flex;
  align-items: center;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cg fill='%23C8A951' fill-opacity='0.06'%3E%3Cpath d='M40 0L80 40L40 80L0 40z'/%3E%3Cpath d='M40 20L60 40L40 60L20 40z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-section::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 60px;
  background: var(--clr-white);
  clip-path: ellipse(55% 100% at 50% 100%);
}

.hero-content { position: relative; z-index: 2; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(200,169,81,0.2);
  border: 1px solid rgba(200,169,81,0.4);
  color: var(--clr-gold-light);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--clr-white);
  line-height: 1.2;
  margin-bottom: 1.2rem;
}

.hero-title span {
  color: var(--clr-gold);
}

.hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 2rem;
  max-width: 540px;
}

/* Hero Fortschrittsbalken */
.hero-progress-card {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
  color: rgba(255,255,255,0.9);
}

.progress-label .percent {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--clr-gold);
}

.progress-bar-hero {
  height: 14px;
  background: rgba(255,255,255,0.15);
  border-radius: 50px;
  overflow: hidden;
  margin-bottom: 1rem;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--clr-gold), var(--clr-gold-light));
  border-radius: 50px;
  transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.progress-bar-fill::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 20px;
  background: rgba(255,255,255,0.3);
  border-radius: 50px;
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0%   { opacity: 0; transform: translateX(-10px); }
  50%  { opacity: 1; }
  100% { opacity: 0; transform: translateX(10px); }
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 1rem;
}

.stat-item {
  text-align: center;
}

.stat-item .value {
  display: block;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--clr-gold);
}

.stat-item .label {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary-ma {
  background: linear-gradient(135deg, var(--clr-secondary), var(--clr-secondary-light));
  color: var(--clr-white);
  border: none;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: var(--transition);
}

.btn-primary-ma:hover {
  background: linear-gradient(135deg, var(--clr-primary), var(--clr-primary-light));
  color: var(--clr-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-gold {
  background: linear-gradient(135deg, var(--clr-gold), var(--clr-gold-light));
  color: var(--clr-primary);
  border: none;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: var(--transition);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
  color: var(--clr-primary);
}

.btn-outline-primary-ma {
  background: transparent;
  color: var(--clr-primary);
  border: 2px solid var(--clr-primary);
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: var(--transition);
}

.btn-outline-primary-ma:hover {
  background: var(--clr-primary);
  color: var(--clr-white);
}

.btn-outline-white {
  background: transparent;
  color: var(--clr-white);
  border: 2px solid rgba(255,255,255,0.5);
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: var(--transition);
}

.btn-outline-white:hover {
  background: var(--clr-white);
  color: var(--clr-primary);
  border-color: var(--clr-white);
}

/* ============================================================
   SECTION-TITEL
   ============================================================ */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header .overline {
  display: inline-block;
  color: var(--clr-gold);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.section-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 0.75rem;
}

.section-header p {
  font-size: 1.05rem;
  color: var(--clr-text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================================
   KARTEN
   ============================================================ */
.ma-card {
  background: var(--clr-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--clr-border);
  transition: var(--transition);
  overflow: hidden;
}

.ma-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.ma-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.ma-card-body {
  padding: 1.5rem;
}

.ma-card-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--clr-primary);
  margin-bottom: 0.5rem;
}

/* Spenden-Bausteine */
.donation-tier-card {
  background: var(--clr-white);
  border: 2px solid var(--clr-border);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.donation-tier-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--tier-color, var(--clr-gold));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.donation-tier-card:hover,
.donation-tier-card.selected {
  border-color: var(--tier-color, var(--clr-gold));
  box-shadow: 0 4px 20px rgba(200,169,81,0.2);
  transform: translateY(-4px);
}

.donation-tier-card:hover::before,
.donation-tier-card.selected::before {
  transform: scaleX(1);
}

.donation-tier-card .tier-icon {
  font-size: 2rem;
  color: var(--tier-color, var(--clr-gold));
  margin-bottom: 0.75rem;
}

.donation-tier-card .tier-amount {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--clr-primary);
}

.donation-tier-card .tier-title {
  font-weight: 600;
  color: var(--clr-anthracite);
  margin: 0.25rem 0;
}

.donation-tier-card .tier-desc {
  font-size: 0.85rem;
  color: var(--clr-text-muted);
}

.tier-popular-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--clr-gold);
  color: var(--clr-primary);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ============================================================
   FORTSCHRITTSBALKEN (allgemein)
   ============================================================ */
.progress-section {
  background: var(--clr-off-white);
  padding: 3rem 0;
}

.main-progress-wrap {
  background: var(--clr-white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--clr-border);
}

.main-progress-bar {
  height: 20px;
  background: var(--clr-light-gray);
  border-radius: 50px;
  overflow: hidden;
  margin: 1rem 0;
}

.main-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--clr-secondary), var(--clr-secondary-light), var(--clr-gold));
  border-radius: 50px;
  transition: width 2s cubic-bezier(0.4, 0, 0.2, 1);
}

.progress-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.progress-stat {
  text-align: center;
  padding: 1rem;
  border-radius: var(--radius-sm);
  background: var(--clr-off-white);
}

.progress-stat .value {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--clr-primary);
  display: block;
}

.progress-stat .label {
  font-size: 0.8rem;
  color: var(--clr-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ============================================================
   MEILENSTEINE
   ============================================================ */
.milestones-timeline {
  position: relative;
  padding-left: 2.5rem;
}

.milestones-timeline::before {
  content: '';
  position: absolute;
  left: 12px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--clr-secondary), var(--clr-gold));
}

.milestone-item {
  position: relative;
  margin-bottom: 1.5rem;
  padding-left: 1rem;
}

.milestone-dot {
  position: absolute;
  left: -2rem;
  top: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 3px solid var(--clr-secondary);
  background: var(--clr-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.55rem;
  color: var(--clr-secondary);
}

.milestone-item.reached .milestone-dot {
  background: var(--clr-secondary);
  color: var(--clr-white);
}

.milestone-item.reached .milestone-dot::after {
  content: '✓';
  font-size: 0.75rem;
}

.milestone-amount {
  font-weight: 700;
  color: var(--clr-primary);
  font-size: 1.1rem;
}

.milestone-title {
  font-size: 0.9rem;
  color: var(--clr-anthracite);
}

/* ============================================================
   NEWS-KARTEN
   ============================================================ */
.news-card {
  background: var(--clr-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--clr-border);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.news-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.news-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.news-card-body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-category-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
}

.badge-project  { background: rgba(46,125,50,0.12);  color: var(--clr-secondary); }
.badge-events   { background: rgba(27,58,107,0.12);  color: var(--clr-primary); }
.badge-education { background: rgba(200,169,81,0.15); color: #7B6020; }
.badge-general  { background: rgba(45,45,45,0.08);   color: var(--clr-anthracite); }

.news-card-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--clr-primary);
  flex: 1;
  margin-bottom: 0.75rem;
}

.news-card-excerpt {
  font-size: 0.85rem;
  color: var(--clr-text-muted);
  margin-bottom: 1rem;
}

.news-card-date {
  font-size: 0.78rem;
  color: var(--clr-text-muted);
}

/* ============================================================
   VERANSTALTUNGEN
   ============================================================ */
.event-item {
  display: flex;
  gap: 1.25rem;
  padding: 1.25rem;
  background: var(--clr-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--clr-border);
  margin-bottom: 1rem;
  transition: var(--transition);
}

.event-item:hover {
  border-color: var(--clr-primary);
  box-shadow: var(--shadow-sm);
}

.event-date-box {
  background: var(--clr-primary);
  color: var(--clr-white);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  text-align: center;
  min-width: 60px;
  flex-shrink: 0;
}

.event-date-box .day  { font-size: 1.5rem; font-weight: 700; line-height: 1; }
.event-date-box .month { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 1px; }

.event-info .title { font-weight: 600; color: var(--clr-primary); }
.event-info .meta  { font-size: 0.82rem; color: var(--clr-text-muted); }

/* ============================================================
   VERTRAUENSELEMENTE
   ============================================================ */
.trust-bar {
  background: var(--clr-off-white);
  border-top: 1px solid var(--clr-border);
  border-bottom: 1px solid var(--clr-border);
  padding: 1.5rem 0;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
}

.trust-item i {
  color: var(--clr-gold);
  font-size: 1.3rem;
}

.trust-item span {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--clr-anthracite);
}

/* Bankdaten-Box */
.bank-info-card {
  background: linear-gradient(135deg, var(--clr-primary) 0%, #0D2245 100%);
  color: var(--clr-white);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.bank-info-card h4 {
  color: var(--clr-gold);
  font-family: var(--font-heading);
}

.bank-info-card .iban {
  font-family: 'Courier New', monospace;
  font-size: 1.1rem;
  letter-spacing: 2px;
  background: rgba(255,255,255,0.1);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  margin: 0.5rem 0;
  word-break: break-all;
}

/* ============================================================
   NEWSLETTER
   ============================================================ */
.newsletter-section {
  background: linear-gradient(135deg, var(--clr-secondary) 0%, var(--clr-primary) 100%);
  padding: 4rem 0;
  color: var(--clr-white);
}

.newsletter-section h2 { color: var(--clr-white); }
.newsletter-section p { color: rgba(255,255,255,0.85); }

.newsletter-form .input-group {
  max-width: 500px;
  margin: 0 auto;
}

.newsletter-form .form-control {
  border-radius: var(--radius-sm) 0 0 var(--radius-sm) !important;
  padding: 0.85rem 1.2rem;
  border: none;
  font-size: 1rem;
}

.newsletter-form .btn-submit {
  background: var(--clr-gold);
  color: var(--clr-primary);
  font-weight: 700;
  border: none;
  padding: 0.85rem 1.5rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0 !important;
  cursor: pointer;
  transition: var(--transition);
}

.newsletter-form .btn-submit:hover {
  background: var(--clr-gold-light);
}

/* ============================================================
   GALERIE
   ============================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  aspect-ratio: 4/3;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover img { transform: scale(1.06); }

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(27,58,107,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}

.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay i { color: var(--clr-white); font-size: 2rem; }

/* ============================================================
   KONTAKTFORMULAR
   ============================================================ */
.contact-section { padding: 5rem 0; background: var(--clr-white); }

.form-control-ma {
  border: 2px solid var(--clr-border);
  border-radius: var(--radius-sm);
  padding: 0.8rem 1rem;
  font-size: 0.95rem;
  transition: var(--transition-fast);
  width: 100%;
}

.form-control-ma:focus {
  outline: none;
  border-color: var(--clr-primary);
  box-shadow: 0 0 0 3px rgba(27,58,107,0.08);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--clr-anthracite);
  color: rgba(255,255,255,0.8);
  padding: 4rem 0 2rem;
}

.footer-brand .name {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--clr-white);
  margin-bottom: 0.5rem;
}

.footer-brand p {
  font-size: 0.85rem;
  line-height: 1.6;
}

.footer-heading {
  color: var(--clr-gold);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li { margin-bottom: 0.4rem; }

.footer-links a {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  text-decoration: none;
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--clr-gold);
  padding-left: 4px;
}

.social-links {
  display: flex;
  gap: 10px;
  margin-top: 1rem;
}

.social-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 1rem;
  transition: var(--transition);
}

.social-link:hover {
  background: var(--clr-gold);
  color: var(--clr-primary);
  transform: translateY(-2px);
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
}

/* ============================================================
   WHATSAPP-BUTTON (FIXIERT)
   ============================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 25px;
  z-index: 9999;
}

.whatsapp-float a {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: var(--clr-white);
  padding: 12px 20px 12px 14px;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(37,211,102,0.4);
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
}

.whatsapp-float a:hover {
  background: #128C7E;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 6px 20px rgba(37,211,102,0.5);
}

.whatsapp-float i { font-size: 1.4rem; }

body.rtl .whatsapp-float {
  right: auto;
  left: 25px;
}

/* ============================================================
   SPENDENSEITE
   ============================================================ */
.donate-hero {
  background: linear-gradient(135deg, var(--clr-secondary) 0%, var(--clr-primary) 100%);
  padding: 5rem 0;
  color: var(--clr-white);
  text-align: center;
}

.donate-hero h1 { color: var(--clr-white); }
.donate-hero .subtitle { color: rgba(255,255,255,0.88); font-size: 1.1rem; }

.qr-code-card {
  background: var(--clr-white);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--clr-border);
}

.qr-code-card img {
  width: 160px;
  height: 160px;
}

/* ============================================================
   PROJEKTSEITE
   ============================================================ */
.project-hero {
  background: linear-gradient(135deg, var(--clr-primary) 0%, #0A1F44 100%);
  padding: 6rem 0 4rem;
  color: var(--clr-white);
}

.project-hero h1 { color: var(--clr-white); }

.finance-table {
  background: var(--clr-off-white);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}

.finance-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--clr-border);
}

.finance-row:last-child { border-bottom: none; }

.finance-row.total {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--clr-primary);
  padding-top: 1rem;
  border-top: 2px solid var(--clr-gold);
  border-bottom: none;
}

/* FAQ */
.faq-item {
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-sm);
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.faq-question {
  padding: 1rem 1.25rem;
  cursor: pointer;
  font-weight: 600;
  color: var(--clr-primary);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--clr-white);
  transition: var(--transition-fast);
}

.faq-question:hover { background: var(--clr-off-white); }

.faq-answer {
  padding: 0 1.25rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background: var(--clr-off-white);
  font-size: 0.95rem;
  color: var(--clr-text-muted);
}

.faq-item.open .faq-answer {
  max-height: 400px;
  padding: 1rem 1.25rem;
}

.faq-item.open .faq-icon { transform: rotate(180deg); }

.faq-icon { transition: transform 0.3s ease; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 991px) {
  .hero-section { padding: 60px 0 50px; min-height: auto; }
  .hero-title { font-size: 2rem; }
  .stats-row { grid-template-columns: repeat(3, 1fr); }
  .section-header h2 { font-size: 1.8rem; }
}

@media (max-width: 767px) {
  .hero-title { font-size: 1.7rem; }
  .hero-subtitle { font-size: 1rem; }
  .trust-item { justify-content: flex-start; }
  .progress-stats { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .brand-text .name { font-size: 0.95rem; }
  .whatsapp-float a span { display: none; }
  .whatsapp-float a { padding: 14px; border-radius: 50%; }
  .finance-row { flex-direction: column; align-items: flex-start; gap: 2px; }
}

@media (max-width: 480px) {
  .donation-tier-card { padding: 1.25rem; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .main-progress-wrap { padding: 1.5rem; }
}

/* ============================================================
   ANIMATIONEN
   ============================================================ */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.count-up { font-variant-numeric: tabular-nums; }

/* ============================================================
   ALERT / FEEDBACK
   ============================================================ */
.alert-ma {
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  margin-bottom: 1rem;
  border: 1px solid;
  font-size: 0.9rem;
}

.alert-success-ma {
  background: rgba(46,125,50,0.08);
  border-color: var(--clr-secondary);
  color: var(--clr-secondary);
}

.alert-error-ma {
  background: rgba(211,47,47,0.08);
  border-color: #D32F2F;
  color: #D32F2F;
}

/* ============================================================
   LIGHTBOX (einfach)
   ============================================================ */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 9998;
  display: none;
  align-items: center;
  justify-content: center;
}

.lightbox-overlay.active { display: flex; }

.lightbox-img {
  max-width: 90vw;
  max-height: 88vh;
  border-radius: var(--radius-sm);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  background: rgba(255,255,255,0.1);
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============================================================
   SECTION BACKGROUNDS
   ============================================================ */
.bg-primary-ma   { background: var(--clr-primary) !important; color: white; }
.bg-secondary-ma { background: var(--clr-secondary) !important; color: white; }
.bg-gold-ma      { background: var(--clr-gold) !important; color: var(--clr-primary); }
.bg-off-white    { background: var(--clr-off-white) !important; }
.bg-light-ma     { background: var(--clr-light-gray) !important; }

.text-primary-ma   { color: var(--clr-primary) !important; }
.text-secondary-ma { color: var(--clr-secondary) !important; }
.text-gold         { color: var(--clr-gold) !important; }
.text-muted-ma     { color: var(--clr-text-muted) !important; }

.border-gold { border-color: var(--clr-gold) !important; }

section { padding: 5rem 0; }
section:nth-child(even) { background: var(--clr-off-white); }


/* ============================================================
   UNTERSEITEN-FIX: robuste Darstellung für generierte Pages
   ============================================================ */
.page-hero,
section.page-hero {
  background: linear-gradient(135deg, var(--clr-primary) 0%, #0d2447 100%) !important;
  color: #fff !important;
  padding: 96px 0 72px !important;
  position: relative;
  overflow: hidden;
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1,
.page-hero .display-3,
.page-hero .display-4 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.page-hero .lead { color: rgba(255,255,255,.88) !important; }
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .08;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(200,169,81,.8) 0 2px, transparent 3px),
    radial-gradient(circle at 80% 30%, rgba(255,255,255,.5) 0 1px, transparent 2px);
  background-size: 72px 72px, 96px 96px;
}

main, .site-main { min-height: 60vh; }
section.py-5 { padding-top: 5rem !important; padding-bottom: 5rem !important; }
.card, .shadow-sm { box-shadow: var(--shadow-sm) !important; }
.rounded-4 { border-radius: var(--radius-lg) !important; }
.text-muted { color: var(--clr-text-muted) !important; }
.btn-primary,
.btn-primary-ma {
  background: linear-gradient(135deg, var(--clr-secondary), var(--clr-secondary-light)) !important;
  border-color: var(--clr-secondary) !important;
  color: #fff !important;
}
.btn-outline-primary {
  border-color: var(--clr-primary) !important;
  color: var(--clr-primary) !important;
}
.btn-outline-primary:hover {
  background: var(--clr-primary) !important;
  color: #fff !important;
}
.bg-light { background-color: var(--clr-off-white) !important; }
.fw-600 { font-weight: 600; }

@media (max-width: 767.98px) {
  .page-hero, section.page-hero { padding: 72px 0 52px !important; }
  .page-hero .display-3 { font-size: 2.25rem; }
  section.py-5 { padding-top: 3.5rem !important; padding-bottom: 3.5rem !important; }
}

/* Mawaqit Live Prayer Times Widget */
.mawaqit-section{
    background: radial-gradient(circle at top left, rgba(202,165,74,.16), transparent 32%), linear-gradient(180deg,#f7fbf7 0%,#ffffff 100%);
}
.mawaqit-shell{
    background:#fff;
    border:1px solid rgba(27,58,107,.10);
    border-radius:28px;
    box-shadow:0 22px 55px rgba(18,38,63,.10);
    overflow:hidden;
}
.mawaqit-header{
    display:flex;
    justify-content:space-between;
    gap:22px;
    align-items:center;
    padding:28px 32px;
    background:linear-gradient(135deg,#12335f 0%,#1f6b57 100%);
    color:#fff;
    position:relative;
}
.mawaqit-header:after{
    content:"";
    position:absolute;
    inset:0;
    background-image:radial-gradient(circle at 20px 20px, rgba(255,255,255,.12) 2px, transparent 3px);
    background-size:34px 34px;
    opacity:.35;
    pointer-events:none;
}
.mawaqit-header > *{position:relative;z-index:1;}
.mawaqit-kicker{
    display:inline-flex;
    align-items:center;
    background:rgba(202,165,74,.18);
    border:1px solid rgba(202,165,74,.45);
    color:#ffe8a7;
    padding:7px 12px;
    border-radius:999px;
    font-size:.8rem;
    font-weight:800;
    letter-spacing:.03em;
    margin-bottom:10px;
}
.mawaqit-header h2{
    margin:0;
    font-weight:900;
    font-size:clamp(1.65rem,3vw,2.45rem);
}
.mawaqit-header p{
    margin:8px 0 0;
    opacity:.9;
    font-size:1.05rem;
}
.mawaqit-actions{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    justify-content:flex-end;
}
.mawaqit-btn{
    display:inline-flex;
    align-items:center;
    gap:8px;
    border-radius:14px;
    padding:12px 18px;
    text-decoration:none;
    font-weight:800;
    white-space:nowrap;
}
.mawaqit-btn-primary{
    background:#caa54a;
    color:#102a4c;
    box-shadow:0 10px 24px rgba(202,165,74,.30);
}
.mawaqit-btn-primary:hover{color:#102a4c;filter:brightness(1.03);transform:translateY(-1px);}
.mawaqit-frame-wrap{
    background:#f4f7fb;
    padding:18px;
}
.mawaqit-frame{
    width:100%;
    height:760px;
    border:0;
    border-radius:20px;
    background:#fff;
    box-shadow:inset 0 0 0 1px rgba(0,0,0,.05);
}
.mawaqit-footer-note{
    display:flex;
    flex-wrap:wrap;
    justify-content:space-between;
    gap:10px 20px;
    padding:16px 24px 20px;
    color:#64748b;
    font-size:.92rem;
    background:#fff;
}
.rtl .mawaqit-header,
[dir="rtl"] .mawaqit-header{
    text-align:right;
}
.rtl .mawaqit-actions,
[dir="rtl"] .mawaqit-actions{
    justify-content:flex-start;
}
@media (max-width: 768px){
    .mawaqit-header{padding:24px 20px; align-items:flex-start; flex-direction:column;}
    .mawaqit-actions{width:100%; justify-content:flex-start;}
    .mawaqit-btn{width:100%; justify-content:center;}
    .mawaqit-frame-wrap{padding:10px;}
    .mawaqit-frame{height:680px; border-radius:16px;}
    .mawaqit-footer-note{padding:14px 16px 18px;}
}


/* Logo Upload Fix: breite Admin-Logos sauber im Header anzeigen */
@media (max-width: 991.98px) {
  .site-brand.has-custom-logo .brand-logo-wrap,
  .site-brand.has-custom-logo .brand-logo-img {
    max-width: 190px;
    height: 56px;
    max-height: 56px;
  }
}
@media (max-width: 575.98px) {
  .site-brand.has-custom-logo .brand-logo-wrap,
  .site-brand.has-custom-logo .brand-logo-img {
    max-width: 160px;
    height: 48px;
    max-height: 48px;
  }
}


/* FINAL Logo Fix: uploaded logos reliable, no broken alt-text in header */
.site-brand.has-custom-logo {
  min-width: 260px;
  gap: 14px;
}
.site-brand.has-custom-logo .brand-logo-wrap {
  width: 74px;
  min-width: 74px;
  height: 74px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid rgba(27,58,107,.12);
  box-shadow: 0 12px 28px rgba(27,58,107,.12);
  overflow: hidden;
  position: relative;
}
.site-brand.has-custom-logo .brand-logo-img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  padding: 6px;
  background: #fff;
  display: block;
}
.site-brand.has-custom-logo .brand-logo-img.is-broken {
  display: none !important;
}
.site-brand.has-custom-logo .brand-logo-fallback {
  display: none;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--clr-primary) 0%, var(--clr-secondary) 100%);
  color: var(--clr-gold);
  font-size: 1.6rem;
}
.site-brand.has-custom-logo .brand-logo-wrap.show-fallback-logo .brand-logo-fallback {
  display: flex;
}
.site-brand.has-custom-logo .brand-text {
  display: block;
  min-width: 0;
}
.site-brand.has-custom-logo .brand-text .name {
  white-space: nowrap;
}
.site-brand.has-custom-logo .brand-text .tagline {
  white-space: nowrap;
}
@media (max-width: 991.98px) {
  .site-brand.has-custom-logo { min-width: auto; }
  .site-brand.has-custom-logo .brand-logo-wrap { width: 62px; min-width:62px; height:62px; border-radius:18px; }
  .site-brand.has-custom-logo .brand-text .name { font-size: 1rem; }
}
@media (max-width: 575.98px) {
  .site-brand.has-custom-logo .brand-logo-wrap { width: 54px; min-width:54px; height:54px; border-radius:16px; }
  .site-brand.has-custom-logo .brand-text .name { max-width: 160px; overflow:hidden; text-overflow:ellipsis; }
}

/* ============================================================
   FINAL: Header zeigt ausschließlich das hochgeladene Logo
   - Kein zusätzlicher Text neben dem Logo
   - Keine quadratische Kachel / kein Cropping
   - Breite Logos werden vollständig angezeigt
   ============================================================ */
.site-brand.has-custom-logo,
.navbar-brand.site-brand.has-custom-logo {
  min-width: auto !important;
  gap: 0 !important;
  padding: 8px 0 !important;
  max-width: 320px;
}

.site-brand.has-custom-logo .brand-text {
  display: none !important;
}

.site-brand.has-custom-logo .brand-logo-wrap {
  width: auto !important;
  min-width: 0 !important;
  max-width: 300px !important;
  height: 78px !important;
  max-height: 78px !important;
  border-radius: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
}

.site-brand.has-custom-logo .brand-logo-img {
  width: auto !important;
  max-width: 300px !important;
  height: auto !important;
  max-height: 76px !important;
  object-fit: contain !important;
  object-position: left center !important;
  padding: 0 !important;
  background: transparent !important;
  border-radius: 0 !important;
  display: block !important;
}

.site-brand.has-custom-logo .brand-logo-fallback,
.site-brand.has-custom-logo .brand-logo-icon {
  display: none !important;
}

@media (max-width: 991.98px) {
  .site-brand.has-custom-logo,
  .navbar-brand.site-brand.has-custom-logo {
    max-width: 245px;
  }
  .site-brand.has-custom-logo .brand-logo-wrap {
    max-width: 245px !important;
    height: 64px !important;
  }
  .site-brand.has-custom-logo .brand-logo-img {
    max-width: 245px !important;
    max-height: 62px !important;
  }
}

@media (max-width: 575.98px) {
  .site-brand.has-custom-logo,
  .navbar-brand.site-brand.has-custom-logo {
    max-width: 190px;
  }
  .site-brand.has-custom-logo .brand-logo-wrap {
    max-width: 190px !important;
    height: 54px !important;
  }
  .site-brand.has-custom-logo .brand-logo-img {
    max-width: 190px !important;
    max-height: 52px !important;
  }
}

/* ==========================================================
   Dynamischer Startseiten-Slider
   ========================================================== */
.homepage-hero-slider{
    position:relative;
    overflow:hidden;
    min-height:720px;
    background:#071c36;
    border-bottom:3px solid var(--clr-gold, #C8A951);
}
.homepage-slider-track{position:relative;min-height:720px;}
.homepage-slide{
    position:absolute;
    inset:0;
    min-height:720px;
    opacity:0;
    visibility:hidden;
    transform:scale(1.015);
    transition:opacity .9s ease, visibility .9s ease, transform 1.4s ease;
    display:flex;
    align-items:center;
}
.homepage-slide.is-active{opacity:1;visibility:visible;transform:scale(1);z-index:2;}
.homepage-slide-bg{position:absolute;inset:0;z-index:0;}
.homepage-slide-bg img{width:100%;height:100%;object-fit:cover;display:block;}
.homepage-slide-overlay{position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,rgba(7,22,42,.92) 0%,rgba(7,22,42,.72) 40%,rgba(7,22,42,var(--slide-overlay,.45)) 100%);}
.slide-type-project .homepage-slide-overlay{background:linear-gradient(90deg,rgba(7,22,42,.92) 0%,rgba(7,22,42,.65) 46%,rgba(7,22,42,.25) 100%);}
.slide-type-mission .homepage-slide-overlay{background:linear-gradient(90deg,rgba(7,22,42,.92) 0%,rgba(7,22,42,.68) 45%,rgba(7,22,42,.38) 100%);}
.slide-type-vision .homepage-slide-overlay{background:linear-gradient(90deg,rgba(44,27,5,.84) 0%,rgba(78,48,8,.55) 48%,rgba(255,244,218,.18) 100%);}
.homepage-slide-inner{position:relative;z-index:3;display:grid;grid-template-columns:minmax(0,1fr) minmax(360px,520px);gap:48px;align-items:center;padding-top:90px;padding-bottom:90px;}
.homepage-slide-copy{max-width:760px;color:#fff;}
.homepage-slide-badge{display:inline-flex;align-items:center;gap:.45rem;margin-bottom:22px;padding:10px 18px;border:1px solid rgba(200,169,81,.45);border-radius:999px;background:rgba(255,255,255,.09);backdrop-filter:blur(12px);color:#f1cc65;font-weight:800;letter-spacing:.08em;text-transform:uppercase;font-size:.84rem;}
.homepage-slide-copy h1{font-family:var(--font-heading, inherit);font-size:clamp(2.35rem,5.4vw,5.8rem);line-height:1.03;font-weight:900;letter-spacing:-.04em;margin:0 0 24px;color:#fff;text-shadow:0 10px 28px rgba(0,0,0,.30);}
.homepage-slide-copy p{font-size:clamp(1.05rem,1.7vw,1.42rem);line-height:1.65;max-width:720px;color:rgba(255,255,255,.92);margin:0 0 32px;}
.homepage-slide-actions{display:flex;flex-wrap:wrap;gap:16px;align-items:center;}
.homepage-btn{min-height:56px;display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:14px 26px;border-radius:14px;font-weight:850;text-decoration:none;transition:.2s ease;white-space:normal;text-align:center;line-height:1.2;}
.homepage-btn-primary{background:linear-gradient(135deg,#d8b74f,#b98712);color:#092340;border:1px solid rgba(255,255,255,.2);box-shadow:0 16px 40px rgba(193,148,30,.22);}
.homepage-btn-primary:hover{transform:translateY(-2px);color:#092340;filter:brightness(1.04);}
.homepage-btn-secondary{background:rgba(255,255,255,.10);color:#fff;border:1px solid rgba(255,255,255,.42);backdrop-filter:blur(12px);}
.homepage-btn-secondary:hover{background:rgba(255,255,255,.18);color:#fff;transform:translateY(-2px);}
.homepage-slide-progress-card{background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.20);box-shadow:0 24px 70px rgba(0,0,0,.30);border-radius:28px;padding:30px;color:#fff;backdrop-filter:blur(18px);}
.homepage-progress-top{display:flex;align-items:center;justify-content:space-between;gap:16px;font-size:1rem;margin-bottom:16px;}
.homepage-progress-top strong{color:#f3c24d;font-size:1.7rem;}
.homepage-progress-bar{height:14px;border-radius:999px;overflow:hidden;background:rgba(255,255,255,.18);margin-bottom:12px;}
.homepage-progress-bar div{height:100%;border-radius:999px;background:linear-gradient(90deg,#e4c257,#bd8d15);}
.homepage-needed{font-size:.94rem;color:rgba(255,255,255,.75);margin-bottom:24px;}
.homepage-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:24px;}
.homepage-stats div{min-width:0;}
.homepage-stats strong{display:block;color:#f3c24d;font-size:1.28rem;font-weight:900;line-height:1.15;word-break:break-word;}
.homepage-stats span{display:block;margin-top:7px;color:rgba(255,255,255,.65);font-size:.72rem;text-transform:uppercase;letter-spacing:.08em;font-weight:800;}
.homepage-slider-nav{position:absolute;top:50%;z-index:6;transform:translateY(-50%);width:46px;height:46px;border-radius:999px;border:1px solid rgba(255,255,255,.25);background:rgba(0,0,0,.22);color:#fff;display:flex;align-items:center;justify-content:center;transition:.2s ease;}
.homepage-slider-nav:hover{background:rgba(255,255,255,.18);}
.homepage-slider-nav.prev{left:24px;}
.homepage-slider-nav.next{right:24px;}
.homepage-slider-dots{position:absolute;left:50%;bottom:28px;z-index:7;transform:translateX(-50%);display:flex;gap:10px;}
.homepage-slider-dots button{width:11px;height:11px;border-radius:999px;border:0;background:rgba(255,255,255,.55);padding:0;transition:.2s ease;}
.homepage-slider-dots button.active{width:34px;background:#d7b44d;}
@media (max-width: 991px){
  .homepage-hero-slider,.homepage-slider-track,.homepage-slide{min-height:780px;}
  .homepage-slide-inner{grid-template-columns:1fr;gap:28px;padding:70px 24px 86px;}
  .homepage-slide-progress-card{max-width:620px;}
  .homepage-slider-nav{display:none;}
}
@media (max-width: 575px){
  .homepage-hero-slider,.homepage-slider-track,.homepage-slide{min-height:820px;}
  .homepage-slide-inner{padding:54px 18px 82px;}
  .homepage-slide-actions{display:grid;grid-template-columns:1fr;width:100%;}
  .homepage-btn{width:100%;padding:14px 18px;}
  .homepage-slide-progress-card{padding:22px;border-radius:22px;}
  .homepage-stats{grid-template-columns:1fr;gap:10px;}
  .homepage-stats div{padding:10px 0;border-bottom:1px solid rgba(255,255,255,.12);}
  .homepage-slide-copy h1{font-size:2.35rem;}
}

/* ==========================================================
   HOTFIX: Startseiten-Slider Overlay-Darstellung
   verhindert Bild/Text-Unterteilung und erzwingt echte Hero-Slides
   ========================================================== */
.homepage-hero-slider{
  position:relative !important;
  width:100% !important;
  min-height:calc(100vh - 108px) !important;
  max-height:none !important;
  overflow:hidden !important;
  background:#071c36 !important;
  isolation:isolate !important;
}
.homepage-slider-track{
  position:relative !important;
  width:100% !important;
  min-height:calc(100vh - 108px) !important;
  overflow:hidden !important;
}
.homepage-slide{
  position:absolute !important;
  inset:0 !important;
  width:100% !important;
  min-height:calc(100vh - 108px) !important;
  height:100% !important;
  display:flex !important;
  align-items:center !important;
  overflow:hidden !important;
  opacity:0 !important;
  visibility:hidden !important;
  pointer-events:none !important;
}
.homepage-slide.is-active{
  opacity:1 !important;
  visibility:visible !important;
  pointer-events:auto !important;
  z-index:2 !important;
}
.homepage-slide-bg,
.homepage-slide-bg img{
  position:absolute !important;
  inset:0 !important;
  width:100% !important;
  height:100% !important;
  min-width:100% !important;
  min-height:100% !important;
  max-width:none !important;
  max-height:none !important;
  display:block !important;
  object-fit:cover !important;
  object-position:center center !important;
  z-index:0 !important;
}
.homepage-slide-overlay{
  position:absolute !important;
  inset:0 !important;
  z-index:1 !important;
  pointer-events:none !important;
}
.homepage-slide-inner{
  position:relative !important;
  z-index:3 !important;
  width:100% !important;
  min-height:calc(100vh - 108px) !important;
  display:grid !important;
  grid-template-columns:minmax(0, 1fr) minmax(360px, 520px) !important;
  gap:48px !important;
  align-items:center !important;
  padding-top:70px !important;
  padding-bottom:86px !important;
}
.homepage-slide-copy,
.homepage-slide-progress-card{
  position:relative !important;
  z-index:4 !important;
}
.homepage-slide-copy h1,
.homepage-slide-copy p,
.homepage-slide-badge{
  color:#fff !important;
}
.homepage-slide-copy h1 span{color:#d8b74f !important;}
.homepage-slider-dots{z-index:10 !important;}
.homepage-slider-nav{z-index:10 !important;}
@media (max-width: 991px){
  .homepage-hero-slider,
  .homepage-slider-track,
  .homepage-slide,
  .homepage-slide-inner{
    min-height:760px !important;
  }
  .homepage-slide-inner{
    grid-template-columns:1fr !important;
    gap:26px !important;
    padding:54px 22px 82px !important;
  }
  .homepage-slide-progress-card{max-width:620px !important;}
}
@media (max-width: 575px){
  .homepage-hero-slider,
  .homepage-slider-track,
  .homepage-slide,
  .homepage-slide-inner{
    min-height:780px !important;
  }
  .homepage-slide-copy h1{font-size:2.1rem !important;}
  .homepage-slide-copy p{font-size:1rem !important;line-height:1.55 !important;}
  .homepage-slide-actions{display:grid !important;grid-template-columns:1fr !important;width:100% !important;}
  .homepage-btn{width:100% !important;}
}

/* ==========================================================
   FINAL NAVIGATION + HERO GAP FIX
   Kompaktes Hauptmenü mit Dropdowns und ohne blauen Balken
   ========================================================== */
.site-navbar{
  min-height:86px !important;
  background:rgba(255,255,255,.97) !important;
  box-shadow:0 10px 34px rgba(15,23,42,.08) !important;
  border-bottom:2px solid var(--clr-gold,#C8A951) !important;
}
.site-navbar .container-xl{
  min-height:86px !important;
  display:flex !important;
  align-items:center !important;
}
.site-brand.has-custom-logo .brand-logo-wrap{
  height:72px !important;
  max-width:260px !important;
}
.site-brand.has-custom-logo .brand-logo-img{
  height:72px !important;
  max-height:72px !important;
  max-width:260px !important;
  object-fit:contain !important;
}
.main-menu{
  background:rgba(248,250,252,.65);
  padding:7px;
  border-radius:20px;
  border:1px solid rgba(15,23,42,.06);
}
.main-menu .nav-link{
  padding:.7rem .9rem !important;
  border-radius:14px !important;
  font-size:.93rem !important;
  font-weight:850 !important;
  letter-spacing:-.01em;
  color:#152037 !important;
}
.main-menu .nav-link.dropdown-toggle::after{
  margin-left:.4rem;
  vertical-align:.12em;
  opacity:.65;
}
.main-menu .nav-link:hover,
.main-menu .nav-link.active,
.main-menu .show>.nav-link{
  background:#fff !important;
  color:var(--clr-primary,#1B3A6B) !important;
  box-shadow:0 8px 20px rgba(15,23,42,.08);
}
.main-menu-dropdown-menu{
  min-width:230px;
  padding:10px;
  border:0;
  border-radius:20px;
  box-shadow:0 24px 60px rgba(15,23,42,.16);
  margin-top:12px !important;
}
.main-menu-dropdown-menu .dropdown-item{
  border-radius:13px;
  padding:.78rem .9rem;
  font-weight:750;
  color:#1f2937;
}
.main-menu-dropdown-menu .dropdown-item:hover,
.main-menu-dropdown-menu .dropdown-item.active{
  background:rgba(27,58,107,.08);
  color:var(--clr-primary,#1B3A6B);
}
.nav-donate-btn{
  min-height:58px !important;
  padding:.85rem 1.35rem !important;
  border-radius:16px !important;
  white-space:nowrap;
}
.lang-dropdown-toggle{
  min-height:48px !important;
  border-radius:16px !important;
  background:#f8fafc !important;
  border:1px solid rgba(27,58,107,.14) !important;
}
.homepage-hero-slider{
  margin-top:0 !important;
  padding-top:0 !important;
  background:transparent !important;
  border-top:0 !important;
}
.homepage-slider-track,
.homepage-slide{
  margin-top:0 !important;
  padding-top:0 !important;
  background:transparent !important;
}
.homepage-slide-bg,
.homepage-slide-bg img{
  top:0 !important;
  bottom:0 !important;
  left:0 !important;
  right:0 !important;
}
.homepage-slide-bg img{
  object-position:center center !important;
}
.homepage-slide::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:0;
  background:#071c36;
}
.homepage-slide-bg{z-index:1 !important;}
.homepage-slide-overlay{z-index:2 !important;}
.homepage-slide-inner{z-index:3 !important;}
@media (min-width: 992px){
  .main-menu-dropdown:hover > .dropdown-menu{display:block;}
  .main-menu-dropdown:hover > .nav-link{background:#fff !important;color:var(--clr-primary,#1B3A6B) !important;box-shadow:0 8px 20px rgba(15,23,42,.08);}
}
@media (max-width: 1199.98px){
  .site-brand.has-custom-logo .brand-logo-wrap{max-width:220px !important;}
  .site-brand.has-custom-logo .brand-logo-img{max-width:220px !important;}
  .main-menu .nav-link{font-size:.88rem !important;padding:.68rem .72rem !important;}
}
@media (max-width: 991.98px){
  .site-navbar .container-xl{min-height:76px !important;}
  .main-menu{background:transparent;border:0;padding:0;border-radius:0;}
  .main-menu .nav-link{padding:.9rem 1rem !important;background:#f8fafc;margin-bottom:8px;}
  .main-menu-dropdown-menu{box-shadow:none;border:1px solid rgba(15,23,42,.08);margin:0 0 10px 0 !important;}
  .site-brand.has-custom-logo .brand-logo-wrap{height:58px !important;max-width:210px !important;}
  .site-brand.has-custom-logo .brand-logo-img{height:58px !important;max-height:58px !important;max-width:210px !important;}
}

/* ============================================================
   Projekt-Unterlagen / Downloads Seite
   ============================================================ */
.project-docs-hero{
    position:relative;
    overflow:hidden;
    padding:96px 0 72px;
    color:#fff;
    background:linear-gradient(135deg,#071d3b 0%,#0e3763 52%,#0b573d 100%);
}
.project-docs-hero:after{
    content:"";
    position:absolute;
    right:-120px;
    bottom:-150px;
    width:520px;
    height:520px;
    border-radius:50%;
    background:radial-gradient(circle,rgba(212,175,55,.28),rgba(212,175,55,0) 66%);
    pointer-events:none;
}
.project-docs-bg-pattern{
    position:absolute;
    inset:0;
    opacity:.08;
    background-image:linear-gradient(45deg,rgba(255,255,255,.2) 25%,transparent 25%),linear-gradient(-45deg,rgba(255,255,255,.2) 25%,transparent 25%),linear-gradient(45deg,transparent 75%,rgba(255,255,255,.2) 75%),linear-gradient(-45deg,transparent 75%,rgba(255,255,255,.2) 75%);
    background-size:42px 42px;
    background-position:0 0,0 21px,21px -21px,-21px 0;
}
.project-docs-eyebrow{
    display:inline-flex;
    align-items:center;
    gap:10px;
    padding:10px 18px;
    border:1px solid rgba(212,175,55,.55);
    border-radius:999px;
    background:rgba(255,255,255,.09);
    backdrop-filter:blur(10px);
    color:#f7d36a;
    font-weight:800;
    text-transform:uppercase;
    letter-spacing:.08em;
    font-size:.82rem;
    margin-bottom:22px;
}
.project-docs-hero h1{
    font-size:clamp(2.4rem,5vw,5.2rem);
    line-height:1;
    font-weight:900;
    margin-bottom:24px;
    max-width:900px;
}
.project-docs-hero p{
    color:rgba(255,255,255,.82);
    font-size:1.16rem;
    line-height:1.8;
    max-width:820px;
}
.project-docs-actions{
    display:flex;
    flex-wrap:wrap;
    gap:14px;
    margin-top:32px;
}
.btn-doc-primary,.btn-doc-secondary{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    min-height:54px;
    padding:14px 22px;
    border-radius:15px;
    font-weight:850;
    text-decoration:none;
    transition:.22s ease;
}
.btn-doc-primary{
    background:linear-gradient(135deg,#198754,#2da866);
    color:#fff;
    box-shadow:0 18px 35px rgba(25,135,84,.22);
}
.btn-doc-secondary{
    color:#fff;
    border:1px solid rgba(255,255,255,.24);
    background:rgba(255,255,255,.09);
}
.btn-doc-primary:hover,.btn-doc-secondary:hover{transform:translateY(-2px);color:#fff;}
.project-docs-stat-card{
    position:relative;
    z-index:2;
    border:1px solid rgba(255,255,255,.18);
    border-radius:28px;
    padding:30px;
    background:rgba(255,255,255,.11);
    box-shadow:0 30px 80px rgba(0,0,0,.18);
    backdrop-filter:blur(14px);
}
.project-docs-stat-card .stat-number{
    font-size:4rem;
    line-height:1;
    font-weight:950;
    color:#f4c84f;
}
.project-docs-stat-card .stat-label{
    margin-top:6px;
    font-weight:850;
    font-size:1.25rem;
}
.project-docs-stat-card .stat-note{
    margin-top:16px;
    color:rgba(255,255,255,.76);
    line-height:1.7;
    font-size:.95rem;
}
.project-docs-section{
    padding:72px 0 96px;
    background:#f7f4ed;
}
.project-docs-toolbar{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin-bottom:28px;
}
.doc-filter{
    border:1px solid rgba(15,43,75,.13);
    background:#fff;
    color:#0f2b4b;
    border-radius:999px;
    padding:11px 17px;
    font-weight:800;
    transition:.2s ease;
}
.doc-filter.active,.doc-filter:hover{
    background:#0f2b4b;
    color:#fff;
    border-color:#0f2b4b;
}
.project-docs-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:22px;
}
.project-doc-card{
    background:#fff;
    border:1px solid rgba(15,43,75,.09);
    border-radius:26px;
    padding:26px;
    box-shadow:0 16px 45px rgba(11,31,60,.06);
    min-height:300px;
    display:flex;
    flex-direction:column;
    transition:.24s ease;
}
.project-doc-card:hover{
    transform:translateY(-5px);
    box-shadow:0 24px 70px rgba(11,31,60,.12);
}
.doc-card-top{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:14px;
    margin-bottom:22px;
}
.doc-icon{
    width:58px;
    height:58px;
    border-radius:18px;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#fff;
    background:linear-gradient(135deg,#0f2b4b,#1d7a50);
    font-size:1.55rem;
}
.doc-type{
    padding:7px 12px;
    border-radius:999px;
    background:#fff6d8;
    color:#99721b;
    font-weight:850;
    font-size:.78rem;
    text-transform:uppercase;
    letter-spacing:.05em;
}
.project-doc-card h3{
    color:#0f2b4b;
    font-size:1.32rem;
    line-height:1.25;
    font-weight:900;
    margin-bottom:10px;
}
.project-doc-card p{
    color:#5d6978;
    line-height:1.7;
    margin-bottom:18px;
}
.doc-meta{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    margin-top:auto;
    margin-bottom:18px;
}
.doc-meta span{
    background:#f2f5f7;
    color:#617083;
    border-radius:999px;
    padding:6px 10px;
    font-size:.78rem;
    font-weight:800;
}
.doc-actions{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:10px;
}
.doc-actions a{
    min-height:45px;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    border-radius:13px;
    text-decoration:none;
    font-weight:850;
}
.doc-view{
    background:#f5f7fa;
    color:#0f2b4b;
}
.doc-download{
    background:#198754;
    color:#fff;
}
.doc-download:hover{color:#fff;background:#147145;}
.doc-view:hover{color:#0f2b4b;background:#e9eef4;}
.project-docs-empty{
    background:#fff;
    border-radius:28px;
    padding:64px 28px;
    text-align:center;
    border:1px dashed rgba(15,43,75,.18);
}
.project-docs-empty i{
    font-size:4rem;
    color:#c8a23a;
    margin-bottom:16px;
}
.project-docs-empty h3{
    font-weight:900;
    color:#0f2b4b;
}
.project-docs-empty p{color:#6b7685;}
@media (max-width: 991px){
    .project-docs-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
    .project-docs-hero{padding:72px 0 54px;}
}
@media (max-width: 575px){
    .project-docs-grid{grid-template-columns:1fr;}
    .doc-actions{grid-template-columns:1fr;}
    .project-docs-actions{display:grid;}
    .btn-doc-primary,.btn-doc-secondary{width:100%;}
}


/* ============================================================
   FIX: Moderne, lesbare Projekt-/Spendenseiten
   ============================================================ */
.project-hero,
section.project-hero {
  position: relative !important;
  isolation: isolate !important;
  min-height: 520px !important;
  display: flex !important;
  align-items: center !important;
  padding: 92px 0 96px !important;
  background:
    linear-gradient(90deg, rgba(7,22,45,.92) 0%, rgba(7,22,45,.76) 42%, rgba(7,22,45,.42) 100%),
    radial-gradient(circle at 18% 20%, rgba(202,163,56,.20), transparent 34%),
    linear-gradient(135deg, #0b2545 0%, #133a2d 100%) !important;
  color: #fff !important;
  overflow: hidden !important;
}
.project-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .20;
  background-image:
    radial-gradient(circle at 24px 24px, rgba(255,255,255,.35) 1px, transparent 2px),
    linear-gradient(135deg, rgba(202,163,56,.16) 25%, transparent 25%, transparent 50%, rgba(202,163,56,.16) 50%, rgba(202,163,56,.16) 75%, transparent 75%, transparent);
  background-size: 92px 92px, 78px 78px;
}
.project-hero .container-xl,
.project-hero .container,
.project-hero .row,
.project-hero [class*="col-"] {
  position: relative !important;
  z-index: 2 !important;
}
.project-hero .breadcrumb,
.project-hero .breadcrumb a,
.project-hero .breadcrumb-item,
.project-hero .breadcrumb-item.active {
  color: rgba(255,255,255,.82) !important;
  font-weight: 700 !important;
}
.project-hero .hero-badge {
  color: #f5c84c !important;
  background: rgba(255,255,255,.10) !important;
  border: 1px solid rgba(245,200,76,.45) !important;
  border-radius: 999px !important;
  padding: 11px 18px !important;
  font-weight: 850 !important;
  letter-spacing: .03em !important;
  backdrop-filter: blur(10px) !important;
}
.project-hero .hero-title,
.project-hero h1 {
  color: #fff !important;
  opacity: 1 !important;
  visibility: visible !important;
  font-size: clamp(2.7rem, 6vw, 5.8rem) !important;
  line-height: .98 !important;
  font-weight: 950 !important;
  max-width: 900px !important;
  margin: 22px 0 20px !important;
  text-shadow: 0 10px 40px rgba(0,0,0,.35) !important;
}
.project-hero .hero-subtitle,
.project-hero p {
  color: rgba(255,255,255,.90) !important;
  opacity: 1 !important;
  font-size: clamp(1.05rem, 1.55vw, 1.35rem) !important;
  line-height: 1.75 !important;
  max-width: 760px !important;
  text-shadow: 0 8px 28px rgba(0,0,0,.28) !important;
}
.project-hero .btn-gold,
.project-hero .btn-outline-white,
.project-hero a.btn-gold,
.project-hero button.btn-outline-white {
  min-height: 56px !important;
  border-radius: 14px !important;
  padding: 15px 25px !important;
  font-weight: 900 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 9px !important;
  text-decoration: none !important;
  opacity: 1 !important;
  visibility: visible !important;
}
.project-hero .btn-gold,
.project-hero a.btn-gold {
  background: linear-gradient(135deg, #e8bd45, #c99616) !important;
  color: #0b2545 !important;
  border: 0 !important;
  box-shadow: 0 18px 45px rgba(201,150,22,.25) !important;
}
.project-hero .btn-outline-white,
.project-hero button.btn-outline-white {
  background: rgba(255,255,255,.10) !important;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,.38) !important;
  backdrop-filter: blur(10px) !important;
}
.project-hero .btn-gold:hover,
.project-hero .btn-outline-white:hover {
  transform: translateY(-2px) !important;
}

.main-progress-wrap {
  margin-top: -72px !important;
  position: relative !important;
  z-index: 5 !important;
  background: #fff !important;
  border: 1px solid rgba(15,43,75,.10) !important;
  border-radius: 30px !important;
  padding: clamp(24px, 4vw, 48px) !important;
  box-shadow: 0 28px 90px rgba(11,31,60,.12) !important;
}
.main-progress-wrap h3 {
  color: #0f2b4b !important;
  font-weight: 900 !important;
  font-size: clamp(1.6rem, 3vw, 2.4rem) !important;
}
.main-progress-bar {
  height: 18px !important;
  border-radius: 999px !important;
  overflow: hidden !important;
  background: #edf0f3 !important;
}
.main-progress-fill {
  height: 100% !important;
  background: linear-gradient(90deg, #208b48, #d6af39) !important;
  border-radius: inherit !important;
}
.progress-stats {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0,1fr)) !important;
  gap: 18px !important;
  margin-top: 26px !important;
}
.progress-stat {
  background: #f8f6f0 !important;
  border: 1px solid rgba(15,43,75,.08) !important;
  border-radius: 20px !important;
  padding: 22px 16px !important;
  text-align: center !important;
}
.progress-stat .value {
  display: block !important;
  font-weight: 950 !important;
  font-size: clamp(1.35rem, 2.2vw, 2rem) !important;
  color: #0f2b4b !important;
  line-height: 1.1 !important;
}
.progress-stat .label {
  display: block !important;
  margin-top: 8px !important;
  color: #6b7685 !important;
  font-size: .78rem !important;
  font-weight: 850 !important;
  text-transform: uppercase !important;
  letter-spacing: .05em !important;
}

.donate-hero,
section.donate-hero {
  background:
    linear-gradient(135deg, rgba(8,45,31,.94), rgba(12,35,72,.92)),
    radial-gradient(circle at 20% 20%, rgba(232,189,69,.20), transparent 35%) !important;
  color: #fff !important;
  padding: 96px 0 !important;
}
.donate-hero h1,
.donate-hero .display-3,
.donate-hero .display-4 {
  color: #fff !important;
  opacity: 1 !important;
  font-weight: 950 !important;
  text-shadow: 0 8px 30px rgba(0,0,0,.25) !important;
}
.donate-hero .subtitle,
.donate-hero .lead,
.donate-hero p {
  color: rgba(255,255,255,.90) !important;
  opacity: 1 !important;
}

@media (max-width: 991px) {
  .project-hero, section.project-hero { min-height: auto !important; padding: 74px 0 96px !important; }
  .main-progress-wrap { margin-top: -52px !important; }
  .progress-stats { grid-template-columns: repeat(2, minmax(0,1fr)) !important; }
}
@media (max-width: 575px) {
  .project-hero .d-flex { display: grid !important; }
  .project-hero .btn-gold, .project-hero .btn-outline-white { width: 100% !important; }
  .progress-stats { grid-template-columns: 1fr !important; }
  .main-progress-wrap { border-radius: 22px !important; }
}

/* Modern project downloads with document covers */
.project-docs-section{
  background: linear-gradient(180deg,#f8f6f0 0%,#ffffff 100%) !important;
  padding: 72px 0 96px !important;
}
.project-docs-section .container{max-width:1280px !important;}
.project-docs-grid{
  display:grid !important;
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  gap:28px !important;
  align-items:stretch !important;
}
.project-doc-card-modern{
  padding:0 !important;
  overflow:hidden !important;
  border:1px solid rgba(15,45,85,.10) !important;
  border-radius:26px !important;
  background:#fff !important;
  box-shadow:0 18px 50px rgba(11,31,58,.10) !important;
  transition:transform .25s ease, box-shadow .25s ease, border-color .25s ease !important;
  display:flex !important;
  flex-direction:column !important;
  min-height:100% !important;
}
.project-doc-card-modern:hover{
  transform:translateY(-7px) !important;
  border-color:rgba(207,164,66,.45) !important;
  box-shadow:0 28px 70px rgba(11,31,58,.16) !important;
}
.doc-cover-wrap{
  position:relative !important;
  height:260px !important;
  background:linear-gradient(135deg,#f1e8d3,#fbf8ef) !important;
  overflow:hidden !important;
}
.doc-cover-link{
  display:block !important;
  width:100% !important;
  height:100% !important;
  color:inherit !important;
  text-decoration:none !important;
}
.doc-cover-image,
.doc-pdf-preview,
.doc-generic-preview{
  width:100% !important;
  height:100% !important;
  display:block !important;
}
.doc-cover-image{
  object-fit:cover !important;
  transition:transform .35s ease !important;
}
.project-doc-card-modern:hover .doc-cover-image{transform:scale(1.045) !important;}
.doc-pdf-preview{
  background:#fff !important;
  position:relative !important;
}
.doc-pdf-preview iframe{
  width:130% !important;
  height:132% !important;
  transform:scale(.82) translate(-10%,-10%) !important;
  transform-origin:top left !important;
  border:0 !important;
  pointer-events:none !important;
  background:#fff !important;
}
.doc-generic-preview{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  background:radial-gradient(circle at 30% 20%,rgba(207,164,66,.24),transparent 35%),linear-gradient(135deg,#0b2545,#123b67) !important;
}
.doc-generic-preview i{font-size:72px !important;color:#fff !important;opacity:.9 !important;}
.doc-cover-gradient{
  position:absolute !important;
  inset:auto 0 0 0 !important;
  height:45% !important;
  background:linear-gradient(180deg,transparent,rgba(7,24,44,.72)) !important;
  z-index:2 !important;
}
.doc-type-pill{
  position:absolute !important;
  left:18px !important;
  bottom:16px !important;
  z-index:3 !important;
  display:inline-flex !important;
  align-items:center !important;
  gap:8px !important;
  padding:8px 13px !important;
  border-radius:999px !important;
  background:rgba(255,255,255,.92) !important;
  color:#0b2545 !important;
  font-weight:800 !important;
  font-size:12px !important;
  letter-spacing:.04em !important;
  text-transform:uppercase !important;
  box-shadow:0 10px 25px rgba(0,0,0,.16) !important;
}
.doc-download-float{
  position:absolute !important;
  right:16px !important;
  bottom:16px !important;
  z-index:4 !important;
  width:48px !important;
  height:48px !important;
  border-radius:16px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  background:#2f9142 !important;
  color:#fff !important;
  text-decoration:none !important;
  box-shadow:0 16px 32px rgba(47,145,66,.35) !important;
  transition:transform .2s ease, background .2s ease !important;
}
.doc-download-float:hover{background:#247735 !important;transform:translateY(-2px) !important;color:#fff !important;}
.doc-card-content{
  padding:24px !important;
  display:flex !important;
  flex-direction:column !important;
  flex:1 !important;
}
.doc-meta-line{
  display:flex !important;
  gap:10px !important;
  flex-wrap:wrap !important;
  margin-bottom:12px !important;
}
.doc-meta-line span{
  font-size:12px !important;
  font-weight:800 !important;
  color:#cfa442 !important;
  background:#fff7df !important;
  border:1px solid rgba(207,164,66,.22) !important;
  border-radius:999px !important;
  padding:5px 10px !important;
}
.project-doc-card-modern h3{
  color:#0b2545 !important;
  font-size:20px !important;
  line-height:1.28 !important;
  margin:0 0 10px !important;
  font-weight:900 !important;
}
.project-doc-card-modern p{
  color:#5d6778 !important;
  font-size:14px !important;
  line-height:1.7 !important;
  margin:0 0 20px !important;
}
.doc-actions-modern{
  margin-top:auto !important;
  display:grid !important;
  grid-template-columns:1fr auto !important;
  gap:10px !important;
}
.doc-actions-modern a{
  min-height:46px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:8px !important;
  border-radius:14px !important;
  font-weight:800 !important;
  text-decoration:none !important;
  font-size:14px !important;
}
.doc-actions-modern .doc-view{
  background:#f2f5f8 !important;
  color:#0b2545 !important;
  border:1px solid rgba(11,37,69,.10) !important;
}
.doc-actions-modern .doc-download{
  background:#cfa442 !important;
  color:#0b2545 !important;
  border:1px solid rgba(207,164,66,.30) !important;
  padding-inline:18px !important;
}
.doc-actions-modern a:hover{filter:brightness(.97) !important;}
.project-docs-toolbar{
  justify-content:center !important;
  margin-bottom:34px !important;
}
.doc-filter{
  border-radius:999px !important;
  padding:11px 18px !important;
  font-weight:800 !important;
}
@media (max-width: 1100px){
  .project-docs-grid{grid-template-columns:repeat(2,minmax(0,1fr)) !important;}
}
@media (max-width: 700px){
  .project-docs-grid{grid-template-columns:1fr !important; gap:20px !important;}
  .doc-cover-wrap{height:230px !important;}
  .doc-actions-modern{grid-template-columns:1fr !important;}
  .project-docs-section{padding:44px 0 64px !important;}
}

/* ============================================================
   FINAL FIX: Projekt-Downloads modern, dunkel, übersichtlich
   ============================================================ */
body .project-docs-hero{
  position:relative !important;
  overflow:hidden !important;
  padding:88px 0 76px !important;
  background:
    radial-gradient(circle at 82% 20%, rgba(210,166,55,.28) 0, rgba(210,166,55,0) 34%),
    radial-gradient(circle at 20% 85%, rgba(25,135,84,.22) 0, rgba(25,135,84,0) 36%),
    linear-gradient(135deg,#071b34 0%,#0b2a4d 48%,#082338 100%) !important;
  color:#fff !important;
  isolation:isolate !important;
}
body .project-docs-hero::before{
  content:"" !important;
  position:absolute !important;
  inset:0 !important;
  background:
    linear-gradient(45deg, rgba(255,255,255,.045) 25%, transparent 25%, transparent 75%, rgba(255,255,255,.045) 75%),
    linear-gradient(45deg, rgba(255,255,255,.045) 25%, transparent 25%, transparent 75%, rgba(255,255,255,.045) 75%) !important;
  background-size:54px 54px !important;
  background-position:0 0,27px 27px !important;
  opacity:.38 !important;
  z-index:0 !important;
}
body .project-docs-hero .container,
body .project-docs-hero .row,
body .project-docs-hero .col-lg-8,
body .project-docs-hero .col-lg-4{position:relative !important; z-index:2 !important;}
body .project-docs-bg-pattern{display:none !important;}
body .project-docs-eyebrow{
  background:rgba(255,255,255,.08) !important;
  border:1px solid rgba(223,181,72,.55) !important;
  color:#f7cc5c !important;
  box-shadow:none !important;
}
body .project-docs-hero h1{
  color:#fff !important;
  text-shadow:none !important;
  letter-spacing:-.05em !important;
  max-width:760px !important;
  margin-bottom:20px !important;
}
body .project-docs-hero p{
  color:rgba(255,255,255,.78) !important;
  font-weight:500 !important;
  max-width:760px !important;
  text-shadow:none !important;
}
body .project-docs-stat-card{
  background:rgba(255,255,255,.095) !important;
  border:1px solid rgba(255,255,255,.18) !important;
  box-shadow:0 28px 80px rgba(0,0,0,.22) !important;
  backdrop-filter:blur(18px) !important;
}
body .project-docs-stat-card .stat-number{color:#f1c84c !important;}
body .project-docs-stat-card .stat-label{color:#fff !important;}
body .project-docs-stat-card .stat-note{color:rgba(255,255,255,.72) !important;}
body .btn-doc-secondary{
  background:rgba(255,255,255,.08) !important;
  color:#fff !important;
  border-color:rgba(255,255,255,.22) !important;
}
body .btn-doc-primary{
  background:linear-gradient(135deg,#15945a,#23b06f) !important;
  color:#fff !important;
}
body .project-docs-section{
  position:relative !important;
  background:#071b34 !important;
  padding:64px 0 96px !important;
  color:#fff !important;
}
body .project-docs-section::before{
  content:"" !important;
  position:absolute !important;
  inset:0 !important;
  background:
    radial-gradient(circle at 12% 8%, rgba(32,151,96,.18), transparent 28%),
    radial-gradient(circle at 82% 28%, rgba(210,166,55,.12), transparent 30%),
    linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,0)) !important;
  pointer-events:none !important;
}
body .project-docs-section .container{position:relative !important; z-index:1 !important;}
body .project-docs-toolbar{
  display:flex !important;
  justify-content:flex-start !important;
  gap:12px !important;
  margin:0 0 34px !important;
  padding:10px !important;
  border:1px solid rgba(255,255,255,.09) !important;
  border-radius:24px !important;
  background:rgba(255,255,255,.055) !important;
  width:max-content !important;
  max-width:100% !important;
}
body .doc-filter{
  border:1px solid rgba(255,255,255,.12) !important;
  background:rgba(255,255,255,.08) !important;
  color:rgba(255,255,255,.86) !important;
  box-shadow:none !important;
}
body .doc-filter.active,
body .doc-filter:hover{
  background:#f1c84c !important;
  color:#071b34 !important;
  border-color:#f1c84c !important;
}
body .project-docs-grid{
  display:grid !important;
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  gap:26px !important;
}
body .project-doc-card-modern{
  background:rgba(255,255,255,.96) !important;
  border:1px solid rgba(255,255,255,.12) !important;
  border-radius:28px !important;
  box-shadow:0 24px 70px rgba(0,0,0,.26) !important;
}
body .project-doc-card-modern:hover{
  transform:translateY(-8px) !important;
  box-shadow:0 34px 90px rgba(0,0,0,.34) !important;
}
body .doc-cover-wrap{
  height:300px !important;
  background:#0b2545 !important;
  border-bottom:1px solid rgba(11,37,69,.08) !important;
}
body .doc-pdf-preview iframe{
  background:#fff !important;
  filter:saturate(.96) contrast(1.02) !important;
}
body .doc-card-content{background:#fff !important;}
body .project-doc-card-modern h3{
  color:#071b34 !important;
  font-size:1.25rem !important;
  letter-spacing:-.02em !important;
}
body .project-doc-card-modern p{color:#59677a !important;}
body .doc-actions-modern .doc-download{
  background:#198754 !important;
  color:#fff !important;
  border-color:#198754 !important;
}
body .doc-actions-modern .doc-view{
  background:#eef3f7 !important;
  color:#071b34 !important;
}
body .doc-download-float{
  background:#198754 !important;
  color:#fff !important;
}
body .project-docs-empty{
  background:rgba(255,255,255,.08) !important;
  color:#fff !important;
  border-color:rgba(255,255,255,.18) !important;
}
body .project-docs-empty h3{color:#fff !important;}
body .project-docs-empty p{color:rgba(255,255,255,.72) !important;}

@media (max-width: 1100px){
  body .project-docs-grid{grid-template-columns:repeat(2,minmax(0,1fr)) !important;}
  body .project-docs-hero{padding:72px 0 56px !important;}
}
@media (max-width: 700px){
  body .project-docs-grid{grid-template-columns:1fr !important;}
  body .project-docs-toolbar{width:100% !important; overflow-x:auto !important; flex-wrap:nowrap !important;}
  body .doc-filter{white-space:nowrap !important;}
  body .project-docs-hero h1{font-size:clamp(2.15rem,12vw,3.4rem) !important;}
  body .doc-cover-wrap{height:250px !important;}
}

/* ============================================================
   STARTSEITE: MODERNE SPENDENBAUSTEINE
   ============================================================ */
.home-donation-tiers-section{
  position:relative;
  overflow:hidden;
  background:
    radial-gradient(circle at 12% 20%, rgba(200,169,81,.14), transparent 34%),
    radial-gradient(circle at 88% 30%, rgba(46,125,50,.10), transparent 30%),
    linear-gradient(180deg,#ffffff 0%,#f7f4ec 100%);
  padding:84px 0 88px;
}
.home-donation-tiers-section::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  opacity:.42;
  background-image:
    linear-gradient(45deg, rgba(200,169,81,.08) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(200,169,81,.08) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(200,169,81,.08) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(200,169,81,.08) 75%);
  background-size:54px 54px;
  background-position:0 0,0 27px,27px -27px,-27px 0;
}
.home-donation-tiers-section .container-xl{position:relative;z-index:2;}
.home-donation-head{text-align:center;max-width:760px;margin:0 auto 38px;}
.home-donation-head h2{
  font-family:var(--font-heading);
  font-size:clamp(2rem,4vw,3.35rem);
  line-height:1.08;
  color:var(--clr-primary);
  margin:10px 0 12px;
}
.home-donation-head p{font-size:1.1rem;color:var(--clr-text-muted);margin:0;}
.donation-tiers-modern-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:20px;
  align-items:stretch;
}
.home-donation-tier{
  position:relative;
  min-height:100%;
  border-radius:26px;
  background:rgba(255,255,255,.92);
  border:1px solid rgba(27,58,107,.10);
  box-shadow:0 18px 55px rgba(27,58,107,.09);
  overflow:hidden;
  transition:transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.home-donation-tier::before{
  content:"";
  position:absolute;
  inset:0 auto 0 0;
  width:6px;
  background:var(--tier-color,var(--clr-gold));
}
.home-donation-tier:hover{
  transform:translateY(-6px);
  border-color:color-mix(in srgb, var(--tier-color,var(--clr-gold)) 55%, transparent);
  box-shadow:0 24px 75px rgba(27,58,107,.15);
}
.home-donation-tier.is-popular{
  transform:translateY(-8px);
  border-color:rgba(46,125,50,.30);
}
.home-donation-tier-link{
  display:flex;
  flex-direction:column;
  height:100%;
  padding:26px 26px 22px 30px;
  color:inherit;
  text-decoration:none;
}
.home-tier-top{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:18px;}
.home-tier-icon{
  width:56px;height:56px;border-radius:18px;
  display:flex;align-items:center;justify-content:center;
  background:color-mix(in srgb, var(--tier-color,var(--clr-gold)) 13%, #fff);
  color:var(--tier-color,var(--clr-gold));
  font-size:1.65rem;
}
.home-tier-amount{
  font-family:var(--font-heading);
  color:var(--clr-primary);
  font-size:clamp(1.65rem,2.5vw,2.3rem);
  font-weight:800;
  line-height:1;
  text-align:right;
  white-space:nowrap;
}
.home-tier-content{flex:1;}
.home-tier-content h3{
  color:var(--clr-anthracite);
  font-size:1.15rem;
  line-height:1.35;
  margin:0 0 10px;
  font-weight:800;
}
.home-tier-content p{
  color:var(--clr-text-muted);
  font-size:.98rem;
  line-height:1.65;
  margin:0;
}
.home-tier-action{
  margin-top:22px;
  padding-top:18px;
  border-top:1px solid rgba(27,58,107,.09);
  display:flex;align-items:center;justify-content:space-between;
  color:var(--tier-color,var(--clr-gold));
  font-weight:800;
}
.tier-popular-badge-modern{
  position:absolute;
  top:16px;right:16px;z-index:3;
  background:#2E7D32;color:#fff;
  font-size:.72rem;font-weight:900;text-transform:uppercase;letter-spacing:.08em;
  padding:7px 11px;border-radius:999px;
  box-shadow:0 12px 25px rgba(46,125,50,.22);
}
.donation-tiers-summary{
  margin:28px auto 0;
  max-width:1040px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:22px;
  border-radius:24px;
  padding:22px 24px;
  background:linear-gradient(135deg,rgba(27,58,107,.96),rgba(12,31,56,.96));
  color:#fff;
  box-shadow:0 22px 65px rgba(27,58,107,.18);
}
.donation-tiers-summary strong{display:block;font-size:1.15rem;margin-bottom:4px;}
.donation-tiers-summary span{display:block;color:rgba(255,255,255,.78);line-height:1.55;}
.donation-tiers-summary .btn-primary-ma{white-space:nowrap;box-shadow:none;background:#2E7D32;}
@media(max-width:991.98px){
  .donation-tiers-modern-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
  .home-donation-tier.is-popular{transform:none;}
}
@media(max-width:575.98px){
  .home-donation-tiers-section{padding:58px 0 64px;}
  .donation-tiers-modern-grid{grid-template-columns:1fr;gap:14px;}
  .home-donation-tier-link{padding:22px 20px 20px 24px;}
  .home-tier-top{align-items:center;}
  .home-tier-icon{width:48px;height:48px;border-radius:15px;font-size:1.35rem;}
  .home-tier-amount{font-size:1.75rem;}
  .donation-tiers-summary{flex-direction:column;align-items:flex-start;padding:20px;}
  .donation-tiers-summary .btn-primary-ma{width:100%;justify-content:center;}
}

/* === FIX 2026-05: Startseite Spendenbausteine - gleichmäßiges modernes Layout === */
.home-donation-tiers-section{
  padding:72px 0 78px !important;
  background:
    radial-gradient(circle at 8% 10%, rgba(200,169,81,.16), transparent 28%),
    radial-gradient(circle at 92% 18%, rgba(46,125,50,.10), transparent 28%),
    linear-gradient(180deg,#fbfaf6 0%,#f4efe4 100%) !important;
}
.home-donation-tiers-section::before{opacity:.20 !important;}
.home-donation-head{margin-bottom:34px !important;}
.home-donation-head h2{font-size:clamp(2.1rem,3vw,3rem) !important;}
.donation-tiers-modern-grid{
  max-width:1180px !important;
  margin:0 auto !important;
  display:grid !important;
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  gap:22px !important;
  align-items:stretch !important;
}
.home-donation-tier,
.home-donation-tier.is-popular{
  min-height:245px !important;
  height:100% !important;
  transform:none !important;
  border-radius:22px !important;
  background:#fff !important;
  border:1px solid rgba(200,169,81,.28) !important;
  box-shadow:0 16px 45px rgba(27,58,107,.08) !important;
}
.home-donation-tier:hover,
.home-donation-tier.is-popular:hover{
  transform:translateY(-4px) !important;
  box-shadow:0 22px 60px rgba(27,58,107,.14) !important;
}
.home-donation-tier::before{
  inset:0 0 auto 0 !important;
  width:100% !important;
  height:5px !important;
  background:linear-gradient(90deg,var(--tier-color,#C8A951),rgba(200,169,81,.45)) !important;
}
.home-donation-tier-link{
  padding:28px 26px 24px !important;
  display:flex !important;
  flex-direction:column !important;
  justify-content:space-between !important;
  height:100% !important;
}
.home-tier-top{
  display:grid !important;
  grid-template-columns:56px 1fr !important;
  align-items:center !important;
  gap:18px !important;
  margin-bottom:18px !important;
}
.home-tier-icon{
  width:56px !important;
  height:56px !important;
  border-radius:16px !important;
  background:rgba(27,58,107,.06) !important;
  color:var(--tier-color,#C8A951) !important;
  font-size:1.55rem !important;
}
.home-tier-amount{
  text-align:left !important;
  font-size:clamp(1.9rem,2.2vw,2.35rem) !important;
  color:#123869 !important;
}
.home-tier-content h3{
  min-height:48px !important;
  margin-bottom:8px !important;
  font-size:1.1rem !important;
  color:#14213d !important;
}
.home-tier-content p{
  min-height:70px !important;
  display:-webkit-box !important;
  -webkit-line-clamp:3 !important;
  -webkit-box-orient:vertical !important;
  overflow:hidden !important;
  color:#5d5b55 !important;
}
.home-tier-action{
  margin-top:18px !important;
  padding-top:16px !important;
  border-top:1px solid rgba(27,58,107,.10) !important;
}
.tier-popular-badge-modern{
  top:14px !important;
  right:14px !important;
  background:#C8A951 !important;
  color:#0d2547 !important;
}
.donation-tiers-summary{
  max-width:1180px !important;
  margin-top:26px !important;
  border-radius:22px !important;
}
@media(max-width:1100px){
  .donation-tiers-modern-grid{grid-template-columns:repeat(2,minmax(0,1fr)) !important;}
}
@media(max-width:640px){
  .donation-tiers-modern-grid{grid-template-columns:1fr !important;}
  .home-donation-tier{min-height:auto !important;}
  .home-tier-content h3,.home-tier-content p{min-height:auto !important;}
}

/* === FINAL FIX: Startseite Spendenbausteine Desktop 3x2 gleichmäßig === */
body .home-donation-tiers-section .donation-tiers-modern-grid{
  width:100% !important;
  max-width:1120px !important;
  margin:0 auto !important;
  display:grid !important;
  grid-template-columns:repeat(3, minmax(0, 1fr)) !important;
  gap:24px !important;
  align-items:stretch !important;
  justify-items:stretch !important;
}
body .home-donation-tiers-section .home-donation-tier,
body .home-donation-tiers-section .home-donation-tier.is-popular{
  width:100% !important;
  height:280px !important;
  min-height:280px !important;
  max-height:280px !important;
  margin:0 !important;
  transform:none !important;
  display:flex !important;
  border-radius:24px !important;
  overflow:hidden !important;
}
body .home-donation-tiers-section .home-donation-tier-link{
  width:100% !important;
  height:100% !important;
  min-height:100% !important;
  display:flex !important;
  flex-direction:column !important;
  justify-content:space-between !important;
  align-items:stretch !important;
  padding:26px 24px 22px !important;
}
body .home-donation-tiers-section .home-tier-top{
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  min-height:58px !important;
  margin:0 0 14px !important;
}
body .home-donation-tiers-section .home-tier-icon{
  width:52px !important;
  height:52px !important;
  flex:0 0 52px !important;
}
body .home-donation-tiers-section .home-tier-amount{
  flex:1 !important;
  text-align:right !important;
  font-size:2rem !important;
  line-height:1.05 !important;
  white-space:normal !important;
}
body .home-donation-tiers-section .home-tier-content{
  flex:1 1 auto !important;
  display:flex !important;
  flex-direction:column !important;
  align-items:flex-start !important;
  justify-content:flex-start !important;
  min-height:112px !important;
}
body .home-donation-tiers-section .home-tier-content h3{
  min-height:42px !important;
  height:42px !important;
  overflow:hidden !important;
  display:flex !important;
  align-items:flex-start !important;
  margin:0 0 8px !important;
}
body .home-donation-tiers-section .home-tier-content p{
  min-height:60px !important;
  height:60px !important;
  max-height:60px !important;
  overflow:hidden !important;
  display:-webkit-box !important;
  -webkit-line-clamp:3 !important;
  -webkit-box-orient:vertical !important;
  margin:0 !important;
}
body .home-donation-tiers-section .home-tier-action{
  height:38px !important;
  min-height:38px !important;
  margin-top:14px !important;
  padding-top:12px !important;
}
body .home-donation-tiers-section .tier-popular-badge-modern{
  top:12px !important;
  right:12px !important;
}
body .home-donation-tiers-section .donation-tiers-summary{
  max-width:1120px !important;
}
@media (min-width: 992px){
  body .home-donation-tiers-section .donation-tiers-modern-grid{
    grid-template-columns:repeat(3, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 991.98px){
  body .home-donation-tiers-section .donation-tiers-modern-grid{
    grid-template-columns:repeat(2, minmax(0, 1fr)) !important;
    max-width:760px !important;
  }
}
@media (max-width: 575.98px){
  body .home-donation-tiers-section .donation-tiers-modern-grid{
    grid-template-columns:1fr !important;
    max-width:420px !important;
    gap:16px !important;
  }
  body .home-donation-tiers-section .home-donation-tier,
  body .home-donation-tiers-section .home-donation-tier.is-popular{
    height:auto !important;
    min-height:0 !important;
    max-height:none !important;
  }
  body .home-donation-tiers-section .home-tier-content,
  body .home-donation-tiers-section .home-tier-content h3,
  body .home-donation-tiers-section .home-tier-content p{
    height:auto !important;
    min-height:0 !important;
    max-height:none !important;
  }
}

/* ============================================================
   Spendenbaustein Detailseite – moderne Zahlungsführung
   ============================================================ */
.tier-detail-hero{
  position:relative;
  overflow:hidden;
  background:
    radial-gradient(circle at 16% 20%, rgba(200,169,81,.22), transparent 28%),
    radial-gradient(circle at 84% 14%, rgba(46,125,50,.16), transparent 32%),
    linear-gradient(135deg,#0A1F44 0%,#143B64 52%,#0A1F44 100%);
  color:#fff;
  padding: clamp(70px, 8vw, 120px) 0 clamp(50px, 7vw, 90px);
}
.tier-detail-hero:before{
  content:"";
  position:absolute; inset:0;
  background-image: radial-gradient(rgba(255,255,255,.12) 1px, transparent 1px);
  background-size: 34px 34px;
  opacity:.35;
}
.tier-back-link{
  position:relative; z-index:1;
  display:inline-flex; align-items:center; gap:8px;
  color:rgba(255,255,255,.86); text-decoration:none;
  font-weight:800; margin-bottom:24px;
}
.tier-detail-grid{
  position:relative; z-index:1;
  display:grid;
  grid-template-columns: minmax(0,1.1fr) minmax(320px,.55fr);
  gap:34px; align-items:stretch;
}
.tier-detail-main{max-width:820px;}
.tier-detail-badge{
  display:inline-flex; align-items:center; gap:9px;
  border:1px solid rgba(200,169,81,.55);
  background:rgba(255,255,255,.10);
  color:#F3D56C; border-radius:999px;
  padding:10px 18px; font-weight:900; letter-spacing:.06em;
  text-transform:uppercase; font-size:.8rem;
}
.tier-detail-main h1{
  color:#fff; font-weight:950; line-height:.98;
  font-size:clamp(2.5rem, 6vw, 6rem);
  margin:24px 0 22px;
}
.tier-detail-main h1 span{color:#F3D56C; display:inline-block;}
.tier-detail-main p{font-size:clamp(1.05rem,1.6vw,1.35rem); line-height:1.8; color:rgba(255,255,255,.86); max-width:760px;}
.tier-detail-actions{display:flex; flex-wrap:wrap; gap:14px; margin-top:32px;}
.tier-pay-primary,.tier-pay-secondary{
  min-height:58px; padding:16px 24px; border-radius:16px;
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  font-weight:900; text-decoration:none; transition:.2s ease;
}
.tier-pay-primary{background:#2E7D32;color:#fff;box-shadow:0 20px 45px rgba(46,125,50,.35);}
.tier-pay-primary:hover{transform:translateY(-2px); color:#fff; background:#279138;}
.tier-pay-secondary{background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.35);color:#fff;}
.tier-pay-secondary:hover{background:rgba(255,255,255,.18);color:#fff;}
.tier-detail-card{
  background:rgba(255,255,255,.14);
  border:1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(16px);
  border-radius:28px; padding:34px;
  box-shadow:0 30px 70px rgba(0,0,0,.22);
  align-self:center;
}
.tier-card-icon{width:72px;height:72px;border-radius:22px;background:rgba(255,255,255,.14);display:flex;align-items:center;justify-content:center;color:#F3D56C;font-size:2rem;margin-bottom:22px;}
.tier-card-amount{font-size:clamp(2.2rem,4vw,3.6rem);font-weight:950;color:#F3D56C;line-height:1;margin-bottom:10px;}
.tier-card-title{font-size:1.35rem;font-weight:900;color:#fff;margin-bottom:10px;}
.tier-card-note{color:rgba(255,255,255,.78);line-height:1.7;}
.tier-detail-content{background:#F7F4ED;padding:clamp(45px,6vw,80px) 0;}
.tier-content-grid{display:grid;grid-template-columns:1fr 1.25fr;gap:26px;margin-bottom:28px;}
.tier-info-panel,.tier-bank-panel,.tier-other-section{
  background:#fff;border:1px solid rgba(10,31,68,.08);border-radius:28px;box-shadow:0 20px 55px rgba(10,31,68,.08);padding:clamp(24px,3vw,36px);
}
.tier-info-panel h2,.tier-bank-panel h2,.tier-other-section h2{font-size:clamp(1.5rem,2.4vw,2.15rem);font-weight:950;color:#0A1F44;margin-bottom:20px;}
.tier-impact-list{display:grid;gap:16px;}
.tier-impact-item{display:flex;gap:13px;align-items:flex-start;color:#24344d;line-height:1.7;font-weight:650;}
.tier-impact-item i{color:#2E7D32;font-size:1.25rem;margin-top:3px;}
.tier-payment-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;}
.tier-payment-option{
  border:1px solid rgba(10,31,68,.10); background:#F9FAFC; border-radius:20px; padding:20px;
  text-decoration:none;color:#0A1F44;display:flex;flex-direction:column;gap:7px;text-align:left;transition:.2s ease;min-height:150px;
}
.tier-payment-option:hover{transform:translateY(-3px);box-shadow:0 18px 40px rgba(10,31,68,.12);color:#0A1F44;border-color:rgba(46,125,50,.3);}
.tier-payment-option i{font-size:2rem;color:#2E7D32;}
.tier-payment-option strong{font-size:1.05rem;font-weight:950;}
.tier-payment-option span{font-size:.92rem;color:#667085;}
.tier-payment-option.is-paypal i{color:#003087;}
.tier-bank-panel{display:grid;grid-template-columns:.75fr 1.25fr;gap:28px;align-items:start;}
.tier-bank-panel p{color:#667085;line-height:1.75;}
.tier-bank-data{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;}
.tier-bank-data div{background:#F7F4ED;border-radius:18px;padding:15px 16px;min-height:84px;}
.tier-bank-data span{display:block;color:#667085;font-size:.82rem;font-weight:800;text-transform:uppercase;letter-spacing:.04em;margin-bottom:6px;}
.tier-bank-data strong{display:block;color:#0A1F44;font-size:1rem;word-break:break-word;}
.tier-copy-actions{grid-column:2;display:flex;flex-wrap:wrap;gap:12px;}
.tier-copy-actions button{border:0;background:#0A1F44;color:#fff;border-radius:14px;padding:12px 16px;font-weight:800;}
.tier-other-section{margin-top:28px;}
.tier-other-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;}
.tier-other-card{text-decoration:none;color:#0A1F44;background:#F9FAFC;border:1px solid rgba(10,31,68,.10);border-radius:18px;padding:18px 14px;display:flex;flex-direction:column;align-items:center;text-align:center;gap:8px;min-height:145px;transition:.2s ease;}
.tier-other-card:hover,.tier-other-card.active{background:#0A1F44;color:#fff;transform:translateY(-2px);}
.tier-other-card i{font-size:1.55rem;color:#C8A951;}
.tier-other-card strong{font-size:1.1rem;font-weight:950;}
.tier-other-card span{font-size:.86rem;opacity:.78;}
@media (max-width: 992px){
  .tier-detail-grid,.tier-content-grid,.tier-bank-panel{grid-template-columns:1fr;}
  .tier-copy-actions{grid-column:auto;}
  .tier-other-grid{grid-template-columns:repeat(3,minmax(0,1fr));}
}
@media (max-width: 640px){
  .tier-detail-hero{padding:44px 0;}
  .tier-detail-actions,.tier-pay-primary,.tier-pay-secondary{width:100%;}
  .tier-payment-grid,.tier-bank-data{grid-template-columns:1fr;}
  .tier-other-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}

/* PayPal Checkout – Spendenbaustein */
.paypal-checkout-box{
    border:1px solid rgba(13,54,104,.12);
    background:linear-gradient(135deg,#fff,#fffaf0);
    border-radius:24px;
    padding:22px;
    margin-bottom:18px;
    box-shadow:0 18px 45px rgba(13,54,104,.08);
}
.paypal-checkout-head{
    display:flex;
    gap:14px;
    align-items:center;
    margin-bottom:16px;
}
.paypal-checkout-head i{
    width:48px;
    height:48px;
    border-radius:14px;
    background:#003087;
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:1.5rem;
    flex:0 0 auto;
}
.paypal-checkout-head strong{
    display:block;
    color:#0d3668;
    font-size:1.15rem;
    font-weight:900;
}
.paypal-checkout-head span{
    display:block;
    color:#5d6470;
    font-size:.92rem;
    line-height:1.45;
}
.paypal-button-container{min-height:48px;}
.paypal-message{
    margin-top:12px;
    border-radius:14px;
    padding:12px 14px;
    font-weight:800;
    line-height:1.45;
}
.paypal-message.is-success{background:#e8f8ef;color:#176b38;border:1px solid #bfe8ce;}
.paypal-message.is-error,.paypal-warning{background:#fff1f1;color:#8a1f1f;border:1px solid #f1c4c4;}
.paypal-warning{border-radius:14px;padding:12px 14px;font-weight:800;}
@media(max-width:768px){
    .paypal-checkout-box{padding:16px;border-radius:18px;}
    .paypal-checkout-head{align-items:flex-start;}
}

/* ============================================================
   FIX: Spendenbaustein Detailseite – dunkler warm-beiger Hero
   Ziel: bessere Lesbarkeit, Beige-Look behalten, Textschatten
   ============================================================ */
body .tier-detail-hero{
    position: relative !important;
    overflow: hidden !important;
    background:
        linear-gradient(
            90deg,
            rgba(22, 18, 12, 0.78) 0%,
            rgba(36, 27, 17, 0.66) 42%,
            rgba(70, 53, 30, 0.48) 100%
        ),
        radial-gradient(circle at 18% 18%, rgba(224,187,82,0.24), transparent 30%),
        radial-gradient(circle at 84% 14%, rgba(46,125,50,0.16), transparent 34%),
        linear-gradient(135deg,#7a6032 0%,#c9aa5a 48%,#f3ead8 100%) !important;
    color: #ffffff !important;
    padding: clamp(72px, 8vw, 120px) 0 clamp(56px, 7vw, 90px) !important;
    min-height: 680px !important;
}

body .tier-detail-hero::before{
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    background:
        radial-gradient(circle at top left, rgba(214,178,74,0.16), transparent 36%),
        radial-gradient(circle at bottom right, rgba(255,255,255,0.10), transparent 34%),
        repeating-linear-gradient(
            45deg,
            rgba(255,255,255,0.035) 0,
            rgba(255,255,255,0.035) 1px,
            transparent 1px,
            transparent 34px
        ) !important;
    opacity: 1 !important;
    pointer-events: none !important;
}

body .tier-detail-hero::after{
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    background: linear-gradient(180deg, rgba(0,0,0,0.10), rgba(0,0,0,0.20)) !important;
    pointer-events: none !important;
}

body .tier-detail-hero .container-xl,
body .tier-detail-grid,
body .tier-detail-main,
body .tier-detail-card,
body .tier-back-link{
    position: relative !important;
    z-index: 3 !important;
}

body .tier-back-link{
    color: rgba(255,255,255,0.92) !important;
    text-shadow: 0 2px 8px rgba(0,0,0,0.42) !important;
}

body .tier-detail-badge{
    background: rgba(255,248,232,0.16) !important;
    border: 1px solid rgba(224,187,82,0.74) !important;
    color: #f6d66b !important;
    box-shadow: 0 12px 28px rgba(0,0,0,0.18) !important;
    backdrop-filter: blur(10px) !important;
    text-shadow: 0 2px 8px rgba(0,0,0,0.35) !important;
}

body .tier-detail-main h1{
    color: #ffffff !important;
    font-size: clamp(3.2rem, 7vw, 6.5rem) !important;
    line-height: .94 !important;
    font-weight: 950 !important;
    letter-spacing: -2.5px !important;
    text-shadow:
        0 5px 18px rgba(0,0,0,0.62),
        0 2px 3px rgba(0,0,0,0.42) !important;
}

body .tier-detail-main h1 span,
body .tier-card-amount{
    color: #f6d66b !important;
    text-shadow:
        0 5px 18px rgba(0,0,0,0.58),
        0 0 20px rgba(224,187,82,0.28) !important;
}

body .tier-detail-main p{
    color: rgba(255,255,255,0.94) !important;
    font-size: clamp(1.05rem, 1.55vw, 1.32rem) !important;
    line-height: 1.8 !important;
    text-shadow: 0 3px 12px rgba(0,0,0,0.55) !important;
}

body .tier-detail-card{
    background: rgba(255,248,238,0.17) !important;
    backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255,255,255,0.24) !important;
    box-shadow:
        0 34px 90px rgba(0,0,0,0.34),
        inset 0 1px 0 rgba(255,255,255,0.18) !important;
}

body .tier-card-icon{
    background: rgba(255,255,255,0.18) !important;
    color: #f6d66b !important;
    text-shadow: 0 3px 10px rgba(0,0,0,0.34) !important;
}

body .tier-card-title,
body .tier-card-note,
body .tier-detail-card *{
    color: rgba(255,255,255,0.94) !important;
    text-shadow: 0 2px 8px rgba(0,0,0,0.40) !important;
}

body .tier-pay-primary{
    background: #2E7D32 !important;
    color: #fff !important;
    box-shadow: 0 22px 48px rgba(46,125,50,0.42) !important;
    text-shadow: 0 2px 8px rgba(0,0,0,0.30) !important;
}

body .tier-pay-secondary{
    background: rgba(255,255,255,0.13) !important;
    border: 1px solid rgba(255,255,255,0.44) !important;
    color: #ffffff !important;
    backdrop-filter: blur(10px) !important;
    text-shadow: 0 2px 8px rgba(0,0,0,0.40) !important;
}

body .tier-pay-secondary:hover{
    background: rgba(255,255,255,0.22) !important;
    color: #fff !important;
}

@media (max-width: 768px){
    body .tier-detail-hero{
        min-height: auto !important;
        padding: 46px 0 54px !important;
    }
    body .tier-detail-main h1{
        font-size: clamp(2.4rem, 14vw, 4.2rem) !important;
        letter-spacing: -1px !important;
    }
    body .tier-detail-card{
        padding: 24px !important;
    }
}

/* =========================================================
   Reusable donation tiers – 3 x 2 desktop grid for all donation pages
   ========================================================= */
.donation-tiers-reusable{
    padding: clamp(70px, 8vw, 110px) 0;
    background:
        radial-gradient(circle at 20% 0%, rgba(200,169,81,.12), transparent 28%),
        radial-gradient(circle at 80% 100%, rgba(46,125,50,.08), transparent 32%),
        linear-gradient(180deg, #fbfaf6 0%, #f5f1e8 100%);
}
.donation-tiers-reusable.spenden-page-context,
.donation-tiers-reusable.tier-detail-context{
    border-top: 1px solid rgba(200,169,81,.20);
    border-bottom: 1px solid rgba(200,169,81,.16);
}
.donation-tiers-reusable .home-donation-head{
    text-align:center;
    max-width: 860px;
    margin: 0 auto 42px;
}
.donation-tiers-reusable .home-donation-head .overline{
    display:inline-flex;
    align-items:center;
    gap:8px;
    margin-bottom:14px;
    color:#c8a951;
    font-size:.84rem;
    font-weight:900;
    text-transform:uppercase;
    letter-spacing:.16em;
}
.donation-tiers-reusable .home-donation-head h2{
    margin:0;
    color:#12376b;
    font-size:clamp(2.1rem, 4.2vw, 4.2rem);
    line-height:1;
    font-weight:900;
    letter-spacing:-.04em;
}
.donation-tiers-reusable .home-donation-head p{
    margin:18px 0 0;
    color:#6b6254;
    font-size:clamp(1rem, 1.3vw, 1.2rem);
}
.donation-tiers-modern-grid{
    display:grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    max-width: 1180px;
    margin: 0 auto;
    align-items:stretch;
}
.home-donation-tier{
    position:relative;
    min-height: 270px;
    border-radius: 24px;
    background:#fff;
    border: 1px solid rgba(18,55,107,.10);
    border-top: 5px solid var(--tier-color, #c8a951);
    box-shadow: 0 22px 60px rgba(18,55,107,.08);
    overflow:hidden;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.home-donation-tier:hover{
    transform: translateY(-6px);
    box-shadow: 0 32px 80px rgba(18,55,107,.16);
    border-color: rgba(18,55,107,.18);
}
.home-donation-tier-link{
    display:flex;
    flex-direction:column;
    min-height:100%;
    height:100%;
    padding:28px;
    color:inherit;
    text-decoration:none;
}
.home-tier-top{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:16px;
    margin-bottom:22px;
}
.home-tier-icon{
    width:52px;
    height:52px;
    border-radius:16px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#f3f5f8;
    color:var(--tier-color, #12376b);
    font-size:1.55rem;
}
.home-tier-amount{
    color:#0b356c;
    font-size:clamp(2rem, 2.6vw, 2.65rem);
    line-height:1;
    font-weight:900;
    letter-spacing:-.04em;
    text-align:right;
    white-space:nowrap;
}
.home-tier-content{
    flex:1;
}
.home-tier-content h3{
    margin:0 0 14px;
    color:#071f43;
    font-size:1.18rem;
    line-height:1.3;
    font-weight:900;
}
.home-tier-content p{
    margin:0;
    color:#5f544a;
    font-size:1rem;
    line-height:1.65;
    display:-webkit-box;
    -webkit-line-clamp:3;
    -webkit-box-orient:vertical;
    overflow:hidden;
}
.home-tier-action{
    margin-top:24px;
    padding-top:18px;
    border-top:1px solid rgba(18,55,107,.12);
    display:flex;
    justify-content:space-between;
    align-items:center;
    color:var(--tier-color, #12376b);
    font-weight:900;
}
.tier-popular-badge-modern{
    position:absolute;
    top:18px;
    right:18px;
    z-index:2;
    border-radius:999px;
    padding:6px 12px;
    background:#d7b74d;
    color:#062551;
    font-size:.72rem;
    font-weight:900;
    text-transform:uppercase;
    letter-spacing:.05em;
}
.donation-tiers-summary{
    max-width: 1180px;
    margin: 36px auto 0;
    border-radius:24px;
    padding:22px 26px;
    background:#12376b;
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:22px;
    box-shadow:0 28px 80px rgba(18,55,107,.20);
}
.donation-tiers-summary strong{
    display:block;
    font-size:1.2rem;
    margin-bottom:4px;
}
.donation-tiers-summary span{
    color:rgba(255,255,255,.82);
}
.donation-tiers-summary .btn-primary-ma{
    white-space:nowrap;
    background:#2e8f3b;
    color:#fff;
}
@media (max-width: 991.98px){
    .donation-tiers-modern-grid{grid-template-columns:repeat(2, minmax(0, 1fr));}
    .donation-tiers-summary{flex-direction:column; align-items:flex-start;}
}
@media (max-width: 575.98px){
    .donation-tiers-modern-grid{grid-template-columns:1fr; gap:16px;}
    .home-donation-tier-link{padding:22px;}
    .home-tier-amount{font-size:2rem;}
}

/* =========================================================
   Oriental Page Design – Masjid Albirr
   Applies to About/Mosque and improves common content pages
   ========================================================= */
:root{
  --oriental-navy:#0b2d5c;
  --oriental-navy-2:#173f76;
  --oriental-gold:#d5b24d;
  --oriental-gold-2:#f2d879;
  --oriental-cream:#f8f3e8;
  --oriental-ink:#081b38;
  --oriental-muted:#6b5f4e;
}

.oriental-page{
  background:
    radial-gradient(circle at 10% 5%, rgba(213,178,77,.16), transparent 28%),
    linear-gradient(180deg, #fffaf0 0%, #f8f3e8 42%, #fff 100%);
  color:var(--oriental-ink);
  overflow:hidden;
}

.oriental-hero{
  position:relative;
  min-height:460px;
  display:flex;
  align-items:center;
  padding:110px 0 90px;
  background:
    linear-gradient(135deg, rgba(7,29,62,.96) 0%, rgba(18,62,112,.92) 55%, rgba(32,77,130,.88) 100%);
  color:#fff;
  isolation:isolate;
}
.oriental-hero.compact{min-height:360px;padding:90px 0 74px;}
.oriental-hero::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 85% 25%, rgba(213,178,77,.22), transparent 26%),
    radial-gradient(circle at 5% 70%, rgba(255,255,255,.08), transparent 24%);
  z-index:-2;
}
.oriental-hero-pattern{
  position:absolute;
  inset:0;
  opacity:.13;
  z-index:-1;
  background-image:
    linear-gradient(30deg, rgba(255,255,255,.08) 12%, transparent 12.5%, transparent 87%, rgba(255,255,255,.08) 87.5%, rgba(255,255,255,.08)),
    linear-gradient(150deg, rgba(255,255,255,.08) 12%, transparent 12.5%, transparent 87%, rgba(255,255,255,.08) 87.5%, rgba(255,255,255,.08)),
    linear-gradient(30deg, rgba(255,255,255,.08) 12%, transparent 12.5%, transparent 87%, rgba(255,255,255,.08) 87.5%, rgba(255,255,255,.08)),
    linear-gradient(150deg, rgba(255,255,255,.08) 12%, transparent 12.5%, transparent 87%, rgba(255,255,255,.08) 87.5%, rgba(255,255,255,.08));
  background-position:0 0,0 0,36px 63px,36px 63px;
  background-size:72px 126px;
}
.oriental-hero h1{
  font-size:clamp(3rem,7vw,6.8rem);
  line-height:.94;
  font-weight:900;
  letter-spacing:-.055em;
  max-width:930px;
  text-shadow:0 14px 35px rgba(0,0,0,.32);
}
.oriental-hero.compact h1{font-size:clamp(2.7rem,5.5vw,5.5rem);margin-top:16px;}
.oriental-lead{
  font-size:clamp(1.15rem,2vw,1.45rem);
  line-height:1.75;
  color:rgba(255,255,255,.88);
  max-width:780px;
  margin-top:22px;
  text-shadow:0 8px 22px rgba(0,0,0,.25);
}
.oriental-badge,
.oriental-mini-title{
  display:inline-flex;
  align-items:center;
  gap:8px;
  border:1px solid rgba(213,178,77,.55);
  background:rgba(213,178,77,.13);
  color:var(--oriental-gold-2);
  border-radius:999px;
  padding:9px 20px;
  font-size:.88rem;
  font-weight:800;
  letter-spacing:.04em;
  text-transform:uppercase;
}
.oriental-mini-title{
  color:var(--oriental-gold);
  background:rgba(213,178,77,.12);
  border-color:rgba(213,178,77,.35);
}
.oriental-actions,.story-actions{display:flex;gap:14px;flex-wrap:wrap;margin-top:30px;}
.oriental-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:54px;
  padding:14px 24px;
  border-radius:15px;
  font-weight:900;
  text-decoration:none!important;
  transition:.25s ease;
}
.oriental-btn.primary{background:#2f963d;color:#fff;box-shadow:0 16px 42px rgba(47,150,61,.24);}
.oriental-btn.secondary{background:rgba(255,255,255,.1);color:#fff;border:1px solid rgba(255,255,255,.36);}
.oriental-btn:hover{transform:translateY(-3px);filter:brightness(1.04);}
.oriental-quote-card{
  position:relative;
  padding:42px;
  border-radius:32px;
  background:linear-gradient(145deg, rgba(255,255,255,.16), rgba(255,255,255,.06));
  border:1px solid rgba(255,255,255,.22);
  box-shadow:0 30px 85px rgba(0,0,0,.28);
  backdrop-filter:blur(16px);
  overflow:hidden;
}
.oriental-quote-card::after{
  content:"";position:absolute;right:-60px;bottom:-70px;width:210px;height:210px;border-radius:50%;
  background:rgba(213,178,77,.12);
}
.oriental-quote-card i{font-size:4.6rem;color:var(--oriental-gold);margin-bottom:22px;}
.oriental-quote-card p{font-size:1.25rem;line-height:1.7;color:#fff;position:relative;z-index:1;}
.oriental-quote-card small{color:rgba(255,255,255,.65);font-weight:800;}

.oriental-stats-band{
  background:linear-gradient(135deg, #102f5f, #1d477e);
  padding:34px 0;
  color:#fff;
  border-top:1px solid rgba(213,178,77,.35);
  border-bottom:1px solid rgba(213,178,77,.25);
}
.oriental-stat-card{
  padding:24px 16px;
  border-radius:24px;
  background:rgba(255,255,255,.065);
  border:1px solid rgba(255,255,255,.1);
  height:100%;
}
.oriental-stat-card i{display:block;color:var(--oriental-gold);font-size:2.1rem;margin-bottom:12px;}
.oriental-stat-card strong{display:block;font-size:2.25rem;line-height:1;font-weight:950;color:#fff;}
.oriental-stat-card span{display:block;margin-top:10px;color:rgba(255,255,255,.78);font-weight:700;font-size:.92rem;}

.oriental-section{padding:86px 0;position:relative;}
.oriental-section.soft-bg{background:linear-gradient(180deg,#fffaf0,#f4ecdc);}
.oriental-content-card,.oriental-value-card,.oriental-service-card,.oriental-story-card{
  background:rgba(255,255,255,.88);
  border:1px solid rgba(213,178,77,.22);
  border-radius:30px;
  box-shadow:0 22px 60px rgba(8,27,56,.08);
}
.oriental-content-card{padding:42px;position:relative;overflow:hidden;}
.oriental-content-card::before,.oriental-value-card::before,.oriental-service-card::before{
  content:"";position:absolute;inset:0 0 auto 0;height:5px;background:linear-gradient(90deg,var(--oriental-gold),#2f963d,var(--oriental-navy));
}
.oriental-content-card.highlight-card{background:linear-gradient(145deg,#fff,#fff7e5);}
.oriental-icon{
  width:62px;height:62px;border-radius:18px;background:var(--oriental-navy);color:#fff;display:flex;align-items:center;justify-content:center;font-size:1.35rem;margin-bottom:22px;
  box-shadow:0 12px 32px rgba(11,45,92,.18);
}
.oriental-content-card h2,.section-heading h2,.oriental-story-card h2{font-weight:950;color:var(--oriental-navy);letter-spacing:-.03em;}
.oriental-content-card p,.oriental-story-card p{font-size:1.08rem;line-height:1.9;color:var(--oriental-muted);margin:0;}
.section-heading h2{font-size:clamp(2.2rem,4vw,3.8rem);margin-top:14px;}
.oriental-value-card,.oriental-service-card{position:relative;padding:34px 28px;height:100%;transition:.25s ease;overflow:hidden;}
.oriental-value-card:hover,.oriental-service-card:hover{transform:translateY(-7px);box-shadow:0 28px 70px rgba(8,27,56,.14);}
.oriental-value-card i,.oriental-service-card i{width:58px;height:58px;border-radius:18px;background:#f2f5f8;color:var(--oriental-navy);display:flex;align-items:center;justify-content:center;font-size:1.45rem;margin-bottom:20px;}
.oriental-value-card h3,.oriental-service-card h3{font-size:1.25rem;font-weight:950;color:var(--oriental-ink);margin-bottom:12px;}
.oriental-value-card p{line-height:1.75;color:var(--oriental-muted);margin:0;}
.oriental-service-card{text-align:center;min-height:190px;display:flex;flex-direction:column;align-items:center;justify-content:center;}
.oriental-service-card i{margin-bottom:16px;color:#2f963d;background:#eff7f0;}
.oriental-story-card{padding:44px;display:grid;grid-template-columns:1fr auto;gap:34px;align-items:center;background:linear-gradient(135deg,#fff 0%,#fff8e6 100%);position:relative;overflow:hidden;}
.oriental-story-card::after{content:"";position:absolute;right:-80px;top:-80px;width:240px;height:240px;border-radius:50%;background:rgba(213,178,77,.15);}
.oriental-story-card .story-actions{position:relative;z-index:1;margin-top:0;}
.oriental-story-card .oriental-btn.secondary{color:var(--oriental-navy);border-color:rgba(11,45,92,.18);background:#fff;}

/* Global orientation for classic content pages using .page-hero */
.page-hero, section.page-hero{
  background:linear-gradient(135deg,var(--oriental-navy) 0%, var(--oriental-navy-2) 100%)!important;
  border-bottom:1px solid rgba(213,178,77,.45)!important;
  position:relative!important;
}
.page-hero::before, section.page-hero::before{
  content:"";position:absolute;inset:0;opacity:.12;
  background-image:radial-gradient(circle at 1px 1px, rgba(255,255,255,.35) 1px, transparent 0);
  background-size:36px 36px;
}
.page-hero h1,.page-hero .display-3,.page-hero .display-4{color:#fff!important;text-shadow:0 10px 30px rgba(0,0,0,.35)!important;}
.page-hero .lead{color:rgba(255,255,255,.86)!important;}

@media(max-width:991px){
  .oriental-hero{min-height:auto;padding:82px 0 66px;}
  .oriental-hero h1{font-size:clamp(2.7rem,12vw,4.6rem);}
  .oriental-story-card{grid-template-columns:1fr;padding:30px;}
  .oriental-section{padding:62px 0;}
  .oriental-quote-card{padding:30px;}
}
@media(max-width:575px){
  .oriental-actions,.story-actions{flex-direction:column;}
  .oriental-btn{width:100%;}
  .oriental-content-card{padding:28px;}
  .oriental-stat-card strong{font-size:1.75rem;}
  .oriental-hero.compact{padding:70px 0 56px;}
}

/* ============================================================
   GREEN ORIENTAL PAGES THEME - 2026-05-20
   Applies to all content pages in /pages via shared classes.
   Replaces the blue hero style with a premium green/oriental style
   and forces readable white headings.
   ============================================================ */
:root{
  --clr-primary:#0f3f2d;
  --clr-primary-light:#1f7a4d;
  --clr-primary-deep:#08261c;
  --clr-secondary:#23864f;
  --clr-secondary-light:#2fb96f;
  --primary:var(--clr-primary);
  --secondary:var(--clr-secondary);
}

body .page-hero,
body section.page-hero{
  background:
    radial-gradient(circle at 12% 18%, rgba(216,179,75,.22), transparent 28%),
    radial-gradient(circle at 86% 16%, rgba(54,169,104,.20), transparent 30%),
    linear-gradient(135deg,#08261c 0%,#0f3f2d 48%,#18663f 100%) !important;
  color:#fff !important;
  padding:96px 0 72px !important;
  position:relative !important;
  overflow:hidden !important;
}

body .page-hero::before,
body section.page-hero::before{
  content:"" !important;
  position:absolute !important;
  inset:0 !important;
  opacity:.16 !important;
  background-image:
    linear-gradient(45deg, rgba(255,255,255,.08) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(255,255,255,.08) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(255,255,255,.08) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(255,255,255,.08) 75%) !important;
  background-size:72px 72px !important;
  background-position:0 0,0 36px,36px -36px,-36px 0 !important;
  pointer-events:none !important;
}

body .page-hero::after,
body section.page-hero::after{
  content:"" !important;
  position:absolute !important;
  right:-90px !important;
  bottom:-120px !important;
  width:430px !important;
  height:430px !important;
  border-radius:50% !important;
  background:rgba(216,179,75,.16) !important;
  filter:blur(4px) !important;
  pointer-events:none !important;
}

body .page-hero .container,
body section.page-hero .container{
  position:relative !important;
  z-index:3 !important;
}

body .page-hero h1,
body section.page-hero h1,
body .page-hero .display-1,
body .page-hero .display-2,
body .page-hero .display-3,
body .page-hero .display-4{
  color:#fff !important;
  text-shadow:0 8px 24px rgba(0,0,0,.36), 0 2px 4px rgba(0,0,0,.28) !important;
  opacity:1 !important;
}

body .page-hero .lead,
body section.page-hero .lead,
body .page-hero p,
body section.page-hero p{
  color:rgba(255,255,255,.92) !important;
  text-shadow:0 3px 12px rgba(0,0,0,.30) !important;
}

body .page-hero .badge,
body section.page-hero .badge,
body .page-hero span[style*="border-radius:30px"],
body section.page-hero span[style*="border-radius:30px"]{
  background:rgba(216,179,75,.16) !important;
  color:#f4d36c !important;
  border:1px solid rgba(244,211,108,.58) !important;
  box-shadow:0 12px 36px rgba(0,0,0,.18) !important;
}

body .page-hero + section,
body section.page-hero + section{
  background:linear-gradient(135deg,#0f3f2d 0%,#145538 100%) !important;
  color:#fff !important;
}

body .page-hero + section *,
body section.page-hero + section *{
  color:inherit;
}

body .page-hero + section i,
body section.page-hero + section i{
  color:#d8b34b !important;
}

body .page-hero + section .fw-bold,
body section.page-hero + section .fw-bold,
body .page-hero + section .fs-3,
body section.page-hero + section .fs-3{
  color:#fff !important;
  text-shadow:0 4px 14px rgba(0,0,0,.28) !important;
}

body .page-hero + section div[style*="opacity"],
body section.page-hero + section div[style*="opacity"]{
  color:rgba(255,255,255,.84) !important;
}

body .bg-primary-ma,
body section[style*="background:var(--primary)"],
body section[style*="background: var(--primary)"]{
  background:linear-gradient(135deg,#0f3f2d,#145538) !important;
  color:#fff !important;
}

body .btn-primary,
body .btn-primary-ma{
  background:linear-gradient(135deg,#1d8f53,#2fba6d) !important;
  border-color:#1d8f53 !important;
  color:#fff !important;
  box-shadow:0 16px 38px rgba(29,143,83,.28) !important;
}

body .btn-outline-primary{
  border-color:#1d8f53 !important;
  color:#0f3f2d !important;
}
body .btn-outline-primary:hover{
  background:#1d8f53 !important;
  color:#fff !important;
}

body .text-primary-ma,
body .text-primary{color:#0f3f2d !important;}
body .bg-light{background:#f6f2e8 !important;}
body section:nth-child(even){background:#f6f2e8;}

@media (max-width:767.98px){
  body .page-hero,
  body section.page-hero{padding:74px 0 54px !important;}
  body .page-hero h1,
  body section.page-hero h1{font-size:clamp(2.15rem,12vw,3.35rem) !important;}
}
