/*
Theme Name: Astra Hekstro
Template: astra
Version: 1.0
Description: Child-Theme für DRK Familienzentrum Heier Strolche Marienheide
*/

/* ─── Google Fonts ──────────────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&family=Dosis:wght@400;600;700;800&family=Grand+Hotel&display=swap');

/* ─── Variablen ────────────────────────────────────────────────────────────── */
:root {
  --drk-red:    #E3000F;
  --drk-red-d:  #b30000;
  --kita-red:   #f72020;
  --rat-blue:   #223bc4;
  --bild-green: #09bb25;
  --fam-yellow: #f4db55;
  --text-dark:  #333;
  --text-body:  #666;
  --footer-bg:  #313131;
  --white:      #fff;
}

/* ─── Allgemein ─────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.8em;
  margin: 0;
  padding: 0;
  background: #fff;
  hyphens: none;
  -webkit-hyphens: none;
  word-break: keep-all;
  overflow-wrap: break-word;
}

h1,h2,h3,h4,h5,h6 {
  font-family: 'Dosis', sans-serif;
  color: var(--text-dark);
  line-height: 1.2em;
  font-weight: 700;
  hyphens: none;
  -webkit-hyphens: none;
  word-break: keep-all;
}

a { color: var(--drk-red); text-decoration: none; transition: color .2s; }
a:hover { color: var(--drk-red-d); }

p { margin-bottom: 1em; }
img { max-width: 100%; height: auto; }

.hs-container {
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ─── HEADER ────────────────────────────────────────────────────────────────── */
#hs-header {
  background: #fff;
  border-bottom: 3px solid var(--drk-red);
  position: fixed;
  top: 0; left: 0; width: 100%;
  z-index: 9999;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
}

.hs-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  padding: 0 20px;
  max-width: 1170px;
  margin: 0 auto;
}

/* Logos */
.hs-logos {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.hs-logos a {
  display: flex;
  align-items: center;
}

.hs-logos img {
  height: 55px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
}

.hs-logo-divider {
  width: 1px;
  height: 40px;
  background: #ddd;
  flex-shrink: 0;
}

/* Navigation */
.hs-nav { flex: 1; display: flex; justify-content: flex-end; }

.hs-nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: stretch;
  height: 80px;
}

.hs-nav ul li {
  position: relative;
  display: flex;
  align-items: stretch;
}

.hs-nav ul li a {
  display: flex;
  align-items: center;
  padding: 0 13px;
  font-family: 'Dosis', sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-dark);
  white-space: nowrap;
  transition: background .2s, color .2s;
}

.hs-nav ul li a:hover,
.hs-nav ul li.current-menu-item > a,
.hs-nav ul li.current_page_item > a {
  background: var(--drk-red);
  color: #fff;
}

/* Dropdown */
.hs-nav ul li ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  min-width: 220px;
  box-shadow: 0 6px 18px rgba(0,0,0,.12);
  border-top: 3px solid var(--drk-red);
  z-index: 99999;
  height: auto;
  flex-direction: column;
}

/* Hover-Dropdown NUR für echte Zeigegeräte (Maus) – NICHT für Touch/iOS */
@media (hover: hover) and (pointer: fine) {
  .hs-nav ul li:hover > ul { display: flex; flex-direction: column; }
}

.hs-nav ul li ul li {
  width: 100%;
  display: block;
  height: auto;
}

.hs-nav ul li ul li a {
  padding: 10px 18px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-dark);
  display: block;
  white-space: normal;
  height: auto;
  border-bottom: 1px solid #f5f5f5;
}

.hs-nav ul li ul li a:hover {
  background: #f9f9f9;
  color: var(--drk-red);
  padding-left: 22px;
}

/* Mobile Menü Toggle */
.hs-mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}

.hs-mobile-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--text-dark);
  transition: .3s;
}

/* Page-Content-Abstand für fixen Header */
#hs-page { padding-top: 80px; }

/* ─── SECTION ALLGEMEIN ──────────────────────────────────────────────────────── */
.hs-section { padding: 80px 0; }
.hs-section-alt { background: #f8f8f8; }

.hs-section-title {
  text-align: center;
  margin-bottom: 55px;
}

.hs-section-title h2 {
  font-size: 38px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text-dark);
  margin: 0 0 8px;
  line-height: 1.1;
}

