/* ==========================================================================
   Mis Dorf, mis Dehei – misdorfmisdehei.ch
   Farbstrategie: Committed auf Vereins-Gold, Tannengrün als Tinte.
   Typografie: Young Serif (Display) + Atkinson Hyperlegible (Text).
   ========================================================================== */

/* ----------------------------- Schriften ------------------------------ */

@font-face {
  font-family: 'Young Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/young-serif-400.woff2') format('woff2');
}

@font-face {
  font-family: 'Atkinson Hyperlegible';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/atkinson-400.woff2') format('woff2');
}

@font-face {
  font-family: 'Atkinson Hyperlegible';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('assets/fonts/atkinson-700.woff2') format('woff2');
}

@font-face {
  font-family: 'Atkinson Hyperlegible';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/atkinson-italic-400.woff2') format('woff2');
}

/* ------------------------------ Tokens -------------------------------- */

:root {
  /* Farben: Hex-Fallbacks, unten via @supports in OKLCH überschrieben */
  --gold:        #eab034;
  --gold-tief:   #c8901c;
  --gold-text:   #8a5f09; /* dunkles Gold: erfüllt 4.5:1 auf Papier */
  --gold-hell:   #f3d98c;
  --gold-wash:   #faf2dc;
  --tanne:       #384139;
  --tanne-tief:  #242e27;
  --papier:      #faf6ec;
  --tinte:       #1f2b24;
  --tinte-sanft: #57655c;

  /* Typografie */
  --schrift-display: 'Young Serif', Georgia, 'Times New Roman', serif;
  --schrift-text: 'Atkinson Hyperlegible', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --groesse-basis: 1.125rem;                                  /* 18px */
  --groesse-klein: 1rem;
  --groesse-gross: 1.375rem;
  --groesse-h3: clamp(1.375rem, 1.2rem + 0.8vw, 1.75rem);
  --groesse-h2: clamp(2.125rem, 1.4rem + 3vw, 3.5rem);
  --groesse-held: clamp(3rem, 1.5rem + 8vw, 7.5rem);
  --groesse-preis: clamp(2.5rem, 2rem + 2vw, 4rem);

  /* Raum: 4er-Raster */
  --raum-1: 0.5rem;
  --raum-2: 1rem;
  --raum-3: 1.5rem;
  --raum-4: 2.5rem;
  --raum-5: 4rem;
  --raum-6: 6rem;
  --raum-7: clamp(5rem, 4rem + 6vw, 10rem);

  /* Bewegung */
  --ease-out-quint: cubic-bezier(0.22, 1, 0.36, 1);
  --dauer-reveal: 700ms;

  --breite-inhalt: 72rem;
  --breite-text: 42rem;
}

@supports (color: oklch(50% 0.1 100)) {
  :root {
    --gold:        oklch(78% 0.135 78);
    --gold-tief:   oklch(66% 0.13 70);
    --gold-text:   oklch(50.5% 0.105 73);
    --gold-hell:   oklch(89% 0.075 85);
    --gold-wash:   oklch(96% 0.035 88);
    --tanne:       oklch(36% 0.035 160);
    --tanne-tief:  oklch(28% 0.03 160);
    --papier:      oklch(97% 0.015 90);
    --tinte:       oklch(26% 0.025 155);
    --tinte-sanft: oklch(48% 0.025 155);
  }
}

/* ------------------------------ Basis --------------------------------- */

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

html {
  scroll-behavior: smooth;
  /* Sticky-Header nicht über Anker-Ziele legen */
  scroll-padding-top: 5.5rem;
}

