/* =========================================================
   KITA-Dialog gGmbH — Design System
   All brand colors live in :root so the whole site can be
   re-skinned in seconds (e.g. to match the Dienstplan brand).
   ========================================================= */

:root {
  /* --- Warm, friendly palette --- */
  --cream:        #fff9f0;
  --cream-2:      #fff1df;
  --paper:        #ffffff;
  --ink:          #4a3b30;   /* warm dark text */
  --ink-soft:     #7c6c5e;

  --yellow:       #ffc83d;
  --yellow-deep:  #f5a623;
  --coral:        #ff7a59;
  --coral-deep:   #ef572f;
  --green:        #7fb069;
  --green-deep:   #5e9e50;
  --blue:         #56c2e6;
  --blue-deep:    #2fa3cc;
  --pink:         #ff9eb5;
  --purple:       #b197fc;

  /* --- Brand roles (swap these to re-theme) --- */
  --brand:        var(--coral);
  --brand-deep:   var(--coral-deep);
  --accent:       var(--yellow);
  --bg:           var(--cream);

  /* --- UI tokens --- */
  --radius-s: 12px;
  --radius:   20px;
  --radius-l: 30px;
  --radius-xl: 44px;
  --shadow-s: 0 4px 14px rgba(74, 59, 48, .08);
  --shadow:   0 14px 34px rgba(74, 59, 48, .12);
  --shadow-l: 0 26px 60px rgba(74, 59, 48, .18);
  --ring:     0 0 0 4px rgba(255, 122, 89, .28);
  --maxw: 1160px;
  --ease: cubic-bezier(.2, .8, .25, 1);
  --header-h: 76px;
}