.hs-section-title .hs-subtitle {
  font-family: 'Grand Hotel', cursive;
  font-size: 22px;
  color: #888;
  display: block;
}

.hs-section-title .hs-red-line {
  display: inline-block;
  width: 60px;
  height: 3px;
  background: var(--drk-red);
  margin: 12px auto 0;
  border-radius: 2px;
}

/* ─── SECTION 1: HERZLICH WILLKOMMEN ────────────────────────────────────────── */
.hs-welcome { background: #fff; }

.hs-welcome-grid {
  display: grid;
  grid-template-columns: 1fr 220px 1fr;
  gap: 30px;
  align-items: start;
}

@media (max-width: 900px) {
  .hs-welcome-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hs-welcome-center { order: -1; grid-column: 1 / -1; }
}

.hs-welcome-center img {
  width: 100%;
  border-radius: 0 12px 0 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
  margin-top: -20px;
}

/* Feature Blocks */
.hs-feature-block {
  display: flex;
  gap: 16px;
  margin-bottom: 36px;
  align-items: flex-start;
}

.hs-feature-block.hs-block-right {
  flex-direction: row-reverse;
  text-align: right;
}

.hs-feature-icon {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  border: 2px dashed;
  padding: 4px;
}

.hs-feature-icon img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.hs-feature-icon.icon-kita       { border-color: var(--kita-red);   background: rgba(247,32,32,.06); }
.hs-feature-icon.icon-beratung   { border-color: var(--rat-blue);   background: rgba(34,59,196,.06); }
.hs-feature-icon.icon-bildung    { border-color: var(--bild-green); background: rgba(9,187,37,.06);  }
.hs-feature-icon.icon-familien   { border-color: var(--fam-yellow); background: rgba(244,219,85,.1); }

.hs-feature-text h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 6px;
  text-transform: uppercase;
  letter-spacing: .03em;
}

.hs-feature-text p {
  font-size: 13.5px;
  color: var(--text-body);
  line-height: 1.7;
  margin: 0;
}

/* ─── SECTION 2: AKTUELLES ───────────────────────────────────────────────────── */
.hs-news-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

@media (max-width: 700px) {
  .hs-news-grid { grid-template-columns: 1fr; }
}

.hs-news-card {
  background: #fff;
  border-radius: 0 8px 0 8px;
  box-shadow: 0 3px 12px rgba(0,0,0,.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .2s, box-shadow .2s;
}

.hs-news-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,.13);
}

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

.hs-news-card-body {
  padding: 20px 22px;
  flex: 1;
}

.hs-news-card-date {
  font-family: 'Grand Hotel', cursive;
  color: var(--drk-red);
  font-size: 15px;
  display: block;
  margin-bottom: 6px;
}

.hs-news-card-title {
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  margin: 0 0 8px;
  color: var(--text-dark);
}

.hs-news-card-title a { color: var(--text-dark); }
.hs-news-card-title a:hover { color: var(--drk-red); }

.hs-news-card-excerpt {
  font-size: 13px;
  color: #888;
  line-height: 1.6;
  margin: 0;
}

.hs-btn {
  display: inline-block;
  padding: 12px 36px;
  background: var(--drk-red);
  color: #fff;
  font-family: 'Dosis', sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  border-radius: 4px;
  transition: background .2s, transform .15s;
}

.hs-btn:hover {
  background: var(--drk-red-d);
  color: #fff;
  transform: translateY(-1px);
}

.hs-btn-wrap { text-align: center; margin-top: 36px; }

/* ─── SECTION 3: CTA BAND ────────────────────────────────────────────────────── */
.hs-cta {
  background: var(--drk-red);
  padding: 70px 0;
}

.hs-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.hs-cta h2 {
  font-size: 32px;
  font-weight: 800;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 8px;
}

.hs-cta p {
  color: rgba(255,255,255,.9);
  margin: 0;
  font-size: 15px;
}

.hs-btn-outline {
  display: inline-block;
  padding: 12px 36px;
  border: 2px solid #fff;
  color: #fff;
  font-family: 'Dosis', sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  border-radius: 4px;
  transition: background .2s, color .2s;
  white-space: nowrap;
  flex-shrink: 0;
}

