/* ============================================================
   PFADFINDER LANGENWANG — Minimal Nature-Editorial Design
   ============================================================
   Palette:
     --forest:     #1b3a2d   (deep forest green)
     --forest-mid: #2a5c45   (medium green)
     --sage:       #6b8f71   (soft sage)
     --cream:      #f6f1ea   (warm cream background)
     --parchment:  #ede6db   (deeper cream)
     --bark:       #3d2e1e   (dark brown text)
     --amber:      #c4923a   (warm accent)
     --ember:      #d4734e   (secondary accent)
   Font:
     Display: Fraunces (variable, optical size)
     Body: Source Sans 3
   ============================================================ */

:root {
  --forest: #1b3a2d;
  --forest-mid: #2a5c45;
  --sage: #6b8f71;
  --cream: #f6f1ea;
  --parchment: #ede6db;
  --bark: #3d2e1e;
  --amber: #c4923a;
  --ember: #d4734e;
  --white: #fdfcfa;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Source Sans 3', 'Segoe UI', sans-serif;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;
  --space-2xl: 10rem;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;

  --header-height: 72px;
}

/* ---- RESET & BASE ---- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.7;
  color: var(--bark);
  background-color: var(--cream);
  overflow-x: hidden;
}

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

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

/* ---- UTILITY ---- */
.content-width {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

/* ---- ANIMATIONS ---- */
[data-animate] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.23, 1, 0.32, 1),
              transform 0.7s cubic-bezier(0.23, 1, 0.32, 1);
}

[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

[data-delay="1"] { transition-delay: 0.1s; }
[data-delay="2"] { transition-delay: 0.2s; }
[data-delay="3"] { transition-delay: 0.3s; }
[data-delay="4"] { transition-delay: 0.4s; }
[data-delay="5"] { transition-delay: 0.5s; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  transition: background 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
}

.site-header.is-scrolled {
  background: rgba(246, 241, 234, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(27, 58, 45, 0.08);
}

/* Over dark hero: light text; flip to dark when scrolled */
.site-header .brand-icon,
.site-header .brand-text,
.site-header .nav-link,
.site-header .hamburger span {
  transition: color 0.4s ease, background 0.4s ease;
}

.site-header:not(.is-scrolled) .brand-icon {
  color: var(--cream);
}

.site-header:not(.is-scrolled) .brand-text {
  color: var(--cream);
}

.site-header:not(.is-scrolled) .nav-link {
  color: rgba(246, 241, 234, 0.8);
}

.site-header:not(.is-scrolled) .nav-link:hover,
.site-header:not(.is-scrolled) .nav-link.is-active {
  background: rgba(246, 241, 234, 0.12);
  color: var(--cream);
}

.site-header:not(.is-scrolled) .hamburger span {
  background: var(--cream);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-md);
  height: var(--header-height);
}

.site-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 101;
  margin-right: auto;
}

.brand-icon {
  width: 32px;
  height: 32px;
  color: var(--forest);
}

.brand-text {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--forest);
  letter-spacing: -0.01em;
  font-variation-settings: "opsz" 24;
}

.brand-text strong {
  font-weight: 700;
}

/* Navigation */
.nav-list {
  display: flex;
  list-style: none;
  gap: 0.25rem;
}

.nav-link {
  display: block;
  padding: 0.5rem 0.875rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--bark);
  border-radius: var(--radius-sm);
  transition: background 0.2s ease, color 0.2s ease;
  letter-spacing: 0.01em;
}

.nav-link:hover,
.nav-link.is-active {
  background: rgba(27, 58, 45, 0.07);
  color: var(--forest);
}

/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 101;
}

.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 24px;
}

.hamburger span {
  display: block;
  height: 2px;
  background: var(--bark);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle[aria-expanded="true"] .hamburger span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .hamburger span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .hamburger span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--forest);
  color: var(--cream);
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 80%, rgba(196, 146, 58, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(42, 92, 69, 0.4) 0%, transparent 60%),
    radial-gradient(ellipse 100% 100% at 50% 50%, rgba(27, 58, 45, 0) 40%, rgba(0, 0, 0, 0.3) 100%);
}

.hero-grain {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.5'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 128px 128px;
}

.hero-topo {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  color: var(--cream);
}

.hero-content {
  position: relative;
  text-align: center;
  padding: var(--space-2xl) var(--space-md);
  max-width: 720px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid rgba(246, 241, 234, 0.2);
  border-radius: 100px;
  margin-bottom: var(--space-lg);
  color: rgba(246, 241, 234, 0.7);
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-variation-settings: "opsz" 144;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-sm);
}

.hero-title-line {
  display: block;
  font-size: clamp(3rem, 8vw, 6.5rem);
}

.hero-title-accent {
  color: var(--amber);
  font-style: italic;
  font-weight: 400;
}

.hero-motto {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-style: italic;
  font-weight: 300;
  color: rgba(246, 241, 234, 0.5);
  margin-bottom: var(--space-md);
  font-variation-settings: "opsz" 24;
}

.hero-description {
  font-size: 1.1rem;
  line-height: 1.7;
  color: rgba(246, 241, 234, 0.7);
  max-width: 520px;
  margin: 0 auto var(--space-lg);
}

.hero-actions {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll-hint {
  position: absolute;
  bottom: var(--space-md);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(246, 241, 234, 0.3);
  animation: gentle-bounce 3s ease-in-out infinite;
}

@keyframes gentle-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.75rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  letter-spacing: 0.01em;
}

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

.btn-primary:hover {
  background: #b3832f;
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(196, 146, 58, 0.3);
}

.btn-outline {
  background: transparent;
  border: 1.5px solid rgba(246, 241, 234, 0.3);
  color: var(--cream);
}

