/* =====================================================
   Kindertafel Krefeld – Stylesheet
   Farbwelt aus dem Corporate Design:
   Orange (Drache), Taupe (Wortmarke), Mint (Himmel),
   Petrol (Skyline)
   ===================================================== */

:root {
  --orange: #ee8123;
  --orange-dark: #d96e12;
  --taupe: #c1b9a2;
  --taupe-dark: #a49a7d;
  --mint: #acd2d2;
  --mint-light: #e9f3f3;
  --petrol: #084650;
  --text: #2f3a3c;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(8, 70, 80, 0.10);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Nunito", "Segoe UI", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
}

img { max-width: 100%; display: block; }

a { color: var(--petrol); }

.wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* ---------- Typografie ---------- */

h1, h2, h3 { line-height: 1.2; color: var(--petrol); }

h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); font-weight: 900; }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 900; }
h3 { font-size: 1.2rem; font-weight: 800; }

.claim {
  font-family: "ADLaM Display", "Segoe UI", sans-serif;
  letter-spacing: .04em;
  color: var(--petrol);
  font-weight: 400;
}

.kicker {
  display: inline-block;
  font-family: "ADLaM Display", "Segoe UI", sans-serif;
  font-size: 1.35rem;
  color: var(--orange);
  margin-bottom: .4rem;
}

.lead { font-size: 1.15rem; }

.hero .lead, .hero p { font-weight: 700; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  padding: 13px 30px;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  transition: transform .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn-orange { background: var(--orange); color: var(--white); }
.btn-orange:hover { background: var(--orange-dark); }

.btn-outline {
  border: 2.5px solid var(--petrol);
  color: var(--petrol);
}
.btn-outline:hover { background: var(--petrol); color: var(--white); }

/* ---------- Header ---------- */

header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid #eee;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 24px;
  max-width: 1240px;
  margin: 0 auto;
}

.nav .logo img { height: 58px; width: auto; }

.nav nav { display: flex; align-items: center; gap: 26px; }

.nav nav a {
  text-decoration: none;
  font-weight: 800;
  color: var(--petrol);
  font-size: 1rem;
}
.nav nav a:hover, .nav nav a.active { color: var(--orange); }

.nav .btn { padding: 10px 22px; }

/* Mobile Navigation */
#nav-toggle { display: none; }
.burger { display: none; cursor: pointer; font-size: 1.9rem; color: var(--petrol); }

@media (max-width: 860px) {
  .burger { display: block; }
  .nav nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 18px 24px 24px;
    border-bottom: 1px solid #eee;
    align-items: flex-start;
  }
  #nav-toggle:checked ~ nav { display: flex; }
}

/* ---------- Hero ---------- */

.hero {
  background: var(--mint);
  position: relative;
  overflow: hidden;
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 30px;
  align-items: center;
  padding-top: 40px;
  padding-bottom: 70px;
  height: 600px;
  box-sizing: border-box;
  position: relative;
  z-index: 2;
}

.hero .claim { font-size: clamp(1.4rem, 2.6vw, 2rem); }

.hero h1 { margin: .3rem 0 1rem; }

.hero p { max-width: 46ch; margin-bottom: 1.6rem; }

.hero .cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* Illustration fest im Hero verankert – identische Position auf allen Seiten */
.hero-img {
  position: absolute;
  top: 36px;
  right: 10px;
  width: min(440px, 40%);
}
.hero-img img { width: 100%; height: auto; }
@media (max-width: 780px) {
  .hero-img { position: static; width: 80%; margin: 0 auto; }
}

.hero .skyline {
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  z-index: 1;
  opacity: .35;
}
.hero .skyline img { width: 100%; height: auto; }

@media (max-width: 780px) {
  .hero .wrap { grid-template-columns: 1fr; padding-bottom: 80px; height: auto; }
}

/* ---------- Sektionen ---------- */

section { padding: 72px 0; }

