/* ==========================================================================
   Spielehafen e.V. - "Maritim, ruhig, seriös"
   Palette: Marineblau und Weiss, Messing als sparsamer Akzent.
   Alles lokal, keine externen Ressourcen.
   ========================================================================== */

:root {
  /* Farben: abgeleitet vom echten Logo (Markenblau #083e88 auf Weiss) */
  --navy: #0b2d5b;
  --navy-deep: #071e3d;
  --navy-soft: #16437e;
  --brand: #083e88;
  --brand-deep: #062f66;
  --ink: #1d2b3a;
  --ink-soft: #4f5d6c;
  --teal: #083e88;
  --teal-deep: #062f66;
  --teal-soft: #d9e6f4;
  --steel: #93abc8;
  --brass: #a8823e;
  --brass-bright: #c9a35c;
  --brass-soft: #f1e8d4;
  --terra: #a75c3f;
  --ivory: #ffffff;
  --paper: #f5f7fa;
  --paper-deep: #e9eef4;
  --line-color: #d8dfe8;
  --line-soft: #e6ebf1;

  /* Typo */
  --font-display: "Fraunces", "Georgia", serif;
  --font-body: "Work Sans", "Segoe UI", sans-serif;

  /* Elemente */
  --radius: 14px;
  --radius-sm: 10px;
  --border: 1px solid var(--line-color);
  --shadow-sm: 0 1px 2px rgba(11, 45, 91, 0.05), 0 2px 10px rgba(11, 45, 91, 0.07);
  --shadow-md: 0 2px 4px rgba(11, 45, 91, 0.06), 0 10px 28px rgba(11, 45, 91, 0.12);
  --container: 1120px;
}

/* --------------------------------------------------------------------------
   Reset & Basis
   -------------------------------------------------------------------------- */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background-color: var(--paper);
  background-image: radial-gradient(rgba(34, 48, 62, 0.028) 1px, transparent 1.4px);
  background-size: 30px 30px;
}

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

a { color: var(--teal-deep); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--navy); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy);
  line-height: 1.14;
  margin: 0 0 0.5em;
  font-weight: 700;
  letter-spacing: -0.01em;
  hyphens: auto;
  overflow-wrap: break-word;
}

p { margin: 0 0 1.1em; }

::selection { background: var(--brass-soft); color: var(--navy-deep); }

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--navy);
  color: var(--ivory);
  padding: 10px 18px;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; color: var(--ivory); }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* --------------------------------------------------------------------------
   Kleine Bausteine: Labels, Buttons, Karten, Badges
   -------------------------------------------------------------------------- */

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal-deep);
  margin-bottom: 14px;
}
.kicker::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--brass);
}
.kicker--light { color: var(--brass-bright); }
.kicker--light::before { background: var(--brass-bright); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1.2;
  padding: 13px 26px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
  box-shadow: var(--shadow-sm);
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); box-shadow: var(--shadow-sm); }
.btn svg { flex: none; }

