/* ==========================================================================
   F.U.N.K. e.V. Stuttgart – Stylesheet
   Farben & Schriften nach dem Wix-Entwurf; ohne Build-Schritt, reines CSS.
   ========================================================================== */

/* ---------- Schriften (lokal gehostet, DSGVO-konform) ---------- */
@font-face {
  font-family: "Oswald";
  src: url("../fonts/oswald-normal-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Mulish";
  src: url("../fonts/mulish-normal-latin.woff2") format("woff2");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Mulish";
  src: url("../fonts/mulish-italic-latin.woff2") format("woff2");
  font-weight: 300 800;
  font-style: italic;
  font-display: swap;
}

/* ---------- Design-Tokens ---------- */
:root {
  --navy-950: #001c36;
  --navy-900: #002a50;
  --navy: #003868;
  --navy-700: #0b4a80;
  --blue: #015caa;
  --blue-300: #809cb4;
  --blue-200: #bfcdd9;
  --blue-100: #dde7f0;
  --blue-50: #eff4f9;
  --yellow: #ffcc01;
  --yellow-600: #f0b800;
  --yellow-200: #ffe680;
  --yellow-50: #fff8db;
  --ink: #13283e;
  --muted: #4b5f73;
  --line: #d8e1ea;
  --paper: #ffffff;
  --sand: #f3f5f8;
  --danger: #b42318;
  --danger-50: #fef3f2;
  --success: #067647;
  --success-50: #ecfdf3;

  --font-display: "Oswald", "Arial Narrow", "Roboto Condensed", sans-serif;
  --font-body: "Mulish", "Segoe UI", system-ui, -apple-system, sans-serif;

  --step--1: clamp(0.875rem, 0.85rem + 0.1vw, 0.9375rem);
  --step-0: clamp(1.03rem, 1rem + 0.14vw, 1.125rem);
  --step-1: clamp(1.15rem, 1.08rem + 0.24vw, 1.28rem);
  --step-2: clamp(1.32rem, 1.2rem + 0.45vw, 1.58rem);
  --step-3: clamp(1.65rem, 1.4rem + 0.9vw, 2.15rem);
  --step-4: clamp(2.1rem, 1.7rem + 1.5vw, 3rem);

  --space-2xs: 0.375rem;
  --space-xs: 0.625rem;
  --space-s: 1rem;
  --space-m: 1.35rem;
  --space-l: 2rem;
  --space-xl: clamp(2.5rem, 2rem + 2vw, 3.75rem);
  --space-2xl: clamp(3rem, 2.5rem + 3vw, 5rem);

  --container: 72rem;
  --container-narrow: 44rem;
  --gutter: clamp(1.125rem, 0.6rem + 2.2vw, 2.25rem);
  /* Formensprache: überall abgerundet, in drei Stufen */
  --radius-s: 8px;      /* Eingabefelder, Badges, kleine Elemente */
  --radius: 14px;       /* Karten, Bilder, Kacheln */
  --radius-l: 24px;     /* große Flächen (Bühne) */
  --radius-pill: 999px; /* Buttons */
  --shadow-1: 0 1px 2px rgb(0 42 80 / 0.06), 0 3px 10px rgb(0 42 80 / 0.06);
  --shadow-2: 0 18px 40px -18px rgb(0 42 80 / 0.35), 0 4px 12px rgb(0 42 80 / 0.06);
  --shadow-3: 0 30px 60px -25px rgb(0 28 54 / 0.45);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --header-h: 6.5rem;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

@media (prefers-reduced-motion: no-preference) {
  @view-transition {
    navigation: auto;
  }

  ::view-transition-old(root),
  ::view-transition-new(root) {
    animation-duration: 0.22s;
  }

  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

img,
svg,
video,
iframe {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.5em;
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: 0.005em;
  color: var(--navy);
  text-wrap: balance;
}

h1 { font-size: var(--step-4); font-weight: 600; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); }

p,
ul,
ol,
dl,
blockquote,
figure,
table {
  margin: 0 0 1.1em;
}

p {
  text-wrap: pretty;
}

a {
  color: var(--blue);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  transition: color 0.2s var(--ease), text-decoration-color 0.2s var(--ease);
}

a:hover {
  color: var(--navy);
}

strong,
b {
  font-weight: 750;
}

hr {
  border: 0;
  height: 1px;
  background: var(--line);
  margin: var(--space-l) 0;
}

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

::selection {
  background: var(--yellow-200);
  color: var(--navy-950);
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -10rem;
  z-index: 100;
  padding: 0.75rem 1.25rem;
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 1rem;
}

.icon {
  width: 1.15em;
  height: 1.15em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon--fill {
  fill: currentColor;
  stroke: none;
}

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

.container--narrow {
  max-width: calc(var(--container-narrow) + 2 * var(--gutter));
}

.section {
  padding-block: var(--space-xl);
}

.section--tight {
  padding-block: var(--space-l);
}

.section--sand {
  background: var(--sand);
}

.section--navy {
  background: var(--navy);
  color: #fff;
}

.section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-s) var(--space-l);
  margin-bottom: var(--space-l);
}

.section__head h2 {
  margin: 0;
}

.section__head--center {
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 0.85rem;
  font-family: var(--font-body);
  font-size: var(--step--1);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
}

.eyebrow::before {
  content: "";
  width: 1.75rem;
  height: 3px;
  background: var(--yellow);
  border-radius: 2px;
}

.lead {
  font-size: var(--step-1);
  line-height: 1.55;
  color: var(--muted);
  max-width: 44rem;
}

/* ---------- Buttons & Links ---------- */
.btn {
  --btn-bg: var(--navy);
  --btn-fg: #fff;
  --btn-bg-hover: var(--navy-700);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 3rem;
  padding: 0.7rem 1.6rem;
  border: 2px solid transparent;
  border-radius: var(--radius-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.btn:hover {
  background: var(--btn-bg-hover);
  color: var(--btn-fg);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px -10px rgb(0 28 54 / 0.55);
}

.btn:active {
  transform: translateY(0);
}

.btn--primary {
  --btn-bg: var(--yellow);
  --btn-fg: var(--navy-950);
  --btn-bg-hover: var(--yellow-200);
}

.btn--light {
  --btn-bg: #fff;
  --btn-fg: var(--navy);
  --btn-bg-hover: var(--blue-50);
}

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--navy);
  --btn-bg-hover: var(--blue-50);
  border-color: var(--navy);
}

.btn--small {
  min-height: 2.5rem;
  padding: 0.45rem 1rem;
  font-size: 0.9rem;
}

.btn .icon {
  width: 1.1em;
  height: 1.1em;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
  color: var(--navy);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.link-arrow .icon {
  color: var(--blue);
  transition: transform 0.25s var(--ease);
}

.link-arrow:hover .icon,
a:hover .link-arrow .icon,
.card:hover .link-arrow .icon {
  transform: translateX(4px);
}

.link-arrow > span {
  background: linear-gradient(var(--yellow), var(--yellow)) 0 100% / 100% 3px no-repeat;
  padding-bottom: 2px;
  transition: background-size 0.25s var(--ease);
}

/* ---------- Header & Navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(255 255 255 / 0.97);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

@supports (backdrop-filter: blur(8px)) {
  .site-header {
    background: rgb(255 255 255 / 0.9);
    backdrop-filter: saturate(1.6) blur(10px);
  }
}

.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 6px 24px -18px rgb(0 28 54 / 0.45);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-m);
  min-height: var(--header-h);
  padding-block: 0.5rem;
}

.brand {
  display: block;
  flex: none;
  border-radius: var(--radius-s);
}

.brand img {
  width: auto;
  height: clamp(3.35rem, 3.2rem + 1.4vw, 5rem);
  border-radius: 3px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: var(--space-m);
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav__item {
  position: relative;
  display: flex;
  align-items: center;
}

.nav__link {
  position: relative;
  display: block;
  padding: 0.55rem 0.6rem;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--navy);
  text-decoration: none;
  white-space: nowrap;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0.7rem;
  right: 0.7rem;
  bottom: 0.25rem;
  height: 3px;
  border-radius: 2px;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}

.nav__link:hover {
  color: var(--navy);
}

.nav__link:hover::after,
.nav__link[aria-current]::after {
  transform: scaleX(1);
}

.nav__subtoggle {
  display: grid;
  place-items: center;
  width: 1.6rem;
  height: 1.6rem;
  margin-left: -0.55rem;
  padding: 0;
  border: 0;
  border-radius: var(--radius-s);
  background: none;
  color: var(--navy);
  cursor: pointer;
}

.nav__subtoggle .icon {
  width: 1rem;
  height: 1rem;
  transition: transform 0.2s var(--ease);
}

.nav__item--has-sub:hover .nav__subtoggle .icon,
.nav__subtoggle[aria-expanded="true"] .icon {
  transform: rotate(180deg);
}

.subnav {
  position: absolute;
  top: calc(100% + 0.4rem);
  left: 0;
  z-index: 10;
  min-width: 15rem;
  margin: 0;
  padding: 0.5rem;
  list-style: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
}

.subnav::before {
  content: "";
  position: absolute;
  inset: -0.6rem 0 auto;
  height: 0.6rem;
}

.nav__item--has-sub:hover .subnav,
.nav__item--has-sub:focus-within .subnav,
.nav__item--has-sub.is-open .subnav {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.subnav__link {
  display: block;
  padding: 0.6rem 0.85rem;
  border-radius: var(--radius-s);
  color: var(--ink);
  font-weight: 650;
  text-decoration: none;
}

.subnav__link:hover,
.subnav__link[aria-current] {
  background: var(--blue-50);
  color: var(--navy);
}

.site-nav__cta {
  flex: none;
}

.nav-toggle {
  display: none;
  position: relative;
  z-index: 60;
  flex: none;
  width: 3rem;
  height: 3rem;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: var(--navy);
  color: #fff;
  cursor: pointer;
}

.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  position: absolute;
  left: 50%;
  width: 1.35rem;
  height: 2px;
  margin-left: -0.675rem;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.3s var(--ease), opacity 0.2s;
}

.nav-toggle__bars {
  top: 50%;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  left: 0;
  margin-left: 0;
}

.nav-toggle__bars::before { top: -7px; }
.nav-toggle__bars::after { top: 7px; }

.nav-toggle[aria-expanded="true"] .nav-toggle__bars {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 1180px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 55;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: var(--space-l);
    padding: calc(var(--header-h) + 1rem) var(--gutter) var(--space-l);
    overflow-y: auto;
    background: var(--navy);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-1rem);
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
  }

  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav__item {
    flex-wrap: wrap;
    border-bottom: 1px solid rgb(255 255 255 / 0.12);
  }

  .nav__link {
    flex: 1;
    padding: 0.9rem 0;
    font-size: 1.6rem;
    color: #fff;
  }

  .nav__link:hover {
    color: var(--yellow);
  }

  .nav__link::after {
    left: 0;
    right: auto;
    width: 2.5rem;
    bottom: 0.45rem;
  }

  .nav__subtoggle {
    width: 3rem;
    height: 3rem;
    margin: 0;
    color: #fff;
  }

  .nav__subtoggle .icon {
    width: 1.4rem;
    height: 1.4rem;
  }

  .nav__item--has-sub:hover .nav__subtoggle .icon {
    transform: none;
  }

  .nav__subtoggle[aria-expanded="true"] .icon {
    transform: rotate(180deg);
  }

  .subnav {
    position: static;
    flex-basis: 100%;
    display: none;
    min-width: 0;
    margin: 0 0 0.75rem;
    padding: 0 0 0 1rem;
    border: 0;
    border-left: 2px solid rgb(255 255 255 / 0.2);
    border-radius: 0;
    background: none;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav__item--has-sub:hover .subnav,
  .nav__item--has-sub:focus-within .subnav {
    display: none;
  }

  .nav__item--has-sub.is-open .subnav {
    display: block;
  }

  .subnav__link {
    color: rgb(255 255 255 / 0.85);
    font-size: 1.1rem;
  }

  .subnav__link:hover,
  .subnav__link[aria-current] {
    background: rgb(255 255 255 / 0.08);
    color: #fff;
  }

  .site-nav__cta {
    align-self: flex-start;
    font-size: 1.1rem;
  }

  body.nav-open .nav-toggle {
    background: var(--yellow);
    color: var(--navy-950);
  }
}

/* Buttons "Mitglied werden" und "Spenden" (immer sichtbar, auch mobil) */
.site-nav {
  margin-left: auto;
}

.header-actions {
  display: flex;
  flex: none;
  align-items: center;
  gap: 0.5rem;
}

@media (max-width: 1180px) {
  .header-actions {
    margin-left: auto;
  }
}

@media (max-width: 760px) {
  .header-actions__member {
    display: none;
  }
}

@media (max-width: 440px) {
  .brand img {
    height: 2.85rem;
  }
}

@media (max-width: 380px) {
  .brand img {
    height: 2.5rem;
  }
}

@media (max-width: 340px) {
  /* Sehr schmale Handys: nur das Herz zeigen, Text bleibt für Screenreader */
  .header-actions .btn span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
}

/* ---------- Mobiles Menü (bis 1180 px) ---------- */
.site-nav__extra {
  display: none;
}

@media (max-width: 1180px) {
  /* Kein Weichzeichner: backdrop-filter würde das Vollbild-Menü auf die Höhe
     des Kopfbereichs beschränken (das Menü "klebt" dann im Kopf) */
  .site-header,
  .site-header.is-scrolled {
    background: #fff;
    backdrop-filter: none;
  }

  /* Logo, Spenden-Button und Schließen-Kreuz bleiben über dem offenen Menü sichtbar */
  .brand,
  .header-actions {
    position: relative;
    z-index: 60;
  }

  body.nav-open {
    overflow: hidden;
  }

  body.nav-open .site-header {
    border-color: transparent;
    box-shadow: none;
  }

  body.nav-open .header-actions__member {
    display: none;
  }

  .site-nav__extra {
    display: grid;
    gap: var(--space-s);
    margin-top: auto;
    padding-top: var(--space-m);
    border-top: 1px solid rgb(255 255 255 / 0.15);
    color: rgb(255 255 255 / 0.8);
  }

  .site-nav__extra .btn {
    width: 100%;
  }

  .site-nav__extra p {
    margin: 0;
    font-size: 0.98rem;
  }

  .site-nav__extra a:not(.btn) {
    color: #fff;
  }
}

@media (max-width: 720px) {
  :root {
    --header-h: 4.75rem;
  }

  /* Logo + Spenden + Menü-Button müssen auch auf 360 px breiten Handys passen */
  .site-header__inner {
    gap: 0.5rem;
  }

  .header-actions .btn {
    padding-inline: 0.9rem;
  }
}

/* ---------- Hero-Slider (Startseite) ---------- */
/* Volle Bildschirmbreite (wirkt auf großen Monitoren nicht "eingekastelt"),
   Text und Bedienelemente bleiben an der Kante des Inhaltsbereichs */
.hero {
  --hero-inset: max(5.25rem, calc((100% - var(--container)) / 2));
}

.hero > .container {
  max-width: none;
  padding-inline: 0;
}

.hero__frame {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: clamp(24rem, 56vh, 36rem);
  background: var(--navy);
}

.slider__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.1s var(--ease), visibility 1.1s;
}

.slider__slide.is-active {
  opacity: 1;
  visibility: visible;
}

.hero__media,
.hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__media img {
  object-fit: cover;
  object-position: var(--focus, 50% 50%);
  transform: scale(1.06);
  transition: transform 9s linear;
}

.slider__slide.is-active .hero__media img {
  transform: scale(1);
}

.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgb(0 28 54 / 0.78) 0%, rgb(0 28 54 / 0.5) 38%, rgb(0 28 54 / 0.08) 72%),
    linear-gradient(0deg, rgb(0 28 54 / 0.45) 0%, rgb(0 28 54 / 0) 40%);
}

