/* Lokal gehostet (DSGVO) – Fraunces & Outfit */
@font-face {
  font-family: "Fraunces";
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/fraunces-italic-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Fraunces";
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/fraunces-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("fonts/fraunces-normal-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("fonts/fraunces-normal-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/outfit-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/outfit-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #0c1a14;
  --ink-soft: #3a4d44;
  --foam: #f2f5f3;
  --foam-deep: #e4ebe7;
  --ridge: #12352a;
  --ridge-mid: #1f4d3c;
  --copper: #2f6f6a;
  --copper-soft: #4a8f88;
  --sky: #7fa8b8;
  --gold: #d4a04a;
  --cream: #f7f4ee;
  --white: #ffffff;
  --shadow: 0 18px 48px rgba(12, 26, 20, 0.14);
  --font-display: "Fraunces", "Palatino Linotype", Georgia, serif;
  --font-body: "Outfit", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --header-h: 4.5rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --max: 74rem;
}

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

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--ink);
  background:
    radial-gradient(ellipse 900px 500px at 0% 0%, rgba(127, 168, 184, 0.18), transparent 60%),
    radial-gradient(ellipse 800px 600px at 100% 30%, rgba(47, 111, 106, 0.1), transparent 55%),
    linear-gradient(180deg, var(--foam) 0%, var(--foam-deep) 40%, #dce8e4 70%, var(--foam) 100%);
  overflow-x: hidden;
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

body.is-nav-open {
  overflow: hidden;
}

::selection {
  background: rgba(47, 111, 106, 0.28);
  color: var(--ink);
}

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

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

a:hover {
  color: var(--ridge-mid);
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--copper-soft);
  outline-offset: 3px;
}

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  opacity: 0.028;
  contain: strict;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
}

@media (max-width: 720px), (prefers-reduced-motion: reduce) {
  .grain {
    display: none;
  }
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 1000;
  padding: 0.75rem 1rem;
  background: var(--ridge);
  color: var(--cream);
  text-decoration: none;
}

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

.section-shell {
  width: min(100% - clamp(1.5rem, 5vw, 2.5rem), var(--max));
  margin-inline: auto;
}

.eyebrow {
  margin: 0 0 0.85rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--copper);
}

h1,
h2,
h3,
.hero-brand,
.footer-name,
.chapter-index {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

h2 {
  margin: 0 0 1.1rem;
  font-size: clamp(2.15rem, 5vw, 3.4rem);
  color: var(--ridge);
  font-optical-sizing: auto;
}

h3 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  color: var(--cream);
}

.section {
  padding: clamp(5rem, 11vw, 8.5rem) 0;
  position: relative;
}

.section-ort,
.section-geschichte,
.section-ankommen,
.section-vereine-note {
  content-visibility: auto;
  contain-intrinsic-size: auto 40rem;
}

.hero-media,
.chapter-media,
.geschichte-bg {
  transform: translateZ(0);
}

.section-intro {
  text-align: left;
  margin-bottom: 3rem;
}

.section-intro p:last-child {
  margin: 0;
  color: var(--ink-soft);
  max-width: 34rem;
  font-size: 1.15rem;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: calc(var(--header-h) + env(safe-area-inset-top));
  padding-top: env(safe-area-inset-top);
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.site-header.is-scrolled,
.site-header.is-nav-open {
  background: rgba(242, 245, 243, 0.96);
  box-shadow: 0 1px 0 rgba(18, 53, 42, 0.08);
}

.header-inner {
  width: min(100% - clamp(1.5rem, 5vw, 2.5rem), var(--max));
  height: var(--header-h);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.nav {
  position: relative;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--cream);
  text-decoration: none;
  transition: color 0.3s var(--ease);
}

.site-header.is-scrolled .logo,
.site-header.is-nav-open .logo {
  color: var(--ridge);
}

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

.nav-list a {
  color: rgba(247, 244, 238, 0.88);
  text-decoration: none;
  font-size: 0.98rem;
  font-weight: 500;
  position: relative;
  transition: color 0.25s var(--ease);
}

.nav-list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.3rem;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.nav-list a:hover::after {
  transform: scaleX(1);
}

.nav-list a:hover {
  color: var(--white);
}

.site-header.is-scrolled .nav-list a {
  color: var(--ink-soft);
}

.site-header.is-scrolled .nav-list a:hover {
  color: var(--ridge);
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.65rem;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
  min-height: 2.75rem;
  min-width: 2.75rem;
  padding: 0.45rem 0.35rem;
  -webkit-tap-highlight-color: transparent;
}

.nav-toggle-label {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--cream);
}