.btn-outline:hover {
  border-color: rgba(246, 241, 234, 0.6);
  background: rgba(246, 241, 234, 0.05);
}

.btn-light {
  background: var(--white);
  color: var(--forest);
}

.btn-light:hover {
  background: var(--cream);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(253, 252, 250, 0.3);
}

.btn-outline-light {
  border-color: rgba(253, 252, 250, 0.3);
  color: var(--white);
}

.btn-outline-light:hover {
  border-color: rgba(253, 252, 250, 0.6);
  background: rgba(253, 252, 250, 0.08);
}

/* ============================================================
   SECTIONS — GENERAL
   ============================================================ */
.section {
  padding: var(--space-2xl) 0;
}

.section-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: var(--space-sm);
}

.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-variation-settings: "opsz" 72;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--forest);
  margin-bottom: var(--space-sm);
}

.section-text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(61, 46, 30, 0.7);
  max-width: 560px;
}

.section-text--centered {
  margin: 0 auto;
  text-align: center;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.section-cta {
  text-align: center;
  margin-top: var(--space-lg);
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: var(--space-md);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--forest-mid);
  transition: gap 0.2s ease;
}

.link-arrow:hover {
  gap: 0.75rem;
}

.visual-card {
  background: var(--forest);
  color: var(--cream);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  justify-content: center;
  max-width: 360px;
  margin-left: auto;
}

.visual-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 70%, rgba(196, 146, 58, 0.15) 0%, transparent 50%);
  pointer-events: none;
}

.visual-card-icon {
  margin-bottom: var(--space-md);
  opacity: 0.5;
}

.visual-card-year {
  font-family: var(--font-display);
  font-size: 4.5rem;
  font-weight: 300;
  font-variation-settings: "opsz" 144;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--amber);
  margin-bottom: var(--space-xs);
}

.visual-card-label {
  font-size: 0.85rem;
  line-height: 1.5;
  color: rgba(246, 241, 234, 0.6);
}

/* ============================================================
   HEIMSTUNDEN / STUFEN GRID
   ============================================================ */
.section-heimstunden {
  background: var(--white);
}

.stufen-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-sm);
}

.stufe-card {
  background: var(--cream);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stufe-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(27, 58, 45, 0.08);
}

.stufe-color {
  height: 4px;
  background: hsl(var(--stufe-hue), 45%, 45%);
}

.stufe-content {
  padding: var(--space-md);
}

.stufe-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  font-variation-settings: "opsz" 24;
  color: hsl(var(--stufe-hue), 42%, 40%);
  margin-bottom: 0.25rem;
}

.stufe-age {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--sage);
  margin-bottom: var(--space-sm);
}

.stufe-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(61, 46, 30, 0.65);
}

/* ============================================================
   FACILITIES
   ============================================================ */
.facilities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

.facility-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid rgba(27, 58, 45, 0.08);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.facility-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(27, 58, 45, 0.06);
  border-color: rgba(27, 58, 45, 0.15);
}

.facility-icon {
  color: var(--forest-mid);
  margin-bottom: var(--space-md);
}

.facility-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  font-variation-settings: "opsz" 36;
  color: var(--forest);
  margin-bottom: var(--space-xs);
}

.facility-desc {
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(61, 46, 30, 0.65);
  flex: 1;
}

.card-arrow {
  display: inline-block;
  margin-top: var(--space-md);
  font-size: 1.25rem;
  color: var(--amber);
  transition: transform 0.2s ease;
}

.facility-card:hover .card-arrow {
  transform: translateX(4px);
}

/* ============================================================
   CTA BLOCK
   ============================================================ */
.section-cta-block {
  padding: var(--space-xl) 0 var(--space-2xl);
}

.cta-block {
  background: var(--forest);
  color: var(--cream);
  border-radius: var(--radius-lg);
  padding: var(--space-xl) var(--space-lg);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-block::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 80% at 80% 100%, rgba(196, 146, 58, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse 60% 60% at 10% 0%, rgba(42, 92, 69, 0.3) 0%, transparent 60%);
  pointer-events: none;
}

.cta-block > * {
  position: relative;
}

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 400;
  font-variation-settings: "opsz" 72;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-xs);
}

.cta-text {
  font-size: 1.05rem;
  color: rgba(246, 241, 234, 0.65);
  margin-bottom: var(--space-md);
}

.cta-actions {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   CARD GRID (for list pages)
   ============================================================ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid rgba(27, 58, 45, 0.08);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(27, 58, 45, 0.06);
  border-color: rgba(27, 58, 45, 0.15);
}

.card-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  font-variation-settings: "opsz" 24;
  color: var(--forest);
  margin-bottom: 0.25rem;
}

.card-subtitle {
  font-size: 0.9rem;
  color: rgba(61, 46, 30, 0.6);
  flex: 1;
}

.card:hover .card-arrow {
  transform: translateX(4px);
}

/* ============================================================
   PAGE — SINGLE / LIST HERO
   ============================================================ */
.page-hero {
  background: var(--forest);
  color: var(--cream);
  padding: calc(var(--header-height) + var(--space-xl)) var(--space-md) var(--space-xl);
  text-align: center;
}

.page-hero-inner {
  max-width: 640px;
  margin: 0 auto;
}

.page-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-variation-settings: "opsz" 96;
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.page-subtitle {
  font-size: 1.1rem;
  color: rgba(246, 241, 234, 0.6);
  margin-top: var(--space-sm);
}

.page-content {
  padding: var(--space-xl) var(--space-md);
}

.page-content h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-variation-settings: "opsz" 48;
  font-size: 1.75rem;
  color: var(--forest);
  margin-top: var(--space-lg);
  margin-bottom: var(--space-sm);
  letter-spacing: -0.015em;
}