.hero__content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: var(--space-xl) var(--hero-inset);
  color: #fff;
}

.hero__title {
  margin: 0;
  color: #fff;
  font-size: var(--step-4);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: 0.005em;
  text-shadow: 0 2px 30px rgb(0 0 0 / 0.25);
  max-width: 16ch;
}

.hero__text {
  max-width: 34rem;
  margin: 1rem 0 0;
  font-size: var(--step-1);
  line-height: 1.5;
  color: rgb(255 255 255 / 0.92);
}

.hero__content .btn {
  margin-top: var(--space-l);
}

.slider__slide .hero__content > * {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.slider__slide.is-active .hero__content > * {
  opacity: 1;
  transform: none;
}

.slider__slide.is-active .hero__content > :nth-child(2) { transition-delay: 0.12s; }
.slider__slide.is-active .hero__content > :nth-child(3) { transition-delay: 0.24s; }

.slider__arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  margin-top: -1.625rem;
  padding: 0;
  border: 1px solid rgb(255 255 255 / 0.35);
  border-radius: 50%;
  background: rgb(0 28 54 / 0.25);
  color: #fff;
  cursor: pointer;
  backdrop-filter: blur(4px);
  transition: background-color 0.2s var(--ease), border-color 0.2s;
}

.slider__arrow:hover {
  background: rgb(0 28 54 / 0.55);
  border-color: #fff;
}

