/* ==========================================================================
   Froschberg Teich — Designsystem
   Farben bleiben beim bestehenden Markengrün, ergänzt um Teich-Türkis
   und ein warmes Gelb. Seerosen-Motiv als roter Faden (Kacheln, Icons).
   ========================================================================== */

:root{
  --green-brand:#3AAA35;
  --green-deep:#1F5C33;
  --green-forest:#164325;
  --pond:#DCEEEA;
  --pond-deep:#BFE3E0;
  --cream:#FBF9F1;
  --sun:#FFC94A;
  --sun-deep:#F2A93A;
  --ink:#20302A;
  --ink-soft:#4B5C53;
  --white:#FFFFFF;
  --radius-pad:60% 40% 55% 45% / 45% 55% 45% 55%;
}
*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  font-family:'Nunito Sans', sans-serif;
  color:var(--ink);
  background:var(--cream);
  -webkit-font-smoothing:antialiased;
}
h1,h2,h3,h4{
  font-family:'Baloo 2', sans-serif;
  font-weight:700;
  line-height:1.15;
  margin:0 0 .5em;
  color:var(--green-forest);
}
a{color:inherit; text-decoration:none;}
img{max-width:100%; display:block;}
.sr-only{position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0);}
.wrap{max-width:1160px; margin:0 auto; padding:0 28px;}
.wrap-narrow{max-width:760px;}

.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-family:'Baloo 2', sans-serif; font-weight:600; font-size:14px;
  color:var(--green-brand); background:var(--pond);
  padding:6px 16px 6px 12px; border-radius:999px; margin-bottom:14px;
}
.eyebrow svg{width:16px;height:16px;flex:none;}

/* ---------- Header / Navigation ---------- */
.site-header{
  position:sticky; top:0; z-index:50;
  background:rgba(251,249,241,.94); backdrop-filter:blur(8px);
  border-bottom:1px solid rgba(31,92,51,.08);
}
.nav{display:flex; align-items:center; justify-content:space-between; padding:14px 28px;}
.brand{display:flex; align-items:center; gap:12px;}
.brand img{height:44px; width:auto; border-radius:10px; object-fit:cover;}
.brand-text{font-family:'Baloo 2', sans-serif; font-weight:700; font-size:16px; color:var(--green-forest); line-height:1.2;}
.brand-text span{display:block; font-family:'Nunito Sans', sans-serif; font-weight:600; font-size:12px; color:var(--ink-soft);}

.links-list{display:flex; gap:6px; list-style:none; margin:0; padding:0; font-weight:700; font-size:14.5px;}
.links-list li{display:flex;}
.links-list a{padding:9px 14px; border-radius:999px; color:var(--green-forest); transition:.15s;}
.links-list a:hover{background:var(--pond);}
.links-list li:last-child a{background:var(--green-brand); color:var(--white); box-shadow:0 6px 16px rgba(58,170,53,.28);}
.links-list li:last-child a:hover{background:var(--green-deep);}

.menu-toggle{display:none; flex-direction:column; gap:4px; background:none; border:none; padding:8px; cursor:pointer;}
.menu-toggle span{width:22px; height:2px; background:var(--green-forest); border-radius:2px;}

@media(max-width:860px){
  .menu-toggle{display:flex;}
  .links{
    display:none; position:absolute; left:0; right:0; top:100%;
    background:var(--white); border-bottom:1px solid rgba(31,92,51,.1);
    padding:10px 28px 18px; box-shadow:0 12px 24px -12px rgba(22,67,37,.2);
  }
  .links.is-open, #primary-menu.is-open{display:block;}
  .links-list{flex-direction:column; gap:2px;}
  .links-list li:last-child a{display:inline-block; margin-top:8px;}
}

/* ---------- Hero (nur Startseite) ---------- */
.hero{position:relative; overflow:hidden; padding:56px 0 36px;}
.hero-grid{display:grid; grid-template-columns:1.1fr .9fr; gap:44px; align-items:center;}
@media(max-width:900px){ .hero-grid{grid-template-columns:1fr;} }
.hero h1{font-size:clamp(30px,4.2vw,48px);}
.hero h1 em{font-style:normal; color:var(--green-brand);}
.hero p.lead{font-size:17.5px; color:var(--ink-soft); max-width:46ch; margin-bottom:26px;}
.hero-actions{display:flex; gap:14px; flex-wrap:wrap;}