.hs-btn-outline:hover {
  background: #fff;
  color: var(--drk-red);
}

/* ─── SECTION 4: KALENDER ────────────────────────────────────────────────────── */
.hs-calendar .tribe-events-calendar { width: 100%; }

/* ─── SECTION 5: GALERIEN ────────────────────────────────────────────────────── */
.hs-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 700px) {
  .hs-gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

.hs-gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 0 10px 0 10px;
  aspect-ratio: 4/3;
  cursor: pointer;
}

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

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

.hs-gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(227,0,15,.55), rgba(50,50,120,.45), rgba(0,120,180,.45));
  display: flex;
  align-items: flex-end;
  padding: 16px;
  opacity: 0;
  transition: opacity .3s;
}

.hs-gallery-item:hover .hs-gallery-overlay { opacity: 1; }

.hs-gallery-name {
  color: #fff;
  font-family: 'Dosis', sans-serif;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
}

/* ─── FOOTER ─────────────────────────────────────────────────────────────────── */
#hs-footer {
  background: var(--footer-bg);
  color: #909090;
  padding: 60px 0 0;
}

.hs-footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}

@media (max-width: 640px) {
  .hs-footer-grid { grid-template-columns: 1fr; }
}

.hs-footer-logos {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

/* Logos in weißen Kacheln – sichtbar auf dunklem Footer-Hintergrund */
.hs-footer-logos a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 6px;
  padding: 6px 10px;
  transition: opacity .2s;
}

.hs-footer-logos a:hover { opacity: .85; }

.hs-footer-logos img {
  height: 44px;
  width: auto;
  max-width: 120px;
  display: block;
  filter: none;
  opacity: 1;
}

.hs-footer-text { font-size: 13.5px; line-height: 1.8; }

.hs-footer-title {
  font-family: 'Dosis', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  margin: 0 0 18px;
}

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

.hs-footer-links li { margin-bottom: 8px; }

.hs-footer-links a {
  color: #909090;
  font-size: 14px;
  transition: color .2s, padding-left .2s;
  display: block;
}

.hs-footer-links a:hover {
  color: #fff;
  padding-left: 6px;
}

.hs-footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 18px 0;
  font-size: 12.5px;
  text-align: center;
  color: #666;
}

.hs-footer-bottom a { color: #777; }
.hs-footer-bottom a:hover { color: #fff; }

/* ─── STANDARD SEITEN ────────────────────────────────────────────────────────── */
.hs-page-wrap {
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 20px;
}

.hs-page-hero {
  background: linear-gradient(135deg, var(--drk-red), #8b0008);
  color: #fff;
  padding: 50px 0 40px;
  margin-bottom: 0;
}

.hs-page-hero h1 {
  color: #fff;
  font-size: 34px;
  font-weight: 800;
  text-transform: uppercase;
  margin: 0;
}

/* ── Seiten-Hero mit individuellem Hintergrundbild ────────────── */
.hs-page-hero--image {
  /* Hintergrund-Eigenschaften kommen per Inline-Style (höchste Priorität).
     Hier nur Layout, Höhe und Overlay. */
  width: 100%;
  min-height: 350px;          /* natürliche Bildhöhe 1920×350 px */
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;        /* Titel vertikal zentrieren */
  justify-content: center;    /* Titel horizontal zentrieren */
  position: relative;
  overflow: hidden;
}

/* Abdunklungs-Overlay für Lesbarkeit */
.hs-page-hero--image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
    rgba(0,0,0,0.05) 0%,
    rgba(0,0,0,0.50) 100%);
  pointer-events: none;
}

.hs-page-hero--image .hs-container {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 20px;
}

.hs-page-hero--image h1 {
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,0.65);
  margin: 0 0 6px;
  text-align: center;
}

/* ── Brotkrümel-Navigation ────────────────────────────────────── */
.hs-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 13px;
  line-height: 1.4;
  color: rgba(255,255,255,0.85);
  margin: 0;
}
.hs-breadcrumb a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  transition: color 0.2s;
}
.hs-breadcrumb a:hover {
  color: #fff;
  text-decoration: underline;
}
.hs-bc-sep {
  color: rgba(255,255,255,0.55);
  font-size: 14px;
  line-height: 1;
  margin: 0 1px;
}
.hs-bc-current {
  color: #fff;
  font-weight: 600;
}

