/* ==========================================================================
   Irslenbach – Layout & Komponenten (MD3)
   ========================================================================== */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0ms !important; animation-duration: 0ms !important; }
}

body {
  margin: 0;
  background: var(--md-sys-color-surface);
  color: var(--md-sys-color-on-surface);
  font-family: var(--md-ref-typeface-plain);
  font-size: 1rem;
  line-height: 1.5;
  letter-spacing: .01em;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--md-sys-color-primary); text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--md-sys-color-primary); outline-offset: 2px; border-radius: 4px; }

[hidden] { display: none !important; }

.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: 16px; top: -100px; z-index: 100;
  background: var(--md-sys-color-primary); color: var(--md-sys-color-on-primary);
  padding: 12px 20px; border-radius: var(--md-sys-shape-corner-full);
}
.skip-link:focus { top: 12px; }

/* ---------- Typografie (MD3 Type Scale) ---------- */
.display-large  { font: 400 clamp(2.75rem, 6vw, 3.5625rem)/1.12 var(--md-ref-typeface-brand); letter-spacing: -.02em; }
.display-medium { font: 400 clamp(2.25rem, 5vw, 2.8125rem)/1.16 var(--md-ref-typeface-brand); letter-spacing: -.01em; }
.display-small  { font: 400 clamp(1.875rem, 4vw, 2.25rem)/1.22 var(--md-ref-typeface-brand); }
.headline-large { font: 400 clamp(1.75rem, 3vw, 2rem)/1.25 var(--md-ref-typeface-brand); }
.headline-medium{ font: 400 1.75rem/1.29 var(--md-ref-typeface-brand); }
.headline-small { font: 400 1.5rem/1.33 var(--md-ref-typeface-brand); }
.title-large    { font: 500 1.375rem/1.27 var(--md-ref-typeface-brand); }
.title-medium   { font: 600 1rem/1.5 var(--md-ref-typeface-plain); letter-spacing: .01em; }
.title-small    { font: 600 .875rem/1.43 var(--md-ref-typeface-plain); letter-spacing: .01em; }
.body-large     { font: 400 1.0625rem/1.6 var(--md-ref-typeface-plain); }
.body-medium    { font: 400 .875rem/1.43 var(--md-ref-typeface-plain); letter-spacing: .015em; }
.label-large    { font: 600 .875rem/1.43 var(--md-ref-typeface-plain); letter-spacing: .01em; }
.label-medium   { font: 600 .75rem/1.33 var(--md-ref-typeface-plain); letter-spacing: .04em; }

h1, h2, h3, h4 { margin: 0; font-weight: 400; }
h1 strong, h2 strong { font-weight: 600; color: var(--md-sys-color-primary); }
p { margin: 0 0 1em; }
.muted { color: var(--md-sys-color-on-surface-variant); }
.eyebrow {
  display: inline-block; margin-bottom: 12px;
  font: 600 .8125rem/1.3 var(--md-ref-typeface-plain); letter-spacing: .08em; text-transform: uppercase;
  color: var(--md-sys-color-tertiary);
}

.prose { max-width: 68ch; }
.prose > :first-child { margin-top: 0; }
.prose h2 { font: 400 1.75rem/1.29 var(--md-ref-typeface-brand); margin: 1.6em 0 .5em; }
.prose h3 { font: 500 1.375rem/1.27 var(--md-ref-typeface-brand); margin: 1.4em 0 .4em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin: .3em 0; }
.prose li::marker { color: var(--md-sys-color-tertiary); }

/* ---------- Layout ---------- */
.container { width: min(100% - 2 * var(--gutter), var(--page-max)); margin-inline: auto; }
.section { padding-block: var(--section-space); }
.section--tight { padding-block: calc(var(--section-space) * .6); }
.section-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head p { margin-top: 16px; color: var(--md-sys-color-on-surface-variant); }
.surface-low { background: var(--md-sys-color-surface-container-low); }
.surface-tonal {
  background: var(--md-sys-color-surface-container);
  border-radius: var(--md-sys-shape-corner-extra-large-increased);
}
.grid { display: grid; gap: 24px; }
.grid-2 { display: grid; gap: clamp(24px, 5vw, 72px); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 900px) { .grid-2 { grid-template-columns: 1fr 1fr; } }

/* ---------- Top App Bar ---------- */
.top-app-bar {
  position: sticky; top: 0; z-index: 50;
  background: var(--md-sys-color-surface);
  transition: background var(--md-sys-motion-duration-medium) var(--md-sys-motion-easing-standard);
  --logo-bg: var(--md-sys-color-surface);
}
.top-app-bar.is-scrolled {
  background: var(--md-sys-color-surface-container);
  --logo-bg: var(--md-sys-color-surface-container);
}
.top-app-bar__inner {
  display: flex; align-items: center; gap: 16px;
  min-height: 80px;
}
.brand { display: block; flex: none; border-radius: 8px; }
.brand .logo { height: 56px; width: auto; }
@media (max-width: 599px) { .brand .logo { height: 46px; } .top-app-bar__inner { min-height: 68px; } }

