/* ============================================================
   LANDGASTHOF SEPPLWIRT — Custom Design System
   Kein Framework, kein Template. Eigenständig.
   ============================================================ */

/* --- CSS Custom Properties --- */
:root {
  --clr-olive: #8CAF2D;
  --clr-olive-warm: #7FA328;
  /* Eine Spur dunkler als das frühere #5E7D1F: Das war auf WEISS mit 4,74:1
     knapp in Ordnung, auf dem hellgrünen Abschnitt (--clr-lightest-green) aber
     nur 4,39:1 — und dort steht es als .section__label und .card__tag.
     Jetzt 4,83:1 auf Hellgrün und 5,21:1 auf Weiß. */
  --clr-olive-text: #597619;
  --clr-dark-green: #48602C;
  --clr-darker-green: #344620;
  --clr-light-green: #E7EFD3;
  --clr-lightest-green: #F4F8EA;
  --clr-accent: #81D742;

  --clr-white: #FFFFFF;
  --clr-offwhite: #FAFAF7;
  --clr-warm-gray: #F5F3EF;
  --clr-text: #3A3A3A;
  --clr-text-light: #6B6B6B;
  --clr-border: #E2DFD9;

  --clr-footer-bg: #2C3E1E;
  --clr-footer-text: #E0EAD2;
  --clr-footer-muted: #B6C0A6;

  --ff-heading: 'Playfair Display', 'Georgia', serif;
  --ff-body: 'Montserrat', -apple-system, 'Segoe UI', sans-serif;

  /* Fluid Spacing — skaliert kontinuierlich zwischen Mobile (~320px) und Desktop (~1280px+) */
  --space-xs: clamp(0.4rem, 0.25rem + 0.5vw, 0.5rem);
  --space-sm: clamp(0.75rem, 0.5rem + 1vw, 1rem);
  --space-md: clamp(1.25rem, 0.75rem + 2vw, 2rem);
  --space-lg: clamp(1.75rem, 1rem + 3vw, 3rem);
  --space-xl: clamp(2.5rem, 1.25rem + 5vw, 5rem);
  --space-2xl: clamp(4rem, 2rem + 8vw, 8rem);

  --container-max: 1200px;
  --container-narrow: 900px;
  --nav-height: 80px;
  --nav-height-scrolled: 64px;

  --transition-fast: 0.2s ease;
  --transition-smooth: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);

  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
  --shadow-card: 0 2px 16px rgba(72,96,44,0.08);

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
}


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

html {
  /* scroll-behavior: smooth bewusst entfernt — bricht programmatisches Scroll-Positionieren
     (Lightbox/Anchor); Smooth-Scroll macht main.js explizit per scrollIntoView. */
  scroll-padding-top: var(--nav-height);
}

body {
  font-family: var(--ff-body);
  color: var(--clr-text);
  background-color: var(--clr-offwhite);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--clr-olive-text); text-decoration: none; transition: color var(--transition-fast); }
a:hover { color: var(--clr-dark-green); }
ul, ol { list-style: none; }

/* --- Accessibility: Skip-Link + Tastatur-Fokus --- */
.skip-link {
  position: absolute;
  top: -120px;
  left: 0.5rem;
  z-index: 2000;
  background: var(--clr-dark-green);
  color: var(--clr-white);
  padding: 0.75rem 1.25rem;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-weight: 600;
  transition: top var(--transition-fast);
}
.skip-link:focus { top: 0; color: var(--clr-white); }

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible,
[tabindex="0"]:focus-visible {
  outline: 2px solid var(--clr-olive-text);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

/* Programmatisch fokussiertes Skip-Link-Ziel (<main tabindex="-1">) ohne Rahmen */
main:focus, [tabindex="-1"]:focus { outline: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--ff-heading);
  color: var(--clr-dark-green);
  line-height: 1.25;
  font-weight: 700;
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.75rem); }
h4 { font-size: 1.25rem; }
p { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }
address { font-style: normal; }


/* --- Layout --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.container--narrow { max-width: var(--container-narrow); }

.section { padding: var(--space-xl) 0; }
.section--green { background-color: var(--clr-lightest-green); }
.section--warm { background-color: var(--clr-warm-gray); }
.section--dark {
  background-color: var(--clr-darker-green);
  color: var(--clr-light-green);
}
.section--dark h2, .section--dark h3, .section--dark h4 { color: var(--clr-white); }

.text-center { text-align: center; }

/* Section header elements */
.section__label {
  display: inline-block;
  font-family: var(--ff-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--clr-olive-text);
  margin-bottom: 0.75rem;
}

.section__title { margin-bottom: 1rem; }

.section__text {
  color: var(--clr-text-light);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: var(--space-sm);
}

.section__header { margin-bottom: var(--space-lg); }
.section__header--center { text-align: center; }
.section__header--center .section__subtitle {
  max-width: 640px;
  margin: 0 auto;
}

.section__subtitle {
  font-family: var(--ff-body);
  font-size: 1.1rem;
  color: var(--clr-text-light);
  line-height: 1.7;
  margin-top: 0.25rem;
}

.section__actions { margin-top: var(--space-md); }
.section__actions--center { text-align: center; }


/* --- Section header aliases (dash-separated naming used on some pages) --- */
.section-label {
  display: inline-block;
  font-family: var(--ff-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--clr-olive-text);
  margin-bottom: 0.75rem;
}

.section-title {
  margin-bottom: 1.25rem;
}

.section-subtitle {
  font-family: var(--ff-body);
  font-size: 1.1rem;
  color: var(--clr-text-light);
  line-height: 1.7;
  max-width: 640px;
  margin-top: 0.25rem;
}

.section-header {
  margin-bottom: var(--space-lg);  /* 3rem */
}

.section-header.text-center {
  text-align: center;
}

.section-header.text-center .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}


/* --- Grid --- */
.grid { display: grid; gap: var(--space-md); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--auto { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }


/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-family: var(--ff-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-smooth);
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
}

/* Knopffläche in Dunkelgrün statt Olivgrün: Weiß auf --clr-olive ergibt nur
   2,53:1, gefordert sind 4,5:1 — auf --clr-dark-green sind es 7,04:1. Das
   Olivgrün bleibt die Leitfarbe der Seite (Ränder, Icons, Flächen ohne weiße
   Schrift), es taugt nur nicht als Untergrund für weißen Text. */