/* ---------- Reset / base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, .brand-name { font-family: "Baloo 2", "Nunito", sans-serif; line-height: 1.12; margin: 0 0 .4em; color: var(--ink); }
h1 { font-size: clamp(2.2rem, 5.2vw, 3.7rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); font-weight: 800; }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); font-weight: 700; }
p  { margin: 0 0 1rem; }
a  { color: var(--brand-deep); text-decoration: none; }
a:hover { text-decoration: underline; }
img, svg { max-width: 100%; display: block; }
.container { width: min(100% - 2.4rem, var(--maxw)); margin-inline: auto; }
section { position: relative; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: 10px;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 10px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 800; letter-spacing: .5px; text-transform: uppercase;
  font-size: .8rem; color: var(--brand-deep);
  background: #fff; padding: .35rem .85rem; border-radius: 999px;
  box-shadow: var(--shadow-s);
}
.lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--ink-soft); }
.center { text-align: center; }
.muted { color: var(--ink-soft); }

/* ---------- Buttons ---------- */
.btn {
  --b: var(--brand); --bd: var(--brand-deep);
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: "Baloo 2", sans-serif; font-weight: 700; font-size: 1rem;
  padding: .8rem 1.5rem; border-radius: 999px; border: none; cursor: pointer;
  background: var(--b); color: #fff; box-shadow: 0 8px 18px rgba(239, 87, 47, .28);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s;
  text-decoration: none; line-height: 1;
}
.btn:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 14px 26px rgba(239, 87, 47, .34); text-decoration: none; }
.btn:active { transform: translateY(-1px) scale(.99); }
.btn-primary { --b: var(--brand); }
.btn-sun { background: linear-gradient(135deg, var(--yellow), var(--yellow-deep)); color: var(--ink); box-shadow: 0 8px 18px rgba(245, 166, 35, .32); }
.btn-ghost { background: #fff; color: var(--brand-deep); box-shadow: var(--shadow-s); }
.btn-ghost:hover { background: #fff; }
.btn-green { background: linear-gradient(135deg, var(--green), var(--green-deep)); box-shadow: 0 8px 18px rgba(94, 158, 80, .3); }
.btn-block { width: 100%; }
.btn-lg { padding: 1rem 1.9rem; font-size: 1.1rem; }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 80;
  background: rgba(255, 249, 240, .82);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid rgba(74, 59, 48, .06);
  transition: box-shadow .25s;
}
.site-header.scrolled { box-shadow: var(--shadow-s); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; }
.brand-logo { display: grid; place-items: center; transition: transform .3s var(--ease); }
.brand:hover .brand-logo { transform: rotate(-6deg) scale(1.06); }
.brand-logo img { width: 56px; height: 56px; object-fit: contain; display: block; }
.brand-logo.no-img { display: none; }
.brand-logo--footer { background: #fff; border-radius: 14px; padding: 4px; }
.brand-logo--footer img { width: 46px; height: 46px; }
.brand-text { display: flex; flex-direction: column; }
.brand-name { font-size: 1.45rem; font-weight: 800; color: var(--ink); letter-spacing: .3px; }
.brand-accent { color: var(--brand); }
.brand-sub { font-size: .72rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--ink-soft); }

.primary-nav { display: flex; align-items: center; gap: .35rem; }
.primary-nav > a {
  font-weight: 700; color: var(--ink); padding: .55rem .85rem; border-radius: 999px;
  position: relative; transition: background .2s, color .2s; text-decoration: none;
}
.primary-nav > a:hover { background: #fff; color: var(--brand-deep); }
.primary-nav > a.active { background: #fff; color: var(--brand-deep); box-shadow: var(--shadow-s); }
.nav-actions { display: flex; align-items: center; gap: .7rem; margin-left: .4rem; }

.lang-switch { display: inline-flex; background: #fff; border-radius: 999px; padding: 3px; box-shadow: var(--shadow-s); }
.lang-switch button {
  border: none; background: transparent; cursor: pointer; font-weight: 800; font-family: inherit;
  color: var(--ink-soft); padding: .35rem .7rem; border-radius: 999px; font-size: .85rem; transition: .2s;
}
.lang-switch button.is-active { background: var(--brand); color: #fff; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: #fff; border: none; cursor: pointer; padding: 11px 10px; border-radius: 12px; box-shadow: var(--shadow-s); }
.nav-toggle span { width: 22px; height: 3px; border-radius: 3px; background: var(--ink); transition: .3s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Decorative bits ---------- */
.blob { position: absolute; border-radius: 50%; filter: blur(2px); opacity: .5; z-index: 0; pointer-events: none; }
.float { animation: float 6s ease-in-out infinite; }
.float-slow { animation: float 9s ease-in-out infinite; }
.spin-slow { animation: spin 26s linear infinite; transform-origin: center; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes bob { 0%,100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-8px) rotate(2deg); } }
@keyframes wave { 0%,100% { transform: rotate(0); } 25% { transform: rotate(16deg); } 75% { transform: rotate(-8deg); } }
@keyframes pop { 0% { transform: scale(.6); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }

/* ---------- Hero ---------- */
.hero { padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 7vw, 6rem); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.hero-copy { position: relative; z-index: 2; animation: rise .7s var(--ease) both; }
.hero h1 { margin-top: .8rem; }
.hero h1 .hl { color: var(--brand); position: relative; white-space: nowrap; }
.hero h1 .hl svg { position: absolute; left: 0; right: 0; bottom: -.02em; width: 100%; height: .3em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 1.2rem 1.8rem; margin-top: 2rem; }
.hero-trust .ht { display: flex; align-items: center; gap: .6rem; }
.hero-trust .ht b { font-family: "Baloo 2"; font-size: 1.5rem; color: var(--brand-deep); line-height: 1; }
.hero-trust .ht span { font-size: .9rem; color: var(--ink-soft); font-weight: 700; }

/* Hero illustration */
.hero-art { position: relative; min-height: 360px; }
.hero-stage {
  position: relative; aspect-ratio: 1/1; width: min(100%, 460px); margin-inline: auto;
  background: radial-gradient(circle at 50% 38%, #fff 0%, var(--cream-2) 70%);
  border-radius: 46% 54% 58% 42% / 52% 44% 56% 48%;
  box-shadow: var(--shadow-l);
}
.hero-sun { position: absolute; top: 7%; right: 10%; width: 84px; color: var(--yellow); }
.hero-cloud { position: absolute; fill: #fff; filter: drop-shadow(0 8px 12px rgba(74,59,48,.08)); }
.cloud-1 { width: 120px; top: 22%; left: 6%; }
.cloud-2 { width: 84px; top: 12%; left: 40%; }
.balloon { position: absolute; width: 56px; }
.balloon-1 { top: 24%; right: 15%; }
.balloon-2 { bottom: 17%; left: 17%; width: 44px; }
.hero-kids { position: absolute; left: 50%; bottom: 8%; transform: translateX(-50%); width: 78%; }

/* ---------- Section frame ---------- */
.section { padding: clamp(3rem, 7vw, 6rem) 0; }
.section-head { max-width: 640px; margin: 0 auto clamp(2rem, 4vw, 3rem); text-align: center; }
.section--cream { background: linear-gradient(180deg, #fff 0%, var(--cream) 100%); }
.section--tint { background: var(--cream-2); }

/* ---------- Feature cards (pedagogy) ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.2rem; }
.feature {
  background: #fff; border-radius: var(--radius); padding: 1.6rem 1.4rem; box-shadow: var(--shadow-s);
  border: 1px solid rgba(74,59,48,.05); transition: transform .25s var(--ease), box-shadow .25s; position: relative; overflow: hidden;
}
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.feature .ic {
  width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center;
  font-size: 1.7rem; margin-bottom: .9rem; background: var(--cream-2);
}
.feature h3 { margin-bottom: .3rem; }
.feature p { margin: 0; color: var(--ink-soft); font-size: .96rem; }

/* ---------- Kita cards ---------- */
.kita-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 1.5rem; }
.kita-card {
  --c: var(--brand);
  background: #fff; border-radius: var(--radius-l); overflow: hidden; box-shadow: var(--shadow-s);
  display: flex; flex-direction: column; text-decoration: none; color: inherit;
  border: 1px solid rgba(74,59,48,.05); transition: transform .28s var(--ease), box-shadow .28s; position: relative;
}
.kita-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-l); text-decoration: none; }
.kita-card__top { position: relative; height: 96px; display: grid; place-items: center; overflow: hidden; }
.kita-card__top::before { content: ""; position: absolute; inset: 0; background: var(--c); opacity: .95; }
.kita-card__top::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 80% -10%, rgba(255,255,255,.45), transparent 60%); }
.kita-card__emoji { position: relative; font-size: 3.2rem; filter: drop-shadow(0 6px 8px rgba(0,0,0,.12)); transition: transform .3s var(--ease); }
.kita-card:hover .kita-card__emoji { transform: scale(1.12) rotate(-6deg); }
.kita-card__badge { position: absolute; top: 12px; left: 12px; background: rgba(255,255,255,.9); color: var(--ink); font-weight: 800; font-size: .72rem; padding: .25rem .65rem; border-radius: 999px; z-index: 2; }
.kita-card__body { padding: 1.25rem 1.35rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.kita-card__body h3 { margin-bottom: .15rem; }
.kita-card__addr { color: var(--ink-soft); font-size: .9rem; margin-bottom: .7rem; display: flex; gap: .4rem; }
.kita-card__desc { font-size: .95rem; color: var(--ink-soft); margin-bottom: 1rem; flex: 1; }
.kita-card__more { font-weight: 800; color: var(--c); display: inline-flex; align-items: center; gap: .35rem; transition: gap .2s; }
.kita-card:hover .kita-card__more { gap: .6rem; }
.chip-row { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: .9rem; }
.chip { font-size: .76rem; font-weight: 700; background: var(--cream-2); color: var(--ink); padding: .28rem .6rem; border-radius: 999px; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--brand), var(--coral-deep));
  color: #fff; border-radius: var(--radius-xl); padding: clamp(2rem, 5vw, 3.4rem); text-align: center;
  position: relative; overflow: hidden; box-shadow: var(--shadow);
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.92); max-width: 540px; margin-inline: auto; }
.cta-band .btn { margin-top: 1rem; }
.cta-band .deco { position: absolute; opacity: .25; }

/* ---------- About ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3.2rem); align-items: center; }
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 1rem; }
.stat { background: #fff; border-radius: var(--radius); padding: 1.3rem 1rem; text-align: center; box-shadow: var(--shadow-s); }
.stat b { display: block; font-family: "Baloo 2"; font-size: 2.1rem; color: var(--brand-deep); line-height: 1; }
.stat span { font-size: .9rem; color: var(--ink-soft); font-weight: 700; }

.dialog-list { display: grid; gap: .9rem; }
.dialog-item { display: flex; gap: 1rem; align-items: flex-start; background: #fff; border-radius: var(--radius); padding: 1rem 1.2rem; box-shadow: var(--shadow-s); transition: transform .2s; }
.dialog-item:hover { transform: translateX(6px); }
.dialog-letter { flex: none; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-family: "Baloo 2"; font-weight: 800; font-size: 1.5rem; color: #fff; }
.dialog-item h3 { margin: 0 0 .15rem; font-size: 1.12rem; }
.dialog-item p { margin: 0; color: var(--ink-soft); font-size: .95rem; }

.media-card { border-radius: var(--radius-l); overflow: hidden; box-shadow: var(--shadow); background: #fff; }
.media-illu { aspect-ratio: 4/3; background: radial-gradient(circle at 30% 20%, var(--cream-2), #fff); display: grid; place-items: center; }

/* ---------- Kita detail ---------- */
.detail-hero { color: #fff; padding: clamp(2.4rem, 6vw, 4rem) 0 clamp(3.4rem, 7vw, 5rem); position: relative; overflow: hidden; }
.detail-hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 85% 0%, rgba(255,255,255,.25), transparent 55%); pointer-events: none; }
.detail-hero a.back { color: #fff; opacity: .9; font-weight: 700; display: inline-flex; gap: .4rem; align-items: center; }
.detail-hero h1 { color: #fff; margin: 1rem 0 .4rem; }
.detail-hero .detail-emoji { font-size: 4.6rem; filter: drop-shadow(0 8px 10px rgba(0,0,0,.2)); }
.detail-hero .lead { color: rgba(255,255,255,.95); }
.detail-meta { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.2rem; }
.detail-meta .pill { background: rgba(255,255,255,.22); color: #fff; padding: .4rem .85rem; border-radius: 999px; font-weight: 700; font-size: .9rem; backdrop-filter: blur(4px); }

.detail-body { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(1.5rem, 4vw, 2.6rem); margin-top: -2.4rem; position: relative; z-index: 3; }
.panel { background: #fff; border-radius: var(--radius-l); padding: 1.8rem; box-shadow: var(--shadow); }
.info-card { background: #fff; border-radius: var(--radius-l); padding: 1.6rem; box-shadow: var(--shadow); position: sticky; top: calc(var(--header-h) + 14px); }
.info-row { display: flex; gap: .8rem; padding: .7rem 0; border-bottom: 1px dashed rgba(74,59,48,.12); }
.info-row:last-of-type { border-bottom: none; }
.info-row .ic { flex: none; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--cream-2); }
.info-row .k { font-size: .76rem; text-transform: uppercase; letter-spacing: .5px; color: var(--ink-soft); font-weight: 800; }
.info-row .v { font-weight: 700; }
.focus-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .8rem; margin-top: .4rem; }
.focus-item { display: flex; gap: .6rem; align-items: center; background: var(--cream); border-radius: 14px; padding: .7rem .9rem; font-weight: 700; font-size: .95rem; }

.other-kitas { display: flex; gap: 1rem; overflow-x: auto; padding: .4rem .2rem 1rem; scroll-snap-type: x mandatory; }
.other-kitas .mini { scroll-snap-align: start; }
.mini { flex: 0 0 200px; background: #fff; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-s); text-decoration: none; color: inherit; display: block; transition: transform .2s, box-shadow .2s; }
.mini:hover { transform: translateY(-4px); box-shadow: var(--shadow); text-decoration: none; }
.mini__img { display: block; height: 86px; background: var(--c, var(--cream-2)); position: relative; }
.mini__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mini__body { padding: .65rem .85rem .8rem; }
.mini__body b { font-size: .96rem; line-height: 1.2; display: block; margin-bottom: .15rem; }

/* ---------- Legal pages (Impressum / Datenschutz) ---------- */
.legal h3 { margin: 1.5rem 0 .4rem; font-size: 1.18rem; color: var(--brand-deep); }
.legal h3:first-child { margin-top: 0; }
.legal p { margin: 0 0 .8rem; }
.legal ul { margin: 0 0 .9rem 1.1rem; }
.legal li { margin: .15rem 0; }
.legal a { font-weight: 700; word-break: break-word; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 2.6rem); }
.contact-card { background: #fff; border-radius: var(--radius-l); padding: 1.8rem; box-shadow: var(--shadow); }
.field { margin-bottom: 1rem; }
.field label { display: block; font-weight: 800; margin-bottom: .35rem; font-size: .95rem; }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; padding: .8rem 1rem; border-radius: 14px;
  border: 2px solid rgba(74,59,48,.12); background: var(--cream); color: var(--ink); transition: border .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--brand); box-shadow: var(--ring); }
.map-embed { border-radius: var(--radius-l); overflow: hidden; box-shadow: var(--shadow); min-height: 320px; border: 0; width: 100%; }

/* ---------- Wizard modal ---------- */
.wz-overlay { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 1rem;
  background: rgba(58, 44, 35, .5); backdrop-filter: blur(4px); opacity: 0; animation: fadeIn .25s forwards; }
@keyframes fadeIn { to { opacity: 1; } }
.wz-overlay.closing { animation: fadeOut .2s forwards; }
@keyframes fadeOut { to { opacity: 0; } }
.wz {
  width: min(560px, 100%); max-height: min(92vh, 760px); background: var(--cream); border-radius: var(--radius-xl);
  box-shadow: var(--shadow-l); display: flex; flex-direction: column; overflow: hidden; transform: translateY(14px) scale(.97);
  animation: wzIn .35s var(--ease) forwards;
}
@keyframes wzIn { to { transform: translateY(0) scale(1); } }
.wz-head { padding: 1.2rem 1.4rem .9rem; background: linear-gradient(135deg, var(--brand), var(--coral-deep)); color: #fff; position: relative; }
.wz-head h3 { color: #fff; margin: 0; display: flex; align-items: center; gap: .5rem; }
.wz-head p { margin: .2rem 0 0; color: rgba(255,255,255,.9); font-size: .9rem; }
.wz-close { position: absolute; top: 12px; right: 12px; width: 38px; height: 38px; border-radius: 50%; border: none; background: rgba(255,255,255,.22); color: #fff; cursor: pointer; font-size: 1.3rem; display: grid; place-items: center; transition: .2s; }
.wz-close:hover { background: rgba(255,255,255,.35); transform: rotate(90deg); }

.wz-progress { display: flex; gap: 6px; padding: .9rem 1.4rem 0; }
.wz-progress .seg { height: 7px; flex: 1; border-radius: 999px; background: rgba(74,59,48,.14); overflow: hidden; }
.wz-progress .seg i { display: block; height: 100%; width: 0; background: var(--green); border-radius: 999px; transition: width .4s var(--ease); }
.wz-progress .seg.done i { width: 100%; }
.wz-progress .seg.current i { width: 50%; background: var(--yellow-deep); }
.wz-stepinfo { padding: .4rem 1.4rem 0; font-weight: 800; font-size: .8rem; color: var(--ink-soft); letter-spacing: .4px; text-transform: uppercase; }

.wz-body { padding: .6rem 1.4rem 1.2rem; overflow-y: auto; flex: 1; }
.wz-step { animation: rise .35s var(--ease) both; }
.wz-step h4 { font-family: "Baloo 2"; font-size: 1.35rem; margin: .4rem 0 .2rem; }
.wz-step .hint { color: var(--ink-soft); font-size: .95rem; margin-bottom: 1.1rem; }
.wz-mascot { font-size: 2.2rem; display: inline-block; animation: bob 3s ease-in-out infinite; }

.opt-grid { display: grid; gap: .7rem; }
.opt-grid.cols-2 { grid-template-columns: 1fr 1fr; }
.opt {
  display: flex; align-items: center; gap: .8rem; width: 100%; text-align: left; cursor: pointer;
  background: #fff; border: 2px solid rgba(74,59,48,.1); border-radius: 16px; padding: .85rem 1rem;
  font: inherit; font-weight: 700; color: var(--ink); transition: .18s var(--ease); position: relative;
}
.opt:hover { border-color: var(--brand); transform: translateY(-2px); box-shadow: var(--shadow-s); }
.opt .emoji { font-size: 1.5rem; flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--cream-2); display: grid; place-items: center; }
.opt small { display: block; font-weight: 600; color: var(--ink-soft); font-size: .82rem; }
.opt.selected { border-color: var(--brand); background: #fff5f1; box-shadow: var(--ring); }
.opt.selected::after { content: "✓"; position: absolute; right: 14px; font-weight: 900; color: var(--brand-deep); }

.wz-field { margin-top: .9rem; }
.wz-field label { font-weight: 800; font-size: .9rem; display: block; margin-bottom: .35rem; }
.wz-field textarea, .wz-field input {
  width: 100%; font: inherit; padding: .75rem .9rem; border-radius: 14px; border: 2px solid rgba(74,59,48,.12);
  background: #fff; color: var(--ink); resize: vertical;
}
.wz-field textarea:focus, .wz-field input:focus { outline: none; border-color: var(--brand); box-shadow: var(--ring); }

.kita-pick { display: grid; gap: .55rem; }
.kita-pick .opt .dot { width: 14px; height: 14px; border-radius: 50%; flex: none; }

.wz-summary { display: grid; gap: .6rem; }
.sum-row { display: flex; justify-content: space-between; gap: 1rem; background: #fff; border-radius: 14px; padding: .75rem 1rem; box-shadow: var(--shadow-s); }
.sum-row .k { color: var(--ink-soft); font-weight: 700; font-size: .9rem; }
.sum-row .v { font-weight: 800; text-align: right; }

.wz-foot { display: flex; justify-content: space-between; gap: .8rem; padding: 1rem 1.4rem; background: #fff; border-top: 1px solid rgba(74,59,48,.07); }

.wz-success { text-align: center; padding: 1.4rem .5rem 1rem; }
.wz-success .big { font-size: 4rem; animation: pop .5s var(--ease) both; }
.wz-success h4 { font-size: 1.6rem; margin: .4rem 0; }
.confetti { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 4; }
.confetti i { position: absolute; top: -24px; width: 9px; height: 14px; border-radius: 2px; opacity: 0; animation: fall linear forwards; }
@keyframes fall {
  0%   { transform: translateY(0) rotate(0); opacity: 1; }
  85%  { opacity: 1; }
  100% { transform: translateY(var(--fall, 520px)) rotate(var(--spin, 540deg)); opacity: 0; }
}

/* ---------- Gallery ---------- */
.gallery-head { margin-bottom: 1.1rem; }
.gallery-head h3 { margin: 0 0 .15rem; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .8rem; }
.gallery-tile {
  position: relative; aspect-ratio: 4/3; border: none; padding: 0; border-radius: 16px;
  overflow: hidden; cursor: default; background: var(--cream-2); box-shadow: var(--shadow-s);
}
.gallery-tile.loaded { cursor: pointer; }
.gallery-ph { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .25rem; color: #fff; }
.gallery-ph .g-emoji { font-size: 1.9rem; filter: drop-shadow(0 3px 5px rgba(0,0,0,.18)); }
.gallery-ph .g-label { font-weight: 800; font-size: .8rem; opacity: .95; letter-spacing: .3px; }
.gallery-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .4s var(--ease), transform .4s var(--ease); }
.gallery-tile.loaded img { opacity: 1; }
.gallery-tile.loaded:hover img { transform: scale(1.07); }
.gallery-zoom { position: absolute; right: 8px; bottom: 8px; width: 30px; height: 30px; border-radius: 50%; background: rgba(255,255,255,.92); display: none; place-items: center; font-size: .85rem; }
.gallery-tile.loaded .gallery-zoom { display: grid; }
.gallery-tile__more { position: absolute; inset: 0; background: rgba(40,30,22,.55); color: #fff; display: grid; place-items: center; font-family: "Baloo 2"; font-weight: 800; font-size: 1.3rem; z-index: 2; }

/* ---------- Google reviews badge ---------- */
.stars { position: relative; display: inline-block; font-size: 1em; line-height: 1; letter-spacing: 1px; }
.stars::before { content: "★★★★★"; color: #dfd6cd; }
.stars::after { content: "★★★★★"; color: #fbbc04; position: absolute; left: 0; top: 0; width: var(--p, 0%); overflow: hidden; white-space: nowrap; }
.g-ico { flex: none; }
.g-badge { display: inline-flex; align-items: center; gap: .7rem; background: #fff; border: 1px solid rgba(74,59,48,.12); border-radius: 16px; padding: .7rem .95rem; text-decoration: none; color: var(--ink); box-shadow: var(--shadow-s); transition: transform .2s, box-shadow .2s; }
.g-badge:hover { transform: translateY(-2px); box-shadow: var(--shadow); text-decoration: none; }
.g-badge__top { display: flex; align-items: center; gap: .4rem; }
.g-badge__top b { font-family: "Baloo 2"; font-size: 1.15rem; line-height: 1; }
.g-badge__sub { font-size: .8rem; color: var(--ink-soft); font-weight: 700; }
.g-badge .stars { font-size: 1.05rem; }
.g-rating { display: inline-flex; align-items: center; gap: .35rem; text-decoration: none; color: var(--ink); font-size: .9rem; font-weight: 700; }
.g-rating:hover { text-decoration: none; }
.g-rating b { font-family: "Baloo 2"; }
.g-rating .g-count { color: var(--ink-soft); font-weight: 700; }
.kita-card__rating { margin: -.1rem 0 .7rem; }

/* wizard kita colored dot (replaces emoji before name) */
.opt .opt-dot { flex: none; width: 18px; height: 18px; border-radius: 50%; box-shadow: inset 0 0 0 2px rgba(255,255,255,.6); }

/* ---------- Kita cover images ---------- */
.kita-cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.detail-hero__cover { position: absolute; inset: 0; z-index: 0; }
.detail-hero__cover img { width: 100%; height: 100%; object-fit: cover; }
.detail-hero__cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(155deg, rgba(40,30,22,.22), rgba(40,30,22,.6)); }
.detail-hero > .container { position: relative; z-index: 2; }

/* ---------- People: avatar, management, Kita lead ---------- */
.avatar { position: relative; display: grid; place-items: center; width: 96px; height: 96px; border-radius: 50%; overflow: hidden; background: var(--cream-2); color: var(--c, var(--brand)); flex: none; }
.avatar-fallback { font-family: "Baloo 2"; font-weight: 800; font-size: 1.9rem; line-height: 1; }
.avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.4rem; }
.team-card { background: #fff; border-radius: var(--radius-l); padding: 1.6rem 1.4rem; box-shadow: var(--shadow-s); text-align: center; }
.team-card .avatar { margin: 0 auto .9rem; }
.team-card__role { font-weight: 800; font-size: .78rem; text-transform: uppercase; letter-spacing: .5px; color: var(--brand-deep); }
.team-card__name { margin: .15rem 0 .4rem; }
.team-card p { color: var(--ink-soft); font-size: .95rem; margin: 0; }
.leader-card { display: flex; gap: 1.4rem; align-items: center; background: #fff; border-radius: var(--radius-l); padding: 1.5rem 1.7rem; box-shadow: var(--shadow); margin-top: 2.6rem; border-left: 6px solid var(--c, var(--brand)); }
.leader-card__role { font-weight: 800; font-size: .76rem; text-transform: uppercase; letter-spacing: .5px; color: var(--c, var(--brand-deep)); }
.leader-card__body h3 { margin: .1rem 0 .45rem; }
.leader-card__quote { font-style: italic; color: var(--ink-soft); margin: 0; }
@media (max-width: 520px) { .leader-card { flex-direction: column; text-align: center; } }

/* ---------- Lightbox ---------- */
.lb-overlay {
  position: fixed; inset: 0; z-index: 130; display: grid; grid-template-columns: auto 1fr auto;
  align-items: center; gap: .5rem; padding: clamp(1rem, 4vw, 3rem);
  background: rgba(40, 30, 22, .82); backdrop-filter: blur(6px); opacity: 0; animation: fadeIn .2s forwards;
}
.lb-overlay.closing { animation: fadeOut .18s forwards; }
.lb-figure { margin: 0; display: grid; place-items: center; min-width: 0; }
.lb-figure img { max-width: 100%; max-height: 82vh; border-radius: 16px; box-shadow: var(--shadow-l); background: #fff; animation: pop .25s var(--ease); }
.lb-nav, .lb-close { border: none; cursor: pointer; background: rgba(255,255,255,.9); color: var(--ink); border-radius: 50%; display: grid; place-items: center; transition: transform .2s, background .2s; }
.lb-nav { width: 52px; height: 52px; font-size: 2rem; line-height: 1; }
.lb-nav:hover { background: #fff; transform: scale(1.08); }
.lb-close { position: fixed; top: 16px; right: 16px; width: 44px; height: 44px; font-size: 1.6rem; z-index: 2; }
.lb-close:hover { background: #fff; transform: rotate(90deg); }
.lb-counter { position: fixed; bottom: 18px; left: 50%; transform: translateX(-50%); color: #fff; font-weight: 700; background: rgba(0,0,0,.32); padding: .3rem .85rem; border-radius: 999px; font-size: .9rem; }
@media (max-width: 640px) {
  .lb-nav { width: 42px; height: 42px; font-size: 1.5rem; }
  .lb-figure img { max-height: 74vh; }
}

/* ---------- Scroll to top ---------- */
.to-top { position: fixed; right: 18px; bottom: 18px; z-index: 70; width: 48px; height: 48px; border-radius: 50%; border: none; cursor: pointer; background: var(--brand); color: #fff; box-shadow: var(--shadow); display: grid; place-items: center; transition: transform .2s, opacity .3s; }
.to-top:hover { transform: translateY(-3px); }
.to-top[hidden] { display: none; }

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

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #f6ece2; margin-top: clamp(3rem, 7vw, 6rem); position: relative; }
.footer-wave { color: var(--bg); line-height: 0; position: absolute; top: -1px; left: 0; right: 0; transform: translateY(-99%); }
.footer-wave svg { width: 100%; height: 56px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.2fr; gap: 2rem; padding: 3rem 0 2rem; }
.footer-col h4 { color: #fff; font-size: 1.05rem; margin-bottom: .8rem; }
.footer-col a { display: block; color: #e9d9cc; padding: .18rem 0; }
.footer-col a:hover { color: var(--yellow); }
.footer-col p { color: #d8c6b8; font-size: .95rem; }
.brand--footer .brand-name { color: #fff; }
.footer-tagline { margin-top: .6rem; max-width: 24ch; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 1.1rem 0; font-size: .88rem; color: #cbb8a9; }

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .hero-grid, .split, .detail-body, .contact-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .hero-stage { width: min(78%, 360px); }
  .info-card { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav-toggle { display: flex; }
  .primary-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; background: var(--cream);
    flex-direction: column; align-items: stretch; gap: .2rem; padding: 1rem 1.2rem 1.6rem;
    box-shadow: var(--shadow); transform: translateY(-120%); transition: transform .35s var(--ease);
    border-bottom: 1px solid rgba(74,59,48,.08); max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .primary-nav.open { transform: translateY(0); }
  .primary-nav > a { padding: .8rem 1rem; }
  .nav-actions { flex-direction: column; align-items: stretch; gap: .8rem; margin: .6rem 0 0; }
  .lang-switch { align-self: flex-start; }
  .btn-wizard { width: 100%; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .opt-grid.cols-2 { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: 1fr 1fr; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