.page-content h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-variation-settings: "opsz" 36;
  font-size: 1.25rem;
  color: var(--forest);
  margin-top: var(--space-md);
  margin-bottom: var(--space-xs);
}

.page-content p {
  margin-bottom: var(--space-sm);
  line-height: 1.8;
  color: rgba(61, 46, 30, 0.8);
}

.page-content ul, .page-content ol {
  margin-bottom: var(--space-sm);
  padding-left: 1.5rem;
}

.page-content li {
  margin-bottom: 0.5rem;
  line-height: 1.7;
  color: rgba(61, 46, 30, 0.8);
}

.page-content a {
  color: var(--forest-mid);
  text-decoration: underline;
  text-decoration-color: rgba(42, 92, 69, 0.3);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.2s ease;
}

.page-content a:hover {
  text-decoration-color: var(--forest-mid);
}

/* Contact grid (used in kontakt page) */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-md);
}

.contact-card {
  background: var(--white);
  border: 1px solid rgba(27, 58, 45, 0.08);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(27, 58, 45, 0.07);
  border-color: rgba(27, 58, 45, 0.15);
}

.contact-card h3 {
  margin-top: 0 !important;
}

/* Leader grid */
.leader-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-md);
}

.leader-card {
  background: var(--white);
  border: 1px solid rgba(27, 58, 45, 0.08);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.leader-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(27, 58, 45, 0.08);
  border-color: rgba(27, 58, 45, 0.15);
}
.leader-card:hover .leader-avatar {
  background: rgba(196, 146, 58, 0.12);
  color: var(--amber);
}

.leader-card .leader-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--parchment);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-sm);
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--forest-mid);
  font-weight: 500;
}

.leader-card h3 {
  margin-top: 0 !important;
  font-size: 1.1rem !important;
}

.leader-card .leader-role {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--sage);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Heimstunden schedule table */
.schedule-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: var(--space-md);
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(27, 58, 45, 0.08);
}

.schedule-table th {
  background: var(--forest);
  color: var(--cream);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.85rem;
  padding: 0.875rem 1.25rem;
  text-align: left;
  letter-spacing: 0.02em;
}

.schedule-table td {
  padding: 0.875rem 1.25rem;
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(27, 58, 45, 0.06);
}

.schedule-table tr:last-child td {
  border-bottom: none;
}

.schedule-table tr:hover td {
  background: rgba(27, 58, 45, 0.02);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--forest);
  color: var(--cream);
  padding: var(--space-xl) 0 var(--space-md);
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: var(--space-lg);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid rgba(246, 241, 234, 0.1);
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-variation-settings: "opsz" 24;
  display: inline-block;
  margin-bottom: var(--space-xs);
}

.footer-brand strong {
  font-weight: 700;
}

.footer-motto {
  font-family: var(--font-display);
  font-style: italic;
  color: rgba(246, 241, 234, 0.4);
  font-size: 0.9rem;
  margin-bottom: var(--space-sm);
}

.footer-address {
  font-size: 0.85rem;
  color: rgba(246, 241, 234, 0.5);
  line-height: 1.6;
}

.footer-heading {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(246, 241, 234, 0.4);
  margin-bottom: var(--space-sm);
  font-variation-settings: "opsz" 14;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  font-size: 0.9rem;
  color: rgba(246, 241, 234, 0.65);
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--cream);
}

.footer-bottom {
  padding-top: var(--space-md);
  text-align: center;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(246, 241, 234, 0.3);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .stufen-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .split-layout {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .visual-card {
    max-width: 100%;
    aspect-ratio: auto;
    margin: 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
}

@media (max-width: 768px) {
  :root {
    --space-xl: 4rem;
    --space-2xl: 6rem;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100dvh;
    background: var(--cream);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
    z-index: 100;
  }

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

  /* Fix: when mobile nav is open, use dark text on cream background
     even when header is in transparent (not-scrolled) mode */
  .site-header:not(.is-scrolled) .site-nav.is-open .nav-link {
    color: var(--bark);
  }

  .site-header:not(.is-scrolled) .site-nav.is-open .nav-link:hover,
  .site-header:not(.is-scrolled) .site-nav.is-open .nav-link.is-active {
    background: rgba(27, 58, 45, 0.07);
    color: var(--forest);
  }

  .nav-list {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }

  .nav-link {
    font-size: 1.25rem;
    padding: 0.75rem 1.5rem;
  }

  .hero-content {
    padding: calc(var(--header-height) + var(--space-lg)) var(--space-sm) var(--space-lg);
  }

  .hero-title-line {
    font-size: clamp(2.5rem, 12vw, 4rem);
  }

  .facilities-grid {
    grid-template-columns: 1fr;
  }

  .cta-block {
    padding: var(--space-lg) var(--space-md);
  }
}

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

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .cta-actions {
    flex-direction: column;
    align-items: center;
  }
}

/* ============================================================
   VENUE PAGES — Huetten & Heime Showcase
   ============================================================ */

/* ── Hero with background image ── */
.venue-hero {
  position: relative;
  min-height: 65vh;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background-size: cover;
  background-position: center 40%;
  background-repeat: no-repeat;
  background-color: var(--forest);
  overflow: hidden;
}

.venue-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom,
      rgba(27, 58, 45, 0.65) 0%,
      rgba(27, 58, 45, 0.25) 30%,
      rgba(27, 58, 45, 0.45) 60%,
      rgba(27, 58, 45, 0.92) 100%);
  pointer-events: none;
}

.venue-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: var(--space-2xl) var(--space-md) var(--space-xl);
  max-width: 720px;
}