.btn--primary {
  background-color: var(--clr-dark-green);
  color: var(--clr-white);
  border-color: var(--clr-dark-green);
}
.btn--primary:hover {
  background-color: var(--clr-darker-green);
  border-color: var(--clr-darker-green);
  color: var(--clr-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--outline {
  background: transparent;
  color: var(--clr-olive-text);
  border-color: var(--clr-olive);
}
.btn--outline:hover {
  background-color: var(--clr-dark-green);
  border-color: var(--clr-dark-green);
  color: var(--clr-white);
  transform: translateY(-2px);
}

.btn--outline-white {
  color: var(--clr-white);
  border-color: rgba(255,255,255,0.5);
}
.btn--outline-white:hover {
  background: var(--clr-white);
  color: var(--clr-dark-green);
  border-color: var(--clr-white);
}

.btn--white {
  background: var(--clr-white);
  color: var(--clr-dark-green);
  border-color: var(--clr-white);
}
.btn--white:hover {
  background: var(--clr-light-green);
  border-color: var(--clr-light-green);
  color: var(--clr-dark-green);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--sm { padding: 0.625rem 1.25rem; font-size: 0.85rem; }
.btn--lg { padding: 1rem 2.5rem; font-size: 1rem; }


/* ============================================================
   TOPBAR
   ============================================================ */
.topbar {
  background-color: var(--clr-darker-green);
  color: var(--clr-footer-text);
  font-size: 0.85rem;
  padding: 0.5rem 0;
}

.topbar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.topbar__contact {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.topbar__contact a,
.topbar__item {
  color: var(--clr-footer-text);
  font-size: 0.85rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: color var(--transition-fast);
}

.topbar__contact a:hover,
.topbar__item:hover { color: var(--clr-accent); }

.topbar__contact i,
.topbar__item i { color: var(--clr-accent); font-size: 0.95rem; }

.topbar__social {
  display: flex;
  gap: 1rem;
}

.topbar__social a,
.topbar__social-link {
  color: var(--clr-footer-text);
  font-size: 1rem;
  transition: color var(--transition-fast);
}

.topbar__social a:hover,
.topbar__social-link:hover { color: var(--clr-accent); }


/* ============================================================
   HEADER / NAVIGATION
   ============================================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--clr-white);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-smooth);
}

.header--scrolled {
  box-shadow: var(--shadow-md);
}

.header--scrolled .header__inner {
  height: var(--nav-height-scrolled);
}

.header--scrolled .header__logo img {
  height: 44px;
}

.header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: var(--nav-height);
  transition: height var(--transition-smooth);
}

.header__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.header__logo img {
  height: 56px;
  width: auto;
  transition: height var(--transition-smooth);
}

/* Nav inside header */
.nav {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 0;
}

.nav__item {
  position: relative;
}

.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem 0.85rem;
  font-family: var(--ff-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--clr-text);
  letter-spacing: 0.02em;
  transition: color var(--transition-fast);
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: none;
  position: relative;
  white-space: nowrap;
}

.nav__link:hover,
.nav__item--active > .nav__link {
  color: var(--clr-olive-text);
}

/* Underline on hover (non-dropdown, non-button links) */
a.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0.85rem;
  right: 0.85rem;
  height: 2px;
  background: var(--clr-olive);
  transform: scaleX(0);
  transition: transform var(--transition-smooth);
}

a.nav__link:hover::after,
.nav__item--active > a.nav__link::after {
  transform: scaleX(1);
}

/* Caret icon */
.nav__caret {
  font-size: 0.7rem;
  transition: transform var(--transition-fast);
}

/* Dropdown menu */
.nav__dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--clr-white);
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-md);
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.25s ease;
  z-index: 100;
}

.nav__item--dropdown:hover .nav__dropdown,
.nav__item--dropdown.open .nav__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav__dropdown-link {
  display: block;
  padding: 0.6rem 1.25rem;
  font-size: 0.85rem;
  color: var(--clr-text);
  transition: all var(--transition-fast);
  text-decoration: none;
}

.nav__dropdown-link:hover {
  background: var(--clr-lightest-green);
  color: var(--clr-olive-text);
}

/* Nav CTA button */
.nav__cta {
  margin-left: var(--space-xs);
}

/* Mobile burger */
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 10;
}

.nav__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--clr-text);
  transition: all var(--transition-fast);
  border-radius: 1px;
}

.nav__burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav__burger.active span:nth-child(2) {
  opacity: 0;
}
.nav__burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}


/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  min-height: 85vh; min-height: 85dvh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero--full { min-height: 67vh; min-height: 67dvh; }
.hero--medium { min-height: 50vh; min-height: 50dvh; }
.hero--small { min-height: 35vh; min-height: 35dvh; }

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Hero-Slideshow — übernimmt die Taktung der Bestands-Site:
   4 s Standzeit, 2 s Überblendung, Endlosschleife, weiches Fade.
   Bei 3 Bildern ergibt das 3 × (4 + 2) = 18 s pro Runde; jedes Bild startet
   6 s nach dem vorigen, sodass Aus- und Einblenden exakt überlappen.

   Reines CSS, kein JS. Die Bilder kommen aus drei Wirtino-Slots
   (index.hero, index.hero-2, index.hero-3) — der Wirt tauscht jedes
   einzeln im Admin, Fokuspunkt inklusive. */
.hero__bg--slider img {
  position: absolute;
  inset: 0;
  opacity: 0;
  animation: hero-slideshow 18s linear infinite;
}

/* Das ERSTE Bild startet sichtbar — es ist das LCP-Element der Startseite.
   Vorher lief es über dieselbe Kurve wie die anderen: von opacity 0 aus über
   2 s eingeblendet. Der Browser meldet den „größten Inhalt" aber erst, wenn er
   wirklich sichtbar ist, und unter Mobil-Drosselung wurde daraus ein LCP von
   10,8 s bei 6,9 s reiner Render-Verzögerung — obwohl das Bild längst geladen
   war. Eigene Kurve statt gemeinsamer: sofort da, gleiche Taktung beim Rest. */
.hero__bg--slider img:nth-of-type(1) {
  opacity: 1;
  animation-name: hero-slideshow-first;
}
.hero__bg--slider img:nth-of-type(2) { animation-delay: 6s; }
.hero__bg--slider img:nth-of-type(3) { animation-delay: 12s; }

@keyframes hero-slideshow {
  0%     { opacity: 0; }
  11.11% { opacity: 1; }   /* 2 s eingeblendet */
  33.33% { opacity: 1; }   /* 4 s Standzeit */
  44.44% { opacity: 0; }   /* 2 s ausgeblendet */
  100%   { opacity: 0; }
}

/* Wie oben, nur um 6 s vorgezogen: sichtbar ab Sekunde 0, Ausblenden ab 6 s,
   Wiederkehr am Rundenende — dort überlappt es mit dem Ausblenden von Bild 3. */
@keyframes hero-slideshow-first {
  0%     { opacity: 1; }
  33.33% { opacity: 1; }   /* 6 s sichtbar */
  44.44% { opacity: 0; }   /* 2 s ausgeblendet */
  88.89% { opacity: 0; }
  100%   { opacity: 1; }   /* 2 s eingeblendet, schließt die Runde */
}

/* Ohne Bewegungswunsch bleibt das erste Bild stehen — ein Hero, der
   von selbst wechselt, ist genau das, was hier stören würde. */
@media (prefers-reduced-motion: reduce) {
  .hero__bg--slider img { animation: none; opacity: 0; }
  .hero__bg--slider img:nth-of-type(1) { opacity: 1; }
}

.hero__overlay {
  position: absolute;
  inset: 0;
  /* Warm-dunkler Tint (statt grün) — bewahrt Speisen- und Hautfarben */
  background: linear-gradient(
    to top,
    rgba(32, 22, 10, 0.92) 0%,
    rgba(32, 22, 10, 0.55) 40%,
    rgba(32, 22, 10, 0.15) 100%
  );
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  /* Top via --space-xl (fluid), Bottom mit höherem Mindestabstand zum Wave-Übergang */
  padding: var(--space-xl) var(--space-md) clamp(5rem, 3rem + 5vw, 8.5rem);
  color: var(--clr-white);
  max-width: 700px;
}

.hero__label {
  display: inline-block;
  font-family: var(--ff-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--clr-accent);
  margin-bottom: var(--space-sm);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.45);
}

.hero__title {
  color: var(--clr-white);
  font-size: clamp(2.5rem, 6vw, 4rem);
  line-height: 1.1;
  font-weight: 800;
  margin-bottom: var(--space-sm);
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.5);
}