.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { color: #fff; background: #0a4a9e; }
.btn--navy { background: var(--navy); color: var(--ivory); }
.btn--navy:hover { color: var(--ivory); }
.btn--gold { background: var(--brass); color: #fff; }
.btn--gold:hover { color: #fff; background: #9a7736; }
.btn--ghost { background: var(--ivory); color: var(--navy); border-color: var(--line-color); }
.btn--small { padding: 9px 18px; font-size: 0.9rem; }

.card {
  background: var(--ivory);
  border: var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 28px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

.badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 13px;
  border: 1px solid var(--line-color);
  border-radius: 999px;
  background: var(--ivory);
  color: var(--navy);
}
.badge--coral { background: var(--brass-soft); border-color: #e2d5b4; }
.badge--aqua { background: var(--teal-soft); border-color: #c9d9d7; }

.note {
  border-left: 4px solid var(--brass);
  background: var(--brass-soft);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 16px 20px;
  font-size: 0.97rem;
}
.note strong { color: var(--navy); }

/* Listen mit Wuerfel-Augen als Aufzaehlung */
.pip-list { list-style: none; padding: 0; margin: 0 0 1.2em; }
.pip-list li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 12px;
}
.pip-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 6px;
  width: 14px;
  height: 14px;
  border: 2px solid var(--navy);
  border-radius: 4px;
  background:
    radial-gradient(circle at 50% 50%, var(--teal) 2.4px, transparent 2.8px) var(--ivory);
}

/* --------------------------------------------------------------------------
   Header & Navigation
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(253, 252, 248, 0.96);
  border-bottom: 1px solid var(--line-color);
  box-shadow: 0 1px 12px rgba(14, 28, 43, 0.05);
}
.site-header__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex: none;
}
.brand img { height: 56px; width: auto; }
.brand__text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.38rem;
  color: var(--navy);
  line-height: 1;
  letter-spacing: -0.01em;
}
.brand__text em {
  display: block;
  font-family: var(--font-body);
  font-style: normal;
  font-weight: 500;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--teal);
  margin-top: 5px;
}

.main-nav { margin-left: auto; }
.main-nav ul {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav a {
  display: block;
  padding: 9px 14px;
  font-weight: 500;
  font-size: 0.97rem;
  color: var(--ink);
  text-decoration: none;
  border-radius: 8px;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.main-nav a:hover { background: var(--paper-deep); color: var(--navy); }
.main-nav a[aria-current="page"] {
  color: var(--navy);
  font-weight: 700;
  box-shadow: inset 0 -3px 0 var(--brand);
  border-radius: 8px 8px 0 0;
}

.header-cta { flex: none; }

.nav-toggle {
  display: none;
  margin-left: auto;
  background: var(--ivory);
  border: 1px solid var(--line-color);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  width: 52px;
  height: 46px;
  cursor: pointer;
  padding: 0;
  position: relative;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  display: block;
  position: absolute;
  left: 12px;
  width: 24px;
  height: 2.5px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle span { top: 21.5px; }
.nav-toggle span::before { left: 0; top: -8px; }
.nav-toggle span::after { left: 0; top: 8px; }
.nav-toggle[aria-expanded="true"] span { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::before { opacity: 0; }
.nav-toggle[aria-expanded="true"] span::after { transform: rotate(-90deg); top: 0; }

/* --------------------------------------------------------------------------
   Hero (Startseite)
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1100px 480px at 88% -12%, rgba(147, 171, 200, 0.28), transparent 60%),
    linear-gradient(180deg, var(--paper) 0%, var(--paper-deep) 100%);
}
.hero__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 76px 24px 44px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 40px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.8rem, 6vw, 4.6rem);
  font-weight: 700;
  font-variation-settings: "opsz" 120;
  margin-bottom: 0.35em;
}
.hero h1 .accent { color: var(--brand); }
.hero h1 .underline {
  position: relative;
  white-space: nowrap;
}
.hero h1 .underline svg {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.16em;
  width: 100%;
  height: 0.2em;
}
.hero__lead {
  font-size: 1.2rem;
  color: var(--ink-soft);
  max-width: 34em;
  margin-bottom: 1.6em;
}
.hero__lead strong { color: var(--navy); font-weight: 600; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }

.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero__scene { position: relative; }
.hero__scene svg { display: block; width: 100%; height: auto; }

/* Animationen in der Hafenszene */
.anim-bob, .anim-bob-slow, .anim-drift { transform-box: fill-box; transform-origin: center; }
.anim-bob { animation: bob 5.2s ease-in-out infinite; }
.anim-bob-slow { animation: bob 7.5s ease-in-out infinite; }
.anim-drift { animation: drift 14s ease-in-out infinite alternate; }
.anim-wave-a { animation: waveSlide 20s linear infinite; }
.anim-wave-b { animation: waveSlide 28s linear infinite; }
.anim-wave-c { animation: waveSlide 38s linear infinite reverse; }
.anim-gull { animation: gullGlide 9s ease-in-out infinite alternate; }
.anim-gull-2 { animation: gullGlide 11s ease-in-out infinite alternate-reverse; }
.anim-sun { animation: sunPulse 8s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }

@keyframes bob {
  0%, 100% { transform: translateY(0) rotate(-1.2deg); }
  50% { transform: translateY(-9px) rotate(1.6deg); }
}
@keyframes drift {
  0% { transform: translateX(-10px) rotate(-0.8deg); }
  100% { transform: translateX(12px) rotate(0.9deg); }
}
@keyframes waveSlide {
  from { transform: translateX(0); }
  to { transform: translateX(-600px); }
}
@keyframes gullGlide {
  0% { transform: translate(0, 0); }
  100% { transform: translate(20px, -10px); }
}
@keyframes sunPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.04); }
}