.slider__arrow .icon {
  width: 1.5rem;
  height: 1.5rem;
}

.slider__arrow--prev { left: max(1rem, calc(var(--hero-inset) - 4.25rem)); }
.slider__arrow--next { right: max(1rem, calc(var(--hero-inset) - 4.25rem)); }

.slider__bar {
  position: absolute;
  right: var(--hero-inset);
  bottom: 1.5rem;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.slider__dots {
  display: flex;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.slider__dot {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.slider__dot::before {
  content: "";
  display: block;
  height: 4px;
  border-radius: 2px;
  background: rgb(255 255 255 / 0.45);
  transition: background-color 0.2s;
}

.slider__dot[aria-current="true"]::before {
  background: var(--yellow);
}

.slider__pause {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border: 1px solid rgb(255 255 255 / 0.4);
  border-radius: 50%;
  background: rgb(0 28 54 / 0.3);
  color: #fff;
  cursor: pointer;
}

.slider__pause .icon {
  width: 0.95rem;
  height: 0.95rem;
}

.slider__pause .icon-play { display: none; }
.slider__pause[aria-pressed="true"] .icon-play { display: block; }
.slider__pause[aria-pressed="true"] .icon-pause { display: none; }

@media (max-width: 720px) {
  .hero__frame {
    min-height: 34rem;
  }

  .hero__title {
    max-width: none;
  }

  .hero__media::after {
    background: linear-gradient(0deg, rgb(0 28 54 / 0.88) 0%, rgb(0 28 54 / 0.55) 48%, rgb(0 28 54 / 0.1) 100%);
  }

  .hero__content {
    justify-content: flex-end;
    padding: var(--space-l) var(--gutter) 5rem;
  }

  .slider__arrow {
    display: none;
  }

  .slider__bar {
    left: var(--gutter);
    right: auto;
  }
}

/* ---------- Willkommen ---------- */
.intro {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: var(--space-l) var(--space-xl);
  align-items: start;
}

.intro__title {
  margin: 0;
  font-size: var(--step-3);
}

.intro__text {
  font-size: var(--step-0);
}

.intro__text p:last-child {
  margin-bottom: 0;
}

.intro__video {
  margin-top: var(--space-l);
}

@media (max-width: 860px) {
  .intro {
    grid-template-columns: 1fr;
  }
}

/* ---------- Kacheln (Startseite) ---------- */
/* Raster mit 6 Spalten: 5 Kacheln = 2 große + 3 kleinere, 4 Kacheln = 2 × 2 */
.tiles {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: var(--space-m);
}

.tile {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-1);
  color: inherit;
  text-decoration: none;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.tiles--2 .tile,
.tiles--4 .tile,
.tiles--5 .tile:nth-child(-n + 2) {
  grid-column: span 3;
}

.tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-2);
}

.tile__media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--blue-100);
}

