/* Hotel Parkfrieden – Design-Vorschlag: warm & maritim-gemütlich */

:root {
  --sand-50: #fbf6ec;
  --sand-100: #f4e9d3;
  --sand-200: #e9d6ae;
  --sea-900: #163642;
  --sea-700: #1f4e5f;
  --sea-500: #2c6e8f;
  --sea-300: #6ea3b8;
  --coral-500: #e2793d;
  --coral-600: #c9622a;
  --ink: #223138;
  --ink-soft: #4c5c62;
  --white: #ffffff;
  --shadow: 0 20px 45px -20px rgba(22, 54, 66, 0.35);
  --radius-lg: 28px;
  --radius-md: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 18px; }

body {
  margin: 0;
  font-family: "Nunito Sans", "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: var(--sand-50);
  line-height: 1.6;
}

h1, h2, h3, .display {
  font-family: "Fraunces", "Georgia", serif;
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--sea-900);
}

p { margin: 0 0 1em; color: var(--ink-soft); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
}

/* Bootstrap 3 NavBar/Nav widget, reskinned - see src/views/layouts/hotel.php */

.navbar.hotel-navbar {
  background: rgba(251, 246, 236, 0.92);
  backdrop-filter: blur(6px);
  border: none;
  border-bottom: 1px solid rgba(22, 54, 66, 0.08);
  border-radius: 0;
  margin-bottom: 0;
  min-height: 0;
}

.hotel-navbar .hotel-nav-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.hotel-navbar .navbar-header { padding: 14px 0; }

.hotel-navbar .navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  height: auto;
  padding: 0;
  font-family: "Fraunces", serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--sea-900);
  letter-spacing: 0.01em;
  float: none;
}
.hotel-navbar .navbar-brand:hover,
.hotel-navbar .navbar-brand:focus { color: var(--sea-900); }

.brand-mark {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}

.hotel-navbar .navbar-nav {
  margin: 0;
  font-weight: 600;
  font-size: 0.95rem;
}

.hotel-navbar .navbar-nav > li > a {
  color: var(--sea-700);
  padding: 14px 16px;
  background: none;
}

.hotel-navbar .navbar-nav > li > a:hover,
.hotel-navbar .navbar-nav > li > a:focus,
.hotel-navbar .navbar-nav > li.active > a,
.hotel-navbar .navbar-nav > li.active > a:hover,
.hotel-navbar .navbar-nav > li.active > a:focus {
  color: var(--coral-600);
  background: none;
}

.hotel-navbar .navbar-toggle {
  border-color: var(--sand-200);
  margin: 10px 0;
}
.hotel-navbar .navbar-toggle .icon-bar { background-color: var(--sea-700); }
.hotel-navbar .navbar-toggle:hover,
.hotel-navbar .navbar-toggle:focus { background: var(--sand-100); }

.hotel-navbar .navbar-collapse {
  border-top: 1px solid rgba(22, 54, 66, 0.08);
  box-shadow: none;
}

.nav-cta {
  background: var(--coral-500) !important;
  color: var(--white) !important;
  padding: 10px 20px !important;
  margin: 10px 16px;
  border-radius: 999px;
  font-weight: 700;
  display: inline-block;
  box-shadow: 0 10px 20px -8px rgba(226, 121, 61, 0.55);
  transition: transform 0.15s ease, background 0.2s ease;
}
.nav-cta:hover,
.nav-cta:focus { background: var(--coral-600) !important; color: var(--white) !important; transform: translateY(-1px); }

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

.hero {
  position: relative;
  background:
    linear-gradient(160deg, rgba(22,54,66,0.88) 0%, rgba(31,78,95,0.82) 55%, rgba(44,110,143,0.72) 100%),
    url("images/aussen-2.jpg") center 30% / cover no-repeat;
  color: var(--white);
  padding: 90px 0 160px;
  overflow: hidden;
}

.hero .container {
  position: relative;
  z-index: 2;
}

/* Grid lives on its own class, not on .container: Bootstrap's .container
   clearfix adds ::before/::after with display:table, which still counts as
   a grid item under display:grid and silently shifts real children into the
   wrong cells. */
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.15);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  max-width: 20ch;
}

.hero p.lead {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.1rem;
  max-width: 42ch;
}

.hero-actions { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.98rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s ease;
}

