/* CI-Farben aus dem Logo: Navy #003F7D, Lindgrün #C0D258 */
:root {
  --bg: #ffffff;
  --bg-soft: #f2f6fa;
  --ink: #17212e;
  --ink-soft: #46566a;
  --brand: #003f7d;      /* Logo-Blau */
  --brand-dark: #00294f; /* Footer, Hover */
  --accent: #c0d258;     /* Logo-Grün: nur für Flächen, Linien, Buttons */
  --accent-dark: #8a9a22;/* Grün für Linien/Rahmen mit mehr Kontrast */
  --line: #dbe3ec;
  --maxw: 960px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
}

a { color: var(--brand); text-underline-offset: 3px; text-decoration-color: var(--accent-dark); }
a:hover { color: var(--brand-dark); text-decoration-color: var(--brand-dark); }
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--accent-dark); outline-offset: 3px; }

.wrap { width: min(100% - 2rem, var(--maxw)); margin-inline: auto; }

/* Kopf */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255,255,255,.97);
  border-bottom: 3px solid var(--accent);
}
.site-header .wrap {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: .25rem 1.5rem; padding: .55rem 0;
}
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--brand); }
.brand img { display: block; width: auto; }
.brand .brand-mark { height: 42px; }
.brand .brand-word { height: 26px; }
nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; }
nav a { text-decoration: none; color: var(--ink-soft); font-size: .98rem; padding: .25rem 0; border-bottom: 2px solid transparent; }
nav a:hover { color: var(--brand); border-bottom-color: var(--accent); }

/* Hero */
.hero {
  background: linear-gradient(180deg, #f2f6fa 0%, #ffffff 100%);
  border-bottom: 1px solid var(--line);
  padding: clamp(2.5rem, 8vw, 5rem) 0;
}
.hero .wrap { display: grid; gap: 2rem; grid-template-columns: 1fr; align-items: center; }
.hero-logo { width: min(55%, 220px); height: auto; justify-self: start; }
.hero h1 { margin: 0 0 1.25rem; line-height: 0; }
.hero h1 img { height: clamp(88px, 18vw, 140px); width: auto; max-width: 100%; }
.hero .claim { margin: 0; max-width: 30ch; font-size: clamp(1.25rem, 3.4vw, 1.7rem); line-height: 1.35; color: var(--ink);
  border-left: 5px solid var(--accent); padding-left: 1rem; }
.btn {
  display: inline-block; margin-top: 1.75rem; padding: .75rem 1.5rem;
  background: var(--brand); color: #fff; font-weight: 600; text-decoration: none; border-radius: 4px;
  border-bottom: 4px solid var(--accent);
}
.btn:hover { background: var(--brand-dark); color: #fff; }
@media (min-width: 720px) {
  .hero .wrap { grid-template-columns: 1fr auto; }
  .hero-logo { width: 240px; justify-self: end; order: 2; }
}

/* Abschnitte */
section { padding: clamp(2.5rem, 6vw, 4rem) 0; }
section:nth-of-type(even) { background: var(--bg-soft); }
h2 { margin: 0 0 1rem; font-size: 1.75rem; color: var(--brand); line-height: 1.25; }
h2::after { content: ""; display: block; width: 56px; height: 4px; background: var(--accent); margin-top: .5rem; border-radius: 2px; }
h3 { margin: 0 0 .5rem; font-size: 1.2rem; color: var(--brand); }
p { margin: 0 0 1rem; max-width: 68ch; }

.cards { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); margin-top: 1.5rem; }
.card { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--accent); border-radius: 4px; padding: 1.4rem; }
.card p:last-child { margin-bottom: 0; }

.principles { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.principles li { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--brand); border-radius: 4px; padding: 1rem 1.2rem; font-weight: 500; }

address { font-style: normal; }
.contact-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

/* Rechtstexte */
.legal { padding: 2.5rem 0 4rem; }
.legal h1 { margin: 0 0 1.5rem; color: var(--brand); font-size: 2rem; }
.legal h2 { font-size: 1.3rem; margin-top: 2rem; }
.legal h2::after { display: none; }
.legal ul { max-width: 68ch; }

/* Fuß */
footer { background: var(--brand-dark); color: #cfdae6; padding: 1.75rem 0; font-size: .95rem; border-top: 4px solid var(--accent); }
footer a { color: #fff; text-decoration-color: var(--accent); }
footer a:hover { color: var(--accent); }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print { .site-header, .hero .btn, footer { display: none; } section { padding: 1rem 0; } .hero { background: none; } }