.tiles--3 .tile__media,
.tiles--5 .tile:nth-child(n + 3) .tile__media,
.tiles--6 .tile__media {
  aspect-ratio: 16 / 10;
}

@media (min-width: 961px) {
  .tiles--5 .tile:nth-child(-n + 2) .tile__media {
    aspect-ratio: 2 / 1;
    max-height: 14rem;
  }

  .tiles--5 .tile:nth-child(n + 3) .tile__media {
    max-height: 11.5rem;
  }
}

.tile__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--focus, 50% 50%);
  transition: transform 0.8s var(--ease);
}

.tile:hover .tile__media img {
  transform: scale(1.04);
}

.tile__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.45rem;
  padding: 1.15rem 1.25rem 1.3rem;
  border-top: 4px solid var(--yellow);
}

.tile__title {
  margin: 0;
  font-size: var(--step-1);
}

.tile__text {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.55;
}

.tile .link-arrow {
  margin-top: auto;
  padding-top: 0.4rem;
}

/* Kachel ohne Bild: einfarbig */
.tile--plain {
  background: var(--navy);
  color: #fff;
}

.tile--plain .tile__body {
  border-top: 0;
}

.tile--plain .tile__title,
.tile--plain .link-arrow {
  color: #fff;
}

.tile--plain .tile__text {
  color: rgb(255 255 255 / 0.85);
}

@media (max-width: 960px) {
  .tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tile,
  .tiles--2 .tile,
  .tiles--4 .tile,
  .tiles--5 .tile:nth-child(-n + 2) {
    grid-column: span 1;
  }

  .tiles--3 .tile:first-child,
  .tiles--5 .tile:first-child {
    grid-column: span 2;
  }
}

@media (max-width: 640px) {
  .tiles {
    grid-template-columns: 1fr;
  }

  .tile,
  .tiles--3 .tile:first-child,
  .tiles--5 .tile:first-child {
    grid-column: auto;
  }
}

/* ---------- Karten (allgemein) ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 18rem), 1fr));
  gap: var(--space-m);
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
}

.card:hover {
  transform: translateY(-3px);
  border-color: var(--blue-200);
  box-shadow: var(--shadow-2);
}

.card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, var(--blue-50), var(--blue-100));
}

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--focus, 50% 50%);
  transition: transform 0.8s var(--ease);
}

.card:hover .card__media img {
  transform: scale(1.04);
}

.card__placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: var(--blue-300);
}

.card__placeholder img {
  width: 42%;
  height: auto;
  object-fit: contain;
  opacity: 0.55;
  filter: grayscale(1);
  mix-blend-mode: multiply;
}

.card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.1rem 1.2rem;
}

.card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 1rem;
  margin: 0 0 0.6rem;
  font-size: var(--step--1);
  font-weight: 700;
  color: var(--muted);
}

.card__meta .icon {
  width: 1rem;
  height: 1rem;
  color: var(--blue);
}

.card__meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.card__title {
  margin: 0 0 0.6rem;
  font-size: var(--step-1);
  line-height: 1.25;
}

.card__title a {
  color: inherit;
  text-decoration: none;
}

.card__title a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.card__text {
  margin: 0 0 0.9rem;
  color: var(--muted);
  font-size: 0.94rem;
}

.card__footer {
  margin-top: auto;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.65rem;
  border-radius: 99px;
  background: var(--blue-50);
  color: var(--navy);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.badge--yellow {
  background: var(--yellow);
  color: var(--navy-950);
}

.badge--light {
  background: rgb(255 255 255 / 0.92);
  color: var(--navy);
  box-shadow: 0 2px 8px rgb(0 28 54 / 0.14);
}

.card__media .badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 1;
}

/* ---------- Termine ---------- */
.event-list {
  display: grid;
  gap: var(--space-m);
  margin: 0;
  padding: 0;
  list-style: none;
}

.event-list--grid {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 19.5rem), 1fr));
}

.event-card {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1.05rem;
  align-items: start;
  height: 100%;
  padding: 1.1rem 1.2rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
}

.event-card:hover {
  transform: translateY(-3px);
  border-color: var(--blue-200);
  box-shadow: var(--shadow-2);
}

.date-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 4.35rem;
  min-height: 4.9rem;
  padding: 0.5rem 0.35rem;
  border-radius: var(--radius-s);
  background: var(--navy);
  color: #fff;
  text-align: center;
  line-height: 1;
}

.date-badge__weekday {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--yellow);
}

.date-badge__day {
  margin: 0.18rem 0 0.12rem;
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 500;
}

.date-badge__month {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.date-badge--past {
  background: var(--blue-300);
}

.date-badge--past .date-badge__weekday {
  color: #fff;
}

.event-card__title {
  margin: 0 0 0.5rem;
  font-size: var(--step-1);
  line-height: 1.25;
}

.event-card__title a {
  color: inherit;
  text-decoration: none;
}

.event-card__title a::after {
  content: "";
  position: absolute;
  inset: 0;
}

.event-card__text {
  margin: 0.6rem 0 0;
  color: var(--muted);
  font-size: 1rem;
}

.empty-state {
  padding: var(--space-l);
  border: 2px dashed var(--line);
  border-radius: var(--radius);
  text-align: center;
  color: var(--muted);
}

.empty-state p:last-child {
  margin-bottom: 0;
}

/* ---------- Stimmen (Feedback) ---------- */
/* Alle Zitate gleichzeitig sichtbar, kein automatischer Wechsel */
.quote-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr));
  gap: var(--space-m);
  margin: 0;
  padding: 0;
  list-style: none;
}

.quote-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  margin: 0;
  padding: 1.5rem 1.5rem 1.25rem;
  border-radius: var(--radius);
  background: var(--blue-50);
}

.quote-card::before {
  content: "\201C";
  position: absolute;
  top: 0.35rem;
  left: 1.2rem;
  font-family: var(--font-display);
  font-size: 3.5rem;
  line-height: 1;
  color: var(--yellow);
}

.quote-card__text {
  margin: 1.35rem 0 1rem;
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--ink);
}

.quote-card__text p {
  margin: 0;
}

.quote-card__author {
  margin-top: auto;
  padding-top: 0.9rem;
  border-top: 1px solid var(--blue-200);
  font-size: var(--step--1);
  font-weight: 800;
  color: var(--navy);
}

