/* ==========================================================================
   Campingpark Oberammergau – Frontend (me#cms)
   Ein Stylesheet, mobile first, ohne Framework. Quelle: prototype/redesign.
   ========================================================================== */

@font-face {
  font-family: "Cabin Sketch";
  src: url("../fonts/cabin-sketch-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Farben aus dem Logo: Waldgrün, Sonnengelb, Anthrazit */
  --forest: #1f4a2d;
  --forest-dark: #14321e;
  --forest-soft: #e6ede3;
  --moss: #4c7a48;
  --sun: #f3b712;
  --sun-soft: #fdf1c8;
  --ink: #252a24;
  --muted: #5b6357;
  --paper: #faf8f3;
  --stone: #f0ebe1;
  --line: #e0d9cb;
  --white: #fff;

  --font-body: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Cabin Sketch", "Segoe UI", system-ui, sans-serif;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgb(20 50 30 / 6%), 0 8px 24px rgb(20 50 30 / 8%);
  --container: 74rem;
  --gutter: clamp(1rem, 4vw, 2rem);
  --section: clamp(3rem, 8vw, 5.5rem);
  --header-h: 4.25rem;
}

/* ---------- Basis ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
}

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

a { color: var(--forest); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--moss); }

:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; border-radius: 4px; }

h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .6em; color: var(--forest-dark); text-wrap: balance; }
h1, h2 { font-family: var(--font-display); font-weight: 700; letter-spacing: .01em; overflow-wrap: break-word; hyphens: auto; }
h1 { font-size: clamp(2.1rem, 6vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 4.5vw, 2.6rem); }
h3 { font-size: 1.2rem; font-weight: 650; }
p, ul, ol, dl, table, figure { margin: 0 0 1rem; }
ul, ol { padding-left: 1.25rem; }
li + li { margin-top: .25rem; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }

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

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--forest); color: var(--white); padding: .6rem 1rem; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 1rem; }

.icon { width: 1.2em; height: 1.2em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Layout ---------- */

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.container--narrow { --container: 52rem; }

.section { padding-block: var(--section); }
.section--stone { background: var(--stone); }
.section--forest { background: var(--forest-soft); }
.section + .section:not([class*="--"]) { padding-top: 0; }

.section-head { max-width: 46rem; margin-bottom: clamp(1.5rem, 4vw, 2.5rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.1rem; }

.eyebrow {
  display: inline-block; margin-bottom: .5rem;
  font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--moss);
}

.prose { max-width: 68ch; }
.prose > :last-child { margin-bottom: 0; }

.split { display: grid; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
@media (min-width: 56rem) {
  .split { grid-template-columns: 1.15fr 1fr; }
  .split--reverse > :first-child { order: 2; }
  .split--top { align-items: start; }
  .split--aside { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
  .split--aside > aside { position: sticky; top: calc(var(--header-h) + 1.5rem); }
}

.media-rounded { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; object-fit: cover; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 3rem; padding: .7rem 1.25rem;
  border: 2px solid transparent; border-radius: 999px;
  font: inherit; font-weight: 650; line-height: 1.2; text-decoration: none; text-align: center;
  cursor: pointer; transition: background-color .15s, color .15s, border-color .15s, transform .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--sun); color: var(--forest-dark); }
.btn--primary:hover { background: #ffc933; color: var(--forest-dark); }
.btn--forest { background: var(--forest); color: var(--white); }
.btn--forest:hover { background: var(--forest-dark); color: var(--white); }
.btn--outline { border-color: var(--forest); color: var(--forest); background: transparent; }
.btn--outline:hover { background: var(--forest); color: var(--white); }
.btn--light { background: rgb(255 255 255 / 92%); color: var(--forest-dark); }
.btn--light:hover { background: var(--white); color: var(--forest-dark); }
.btn small { display: block; font-weight: 400; font-size: .8rem; opacity: .85; }
.btn-group { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------- Header ---------- */

.topbar { display: none; background: var(--forest-dark); color: #dfe8dc; font-size: .875rem; }
.topbar a { color: inherit; text-decoration: none; }
.topbar a:hover { color: var(--white); text-decoration: underline; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; min-height: 2.25rem; }
.topbar__contact { display: flex; gap: 1.5rem; }
.topbar__contact a, .topbar__contact span { display: inline-flex; align-items: center; gap: .4rem; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.site-header__bar { display: flex; align-items: center; gap: 1rem; min-height: var(--header-h); }

.brand { display: block; margin-right: auto; padding-block: .35rem; }
.brand img { height: 3.1rem; width: auto; }

.nav-toggle {
  display: inline-flex; align-items: center; gap: .5rem;
  min-height: 2.9rem; padding: .5rem .9rem;
  border: 1px solid var(--line); border-radius: 999px; background: var(--white);
  font: inherit; font-weight: 600; color: var(--forest-dark); cursor: pointer;
}
.nav-toggle .icon--close { display: none; }
.nav-open .nav-toggle .icon--menu { display: none; }
.nav-open .nav-toggle .icon--close { display: block; }

.header-cta { display: none; }

/* Mobile Navigation: Panel unter dem Header */
.main-nav {
  display: none;
  position: fixed; inset: var(--header-h) 0 0 0;
  overflow-y: auto; overscroll-behavior: contain;
  background: var(--paper);
  padding: 1rem var(--gutter) 2rem;
}
.nav-open .main-nav { display: block; }
.nav-open { overflow: hidden; }

.nav-list, .subnav { list-style: none; margin: 0; padding: 0; }
.nav-list > li { margin: 0; border-bottom: 1px solid var(--line); }
.nav-list li + li { margin-top: 0; }

.nav-link, .nav-parent {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  min-height: 3.25rem; padding: .5rem .25rem;
  border: 0; background: none; font: inherit; font-size: 1.1rem; font-weight: 600;
  color: var(--forest-dark); text-decoration: none; text-align: left; cursor: pointer;
}
.nav-link[aria-current="page"], .nav-parent.is-active { color: var(--moss); }
.nav-parent .icon { transition: transform .2s; }
.nav-parent[aria-expanded="true"] .icon { transform: rotate(180deg); }

.subnav { display: none; padding: 0 0 .75rem .75rem; }
.nav-parent[aria-expanded="true"] + .subnav { display: block; }
.subnav a {
  display: flex; align-items: center; min-height: 2.75rem; padding: .25rem .75rem;
  border-radius: var(--radius-sm); color: var(--ink); text-decoration: none;
}
.subnav a:hover, .subnav a[aria-current="page"] { background: var(--forest-soft); color: var(--forest-dark); }

.nav-extra { display: grid; gap: .75rem; margin-top: 1.5rem; }
.nav-extra .btn { width: 100%; }
.nav-contact { display: grid; gap: .25rem; margin-top: 1.25rem; color: var(--muted); font-size: .95rem; }
.nav-contact a { display: inline-flex; align-items: center; gap: .5rem; min-height: 2.5rem; }

.lang-switch { display: inline-flex; gap: .25rem; }
.lang-switch a {
  display: inline-flex; align-items: center; justify-content: center; min-width: 2.5rem; min-height: 2.25rem;
  padding: 0 .5rem; border-radius: 999px; font-size: .85rem; font-weight: 700; text-decoration: none; color: inherit;
}
.lang-switch a[aria-current="true"] { background: var(--sun); color: var(--forest-dark); }
.main-nav .lang-switch { margin-top: 1rem; }
.main-nav .lang-switch a { border: 1px solid var(--line); color: var(--forest-dark); min-height: 2.75rem; min-width: 3rem; }

@media (min-width: 40rem) {
  .brand img { height: 3.5rem; }
  .header-cta { display: inline-flex; min-height: 2.9rem; padding-block: .5rem; }
}

/* Desktop Navigation */
@media (min-width: 72rem) {
  :root { --header-h: 5rem; }
  .site-header { background: rgb(255 255 255 / 94%); backdrop-filter: saturate(1.4) blur(8px); } /* nur Desktop: backdrop-filter würde das fixe Mobilmenü einsperren */
  .topbar { display: block; }
  .site-header { top: 0; }
  .brand { margin-right: 0; }
  .brand img { height: 3.9rem; }
  .nav-toggle { display: none; }

  .main-nav {
    display: block; position: static; overflow: visible; background: none; padding: 0;
    margin-left: auto;
  }
  .nav-open { overflow: visible; }
  .nav-extra, .nav-contact, .main-nav .lang-switch { display: none; }

  .nav-list { display: flex; align-items: center; gap: .15rem; }
  .nav-list > li { position: relative; border: 0; }
  .nav-link, .nav-parent {
    min-height: 2.75rem; padding: .4rem .8rem; border-radius: 999px;
    font-size: .98rem; gap: .3rem; white-space: nowrap;
  }
  .nav-link:hover, .nav-parent:hover { background: var(--forest-soft); color: var(--forest-dark); }
  .nav-parent .icon { width: 1rem; height: 1rem; }

  .subnav {
    position: absolute; top: calc(100% + .35rem); left: 0; min-width: 15rem;
    padding: .5rem; background: var(--white); border: 1px solid var(--line);
    border-radius: var(--radius); box-shadow: var(--shadow);
  }
  .subnav::before { content: ""; position: absolute; inset: -.5rem 0 auto; height: .5rem; }
  .nav-list > li:hover > .subnav, .nav-list > li:focus-within > .subnav { display: block; }
}

/* ---------- Hero Startseite ---------- */

.hero {
  position: relative; isolation: isolate;
  display: grid; align-items: end;
  min-height: min(78svh, 46rem);
  color: var(--white);
  background: var(--forest-dark);
}
.hero__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgb(10 30 18 / 5%) 25%, rgb(10 30 18 / 62%) 72%, rgb(10 30 18 / 78%));
}
.hero__content { padding-block: 5rem 4.5rem; }
.hero .eyebrow { color: var(--sun); text-shadow: 0 1px 8px rgb(0 0 0 / 40%); }
.hero h1 { color: var(--white); max-width: 16ch; text-shadow: 0 2px 18px rgb(0 0 0 / 35%); margin-bottom: 1.25rem; }
.hero__actions { display: grid; gap: .75rem; max-width: 40rem; }
.hero__actions .btn { justify-content: flex-start; text-align: left; border-radius: var(--radius); padding: .75rem 1.1rem; }
.hero__actions .btn .icon { width: 1.6rem; height: 1.6rem; }
@media (min-width: 40rem) {
  .hero__actions { grid-template-columns: 1fr 1fr; }
}

/* Bergsilhouette als Abschlusskante (Anlehnung an die bisherigen Wellenformen) */
.ridge { position: absolute; left: 0; right: 0; bottom: -1px; height: clamp(1.75rem, 4vw, 3.5rem); width: 100%; color: var(--paper); pointer-events: none; }
.ridge path { fill: currentColor; }

/* ---------- Unterseiten-Header ---------- */

.page-hero {
  position: relative; isolation: isolate;
  display: grid; align-items: end;
  min-height: clamp(13rem, 38vw, 22rem);
  color: var(--white); background: var(--forest);
}
.page-hero__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(10 30 18 / 0%) 30%, rgb(10 30 18 / 68%)); }
.page-hero .container { padding-block: 3rem clamp(2.5rem, 5vw, 4rem); min-width: 0; }
.page-hero h1, .breadcrumb li { overflow-wrap: anywhere; }
.page-hero h1 { color: var(--white); margin: 0; text-shadow: 0 2px 16px rgb(0 0 0 / 35%); }

.breadcrumb { margin: 0 0 .5rem; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: .25rem .5rem; font-size: .9rem; }
.breadcrumb li { margin: 0; }
.breadcrumb li + li::before { content: "›"; margin-right: .5rem; opacity: .8; }
.breadcrumb a { color: inherit; }

/* ---------- Karten / Teaser ---------- */

.cards { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); }

@media (min-width: 44rem) { .cards--3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  position: relative; display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow);
}
.card__img { aspect-ratio: 16 / 10; width: 100%; object-fit: cover; transition: transform .4s; }
.card__body { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.25rem; }
.card__body h3 { margin: 0; font-size: 1.25rem; }
.card__link { text-decoration: none; color: inherit; }
.card__link::after { content: ""; position: absolute; inset: 0; }
.card__arrow {
  display: grid; place-items: center; width: 2.5rem; height: 2.5rem; flex: none;
  border-radius: 50%; background: var(--sun); color: var(--forest-dark); transition: transform .2s;
}
.card:hover .card__img { transform: scale(1.04); }
.card:hover .card__arrow { transform: translateX(3px); }
.card:focus-within { outline: 3px solid var(--sun); outline-offset: 2px; }