.main-nav { margin-left: auto; display: none; }
.main-nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.main-nav a {
  position: relative; display: inline-flex; align-items: center; height: 40px; padding: 0 16px;
  border-radius: var(--md-sys-shape-corner-full);
  color: var(--md-sys-color-on-surface-variant); text-decoration: none;
  font: 600 .875rem/1 var(--md-ref-typeface-plain); letter-spacing: .01em;
}
.main-nav a:hover { background: color-mix(in srgb, var(--md-sys-color-on-surface) 8%, transparent); color: var(--md-sys-color-on-surface); }
.main-nav a[aria-current="page"] {
  background: var(--md-sys-color-secondary-container);
  color: var(--md-sys-color-on-secondary-container);
}
.top-app-bar__cta { display: none; }
.menu-button { margin-left: auto; }
@media (min-width: 1024px) {
  .main-nav { display: block; }
  .top-app-bar__cta { display: inline-flex; }
  .top-app-bar .menu-button { display: none; }
}

/* ---------- Navigation Drawer (mobil) ---------- */
.nav-drawer {
  border: 0; padding: 0; margin: 0 0 0 auto; height: 100dvh; max-height: 100dvh;
  width: min(360px, 88vw);
  background: var(--md-sys-color-surface-container-low);
  color: var(--md-sys-color-on-surface);
  border-radius: var(--md-sys-shape-corner-large) 0 0 var(--md-sys-shape-corner-large);
}
.nav-drawer::backdrop { background: rgb(0 0 0 / .32); }
.nav-drawer[open] { animation: drawer-in var(--md-sys-motion-duration-medium) var(--md-sys-motion-easing-emphasized-decelerate); }
@keyframes drawer-in { from { transform: translateX(100%); } }
.nav-drawer__inner { padding: 12px; display: flex; flex-direction: column; height: 100%; }
.nav-drawer__head { display: flex; justify-content: flex-end; padding: 4px; }
.nav-drawer ul { list-style: none; margin: 8px 0; padding: 0; }
.nav-drawer ul a {
  display: flex; align-items: center; height: 56px; padding: 0 24px;
  border-radius: var(--md-sys-shape-corner-full);
  color: var(--md-sys-color-on-surface-variant); text-decoration: none;
  font: 600 1rem/1 var(--md-ref-typeface-plain);
}
.nav-drawer ul a:hover { background: color-mix(in srgb, var(--md-sys-color-on-surface) 8%, transparent); }
.nav-drawer ul a[aria-current="page"] { background: var(--md-sys-color-secondary-container); color: var(--md-sys-color-on-secondary-container); }
.nav-drawer__foot { margin-top: auto; padding: 16px 12px; display: grid; gap: 12px; }

/* ---------- Buttons ---------- */
.btn {
  --_bg: transparent; --_fg: var(--md-sys-color-primary); --_state: var(--_fg);
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 40px; padding: 0 24px;
  border: 0; border-radius: var(--md-sys-shape-corner-full);
  background: var(--_bg); color: var(--_fg);
  font: 600 .875rem/1 var(--md-ref-typeface-plain); letter-spacing: .01em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: box-shadow var(--md-sys-motion-duration-short), border-radius var(--md-sys-motion-duration-short) var(--md-sys-motion-easing-standard);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--_state); opacity: 0;
  transition: opacity var(--md-sys-motion-duration-short);
}
.btn:hover::before { opacity: .08; }
.btn:active::before { opacity: .12; }
.btn:active { border-radius: var(--md-sys-shape-corner-small); }
.btn:disabled, .btn[aria-disabled="true"] {
  --_bg: color-mix(in srgb, var(--md-sys-color-on-surface) 12%, transparent);
  --_fg: color-mix(in srgb, var(--md-sys-color-on-surface) 38%, transparent);
  cursor: not-allowed; box-shadow: none;
}
.btn:disabled::before { display: none; }
.btn--lg { min-height: 56px; padding: 0 28px; font-size: 1rem; }
.btn--filled { --_bg: var(--md-sys-color-primary); --_fg: var(--md-sys-color-on-primary); }
.btn--filled:hover { box-shadow: var(--md-sys-elevation-1); }
.btn--tonal { --_bg: var(--md-sys-color-secondary-container); --_fg: var(--md-sys-color-on-secondary-container); }
.btn--outlined { box-shadow: inset 0 0 0 1px var(--md-sys-color-outline-variant); --_fg: var(--md-sys-color-on-surface-variant); }
.btn--text { padding: 0 12px; }
.btn--block { width: 100%; }
.btn svg { width: 20px; height: 20px; flex: none; }