/* ---------- Partner ---------- */
.partners {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-l) clamp(2rem, 5vw, 4.5rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.partners a,
.partners span {
  display: block;
  color: var(--muted);
  font-weight: 800;
  text-decoration: none;
}

.partners img {
  width: auto;
  max-width: 11rem;
  max-height: 4.5rem;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.7;
  transition: filter 0.3s var(--ease), opacity 0.3s var(--ease), transform 0.3s var(--ease);
}

.partners a:hover img {
  filter: none;
  opacity: 1;
  transform: scale(1.03);
}

/* ---------- Seitenkopf (Unterseiten) ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(2rem, 1.6rem + 2vw, 3.25rem) 0 clamp(1.75rem, 1.4rem + 1.6vw, 2.75rem);
  background:
    radial-gradient(circle at 92% -10%, rgb(255 204 1 / 0.22), transparent 34%),
    radial-gradient(circle at -5% 120%, rgb(1 92 170 / 0.1), transparent 40%),
    linear-gradient(180deg, var(--blue-50) 0%, #fff 100%);
}

.page-hero::after {
  content: "";
  position: absolute;
  right: -4rem;
  bottom: -6rem;
  z-index: -1;
  width: 22rem;
  height: 22rem;
  background: url("../images/house.svg") no-repeat center / contain;
  opacity: 0.06;
  transform: rotate(-8deg);
}

.page-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-l) var(--space-xl);
  align-items: center;
}

.page-hero--media .page-hero__grid {
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
}

.page-hero h1 {
  margin-bottom: 0.35em;
}

.page-hero .lead {
  margin-bottom: 0;
}

.page-hero__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow-3);
}

.page-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--focus, 50% 50%);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
  font-size: var(--step--1);
  font-weight: 700;
}

.breadcrumb li + li::before {
  content: "/";
  margin-right: 0.35rem;
  color: var(--blue-300);
}

.breadcrumb a {
  color: var(--muted);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--navy);
  text-decoration: underline;
}

.page-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
  font-weight: 700;
  color: var(--navy);
}

.page-hero__meta li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.page-hero__meta .icon {
  color: var(--blue);
}

@media (max-width: 860px) {
  .page-hero--media .page-hero__grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Fließtext (Blocks) ---------- */
.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(16rem, 22rem);
  gap: var(--space-xl);
  align-items: start;
}

@media (max-width: 960px) {
  .content-layout {
    grid-template-columns: 1fr;
  }
}

.prose {
  max-width: 44rem;
}

.prose p,
.prose li,
.card__text,
.lead {
  hyphens: auto;
  hyphenate-limit-chars: 8 3 3;
}

.prose--wide {
  max-width: none;
}

.prose--plain {
  font-size: clamp(1.08rem, 1.04rem + 0.16vw, 1.18rem);
  line-height: 1.8;
}

.prose--plain p,
.prose--plain li {
  hyphens: none;
  margin-bottom: 1.15em;
}

.prose--plain li {
  margin-bottom: 0.7em;
}

.prose > :first-child {
  margin-top: 0;
}

.prose h2 {
  margin-top: 1.6em;
  font-size: var(--step-2);
}

.prose h3 {
  margin-top: 1.4em;
  font-size: var(--step-1);
}

.prose h4 {
  margin-top: 1.3em;
  font-size: 1.15rem;
}

.prose ul,
.prose ol {
  padding-left: 1.3em;
}

.prose li {
  margin-bottom: 0.4em;
  padding-left: 0.25em;
}

.prose li::marker {
  color: var(--blue);
  font-weight: 800;
}

.prose a {
  font-weight: 650;
  overflow-wrap: anywhere;
}

.prose figure {
  margin: var(--space-l) 0;
}

.prose figure img {
  width: 100%;
  border-radius: var(--radius);
}

.prose figcaption {
  margin-top: 0.6rem;
  font-size: var(--step--1);
  color: var(--muted);
}

.prose blockquote,
.block-quote {
  position: relative;
  margin: var(--space-l) 0;
  padding: var(--space-m) var(--space-m) var(--space-m) 4rem;
  border-radius: var(--radius);
  background: var(--blue-50);
}

.prose blockquote::before,
.block-quote::before {
  content: "\201E";
  position: absolute;
  top: 0.4rem;
  left: 1rem;
  font-family: var(--font-display);
  font-size: 4rem;
  line-height: 1;
  color: var(--blue);
}

.block-quote p {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: var(--step-1);
  color: var(--navy);
}

.block-quote footer {
  font-size: var(--step--1);
  font-weight: 700;
  color: var(--muted);
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1rem;
}

.prose th,
.prose td {
  padding: 0.6rem 0.75rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.prose th {
  background: var(--blue-50);
  color: var(--navy);
}

.table-scroll {
  overflow-x: auto;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 12rem), 1fr));
  gap: 0.75rem;
  margin: var(--space-l) 0;
  padding: 0;
  list-style: none;
}

.gallery li {
  margin: 0;
  padding: 0;
}

.gallery a {
  display: block;
  overflow: hidden;
  border-radius: var(--radius-s);
}

.gallery img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: var(--focus, 50% 50%);
  transition: transform 0.6s var(--ease);
}

.gallery a:hover img {
  transform: scale(1.05);
}

.download {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: var(--space-m) 0;
  padding: 1rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  box-shadow: var(--shadow-1);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.prose .download {
  font-weight: inherit;
}

.download:hover {
  border-color: var(--blue-200);
  color: var(--ink);
  box-shadow: var(--shadow-2);
  transform: translateY(-2px);
}

.download__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-s);
  background: var(--yellow);
  color: var(--navy-950);
}

.download__label {
  display: block;
  font-weight: 800;
  color: var(--navy);
}

.download__meta {
  display: block;
  font-size: var(--step--1);
  color: var(--muted);
}

.download__arrow {
  margin-left: auto;
  color: var(--blue);
}

/* Datenschutzfreundliches Video (2-Klick-Lösung) */
.video {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 20% 20%, rgb(255 204 1 / 0.2), transparent 40%),
    linear-gradient(135deg, var(--navy) 0%, var(--navy-950) 100%);
  color: #fff;
}

.video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video__poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
}

.video__consent {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  padding: 1.25rem;
  text-align: center;
}

.video__play {
  display: grid;
  place-items: center;
  width: 4.5rem;
  height: 4.5rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--navy-950);
  cursor: pointer;
  box-shadow: 0 10px 30px -8px rgb(0 0 0 / 0.5);
  transition: transform 0.25s var(--ease);
}

.video__play:hover {
  transform: scale(1.06);
}

