/* Förderverein KTE am Helmbundkirchle e. V. – eine Datei, Systemschriften, keine externen Ressourcen */
:root {
  --bg: #f5faff;
  --surface: #ffffff;
  --ink: #14304a;
  --muted: #475d72;
  --blue: #1b5e94;
  --blue-dark: #124670;
  --sky: #e1f0fb;
  --line: #c9dded;
  --duck: #f7c948;
  --duck-deep: #e5a812;
  --beak: #f08a24;
  --focus: #124670;
  --radius: 14px;
  --wrap: 60rem;
  --prose: 44rem;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 1.0625rem/1.65 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

a { color: var(--blue); text-underline-offset: .15em; }
a:hover { color: var(--blue-dark); }
a:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 3px;
}

/* Kopfzeile */
.site-header { background: var(--surface); border-bottom: 4px solid var(--duck); }
.site-header .wrap { padding-top: .9rem; padding-bottom: .9rem; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
}
.brand:hover { color: var(--blue-dark); }
.brand svg { flex: none; width: 2.25rem; height: 2.25rem; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 1rem; }

/* Hero */
.hero { background: linear-gradient(180deg, var(--sky), var(--bg)); padding: 2.5rem 0 1.5rem; }
.hero .wrap { display: grid; gap: 1.5rem; align-items: center; }
.hero h1 { font-size: 1.85rem; line-height: 1.2; margin: 0 0 1rem; color: var(--blue-dark); }
.hero p { margin: 0; max-width: 36rem; }
.hero-art { width: 9.5rem; max-width: 100%; justify-self: start; }
.hero-art svg { display: block; width: 100%; height: auto; }

/* Abschnitte */
.section { padding: 2rem 0; }
.section h2 { font-size: 1.4rem; line-height: 1.25; margin: 0 0 .75rem; color: var(--blue-dark); }
.section h2::after {
  content: "";
  display: block;
  width: 2.5rem;
  height: 4px;
  margin-top: .45rem;
  background: var(--duck);
  border-radius: 2px;
}
.section p { margin: 0 0 1rem; max-width: 40rem; }
.section > .wrap > p:last-child { margin-bottom: 0; }

.fact {
  display: inline-block;
  background: #fff6d6;
  border-left: 4px solid var(--duck-deep);
  padding: .5rem .9rem;
  border-radius: 0 8px 8px 0;
}

/* Karten */
.cards { display: grid; gap: 1rem; list-style: none; margin: 1.25rem 0 0; padding: 0; }
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 5px solid var(--duck);
  border-radius: var(--radius);
  padding: 1.1rem 1.2rem 1.2rem;
}
.card h3 { font-size: 1.1rem; line-height: 1.3; margin: 0 0 .4rem; color: var(--blue-dark); }
.card p { margin: 0; }

/* Unterstützen */
.support { background: var(--sky); }
.support ul { margin: 0 0 1rem; padding-left: 1.25rem; max-width: 40rem; }
.support li { margin-bottom: .35rem; }
.support li::marker { color: var(--duck-deep); }
.note {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: .8rem 1rem;
}

/* Kontakt */
.contact-mail { font-size: 1.15rem; font-weight: 700; overflow-wrap: anywhere; }

/* Rechtstexte */
.legal { max-width: var(--prose); margin: 0 auto; padding: 2rem 1rem 1rem; }
.legal h1 { font-size: 1.9rem; line-height: 1.2; margin: 0 0 .5rem; color: var(--blue-dark); }
.legal h2 {
  font-size: 1.25rem;
  line-height: 1.3;
  margin: 2.25rem 0 .6rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  color: var(--blue-dark);
}
.legal p, .legal ul { margin: 0 0 1rem; }
.legal ul { padding-left: 1.25rem; }
.legal li { margin-bottom: .75rem; }
.legal a { overflow-wrap: anywhere; }
.muted { color: var(--muted); }

/* Platzhalter, vor Veröffentlichung füllen */
.ph { background: #fde68a; color: #14304a; padding: 0 .2em; }

/* Fuß */
.site-footer { background: var(--surface); border-top: 1px solid var(--line); margin-top: 2.5rem; }
.site-footer .wrap { padding-top: 1.25rem; padding-bottom: 1.5rem; font-size: .95rem; }
.site-footer p { margin: 0 0 .5rem; color: var(--muted); }
.site-footer ul { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; list-style: none; margin: 0; padding: 0; }

/* Breiter */
@media (min-width: 44rem) {
  .hero { padding: 3.5rem 0 2.5rem; }
  .hero .wrap { grid-template-columns: 1fr auto; gap: 3rem; }
  .hero h1 { font-size: 2.5rem; }
  .hero-art { width: 12rem; justify-self: end; }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .section { padding: 2.75rem 0; }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-art .bob { animation: bob 5s ease-in-out infinite; transform-origin: center; }
  @keyframes bob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
  }
}