.venue-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid rgba(246, 241, 234, 0.25);
  border-radius: 100px;
  margin-bottom: var(--space-md);
  color: rgba(246, 241, 234, 0.75);
  backdrop-filter: blur(8px);
  background: rgba(27, 58, 45, 0.3);
}

.venue-hero-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-variation-settings: "opsz" 96;
  font-size: clamp(2.5rem, 6vw, 4rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--cream);
  margin-bottom: var(--space-xs);
}

.venue-hero-subtitle {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1rem;
  font-style: italic;
  font-weight: 300;
  color: rgba(246, 241, 234, 0.88);
  font-variation-settings: "opsz" 24;
  background: rgba(246, 241, 234, 0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(246, 241, 234, 0.18);
  border-radius: 100px;
  padding: 0.35rem 1.1rem;
  margin-top: 0.5rem;
}

/* ── Intro ── */
.venue-intro {
  padding: var(--space-xl) var(--space-md) var(--space-lg);
  text-align: center;
}

.venue-intro-text {
  font-size: 1.15rem;
  line-height: 1.85;
  color: rgba(61, 46, 30, 0.8);
  max-width: 680px;
  margin: 0 auto;
}

.venue-intro-text strong {
  color: var(--forest);
  font-weight: 600;
}

/* ── Section labels ── */
.venue-section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: var(--space-md);
}

.venue-section-label svg {
  opacity: 0.6;
}

/* ── Features grid ── */
.venue-features {
  padding: 0 var(--space-md) var(--space-xl);
}

.venue-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-sm);
}

.venue-feature {
  background: var(--white);
  border: 1px solid rgba(27, 58, 45, 0.07);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  transition: transform 0.35s cubic-bezier(0.23, 1, 0.32, 1),
              box-shadow 0.35s cubic-bezier(0.23, 1, 0.32, 1),
              border-color 0.35s ease;
}

.venue-feature:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(27, 58, 45, 0.07);
  border-color: rgba(27, 58, 45, 0.14);
}

.venue-feature:nth-child(1) { border-top: 3px solid var(--amber); }
.venue-feature:nth-child(2) { border-top: 3px solid var(--sage); }
.venue-feature:nth-child(3) { border-top: 3px solid var(--forest-mid); }
.venue-feature:nth-child(4) { border-top: 3px solid var(--amber); }

.venue-feature-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(27, 58, 45, 0.06);
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-sm);
  color: var(--forest-mid);
}

.venue-feature-icon svg {
  width: 22px;
  height: 22px;
}

.venue-feature-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  font-variation-settings: "opsz" 24;
  color: var(--forest);
  margin-bottom: 0.375rem;
}

.venue-feature-desc {
  font-size: 0.9rem;
  line-height: 1.65;
  color: rgba(61, 46, 30, 0.65);
}

/* ── Gallery ── */
.venue-gallery {
  padding: 0 var(--space-md) var(--space-xl);
}

.venue-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-sm);
}

.venue-gallery-grid.venue-gallery-single {
  grid-template-columns: 1fr;
  max-width: 780px;
}

.venue-gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--parchment);
  border: 1px solid rgba(27, 58, 45, 0.06);
}

.venue-gallery-item img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.venue-gallery-item:hover img {
  transform: scale(1.03);
}

.venue-gallery-item figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.25rem var(--space-sm) 0.75rem;
  background: linear-gradient(to top, rgba(27, 58, 45, 0.88) 0%, transparent 100%);
  font-size: 0.82rem;
  color: rgba(246, 241, 234, 0.9);
  font-weight: 500;
  letter-spacing: 0.01em;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.venue-gallery-item:hover figcaption {
  opacity: 1;
  transform: translateY(0);
}

/* ── CTA block ── */
.venue-cta {
  padding: 0 var(--space-md) var(--space-xl);
}

.venue-cta-block {
  position: relative;
  background: var(--forest);
  color: var(--cream);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.venue-cta-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 85% 100%, rgba(196, 146, 58, 0.14) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 10% 0%, rgba(42, 92, 69, 0.35) 0%, transparent 60%);
  pointer-events: none;
}

.venue-cta-inner {
  position: relative;
  z-index: 1;
  padding: var(--space-xl) var(--space-lg);
  text-align: center;
}

.venue-cta-block .venue-cta-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 400;
  font-variation-settings: "opsz" 72;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-xs);
  color: var(--cream);
}

.venue-cta-block .venue-cta-text {
  font-size: 1rem;
  color: rgba(246, 241, 234, 0.75);
  max-width: 500px;
  margin: 0 auto var(--space-md);
  line-height: 1.7;
}

.venue-cta-btn {
  font-size: 0.9rem;
  gap: 0.6rem;
}

.venue-cta-btn svg {
  flex-shrink: 0;
}

/* ── Venue list cards (huetten overview) ── */
.venue-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.venue-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid rgba(27, 58, 45, 0.08);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.23, 1, 0.32, 1),
              box-shadow 0.35s cubic-bezier(0.23, 1, 0.32, 1),
              border-color 0.35s ease;
}

.venue-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 50px rgba(27, 58, 45, 0.09);
  border-color: rgba(27, 58, 45, 0.16);
}

.venue-card-image {
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.venue-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.venue-card:hover .venue-card-image img {
  transform: scale(1.05);
}

.venue-card-body {
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.venue-card-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  font-variation-settings: "opsz" 36;
  color: var(--forest);
  margin-bottom: 0.25rem;
}

.venue-card-subtitle {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-style: italic;
  color: var(--sage);
  margin-bottom: var(--space-sm);
  font-variation-settings: "opsz" 18;
}

.venue-card-desc {
  font-size: 0.9rem;
  line-height: 1.65;
  color: rgba(61, 46, 30, 0.6);
  flex: 1;
  margin-bottom: var(--space-sm);
}

.venue-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--forest-mid);
  transition: gap 0.25s ease;
}

