/* ============================================================
   Happy Kids gGmbH — stylesheet
   ============================================================ */

:root {
  --cream: #F5EBD9;
  --cream-2: #FFFDF8;
  --cream-border: #E4D6B8;
  --ink: #203243;
  --ink-soft: #4C5C6B;
  --ink-faint: #838F97;
  --deep: #1B2A38;
  --deep-2: #223549;
  --deep-3: #2A415A;
  --sage: #606E5C;
  --sage-dark: #4A5649;
  --sage-light: #8B9A82;
  --sage-pale: #DCE3D6;
  --sage-soft: rgba(96, 110, 92, .14);
  --sage-soft-2: rgba(96, 110, 92, .28);
  --gold: #CA9641;
  --gold-dark: #AD7D30;
  --gold-soft: rgba(202, 150, 65, .16);
  --line: rgba(32, 50, 67, .14);
  --shadow-soft: 0 10px 24px -16px rgba(32, 50, 67, .35);
  --shadow-strong: 0 26px 46px -20px rgba(32, 50, 67, .4);
  --ease: cubic-bezier(.2, .7, .3, 1);
  --maxw: 1480px;
  --maxw-text: 1180px;
  --gutter: clamp(20px, 4vw, 64px);
  --radius-full: 999px;
}

/* ---------- Reset ---------- */
* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  color-scheme: light;
  overflow-x: hidden;
  width: 100%;
}
body {
  margin: 0;
  width: 100%;
  position: relative;
  background: var(--cream);
  color: var(--ink);
  font-family: 'Nunito', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}
body.no-scroll { position: fixed; left: 0; right: 0; overflow: hidden; }
img, video { max-width: 100%; display: block; }
a { color: var(--sage-dark); text-decoration: none; }
a:hover { color: var(--sage); }
h1, h2, h3, p { margin: 0; }
button { font-family: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

h1, h2, h3, .brand-text strong, .btn, .stat-num, .kita-card-name {
  font-family: 'Fredoka', 'Nunito', system-ui, sans-serif;
}

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

/* ---------- Language switching ----------
   Text content itself is swapped in JS (applyLang); no CSS visibility toggling needed. */

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

/* ---------- Leaf-mark motif (sun + two leaves) — real icon asset, split into 3 clipped layers ---------- */
.leaf-mark { position: relative; display: inline-block; width: 44px; aspect-ratio: 818 / 578; }
.leaf-mark.lg { width: 68px; }
.leaf-mark .lm-part {
  position: absolute; inset: 0;
  background-image: url("../images/icon-mark-tight.png");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(.4);
  transition: opacity .32s var(--ease), transform .32s var(--ease);
}
.leaf-mark .lm-sun { clip-path: inset(0% 0% 48% 0%); }
.leaf-mark .lm-leaf-l { clip-path: inset(40% 50% 0% 0%); }
.leaf-mark .lm-leaf-r { clip-path: inset(40% 0% 0% 50%); }
.leaf-mark.is-visible .lm-sun { opacity: 1; transform: none; transition-delay: 0s; }
.leaf-mark.is-visible .lm-leaf-l { opacity: 1; transform: none; transition-delay: .3s; }
.leaf-mark.is-visible .lm-leaf-r { opacity: 1; transform: none; transition-delay: .6s; }
[data-reveal] { transition-delay: calc(var(--rd, 0s) + .32s); }
.section-mark { position: absolute; top: 18px; right: clamp(16px, 4vw, 56px); width: 46px; z-index: 1; pointer-events: none; }
.section-mark.left { right: auto; left: clamp(16px, 4vw, 56px); }
.leaf-mark.heading-mark { display: block; margin: 0 auto 14px; width: 38px; }
.leaf-mark.tone-white .lm-part { filter: brightness(0) invert(1) opacity(.85); }

/* ---------- Background leaf motif (large, low-opacity, decorative) ---------- */
.bg-leaves { position: absolute; z-index: 0; pointer-events: none; color: var(--sage); opacity: .07; }
.bg-leaves svg { display: block; width: 100%; height: 100%; }
.bg-leaves.on-dark { color: var(--sage-light); opacity: .12; }

/* ============================================================
   Intro splash
   ============================================================ */
#intro {
  position: fixed; inset: 0; z-index: 500;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: var(--cream);
  animation: introFade 2.5s var(--ease) forwards;
}
html.intro-skip #intro { display: none; }
#intro .intro-logo-wrap { position: relative; width: min(56vw, 380px); }
#intro .intro-logo-wrap img { width: 100%; height: auto; opacity: 0; animation: introLogo .9s var(--ease) forwards; }
#introIconMark { position: absolute; left: 67.5%; top: 17.333%; width: 12.5%; height: 21.333%; aspect-ratio: auto; }
#intro .intro-skip {
  position: absolute; bottom: 30px; border: none; background: none; color: var(--ink-faint);
  font-size: 13px; font-weight: 700; letter-spacing: .06em; cursor: pointer; padding: 8px 14px;
}
@keyframes introLogo { 0% { opacity: 0; transform: translateY(16px); } 100% { opacity: 1; transform: none; } }
@keyframes introFade { 0%, 80% { opacity: 1; visibility: visible; } 100% { opacity: 0; visibility: hidden; } }