.hero__subtitle {
  font-size: clamp(1rem, 0.85rem + 0.6vw, 1.15rem);
  line-height: 1.7;
  font-weight: 500;
  color: rgba(255,255,255,0.92);
  margin-bottom: var(--space-md);
  max-width: 550px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Pill badge on hero */
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 100px;
  padding: 0.5rem 1.25rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--clr-white);
  margin-bottom: var(--space-sm);
}

/* Wave SVG at bottom of hero */
.hero__wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  z-index: 3;
  line-height: 0;
}

.hero__wave svg {
  width: 100%;
  height: 80px;
}


/* ============================================================
   PAGE HEADER (Unterseiten ohne Hero-Bild)
   ============================================================ */
.page-header {
  position: relative;
  padding: var(--space-xl) 0 var(--space-lg);
  background: var(--clr-lightest-green);
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(140,175,45,0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.page-header__breadcrumb {
  font-size: 0.85rem;
  color: var(--clr-text-light);
  margin-bottom: var(--space-sm);
}

.page-header__breadcrumb a { color: var(--clr-text-light); }
.page-header__breadcrumb a:hover { color: var(--clr-olive-text); }
.page-header__breadcrumb span { margin: 0 0.5rem; opacity: 0.5; }


/* ============================================================
   SPLIT SECTION (Bild + Text)
   ============================================================ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: stretch;
}

.split--reverse { direction: rtl; }
.split--reverse > * { direction: ltr; }

.split__image,
.split__media {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  min-height: 380px;
}

.split__image img,
.split__media img,
.split__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split__image-badge {
  position: absolute;
  bottom: var(--space-md);
  left: var(--space-md);
    /* Dunkelgrün statt Oliv: trägt weiße Schrift (7,04:1 statt 2,53:1). */
  background: var(--clr-dark-green);
  color: var(--clr-white);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-md);
  text-align: center;
  line-height: 1.2;
  box-shadow: var(--shadow-md);
}

.split__image-badge-number {
  display: block;
  font-family: var(--ff-heading);
  font-size: 1.75rem;
  font-weight: 700;
}

.split__image-badge-text {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.split__content { padding: var(--space-md) 0; }
.split__content .section-label,
.split__content .section__label { margin-bottom: 0.75rem; }
.split__content h2 { margin-bottom: 1rem; }
.split__content h3 { margin-bottom: 0.75rem; }
.split__content p { margin-bottom: 1rem; }
.split__content p:last-child { margin-bottom: 0; }
/* Mindestabstand vor Buttons im Split-Content — egal welches Element davor steht
   (Paragraph, Liste, Feature-List, Stat-Cards etc.) */
.split__content > * + .btn,
.split__content > * + a.btn { margin-top: var(--space-md); }

/* Feature pills inside split */
.split__features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: var(--space-sm) 0;
}

.split__feature {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--clr-lightest-green);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--clr-dark-green);
}

.split__feature-icon {
  color: var(--clr-olive-text);
}


/* ============================================================
   FEATURE CARDS (Highlights Grid)
   ============================================================ */
.feature-card {
  text-align: center;
  padding: var(--space-md);
  border-radius: var(--radius-lg);
  transition: all var(--transition-smooth);
}

.feature-card:hover {
  background: var(--clr-white);
  box-shadow: var(--shadow-card);
  transform: translateY(-4px);
}

.feature-card__icon-wrap {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--clr-white);
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-smooth);
}

.section--green .feature-card__icon-wrap {
  background: var(--clr-white);
}

.feature-card:hover .feature-card__icon-wrap {
  background: var(--clr-olive);
}

.feature-card__icon {
  font-size: 1.5rem;
  color: var(--clr-olive-text);
  transition: color var(--transition-smooth);
}

.feature-card:hover .feature-card__icon {
  color: var(--clr-white);
}

.feature-card__title {
  font-family: var(--ff-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--clr-dark-green);
  margin-bottom: 0.5rem;
}

.feature-card__text {
  font-size: 0.85rem;
  color: var(--clr-text-light);
  line-height: 1.5;
}


/* ============================================================
   CARDS (generic)
   ============================================================ */
.card {
  background: var(--clr-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-smooth);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card__image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.card:hover .card__image img { transform: scale(1.05); }

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

.card__tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clr-olive-text);
  background: var(--clr-lightest-green);
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  margin-bottom: 0.75rem;
}

.card__title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.card__text {
  color: var(--clr-text-light);
  font-size: 0.95rem;
  line-height: 1.6;
}


/* ============================================================
   EVENT CARDS
   ============================================================ */
.event-card {
  display: flex;
  background: var(--clr-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-smooth);
}

.event-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.event-card__date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 90px;
  padding: var(--space-sm);
    /* Dunkelgrün statt Oliv: trägt weiße Schrift (7,04:1 statt 2,53:1). */
  background: var(--clr-dark-green);
  color: var(--clr-white);
  text-align: center;
  gap: 0.15rem;
}

.event-card__day {
  font-family: var(--ff-heading);
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.05em;
}

.event-card__day-large {
  font-family: var(--ff-heading);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.event-card__month {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.event-card__sep {
  font-size: 0.8rem;
  /* 0.7 ergab auf dem (jetzt dunkelgrünen) Datumsblock nur 4,4:1 — knapp unter
     der Schwelle. 0.85 bringt rund 5,9:1 und bleibt optisch zurückhaltend. */
  opacity: 0.85;
}

/* Bild aus Wirtino — steht zwischen Datumsspalte und Text.
   Wird von js/events.js nur eingehängt, wenn der Event ein Bild hat;
   fällt das Bild aus (tote URL), entfernt das Skript den ganzen Block
   wieder, damit keine kaputte Fläche stehen bleibt. */
.event-card__media {
  flex: 0 0 160px;
  align-self: stretch;
  overflow: hidden;
  background: var(--clr-light-green);
}

.event-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-card__body {
  padding: 1.25rem var(--space-md);
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
  gap: 0.4rem;
}

.event-card__body .card__tag {
  align-self: flex-start;
}

.event-card__title {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.event-card__meta {
  font-size: 0.85rem;
  color: var(--clr-text-light);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.event-card__footer {
  display: flex;
  align-items: center;
  padding: 0 var(--space-sm);
}

.event-card__link {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--clr-olive-text);
  display: flex;
  align-items: center;
  gap: 0.3rem;
  white-space: nowrap;
}

.event-card__link:hover {
  color: var(--clr-dark-green);
}


/* ============================================================
   360° TOUR CARDS
   ============================================================ */
.tour-card {
  background: var(--clr-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-smooth);
}

.tour-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.tour-card__iframe-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 66.67%; /* 3:2 aspect ratio */
  background: var(--clr-light-green);
  overflow: hidden;
}

.tour-card__iframe-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.tour-card__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--clr-light-green);
  color: var(--clr-dark-green);
  font-family: var(--ff-body);
  font-size: 0.9rem;
  font-weight: 600;
  gap: 0.25rem;
  pointer-events: none;
}

.tour-card__placeholder small {
  font-weight: 400;
  font-size: 0.8rem;
  color: var(--clr-text-light);
}

/* Hide placeholder when iframe has real src */
.tour-card__iframe-wrap iframe:not([src="about:blank"]) + .tour-card__placeholder,
.tour-full__iframe-wrap iframe:not([src="about:blank"]) + .tour-card__placeholder {
  display: none;
}