.icon-btn {
  position: relative; display: inline-grid; place-items: center;
  width: 48px; height: 48px; border: 0; border-radius: 50%;
  background: transparent; color: var(--md-sys-color-on-surface-variant); cursor: pointer;
}
.icon-btn:hover { background: color-mix(in srgb, var(--md-sys-color-on-surface) 8%, transparent); }
.icon-btn svg { width: 24px; height: 24px; }
.icon-btn:disabled { opacity: .38; cursor: default; background: transparent; }

/* Extended FAB (mobil: „Buchen“) */
.fab {
  position: fixed; right: 16px; bottom: max(16px, env(safe-area-inset-bottom)); z-index: 40;
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 56px; padding: 0 20px 0 16px;
  border-radius: var(--md-sys-shape-corner-large);
  background: var(--md-sys-color-primary-container); color: var(--md-sys-color-on-primary-container);
  box-shadow: var(--md-sys-elevation-3);
  font: 600 1rem/1 var(--md-ref-typeface-plain); text-decoration: none;
  transition: transform var(--md-sys-motion-duration-medium) var(--md-sys-motion-easing-standard), opacity var(--md-sys-motion-duration-medium);
}
.fab svg { width: 24px; height: 24px; }
.fab.is-hidden { transform: translateY(140%); opacity: 0; pointer-events: none; }
@media (min-width: 1024px) { .fab { display: none; } }

/* ---------- Chips ---------- */
.chip-set { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 16px;
  border-radius: var(--md-sys-shape-corner-small);
  box-shadow: inset 0 0 0 1px var(--md-sys-color-outline-variant);
  background: transparent; color: var(--md-sys-color-on-surface-variant);
  font: 600 .875rem/1 var(--md-ref-typeface-plain); border: 0; cursor: default;
}
button.chip { cursor: pointer; }
button.chip:hover { background: color-mix(in srgb, var(--md-sys-color-on-surface-variant) 8%, transparent); }
.chip[aria-pressed="true"] {
  background: var(--md-sys-color-secondary-container); color: var(--md-sys-color-on-secondary-container);
  box-shadow: none;
}
.chip--green { background: color-mix(in srgb, var(--md-sys-color-tertiary-container) 55%, var(--md-sys-color-surface-container-lowest)); color: var(--md-sys-color-on-tertiary-container); box-shadow: none; }

/* ---------- Cards ---------- */
.card {
  position: relative; overflow: hidden;
  border-radius: var(--md-sys-shape-corner-medium);
  background: var(--md-sys-color-surface-container-low);
  color: var(--md-sys-color-on-surface);
}
.card--filled { background: var(--md-sys-color-surface-container-highest); }
.card--outlined { background: var(--md-sys-color-surface); box-shadow: inset 0 0 0 1px var(--md-sys-color-outline-variant); }
.card--elevated { background: var(--md-sys-color-surface-container-low); box-shadow: var(--md-sys-elevation-1); }
.card__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card__body { padding: 20px 24px 24px; }
.card__body > :last-child { margin-bottom: 0; }
a.card { text-decoration: none; transition: box-shadow var(--md-sys-motion-duration-short); }
a.card:hover { box-shadow: var(--md-sys-elevation-2); }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(16px, 4vw, 48px); padding-bottom: clamp(48px, 8vw, 96px); }
.hero__grid { display: grid; gap: clamp(32px, 5vw, 64px); align-items: center; }
@media (min-width: 960px) { .hero__grid { grid-template-columns: 5fr 6fr; } }
.hero__text h1 { margin-bottom: 24px; }
.hero__text .body-large { color: var(--md-sys-color-on-surface-variant); max-width: 46ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__media { position: relative; isolation: isolate; }
.hero__media img {
  width: 100%; aspect-ratio: 4 / 3.2; object-fit: cover;
  border-radius: var(--md-sys-shape-corner-extra-large-increased);
}
.hero__badge {
  position: absolute; left: clamp(-12px, -2vw, -24px); bottom: 28px;
  display: grid; gap: 2px; padding: 16px 22px;
  background: var(--md-sys-color-surface-container-lowest); color: var(--md-sys-color-on-surface);
  border-radius: var(--md-sys-shape-corner-large); box-shadow: var(--md-sys-elevation-2);
}
@media (max-width: 959px) { .hero__badge { left: 16px; bottom: 16px; } }
.hero__badge strong { font: 500 1.5rem/1.1 var(--md-ref-typeface-brand); }
.hero__badge span { font: 400 .875rem/1.3 var(--md-ref-typeface-plain); color: var(--md-sys-color-on-surface-variant); }

/* Grüner Schwung (aus dem Logo) */
.swoosh { position: absolute; pointer-events: none; color: var(--brand-green); z-index: -1; }
.hero__media .swoosh { right: -5%; top: -12%; width: 30%; }
@media (max-width: 959px) { .hero__media .swoosh { right: -2%; width: 26%; } }
.swoosh-divider { display: block; width: 100%; height: 48px; color: var(--brand-green); }

/* ---------- Eckdaten ---------- */
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 760px) { .facts { grid-template-columns: repeat(4, 1fr); } }
.fact {
  padding: 24px; border-radius: var(--md-sys-shape-corner-large);
  background: var(--md-sys-color-surface-container-low);
}
.fact__value { display: block; font: 400 clamp(1.75rem, 3.5vw, 2.25rem)/1.1 var(--md-ref-typeface-brand); color: var(--md-sys-color-on-surface); }
.fact__label { display: block; margin-top: 6px; color: var(--md-sys-color-on-surface-variant); font-size: .9375rem; }