body {
  margin: 0;
  font-family: var(--schrift-text);
  font-size: var(--groesse-basis);
  line-height: 1.6;
  color: var(--tinte);
  background: var(--papier);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 {
  font-family: var(--schrift-display);
  font-weight: 400;
  line-height: 1.1;
  margin: 0;
  text-wrap: balance;
  /* Lange deutsche Wörter («Generalversammlung») auf schmalen Screens trennen */
  overflow-wrap: break-word;
  hyphens: auto;
}

p {
  margin: 0;
}

p + p {
  margin-top: var(--raum-2);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

ul, ol, dl, dd, figure {
  margin: 0;
  padding: 0;
}

li {
  list-style: none;
}

address {
  font-style: normal;
}

:focus-visible {
  /* currentColor: auf hellen Flächen dunkel, auf dunklen hell – immer sichtbar */
  outline: 3px solid currentColor;
  outline-offset: 3px;
  border-radius: 2px;
}

::selection {
  background: var(--gold);
  color: var(--tanne-tief);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: var(--raum-2);
  z-index: 100;
  padding: var(--raum-2) var(--raum-3);
  background: var(--tanne-tief);
  color: var(--papier);
  font-weight: 700;
  text-decoration: none;
  border-radius: 0 0 8px 8px;
}

.skip-link:focus-visible {
  top: 0;
}

/* --------------------------- Bausteine -------------------------------- */

.abschnitt-innen {
  max-width: var(--breite-inhalt);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 3rem);
}

.abschnitt-lead {
  font-size: var(--groesse-gross);
  color: var(--tinte-sanft);
  max-width: var(--breite-text);
  margin-top: var(--raum-2);
}

h2 {
  font-size: var(--groesse-h2);
  color: var(--tinte);
}

.knopf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.875rem 2rem;
  font-family: var(--schrift-text);
  font-size: var(--groesse-basis);
  font-weight: 700;
  text-decoration: none;
  border-radius: 10px;
  transition: transform 200ms var(--ease-out-quint), box-shadow 200ms var(--ease-out-quint), background-color 200ms var(--ease-out-quint);
}

.knopf:hover {
  transform: translateY(-2px);
}

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

.knopf-gold {
  background: var(--gold);
  color: var(--tanne-tief);
  box-shadow: 0 2px 0 var(--gold-tief);
}

.knopf-gold:hover {
  background: var(--gold-hell);
  box-shadow: 0 4px 0 var(--gold-tief);
}

.knopf-hell {
  background: transparent;
  color: var(--papier);
  border: 2px solid currentColor;
}

.knopf-hell:hover {
  background: rgba(255 255 255 / 0.12);
}

.knopf-dunkel {
  background: var(--tanne-tief);
  color: var(--gold-hell);
  box-shadow: 0 2px 0 rgba(0 0 0 / 0.35);
}

.knopf-dunkel:hover {
  color: var(--gold);
  box-shadow: 0 5px 12px rgba(0 0 0 / 0.25);
}

.link-pfeil {
  display: inline-block;
  font-weight: 700;
  color: var(--tinte);
  text-decoration: none;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 2px;
  transition: border-color 200ms var(--ease-out-quint), color 200ms var(--ease-out-quint);
}

.link-pfeil::after {
  content: ' \2192';
}

.link-pfeil:hover {
  color: var(--gold-text);
  border-color: var(--gold-text);
}

/* ------------------------------ Kopfband ------------------------------ */

.kopfband {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--gold);
  transition: box-shadow 300ms var(--ease-out-quint);
}

.kopfband.hat-schatten {
  box-shadow: 0 2px 16px rgba(36 46 39 / 0.25);
}

.kopfband-innen {
  max-width: var(--breite-inhalt);
  margin-inline: auto;
  padding: var(--raum-1) clamp(1.25rem, 4vw, 3rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--raum-2) var(--raum-3);
  flex-wrap: wrap;
}

.marke {
  display: flex;
  align-items: center;
  gap: var(--raum-2);
  text-decoration: none;
  color: var(--tanne-tief);
}

.marke img {
  width: 76px;
  height: auto;
}

.marke span {
  font-family: var(--schrift-display);
  font-size: 1.25rem;
  line-height: 1.1;
}

.kopfband nav ul {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--raum-1) var(--raum-3);
}

.kopfband nav a {
  display: inline-block;
  padding: 0.625rem 0.25rem;
  font-weight: 700;
  color: var(--tanne-tief);
  text-decoration: none;
  border-bottom: 3px solid transparent;
  transition: border-color 200ms var(--ease-out-quint);
}