/* --------------------------------------------------------------------------
   Wellen-Trenner
   -------------------------------------------------------------------------- */

.wave-divider {
  display: block;
  width: 100%;
  height: 56px;
  background-repeat: repeat-x;
  background-size: 600px 56px;
  animation: waveBg 34s linear infinite;
}
.wave-divider--to-navy {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 64' preserveAspectRatio='none'%3E%3Cpath d='M0 26 C 75 6 150 46 225 32 C 300 18 375 50 450 34 C 525 20 562 34 600 26 L600 64 L0 64 Z' fill='%230b2d5b'/%3E%3C/svg%3E");
}
.wave-divider--to-cream {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 64' preserveAspectRatio='none'%3E%3Cpath d='M0 30 C 90 12 160 48 250 34 C 340 20 420 50 500 36 C 545 28 570 34 600 30 L600 64 L0 64 Z' fill='%23ffffff'/%3E%3C/svg%3E");
}
.wave-divider--to-sand {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 64' preserveAspectRatio='none'%3E%3Cpath d='M0 28 C 80 10 150 46 240 33 C 330 20 400 48 480 35 C 530 27 566 32 600 28 L600 64 L0 64 Z' fill='%23f5f7fa'/%3E%3C/svg%3E");
}
.wave-divider--to-teal {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 64' preserveAspectRatio='none'%3E%3Cpath d='M0 30 C 90 12 160 48 250 34 C 340 20 420 50 500 36 C 545 28 570 34 600 30 L600 64 L0 64 Z' fill='%23083e88'/%3E%3C/svg%3E");
}
@keyframes waveBg { from { background-position-x: 0; } to { background-position-x: 600px; } }

/* Welle am unteren Rand einer Sektion: Fuellfarbe = Farbe der naechsten Sektion */
.wave-over {
  position: absolute;
  left: 0;
  bottom: -1px;
  z-index: 3;
  pointer-events: none;
}
.section, .hero, .cta-band { position: relative; }

/* --------------------------------------------------------------------------
   Sektionen allgemein
   -------------------------------------------------------------------------- */

.section { padding: 84px 0; }
.section--tight { padding: 56px 0; }
.section--cream { background: var(--ivory); }
.section--navy {
  background:
    radial-gradient(900px 420px at 10% 0%, rgba(8, 62, 136, 0.45), transparent 60%),
    radial-gradient(700px 380px at 95% 100%, rgba(168, 130, 62, 0.16), transparent 55%),
    var(--navy);
  color: var(--ivory);
}
.section--navy h2, .section--navy h3 { color: var(--ivory); }
.section--teal {
  background:
    radial-gradient(800px 400px at 85% 0%, rgba(253, 252, 248, 0.10), transparent 60%),
    var(--teal);
  color: var(--ivory);
}
.section--teal h2, .section--teal h3 { color: var(--ivory); }

.section__head { max-width: 46em; margin-bottom: 44px; }
.section__head h2 {
  font-size: clamp(2rem, 4.2vw, 2.9rem);
  font-variation-settings: "opsz" 100;
}
.section__head p { font-size: 1.1rem; color: var(--ink-soft); margin-bottom: 0; }
.section--navy .section__head p,
.section--teal .section__head p { color: rgba(253, 252, 248, 0.82); }

/* --------------------------------------------------------------------------
   Angebote-Karten (Startseite)
   -------------------------------------------------------------------------- */