.venue-card:hover .venue-card-link {
  gap: 0.65rem;
}

/* ── Venue responsive ── */
@media (max-width: 768px) {
  .venue-hero {
    min-height: 55vh;
  }

  .venue-hero-content {
    padding: var(--space-xl) var(--space-sm) var(--space-lg);
  }

  .venue-features-grid {
    grid-template-columns: 1fr 1fr;
  }

  .venue-gallery-grid {
    grid-template-columns: 1fr;
  }

  .venue-cta-inner {
    padding: var(--space-lg) var(--space-md);
  }
}

@media (max-width: 480px) {
  .venue-hero {
    min-height: 50vh;
  }

  .venue-features-grid {
    grid-template-columns: 1fr;
  }

  .venue-card-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   HUETTEN OVERVIEW — Cinematic Split Hero
   ============================================================ */

/* ── Wrapper ── */
.huetten-overview {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ── Split hero section ── */
.vsh {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--forest);
  padding-top: var(--header-height);
  overflow: hidden;
}

/* Centered title above the panels */
.vsh-label {
  position: relative;
  z-index: 4;
  text-align: center;
  padding: var(--space-lg) var(--space-md) var(--space-md);
  color: var(--cream);
  pointer-events: none;
}

.vsh-label__title {
  font-family: var(--font-display);
  font-weight: 300;
  font-variation-settings: "opsz" 96;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--cream);
}

.vsh-label__sub {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1rem;
  color: rgba(246, 241, 234, 0.45);
  margin-top: 0.375rem;
  font-variation-settings: "opsz" 24;
  font-weight: 300;
}

/* Panels container */
.vsh-panels {
  flex: 1;
  display: flex;
  overflow: hidden;
  min-height: 0;
}

/* Individual panel */
.vsh-panel {
  position: relative;
  flex: 1;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  text-decoration: none;
  transition: flex 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.vsh-panel:hover,
.vsh-panel:focus-visible {
  flex: 1.65;
  outline: none;
}

/* Thin divider between panels */
.vsh-panel + .vsh-panel {
  border-left: 1px solid rgba(246, 241, 234, 0.12);
}

/* Background image layer */
.vsh-panel__img {
  position: absolute;
  inset: 0;
  background-image: var(--panel-bg, none);
  background-size: cover;
  background-position: center 40%;
  background-color: var(--forest-mid);
  transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.vsh-panel:hover .vsh-panel__img,
.vsh-panel:focus-visible .vsh-panel__img {
  transform: scale(1.07);
}

/* Gradient fog / overlay */
.vsh-panel__fog {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(27, 58, 45, 0.18) 0%,
    rgba(27, 58, 45, 0.04) 28%,
    rgba(27, 58, 45, 0.45) 58%,
    rgba(27, 58, 45, 0.97) 100%
  );
  transition: opacity 0.5s ease;
}

/* Text content at panel bottom */
.vsh-panel__body {
  position: relative;
  z-index: 2;
  padding: var(--space-xl) var(--space-lg);
  color: var(--cream);
  width: 100%;
}

/* "01" / "02" counter */
.vsh-panel__counter {
  display: block;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 300;
  font-variation-settings: "opsz" 14;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: var(--space-sm);
}

/* Venue name */
.vsh-panel__name {
  font-family: var(--font-display);
  font-weight: 300;
  font-variation-settings: "opsz" 96;
  font-size: clamp(1.75rem, 3.5vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--cream);
  margin-bottom: 0.4rem;
}

/* Italic subtitle */
.vsh-panel__tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-variation-settings: "opsz" 24;
  font-size: 1.05rem;
  color: rgba(246, 241, 234, 0.6);
  margin-bottom: var(--space-sm);
}

/* Brief intro — revealed on hover */
.vsh-panel__peek {
  font-size: 0.875rem;
  line-height: 1.72;
  color: rgba(246, 241, 234, 0.72);
  max-width: 360px;
  margin-bottom: var(--space-md);
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 0.5s cubic-bezier(0.23, 1, 0.32, 1) 0.06s,
    transform 0.5s cubic-bezier(0.23, 1, 0.32, 1) 0.06s;
}

.vsh-panel:hover .vsh-panel__peek,
.vsh-panel:focus-visible .vsh-panel__peek {
  opacity: 1;
  transform: translateY(0);
}

/* "Entdecken →" CTA — revealed on hover */
.vsh-panel__go {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.45s cubic-bezier(0.23, 1, 0.32, 1) 0.1s,
    transform 0.45s cubic-bezier(0.23, 1, 0.32, 1) 0.1s,
    gap 0.22s ease;
}

.vsh-panel:hover .vsh-panel__go,
.vsh-panel:focus-visible .vsh-panel__go {
  opacity: 1;
  transform: translateY(0);
  gap: 0.7rem;
}

/* Scroll indicator at bottom centre */
.vsh-scroll-hint {
  position: absolute;
  bottom: var(--space-md);
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  color: rgba(246, 241, 234, 0.28);
  pointer-events: none;
  animation: gentle-bounce 3s ease-in-out infinite;
}

/* ── Intro strip below hero ── */
.huetten-intro {
  background: var(--cream);
  border-top: 1px solid rgba(27, 58, 45, 0.08);
  padding: var(--space-xl) 0;
}

.huetten-intro__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-xl);
}

.huetten-intro__text {
  flex: 1;
}

.huetten-intro__text p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(61, 46, 30, 0.8);
  margin-bottom: var(--space-sm);
}

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