.tour-card__title {
  font-family: var(--ff-heading);
  font-size: 1.1rem;
  color: var(--clr-dark-green);
  padding: 1rem 1.25rem 0.25rem;
}

.tour-card__text {
  font-size: 0.85rem;
  color: var(--clr-text-light);
  padding: 0 1.25rem 1.25rem;
  line-height: 1.5;
}

/* Tour Full (detail page) */
.tour-full {
  margin-bottom: var(--space-lg);
}

.tour-full__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-md);
  margin-bottom: var(--space-sm);
}

.tour-full__title {
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}

.tour-full__desc {
  font-size: 0.9rem;
  color: var(--clr-text-light);
  line-height: 1.6;
}

.tour-full__iframe-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 50%; /* 2:1 aspect ratio for larger view */
  background: var(--clr-light-green);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.tour-full__iframe-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-lg);
}

/* Größere Variante für die einzige durchgängige Tour (alle Szenen in einem Embed) */
.tour-full__iframe-wrap--large {
  padding-bottom: 0;
  aspect-ratio: 16 / 9;
}
@media (max-width: 768px) {
  .tour-full__iframe-wrap--large { aspect-ratio: 4 / 3; }
}
@media (max-width: 480px) {
  .tour-full__iframe-wrap--large { aspect-ratio: 1 / 1; }
}

/* Legende über dem iframe — listet die enthaltenen Szenen */
.tour-full__legend {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  color: var(--clr-dark-green);
  font-size: 0.95rem;
  font-weight: 500;
}
.tour-full__legend-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.tour-full__legend-item i { color: var(--clr-olive-text); font-size: 1.15rem; }
.tour-full__legend-sep {
  color: var(--clr-text-light);
  font-weight: 400;
}

/* Hinweistext unter dem iframe */
.tour-full__hint {
  margin-top: var(--space-sm);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--clr-text-light);
}
.tour-full__hint i { color: var(--clr-olive-text); font-size: 1rem; }

.btn--sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.8rem;
}


/* ============================================================
   TRADITION MINI-TIMELINE (in split section)
   ============================================================ */
.tradition__timeline {
  display: flex;
  gap: var(--space-md);
  margin: var(--space-md) 0;
  padding: var(--space-sm) 0;
  border-top: 1px solid var(--clr-border);
  border-bottom: 1px solid var(--clr-border);
}

.tradition__milestone {
  display: flex;
  flex-direction: column;
}

.tradition__year {
  font-family: var(--ff-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--clr-olive-text);
  line-height: 1.2;
}

.tradition__event {
  font-size: 0.8rem;
  color: var(--clr-text-light);
}


/* ============================================================
   FULL TIMELINE (Geschichte-Seite)
   ============================================================ */
.timeline {
  position: relative;
  padding: var(--space-md) 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--clr-olive);
  opacity: 0.3;
  transform: translateX(-50%);
}

.timeline__item {
  position: relative;
  display: flex;
  align-items: flex-start;
  margin-bottom: var(--space-lg);
}

.timeline__item--reverse,
.timeline__item:nth-child(even) {
  flex-direction: row-reverse;
  text-align: right;
}

.timeline__dot,
.timeline__dot--today {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 16px;
  background: var(--clr-olive);
  border: 3px solid var(--clr-offwhite);
  border-radius: 50%;
  z-index: 2;
}

.timeline__dot--today {
  width: 22px;
  height: 22px;
  background: var(--clr-accent);
  box-shadow: 0 0 0 4px rgba(129,215,66,0.2);
}

.timeline__content {
  width: 45%;
  padding: var(--space-md);
  background: var(--clr-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  /* Damit das Bild bündig an den Kartenrand darf, obwohl die Karte innen
     gepolstert ist — siehe negative Ränder am Bild. */
  overflow: hidden;
}

/* Historisches Bild in der Chronik-Karte.
   Bewusst über den Container adressiert und nicht über eine Klasse: Der
   Slot-Rebuild vergibt Klassen nur, wenn sie in render-config.json stehen.
   Container-Styling erspart den Servereintrag — genau so ist es dort auch
   für Heroes und Karten-Bilder vermerkt.
   Die Timeline hat Punkte mit und ohne Bild; ohne <img> greift nichts
   davon und die Karte sieht aus wie zuvor. */
.timeline__content > img {
  display: block;
  width: calc(100% + 2 * var(--space-md));
  /* Ohne dieses max-width bliebe das globale `img { max-width: 100% }` aus dem
     Reset stärker als die Breitenangabe — das Bild endete dann an der
     Innenkante der Karte und ragte rechts 48 px zu kurz. */
  max-width: none;
  margin: calc(-1 * var(--space-md)) calc(-1 * var(--space-md)) var(--space-sm);
  height: 200px;
  object-fit: cover;
}

.timeline__year,
.timeline__year--today {
  font-family: var(--ff-heading);
  font-size: 1.75rem;
  color: var(--clr-olive-text);
  margin-bottom: 0.5rem;
}

.timeline__year--today {
  color: var(--clr-accent);
}

.timeline__text {
  font-size: 0.95rem;
  color: var(--clr-text-light);
  line-height: 1.6;
}


/* ============================================================
   QUOTE BLOCK
   ============================================================ */
.quote-block,
.quote-section {
  position: relative;
  padding: var(--space-lg);
  text-align: center;
}

.quote-block__text,
.quote-section__text {
  font-family: var(--ff-heading);
  font-size: clamp(1.3rem, 3vw, 2rem);
  color: var(--clr-dark-green);
  font-style: italic;
  line-height: 1.5;
  max-width: 700px;
  margin: 0 auto var(--space-sm);
}

.quote-block__text::before,
.quote-section__text::before {
  content: '\201E';
  display: block;
  font-size: 4rem;
  color: var(--clr-olive-text);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: -0.5rem;
}

.quote-block__author,
.quote-section__author {
  font-family: var(--ff-body);
  font-size: 0.9rem;
  color: var(--clr-text-light);
  font-weight: 500;
}


/* ============================================================
   INFO BOX (Öffnungszeiten, Kontakt etc.)
   ============================================================ */
.info-box {
  background: var(--clr-white);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  box-shadow: var(--shadow-card);
}

.info-box__title {
  font-family: var(--ff-body);
  font-size: 1rem;
  font-weight: 700;
  color: var(--clr-dark-green);
  margin-bottom: var(--space-sm);
  padding-bottom: var(--space-xs);
  border-bottom: 2px solid var(--clr-lightest-green);
}

.info-box__row {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--clr-lightest-green);
  font-size: 0.9rem;
}

.info-box__row:last-child { border-bottom: none; }

.info-box__label {
  font-weight: 600;
  color: var(--clr-dark-green);
}

.info-box__value {
  color: var(--clr-text-light);
  text-align: right;
}

.info-box__row--closed .info-box__value {
  color: #c0392b;
  font-weight: 500;
}


/* ============================================================
   PRICE HIGHLIGHT
   ============================================================ */
.price-highlight {
  text-align: center;
  padding: var(--space-lg);
  background: linear-gradient(135deg, var(--clr-dark-green) 0%, var(--clr-darker-green) 100%);
  color: var(--clr-white);
  border-radius: var(--radius-xl);
  max-width: 500px;
  margin: 0 auto;
}