/* Hinweisbox (z. B. Anreiseinformationen) */
.notice {
  display: grid; gap: .25rem 1.25rem;
  padding: clamp(1.25rem, 4vw, 2.25rem);
  background: var(--sun-soft); border: 1px solid #efd98d; border-left: 6px solid var(--sun);
  border-radius: var(--radius);
}
.notice__icon { display: none; }
.notice h2 { font-size: clamp(1.6rem, 4vw, 2.1rem); margin-bottom: .75rem; }
.notice strong { font-weight: 600; }   /* WYSIWYG-Inhalt ist komplett fett – ruhiger darstellen */
.notice p:first-of-type strong { font-weight: 700; }
@media (min-width: 48rem) {
  .notice { grid-template-columns: auto 1fr; }
  .notice__icon { display: grid; place-items: center; width: 3.25rem; height: 3.25rem; border-radius: 50%; background: var(--sun); color: var(--forest-dark); }
  .notice__icon .icon { width: 1.6rem; height: 1.6rem; }
}

/* TV-Beiträge */
.media-list { display: grid; gap: 1rem; list-style: none; padding: 0; }
.media-list li { margin: 0; padding: 1.1rem 1.25rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.media-list .tag { display: inline-block; margin-right: .5rem; padding: .1rem .55rem; border-radius: 999px; background: var(--forest); color: var(--white); font-size: .75rem; font-weight: 700; letter-spacing: .05em; }
.media-list a { font-weight: 600; }
.media-list p { margin: .4rem 0 0; font-size: .92rem; color: var(--muted); }

/* ---------- Galerie + Lightbox ---------- */

.gallery { display: grid; gap: .5rem; grid-template-columns: repeat(2, 1fr); list-style: none; padding: 0; }
.gallery li { margin: 0; }
.gallery a { display: block; overflow: hidden; border-radius: var(--radius-sm); background: var(--stone); }
.gallery img { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; transition: transform .35s, opacity .2s; }
.gallery a:hover img { transform: scale(1.05); }
@media (min-width: 40rem) { .gallery { grid-template-columns: repeat(3, 1fr); gap: .75rem; } }
@media (min-width: 64rem) { .gallery { grid-template-columns: repeat(4, 1fr); } }

.lightbox {
  width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0;
  border: 0; background: rgb(10 20 14 / 97%); color: var(--white);
}
.lightbox::backdrop { background: rgb(0 0 0 / 60%); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox img { max-width: calc(100vw - 2rem); max-height: calc(100dvh - 7rem); width: auto; border-radius: var(--radius-sm); }
.lightbox__btn {
  position: absolute; display: grid; place-items: center; width: 3rem; height: 3rem;
  border: 0; border-radius: 50%; background: rgb(255 255 255 / 14%); color: var(--white); cursor: pointer;
}
.lightbox__btn:hover { background: rgb(255 255 255 / 26%); }
.lightbox__close { top: 1rem; right: 1rem; }
.lightbox__prev { left: 1rem; bottom: 1rem; }
.lightbox__next { right: 1rem; bottom: 1rem; }
.lightbox__count { position: absolute; bottom: 1.8rem; left: 50%; transform: translateX(-50%); font-size: .9rem; opacity: .8; }
@media (min-width: 48rem) {
  .lightbox__prev, .lightbox__next { top: 50%; bottom: auto; transform: translateY(-50%); }
  .lightbox img { max-height: calc(100dvh - 4rem); max-width: calc(100vw - 9rem); }
}

/* ---------- Einbettungen (Rundgang, Buchung) ---------- */

.embed {
  position: relative; overflow: hidden;
  aspect-ratio: 4 / 3; width: 100%;
  border-radius: var(--radius); background: var(--forest-dark); color: var(--white);
}
@media (min-width: 48rem) { .embed { aspect-ratio: 16 / 8; } }
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.embed__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.embed__consent {
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: .75rem;
  padding: 1.5rem; text-align: center;
}
.embed__consent p { max-width: 34rem; margin: 0; font-size: .9rem; text-shadow: 0 1px 6px rgb(0 0 0 / 50%); }

.booking-frame {
  display: grid; place-content: center; gap: .75rem; justify-items: center;
  min-height: 34rem; padding: 2rem 1.25rem; text-align: center;
  border: 2px dashed var(--line); border-radius: var(--radius); background: var(--white); color: var(--muted);
}
.booking-frame .icon { width: 2.5rem; height: 2.5rem; color: var(--moss); }

.tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.5rem; }
.tabs a {
  display: inline-flex; align-items: center; min-height: 2.75rem; padding: .4rem 1.1rem;
  border: 1px solid var(--line); border-radius: 999px; background: var(--white);
  font-weight: 600; text-decoration: none; color: var(--forest-dark);
}
.tabs a[aria-current="page"], .tabs a:hover { background: var(--forest); border-color: var(--forest); color: var(--white); }

/* ---------- Info-/Download-Box ---------- */

.aside-box { padding: 1.5rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.aside-box h3 { margin-bottom: .75rem; }
.link-list { list-style: none; padding: 0; margin: 0; }
.link-list li { margin: 0; border-top: 1px solid var(--line); }
.link-list li:first-child { border-top: 0; }
.link-list a { display: flex; align-items: center; gap: .75rem; min-height: 3.25rem; padding-block: .5rem; font-weight: 600; text-decoration: none; }
.link-list a:hover span { text-decoration: underline; }
.link-list .icon { color: var(--moss); }

.figure-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); }
.figure-grid figure { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.figure-grid img { aspect-ratio: 16 / 10; width: 100%; object-fit: cover; }
.figure-grid figcaption { padding: .9rem 1.1rem 1rem; }
.figure-grid figcaption strong { display: block; color: var(--forest-dark); font-size: 1.1rem; }
.figure-grid figcaption small { color: var(--muted); }

.plan { display: block; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--white); }

