/*
Theme Name: Spree-Kinder
Theme URI: https://www.spree-kinder.de
Description: Custom WordPress Theme für Spree-Kinder gGmbH
Author: Alexander Brull
Version: 1.0.0
License: GNU General Public License v2
Text Domain: spree-kinder
*/

/* ============================================================
   RESET & VARIABLES
============================================================ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --orange:    #e95d29;
  --orange-lt: #FEF3C7;
  --dark:      #1c3a4b;
  --light:     #F9F6F0;
  --text2:     #475569;
  --text3:     #64748b;
  --border:    #e2e8f0;
  --white:     #fff;

  --sun:    #D97706;
  --sun-bg: #FEF3C7;
  --zwerg:    #059669;
  --zwerg-bg: #D1FAE5;
  --violet:    #7C3AED;
  --violet-bg: #EDE9FE;
  --blue:    #0284C7;
  --blue-bg: #E0F2FE;
  --pink:    #BE185D;
  --pink-bg: #FCE7F3;
  --red:    #DC2626;
  --red-bg: #FEE2E2;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Montserrat', 'Nunito', sans-serif;
  color: var(--dark);
  background: #fff;
  overflow-x: hidden;
}
h1,h2,h3,h4,h5,h6 { font-family: 'Montserrat', sans-serif; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }

/* ============================================================
   TOP BAR
============================================================ */
.topbar {
  background: linear-gradient(90deg, #1c3a4b 0%, #1e4a5a 50%, #1c3a4b 100%);
  color: #fff;
  font-size: .82rem;
  padding: 7px 20px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px 20px;
  border-bottom: 2px solid rgba(255,255,255,.08);
}
.topbar a { color: rgba(255,255,255,.85); transition: color .2s; }
.topbar a:hover { color: #fde68a; }

/* ============================================================
   NAV
============================================================ */
nav {
  background: linear-gradient(180deg, #fffdf9 0%, #fff 100%);
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 2px 12px rgba(0,0,0,.07);
}

.nav-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 108px;
}
.nav-logo img { height: 96px; object-fit: contain; display: block; }
.nav-logo-text {
  font-family: 'Nunito', sans-serif;
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: 0.01em;
  line-height: 1;
}
.nav-logo-text .logo-k { color: #059669; }

.nav-icon-links { display: flex; align-items: center; gap: 0; list-style: none; }
.nav-icon-item {
  display: flex; flex-direction: column; align-items: center;
  gap: 5px; cursor: pointer; padding: 8px 14px;
  border-radius: 12px; transition: background .2s;
  list-style: none;
}
.nav-icon-item:hover { background: rgba(0,0,0,.03); }
.nav-icon-item.current-menu-item .ni-icon,
.nav-icon-item.active .ni-icon { box-shadow: 0 0 0 2.5px var(--dark); }
.ni-icon {
  width: 50px; height: 50px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; transition: transform .2s;
}
.nav-icon-item:hover .ni-icon { transform: scale(1.08); }
.ni-label { font-size: .75rem; font-weight: 800; white-space: nowrap; }
.nav-icon-sep { width: 1px; height: 50px; background: var(--border); align-self: center; }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 8px; background: none; border: none;
}
.hamburger span { width: 24px; height: 2px; background: var(--dark); border-radius: 2px; display: block; }

.mobile-menu {
  display: none; position: fixed; top: 88px; left: 0; right: 0;
  background: #fff; box-shadow: 0 4px 24px rgba(0,0,0,.12);
  z-index: 199; padding: 16px;
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px; font-weight: 700; font-size: .98rem;
  border-radius: 10px; margin-bottom: 4px; color: var(--dark);
}
.mobile-menu a:hover { background: var(--orange); color: #fff; }

/* ============================================================
   WAVE DIVIDERS
============================================================ */
.wave-top, .wave-bottom { width: 100%; overflow: hidden; line-height: 0; }
.wave-top svg, .wave-bottom svg { display: block; width: 100%; }

/* ============================================================
   BUTTONS
============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 28px; border-radius: 30px; font-weight: 800;
  font-size: .95rem; cursor: pointer; border: none;
  transition: all .2s; font-family: inherit;
}
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: #c94d1e; transform: translateY(-2px); color: #fff; }
.btn-outline { background: transparent; border: 2px solid var(--orange); color: var(--orange); }
.btn-outline:hover { background: var(--orange); color: #fff; }
.btn-green { background: var(--zwerg); color: #fff; }
.btn-green:hover { background: #047857; transform: translateY(-2px); }
.btn-sm { padding: 10px 22px; font-size: .88rem; }

/* ============================================================
   LAYOUT HELPERS
============================================================ */
.section { padding: 60px 20px; max-width: 1200px; margin: 0 auto; }
.section-alt { background: var(--light); }
.section-wrap { padding: 60px 20px; }
.section-title { text-align: center; margin-bottom: 40px; }
.section-title h2 { font-size: clamp(1.6rem,3vw,2.2rem); font-weight: 900; }
.section-title p { color: var(--text3); font-size: 1rem; margin-top: 10px; max-width: 580px; margin-left: auto; margin-right: auto; line-height: 1.7; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.text-content h3 { font-size: 1.6rem; font-weight: 800; margin-bottom: 16px; }
.text-content p { color: var(--text2); line-height: 1.85; margin-bottom: 12px; font-size: .97rem; }
.big-word { font-size: clamp(4rem,10vw,8rem); font-weight: 900; color: var(--dark); line-height: .85; display: block; }
.dot-list { list-style: none; margin-top: 14px; }
.dot-list li { padding: 5px 0 5px 24px; position: relative; color: var(--text2); font-size: .95rem; }
.dot-list li::before { content: '●'; position: absolute; left: 0; color: var(--orange); font-size: .45rem; top: 9px; }

/* ============================================================
   HERO SKOLE STYLE
============================================================ */
/* ============================================================
   HERO MODERN (mit Bienen-Animation)
============================================================ */
.hero-modern {
  position: relative;
  background: linear-gradient(135deg, #fffbeb 0%, #f0fdf4 50%, #ecfdf5 100%);
  overflow: hidden;
  min-height: 600px;
  padding: 80px 0 70px;
}

/* Dekorations-Punkte */
.hdot {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  opacity: .55;
}
.hdot-1 { width:180px; height:180px; background:#FEF3C7; top:-60px; right:8%; }
.hdot-2 { width:100px; height:100px; background:#D1FAE5; bottom:40px; left:5%; }
.hdot-3 { width:60px;  height:60px;  background:#FDE68A; top:40%;  right:3%; }
.hdot-4 { width:80px;  height:80px;  background:#CFFAFE; top:20%;  left:2%; }

/* Biene */
.hero-bee {
  position: absolute;
  top: 0;
  left: 0;
  width: 72px;
  z-index: 10;
  pointer-events: none;
  animation: bee-fly 28s ease-in-out infinite;
}
.bee-wings { animation: bee-wing-flap 0.12s ease-in-out infinite; transform-origin: center 100%; }

/* Geschlossene Flugbahn – Biene bleibt immer sichtbar im Hero */
@keyframes bee-fly {
  0%   { transform: translate(8vw,  60px) rotate(-5deg);  }
  10%  { transform: translate(28vw, 25px) rotate(8deg);   }
  20%  { transform: translate(52vw, 90px) rotate(-10deg); }
  30%  { transform: translate(78vw, 30px) rotate(6deg);   }
  38%  { transform: translate(88vw,160px) rotate(-8deg);  }
  47%  { transform: translate(70vw,320px) rotate(12deg);  }
  55%  { transform: translate(50vw,420px) rotate(-6deg);  }
  63%  { transform: translate(28vw,350px) rotate(9deg);   }
  72%  { transform: translate(10vw,260px) rotate(-12deg); }
  80%  { transform: translate(5vw, 140px) rotate(7deg);   }
  90%  { transform: translate(14vw, 50px) rotate(-5deg);  }
  100% { transform: translate(8vw,  60px) rotate(-5deg);  }
}
@keyframes bee-wing-flap {
  0%, 100% { transform: scaleY(1);    }
  50%       { transform: scaleY(0.15); }
}

/* Inner layout */
.hero-modern-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

/* Left: Text */
.hero-badge-row { margin-bottom: 20px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #FEF3C7;
  color: #92400e;
  border-radius: 40px;
  padding: 6px 18px;
  font-size: .85rem;
  font-weight: 700;
  border: 1.5px solid #FDE68A;
}
.hero-h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--dark);
  margin-bottom: 22px;
}
.hero-h1-accent { color: var(--orange); }
.hero-desc {
  font-size: 1.05rem;
  color: var(--text2);
  line-height: 1.8;
  max-width: 480px;
  margin-bottom: 32px;
}
.hero-cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.hero-kita-pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.kita-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  border-radius: 30px;
  font-size: .82rem;
  font-weight: 700;
  transition: transform .2s;
  text-decoration: none;
}
.kita-pill:hover { transform: translateY(-2px); }
.kita-pill-sun  { background: #FEF3C7; color: #92400e; border: 1.5px solid #FDE68A; }
.kita-pill-zwerg{ background: #D1FAE5; color: #065f46; border: 1.5px solid #6EE7B7; }

/* Right: Image */
.hero-modern-right { position: relative; }
.hero-img-wrap {
  max-width: 420px;
}
.hero-img-wrap img { width: 100%; height: auto; display: block; }
.hero-img-badge {
  position: absolute;
  bottom: 30px;
  left: -20px;
  background: white;
  border-radius: 16px;
  padding: 14px 20px;
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
  font-size: .85rem;
  line-height: 1.4;
  color: var(--dark);
}
.hero-img-badge strong { font-size: 1.6rem; font-weight: 900; color: var(--orange); display: block; }

/* Responsive */
@media (max-width: 900px) {
  .hero-modern-inner { grid-template-columns: 1fr; gap: 40px; padding: 0 24px; }
  .hero-modern-right { display: none; }
  .hero-h1 { font-size: clamp(2rem, 8vw, 3rem); }
}
@media (max-width: 480px) {
  .hero-modern { padding: 60px 0 50px; }
  .hero-cta-row { flex-direction: column; }
}

/* ============================================================
   KITA CARDS (Träger page)
============================================================ */
.kita-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; max-width: 880px; margin: 0 auto; }
.kita-card {
  border-radius: 24px; overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,.1);
  transition: transform .3s; cursor: pointer;
}
.kita-card:hover { transform: translateY(-6px); }
.kita-card-img { height: 200px; display: flex; align-items: center; justify-content: center; font-size: 5rem; }
.kita-card-body { padding: 24px; background: #fff; }
.kita-card-body h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: 8px; }
.kita-card-body p { color: var(--text3); font-size: .9rem; margin-bottom: 18px; line-height: 1.6; }

/* Kita cards – new mwcard style */
.kita-mw-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  max-width: 980px;
  margin: 0 auto;
  text-align: left;
}
.kita-mwcard {
  border-radius: 24px;
  padding: 28px 30px 34px;
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 300px;
  border: 1.5px solid rgba(0,0,0,.07);
  box-shadow: 0 2px 14px rgba(0,0,0,.05);
  text-decoration: none;
  color: inherit;
  transition: transform .22s ease, box-shadow .22s ease;
}
.kita-mwcard:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 32px rgba(0,0,0,.1);
}
.kita-mwcard-bottom {
  margin-top: auto;
  padding-top: 100px;
}
.kita-mwcard-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}
.kita-mwcard-logo img {
  height: 46px;
  width: auto;
  flex-shrink: 0;
}
.kita-mwcard-logo h3 {
  font-size: 1.2rem;
  font-weight: 800;
  margin: 0;
  line-height: 1.3;
}

/* ============================================================
   VALUES GRID
============================================================ */
/* ============================================================
   MISSION & WERTE CARDS
============================================================ */
.mw-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 64px;
  align-items: stretch;
}
.section-alt .section { padding-bottom: 20px; }

/* Pill cards – Screenshot-Stil */
.mw-pill-card {
  border-radius: 50% 50% 50% 50% / 28% 28% 28% 28%;
  padding: 28px 28px 38px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border: 1.5px solid rgba(0,0,0,.06);
  box-shadow: 0 2px 16px rgba(0,0,0,.06);
  min-height: 400px;
}
.mw-pill-circle {
  width: 78%;
  aspect-ratio: 1;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4.2rem;
  flex-shrink: 0;
}
.mw-pill-star {
  width: 84px; height: 84px;
  background: #FEFCE8;
  clip-path: polygon(50% 0%,61% 27%,93% 16%,71% 42%,100% 50%,71% 58%,93% 84%,61% 73%,50% 100%,39% 73%,7% 84%,29% 58%,0% 50%,29% 42%,7% 16%,39% 27%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.9rem;
  margin-top: -28px;
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}
.mw-pill-title {
  font-size: 1.12rem;
  font-weight: 800;
  margin: 18px 0 12px;
  line-height: 1.3;
}
.mw-pill-desc {
  font-size: .88rem;
  color: var(--text2);
  line-height: 1.75;
  margin: 0;
}

/* Legacy helpers still used by kita-mwcard */
.mwcard-badge {
  display: inline-block;
  font-size: .68rem; font-weight: 800;
  letter-spacing: .12em;
  padding: 4px 12px; border-radius: 20px;
  align-self: flex-start;
}
.mwcard-av {
  position: absolute; top: 26px; right: 26px;
  width: 74px; height: 74px; border-radius: 50%;
  border: 3px solid rgba(255,255,255,.85);
  box-shadow: 0 4px 16px rgba(0,0,0,.1);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  font-size: 2rem;
}
.mwcard-bubble {
  position: absolute; top: 46px; right: 110px;
  background: #fff; border-radius: 14px;
  padding: 9px 16px; font-weight: 700; font-size: .88rem;
  color: var(--dark); box-shadow: 0 4px 16px rgba(0,0,0,.09);
  white-space: nowrap;
}
.mwcard-icon-row { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.mwcard-icon {
  width: 50px; height: 50px; border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0,0,0,.15);
}
.mwcard-title { font-size: 1.05rem; font-weight: 800; color: var(--dark); margin: 0; line-height: 1.3; }
.mwcard-desc { font-size: .87rem; color: var(--text2); line-height: 1.7; margin: 0; }

/* ============================================================
   WIR SECTION
============================================================ */
.wir-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 180px;
  gap: 32px;
  align-items: center;
}
.wir-steps { list-style: none; padding: 0; }
.wir-step { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.wir-step-num {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: .85rem; flex-shrink: 0;
}
.wir-step-num.active { background: var(--dark); color: #fff; }
.wir-step-num.inactive { border: 2px solid var(--border); color: var(--dark); }
.wir-step-label { font-weight: 700; font-size: 1rem; }
.wir-step-label.active { color: var(--orange); }
.wir-step { cursor: pointer; }
.wir-step:hover .wir-step-label { color: var(--orange); }

.wir-kinder-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  height: 100%;
  overflow: visible;
  position: relative;
}
.wir-kinder-scene {
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: visible;
}
.wir-kinder-img {
  width: 220px;
  height: auto;
  display: block;
  position: relative;
  z-index: 2;
  margin-bottom: 6px;
  transform: translateX(200px);
  transition: transform 1.6s cubic-bezier(.25,.46,.45,.94);
}
.wir-kinder-img.wir-kinder-visible {
  transform: translateX(0);
}
.wir-pflanze-img {
  width: 110px;
  height: auto;
  display: block;
  position: absolute;
  bottom: -60px;
  right: -130px;
  z-index: 4;
}
.wir-kinder-btn {
  position: relative;
  z-index: 1;
  margin-top: 4px;
}

.wir-slider-wrap {
  position: relative;
  padding: 0 36px;
}
.wir-slider-blob {
  border-radius: 30% 70% 60% 40% / 50% 40% 60% 50%;
  overflow: hidden;
  height: 420px;
  position: relative;
  background: #f3f4f6;
}
.wir-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
}
.wir-slide.active { opacity: 1; }
.wir-slide img { width: 100%; height: 100%; object-fit: cover; }
.wir-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,.92);
  border: none;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  font-size: 1.6rem;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  color: var(--dark);
  transition: background .2s;
}
.wir-arrow:hover { background: #fff; }
.wir-arrow-prev { left: 10px; }
.wir-arrow-next { right: 10px; }

/* ============================================================
   KITA HERO (sub-pages)
============================================================ */
.kita-hero {
  position: relative;
  overflow: hidden;
  padding: 80px 20px 60px;
  text-align: center;
}
.kita-hero-tropfen { background: linear-gradient(135deg, #FEF9EE, #FEF3C7); }
.kita-hero-zwerg { background: linear-gradient(135deg, #F0FDF4, #D1FAE5); }

.kita-hero .badge {
  display: inline-block; padding: 6px 18px; border-radius: 20px;
  font-size: .82rem; font-weight: 800; margin-bottom: 20px; color: #fff;
}
.kita-hero h1 { font-size: clamp(2rem,5vw,3.2rem); font-weight: 900; margin-bottom: 14px; }
.kita-hero .hero-desc { font-size: 1.1rem; color: var(--text2); max-width: 640px; margin: 0 auto 28px; line-height: 1.75; }
.kita-hero-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   INFO CARDS
============================================================ */
.info-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 68px; align-items: stretch; max-width: 1180px; margin: 0 auto; }
.info-card {
  border-radius: 50% 50% 50% 50% / 26% 26% 26% 26%;
  padding: 20px 16px 28px;
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
  transition: transform .25s;
  border: 1.5px solid rgba(0,0,0,.06);
  box-shadow: 0 2px 12px rgba(0,0,0,.05);
}
.info-card:hover { transform: translateY(-4px); }
.info-card .ic-icon {
  width: 68%; aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  background: rgba(255,255,255,.55);
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
  margin-bottom: 14px;
  flex-shrink: 0;
}
.info-card h4 { font-size: .95rem; font-weight: 800; margin-bottom: 5px; color: var(--dark); }
.info-card p { font-size: .82rem; color: var(--text2); line-height: 1.55; margin: 0; }

/* ============================================================
   TABS
============================================================ */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 32px; }
.tab {
  padding: 10px 20px; border-radius: 20px; font-weight: 700;
  font-size: .88rem; cursor: pointer; border: 2px solid var(--border);
  background: #fff; transition: all .2s; font-family: inherit;
}
.tab.active, .tab:hover { border-color: var(--orange); background: var(--orange); color: #fff; }
.tab-content { display: none; }
.tab-content.active { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
.tab-content-rev { display: none; }
.tab-content-rev.active { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }

/* ============================================================
   PROG CARDS (Tägliches Programm)
============================================================ */
.prog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.prog-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.07);
  box-shadow: 0 2px 12px rgba(0,0,0,.07);
  transition: transform .22s, box-shadow .22s;
}
.prog-card:hover { transform: translateY(-5px); box-shadow: 0 10px 28px rgba(0,0,0,.13); }
.prog-card-banner { height: 140px; width: 100%; overflow: hidden; }
.prog-card-banner img { width: 100%; height: 100%; object-fit: cover; display: block; }
.prog-card-body { padding: 0 20px 22px; position: relative; }
.prog-card-icon {
  width: 54px; height: 54px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid #fff;
  box-shadow: 0 3px 10px rgba(0,0,0,.13);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  margin-top: -27px;
  margin-bottom: 12px;
  position: relative; z-index: 2;
}
.prog-card h4 { font-size: 1rem; font-weight: 800; color: var(--dark); margin-bottom: 6px; }
.prog-card p { font-size: .84rem; color: var(--text3); line-height: 1.55; margin-bottom: 14px; }
.prog-card-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.prog-tag {
  font-size: .7rem; font-weight: 700;
  padding: 4px 10px; border-radius: 20px;
  letter-spacing: .02em;
}

/* ============================================================
   CONTACT
============================================================ */
.contact-hero { padding: 60px 20px; text-align: center; color: #fff; }
.contact-hero h1 { font-size: clamp(1.8rem,4vw,2.6rem); font-weight: 900; margin-bottom: 10px; }
.contact-hero p { opacity: .85; font-size: 1rem; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; max-width: 1000px; margin: 0 auto; padding: 60px 20px; }
.contact-kita-card { background: var(--light); border-radius: 24px; padding: 36px; text-align: center; }
.contact-kita-card .ck-icon {
  width: 72px; height: 72px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px; font-size: 2rem;
}
.contact-kita-card h3 { font-size: 1.4rem; font-weight: 800; margin-bottom: 20px; }
.contact-detail { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; text-align: left; }
.contact-detail .cd-icon {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem; flex-shrink: 0;
}
.contact-detail p { font-size: .9rem; color: var(--text2); line-height: 1.5; }
.contact-detail strong { display: block; color: var(--dark); font-weight: 700; }

.contact-form-wrap { max-width: 780px; margin: 0 auto; padding: 60px 20px; }
.contact-form-card { background: var(--light); border-radius: 24px; padding: 40px; }
.contact-form-card h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { margin-bottom: 18px; }
.form-field label { font-size: .85rem; font-weight: 700; color: var(--text2); display: block; margin-bottom: 6px; }
.form-field input,
.form-field textarea,
.form-field select {
  width: 100%; padding: 12px 14px; border-radius: 12px;
  border: 2px solid var(--border); font-family: inherit;
  font-size: .95rem; outline: none; transition: border-color .2s;
  background: #fff;
}
.form-field input:focus,
.form-field textarea:focus { border-color: var(--orange); }
.form-field textarea { resize: vertical; min-height: 120px; }

/* ============================================================
   EVENTS
============================================================ */
.events-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.event-card {
  border-radius: 20px; overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,.08); background: #fff; transition: transform .3s;
}
.event-card:hover { transform: translateY(-4px); }
.event-img { height: 150px; display: flex; align-items: center; justify-content: center; font-size: 4rem; }
.event-body { padding: 20px; }
.event-tag { display: inline-block; padding: 3px 12px; border-radius: 10px; font-size: .72rem; font-weight: 800; margin-bottom: 10px; color: #fff; }
.event-body h4 { font-size: 1rem; font-weight: 800; margin-bottom: 6px; }
.event-body p { font-size: .85rem; color: var(--text3); line-height: 1.5; }
.event-meta { margin-top: 12px; font-size: .8rem; color: #94a3b8; font-weight: 600; }

.filter-bar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.filter-btn {
  padding: 8px 18px; border-radius: 16px; font-weight: 700;
  font-size: .82rem; cursor: pointer; border: 2px solid var(--border);
  background: #fff; transition: all .2s; font-family: inherit;
}
.filter-btn.active, .filter-btn:hover { border-color: var(--orange); background: var(--orange); color: #fff; }

/* ============================================================
   GALLERY
============================================================ */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery-item {
  border-radius: 16px; overflow: hidden; aspect-ratio: 4/3;
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem; cursor: pointer; transition: transform .3s; position: relative;
}
.gallery-item:hover { transform: scale(1.02); }
.gallery-label {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,.6));
  padding: 20px 12px 12px; color: #fff; font-size: .8rem; font-weight: 700;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; }

/* ============================================================
   FOOTER
============================================================ */
.footer-wave { width: 100%; overflow: hidden; line-height: 0; }
.footer-wave svg { display: block; width: 100%; }

footer { background: var(--light); padding: 48px 20px 0; position: relative; overflow: visible; }
.footer-schlaf {
  position: absolute;
  bottom: 100%;
  right: 220px;
  width: 170px;
  height: auto;
  z-index: 10;
  pointer-events: none;
  margin-bottom: -30px;
}
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px; padding-bottom: 40px;
}
.footer-logos {
  display: flex; align-items: center; gap: 16px; margin-bottom: 4px;
}
.footer-logo-text { font-size: 1.5rem !important; }
.footer-kita-logo { height: 56px; width: auto; object-fit: contain; }
.footer-brand p { font-size: .85rem; color: var(--text3); line-height: 1.75; margin-top: 12px; }
.footer-brand .footer-address { font-size: .8rem; color: #94a3b8; margin-top: 6px; }
.footer-col h4 { font-size: .88rem; font-weight: 800; margin-bottom: 14px; color: var(--dark); }
.footer-col a { display: block; font-size: .85rem; color: var(--text3); margin-bottom: 8px; transition: color .2s; }
.footer-col a:hover { color: var(--orange); }
.footer-bottom {
  border-top: 1px solid var(--border); padding: 20px;
  text-align: center; font-size: .8rem; color: #94a3b8;
  max-width: 1200px; margin: 0 auto;
}
.footer-ai-note {
  text-align: center; font-size: .72rem; color: #c0cad8;
  padding-bottom: 14px; letter-spacing: .01em;
}

/* ============================================================
   SITEMAP PAGE
============================================================ */
.sitemap-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 32px;
}
.sitemap-col { display: flex; flex-direction: column; }
.sitemap-group {
  background: var(--bg2);
  border-radius: 18px;
  padding: 24px 22px;
}
.sitemap-group-icon {
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; margin-bottom: 12px;
  color: #fff;
}
.sitemap-group-title {
  font-size: 1rem; font-weight: 800; margin-bottom: 14px;
}
.sitemap-list { list-style: none; padding: 0; margin: 0; }
.sitemap-list li { margin-bottom: 8px; }
.sitemap-list a {
  font-size: .9rem; color: var(--text2);
  display: flex; align-items: center; gap: 8px;
  transition: color .2s;
}
.sitemap-list a::before {
  content: '→'; color: var(--orange); font-size: .8rem; flex-shrink: 0;
}
.sitemap-list a:hover { color: var(--orange); }

/* ============================================================
   CTA SECTION
============================================================ */
.cta-section { text-align: center; padding: 60px 20px; }
.cta-section h2 { font-size: clamp(1.6rem,3vw,2.2rem); font-weight: 900; margin-bottom: 12px; }
.cta-section p { color: var(--text3); margin-bottom: 28px; font-size: 1rem; max-width: 500px; margin-left: auto; margin-right: auto; }
.cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   QUICK LINKS (bottom of contact)
============================================================ */
.quick-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 900px; margin: 0 auto; padding: 0 20px 60px; }
.quick-link-card {
  border: 2px solid var(--border); border-radius: 20px; padding: 28px 24px;
  text-align: left; cursor: pointer; transition: all .2s;
}
.quick-link-card:hover { border-color: var(--orange); transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,.08); }
.quick-link-card .ql-icon { font-size: 2rem; margin-bottom: 12px; display: block; }
.quick-link-card h4 { font-size: 1rem; font-weight: 800; margin-bottom: 6px; }
.quick-link-card a { font-size: .88rem; color: var(--orange); font-weight: 700; }

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 1100px) {
  .wir-grid { grid-template-columns: 1fr 1fr; }
  .wir-grid > *:last-child { display: none; }
}

@media (max-width: 900px) {
  .two-col,
  .kita-cards, .kita-mw-grid,
  .contact-grid { grid-template-columns: 1fr; }
  .mw-grid, .kita-mw-grid { grid-template-columns: 1fr; }
  .mw-pill-card { border-radius: 50% 50% 50% 50% / 14% 14% 14% 14%; }
  .info-cards { grid-template-columns: 1fr 1fr; }
  .prog-grid { grid-template-columns: 1fr 1fr; }
  .tab-content.active, .tab-content-rev.active { grid-template-columns: 1fr; }
  .events-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .wir-grid { grid-template-columns: 1fr; }
  .nav-icon-item { padding: 8px 8px; }
  .ni-icon { width: 44px; height: 44px; font-size: 1.2rem; }
  /* hero illustrations stay percentage-based, nothing to override */
  .quick-links { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 650px) {
  .nav-icon-links { display: none; }
  .hamburger { display: flex; }
  .info-cards { grid-template-columns: 1fr 1fr; }
  .prog-grid { grid-template-columns: 1fr; }
  .events-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .kita-hero { padding: 60px 20px 40px; }
  .contact-hero { padding: 40px 20px; }
  .hero-frame { height: 520px; }
  .hero-illus-left { width: 18%; }
  .hero-illus-right { width: 14%; }
  .form-row { grid-template-columns: 1fr; }
  .quick-links { grid-template-columns: 1fr; }
  .topbar { font-size: .75rem; gap: 4px 12px; }
}

@media (max-width: 420px) {
  .section { padding: 40px 14px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .nav-inner { padding: 0 14px; }
}

@media (max-width: 650px) {
  .nav-inner { height: 80px; }
  .nav-logo img { height: 68px; }
  .footer-schlaf { width: 110px; right: 16px; }
  .mobile-menu { top: 80px; }
}

/* ── Konzeption Infographic ── */
/* Pädagogisches Profil – Squircle-Karten */
.paed-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 12px;
}
.paed-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border-radius: 28px;
  padding: 32px 20px 28px;
}
.paed-icon-circle {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: rgba(255,255,255,.7);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.paed-card h4 { font-size: 1rem; font-weight: 800; margin-bottom: 10px; line-height: 1.3; }
.paed-card p  { font-size: .86rem; color: var(--text2); line-height: 1.7; margin: 0; }
@media (max-width: 860px) { .paed-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .paed-grid { grid-template-columns: 1fr; } }

.konz-wrap {
  display: grid;
  grid-template-columns: 1fr 210px 1fr;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
  padding: 12px 0 28px;
  column-gap: 20px;
}
.konz-col { display: flex; flex-direction: column; gap: 52px; }
.konz-row { display: flex; align-items: center; }
.konz-col-left  .konz-row { justify-content: flex-end; }
.konz-col-right .konz-row { justify-content: flex-start; }

.konz-pill {
  border-radius: 50px;
  padding: 16px 26px;
  color: #fff;
  flex: 1;
  width: 290px;
  min-width: 0;
}
.konz-pill h4 { font-weight: 800; font-size: .87rem; margin: 0 0 4px; color: #fff; }
.konz-pill p  { font-size: .74rem; line-height: 1.55; margin: 0; opacity: .93; }
.konz-col-left  .konz-pill { text-align: right; }
.konz-col-right .konz-pill { text-align: left; }

.konz-node {
  width: 54px; height: 54px; flex-shrink: 0;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.45rem;
  box-shadow: 0 3px 12px rgba(0,0,0,.18);
}
.konz-col-left  .konz-pill { order: 1; }
.konz-col-left  .konz-node { order: 2; margin-left: -26px; z-index: 2; }
.konz-col-left  .konz-arrow-l { order: 3; margin-left: 4px; }
.konz-col-right .konz-arrow-r { order: 0; margin-right: 4px; }
.konz-col-right .konz-node { order: 1; margin-right: -26px; z-index: 2; }
.konz-col-right .konz-pill { order: 2; }

.konz-arrow-l, .konz-arrow-r {
  width: 0; height: 0; flex-shrink: 0;
}
.konz-arrow-l { border-top: 7px solid transparent; border-bottom: 7px solid transparent; border-right: 10px solid currentColor; }
.konz-arrow-r { border-top: 7px solid transparent; border-bottom: 7px solid transparent; border-left:  10px solid currentColor; }

.konz-center { display: flex; align-items: center; justify-content: center; }
.konz-ring {
  width: 200px; height: 200px; border-radius: 50%;
  border: 5px solid transparent;
  background: linear-gradient(#fff,#fff) padding-box,
              conic-gradient(#26c5c5,#5b7df7,#9b6fd4,#f5a623,#e05252,#e0588a,#26c5c5) border-box;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 20px;
  box-shadow: 0 8px 32px rgba(0,0,0,.12);
}
.konz-ring .konz-sub  { font-size: .6rem; text-transform: uppercase; letter-spacing: .12em; color: #9ca3af; margin-bottom: 2px; }
.konz-ring strong     { font-size: .95rem; font-weight: 900; color: #1a2130; line-height: 1.2; }
.konz-ring-dots       { display: flex; gap: 5px; margin-top: 9px; }
.konz-ring-dots span  { width: 9px; height: 9px; border-radius: 50%; display: block; }

@media (max-width: 720px) {
  .konz-wrap { grid-template-columns: 1fr; row-gap: 12px; padding: 8px 0; }
  .konz-center { order: -1; margin-bottom: 8px; }
  .konz-col-left .konz-row,
  .konz-col-right .konz-row { justify-content: flex-start; }
  .konz-col-left .konz-pill { order: 2; text-align: left; }
  .konz-col-left .konz-node { order: 1; margin-left: 0; margin-right: -10px; }
  .konz-col-right .konz-node { margin-right: 0; }
  .konz-pill { max-width: 100%; }
  .konz-arrow-l, .konz-arrow-r { display: none; }
  .konz-col { gap: 12px; }
}

/* ── Legal Pages ── */
.legal-page-wrap { background: var(--light); min-height: 60vh; padding: 60px 20px; }
.legal-page-inner { max-width: 820px; margin: 0 auto; }
.legal-eyebrow { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .15em; color: var(--text3); margin-bottom: 12px; }
.legal-h1 { font-size: clamp(2rem,4vw,3rem); font-weight: 900; margin-bottom: 40px; }
.legal-page-inner h2 { font-size: 1.15rem; font-weight: 800; margin: 32px 0 10px; color: var(--dark); }
.legal-page-inner p, .legal-page-inner li { color: var(--text2); line-height: 1.85; font-size: .97rem; }
.legal-page-inner ul { padding-left: 20px; margin: 8px 0 16px; }
.legal-page-inner a { color: var(--orange); }
.legal-date { font-size: .85rem; color: var(--text3); margin-top: 40px; }

/* ── Cookie Banner ── */
#sk-cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 9000;
  background: #fff; border-top: 2px solid var(--border);
  box-shadow: 0 -4px 24px rgba(0,0,0,.1);
  animation: sk-slide-up .4s ease;
}
@keyframes sk-slide-up { from { transform: translateY(100%); } to { transform: translateY(0); } }
.sk-cb-inner {
  max-width: 1200px; margin: 0 auto; padding: 20px 24px;
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
}
.sk-cb-text { flex: 1; min-width: 260px; }
.sk-cb-text strong { display: block; margin-bottom: 4px; font-weight: 800; }
.sk-cb-text p { font-size: .88rem; color: var(--text2); margin: 0; }
.sk-cb-btns { display: flex; gap: 10px; flex-shrink: 0; }

/* ── Cookie Modal ── */
#sk-cookie-modal {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,.5); display: flex;
  align-items: center; justify-content: center; padding: 20px;
}
.sk-cm-box {
  background: #fff; border-radius: 20px; padding: 36px;
  max-width: 520px; width: 100%; position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,.2);
}
.sk-cm-close {
  position: absolute; top: 16px; right: 16px;
  background: none; border: none; font-size: 1.1rem;
  cursor: pointer; color: var(--text2); padding: 4px 8px;
}
.sk-cm-box h3 { font-size: 1.3rem; font-weight: 900; margin-bottom: 8px; }
.sk-cm-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--border);
}
.sk-cm-row:last-of-type { border-bottom: none; }
.sk-cm-info { flex: 1; }
.sk-cm-info strong { display: block; font-size: .95rem; font-weight: 700; margin-bottom: 2px; }
.sk-cm-info span { font-size: .82rem; color: var(--text2); }
.sk-cm-toggle { font-size: .8rem; font-weight: 700; color: #059669; background: #D1FAE5; padding: 4px 10px; border-radius: 20px; }
.sk-toggle { position: relative; display: inline-block; width: 46px; height: 26px; flex-shrink: 0; }
.sk-toggle input { opacity: 0; width: 0; height: 0; }
.sk-toggle-slider {
  position: absolute; cursor: pointer; inset: 0;
  background: #d1d5db; border-radius: 26px; transition: .3s;
}
.sk-toggle-slider:before {
  content: ''; position: absolute;
  width: 20px; height: 20px; left: 3px; bottom: 3px;
  background: #fff; border-radius: 50%; transition: .3s;
}
.sk-toggle input:checked + .sk-toggle-slider { background: var(--orange); }
.sk-toggle input:checked + .sk-toggle-slider:before { transform: translateX(20px); }

/* Cookie settings link in footer */
.footer-cookie-link { font-size: .8rem; color: var(--text3); cursor: pointer; background: none; border: none; padding: 0; text-decoration: underline; }

/* ── Sitemap ── */
.sitemap-grid { display: flex; flex-direction: column; gap: 0; margin-top: 16px; max-width: 600px; }
.sitemap-card { padding: 24px 0; border-bottom: 1px solid var(--border); display: flex; align-items: flex-start; gap: 20px; }
.sitemap-card:last-child { border-bottom: none; }
.sitemap-icon { width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; flex-shrink: 0; margin-top: 2px; }
.sitemap-card h3 { font-size: 1rem; font-weight: 900; margin-bottom: 10px; }
.sitemap-card ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.sitemap-card ul a { font-size: .92rem; color: var(--text2); text-decoration: none; font-weight: 600; transition: color .2s; }
.sitemap-card ul a:hover { color: var(--orange); }

/* ── DSGVO Checkbox ────────────────────────────────────────── */
.form-dsgvo { margin: 16px 0 20px; padding: 16px; background: #f5f0eb; border-radius: 12px; border: 1px solid #e8ddd4; }
.dsgvo-label { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; }
.dsgvo-label input[type="checkbox"] { width: 20px; height: 20px; min-width: 20px; margin-top: 2px; accent-color: var(--orange, #E8621A); cursor: pointer; border-radius: 4px; }
.dsgvo-label span { font-size: .92rem; font-weight: 600; color: #2d3748; line-height: 1.5; }
.dsgvo-label span a { color: var(--orange, #E8621A); text-decoration: underline; }
.dsgvo-label span a:hover { opacity: .8; }
.dsgvo-hint { margin: 10px 0 0 32px; font-size: .82rem; color: #718096; line-height: 1.5; }