.video__play .icon {
  width: 1.6rem;
  height: 1.6rem;
  margin-left: 0.2rem;
}

.video__title {
  font-family: var(--font-display);
  font-size: var(--step-1);
}

.video__note {
  max-width: 30rem;
  margin: 0;
  font-size: 0.85rem;
  color: rgb(255 255 255 / 0.85);
}

.video__note a {
  color: #fff;
}

/* ---------- Seitenleiste / Infobox ---------- */
.aside-box {
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
  padding: var(--space-m);
  border-radius: var(--radius);
  background: var(--sand);
}

.aside-box h2,
.aside-box h3 {
  font-size: var(--step-1);
}

.facts {
  display: grid;
  gap: 1rem;
  margin: 0 0 var(--space-m);
  padding: 0;
  list-style: none;
}

.facts li {
  display: grid;
  grid-template-columns: 1.5rem minmax(0, 1fr);
  gap: 0.75rem;
  align-items: start;
}

.facts .icon {
  margin-top: 0.25rem;
  color: var(--blue);
}

.facts strong {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Über uns: Schwerpunkte ---------- */
.highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
  gap: var(--space-m);
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: highlight;
}

.highlight {
  position: relative;
  padding: 1.5rem 1.35rem 1.35rem;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-1);
  counter-increment: highlight;
}

.highlight::before {
  content: counter(highlight, decimal-leading-zero);
  display: block;
  margin-bottom: 0.6rem;
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 500;
  line-height: 1;
  color: var(--yellow-600);
}

.highlight h3 {
  margin-bottom: 0.25rem;
  font-size: var(--step-1);
}

.highlight__subtitle {
  margin: 0 0 0.75rem;
  font-weight: 750;
  color: var(--navy);
}

.highlight p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1rem;
}

/* ---------- Vorstand ---------- */
.people {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr));
  gap: var(--space-m);
  margin: 0 0 var(--space-l);
  padding: 0;
  list-style: none;
}

.person {
  display: flex;
  flex-direction: column;
  padding: var(--space-m);
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-1);
}

.person--lead {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: var(--space-m) var(--space-l);
  align-items: center;
  background: linear-gradient(135deg, #fff 0%, var(--blue-50) 100%);
}

.person__photo {
  width: 7rem;
  height: 7rem;
  margin-bottom: 1rem;
  overflow: hidden;
  border-radius: 50%;
  background: var(--blue-100);
}

.person--lead .person__photo {
  margin: 0;
}

.person__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--focus, 50% 50%);
}

.person__role {
  margin: 0 0 0.3rem;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
}

.person__name {
  margin: 0;
  font-size: var(--step-1);
  line-height: 1.3;
}

.person__contact {
  margin: 0.85rem 0 0;
  font-size: 1rem;
  color: var(--muted);
}

/* ---------- Filter (Informationen) ---------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 0 0 var(--space-l);
  padding: 0;
  list-style: none;
}

.filter {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 2.6rem;
  padding: 0.45rem 1.1rem;
  border: 2px solid var(--line);
  border-radius: 99px;
  background: #fff;
  color: var(--navy);
  font-weight: 800;
  font-size: 0.95rem;
  text-decoration: none;
  transition: border-color 0.2s, background-color 0.2s, color 0.2s;
}

.filter:hover {
  border-color: var(--navy);
  color: var(--navy);
}

.filter[aria-current="page"] {
  border-color: var(--navy);
  background: var(--navy);
  color: #fff;
}

.filter__count {
  font-size: 0.8rem;
  opacity: 0.7;
}

.info-list {
  display: grid;
  gap: var(--space-s);
  margin: 0;
  padding: 0;
  list-style: none;
}

.info-item {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.25rem var(--space-l);
  align-items: center;
  padding: var(--space-m);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.info-item:hover {
  border-color: var(--blue-200);
  box-shadow: var(--shadow-2);
  transform: translateY(-2px);
}

.info-item__title {
  margin: 0.35rem 0 0.3rem;
  font-size: var(--step-1);
  line-height: 1.25;
}

.info-item__title a {
  color: inherit;
  text-decoration: none;
}

.info-item__title a::after {
  content: "";
  position: absolute;
  inset: 0;
}

.info-item__text {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

.info-item > .icon {
  width: 1.6rem;
  height: 1.6rem;
  color: var(--blue);
  transition: transform 0.25s var(--ease);
}

.info-item:hover > .icon {
  transform: translateX(4px);
}

/* ---------- Spenden ---------- */
.donate-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-l);
  align-items: stretch;
}

@media (max-width: 900px) {
  .donate-grid {
    grid-template-columns: 1fr;
  }
}

.panel {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 1rem + 2vw, 2.75rem);
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-2);
}

.panel--navy {
  border-color: transparent;
  background:
    radial-gradient(circle at 100% 0%, rgb(255 204 1 / 0.18), transparent 40%),
    var(--navy);
  color: #fff;
}

.panel--navy h2 {
  color: #fff;
}

.panel__icon {
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  margin-bottom: var(--space-m);
  border-radius: 50%;
  background: var(--yellow);
  color: var(--navy-950);
}

.panel__icon .icon {
  width: 1.6rem;
  height: 1.6rem;
}

.panel h2 {
  font-size: var(--step-3);
}

.panel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: var(--space-m);
}

.price {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin: 0 0 1rem;
  font-family: var(--font-display);
  color: var(--navy);
}

.price__amount {
  font-size: 3.25rem;
  font-weight: 500;
  line-height: 1;
}

.price__unit {
  font-size: 1.25rem;
}

.bank {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--space-m);
  align-items: center;
  margin: 0 0 var(--space-m);
  padding: var(--space-m);
  border-radius: var(--radius);
  background: rgb(255 255 255 / 0.08);
  border: 1px solid rgb(255 255 255 / 0.15);
}

.bank dl {
  display: grid;
  gap: 0.6rem;
  margin: 0;
}

.bank dt {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--yellow);
}

.bank dd {
  margin: 0;
  font-weight: 700;
  font-size: 1.05rem;
}

.bank__iban {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
}

.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 2.25rem;
  padding: 0.35rem 0.75rem;
  border: 1px solid rgb(255 255 255 / 0.45);
  border-radius: var(--radius-pill);
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), border-color 0.2s, color 0.2s;
}

.copy-btn:hover {
  background: rgb(255 255 255 / 0.14);
}

.copy-btn.is-copied {
  border-color: var(--yellow);
  background: var(--yellow);
  color: var(--navy-950);
}

.copy-btn--light {
  border-color: rgb(0 56 104 / 0.35);
  background: #fff;
  color: var(--navy);
}