/* ---------- Preislisten ---------- */

.jump-nav { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 2rem; padding: 0; list-style: none; }
.jump-nav li { margin: 0; }
.jump-nav a {
  display: inline-flex; align-items: center; gap: .5rem; min-height: 2.75rem; padding: .4rem 1rem;
  border-radius: 999px; background: var(--white); border: 1px solid var(--line);
  font-weight: 600; text-decoration: none; color: var(--forest-dark);
}
.jump-nav a:hover { border-color: var(--forest); }

.pricelist {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: clamp(1.1rem, 4vw, 2.5rem);
}
.pricelist + .pricelist { margin-top: clamp(2rem, 5vw, 3rem); }
.pricelist--special { border-top: 6px solid var(--sun); }
.pricelist__head { display: grid; gap: 1rem; margin-bottom: 1.5rem; }
.pricelist__head h2 { margin: 0; }
.badge {
  justify-self: start; display: inline-flex; align-items: center; gap: .35rem;
  padding: .2rem .7rem; border-radius: 999px; background: var(--sun-soft); color: #6b4f00;
  font-size: .8rem; font-weight: 700; letter-spacing: .04em;
}
@media (min-width: 48rem) {
  .pricelist__head { grid-template-columns: 1fr auto; align-items: start; }
  .pricelist__head > * { grid-column: 1; }
  .pricelist__head > .btn { grid-column: 2; grid-row: 1 / span 3; }
}

