/* BKNL gGmbH — Hauptfirmen-Webseite (bknl.de)
   CI: Sunshine-Gelb + Leaf-Grün, Marine-Akzent für Sicherheit/Vertrauen.
   Stil aus bknl.org übernommen: Cards, weiche Schatten, Rundungen,
   Nunito-Schrift, viel Weißraum. */

/* Nunito — lokal gehostet, Variable-Font (alle Gewichte in einer Datei),
   keine externe Anfrage an Google Fonts. SIL Open Font License 1.1. */
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
  src: url('fonts/nunito-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
                  U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F,
                  U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF,
                  U+FFFD;
}
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
  src: url('fonts/nunito-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,
                  U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF,
                  U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0,
                  U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* Sunshine (Gelb) */
  --sun-50:  #fff9e8;
  --sun-100: #fef3d6;
  --sun-200: #fee9b3;
  --sun-300: #fee08e;
  --sun-400: #fdd970;
  --sun-500: #fcd34d;
  --sun-600: #e0b830;
  --sun-700: #c9a32a;
  /* Leaf (Grün) */
  --leaf-50:  #f0f8ef;
  --leaf-100: #dff0dd;
  --leaf-200: #cae8c6;
  --leaf-300: #b3deac;
  --leaf-400: #9dd394;
  --leaf-500: #86c77b;
  --leaf-600: #71b365;
  --leaf-700: #5d9a52;
  --leaf-800: #436e3a;
  --leaf-900: #2d4a26;
  /* Marine (Vertrauensanker) */
  --marine-700: #003459;
  --marine-50:  #e8f1f8;
  /* Neutrale */
  --bk-50:  #f7faff;
  --bk-100: #e8f1f8;
  --bk-200: #cbd5e1;
  --bk-300: #94a3b8;
  --bk-500: #5a6470;
  --bk-700: #334155;
  --bk-900: #1a1a1a;
  --white:  #ffffff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 70px; }
html, body { overflow-x: hidden; }
body {
  margin: 0; padding: 0;
  font-family: "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI",
                Roboto, sans-serif;
  font-size: 16px; line-height: 1.55;
  color: var(--bk-900);
  background: var(--leaf-50);
  -webkit-text-size-adjust: 100%;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--leaf-700); text-decoration: none; transition: color 150ms; }
a:hover { color: var(--leaf-800); text-decoration: underline; }
h1, h2, h3, h4 { color: var(--marine-700); font-weight: 700; line-height: 1.2; }
h1 { font-size: 2.5rem; margin: 0 0 1rem 0; }
h2 { font-size: 1.875rem; margin: 0 0 1rem 0; }
h3 { font-size: 1.25rem; margin: 0 0 0.5rem 0; font-weight: 600; }
p { margin: 0 0 1rem 0; }
ul { padding-left: 1.25rem; }

/* ── Header ──────────────────────────────────────────────────────────── */
header.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--bk-200);
}
header.site-header .inner {
  max-width: 1100px; margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
}
header.site-header .brand {
  display: flex; align-items: center; gap: 0.6rem;
  font-weight: 700; color: var(--marine-700);
  font-size: 1.05rem;
}
header.site-header .logo {
  width: 40px; height: 40px; border-radius: 8px;
  background: var(--marine-700); color: var(--sun-500);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.1rem;
}
header.site-header nav { display: flex; gap: 1.5rem; align-items: center; }
header.site-header nav a {
  color: var(--bk-700); font-size: 0.9rem; font-weight: 500;
}
header.site-header nav a:hover { color: var(--leaf-700); }
header.site-header .cta {
  background: var(--leaf-700); color: var(--white) !important;
  padding: 0.5rem 1rem; border-radius: 8px; font-weight: 600;
  font-size: 0.85rem;
}
header.site-header .cta:hover {
  background: var(--leaf-800); text-decoration: none;
}
@media (max-width: 720px) {
  header.site-header nav a:not(.cta) { display: none; }
}