.copy-btn--light:hover {
  border-color: var(--navy);
  background: var(--blue-50);
}

.copy-btn--light.is-copied {
  border-color: var(--success);
  background: var(--success);
  color: #fff;
}

.copy-btn--footer {
  margin-top: 0.25rem;
}

.copy-btn .icon {
  width: 0.95rem;
  height: 0.95rem;
}

.qr {
  width: 8.5rem;
  padding: 0.5rem;
  border-radius: var(--radius);
  background: #fff;
  text-align: center;
}

.qr svg {
  width: 100%;
  height: auto;
}

.qr figcaption {
  margin-top: 0.35rem;
  font-size: 0.7rem;
  line-height: 1.3;
  font-weight: 700;
  color: var(--navy);
}

@media (max-width: 520px) {
  .bank {
    grid-template-columns: 1fr;
  }
}

/* ---------- Formulare ---------- */
.form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-m) var(--space-m);
}

.form__full {
  grid-column: 1 / -1;
}

@media (max-width: 640px) {
  .form {
    grid-template-columns: 1fr;
  }
}

.field label,
.field__label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--navy);
}

.field__optional {
  font-weight: 600;
  color: var(--muted);
}

.field input,
.field textarea {
  width: 100%;
  min-height: 3.1rem;
  padding: 0.7rem 0.9rem;
  border: 2px solid var(--line);
  border-radius: var(--radius-s);
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 1.05rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.field textarea {
  min-height: 11rem;
  resize: vertical;
}

.field input:hover,
.field textarea:hover {
  border-color: var(--blue-300);
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgb(1 92 170 / 0.15);
}

.field--error input,
.field--error textarea {
  border-color: var(--danger);
}

.field__error {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0.45rem 0 0;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--danger);
}

.checkbox {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.75rem;
  align-items: start;
  font-size: 0.98rem;
  cursor: pointer;
}

.checkbox input {
  width: 1.35rem;
  height: 1.35rem;
  margin: 0.15rem 0 0;
  accent-color: var(--navy);
  cursor: pointer;
}

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.alert {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin: 0 0 var(--space-m);
  padding: 1rem 1.15rem;
  border-radius: var(--radius);
  font-weight: 650;
}

.alert .icon {
  margin-top: 0.2rem;
}

.alert--error {
  background: var(--danger-50);
  color: var(--danger);
  border: 1px solid #fecdca;
}

.alert--success {
  background: var(--success-50);
  color: var(--success);
  border: 1px solid #abefc6;
}

.form-success {
  padding: var(--space-l);
  border-radius: var(--radius);
  background: var(--success-50);
  border: 1px solid #abefc6;
  text-align: center;
}

.form-success__icon {
  display: grid;
  place-items: center;
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: var(--success);
  color: #fff;
}

.form-success__icon .icon {
  width: 2rem;
  height: 2rem;
}

.form-note {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: var(--space-xl);
  align-items: start;
}

@media (max-width: 960px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

.contact-card {
  padding: var(--space-l);
  border-radius: var(--radius);
  background: var(--navy);
  color: #fff;
}

.contact-card h2 {
  color: #fff;
  font-size: var(--step-2);
}

.contact-card a {
  color: #fff;
}

.contact-card .facts .icon {
  color: var(--yellow);
}

.contact-card .facts strong {
  color: rgb(255 255 255 / 0.86);
}

.contact-card__small {
  margin: var(--space-m) 0 0;
  padding-top: var(--space-m);
  border-top: 1px solid rgb(255 255 255 / 0.18);
  font-size: 0.9rem;
  color: rgb(255 255 255 / 0.88);
}

.contact-side {
  display: flex;
  flex-direction: column;
  gap: var(--space-m);
}

.bank-card {
  padding: var(--space-m) var(--space-l);
  border: 1px solid var(--yellow-200);
  border-radius: var(--radius);
  background: var(--yellow-50);
}

.bank-card h2 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.75rem;
  font-size: var(--step-1);
}

.bank-card h2 .icon {
  width: 1.1em;
  height: 1.1em;
  color: var(--navy);
}

.bank-card dl {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.3rem 1rem;
  margin: 0 0 1rem;
  font-size: 0.98rem;
}

.bank-card dt {
  font-weight: 800;
  color: var(--navy);
}

.bank-card dd {
  margin: 0;
}

@media (max-width: 480px) {
  /* Schmale Handys: Beschriftung über dem Wert, damit die IBAN passt */
  .bank-card {
    padding: var(--space-m);
  }

  .bank-card dl {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .bank-card dt:not(:first-child) {
    margin-top: 0.5rem;
  }
}

/* Checkbox neben ihrem Text (.field label würde sonst untereinander setzen) */
.field label.checkbox {
  display: grid;
  margin-bottom: 0;
  font-weight: 400;
  font-size: 0.98rem;
  color: var(--ink);
}

/* ---------- Pagination ---------- */
.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin: var(--space-xl) 0 0;
  padding: 0;
  list-style: none;
}

.pagination a,
.pagination span {
  display: grid;
  place-items: center;
  min-width: 2.75rem;
  height: 2.75rem;
  padding: 0 0.75rem;
  border: 2px solid var(--line);
  border-radius: var(--radius-s);
  color: var(--navy);
  font-weight: 800;
  text-decoration: none;
}

.pagination a:hover {
  border-color: var(--navy);
}

.pagination [aria-current="page"] {
  border-color: var(--navy);
  background: var(--navy);
  color: #fff;
}

/* ---------- Footer ---------- */
/* Kompakt (Wunsch des Vereins: "halb so groß"), volle Breite */
.site-footer {
  margin-top: var(--space-xl);
  background: var(--navy);
  color: rgb(255 255 255 / 0.88);
  font-size: 0.95rem;
  line-height: 1.65;
}

.site-footer a {
  color: #fff;
  text-decoration-color: rgb(255 255 255 / 0.35);
  text-underline-offset: 0.2em;
}

.site-footer a:hover {
  color: var(--yellow);
  text-decoration-color: currentColor;
}

.site-footer__main {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1.2fr) minmax(0, 1.1fr);
  gap: var(--space-l);
  padding-block: var(--space-l) var(--space-m);
}

.footer-col p {
  margin: 0 0 0.6rem;
}

.footer-col__title {
  margin: 0 0 0.7rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--yellow);
}

.footer-brand {
  display: inline-block;
  margin-bottom: 0.8rem;
}

.footer-brand img {
  width: auto;
  height: 3.75rem;
  border-radius: var(--radius-s);
}

.footer-col--about p {
  max-width: 21rem;
}

.footer-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  text-decoration: none;
}

.footer-link .icon {
  width: 1em;
  height: 1em;
}