.btn{
  font-family:'Baloo 2',sans-serif; font-weight:700; font-size:15px;
  padding:14px 26px; border-radius:999px; display:inline-flex; align-items:center; gap:8px;
  transition:transform .15s ease, box-shadow .15s ease; cursor:pointer; border:none;
}
.btn-primary{background:var(--green-brand); color:var(--white); box-shadow:0 10px 24px rgba(58,170,53,.32);}
.btn-primary:hover{transform:translateY(-2px); box-shadow:0 14px 28px rgba(58,170,53,.4);}
.btn-ghost{background:var(--white); color:var(--green-forest); border:2px solid var(--pond-deep);}
.btn-ghost:hover{border-color:var(--green-brand); transform:translateY(-2px);}

.hero-visual{position:relative;}
.lilypad-photo{
  position:relative; border-radius:var(--radius-pad); overflow:hidden;
  aspect-ratio:1/1; box-shadow:0 24px 48px -18px rgba(22,67,37,.35);
  background:linear-gradient(135deg,var(--pond-deep),var(--pond));
}
.lilypad-photo .ph-caption{
  position:absolute; inset:auto 18px 18px 18px; background:rgba(255,255,255,.92);
  border-radius:16px; padding:10px 14px; font-family:'Baloo 2',sans-serif; font-weight:600; font-size:13px; color:var(--green-forest);
}
.float-badge{
  position:absolute; background:var(--white); border-radius:20px; padding:12px 16px;
  box-shadow:0 14px 28px -10px rgba(22,67,37,.3); display:flex; align-items:center; gap:10px;
  font-family:'Baloo 2',sans-serif; font-weight:700; font-size:13px; color:var(--green-forest);
}
.float-badge.b1{top:-6%; left:-8%;}
.float-badge.b2{bottom:6%; right:-9%;}
.float-badge .dot{width:8px;height:8px;border-radius:50%; background:var(--sun);}
@media(max-width:560px){ .float-badge{display:none;} }

.wave{display:block; width:100%; height:56px; margin-top:-2px;}

/* ---------- Generischer Seiten-Header (alle Unterseiten) ---------- */
.page-header{padding:52px 0 36px; background:var(--pond);}
.page-header h1{font-size:clamp(28px,3.6vw,42px); margin-bottom:8px;}
.page-header .lead{color:var(--ink-soft); font-size:16.5px; max-width:60ch; margin:0;}

/* Wenn unter Design → Header ein Titelbild hinterlegt ist */
.page-header.has-image{padding:76px 0 52px;}
.page-header.has-image .eyebrow{background:rgba(255,255,255,.2); color:var(--white);}
.page-header.has-image h1{color:var(--white);}
.page-header.has-image .lead{color:rgba(255,255,255,.88);}

.page-content{padding:44px 0 72px;}
.page-content-inline{margin-bottom:8px;}

/* Typografie für Inhalte aus dem WordPress-Editor */
.page-content, .page-content-inline{font-size:16.5px; line-height:1.75; color:var(--ink);}
.page-content h2, .page-content-inline h2{font-size:24px; margin-top:1.4em;}
.page-content h3, .page-content-inline h3{font-size:19px; margin-top:1.2em;}
.page-content p, .page-content-inline p{margin:0 0 1.1em;}
.page-content ul, .page-content ol{margin:0 0 1.1em; padding-left:1.3em;}
.page-content li{margin-bottom:.4em;}
.page-content a, .page-content-inline a{color:var(--green-brand); text-decoration:underline; text-underline-offset:2px;}
.page-content img{border-radius:20px; margin:1.2em 0;}
.page-content figure.wp-block-gallery{border-radius:20px;}
.page-content .wp-block-image img{box-shadow:0 14px 28px -14px rgba(22,67,37,.3);}

