/* ============================================================
   JUNIOR 1 — shared stylesheet
   ============================================================ */

/* ---------- Fonts ---------- */
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../assets/fonts/figtree-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../assets/fonts/figtree-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens ---------- */
:root {
  --cream: #f5efe3;
  --cream-2: #fdfbf6;
  --cream-border: #e3d9c4;
  --cream-border-2: #ded6c3;
  --cream-border-3: #e6dcc8;
  --ink: #14201a;
  --ink-soft: #46544c;
  --ink-soft-2: #3c4a42;
  --deep: #12301f;
  --deep-2: #194030;
  --deep-3: #1f5039;
  --green: #1a7f45;
  --green-dark: #0f5c30;
  --grad-green: linear-gradient(135deg, #249a5a 0%, var(--green) 45%, var(--green-dark) 100%);
  --shadow-green: 0 10px 20px -12px rgba(15, 92, 48, .8);
  --mint: #8fd0a9;
  --mint-2: #7fc79c;
  --blue: #1a3f8c;
  --amber: #9a5c06;
  --footer-1: #eaf3ed;
  --footer-2: #c3d6ca;
  --footer-3: #a9c1b3;
  --shadow-soft: 0 10px 22px -16px rgba(20, 32, 26, .3);
  --shadow-soft-hover: 0 26px 40px -22px rgba(20, 32, 26, .38);
  --ease: cubic-bezier(.2, .7, .3, 1);
  --patch-bg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .42 0 0 0 0 .32 0 0 0 0 .18 0 0 0 .32 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"),
    linear-gradient(180deg, #f3e8cf 0%, #e8d6b0 100%);
  --maxw: 1520px;
  --maxw-text: 1240px;
  --gutter: clamp(20px, 4vw, 64px);
}

/* ---------- Reset ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: 'Figtree', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.page-clip { max-width: 100%; overflow: clip; display: flow-root; }
img, video { max-width: 100%; display: block; }
a { color: var(--green); text-decoration: none; }
a:hover { color: var(--green-dark); }
h1, h2, h3, p { margin: 0; }
button { font-family: inherit; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

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

/* ---------- Decorative leaf blobs ---------- */
.leaf-pair { position: absolute; pointer-events: none; z-index: 0; }
.leaf-pair span { position: absolute; }
.leaf-pair .a { left: 0; bottom: 0; border-radius: 0 100% 0 100%; transform: rotate(-18deg); }
.leaf-pair .b { right: 0; top: 0; border-radius: 100% 0 100% 0; transform: rotate(12deg); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ============================================================
   Header / Nav
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--cream);
  border-bottom: 0; /* keine Trennlinie unter dem Header */
}
body.has-hero .site-header {
  position: fixed;
  left: 0; right: 0;
  background: transparent;
  border-bottom-color: rgba(255, 255, 255, .18);
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  transition: background .55s ease, border-color .55s ease, backdrop-filter .55s ease, -webkit-backdrop-filter .55s ease;
}
body.has-hero .site-header.is-scrolled {
  background: rgba(245, 239, 227, .92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--cream-border);
}

.header-bar {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 20px 0 24px;
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.nav-cluster { display: contents; }
@media (min-width: 901px) {
  /* Startseite: gleiche Anordnung vor und nach dem Scrollen (Logo links, Menü als Pille, Sprache rechts).
     Oben ist die Pille durchscheinend und nimmt etwas vom Hintergrund an, nach dem Scrollen wird sie weiß. */
  body.has-hero .header-bar .nav-cluster {
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 3px 10px 3px 5px;   /* rechts derselbe Abstand (10 px) zur Pillenkante wie oben und unten beim Anmelde-Button */
    height: 58px;
    border-radius: 999px;
    position: relative;
    isolation: isolate;
  }
  body.has-hero .header-bar .nav-cluster::before {
    content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 999px;
    background: rgba(255, 255, 255, .13); border: 1px solid rgba(255, 255, 255, .3);
    box-shadow: 0 10px 28px -16px rgba(0, 0, 0, .5), inset 0 1px 0 rgba(255, 255, 255, .22);
    backdrop-filter: blur(14px) saturate(1.25); -webkit-backdrop-filter: blur(14px) saturate(1.25);
  }
  body.has-hero .header-bar.is-pinned .nav-cluster::before {
    background: #ffffff; border: 1px solid #e7e3da; box-shadow: 0 10px 24px -14px rgba(20, 32, 26, .45);
    backdrop-filter: none; -webkit-backdrop-filter: none;
  }
  body.has-hero .header-bar { justify-content: space-between; }
  body.has-hero .header-bar .logo-link { order: -2; }
}

.nav-left, .nav-right {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  font-size: 15.5px;
  font-weight: 600;
}
.nav-left { order: -1; flex: 1; justify-content: flex-end; }
.nav-right { order: 1; flex: 1; justify-content: flex-start; }
@media (min-width: 901px) {
  body.has-hero .header-bar .nav-left,
  body.has-hero .header-bar .nav-right { flex: 0 0 auto; flex-wrap: nowrap; }
}

.nav-link {
  padding: 9px 12px;
  border-radius: 999px;
  color: var(--ink);
  white-space: nowrap;
  transition: color .45s ease, text-shadow .45s ease, background .2s ease;
}
.nav-link:hover { background: #e7e2d7; color: var(--ink); }
body.has-hero .nav-link {
  color: var(--cream);
  text-shadow: 0 1px 8px rgba(0, 0, 0, .45);
}
body.has-hero .nav-link:hover { background: rgba(255, 255, 255, .18); color: var(--cream); }
body.has-hero .header-bar.is-pinned .nav-link { color: var(--ink); text-shadow: none; }
body.has-hero .header-bar.is-pinned .nav-link:hover { background: #e7e2d7; color: var(--ink); }
.nav-link.is-current { background: #e7e2d7; }
.nav-link.is-current:hover { background: #ded8ca; }

.nav-cta {
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--green);
  color: #fff !important;
  cursor: pointer;
  box-shadow: 0 6px 18px -8px rgba(0, 0, 0, .5);
  text-shadow: none !important;
}
.nav-cta:hover { background: var(--green-dark); color: #fff !important; }

.logo-link {
  order: 0;
  position: relative;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  height: 56px;
  padding: 0 18px;
}
.logo-link img { position: relative; height: 46px; width: auto; }
/* Startseite, noch nicht gescrollt: Header läuft nach oben weich ins Dunkle, damit Logo und Menü über dem Video lesbar bleiben */
body.has-hero .site-header::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 170%; z-index: -1; pointer-events: none;
  background: linear-gradient(to bottom, rgba(7, 18, 12, .78) 0%, rgba(7, 18, 12, .52) 42%, rgba(7, 18, 12, .18) 78%, rgba(7, 18, 12, 0) 100%);
  transition: opacity .6s ease;
}
body.has-hero .site-header.is-scrolled::before { opacity: 0; }

@media (min-width: 901px) { .logo-link { margin: 0 clamp(18px, 2.4vw, 40px); } }

/* language switch */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .35);
  flex-shrink: 0;
  transition: background .5s ease, border-color .5s ease;
}
body:not(.has-hero) .lang-switch,
body.has-hero .header-bar.is-pinned .lang-switch {
  background: #f0ece1;
  border-color: #e3d9c4;
}
.lang-switch button {
  border: none;
  background: transparent;
  color: inherit;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .03em;
  cursor: pointer;
  color: var(--cream);
  text-shadow: 0 1px 6px rgba(0, 0, 0, .4);
  transition: color .45s ease, background .2s ease;
}
body:not(.has-hero) .lang-switch button,
body.has-hero .header-bar.is-pinned .lang-switch button { color: var(--ink); text-shadow: none; }
.lang-switch button.is-active {
  background: #ffffff;
  color: var(--ink) !important;
  text-shadow: none !important;
}
.lang-switch button:not(.is-active):hover { background: rgba(255, 255, 255, .18); }
body:not(.has-hero) .lang-switch button:not(.is-active):hover,
body.has-hero .header-bar.is-pinned .lang-switch button:not(.is-active):hover { background: #e7e2d7; }

.nav-toggle {
  display: none;
  order: 2;
  width: 42px; height: 42px;
  border-radius: 999px;
  border: 1.5px solid rgba(255, 255, 255, .5);
  background: transparent;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--cream);
}
body:not(.has-hero) .nav-toggle,
body.has-hero .header-bar.is-pinned .nav-toggle { color: var(--ink); border-color: #d8d2c2; }
.nav-toggle svg { width: 20px; height: 20px; }

@media (max-width: 900px) {
  .header-bar { justify-content: space-between !important; padding: 0 16px; }
  .logo-link { order: -2 !important; z-index: 61; padding: 0 14px; }
  .logo-link img { height: 38px; margin-top: 0; }
  .lang-switch button { padding: 6px 10px; }
  .nav-toggle { display: inline-flex; order: 3 !important; }

  .nav-cluster {
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    position: fixed;
    inset: 74px 0 0 0;
    background: var(--cream);
    padding: 10px 20px 30px;
    gap: 4px;
    height: auto;
    max-height: calc(100vh - 74px);
    overflow-y: auto;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .22s ease, transform .22s ease, visibility .22s;
    z-index: 60;
    box-shadow: none;
  }
  body.nav-open .nav-cluster {
    opacity: 1; visibility: visible; transform: none; pointer-events: auto;
  }

  .nav-left, .nav-right {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 4px;
    font-size: 17px;
    flex: none;
  }
  .nav-left { border-bottom: 1px solid var(--cream-border); padding-bottom: 14px; margin-bottom: 10px; }

  .nav-left .nav-link, .nav-right .nav-link { color: var(--ink) !important; text-shadow: none !important; padding: 13px 14px; }
  .nav-left .nav-link:hover, .nav-right .nav-link:hover { background: #e7e2d7; }
  .nav-cta { text-align: center; }
  .nav-right .nav-cta { color: #fff !important; }
  body.nav-open .lang-switch { display: none; }
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  border: none;
  white-space: nowrap;
}
.btn-primary { background: var(--grad-green); color: #fff; box-shadow: var(--shadow-green); }
.btn-primary:hover { background: var(--green-dark); color: #fff; }
.btn-ghost-light { border: 1.5px solid rgba(245, 239, 227, .75); color: var(--cream); background: transparent; }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .14); color: #fff; }
.btn-white { background: #fff; color: var(--green-dark); }
.btn-white:hover { background: #eafaf0; color: var(--green-dark); }
.btn-outline-white { border: 2px solid rgba(255, 255, 255, .8); color: #fff; background: transparent; }
.btn-outline-white:hover { background: rgba(255, 255, 255, .16); color: #fff; }
.btn-dark { background: var(--ink); color: #fff; font-weight: 600; padding: 13px 22px; }
.btn-dark:hover { background: var(--green); color: #fff; }
.btn-outline-dark { border: 1.5px solid #d4cfc3; color: var(--ink); font-weight: 600; padding: 13px 22px; background: transparent; }
.btn-outline-dark:hover { border-color: var(--ink); color: var(--ink); }

/* buttons are positioned for their hover states */
.btn, .nav-cta, .btn-submit, .btn-cancel, .btn-dark, .btn-outline-dark { position: relative; }

/* ============================================================
   Hero (home)
   ============================================================ */
.hero {
  position: relative;
  min-height: min(92vh, 1040px);   /* höher als zuvor (82vh, max. 700px): mehr vom Video sichtbar */
  min-height: min(92svh, 1040px);
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; overflow: hidden; }
.hero-media video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  animation: j1pan 34s ease-in-out infinite;
  will-change: transform;
}
.hero-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10, 18, 14, .88) 0%, rgba(10, 18, 14, .7) 45%, rgba(10, 18, 14, .15) 100%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 120px var(--gutter) 110px;
}
.hero-content h1 {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.03em;
  color: var(--cream);
  text-shadow: 0 2px 18px rgba(0, 0, 0, .35);
  text-wrap: balance;
}
.hero-content p {
  font-size: 19px;
  line-height: 1.65;
  color: #f0e8da;
  text-shadow: 0 1px 12px rgba(0, 0, 0, .4);
  max-width: 34em;
  margin-top: 20px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

@keyframes j1logoIn { from { opacity: .35; transform: translateX(-14px) scale(.94); } to { opacity: 1; transform: none; } }
@keyframes j1pillIn { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }
/* sanfter Zoom, aber nur wenig: zeigt mehr vom Video (vorher 1.08 → 1.16) */
@keyframes j1pan { 0% { transform: scale(1.02) translate3d(0, 0, 0); } 50% { transform: scale(1.07) translate3d(-.8%, -.8%, 0); } 100% { transform: scale(1.02) translate3d(0, 0, 0); } }

/* ============================================================
   Stats
   ============================================================ */
.stats {
  max-width: var(--maxw); margin: 0 auto;
  padding: 52px var(--gutter) 44px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 36px 44px;
}
.stats-band {
  position: relative; z-index: 2;
  border-bottom: 1px solid rgba(20, 32, 26, .12);
  box-shadow: 0 12px 20px -12px rgba(20, 32, 26, .3);
}
.stats-band .stats { padding-top: 26px; padding-bottom: 24px; }
.stats-band + .kitas-section { padding-top: 76px; }
.stats-band + .kop-content { padding-top: 68px; }
.stat-num { font-size: clamp(30px, 3.4vw, 42px); font-weight: 800; letter-spacing: -.035em; line-height: 1; }
.stat-num.is-text { font-size: clamp(24px, 2.6vw, 30px); line-height: 1.1; }
.stat-label { color: var(--ink-soft); font-size: 15px; margin-top: 8px; line-height: 1.5; }

/* ============================================================
   Section headings
   ============================================================ */
.eyebrow {
  font-size: 13px; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--green);
}
.section-title {
  font-size: clamp(30px, 4.2vw, 48px);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.08;
  margin-top: 16px;
  color: var(--deep);
}
.section-lede {
  font-size: 18px; line-height: 1.7;
  color: var(--ink-soft);
  margin: 18px auto 0;
  max-width: 40em;
}

/* ============================================================
   KITAs carousel
   ============================================================ */
.kitas-section { max-width: var(--maxw); margin: 0 auto; padding: 40px var(--gutter) 80px; }
.kitas-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 34px; }
.kitas-head h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 700; letter-spacing: -.02em; margin-top: 10px; color: var(--ink); }
.kitas-head .see-all { font-weight: 600; font-size: 16px; }

.carousel-wrap { position: relative; }
.kita-track {
  display: flex; gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 16px 10px 56px;
  margin-bottom: -32px;
}
.kita-track::-webkit-scrollbar { display: none; }

.kita-card {
  flex: 0 0 clamp(260px, 30%, 330px);
  scroll-snap-align: start;
  background: #fff;
  border-radius: 26px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease);
  box-shadow: 0 10px 22px -14px rgba(20, 32, 26, .3);
}
.kita-card:hover { transform: translateY(-10px); box-shadow: 0 28px 44px -20px rgba(20, 32, 26, .38); }
.kita-card-top {
  position: relative;
  background: linear-gradient(180deg, #dcecdf 0%, #eaf3ea 100%);
  padding: 34px 22px 56px;
  text-align: center;
  min-height: 220px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
/* hover: swap the green header of a card for a photo of the house */
.kita-card-top { overflow: hidden; }
.kita-card-photo {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.07);
  transition: opacity .45s ease, transform .9s var(--ease);
}
.kita-card.has-photo .kita-card-kicker, .kita-card.has-photo .kita-card-name { position: relative; transition: opacity .3s ease; }
.kita-card.has-photo:hover .kita-card-photo, .kita-card.has-photo:focus-within .kita-card-photo { opacity: 1; transform: none; }
.kita-card.has-photo:hover .kita-card-kicker, .kita-card.has-photo:hover .kita-card-name,
.kita-card.has-photo:focus-within .kita-card-kicker, .kita-card.has-photo:focus-within .kita-card-name { opacity: 0; }
.kita-card-kicker { font-size: 13px; font-weight: 700; letter-spacing: .3em; color: var(--green); }
.kita-card-name { font-size: clamp(26px, 2.6vw, 34px); font-weight: 800; letter-spacing: -.02em; line-height: 1.05; color: #12301f; margin-top: 8px; }
.kita-card-body { position: relative; background: #fff; padding: 0 22px 24px; }
.kita-card-district {
  position: absolute; top: -22px; left: 50%; transform: translateX(-50%);
  background: #fff; border-radius: 16px 16px 0 0;
  padding: 10px 22px; font-weight: 700; font-size: 16px; color: var(--green); white-space: nowrap;
}
.kita-card-info { display: flex; flex-direction: column; gap: 14px; padding-top: 34px; font-size: 15.5px; color: var(--ink-soft-2); }
.kita-card-info > div { display: flex; gap: 10px; align-items: center; }
.kita-card-info .ic { color: var(--green); font-size: 16px; }
.kita-card-more { display: inline-block; margin-top: 20px; font-weight: 700; font-size: 15.5px; color: var(--green); }

.carousel-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px; border-radius: 999px; border: none;
  background: #fff; color: #12301f; font-size: 20px; cursor: pointer;
  box-shadow: 0 12px 26px -12px rgba(20, 32, 26, .5);
  display: flex; align-items: center; justify-content: center;
  z-index: 2;
}
.carousel-btn:hover { background: #12301f; color: #fff; }
.carousel-btn.prev { left: -10px; }
.carousel-btn.next { right: -10px; }
@media (max-width: 640px) { .carousel-btn { display: none; } }

/* ============================================================
   Welcome / text sections
   ============================================================ */
.welcome-section { position: relative; max-width: var(--maxw-text); margin: 0 auto; padding: 80px var(--gutter) 20px; text-align: center; }
.welcome-photo { max-width: var(--maxw); margin: 40px auto 0; padding: 0 var(--gutter); }
.welcome-photo-inner { border-radius: 28px; overflow: hidden; box-shadow: 0 30px 60px -34px rgba(20, 32, 26, .4); }

.two-col-text {
  max-width: var(--maxw-text); margin: 0 auto; padding: 56px var(--gutter) 72px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px; font-size: 16.5px; line-height: 1.8; color: var(--ink-soft);
}
.two-col-text .col { display: flex; flex-direction: column; gap: 18px; }

/* image placeholder */
.img-slot {
  position: relative;
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #e3ecdd 0%, #d5e6dc 100%);
  display: flex; align-items: center; justify-content: center;
  color: #4c6355;
  font-size: 14px; font-weight: 600; letter-spacing: .04em;
  text-align: center; padding: 16px;
  overflow: hidden;
}
.img-slot::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 20% 20%, rgba(255,255,255,.5), transparent 45%),
    radial-gradient(circle at 80% 75%, rgba(255,255,255,.35), transparent 50%);
}
.img-slot svg { width: 34px; height: 34px; margin-bottom: 10px; opacity: .55; position: relative; }
.img-slot span { position: relative; opacity: .85; }
.img-slot.rounded { border-radius: 20px; }

/* ============================================================
   Pädagogik (dark section)
   ============================================================ */
.dark-section { position: relative; overflow: hidden; background: var(--deep); color: #f3f1ea; }
.dark-section .inner { position: relative; max-width: var(--maxw); margin: 0 auto; padding: 88px var(--gutter); text-align: center; }
.dark-section .eyebrow { color: var(--mint); }
.dark-section .section-lede { color: #cfe0d5; }

.card-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px; margin-top: 44px; text-align: left;
}
.feature-card {
  background: var(--deep-2); border-radius: 22px; padding: 28px 26px;
  color: #fff; display: flex; flex-direction: column; gap: 10px;
  transition: background .25s ease, transform .25s ease;
}
.feature-card:hover { background: var(--deep-3); color: #fff; transform: translateY(-6px); }
.feature-card .t { font-size: 21px; font-weight: 700; }
.feature-card .d { color: #cfe0d5; font-size: 15.5px; line-height: 1.6; }

.card-grid.light .feature-card {
  background: #fff; color: var(--deep);
  box-shadow: var(--shadow-soft);
}
.card-grid.light .feature-card:hover { box-shadow: var(--shadow-soft-hover); transform: translateY(-6px); color: var(--deep); }
.card-grid.light .feature-card .d { color: var(--ink-soft); }

/* ============================================================
   Krippe/KITA section
   ============================================================ */
.krippe-section { position: relative; max-width: var(--maxw); margin: 0 auto; padding: 88px var(--gutter) 0; text-align: center; }

/* ============================================================
   Anmeldung / CTA
   ============================================================ */
.anmeldung-section { max-width: var(--maxw); margin: 0 auto; padding: 88px var(--gutter) 96px; }
.anmeldung-box {
  position: relative; overflow: hidden;
  background: var(--green); color: #fff;
  border-radius: 32px;
  padding: clamp(40px, 6vw, 72px) clamp(28px, 5vw, 64px);
  text-align: center;
}
.anmeldung-box .eyebrow { color: #d6f0e0; }
.anmeldung-box .section-lede { color: #eafaf0; }
.anmeldung-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 34px; }

.link-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px; margin-top: 24px;
}
.link-card {
  background: #fff; border-radius: 24px; padding: 32px 28px;
  color: var(--deep); display: flex; flex-direction: column; gap: 10px;
  box-shadow: var(--shadow-soft);
  transition: transform .25s ease, box-shadow .25s ease;
}
.link-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft-hover); color: var(--deep); }
.link-card .t { font-size: 22px; font-weight: 700; }
.link-card .d { color: var(--ink-soft); font-size: 16px; line-height: 1.6; }
.link-card .cta { color: var(--green); font-weight: 700; margin-top: 6px; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  position: relative; background: var(--deep); color: var(--footer-1);
  border-radius: 36px; margin: 0 20px 20px; overflow: hidden;
}
.footer-grid {
  max-width: var(--maxw); margin: 0 auto; padding: 88px var(--gutter) 52px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 56px;
}
.footer-logo { display: inline-block; }
.footer-logo img { height: 40px; width: auto; display: block; }
.footer-brand p { color: var(--footer-2); font-size: 17px; line-height: 1.65; margin-top: 20px; max-width: 26em; }
.footer-col { display: flex; flex-direction: column; gap: 14px; font-size: 17px; }
.footer-col .h { font-weight: 700; margin-bottom: 8px; color: #fff; font-size: 19px; }
.footer-col a { color: var(--footer-1); }
.footer-bottom {
  max-width: var(--maxw); margin: 0 auto; padding: 26px var(--gutter) 56px;
  border-top: 1px solid rgba(255, 255, 255, .18);
  display: flex; flex-wrap: wrap; gap: 18px; justify-content: space-between;
  color: var(--footer-3); font-size: 15.5px;
}
.footer-bottom .links { display: flex; gap: 16px; }
.footer-bottom a { color: var(--footer-1); }

/* ============================================================
   Modal / form
   ============================================================ */
.modal-overlay {
  display: none;
  position: fixed; inset: 0; z-index: 200;
  align-items: flex-start; justify-content: center;
  padding: 24px; overflow-y: auto;
  background: rgba(9, 20, 14, .55);
  backdrop-filter: blur(4px);
}
.modal-overlay.is-open { display: flex; }
.modal-box {
  position: relative; width: 100%; max-width: 640px; margin: auto;
  background: #fff; border-radius: 28px;
  padding: clamp(26px, 4vw, 44px);
  box-shadow: 0 40px 80px -30px rgba(9, 20, 14, .6);
}
.modal-close {
  position: absolute; top: 18px; right: 18px;
  width: 42px; height: 42px; border-radius: 999px; border: none;
  background: #f0ece1; color: #12301f; font-size: 19px; cursor: pointer;
}
.modal-close:hover { background: #e2dccb; }
.modal-box h2 { font-size: clamp(26px, 3.4vw, 36px); font-weight: 800; letter-spacing: -.03em; margin-top: 12px; color: var(--deep); }
.modal-box > p { margin-top: 10px; font-size: 16px; line-height: 1.6; color: var(--ink-soft); }

.j1-form { display: grid; gap: 18px; margin-top: 26px; }
.j1-form label { display: grid; gap: 7px; font-size: 15px; font-weight: 600; color: var(--deep); }
.j1-form .row2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.j1-form input:not([type="radio"]):not([type="checkbox"]), .j1-form select, .j1-form textarea {
  width: 100%; min-width: 0;
  font: inherit; font-weight: 400; padding: 13px 15px; border-radius: 14px;
  border: 1.5px solid var(--cream-border-2); background: var(--cream-2); color: var(--deep);
}
.j1-form input:not([type="radio"]):not([type="checkbox"]):focus, .j1-form select:focus, .j1-form textarea:focus {
  outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(26, 127, 69, .18);
}
.j1-form input[type="radio"], .j1-form input[type="checkbox"] { accent-color: var(--green); width: 18px; height: 18px; flex-shrink: 0; }
.j1-form textarea { resize: vertical; min-height: 96px; }
.j1-form fieldset { border: 1.5px solid var(--cream-border-2); border-radius: 14px; padding: 14px 16px; margin: 0; background: var(--cream-2); }
.j1-form legend { font-size: 15px; font-weight: 600; color: var(--deep); padding: 0 6px; }
.radio-row { display: flex; flex-wrap: wrap; gap: 18px; font-size: 15.5px; color: var(--ink-soft-2); }
.radio-row label { display: flex; align-items: center; gap: 8px; font-weight: 400; font-size: inherit; color: inherit; }
.j1-form .consent-row { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; line-height: 1.55; color: var(--ink-soft); font-weight: 400; }
.j1-form .consent-row input { margin-top: 2px; }
.form-success {
  display: none; background: #e8f3ec; color: var(--green-dark);
  border-radius: 14px; padding: 14px 16px; font-size: 15.5px; font-weight: 600;
}
.form-success.is-visible { display: block; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.btn-submit { padding: 15px 28px; border-radius: 999px; border: none; background: var(--green); color: #fff; font-weight: 700; font-size: 16.5px; cursor: pointer; }
.btn-submit:hover { background: var(--green-dark); }
.btn-cancel { padding: 15px 28px; border-radius: 999px; border: 1.5px solid var(--cream-border-2); background: #fff; color: var(--deep); font-weight: 700; font-size: 16.5px; cursor: pointer; }
.btn-cancel:hover { border-color: var(--deep); }

/* ============================================================
   KITA subpage — hero
   ============================================================ */
.kop-hero {
  position: relative;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  background: var(--cream);
}
.kop-hero-media { position: relative; min-height: 560px; }
.kop-hero-tag {
  position: absolute; top: 0; left: 0;
  background: var(--cream); padding: 22px 40px 30px 28px;
  border-bottom-right-radius: 28px; pointer-events: none;
}
.kop-hero-tag .name { font-size: clamp(34px, 4.4vw, 56px); font-weight: 700; letter-spacing: -.03em; line-height: 1; margin-top: 8px; color: var(--ink); }
.kop-hero-info {
  position: relative; overflow: hidden;
  background: var(--green); color: #fff;
  padding: 56px 44px 52px;
  display: flex; flex-direction: column;
}
.kop-hero-info .kicker { font-size: 14px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: #f2fbf6; }
.kop-hero-info h1 { font-size: clamp(32px, 4vw, 50px); font-weight: 700; letter-spacing: -.025em; line-height: 1.08; margin-top: 14px; }
.kop-hero-info > p { margin-top: 16px; font-size: 17.5px; line-height: 1.65; color: #f2fbf6; max-width: 34em; }
.kop-contact-label { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 44px; font-size: 14px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.kop-divider { height: 1px; background: rgba(255, 255, 255, .4); margin: 14px 0 26px; }
.kop-address { font-size: 17.5px; line-height: 1.7; }
.kop-address .name { font-weight: 700; }
.kop-address .place { color: #f2fbf6; }
.kop-contact-list { display: grid; gap: 8px; margin-top: 22px; font-size: 17.5px; }
.kop-contact-list a { color: #fff; text-decoration: underline; }

/* content + sidebar layout */
.kop-content {
  max-width: var(--maxw); margin: 0 auto; padding: 40px var(--gutter) 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 44px; align-items: start;
}
.kop-main { display: flex; flex-direction: column; gap: 40px; }
.kop-block .eyebrow { margin-bottom: 10px; }
.kop-block h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; letter-spacing: -.03em; margin: 0 0 16px; color: var(--deep); }
.kop-block .body-text { font-size: 16.5px; line-height: 1.8; color: var(--ink-soft); display: flex; flex-direction: column; gap: 16px; }
.kop-block p.single { margin: 0; font-size: 16.5px; line-height: 1.8; color: var(--ink-soft); }

/* gallery */
.gallery-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.gallery-head .label { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--green); }
.gallery-nav { display: flex; gap: 10px; }
.gallery-nav button {
  width: 44px; height: 44px; border-radius: 999px; border: 1.5px solid #d4cfc3;
  background: #fff; color: var(--ink); font-size: 18px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s ease, border-color .2s ease;
}
.gallery-nav button:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.gallery-track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-item { flex: 0 0 clamp(260px, 62%, 420px); scroll-snap-align: start; }
.gallery-item .img-slot { height: 280px; }
.gallery-photo { width: 100%; height: 280px; object-fit: cover; border-radius: 20px; display: block; }

/* full-width standalone gallery section */
.kop-gallery-section { max-width: var(--maxw); margin: 0 auto; padding: 64px var(--gutter) 88px; }
.kop-gallery-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 28px; }
.kop-gallery-head h2 { font-size: clamp(26px, 3.2vw, 38px); font-weight: 700; letter-spacing: -.02em; margin-top: 10px; color: var(--ink); }
.gallery-track-full { gap: 28px; padding: 28px 14px 64px; margin-bottom: -40px; }
.gallery-item-full { flex: 0 0 clamp(240px, 31%, 360px); }
.gallery-item-full .gallery-photo {
  height: 320px;
  box-shadow: 0 20px 34px -16px rgba(20, 32, 26, .38), 0 6px 12px -6px rgba(20, 32, 26, .22);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  will-change: transform;
}
.gallery-item-full .gallery-photo:hover {
  transform: translateY(-8px) scale(1.015);
  box-shadow: 0 30px 48px -18px rgba(20, 32, 26, .45), 0 10px 18px -8px rgba(20, 32, 26, .28);
}
@media (max-width: 640px) { .gallery-item-full .gallery-photo { height: 260px; } }

/* cost cards */
.cost-cards { display: grid; gap: 14px; }
.cost-card { background: #fff; border: 1px solid var(--cream-border-3); border-radius: 20px; padding: 24px; }
.cost-card .t { font-size: 19px; font-weight: 700; }
.cost-card p { margin-top: 10px; font-size: 16px; line-height: 1.75; color: var(--ink-soft); }
.cost-card p + p { margin-top: 12px; }


/* sidebar */
.kop-sidebar { position: sticky; top: 104px; display: flex; flex-direction: column; gap: 16px; }
.info-panel { position: relative; overflow: hidden; background: var(--deep); color: #f3f1ea; border-radius: 24px; padding: 30px 28px; }
.info-panel .label { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--mint-2); }
.info-panel .hr { height: 1px; background: #2b3a32; margin: 18px 0; }
.info-panel .rows { display: grid; gap: 16px; font-size: 16px; }
.info-panel .rows .k { color: #8e9a93; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.info-panel .rows .v { margin-top: 3px; }

.notice-panel { background: #fff7e8; border: 1px solid #f0dcb6; border-radius: 20px; padding: 22px 24px; }
.notice-panel .t { font-size: 18px; font-weight: 700; color: #7a4904; }
.notice-panel p { margin-top: 8px; font-size: 15.5px; line-height: 1.65; color: #5c4212; }
.notice-panel a { color: #7a4904; }
.notice-panel .btn-notice {
  display: inline-block; margin-top: 16px; padding: 12px 20px; border-radius: 999px;
  background: var(--green); color: #fff; font-weight: 600; cursor: pointer;
}
.notice-panel .btn-notice:hover { background: var(--green-dark); color: #fff; }

.gallery-panel { background: #fff; border: 1px solid var(--cream-border-3); border-radius: 20px; padding: 22px 24px; color: var(--ink); }
.gallery-panel:hover { border-color: var(--green); color: var(--ink); }
.gallery-panel .t { font-size: 18px; font-weight: 700; }
.gallery-panel .d { color: var(--ink-soft); font-size: 15px; margin-top: 6px; line-height: 1.6; }

@media (max-width: 900px) { .kop-sidebar { position: static; } }

/* other kitas */
.other-kitas { max-width: var(--maxw); margin: 0 auto; padding: 72px var(--gutter) 88px; }
.other-kitas-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 24px; }
.other-kitas-head h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 700; letter-spacing: -.02em; }
.other-kita-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.other-kita-card {
  background: #fff; border: 1px solid var(--cream-border-3); border-radius: 24px; padding: 26px 28px;
  color: var(--ink); display: flex; flex-direction: row; align-items: center; gap: 20px;
  box-shadow: var(--shadow-soft);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.other-kita-card:hover { color: var(--ink); transform: translateY(-4px); box-shadow: var(--shadow-soft-hover); }
.other-kita-card .t { font-size: 21px; font-weight: 700; }
.other-kita-card .d { color: var(--ink-soft); font-size: 15.5px; margin-top: 4px; }
.other-kita-thumb {
  flex-shrink: 0; width: 88px; height: 88px; border-radius: 18px;
  overflow: hidden; background: var(--cream);
}
.other-kita-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.other-kita-card.c-blue .other-kita-thumb { box-shadow: inset 0 0 0 2px rgba(26, 63, 140, .3); }
.other-kita-card.c-amber .other-kita-thumb { box-shadow: inset 0 0 0 2px rgba(154, 92, 6, .3); }
.other-kita-card.c-green .other-kita-thumb { box-shadow: inset 0 0 0 2px rgba(15, 92, 48, .3); }
.other-kita-card.c-blue:hover { border-color: var(--blue); }
.other-kita-card.c-amber:hover { border-color: var(--amber); }
.other-kita-card.c-green:hover { border-color: var(--green); }

/* utility for content max width */
.container-narrow { max-width: var(--maxw-text); margin: 0 auto; padding: 0 var(--gutter); }

@media (max-width: 640px) {
  .hero-content { padding-left: 20px; padding-right: 20px; }
  .kop-hero-info { padding: 40px 24px; }
  .kop-hero-tag { padding: 18px 24px 24px 20px; }
  .site-footer { margin: 0 10px 10px; }
}

@media (max-width: 480px) {
  .header-bar { padding: 0 12px !important; gap: 8px; }
  .logo-link { padding: 0 12px; }
  .logo-link img { height: 34px; margin-top: 0; }
  .lang-switch button { padding: 6px 9px; }
}

/* ============================================================
   Request wizard
   ============================================================ */
.j1-form fieldset.wizard-step { display: none; border: 0; padding: 0; margin: 0; background: none; gap: 18px; min-width: 0; }
.j1-form fieldset.wizard-step.is-active { display: grid; animation: wizStepIn .32s var(--ease); }
@keyframes wizStepIn { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
.j1-form .wizard-step-title { font-size: clamp(19px, 2.4vw, 22px); font-weight: 700; letter-spacing: -.01em; color: var(--deep); padding: 0; margin: 0 0 14px; float: none; }
.wizard-progress { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; list-style: none; margin: 0 0 4px; padding: 0; }
.wizard-progress li { display: grid; gap: 8px; font-size: 13px; font-weight: 600; color: #8b8f84; }
.wizard-progress .bar { height: 5px; border-radius: 99px; background: var(--cream-border-3); transition: background .3s ease; }
.wizard-progress .lbl { display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.wizard-progress .lbl b { display: inline-grid; place-items: center; flex: none; width: 20px; height: 20px; border-radius: 50%; background: var(--cream-border-3); color: var(--ink-soft); font-size: 12px; }
.wizard-progress li.is-current { color: var(--deep); }
.wizard-progress li.is-done { color: var(--green); }
.wizard-progress li.is-current .bar, .wizard-progress li.is-done .bar { background: var(--green); }
.wizard-progress li.is-current .lbl b, .wizard-progress li.is-done .lbl b { background: var(--green); color: #fff; }
.voucher-box { border: 1.5px solid var(--cream-border-2); border-radius: 14px; padding: 14px 16px; background: var(--cream-2); display: grid; gap: 10px; }
.voucher-legend { font-size: 15px; font-weight: 600; color: var(--deep); }
.wizard-summary { margin: 0; display: grid; gap: 0; border: 1.5px solid var(--cream-border-2); border-radius: 14px; background: var(--cream-2); overflow: hidden; }
.wizard-summary > div { display: grid; grid-template-columns: minmax(110px, 38%) 1fr; gap: 12px; padding: 11px 16px; font-size: 14.5px; line-height: 1.45; }
.wizard-summary > div + div { border-top: 1px solid var(--cream-border-3); }
.wizard-summary dt { color: var(--ink-soft); font-weight: 600; }
.wizard-summary dd { margin: 0; color: var(--deep); overflow-wrap: anywhere; }
.form-actions { justify-content: flex-start; align-items: center; }
.form-actions [hidden] { display: none !important; }
.form-actions .wizard-primary { margin-left: auto; }
.form-done-actions { display: none; }
.j1-form.is-done .wizard-progress, .j1-form.is-done .wizard-step, .j1-form.is-done .form-actions { display: none !important; }
.j1-form.is-done .form-done-actions { display: flex; }
@media (max-width: 480px) {
  .wizard-progress li:not(.is-current) .lbl span { display: none; }
  .wizard-summary > div { grid-template-columns: 1fr; gap: 2px; }
  .form-actions .btn-submit, .form-actions .btn-cancel { padding: 14px 22px; }
}

/* ============================================================
   Tagesablauf (timeline)
   ============================================================ */
.day-list { list-style: none; margin: 22px 0 0; padding: 0; }
.day-list li { display: grid; grid-template-columns: 64px 1fr; gap: 16px; }
.day-list .time { font-weight: 800; font-size: 17px; letter-spacing: -.01em; color: var(--green); padding-top: 1px; font-variant-numeric: tabular-nums; }
.day-list .body { position: relative; padding: 0 0 26px 28px; border-left: 2px dashed rgba(124, 92, 52, .4); }
.day-list li:last-child .body { padding-bottom: 0; border-left-color: transparent; }
.day-list .body::before {
  content: ""; position: absolute; left: -9px; top: 3px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--green); box-shadow: 0 0 0 4px var(--cream);
}
.day-list .t { font-weight: 700; font-size: 18px; color: var(--deep); }
.day-list .d { margin-top: 3px; font-size: 15.5px; line-height: 1.6; color: var(--ink-soft); }
.day-note { margin-top: 20px; font-size: 14px; line-height: 1.6; color: var(--ink-soft); font-style: italic; }
.info-panel .rows .v:empty::before { content: "\00a0"; }

/* ============================================================
   Einblicke (insights)
   ============================================================ */
.insights-section { max-width: var(--maxw); margin: 0 auto; padding: 88px var(--gutter) 24px; }
.section-head { max-width: 46em; }
.section-head .section-title { margin-top: 12px; }
.section-head .section-lede { margin: 14px 0 0; max-width: none; }
.insight-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 28px; margin-top: 36px; }
.insight-card {
  background: #fff; border-radius: 26px; overflow: hidden; display: flex; flex-direction: column;
  box-shadow: 0 14px 30px -18px rgba(20, 32, 26, .35); transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.insight-card:hover { transform: translateY(-6px); box-shadow: 0 30px 46px -22px rgba(20, 32, 26, .42); }
.insight-card img { width: 100%; height: 240px; object-fit: cover; }
.insight-body { padding: 24px 26px 28px; }
.insight-meta { display: flex; align-items: center; gap: 12px; font-size: 13.5px; color: var(--ink-soft); }
.chip {
  display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase; background: #e3f1e8; color: var(--green-dark);
}
.insight-body h3 { margin-top: 12px; font-size: 22px; font-weight: 700; letter-spacing: -.01em; color: var(--deep); }
.insight-body p { margin-top: 8px; font-size: 16px; line-height: 1.65; color: var(--ink-soft); }
.insights-section.compact { padding: 24px var(--gutter) 24px; max-width: var(--maxw); }
.kop-ins-wrap { max-width: var(--maxw); margin: 0 auto; padding: 56px var(--gutter) 24px; }

/* ============================================================
   Karriere (home)
   ============================================================ */
.jobs-band { background: #e8efe0; margin-top: 56px; position: relative; overflow: hidden; }
.jobs-inner { position: relative; max-width: var(--maxw); margin: 0 auto; padding: 84px var(--gutter) 88px; }
.jobs-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.job-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 24px; margin-top: 36px; position: relative; z-index: 1; }
.job-card {
  position: relative; background: #fff; border-radius: 24px; padding: 28px 30px; display: flex; flex-direction: column; gap: 10px;
  box-shadow: var(--shadow-soft); transition: transform .25s ease, box-shadow .25s ease;
}
.job-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-soft-hover); }
.job-card.is-target { outline: 3px solid var(--green); outline-offset: 3px; }
.job-top { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.job-top .chip.kita { background: var(--deep); color: #fff; }
.job-top .chip.type { background: #f3e6c8; color: #6d4b0f; }
.job-card h3 { font-size: 22px; font-weight: 700; letter-spacing: -.01em; color: var(--deep); margin-top: 4px; }
.job-card p { font-size: 16px; line-height: 1.65; color: var(--ink-soft); }
.job-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.job-tags span { font-size: 13px; padding: 3px 10px; border-radius: 999px; background: var(--cream); color: var(--ink-soft); }
.job-actions { margin-top: auto; padding-top: 14px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.job-more { font-weight: 700; color: var(--green); }

/* ============================================================
   FAQ
   ============================================================ */
.faq-section { max-width: 1040px; margin: 0 auto; padding: 96px var(--gutter) 40px; }
.faq-list { margin-top: 34px; display: grid; gap: 12px; }
.faq-item { background: #fff; border-radius: 18px; border: 1px solid var(--cream-border-3); box-shadow: 0 8px 18px -16px rgba(20, 32, 26, .35); overflow: hidden; }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 20px 24px; font-size: 18px; font-weight: 700; color: var(--deep);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  background: #e3f1e8; color: var(--green-dark); font-size: 22px; line-height: 1; transition: transform .25s ease, background .25s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); background: var(--green); color: #fff; }
.faq-item summary:hover { color: var(--green-dark); }
.faq-item summary:focus-visible { outline: 3px solid rgba(26, 127, 69, .35); outline-offset: -3px; border-radius: 18px; }
.faq-item .faq-a { padding: 0 24px 22px; font-size: 16.5px; line-height: 1.7; color: var(--ink-soft); animation: faqIn .3s var(--ease); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.faq-contact { margin-top: 22px; font-size: 16px; color: var(--ink-soft); }
.faq-contact a { font-weight: 700; }

/* ============================================================
   Map / Anfahrt
   ============================================================ */
.kop-map-section { max-width: var(--maxw); margin: 0 auto; padding: 56px var(--gutter) 24px; }
.map-grid { display: grid; grid-template-columns: minmax(260px, 380px) 1fr; gap: 28px; margin-top: 32px; align-items: stretch; }
.map-card { background: #fff; border-radius: 24px; padding: 28px; box-shadow: var(--shadow-soft); display: flex; flex-direction: column; gap: 18px; }
.map-card .k { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); font-weight: 600; }
.map-card .v { margin-top: 4px; font-size: 16.5px; line-height: 1.6; color: var(--deep); }
.map-card .btn { align-self: flex-start; margin-top: auto; }
.map-box {
  position: relative; min-height: 380px; border-radius: 24px; overflow: hidden; box-shadow: 0 20px 36px -20px rgba(20, 32, 26, .4);
  background: linear-gradient(135deg, #e3ecdd, #d3e4d9);
}
.map-box iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-placeholder {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px;
  padding: 28px; text-align: center; color: var(--ink-soft); font-size: 15px; line-height: 1.6;
  background-image: radial-gradient(circle at 20% 25%, rgba(255,255,255,.55), transparent 45%), radial-gradient(circle at 80% 75%, rgba(255,255,255,.4), transparent 50%);
}
.map-placeholder svg { width: 40px; height: 40px; color: var(--green); }
.map-placeholder p { max-width: 30em; }
.map-placeholder .btn { border: 0; }
@media (max-width: 860px) { .map-grid { grid-template-columns: 1fr; } .map-box { min-height: 320px; } }

/* ============================================================
   Stellenportal
   ============================================================ */
.jobs-hero { max-width: var(--maxw); margin: 0 auto; padding: 72px var(--gutter) 8px; }
.jobs-hero h1 { margin-top: 14px; font-size: clamp(36px, 5vw, 60px); font-weight: 800; letter-spacing: -.03em; line-height: 1.05; color: var(--deep); }
.jobs-hero p { margin-top: 16px; max-width: 40em; font-size: 19px; line-height: 1.65; color: var(--ink-soft); }
.jobs-tools { max-width: var(--maxw); margin: 0 auto; padding: 28px var(--gutter) 8px; display: grid; gap: 18px; }
.search-wrap { position: relative; }
.search-wrap svg { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); width: 22px; height: 22px; color: var(--ink-soft); pointer-events: none; }
.search-wrap input {
  width: 100%; font: inherit; font-size: 17px; padding: 18px 22px 18px 54px; border-radius: 999px;
  border: 1.5px solid var(--cream-border-2); background: #fff; color: var(--deep); box-shadow: var(--shadow-soft);
}
.search-wrap input:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px rgba(26, 127, 69, .16); }
.filter-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.filter-row .filter-label { font-size: 14px; font-weight: 700; color: var(--ink-soft); margin-right: 4px; }
.filter-chip {
  font: inherit; font-size: 15px; font-weight: 600; padding: 9px 18px; border-radius: 999px; cursor: pointer;
  border: 1.5px solid var(--cream-border-2); background: #fff; color: var(--deep); transition: background .2s, color .2s, border-color .2s;
}
.filter-chip:hover { border-color: var(--green); }
.filter-chip[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: #fff; }
.jobs-count { font-size: 15px; font-weight: 600; color: var(--ink-soft); }
.jobs-list { max-width: var(--maxw); margin: 0 auto; padding: 16px var(--gutter) 24px; }
.jobs-list .job-grid { margin-top: 12px; }
.jobs-empty { display: none; text-align: center; padding: 56px 24px; background: #fff; border-radius: 24px; box-shadow: var(--shadow-soft); }
.jobs-empty.is-visible { display: block; }
.jobs-empty h2 { font-size: 24px; font-weight: 700; color: var(--deep); }
.jobs-empty p { margin: 10px auto 20px; max-width: 32em; color: var(--ink-soft); line-height: 1.65; }
.initiative { max-width: var(--maxw); margin: 0 auto; padding: 24px var(--gutter) 88px; }
.initiative-box { background: var(--deep); color: #fff; border-radius: 28px; padding: 36px 40px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px; }
.initiative-box h2 { font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.initiative-box p { margin-top: 8px; max-width: 38em; color: #cfe0d5; line-height: 1.65; }
.initiative-links { display: flex; flex-wrap: wrap; gap: 10px; }
.initiative-links a { padding: 10px 18px; border-radius: 999px; background: rgba(255,255,255,.12); color: #fff; font-weight: 600; font-size: 14.5px; }
.initiative-links a:hover { background: rgba(255,255,255,.22); color: #fff; }

/* ============================================================
   Impressum
   ============================================================ */
.legal { max-width: 1040px; margin: 0 auto; padding: 72px var(--gutter) 88px; }
.legal h1 { margin-top: 14px; font-size: clamp(34px, 4.6vw, 52px); font-weight: 800; letter-spacing: -.03em; color: var(--deep); }
.legal .lede { margin-top: 16px; font-size: 18px; line-height: 1.7; color: var(--ink-soft); max-width: 42em; }
.legal-grid { margin-top: 36px; display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); }
.legal-card { background: #fff; border: 1px solid var(--cream-border-3); border-radius: 22px; padding: 26px 28px; box-shadow: var(--shadow-soft); }
.legal-card h2 { font-size: 20px; font-weight: 700; color: var(--deep); }
.legal-card dl { margin: 14px 0 0; display: grid; gap: 12px; }
.legal-card dt { font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); font-weight: 600; }
.legal-card dd { margin: 3px 0 0; font-size: 16px; line-height: 1.6; color: var(--deep); }
.legal-card dd.pending { color: #8b8f84; font-style: italic; }
.legal-more { margin-top: 28px; font-size: 16px; line-height: 1.7; color: var(--ink-soft); }
.legal-more h2 { font-size: 20px; color: var(--deep); margin-bottom: 6px; }
.back-link { display: inline-block; margin-top: 32px; font-weight: 700; }

.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

section[id], div[id].kop-block { scroll-margin-top: 96px; }

/* ============================================================
   CTA hover: a touch darker and a touch raised – never see-through
   ============================================================ */
.btn, .nav-cta, .btn-submit, .btn-cancel, .btn-dark, .btn-outline-dark {
  transition: background-color .22s ease, color .22s ease, border-color .22s ease, box-shadow .22s ease, transform .22s ease;
}
.btn:hover, .nav-cta:hover, .btn-submit:hover, .btn-cancel:hover, .btn-dark:hover, .btn-outline-dark:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 16px -10px rgba(10, 20, 14, .55);
}
.btn:active, .nav-cta:active, .btn-submit:active, .btn-cancel:active, .btn-dark:active, .btn-outline-dark:active {
  transform: translateY(0);
  box-shadow: 0 4px 8px -6px rgba(10, 20, 14, .5);
}
.btn-primary:hover, .nav-cta:hover, .btn-submit:hover { background: #146c3a; }
.btn-ghost-light:hover { background: #12301f; border-color: #12301f; color: #fff; }
.btn-white:hover { background: #e2eae1; color: var(--green-dark); }
.btn-outline-white:hover { background: #0f5c30; color: #fff; }
.btn-dark:hover { background: #0a120e; color: #fff; }
.btn-outline-dark:hover, .btn-cancel:hover { background: #ece5d3; border-color: var(--deep); color: var(--ink); }

/* header CTA: keep the green fill on hover in every header state (hero, pinned, mobile) */
body .nav-link.nav-cta:hover,
body.has-hero .nav-link.nav-cta:hover,
body.has-hero .header-bar.is-pinned .nav-link.nav-cta:hover,
.nav-left .nav-link.nav-cta:hover,
.nav-right .nav-link.nav-cta:hover {
  background: #146c3a;
  color: #fff !important;
}

/* ============================================================
   HOME (neues Layout): Hero + Einrichtungs-Karten
   ============================================================ */
/* hero stays pinned behind the content; text sits centred between header and tiles */
.hero { position: sticky; top: 0; z-index: 1; }
.hero-content { padding-top: calc(var(--hdr-h, 78px) + 12px); padding-bottom: clamp(70px, 9vw, 120px); will-change: transform, opacity; }
.after-hero { position: relative; z-index: 2; display: flow-root; background: var(--cream); margin-bottom: -260px; will-change: transform; }
.hero { transform-origin: 50% 0; will-change: transform; background: #0d1f16;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 var(--hero-edge, 0%), #000 calc(100% - var(--hero-edge, 0%)), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 var(--hero-edge, 0%), #000 calc(100% - var(--hero-edge, 0%)), transparent 100%); }
.hero-dim { position: absolute; inset: 0; background: #0b1a12; opacity: 0; pointer-events: none; z-index: 2; }
.fac-section { position: relative; z-index: 6; max-width: var(--maxw); margin: clamp(14px, 2.2vw, 34px) auto 0; padding: 0 var(--gutter); }
.fac-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 1100px) { .fac-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .fac-grid { grid-template-columns: 1fr; } }
.fac-card {
  --acc: var(--kp, var(--green));
  display: flex; flex-direction: column; background: #fff; border-radius: 26px; color: var(--ink);
  box-shadow: 0 24px 40px -24px rgba(10, 20, 14, .55); transition: transform .28s var(--ease), box-shadow .28s var(--ease);
}
.fac-card:hover { transform: translateY(-6px); box-shadow: 0 32px 48px -24px rgba(10, 20, 14, .6); color: var(--ink); }
.fac-card.c-kop, .fac-card.c-grue, .fac-card.c-buer, .fac-card.c-fenn { --acc: var(--kp); }
.fac-photo { position: relative; aspect-ratio: 16 / 10; }
.fac-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 26px 26px 0 0; }
.fac-badge {
  position: absolute; left: 50%; bottom: -32px; transform: translateX(-50%); width: 64px; height: 64px; border-radius: 50%;
  display: grid; place-items: center; background: var(--acc); color: #fff; border: 4px solid #fff; box-shadow: 0 10px 18px -10px rgba(0, 0, 0, .5);
}
.fac-badge svg { width: 29px; height: 29px; }
.fac-body { padding: 46px 22px 26px; text-align: center; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.fac-body h3 { font-size: 22px; font-weight: 800; letter-spacing: -.02em; color: var(--deep); }
.fac-body p { color: var(--ink-soft); font-size: 15.5px; line-height: 1.5; }
.fac-more { margin-top: auto; padding-top: 14px; font-weight: 700; color: var(--acc); }

/* Aktuelles + Instagram (gleiche Sprache wie Einblicke / Karriere) */
.news-section { padding-top: 88px; }
.news-section .insight-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.news-section .insight-card img { height: 210px; }
@media (max-width: 1000px) { .news-section .insight-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .news-section .insight-grid { grid-template-columns: 1fr; } }
.insight-card { color: inherit; }
.insight-card:hover { color: inherit; }
.insight-more { display: inline-block; margin-top: 14px; font-weight: 700; color: var(--green); }
.ig-section { max-width: var(--maxw); margin: 0 auto; padding: 56px var(--gutter) 16px; }
.ig-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 40px; align-items: center; }
.ig-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.ig-copy .section-title { font-size: clamp(26px, 3.2vw, 38px); }
.ig-posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-items: start; }
.ig-post {
  display: flex; flex-direction: column; gap: 8px; padding: 10px; background: #fff; border: 1px solid var(--cream-border-3); border-radius: 18px; color: var(--ink);
  box-shadow: 0 12px 24px -18px rgba(20, 32, 26, .4); transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.ig-post:hover { transform: translateY(-5px) rotate(-.6deg); box-shadow: 0 24px 34px -20px rgba(20, 32, 26, .45); color: var(--ink); }
.ig-post.p2 { margin-top: 22px; }
.ig-top { display: flex; align-items: center; gap: 7px; }
.ig-av { width: 20px; height: 20px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px #e1a33c; flex: none; }
.ig-nm { font-size: 11.5px; font-weight: 700; color: var(--deep); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ig-img { position: relative; aspect-ratio: 1; border-radius: 10px; overflow: hidden; }
.ig-img img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.62) contrast(.94) brightness(1.04); transition: filter .35s ease, transform .6s var(--ease); }
.ig-img::after { content: ""; position: absolute; inset: 0; background: var(--tint); opacity: .22; mix-blend-mode: multiply; pointer-events: none; transition: opacity .35s ease; }
.ig-post:hover .ig-img img { filter: saturate(.95) contrast(1) brightness(1); transform: scale(1.05); }
.ig-post:hover .ig-img::after { opacity: .08; }
.p1 .ig-img { --tint: #2f9e55; }
.p2 .ig-img { --tint: #3c6fc2; }
.p3 .ig-img { --tint: #e09a2a; }
.ig-acts { display: flex; gap: 8px; color: var(--deep); }
.ig-acts svg { width: 16px; height: 16px; }
.ig-lines { display: grid; gap: 5px; padding-bottom: 2px; }
.ig-lines i { display: block; height: 6px; border-radius: 4px; background: #e6e0d0; }
.ig-lines i:last-child { width: 62%; }
.ig-follow { gap: 10px; }
.ig-follow svg { width: 20px; height: 20px; }
@media (max-width: 900px) { .ig-wrap { grid-template-columns: 1fr; gap: 28px; } .ig-posts { max-width: 520px; } }
@media (max-width: 420px) { .ig-posts { gap: 8px; } .ig-post { padding: 7px; border-radius: 14px; } .ig-nm { font-size: 10px; } }

/* ============================================================
   KITA-Detailseiten (Struktur nach Entwurf)
   ============================================================ */
.kd-section { max-width: var(--maxw); margin: 0 auto; padding: 68px var(--gutter) 0; }
.kd-section.kd-last { padding-bottom: 88px; }
.kd-title { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; letter-spacing: -.03em; line-height: 1.08; color: var(--deep); margin-top: 10px; }
.kd-title.sm { font-size: clamp(24px, 2.8vw, 32px); margin: 0 0 22px; }
.kd-welcome { display: grid; grid-template-columns: minmax(280px, .95fr) 1.05fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.kd-media { border-radius: 28px; overflow: hidden; aspect-ratio: 16 / 10; box-shadow: 0 26px 46px -26px rgba(20, 32, 26, .5); background: #d8e4d3; }
.kd-media img { width: 100%; height: 100%; object-fit: cover; }
.kd-welcome-text { display: grid; gap: 14px; }
.kd-welcome-text p { font-size: 17px; line-height: 1.75; color: var(--ink-soft); max-width: 40em; }
@media (max-width: 860px) { .kd-welcome { grid-template-columns: 1fr; } }

.kd-panel { background: #fff; border: 1px solid var(--cream-border-3); border-radius: 28px; padding: 34px clamp(20px, 3vw, 40px) 38px; box-shadow: var(--shadow-soft); }
.kd-panel-title { text-align: center; font-size: clamp(22px, 2.4vw, 28px); font-weight: 800; letter-spacing: -.02em; color: var(--deep); margin-bottom: 26px; }
.kd-features-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 1000px) { .kd-features-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 600px) { .kd-features-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.kd-feat { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 6px 4px; }
.kd-feat .ico { width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; background: #e3f1e8; color: var(--green-dark); }
.kd-feat .ico svg { width: 30px; height: 30px; }
.kd-feat .t { font-size: 16.5px; font-weight: 700; color: var(--deep); line-height: 1.25; }
.kd-feat .d { font-size: 14px; line-height: 1.5; color: var(--ink-soft); max-width: 15em; }

.kd-gal-track { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 14px 8px 40px; margin-bottom: -26px; }
.kd-gal-track::-webkit-scrollbar { display: none; }
.kd-thumb { flex: 0 0 clamp(210px, 22vw, 280px); scroll-snap-align: start; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 20px; box-shadow: 0 18px 30px -18px rgba(20, 32, 26, .45); transition: transform .28s var(--ease), box-shadow .28s var(--ease); }
.kd-thumb:hover { transform: translateY(-6px); box-shadow: 0 26px 38px -18px rgba(20, 32, 26, .5); }
.kd-thumb img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 20px; display: block; }

.kd-two { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 24px; align-items: stretch; }
@media (max-width: 900px) { .kd-two { grid-template-columns: 1fr; } }
.kd-card { background: #fff; border: 1px solid var(--cream-border-3); border-radius: 28px; padding: 30px clamp(20px, 2.6vw, 36px) 34px; box-shadow: var(--shadow-soft); }
.kd-card-title { font-size: clamp(21px, 2.2vw, 26px); font-weight: 800; letter-spacing: -.02em; color: var(--deep); margin-bottom: 18px; }
.day-compact { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.day-compact li { display: grid; grid-template-columns: 64px 1fr; gap: 14px; padding: 11px 0; border-bottom: 1px dashed rgba(124, 92, 52, .35); font-size: 16px; }
.day-compact li:last-child { border-bottom: 0; }
.day-compact .time { font-weight: 800; color: var(--green); font-variant-numeric: tabular-nums; }
.day-compact .t { color: var(--deep); font-weight: 600; }
.kd-why-body { display: grid; grid-template-columns: 1fr minmax(160px, 38%); gap: 24px; align-items: center; }
@media (max-width: 640px) { .kd-why-body { grid-template-columns: 1fr; } }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.checks li { position: relative; padding-left: 36px; font-size: 16.5px; line-height: 1.5; color: var(--deep); font-weight: 600; }
.checks li::before { content: ""; position: absolute; left: 0; top: 1px; width: 24px; height: 24px; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat; }
.kd-why-img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 22px; box-shadow: 0 18px 30px -18px rgba(20, 32, 26, .45); }

.kd-faq .faq-list { margin-top: 0; }
.kd-contact { display: grid; grid-template-columns: minmax(280px, .85fr) 1.15fr; gap: 24px; align-items: stretch; }
@media (max-width: 860px) { .kd-contact { grid-template-columns: 1fr; } }
.kd-contact-card { display: flex; flex-direction: column; gap: 16px; }
.kd-contact-card .row { display: flex; gap: 14px; align-items: flex-start; font-size: 16.5px; line-height: 1.55; color: var(--deep); }
.kd-contact-card .row svg { width: 22px; height: 22px; flex: none; margin-top: 2px; color: var(--green); }
.kd-contact-card .row a { font-weight: 600; word-break: break-all; }
.kd-contact-card .k { font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); font-weight: 600; }
.kd-contact-card .v { margin: 3px 0 12px; font-size: 16px; line-height: 1.55; color: var(--deep); min-height: 1.55em; }
.kd-contact-card .btns { margin-top: auto; display: flex; flex-wrap: wrap; gap: 12px; }
.kd-contact-card .btns a { display: inline-flex; align-items: center; padding: 14px 24px; border-radius: 999px; font-weight: 700; font-size: 16px; }
.kd-contact .map-box { min-height: 420px; }

/* Lightbox */
.lb { position: fixed; inset: 0; z-index: 260; display: none; align-items: center; justify-content: center; background: rgba(10, 20, 14, .9); padding: 24px; }
.lb.is-open { display: flex; }
.lb img { max-width: min(92vw, 1200px); max-height: 86vh; border-radius: 18px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7); }
.lb button { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); color: var(--deep); font-size: 22px; cursor: pointer; display: grid; place-items: center; }
.lb button:hover { background: #fff; transform: scale(1.05); }
.lb .lb-close { top: 18px; right: 18px; } .lb .lb-prev { left: 18px; top: 50%; margin-top: -24px; } .lb .lb-next { right: 18px; top: 50%; margin-top: -24px; }

/* ============================================================
   Kita-Farben (abgestimmt auf junior1.de): Kopernikushof blau, Grünbergerhof rot, am Bürgerpark grün, im Fenngarten orange
   --k = Originalfarbe, --kp = Variante mit ausreichend Kontrast für weiße Schrift/Icons, --kb = Tönung, --kd = dunkler (Hover)
   ============================================================ */
.kita-kop,  .c-kop  { --k: #186f8d; --kp: #186f8d; --kb: #dcecf2; --kd: #115068; }
.kita-grue, .c-grue { --k: #bb1c4c; --kp: #bb1c4c; --kb: #f8e0e8; --kd: #8f1439; }
.kita-buer, .c-buer { --k: #8db051; --kp: #5f8433; --kb: #e8f0d9; --kd: #46631f; }
.kita-fenn, .c-fenn { --k: #ffad13; --kp: #a05f00; --kb: #fdeccb; --kd: #7a4900; }

body.kita .kop-hero-info { background: var(--kp); }
body.kita .kop-hero-info .kicker, body.kita .kop-hero-info > p, body.kita .kop-address .place { color: rgba(255, 255, 255, .92); }
body.kita .eyebrow { color: var(--kp); }
body.kita .gallery-head .label, body.kita .day-list .time, body.kita .day-compact .time, body.kita .insight-more,
body.kita .kd-contact-card .row svg, body.kita .map-placeholder svg, body.kita .job-more { color: var(--kp); }
body.kita .faq-item summary:hover { color: var(--kd); }
body.kita .day-list .body::before { background: var(--kp); }
body.kita .checks li::before { background-color: var(--kp); }
body.kita .kd-feat .ico, body.kita .chip, body.kita .faq-item summary::after { background: var(--kb); color: var(--kd); }
body.kita .faq-item[open] summary::after { background: var(--kp); color: #fff; }
body.kita .btn-outline-white:hover { background: var(--kd); color: #fff; }
body.kita .wizard-progress li.is-done { color: var(--kp); }
body.kita .wizard-progress li.is-current .bar, body.kita .wizard-progress li.is-done .bar,
body.kita .wizard-progress li.is-current .lbl b, body.kita .wizard-progress li.is-done .lbl b { background: var(--kp); }
body.kita .j1-form input:focus, body.kita .j1-form select:focus, body.kita .j1-form textarea:focus { border-color: var(--kp); box-shadow: 0 0 0 3px color-mix(in srgb, var(--kp) 20%, transparent); }
body.kita .faq-item summary:focus-visible { outline-color: color-mix(in srgb, var(--kp) 40%, transparent); }

/* Kita-Farbe als weicher Verlauf auf Karten, Panels und Buttons (wie im anderen Entwurf) */
body.kita .kd-card, body.kita .kd-panel {
  background: linear-gradient(160deg, color-mix(in srgb, var(--kb) 38%, #fff) 0%, #fff 80%);
  border-color: color-mix(in srgb, var(--k) 14%, #fff);
}
body.kita .kd-card-title, body.kita .kd-panel-title { color: var(--kd); }
body.kita .faq-item { background: linear-gradient(160deg, color-mix(in srgb, var(--kb) 24%, #fff) 0%, #fff 60%); border-color: color-mix(in srgb, var(--k) 10%, #fff); }
body.kita .gallery-panel, body.kita .map-card { background: linear-gradient(160deg, color-mix(in srgb, var(--kb) 38%, #fff) 0%, #fff 80%); }
body.kita .map-box { background: linear-gradient(135deg, color-mix(in srgb, var(--kb) 35%, #fff), color-mix(in srgb, var(--kb) 60%, #fff)); }
body.kita .map-placeholder svg { color: var(--kp); }
body.kita .btn-primary, body.kita .btn-submit, body.kita .notice-panel .btn-notice {
  background: linear-gradient(135deg, color-mix(in srgb, var(--kp) 88%, #fff) 0%, var(--kp) 45%, color-mix(in srgb, var(--kp) 80%, #000) 100%);
  box-shadow: 0 10px 20px -12px color-mix(in srgb, var(--kp) 85%, #000);
}
body.kita .btn-primary:hover, body.kita .btn-submit:hover, body.kita .notice-panel .btn-notice:hover {
  background: linear-gradient(135deg, var(--kp) 0%, var(--kd) 100%);
}
body.kita .btn-outline-dark { border-color: color-mix(in srgb, var(--kp) 45%, #fff); color: var(--kd); background: linear-gradient(160deg, color-mix(in srgb, var(--kb) 30%, #fff), #fff); }
body.kita .btn-outline-dark:hover { border-color: var(--kp); background: var(--kb); color: var(--kd); }
body.kita .kop-hero-info { background: linear-gradient(155deg, color-mix(in srgb, var(--kp) 94%, #fff) 0%, var(--kp) 45%, color-mix(in srgb, var(--kp) 90%, #000) 100%); }
body.kita .kd-feat .ico { background: linear-gradient(145deg, #fff, color-mix(in srgb, var(--kb) 80%, #fff)); box-shadow: 0 6px 14px -9px color-mix(in srgb, var(--kp) 55%, transparent); }
body.kita .kd-contact-card .row a, body.kita .kop-block a:not(.btn) { color: var(--kd); }

/* ---- Verlauf der Cookie-Banner-Buttons auf allen Buttons der Seite ---- */
.nav-cta { background: var(--grad-green); box-shadow: var(--shadow-green); }
.btn-submit, .notice-panel .btn-notice { background: var(--grad-green); box-shadow: var(--shadow-green); }
.btn-submit:hover, .notice-panel .btn-notice:hover { background: var(--green-dark); }
.filter-chip[aria-pressed="true"] { background: var(--grad-green); box-shadow: var(--shadow-green); }
.btn-dark { background: linear-gradient(135deg, #34453b 0%, var(--ink) 55%, #0b130f 100%); box-shadow: 0 10px 20px -12px rgba(20, 32, 26, .8); }
.btn-dark:hover { background: var(--green); }
.btn-white { background: linear-gradient(135deg, #fff 0%, #f2f6ee 100%); }
/* helle Gegenstücke wie "Nur notwendige": weiß mit feiner dunkler Kontur */
.btn-outline-dark, .btn-cancel { background: #fff; border: 1.5px solid color-mix(in srgb, var(--deep) 35%, #fff); color: var(--deep); }
.btn-outline-dark:hover, .btn-cancel:hover { background: #f1ede2; border-color: var(--deep); color: var(--deep); }

/* Footer nur auf den Kita-Detailseiten in der jeweiligen Kita-Farbe */
body.kita .site-footer {
  background: linear-gradient(160deg, color-mix(in srgb, var(--kp) 66%, #000) 0%, color-mix(in srgb, var(--kp) 40%, #000) 100%);
}
body.kita .site-footer .leaf-pair span { background: color-mix(in srgb, var(--k) 70%, #fff) !important; }
body.kita .footer-bottom { border-top-color: rgba(255, 255, 255, .22); }

/* Seiten-Reveal (Unterseiten + Rückkehr zur Startseite): Farbfläche liegt ab dem ersten Frame über der Seite und wird weggewischt */
html.pr-hold::before { content: ""; position: fixed; inset: 0; z-index: 240; background: var(--pr-bg, #12301f); animation: pr-failsafe 0s linear 3.2s forwards; }
@keyframes pr-failsafe { to { opacity: 0; visibility: hidden; } }
.pr-cover { position: fixed; inset: 0; z-index: 240; pointer-events: none; background: #12301f; animation: pr-failsafe 0s linear 4s forwards; }

/* ============================================================
   Button-Verläufe ohne Aufblitzen beim Hover:
   Farbe + Verlauf bleiben immer gesetzt, beim Hover wandert nur der Verlauf (background-position) – es wird nie auf "transparent" zurückgesetzt
   ============================================================ */
:root { --btn-base: var(--green); --btn-grad: var(--grad-green); }
body.kita {
  --btn-base: var(--kp);
  --btn-grad: linear-gradient(135deg, color-mix(in srgb, var(--kp) 88%, #fff) 0%, var(--kp) 45%, color-mix(in srgb, var(--kp) 80%, #000) 100%);
}
.btn-primary, .btn-primary:hover, .btn-primary:active, .btn-primary:focus-visible,
.nav-cta, .nav-cta:hover, .nav-cta:active,
body .nav-link.nav-cta:hover, body.has-hero .nav-link.nav-cta:hover, body.has-hero .header-bar.is-pinned .nav-link.nav-cta:hover,
.nav-left .nav-link.nav-cta:hover, .nav-right .nav-link.nav-cta:hover,
.btn-submit, .btn-submit:hover, .btn-submit:active,
.notice-panel .btn-notice, .notice-panel .btn-notice:hover,
.filter-chip[aria-pressed="true"], .filter-chip[aria-pressed="true"]:hover,
body.kita .btn-primary, body.kita .btn-primary:hover, body.kita .btn-submit, body.kita .btn-submit:hover,
body.kita .notice-panel .btn-notice, body.kita .notice-panel .btn-notice:hover {
  background-color: var(--btn-base) !important;
  background-image: var(--btn-grad) !important;
  background-size: 190% 190% !important;
  background-repeat: no-repeat !important;
  background-position: 0% 0% !important;
}
.btn-primary:hover, .btn-primary:focus-visible, .nav-cta:hover,
body .nav-link.nav-cta:hover, body.has-hero .nav-link.nav-cta:hover, body.has-hero .header-bar.is-pinned .nav-link.nav-cta:hover,
.nav-left .nav-link.nav-cta:hover, .nav-right .nav-link.nav-cta:hover,
.btn-submit:hover, .notice-panel .btn-notice:hover, .filter-chip[aria-pressed="true"]:hover,
body.kita .btn-primary:hover, body.kita .btn-submit:hover, body.kita .notice-panel .btn-notice:hover {
  background-position: 100% 100% !important;
}
.btn-primary, .nav-cta, .btn-submit, .notice-panel .btn-notice, .filter-chip {
  transition: background-position .5s ease, color .22s ease, border-color .22s ease, box-shadow .22s ease, transform .22s ease;
}
/* dunkler und weißer Button: dasselbe Prinzip */
.btn-dark, .btn-dark:hover { background-color: #0b130f !important; background-image: linear-gradient(135deg, #3a4c41 0%, var(--ink) 50%, #0b130f 100%) !important; background-size: 190% 190% !important; background-repeat: no-repeat !important; background-position: 0% 0% !important; }
.btn-dark:hover { background-position: 100% 100% !important; }
.btn-white, .btn-white:hover { background-color: #fff !important; background-image: linear-gradient(135deg, #fff 0%, #f2f6ee 45%, #dfe8dc 100%) !important; background-size: 190% 190% !important; background-repeat: no-repeat !important; background-position: 0% 0% !important; }
.btn-white:hover { background-position: 100% 100% !important; }
.btn-dark, .btn-white { transition: background-position .5s ease, color .22s ease, box-shadow .22s ease, transform .22s ease; }

/* Aktuelles: kompakte Karten – nur Bild, Titel und "Mehr lesen" */
.news-section .insight-card { position: relative; border-radius: 22px; }
.news-section .insight-card img { height: 168px; }
.news-section .insight-body { padding: 16px 20px 18px; }
.news-section .insight-body h3 { margin-top: 0; font-size: 19px; line-height: 1.25; }
.news-section .insight-body p, .news-section .insight-meta span:not(.chip) { display: none; }
.news-section .insight-meta { position: absolute; top: 12px; left: 12px; margin: 0; }
.news-section .insight-meta .chip { background: rgba(255, 255, 255, .92); color: var(--deep); box-shadow: 0 4px 10px -6px rgba(0, 0, 0, .5); }
.news-section .insight-more { margin-top: 8px; }
.news-section .insight-grid { gap: 18px; margin-top: 28px; }

/* Footer: Link zum internen Bereich, gelb hervorgehoben */
.footer-bottom .links { align-items: center; flex-wrap: wrap; }
.footer-intern, .footer-bottom .links a.footer-intern {
  display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px; border-radius: 999px; font-weight: 800; font-size: 14.5px; color: #2a2108;
  background: linear-gradient(135deg, #ffe08a 0%, #ffc83d 55%, #f2b01f 100%); box-shadow: 0 8px 18px -10px rgba(255, 200, 61, .9);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.footer-intern svg { width: 15px; height: 15px; }
.footer-intern:hover, .footer-bottom .links a.footer-intern:hover { color: #2a2108; transform: translateY(-2px); filter: brightness(1.05); box-shadow: 0 12px 22px -10px rgba(255, 200, 61, 1); }

/* Demo-Hinweis im Erfolgs-Panel des Formulars */
.form-demo { margin-top: 12px; padding: 12px 14px; border-radius: 14px; background: #fff3c9; border: 1px solid #ecc766; color: #4a3708; font-size: 14.5px; line-height: 1.55; }
.form-demo a { color: #4a3708; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }

/* Instagram-Karten: liegen als Stapel übereinander, schieben sich beim Einscrollen auseinander und beim Zurückscrollen wieder zusammen */
.ig-posts.js-fan .ig-post {
  will-change: translate, rotate; /* kein Einblenden: der Stapel liegt von Anfang an auf der Seite */
  transition-property: translate, rotate, scale, opacity, transform, box-shadow;
  transition-duration: .8s, .8s, .8s, .7s, .3s, .3s;                 /* Zusammenlegen: zügig, ohne Verzögerung – man soll es beim Zurückscrollen sehen */
  transition-timing-function: cubic-bezier(.65, 0, .35, 1), cubic-bezier(.65, 0, .35, 1), cubic-bezier(.65, 0, .35, 1), ease, var(--ease), var(--ease);
  transition-delay: 0s;
}
.ig-posts.js-fan .ig-post.p2 { z-index: 3; translate: 0 34px; scale: .98; }
.ig-posts.js-fan .ig-post.p1 { z-index: 2; translate: calc(100% + 14px) 20px; rotate: -6deg; scale: .96; }
.ig-posts.js-fan .ig-post.p3 { z-index: 1; translate: calc(-100% - 14px) 20px; rotate: 6deg; scale: .96; }
.ig-posts.js-fan.is-in .ig-post { opacity: 1; translate: 0 0; rotate: 0deg; scale: 1; transition-duration: 1.1s, 1.1s, 1.1s, .7s, .3s, .3s; transition-timing-function: cubic-bezier(.22, 1, .36, 1), cubic-bezier(.22, 1, .36, 1), cubic-bezier(.22, 1, .36, 1), ease, var(--ease), var(--ease); }
.ig-posts.js-fan.is-in .ig-post.p1 { transition-delay: .08s, .08s, .08s, 0s, 0s, 0s; }
.ig-posts.js-fan.is-in .ig-post.p3 { transition-delay: .16s, .16s, .16s, 0s, 0s, 0s; }
/* Handy: nur der gestapelte Ausgangszustand – sonst überschreibt diese Regel das Auffächern (is-in) und die Karten blieben übereinander */
@media (max-width: 420px) { .ig-posts.js-fan:not(.is-in) .ig-post.p1 { translate: calc(100% + 8px) 20px; } .ig-posts.js-fan:not(.is-in) .ig-post.p3 { translate: calc(-100% - 8px) 20px; } }

/* Hero: unten weich ins Creme auslaufen lassen, die Kita-Kacheln liegen zunächst unter dem Hero und schieben sich beim Scrollen hinein */
/* Übergang Hero → Kita-Karten: keine Nebelkante mehr, sondern eine klare, abgerundete Creme-Fläche, die sich über das Video schiebt */
.hero-backdrop { position: fixed; inset: 0; z-index: 0; pointer-events: none; background: #0d1f16; }
/* Die Creme-Fläche bleibt beim Scrollen an ihrem Platz (statisch); nur die Inhalte ab den Kita-Kacheln steigen etwas schneller auf */
.after-hero { background: transparent; }
.after-hero { --sheet-r: clamp(26px, 3.2vw, 46px); }
.after-hero::before {
  content: ""; position: absolute; left: 0; right: 0; top: calc(-1 * var(--sheet-r)); bottom: 0; z-index: -1; pointer-events: none;
  background: var(--cream); border-radius: var(--sheet-r) var(--sheet-r) 0 0;
  box-shadow: 0 -14px 36px -22px rgba(6, 16, 11, .55);
  transform: translate3d(0, var(--cs, 0px), 0);
}

/* "Darum entscheiden sich Familien": Überschrift bleibt oben, Liste und Bild füllen die verfügbare Höhe der Box */
.kd-card-why { display: flex; flex-direction: column; }
.kd-card-why .kd-why-body { flex: 1; align-items: stretch; grid-template-columns: minmax(0, 1.05fr) minmax(190px, 40%); gap: 28px; }
.kd-card-why .checks { align-content: space-evenly; gap: 12px; }
.kd-card-why .checks li { font-size: 17.5px; line-height: 1.45; padding-left: 40px; }
.kd-card-why .checks li::before { width: 26px; height: 26px; top: 0; }
.kd-card-why .kd-why-img { aspect-ratio: auto; height: 100%; min-height: 280px; }
@media (max-width: 900px) { .kd-card-why .kd-why-body { grid-template-columns: minmax(0, 1.05fr) minmax(170px, 38%); } }
@media (max-width: 640px) { .kd-card-why .kd-why-body { grid-template-columns: 1fr; } .kd-card-why .kd-why-img { height: auto; aspect-ratio: 16 / 10; min-height: 0; } }

/* Startseite: mehr Luft zwischen den Sektionen */
.news-section { padding-top: clamp(84px, 11vw, 136px); padding-bottom: clamp(24px, 3vw, 44px); }
.ig-section { padding-top: clamp(68px, 9vw, 104px); padding-bottom: clamp(20px, 2.5vw, 32px); }
.jobs-band { margin-top: clamp(64px, 9vw, 112px); }
.faq-section { padding-top: clamp(80px, 10vw, 128px); padding-bottom: clamp(48px, 6vw, 80px); }

/* ============================================================
   Startseiten-Header: stufenlos durchscheinend, Helligkeit folgt dem Hintergrund (--hl 0…1, per JS)
   ============================================================ */
body.has-hero .site-header {
  --hl: 0;
  --h-fg: color-mix(in srgb, var(--ink) calc(var(--hl) * 100%), var(--cream));
  --h-hover: color-mix(in srgb, #e7e2d7 calc(var(--hl) * 100%), rgba(255, 255, 255, .18));
  --h-line: color-mix(in srgb, var(--cream-border) calc(var(--hl) * 100%), rgba(255, 255, 255, .18));
  background: rgba(245, 239, 227, calc(var(--hl) * .5));
  border-bottom-color: var(--h-line);
  backdrop-filter: blur(calc(var(--hl) * 14px)) saturate(calc(1 + var(--hl) * .2));
  -webkit-backdrop-filter: blur(calc(var(--hl) * 14px)) saturate(calc(1 + var(--hl) * .2));
  transition: none;
}
body.has-hero .site-header::before { opacity: calc(1 - var(--hl)); transition: none; }
body.has-hero .site-header .nav-link,
body.has-hero .site-header .lang-switch button:not(.is-active) { color: var(--h-fg); text-shadow: 0 1px 8px rgba(0, 0, 0, calc(.45 * (1 - var(--hl)))); transition: background .2s ease; }
body.has-hero .site-header .nav-link:hover { background: var(--h-hover); color: var(--h-fg); }
body.has-hero .site-header .nav-cta, body.has-hero .site-header .nav-cta:hover { color: #fff; text-shadow: none; }
body.has-hero .site-header .lang-switch {
  background: color-mix(in srgb, #f0ece1 calc(var(--hl) * 100%), rgba(255, 255, 255, .16));
  border-color: color-mix(in srgb, #e3d9c4 calc(var(--hl) * 100%), rgba(255, 255, 255, .35));
  transition: none;
}
body.has-hero .site-header .lang-switch button:not(.is-active):hover { background: var(--h-hover); }
body.has-hero .site-header .nav-toggle { color: var(--h-fg); border-color: color-mix(in srgb, #d8d2c2 calc(var(--hl) * 100%), rgba(255, 255, 255, .5)); }
@media (min-width: 901px) {
  body.has-hero .site-header .nav-cluster::before,
  body.has-hero .header-bar.is-pinned .nav-cluster::before {
    background: rgba(255, 255, 255, calc(.13 + var(--hl) * .3));
    border: 1px solid color-mix(in srgb, #e3ded2 calc(var(--hl) * 100%), rgba(255, 255, 255, .3));
    box-shadow: 0 10px 28px -16px rgba(0, 0, 0, calc(.5 - var(--hl) * .15)), inset 0 1px 0 rgba(255, 255, 255, calc(.22 + var(--hl) * .4));
    backdrop-filter: blur(14px) saturate(1.25); -webkit-backdrop-filter: blur(14px) saturate(1.25);
  }
}

/* Handy: Ein backdrop-filter am Header würde das ausgeklappte Menü (position: fixed) auf Header-Höhe einsperren – beim Öffnen deshalb abschalten */
@media (max-width: 900px) {
  body.nav-open.has-hero .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(245, 239, 227, var(--hl)); }
}

/* Handy: Einrichtungs-Kacheln nebeneinander, seitlich wischen (Scroll-Snap), nächste Kachel schaut an. */
.fac-dots { display: none; }
@media (max-width: 600px) {
  .fac-grid {
    display: flex; gap: 14px; overflow-x: auto; overflow-y: hidden;
    scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
    -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; scrollbar-width: none;
    margin: 0 calc(-1 * var(--gutter)) -30px; padding: 6px var(--gutter) 72px;   /* unten genug Platz, damit der Schatten nicht an einer harten Kante abgeschnitten wird */
  }
  .fac-grid::-webkit-scrollbar { display: none; }
  .fac-card { flex: 0 0 80%; min-width: 0; scroll-snap-align: start; scroll-snap-stop: always; }
  .fac-card, .fac-card:hover { transform: none; box-shadow: 0 20px 32px -22px rgba(10, 20, 14, .5); }  /* ruhiger Schatten, der komplett in den Scrollbereich passt */
  .fac-dots { display: flex; justify-content: center; gap: 8px; margin: -14px 0 6px; }
  .fac-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: rgba(18, 48, 31, .22); cursor: pointer; transition: width .3s ease, background-color .3s ease; }
  .fac-dots button.is-on { width: 24px; background: var(--green); }
}

/* Handy: Neuigkeiten ebenfalls nebeneinander wischen (wie die Einrichtungen) */
@media (min-width: 641px) { .news-dots { display: none !important; } }
@media (max-width: 640px) {
  .news-section .insight-grid {
    display: flex; gap: 14px; overflow-x: auto; overflow-y: hidden;
    scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
    -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; scrollbar-width: none;
    margin: 28px calc(-1 * var(--gutter)) -30px; padding: 6px var(--gutter) 64px;
  }
  .news-section .insight-grid::-webkit-scrollbar { display: none; }
  .news-section .insight-card { flex: 0 0 80%; min-width: 0; scroll-snap-align: start; scroll-snap-stop: always; }
  .news-section .insight-card, .news-section .insight-card:hover { transform: none; box-shadow: 0 16px 28px -20px rgba(20, 32, 26, .42); }
  .news-dots { display: flex; margin-top: -10px; }
}

/* Handy: Beim Öffnen des Menüs wird auch die Header-Leiste sanft hell (Beige wie das Menü), beim Schließen wieder zurück */
@property --hl { syntax: "<number>"; inherits: true; initial-value: 0; }
.site-header.is-toggling { transition: --hl .4s ease !important; }
@media (max-width: 900px) {
  body.nav-open.has-hero .site-header { --hl: 1 !important; }
}

/* Handy: „Unsere KITAs entdecken“ als leiser Textlink statt zweiter großer Button */
@media (max-width: 640px) {
  .hero-actions { gap: 18px 8px; flex-direction: column; align-items: flex-start; }
  .hero-actions .btn.btn-ghost-light,
  .hero-actions .btn.btn-ghost-light:hover,
  .hero-actions .btn.btn-ghost-light:active {
    border: 0; background: transparent; box-shadow: none; transform: none;
    padding: 10px 2px; min-height: 0; font-size: 16px; font-weight: 600; letter-spacing: 0;
    color: rgba(245, 239, 227, .88);
    text-decoration: none;
  }
  .hero-actions .btn.btn-ghost-light::after { content: "↓"; display: inline-block; margin-left: 8px; opacity: .7; }
  .hero-actions .btn.btn-ghost-light:hover { color: #fff; }
}

/* Handy: Hero-Text mit Buttons sitzt weiter unten im Bild (mehr Luft zum Header, Blick aufs Video) */
@media (max-width: 640px) {
  .hero { align-items: flex-end; }
  .hero-content { padding-bottom: clamp(84px, 13vh, 120px); }
}

/* Handy: Die neue Headline ist länger – etwas kleiner, damit jeder Satz in einer Zeile bleibt */
@media (max-width: 640px) { .hero-content h1 { font-size: clamp(30px, 8.4vw, 40px); } }

/* Schließzeiten je KITA (Kontaktkarte) */
.kd-contact-card .v[data-closing] { min-height: 0; }
.cl-year { margin: 10px 0 4px; font-size: 12.5px; font-weight: 700; letter-spacing: .08em; color: var(--kp, var(--green)); }
.cl-year:first-child { margin-top: 2px; }
.cl-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.cl-list li { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 2px 16px; padding: 8px 0; border-top: 1px solid color-mix(in srgb, var(--kp, var(--green)) 14%, #e9e4d6); }
.cl-list li:first-child { border-top: 0; }
.cl-l { font-weight: 700; color: var(--deep); }
.cl-d { color: var(--ink-soft); font-size: 15px; white-space: nowrap; }
.cl-note { margin: 8px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--ink-soft); }
.cl-note.is-example { display: inline-block; padding: 3px 10px; border-radius: 999px; background: #ffe9a8; color: #5a4300; font-weight: 600; }
.faq-links { display: inline-flex; flex-wrap: wrap; gap: 6px 10px; margin-top: 10px; }
.faq-links a { font-weight: 700; color: var(--green-dark); padding: 6px 14px; border-radius: 999px; background: #eef4e6; text-decoration: none; transition: background-color .2s; }
.faq-links a:hover { background: #dcebd0; }

/* KITA-Gutschein: Hinweis bei „Nein“ (Auswahl, Prüfen-Schritt, nach dem Absenden) */
.voucher-hint, .voucher-note { padding: 12px 14px; border-radius: 14px; background: #eaf5ee; border: 1px solid #bcdcc7; color: #14472a; font-size: 14.5px; line-height: 1.6; }
.voucher-hint[hidden], .voucher-note[hidden] { display: none; }
.voucher-hint a, .voucher-note a { display: inline-block; margin-top: 2px; font-weight: 800; color: var(--green-dark); text-decoration: underline; text-underline-offset: 3px; }
.voucher-note { margin-top: 14px; }
.voucher-after { margin-top: 12px; }
body.kita .voucher-hint, body.kita .voucher-note { background: color-mix(in srgb, var(--kb) 55%, #fff); border-color: color-mix(in srgb, var(--kp) 30%, #fff); color: var(--kd); }
body.kita .voucher-hint a, body.kita .voucher-note a { color: var(--kd); }
.legal-more h2:not(:first-child) { margin-top: 22px; }
.legal-more p a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }

/* Handy: ruhiger Hero. Kein Skript pro Scroll-Bild – der Inhalt schiebt sich nativ über den festgepinnten Hero (kein Wackeln).
   Wo der Browser scrollgesteuerte CSS-Animationen kann, bekommen Text und Video einen leichten Tiefeneffekt (läuft im Compositor). */
@media (max-width: 900px) {
  .hero { will-change: auto; transform: none; -webkit-mask-image: none; mask-image: none; }
  .hero-content { will-change: auto; }
  .after-hero { margin-bottom: 0; will-change: auto; transform: none; }
  @supports (animation-timeline: scroll()) {
    @keyframes j1HeroTextOut { 0% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translate3d(0, -22px, 0); } }
    @keyframes j1HeroMediaZoom { to { transform: scale(1.1); } }
    .hero-content { animation: j1HeroTextOut linear both; animation-timeline: scroll(root); animation-range: 3vh 50vh; }
    .hero-media { animation: j1HeroMediaZoom linear both; animation-timeline: scroll(root); animation-range: 0 85vh; }
  }
}

/* E-Mail-Adresse erst nach Klick anzeigen (Schutz vor automatischem Auslesen, siehe js/mail.js) */
.mail-reveal { font: inherit; font-weight: 600; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-align: left; text-decoration: underline; text-decoration-style: dotted; text-underline-offset: 4px; transition: opacity .2s; }
.mail-reveal:hover { opacity: .8; text-decoration-style: solid; }
.mail-reveal:focus-visible { outline: 3px solid color-mix(in srgb, currentColor 40%, transparent); outline-offset: 3px; border-radius: 6px; }
.kd-contact-card .row .mail-reveal { color: var(--kp, var(--green)); }

/* Hero: kleine Überschrift mit Strich + Schriftkontrast (erste Zeile kräftig, zweite Zeile leichter) */
.hero-eyebrow { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; font-size: 13.5px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: rgba(245, 239, 227, .92); text-shadow: 0 1px 10px rgba(0, 0, 0, .4); }
.hero-eyebrow-line { flex: none; width: 52px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, #8fd0a9, rgba(245, 239, 227, .9)); box-shadow: 0 0 12px rgba(143, 208, 169, .45); }
.hero-content h1 { font-weight: 500; color: rgba(245, 239, 227, .9); letter-spacing: -.025em; }
.hero-content h1::first-line { font-weight: 800; color: #fff; letter-spacing: -.03em; }
@media (max-width: 640px) {
  .hero-eyebrow { font-size: 11.5px; letter-spacing: .2em; gap: 10px; margin-bottom: 16px; }
  .hero-eyebrow-line { width: 34px; }
}


/* ---------- Kita-Karten: Adresse + Entfernung, Suchleiste ---------- */
.fac-addr { display: inline-flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 4px 6px; margin-top: 2px; font-size: 13.5px; line-height: 1.4; color: var(--ink-soft); }
.fac-addr svg { width: 15px; height: 15px; flex: none; color: var(--acc, var(--green)); }
.fac-addr b { font-weight: 700; color: var(--deep); }
.fac-dist { align-self: center; margin-top: 8px; padding: 5px 13px; border-radius: 999px; font-size: 13.5px; font-weight: 800; letter-spacing: .01em; color: #fff; background: var(--acc, var(--green)); }
.fac-dist[hidden] { display: none; }
.fac-card.is-nearest { outline: 3px solid var(--acc, var(--green)); outline-offset: 4px; }

.kita-search { max-width: 760px; margin: clamp(30px, 4vw, 48px) auto 0; text-align: center; }
.ks-label { display: block; margin-bottom: 12px; font-size: 15px; font-weight: 700; color: var(--deep); }
.ks-pill { display: flex; align-items: center; gap: 8px; padding: 7px 7px 7px 20px; border-radius: 999px; background: #fff; border: 1.5px solid var(--cream-border-2); box-shadow: 0 18px 34px -22px rgba(20, 32, 26, .5); transition: border-color .2s, box-shadow .2s; }
.ks-pill:focus-within { border-color: var(--green); box-shadow: 0 0 0 4px rgba(26, 127, 69, .14), 0 18px 34px -22px rgba(20, 32, 26, .5); }
.ks-pill > svg { width: 21px; height: 21px; flex: none; color: var(--ink-soft); }
.ks-pill input { flex: 1; min-width: 0; padding: 12px 6px; border: 0; background: transparent; font: inherit; font-size: 16.5px; color: var(--deep); outline: none; }
.ks-pill input::placeholder { color: #8b9189; }
.ks-go { flex: none; padding: 13px 22px; border: 0; border-radius: 999px; cursor: pointer; font: inherit; font-weight: 800; font-size: 15px; color: #fff; background-color: var(--green); background-image: var(--grad-green); background-size: 190% 190%; background-position: 0 0; box-shadow: var(--shadow-green); transition: background-position .5s ease, transform .2s; }
.ks-go:hover { background-position: 100% 100%; transform: translateY(-1px); }
.ks-go:disabled { opacity: .7; cursor: progress; }
.ks-note { margin: 10px 14px 0; font-size: 12.5px; line-height: 1.5; color: var(--ink-soft); }
/* Ergebnis als Popup (Dialog) */
.ks-pop { width: min(560px, calc(100vw - 24px)); max-height: calc(100vh - 24px); margin: auto; padding: 26px clamp(18px, 3vw, 30px) 16px; border: 1px solid var(--cream-border-3); border-radius: 28px; background: linear-gradient(170deg, #fbf8f0 0%, #fff 55%); color: var(--deep); box-shadow: 0 40px 80px -30px rgba(10, 30, 20, .55); overflow: auto; overscroll-behavior: contain; text-align: left; }
.ks-pop::backdrop { background: rgba(12, 28, 20, .5); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.ks-x { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid color-mix(in srgb, var(--deep) 25%, #fff); background: #fff; color: var(--deep); cursor: pointer; transition: background-color .2s, transform .2s; }
.ks-x:hover { background: #f1ede2; transform: rotate(90deg); }
.ks-x svg { width: 17px; height: 17px; }
.ks-pop .ks-head { padding-right: 46px; }
.ks-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 16px; margin-bottom: 8px; }
.ks-head strong { font-size: 17px; font-weight: 800; color: var(--deep); }
.ks-head span { font-size: 13.5px; color: var(--ink-soft); }
.ks-list { list-style: none; margin: 0; padding: 0; }
.ks-row { display: grid; grid-template-columns: 14px minmax(0, 1fr) auto auto; align-items: center; gap: 4px 16px; padding: 14px 4px; border-top: 1px solid #efeadc; }
.ks-row:first-child { border-top: 0; }
.ks-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--c); }
.ks-who b { display: block; font-size: 17px; font-weight: 800; color: var(--deep); letter-spacing: -.01em; }
.ks-who small { display: block; font-size: 13.5px; color: var(--ink-soft); }
.ks-row.is-best .ks-who small { color: var(--c); font-weight: 700; }
.ks-dist { font-size: 20px; font-weight: 800; letter-spacing: -.01em; color: var(--deep); font-variant-numeric: tabular-nums; white-space: nowrap; }
.ks-row.is-best .ks-dist { color: var(--c); }
.ks-link { font-size: 14.5px; font-weight: 700; color: var(--c); white-space: nowrap; }
.ks-link:hover { text-decoration: underline; text-underline-offset: 4px; color: var(--c); }
.ks-err { margin: 10px 14px 0; color: #9d1d1d; font-weight: 700; font-size: 14.5px; line-height: 1.5; }
.ks-err[hidden] { display: none; }
@media (max-width: 640px) {
  .ks-pill { flex-wrap: wrap; border-radius: 26px; padding: 10px 12px 12px 16px; }
  .ks-pill input { flex: 1 1 calc(100% - 40px); }
  .ks-go { width: 100%; }
  .ks-row { grid-template-columns: 14px minmax(0, 1fr) auto; }
  .ks-link { grid-column: 2 / -1; }
}
.fac-addr em { flex-basis: 100%; font-style: normal; text-align: center; }
@media (max-width: 640px) {
  .ks-pop { padding: 22px 14px 10px; border-radius: 22px; }
  .ks-row { gap: 2px 12px; padding: 12px 2px; }
  .ks-who b { font-size: 15.5px; }
  .ks-dist { font-size: 16.5px; }
  .ks-head strong { font-size: 16px; }
}


/* ---------- Bildergalerie (Startseite): fokussiertes Bild in der Mitte, vorheriges und nächstes schauen links und rechts heraus ---------- */
.gal-section { max-width: var(--maxw); margin: 0 auto; padding: clamp(60px, 7vw, 92px) var(--gutter) 24px; }
.gal { --h: clamp(300px, calc(100svh - 330px), 640px); --fw: min(calc(var(--h) * 1.6), 72%); margin-top: 28px; }
.gal-stage { position: relative; width: 100%; height: calc(var(--h) + 72px); overflow: hidden;   /* 72px Reserve unter den Bildern, damit der Schatten nicht abgeschnitten wird */ cursor: pointer; outline-offset: 4px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%); }
.gal-stage:focus-visible { outline: 3px solid color-mix(in srgb, var(--green) 55%, transparent); }
.gal-slide {
  --o: 0; position: absolute; top: 0; bottom: var(--sp, 72px); left: 50%; width: var(--fw); margin: 0; border-radius: 26px; overflow: hidden; background: #e8e2d2;
  transform: translateX(calc(-50% + var(--o) * (var(--fw) + 22px))) scale(.86);
  opacity: 0; filter: saturate(.8); pointer-events: none; box-shadow: var(--shadow-soft);
  transition: transform .9s cubic-bezier(.22, 1, .36, 1), opacity .7s ease, filter .7s ease;
}
.gal-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gal-slide.is-prev, .gal-slide.is-next { opacity: .62; pointer-events: auto; cursor: pointer; }
.gal-slide.is-prev:hover, .gal-slide.is-next:hover { opacity: .85; }
.gal-slide.is-on { transform: translateX(-50%) scale(1); opacity: 1; filter: none; z-index: 2; box-shadow: 0 30px 50px -26px rgba(10, 30, 20, .5); }
.gal-nav { position: absolute; top: 50%; translate: 0 -50%; z-index: 4; width: 52px; height: 52px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--deep); cursor: pointer; box-shadow: 0 12px 24px -12px rgba(0, 0, 0, .5); transition: transform .25s var(--ease), background-color .2s; }
.gal-nav:hover { background: #fff; transform: scale(1.08); }
.gal-nav svg { width: 22px; height: 22px; }
.gal-prev { left: calc(50% - var(--fw) / 2 + 16px); }
.gal-next { right: calc(50% - var(--fw) / 2 + 16px); }
.gal-cap { position: relative; z-index: 3; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; width: var(--fw); margin: -34px auto 0; padding: 0 4px; }
.gal-cap-main { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.gal-cap-dot { width: 14px; height: 14px; border-radius: 50%; flex: none; transition: background-color .4s; }
.gal-cap-main strong { display: block; font-size: 19px; font-weight: 800; letter-spacing: -.01em; color: var(--deep); line-height: 1.2; }
.gal-cap-main span { display: block; font-size: 14.5px; color: var(--ink-soft); }
.gal-cap-link { font-weight: 700; font-size: 15.5px; color: var(--c, var(--green-dark)); }
.gal-cap-link:hover { text-decoration: underline; text-underline-offset: 4px; color: var(--c, var(--green-dark)); }
.gal-count { font-size: 14.5px; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.gal-count b { color: var(--deep); font-weight: 800; }
.gal-dots { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 18px; }
.gal-dot { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 999px; background: rgba(18, 48, 31, .2); cursor: pointer; transition: width .3s ease, background-color .3s ease; }
.gal-dot.is-on { width: 26px; background: var(--green); }
@media (min-width: 901px) {
  .gal-section .section-head { max-width: none; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 30em); gap: 6px 48px; align-items: end; }
  .gal-section .section-head .eyebrow { grid-column: 1; }
  .gal-section .section-head .section-title { grid-column: 1; margin: 4px 0 0; font-size: clamp(28px, 3.2vw, 40px); }
  .gal-section .section-head .section-lede { grid-column: 2; grid-row: 1 / span 2; margin: 0; font-size: 16.5px; line-height: 1.55; }
}
@media (max-width: 900px) {
  .gal { --fw: 78%; }
  .gal { --sp: 13.5%; }
  .gal-stage { height: auto; aspect-ratio: 100 / 74; }
  .gal-slide { border-radius: 20px; }
  .gal-nav { width: 42px; height: 42px; } .gal-prev { left: calc(11% + 10px); } .gal-next { right: calc(11% + 10px); }
  .gal-cap-main strong { font-size: 17px; }
  .gal-cap { margin-top: -14px; }
}
@media (prefers-reduced-motion: reduce) { .gal-slide { transition: opacity .01s; } }
/* Die drei Beitragskarten sind reine Vorschaubilder (keine Links) */
.ig-post { cursor: default; }
.ig-post:hover { transform: none; box-shadow: 0 12px 24px -18px rgba(20, 32, 26, .4); }

/* Galerie auf den Kita-Seiten: Hochformat-Bilder als hohe Kacheln (nicht in 4:3 beschneiden) */
.kd-gal-track { align-items: center; }
.kd-thumb.is-portrait { flex-basis: clamp(150px, 16vw, 205px); }
.kd-thumb.is-portrait img { aspect-ratio: 3 / 4; }
.kd-thumb img { height: auto; }   /* width/height-Attribute sollen nur das Seitenverhältnis liefern, nicht die Höhe festlegen */
