/* Ferienpark Waldsee – Testlayout für rapidGO
   Reines CSS, keine Abhängigkeiten. Aufbau: Tokens → Basis → Layout → Komponenten → Seiten → Responsive. */

/* ------------------------------------------------------------------ Tokens */
:root {
  --forest: #1E3A2F;
  --forest-2: #2B4D3D;
  --forest-3: #3F6A52;
  --moss: #6F9471;
  --sand: #D8C3A0;
  --sand-2: #EADCC4;
  --sand-3: #F3EBDD;
  --cream: #F8F4EC;
  --paper: #FFFDF8;
  --ink: #1C2621;
  --muted: #56635B;
  --rust: #9C5128;
  --lake: #4F7F8A;
  --line: rgba(30, 58, 47, .14);

  --font-serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, "URW Palladio L", Georgia, serif;
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;

  --radius: 18px;
  --radius-s: 10px;
  --shadow: 0 1px 2px rgba(20, 40, 30, .06), 0 8px 24px rgba(20, 40, 30, .08);
  --shadow-hover: 0 2px 4px rgba(20, 40, 30, .08), 0 16px 40px rgba(20, 40, 30, .14);
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(56px, 8vw, 112px);
  --header-h: 76px;
}

/* ------------------------------------------------------------------ Basis */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--font-sans);
  overflow-wrap: break-word;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--forest-2); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--rust); }