/* ---------- Highlights (alternierend) ---------- */
.feature { display: grid; gap: clamp(24px, 5vw, 72px); align-items: center; }
.feature + .feature { margin-top: clamp(48px, 8vw, 104px); }
@media (min-width: 900px) {
  .feature { grid-template-columns: 7fr 5fr; }
  .feature:nth-child(even) { grid-template-columns: 5fr 7fr; }
  .feature:nth-child(even) .feature__media { order: 2; }
}
.feature__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--md-sys-shape-corner-extra-large); }
.feature__text h3 { margin-bottom: 16px; }
.feature__text p { color: var(--md-sys-color-on-surface-variant); }

/* ---------- Bewertungen ---------- */
.reviews { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.review-score {
  display: block; padding: 24px; border-radius: var(--md-sys-shape-corner-large);
  background: var(--md-sys-color-surface-container-lowest); color: var(--md-sys-color-on-surface); text-decoration: none;
}
a.review-score:hover { box-shadow: var(--md-sys-elevation-1); }
.review-score__value { font: 400 2.5rem/1 var(--md-ref-typeface-brand); }
.review-score__value small { font-size: 1rem; color: var(--md-sys-color-on-surface-variant); }
.review-score__meta { display: block; margin-top: 8px; color: var(--md-sys-color-on-surface-variant); font-size: .9375rem; }
.review-score__platform { display: block; margin-top: 2px; font-weight: 600; }
.quotes { display: grid; gap: 16px; margin-top: 16px; }
@media (min-width: 760px) { .quotes { grid-template-columns: 1fr 1fr; } }
.quote {
  margin: 0; padding: 28px; border-radius: var(--md-sys-shape-corner-large);
  background: var(--md-sys-color-surface-container-lowest);
}
.quote p { font: 400 1.125rem/1.55 var(--md-ref-typeface-brand); margin-bottom: 16px; }
.quote footer { color: var(--md-sys-color-on-surface-variant); font-size: .9375rem; }
.direct-hint {
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px; justify-content: space-between;
  margin-top: 16px; padding: 24px 28px; border-radius: var(--md-sys-shape-corner-large);
  background: color-mix(in srgb, var(--md-sys-color-tertiary-container) 45%, var(--md-sys-color-surface-container-lowest));
  color: var(--md-sys-color-on-surface);
}
.direct-hint p { margin: 0; max-width: 60ch; }

/* ---------- Gastgeber ---------- */
.hosts__img img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50% 50% var(--md-sys-shape-corner-extra-large) 50%; }

/* ---------- Teaser-Karten ---------- */
.teasers { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.teaser .card__body h3 { margin-bottom: 8px; }
.teaser .card__body p { color: var(--md-sys-color-on-surface-variant); }

/* ---------- Seitenkopf (Unterseiten) ---------- */
.page-head { padding-top: clamp(24px, 5vw, 64px); padding-bottom: clamp(32px, 5vw, 56px); }
.page-head h1 { margin-bottom: 16px; }
.page-head .body-large { color: var(--md-sys-color-on-surface-variant); max-width: 60ch; }

/* ---------- Galerie ---------- */
.gallery {
  display: grid; gap: 8px;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 760px) { .gallery { grid-template-columns: repeat(4, 1fr); } }
.gallery button {
  display: block; padding: 0; border: 0; background: none; cursor: zoom-in;
  border-radius: var(--md-sys-shape-corner-medium); overflow: hidden;
}
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform var(--md-sys-motion-duration-long) var(--md-sys-motion-easing-standard); }
.gallery button:hover img { transform: scale(1.03); }
@media (min-width: 760px) {
  .gallery button:first-child { grid-column: span 2; grid-row: span 2; }
}