.btn-primary {
  background: var(--coral-500);
  color: var(--white);
  box-shadow: 0 14px 28px -10px rgba(226, 121, 61, 0.6);
}
.btn-primary:hover { background: var(--coral-600); transform: translateY(-2px); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.55);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.22); }

.btn-solid {
  background: var(--sea-700);
  color: var(--white);
}
.btn-solid:hover { background: var(--sea-900); }

.hero-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow);
  color: var(--ink);
  transform: rotate(1.2deg);
}

.hero-card .weather-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px dashed var(--sand-200);
}

/* no quote below: drop the separator line */
.hero-card .weather-row:last-child { border-bottom: 0; padding-bottom: 0; margin-bottom: 0; }

.hero-card .stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.hero-card .stat strong { font-family: "Fraunces", serif; font-size: 1.3rem; color: var(--sea-900); }
.hero-card .stat span { font-size: 0.78rem; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.05em; }

.hero-card .quote {
  font-family: "Fraunces", serif;
  font-size: 1.05rem;
  color: var(--sea-900);
  font-style: italic;
}
.hero-card .quote-by { margin-top: 10px; font-size: 0.85rem; color: var(--ink-soft); font-style: normal; }

.wave-divider {
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  line-height: 0;
}
.wave-divider svg { width: 100%; height: 90px; display: block; }

/* ---------- USP strip ---------- */

.usp-strip {
  background: var(--sand-50);
  padding: 0 0 70px;
  margin-top: -60px;
  position: relative;
  z-index: 3;
}

.usp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.usp-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: 0 15px 30px -18px rgba(22, 54, 66, 0.25);
  text-align: left;
}

.usp-icon {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--sand-100);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 12px;
  color: var(--sea-700);
}

.usp-card h3 { font-size: 1.02rem; margin-bottom: 6px; }
.usp-card p { font-size: 0.9rem; margin: 0; }
.usp-card .card-text { font-size: 0.9rem; }
.usp-card .card-text p + p { margin-top: 6px; }

/* ---------- Section basics ---------- */

.section { padding: 80px 0; }
.section-tight { padding: 40px 0 80px; }
.section-alt { background: var(--sand-100); }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.eyebrow {
  display: inline-block;
  color: var(--coral-600);
  font-weight: 800;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.section-head h2 { max-width: 20ch; margin-bottom: 0; }
.section-head p { max-width: 44ch; margin: 10px 0 0; }

/* ---------- Teaser cards (home) ---------- */

.teaser-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.card-media {
  height: 190px;
  position: relative;
  overflow: hidden;
}

.card-media img,
.scene-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.card:hover .card-media img,
.room-card:hover .card-media img { transform: scale(1.05); }

/* ---------- Impressionen gallery ---------- */

/* equal tiles; as many columns as fit (4 on desktop, fewer on small screens) */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.gallery-item {
  display: block;
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow);
  cursor: zoom-in;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
.gallery-item:hover img, .gallery-item:focus-visible img { transform: scale(1.05); }
.gallery-item::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,0.45) 100%);
}
.gallery-caption {
  position: absolute;
  left: 16px; right: 16px; bottom: 14px;
  z-index: 1;
  color: var(--white);
  font-weight: 700;
  font-size: 0.9rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.45);
}

/* lightbox (src/assets/web/hotel/hotel.js) */
.lightbox {
  border: 0;
  padding: 0;
  background: none;
  max-width: 100vw;
  max-height: 100vh;
  overflow: visible;
}
.lightbox::backdrop { background: rgba(22, 54, 66, 0.92); }
.lightbox-figure { margin: 0; text-align: center; }
.lightbox-figure img {
  max-width: 90vw;
  max-height: 82vh;
  border-radius: var(--radius-md);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.6);
  margin: 0 auto;
}
.lightbox-figure figcaption { color: var(--white); font-weight: 700; margin-top: 14px; }
.lightbox-btn {
  position: fixed;
  width: 48px; height: 48px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--sea-900);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}
.lightbox-btn:hover, .lightbox-btn:focus-visible { background: var(--coral-500); color: var(--white); outline: none; }
.lightbox-close { top: 20px; right: 20px; }
.lightbox-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 20px; top: 50%; transform: translateY(-50%); }
.lightbox.single .lightbox-prev, .lightbox.single .lightbox-next { display: none; }

/* ---------- Google reviews (widget template "Google-Bewertungen") ---------- */