/* ── Orga-Teaser-Streifen unter dem Header ───────────────────────────── */
.orga-teaser {
  display: flex; align-items: center; gap: 0.85rem;
  justify-content: center; flex-wrap: wrap;
  padding: 0.65rem 1.25rem;
  background: var(--marine-700);
  color: var(--white);
  border-bottom: 2px solid var(--sun-500);
  text-decoration: none;
  font-size: 0.92rem;
  transition: background 150ms;
}
.orga-teaser:hover {
  background: #002a47; color: var(--white); text-decoration: none;
}
.orga-teaser-pill {
  background: var(--sun-500); color: var(--marine-700);
  font-weight: 800; font-size: 0.7rem; letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.15rem 0.55rem; border-radius: 4px;
  flex: 0 0 auto;
}
.orga-teaser-text { color: rgba(255, 255, 255, 0.95); }
.orga-teaser-text strong { color: var(--sun-400); font-weight: 700; }
.orga-teaser-arrow {
  background: rgba(255, 255, 255, 0.12);
  color: var(--sun-300);
  border-radius: 50%;
  width: 24px; height: 24px;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.9rem; flex: 0 0 24px;
  animation: orga-bounce 2s ease-in-out infinite;
}
@keyframes orga-bounce {
  0%, 80%, 100% { transform: translateY(0); }
  90% { transform: translateY(3px); }
}
@media (max-width: 540px) {
  .orga-teaser { font-size: 0.85rem; gap: 0.5rem; padding: 0.55rem 1rem; }
  .orga-teaser-text { flex: 1 1 100%; text-align: center; }
}

/* ── Buttons ─────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.25rem; border-radius: 8px;
  font-weight: 600; font-size: 0.95rem; text-decoration: none;
  border: 1px solid transparent; cursor: pointer;
  transition: background 150ms, transform 100ms;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--leaf-700); color: var(--white);
}
.btn-primary:hover {
  background: var(--leaf-800); color: var(--white); text-decoration: none;
}
.btn-yellow {
  background: var(--sun-500); color: var(--marine-700);
}
.btn-yellow:hover {
  background: var(--sun-600); color: var(--marine-700); text-decoration: none;
}
.btn-outline {
  background: transparent; color: var(--marine-700);
  border-color: var(--marine-700);
}
.btn-outline:hover {
  background: var(--marine-700); color: var(--white); text-decoration: none;
}

/* ── Sections ────────────────────────────────────────────────────────── */
section { padding: 4rem 1.25rem; }
section .container { max-width: 1100px; margin: 0 auto; }
section.bg-white { background: var(--white); }
section.bg-leaf { background: var(--leaf-50); }
section.bg-sun  { background: var(--sun-50); }
section.bg-marine {
  background: var(--marine-700); color: var(--white);
}
section.bg-marine h2 { color: var(--white); }
section.bg-marine a { color: var(--sun-400); }
section.bg-marine a:hover { color: var(--sun-300); }
/* Buttons in der Marine-Sektion: ihre eigene Farbe behalten,
   nicht von der „alle Links sonnengelb"-Regel übermalen lassen. */
section.bg-marine a.btn-yellow,
section.bg-marine a.btn-yellow:hover {
  color: var(--marine-700);
}
section.bg-marine a.btn-primary,
section.bg-marine a.btn-primary:hover {
  color: var(--white);
}

/* ── Hero ────────────────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--sun-100) 0%, var(--leaf-100) 100%);
  padding: 5rem 1.25rem 4rem;
  text-align: center;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--marine-700);
  max-width: 900px; margin: 0 auto 1rem;
}
.hero .kicker {
  display: inline-block; padding: 0.3rem 0.85rem;
  background: var(--leaf-600); color: var(--white);
  border-radius: 999px; font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.04em; text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.hero .subline {
  font-size: 1.1rem; color: var(--bk-700); max-width: 700px;
  margin: 0 auto 2rem;
}
.hero .ctas {
  display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap;
}

/* ── Eyebrow / Section Heading ───────────────────────────────────────── */
.eyebrow {
  display: block; color: var(--leaf-700); font-size: 0.78rem;
  font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 0.6rem;
}
.section-head { max-width: 720px; margin: 0 auto 2.5rem; text-align: center; }
.section-head p { color: var(--bk-500); }