/* ---------- Sections / Quick-Links ---------- */
.section{padding:64px 0;}
.section-head{max-width:600px; margin-bottom:34px;}
.section-head h2{font-size:clamp(24px,3vw,32px);}

.quicklinks{background:var(--pond);}
.pad-grid{display:grid; grid-template-columns:repeat(5,1fr); gap:18px;}
@media(max-width:980px){ .pad-grid{grid-template-columns:repeat(2,1fr);} }
@media(max-width:520px){ .pad-grid{grid-template-columns:1fr;} }
.pad-card{
  background:var(--white); border-radius:24px; padding:24px 20px; position:relative;
  box-shadow:0 10px 22px -14px rgba(22,67,37,.25); transition:transform .18s ease, box-shadow .18s ease;
  display:block;
}
.pad-card:hover{transform:translateY(-6px); box-shadow:0 18px 32px -14px rgba(22,67,37,.35);}
.pad-icon{
  width:50px; height:50px; border-radius:var(--radius-pad); background:var(--green-brand);
  display:flex; align-items:center; justify-content:center; margin-bottom:14px;
}
.pad-icon svg{width:24px; height:24px; stroke:var(--white); fill:none;}
.pad-card h3{font-size:16.5px; margin-bottom:5px;}
.pad-card p{font-size:13.5px; color:var(--ink-soft); line-height:1.45; margin:0;}
.pad-card .go{position:absolute; top:20px; right:18px; font-size:18px; color:var(--pond-deep); font-weight:700;}

/* ---------- Termine ---------- */
.termine-teaser{padding-top:8px;}
.termine-list{background:var(--white); border-radius:24px; padding:8px; box-shadow:0 10px 22px -16px rgba(22,67,37,.22);}
.termine-item{display:flex; gap:16px; align-items:center; padding:16px 18px; border-radius:16px;}
.termine-item + .termine-item{border-top:1px solid rgba(31,92,51,.08);}
.t-date{
  width:54px; height:54px; border-radius:14px; background:var(--pond); flex:none;
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  font-family:'Baloo 2',sans-serif; color:var(--green-forest); line-height:1;
}
.t-date b{font-size:18px;} .t-date span{font-size:10.5px; font-weight:700; text-transform:uppercase; margin-top:2px;}
.t-info b{display:block; font-size:15px; margin-bottom:2px;}
.t-info span{font-size:13px; color:var(--ink-soft);}
.termine-list .more{display:block; text-align:center; padding:14px; font-family:'Baloo 2',sans-serif; font-weight:700; color:var(--green-brand);}
.termine-hinweis{padding:20px 18px; color:var(--ink-soft); font-size:14.5px;}

.callout{
  background:var(--green-forest); color:var(--white); border-radius:22px; padding:24px;
  display:flex; gap:16px; align-items:flex-start;
}
.callout svg{flex:none; width:28px; height:28px; stroke:var(--sun); fill:none; margin-top:2px;}
.callout b{font-family:'Baloo 2',sans-serif; font-size:15px; display:block; margin-bottom:4px;}
.callout p{margin:0; font-size:13.5px; opacity:.85; line-height:1.5;}

/* ---------- News / Aktuelles ---------- */
.news-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:20px;}
@media(max-width:820px){ .news-grid{grid-template-columns:1fr;} }
.news-card{background:var(--white); border-radius:22px; overflow:hidden; box-shadow:0 10px 20px -16px rgba(22,67,37,.25); display:block;}
.news-thumb{aspect-ratio:16/10; background:linear-gradient(150deg,var(--pond-deep),var(--pond)); overflow:hidden;}
.news-thumb img{width:100%; height:100%; object-fit:cover;}
.news-body{padding:18px 20px 20px;}
.news-date{font-size:12px; font-weight:700; color:var(--green-brand); text-transform:uppercase; letter-spacing:.04em;}
.news-card h3{font-size:16px; margin:8px 0 6px;}
.news-card p{font-size:13.5px; color:var(--ink-soft); margin:0;}

