/* Farben und Maße: hier pro Kunde anpassen. Kontraste geprüft (WCAG AA). */
:root {
  --text: #1a2230;
  --muted: #4a5568;
  --bg: #fbfaf7;
  --surface: #ffffff;
  --brand: #1d4e89;
  --brand-dark: #153a66;
  --line: #e2ded6;
  --focus: #b45309;
  --wrap: min(1100px, 100% - 2.5rem);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 5rem; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 1.0625rem/1.65 var(--font); }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .6em; color: var(--brand-dark); text-wrap: balance; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; max-width: 65ch; }
a { color: var(--brand); text-underline-offset: .2em; }
a:hover { color: var(--brand-dark); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 2px; }

.wrap { width: var(--wrap); margin-inline: auto; }
.skip { position: absolute; left: 1rem; top: -5rem; z-index: 10; background: var(--brand-dark); color: #fff; padding: .7rem 1rem; }
.skip:focus { top: 1rem; }

/* Kopf */
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1.5rem; padding-block: .8rem; }
.logo { display: inline-flex; align-items: center; gap: .6rem; font-weight: 700; font-size: 1.2rem; color: var(--brand-dark); text-decoration: none; }
.nav ul { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; list-style: none; margin: 0; padding: 0; }
.nav a { display: inline-block; padding: .5rem 0; text-decoration: none; font-weight: 600; }
.nav a:hover { text-decoration: underline; }

/* Abschnitte */
section { padding-block: clamp(3rem, 8vw, 5rem); }
section + section { border-top: 1px solid var(--line); }
.hero { background: var(--surface); }
.lead { font-size: 1.2rem; color: var(--muted); }
.btn { display: inline-block; min-height: 48px; padding: .8rem 1.4rem; border-radius: 999px; background: var(--brand); color: #fff; font-weight: 600; text-decoration: none; }
.btn:hover { background: var(--brand-dark); color: #fff; }

.cards { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); padding: 0; list-style: none; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 1.5rem; }
.card p { margin: 0; color: var(--muted); }

address { font-style: normal; }

/* Fuß */
.site-footer { background: var(--brand-dark); color: #fff; padding-block: 2rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; }
.site-footer a { color: #fff; }
.site-footer ul { display: flex; gap: 1.25rem; list-style: none; margin: 0; padding: 0; }

/* Rechtstexte */
.legal { max-width: 70ch; }
.hinweis { background: #fff4e5; border-left: 4px solid var(--focus); padding: 1rem 1.25rem; }

@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