.huetten-intro__cta {
  flex-shrink: 0;
}

/* ── Huetten responsive ── */
@media (max-width: 768px) {
  .vsh-panels {
    flex-direction: column;
  }

  .vsh-panel {
    flex: none;
    height: 65vw;
    min-height: 300px;
    max-height: 440px;
  }

  .vsh-panel:hover,
  .vsh-panel:focus-visible {
    flex: none;
  }

  .vsh-panel + .vsh-panel {
    border-left: none;
    border-top: 1px solid rgba(246, 241, 234, 0.12);
  }

  .vsh-panel__fog {
    background: linear-gradient(
      to bottom,
      rgba(27, 58, 45, 0.55) 0%,
      rgba(27, 58, 45, 0.40) 30%,
      rgba(27, 58, 45, 0.55) 60%,
      rgba(27, 58, 45, 0.95) 100%
    );
  }

  .vsh-panel__body {
    padding: var(--space-lg) var(--space-md);
  }

  /* Always show on touch devices */
  .vsh-panel__peek,
  .vsh-panel__go {
    opacity: 1;
    transform: translateY(0);
  }

  .vsh {
    min-height: auto;
  }

  .vsh-label {
    padding: var(--space-md) var(--space-md) var(--space-sm);
  }

  .huetten-intro__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-md);
  }
}

@media (max-width: 480px) {
  .vsh-panel {
    height: 60vw;
    min-height: 260px;
  }

  .vsh-panel__body {
    padding: var(--space-md) var(--space-sm);
  }

  .vsh-panel__name {
    font-size: clamp(1.5rem, 7vw, 2.25rem);
  }
}

/* ============================================================
   VENUE HERO — Animated background layer
   ============================================================ */
@keyframes venue-hero-bg-zoom {
  from { transform: scale(1.06); }
  to   { transform: scale(1); }
}
.venue-hero__bg {
  position: absolute;
  inset: 0;
  background-image: var(--venue-bg-img);
  background-size: cover;
  background-position: center 40%;
  animation: venue-hero-bg-zoom 2s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

/* ============================================================
   TERMINE — Schedule Card Grid
   ============================================================ */
.sched-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-sm);
  margin-top: var(--space-md);
}
.sched-card {
  background: var(--white);
  border: 1px solid rgba(27, 58, 45, 0.08);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.sched-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(27, 58, 45, 0.07);
}
.sched-card__accent {
  height: 4px;
  background: hsl(var(--sched-hue, 145), 42%, 40%);
}
.sched-card__body {
  padding: var(--space-md);
}
.sched-card__stufe {
  font-family: var(--font-display);
  font-weight: 500;
  font-variation-settings: "opsz" 24;
  font-size: 1.05rem;
  color: hsl(var(--sched-hue, 145), 42%, 35%);
  margin-bottom: 0.2rem;
}
.sched-card__day {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--forest-mid);
  margin-bottom: 0.5rem;
}
.sched-card__badges {
  display: flex;
  gap: 0.375rem;
  flex-wrap: wrap;
  margin-top: var(--space-sm);
}
.sched-card__badge {
  display: inline-block;
  padding: 0.2rem 0.65rem;
  font-size: 0.72rem;
  font-weight: 600;
  border-radius: 100px;
  background: rgba(27, 58, 45, 0.06);
  color: var(--forest-mid);
  letter-spacing: 0.02em;
}
@media (max-width: 768px) {
  .sched-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .sched-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   ÜBER UNS — History Timeline
   ============================================================ */
.history-timeline {
  position: relative;
  margin-top: var(--space-lg);
  padding-left: var(--space-lg);
}
.history-timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6rem;
  bottom: 0.6rem;
  width: 2px;
  background: linear-gradient(to bottom, var(--amber), var(--sage), rgba(107, 143, 113, 0.1));
  border-radius: 2px;
}
.history-entry {
  position: relative;
  margin-bottom: var(--space-md);
}
.history-entry::before {
  content: '';
  position: absolute;
  left: calc(-1 * var(--space-lg) - 4px);
  top: 0.45em;
  width: 10px;
  height: 10px;
  background: var(--amber);
  border-radius: 50%;
  border: 2px solid var(--cream);
  box-shadow: 0 0 0 2px var(--amber);
}
.history-entry__year {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--amber);
  text-transform: uppercase;
  margin-bottom: 0.3rem;
  font-variation-settings: "opsz" 14;
}
.history-entry__text {
  font-size: 0.95rem;
  line-height: 1.75;
  color: rgba(61, 46, 30, 0.8);
}

/* ============================================================
   KONTAKT — Address Hero Card
   ============================================================ */
.contact-address-hero {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  background: var(--white);
  border: 1px solid rgba(27, 58, 45, 0.1);
  border-left: 4px solid var(--forest-mid);
  border-radius: var(--radius-md);
  padding: var(--space-md) var(--space-lg);
  margin-bottom: var(--space-lg);
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.contact-address-hero:hover {
  box-shadow: 0 8px 32px rgba(27, 58, 45, 0.08);
  transform: translateY(-2px);
}
.contact-address-hero__icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  background: rgba(27, 58, 45, 0.06);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--forest-mid);
}
.contact-address-hero__content {
  flex: 1;
}
.contact-address-hero__name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  font-variation-settings: "opsz" 24;
  color: var(--forest);
  margin-bottom: 0.2rem;
}
.contact-address-hero__street {
  font-size: 0.9rem;
  color: rgba(61, 46, 30, 0.6);
}
.contact-address-hero__maps {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--forest-mid);
  margin-top: 0.4rem;
  letter-spacing: 0.02em;
  transition: gap 0.2s ease;
}
.contact-address-hero:hover .contact-address-hero__maps {
  gap: 0.65rem;
}
.contact-group--primary .contact-card {
  border-left: 3px solid var(--amber);
}