/* Hero content reveals right after the intro finishes (first visit only) */
html:not(.intro-skip) .hero-content .leaf-mark,
html:not(.intro-skip) .hero-content h1,
html:not(.intro-skip) .hero-content > p,
html:not(.intro-skip) .hero-content .hero-actions {
  opacity: 0;
  animation: heroReveal .7s var(--ease) forwards;
}
html:not(.intro-skip) .hero-content .leaf-mark { animation-delay: 1.85s; }
html:not(.intro-skip) .hero-content h1 { animation-delay: 2s; }
html:not(.intro-skip) .hero-content > p { animation-delay: 2.15s; }
html:not(.intro-skip) .hero-content .hero-actions { animation-delay: 2.3s; }
@keyframes heroReveal { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ============================================================
   Header
   ============================================================ */
header.site-header {
  position: fixed; top: 16px; left: 20px; right: 20px; z-index: 200;
  display: flex; justify-content: center;
}
.header-bar {
  width: 100%; max-width: var(--maxw);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 10px 24px;
  border-radius: var(--radius-full);
  background: rgba(245, 235, 217, .92);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px -18px rgba(32, 50, 67, .3);
  transition: padding .3s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease), max-width .35s var(--ease);
}
header.site-header.scrolled .header-bar {
  max-width: 880px;
  padding: 7px 20px;
  background: rgba(245, 235, 217, .52);
  box-shadow: 0 10px 30px -14px rgba(32, 50, 67, .38);
}
@media (max-width: 480px) { header.site-header { left: 10px; right: 10px; } }
.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand img { height: 50px; width: auto; transition: height .3s var(--ease); }
header.site-header.scrolled .brand img { height: 40px; }

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a { padding: 10px 14px; border-radius: var(--radius-full); font-weight: 700; font-size: .94rem; color: var(--ink-soft); transition: background .2s, color .2s; }
.main-nav a:hover { background: var(--sage-soft); color: var(--ink); }