.reviews-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 32px;
  align-items: center;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 36px 40px;
}
.reviews-stars { font-size: 1.6rem; letter-spacing: 0.1em; color: var(--coral-500); }
.reviews-icon {
  width: 72px; height: 72px;
  border-radius: 20px;
  background: var(--sand-100);
  color: var(--sea-700);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto;
}
.reviews-body h2 { margin-bottom: 6px; }
.reviews-body p { margin: 0; }
.reviews-score { font-size: 1.05rem; color: var(--sea-900); margin-bottom: 6px !important; }
.reviews-score strong { font-family: "Fraunces", serif; font-size: 1.5rem; }
.reviews-actions { display: flex; flex-direction: column; gap: 10px; }
.btn-outline { background: transparent; color: var(--sea-700); box-shadow: inset 0 0 0 2px var(--sea-700); }
.btn-outline:hover { background: var(--sea-700); color: var(--white); }

/* ---------- Logo / funding notice (widget template "Logo") ---------- */

.logo-section { padding-top: 20px; }
.logo-image { width: 100%; height: auto; margin: 0 auto; }

.card-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-body h3 { margin-bottom: 0; font-size: 1.15rem; }
.card-body p { font-size: 0.93rem; margin-bottom: 4px; }
.card-body .card-text { font-size: 0.93rem; }
.card-body .card-text p:last-child { margin-bottom: 0; }

.card-price {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid var(--sand-100);
}
.card-price .from { font-size: 0.78rem; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.04em; }
.card-price .price { font-family: "Fraunces", serif; font-size: 1.25rem; color: var(--sea-900); }
.card-price .price span { font-size: 0.8rem; color: var(--ink-soft); font-family: inherit; }

.card-link {
  font-weight: 700;
  color: var(--sea-700);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.card:hover .card-link { color: var(--coral-600); }

/* ---------- Illustrations (inline SVG scenes, no external images) ---------- */

.scene { width: 100%; height: 100%; display: block; }

/* ---------- Quote / trust section ---------- */

.quote-band {
  background: var(--sea-900);
  color: var(--white);
  padding: 70px 0;
  text-align: center;
}
.quote-band .quote-mark {
  font-family: "Fraunces", serif;
  font-size: 3rem;
  color: var(--coral-500);
  line-height: 1;
}
.quote-band blockquote {
  font-family: "Fraunces", serif;
  font-size: clamp(1.3rem, 2.4vw, 1.9rem);
  max-width: 720px;
  margin: 0 auto 16px;
  color: var(--white);
}
.quote-band cite { font-style: normal; color: rgba(255,255,255,0.7); font-size: 0.9rem; }

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

.site-footer {
  background: var(--sea-900);
  color: rgba(255, 255, 255, 0.85);
  padding: 60px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-grid h4 {
  font-family: "Nunito Sans", sans-serif;
  color: var(--white);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}
.footer-grid p, .footer-grid a { color: rgba(255,255,255,0.75); font-size: 0.92rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-grid a:hover { color: var(--coral-500); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 22px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  flex-wrap: wrap;
  gap: 10px;
}
.footer-brand { display: flex; align-items: center; gap: 10px; color: var(--white); font-family: "Fraunces", serif; font-size: 1.1rem; margin-bottom: 12px; }

/* ---------- Page header (Zimmer / Kontakt) ---------- */

.page-hero {
  background:
    linear-gradient(160deg, rgba(22,54,66,0.9) 0%, rgba(31,78,95,0.82) 100%),
    url("images/aussen-1.jpg") center 35% / cover no-repeat;
  color: var(--white);
  padding: 64px 0 96px;
  position: relative;
  overflow: hidden;
}
.page-hero h1 { color: var(--white); max-width: 26ch; }
.page-hero p { color: rgba(255,255,255,0.85); max-width: 46ch; }
.breadcrumb {
  background: none; /* reset Bootstrap's .breadcrumb box */
  padding: 0;
  border-radius: 0;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 14px;
}
.breadcrumb a { color: rgba(255,255,255,0.9); font-weight: 700; }

/* ---------- Zimmer filter chips ---------- */

.filter-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 36px; }
.chip {
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--white);
  border: 1.5px solid var(--sand-200);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--sea-700);
}
.chip.active { background: var(--sea-700); color: var(--white); border-color: var(--sea-700); }

.room-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.room-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1fr;
}
.room-card .card-media { height: 220px; }
.room-tags { display: flex; gap: 8px; flex-wrap: wrap; margin: 8px 0 4px; }
.room-tag {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--sea-700);
  background: var(--sand-100);
  padding: 4px 10px;
  border-radius: 999px;
}
/* on the sand background the tags would blend in */
.section-alt .room-tag { background: var(--white); box-shadow: inset 0 0 0 1px var(--sand-200); }