:focus-visible { outline: 3px solid var(--rust); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 600; line-height: 1.15; color: var(--forest); margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 5.2vw, 4.25rem); }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h4 { font-size: 1.05rem; font-family: var(--font-sans); font-weight: 650; letter-spacing: 0; }
p { margin: 0 0 1em; }
.prose p:last-child, .prose:last-child { margin-bottom: 0; }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--forest); color: #fff; padding: .7rem 1rem; border-radius: var(--radius-s);
}
.skip-link:focus { top: 12px; color: #fff; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.section { padding-block: var(--section); }
.section--sand { background: var(--sand-3); }
.section--paper { background: var(--paper); }
.section--forest { background: var(--forest); color: #EDE6D8; }
.section--forest h2, .section--forest h3 { color: #FFF8EA; }

.kicker {
  display: inline-block; margin-bottom: .9rem;
  font: 650 .78rem/1.2 var(--font-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--rust);
}
.section--forest .kicker, .hero .kicker { color: var(--sand); }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 46rem; }

.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head h2 { margin: 0; }
.section-head p { margin: .5rem 0 0; color: var(--muted); max-width: 40rem; }

/* ------------------------------------------------------------------ Buttons & Links */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: .75rem 1.4rem; border-radius: 999px; border: 2px solid transparent;
  background: var(--forest); color: #fff; font: 600 1rem/1.2 var(--font-sans); text-decoration: none;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { background: var(--forest-3); color: #fff; }
.btn--light { background: var(--paper); color: var(--forest); }
.btn--light:hover { background: var(--sand-2); color: var(--forest); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .7); }
.btn--ghost:hover { background: rgba(255, 255, 255, .14); color: #fff; }
.btn--outline { background: transparent; color: var(--forest); border-color: var(--forest); }
.btn--outline:hover { background: var(--forest); color: #fff; }
.btn--small { min-height: 44px; padding: .55rem 1.1rem; font-size: .95rem; }

.more-link {
  display: inline-flex; align-items: center; gap: .45em; min-height: 44px;
  font-weight: 600; text-decoration: none; color: var(--forest);
}
.more-link::after {
  content: ""; width: 1.1em; height: 1.1em; background: currentColor;
  -webkit-mask: url("../icons/pfeil.svg") center / contain no-repeat; mask: url("../icons/pfeil.svg") center / contain no-repeat;
  transition: transform .2s;
}
.more-link:hover::after { transform: translateX(4px); }

/* ------------------------------------------------------------------ Kopf & Navigation */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(248, 244, 236, .94);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .site-header { background: rgba(248, 244, 236, .82); -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px); }
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 20px rgba(20, 40, 30, .06); }
.header-inner { display: flex; align-items: center; gap: 1.5rem; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; color: var(--forest); margin-right: auto; min-height: 48px; }
.brand img { width: 44px; height: 44px; flex: none; }
.brand-name { display: block; font: 600 1.25rem/1.1 var(--font-serif); }
.brand-sub { display: block; font: 500 .76rem/1.3 var(--font-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

.nav-toggle { display: none; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: .25rem; }
.main-nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: .4rem .75rem; border-radius: 999px;
  color: var(--ink); text-decoration: none; font-weight: 500; font-size: .98rem; white-space: nowrap;
}
.main-nav a:hover { background: rgba(30, 58, 47, .07); color: var(--forest); }
.main-nav a[aria-current="page"] { color: var(--forest); background: var(--sand-2); font-weight: 650; }
.header-cta { flex: none; }

/* ------------------------------------------------------------------ Hero */
.hero { position: relative; isolation: isolate; color: #fff; background: var(--forest); overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(16, 32, 25, .82) 0%, rgba(16, 32, 25, .55) 45%, rgba(16, 32, 25, .1) 100%),
              linear-gradient(0deg, rgba(16, 32, 25, .55) 0%, rgba(16, 32, 25, 0) 40%);
}
.hero-content { padding-block: clamp(96px, 16vw, 180px) clamp(72px, 10vw, 128px); max-width: 44rem; }
.hero h1 { color: #FFF8EA; margin-bottom: .35em; }
.hero-text { font-size: clamp(1.1rem, 1.7vw, 1.3rem); color: #F1EADC; max-width: 38rem; }
.hero-text p { margin: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.hero--page .hero-content { padding-block: clamp(80px, 11vw, 132px) clamp(56px, 7vw, 88px); }
.hero--page h1 { font-size: clamp(2.1rem, 4.4vw, 3.5rem); }

.breadcrumb { font-size: .9rem; margin-bottom: 1rem; color: #E7DFCF; }
.breadcrumb a { color: #FFF8EA; }

/* ------------------------------------------------------------------ Einführung */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split--reverse .split-media { order: -1; }
.split-media { position: relative; }
.split-media img, .rounded-media {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow);
  background: var(--sand-2);
}
.split-media::before {
  content: ""; position: absolute; inset: auto -14px -14px auto; width: 46%; height: 46%; z-index: -1;
  border-radius: var(--radius); background: var(--sand);
}
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 2rem; padding: 0; list-style: none; }
.facts li { padding: 1rem 0 0; border-top: 2px solid var(--sand); }
.facts strong { display: block; font: 600 clamp(1.6rem, 3vw, 2.2rem)/1.1 var(--font-serif); color: var(--forest); }
.facts span { font-size: .92rem; color: var(--muted); }

/* ------------------------------------------------------------------ Medienplatzhalter
   Fehlt ein Bild (leeres Feld → rapidGO entfernt das <img>) oder lädt eine Datei nicht, bleibt die Fläche erhalten. */
figure { margin: 0; }
.media {
  position: relative; overflow: hidden; background: var(--sand-2);
  background-image: url("../img/logo.svg"); background-repeat: no-repeat; background-position: center; background-size: 56px;
}
.media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  color: transparent; /* Alternativtext eines nicht ladbaren Bildes nicht über die Fläche legen */
  transition: transform .5s ease;
}

/* ------------------------------------------------------------------ Ferienhaus-Karten (Startseite) */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: clamp(18px, 2.4vw, 32px); }
.house-card {
  display: flex; flex-direction: column; background: var(--paper); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); transition: box-shadow .25s, transform .25s;
}
.house-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.house-card:hover .media img { transform: scale(1.03); }
.house-card .media { aspect-ratio: 3 / 2; }
.house-card-body { display: flex; flex-direction: column; gap: .6rem; padding: 1.25rem 1.4rem 1.4rem; flex: 1; }
.house-card h3 { margin: 0; }
.house-card-text { color: var(--muted); font-size: .98rem; margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: .4rem .9rem; margin: 0; padding: 0; list-style: none; font-size: .92rem; color: var(--muted); }
.chip { display: inline-flex; align-items: center; gap: .4rem; }
.chip img { width: 18px; height: 18px; opacity: .75; }
.price { margin: auto 0 0; padding-top: .8rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .95rem; }
.price strong { font: 600 1.45rem/1 var(--font-serif); color: var(--forest); }

/* ------------------------------------------------------------------ Neuigkeiten (Startseite, Liste) */
.home-columns { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 72px); }
.news-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.news-row { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: .5rem 1.5rem; padding: 1.4rem 0; border-bottom: 1px solid var(--line); }
.news-row time { font-weight: 600; color: var(--rust); font-size: .95rem; padding-top: .2rem; }
.news-row h3 { font-size: clamp(1.15rem, 1.8vw, 1.35rem); margin: -.6rem 0 0; }
/* ganze Titelzeile als Klickfläche (mobil mind. 44 px) */
.news-row h3 a { display: block; padding-block: .6rem; color: var(--forest); text-decoration: underline; text-decoration-color: transparent; transition: text-decoration-color .2s; }
.news-row h3 a:hover { text-decoration-color: currentColor; }
.news-row p { margin: 0; color: var(--muted); font-size: .98rem; }

/* ------------------------------------------------------------------ Veranstaltungskarten (Startseite) */
.event-cards { display: grid; gap: 1rem; }
.event-card {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .25rem 1.1rem; align-items: start;
  padding: 1.1rem 1.25rem; background: var(--paper); border-radius: var(--radius-s); border-left: 4px solid var(--moss);
  box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s;
}
.event-card:hover { transform: translateX(3px); box-shadow: var(--shadow-hover); }
.event-card .date-badge { grid-row: span 2; }
.event-card h3 { font-size: 1.15rem; margin: 0; }
.event-meta { display: flex; flex-wrap: wrap; gap: .2rem 1rem; margin: 0; font-size: .92rem; color: var(--muted); }
.date-badge {
  display: inline-flex; align-items: center; justify-content: center; min-width: 6.6rem; min-height: 2.6rem; padding: .35rem .7rem;
  border-radius: 999px; background: var(--forest); color: #FFF8EA; font-weight: 650; font-size: .92rem; white-space: nowrap;
}
.t-uhr, .t-ort { display: inline-flex; align-items: center; gap: .35rem; }
.t-uhr::before, .t-ort::before { content: ""; width: 16px; height: 16px; background: currentColor; flex: none; }
.t-uhr::before { -webkit-mask: url("../icons/uhr.svg") center / contain no-repeat; mask: url("../icons/uhr.svg") center / contain no-repeat; }
.t-ort::before { -webkit-mask: url("../icons/ort.svg") center / contain no-repeat; mask: url("../icons/ort.svg") center / contain no-repeat; }
.t-uhr::after { content: "Uhr"; }
/* leere optionale Felder (rapidGO leert den Text) samt Symbol ausblenden */
.t-uhr:empty, .t-ort:empty { display: none; }

/* Leerer Zustand einer Ansicht: statisch (mit Beispiel-Einträgen) ausgeblendet, bei 0 Datensätzen sichtbar */
.empty-note { padding: 1.4rem; border: 1px dashed var(--sand); border-radius: var(--radius-s); color: var(--muted); background: var(--paper); list-style: none; }
[data-rt-item] ~ .empty-note { display: none; }

/* ------------------------------------------------------------------ Freizeit-Kacheln (Startseite) */
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); }
.tile { position: relative; display: flex; flex-direction: column; justify-content: end; min-height: 340px; border-radius: var(--radius); overflow: hidden; color: #fff; text-decoration: none; isolation: isolate; box-shadow: var(--shadow); }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .5s; }
.tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(14, 30, 22, .88) 0%, rgba(14, 30, 22, .25) 55%, rgba(14, 30, 22, 0) 100%); }
.tile:hover img { transform: scale(1.05); }
.tile-body { padding: 1.3rem; }
.tile h3 { color: #fff; margin: 0 0 .3rem; font-size: 1.3rem; }
.tile p { margin: 0; font-size: .95rem; color: #ECE5D6; }
.tile:hover { color: #fff; }

/* ------------------------------------------------------------------ Anfrage */
.cta-box {
  display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(24px, 4vw, 64px); align-items: center;
  padding: clamp(28px, 5vw, 64px); border-radius: calc(var(--radius) + 6px);
  background: var(--forest) url("../img/abendsee.svg") center / cover; position: relative; isolation: isolate; overflow: hidden; color: #EDE6D8;
}
.cta-box::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(16, 32, 25, .94), rgba(16, 32, 25, .72)); }
.cta-box h2 { color: #FFF8EA; }
.cta-box a:not(.btn) { color: #FFF8EA; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
.contact-list a { display: inline-flex; align-items: center; gap: .6rem; min-height: 44px; text-decoration: none; font-weight: 600; }
.contact-list img { width: 22px; height: 22px; filter: invert(1); opacity: .85; }
.cta-actions { display: flex; flex-direction: column; gap: 1rem; align-items: flex-start; }
.small { font-size: .9rem; color: inherit; opacity: .85; }

/* ------------------------------------------------------------------ Ferienhäuser-Seite */
.name-chips { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; margin: 0; padding: 0; }
.name-chips li { padding: .45rem 1rem; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-weight: 550; color: var(--forest); font-size: .95rem; max-width: 100%; }
.quick { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; }
.quick h2 { font-size: 1rem; font-family: var(--font-sans); font-weight: 650; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0; }

.house-list { display: grid; gap: clamp(24px, 3vw, 40px); }
.house {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); background: var(--paper);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: box-shadow .25s;
}
.house:hover { box-shadow: var(--shadow-hover); }
.house .media { min-height: 300px; }
.house-body { padding: clamp(22px, 3vw, 40px); display: flex; flex-direction: column; gap: 1rem; }
.house-body h3 { font-size: clamp(1.45rem, 2.4vw, 2rem); margin: 0; }
.house-desc { margin: 0; color: var(--muted); }
.house-facts { display: flex; flex-wrap: wrap; gap: .6rem; list-style: none; margin: 0; padding: 0; }
.house-facts li { display: inline-flex; align-items: center; gap: .45rem; padding: .4rem .85rem; border-radius: 999px; background: var(--sand-3); font-size: .93rem; font-weight: 550; }
.house-facts img { width: 18px; height: 18px; }
.equipment { padding: 1rem 1.2rem; border-radius: var(--radius-s); background: var(--cream); font-size: .95rem; }
.equipment h4 { margin: 0 0 .35rem; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--rust); }
.equipment p { margin: 0; line-height: 1.8; }
.house-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--line); }
.house-footer .price { margin: 0; padding: 0; border: 0; }

.duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 2vw, 24px); }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 1.6vw, 18px); }
.gallery img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius-s); background: var(--sand-2); color: transparent; }
.info-box { padding: clamp(24px, 4vw, 44px); border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); }
.info-box h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }

/* ------------------------------------------------------------------ Freizeit-Seite */
.subnav { position: sticky; top: var(--header-h); z-index: 20; background: var(--paper); border-bottom: 1px solid var(--line); }
.subnav ul { display: flex; gap: .25rem; list-style: none; margin: 0; padding: .5rem 0; overflow-x: auto; scrollbar-width: none; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a { display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; padding: .4rem .9rem; border-radius: 999px; text-decoration: none; color: var(--ink); white-space: nowrap; font-weight: 550; }
.subnav a:hover { background: var(--sand-3); }
.subnav img { width: 20px; height: 20px; }
.feature + .feature { margin-top: var(--section); }
.trails { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin: 1.75rem 0 0; padding: 0; list-style: none; }
.trails li { padding: 1rem 1.1rem; border-radius: var(--radius-s); background: var(--sand-3); }
.trails h3 { font-size: 1.05rem; margin: 0 0 .2rem; }
.trails p { margin: 0; font-size: .9rem; color: var(--muted); }
.tip { display: grid; grid-template-columns: auto 1fr; gap: 1rem 1.5rem; align-items: start; padding: clamp(22px, 4vw, 40px); border-radius: var(--radius); background: var(--sand-3); border-left: 6px solid var(--rust); }
.tip-icon { width: 56px; height: 56px; padding: 14px; border-radius: 50%; background: var(--paper); }

/* ------------------------------------------------------------------ Aktuelles */
.news-feed { display: grid; gap: clamp(24px, 3vw, 36px); }
.news-article { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); background: var(--paper); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.news-article .media { min-height: 240px; }
/* Meldung ohne Bild: Bildspalte entfällt (Browser mit :has); sonst bleibt die Platzhalterfläche */
.news-article:not(:has(> .media img)) { grid-template-columns: 1fr; }
.news-article:not(:has(> .media img)) > .media { display: none; }
.news-body { padding: clamp(22px, 3vw, 40px); }
.news-body h2 { font-size: clamp(1.35rem, 2.4vw, 1.9rem); }
.news-meta { margin: 0 0 .6rem; font-weight: 650; color: var(--rust); font-size: .92rem; display: inline-flex; align-items: center; gap: .45rem; }
.news-meta::before { content: ""; width: 16px; height: 16px; background: currentColor; -webkit-mask: url("../icons/kalender.svg") center / contain no-repeat; mask: url("../icons/kalender.svg") center / contain no-repeat; }
.news-lead { color: var(--muted); }
details.more { border-top: 1px solid var(--line); margin-top: 1rem; }
details.more summary {
  display: flex; align-items: center; gap: .5rem; min-height: 48px; cursor: pointer; font-weight: 650; color: var(--forest); list-style: none;
}
details.more summary::-webkit-details-marker { display: none; }
details.more summary::before { content: "+"; display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--sand-2); font-weight: 700; }
details.more[open] summary::before { content: "–"; }
details.more .prose { padding-bottom: .5rem; }