.seasons { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.seasons li { margin: 0; display: flex; flex-direction: column; padding: .5rem .9rem; background: var(--forest-soft); border-radius: var(--radius-sm); line-height: 1.35; }
.seasons li:has(.seasons__value:empty) { display: none; }   /* leere Saisonfelder aus dem CMS ausblenden */
.seasons__label { font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--moss); }
.seasons__value { font-weight: 600; font-variant-numeric: tabular-nums; }

.price-block + .price-block { margin-top: 2rem; }
.price-block h3 { font-size: 1.15rem; margin-bottom: .75rem; }

/* Tabelle: auf dem Smartphone als Liste, ab Tablet als echte Tabelle */
.price-table { width: 100%; border-collapse: collapse; margin: 0; font-variant-numeric: tabular-nums; }
.price-table caption { text-align: left; }
.price-table thead { display: none; }
.price-table tr { display: block; padding: .8rem 0; border-top: 1px solid var(--line); }
.price-table tbody tr:first-child { border-top: 0; }
.price-table td { display: flex; justify-content: space-between; gap: 1rem; padding: .15rem 0; }
.price-table td::before { content: attr(data-label); color: var(--muted); font-size: .92rem; }
.price-table td:first-child { display: block; padding-bottom: .35rem; font-weight: 650; color: var(--forest-dark); }
.price-table td:first-child::before { content: none; }
.price-table td:empty { display: none; }
.price-table td:not(:first-child) { font-weight: 600; text-align: right; }
.price-table td.price-table__note { display: block; margin-top: .5rem; padding: .9rem 1rem; background: var(--stone); border-radius: var(--radius-sm); font-weight: 400; text-align: left; }
.price-table td.price-table__note::before { content: none; }
.price-table--single td:not(:first-child)::before { content: none; }
.price-table--single tr { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.price-table--single td:first-child { padding: 0; font-weight: 500; color: var(--ink); }

@media (min-width: 40rem) {
  .price-table thead { display: table-header-group; }
  .price-table tr, .price-table--single tr { display: table-row; padding: 0; border: 0; }
  .price-table td, .price-table th { display: table-cell; padding: .7rem .9rem; border-bottom: 1px solid var(--line); vertical-align: middle; }
  .price-table th { background: var(--forest); color: var(--white); font-size: .9rem; font-weight: 650; text-align: right; white-space: nowrap; }
  .price-table th:first-child { text-align: left; border-radius: var(--radius-sm) 0 0 0; }
  .price-table th:last-child { border-radius: 0 var(--radius-sm) 0 0; }
  .price-table td::before, .price-table td:first-child::before { content: none; }
  .price-table td:first-child, .price-table--single td:first-child { display: table-cell; font-weight: 500; color: var(--ink); padding: .7rem .9rem; }
  .price-table th abbr { text-decoration: none; }
  .price-table td:not(:first-child) { text-align: right; white-space: nowrap; }
  .price-table td:empty { display: table-cell; color: var(--muted); }
  .price-table td:empty::after { content: "–"; }
  .price-table tbody tr:nth-child(even) td { background: #faf8f3; }
  .price-table tbody tr:hover td { background: var(--forest-soft); }
  .price-table td.price-table__note { display: table-cell; margin: 0; border-radius: 0; background: var(--stone); }
}

.pricelist__footer { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .95rem; }

/* ---------- Übernommene Inhaltsseiten (Text, Tabellen, Bilder aus dem CMS) ---------- */

.flow > * + * { margin-top: clamp(2rem, 5vw, 3rem); }
.flow > .prose + .prose { margin-top: 1rem; }
.prose h2 { margin-top: 2rem; font-size: clamp(1.5rem, 4vw, 2rem); }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.75rem; }
.prose ol > li, .prose ul > li { padding-left: .25rem; }
.prose ol > li + li { margin-top: .75rem; }
.prose li > p { margin-bottom: .5rem; }
.prose a { overflow-wrap: anywhere; }
.content-image { margin: 0; max-width: 60rem; }
.split--media .content-image img { aspect-ratio: 4 / 3; max-height: 32rem; }
@media (min-width: 56rem) { .split--media .content-image { position: sticky; top: calc(var(--header-h) + 1.5rem); } }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-bottom: 1rem; }
.content-table { border-collapse: collapse; min-width: 100%; font-size: .95rem; }
.content-table td, .content-table th { padding: .55rem .75rem; border-bottom: 1px solid var(--line); vertical-align: top; text-align: left; }
.content-table p { margin: 0; }