/* ---------- Footer ---------- */
.site-footer{background:var(--green-forest); color:rgba(255,255,255,.88); padding:52px 0 24px; margin-top:12px;}
.foot-grid{display:grid; grid-template-columns:1.3fr 1fr 1fr; gap:32px;}
@media(max-width:820px){ .foot-grid{grid-template-columns:1fr 1fr;} }
.brand-text2{font-family:'Baloo 2',sans-serif; font-weight:700; color:var(--white); font-size:16.5px; margin-bottom:10px; display:flex; gap:10px; align-items:center;}
.brand-text2 img{height:34px; border-radius:8px;}
.site-footer h4{font-family:'Baloo 2',sans-serif; color:var(--white); font-size:14px; margin-bottom:12px;}
.site-footer p{font-size:13.5px; line-height:1.9; color:rgba(255,255,255,.72); margin:0;}
.foot-links{list-style:none; margin:0; padding:0;}
.foot-links li a{font-size:13.5px; line-height:2.2; color:rgba(255,255,255,.72);}
.foot-links li a:hover{color:var(--sun);}
.foot-bottom{
  border-top:1px solid rgba(255,255,255,.14); margin-top:32px; padding-top:18px;
  font-size:12.5px; color:rgba(255,255,255,.55); display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px;
}

/* ---------- Werte-Kacheln (z. B. "Unsere Schule") ---------- */
.value-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:20px; margin:32px 0 40px;}
@media(max-width:820px){ .value-grid{grid-template-columns:1fr;} }
.value-card{background:var(--white); border-radius:24px; padding:26px 24px; box-shadow:0 10px 22px -16px rgba(22,67,37,.22);}
.value-card .pad-icon{margin-bottom:16px;}
.value-card h3{font-size:17px; margin-bottom:6px;}
.value-card p{font-size:14px; color:var(--ink-soft); line-height:1.55; margin:0;}