.site-header.is-scrolled .nav-toggle-label,
.site-header.is-nav-open .nav-toggle-label {
  color: var(--ridge);
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 1.35rem;
  height: 2px;
  background: currentColor;
  position: relative;
  transition: transform 0.3s var(--ease), top 0.3s var(--ease), background-color 0.3s var(--ease);
}

.nav-toggle-bars {
  color: var(--cream);
}

.site-header.is-scrolled .nav-toggle-bars,
.site-header.is-nav-open .nav-toggle-bars {
  color: var(--ridge);
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-bars::before {
  top: -6px;
}

.nav-toggle-bars::after {
  top: 6px;
}

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

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after {
  top: 0;
  transform: rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--cream);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 46% 40%;
}

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 18, 14, 0.42) 0%, rgba(8, 18, 14, 0.04) 34%, rgba(8, 18, 14, 0.42) 68%, rgba(8, 18, 14, 0.86) 100%),
    linear-gradient(105deg, rgba(8, 18, 14, 0.42) 0%, transparent 52%),
    radial-gradient(ellipse 70% 55% at 18% 85%, rgba(212, 160, 74, 0.18), transparent 62%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(100% - clamp(1.5rem, 5vw, 2.5rem), var(--max));
  margin: 0 auto;
  padding: calc(var(--header-h) + env(safe-area-inset-top) + 2rem) 0 calc(5.5rem + env(safe-area-inset-bottom));
}