/* ---------- Contact page ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.contact-info-card, .form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 32px;
}

.info-row { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 22px; }
.info-icon {
  width: 40px; height: 40px; border-radius: 12px;
  background: var(--sand-100); color: var(--sea-700);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.info-row h4 { margin: 0 0 4px; font-family: "Nunito Sans", sans-serif; font-size: 0.98rem; color: var(--sea-900); }
.info-row p { margin: 0; font-size: 0.92rem; }

.map-box {
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-top: 8px;
  height: 180px;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-row.full { grid-template-columns: 1fr; }
label { display: block; font-size: 0.82rem; font-weight: 700; color: var(--sea-900); margin-bottom: 6px; }
input, select, textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1.5px solid var(--sand-200);
  background: var(--sand-50);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--ink);
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--sea-500);
  background: var(--white);
}
textarea { resize: vertical; min-height: 110px; }

/* ---------- CMS page content (src/views/pages/hotel.php) ---------- */

.page-content > .section:first-child,
.page-content > * > .section:first-child { padding-top: 40px; }

/* ---------- Text block (widget template "Text") ---------- */

.text-block { max-width: 780px; }
.text-block.with-media {
  max-width: none;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 72px;
  align-items: center;
}
.text-block.reverse .text-block-media { order: -1; }
.text-block-body p { max-width: 62ch; font-size: 1rem; }
/* small wave under the headline */
.text-block-body h2::after {
  content: "";
  display: block;
  width: 72px;
  height: 12px;
  margin-top: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 72 12'%3E%3Cpath d='M2 6c6-5 11-5 17 0s11 5 17 0 11-5 17 0 11 5 17 0' fill='none' stroke='%23e2793d' stroke-width='2.5' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat;
}
.text-block-body .signature {
  font-family: "Fraunces", serif;
  font-style: italic;
  font-size: 1.35rem;
  color: var(--coral-600);
  margin-top: 6px;
}
.text-block-media { position: relative; margin: 0 24px 24px 0; }
/* offset frame behind the photo */
.text-block-media::before {
  content: "";
  position: absolute;
  inset: 24px -24px -24px 24px;
  border-radius: var(--radius-lg);
  background: var(--sand-200);
}
.section-alt .text-block-media::before { background: var(--white); }
.text-block-media img {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.text-block-media figcaption {
  position: absolute;
  left: 18px;
  bottom: 18px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--sea-900);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
}

/* ---------- Room / offer detail (widget templates "Zimmer", "Angebot") ---------- */

.room-detail {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 48px;
  align-items: start;
}
.room-detail.reverse .room-detail-media { order: 2; }
.room-detail-media img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.room-detail-body h2 { margin-bottom: 12px; }
.room-detail-body h3 { font-size: 1.05rem; margin: 18px 0 8px; }
.room-detail .room-tags { margin: 14px 0 22px; }