.grid { display: grid; gap: 26px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.offer-card { position: relative; display: flex; flex-direction: column; }
.offer-card__icon {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-color);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
  background: var(--paper);
  transition: background-color 0.2s ease;
}
.offer-card:nth-child(even) .offer-card__icon { background: var(--teal-soft); }
.offer-card:nth-child(3n) .offer-card__icon { background: var(--brass-soft); }
.offer-card:hover .offer-card__icon { background: var(--paper-deep); }
.offer-card__icon svg { width: 40px; height: 40px; }
.offer-card h3 { font-size: 1.32rem; margin-bottom: 8px; }
.offer-card p { color: var(--ink-soft); font-size: 0.98rem; margin-bottom: 14px; }
.offer-card .card-link {
  margin-top: auto;
  font-weight: 600;
  text-decoration: none;
  color: var(--teal-deep);
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.offer-card .card-link:hover { gap: 11px; color: var(--navy); }

/* --------------------------------------------------------------------------
   Zahlen-Band
   -------------------------------------------------------------------------- */

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.stat { text-align: center; padding: 26px 12px; }
.stat__pip {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 14px;
}
.stat__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.3rem, 4.4vw, 3.2rem);
  font-variation-settings: "opsz" 144;
  color: var(--brass-bright);
  line-height: 1;
  margin-bottom: 8px;
}
.stat__label {
  font-weight: 600;
  font-size: 0.98rem;
  color: rgba(253, 252, 248, 0.92);
}
.stat__sub { font-size: 0.82rem; color: rgba(253, 252, 248, 0.55); margin-top: 4px; }

/* --------------------------------------------------------------------------
   Termin-Box (Startseite)
   -------------------------------------------------------------------------- */

.meetup {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 40px;
  align-items: center;
}
.meetup__card { background: var(--ivory); color: var(--ink); }
.meetup__when {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
}
.meetup__dice {
  flex: none;
  width: 84px;
  height: 84px;
  display: grid;
  place-items: center;
  background: var(--brand);
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
  text-align: center;
  line-height: 1.15;
  padding: 6px;
}
.meetup__when h3 { margin: 0 0 4px; font-size: 1.45rem; }
.meetup__when p { margin: 0; color: var(--ink-soft); font-weight: 500; }
.meetup__meta { list-style: none; margin: 0 0 20px; padding: 0; }
.meetup__meta li {
  display: flex;
  gap: 12px;
  align-items: baseline;
  padding: 10px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 0.98rem;
}
.meetup__meta li:last-child { border-bottom: 0; }
.meetup__meta svg { flex: none; position: relative; top: 3px; }

/* --------------------------------------------------------------------------
   Partner-Leiste
   -------------------------------------------------------------------------- */

.partners { display: flex; flex-wrap: wrap; gap: 12px; }
.partner {
  font-weight: 500;
  font-size: 0.95rem;
  padding: 9px 18px;
  background: rgba(253, 252, 248, 0.10);
  border: 1px solid rgba(253, 252, 248, 0.4);
  border-radius: 999px;
  color: var(--ivory);
}

/* --------------------------------------------------------------------------
   Seitenkopf (Unterseiten)
   -------------------------------------------------------------------------- */

.page-head {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1000px 460px at 80% -20%, rgba(8, 62, 136, 0.55), transparent 60%),
    radial-gradient(700px 360px at 0% 110%, rgba(147, 171, 200, 0.22), transparent 60%),
    var(--navy);
  color: var(--ivory);
}
.page-head::after {
  /* Kompassrose als Wasserzeichen */
  content: "";
  position: absolute;
  right: -90px;
  top: 50%;
  width: 420px;
  height: 420px;
  transform: translateY(-50%);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cg fill='none' stroke='%23a8823e' stroke-width='2' opacity='0.5'%3E%3Ccircle cx='100' cy='100' r='92'/%3E%3Ccircle cx='100' cy='100' r='70' stroke-dasharray='4 8'/%3E%3Cpath d='M100 8 L112 88 L192 100 L112 112 L100 192 L88 112 L8 100 L88 88 Z'/%3E%3Cpath d='M100 40 L108 92 L160 100 L108 108 L100 160 L92 108 L40 100 L92 92 Z' stroke='%23c39a4e'/%3E%3Ccircle cx='100' cy='100' r='6' fill='%23a8823e'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
  opacity: 0.32;
  pointer-events: none;
}
.page-head__inner {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  margin: 0 auto;
  padding: 72px 24px 96px;
}
.page-head h1 {
  color: var(--ivory);
  font-size: clamp(2.4rem, 5.2vw, 3.8rem);
  font-weight: 700;
  font-variation-settings: "opsz" 120;
  max-width: 16em;
}
.page-head .kicker { color: var(--brass-bright); }
.page-head__lead {
  max-width: 40em;
  font-size: 1.16rem;
  color: rgba(253, 252, 248, 0.85);
  margin-bottom: 0;
}
.page-head .wave-divider {
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 48px;
  background-size: 600px 48px;
  z-index: 2;
}