.hero-brand {
  margin: 0 0 0.55rem;
  font-size: clamp(3.4rem, 12vw, 7.8rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 0.92;
  text-shadow: 0 6px 50px rgba(0, 0, 0, 0.4);
}

.hero-title {
  margin: 0 0 1.15rem;
  font-size: clamp(1.2rem, 2.6vw, 1.65rem);
  font-weight: 500;
  font-family: var(--font-body);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(247, 244, 238, 0.78);
}

.hero-lead {
  margin: 0 0 2.15rem;
  max-width: 30rem;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: rgba(247, 244, 238, 0.92);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.hero-scroll {
  position: absolute;
  right: clamp(1.25rem, 4vw, 3rem);
  bottom: 2.5rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(247, 244, 238, 0.65);
}

.hero-scroll-line {
  width: 1px;
  height: 3.5rem;
  background: linear-gradient(180deg, rgba(247, 244, 238, 0.7), transparent);
  transform-origin: top;
  animation: scrollPulse 2.2s var(--ease) infinite;
}

@keyframes scrollPulse {
  0%,
  100% {
    transform: scaleY(0.45);
    opacity: 0.4;
  }
  50% {
    transform: scaleY(1);
    opacity: 1;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 1px solid transparent;
  text-align: center;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}

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

.btn-primary {
  background: var(--cream);
  color: var(--ridge);
  box-shadow: 0 10px 30px rgba(8, 18, 14, 0.25);
}

.btn-primary:hover {
  background: var(--white);
  color: var(--ridge);
}

.btn-ghost {
  background: rgba(8, 18, 14, 0.45);
  color: var(--cream);
  border-color: rgba(247, 244, 238, 0.55);
}

.btn-ghost:hover {
  background: rgba(8, 18, 14, 0.5);
  border-color: var(--cream);
  color: var(--white);
}

/* Hero bridge */
.hero-bridge {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 4.25rem;
  padding: 1.1rem clamp(1.25rem, 4vw, 2.5rem);
  overflow: hidden;
  background: var(--ink);
  border-bottom: 1px solid rgba(247, 244, 238, 0.06);
}

.hero-bridge-wash {
  position: absolute;
  inset: -40% -20%;
  background:
    radial-gradient(ellipse 45% 80% at 20% 50%, rgba(47, 111, 106, 0.45), transparent 60%),
    radial-gradient(ellipse 40% 70% at 80% 40%, rgba(127, 168, 184, 0.28), transparent 55%),
    radial-gradient(ellipse 35% 60% at 55% 100%, rgba(212, 160, 74, 0.12), transparent 50%);
  animation: bridge-drift 14s ease-in-out infinite alternate;
  pointer-events: none;
}

.hero-bridge-meta {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.65rem 0;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(247, 244, 238, 0.72);
}

.hero-bridge-meta li {
  display: inline-flex;
  align-items: center;
  padding-inline: 1rem;
}

.hero-bridge-meta li:not(:last-child)::after {
  content: "";
  display: block;
  width: 1px;
  height: 0.85rem;
  margin-left: 1rem;
  background: rgba(247, 244, 238, 0.22);
}

@keyframes bridge-drift {
  from {
    transform: translate3d(-2%, 0, 0) scale(1.02);
  }
  to {
    transform: translate3d(2%, 0, 0) scale(1.06);
  }
}

/* Ort */
.section-ort {
  padding-top: clamp(4rem, 8vw, 6rem);
}

.ort-stage {
  width: min(100% - clamp(1.5rem, 5vw, 2.5rem), var(--max));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: end;
}

.ort-figure {
  margin: 0;
  position: relative;
}

.ort-figure::before {
  content: "";
  position: absolute;
  inset: auto -10% -10% auto;
  width: 48%;
  height: 48%;
  background: linear-gradient(145deg, rgba(47, 111, 106, 0.4), rgba(212, 160, 74, 0.22));
  z-index: -1;
}

.ort-figure img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center 40%;
  box-shadow: var(--shadow);
}

.ort-copy {
  padding-bottom: clamp(1rem, 4vw, 3rem);
  position: relative;
  z-index: 1;
}

.ort-copy h2 {
  font-size: clamp(2.2rem, 5.5vw, 3.6rem);
}

.ort-copy p {
  color: var(--ink-soft);
  max-width: 34rem;
  font-size: 1.12rem;
}

.ort-copy p + p {
  margin-top: 1rem;
}

/* Erleben: Kapitel-Layout – kein Außen-Padding, sonst Lücke vor Geschichte */
.section.section-erleben {
  padding: 0;
}

.erleben-intro {
  width: min(100% - clamp(1.5rem, 5vw, 2.5rem), var(--max));
  margin: 0 auto clamp(2.5rem, 6vw, 4rem);
  padding-top: clamp(4rem, 8vw, 6rem);
}

.chapter {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--cream);
  margin-bottom: 0;
  content-visibility: auto;
  contain-intrinsic-size: auto 100svh;
}

.chapter-media {
  position: absolute;
  inset: 0;
}

.chapter-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 1.2s var(--ease);
}

.chapter:nth-of-type(1) .chapter-media img {
  object-position: 45% 78%;
}

.chapter:nth-of-type(2) .chapter-media img {
  object-position: center 50%;
}

.chapter.is-visible .chapter-media img {
  transform: scale(1);
}

.chapter-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 18, 14, 0.15) 0%, rgba(8, 18, 14, 0.25) 40%, rgba(8, 18, 14, 0.82) 100%),
    linear-gradient(90deg, rgba(8, 18, 14, 0.45) 0%, transparent 55%);
}

