/*
Theme Name: Kita Stadthäuschen
Theme URI: https://www.kita-stadthaeuschen.de
Author: EntwicklungBewegt gemeinnützige UG (haftungsbeschränkt)
Description: Eigenes Block-Theme für die Website der Kita Stadthäuschen in Berlin-Lichtenberg. Schriften liegen lokal im Theme, ohne externe Anbieter.
Version: 1.0
Requires at least: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kita-stadthaeuschen
*/

@font-face{font-family:'Grandstander';font-style:normal;font-weight:500;font-display:swap;src:url('assets/fonts/grandstander-latin-500-normal.woff2') format('woff2')}
@font-face{font-family:'Grandstander';font-style:normal;font-weight:600;font-display:swap;src:url('assets/fonts/grandstander-latin-600-normal.woff2') format('woff2')}
@font-face{font-family:'Grandstander';font-style:normal;font-weight:700;font-display:swap;src:url('assets/fonts/grandstander-latin-700-normal.woff2') format('woff2')}
@font-face{font-family:'Nunito';font-style:normal;font-weight:400;font-display:swap;src:url('assets/fonts/nunito-latin-400-normal.woff2') format('woff2')}
@font-face{font-family:'Nunito';font-style:normal;font-weight:600;font-display:swap;src:url('assets/fonts/nunito-latin-600-normal.woff2') format('woff2')}
@font-face{font-family:'Nunito';font-style:normal;font-weight:700;font-display:swap;src:url('assets/fonts/nunito-latin-700-normal.woff2') format('woff2')}
@font-face{font-family:'Nunito';font-style:normal;font-weight:800;font-display:swap;src:url('assets/fonts/nunito-latin-800-normal.woff2') format('woff2')}
/* Layout: heller Kinderladen – Hero mit Haus und Kinderreihe, Blumenwiese mit Bienen und Schmetterlingen, dann ruhige Abschnitte mit farbigen Akzenten */
:root{
  --paper:#FFFAF3;
  --ink:#23303A;
  --muted:#55636E;
  --sun:#F6CF72;
  --coral:#F2A283;
  --teal:#86BBA8;
  --coral-ink:#C2603F;
  --teal-ink:#3F7F6C;
  --sky:#93C8E2;
  --leaf:#A9D095;
  --tint-sun:#FBF0DC;
  --tint-sky:#EAF3F7;
  --tint-coral:#FBEBE4;
  --tint-teal:#E7F1EC;
  --display:'Grandstander', 'Nunito', system-ui, sans-serif;
  --body:'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color-scheme: light;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
@media (prefers-reduced-motion: reduce){html{scroll-behavior:auto}}
body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--body);font-size:17px;line-height:1.6}
img,svg{max-width:100%}
a{color:var(--teal-ink);font-weight:700}
a:focus-visible,button:focus-visible{outline:3px solid var(--sky);outline-offset:3px;border-radius:6px}
h1,h2,h3{font-family:var(--display);font-weight:600;line-height:1.15;text-wrap:balance;margin:0}
h2{font-size:clamp(28px,4.5vw,40px)}
h3{font-size:21px}
p{margin:0}
.wrap{max-width:1120px;margin:0 auto;padding-left:max(20px, env(safe-area-inset-left, 0px));padding-right:max(20px, env(safe-area-inset-right, 0px))}
.measure{max-width:65ch}

/* Kopf */
body::before{content:"";position:fixed;inset:0 0 auto;height:env(safe-area-inset-top,0px);z-index:10;background:var(--paper)}
header{position:sticky;top:env(safe-area-inset-top,0px);z-index:5;background:var(--paper);border-bottom:2px solid var(--tint-sun)}
.nav{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;padding-block:12px}
.logo{display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--ink);font-family:var(--display);font-size:22px;font-weight:700}
.nav ul{display:flex;flex-wrap:wrap;gap:4px 18px;list-style:none;margin:0;padding:0}
.nav ul a{color:var(--ink);text-decoration:none;font-weight:700;font-size:15px}
.nav ul a:hover{color:var(--coral-ink)}