/* ============================================================
   DATENSCHUTZ — Info Card & TOC
   ============================================================ */
.dsgvo-info-card {
  background: var(--parchment);
  border: 1px solid rgba(27, 58, 45, 0.1);
  border-left: 4px solid var(--amber);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  margin-bottom: var(--space-md);
}
.dsgvo-info-card p,
.dsgvo-info-card address {
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 0.25rem !important;
  color: rgba(61, 46, 30, 0.85);
}
.dsgvo-toc {
  background: var(--white);
  border: 1px solid rgba(27, 58, 45, 0.08);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  margin-bottom: var(--space-lg);
}
.dsgvo-toc__title {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: var(--space-sm);
}
.dsgvo-toc__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.25rem 1rem;
}
.dsgvo-toc__list li {
  margin: 0;
}
.dsgvo-toc__list a {
  font-size: 0.875rem;
  color: var(--forest-mid);
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.2rem 0;
  transition: gap 0.2s ease, color 0.2s ease;
  text-decoration: none;
}
.dsgvo-toc__list a::before {
  content: '→';
  font-size: 0.75rem;
  color: var(--amber);
  flex-shrink: 0;
}
.dsgvo-toc__list a:hover {
  color: var(--forest);
  gap: 0.55rem;
}
@media (max-width: 600px) {
  .dsgvo-toc__list { grid-template-columns: 1fr; }
}

/* ============================================================
   HOME — Hero photo background layer
   ============================================================ */
.hero-photo-bg {
  position: absolute;
  inset: 0;
  background-image: var(--hero-photo);
  background-size: cover;
  background-position: center 30%;
  opacity: 0.12;
  mix-blend-mode: luminosity;
  pointer-events: none;
}

/* ============================================================
   THEME TOGGLE BUTTON
   ============================================================ */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  z-index: 101;
}

.theme-toggle {
  position: relative;
  background: none;
  border: 1px solid rgba(27, 58, 45, 0.12);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  color: var(--bark);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.theme-toggle:hover {
  background: rgba(27, 58, 45, 0.06);
  border-color: rgba(27, 58, 45, 0.2);
}

.theme-toggle__sun,
.theme-toggle__moon {
  position: absolute;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.theme-toggle__moon {
  opacity: 0;
  transform: rotate(-45deg) scale(0.7);
}

/* Over dark hero: light toggle */
.site-header:not(.is-scrolled) .theme-toggle {
  color: rgba(246, 241, 234, 0.8);
  border-color: rgba(246, 241, 234, 0.2);
}

.site-header:not(.is-scrolled) .theme-toggle:hover {
  background: rgba(246, 241, 234, 0.08);
  border-color: rgba(246, 241, 234, 0.35);
}

/* Dark theme: show moon, hide sun */
[data-theme="dark"] .theme-toggle__sun {
  opacity: 0;
  transform: rotate(45deg) scale(0.7);
}

[data-theme="dark"] .theme-toggle__moon {
  opacity: 1;
  transform: rotate(0) scale(1);
}

/* ============================================================
   THEME TRANSITION — only during active toggle
   ============================================================ */
html.theme-transition,
html.theme-transition *,
html.theme-transition *::before,
html.theme-transition *::after {
  transition: background-color 0.35s ease,
              color 0.35s ease,
              border-color 0.35s ease,
              box-shadow 0.35s ease !important;
  transition-delay: 0s !important;
}

/* ============================================================
   DARK MODE — "Forest at Twilight"
   ============================================================
   Warm, atmospheric dark theme that preserves
   the nature-editorial character.
   ============================================================ */
[data-theme="dark"] {
  --cream: #151419;
  --white: #1c1b24;
  --parchment: #21202b;
  --bark: #d5cdc0;
  --sage: #8ab892;
  --amber: #daa850;
}

/* ---- Dark-background sections: restore light text ---- */
/* These sections use --cream as text color on --forest backgrounds.
   Since --cream is now dark, we must override text back to light. */
[data-theme="dark"] .hero,
[data-theme="dark"] .page-hero,
[data-theme="dark"] .cta-block,
[data-theme="dark"] .visual-card,
[data-theme="dark"] .site-footer,
[data-theme="dark"] .vsh,
[data-theme="dark"] .vsh-label,
[data-theme="dark"] .vsh-panel__body,
[data-theme="dark"] .venue-hero-content,
[data-theme="dark"] .venue-cta-block {
  color: #e0d8cc;
}

[data-theme="dark"] .page-title,
[data-theme="dark"] .hero-title,
[data-theme="dark"] .cta-title,
[data-theme="dark"] .venue-hero-title,
[data-theme="dark"] .venue-cta-block .venue-cta-title,
[data-theme="dark"] .vsh-label__title,
[data-theme="dark"] .vsh-panel__name,
[data-theme="dark"] .footer-brand {
  color: #e8e2d8;
}

[data-theme="dark"] .hero-topo {
  color: #e0d8cc;
}

/* ---- Scrolled header ---- */
[data-theme="dark"] .site-header.is-scrolled {
  background: rgba(21, 20, 25, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04);
}

/* ---- Brand (scrolled state) ---- */
[data-theme="dark"] .site-header.is-scrolled .brand-icon,
[data-theme="dark"] .site-header.is-scrolled .brand-text {
  color: #74c096;
}

/* ---- Nav links (scrolled) ---- */
[data-theme="dark"] .nav-link:hover,
[data-theme="dark"] .nav-link.is-active {
  background: rgba(255, 255, 255, 0.06);
  color: #74c096;
}

/* ---- Theme toggle (scrolled, dark mode) ---- */
[data-theme="dark"] .site-header.is-scrolled .theme-toggle {
  color: var(--bark);
  border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .site-header.is-scrolled .theme-toggle:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.18);
}

/* ---- Hamburger (scrolled, dark) ---- */
[data-theme="dark"] .site-header.is-scrolled .hamburger span {
  background: var(--bark);
}

/* ---- Heading colors (forest → brighter green on dark) ---- */
[data-theme="dark"] .section-title,
[data-theme="dark"] .facility-name,
[data-theme="dark"] .card-title,
[data-theme="dark"] .venue-card-title,
[data-theme="dark"] .venue-feature-name,
[data-theme="dark"] .page-content h2,
[data-theme="dark"] .page-content h3,
[data-theme="dark"] .venue-intro-text strong,
[data-theme="dark"] .contact-address-hero__name {
  color: #74c096;
}

/* ---- Muted text (was hardcoded rgba(61,46,30,...)) ---- */
[data-theme="dark"] .section-text,
[data-theme="dark"] .stufe-desc,
[data-theme="dark"] .facility-desc,
[data-theme="dark"] .venue-card-desc,
[data-theme="dark"] .venue-feature-desc,
[data-theme="dark"] .venue-intro-text,
[data-theme="dark"] .page-content p,
[data-theme="dark"] .page-content li,
[data-theme="dark"] .card-subtitle,
[data-theme="dark"] .contact-address-hero__street,
[data-theme="dark"] .huetten-intro__text p,
[data-theme="dark"] .history-entry__text,
[data-theme="dark"] .dsgvo-info-card p,
[data-theme="dark"] .dsgvo-info-card address {
  color: rgba(213, 205, 192, 0.72);
}

/* ---- Link / accent text (was var(--forest-mid)) ---- */
[data-theme="dark"] .link-arrow,
[data-theme="dark"] .page-content a,
[data-theme="dark"] .venue-card-link,
[data-theme="dark"] .contact-address-hero__maps,
[data-theme="dark"] .dsgvo-toc__list a,
[data-theme="dark"] .facility-icon {
  color: #5eaa82;
}

[data-theme="dark"] .page-content a {
  text-decoration-color: rgba(94, 170, 130, 0.3);
}

[data-theme="dark"] .page-content a:hover {
  text-decoration-color: #5eaa82;
}

/* ---- Subtle borders (was hardcoded rgba(27,58,45,0.08)) ---- */
[data-theme="dark"] .facility-card,
[data-theme="dark"] .card,
[data-theme="dark"] .contact-card,
[data-theme="dark"] .leader-card,
[data-theme="dark"] .venue-card,
[data-theme="dark"] .venue-feature,
[data-theme="dark"] .venue-gallery-item,
[data-theme="dark"] .sched-card,
[data-theme="dark"] .schedule-table,
[data-theme="dark"] .contact-address-hero,
[data-theme="dark"] .dsgvo-toc,
[data-theme="dark"] .dsgvo-info-card {
  border-color: rgba(255, 255, 255, 0.06);
}

/* ---- Card hover shadows ---- */
[data-theme="dark"] .facility-card:hover,
[data-theme="dark"] .card:hover,
[data-theme="dark"] .contact-card:hover,
[data-theme="dark"] .leader-card:hover,
[data-theme="dark"] .venue-card:hover,
[data-theme="dark"] .venue-feature:hover,
[data-theme="dark"] .stufe-card:hover,
[data-theme="dark"] .sched-card:hover,
[data-theme="dark"] .contact-address-hero:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.1);
}