.chapter-flip .chapter-shade {
  background:
    linear-gradient(180deg, rgba(8, 18, 14, 0.15) 0%, rgba(8, 18, 14, 0.25) 40%, rgba(8, 18, 14, 0.82) 100%),
    linear-gradient(270deg, rgba(8, 18, 14, 0.45) 0%, transparent 55%);
}

.chapter-copy {
  position: relative;
  z-index: 1;
  width: min(100% - clamp(1.5rem, 5vw, 2.5rem), var(--max));
  margin: 0 auto;
  padding: 4rem 0 4.5rem;
  max-width: 36rem;
  justify-self: start;
}

.chapter-flip .chapter-copy {
  justify-self: end;
  text-align: right;
  margin-left: auto;
}

.chapter-index {
  display: block;
  margin-bottom: 0.5rem;
  font-size: clamp(3.5rem, 10vw, 6.5rem);
  font-weight: 700;
  line-height: 0.85;
  color: rgba(212, 160, 74, 0.9);
  letter-spacing: -0.05em;
}

.chapter-copy p {
  margin: 0;
  max-width: 30rem;
  color: rgba(247, 244, 238, 0.88);
  font-size: 1.1rem;
}

.chapter-flip .chapter-copy p {
  margin-left: auto;
}

.chapter-flip .chapter-link {
  margin-left: auto;
}

/* Geschichte */
.section-geschichte {
  position: relative;
  overflow: hidden;
  color: var(--cream);
  padding: clamp(5.5rem, 12vw, 9rem) 0;
}

.geschichte-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.geschichte-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

.geschichte-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(120deg, rgba(12, 26, 20, 0.92) 0%, rgba(12, 26, 20, 0.78) 45%, rgba(18, 53, 42, 0.72) 100%);
}

.geschichte-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}

.section-geschichte .eyebrow {
  color: var(--gold);
}

.section-geschichte h2 {
  color: var(--cream);
}

.section-geschichte .section-intro > p:not(.geschichte-sources) {
  color: rgba(247, 244, 238, 0.8);
}

.section-geschichte .section-intro .geschichte-sources {
  margin: 1.35rem 0 0;
  font-size: 0.82rem;
  line-height: 1.55;
  color: rgba(247, 244, 238, 0.55);
}

.section-geschichte .section-intro .geschichte-sources a {
  color: rgba(247, 244, 238, 0.72);
  text-decoration-color: rgba(212, 160, 74, 0.45);
}

.section-geschichte .section-intro .geschichte-sources a:hover {
  color: var(--gold);
}

.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.timeline li {
  position: relative;
  padding: 1.15rem 0 1.15rem 1.75rem;
  border-left: 1px solid rgba(212, 160, 74, 0.35);
}

.timeline li:first-child {
  padding-top: 0;
}

.timeline li:last-child {
  padding-bottom: 0;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: -0.35rem;
  top: 1.55rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(212, 160, 74, 0.2);
}

.timeline li:first-child::before {
  top: 0.4rem;
}

.timeline time {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.2vw, 2.15rem);
  font-weight: 700;
  margin-bottom: 0.3rem;
  color: var(--cream);
  letter-spacing: -0.03em;
  line-height: 1;
}

.timeline p {
  margin: 0;
  color: rgba(247, 244, 238, 0.82);
  max-width: 28rem;
  font-size: 1.02rem;
}

/* Ankommen */
.section-ankommen {
  padding-top: clamp(4.5rem, 9vw, 7rem);
}

.ankommen-stage {
  width: min(100% - clamp(1.5rem, 5vw, 2.5rem), var(--max));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.ankommen-copy p {
  color: var(--ink-soft);
  max-width: 34rem;
}

.facts {
  margin: 1.85rem 0 2.15rem;
  display: grid;
  gap: 0;
}

.facts > div {
  display: grid;
  gap: 0.25rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(18, 53, 42, 0.12);
}

.facts > div:first-child {
  border-top: 1px solid rgba(18, 53, 42, 0.12);
}

.facts dt {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--copper);
}