.price-highlight__amount {
  font-family: var(--ff-heading);
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.price-highlight__unit {
  font-size: 1rem;
  color: var(--clr-light-green);
  margin-bottom: var(--space-sm);
}

.price-highlight__note {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
}


/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  padding: var(--space-xl) 0;
  text-align: center;
  background: linear-gradient(135deg, var(--clr-olive) 0%, var(--clr-dark-green) 100%);
  color: var(--clr-white);
}

.cta-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  text-align: left;
}

.cta-banner__content { flex: 1; }

.cta-banner__title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--clr-white);
  margin-bottom: var(--space-xs);
}

.cta-banner__text {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.8);
}

.cta-banner__actions {
  display: flex;
  /* Umbruch ist Pflicht, nicht Kür: Die beiden Buttons brauchen nebeneinander
     583 px. Der Banner stapelt schon ab 1024 px, die Buttons brechen aber erst
     ab 480 px um — dazwischen ragten sie beidseitig aus dem Bild (bei 515 px je
     34 px, bei 500 px je 49 px). Betraf u. a. Handys im Querformat.
     Mit flex-wrap löst es sich bei jeder Breite selbst, ohne neuen Breakpoint. */
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  flex-shrink: 0;
}

/* Override for .section--dark.cta-banner */
.section--dark.cta-banner {
  background: linear-gradient(135deg, var(--clr-dark-green) 0%, var(--clr-darker-green) 100%);
}

.cta-banner h2 { color: var(--clr-white); margin-bottom: 1rem; }
.cta-banner p { color: rgba(255,255,255,0.8); }


/* ============================================================
   PARTNERS
   ============================================================ */
.partners {
  padding: var(--space-lg) 0;
  background: var(--clr-white);
  border-top: 1px solid var(--clr-border);
  border-bottom: 1px solid var(--clr-border);
  text-align: center;
}

.partners__label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--clr-text-light);
  margin-bottom: var(--space-sm);
}

/* Laufband: Die Spur trägt die Logos zweimal hintereinander und wird um genau
   die halbe Breite verschoben — dadurch ist der Sprung zurück auf 0 unsichtbar
   und das Band läuft endlos. Die zweite Hälfte ist aria-hidden, damit
   Screenreader die Partner nicht doppelt vorlesen. Reine CSS-Lösung, kein JS. */
.partners__viewport {
  overflow: hidden;
  /* Ränder weich auslaufen lassen, damit Logos nicht hart abgeschnitten wirken */
  -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
}

.partners__list {
  display: flex;
  align-items: center;
  width: max-content;
  animation: partners-scroll 45s linear infinite;
  /* KEIN gap hier — der Abstand sitzt bewusst als margin am Element.
     Mit gap wäre die erste Hälfte um einen halben Zwischenraum kürzer als
     translateX(-50%), und die Schleife würde bei jedem Durchlauf sichtbar
     rucken. Als margin gehört der Abstand zum Element und beide Hälften
     sind exakt gleich lang. */
}

/* Anhalten, solange jemand hinsieht oder sich per Tastatur darin bewegt */
.partners__viewport:hover .partners__list,
.partners__viewport:focus-within .partners__list {
  animation-play-state: paused;
}

@keyframes partners-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.partners__item {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Einheitliche Höhe statt einheitlicher Breite — die Logos haben sehr
     unterschiedliche Seitenverhältnisse (1,2:1 bis 2,6:1). */
  height: 56px;
  margin-right: var(--space-lg);
  opacity: 0.65;
  transition: opacity var(--transition-fast);
}

.partners__item:hover { opacity: 1; }

.partners__item img {
  height: 100%;
  width: auto;
  max-width: 170px;
  object-fit: contain;
}

/* Ohne Bewegungswunsch: Band steht still und bricht wie zuvor um.
   Das Duplikat wird ausgeblendet, sonst stünde alles doppelt da. */
@media (prefers-reduced-motion: reduce) {
  .partners__viewport { -webkit-mask-image: none; mask-image: none; }
  .partners__list {
    animation: none;
    width: auto;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-md) var(--space-lg);
  }
  .partners__item { margin-right: 0; }
  .partners__list [aria-hidden="true"] { display: none; }
}


/* ============================================================
   ACTIVITY LIST
   ============================================================ */
.activity-list {
  display: grid;
  gap: var(--space-xs);
  margin-top: var(--space-sm);
}

.activity-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 0.6rem var(--space-sm);
  background: var(--clr-white);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--clr-olive);
  transition: all var(--transition-fast);
  font-size: 0.95rem;
}

.section--green .activity-item {
  background: var(--clr-white);
}

.activity-item:hover {
  box-shadow: var(--shadow-sm);
  transform: translateX(4px);
}

.activity-item__icon {
  font-size: 1.2rem;
  min-width: 28px;
  text-align: center;
}

.activity-item__name {
  font-weight: 500;
}


/* ============================================================
   GALLERY / LIGHTBOX
   ============================================================ */
.gallery,
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: var(--space-sm);
}

.gallery__item,
.gallery-grid__item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
}

.gallery__item img,
.gallery-grid__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.gallery__item:hover img,
.gallery-grid__item:hover img {
  transform: scale(1.05);
}

/* Lightbox overlay on gallery items */
.gallery-grid__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-fast);
  color: white;
  font-size: 1.5rem;
}

.gallery-grid__item:hover .gallery-grid__overlay {
  opacity: 1;
}

.lightbox,
.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.92);
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
}

.lightbox.active,
.lightbox-overlay.active {
  display: flex;
}

.lightbox__close,
.lightbox-overlay__close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  border: none;
  background: rgba(255,255,255,0.1);
  color: white;
  font-size: 1.5rem;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast);
}

.lightbox__close:hover,
.lightbox-overlay__close:hover {
  background: rgba(255,255,255,0.2);
}

.lightbox img,
.lightbox-overlay img {
  max-width: 90vw;
  max-height: 85vh; max-height: 85dvh;
  object-fit: contain;
  border-radius: var(--radius-md);
}

.lightbox__caption,
.lightbox-overlay__caption {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  text-align: center;
}

.lightbox__figure {
  margin: 0;              /* Browser-Vorgabe weg, sonst sitzt das Bild schief */
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Blättern innerhalb einer Galerie. Die Flächen sind bewusst 56 px groß und
   liegen am Rand — auf dem Handy klickt man sonst ständig danebe­n und schließt
   versehentlich das Overlay. */
.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast);
}

.lightbox__nav:hover { background: rgba(255,255,255,0.24); }
.lightbox__nav[hidden] { display: none; }
.lightbox__nav--prev { left: 1rem; }
.lightbox__nav--next { right: 1rem; }

.lightbox__zaehler {
  position: absolute;
  top: 1.75rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}

/* Die Galerie-Kacheln sind <div> und werden per JS fokussierbar gemacht —
   ohne sichtbaren Fokusring wäre die Tastaturbedienung blind. */
.gallery-grid__item,
.gallery__item {
  cursor: pointer;
}

.gallery-grid__item:focus-visible,
.gallery__item:focus-visible {
  outline: 3px solid var(--clr-olive);
  outline-offset: 3px;
}

@media (max-width: 600px) {
  /* Am unteren Rand kollidieren die Pfeile sonst mit der Bildunterschrift */
  .lightbox__nav { width: 46px; height: 46px; font-size: 1.6rem; }
  .lightbox__nav--prev { left: 0.35rem; }
  .lightbox__nav--next { right: 0.35rem; }
}


/* ============================================================
   MAP
   ============================================================ */
