/* Lokal gehostete Fonts (Fraunces, Libre Franklin) – kein Aufruf zu Google */
@font-face{
  font-family: 'Fraunces';
  src: url('../fonts/fraunces-latin-400-normal.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face{
  font-family: 'Fraunces';
  src: url('../fonts/fraunces-latin-500-normal.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face{
  font-family: 'Fraunces';
  src: url('../fonts/fraunces-latin-600-normal.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face{
  font-family: 'Fraunces';
  src: url('../fonts/fraunces-latin-700-normal.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face{
  font-family: 'Libre Franklin';
  src: url('../fonts/libre-franklin-latin-400-normal.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face{
  font-family: 'Libre Franklin';
  src: url('../fonts/libre-franklin-latin-500-normal.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face{
  font-family: 'Libre Franklin';
  src: url('../fonts/libre-franklin-latin-600-normal.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face{
  font-family: 'Libre Franklin';
  src: url('../fonts/libre-franklin-latin-700-normal.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}

/* ---------------------------------------------
   Tokens
--------------------------------------------- */
:root{
  --river-deep:   #12302B;
  --river-mid:    #1D453E;
  --river-line:   #6FA79A;
  --parchment:    #EFE8D4;
  --parchment-2:  #E4DAC0;
  --ink:          #16211D;
  --mist:         #D7E4DC;
  --mist-dim:     #A9C1B7;
  --brick:        #C1552E;
  --brick-dim:    #8F4025;
  --gold:         #D9A441;

  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Libre Franklin', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --wrap: 1180px;
  --pad: clamp(1.25rem, 4vw, 3rem);
}

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

html{ scroll-behavior: smooth; }
@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;
    scroll-behavior: auto !important;
  }
}

body{
  margin: 0;
  background: var(--river-deep);
  color: var(--mist);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3{
  font-family: var(--serif);
  color: var(--parchment);
  font-weight: 600;
  line-height: 1.12;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

h1{ font-size: clamp(2.3rem, 5.4vw, 3.9rem); font-weight: 700; }
h2{ font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
h3{ font-size: 1.25rem; font-weight: 600; }

p{ margin: 0 0 1em; max-width: 62ch; }

a{ color: var(--gold); text-decoration-color: rgba(217,164,65,0.4); text-underline-offset: 3px; }
a:hover{ text-decoration-color: var(--gold); }

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

.wrap{
  max-width: var(--wrap);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

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

/* ---------------------------------------------
   Header
--------------------------------------------- */
.site-header{
  position: sticky; top: 0; z-index: 50;
  background: rgba(18,48,43,0.86);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(111,167,154,0.25);
}

.site-header .wrap{
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 1rem; padding-bottom: 1rem;
}

.wordmark{
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--parchment);
  text-decoration: none;
  white-space: nowrap;
}
.wordmark span{ color: var(--brick); }
.wordmark:hover{ text-decoration: none; }

.main-nav ul{
  display: flex; gap: 1.75rem;
  list-style: none; margin: 0; padding: 0;
}
.main-nav a{
  color: var(--mist);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
}
.main-nav a:hover{ border-bottom-color: var(--gold); color: var(--parchment); }

.nav-toggle{
  display: none;
  background: none; border: 1px solid var(--mist-dim);
  border-radius: 6px;
  color: var(--parchment);
  width: 42px; height: 38px;
  font-size: 1.1rem;
  cursor: pointer;
}

@media (max-width: 780px){
  .nav-toggle{ display: block; }
  .main-nav{
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--river-deep);
    border-bottom: 1px solid rgba(111,167,154,0.25);
    max-height: 0; overflow: hidden;
    transition: max-height 0.25s ease;
  }
  .main-nav.open{ max-height: 320px; }
  .main-nav ul{
    flex-direction: column; gap: 0;
    padding: 0.5rem var(--pad) 1.25rem;
  }
  .main-nav li{ border-top: 1px solid rgba(111,167,154,0.15); }
  .main-nav a{ display: block; padding: 0.85rem 0; border-bottom: none; }
}

/* ---------------------------------------------
   Hero
--------------------------------------------- */
.hero{
  position: relative;
  padding-top: clamp(3.5rem, 9vw, 6.5rem);
  padding-bottom: clamp(4rem, 10vw, 7rem);
  overflow: hidden;
}

.hero-grid{
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

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

.hero-eyebrow{
  color: var(--mist-dim);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.hero h1{ max-width: 14ch; }

.hero-lead{
  font-size: 1.15rem;
  color: var(--mist);
  max-width: 46ch;
}

.hero-links{
  display: flex; flex-wrap: wrap; gap: 1.5rem;
  margin-top: 1.75rem;
}
.hero-links a{
  font-weight: 600;
  color: var(--parchment);
  text-decoration: none;
  border-bottom: 2px solid var(--brick);
  padding-bottom: 3px;
}
.hero-links a:hover{ border-bottom-color: var(--gold); }

.river-figure{ width: 100%; }
.river-figure svg{ width: 100%; height: auto; display: block; }

#river-path{
  fill: none;
  stroke: var(--river-line);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 1400;
  stroke-dashoffset: 1400;
}
#river-path.drawn{
  transition: stroke-dashoffset 2.4s cubic-bezier(.16,.84,.44,1);
  stroke-dashoffset: 0;
}

.river-figure .pin-dot{ fill: var(--brick); }
.river-figure .pin-label{
  font-family: var(--sans);
  font-size: 13px;
  fill: var(--mist-dim);
}

/* ---------------------------------------------
   Wave dividers
--------------------------------------------- */
.wave{ display: block; width: 100%; line-height: 0; }
.wave svg{ width: 100%; height: clamp(36px, 6vw, 64px); display: block; }

/* ---------------------------------------------
   Section rhythm
--------------------------------------------- */
section{ padding: clamp(3rem, 7vw, 5rem) 0; }

.section-dark{ background: var(--river-deep); }
.section-mid{ background: var(--river-mid); }
.section-paper{ background: var(--parchment); color: var(--ink); }
.section-paper h2, .section-paper h3{ color: var(--ink); }
.section-paper p{ color: var(--ink); }
.section-paper a{ color: var(--brick-dim); }

.section-head{
  max-width: 56ch;
  margin-bottom: clamp(2rem, 5vw, 3rem);
}
.section-head p{ color: inherit; opacity: 0.85; }

/* ---------------------------------------------
   Lage section
--------------------------------------------- */
.lage-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (max-width: 860px){
  .lage-grid{ grid-template-columns: 1fr; }
}
.map-figure svg{ width: 100%; height: auto; }
.map-figure .land{ fill: var(--river-mid); }
.map-figure .water{ fill: none; stroke: var(--gold); stroke-width: 3; }
.map-figure .marker{ fill: var(--brick); }
.map-figure text{ font-family: var(--sans); font-size: 12.5px; fill: var(--parchment); }

/* ---------------------------------------------
   Vereinsleben list
--------------------------------------------- */
.club-list{ list-style: none; margin: 0; padding: 0; }
.club-list li{
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 1.1rem;
  padding: 1.6rem 0;
  border-top: 1px solid rgba(22,33,29,0.14);
}
.club-list li:last-child{ border-bottom: 1px solid rgba(22,33,29,0.14); }
.club-list .icon{ color: var(--brick-dim); }
.club-list .icon svg{ width: 30px; height: 30px; }
.club-list h3{ margin-bottom: 0.3em; }
.club-list p{ margin: 0 0 0.35em; color: var(--ink); opacity: 0.82; }
.club-list p:last-child{ margin-bottom: 0; }
.entry-meta{
  display: block;
  font-size: 0.88rem;
  color: var(--brick-dim);
  opacity: 0.85;
  font-weight: 500;
}
.entry-meta a{ color: inherit; }

.section-dark .club-list li,
.section-mid .club-list li{ border-top-color: rgba(215,228,220,0.18); }
.section-dark .club-list li:last-child,
.section-mid .club-list li:last-child{ border-bottom-color: rgba(215,228,220,0.18); }
.section-dark .club-list h3, .section-mid .club-list h3{ color: var(--parchment); }
.section-dark .club-list p, .section-mid .club-list p{ color: var(--mist); }
.section-dark .entry-meta, .section-mid .entry-meta{ color: var(--gold); opacity: 1; }
.section-dark .club-list .icon, .section-mid .club-list .icon{ color: var(--gold); }

.nearby-note{
  margin-top: 1.6rem;
  padding-top: 1.4rem;
  border-top: 1px dashed rgba(22,33,29,0.25);
  font-size: 0.95rem;
  opacity: 0.85;
}
.section-dark .nearby-note, .section-mid .nearby-note{ border-top-color: rgba(215,228,220,0.25); }

.stat-row{
  display: flex; flex-wrap: wrap; gap: clamp(1.5rem, 5vw, 3.5rem);
  margin-top: 2rem;
}
.stat-row .stat b{
  display: block; font-family: var(--serif); font-size: 2rem;
  color: var(--parchment); font-weight: 700; line-height: 1;
}
.stat-row .stat span{ font-size: 0.9rem; color: var(--mist-dim); }

/* ---------------------------------------------
   Natur strip
--------------------------------------------- */
.natur-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
@media (max-width: 780px){
  .natur-grid{ grid-template-columns: 1fr; }
}
.natur-item .icon{ color: var(--gold); margin-bottom: 0.9rem; }
.natur-item .icon svg{ width: 34px; height: 34px; }
.natur-item h3{ color: var(--parchment); }
.natur-item p{ color: var(--mist); opacity: 0.88; }

/* ---------------------------------------------
   Footer
--------------------------------------------- */
.site-footer{
  background: var(--river-deep);
  border-top: 1px solid rgba(111,167,154,0.2);
  padding: 2.5rem 0 2rem;
  font-size: 0.92rem;
  color: var(--mist-dim);
}
.footer-grid{
  display: flex; flex-wrap: wrap;
  justify-content: space-between; align-items: flex-end;
  gap: 1.5rem;
}
.footer-note{ max-width: 46ch; }
.footer-note p{ color: inherit; margin: 0; }
.footer-links{ display: flex; gap: 1.5rem; list-style: none; margin: 0; padding: 0; }
.footer-links a{ color: var(--mist); text-decoration: none; border-bottom: 1px solid transparent; }
.footer-links a:hover{ border-bottom-color: var(--gold); }

/* ---------------------------------------------
   Legal pages (Impressum / Datenschutz)
--------------------------------------------- */
.legal{
  background: var(--parchment);
  color: var(--ink);
  min-height: 60vh;
  padding: clamp(3rem, 7vw, 5rem) 0 5rem;
}
.legal .wrap{ max-width: 760px; }
.legal h1{ color: var(--ink); }
.legal h2{
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--brick-dim);
  margin-top: 2.4rem;
}
.legal p, .legal li{ color: var(--ink); max-width: 68ch; }
.legal address{ font-style: normal; }
.legal .updated{ opacity: 0.6; font-size: 0.9rem; margin-top: 3rem; }
.back-link{
  display: inline-block;
  margin-bottom: 2rem;
  color: var(--brick-dim);
  font-weight: 600;
  text-decoration: none;
}