.facts dd {
  margin: 0;
  color: var(--ink);
  font-size: 1.1rem;
}

.ankommen-figure {
  margin: 0;
  position: relative;
}

.ankommen-figure::after {
  content: "";
  position: absolute;
  inset: 8% -6% -6% 8%;
  border: 1px solid rgba(47, 111, 106, 0.35);
  z-index: -1;
}

.ankommen-figure img {
  width: 100%;
  aspect-ratio: 5 / 6;
  object-fit: cover;
  object-position: center;
  box-shadow: var(--shadow);
}

.ankommen-figure figcaption {
  margin-top: 0.9rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.section-ankommen .btn-primary {
  background: var(--ridge);
  color: var(--cream);
}

.section-ankommen .btn-primary:hover {
  background: var(--ridge-mid);
  color: var(--white);
}

/* Chapter link */
.chapter-link {
  display: inline-block;
  margin-top: 1.25rem;
  color: var(--cream);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(247, 244, 238, 0.45);
  padding-bottom: 0.15rem;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
}

.chapter-link:hover {
  color: var(--white);
  border-bottom-color: var(--gold);
}

/* Page hero (Unterseiten) */
.hero-page {
  min-height: min(88svh, 42rem);
}

.hero-page .hero-content {
  padding-bottom: 4.5rem;
}

.hero-page .hero-media img {
  object-position: center 45%;
}

/* Sportplatz feature */
.section-sportplatz {
  padding: clamp(4rem, 9vw, 7rem) 0;
  background:
    linear-gradient(180deg, rgba(18, 53, 42, 0.04), transparent 40%),
    transparent;
}

.sportplatz-stage {
  width: min(100% - clamp(1.5rem, 5vw, 2.5rem), var(--max));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: end;
}

.sportplatz-figure {
  margin: 0;
  position: relative;
}

.sportplatz-figure::before {
  content: "";
  position: absolute;
  inset: auto -7% -7% auto;
  width: 38%;
  height: 38%;
  background: linear-gradient(135deg, rgba(47, 111, 106, 0.4), rgba(212, 160, 74, 0.22));
  z-index: -1;
}

.sportplatz-figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  box-shadow: var(--shadow);
  filter: saturate(1.06) contrast(1.04);
}

.sportplatz-figure figcaption {
  margin-top: 0.85rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.sportplatz-copy {
  padding-bottom: clamp(0.25rem, 2vw, 1.5rem);
}

.sportplatz-copy p {
  color: var(--ink-soft);
  max-width: 32rem;
  font-size: 1.12rem;
}

.sportplatz-copy p + p {
  margin-top: 1rem;
}

.sportplatz-copy .btn-primary {
  margin-top: 1.75rem;
  background: var(--ridge);
  color: var(--cream);
}

.sportplatz-copy .btn-primary:hover {
  background: var(--ridge-mid);
  color: var(--white);
}

/* Vereine */
.section-vereine-intro {
  padding-top: clamp(2.5rem, 5vw, 4rem);
  padding-bottom: clamp(2rem, 4vw, 3rem);
}

.vereine-intro {
  max-width: 38rem;
}

.vereine-intro p:last-child {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.15rem;
}

.section-vereine-list {
  padding-top: clamp(2rem, 5vw, 3.5rem);
}

.verein-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.verein-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(1.25rem, 4vw, 2.75rem);
  padding: clamp(1.75rem, 3.5vw, 2.5rem) 0;
  border-top: 1px solid rgba(18, 53, 42, 0.12);
  align-items: start;
}

.verein-item:last-child {
  border-bottom: 1px solid rgba(18, 53, 42, 0.12);
}

.verein-index {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: rgba(47, 111, 106, 0.45);
  padding-top: 0.15rem;
}

.verein-meta {
  margin: 0 0 0.55rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--copper);
}