/* --------------------------------------------------------------------------
   Inhalt: Prosa, Timeline, Vorstand, Galerie
   -------------------------------------------------------------------------- */

.prose { max-width: 46em; }
.prose h2 { font-size: clamp(1.65rem, 3.2vw, 2.2rem); margin-top: 1.6em; }
.prose h3 { font-size: 1.25rem; margin-top: 1.4em; }
.prose a { color: var(--teal-deep); }
.prose--on-navy, .prose--on-navy a { color: rgba(253, 252, 248, 0.92); }

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 56px;
  align-items: start;
}

.timeline { list-style: none; margin: 0; padding: 0 0 0 40px; position: relative; }
.timeline::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--line-color);
}
.timeline li { position: relative; padding-bottom: 30px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: "";
  position: absolute;
  left: -36px;
  top: 5px;
  width: 13px;
  height: 13px;
  background: var(--brass);
  border: 3px solid var(--ivory);
  border-radius: 50%;
  box-shadow: 0 0 0 1.5px var(--brass);
}
.timeline__date {
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-deep);
  display: block;
  margin-bottom: 3px;
}
.timeline__title { font-family: var(--font-display); font-weight: 700; font-size: 1.18rem; color: var(--navy); }
.timeline p { margin: 4px 0 0; color: var(--ink-soft); font-size: 0.97rem; }

.board-card { text-align: center; padding: 32px 22px; }
.board-card__avatar {
  width: 88px;
  height: 88px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.8rem;
  color: var(--ivory);
  background: var(--navy);
  border-radius: 50%;
}
.board-card:nth-child(2) .board-card__avatar { background: var(--teal-deep); }
.board-card:nth-child(3) .board-card__avatar { background: var(--brass); }
.board-card h3 { font-size: 1.24rem; margin-bottom: 2px; }
.board-card .role {
  font-weight: 600;
  font-size: 0.83rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal-deep);
  margin-bottom: 12px;
}
.board-card p { font-size: 0.93rem; color: var(--ink-soft); margin: 0; }

/* Galerie-Platzhalter, bis echte Fotos geliefert werden */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.gallery__slot {
  aspect-ratio: 4 / 3;
  border: 1px dashed var(--line-color);
  border-radius: var(--radius);
  background:
    repeating-linear-gradient(45deg, var(--paper-deep) 0 18px, var(--paper) 18px 36px);
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--ink-soft);
  font-weight: 500;
  font-size: 0.92rem;
  padding: 14px;
}
.gallery__slot span { display: block; }
.gallery__slot svg { margin-bottom: 10px; opacity: 0.7; }

/* --------------------------------------------------------------------------
   Termine
   -------------------------------------------------------------------------- */

.schedule-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 26px;
}
.big-event {
  background: var(--ivory);
  border: var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.big-event__banner {
  background:
    radial-gradient(400px 160px at 90% -30%, rgba(168, 130, 62, 0.4), transparent 70%),
    var(--teal-deep);
  color: var(--ivory);
  padding: 26px 28px;
}
.big-event__banner h3 { color: var(--ivory); font-size: 1.6rem; margin-bottom: 4px; }
.big-event__banner p { margin: 0; opacity: 0.9; }
.big-event__body { padding: 26px 28px; }
.fact-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-soft);
}
.fact-row:last-of-type { border-bottom: 0; }
.fact-row__icon {
  flex: none;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: var(--brass-soft);
  border: 1px solid var(--line-color);
  border-radius: var(--radius-sm);
}
.fact-row strong { display: block; color: var(--navy); }
.fact-row span { font-size: 0.94rem; color: var(--ink-soft); }

.format-list { display: grid; gap: 20px; }
.format {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  padding: 22px;
}
.format__icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  background: var(--teal-soft);
  border: 1px solid var(--line-color);
  border-radius: var(--radius);
}
.format:nth-child(even) .format__icon { background: var(--brass-soft); }
.format h3 { font-size: 1.2rem; margin-bottom: 4px; }
.format p { margin: 0; color: var(--ink-soft); font-size: 0.97rem; }

