/* Midori – the green guesthouse | statische Website
   Gestaltung angelehnt an das alte Template (templates/midori/css/basic.css):
   Varela Round, Grün #59ad46, graue Texte, Überschriften in Großbuchstaben, flache Flächen. */

@font-face {
  font-family: "Varela Round";
  src: url("../fonts/varela-round-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --text-xs: 0.75rem;
  --text-sm: 0.8125rem;
  --text-base: 0.9375rem;
  --text-md: 1rem;
  --text-lg: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
  --text-xl: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  --text-2xl: clamp(1.375rem, 1.2rem + 0.9vw, 1.75rem);
  --text-3xl: clamp(1.75rem, 1.4rem + 1.6vw, 2.5rem);
  --text-hero: clamp(1.625rem, 1.1rem + 2.2vw, 2.75rem);

  /* Farben der alten Seite; Textvarianten mit ausreichendem Kontrast */
  --green: #59ad46;
  --green-head: #4f9d3e;
  --green-text: #3d8530;
  --green-soft: #eef6eb;
  --blue: #53c5d0;
  --yellow: #ffcb08;
  --ink: #222;
  --text: #666;
  --gray-head: #737373;
  --gray-btn: #666;
  --line: #ddd;
  --bg: #fff;
  --bg-alt: #f9f9fb;
  --box: #e9e9eb;

  --font: "Varela Round", Helvetica, Arial, sans-serif;
  --container: 77.5rem;
  --gutter: clamp(1rem, 3vw, 1.25rem);
  --radius: 3px;
  --header-h: 6.5rem;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: var(--text-base);
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; vertical-align: top; }
main { overflow-wrap: break-word; }
main a { overflow-wrap: anywhere; }
a { color: var(--green-text); text-decoration: none; transition: color 0.3s, background-color 0.3s; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }

h1, h2, h3, h4, h5 {
  font-family: var(--font);
  font-weight: 400;
  line-height: 1.3;
  margin: 0 0 0.7em;
}
h1, h2 { color: var(--green-head); text-transform: uppercase; }
h1 { font-size: var(--text-3xl); }
h2 { font-size: var(--text-2xl); }
h3, h4 { color: var(--gray-head); }
h3 { font-size: var(--text-xl); }
h4 { font-size: var(--text-lg); }
h1 a, h2 a, h3 a, h4 a { color: inherit; }
p, ul, ol, address, table { margin: 0 0 1.1em; }
address { font-style: normal; }
strong { font-weight: 700; color: #555; }
ul { padding-left: 1.25rem; }
li { margin-bottom: 0.3em; }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--ink); color: #fff; padding: 0.6rem 1rem;
}
.skip-link:focus { top: 1rem; }