/* Brotkrümel auf Seiten ohne Bild (rotes Banner) */
.hs-page-hero:not(.hs-page-hero--image) .hs-breadcrumb {
  justify-content: flex-start;
  margin-top: 8px;
}

@media (max-width: 768px) {
  .hs-breadcrumb {
    font-size: 12px;
  }
}

@media (max-width: 768px) {
  .hs-page-hero--image {
    min-height: 160px;
  }
}

.hs-page-content {
  padding: 50px 0 70px;
}

.hs-page-content h2 {
  font-size: 24px;
  font-weight: 700;
  border-left: 4px solid var(--drk-red);
  padding-left: 14px;
  margin-top: 36px;
  margin-bottom: 14px;
}

.hs-page-content h3 {
  font-size: 18px;
  font-weight: 700;
  margin-top: 28px;
}

.hs-page-content p, .hs-page-content li {
  line-height: 1.85;
  hyphens: none;
  -webkit-hyphens: none;
  word-break: keep-all;
}

.hs-page-content img {
  border-radius: 0 8px 0 8px;
  margin: 16px 0;
}

/* Gruppen-Spezial */
.hs-gruppe {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.hs-gruppe:nth-child(even) { flex-direction: row-reverse; }

.hs-gruppe img {
  width: 220px;
  height: 165px;
  object-fit: cover;
  border-radius: 0 8px 0 8px;
  flex-shrink: 0;
}

.hs-gruppe-text h3 {
  color: var(--drk-red);
  font-size: 20px;
  margin-bottom: 8px;
}

/* Kontakt */
.hs-contact-box {
  background: #f8f8f8;
  border-left: 4px solid var(--drk-red);
  padding: 24px 28px;
  border-radius: 0 8px 8px 0;
  margin-bottom: 28px;
}

.hs-contact-box h3 {
  color: var(--drk-red);
  margin: 0 0 10px;
  font-size: 18px;
}

/* Galerie-Seite */
.hs-gallery-page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 30px;
}

@media (max-width: 600px) {
  .hs-gallery-page-grid { grid-template-columns: repeat(2, 1fr); }
}

.hs-gallery-page-item {
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 0 8px 0 8px;
}

.hs-gallery-page-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .3s;
  cursor: pointer;
}

.hs-gallery-page-item:hover img { transform: scale(1.05); }

/* ─── RESPONSIVE ─────────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  /* Hauptnavigation: standardmäßig versteckt, bei hs-open als Panel */
  .hs-nav { display: none; }

  .hs-nav.hs-open {
    display: flex;
    position: fixed;
    top: 80px; left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    border-top: 3px solid var(--drk-red);
    box-shadow: 0 8px 20px rgba(0,0,0,.15);
    z-index: 9998;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .hs-nav.hs-open ul {
    flex-direction: column;
    height: auto;
    width: 100%;
  }

  .hs-nav.hs-open ul li {
    width: 100%;
    height: auto;
    position: relative;
    /* touch-action: Kein verzögerter Klick */
    touch-action: manipulation;
  }

  .hs-nav.hs-open ul li > a {
    padding: 14px 20px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* 300ms-Tap-Verzögerung auf iOS entfernen */
    touch-action: manipulation;
  }

  /* ── UNTERMENÜS: per :hover NIEMALS anzeigen (iOS-Sticky-Fix) ── */
  .hs-nav.hs-open ul li:hover > ul,
  .hs-nav ul li:hover > ul {
    display: none !important;
  }

  /* Untermenü standardmäßig versteckt – nur JS-Klasse hs-sub-open öffnet */
  .hs-nav.hs-open ul li > ul,
  .hs-nav.hs-open ul li ul {
    position: static !important;
    display: none !important;
    flex-direction: column;
    box-shadow: none;
    border-top: none;
    background: #f4f4f4;
    padding-left: 0;
    min-width: unset;
    width: 100%;
  }

  /* Untermenü eingeblendet durch JS (hs-sub-open) */
  .hs-nav.hs-open ul li.hs-sub-open > ul {
    display: flex !important;
  }

  /* Untermenü-Links */
  .hs-nav.hs-open ul li ul li a {
    padding: 11px 20px 11px 36px;
    font-size: 13px;
    border-bottom: 1px solid #e8e8e8;
    background: none;
    color: var(--text-dark);
    touch-action: manipulation;
  }
  .hs-nav.hs-open ul li ul li a:hover,
  .hs-nav.hs-open ul li ul li a:active {
    background: #ececec;
    color: var(--drk-red);
    padding-left: 40px;
  }

  /* Pfeil-Indikator beim Elternelement */
  .hs-nav.hs-open ul li.menu-item-has-children > a::after {
    content: '›';
    font-size: 18px;
    font-weight: 400;
    line-height: 1;
    color: #bbb;
    transition: transform .2s, color .2s;
    flex-shrink: 0;
    margin-left: 8px;
  }
  .hs-nav.hs-open ul li.menu-item-has-children.hs-sub-open > a::after {
    transform: rotate(90deg);
    color: var(--drk-red);
  }

  /* Hamburger sichtbar */
  .hs-mobile-toggle { display: flex; }

  /* Layout-Anpassungen */
  .hs-section-title h2 { font-size: 28px; }
  .hs-welcome-grid { grid-template-columns: 1fr; }
  .hs-welcome-center { order: -1; }
  .hs-welcome-center img { margin-top: 0; }
  .hs-cta-inner { flex-direction: column; text-align: center; }
  .hs-gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .hs-gallery-page-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 500px) {
  .hs-logos img { height: 40px; }
  .hs-section { padding: 55px 0; }
  .hs-footer-grid { grid-template-columns: 1fr; }
}