/* ---- Icon backgrounds ---- */
[data-theme="dark"] .venue-feature-icon,
[data-theme="dark"] .contact-address-hero__icon {
  background: rgba(130, 204, 162, 0.1);
  color: #74c096;
}

/* ---- Leader avatar ---- */
[data-theme="dark"] .leader-card .leader-avatar {
  background: rgba(130, 204, 162, 0.1);
  color: #74c096;
}

[data-theme="dark"] .leader-card:hover .leader-avatar {
  background: rgba(218, 168, 80, 0.12);
  color: var(--amber);
}

/* ---- Schedule badges ---- */
[data-theme="dark"] .sched-card__badge {
  background: rgba(255, 255, 255, 0.06);
  color: #5eaa82;
}

/* ---- Table ---- */
[data-theme="dark"] .schedule-table td {
  border-bottom-color: rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .schedule-table tr:hover td {
  background: rgba(255, 255, 255, 0.03);
}

/* ---- Huetten intro strip ---- */
[data-theme="dark"] .huetten-intro {
  border-color: rgba(255, 255, 255, 0.05);
}

/* ---- History timeline dots ---- */
[data-theme="dark"] .history-entry::before {
  border-color: #151419;
}

/* ---- Stufe card name color on dark ---- */
[data-theme="dark"] .stufe-name {
  filter: brightness(1.3) saturate(0.85);
}

[data-theme="dark"] .stufe-color {
  filter: brightness(1.2);
}

/* ---- Mobile nav background ---- */
@media (max-width: 768px) {
  [data-theme="dark"] .site-nav {
    background: var(--cream);
  }

  [data-theme="dark"] .nav-toggle[aria-expanded="true"] .hamburger span {
    background: var(--bark);
  }
}

/* ---- Card arrow ---- */
[data-theme="dark"] .card-arrow {
  color: var(--amber);
}

/* ---- Dsgvo info card ---- */
[data-theme="dark"] .dsgvo-info-card {
  background: var(--parchment);
}

/* ---- Page content images ---- */
[data-theme="dark"] .page-content img {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  border-color: rgba(255, 255, 255, 0.06);
}