/* „Anfahrt planen" steht bewusst ÜBER der Karte: Wer die Adresse ins Navi
   will, soll nicht erst an der Karte vorbeiscrollen. Ziel ist Google Maps als
   reiner Link — keine eingebettete Google-Karte, die lüde Skripte nach und
   machte damit einen Cookie-Hinweis nötig. */
.map-actions {
  margin: 0 0 var(--space-md);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
}

.map-actions__hinweis {
  font-size: 0.85rem;
  color: var(--clr-text-light);
}

.map-container {
  display: block;
  position: relative;   /* Bezug für das Schild */
}

/* Kartenfläche für Leaflet. Braucht eine gesetzte Höhe — ohne sie bleibt die
   Karte 0 px hoch und man sieht nichts. Das frühere Schild-Element entfällt:
   Leaflet schaltet den Scroll-Zoom selbst ab (siehe js/karte.js). */
.map-container__frame {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  width: 100%;
  border: 1px solid #DADCE0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--clr-light-green);   /* solange die Kacheln laden */
  z-index: 0;                            /* bleibt unter Kopfleiste und Popups */
}

/* Auf dem Handy ist 16:9 ein flacher Streifen — bei der engeren Zoom-Stufe
   (data-zoom 16, siehe kontakt.html) blieben davon kaum 260 px Höhe und damit
   fast keine Umgebung sichtbar. Hochformatiger stellen, dann trägt die Karte
   wieder genug Kontext um das Haus. */
@media (max-width: 600px) {
  .map-container__frame { aspect-ratio: 4 / 3; }
}

/* --- Eigener Kartenmarker ---
   Leaflets Standardrahmen abschalten; das Aussehen steckt vollständig hier. */
.karte-marker-wrap { background: none; border: 0; }

.karte-marker {
  position: relative;
  width: 160px;
  height: 110px;   /* Logo-Schild (~78px) + Nadel (26px) + Luft */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
}

/* Logo-Schild über der Nadel */
.karte-marker__logo {
  flex-shrink: 0;   /* sonst staucht die Flexbox das Schild */
  background: #fff;
  border: 2px solid #E3B23C;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28);
  padding: 0.35rem 0.5rem;
  line-height: 0;
}

/* Zwei Klassen im Selektor sind Pflicht: Leaflet setzt
   `.leaflet-container .leaflet-marker-pane img { width: auto }` — mit nur
   einer Klasse verliert die Breitenangabe und das Logo erscheint in voller
   Dateigröße (320 px), was den Marker sprengt. */
.karte-marker .karte-marker__logo img {
  display: block;
  width: 132px;
  height: auto;
  max-width: none;
}

/* Goldgelbe Nadel: gedrehtes Quadrat mit runder Kappe, rein in CSS — so bleibt
   sie auf jedem Display scharf und die Farbe ist an einer Stelle steuerbar. */
.karte-marker__pin {
  position: relative;
  display: block;
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  margin-top: -2px;
  background: #E3B23C;
  border: 2px solid #fff;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.35);
}

/* Innerer Punkt, damit die Nadel nicht als reine Fläche wirkt */
.karte-marker__pin::after {
  content: '';
  position: absolute;
  inset: 0;
  margin: auto;
  width: 9px;
  height: 9px;
  background: var(--clr-dark-green);
  border-radius: 50%;
}

@media (max-width: 600px) {
  .karte-marker { width: 130px; height: 96px; }
  .karte-marker .karte-marker__logo img { width: 104px; }
}

.map-container__caption {
  margin: 0.75rem 0 0;
  font-size: 0.9rem;
  color: var(--clr-text-light);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.map-container__caption i { color: var(--clr-olive-text); }
.map-container__caption a { color: var(--clr-olive-text); text-decoration: underline; text-underline-offset: 2px; }
.map-container__caption a:hover { color: var(--clr-dark-green); }


/* ============================================================
   NOTICE BOX (Platzhalter, Hinweise)
   ============================================================ */
.notice-box,
[class*="notice"],
[class*="placeholder"] {
  background: var(--clr-lightest-green);
  border-left: 3px solid var(--clr-olive);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--clr-text-light);
  margin: var(--space-sm) 0;
}


/* ============================================================
   SOCIAL CARDS (Kontakt-Seite)
   ============================================================ */
/* Kein `[class*="social-card"]` mehr: Der Teilstring-Selektor traf auch die
   Kinder — `social-card__icon`, `__label` und `__handle` enthalten die
   Zeichenfolge ebenfalls. Jedes bekam dadurch eine eigene weiße Box samt
   Schatten und Innenabstand, was die Karte auseinanderriss; mit der früheren
   weißen Schrift war davon nur ein Gewirr blasser Kästen zu sehen.
   Die Karte selbst reicht als Klassenselektor völlig aus. */
.social-card {
  background: var(--clr-white);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-smooth);
}

.social-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}


/* ============================================================
   OCCASION CARDS (Feiern-Seite)
   ============================================================ */
.occasion-card {
  background: var(--clr-white);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-smooth);
}

.occasion-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.occasion-card__icon-block {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--clr-olive), var(--clr-dark-green));
  border-radius: var(--radius-md);
  color: white;
  font-size: 1.5rem;
}

.occasion-card__title {
  font-family: var(--ff-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--clr-dark-green);
  margin-bottom: 0.25rem;
}

.occasion-card__text {
  font-size: 0.85rem;
  color: var(--clr-text-light);
}


/* ============================================================
   REGION CARDS
   ============================================================ */
.region-card {
  background: var(--clr-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-smooth);
}

.region-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.region-card__image {
  aspect-ratio: 16/10;
  overflow: hidden;
}

.region-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.region-card:hover .region-card__image img {
  transform: scale(1.05);
}

.region-card__body {
  padding: var(--space-md);
}

.region-card__tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clr-olive-text);
  background: var(--clr-lightest-green);
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  margin-bottom: 0.75rem;
}

.region-card__title {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.region-card__text {
  font-size: 0.9rem;
  color: var(--clr-text-light);
  line-height: 1.6;
}


/* ============================================================
   VACATION NOTICE
   ============================================================ */
.vacation-notice {
  text-align: center;
  padding: var(--space-md);
  background: var(--clr-lightest-green);
  border-radius: var(--radius-lg);
  max-width: 500px;
  margin: 0 auto;
}

.vacation-notice i {
  color: var(--clr-olive-text);
  font-size: 1.5rem;
  margin-bottom: var(--space-xs);
}


/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}


/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--clr-footer-bg);
  color: var(--clr-footer-text);
  padding-top: var(--space-xl);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--space-lg);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid rgba(255,255,255,0.15);
}

.footer__col {}

.footer__col--brand {}

.footer__logo-link { display: inline-block; }

.footer__logo {
  height: 48px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.footer__brand-text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--clr-footer-text);
  margin-top: var(--space-sm);
}

.footer__heading {
  font-family: var(--ff-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clr-white);
  margin-bottom: var(--space-sm);
}

.footer__nav a,
.footer__nav-link {
  display: block;
  padding: 0.35rem 0;
  font-size: 0.95rem;
  color: var(--clr-footer-text);
  transition: color var(--transition-fast);
}

.footer__nav a:hover { color: var(--clr-accent); }

/* Footer hours */
.footer__hours {}