/* Hamburger aktiv – mittlere Linie ausblenden, X-Form */
.hs-mobile-toggle.hs-active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hs-mobile-toggle.hs-active span:nth-child(2) { opacity: 0; }
.hs-mobile-toggle.hs-active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ─── MONATLICHES KALENDERBLATT ─────────────────────────────────────────────── */
.hs-cal-wrap {
  max-width: 560px;
  margin: 0 auto;
  font-family: 'Roboto', sans-serif;
}

.hs-cal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4px 16px;
}

.hs-cal-title {
  font-family: 'Dosis', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: 0.5px;
}

.hs-cal-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #f4f4f4;
  color: var(--text-dark);
  font-size: 22px;
  line-height: 1;
  text-decoration: none;
  transition: background .18s, color .18s;
}
.hs-cal-nav:hover {
  background: var(--drk-red);
  color: #fff;
}

.hs-cal-grid {
  width: 100%;
  border-collapse: separate;
  border-spacing: 4px;
  table-layout: fixed;
}

.hs-cal-dh {
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  color: #888;
  letter-spacing: .5px;
  padding: 4px 0 8px;
  text-transform: uppercase;
}
.hs-cal-dh.hs-cal-weekend { color: var(--drk-red); }

.hs-cal-day, .hs-cal-empty {
  text-align: center;
  padding: 0;
  vertical-align: middle;
  border-radius: 8px;
  height: 48px;
  position: relative;
}