/* Hero */
.hero{padding-block:48px 24px}
.hero-grid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:40px;align-items:center}
.hero h1{font-size:clamp(40px,7vw,68px);color:var(--ink)}
.hero h1 span{color:var(--coral-ink)}
.lead{font-size:20px;margin-top:14px;color:var(--ink)}
.quote{margin-top:22px;padding:20px 22px;background:var(--tint-sky);border-radius:26px;font-size:17px;color:var(--ink)}
.quote small{display:block;margin-top:8px;color:var(--muted);font-size:14px;font-weight:700}
.facts{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px;padding:0;list-style:none}
.facts li{padding:8px 14px;border-radius:999px;font-weight:800;font-size:15px}
.facts li:nth-child(1){background:var(--tint-sun)}
.facts li:nth-child(2){background:var(--tint-coral)}
.facts li:nth-child(3){background:var(--tint-teal)}

/* Wiese */
.meadow{padding-block:8px 0}
.meadow svg{display:block;width:100%;height:auto}

p,li{text-wrap:pretty}
h1,h2,h3{text-wrap:balance}
.eltern-grid{align-items:center}
.eltern-grid .ticks{margin-top:22px}
.eltern-art{display:flex;justify-content:center}
.tag-grid{align-items:center}
.tag-side{display:flex;flex-direction:column;align-items:center;gap:24px}
.tag-art{width:100%;max-width:520px;height:auto}
.quote-warm{background:var(--tint-coral);margin-top:0;max-width:460px;text-align:center}
.day-card{margin-top:22px;background:var(--paper);border:2px solid var(--tint-sun);border-radius:26px;padding:10px 24px;box-shadow:0 8px 24px rgba(150,110,60,.08)}
.day-card .day{max-width:none}
.day time{white-space:nowrap}
@media (max-width:600px){.day-card{padding:6px 16px}.day li{gap:12px}.day time{min-width:104px;font-size:15px}}
.day-card .day li:last-child{border-bottom:0}
#kontakt h2{font-size:clamp(26px,3.6vw,36px)}
#kontakt .sec-head{margin-bottom:18px}
.kontakt-grid{align-items:center}
.contact-card{background:var(--paper);border:2px solid var(--sun);border-radius:22px;box-shadow:0 8px 24px rgba(150,110,60,.08);padding:6px 20px}
.crow{display:grid;grid-template-columns:84px minmax(0,1fr);gap:12px;align-items:baseline;padding:12px 0;border-bottom:2px dashed var(--tint-sun)}
.crow:last-child{border-bottom:0}
.crow h3{font-size:15px;margin:0;color:var(--teal-ink)}
.crow p{margin:0}
.crow .val{font-size:16px;font-weight:800;overflow-wrap:anywhere}
.crow .hint{font-size:14px;color:var(--muted);margin-top:2px}
.cline{display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px}
.cline .copy{margin-top:0;font-size:13px;padding:5px 12px;min-height:32px}
.door-wrap{display:flex;justify-content:center}
.door-art{width:100%;max-width:240px;height:auto}
@media (max-width:600px){.crow{grid-template-columns:minmax(0,1fr);gap:4px}.door-art{max-width:180px}}
.card-art{width:100%;height:auto;max-height:140px;margin-bottom:6px}
/* Wellen */
.wave{display:block;line-height:0;background:var(--paper)}
.wave svg{display:block;width:100%;height:56px}
.wave.down{transform:scaleY(-1)}
/* Abschnitte */
section{padding-block:40px 56px}
.sec-head{display:flex;flex-direction:column;gap:10px;margin-bottom:28px}
.sec-head.with-art{flex-direction:row;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:16px 32px}
.sec-title{display:flex;flex-direction:column;gap:10px}
.play-art{width:300px;max-width:100%;height:auto}
.col-art{display:block;width:100%;max-width:300px;height:auto;margin-top:24px}
.eyebrow{font-weight:800;font-size:14px;letter-spacing:.08em;text-transform:uppercase}
.two{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:32px}
.two p+p{margin-top:12px}