.container, .frame {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------------------------------------------------------------- Buttons */
.button, a.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 2.5rem;
  padding: 0.45rem 1.5rem;
  border: 0;
  border-radius: var(--radius);
  background: var(--green);
  color: #fff;
  font-family: var(--font);
  font-size: var(--text-md);
  line-height: 1.3;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.4s ease;
}
.button:hover { background: var(--gray-btn); color: #fff; text-decoration: none; }
.button--ghost { background: var(--gray-btn); }
.button--ghost:hover { background: var(--green); }

/* ---------------------------------------------------------------- Kopf */
.header {
  position: sticky; top: 0; z-index: 50;
  background: #fff;
  box-shadow: 0 8px 6px -6px rgb(0 0 0 / 0.2);
}
.header__inner { display: flex; align-items: center; gap: 2rem; min-height: var(--header-h); }
.header__logo { flex: none; line-height: 0; }
.header__logo img { width: 11.25rem; height: auto; }
.header__panel { flex: 1; display: flex; flex-direction: column; align-items: stretch; gap: 0.5rem; padding-block: 0.75rem; }
.header__top { display: flex; justify-content: flex-end; align-items: center; gap: 1.25rem; }
.header__bottom { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; }
.header__phone { color: #999; font-size: var(--text-lg); white-space: nowrap; }
.header__phone:hover { color: var(--green-text); text-decoration: none; }
.header__social {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.25rem; height: 2.25rem; border-radius: 50%;
  background: var(--green); color: #fff;
}
.header__social svg { width: 1.25rem; height: 1.25rem; fill: currentColor; }
.header__social:hover { background: var(--gray-btn); }
.langs { list-style: none; margin: 0; padding: 0; display: flex; gap: 0.75rem; }
.langs li { margin: 0; }
.langs a { color: #999; font-size: var(--text-lg); }
.langs a:hover { color: var(--text); text-decoration: none; }
.langs a[aria-current] { color: var(--green-text); }
.mainnav__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: nowrap; gap: 0 1.25rem; }
.mainnav__list li { margin: 0; }
.mainnav__list a {
  display: block; color: #000;
  font-size: var(--text-lg); line-height: 1.75rem;
  text-transform: uppercase; white-space: nowrap;
}
.mainnav__list a:hover { color: #999; text-decoration: none; }
.mainnav__list a[aria-current="page"] { color: var(--green-text); }
.header__book { min-height: 0; padding: 0.3rem 0.65rem; font-size: var(--text-sm); }
.header__toggle, .header__call { display: none; }

@media (max-width: 75rem) {
  .header__inner { gap: 1.25rem; }
  .mainnav__list { gap: 0 0.9rem; }
  .mainnav__list a { font-size: var(--text-md); }
}

/* Mobil: Burger links, Logo mittig, Telefon rechts (wie im alten Template) */
@media (max-width: 64rem) {
  :root { --header-h: 5.25rem; }
  .header__inner { justify-content: space-between; gap: 0.75rem; }
  .header__logo img { width: 9rem; }
  .header__toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 2.75rem; height: 2.75rem; padding: 0; border: 0; background: none; cursor: pointer; color: var(--green-text);
  }
  .header__toggle:hover { color: var(--green); }
  .header__toggle-text {
    position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
  }
  /* filigraner Burger: drei 2-px-Linien, wird zum dünnen Kreuz */
  .header__toggle-icon, .header__toggle-icon::before, .header__toggle-icon::after {
    display: block; width: 1.5rem; height: 2px; border-radius: 1px; background: currentColor; content: ""; position: relative;
    transition: transform 0.25s ease, top 0.25s ease, background-color 0.2s;
  }
  .header__toggle-icon::before { position: absolute; top: -0.45rem; }
  .header__toggle-icon::after { position: absolute; top: 0.45rem; }
  .header__toggle[aria-expanded="true"] { color: var(--green-text); }
  .header__toggle[aria-expanded="true"] .header__toggle-icon { background: transparent; }
  .header__toggle[aria-expanded="true"] .header__toggle-icon::before { top: 0; transform: rotate(45deg); }
  .header__toggle[aria-expanded="true"] .header__toggle-icon::after { top: 0; transform: rotate(-45deg); }
  /* Telefon als feine Kontur im dünnen Kreis */
  .header__call {
    display: inline-flex; align-items: center; justify-content: center;
    width: 2.5rem; height: 2.5rem; border: 1px solid currentColor; border-radius: 50%;
    color: var(--green-text); transition: background-color 0.2s, color 0.2s;
  }
  .header__call:hover { background: var(--green); color: #fff; border-color: var(--green); }
  /* Telefonhörer aus Feather Icons (MIT, siehe assets/icons/LICENSE-feather.txt) */
  .header__call svg { width: 1.3rem; height: 1.3rem; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
  .header__panel {
    display: none;
    position: absolute; z-index: 2; left: 0; right: 0; top: var(--header-h);
    padding: 0 0 1.25rem; gap: 0;
    border-top: 1px solid rgb(0 0 0 / 0.08);
    background: var(--green);
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
  }
  .header.is-open .header__panel { display: flex; }
  .header__bottom { order: 1; flex-direction: column; align-items: stretch; gap: 0; }
  .header__top { order: 2; justify-content: center; padding-top: 1rem; }
  .mainnav__list { flex-direction: column; text-align: center; }
  .mainnav__list a { padding: 0.75rem 1rem; color: #fff; font-size: var(--text-lg); border-bottom: 1px solid rgb(255 255 255 / 0.2); }
  .mainnav__list a:hover, .mainnav__list a[aria-current="page"] { color: #fff; background: rgb(0 0 0 / 0.1); }
  .header .header__book { align-self: center; margin-top: 1rem; background: #fff; color: var(--green-text); padding: 0.5rem 1.5rem; font-size: var(--text-md); }
  .header__phone, .langs a, .langs a[aria-current] { color: #fff; }
  .langs a[aria-current] { text-decoration: underline; text-underline-offset: 0.3em; }
  .header__social { background: #fff; color: var(--green); }
}

/* ---------------------------------------------------------------- Hero */
.hero { position: relative; background: #333; }
.hero .slider { height: clamp(22rem, 62vh, 40rem); }
.hero .slider__slide img { width: 100%; height: 100%; object-fit: cover; }
.hero .slider__slide::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgb(0 0 0 / 0.35), rgb(0 0 0 / 0.05) 55%, rgb(0 0 0 / 0.15));
}
.hero .slider__slide figcaption {
  position: absolute; z-index: 2; left: 0; right: 0; top: 18%; bottom: auto;
  max-width: var(--container); margin-inline: auto; padding: 0 var(--gutter);
  background: none;
  color: #fff; font-size: var(--text-hero); line-height: 1.2;
  text-transform: uppercase; text-shadow: 0 0 5px rgb(0 0 0 / 0.3);
}
.hero__overlay { position: absolute; z-index: 3; left: 0; right: 0; top: 18%; pointer-events: none; display: flex; justify-content: flex-end; }
.booking-box {
  pointer-events: auto;
  width: min(100%, 21.25rem);
  padding: 1.25rem;
  background: rgb(255 255 255 / 0.78);
}
.booking-box__title { margin: 0 0 0.75rem; font-size: var(--text-xl); }
.booking-box__dates { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin-bottom: 0.75rem; }
.booking-box label span { display: block; margin-bottom: 0.15rem; font-size: var(--text-xs); color: var(--text); text-transform: uppercase; }
.booking-box input {
  width: 100%; min-height: 2.5rem; padding: 0.3rem 0.5rem;
  border: 1px solid #ccc; border-radius: 0; background: #f3f3f5;
  font: inherit; font-size: var(--text-sm); color: var(--text);
}
.booking-box__button { width: 100%; }
.booking-box__hint { margin: 0.6rem 0 0; font-size: var(--text-xs); color: var(--text); text-align: center; }

@media (max-width: 48rem) {
  .hero .slider { height: auto; aspect-ratio: 4 / 3; }
  .hero .slider__slide figcaption { top: auto; bottom: 2.75rem; font-size: var(--text-2xl); }
  .hero__overlay { position: static; padding: 0; }
  .booking-box { width: 100%; background: var(--box); }
}

/* ---------------------------------------------------------------- Slider */
.slider { position: relative; }
.slider__track { position: relative; width: 100%; height: 100%; overflow: hidden; background: var(--bg-alt); }
.slider:not(.slider--hero) .slider__track { aspect-ratio: 3 / 2; }
.slider__slide {
  position: absolute; inset: 0; margin: 0;
  opacity: 0; visibility: hidden;
  transition: opacity 1.2s ease, visibility 1.2s;
}
.slider__slide.is-active { opacity: 1; visibility: visible; }
.slider__slide img, .slider__slide a { display: block; width: 100%; height: 100%; object-fit: cover; }
.slider__slide a.lightbox img { transition: opacity 0.25s ease-in-out; }
.slider__slide a.lightbox:hover img { opacity: 0.85; }
/* Bildunterschrift wie im Original: helles Band unten, graue Großbuchstaben */
.slider__slide figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 0.5rem 1rem;
  background: rgb(255 255 255 / 0.8);
  color: var(--text); font-size: var(--text-md); text-transform: uppercase;
}
/* Titel über dem Zimmer-Slider */
.slider__title {
  position: absolute; z-index: 3; top: 1.25rem; left: 1.25rem; margin: 0;
  max-width: calc(100% - 2.5rem);
  padding: 0.3rem 0.75rem;
  background: rgb(255 255 255 / 0.8);
  color: #666; font-size: var(--text-3xl);
}
.slider__title span.blue { color: var(--blue); }
.slider__title span.yellow { color: var(--yellow); }
.slider__title span.green { color: var(--green); }
.slider__prev, .slider__next {
  position: absolute; z-index: 4; top: 0; bottom: 0;
  display: grid; place-items: center;
  width: 4.5rem; padding: 0; border: 0; background: none; cursor: pointer;
  color: #fff; opacity: 0.85; transition: opacity 0.2s;
}
.slider__prev svg, .slider__next svg {
  width: 2.25rem; height: 2.25rem; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
  filter: drop-shadow(0 0 3px rgb(0 0 0 / 0.5));
}
.slider:not(.slider--hero) .slider__prev, .slider:not(.slider--hero) .slider__next { bottom: 2.1rem; }
.slider__prev { left: 0; }
.slider__next { right: 0; }
.slider__prev:hover, .slider__next:hover { opacity: 1; }
.slider__dots { display: flex; justify-content: center; gap: 0.15rem; padding-top: 0.6rem; }
.slider__dots button {
  width: 1.5rem; height: 1.5rem; padding: 0; border: 0; background: none; cursor: pointer;
  display: grid; place-items: center;
}
.slider__dots button::before { content: ""; width: 0.8rem; height: 0.8rem; border-radius: 50%; background: var(--line); }
.slider__dots button[aria-current="true"]::before { background: var(--green); }
.slider--hero .slider__dots { position: absolute; z-index: 4; left: 0; right: 0; bottom: 1rem; padding: 0; }
.slider--hero .slider__dots button::before { background: transparent; border: 2px solid #fff; }
.slider--hero .slider__dots button[aria-current="true"]::before { background: #fff; }

/* ---------------------------------------------------------------- Unternavigation
   sitzt im Kopf und fährt mit (wie .nav-sub im Original) – auf allen Seiten an derselben Stelle */
.subnav { background: var(--green); box-shadow: inset 0 6px 6px -6px rgb(0 0 0 / 0.2); }
html:has(.subnav) { scroll-padding-top: calc(var(--header-h) + 2.6rem + 1rem); }
.subnav__list { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 0 1.5rem; }
.subnav__list li { margin: 0; }
.subnav__list a { display: block; color: #fff; text-transform: uppercase; line-height: 2.6rem; font-size: var(--text-base); }
.subnav__list a:hover { color: #000; text-decoration: none; }
.subnav__list a[aria-current] { color: #fff; text-decoration: underline; text-underline-offset: 0.4em; }
@media (max-width: 48rem) {
  .subnav__list { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; }
  .subnav__list a { white-space: nowrap; }
}

/* ---------------------------------------------------------------- Abschnitte */
.section { padding-block: clamp(2.5rem, 5vw, 3.25rem); }
.section.even { background: var(--bg-alt); }
.section .frame { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 1.5rem 1.25rem; }
.section .frame > * { flex: 1 1 100%; min-width: 0; }
.section .frame > .c2-left, .section .frame > .c2-right { flex: 1 1 calc(50% - 0.75rem); }
.section .frame > .c41 { flex: 0 1 calc(25% - 1rem); }
.section .frame > .c43 { flex: 1 1 calc(75% - 1rem); }
.section .frame > .content { flex: 1 1 calc(73% - 1rem); }
.section .frame > .sidebar { flex: 0 1 calc(22% - 1rem); order: -1; margin-right: 3%; }
.section .frame > .fleft { order: 1; }
.section .frame > .fright { order: 2; }
.section .frame > h1, .section .frame > h2, .section .frame > h3, .section .frame > p { margin-bottom: 0; }
.cpadding { padding-block: 1.25rem; }
@media (min-width: 52rem) {
  .content:has(> .c2-left) { display: grid; grid-template-columns: 1fr 1fr; gap: 0 2.5rem; }
  .content:has(> .c2-left) > :not(.c2-left, .c2-right) { grid-column: 1 / -1; }
}
@media (max-width: 52rem) {
  .section .frame > .c2-left, .section .frame > .c2-right,
  .section .frame > .c41, .section .frame > .c43,
  .section .frame > .content, .section .frame > .sidebar { flex-basis: 100%; margin-right: 0; }
  .section .frame > .fleft, .section .frame > .fright { order: 0; }
  .section .frame > .sidebar { order: 5; }
}

/* Seitennavigation links (wie im Original) */
.sidebar .nav-sub ul { list-style: none; margin: 0 0 2.5rem; padding: 0; }
.sidebar .nav-sub li { margin: 0; }
.sidebar .nav-sub a { display: block; padding: 0.4rem 0; color: var(--text); text-transform: uppercase; }
.sidebar .nav-sub a:hover { color: #999; text-decoration: none; }
.sidebar .nav-sub .active a { color: var(--green-text); }
.sidebar .padding h3 { color: var(--green-head); text-transform: uppercase; font-size: var(--text-lg); }

/* Bambus auf der Startseite */
.bambus {
  min-height: 34rem; height: 100%;
  background: url("/templates/midori/images/bambus-2x.jpg") right bottom / auto 34rem no-repeat;
}
@media (max-width: 52rem) { .bambus { display: none; } }
@media (min-width: 52.0625rem) {
  #home .c2-left { flex-basis: calc(50% - 0.75rem); }
  #home .c2-right { align-self: stretch; }
}

.infoMessage { padding: 1rem 1.25rem; margin-bottom: 1.5rem; border: 2px solid var(--green); background: var(--green-soft); }

/* ---------------------------------------------------------------- Zimmer */
#rooms .frame > div:has(> .c1) {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 1.25rem;
}
#rooms .c1, #rooms .c2, #rooms .c3, #rooms .c4 { display: flex; flex-direction: column; }
#rooms .view { position: relative; margin-bottom: 1rem; overflow: hidden; }
#rooms .view a { display: block; aspect-ratio: 295 / 210; }
#rooms .view img { display: block; width: 100%; height: 100%; object-fit: cover; transition: opacity 0.25s; }
#rooms .view a:hover img { opacity: 0.85; }
.price {
  position: absolute; z-index: 1; top: 0; right: 0;
  padding: 0.3rem 0.7rem;
  background: var(--green); color: #fff; font-size: var(--text-base); font-weight: 700;
}
.blue .price { background: var(--blue); color: #10393d; }
.yellow .price { background: var(--yellow); color: #3d3000; }
.green .price { background: var(--green); color: #fff; }
#rooms h4 { font-size: var(--text-xl); margin-bottom: 0.9rem; }
#rooms h4 a { color: #666; }
#rooms h4 a:hover { text-decoration: none; color: #444; }
#rooms .short { min-height: 9rem; }
#rooms ul.list { flex: 1; }
#rooms .c1 > .button, #rooms .c2 > .button, #rooms .c3 > .button, #rooms .c4 > .button {
  display: flex; width: 100%; margin-top: auto; min-height: 2.9rem; background: var(--gray-btn); font-size: var(--text-lg);
}
#rooms .blue > .button:hover { background: var(--blue); color: #10393d; }
#rooms .yellow > .button:hover { background: var(--yellow); color: #3d3000; }
#rooms .green > .button:hover { background: var(--green); }
span.blue { color: var(--blue); }
span.yellow { color: var(--yellow); }
span.green { color: var(--green); }

ul.list { list-style: none; margin: 0 0 1.25rem; padding: 0; border-top: 1px dotted var(--line); }
ul.list li { margin: 0; padding: 0.35rem 0.6rem; border-bottom: 1px dotted var(--line); color: var(--text); }

/* Zimmer- und Angebotsdetails */
.rooms-details { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 5%; padding: 1.25rem 0; }
.rooms-details .button { display: flex; width: 100%; margin: 0.5rem 0 1rem; background: var(--gray-btn); }
.rooms-details .button:hover { background: var(--green); }
.rooms-details.blue .button:hover { background: var(--blue); color: #10393d; }
.rooms-details.yellow .button:hover { background: var(--yellow); color: #3d3000; }
@media (max-width: 52rem) { .rooms-details { grid-template-columns: 1fr; } }

/* Angebotsübersicht (ehemals Popup) */
#packages-list article {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 1.25rem;
  padding: 1.25rem; background: var(--bg-alt);
}
#packages-list article > h2 { grid-column: 1 / -1; margin: 0; }
#packages-list article > div { width: auto !important; float: none !important; }
@media (max-width: 40rem) { #packages-list article { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- Auszeichnungen */
#awards ul {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(7rem, 1fr)); gap: 1.5rem; align-items: center;
}
#awards li { margin: 0; text-align: center; }
#awards img { max-height: 6rem; width: auto; filter: grayscale(1); opacity: 0.85; transition: filter 0.4s, opacity 0.4s; }
#awards li:hover img { filter: none; opacity: 1; }

/* ---------------------------------------------------------------- Tabellen (wie scheme1 im Original) */
.scheme1 { overflow-x: auto; }
.scheme1 table { width: 100%; border-collapse: collapse; margin: 0; }
.scheme1 th, .scheme1 td { padding: 0.45rem 0.4rem; border-bottom: 1px dotted #ccc; text-align: left; vertical-align: top; color: var(--text); font-weight: 400; }
.scheme1 thead th { background: var(--green); color: #fff; text-transform: uppercase; font-weight: 700; }
.scheme1 tbody th { background: var(--box); }
.scheme1 tbody td { background: #f3f3f5; }
.scheme1 .center { text-align: center; }
.scheme1 img { display: inline-block; vertical-align: middle; }
.scheme1 ul { margin: 0; }

/* ---------------------------------------------------------------- Galerie */
ul.gallery { list-style: none; padding: 0; margin: 0; }
ul.gallery > li { margin: 0; }
.galleryImages {
  list-style: none; padding: 0; margin: 0 0 2rem;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr)); gap: 0.6rem;
}
.galleryImages li { margin: 0; }
.galleryImages a { display: block; aspect-ratio: 4 / 3; background: var(--bg-alt); overflow: hidden; }
.galleryImages img { width: 100%; height: 100%; object-fit: cover; display: block; transition: opacity 0.25s ease-in-out; }
.galleryImages a:hover img { opacity: 0.6; }

/* Lightbox: ruhige dunkle Fläche, feine Linien-Icons, Zähler, Überblendung */
.lightbox-dialog {
  width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0;
  border: 0; background: rgb(20 22 20 / 0.985); color: #fff; overflow: hidden;
}
.lightbox-dialog[open] { animation: lb-in 0.25s ease; }
.lightbox-dialog::backdrop { background: transparent; }
@keyframes lb-in { from { opacity: 0; } to { opacity: 1; } }
.lightbox-dialog__stage { position: absolute; inset: 0; display: grid; place-items: center; padding: 4.5rem 6rem 5rem; }
.lightbox-dialog__figure { margin: 0; display: flex; flex-direction: column; align-items: center; max-width: 100%; max-height: 100%; }
.lightbox-dialog__figure img {
  display: block; max-width: 100%; max-height: calc(100dvh - 10rem); width: auto; height: auto; object-fit: contain;
  box-shadow: 0 1.5rem 3rem rgb(0 0 0 / 0.45);
  transition: opacity 0.3s ease;
}
.lightbox-dialog__figure.is-loading img { opacity: 0; }
.lightbox-dialog__figure figcaption {
  margin-top: 1rem; max-width: 40rem; text-align: center;
  color: rgb(255 255 255 / 0.85); font-size: var(--text-sm); letter-spacing: 0.08em; text-transform: uppercase;
}
.lightbox-dialog__bar {
  position: absolute; left: 0; right: 0; bottom: 1.25rem; text-align: center; pointer-events: none;
  color: rgb(255 255 255 / 0.6); font-size: var(--text-sm); letter-spacing: 0.15em;
}
.lightbox-dialog button {
  position: absolute; z-index: 2;
  display: grid; place-items: center;
  width: 3.25rem; height: 3.25rem; padding: 0;
  border: 1px solid rgb(255 255 255 / 0.35); border-radius: 50%;
  background: rgb(0 0 0 / 0.2); color: #fff; cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, transform 0.2s;
}
.lightbox-dialog button svg { width: 1.35rem; height: 1.35rem; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.lightbox-dialog button:hover { background: var(--green); border-color: var(--green); }
.lightbox-dialog button:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.lightbox-dialog button[hidden] { display: none; }
.lightbox-dialog__close { top: 1rem; right: 1rem; }
.lightbox-dialog__prev { left: 1.25rem; top: 50%; transform: translateY(-50%); }
.lightbox-dialog__next { right: 1.25rem; top: 50%; transform: translateY(-50%); }
.lightbox-dialog__prev:hover { transform: translateY(-50%) translateX(-2px); }
.lightbox-dialog__next:hover { transform: translateY(-50%) translateX(2px); }
@media (max-width: 40rem) {
  .lightbox-dialog__stage { padding: 4rem 0.75rem 5.5rem; }
  .lightbox-dialog__figure img { max-height: calc(100dvh - 11rem); }
  .lightbox-dialog__prev, .lightbox-dialog__next { top: auto; bottom: 0.75rem; transform: none; width: 2.75rem; height: 2.75rem; }
  .lightbox-dialog__prev:hover, .lightbox-dialog__next:hover { transform: none; }
  .lightbox-dialog__prev { left: 0.75rem; }
  .lightbox-dialog__next { right: 0.75rem; }
  .lightbox-dialog__bar { bottom: 1.6rem; }
}

/* ---------------------------------------------------------------- FAQ (Akkordeon je Kategorie wie im Original) */
.faq { margin-bottom: 2rem; }
.faq__group { margin-bottom: 0.25rem; border: 1px solid #e5e5e5; background: #fff; }
.faq__group summary {
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0.55rem 1rem; cursor: pointer; list-style: none;
  color: var(--text); font-size: var(--text-md);
}
.faq__group summary::-webkit-details-marker { display: none; }
.faq__group summary::before {
  content: ""; flex: none; width: 0; height: 0;
  border-left: 0.35rem solid currentColor; border-top: 0.3rem solid transparent; border-bottom: 0.3rem solid transparent;
  transition: transform 0.2s;
}
.faq__group[open] summary { background: var(--green); color: #fff; }
.faq__group[open] summary::before { transform: rotate(90deg); }
.faq__group summary:hover { color: var(--green-text); }
.faq__group[open] summary:hover { color: #fff; }
.faq__group--static .faq__bar {
  margin: 0; padding: 0.55rem 1rem;
  background: var(--green); color: #fff; font-size: var(--text-md); text-transform: none;
}
.faq__body { padding: 1rem 1.75rem 0.5rem; background: var(--bg-alt); }
.faq__question { font-size: var(--text-xl); margin: 0.75rem 0 0.6rem; }
.faq__body > .faq__question:first-child { margin-top: 0; }
.faq__body p p { margin: 0; }

/* ---------------------------------------------------------------- News */
.filter ul { list-style: none; margin: 0 0 1.5rem; padding: 0; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.filter li { margin: 0; }
.filter a { display: inline-block; padding: 0.3rem 0.85rem; background: var(--box); color: var(--text); text-transform: uppercase; font-size: var(--text-sm); }
.filter a:hover, .filter a[aria-current] { background: var(--green); color: #fff; text-decoration: none; }
.newsList article, .news article { padding-bottom: 1.5rem; margin-bottom: 1.5rem; border-bottom: 1px dotted var(--line); }
.datetime { color: #999; font-size: var(--text-sm); text-transform: uppercase; }
.imageFullSize { display: block; margin: 1rem 0; }

/* ---------------------------------------------------------------- Anfrage und Karte */
.request-box, .map-card { margin: 1.5rem 0; padding: 1.5rem; background: var(--box); }
.request-box h2 { font-size: var(--text-xl); }
.request-box__actions, .map-card__actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 0.5rem; }
.map-card__icon { display: block; width: 2.25rem; height: 2.25rem; margin-bottom: 0.5rem; fill: var(--green); }
.map-card h3 { margin-bottom: 0.4rem; color: var(--green-head); text-transform: uppercase; font-size: var(--text-lg); }
.map-card .button { font-size: var(--text-sm); }

/* Interner Prüfhinweis (vor Livegang entfernen) */
.todo { padding: 0.75rem 1rem; border: 2px dashed #c1000e; background: #fff3f3; color: #8a0009; }

/* ---------------------------------------------------------------- Fuß (hell wie im Original) */
.footer { border-top: 1px solid #eee; background: #fff; color: var(--text); font-size: var(--text-base); }
.footer a { color: var(--green-text); }
.footer__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.5rem 2rem; padding-block: 3rem; }
.footer h2 { margin-bottom: 0.6rem; font-size: var(--text-lg); }
.footer address { margin-bottom: 1.25rem; line-height: 1.6; }
.footer .sep { color: #bbb; }
.footer__copy { margin: 0; color: #999; }
.footer__nav { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0.3rem 1.25rem; }
.footer__nav li { margin: 0; }
.footer__nav a { color: #000; text-transform: uppercase; font-size: var(--text-sm); }
.footer__nav a:hover { color: #999; text-decoration: none; }
.footer__nav a[aria-current="page"] { color: var(--green-text); }
@media (max-width: 48rem) {
  .footer__inner { grid-template-columns: 1fr; }
  .footer__nav { justify-content: flex-start; }
}

/* ---------------------------------------------------------------- Angebote-Reiter und Nach oben */
.offers-tab {
  position: fixed; z-index: 40; right: 0; top: 50%;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  padding: 1rem 0.55rem;
  background: var(--green); color: #fff;
  font-size: var(--text-md); text-transform: uppercase; letter-spacing: 0.05em;
  box-shadow: -2px 0 6px rgb(0 0 0 / 0.15);
}
.offers-tab:hover { background: var(--gray-btn); color: #fff; text-decoration: none; }
@media (max-width: 64rem) { .offers-tab { padding: 0.75rem 0.4rem; font-size: var(--text-xs); } }

/* Angebote-Popup */
.popup-dialog {
  width: min(100% - 2rem, 60rem); max-width: none; max-height: calc(100dvh - 3rem);
  margin: auto; padding: 0; border: 0; border-radius: var(--radius);
  background: #fff; color: var(--text); overflow: hidden;
  box-shadow: 0 1.5rem 4rem rgb(0 0 0 / 0.35);
}
.popup-dialog[open] { display: flex; animation: popup-in 0.25s ease; }
.popup-dialog::backdrop { background: rgb(20 22 20 / 0.7); }
@keyframes popup-in { from { opacity: 0; transform: translateY(0.75rem); } to { opacity: 1; transform: none; } }
.popup-dialog__panel { position: relative; flex: 1; overflow-y: auto; overscroll-behavior: contain; }
.popup-dialog__content { padding: 2.5rem 2rem 1.5rem; outline: none; transition: opacity 0.2s; }
.popup-dialog.is-loading .popup-dialog__content { opacity: 0.3; }
.popup-dialog__content .section { padding: 0; }
.popup-dialog__content .frame { padding: 0; max-width: none; }
.popup-dialog__content h1 { padding-right: 3rem; }
.popup-dialog__content .slider__title { font-size: var(--text-2xl); }
.popup-dialog__content .rooms-details { padding-bottom: 0; }
.popup-dialog__close {
  position: sticky; z-index: 5; top: 0.75rem; float: right; margin: 0.75rem 0.75rem -3.5rem 0;
  display: grid; place-items: center;
  width: 2.75rem; height: 2.75rem; padding: 0;
  border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--text); cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.popup-dialog__close svg { width: 1.25rem; height: 1.25rem; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; }
.popup-dialog__close:hover { background: var(--green); border-color: var(--green); color: #fff; }
@media (max-width: 40rem) {
  .popup-dialog { width: 100%; max-height: 100dvh; height: 100dvh; border-radius: 0; }
  .popup-dialog__content { padding: 2.25rem 1rem 1.5rem; }
}
.to-top {
  position: fixed; z-index: 40; right: 1rem; bottom: 1rem;
  width: 2.75rem; height: 2.75rem; border-radius: 50%;
  display: grid; place-items: center;
  background: #bbb; color: #fff;
  opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0.3s, background-color 0.3s;
}
.to-top svg { width: 1.5rem; height: 1.5rem; fill: currentColor; }
.to-top.is-visible { opacity: 1; visibility: visible; }
.to-top:hover { background: var(--green); }

/* ---------------------------------------------------------------- Druck */
@media print {
  .header, .hero, .subnav, .footer__nav, .offers-tab, .to-top, .slider__prev, .slider__next, .slider__dots { display: none !important; }
  .slider__slide { position: static; opacity: 1; visibility: visible; }
  .section { padding-block: 1rem; }
}

/* Archiv-Hinweis bei älteren Pressemeldungen */
.archive-note { display: inline-block; margin: 0 0 0.75rem; padding: 0.15rem 0.6rem; background: var(--box); color: var(--text); font-size: var(--text-sm); text-transform: uppercase; }