.hs-cal-day {
  background: #f8f8f8;
  cursor: default;
  transition: background .15s;
}
.hs-cal-day:hover { background: #f0f0f0; }

.hs-cal-day.hs-cal-weekend {
  background: #fff3f3;
}
.hs-cal-day.hs-cal-weekend:hover { background: #ffe8e8; }

.hs-cal-day.hs-cal-today {
  background: var(--drk-red) !important;
}
.hs-cal-day.hs-cal-today .hs-cal-num { color: #fff; font-weight: 700; }

.hs-cal-num {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dark);
  line-height: 48px;
}

.hs-cal-dot {
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--drk-red);
  position: absolute;
  bottom: 5px;
  left: 50%;
  transform: translateX(-50%);
}
.hs-cal-day.hs-cal-today .hs-cal-dot { background: #fff; }

.hs-cal-empty { background: transparent; }

@media (max-width: 480px) {
  .hs-cal-grid { border-spacing: 2px; }
  .hs-cal-day, .hs-cal-empty { height: 40px; }
  .hs-cal-num { font-size: 12px; line-height: 40px; }
  .hs-cal-title { font-size: 18px; }
  .hs-cal-nav { width: 32px; height: 32px; font-size: 18px; }
}

/* ─── MOBILMENÜ BACKDROP ─────────────────────────────────────────────────────── */
#hs-nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.35);
  z-index: 9997;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
#hs-nav-backdrop.hs-visible { display: block; }

/* ─── Astra Overrides ─────────────────────────────────────────────────────────── */
.ast-container, #ast-mobile-header, .main-header-bar,
.ast-above-header, #ast-desktop-header { display: none !important; }

body { padding-top: 0 !important; }

/* Elementor-Seiten normaler Abstand */
.elementor-page #hs-page { padding-top: 80px; }

/* ─── LOGO-FIXES ─────────────────────────────────────────────────────────────── */
/* DRK-Logo: 400x200 → bei h:55px wird es ~110px breit */
.hs-logos .logo-drk img {
  height: 50px;
  width: auto;
  max-width: 160px;
}

/* Kindergarten-Logo: 1414x1414 Quadrat → Kreis mit Hintergrund */
.hs-logos .logo-kita img {
  height: 52px;
  width: 52px;
  object-fit: cover;
  border-radius: 50%;
  background: #f0f0f0;
  padding: 3px;
  border: 2px solid #E3000F;
}

/* Footer-Logos – via weißer Kachel sichtbar, kein Filter nötig */
.hs-footer-logos .logo-drk img {
  height: 44px;
  width: auto;
}
.hs-footer-logos .logo-kita img {
  height: 44px;
  width: 44px;
  border-radius: 50%;
  object-fit: cover;
}

/* ─── WORDPRESS BLOCK GALERIE-STYLING ──────────────────────────────────────── */
.wp-block-gallery {
  gap: 12px !important;
}

.wp-block-gallery .wp-block-image img {
  border-radius: 0 8px 0 8px;
  transition: transform .3s, box-shadow .3s;
  cursor: pointer;
}

.wp-block-gallery .wp-block-image img:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 24px rgba(0,0,0,.15);
}

.wp-block-gallery figcaption {
  font-family: 'Dosis', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
}

/* ─── GUTENBERG BLOCK STYLES ─────────────────────────────────────────────────── */
.hs-page-content .wp-block-columns {
  gap: 28px !important;
  margin-bottom: 24px;
}

.hs-page-content .wp-block-table table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
  font-size: 14px;
}

.hs-page-content .wp-block-table td,
.hs-page-content .wp-block-table th {
  padding: 10px 14px;
  border: 1px solid #e5e5e5;
  line-height: 1.6;
}

.hs-page-content .wp-block-table th {
  background: var(--drk-red);
  color: #fff;
  font-family: 'Dosis', sans-serif;
  font-weight: 700;
}

.hs-page-content .wp-block-table tr:nth-child(even) td { background: #f9f9f9; }

/* Listen */
.hs-page-content ul, .hs-page-content ol {
  padding-left: 22px;
  margin-bottom: 16px;
}

.hs-page-content ul li { list-style: disc; margin-bottom: 5px; }
.hs-page-content ol li { list-style: decimal; margin-bottom: 5px; }

/* Blockquote */
.hs-page-content blockquote {
  border-left: 4px solid var(--drk-red);
  margin: 20px 0;
  padding: 12px 20px;
  background: #fafafa;
  font-style: italic;
  color: #666;
}

/* Kontakt-Seite: Emoji-Icons optisch aufwerten */
.hs-page-content h2 { display: flex; align-items: center; gap: 10px; }

/* The Events Calendar Styles */
.tribe-events-calendar { font-family: 'Roboto', sans-serif !important; }
.tribe-events-calendar td, .tribe-events-calendar th { font-size: 14px !important; }
.tribe-event-url { color: var(--drk-red) !important; }
.tribe-event-url:hover { color: var(--drk-red-d) !important; }
#tribe-events .tribe-events-button {
  background: var(--drk-red) !important;
  border-color: var(--drk-red) !important;
}
.tribe-events-list .tribe-event-schedule-details { color: var(--drk-red) !important; }

/* ════════════════════════════════════════════════════════════
   Cookie Consent Banner  –  Glassmorphism Modal
   ──────────────────────────────────────────────────────────
   Variables (inherit DRK brand from :root if defined)
════════════════════════════════════════════════════════════ */