.kopfband nav a:hover {
  border-bottom-color: var(--tanne-tief);
}

.kopfband nav a.nav-cta {
  padding: 0.625rem 1.25rem;
  background: var(--tanne-tief);
  color: var(--gold-hell);
  border-radius: 10px;
  border-bottom: none;
  transition: background-color 200ms var(--ease-out-quint), color 200ms var(--ease-out-quint);
}

.kopfband nav a.nav-cta:hover {
  color: var(--gold);
}

/* Auf schmalen Screens: Marke oben, Navigation darunter, alles sichtbar */
@media (max-width: 800px) {
  .kopfband-innen {
    justify-content: center;
    text-align: center;
    padding-block: 0.375rem;
  }

  .marke img {
    width: 56px;
  }

  .marke span {
    font-size: 1.125rem;
  }

  .kopfband nav ul {
    justify-content: center;
    gap: 0 var(--raum-2);
  }

  .kopfband nav a {
    font-size: var(--groesse-klein);
    padding-block: 0.5rem;
  }

  html {
    scroll-padding-top: 8rem;
  }
}

/* ------------------------------- Hero --------------------------------- */

.held {
  position: relative;
  min-height: max(34rem, 92svh);
  display: flex;
  align-items: flex-end;
  isolation: isolate;
  background: var(--tanne-tief);
}

.held-bild,
.held-bild img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

/* Lesbarkeits-Verlauf unten, wo der Titel sitzt */
.held::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    to top,
    rgba(20 28 22 / 0.82) 0%,
    rgba(20 28 22 / 0.45) 35%,
    rgba(20 28 22 / 0) 65%
  );
}

.held-inhalt {
  width: 100%;
  max-width: var(--breite-inhalt);
  margin-inline: auto;
  padding: var(--raum-6) clamp(1.25rem, 4vw, 3rem) var(--raum-5);
}

.held-eyebrow {
  font-weight: 700;
  font-size: var(--groesse-klein);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}

.held h1 {
  font-size: var(--groesse-held);
  color: var(--papier);
  margin-top: var(--raum-2);
  text-shadow: 0 2px 24px rgba(0 0 0 / 0.35);
}

.held-lead {
  max-width: 36rem;
  margin-top: var(--raum-3);
  font-size: var(--groesse-gross);
  line-height: 1.55;
  color: var(--papier);
  text-shadow: 0 1px 12px rgba(0 0 0 / 0.45);
}

.held-aktionen {
  display: flex;
  flex-wrap: wrap;
  gap: var(--raum-2);
  margin-top: var(--raum-4);
}

/* Einstiegs-Choreografie: gestaffeltes Aufblenden */
.held-eyebrow,
.held h1,
.held-lead,
.held-aktionen {
  animation: held-auftritt 900ms var(--ease-out-quint) both;
}

.held h1        { animation-delay: 120ms; }
.held-lead      { animation-delay: 260ms; }
.held-aktionen  { animation-delay: 400ms; }

@keyframes held-auftritt {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ------------------------------ Agenda -------------------------------- */

.agenda {
  padding-block: var(--raum-7);
}

.anlass {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--raum-3) var(--raum-5);
  align-items: start;
  margin-top: var(--raum-5);
  padding-top: var(--raum-4);
  border-top: 3px solid var(--tinte);
}

.anlass-datum {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.anlass-tag {
  font-family: var(--schrift-display);
  font-size: clamp(4rem, 3rem + 6vw, 8rem);
  color: var(--gold-text);
}

.anlass-monat {
  margin-top: var(--raum-1);
  font-weight: 700;
  font-size: var(--groesse-gross);
  color: var(--tinte);
}

.anlass-info h3 {
  font-size: var(--groesse-h2);
}

.anlass-meta {
  margin-top: var(--raum-1);
  font-weight: 700;
  color: var(--gold-text);
  font-size: var(--groesse-gross);
}

.anlass-info > p:last-child {
  margin-top: var(--raum-2);
  max-width: var(--breite-text);
}

@media (max-width: 700px) {
  .anlass {
    grid-template-columns: 1fr;
    gap: var(--raum-2);
  }
}

.agenda-hinweis {
  margin-top: var(--raum-5);
  padding: var(--raum-3) var(--raum-4);
  background: var(--gold-wash);
  border-radius: 14px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--raum-2) var(--raum-3);
}