/* ---------- Dialog / Lightbox ---------- */
.dialog {
  border: 0; padding: 0; max-width: min(1200px, 96vw); max-height: 94dvh; width: 100%;
  background: var(--md-sys-color-surface-container-high); color: var(--md-sys-color-on-surface);
  border-radius: var(--md-sys-shape-corner-extra-large);
}
.dialog::backdrop { background: rgb(0 0 0 / .72); }
.dialog[open] { animation: dialog-in var(--md-sys-motion-duration-medium) var(--md-sys-motion-easing-emphasized-decelerate); }
@keyframes dialog-in { from { opacity: 0; transform: scale(.96); } }
.lightbox { background: #000; color: #fff; }
.lightbox figure { margin: 0; position: relative; }
.lightbox img { width: 100%; max-height: 86dvh; object-fit: contain; }
.lightbox figcaption { padding: 12px 20px 16px; color: #ddd; font-size: .9375rem; }
.lightbox .icon-btn { position: absolute; color: #fff; background: rgb(0 0 0 / .45); }
.lightbox .icon-btn:hover { background: rgb(0 0 0 / .65); }
.lightbox__close { top: 12px; right: 12px; }
.lightbox__prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 12px; top: 50%; transform: translateY(-50%); }

/* ---------- Grundriss ---------- */
.floorplan { display: grid; gap: 24px; align-items: start; }
@media (min-width: 960px) { .floorplan { grid-template-columns: 7fr 5fr; } }
.floorplan__plan {
  padding: clamp(12px, 3vw, 28px); border-radius: var(--md-sys-shape-corner-extra-large);
  background: var(--plan-bg); box-shadow: inset 0 0 0 1px var(--md-sys-color-outline-variant);
}
.floorplan__plan svg { width: 100%; height: auto; }
.room-hit {
  fill: var(--md-sys-color-primary); fill-opacity: 0; cursor: pointer;
  stroke: var(--md-sys-color-primary); stroke-opacity: 0; stroke-width: 2.5;
  transition: fill-opacity var(--md-sys-motion-duration-short), stroke-opacity var(--md-sys-motion-duration-short);
}
.room-hit:hover, .room-hit:focus-visible { fill-opacity: .10; stroke-opacity: .5; outline: none; }
.room-hit[aria-pressed="true"] { fill-opacity: .14; stroke-opacity: 1; }
.floorplan__rooms { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.room-panel { padding: 0; }
.room-panel__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.room-panel__thumbs { display: flex; gap: 8px; padding: 12px 24px 0; overflow-x: auto; }
.room-panel__thumbs button { flex: none; padding: 0; border: 0; background: none; cursor: pointer; border-radius: 8px; overflow: hidden; outline-offset: 2px; }
.room-panel__thumbs img { width: 72px; height: 54px; object-fit: cover; opacity: .7; }
.room-panel__thumbs button[aria-current="true"] img { opacity: 1; }
.room-panel__thumbs button[aria-current="true"] { box-shadow: 0 0 0 2px var(--md-sys-color-primary); }

/* ---------- Ausstattungsliste ---------- */
.amenities { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.amenity-group { padding: 24px; border-radius: var(--md-sys-shape-corner-large); background: var(--md-sys-color-surface-container-low); }
.amenity-group h3 { margin-bottom: 12px; }
.amenity-group ul { list-style: none; margin: 0; padding: 0; }
.amenity-group li { position: relative; padding: 6px 0 6px 26px; color: var(--md-sys-color-on-surface-variant); }
.amenity-group li::before {
  content: ""; position: absolute; left: 2px; top: .95em; width: 12px; height: 6px;
  border-left: 2.5px solid var(--md-sys-color-tertiary); border-bottom: 2.5px solid var(--md-sys-color-tertiary);
  transform: translateY(-60%) rotate(-45deg);
}

/* ---------- Preise ---------- */
.price-list { list-style: none; margin: 0; padding: 0; }
.price-list li {
  display: flex; justify-content: space-between; gap: 16px; align-items: baseline;
  padding: 16px 0; border-bottom: 1px solid var(--md-sys-color-outline-variant);
}
.price-list li:last-child { border-bottom: 0; }
.price-list strong { font: 500 1.25rem/1.2 var(--md-ref-typeface-brand); white-space: nowrap; }

/* ---------- Buchungs-Widget ---------- */
.booking {
  display: grid; gap: 0;
  border-radius: var(--md-sys-shape-corner-extra-large);
  background: var(--md-sys-color-surface-container-low);
  overflow: hidden;
}
@media (min-width: 960px) { .booking { grid-template-columns: 1fr 380px; } }
.booking__calendar { padding: clamp(16px, 3vw, 32px); }
.booking__summary {
  padding: clamp(20px, 3vw, 32px);
  background: var(--md-sys-color-surface-container);
  display: flex; flex-direction: column; gap: 20px;
}
.booking__summary h3 { margin: 0; }
.booking__legend { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 16px; color: var(--md-sys-color-on-surface-variant); font-size: .875rem; }
.booking__legend span { display: inline-flex; align-items: center; gap: 8px; }
.booking__legend i { width: 14px; height: 14px; border-radius: 50%; display: inline-block; }
.legend-free { box-shadow: inset 0 0 0 1px var(--md-sys-color-outline); }
.legend-occupied { background: var(--cal-occupied); }
.legend-selected { background: var(--md-sys-color-primary); }

.cal-nav { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.cal-months { display: grid; gap: 32px; }
@media (min-width: 700px) { .cal-months { grid-template-columns: 1fr 1fr; } }
.cal-month h4 { font: 600 1rem/1.5 var(--md-ref-typeface-plain); margin: 0 0 8px; text-align: center; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); row-gap: 2px; }
.cal-dow { text-align: center; font: 600 .75rem/32px var(--md-ref-typeface-plain); color: var(--md-sys-color-on-surface-variant); }
.cal-day {
  position: relative; aspect-ratio: 1; max-height: 48px; width: 100%;
  display: grid; place-items: center; padding: 0;
  border: 0; background: transparent; color: var(--md-sys-color-on-surface);
  font: 500 .9375rem/1 var(--md-ref-typeface-plain); cursor: pointer; isolation: isolate;
}
.cal-day span {
  display: grid; place-items: center; width: 40px; height: 40px; max-width: 100%; max-height: 100%;
  border-radius: 50%;
}
.cal-day:hover:not(:disabled) span { background: color-mix(in srgb, var(--md-sys-color-on-surface) 8%, transparent); }
.cal-day.is-today span { box-shadow: inset 0 0 0 1px var(--md-sys-color-primary); color: var(--md-sys-color-primary); }
.cal-day:disabled { cursor: default; color: color-mix(in srgb, var(--md-sys-color-on-surface) 38%, transparent); }
.cal-day.is-occupied span { background: var(--cal-occupied); text-decoration: line-through; text-decoration-color: color-mix(in srgb, var(--md-sys-color-on-surface) 30%, transparent); }
.cal-day.is-checkout-only { cursor: pointer; }
.cal-day.in-range::before {
  content: ""; position: absolute; inset: 4px 0; z-index: -1; background: var(--cal-range);
}
.cal-day.is-start::before { left: 50%; }
.cal-day.is-end::before { right: 50%; }
.cal-day.is-start.is-end::before { display: none; }
.cal-day.is-start span, .cal-day.is-end span {
  background: var(--md-sys-color-primary); color: var(--md-sys-color-on-primary); text-decoration: none;
}
.cal-day.is-start:not(.has-end)::before { display: none; }

.stepper { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.stepper__control { display: inline-flex; align-items: center; gap: 4px; padding: 4px; border-radius: var(--md-sys-shape-corner-full); box-shadow: inset 0 0 0 1px var(--md-sys-color-outline-variant); }
.stepper__control output { min-width: 28px; text-align: center; font: 600 1.125rem/1 var(--md-ref-typeface-plain); }
.stepper .icon-btn { width: 40px; height: 40px; }

.booking__dates { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.date-field {
  padding: 10px 16px; border-radius: var(--md-sys-shape-corner-extra-small);
  box-shadow: inset 0 0 0 1px var(--md-sys-color-outline);
  background: var(--md-sys-color-surface-container-lowest);
}
.date-field small { display: block; color: var(--md-sys-color-on-surface-variant); font: 600 .75rem/1.3 var(--md-ref-typeface-plain); letter-spacing: .03em; }
.date-field strong { display: block; font: 500 1rem/1.5 var(--md-ref-typeface-plain); }
.date-field.is-active { box-shadow: inset 0 0 0 2px var(--md-sys-color-primary); }

.breakdown { list-style: none; margin: 0; padding: 0; }
.breakdown li { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; color: var(--md-sys-color-on-surface-variant); }
.breakdown li.total {
  margin-top: 8px; padding-top: 14px; border-top: 1px solid var(--md-sys-color-outline-variant);
  color: var(--md-sys-color-on-surface); font-weight: 600; font-size: 1.125rem;
}
.booking__msg { margin: 0; padding: 12px 16px; border-radius: var(--md-sys-shape-corner-medium); background: var(--md-sys-color-surface-container-highest); font-size: .9375rem; }
.booking__msg.is-error { background: var(--md-sys-color-error-container); color: var(--md-sys-color-on-error-container); }
.booking__fineprint { margin: 0; color: var(--md-sys-color-on-surface-variant); font-size: .8125rem; line-height: 1.5; }

/* ---------- Ausflugsziele ---------- */
.places { display: grid; gap: 16px; align-items: start; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); margin-top: 24px; }
.place .card__body { display: flex; flex-direction: column; gap: 8px; height: 100%; }
.place__meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.place__distance { color: var(--md-sys-color-on-surface-variant); font-size: .875rem; font-weight: 600; }
.place p { color: var(--md-sys-color-on-surface-variant); margin: 0; }
.place[hidden] { display: none; }

/* ---------- Karte (2-Klick) ---------- */
.map-consent {
  position: relative; display: grid; place-items: center; text-align: center;
  min-height: 360px; padding: 32px; border-radius: var(--md-sys-shape-corner-extra-large);
  background:
    radial-gradient(circle at 30% 40%, color-mix(in srgb, var(--brand-green) 18%, transparent), transparent 55%),
    radial-gradient(circle at 70% 70%, color-mix(in srgb, var(--brand-magenta) 10%, transparent), transparent 50%),
    var(--md-sys-color-surface-container);
}
.map-consent p { max-width: 46ch; color: var(--md-sys-color-on-surface-variant); }
.map-frame { width: 100%; height: 420px; border: 0; border-radius: var(--md-sys-shape-corner-extra-large); }

/* ---------- Formular (Outlined Text Field) ---------- */
.form { display: grid; gap: 20px; max-width: 640px; }
.form-row { display: grid; gap: 20px; }
@media (min-width: 600px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field { position: relative; }
.field input, .field textarea, .field select {
  width: 100%; min-height: 56px; padding: 16px; border: 0;
  border-radius: var(--md-sys-shape-corner-extra-small);
  box-shadow: inset 0 0 0 1px var(--md-sys-color-outline);
  background: transparent; color: var(--md-sys-color-on-surface);
  font: 400 1rem/1.5 var(--md-ref-typeface-plain);
}
.field textarea { min-height: 160px; resize: vertical; }
.field input:hover, .field textarea:hover { box-shadow: inset 0 0 0 1px var(--md-sys-color-on-surface); }
.field input:focus, .field textarea:focus { outline: none; box-shadow: inset 0 0 0 2px var(--md-sys-color-primary); }
.field label {
  position: absolute; left: 12px; top: -9px; padding: 0 4px;
  background: var(--md-sys-color-surface); color: var(--md-sys-color-on-surface-variant);
  font: 500 .75rem/1.4 var(--md-ref-typeface-plain); letter-spacing: .02em;
}
.field input:focus + label, .field textarea:focus + label { color: var(--md-sys-color-primary); }
.field .supporting { display: block; margin: 4px 16px 0; font-size: .75rem; color: var(--md-sys-color-on-surface-variant); }
.field--error input, .field--error textarea { box-shadow: inset 0 0 0 2px var(--md-sys-color-error); }
.field--error .supporting { color: var(--md-sys-color-error); }
.hp { position: absolute; left: -9999px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .9375rem; color: var(--md-sys-color-on-surface-variant); }
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--md-sys-color-primary); flex: none; }
.alert { padding: 16px 20px; border-radius: var(--md-sys-shape-corner-medium); }
.alert--success { background: var(--md-sys-color-tertiary-container); color: var(--md-sys-color-on-tertiary-container); }
.alert--error { background: var(--md-sys-color-error-container); color: var(--md-sys-color-on-error-container); }

/* ---------- Kontaktkarte ---------- */
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.contact-list a, .contact-list span.item {
  display: grid; gap: 2px; padding: 14px 16px; border-radius: var(--md-sys-shape-corner-medium);
  color: var(--md-sys-color-on-surface); text-decoration: none;
}
.contact-list a:hover { background: color-mix(in srgb, var(--md-sys-color-on-surface) 6%, transparent); }
.contact-list small { color: var(--md-sys-color-on-surface-variant); font-size: .8125rem; font-weight: 600; letter-spacing: .02em; }
.contact-list strong { font-weight: 500; font-size: 1.0625rem; }

/* ---------- Gästemappe ---------- */
.wifi {
  display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  padding: 24px 28px; border-radius: var(--md-sys-shape-corner-extra-large);
  background: var(--md-sys-color-primary-container); color: var(--md-sys-color-on-primary-container);
}
.wifi small { display: block; font-weight: 600; font-size: .8125rem; opacity: .8; }
.wifi strong { font: 500 1.5rem/1.3 var(--md-ref-typeface-brand); word-break: break-all; }
.guide { display: grid; gap: 8px; margin-top: 24px; }
.guide details { border-radius: var(--md-sys-shape-corner-large); background: var(--md-sys-color-surface-container-low); }
.guide summary { cursor: pointer; padding: 20px 24px; font: 500 1.25rem/1.3 var(--md-ref-typeface-brand); list-style: none; display: flex; justify-content: space-between; align-items: center; }
.guide summary::-webkit-details-marker { display: none; }
.guide summary::after { content: "+"; font-size: 1.5rem; color: var(--md-sys-color-primary); }
.guide details[open] summary::after { content: "–"; }
.guide .prose { padding: 0 24px 20px; }

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  margin-top: calc(var(--section-space) + 56px);
  background: var(--md-sys-color-surface-container);
  --logo-bg: var(--md-sys-color-surface-container);
  padding-block: 56px 32px;
}
.footer-wave {
  position: absolute; left: 0; right: 0; bottom: calc(100% - 1px);
  width: 100%; height: clamp(40px, 5vw, 72px); display: block;
}
.footer-wave__fill { fill: var(--md-sys-color-surface-container); }
.footer-wave__stroke { fill: var(--brand-green); }
.footer-grid { display: grid; gap: 32px; }
@media (min-width: 860px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; } }
.site-footer .logo { height: 64px; width: auto; margin-bottom: 16px; }
.site-footer h2 { font: 600 .875rem/1.4 var(--md-ref-typeface-plain); letter-spacing: .06em; text-transform: uppercase; color: var(--md-sys-color-on-surface-variant); margin-bottom: 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 6px 0; }
.site-footer a { color: var(--md-sys-color-on-surface); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer address { font-style: normal; color: var(--md-sys-color-on-surface-variant); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--md-sys-color-outline-variant); color: var(--md-sys-color-on-surface-variant); font-size: .875rem; }
.theme-switch { display: inline-flex; gap: 4px; }
.theme-switch button {
  border: 0; background: transparent; color: var(--md-sys-color-on-surface-variant);
  padding: 6px 12px; border-radius: var(--md-sys-shape-corner-full); cursor: pointer; font: 600 .8125rem/1 var(--md-ref-typeface-plain);
}
.theme-switch button[aria-pressed="true"] { background: var(--md-sys-color-secondary-container); color: var(--md-sys-color-on-secondary-container); }

/* Scroll-Einblendung (dezent) */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity var(--md-sys-motion-duration-long) var(--md-sys-motion-easing-standard), transform var(--md-sys-motion-duration-long) var(--md-sys-motion-easing-emphasized-decelerate); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Tarifwahl (Direkt / Online) ---------- */
.tariffs { display: grid; gap: 8px; }
.tariff {
  position: relative; display: flex; gap: 14px; align-items: flex-start;
  padding: 16px; border-radius: var(--md-sys-shape-corner-large);
  background: var(--md-sys-color-surface-container-low);
  box-shadow: inset 0 0 0 1px var(--md-sys-color-outline-variant);
  cursor: pointer;
  transition: box-shadow var(--md-sys-motion-duration-short), background var(--md-sys-motion-duration-short);
}
.tariff:hover { background: var(--md-sys-color-surface-container-lowest); }
.tariff:has(input:checked) {
  background: var(--md-sys-color-surface-container-lowest);
  box-shadow: inset 0 0 0 2px var(--md-sys-color-primary);
}
.tariff input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--md-sys-color-primary); }
.tariff__body { display: grid; gap: 4px; flex: 1; min-width: 0; }
.tariff__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.tariff__title { font: 600 1rem/1.4 var(--md-ref-typeface-plain); }
.tariff__price { font: 500 1.125rem/1.2 var(--md-ref-typeface-brand); white-space: nowrap; }
.tariff__text { font-size: .875rem; color: var(--md-sys-color-on-surface-variant); }
.tariff__saving {
  justify-self: start; margin-top: 4px; padding: 4px 10px; border-radius: var(--md-sys-shape-corner-small);
  background: color-mix(in srgb, var(--md-sys-color-tertiary-container) 55%, var(--md-sys-color-surface-container-lowest));
  color: var(--md-sys-color-on-tertiary-container); font: 600 .8125rem/1.3 var(--md-ref-typeface-plain);
}
.tariff__saving[hidden] { display: none; }