/* Scroll lock while banner is shown */
html.hs-cc-lock { overflow: hidden !important; }

/* ── Backdrop overlay ───────────────────────────────────── */
#hs-cc-overlay {
  position: fixed; inset: 0; z-index: 999990;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  background: rgba(10, 10, 20, 0.55);
  backdrop-filter: blur(10px) saturate(140%);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  animation: hsCCFadeIn .3s ease both;
  box-sizing: border-box;
}

/* ── Glassmorphism card ─────────────────────────────────── */
#hs-cc-card {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(24px) saturate(200%);
  -webkit-backdrop-filter: blur(24px) saturate(200%);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 20px;
  padding: 36px 40px 28px;
  max-width: 580px; width: 100%;
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.22),
    0 0 0 1px rgba(255, 255, 255, 0.25) inset;
  animation: hsCCSlideUp .32s cubic-bezier(.22,.68,0,1.2) both;
  position: relative;
}

/* ── Top row: icon + title ──────────────────────────────── */
#hs-cc-top {
  display: flex; align-items: center; gap: 16px; margin-bottom: 18px;
}
#hs-cc-icon {
  flex-shrink: 0; display: flex; align-items: center; justify-content: center;
}
#hs-cc-title {
  font-size: 1.35rem; font-weight: 800; color: #111;
  margin: 0 0 3px; line-height: 1.2;
}
#hs-cc-sub {
  font-size: .82rem; color: #888; margin: 0; font-weight: 500;
  letter-spacing: .02em;
}

/* ── Body text ──────────────────────────────────────────── */
#hs-cc-body {
  font-size: .92rem; color: #444; line-height: 1.7;
  margin: 0 0 20px; padding-bottom: 20px;
  border-bottom: 1px solid rgba(0,0,0,.08);
}
#hs-cc-body strong { color: #222; }

/* ── Warning banner ─────────────────────────────────────── */
#hs-cc-warn {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: .875rem; color: #c0392b;
  background: linear-gradient(135deg, rgba(227,0,15,.06), rgba(227,0,15,.1));
  border: 1px solid rgba(227,0,15,.25);
  border-radius: 10px; padding: 12px 16px;
  margin-bottom: 18px; line-height: 1.5;
  animation: hsCCFadeIn .2s ease;
}
#hs-cc-warn svg { flex-shrink: 0; margin-top: 1px; }

/* ── Button group ───────────────────────────────────────── */
#hs-cc-btns {
  display: flex; flex-direction: column; gap: 10px; margin-bottom: 18px;
}
.hs-cc-btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 7px; flex: none; width: 100%;
  padding: 12px 18px; border-radius: 10px; border: none;
  font-size: .9rem; font-weight: 700; cursor: pointer; line-height: 1.2;
  transition: transform .15s, box-shadow .15s, background .15s, color .15s;
  white-space: nowrap; box-sizing: border-box; text-align: center;
  font-family: inherit;
}
.hs-cc-btn:hover { transform: translateY(-1px); }
.hs-cc-btn:active { transform: translateY(0); }