/* ---------- Formulare ---------- */

.form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(1.1rem, 4vw, 2.5rem); }
.form__hint { color: var(--muted); font-size: .9rem; }
.form__group { margin: 0 0 1.75rem; padding: 0; border: 0; min-width: 0; }
.form__group > legend { margin-bottom: 1rem; padding: 0; font-weight: 700; font-size: 1.15rem; color: var(--forest-dark); }
.form__grid { display: grid; gap: 1rem; }
@media (min-width: 40rem) {
  .form__grid { grid-template-columns: 1fr 1fr; }
  .field--full { grid-column: 1 / -1; }
}
.field { display: grid; gap: .35rem; min-width: 0; }
.field label, .field legend { font-weight: 600; font-size: .95rem; }
.req { color: #b04a00; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 3rem; padding: .65rem .85rem;
  font: inherit; font-size: 1rem; /* >= 16px: kein Auto-Zoom auf iOS */
  color: var(--ink); background: var(--paper);
  border: 1px solid #cfc6b4; border-radius: var(--radius-sm);
}
.field textarea { min-height: 8rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--sun); outline-offset: 0; border-color: var(--forest); background: var(--white); }
.field--choices { margin: 1.25rem 0; padding: 0; border: 0; }
.field--choices legend { margin-bottom: .5rem; }
.choice { display: flex; align-items: center; gap: .65rem; min-height: 2.75rem; padding: .35rem .75rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--paper); font-weight: 500 !important; cursor: pointer; }
.choice + .choice { margin-top: .15rem; }
.field .choice input { width: 1.25rem; height: 1.25rem; min-height: 0; padding: 0; margin: 0; accent-color: var(--forest); }
.choice:has(input:checked) { border-color: var(--forest); background: var(--forest-soft); }
.captcha-placeholder { display: grid; place-items: center; width: min(100%, 19rem); height: 4.9rem; margin-bottom: 1.25rem; border: 1px dashed #cfc6b4; border-radius: var(--radius-sm); color: var(--muted); font-size: .85rem; }
.form__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
@media (max-width: 39.99rem) { .form__actions .btn { width: 100%; } }
.form-message { margin-bottom: 1.5rem; padding: 1rem 1.25rem; border-radius: var(--radius); border: 1px solid; }
.form-message--success { background: var(--forest-soft); border-color: var(--moss); color: var(--forest-dark); }

/* ---------- Footer ---------- */

.site-footer { position: relative; margin-top: var(--section); background: var(--forest-dark); color: #d6e1d3; }
.site-footer .ridge { top: calc(-1 * clamp(1.75rem, 4vw, 3.5rem) + 1px); bottom: auto; color: var(--forest-dark); }
.site-footer a { color: var(--white); }
.site-footer a:hover { color: var(--sun); }
.site-footer .btn--light, .site-footer .btn--light:hover { color: var(--forest-dark); }
.site-footer h2 { font-size: 1.6rem; color: var(--white); margin-bottom: .75rem; }
.footer-grid { display: grid; gap: 2.25rem; padding-block: 3.5rem 2.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }
.footer-brand img { width: 11rem; padding: .75rem 1rem; background: var(--paper); border-radius: var(--radius); }
.footer-brand p { margin-top: 1rem; font-size: .9rem; }
.footer-list { list-style: none; padding: 0; margin: 0; }
.footer-list li { margin: 0; }
.footer-list a, .footer-contact a { display: inline-flex; align-items: center; gap: .5rem; min-height: 2.5rem; text-decoration: none; }
.footer-list a:hover, .footer-contact a:hover { text-decoration: underline; }
.footer-contact { display: grid; gap: .1rem; margin-bottom: 1.25rem; }
.footer-contact .icon { color: var(--sun); }
.footer-hours { margin: 0; }
.footer-bottom { border-top: 1px solid rgb(255 255 255 / 12%); padding-block: 1.25rem; font-size: .85rem; color: #a9b9a5; }
.footer-bottom .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem; }

/* Mobile Schnellzugriff */
.quickbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: grid; grid-template-columns: repeat(3, 1fr);
  padding-bottom: env(safe-area-inset-bottom);
  background: var(--white); border-top: 1px solid var(--line); box-shadow: 0 -4px 16px rgb(20 50 30 / 8%);
}
.quickbar a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .15rem;
  min-height: 3.6rem; font-size: .78rem; font-weight: 650; text-decoration: none; color: var(--forest-dark);
}
.quickbar a .icon { width: 1.35rem; height: 1.35rem; }
.quickbar a.is-primary { background: var(--sun); }
body:has(.quickbar) { padding-bottom: calc(3.6rem + env(safe-area-inset-bottom)); }
@media (min-width: 40rem) {
  .quickbar { display: none; }
  body:has(.quickbar) { padding-bottom: 0; }
}