/* ---------- Anfrage-Dialog ---------- */
.request-dialog { max-width: 620px; }
.request-dialog .form { max-width: none; padding: clamp(20px, 4vw, 32px); }
.request-dialog__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: -8px -8px 0 0; }
.request-dialog .field label { background: var(--md-sys-color-surface-container-high); }
.request-dialog__actions { display: flex; justify-content: flex-end; gap: 8px; flex-wrap: wrap; }
.request-summary {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; padding: 16px 20px;
  border-radius: var(--md-sys-shape-corner-large); background: var(--md-sys-color-surface-container-lowest);
}
.request-summary small { display: block; color: var(--md-sys-color-on-surface-variant); font: 600 .75rem/1.3 var(--md-ref-typeface-plain); letter-spacing: .03em; }
.request-summary strong { font-weight: 500; }
@media (max-width: 520px) { .request-summary { grid-template-columns: 1fr; } }

/* ---------- Preistabelle zweispaltig ---------- */
.price-table { width: 100%; border-collapse: collapse; }
.price-table th, .price-table td { padding: 14px 0; text-align: right; border-bottom: 1px solid var(--md-sys-color-outline-variant); vertical-align: baseline; }
.price-table th:first-child, .price-table td:first-child { text-align: left; padding-right: 16px; }
.price-table thead th { font: 600 .8125rem/1.3 var(--md-ref-typeface-plain); letter-spacing: .03em; color: var(--md-sys-color-on-surface-variant); padding-top: 0; }
.price-table thead th + th { padding-left: 16px; }
.price-table td + td { padding-left: 16px; white-space: nowrap; font: 500 1.125rem/1.2 var(--md-ref-typeface-brand); }
.price-table .col-direct { color: var(--md-sys-color-primary); }
.price-table tr:last-child td { border-bottom: 0; }

/* ---------- Spamschutz ---------- */
.captcha { display: grid; gap: 8px; min-height: 0; }
.captcha__note { margin: 0; font-size: .8125rem; color: var(--md-sys-color-on-surface-variant); }
.captcha--missing .captcha__note { color: var(--md-sys-color-error); font-weight: 600; }
.captcha--missing .captcha__note::before { content: "Bitte bestätigen Sie die Sicherheitsabfrage. "; }
.captcha__challenge { position: relative; z-index: 10; }