/* ---------- Schulalltag-Streifen (wiederverwendbar) ---------- */
.life-strip{display:grid; grid-template-columns:repeat(4,1fr); gap:16px; margin:28px 0;}
@media(max-width:900px){ .life-strip{grid-template-columns:repeat(2,1fr);} }
.life-card{border-radius:20px; overflow:hidden; position:relative; aspect-ratio:4/5; box-shadow:0 10px 20px -14px rgba(22,67,37,.28);}
.life-card .fill{position:absolute; inset:0;}
.life-card:nth-child(4n+1) .fill{background:linear-gradient(160deg,#3AAA35,#1F5C33);}
.life-card:nth-child(4n+2) .fill{background:linear-gradient(160deg,#F2A93A,#C9800E);}
.life-card:nth-child(4n+3) .fill{background:linear-gradient(160deg,#5FBCC7,#1F5C33);}
.life-card:nth-child(4n+4) .fill{background:linear-gradient(160deg,#7DBE5A,#3AAA35);}
.life-card .tag{position:absolute; left:12px; top:12px; background:rgba(255,255,255,.92); border-radius:999px; padding:5px 11px; font-family:'Baloo 2',sans-serif; font-weight:700; font-size:11.5px; color:var(--green-forest);}
.life-card .cap{position:absolute; left:12px; right:12px; bottom:12px; color:var(--white); font-family:'Baloo 2',sans-serif; font-weight:700; font-size:14px; text-shadow:0 2px 8px rgba(0,0,0,.35);}
.life-note{font-size:13px; color:var(--ink-soft); font-style:italic; margin-top:-16px;}

/* ---------- Team-Kacheln ---------- */
.team-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:22px; margin:28px 0 40px;}
@media(max-width:900px){ .team-grid{grid-template-columns:repeat(2,1fr);} }
@media(max-width:520px){ .team-grid{grid-template-columns:1fr;} }
.team-card{text-align:center;}
.team-photo{
  aspect-ratio:1/1; border-radius:var(--radius-pad); overflow:hidden; margin-bottom:14px;
  background:linear-gradient(150deg,var(--pond-deep),var(--pond)); box-shadow:0 12px 24px -14px rgba(22,67,37,.3);
}
.team-photo img{width:100%; height:100%; object-fit:cover;}
.team-card h3{font-size:16px; margin-bottom:2px;}
.team-card .role{font-size:12.5px; font-weight:700; color:var(--green-brand); text-transform:uppercase; letter-spacing:.03em; margin-bottom:6px; display:block;}
.team-card p{font-size:13.5px; color:var(--ink-soft); margin:0; line-height:1.5;}
.team-group-title{margin-top:44px; margin-bottom:4px;}

/* ---------- Hort: Betreuungszeiten-Tabelle ---------- */
.hort-table{width:100%; border-collapse:separate; border-spacing:0; background:var(--white); border-radius:20px; overflow:hidden; box-shadow:0 10px 22px -16px rgba(22,67,37,.22); margin:28px 0;}
.hort-table th, .hort-table td{padding:14px 20px; text-align:left; font-size:14.5px;}
.hort-table th{background:var(--pond); font-family:'Baloo 2',sans-serif; color:var(--green-forest); font-size:13px; text-transform:uppercase; letter-spacing:.03em;}
.hort-table tr:not(:last-child) td{border-bottom:1px solid rgba(31,92,51,.08);}
.hort-table td.time{font-family:'Baloo 2',sans-serif; font-weight:700; color:var(--green-forest); white-space:nowrap;}

/* ---------- Tages-Zeitleiste (z. B. "Ein Tag im Hort") ---------- */
.timeline-list{background:var(--white); border-radius:22px; padding:6px; box-shadow:0 10px 20px -16px rgba(22,67,37,.2); margin:24px 0;}
.timeline-item{display:flex; gap:16px; align-items:flex-start; padding:15px 16px;}
.timeline-item + .timeline-item{border-top:1px solid rgba(31,92,51,.08);}
.timeline-dot{width:38px; height:38px; border-radius:50%; background:var(--pond); flex:none; display:flex; align-items:center; justify-content:center;}
.timeline-dot svg{width:18px; height:18px; stroke:var(--green-forest); fill:none;}
.timeline-item b{display:block; font-size:14.5px; margin-bottom:2px;}
.timeline-item span{font-size:13px; color:var(--ink-soft);}

/* ---------- Kontakt: Info-Karten & Karte ---------- */
.contact-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:18px; margin:28px 0;}
@media(max-width:820px){ .contact-grid{grid-template-columns:1fr;} }
.contact-card{background:var(--white); border-radius:22px; padding:22px; box-shadow:0 10px 20px -16px rgba(22,67,37,.22);}
.contact-card .pad-icon{margin-bottom:12px;}
.contact-card h3{font-size:15px; margin-bottom:6px;}
.contact-card p{font-size:14px; color:var(--ink-soft); margin:0; line-height:1.6;}
.map-embed{border-radius:24px; overflow:hidden; margin:8px 0 28px; box-shadow:0 10px 22px -16px rgba(22,67,37,.22); aspect-ratio:16/7; background:linear-gradient(150deg,var(--pond-deep),var(--pond)); display:flex; align-items:center; justify-content:center; color:var(--green-forest); font-family:'Baloo 2',sans-serif; font-weight:600; font-size:14px;}
.map-embed iframe{width:100%; height:100%; border:0;}
.form-hint{background:var(--pond); border-radius:20px; padding:18px 20px; font-size:13.5px; color:var(--green-forest); margin:8px 0 28px;}

/* ---------- Kalender-Einbettung (Termine-Seite) ---------- */
.calendar-embed{border-radius:24px; overflow:hidden; margin:0 0 32px; box-shadow:0 10px 22px -16px rgba(22,67,37,.22); background:var(--white); min-height:420px;}
.calendar-embed iframe{width:100%; height:600px; border:0; display:block;}

/* ---------- CTA-Leiste am Seitenende ---------- */
.cta-band{
  background:var(--green-forest); border-radius:24px; padding:32px 30px; margin:36px 0 8px;
  display:flex; align-items:center; justify-content:space-between; gap:20px; flex-wrap:wrap; color:var(--white);
}
.cta-band h3{color:var(--white); font-size:19px; margin-bottom:4px;}
.cta-band p{margin:0; font-size:14px; opacity:.8;}

:focus-visible{outline:3px solid var(--sun); outline-offset:3px;}
@media (prefers-reduced-motion: reduce){ html{scroll-behavior:auto;} }