.saison {
  margin-top: var(--raum-3);
}

.saison summary {
  cursor: pointer;
  font-weight: 700;
  padding: var(--raum-2) 0;
  color: var(--tinte-sanft);
  width: fit-content;
}

.saison summary:hover {
  color: var(--tinte);
}

.saison-liste {
  margin-top: var(--raum-2);
  display: grid;
  gap: var(--raum-2);
}

.saison-liste li {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: var(--raum-2);
  max-width: var(--breite-text);
}

.saison-liste span {
  font-weight: 700;
  color: var(--gold-text);
  font-variant-numeric: tabular-nums;
}

@media (max-width: 700px) {
  .saison-liste li {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
}

/* -------------------------- Generationenpark -------------------------- */

.projekt {
  background: var(--gold-wash);
  padding-block: var(--raum-7);
}

.projekt-innen {
  max-width: var(--breite-inhalt);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: minmax(0, 11fr) minmax(0, 9fr);
  gap: var(--raum-5);
  align-items: center;
}

.projekt-bild img {
  border-radius: 16px;
  box-shadow: 0 24px 48px -24px rgba(36 46 39 / 0.45);
}

.projekt-bild figcaption {
  margin-top: var(--raum-2);
  font-style: italic;
  color: var(--tinte-sanft);
  font-size: var(--groesse-klein);
}

.projekt-text h2 {
  hyphens: manual;
}

.projekt-text p {
  margin-top: var(--raum-3);
  max-width: var(--breite-text);
}

.projekt-text .projekt-hinweis {
  margin-top: var(--raum-4);
  font-weight: 700;
  color: var(--gold-text);
}

@media (max-width: 900px) {
  .projekt-innen {
    grid-template-columns: 1fr;
    gap: var(--raum-4);
  }
}

/* ----------------------------- Panorama ------------------------------- */

.panorama {
  position: relative;
  background: var(--tanne-tief);
}

.panorama img {
  width: 100%;
  height: clamp(16rem, 38vw, 34rem);
  object-fit: cover;
}

.panorama figcaption {
  position: absolute;
  right: clamp(1.25rem, 4vw, 3rem);
  bottom: var(--raum-2);
  padding: 0.375rem 0.875rem;
  background: rgba(20 28 22 / 0.65);
  color: var(--papier);
  font-size: var(--groesse-klein);
  border-radius: 8px;
}

/* ------------------------------ Plätze -------------------------------- */

.plaetze {
  padding-block: var(--raum-7);
}

.plaetze-aufbau {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: var(--raum-5);
  align-items: start;
  margin-top: var(--raum-5);
}

.plaetze-bild img {
  border-radius: 16px;
  width: 100%;
}

.plaetze-bild figcaption {
  margin-top: var(--raum-2);
  font-style: italic;
  color: var(--tinte-sanft);
  font-size: var(--groesse-klein);
}

.plaetze-liste {
  display: grid;
  gap: var(--raum-4);
}

.plaetze-liste h3 {
  font-size: var(--groesse-h3);
}

.plaetze-liste p {
  margin-top: var(--raum-1);
  max-width: 38rem;
  color: var(--tinte-sanft);
}

.plaetze-liste li {
  padding-bottom: var(--raum-3);
  border-bottom: 1px solid var(--gold-hell);
}

.plaetze-liste li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

@media (max-width: 900px) {
  .plaetze-aufbau {
    grid-template-columns: 1fr;
    gap: var(--raum-4);
  }
}

.plaetze-ort {
  display: inline-block;
  margin-left: 0.5rem;
  padding: 0.125rem 0.625rem;
  font-family: var(--schrift-text);
  font-size: var(--groesse-klein);
  font-weight: 700;
  color: var(--tanne);
  background: var(--gold-hell);
  border-radius: 99px;
  vertical-align: 0.35em;
  white-space: nowrap;
}

/* ------------------------------ Galerie -------------------------------- */

.galerie {
  background: var(--gold-wash);
  padding-block: var(--raum-7);
}

.galerie-wand {
  max-width: var(--breite-inhalt);
  margin: var(--raum-5) auto 0;
  padding-inline: clamp(1.25rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--raum-2);
}

.galerie-wand figure {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

.galerie-wand img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
  transition: transform 600ms var(--ease-out-quint);
}

.galerie-wand figure:hover img {
  transform: scale(1.04);
}

/* Das Drohnenbild des fertigen Parks dominiert die Wand */
.galerie-gross {
  grid-column: span 2;
  grid-row: span 2;
}

.galerie-gross img {
  aspect-ratio: auto;
}

.galerie-wand figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: var(--raum-3) var(--raum-2) var(--raum-1);
  font-size: var(--groesse-klein);
  font-weight: 700;
  color: var(--papier);
  background: linear-gradient(to top, rgba(20 28 22 / 0.75), rgba(20 28 22 / 0));
}

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

  .galerie-gross {
    grid-column: span 2;
    grid-row: span 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .galerie-wand img,
  .galerie-wand figure:hover img {
    transition: none;
    transform: none;
  }
}