.footer__hours-row {
  display: flex;
  justify-content: space-between;
  padding: 0.4rem 0;
  font-size: 0.9rem;
  color: var(--clr-footer-text);
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.footer__hours-day { font-weight: 500; color: var(--clr-white); }
.footer__hours-time { color: var(--clr-footer-text); }

.footer__hours-row--closed .footer__hours-time {
  color: var(--clr-footer-muted);
  font-style: italic;
}

.footer__hours-sub {
  font-size: 0.8rem;
  color: var(--clr-footer-muted);
  padding: 0.2rem 0 0.4rem;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.footer__vacation {
  margin-top: var(--space-sm);
  font-size: 0.85rem;
  color: var(--clr-footer-text);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.footer__vacation i { color: var(--clr-olive); } /* dunkler Footer-Grund: helles Marken-Olivgrn behalten (mehr Kontrast) */

/* Footer address */
.footer__address-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  color: var(--clr-footer-text);
}

.footer__address-item i {
  color: var(--clr-accent);
  font-size: 1rem;
  min-width: 20px;
  margin-top: 3px;
}

.footer__address-link {
  color: var(--clr-footer-text);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer__address-link:hover { color: var(--clr-accent); }

.footer__cta {
  margin-top: var(--space-sm);
  font-size: 0.85rem;
}

/* Footer social */
.footer__social {
  display: flex;
  gap: 0.75rem;
  margin-top: var(--space-sm);
}

.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  color: var(--clr-footer-text);
  font-size: 0.9rem;
  transition: all var(--transition-fast);
}

/* Hier bleibt die Fläche olivgrün: Der Footer ist fast schwarz (#2C3E1E), ein
   dunkelgrüner Hover wäre kaum zu sehen. Stattdessen das Icon dunkel — das
   ergibt 4,06:1 statt der 2,53:1 von Weiß auf Oliv. */
.footer__social-link:hover {
  background: var(--clr-olive);
  color: var(--clr-darker-green);
}

.footer__social-link--sm {
  width: 32px;
  height: 32px;
  font-size: 0.8rem;
}

/* Footer bottom */
.footer__bottom {
  padding: var(--space-sm) 0;
  border-top: 1px solid rgba(255,255,255,0.15);
}

.footer__bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer__copyright {
  font-size: 0.85rem;
  color: var(--clr-footer-muted);
}

.footer__legal { display: flex; gap: 1rem; }

.footer__legal-link {
  font-size: 0.85rem;
  color: var(--clr-footer-muted);
  transition: color var(--transition-fast);
}

.footer__legal-link:hover { color: var(--clr-accent); }

.footer__bottom-social {
  display: flex;
  gap: 0.75rem;
}


/* ============================================================
   STEP COMPONENTS (Feiern page process)
   ============================================================ */
.step {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  padding: var(--space-sm) 0;
}

.step__number {
  width: 36px;
  height: 36px;
  min-width: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
    /* Dunkelgrün statt Oliv: trägt weiße Schrift (7,04:1 statt 2,53:1). */
  background: var(--clr-dark-green);
  color: white;
  border-radius: 50%;
  font-weight: 700;
  font-size: 0.85rem;
}

.step__content {}

.step__title {
  font-family: var(--ff-body);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--clr-dark-green);
}

.step__text {
  font-size: 0.85rem;
  color: var(--clr-text-light);
}


/* ============================================================
   CHECKLIST (various pages)
   ============================================================ */
.checklist {
  list-style: none;
  margin: var(--space-sm) 0;
}

.checklist li,
.checklist__item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0;
  font-size: 0.95rem;
}

.checklist li i,
.checklist__item i {
  color: var(--clr-olive-text);
}


/* ============================================================
   STAT ROW (Gasthof page)
   ============================================================ */
.stat-row {
  display: flex;
  gap: var(--space-lg);
  margin: var(--space-md) 0;
}

.stat {
  text-align: center;
}

.stat__number {
  font-family: var(--ff-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--clr-olive-text);
  line-height: 1;
}

.stat__label {
  font-size: 0.75rem;
  color: var(--clr-text-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Stat-Cards — 3-spaltig auf Desktop, 1-spaltig auf Mobile */
.stat-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-sm);
  margin: var(--space-md) 0 var(--space-lg);
}

.stat-card {
  text-align: center;
  background: var(--clr-lightest-green);
  border: 1px solid var(--clr-light-green);
  border-radius: var(--radius-md);
  padding: var(--space-md) var(--space-sm);
}

.stat-card__number {
  display: block;
  font-family: var(--ff-heading);
  font-size: clamp(1.75rem, 0.9rem + 2.5vw, 2.25rem);
  font-weight: 700;
  color: var(--clr-olive-text);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat-card__label {
  display: block;
  font-size: 0.75rem;
  color: var(--clr-text);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}

@media (max-width: 700px) {
  .stat-cards { grid-template-columns: 1fr; }
}


/* ============================================================
   FIGURE / CAPTION
   ============================================================ */
figure {
  margin: 0;
}

figcaption {
  font-size: 0.85rem;
  color: var(--clr-text-light);
  text-align: center;
  margin-top: var(--space-xs);
  font-style: italic;
}


/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
  .cta-banner__inner { flex-direction: column; text-align: center; }
  .cta-banner__actions { justify-content: center; }
}

/* ─── Navigation: Burger-Menü früher aktivieren (Logo + 6 Nav-Items + CTA
       passen unter 960px nicht mehr nebeneinander, Logo wurde gestaucht) ─── */
@media (max-width: 960px) {
  .nav__list {
    display: none;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--clr-white);
    flex-direction: column;
    align-items: stretch;
    padding: var(--space-md);
    gap: 0;
    overflow-y: auto;
    z-index: 999;
  }

  .nav__list.active { display: flex; }

  .nav__link {
    padding: 0.75rem 0;
    font-size: 1rem;
    border-bottom: 1px solid var(--clr-border);
    width: 100%;
    justify-content: space-between;
  }

  a.nav__link::after { display: none; }

  .nav__dropdown {
    position: static;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    padding-left: var(--space-sm);
    display: none;
    border-radius: 0;
  }

  .nav__item--dropdown.open .nav__dropdown { display: block; }

  /* Header-CTA auf Icon-only — Text bleibt für Screen-Reader im DOM */
  .nav__cta {
    margin: 0;
    padding: 0;
    width: 44px;
    height: 44px;
    min-width: 0;
    flex: 0 0 auto;
    justify-content: center;
    align-items: center;
    gap: 0;
    font-size: 0;
    line-height: 1;
    border-radius: 50%;
  }
  .nav__cta i {
    font-size: 1.25rem;
    margin: 0;
  }

  .nav__burger { display: flex; }
}

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

  /* Split: Bild + Text wechseln in Single-Column. Bildgröße deckeln, mittig */
  .split { grid-template-columns: 1fr; gap: var(--space-md); align-items: start; }
  .split__image, .split__media {
    min-height: 0;
    aspect-ratio: 4 / 3;
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
  }

  .topbar { display: none; }

  .grid--2 { grid-template-columns: 1fr; }
  .grid--3 { grid-template-columns: 1fr; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }

  .hero { min-height: 70vh; min-height: 70dvh; }
  .hero--full { min-height: 80vh; min-height: 80dvh; }

  /* Mobile: Overlay etwas stärker (Text deckt prozentual mehr Bildfläche) */
  .hero__overlay {
    background: linear-gradient(
      to top,
      rgba(32, 22, 10, 0.95) 0%,
      rgba(32, 22, 10, 0.65) 45%,
      rgba(32, 22, 10, 0.25) 100%
    );
  }
  .hero__title { text-shadow: 0 2px 16px rgba(0, 0, 0, 0.6); }
  .hero__subtitle { text-shadow: 0 1px 10px rgba(0, 0, 0, 0.55); }

  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom-inner { flex-direction: column; gap: var(--space-xs); text-align: center; }

  /* Timeline mobile: einseitig */
  .timeline::before { left: 20px; }
  .timeline__dot, .timeline__dot--today { left: 20px; }
  .timeline__item,
  .timeline__item--reverse,
  .timeline__item:nth-child(even) {
    flex-direction: row;
    text-align: left;
    padding-left: 50px;
  }
  .timeline__content { width: 100%; }

  .event-card { flex-direction: column; }
  .event-card__date {
    flex-direction: row;
    gap: 0.5rem;
    min-width: unset;
    padding: 0.75rem var(--space-md);
  }
  .event-card__day-large { font-size: 1.25rem; }
  /* Bild ganz nach oben, über die Datumszeile — die Karte ist hier gestapelt,
     die 160px aus der Breitansicht wirken dadurch als Höhe. */
  .event-card__media {
    order: -1;
    flex-basis: 170px;
  }

  .split--reverse { direction: ltr; }

  .tradition__timeline { flex-direction: column; gap: var(--space-sm); }

  .stat-row { gap: var(--space-md); }

  /* Verlinkte Zeilen der Info-Box (Telefon, E-Mail, Route auf kontakt.html)
     waren nur 26 px hoch — die drei wichtigsten Aktionen der Kontaktseite,
     deutlich unter den empfohlenen 44 px für Finger. Die Zeile wächst, der
     Link füllt sie aus; optisch ändert sich außer etwas Luft nichts. */
  .info-box__row:has(a) {
    align-items: center;
    min-height: 44px;
  }
  .info-box__row a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
}