/* ── Cards (Service-Module) ──────────────────────────────────────────── */
.cards { display: grid; gap: 1rem;
         grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.card {
  background: var(--white);
  border: 1px solid var(--bk-200); border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
  transition: box-shadow 150ms, transform 150ms;
}
.card:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}
.card .badge {
  display: inline-block; padding: 0.2rem 0.6rem;
  background: var(--sun-100); color: var(--sun-700);
  border-radius: 4px; font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.05em; text-transform: uppercase;
  margin-bottom: 0.6rem;
}
.card h3 {
  display: flex; align-items: center; gap: 0.6rem;
  margin-bottom: 0.5rem;
}
.card .icon {
  width: 28px; height: 28px; flex: 0 0 28px;
  color: var(--leaf-700);
}
.card p { color: var(--bk-700); font-size: 0.95rem; margin: 0; }

/* ── Zielgruppe-Liste ────────────────────────────────────────────────── */
.target-list { display: grid; gap: 0.75rem;
                grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.target {
  background: var(--white); border: 1px solid var(--leaf-200);
  border-left: 4px solid var(--leaf-600);
  border-radius: 8px; padding: 1rem 1.25rem;
}
.target strong { color: var(--marine-700); }
.target .text { color: var(--bk-700); font-size: 0.93rem; }

/* ── Über uns ────────────────────────────────────────────────────────── */
.aboutbox {
  background: var(--white); border: 1px solid var(--bk-200);
  border-radius: 14px; padding: 2rem; max-width: 760px; margin: 0 auto;
  display: flex; gap: 1.5rem; align-items: flex-start;
}
.aboutbox .avatar {
  width: 96px; height: 96px; flex: 0 0 96px; border-radius: 50%;
  background: linear-gradient(135deg, var(--sun-400), var(--leaf-500));
  color: var(--marine-700);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 2rem;
}
@media (max-width: 540px) {
  .aboutbox { flex-direction: column; text-align: center; }
}

/* ── Spenden-Cards ───────────────────────────────────────────────────── */
.donate-row {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.donate-card {
  background: var(--white); border: 2px solid var(--sun-300);
  border-radius: 12px; padding: 1.5rem; text-align: center;
}
.donate-card h3 { color: var(--marine-700); margin-bottom: 0.5rem; }
.donate-card p {
  color: var(--bk-700); font-size: 0.9rem; margin-bottom: 1rem;
}
.donate-card .btn { width: 100%; }

/* ── Footer ──────────────────────────────────────────────────────────── */
footer {
  background: var(--marine-700); color: rgba(255, 255, 255, 0.85);
  padding: 3rem 1.25rem 2rem;
}
footer .container {
  max-width: 1100px; margin: 0 auto;
  display: grid; gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
footer h4 {
  color: var(--white); font-size: 0.9rem;
  text-transform: uppercase; letter-spacing: 0.06em;
  margin: 0 0 0.75rem 0;
}
footer a { color: var(--sun-300); }
footer a:hover { color: var(--sun-200); }
footer .copyright {
  max-width: 1100px; margin: 2.5rem auto 0;
  padding-top: 1.25rem; border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8rem; color: rgba(255, 255, 255, 0.6);
  text-align: center;
}

/* ── Helper ──────────────────────────────────────────────────────────── */
.muted { color: var(--bk-500); font-size: 0.9rem; }
.center { text-align: center; }
.lead { font-size: 1.15rem; color: var(--bk-700); }
.tag-leaf {
  display: inline-block; background: var(--leaf-100); color: var(--leaf-800);
  padding: 0.2rem 0.6rem; border-radius: 999px; font-size: 0.8rem;
  font-weight: 600;
}

/* ── Long-form legal pages ───────────────────────────────────────────── */
.prose {
  max-width: 760px; margin: 0 auto;
  background: var(--white); border: 1px solid var(--bk-200);
  border-radius: 12px; padding: 2.5rem;
}
.prose h2 { font-size: 1.25rem; margin: 2rem 0 0.75rem; color: var(--marine-700); }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--bk-700); }
.prose ul { color: var(--bk-700); }
.prose a { color: var(--leaf-700); }