.verein-body h3 {
  margin: 0 0 0.75rem;
  color: var(--ridge);
  font-size: clamp(1.45rem, 2.8vw, 2rem);
}

.verein-body p {
  margin: 0;
  color: var(--ink-soft);
  max-width: 40rem;
  font-size: 1.08rem;
}

.verein-link {
  display: inline-block;
  margin-top: 1rem;
  margin-right: 1.25rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--copper);
  border-bottom: 1px solid rgba(47, 111, 106, 0.35);
  padding-bottom: 0.1rem;
}

.verein-link:hover {
  color: var(--ridge-mid);
  border-bottom-color: var(--ridge-mid);
}

.section-vereine-note {
  padding-top: clamp(3rem, 6vw, 5rem);
}

.vereine-note-stage {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.vereine-note-copy p {
  color: var(--ink-soft);
  max-width: 34rem;
  margin: 0 0 1.85rem;
}

.vereine-note-copy .btn-primary {
  background: var(--ridge);
  color: var(--cream);
}

.vereine-note-copy .btn-primary:hover {
  background: var(--ridge-mid);
  color: var(--white);
}

.vereine-note-figure {
  margin: 0;
  position: relative;
}

.vereine-note-figure::after {
  content: "";
  position: absolute;
  inset: 8% -6% -6% 8%;
  border: 1px solid rgba(47, 111, 106, 0.35);
  z-index: -1;
}

.vereine-note-figure img {
  width: 100%;
  aspect-ratio: 5 / 6;
  object-fit: cover;
  object-position: center 30%;
  box-shadow: var(--shadow);
}

.nav-list a[aria-current="page"] {
  color: var(--white);
}

.nav-list a[aria-current="page"]::after {
  transform: scaleX(1);
}

.site-header.is-scrolled .nav-list a[aria-current="page"] {
  color: var(--ridge);
}

/* InfraQ */
.infraq {
  padding: clamp(4.5rem, 9vw, 7rem) 0;
  background:
    linear-gradient(135deg, rgba(47, 111, 106, 0.14), rgba(127, 168, 184, 0.12)),
    var(--foam);
  border-block: 1px solid rgba(18, 53, 42, 0.1);
}

.infraq-inner {
  max-width: 40rem;
}

.infraq h2 {
  font-size: clamp(1.85rem, 3.2vw, 2.5rem);
}

.infraq p {
  color: var(--ink-soft);
  margin: 0 0 1.85rem;
}

.infraq .btn-primary {
  background: var(--copper);
  color: var(--cream);
}

.infraq .btn-primary:hover {
  background: var(--copper-soft);
  color: var(--white);
}

/* Footer */
.site-footer {
  padding: 3rem 0 3.25rem;
  background: var(--ink);
  color: rgba(247, 244, 238, 0.72);
}

.footer-inner {
  display: grid;
  gap: 1.5rem;
}

.footer-name {
  margin: 0 0 0.35rem;
  font-size: 1.45rem;
  color: var(--cream);
}

.footer-brand p:last-child {
  margin: 0;
  font-size: 0.98rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.35rem;
}

.footer-nav a,
.footer-credit a {
  color: rgba(247, 244, 238, 0.78);
  text-decoration: none;
}

.footer-nav a:hover,
.footer-credit a:hover {
  color: var(--white);
}

.footer-credit {
  margin: 0;
  font-size: 0.92rem;
  opacity: 0.85;
}

.footer-photos {
  margin: 0.5rem 0 0;
  max-width: 52rem;
  font-size: 0.78rem;
  line-height: 1.55;
  color: rgba(247, 244, 238, 0.55);
}

.footer-photos a {
  color: rgba(247, 244, 238, 0.7);
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(1.75rem);
  transition:
    opacity 0.85s var(--ease),
    transform 0.85s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.hero .reveal {
  opacity: 0;
  transform: translateY(1.25rem);
}

.hero.is-ready .reveal.is-visible {
  opacity: 1;
  transform: none;
}

.hero .reveal:nth-child(1) {
  transition-delay: 140ms;
}
.hero .reveal:nth-child(2) {
  transition-delay: 260ms;
}
.hero .reveal:nth-child(3) {
  transition-delay: 380ms;
}
.hero .reveal:nth-child(4) {
  transition-delay: 500ms;
}

.timeline .reveal:nth-child(1) {
  transition-delay: 0ms;
}
.timeline .reveal:nth-child(2) {
  transition-delay: 60ms;
}
.timeline .reveal:nth-child(3) {
  transition-delay: 120ms;
}
.timeline .reveal:nth-child(4) {
  transition-delay: 180ms;
}
.timeline .reveal:nth-child(5) {
  transition-delay: 240ms;
}
.timeline .reveal:nth-child(6) {
  transition-delay: 300ms;
}
.timeline .reveal:nth-child(7) {
  transition-delay: 360ms;
}
.timeline .reveal:nth-child(8) {
  transition-delay: 420ms;
}
.timeline .reveal:nth-child(9) {
  transition-delay: 480ms;
}

@media (max-width: 960px) {
  .ort-stage,
  .geschichte-layout,
  .ankommen-stage,
  .vereine-note-stage,
  .sportplatz-stage {
    grid-template-columns: 1fr;
  }

  .ort-figure img,
  .ankommen-figure img,
  .vereine-note-figure img,
  .sportplatz-figure img {
    aspect-ratio: 16 / 11;
  }

  .ort-figure::before,
  .ankommen-figure::after,
  .vereine-note-figure::after,
  .sportplatz-figure::before {
    display: none;
  }

  .verein-item {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .verein-index {
    font-size: clamp(2rem, 8vw, 2.6rem);
  }

  .chapter {
    min-height: min(78svh, 36rem);
  }

  .chapter-shade {
    background:
      linear-gradient(180deg, rgba(8, 18, 14, 0.2) 0%, rgba(8, 18, 14, 0.35) 35%, rgba(8, 18, 14, 0.88) 100%),
      linear-gradient(90deg, rgba(8, 18, 14, 0.35) 0%, transparent 60%);
  }

  .chapter-flip .chapter-shade {
    background:
      linear-gradient(180deg, rgba(8, 18, 14, 0.2) 0%, rgba(8, 18, 14, 0.35) 35%, rgba(8, 18, 14, 0.88) 100%),
      linear-gradient(270deg, rgba(8, 18, 14, 0.35) 0%, transparent 60%);
  }

  .chapter-flip .chapter-copy {
    justify-self: start;
    text-align: left;
    margin-inline: auto;
  }

  .chapter-flip .chapter-copy p {
    margin-left: 0;
  }

  .chapter-flip .chapter-link {
    margin-left: 0;
  }

  .geschichte-layout .section-intro {
    margin-bottom: 0.5rem;
  }

  .hero-scroll {
    display: none;
  }
}

@media (max-width: 880px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav-list {
    position: absolute;
    top: calc(100% + 0.35rem);
    right: 0;
    left: auto;
    width: min(20rem, calc(100vw - 2rem - env(safe-area-inset-left) - env(safe-area-inset-right)));
    flex-direction: column;
    gap: 0;
    padding: 0.35rem 0;
    background: rgba(242, 245, 243, 0.98);
    border: 1px solid rgba(18, 53, 42, 0.1);
    box-shadow: var(--shadow);
    z-index: 120;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-0.4rem);
    transition:
      opacity 0.25s var(--ease),
      transform 0.25s var(--ease),
      visibility 0.25s var(--ease);
  }

  .nav-list.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }

  .nav-list a {
    display: block;
    padding: 0.95rem 1.15rem;
    color: var(--ridge) !important;
    border-bottom: 1px solid rgba(18, 53, 42, 0.08);
  }

  .nav-list a[aria-current="page"] {
    font-weight: 700;
  }

  .nav-list a::after {
    display: none;
  }

  .nav-list li:last-child a {
    border-bottom: 0;
  }
}

@media (max-width: 760px) {
  body {
    font-size: 1.05rem;
  }

  .section {
    padding: clamp(3.5rem, 12vw, 6rem) 0;
  }

  .section-intro {
    margin-bottom: 2rem;
  }

  h2 {
    font-size: clamp(1.85rem, 8vw, 2.6rem);
  }

  .hero-media img {
    object-position: 48% 38%;
  }

  .hero-veil {
    background:
      linear-gradient(180deg, rgba(8, 18, 14, 0.48) 0%, rgba(8, 18, 14, 0.08) 28%, rgba(8, 18, 14, 0.52) 62%, rgba(8, 18, 14, 0.9) 100%),
      linear-gradient(105deg, rgba(8, 18, 14, 0.42) 0%, transparent 55%),
      radial-gradient(ellipse 70% 55% at 18% 85%, rgba(212, 160, 74, 0.16), transparent 62%);
  }

  .hero-content {
    padding-bottom: calc(3rem + env(safe-area-inset-bottom));
  }

  .hero-brand {
    font-size: clamp(2.55rem, 13vw, 3.6rem);
  }

  .hero-title {
    font-size: clamp(1.05rem, 3.8vw, 1.25rem);
    letter-spacing: 0.06em;
  }

  .hero-lead {
    margin-bottom: 1.6rem;
    font-size: 1.02rem;
    max-width: 22rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.7rem;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-page {
    min-height: min(82svh, 36rem);
  }

  .hero-page .hero-content {
    padding-bottom: calc(3rem + env(safe-area-inset-bottom));
  }

  .hero-bridge {
    min-height: 3.6rem;
    padding-block: 0.95rem;
  }

  .hero-bridge-meta {
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    row-gap: 0.45rem;
  }

  .hero-bridge-meta li {
    padding-inline: 0.7rem;
  }

  .hero-bridge-meta li:not(:last-child)::after {
    margin-left: 0.7rem;
  }

  .chapter {
    min-height: min(72svh, 30rem);
  }

  .chapter-copy {
    padding: 3rem 0 2.75rem;
  }

  .chapter-index {
    font-size: clamp(2.8rem, 16vw, 4.2rem);
  }

  .chapter-copy p {
    font-size: 1.02rem;
  }

  .ort-copy p,
  .sportplatz-copy p,
  .ankommen-copy p,
  .vereine-intro p:last-child,
  .verein-body p {
    font-size: 1.02rem;
  }

  .timeline time {
    font-size: clamp(1.7rem, 8vw, 2.2rem);
  }

  .timeline li {
    padding: 1rem 0 1rem 1.35rem;
  }

  .section-geschichte .section-intro .geschichte-sources {
    font-size: 0.78rem;
  }

  .btn {
    min-height: 3.1rem;
    padding: 0.8rem 1.25rem;
  }

  .verein-link {
    min-height: 2.75rem;
    display: inline-flex;
    align-items: center;
  }

  .footer-nav {
    gap: 1rem 1.25rem;
  }

  .footer-photos {
    font-size: 0.72rem;
  }

  .site-footer {
    padding: 2.5rem 0 calc(2.75rem + env(safe-area-inset-bottom));
  }
}

@media (max-width: 420px) {
  .nav-toggle-label {
    display: none;
  }

  .hero-brand {
    font-size: clamp(2.3rem, 14vw, 3rem);
  }

  .ort-copy h2,
  .sportplatz-copy h2 {
    font-size: clamp(1.7rem, 9vw, 2.2rem);
  }
}

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

  .reveal,
  .hero-media img,
  .chapter-media img,
  .btn,
  .hero-bridge-wash,
  .hero-scroll-line {
    transition: none !important;
    animation: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
    filter: none;
  }

  .hero-media img,
  .chapter-media img {
    transform: none;
  }
}