@media (max-width: 480px) {
  .grid--4 { grid-template-columns: 1fr; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .cta-banner__actions { flex-direction: column; width: 100%; }
  .cta-banner__actions .btn { width: 100%; justify-content: center; }
}

/* ═══════════════════════════════════════════
   LEGAL PAGES (Impressum / Datenschutz / Bildnachweise)
═══════════════════════════════════════════ */
.legal { color: var(--clr-text); }

.legal__toc {
  background: var(--clr-lightest-green);
  border-left: 4px solid var(--clr-olive);
  border-radius: var(--radius-md);
  padding: var(--space-sm) var(--space-md);
  margin-bottom: var(--space-lg);
}
.legal__toc-heading {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  /* --clr-olive-dark gibt es gar nicht — der Fallback landete beim hellen
     Oliv und blieb unter der Kontrastschwelle. */
  color: var(--clr-dark-green);
  margin: 0 0 0.5rem;
}
.legal__toc ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
}
.legal__toc a {
  color: var(--clr-olive-text);
  font-weight: 500;
}
.legal__toc a:hover { color: var(--clr-olive-dark, var(--clr-olive)); text-decoration: underline; }

.legal__section {
  margin-bottom: var(--space-xl);
  scroll-margin-top: 120px;
}
.legal__section + .legal__section {
  border-top: 1px solid #E8E8E2;
  padding-top: var(--space-lg);
}

.legal__heading {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 700;
  color: var(--clr-text);
  margin: 0 0 0.75rem;
}
.legal__lead {
  color: var(--clr-text-light);
  font-size: 1rem;
  margin: 0 0 var(--space-md);
}

.legal__subheading {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--clr-text);
  margin: 1.75rem 0 0.5rem;
}
.legal__subheading:first-of-type { margin-top: var(--space-md); }

.legal__address {
  font-style: normal;
  line-height: 1.7;
  margin: 0 0 0.75rem;
}
.legal__address p { margin: 0 0 0.4rem; }

.legal p {
  line-height: 1.7;
  margin: 0 0 0.75rem;
}

.legal__list {
  list-style: disc;
  padding-left: 1.25rem;
  margin: 0 0 0.75rem;
  line-height: 1.75;
}
.legal__list li { margin-bottom: 0.25rem; }

/* Dauerhaft unterstrichen, nicht erst beim Überfahren: Im Fließtext des
   Impressums waren die Links allein an der Farbe zu erkennen — wer Farben
   schlecht unterscheidet, sieht sie sonst nicht. */
.legal a { color: var(--clr-olive-text); text-decoration: underline; }
.legal a:hover { color: var(--clr-dark-green); }

/* ═══════════════════════════════════════════════════════════════
   BETRIEBSURLAUB-HINWEIS
   Wird von js/betriebsurlaub.js eingefügt, solange in Wirtino ein
   Betriebsurlaub aktiv ist. Ohne aktiven Urlaub existiert das
   Element gar nicht — daher keine Reserve-Höhe nötig.
   ═══════════════════════════════════════════════════════════════ */

/* Urlaubs-Streifen — bewusst in derselben Bildsprache wie das Popup
   (Strand-Zeichen, Überschrift in der Auszeichnungsschrift, dunkles Grün),
   damit beide als dieselbe Meldung gelesen werden. Er bleibt ein Streifen,
   fällt aber deutlicher auf als die frühere graue Info-Zeile. */
.urlaub-banner {
  background: var(--clr-light-green);
  border-bottom: 1px solid var(--clr-border);
  /* Akzentkante oben — hebt den Streifen von der Navigation darüber ab */
  box-shadow: inset 0 3px 0 0 var(--clr-olive);
  color: var(--clr-text);
  font-size: 0.95rem;
}

.urlaub-banner__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
  text-align: center;
}

.urlaub-banner__icon {
  font-size: 1.5rem;
  line-height: 1;
  flex-shrink: 0;
}

.urlaub-banner__label {
  font-family: var(--ff-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--clr-dark-green);
}

.urlaub-banner__zeitraum {
  font-weight: 600;
  /* Nicht --clr-text-light: Auf dem hellgrünen Streifen kam das nur auf
     4,48:1 — knapp unter der Schwelle. Die normale Textfarbe liegt bei 9,58:1,
     und ein Urlaubszeitraum soll ohnehin gelesen werden. */
  color: var(--clr-text);
  white-space: nowrap;
}

@media (max-width: 480px) {
  .urlaub-banner { font-size: 0.82rem; }
  .urlaub-banner__inner { gap: 0.3rem; }
}

/* Urlaubs-Popup — erscheint, wenn im Wirtino-Admin „Popup" oder „Popup + Banner"
   gewählt ist. Bewusst in der Optik dieser Seite gehalten (helles Grün wie der
   Streifen), nicht im Standard-Gelb des Wirtino-Widgets. */
.urlaub-popup {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
}

.urlaub-popup__box {
  position: relative;
  width: 100%;
  max-width: 420px;
  background: var(--clr-light-green);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  padding: 2.25rem 1.75rem 1.75rem;
  text-align: center;
  color: var(--clr-text);
}

.urlaub-popup__close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
  color: var(--clr-text);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.urlaub-popup__close:hover { background: #fff; }

.urlaub-popup__icon {
  font-size: 2.5rem;
  line-height: 1;
  margin-bottom: 0.75rem;
}

.urlaub-popup__titel {
  display: block;
  font-family: var(--ff-heading);
  font-size: 1.35rem;
  color: var(--clr-dark-green);
  margin-bottom: 0.4rem;
}

.urlaub-popup__zeitraum {
  margin: 0;
  font-weight: 600;
  color: var(--clr-text-light);
}