.footer-col__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.4rem;
}

.site-footer .btn--primary,
.site-footer .btn--primary:hover {
  color: var(--navy-950);
}

.site-footer .btn--light,
.site-footer .btn--light:hover {
  color: var(--navy);
}

.social {
  display: flex;
  gap: 0.5rem;
  margin: 0.6rem 0 0;
  padding: 0;
  list-style: none;
}

.social a {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.14);
}

.social a:hover {
  background: var(--yellow);
  color: var(--navy-950);
}

.social .icon {
  width: 1.1rem;
  height: 1.1rem;
}

.site-footer__bottom {
  background: var(--navy-950);
}

.site-footer__bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  padding-block: 0.95rem;
}

.site-footer__bottom p {
  margin: 0;
  color: rgb(255 255 255 / 0.85);
}

.site-footer__bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.5rem;
}

.site-footer__bottom nav a {
  font-weight: 700;
  text-decoration: none;
}

.site-footer__bottom nav a:hover {
  text-decoration: underline;
}

.site-footer__bottom nav .site-footer__login {
  font-weight: 400;
  color: rgb(255 255 255 / 0.78);
}

@media (max-width: 960px) {
  .site-footer__main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .site-footer__main {
    grid-template-columns: 1fr;
    gap: var(--space-m);
  }
}

/* ---------- Fehlerseite ---------- */
.error-page {
  padding-block: var(--space-2xl);
  text-align: center;
}

.error-page__code {
  font-family: var(--font-display);
  font-size: clamp(5rem, 3rem + 10vw, 10rem);
  line-height: 1;
  color: var(--yellow);
  -webkit-text-stroke: 2px var(--navy);
}

/* ---------- Einblend-Animationen ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  }

  .js [data-reveal].is-visible {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---------- Druck ---------- */
@media print {
  .site-header,
  .site-footer,
  .hero,
  .skip-link,
  .slider__bar,
  .back-to-top,
  .copy-btn {
    display: none !important;
  }

  body {
    font-size: 11pt;
    color: #000;
  }

  a {
    color: #000;
  }
}

/* ---------- Kennzahlen (Startseite) ---------- */
.facts-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-m) var(--space-l);
  margin: var(--space-l) 0 var(--space-m);
}

.fact {
  min-width: 9rem;
}

.fact__value {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 1.6rem + 1.1vw, 2.45rem);
  font-weight: 500;
  line-height: 1;
  color: var(--navy);
}

.fact__label {
  margin: 0.35rem 0 0;
  font-size: 0.95rem;
  font-weight: 650;
  color: var(--muted);
}

.field .checkbox {
  font-weight: 500;
  color: var(--ink);
}

.page-hero h1.is-long {
  font-size: var(--step-3);
}

/* ---------- Hilfsklassen ---------- */
.nowrap {
  white-space: nowrap;
}

.event-card__report {
  margin-top: 0.6rem;
  font-size: 0.95rem;
}

/* ---------- Bildergalerie-Lightbox (<dialog>) ---------- */
.gallery a[data-lightbox] {
  cursor: zoom-in;
}

.lightbox {
  width: min(94vw, 68rem);
  max-width: none;
  max-height: 94vh;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: var(--navy-950);
  color: #fff;
  box-shadow: var(--shadow-3);
  overflow: visible;
}

.lightbox::backdrop {
  background: rgb(0 18 36 / 0.86);
  backdrop-filter: blur(4px);
}

.lightbox__inner {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  max-height: 94vh;
}

.lightbox__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1rem 0.75rem 1.25rem;
  border-bottom: 1px solid rgb(255 255 255 / 0.14);
}

.lightbox__counter {
  font-size: 0.92rem;
  font-weight: 700;
  color: rgb(255 255 255 / 0.88);
  font-variant-numeric: tabular-nums;
}

.lightbox__close {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 2.75rem;
  min-height: 2.75rem;
  padding: 0.45rem 0.9rem;
  border: 1px solid rgb(255 255 255 / 0.35);
  border-radius: var(--radius-pill);
  background: rgb(255 255 255 / 0.1);
  color: #fff;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s, border-color 0.2s;
}

.lightbox__close:hover {
  border-color: var(--yellow);
  background: var(--yellow);
  color: var(--navy-950);
}

.lightbox__stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 16rem;
  padding: 1rem 4rem;
  overflow: hidden;
}

.lightbox__img {
  max-width: 100%;
  max-height: 72vh;
  width: auto;
  height: auto;
  border-radius: var(--radius-s);
  object-fit: contain;
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  padding: 0;
  border: 1px solid rgb(255 255 255 / 0.35);
  border-radius: 50%;
  background: rgb(0 28 54 / 0.7);
  color: #fff;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), border-color 0.2s, color 0.2s;
}

.lightbox__nav:hover {
  border-color: var(--yellow);
  background: var(--yellow);
  color: var(--navy-950);
}

.lightbox__nav--prev { left: 0.75rem; }
.lightbox__nav--next { right: 0.75rem; }

.lightbox__nav[hidden] {
  display: none;
}

.lightbox__caption {
  margin: 0;
  padding: 0.85rem 1.25rem 1rem;
  border-top: 1px solid rgb(255 255 255 / 0.14);
  font-size: 0.95rem;
  line-height: 1.5;
  color: rgb(255 255 255 / 0.92);
  text-align: center;
}

.lightbox__caption[hidden] {
  display: none;
}

.lightbox__credit {
  color: rgb(255 255 255 / 0.76);
}

@media (max-width: 640px) {
  .lightbox {
    width: 96vw;
  }

  .lightbox__stage {
    padding: 0.75rem 0.75rem 3.75rem;
  }

  .lightbox__nav {
    top: auto;
    bottom: 0.5rem;
    transform: none;
    width: 2.75rem;
    height: 2.75rem;
  }

  .lightbox__nav--prev { left: calc(50% - 3.25rem); }
  .lightbox__nav--next { right: calc(50% - 3.25rem); }
}

/* ---------- Nach-oben-Button ---------- */
.back-to-top {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1.25rem, env(safe-area-inset-bottom));
  z-index: 40;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  padding: 0;
  border: 2px solid rgb(255 255 255 / 0.25);
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  box-shadow: var(--shadow-2);
  cursor: pointer;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), background-color 0.2s, color 0.2s;
}

.back-to-top[hidden] {
  display: none;
}

.back-to-top.is-visible {
  opacity: 1;
  transform: none;
}

.back-to-top:hover {
  border-color: var(--yellow);
  background: var(--yellow);
  color: var(--navy-950);
}

.back-to-top .icon {
  width: 1.35rem;
  height: 1.35rem;
}