/* Primary – Nur notwendige (default / recommended) */
.hs-cc-btn--primary {
  background: linear-gradient(135deg, #E3000F, #c0000c);
  color: #fff;
  box-shadow: 0 4px 16px rgba(227,0,15,.35);
}
.hs-cc-btn--primary:hover {
  background: linear-gradient(135deg, #cc0000, #a80009);
  box-shadow: 0 6px 20px rgba(227,0,15,.45);
}

/* Secondary – Alle akzeptieren */
.hs-cc-btn--secondary {
  background: rgba(0,0,0,.06); color: #222;
  border: 1.5px solid rgba(0,0,0,.12);
}
.hs-cc-btn--secondary:hover {
  background: rgba(0,0,0,.1); border-color: rgba(0,0,0,.2);
}

/* Ghost – Ablehnen */
.hs-cc-btn--ghost {
  background: transparent; color: #888;
  border: 1.5px solid rgba(0,0,0,.1);
}
.hs-cc-btn--ghost:hover {
  color: #555; border-color: rgba(0,0,0,.22);
  background: rgba(0,0,0,.04);
}

/* Pulse animation on recommended button after "Ablehnen" */
.hs-cc-pulse {
  animation: hsCCPulse .55s cubic-bezier(.36,.07,.19,.97) both;
}
@keyframes hsCCPulse {
  0%,100% { transform: scale(1); }
  25%     { transform: scale(1.04); box-shadow: 0 6px 24px rgba(227,0,15,.55); }
  75%     { transform: scale(.98); }
}

/* ── Footer / privacy link ──────────────────────────────── */
#hs-cc-footer { text-align: center; margin: 0; }
.hs-cc-text-btn {
  background: none; border: none; cursor: pointer; padding: 0;
  font-size: .82rem; color: #999; text-decoration: underline;
  text-underline-offset: 3px; font-family: inherit;
  transition: color .15s;
}
.hs-cc-text-btn:hover { color: #E3000F; }

/* ── Icon button (X close) ──────────────────────────────── */
.hs-cc-icon-btn {
  background: rgba(0,0,0,.06); border: none; border-radius: 8px;
  width: 34px; height: 34px; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  color: #555; transition: background .15s, color .15s;
  flex-shrink: 0;
}
.hs-cc-icon-btn:hover { background: rgba(0,0,0,.12); color: #111; }

/* ────────────────────────────────────────────────────────────
   Privacy Policy inner popup
──────────────────────────────────────────────────────────── */
#hs-privacy-modal {
  position: fixed; inset: 0; z-index: 999995;
  display: none; align-items: center; justify-content: center;
  padding: 20px;
  background: rgba(10, 10, 20, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-sizing: border-box;
}
#hs-privacy-modal.hs-pm-open { animation: hsCCFadeIn .22s ease; }

#hs-privacy-card {
  background: #fff;
  border-radius: 16px;
  max-width: 680px; width: 100%;
  max-height: 85vh;
  display: flex; flex-direction: column;
  box-shadow: 0 24px 60px rgba(0,0,0,.28);
  overflow: hidden;
  animation: hsCCSlideUp .25s cubic-bezier(.22,.68,0,1.2) both;
}

#hs-privacy-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px 16px;
  border-bottom: 1px solid #f0f0f0;
  flex-shrink: 0;
}
#hs-privacy-title {
  font-size: 1.1rem; font-weight: 700; color: #111; margin: 0;
}

#hs-privacy-body {
  flex: 1; overflow-y: auto; padding: 24px 28px;
  font-size: .9rem; color: #333; line-height: 1.75;
  -webkit-overflow-scrolling: touch;
}
#hs-privacy-body h1 { font-size: 1.2rem; margin-top: 0; }
#hs-privacy-body h2 { font-size: 1rem; margin-top: 24px; color: #111; }
#hs-privacy-body p  { margin: 0 0 14px; }
#hs-privacy-body ul { padding-left: 20px; margin-bottom: 14px; }
#hs-privacy-body a  { color: #E3000F; }

#hs-privacy-footer {
  padding: 16px 24px 20px; border-top: 1px solid #f0f0f0;
  display: flex; justify-content: center; flex-shrink: 0;
}
#hs-privacy-footer .hs-cc-btn { max-width: 260px; flex: 0 0 auto; }

/* ── Shared animations ──────────────────────────────────── */
@keyframes hsCCFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes hsCCSlideUp {
  from { opacity: 0; transform: translateY(28px) scale(.97); }
  to   { opacity: 1; transform: translateY(0)    scale(1);   }
}
.hs-cc-fade-out {
  animation: hsCCFadeOut .25s ease both !important;
}
@keyframes hsCCFadeOut {
  to { opacity: 0; transform: translateY(10px) scale(.98); }
}

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 520px) {
  #hs-cc-card { padding: 28px 22px 22px; }
  #hs-cc-btns { flex-direction: column; }
  .hs-cc-btn  { width: 100%; flex: none; }
  #hs-privacy-body { padding: 18px 18px; }
  #hs-privacy-header, #hs-privacy-footer { padding: 16px 18px; }
}

/* ── Header: Abstand Logos → Navigation ── */
.hs-nav {
  padding-left: 40px !important;
}

/* ── Header: Abstand Logos → Navigation ── */
.hs-nav {
  padding-left: 30px !important;
}