.header-side { display: flex; align-items: center; gap: 12px; flex: none; }
.lang-switch { display: flex; align-items: center; gap: 2px; padding: 3px; border-radius: var(--radius-full); background: var(--cream-2); border: 1px solid var(--cream-border); }
.lang-switch button { border: none; background: transparent; color: var(--ink-soft); padding: 6px 12px; border-radius: var(--radius-full); font-size: 12.5px; font-weight: 800; letter-spacing: .03em; cursor: pointer; }
.lang-switch button.is-active { background: var(--sage); color: #fff; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 24px; border-radius: var(--radius-full); font-weight: 700; font-size: 15.5px; cursor: pointer; border: none; white-space: nowrap; transition: background .2s, color .2s, transform .2s, box-shadow .2s; }
.btn-primary { background: var(--gold); color: #fff; box-shadow: 0 10px 22px -10px rgba(202, 150, 65, .6); }
.btn-primary:hover { background: var(--gold-dark); color: #fff; transform: translateY(-2px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--deep); color: #fff; }
.btn-outline { border: 1.5px solid var(--line); color: var(--ink); background: transparent; }
.btn-outline:hover { border-color: var(--ink); }
.btn-ghost-light { border: 1.5px solid rgba(255, 255, 255, .75); color: #fff; background: transparent; }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .16); color: #fff; }
.btn-white { background: #fff; color: var(--sage-dark); }
.btn-white:hover { background: #fef8ec; color: var(--sage-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; }

.menu-toggle { width: 44px; height: 44px; border-radius: 50%; display: none; align-items: center; justify-content: center; flex-direction: column; gap: 5px; flex: none; background: var(--cream-2); border: 1px solid var(--cream-border); cursor: pointer; }
.menu-toggle span { width: 18px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .25s var(--ease), opacity .25s var(--ease); }
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 960px) {
  .main-nav { display: none; }
  .menu-toggle { display: flex; }
}
@media (max-width: 400px) { .header-side .btn { display: none; } }

/* Off-canvas mobile menu */
#offcanvas {
  position: fixed; inset: 0; z-index: 190;
  background: rgba(27, 42, 56, .5);
  opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s var(--ease);
}
#offcanvas.open { opacity: 1; visibility: visible; }
#offcanvas .panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(84vw, 360px);
  background: var(--cream); padding: 100px 28px 32px; display: flex; flex-direction: column; gap: 6px;
  transform: translateX(100%); transition: transform .35s var(--ease);
  box-shadow: -20px 0 50px -20px rgba(0, 0, 0, .3);
}
#offcanvas.open .panel { transform: none; }
#offcanvas a { display: block; padding: 14px 6px; font-weight: 700; font-size: 1.05rem; color: var(--ink); border-bottom: 1px solid var(--line); }
#offcanvas .btn { margin-top: 18px; }

/* ============================================================
   Hero
   ============================================================ */
.hero { position: relative; min-height: min(84vh, 720px); display: flex; align-items: center; overflow: hidden; }
.hero-media { position: absolute; inset: 0; overflow: hidden; }
.hero-media img, .hero-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-media img { animation: heroPan 32s ease-in-out infinite; }
.hero-scrim { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(27, 40, 53, .92) 0%, rgba(27, 40, 53, .68) 48%, rgba(27, 40, 53, .18) 100%); }
.hero-content { position: relative; width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 140px var(--gutter) 100px; }
.hero-content .leaf-mark { margin-bottom: 22px; }
.hero-content h1 { font-size: clamp(38px, 5.6vw, 66px); font-weight: 700; line-height: 1.05; letter-spacing: -.02em; color: #fff; text-wrap: balance; }
.hero-content p { font-size: 19px; line-height: 1.65; color: #EDE6D6; max-width: 34em; margin-top: 20px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
@keyframes heroPan { 0% { transform: scale(1.08); } 50% { transform: scale(1.16) translate(-1.5%, -1%); } 100% { transform: scale(1.08); } }

/* ============================================================
   Stats band
   ============================================================ */
.stats-band { position: relative; z-index: 2; width: calc(100% - 40px); max-width: var(--maxw); margin: 28px auto 0; background: var(--cream-2); border-radius: 999px; box-shadow: 0 12px 30px -14px rgba(32, 50, 67, .3); }
.stats-band + .kita-content { padding-top: 64px; }
@media (max-width: 720px) { .stats-band { border-radius: 32px; width: calc(100% - 20px); } }
.stats { max-width: none; margin: 0; padding: 18px 56px; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px 40px; }
.stat-num { font-size: clamp(28px, 3.2vw, 40px); font-weight: 700; letter-spacing: -.02em; line-height: 1; color: var(--sage-dark); }
.stat-num.is-gold { color: var(--gold-dark); }
.stat-num.is-text { font-size: clamp(22px, 2.4vw, 28px); line-height: 1.15; }
.stat-label { color: var(--ink-soft); font-size: 14.5px; margin-top: 8px; line-height: 1.5; }

/* ============================================================
   Section headings
   ============================================================ */
.eyebrow { font-size: 13px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--sage-dark); }
.section-title { font-size: clamp(28px, 4vw, 44px); font-weight: 700; letter-spacing: -.02em; line-height: 1.1; margin-top: 14px; color: var(--ink); }
.section-lede { font-size: 17.5px; line-height: 1.7; color: var(--ink-soft); margin: 16px auto 0; max-width: 40em; }

/* ============================================================
   Standorte carousel
   ============================================================ */
.loc-section { position: relative; max-width: var(--maxw); margin: 0 auto; padding: 88px var(--gutter) 80px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 30px; }

.carousel-wrap { position: relative; }
.loc-track { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x proximity; overscroll-behavior-x: contain; scrollbar-width: none; padding: 14px 10px 50px; margin-bottom: -28px; }
.loc-track::-webkit-scrollbar { display: none; }

.loc-card { flex: 0 0 clamp(260px, 30%, 320px); scroll-snap-align: start; background: #fff; border-radius: 26px; overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-soft); transition: transform .28s var(--ease), box-shadow .28s var(--ease); }
.loc-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-strong); }
.loc-card-top { position: relative; background: linear-gradient(180deg, var(--sage-pale) 0%, #eef1ea 100%); padding: 32px 20px 52px; text-align: center; min-height: 190px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.loc-card-kicker { font-size: 12.5px; font-weight: 800; letter-spacing: .28em; color: var(--sage-dark); }
.loc-card-name { font-size: clamp(21px, 2vw, 25px); font-weight: 700; letter-spacing: -.01em; line-height: 1.15; color: var(--ink); margin-top: 8px; }
.loc-card-body { position: relative; background: #fff; padding: 0 20px 22px; }
.loc-card-tag { position: absolute; top: -20px; left: 50%; transform: translateX(-50%); background: #fff; border-radius: 14px 14px 0 0; padding: 8px 18px; font-weight: 700; font-size: 13px; letter-spacing: .05em; text-transform: uppercase; color: var(--gold-dark); white-space: nowrap; }
.loc-card-info { display: flex; flex-direction: column; gap: 12px; padding-top: 30px; font-size: 15px; color: var(--ink-soft); }
.loc-card-info > div { display: flex; gap: 9px; align-items: flex-start; }
.loc-card-info .ic { color: var(--sage-dark); flex: none; }
.loc-map-link { display: inline-block; margin-top: 16px; font-weight: 700; font-size: 14.5px; color: var(--sage-dark); }

.carousel-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: var(--radius-full); border: none; background: #fff; color: var(--ink); font-size: 18px; cursor: pointer; box-shadow: var(--shadow-strong); display: flex; align-items: center; justify-content: center; z-index: 2; }
.carousel-btn:hover { background: var(--ink); color: #fff; }
.carousel-btn.prev { left: -8px; }
.carousel-btn.next { right: -8px; }
@media (max-width: 640px) { .carousel-btn { display: none; } }

/* ============================================================
   Willkommen / poem
   ============================================================ */
.welcome-section { position: relative; max-width: var(--maxw-text); margin: 0 auto; padding: 20px var(--gutter) 10px; text-align: center; }
.poem-card { position: relative; max-width: 720px; margin: 44px auto 0; padding: 44px clamp(24px, 5vw, 56px); border-radius: 30px; background: var(--cream-2); border: 1px solid var(--cream-border); }
.poem-card p { font-size: 18px; line-height: 1.9; color: var(--ink-soft); font-style: italic; }
.poem-card p + p { margin-top: 4px; }
.poem-card .signoff { margin-top: 20px; font-style: normal; font-weight: 700; color: var(--sage-dark); font-size: 15px; letter-spacing: .04em; }

.welcome-photo { max-width: var(--maxw); margin: 56px auto 0; padding: 0 var(--gutter); }
.welcome-photo-inner { border-radius: 30px; overflow: hidden; box-shadow: var(--shadow-strong); }
.welcome-photo-inner img { width: 100%; height: 440px; object-fit: cover; }

/* ============================================================
   Konzept (dark section)
   ============================================================ */
.dark-section { position: relative; overflow: hidden; background: var(--deep); color: #F3EFE4; margin-top: 96px; }
.dark-section .inner { position: relative; max-width: var(--maxw); margin: 0 auto; padding: 92px var(--gutter); text-align: center; }
.dark-section .eyebrow { color: var(--sage-light); }
.dark-section .section-title { color: #fff; }
.dark-section .section-lede { color: #CBD3CD; }

.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; margin-top: 46px; 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, transform .25s; }
.feature-card:hover { background: var(--deep-3); transform: translateY(-6px); color: #fff; }
.feature-card .t { font-size: 20px; font-weight: 700; }
.feature-card .d { color: #CBD3CD; font-size: 15px; line-height: 1.65; }

.card-grid.light .feature-card { background: #fff; color: var(--ink); box-shadow: var(--shadow-soft); }
.card-grid.light .feature-card:hover { box-shadow: var(--shadow-strong); color: var(--ink); }
.card-grid.light .feature-card .d { color: var(--ink-soft); }
.card-grid.light .feature-card .ic { width: 40px; height: 40px; border-radius: 50%; background: var(--gold-soft); display: flex; align-items: center; justify-content: center; color: var(--gold-dark); font-size: 18px; margin-bottom: 4px; }

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

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

/* ============================================================
   Gallery
   ============================================================ */
.gallery-section { position: relative; max-width: var(--maxw); margin: 0 auto; padding: 92px var(--gutter) 96px; }
.masonry { columns: 4 220px; column-gap: 16px; margin-top: 30px; }
.masonry button { display: block; width: 100%; margin: 0 0 16px; padding: 0; border: none; background: none; cursor: pointer; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-soft); break-inside: avoid; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.masonry button:hover { transform: translateY(-4px); box-shadow: var(--shadow-strong); }
.masonry img { width: 100%; height: auto; display: block; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer { position: relative; background: var(--deep); color: #DCE3D6; border-radius: 40px; margin: 0 20px 20px; overflow: hidden; }
.footer-grid { max-width: var(--maxw); margin: 0 auto; padding: 84px var(--gutter) 50px; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 50px; }
.footer-brand { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.footer-brand img { height: 36px; width: auto; }
.footer-brand p { color: #B9C4BC; font-size: 16px; line-height: 1.65; max-width: 26em; }
.footer-col { display: flex; flex-direction: column; gap: 12px; font-size: 16px; }
.footer-col .h { font-weight: 700; margin-bottom: 6px; color: #fff; font-size: 18px; }
.footer-col a { color: #DCE3D6; }
.footer-col a:hover { color: #fff; }
.footer-bottom { max-width: var(--maxw); margin: 0 auto; padding: 24px var(--gutter) 54px; border-top: 1px solid rgba(255, 255, 255, .14); display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; color: #9AA79E; font-size: 14.5px; }
.footer-bottom .links { display: flex; gap: 16px; }
.footer-bottom a { color: #DCE3D6; }
.footer-bottom button.legal-link { background: none; border: none; color: #DCE3D6; font: inherit; font-size: inherit; cursor: pointer; padding: 0; }
.footer-bottom button.legal-link:hover { color: #fff; }
@media (max-width: 640px) { .site-footer { margin: 0 10px 10px; } }

/* ============================================================
   Overlays (form modal, lightbox, legal, cookie)
   ============================================================ */
.overlay { position: fixed; inset: 0; z-index: 300; display: flex; align-items: flex-start; justify-content: center; padding: 24px; overflow-y: auto; background: rgba(20, 30, 40, .55); backdrop-filter: blur(4px); opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s var(--ease); }
.overlay.open { opacity: 1; visibility: visible; }
.overlay-box { position: relative; width: 100%; max-width: 640px; margin: 40px auto; background: #fff; border-radius: 28px; padding: clamp(26px, 4vw, 44px); box-shadow: 0 40px 80px -30px rgba(9, 20, 30, .6); }
.overlay-close { position: absolute; top: 18px; right: 18px; width: 42px; height: 42px; border-radius: var(--radius-full); border: none; background: var(--cream-2); color: var(--ink); font-size: 19px; cursor: pointer; }
.overlay-close:hover { background: var(--cream-border); }
.overlay-box h2 { font-size: clamp(24px, 3.2vw, 32px); font-weight: 700; letter-spacing: -.02em; margin-top: 10px; color: var(--ink); }
.overlay-box > p.lede { margin-top: 10px; font-size: 16px; line-height: 1.6; color: var(--ink-soft); }

.wizard-progress { margin-top: 22px; }
.wizard-progress-bar { height: 6px; border-radius: var(--radius-full); background: var(--cream-border); overflow: hidden; }
.wizard-progress-bar span { display: block; height: 100%; width: 25%; background: var(--gold); border-radius: var(--radius-full); transition: width .35s var(--ease); }
.wizard-step-label { margin-top: 9px; font-size: 12.5px; font-weight: 700; color: var(--ink-faint); letter-spacing: .04em; text-transform: uppercase; }
.wizard-step:not([hidden]) { display: grid; gap: 18px; animation: wizardStepIn .32s var(--ease); }
@keyframes wizardStepIn { from { opacity: 0; transform: translateX(10px); } to { opacity: 1; transform: none; } }
.wizard-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 4px; }
.wizard-review { display: flex; flex-direction: column; gap: 10px; padding: 18px 20px; background: var(--cream-2); border: 1.5px solid var(--cream-border); border-radius: 16px; }
.wizard-review-row { display: flex; justify-content: space-between; gap: 16px; font-size: 14.5px; }
.wizard-review-row .k { color: var(--ink-faint); font-weight: 700; flex: none; }
.wizard-review-row .v { color: var(--ink); text-align: right; }

.hk-form { display: grid; gap: 18px; margin-top: 24px; }
.hk-form label { display: grid; gap: 7px; font-size: 14.5px; font-weight: 700; color: var(--ink); }
.hk-form .row2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 18px; }
.hk-form input:not([type="radio"]):not([type="checkbox"]), .hk-form select, .hk-form textarea { width: 100%; min-width: 0; font: inherit; font-weight: 400; padding: 12px 15px; border-radius: 14px; border: 1.5px solid var(--cream-border); background: var(--cream-2); color: var(--ink); }
.hk-form input:focus, .hk-form select:focus, .hk-form textarea:focus { outline: none; border-color: var(--sage); box-shadow: 0 0 0 3px var(--sage-soft); }
.hk-form input[type="radio"], .hk-form input[type="checkbox"] { accent-color: var(--sage); width: 18px; height: 18px; flex: none; }
.hk-form textarea { resize: vertical; min-height: 88px; }
.hk-form fieldset { border: 1.5px solid var(--cream-border); border-radius: 14px; padding: 14px 16px; margin: 0; background: var(--cream-2); }
.hk-form legend { font-size: 14.5px; font-weight: 700; color: var(--ink); padding: 0 6px; }
.radio-row { display: flex; flex-wrap: wrap; gap: 18px; font-size: 15px; color: var(--ink-soft); }
.radio-row label { display: flex; align-items: center; gap: 8px; font-weight: 400; }
.hk-form .consent-row { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.55; color: var(--ink-soft); font-weight: 400; }
.hk-form .consent-row input { margin-top: 2px; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }

/* Lightbox */
#lightboxOverlay .overlay-box { max-width: 1100px; background: transparent; box-shadow: none; padding: 0; }
#lightboxOverlay img { width: 100%; max-height: 82vh; object-fit: contain; border-radius: 18px; }
#lightboxOverlay .overlay-close { background: #fff; }

/* Legal */
.legal-body h3 { font-size: 18px; font-weight: 700; color: var(--ink); margin: 22px 0 8px; }
.legal-body h3:first-child { margin-top: 20px; }
.legal-body p, .legal-body li { font-size: 15px; line-height: 1.7; color: var(--ink-soft); margin: 0 0 8px; }
.legal-tabs { display: flex; gap: 8px; margin-top: 20px; }
.legal-tabs button { border: 1.5px solid var(--cream-border); background: var(--cream-2); color: var(--ink-soft); padding: 8px 16px; border-radius: var(--radius-full); font-weight: 700; font-size: 14px; cursor: pointer; }
.legal-tabs button.is-active { background: var(--sage); border-color: var(--sage); color: #fff; }
.legal-pane { display: none; }
.legal-pane.is-active { display: block; }

/* Cookie notice */
#cookieNotice { position: fixed; left: 20px; right: 20px; bottom: 20px; z-index: 250; max-width: 480px; background: var(--deep); color: #EDE6D6; border-radius: 22px; padding: 22px 24px; box-shadow: var(--shadow-strong); display: flex; flex-direction: column; gap: 14px; transform: translateY(140%); transition: transform .4s var(--ease); }
#cookieNotice.show { transform: none; }
#cookieNotice p { font-size: 14.5px; line-height: 1.6; color: #D6DDD3; }
#cookieNotice .row { display: flex; gap: 10px; flex-wrap: wrap; }
#cookiePill { position: fixed; left: 20px; bottom: 20px; z-index: 250; width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid var(--cream-border); background: var(--cream-2); box-shadow: var(--shadow-strong); display: none; align-items: center; justify-content: center; cursor: pointer; padding: 0; }
#cookiePill.show { display: flex; }
#cookiePill .leaf-mark { width: 30px; }
#cookiePill .lm-part { opacity: 1; transform: none; }

/* Toast */
#toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 30px); z-index: 400; background: var(--ink); color: #fff; padding: 14px 22px; border-radius: var(--radius-full); font-weight: 700; font-size: 14.5px; opacity: 0; pointer-events: none; transition: opacity .3s var(--ease), transform .3s var(--ease); box-shadow: var(--shadow-strong); }
#toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ============================================================
   Kita detail page — hero
   ============================================================ */
.breadcrumb { max-width: var(--maxw); margin: 0 auto; padding: 128px var(--gutter) 0; font-size: 14px; color: var(--ink-faint); }
.breadcrumb a { color: var(--ink-faint); }
.breadcrumb a:hover { color: var(--sage-dark); }

.kita-hero-grid { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); background: var(--cream); margin-top: 24px; }
.kita-hero-media { position: relative; min-height: 540px; }
.kita-hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.kita-hero-tag { position: absolute; top: 0; left: 0; background: var(--cream); padding: 20px 38px 26px 28px; border-bottom-right-radius: 26px; }
.kita-hero-tag .name { font-size: clamp(30px, 4vw, 48px); font-weight: 700; letter-spacing: -.02em; line-height: 1.05; margin-top: 6px; color: var(--ink); }

.kita-hero-panel { position: relative; overflow: hidden; background: var(--sage); color: #fff; padding: 54px 44px 48px; display: flex; flex-direction: column; }
.kita-hero-panel .kicker { font-size: 13.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: #ECF1E8; }
.kita-hero-panel h1 { font-size: clamp(30px, 3.8vw, 46px); font-weight: 700; letter-spacing: -.02em; line-height: 1.1; margin-top: 12px; }
.kita-hero-panel > p.lede { margin-top: 14px; font-size: 16.5px; line-height: 1.65; color: #ECF1E8; max-width: 32em; }

.kita-team { display: flex; gap: 14px; margin-top: 26px; flex-wrap: wrap; }
.kita-avatar-row { display: flex; align-items: center; gap: 10px; background: rgba(255, 255, 255, .14); border-radius: var(--radius-full); padding: 6px 16px 6px 6px; }
.kita-avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--gold); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13.5px; flex: none; }
.kita-avatar-row .txt { font-size: 13.5px; line-height: 1.3; }
.kita-avatar-row .txt b { display: block; font-size: 14px; }

.kita-jump { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 36px; font-size: 13.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.kita-divider { height: 1px; background: rgba(255, 255, 255, .35); margin: 14px 0 22px; }
.kita-address { font-size: 16.5px; line-height: 1.65; }
.kita-address .name { font-weight: 700; }
.kita-contact-list { display: grid; gap: 7px; margin-top: 18px; font-size: 16.5px; }
.kita-contact-list a { color: #fff; text-decoration: underline; }
.kita-hero-panel .btn { align-self: flex-start; margin-top: 28px; }

/* stat count row (shared with homepage stats-band visual language) */
.stat-count-row { max-width: none; margin: 0; padding: 18px 56px; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 28px 40px; }
.stat-count { font-size: clamp(28px, 3.2vw, 40px); font-weight: 700; color: var(--sage-dark); letter-spacing: -.02em; }
.stat-count.is-gold { color: var(--gold-dark); }

/* content + sidebar */
.kita-content { position: relative; max-width: var(--maxw); margin: 0 auto; padding: 10px var(--gutter) 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 46px; align-items: start; }
.kita-main { display: flex; flex-direction: column; gap: 42px; }
.kita-block .eyebrow { margin-bottom: 8px; }
.kita-block h2 { font-size: clamp(26px, 3.2vw, 36px); font-weight: 700; letter-spacing: -.02em; margin: 0 0 14px; color: var(--ink); }
.kita-block .body-text { font-size: 16px; line-height: 1.8; color: var(--ink-soft); display: flex; flex-direction: column; gap: 14px; }
.kita-block p.single { margin: 0; font-size: 16px; line-height: 1.8; color: var(--ink-soft); }

.kita-sidebar { position: sticky; top: 128px; display: flex; flex-direction: column; gap: 16px; }
.hours-card { position: relative; overflow: hidden; background: var(--deep); color: #F3EFE4; border-radius: 24px; padding: 30px 28px; }
.hours-card .label { font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--sage-light); }
.hours-card .hr { height: 1px; background: rgba(255, 255, 255, .16); margin: 18px 0; }
.hours-card .rows { display: grid; gap: 16px; font-size: 15.5px; }
.hours-card .rows .k { color: #9AA7A0; font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; }
.hours-card .rows .v { margin-top: 3px; }
@media (max-width: 900px) { .kita-sidebar { position: static; } }

/* multi-photo carousel (3-up) */
.mslide-section { position: relative; max-width: var(--maxw); margin: 0 auto; padding: 86px var(--gutter) 92px; }
.mslide-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 26px; }
.mslide-track { display: flex; gap: 26px; overflow-x: auto; scroll-snap-type: x proximity; overscroll-behavior-x: contain; scrollbar-width: none; padding: 24px 12px 58px; margin-bottom: -34px; }
.mslide-track::-webkit-scrollbar { display: none; }
.mslide-item { flex: 0 0 clamp(240px, 31%, 360px); scroll-snap-align: start; }
.mslide-item button { display: block; border: none; padding: 0; background: none; cursor: pointer; width: 100%; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-strong); transition: transform .3s var(--ease); }
.mslide-item button:hover { transform: translateY(-8px); }
.mslide-item img { width: 100%; height: 300px; object-fit: cover; display: block; }
@media (max-width: 640px) { .mslide-item img { height: 240px; } }

/* split section (concept / family / advantages intro) */
.split-section { max-width: var(--maxw); margin: 0 auto; padding: 20px var(--gutter) 92px; display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 50px; align-items: center; }
.split-section.reverse .split-media { order: 2; }
.split-media img { width: 100%; height: 420px; object-fit: cover; border-radius: 28px; box-shadow: var(--shadow-strong); }
.split-text .body-text { font-size: 16px; line-height: 1.8; color: var(--ink-soft); display: flex; flex-direction: column; gap: 14px; margin-top: 16px; }
@media (max-width: 720px) { .split-section.reverse .split-media { order: 0; } }

/* advantages carousel */
.advantages-wrap { position: relative; max-width: var(--maxw); margin: 0 auto; padding: 20px var(--gutter) 96px; }
.adv-heading { text-align: center; margin-bottom: 30px; }
.adv-track { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x proximity; overscroll-behavior-x: contain; scrollbar-width: none; padding: 14px 10px 50px; margin-bottom: -28px; }
.adv-track::-webkit-scrollbar { display: none; }
.adv-card { flex: 0 0 clamp(230px, 24%, 280px); scroll-snap-align: start; background: #fff; border-radius: 24px; padding: 30px 24px; box-shadow: var(--shadow-soft); transition: transform .25s, box-shadow .25s; }
.adv-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-strong); }
.adv-card .ic { width: 46px; height: 46px; border-radius: 50%; background: var(--gold-soft); color: var(--gold-dark); display: flex; align-items: center; justify-content: center; font-size: 20px; margin-bottom: 14px; }
.adv-card .t { font-size: 18px; font-weight: 700; color: var(--ink); }
.adv-card .d { font-size: 14.5px; line-height: 1.6; color: var(--ink-soft); margin-top: 8px; }
.adv-nav { display: flex; gap: 10px; justify-content: center; margin-top: 8px; }
.adv-nav button { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; }
.adv-nav button:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* other kitas grid */
.other-kitas { position: relative; max-width: var(--maxw); margin: 0 auto; padding: 10px var(--gutter) 96px; }
.other-kitas-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 24px; }
.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); border-radius: 24px; padding: 24px 26px; color: var(--ink); display: flex; align-items: center; gap: 18px; box-shadow: var(--shadow-soft); transition: transform .25s, box-shadow .25s; }
.other-kita-card:hover { color: var(--ink); transform: translateY(-4px); box-shadow: var(--shadow-strong); }
.other-kita-card .t { font-size: 19px; font-weight: 700; }
.other-kita-card .d { color: var(--sage-dark); font-size: 14.5px; margin-top: 4px; font-weight: 700; }
.other-kita-thumb { flex: none; width: 80px; height: 80px; border-radius: 16px; overflow: hidden; background: var(--cream); }
.other-kita-thumb img { width: 100%; height: 100%; object-fit: cover; }

.finish-card { max-width: var(--maxw); margin: 0 auto 40px; padding: 0 var(--gutter); }
.finish-card-inner { position: relative; overflow: hidden; background: var(--ink); color: #fff; border-radius: 32px; padding: clamp(40px, 6vw, 64px); text-align: center; }
.finish-card-inner .section-title { color: #fff; }
.finish-card-inner .section-lede { color: #C9D2C2; }
.finish-card-inner .cta-actions { margin-top: 30px; }

@media (max-width: 640px) {
  .hero-content { padding: 108px 20px 70px; }
  .kita-hero-panel { padding: 40px 24px; }
  .kita-hero-tag { padding: 16px 22px 22px 20px; }
  .breadcrumb { padding-top: 110px; }
}

@media (max-width: 720px) { .stats, .stat-count-row { padding: 22px 28px; } }
.mslide-head { justify-content: center; text-align: center; }
.gallery-section { text-align: center; }