.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.card{padding:24px;border-radius:26px;display:flex;flex-direction:column;gap:8px;box-shadow:0 8px 24px rgba(150,110,60,.08)}
.card:nth-child(6n+1){background:var(--tint-sun)}
.card:nth-child(6n+2){background:var(--tint-sky)}
.card:nth-child(6n+3){background:var(--tint-coral)}
.card:nth-child(6n+4){background:var(--tint-teal)}
.card:nth-child(6n+5){background:var(--tint-sky)}
.card:nth-child(6n+6){background:var(--tint-sun)}
.card p{font-size:16px}

.day{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:minmax(0,1fr);gap:4px;max-width:560px}
.day li{display:flex;gap:14px;align-items:baseline;padding:10px 0;border-bottom:2px dashed var(--tint-sun)}
.day time{font-family:var(--display);font-weight:600;color:var(--coral-ink);min-width:118px;font-variant-numeric:tabular-nums}

.bg-sun{background:var(--tint-sun)}
.bg-teal{background:var(--tint-teal)}
.bg-sky{background:var(--tint-sky)}
.subhead{margin-top:48px}
.ticks{list-style:none;padding:0;margin:12px 0 0;display:flex;flex-direction:column;gap:8px}
.ticks li{padding-left:28px;position:relative}
.ticks li::before{content:"";position:absolute;left:4px;top:.55em;width:12px;height:12px;border-radius:50%;background:var(--coral)}

/* Kontakt */
.contact{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.cbox{background:var(--paper);border:2px solid var(--sun);border-radius:26px;box-shadow:0 8px 24px rgba(150,110,60,.08);padding:22px;display:flex;flex-direction:column;gap:8px;min-width:0}
.cbox .val{font-size:19px;font-weight:800;overflow-wrap:anywhere}
.copy{align-self:flex-start;margin-top:4px;font:inherit;font-size:14px;font-weight:800;color:var(--ink);background:var(--tint-sun);border:0;border-radius:999px;padding:8px 14px;cursor:pointer;min-height:40px}
.copy:hover{background:var(--sun)}

footer{padding-block:32px 40px;color:var(--muted);font-size:14px}
footer .wrap{display:flex;flex-direction:column;gap:6px}

@media (max-width:860px){
  .hero-grid,.two{grid-template-columns:minmax(0,1fr)}
  .cards,.contact{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
  .day{grid-template-columns:minmax(0,1fr)}
}
@media (max-width:560px){
  .cards,.contact{grid-template-columns:minmax(0,1fr)}
  .nav ul{gap:4px 14px}
  .day time{min-width:96px}
}

/* Unterseiten (Impressum, Datenschutz) */
.legal{max-width:760px;margin:0 auto;padding:32px max(20px,env(safe-area-inset-right,0px)) 56px max(20px,env(safe-area-inset-left,0px))}
.legal .back{display:inline-block;margin-bottom:24px;text-decoration:none;color:var(--teal-ink);font-weight:800}
.legal h1{font-family:var(--display);font-weight:600;font-size:clamp(30px,6vw,42px);margin:0 0 20px;color:var(--coral-ink)}
.legal h2{font-family:var(--display);font-weight:600;font-size:22px;margin:32px 0 8px}
.legal p,.legal ul{margin:0 0 12px}
.legal .box{background:var(--tint-sun);border-radius:16px;padding:16px 20px}
.legal .note{color:var(--muted);font-size:14px;margin-top:32px}
/* WordPress-Anpassungen */
.wp-site-blocks{padding:0}
:where(.wp-site-blocks) > *, :where(.is-layout-flow) > *{margin-block-start:0;margin-block-end:0}
.wp-block-group{box-sizing:border-box}
header.wp-block-template-part{position:sticky;top:0;z-index:10}