/* ------------------------------------------------------------------ Veranstaltungen */
.event-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; }
.event {
  display: grid; grid-template-columns: 11rem minmax(0, 1fr) minmax(0, 15rem); gap: 1.5rem; align-items: start;
  padding: clamp(18px, 2.4vw, 28px); background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow);
}
.event-when { display: grid; gap: .5rem; justify-items: start; font-size: .95rem; color: var(--muted); }
.event-main h2 { font-size: clamp(1.3rem, 2.2vw, 1.65rem); margin-bottom: .35rem; }
.event-main .t-ort { color: var(--muted); font-size: .95rem; margin: 0 0 .75rem; display: flex; }
.event-main .t-ort:empty { display: none; }
.event-main .prose { font-size: .98rem; }
.event .media { aspect-ratio: 3 / 2; border-radius: var(--radius-s); }
.event:not(:has(> .media img)) { grid-template-columns: 11rem minmax(0, 1fr); }
.event:not(:has(> .media img)) > .media { display: none; }

/* ------------------------------------------------------------------ Fuß */
.site-footer { background: var(--forest); color: #D9D2C3; padding-block: clamp(48px, 7vw, 80px) 28px; font-size: .96rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.site-footer h2 { font: 650 .8rem/1.3 var(--font-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--sand); margin: 0 0 .9rem; }
.site-footer a { color: #FFF8EA; }
.site-footer a:hover { color: var(--sand); }
.footer-brand { display: flex; align-items: center; gap: .75rem; margin-bottom: 1rem; color: #FFF8EA; font: 600 1.25rem/1.2 var(--font-serif); }
.footer-brand img { width: 44px; height: 44px; }
.footer-nav { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; }
.footer-nav a { display: inline-flex; min-height: 40px; align-items: center; text-decoration: none; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .86rem; color: #B9B2A3; }
.footer-bottom p { margin: 0; }

/* ------------------------------------------------------------------ Responsive */
@media (max-width: 1119px) {
  .header-cta { display: none; }
  /* ohne JavaScript (z. B. Vorschau in rapidGO): Navigation als umbrechende Zeile unter dem Logo */
  .header-inner { flex-wrap: wrap; }
  .main-nav { flex-basis: 100%; }
  .main-nav ul { flex-wrap: wrap; padding-bottom: .6rem; }
  /* mit JavaScript: Menü-Schaltfläche und ausklappbare Fläche */
  .js .header-inner { flex-wrap: nowrap; }
  .js .nav-toggle {
    display: inline-flex; align-items: center; gap: .55rem; min-height: 48px; min-width: 48px; padding: .5rem 1rem;
    border: 1px solid var(--line); border-radius: 999px; background: var(--paper); color: var(--forest);
    font: 600 1rem/1 var(--font-sans); cursor: pointer;
  }
  .nav-toggle-bars { position: relative; width: 20px; height: 14px; }
  .nav-toggle-bars span { position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: currentColor; transition: transform .2s, opacity .2s; }
  .nav-toggle-bars span:nth-child(1) { top: 0; }
  .nav-toggle-bars span:nth-child(2) { top: 6px; }
  .nav-toggle-bars span:nth-child(3) { top: 12px; }
  .nav-open .nav-toggle-bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav-open .nav-toggle-bars span:nth-child(2) { opacity: 0; }
  .nav-open .nav-toggle-bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .js .main-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%; flex-basis: auto;
    background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px rgba(20, 40, 30, .12);
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .js .nav-open .main-nav { display: block; }
  .js .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: .5rem var(--gutter) 1.25rem; }
  .js .main-nav a { display: flex; min-height: 52px; border-radius: var(--radius-s); font-size: 1.08rem; padding: .6rem .9rem; }
  .js .main-nav .nav-cta { display: block; margin-top: .75rem; }
  .js .main-nav .nav-cta a { justify-content: center; background: var(--forest); color: #fff; border-radius: 999px; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile { min-height: 280px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .event { grid-template-columns: 9.5rem minmax(0, 1fr); }
  .event > .media { grid-column: 2; max-width: 22rem; }
}
@media (min-width: 1120px) {
  .main-nav .nav-cta { display: none; }
}
@media (max-width: 899px) {
  .split, .home-columns, .cta-box { grid-template-columns: 1fr; }
  .split--reverse .split-media { order: 0; }
  .split-media::before { display: none; }
  .house { grid-template-columns: 1fr; }
  .house .media { min-height: 0; aspect-ratio: 16 / 9; }
  .news-article { grid-template-columns: 1fr; }
  .news-article .media { min-height: 0; aspect-ratio: 16 / 9; }
  .trails { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .duo { grid-template-columns: 1fr; }
  .event, .event:not(:has(> .media img)) { grid-template-columns: 1fr; gap: .9rem; }
  .event > .media { grid-column: auto; max-width: none; }
  .event-when { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; }
  .facts { grid-template-columns: 1fr; gap: .25rem; }
  .facts li { display: flex; align-items: baseline; gap: .75rem; }
  .facts strong { display: inline; }
  .tip { grid-template-columns: 1fr; }
}
@media (max-width: 599px) {
  :root { --header-h: 64px; }
  body { font-size: 1rem; }
  h3 { hyphens: auto; -webkit-hyphens: auto; }
  .brand img { width: 38px; height: 38px; }
  .brand-name { font-size: 1.08rem; }
  .brand-sub { display: none; }
  .js .nav-toggle-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .js .nav-toggle { padding: .5rem; justify-content: center; }
  .hero-actions .btn { flex: 1 1 100%; }
  .tiles { grid-template-columns: 1fr; }
  .tile { min-height: 240px; }
  .news-row { grid-template-columns: 1fr; gap: .25rem; }
  .event-card { grid-template-columns: 1fr; }
  .event-card .date-badge { grid-row: auto; justify-self: start; }
  .footer-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .house-footer .btn { flex: 1 1 100%; }
}

/* ------------------------------------------------------------------ Bewegung reduzieren */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .house-card:hover, .event-card:hover { transform: none; }
  .house-card:hover .media img, .tile:hover img { transform: none; }
}

/* ------------------------------------------------------------------ Druck */
@media print {
  .site-header, .subnav, .hero-actions, .site-footer nav { display: none; }
  .hero { color: var(--ink); background: none; }
  .hero::after, .hero-media { display: none; }
  .hero h1 { color: var(--forest); }
}