.section-head { max-width: 720px; margin-bottom: 42px; }

.bg-mint-light { background: var(--mint-light); }
.bg-petrol { background: var(--petrol); }
.bg-petrol h2, .bg-petrol p { color: var(--white); }

/* Zahlen / Fakten */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 26px;
  text-align: center;
}

.stat .num {
  font-family: "ADLaM Display", "Segoe UI", sans-serif;
  font-size: 3.2rem;
  color: var(--orange);
  line-height: 1;
}

.stat .label { font-weight: 800; color: var(--petrol); margin-top: .4rem; }
.bg-petrol .stat .label { color: var(--mint); }
.stat p { font-size: .95rem; }

/* Karten */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 26px;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow);
}

.card .icon { font-size: 2rem; margin-bottom: .6rem; }

.card .icon-svg { color: var(--orange); }
.card .icon-svg svg { width: 42px; height: 42px; display: block; }

.card h3 { margin-bottom: .5rem; }

/* Projekt-Blöcke */
.project {
  display: grid;
  grid-template-columns: 175px 1fr;
  gap: 36px;
  padding: 30px 0;
  border-bottom: 2px dashed var(--mint);
  align-items: start;
}
.project:last-child { border-bottom: none; }

.project .tag {
  font-family: "ADLaM Display", "Segoe UI", sans-serif;
  font-size: 1.2rem;
  color: var(--orange);
  transform: rotate(-3deg);
  transform-origin: left top;
  overflow-wrap: break-word;
}

@media (max-width: 640px) {
  .project { grid-template-columns: 1fr; gap: 8px; }
}

/* Zweispaltiges Bild-Text-Layout */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 46px;
  align-items: center;
}
.split img { border-radius: var(--radius); box-shadow: var(--shadow); }
@media (max-width: 780px) { .split { grid-template-columns: 1fr; } }

/* Spendenbox */
.donate-box {
  background: var(--white);
  border: 3px dashed var(--orange);
  border-radius: var(--radius);
  padding: 34px;
  max-width: 560px;
}
.donate-box .bank { font-size: 1.15rem; font-weight: 800; color: var(--petrol); }
.donate-box .iban {
  font-family: "Courier New", monospace;
  font-size: 1.25rem;
  font-weight: bold;
  letter-spacing: .5px;
  background: var(--mint-light);
  padding: 10px 16px;
  border-radius: 8px;
  margin: 10px 0;
  display: inline-block;
}

/* Kontakt */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
@media (max-width: 780px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-card {
  background: var(--mint-light);
  border-radius: var(--radius);
  padding: 32px;
}
.contact-card p + p { margin-top: .8rem; }

/* ---------- Footer ---------- */

footer {
  background: var(--petrol);
  color: var(--mint);
  padding: 60px 0 30px;
  position: relative;
}

footer .skyline-top {
  margin-top: -60px;
  transform: translateY(-100%);
  position: absolute;
  top: 0; left: 0; width: 100%;
  pointer-events: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 40px;
}
@media (max-width: 780px) { .footer-grid { grid-template-columns: 1fr; } }

footer h4 {
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: .8rem;
  font-size: .95rem;
}

footer a { color: var(--mint); }
footer a:hover { color: var(--white); }

footer .logo-badge {
  background: var(--white);
  border-radius: 10px;
  padding: 12px 16px;
  display: inline-block;
  margin-bottom: 14px;
}
footer .logo-badge img { height: 52px; width: auto; }

.footer-bottom {
  margin-top: 44px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.18);
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  font-size: .9rem;
}

.footer-bottom nav a { margin-left: 18px; text-decoration: none; }

/* ---------- Hinweiskasten (Entwurf) ---------- */
.todo-note {
  background: #fff7ec;
  border-left: 5px solid var(--orange);
  padding: 14px 18px;
  border-radius: 8px;
  font-size: .95rem;
  margin: 20px 0;
}