.price-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow);
  font-size: 0.92rem;
}
.price-table th, .price-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--sand-100); }
.price-table thead th {
  background: var(--sea-700);
  color: var(--white);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.price-table tbody th { color: var(--sea-900); }
.price-table tbody th small { display: block; font-weight: 400; color: var(--ink-soft); font-size: 0.8rem; }
.price-table td { font-family: "Fraunces", serif; font-size: 1.05rem; color: var(--sea-900); white-space: nowrap; }
.price-table tr:last-child th, .price-table tr:last-child td { border-bottom: 0; }
.price-footnote { font-size: 0.8rem; margin-top: 14px; }

.offer-subline { font-family: "Fraunces", serif; font-size: 1.25rem; color: var(--coral-600); }
.offer-includes { padding-left: 1.2em; margin: 0 0 1em; color: var(--ink-soft); }
.room-detail.offer .btn { margin-top: 8px; }

/* ---------- Rich text (Impressum / Datenschutz) ---------- */

.richtext { max-width: 760px; }
.richtext h3 { font-size: 1.2rem; margin: 1.6em 0 0.5em; }
.richtext ul { color: var(--ink-soft); padding-left: 1.2em; }
.richtext li { margin-bottom: 0.5em; }

/* links in editor (CKEditor) content: Richtext, Grid card text */
.richtext a,
.card-text a {
  color: var(--sea-500);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s ease;
}
.richtext a:hover, .richtext a:focus-visible,
.card-text a:hover, .card-text a:focus-visible { color: var(--coral-600); }

/* ---------- Contact forms (widget template "Kontaktformular", contact module) ---------- */

.contact-single { max-width: 760px; }
.contact-info-card h3 { font-size: 1.2rem; }
.contact-info-card a { color: var(--sea-500); }
.contact-form-widget { max-width: 760px; }
.section > .container > .contact-form-widget,
body > .contact-form-widget { margin: 60px auto; padding: 0 24px; }
/* json-editor (bootstrap3 theme) markup */
.contact-form-widget .well { background: none; border: 0; box-shadow: none; padding: 0; margin: 0; }
.contact-form-widget h3:first-child, .contact-form-widget > form > .form-group > div > div > h3 { display: none; }
.contact-form-widget .form-group { margin-bottom: 16px; }
.contact-form-widget .control-label { display: block; font-size: 0.82rem; font-weight: 700; color: var(--sea-900); margin-bottom: 6px; }
.contact-form-widget .required .control-label::after, .contact-form-widget label.required::after { content: " *"; color: var(--coral-600); }
.contact-form-widget .checkbox label { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; }
.contact-form-widget .checkbox input { width: auto; margin-top: 4px; }
.contact-form-widget .help-block, .contact-form-widget .errormsg { font-size: 0.8rem; color: var(--coral-600); }
.contact-form-widget .help-block:empty { display: none; }
.contact-form-widget .has-error input, .contact-form-widget .has-error select, .contact-form-widget .has-error textarea { border-color: var(--coral-600); }
.contact-form-widget .has-error .control-label, .contact-form-widget .has-error .checkbox label { color: var(--coral-600); }
.contact-form-widget .btn-primary[disabled] { opacity: 0.6; cursor: progress; }
.contact-form-widget .error-summary { background: #fbe9e0; border-radius: 12px; padding: 12px 16px; color: var(--coral-600); margin-bottom: 16px; }
.contact-form-widget .btn-primary { margin-top: 8px; }
.contact-form-widget img { border-radius: 8px; margin-bottom: 8px; }

/* ---------- Responsive ---------- */

@media (max-width: 920px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  /* centered and as wide as the other content blocks, not stretched to the edge */
  .hero-card { transform: none; width: 100%; max-width: 560px; margin: 0 auto; }
  .hero-card .weather-row { justify-content: space-around; text-align: center; }
  .usp-grid { grid-template-columns: repeat(2, 1fr) !important; } /* beats the Grid widget's inline column count */
  .teaser-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .room-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .room-detail { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .reviews-card { grid-template-columns: minmax(0, 1fr); gap: 18px; padding: 28px 24px; text-align: center; }
  .reviews-actions { align-items: center; }
  .text-block.with-media { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .text-block.reverse .text-block-media { order: 0; }
  .text-block-media { margin: 0 14px 14px 0; }
  .text-block-media::before { inset: 14px -14px -14px 14px; }
  .room-detail.reverse .room-detail-media { order: 0; }
  .price-table th, .price-table td { padding: 10px 8px; }
  .price-table td { white-space: normal; font-size: 0.95rem; }
}

@media (max-width: 640px) {
  .usp-grid { grid-template-columns: 1fr !important; }
  .hero-card { padding: 22px 16px; }
  .hero-card .weather-row { gap: 8px; }
  .hero-card .stat span { font-size: 0.68rem; letter-spacing: 0.02em; }
  .price-table th, .price-table td { padding: 8px 6px; }
  .price-table thead th { font-size: 0.66rem; letter-spacing: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: 60px 0 130px; }
}

/* jump targets (#einzelzimmer …) land below the sticky header */
section[id] { scroll-margin-top: 70px; }

/* Offline widgets are still rendered for editors (widgets module, permission
   widgets-cell-edit) so they can switch them back on - never for guests.
   Mark them clearly so they don't look published. */
.hrzg-widget-widget-invisible-frontend {
  position: relative;
  opacity: 0.35;
  outline: 3px dashed var(--coral-500);
  outline-offset: -3px;
}
.hrzg-widget-widget-invisible-frontend:hover { opacity: 0.8; }
.hrzg-widget-widget-invisible-frontend::before {
  content: "Offline – nur für Redakteure sichtbar";
  position: absolute;
  top: 12px; left: 12px;
  z-index: 5;
  background: var(--coral-600);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
}
