/* ==========================================================
   Förderverein Kita Pirolstraße e.V. – Stylesheet
   Farben aus dem Brand Guide
   ========================================================== */

/* Schriften lokal eingebunden (DSGVO-konform, keine Google-Verbindung) */
@font-face { font-family: "Inter"; src: url("fonts/inter-regular.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/inter-semibold.woff") format("woff"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/inter-bold.woff") format("woff"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/inter-extrabold.woff") format("woff"); font-weight: 800; font-display: swap; }

/* Optional: runde Überschriften-Schrift „Fredoka“.
   Datei fredoka-600.woff2 in den Ordner fonts/ legen – dann wird sie automatisch benutzt. */
@font-face { font-family: "Fredoka"; src: url("fonts/fredoka-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --oliv: #30380A;        /* Dunkles Oliv – Text & Kontrast */
  --gruen: #718C0A;       /* Blattgrün – Linien, Balken */
  --gruen-text: #586E08;  /* etwas dunkler, gut lesbar als kleine Schrift */
  --gruen-hell: #EEF0DC;
  --gelb: #FFCA05;        /* Pirolgelb – Buttons */
  --gelb-hell: #FFF3C2;
  --orange-hell: #FDE3C4;
  --creme: #FAF7F2;       /* Hintergrund */
  --weiss: #FFFFFF;
  --linie: #ECE6DA;
  --kopf: "Fredoka", "Inter", system-ui, sans-serif;
  --text: "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; background: var(--creme); color: var(--oliv); font-family: var(--text); font-size: 17px; line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: var(--oliv); }
a:hover { color: var(--gruen-text); }
h1, h2, h3 { font-family: var(--kopf); font-weight: 600; line-height: 1.15; margin: 0; }
p { margin: 0; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
section { padding: 88px 0; }
.weiss { background: var(--weiss); }
.eyebrow { font-weight: 800; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--gruen-text); margin-bottom: 10px; }
.h2 { font-size: clamp(32px, 4vw, 42px); margin-bottom: 12px; }
.intro { max-width: 640px; margin-bottom: 40px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 26px; border-radius: 999px; font-weight: 800; font-size: 16px; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-family: var(--text); }
.btn-gelb { background: var(--gelb); color: var(--oliv); }
.btn-gelb:hover { background: #F2BF00; color: var(--oliv); }
.btn-dunkel { background: var(--oliv); color: var(--creme); }
.btn-dunkel:hover { background: #222806; color: var(--creme); }
.btn-rand { border-color: var(--oliv); color: var(--oliv); background: transparent; }
.btn-rand:hover { background: var(--oliv); color: var(--creme); }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
.header { background: var(--weiss); border-bottom: 1px solid var(--linie); position: sticky; top: 0; z-index: 50; }
.header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 28px; padding-top: 12px; padding-bottom: 12px; }
.logo img { height: 68px; width: auto; }
.nav { display: flex; flex-wrap: wrap; gap: 4px 24px; font-weight: 700; font-size: 16px; }
.nav a { text-decoration: none; padding: 8px 0; }
.header .btn { min-height: 46px; padding: 0 20px; }

/* Hero */
.hero .wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(38px, 5vw, 58px); margin: 6px 0 20px; }
.hero p.lead { font-size: 19px; max-width: 560px; margin-bottom: 26px; }
.hero-bild { border-radius: 28px; overflow: hidden; aspect-ratio: 4/3; background: var(--gruen-hell); }
.hero-bild img { width: 100%; height: 100%; object-fit: cover; }

/* Platzhalter für fehlende Fotos */
.platzhalter { display: flex; align-items: center; justify-content: center; text-align: center; padding: 16px; color: var(--gruen-text); font-weight: 700; font-size: 15px; background: var(--gruen-hell); width: 100%; height: 100%; }

/* Ziele */
.drei { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.karte { background: var(--weiss); border: 1px solid var(--linie); border-radius: 24px; padding: 30px; }
.karte svg { width: 34px; height: 34px; stroke: var(--gruen); margin-bottom: 10px; }
.karte h3 { font-size: 22px; margin-bottom: 8px; }

/* Projekte */
.projekte { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.projekt { background: var(--creme); border-radius: 28px; overflow: hidden; display: flex; flex-direction: column; }
.projekt .bild { height: 210px; }
.projekt .bild img { width: 100%; height: 100%; object-fit: cover; }
.projekt .inhalt { padding: 26px; display: flex; flex-direction: column; gap: 14px; flex-grow: 1; }
.projekt h3 { font-size: 24px; }
.projekt p { font-size: 16px; }
.stand { margin-top: auto; display: flex; flex-direction: column; gap: 8px; }
.stand-zahlen { display: flex; justify-content: space-between; font-size: 15px; font-weight: 700; }
.balken { height: 12px; border-radius: 999px; background: #E3E6C8; overflow: hidden; }
.balken span { display: block; height: 100%; border-radius: 999px; background: var(--gruen); }

.erledigt-titel { margin-top: 72px; }
.erledigt { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.erledigt article { border: 1px solid var(--linie); border-radius: 24px; padding: 24px; display: flex; flex-direction: column; gap: 12px; background: var(--weiss); }
.erledigt .bild { height: 150px; border-radius: 16px; overflow: hidden; }
.erledigt .bild img { width: 100%; height: 100%; object-fit: cover; }
.erledigt h3 { font-size: 21px; }
.erledigt p { font-size: 15px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { font-size: 13px; font-weight: 800; padding: 4px 12px; border-radius: 999px; background: var(--creme); border: 1px solid #DCD5C6; }
.tag-dunkel { background: var(--oliv); color: var(--creme); border-color: var(--oliv); }
.tag-gelb { background: var(--gelb); border-color: var(--gelb); }
.dank { font-size: 14px !important; padding-top: 10px; border-top: 1px dashed #DCD5C6; }

/* Spenden & Mitglied */
.zwei { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.box { border-radius: 32px; padding: 40px; display: flex; flex-direction: column; gap: 16px; }
.box h2 { font-size: 36px; }
.box-gelb { background: var(--gelb); }
.box-dunkel { background: var(--oliv); color: var(--creme); }
.box-dunkel h2 { color: var(--gelb); }
.box-dunkel a.btn-gelb { color: var(--oliv); }
.konto { background: rgba(255,255,255,.55); border-radius: 18px; padding: 18px 20px; font-size: 16px; }
.box ul { margin: 0; padding-left: 20px; }
.box .btn { align-self: flex-start; }

/* Kita */
.kita .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.kita-bild { border-radius: 32px; overflow: hidden; aspect-ratio: 4/3; }
.kita-bild img { width: 100%; height: 100%; object-fit: cover; }
.kita .text { display: flex; flex-direction: column; gap: 16px; }

/* Team */
.team { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 32px 20px; }
.person { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; }
.person .foto { width: 150px; height: 150px; border-radius: 50%; overflow: hidden; border: 5px solid #E3E6C8; }
.person.vorstand .foto { border-color: var(--gelb); }
.person .foto img { width: 100%; height: 100%; object-fit: cover; }
.person .name { font-family: var(--kopf); font-weight: 600; font-size: 20px; }

/* Kontakt */
.kontakt .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.kontakt .text { display: flex; flex-direction: column; gap: 16px; }
.mail { font-weight: 800; font-size: 19px; }
form.formular { background: var(--creme); border-radius: 32px; padding: 36px; display: flex; flex-direction: column; gap: 16px; }
.felder { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
label { display: flex; flex-direction: column; gap: 6px; font-weight: 700; font-size: 15px; }
input, textarea, select { font: inherit; font-weight: 400; color: var(--oliv); background: var(--weiss); border: 1.5px solid #CFC7B5; border-radius: 14px; padding: 12px 16px; min-height: 48px; }
input:focus, textarea:focus, select:focus { outline: 3px solid var(--gelb); border-color: var(--oliv); }
textarea { resize: vertical; }
label.check { flex-direction: row; align-items: flex-start; gap: 10px; font-weight: 400; font-size: 14px; }
label.check input { width: 20px; height: 20px; min-height: 0; margin-top: 2px; accent-color: var(--gruen); }
.honig { position: absolute; left: -9999px; }
.meldung { padding: 14px 18px; border-radius: 14px; font-weight: 700; }
.meldung.ok { background: var(--gruen-hell); }
.meldung.fehler { background: var(--orange-hell); }

/* Footer */
.footer { background: var(--oliv); color: var(--creme); padding: 56px 0 40px; }
.footer a { color: var(--creme); }
.footer .oben { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; }
.footer .name { font-family: var(--kopf); font-weight: 600; font-size: 26px; }
.footer nav { display: flex; flex-direction: column; gap: 6px; font-size: 15px; }
.footer .klein { color: #E6E2D6; font-size: 14px; }
.footer .unten { border-top: 1px solid #4B5520; margin-top: 32px; padding-top: 20px; }

/* Rechtstexte */
.recht { max-width: 820px; margin: 0 auto; padding: 72px 24px 96px; }
.recht h1 { font-size: 46px; margin-bottom: 24px; }
.recht h2 { font-size: 26px; margin: 36px 0 10px; }
.recht p { margin-bottom: 14px; }
.hinweis { background: var(--gelb-hell); border-radius: 18px; padding: 18px 20px; }

@media (max-width: 960px) {
  .hero .wrap, .kita .wrap, .kontakt .wrap, .zwei, .drei { grid-template-columns: 1fr; gap: 32px; }
  .hero-bild, .kita-bild { aspect-ratio: 16/9; }
  .header { position: static; }
  .header .wrap { justify-content: center; text-align: center; }
  .nav { justify-content: center; }
}

@media (max-width: 700px) {
  section { padding: 64px 0; }
  .header { position: static; }
  .nav { gap: 2px 18px; font-size: 15px; }
  .header .btn { font-size: 15px; padding: 0 14px; }
  .logo img { height: 54px; }
  .header .btns { width: 100%; }
  .header .btn { flex: 1; }
  .box { padding: 28px; }
}