@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

@media print {
  .topbar, .site-header, .quickbar, .site-footer .ridge, .embed, .btn { display: none !important; }
  body { background: #fff; }
  .pricelist { box-shadow: none; border: 0; padding: 0; }
}

/* ==========================================================================
   Ergänzungen für die me#cms-Ausgabe
   ========================================================================== */

/* Inhalte aus dem WYSIWYG-Editor */
.prose img { border-radius: var(--radius-sm); }
.prose table { border-collapse: collapse; }
.prose td, .prose th { padding: .4rem .6rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.notice .prose h2:first-child { margin-top: 0; }

/* Award-Badge im Footer */
.footer-award { display: inline-block; margin-top: 1rem; }
.footer-award img { width: 7rem; height: auto; padding: 0; background: none; border-radius: 0; }

/* Formular-Rückmeldungen und hCaptcha */
.form-message--error { background: #fdecea; border-color: #c0392b; color: #7b1d13; }
.form-message--hidden { display: none; }
.h-captcha { margin-bottom: 1.25rem; min-height: 78px; }

/* Gastmanager-Einbettung (Online-Buchung) */
.booking-embed { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.booking-embed iframe { display: block; width: 100%; min-height: 50rem; border: 0; }

/* Bild neben Text (z. B. Unsere kleine Hütte) */
.content-image--small { max-width: 32rem; }

/* Sonderpreisliste (Checkbox "sonderpreisliste" im CMS): eine Preisspalte */
.pricelist:has(.pricelist__flag) { border-top: 6px solid var(--sun); }
.pricelist:has(.pricelist__flag) .price-table tr { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.pricelist:has(.pricelist__flag) .price-table td:first-child { padding: 0; font-weight: 500; color: var(--ink); }
.pricelist:has(.pricelist__flag) .price-table td:not(:first-child)::before { content: none; }
@media (min-width: 40rem) {
  .pricelist:has(.pricelist__flag) .price-table tr { display: table-row; }
  .pricelist:has(.pricelist__flag) .price-table td:first-child { padding: .7rem .9rem; }
}
.badge[hidden] { display: none !important; }
.pricelist:has(.pricelist__flag) .badge[hidden] { display: inline-flex !important; }
.pricelist__download { margin-top: 1.25rem; }

/* Leere CMS-Überschriften nicht als Abstand anzeigen */
h1:empty, h2:empty, h3:empty { display: none; }

/* Externer Cookie-Hinweis (webservices.garmisch.net, dark-bottom): nicht breiter als der Bildschirm, über der Schnellzugriffsleiste */
.cc_banner { box-sizing: border-box !important; max-width: 100vw !important; left: 0 !important; right: 0 !important; z-index: 60 !important; }
.cc_banner .cc_message { box-sizing: border-box !important; max-width: 100% !important; }

/* WYSIWYG-Inhalte mit festen Inline-Abständen (z. B. padding: 180px) dürfen das Layout nicht sprengen */
.prose [style*="padding"] { padding-left: 0 !important; padding-right: 0 !important; }
.prose [style*="width"] { max-width: 100% !important; }

/* Aus Word eingefügte Inline-Schriften (Arial, 10pt, 12pt) ans Design angleichen; Symbol-Schrift (Aufzählungszeichen) bleibt */
.prose [style*="font-family"]:not([style*="Symbol"]) { font-family: inherit !important; }
.prose [style*="font-size"] { font-size: inherit !important; }
.prose [style*="background"] { background: transparent !important; }