/* --------------------------------------------------------------------------
   Mitgliedschaft & Spenden
   -------------------------------------------------------------------------- */

.steps { counter-reset: step; display: grid; gap: 22px; }
.step {
  counter-increment: step;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  padding: 24px;
}
.step::before {
  content: counter(step);
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.7rem;
  color: var(--ivory);
  background: var(--navy);
  border-radius: 50%;
}
.step:nth-child(2)::before { background: var(--teal-deep); }
.step:nth-child(3)::before { background: var(--brass); }
.step h3 { font-size: 1.2rem; margin-bottom: 6px; }
.step p { margin: 0; color: var(--ink-soft); }
.step p a { font-weight: 600; }

.donate {
  background:
    radial-gradient(500px 220px at 100% 0%, rgba(168, 130, 62, 0.30), transparent 65%),
    var(--navy);
  color: var(--ivory);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 34px;
}
.donate h3 { color: var(--brass-bright); font-size: 1.5rem; }
.donate p { color: rgba(253, 252, 248, 0.85); }
.bank {
  background: var(--ivory);
  color: var(--ink);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  margin: 18px 0;
  font-size: 0.98rem;
}
.bank dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 20px; margin: 0; align-items: baseline; }
.bank dt { font-weight: 600; color: var(--navy); }
.bank dd { margin: 0; font-variant-numeric: tabular-nums; }
.copy-btn {
  margin-left: 8px;
  font-size: 0.78rem;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid var(--line-color);
  background: var(--brass-soft);
  color: var(--navy);
  font-weight: 600;
  cursor: pointer;
  vertical-align: 1px;
}
.copy-btn:hover { background: #e6d9ba; }

/* --------------------------------------------------------------------------
   Kontakt & FAQ
   -------------------------------------------------------------------------- */

.contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.contact-card { text-align: left; }
.contact-card__icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  background: var(--teal-soft);
  border: 1px solid var(--line-color);
  border-radius: var(--radius);
  margin-bottom: 18px;
}
.contact-card:nth-child(2) .contact-card__icon { background: var(--brass-soft); }
.contact-card:nth-child(3) .contact-card__icon { background: var(--paper-deep); }
.contact-card h3 { font-size: 1.18rem; margin-bottom: 6px; }
.contact-card p { color: var(--ink-soft); font-size: 0.97rem; margin-bottom: 10px; }
.contact-card .btn { margin-top: 4px; }

.faq { max-width: 46em; }
.faq details {
  background: var(--ivory);
  border: var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  margin-bottom: 14px;
  overflow: hidden;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 22px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex: none;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.3rem;
  color: var(--ivory);
  background: var(--teal-deep);
  border-radius: 50%;
  transition: transform 0.2s ease, background-color 0.2s ease;
}
.faq details[open] summary::after { content: "-"; background: var(--navy); }
.faq details[open] summary { border-bottom: 1px solid var(--line-soft); }
.faq .faq__body { padding: 18px 22px 20px; color: var(--ink-soft); }
.faq .faq__body p:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   Rechtstexte (Impressum, Datenschutz)
   -------------------------------------------------------------------------- */

.legal h2 {
  font-size: 1.45rem;
  margin-top: 2em;
  padding-top: 0.8em;
  border-top: 1px solid var(--line-color);
}
.legal h2:first-child { border-top: 0; margin-top: 0; padding-top: 0; }
.legal h3 { font-size: 1.12rem; }
.legal address { font-style: normal; }
.legal p, .legal li { color: var(--ink-soft); }
.legal strong { color: var(--ink); }
.legal ul { padding-left: 1.4em; }

/* --------------------------------------------------------------------------
   CTA-Band
   -------------------------------------------------------------------------- */