/* --------------------------- Verein / Chronik ------------------------- */

.verein {
  background: var(--tanne-tief);
  color: var(--papier);
  padding-block: var(--raum-7);
}

.verein h2 {
  color: var(--papier);
}

.verein .abschnitt-lead {
  color: var(--gold-hell);
}

.chronik {
  margin-top: var(--raum-6);
  display: grid;
  gap: var(--raum-5);
  counter-reset: chronik;
}

.chronik li {
  display: grid;
  grid-template-columns: minmax(8rem, auto) 1fr;
  gap: var(--raum-2) var(--raum-5);
  align-items: start;
}

.chronik-jahr {
  font-family: var(--schrift-display);
  font-size: clamp(2.5rem, 2rem + 3vw, 4.5rem);
  line-height: 1;
  color: var(--gold);
}

.chronik-jahr-jetzt {
  color: var(--gold-hell);
}

.chronik-text h3 {
  font-size: var(--groesse-h3);
  color: var(--gold-hell);
  /* Vertikal an der Jahreszahl ausrichten */
  padding-top: 0.4em;
}

.chronik-text p {
  margin-top: var(--raum-2);
  max-width: var(--breite-text);
  color: var(--papier);
  /* Heller Text auf dunklem Grund: mehr Luft */
  line-height: 1.7;
  letter-spacing: 0.01em;
}

@media (max-width: 700px) {
  .chronik li {
    grid-template-columns: 1fr;
    gap: var(--raum-1);
  }

  .chronik-text h3 {
    padding-top: 0;
  }
}

/* Vorstand: typografisch, auf dunklem Grund */

.vorstand {
  margin-top: var(--raum-6);
  padding-top: var(--raum-5);
  border-top: 1px solid rgba(250 246 236 / 0.25);
}

.vorstand h3 {
  font-size: var(--groesse-h3);
  color: var(--gold-hell);
}

.vorstand-liste {
  margin-top: var(--raum-4);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: var(--raum-3) var(--raum-4);
}

.vorstand-liste li {
  display: grid;
  gap: 0.25rem;
}

.vorstand-liste strong {
  font-size: var(--groesse-gross);
  color: var(--papier);
}

.vorstand-rolle {
  font-size: var(--groesse-klein);
  font-weight: 700;
  color: var(--gold-hell);
}

.vorstand-kontakt {
  margin-top: var(--raum-4);
  color: var(--papier);
}

.vorstand-kontakt a {
  color: var(--gold-hell);
  font-weight: 700;
  text-underline-offset: 3px;
}

.vorstand-kontakt a:hover {
  color: var(--gold);
}

/* --------------------------- Mitglied werden --------------------------- */

.mitglied {
  background: var(--gold);
  color: var(--tanne-tief);
  padding-block: var(--raum-7);
}

