/* ==========================================================================
   Gewerbeverein Müden/Aller e.V. – Stylesheet
   Farben aus dem Logo: Logo-Blau #043882, Pinsel-Blau #5764B2,
   Gold aus dem „M“ #C9B53A, Turm-Braun #4E3E22
   ========================================================================== */

/* ---------- Schriften (selbst gehostet, SIL Open Font License) ---------- */
@font-face {
  font-family: "Source Sans 3";
  src: url("fonts/source-sans-3-latin-wght.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Serif 4";
  src: url("fonts/source-serif-4-latin-wght.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- Variablen ---------- */
:root {
  --navy: #043882;
  --navy-dark: #022357;
  --navy-deep: #01183e;
  --blue: #5764b2;
  --blue-soft: #e8eaf6;
  --gold: #c9b53a;
  --gold-light: #f2ebc4;
  --gold-soft: #f7f2d8;
  --gold-text: #6b5a12;
  --brown: #4e3e22;

  --bg: #fbfaf6;
  --bg-tint: #f3f0e7;
  --surface: #ffffff;
  --text: #1c2230;
  --muted: #485062;
  --line: #ddd7c8;

  --font-sans: "Source Sans 3", "Segoe UI", Roboto, Arial, sans-serif;
  --font-serif: "Source Serif 4", Georgia, "Times New Roman", serif;

  --radius: 12px;
  --shadow: 0 1px 2px rgba(1, 24, 62, .06), 0 8px 24px rgba(1, 24, 62, .07);
  --header-h: 4.25rem;
  --container: 70rem;
  --gutter: clamp(1rem, 4vw, 2rem);

  color-scheme: light;
}
/* Ab Tablet-Breite steht das Logo in Originalgröße (74 px hoch) im Header */
@media (min-width: 40em) {
  :root { --header-h: 94px; }
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  font-size: 112.5%; /* 18 px */
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}
@media (min-width: 80em) {
  html { font-size: 118.75%; } /* 19 px */
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  font-weight: 400;
  overflow-wrap: break-word;
}

img, svg { max-width: 100%; }
img { height: auto; }

h1, h2, h3 {
  font-family: var(--font-serif);
  color: var(--navy);
  line-height: 1.2;
  font-weight: 650;
  margin: 0 0 .6em;
  text-wrap: balance;
}
h2 { font-size: clamp(1.85rem, 1.35rem + 2vw, 2.55rem); }
h3 { font-size: clamp(1.25rem, 1.1rem + .5vw, 1.4rem); }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a {
  color: var(--navy);
  text-decoration-thickness: .08em;
  text-underline-offset: .18em;
}
a:hover { color: var(--blue); }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 3px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Skip-Link ---------- */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -10rem;
  z-index: 1000;
  background: var(--navy);
  color: #fff;
  padding: .75rem 1.25rem;
  border-radius: 0 0 8px 8px;
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { top: 0; color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 12px rgba(1, 24, 62, .06);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
  padding-block: .5rem;
}
.brand {
  display: block;
  flex: 0 1 auto;
  min-width: 0;
  line-height: 0;
  border-radius: 4px;
}
/* Logo nur in Originalgröße 474 × 74 px zeigen (verkleinert wird die feine Schrift unscharf).
   Kleiner wird es nur, wenn der Platz auf schmalen Bildschirmen nicht reicht. */
.brand img {
  display: block;
  width: 474px;
  max-width: 100%;
  height: auto;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .15rem .25rem;
}
.site-nav a {
  display: block;
  padding: .55rem;
  color: var(--navy-dark);
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
  border-radius: 8px;
  line-height: 1.3;
}
.site-nav a:hover { background: var(--blue-soft); color: var(--navy); }
.site-nav a[aria-current="true"] {
  color: var(--navy);
  box-shadow: inset 0 -3px 0 var(--gold);
  border-radius: 8px 8px 0 0;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: .5rem;
  min-height: 48px;
  padding: .5rem .9rem;
  border: 2px solid var(--navy);
  border-radius: 10px;
  background: #fff;
  color: var(--navy);
  font: 700 1rem/1 var(--font-sans);
  cursor: pointer;
  flex: 0 0 auto;
}
.nav-toggle:hover { background: var(--blue-soft); }
.nav-toggle svg { width: 24px; height: 24px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* Desktop: Logo in Originalgröße und Navigation nebeneinander (passt ab 1200 px Breite) */
@media (min-width: 75em) {
  .site-nav { flex: 0 0 auto; }
  .site-nav ul { flex-wrap: nowrap; }
}

/* Ohne JavaScript: Navigation umbrechen, Header nicht fixieren */
@media (max-width: 74.99em) {
  html:not(.js) .header__inner { flex-wrap: wrap; }
  html:not(.js) .site-header { position: static; }
  html:not(.js) .site-nav { width: 100%; }

  .js .nav-toggle { display: inline-flex; }
  .js .site-nav {
    display: none;
    position: absolute;
    left: 0; right: 0;
    top: 100%;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 24px rgba(1, 24, 62, .12);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }
  .js .site-nav.is-open { display: block; }
  .js .site-nav ul {
    flex-direction: column;
    padding: .5rem var(--gutter) 1rem;
    gap: 0;
  }
  .js .site-nav a {
    font-size: 1.1rem;
    padding: .85rem .5rem;
    border-bottom: 1px solid #eee9dc;
    border-radius: 0;
  }
  .js .site-nav li:last-child a { border-bottom: 0; }
  .js .site-nav a[aria-current="true"] { box-shadow: inset 4px 0 0 var(--gold); padding-left: 1rem; }
}
@media (max-width: 26em) {
  .nav-toggle__label { display: none; }
  .nav-toggle { padding: .5rem .7rem; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 52px;
  padding: .8rem 1.6rem;
  border-radius: 10px;
  border: 2px solid transparent;
  font: 700 1.05rem/1.2 var(--font-sans);
  text-decoration: none;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn svg { width: 20px; height: 20px; flex: 0 0 auto; }
.btn--gold { background: var(--gold); color: var(--navy-deep); }
.btn--gold:hover { background: #ddc94f; color: var(--navy-deep); }
.btn--ghost { border-color: #fff; color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--navy); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-dark); color: #fff; }
@media (prefers-reduced-motion: no-preference) {
  .btn:hover { transform: translateY(-1px); }
}
@media (max-width: 26em) {
  .btn { padding-inline: 1.1rem; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  min-height: clamp(32rem, 86vh, 50rem);
  padding: clamp(3rem, 8vh, 5rem) 0 clamp(3.5rem, 9vh, 5.5rem);
  color: #fff;
  text-align: center;
  background: var(--navy-deep);
  overflow: hidden;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 42%;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(1, 24, 62, .72) 0%, rgba(1, 24, 62, .74) 50%, rgba(1, 24, 62, .9) 100%);
}
.hero__logo {
  display: inline-block;
  max-width: 100%;
  margin: 0 0 clamp(1.5rem, 4vh, 2.25rem);
  padding: clamp(.9rem, 3vw, 1.4rem) clamp(1rem, 4vw, 2rem);
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 12px 40px rgba(0, 0, 0, .35);
  line-height: 0;
}
.hero__logo img { display: block; width: 474px; max-width: 100%; height: auto; }
.hero h1 {
  color: #fff;
  font-size: clamp(1.8rem, 1rem + 4vw, 3.6rem);
  font-weight: 700;
  margin-bottom: .35em;
  text-shadow: 0 2px 16px rgba(0, 0, 0, .35);
}
.hero__tagline {
  margin: 0 auto 2.1rem;
  color: var(--gold-light);
  font-size: clamp(1.05rem, .95rem + .6vw, 1.35rem);
  font-weight: 600;
  letter-spacing: .01em;
}
.hero__tagline span { white-space: nowrap; }
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .9rem;
}
.hero__rule {
  display: block;
  width: 4.5rem;
  height: 4px;
  margin: 0 auto 1.4rem;
  background: var(--gold);
  border-radius: 2px;
}

/* ---------- Abschnitte ---------- */
.section {
  padding-block: clamp(3.5rem, 8vw, 6rem);
}
.section--tint { background: var(--bg-tint); }
.section--white { background: var(--surface); }
.section__head { max-width: 48rem; margin-bottom: 2.25rem; }
.section__head h2::before {
  content: "";
  display: block;
  width: 3.5rem;
  height: 4px;
  margin-bottom: 1rem;
  background: var(--gold);
  border-radius: 2px;
}
.lead { font-size: 1.12rem; color: var(--text); }
.prose { max-width: 48rem; }

/* ---------- Willkommen: Kennzahlen ---------- */
.stats {
  list-style: none;
  margin: 2.75rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
@media (min-width: 56em) {
  .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
}
.stat {
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 5px solid var(--navy);
  border-radius: var(--radius);
  padding: 1.4rem 1.1rem 1.25rem;
  text-align: center;
  box-shadow: var(--shadow);
}
.stat:nth-child(2) { border-top-color: var(--blue); }
.stat:nth-child(3) { border-top-color: var(--gold); }
.stat:nth-child(4) { border-top-color: var(--brown); }
.stat__value {
  display: block;
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--navy);
  font-size: clamp(1.5rem, 1.1rem + 2vw, 2.6rem);
  line-height: 1.1;
  white-space: nowrap;
}
.stat__label {
  display: block;
  margin-top: .35rem;
  color: var(--muted);
  font-size: 1.05rem;
  font-weight: 600;
  hyphens: auto;
  -webkit-hyphens: auto;
  overflow-wrap: normal;
}
@media (max-width: 26em) {
  .stat { padding: 1.1rem .6rem 1rem; }
  .stat__label { font-size: .95rem; }
}

/* ---------- Geschichte ---------- */
.history {
  display: grid;
  gap: 2rem;
}
@media (min-width: 60em) {
  .history { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 3.5rem; align-items: start; }
}
.statute {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 6px solid var(--gold);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 3vw, 2.2rem);
  box-shadow: var(--shadow);
}
.statute h3 { margin-bottom: .8rem; }

/* ---------- Projekte ---------- */
.projects {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr));
  gap: 1.25rem;
}
.project {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 3vw, 1.9rem);
  box-shadow: var(--shadow);
}
.project__icon {
  display: grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--navy);
}
.project__icon svg { width: 1.6rem; height: 1.6rem; }
.project h3 { margin-bottom: .55rem; }
.project p { color: var(--text); }

.thanks {
  margin: 2.25rem 0 0;
  padding: clamp(1.4rem, 3vw, 2rem) clamp(1.4rem, 4vw, 2.5rem);
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius);
  border-left: 6px solid var(--gold);
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 1rem + .6vw, 1.4rem);
  font-weight: 600;
  line-height: 1.5;
}