.cta-band {
  text-align: center;
  padding: 74px 24px 88px;
}
.cta-band h2 {
  font-size: clamp(2rem, 4.4vw, 3rem);
  font-variation-settings: "opsz" 120;
  margin-bottom: 0.4em;
}
.cta-band p { max-width: 34em; margin: 0 auto 30px; font-size: 1.1rem; color: rgba(253, 252, 248, 0.85); }
.cta-band .btn { margin: 6px; }
.cta-band .btn--ghost { background: transparent; color: var(--ivory); border-color: rgba(253, 252, 248, 0.5); }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  background: var(--navy-deep);
  color: rgba(253, 252, 248, 0.8);
}
.site-footer .wave-divider { height: 44px; background-size: 600px 44px; }
.footer__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 46px 24px 30px;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
}
.footer__brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer__brand img { width: 185px; height: auto; }
.footer__brand span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--ivory);
}
.footer__about { font-size: 0.95rem; max-width: 26em; }
.footer h4 {
  color: var(--brass-bright);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 9px; }
.footer-links a { color: rgba(253, 252, 248, 0.82); text-decoration: none; font-weight: 400; }
.footer-links a:hover { color: var(--brass-bright); text-decoration: underline; text-decoration-thickness: 1.5px; }
.footer__bottom {
  border-top: 1px solid rgba(253, 252, 248, 0.15);
  max-width: var(--container);
  margin: 0 auto;
  padding: 18px 24px 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  align-items: center;
  font-size: 0.86rem;
  color: rgba(253, 252, 248, 0.55);
}
.footer__bottom a { color: rgba(253, 252, 248, 0.72); }
.footer__bottom nav { margin-left: auto; display: flex; gap: 18px; }

/* --------------------------------------------------------------------------
   Scroll-Reveals
   -------------------------------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  transition-delay: var(--reveal-delay, 0s);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   Responsivitaet
   -------------------------------------------------------------------------- */

@media (max-width: 1020px) {
  .hero__inner { grid-template-columns: 1fr; padding-top: 48px; }
  .hero__scene { max-width: 620px; margin: 0 auto; }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .two-col { grid-template-columns: 1fr; gap: 40px; }
  .meetup { grid-template-columns: 1fr; }
  .schedule-hero { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .page-head::after { right: -160px; opacity: 0.2; }
}

@media (max-width: 860px) {
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--ivory);
    border-bottom: 1px solid var(--line-color);
    margin: 0;
    display: none;
    box-shadow: 0 14px 24px rgba(14, 28, 43, 0.12);
  }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 10px 18px 18px; }
  .main-nav a { padding: 13px 16px; border-radius: var(--radius-sm); font-size: 1.05rem; }
  .main-nav a[aria-current="page"] { border-radius: var(--radius-sm); box-shadow: inset 3px 0 0 var(--brass); }
  .nav-toggle { display: block; }
  .header-cta { display: none; }
  .site-header__inner { gap: 12px; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .section { padding: 60px 0; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; gap: 14px; }
  .stat { padding: 20px 12px; }
  .gallery { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; gap: 30px; }
  .page-head__inner { padding: 52px 24px 76px; }
  .bank dl { grid-template-columns: 1fr; gap: 4px; }
  .bank dd { margin-bottom: 12px; }
  .hero__actions .btn { width: 100%; }
  .format { grid-template-columns: 1fr; }
  .step { grid-template-columns: 1fr; }
  .step::before { margin-bottom: 4px; }
  .card { padding: 24px 20px; }
  .big-event__banner, .big-event__body { padding: 22px 20px; }
  .board-card { padding: 26px 18px; }
  .donate { padding: 26px 20px; }
}

@media (max-width: 520px) {
  .brand__text { font-size: 1.15rem; }
  .brand img { height: 48px; }
  .hero h1 { font-size: 2.3rem; }
  .page-head h1 { font-size: 1.95rem; }
  .cta-band h2 { font-size: 1.85rem; }
  .bank dl { grid-template-columns: 1fr; gap: 2px; }
  .bank dd { margin-bottom: 10px; }
  .cta-band .btn { display: flex; width: 100%; margin: 6px 0; }
  .meetup__when { flex-wrap: wrap; }
}

/* Touch-Geraete: keine Hover-Animationen */
@media (hover: none) {
  .card:hover, .offer-card:hover { transform: none; box-shadow: var(--shadow-sm); }
  .btn:hover { transform: none; box-shadow: var(--shadow-sm); }
}

/* --------------------------------------------------------------------------
   Barrierefreiheit: reduzierte Bewegung
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