.mitglied h2 {
  color: var(--tanne-tief);
  font-size: clamp(2.5rem, 1.5rem + 5vw, 5.5rem);
}

.mitglied-lead {
  font-size: var(--groesse-gross);
  max-width: var(--breite-text);
  margin-top: var(--raum-3);
}

.beitraege {
  margin-top: var(--raum-6);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--raum-4);
}

.beitrag {
  padding-top: var(--raum-3);
  border-top: 3px solid var(--tanne-tief);
}

.beitrag dt {
  font-weight: 700;
  font-size: var(--groesse-gross);
}

.beitrag dd {
  margin-top: var(--raum-2);
}

.preis {
  font-family: var(--schrift-display);
  font-size: var(--groesse-preis);
  line-height: 1;
  display: inline-block;
}

.preis-zusatz {
  font-size: var(--groesse-basis);
  margin-left: 0.25rem;
}

.beitrag-info {
  margin-top: var(--raum-2);
  font-size: var(--groesse-klein);
  line-height: 1.55;
}

@media (max-width: 700px) {
  .beitraege {
    grid-template-columns: 1fr;
    gap: var(--raum-3);
  }
}

.mitglied-aktionen {
  margin-top: var(--raum-6);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--raum-3) var(--raum-4);
}

.mitglied-kontakt a {
  font-weight: 700;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}

.mitglied-kontakt a:hover {
  color: var(--tanne);
}

.mitglied-statuten {
  margin-top: var(--raum-4);
  font-size: var(--groesse-klein);
}

.mitglied-statuten a {
  font-weight: 700;
  text-underline-offset: 3px;
}

.mitglied-statuten a:hover {
  color: var(--tanne);
}

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

.fussbereich {
  background: var(--tanne-tief);
  color: var(--papier);
  padding: var(--raum-6) 0 var(--raum-4);
}

.fussbereich-innen {
  max-width: var(--breite-inhalt);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 3rem);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--raum-5);
}

.fuss-marke {
  display: grid;
  gap: var(--raum-3);
}

.fuss-marke img {
  width: 150px;
  /* Logo liegt auf transparentem Grund, auf Dunkel leicht aufhellen */
  filter: drop-shadow(0 0 1px rgba(255 255 255 / 0.4));
}

.fuss-marke address {
  line-height: 1.7;
}

.fuss-marke a,
.fuss-nav a {
  color: var(--gold-hell);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}

.fuss-marke a:hover,
.fuss-nav a:hover {
  color: var(--gold);
}

.fuss-nav ul {
  display: grid;
  gap: var(--raum-2);
}

.fuss-zeile {
  max-width: var(--breite-inhalt);
  margin: var(--raum-6) auto 0;
  padding-inline: clamp(1.25rem, 4vw, 3rem);
  padding-top: var(--raum-3);
  border-top: 1px solid rgba(250 246 236 / 0.2);
  font-size: var(--groesse-klein);
  color: rgba(250 246 236 / 0.7);
}

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

/* Nur aktiv, wenn JS läuft (html.js) und keine Reduced-Motion-Präferenz */
html.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity var(--dauer-reveal) var(--ease-out-quint),
    transform var(--dauer-reveal) var(--ease-out-quint);
}

html.js .reveal.sichtbar {
  opacity: 1;
  transform: translateY(0);
}

/* ------------------------- Reduzierte Bewegung ------------------------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .held-eyebrow,
  .held h1,
  .held-lead,
  .held-aktionen {
    animation: none;
  }

  html.js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .knopf,
  .knopf:hover,
  .knopf:active {
    transform: none;
  }
}

/* ------------------------------- Druck --------------------------------- */

@media print {
  .kopfband,
  .skip-link {
    position: static;
  }

  .held {
    min-height: auto;
  }

  .held-bild,
  .panorama {
    display: none;
  }

  .held::after {
    display: none;
  }

  .held h1,
  .held-lead {
    color: var(--tinte);
    text-shadow: none;
  }

  .verein,
  .fussbereich {
    background: none;
    color: var(--tinte);
  }

  .verein h2,
  .chronik-text p {
    color: var(--tinte);
  }
}