/* ---------- Mitglieder ---------- */
.member-search {
  margin: 0 0 1.5rem;
  max-width: 34rem;
}
.member-search label {
  display: block;
  margin-bottom: .4rem;
  font-weight: 700;
  color: var(--navy-dark);
}
.member-search__field { position: relative; }
.member-search__field svg {
  position: absolute;
  left: .9rem;
  top: 50%;
  width: 22px;
  height: 22px;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
}
.member-search input {
  width: 100%;
  min-height: 54px;
  padding: .7rem 1rem .7rem 2.9rem;
  border: 2px solid #8b93a5;
  border-radius: 10px;
  background: #fff;
  color: var(--text);
  font: 400 1.05rem/1.3 var(--font-sans);
}
.member-search input:focus { border-color: var(--navy); outline: 3px solid var(--gold); outline-offset: 1px; }
.member-search input::-webkit-search-cancel-button { cursor: pointer; }

.member-status {
  margin: 0 0 1rem;
  font-weight: 600;
  color: var(--navy-dark);
}
.member-status:empty { display: none; }

.members-wrap {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.members {
  width: 100%;
  border-collapse: collapse;
  font-size: 1rem;
}
.members th {
  background: var(--navy);
  color: #fff;
  text-align: left;
  font-weight: 700;
  padding: .85rem 1.1rem;
}
.members td {
  padding: .8rem 1.1rem;
  border-top: 1px solid #ebe6da;
  vertical-align: top;
}
.members tbody tr:nth-child(even) { background: #f9f7f1; }
.members tbody tr:hover { background: var(--blue-soft); }
.members .m-firm { font-weight: 600; color: var(--navy-dark); width: 40%; }
.members .m-name { width: 25%; }
.members tr[hidden] { display: none; }
.badge {
  display: inline-block;
  padding: .1rem .6rem;
  border: 1px solid #ddd0a0;
  border-radius: 999px;
  background: var(--gold-soft);
  color: var(--gold-text);
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .02em;
}

@media (max-width: 47.99em) {
  .members-wrap { background: none; border: 0; box-shadow: none; border-radius: 0; overflow: visible; }
  .members thead {
    position: absolute;
    width: 1px; height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }
  .members, .members tbody, .members tr, .members td { display: block; width: 100%; }
  .members tbody tr,
  .members tbody tr:nth-child(even) {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: .9rem 1.1rem;
    margin-bottom: .75rem;
    box-shadow: 0 1px 2px rgba(1, 24, 62, .05);
  }
  .members tbody tr[hidden] { display: none; }
  .members td,
  .members .m-name { padding: 0; border: 0; width: auto; }
  .members td:empty { display: none; }
  .members .m-firm { width: auto; font-size: 1.08rem; color: var(--navy); margin-bottom: .1rem; }
  .members .m-firm .badge { margin-bottom: .3rem; }
  .members .m-firm:empty + .m-name { font-weight: 600; font-size: 1.08rem; color: var(--navy); }
  .members .m-addr { color: var(--muted); }
}

.member-note {
  margin-top: 1.5rem;
  font-size: .9rem;
  color: var(--muted);
}

/* ---------- Müden ---------- */
.place {
  display: grid;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 60em) {
  .place { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 4rem; }
}
.place__art {
  color: var(--blue);
  display: none;
}
@media (min-width: 60em) {
  .place__art { display: block; }
}
.place__art svg { display: block; width: 100%; height: auto; }
.place .btn { margin-top: 1rem; }

/* ---------- Vorstand ---------- */
.board {
  margin: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
}
@media (min-width: 48em) {
  .board { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .board__item { grid-column: span 2; }
  .board__item:nth-child(-n+2) { grid-column: span 3; }
}
.board__item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
  box-shadow: var(--shadow);
}
.board__item--wide { grid-column: 1 / -1; }
.board dt {
  color: var(--muted);
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: .3rem;
}
.board dd {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.35;
}
.board dd ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .35rem 0;
}
@media (max-width: 47.99em) {
  .board dd ul { flex-direction: column; }
}
@media (min-width: 48em) {
  .board dd li:not(:last-child)::after {
    content: "·";
    margin: 0 .7rem;
    color: var(--gold-text);
  }
}

/* ---------- Kontakt ---------- */
.contact-card {
  display: grid;
  gap: 1.75rem;
  margin-top: 2rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(1.4rem, 4vw, 2.5rem);
  max-width: 56rem;
}
@media (min-width: 48em) {
  .contact-card { grid-template-columns: auto minmax(0, 1fr); gap: 2.5rem; align-items: start; }
}
.person {
  display: flex;
  gap: 1.1rem;
  align-items: center;
}
@media (min-width: 48em) {
  .person { flex-direction: column; align-items: flex-start; padding-right: 2.5rem; border-right: 1px solid var(--line); }
}
.person img {
  display: block;
  width: 116px;
  height: 144px;
  border-radius: 10px;
  border: 3px solid #fff;
  box-shadow: 0 0 0 1px var(--line), 0 6px 16px rgba(1, 24, 62, .14);
  flex: 0 0 auto;
}
.person__name {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 650;
  color: var(--navy);
  line-height: 1.25;
}
.person__role { margin: .2rem 0 0; color: var(--muted); font-weight: 600; }

.contact-details address {
  font-style: normal;
  margin: 0 0 1.25rem;
  line-height: 1.6;
}
.contact-details address strong { color: var(--navy-dark); }
.contact-lines {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .6rem;
}
.contact-lines a {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  min-height: 48px;
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
}
.contact-lines a .value { text-decoration: underline; text-decoration-thickness: .08em; text-underline-offset: .18em; }
.contact-lines a:hover .value { text-decoration-thickness: .14em; }
.contact-lines svg {
  width: 40px;
  height: 40px;
  padding: 9px;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--navy);
  flex: 0 0 auto;
}
.contact-lines .label { display: block; font-size: .85rem; font-weight: 700; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; line-height: 1.2; }
.contact-lines .value { display: block; line-height: 1.3; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-deep);
  color: #dfe4f0;
  padding-block: 2.5rem;
  font-size: .95rem;
}
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
}
.site-footer p { margin: 0; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--gold-light); }
.footer__nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .25rem 1.4rem;
}
.footer__nav a { display: inline-block; padding: .4rem 0; }
.footer__credit { color: #b9c2d8; font-size: .88rem; }

/* ---------- Unterseiten (Rechtliches) ---------- */
.page-head {
  background: var(--navy);
  color: #fff;
  padding-block: clamp(2.25rem, 6vw, 3.5rem);
  border-bottom: 5px solid var(--gold);
}
.page-head h1 {
  color: #fff;
  margin: 0;
  font-size: clamp(2rem, 1.4rem + 2.4vw, 2.9rem);
}
.legal {
  padding-block: clamp(2.5rem, 6vw, 4rem) clamp(3rem, 8vw, 5rem);
}
.legal .prose h2 {
  font-size: clamp(1.35rem, 1.2rem + .6vw, 1.6rem);
  margin-top: 2.2rem;
}
.legal .prose h2:first-child { margin-top: 0; }
.legal .prose h3 { font-size: 1.15rem; margin-top: 1.6rem; }
.legal .prose ul, .legal .prose ol { padding-left: 1.3rem; margin: 0 0 1em; }
.legal .prose li { margin-bottom: .35rem; }
.legal address { font-style: normal; margin-bottom: 1em; }
.legal .meta { color: var(--muted); font-size: .95rem; margin-top: 2.5rem; }
.legal dl.facts { display: grid; grid-template-columns: max-content 1fr; gap: .25rem 1.25rem; margin: 0 0 1em; }
.legal dl.facts dt { font-weight: 700; color: var(--navy-dark); }
.legal dl.facts dd { margin: 0; }
@media (max-width: 30em) {
  .legal dl.facts { grid-template-columns: 1fr; gap: 0; }
  .legal dl.facts dd { margin-bottom: .5rem; }
}
.numbered { list-style: none; padding: 0 !important; counter-reset: n; }
.numbered > li { counter-increment: n; position: relative; padding-left: 2.4rem; margin-bottom: 1.2rem !important; }
.numbered > li::before {
  content: counter(n) ")";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 700;
  color: var(--navy);
}

/* ---------- Einblendungen ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .6s ease, transform .6s ease;
  }
  .js .reveal.is-visible {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Druck ---------- */
@media print {
  .site-header, .nav-toggle, .hero__media, .member-search, .site-footer nav { display: none !important; }
  .hero { min-height: 0; color: #000; background: none; }
  .hero::before { display: none; }
  .hero h1, .hero__tagline { color: #000; text-shadow: none; }
  .js .reveal { opacity: 1 !important; transform: none !important; }
  body { font-size: 11pt; background: #fff; }
}
