:root {
  --bg: #f7f4ed;
  --surface: #fffdf8;
  --surface-strong: #f0eadc;
  --text: #243126;
  --muted: #687463;
  --line: rgba(64, 82, 61, 0.16);
  --green: #526f42;
  --green-dark: #31482d;
  --olive: #85936a;
  --gold: #b58a45;
  --shadow: 0 18px 48px rgba(48, 59, 39, 0.13);
  --radius: 8px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

img {
  max-width: 100%;
}

html {
  min-height: 100%;
  overscroll-behavior-y: none;
  scroll-behavior: smooth;
}

body {
  display: flex;
  min-height: 100dvh;
  flex-direction: column;
  margin: 0;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
  overscroll-behavior-y: none;
  overflow-x: hidden;
}

main {
  flex: 1 0 auto;
}

a {
  color: inherit;
  text-decoration: none;
}

svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(20px, 5vw, 72px);
  background: rgba(247, 244, 237, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
}

.brand-mark {
  display: grid;
  width: 52px;
  height: 60px;
  place-items: center;
  flex: 0 0 auto;
}

.brand-mark picture,
.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
}

.brand-mark img {
  object-fit: contain;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 16px;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.text-link:hover,
.article-card a:hover,
.place-card a:hover {
  color: var(--green);
}

.language-switch {
  position: relative;
  min-width: 76px;
}

.language-switch summary {
  display: flex;
  min-height: 38px;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 10px;
  color: #fffdf8;
  background: var(--green-dark);
  border: 1px solid rgba(49, 72, 45, 0.28);
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 12px;
  font-weight: 850;
  list-style: none;
}

.language-switch summary::-webkit-details-marker {
  display: none;
}

.language-switch summary::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

.language-switch[open] summary::after {
  transform: translateY(2px) rotate(225deg);
}

.language-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  z-index: 30;
  display: grid;
  min-width: 100%;
  padding: 5px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 42px rgba(48, 59, 39, 0.16);
}

.language-menu a {
  padding: 8px 10px;
  color: var(--muted);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 850;
}

.language-menu a:hover,
.language-menu .active {
  color: #fffdf8;
  background: var(--green);
}

.hero {
  position: relative;
  display: grid;
  min-height: 680px;
  align-items: end;
  overflow: hidden;
  padding: clamp(96px, 12vw, 150px) clamp(20px, 5vw, 72px) 48px;
  color: #fffdf8;
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(24, 38, 26, 0.78) 0%, rgba(24, 38, 26, 0.54) 38%, rgba(24, 38, 26, 0.12) 100%),
    linear-gradient(0deg, rgba(22, 29, 20, 0.55), rgba(22, 29, 20, 0.04) 42%),
    url("assets/marienbad-hero.png") center / cover no-repeat;
}

.hero-content {
  position: relative;
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ead2a3;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 20px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(46px, 8vw, 88px);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 650px;
  margin-bottom: 28px;
  color: rgba(255, 253, 248, 0.86);
  font-size: clamp(18px, 2vw, 22px);
}

.hero-actions,
.business-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
}

.btn.primary {
  color: #fffdf8;
  background: var(--green);
}

.btn.secondary {
  color: #fffdf8;
  border-color: rgba(255, 253, 248, 0.46);
  background: rgba(255, 253, 248, 0.11);
}

.btn.ghost {
  color: var(--green-dark);
  border-color: rgba(49, 72, 45, 0.24);
  background: #fffdf8;
}

.place-card span,
.tag {
  color: var(--gold);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.section {
  padding: 78px clamp(20px, 5vw, 72px);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-heading.split {
  display: flex;
  max-width: none;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

h2 {
  margin-bottom: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(32px, 4vw, 50px);
  line-height: 1.05;
  letter-spacing: 0;
}

.text-link {
  color: var(--green-dark);
  font-weight: 850;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(150px, 1fr));
  gap: 14px;
}

.category-card,
.article-card,
.place-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 14px 34px rgba(48, 59, 39, 0.06);
}

.category-card {
  display: flex;
  min-height: 210px;
  flex-direction: column;
  gap: 14px;
  padding: 20px;
}

.category-card:hover,
.article-card:hover,
.place-card:hover {
  transform: translateY(-2px);
  transition: transform 160ms ease;
}

.card-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--green-dark);
  background: #e4ecd9;
  border-radius: var(--radius);
}

.category-card strong {
  font-size: 18px;
  line-height: 1.2;
}

.category-card small {
  color: var(--muted);
  font-size: 14px;
}

.poster-section {
  overflow: hidden;
  background: #fffaf0;
  border-block: 1px solid var(--line);
}

.poster-hint {
  max-width: 320px;
  margin: 0;
  color: var(--muted);
  font-weight: 700;
  text-align: right;
}

.poster-marquee {
  overflow: hidden;
  margin-inline: calc(clamp(20px, 5vw, 72px) * -1);
  padding-block: 6px 12px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.poster-track {
  display: flex;
  width: max-content;
  gap: 16px;
  animation: poster-scroll 58s linear infinite;
}

.poster-marquee:hover .poster-track {
  animation-play-state: paused;
}

.poster-set {
  display: flex;
  flex: 0 0 auto;
  gap: 16px;
}

.poster-card {
  display: block;
  width: clamp(180px, 18vw, 260px);
  aspect-ratio: 849 / 1200;
  overflow: hidden;
  padding: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 16px 34px rgba(48, 59, 39, 0.12);
  cursor: zoom-in;
}

.poster-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.poster-card:hover {
  transform: translateY(-2px);
}

.poster-card:focus-visible,
.poster-modal-close:focus-visible {
  outline: 3px solid rgba(181, 138, 69, 0.58);
  outline-offset: 3px;
}

.poster-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 22px;
}

.poster-modal[hidden] {
  display: none;
}

.poster-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 25, 18, 0.72);
  backdrop-filter: blur(10px);
}

.poster-modal-panel {
  position: relative;
  display: grid;
  max-width: min(92vw, 760px);
  max-height: 92dvh;
  margin: 0;
  padding: 12px;
  background: var(--surface);
  border: 1px solid rgba(255, 253, 248, 0.72);
  border-radius: var(--radius);
  box-shadow: 0 34px 90px rgba(18, 30, 22, 0.34);
}

.poster-modal-image {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: calc(92dvh - 24px);
  object-fit: contain;
  border-radius: 6px;
}

.poster-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--green-dark);
  background: rgba(255, 253, 248, 0.95);
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
}

@keyframes poster-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-50% - 8px));
  }
}

@media (prefers-reduced-motion: reduce) {
  .poster-track {
    animation: none;
  }

  .poster-marquee {
    overflow-x: auto;
    -webkit-mask-image: none;
    mask-image: none;
  }
}

.content-preview {
  background: #fffaf0;
  border-block: 1px solid var(--line);
}

.article-grid,
.places-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.article-card {
  overflow: hidden;
  padding: 26px;
}

.article-card h3 {
  margin: 12px 0 12px;
  font-size: 23px;
  line-height: 1.18;
}

.article-card p {
  color: var(--muted);
}

.article-card a,
.place-card a {
  color: var(--green-dark);
  font-weight: 850;
}

.article-card img {
  display: block;
  width: calc(100% + 52px);
  max-width: none;
  aspect-ratio: 16 / 9;
  margin: -26px -26px 20px;
  object-fit: cover;
  border-radius: var(--radius) var(--radius) 0 0;
}

.article-page {
  background: var(--surface);
}

.article-hero {
  padding-bottom: 44px;
}

.article-hero-image {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
}

.article-body {
  width: min(860px, calc(100% - 40px));
  margin: 0 auto;
  padding: 54px 0 72px;
}

.article-body h2 {
  margin: 38px 0 14px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.12;
}

.article-body h3 {
  margin: 28px 0 10px;
  font-size: 24px;
}

.article-body p,
.article-body li {
  color: var(--muted);
  font-size: 18px;
}

.article-body p {
  margin: 0 0 18px;
}

.article-body ul,
.article-body ol {
  padding-left: 22px;
}

.article-body li + li {
  margin-top: 10px;
}

.article-cta {
  margin: 38px 0;
  padding: 26px;
  background: #fffaf0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.article-cta p {
  margin-bottom: 18px;
}

.article-faq {
  margin-top: 42px;
  border-top: 1px solid var(--line);
}

.article-faq details {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.article-faq summary {
  cursor: pointer;
  font-weight: 850;
}

.places-section {
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0), rgba(255, 253, 248, 0.74)),
    var(--bg);
}

.place-card {
  display: flex;
  min-height: 190px;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  background:
    linear-gradient(135deg, rgba(255, 253, 248, 0.96), rgba(238, 232, 213, 0.86)),
    var(--surface);
}

.place-card h3 {
  margin: 10px 0 0;
  font-size: 28px;
  line-height: 1.12;
}

.business-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  margin: 18px clamp(20px, 5vw, 72px) 84px;
  padding: clamp(28px, 5vw, 52px);
  color: #fffdf8;
  background: linear-gradient(135deg, #31482d, #637b4d);
  border-radius: var(--radius);
}

.business-cta .eyebrow {
  color: #ecd2a0;
}

.business-cta h2 {
  margin-bottom: 14px;
}

.business-cta p {
  max-width: 720px;
  margin-bottom: 0;
  color: rgba(255, 253, 248, 0.82);
}

.site-footer {
  display: grid;
  flex-shrink: 0;
  grid-template-columns: 1fr auto;
  gap: 28px;
  padding: 34px clamp(20px, 5vw, 72px);
  color: rgba(255, 253, 248, 0.78);
  background: #263322;
}

.site-footer strong {
  display: block;
  margin-bottom: 6px;
  color: #fffdf8;
}

.site-footer p {
  max-width: 560px;
  margin: 0;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.page-hero {
  padding: 58px clamp(20px, 5vw, 72px) 72px;
  background:
    linear-gradient(135deg, rgba(255, 253, 248, 0.96), rgba(239, 234, 221, 0.78)),
    var(--bg);
  border-bottom: 1px solid var(--line);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.breadcrumbs a {
  color: var(--green-dark);
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  gap: 42px;
  align-items: end;
}

.page-hero h1 {
  max-width: 850px;
  margin-bottom: 20px;
  color: var(--text);
  font-size: clamp(42px, 6vw, 76px);
}

.page-hero p {
  max-width: 760px;
  color: var(--muted);
  font-size: 18px;
}

.directory-note {
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.directory-note strong {
  display: block;
  margin-bottom: 8px;
  font-size: 22px;
}

.directory-note .btn {
  width: 100%;
  margin-top: 8px;
}

.directory-layout {
  display: grid;
  grid-template-columns: minmax(260px, 330px) minmax(0, 1fr);
  gap: 18px 28px;
  align-items: start;
  padding-top: 58px;
}

.directory-controls {
  display: grid;
  align-self: start;
  gap: 22px;
  grid-row: span 3;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 14px 34px rgba(48, 59, 39, 0.06);
}

@media (min-width: 901px) {
  .directory-controls {
    position: sticky;
    top: 94px;
    max-height: calc(100vh - 118px);
    overflow: auto;
  }
}

.directory-controls h2 {
  font-size: clamp(28px, 3vw, 38px);
}

.hotel-filter-stack {
  display: grid;
  gap: 18px;
}

.filter-field {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.filter-field select,
.filter-field input {
  width: 100%;
  min-height: 42px;
  padding: 9px 11px;
  color: var(--text);
  background: #fffdf8;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font: inherit;
  font-weight: 650;
}

.filter-group {
  display: grid;
  gap: 8px;
  min-width: 0;
  margin: 0;
  padding: 0;
  color: var(--text);
  border: 0;
}

.filter-group legend {
  margin-bottom: 2px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.filter-group label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #3d493a;
  font-size: 14px;
  font-weight: 700;
}

.filter-group input {
  width: 17px;
  height: 17px;
  accent-color: var(--green);
}

.search-box {
  display: flex;
  min-height: 54px;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 28px rgba(48, 59, 39, 0.06);
}

.search-box svg {
  flex: 0 0 auto;
  color: var(--green);
}

.search-box input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  color: var(--text);
  background: transparent;
  font: inherit;
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-chips.vertical {
  display: grid;
}

.chip {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 8px 12px;
  color: var(--green-dark);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.filter-chips.vertical .chip {
  justify-content: flex-start;
  width: 100%;
  text-align: left;
}

.chip.active {
  color: #fffdf8;
  background: var(--green-dark);
  border-color: var(--green-dark);
}

.directory-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: var(--muted);
  font-weight: 800;
}

.company-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.hotel-browser {
  scroll-margin-top: 76px;
  background: #fffaf0;
  border-bottom: 1px solid var(--line);
}

@media (min-width: 1181px) {
  .hotel-browser {
    grid-template-columns: minmax(260px, 330px) minmax(0, 1fr) minmax(210px, 250px);
  }

  .hotel-summary,
  .hotel-grid,
  .hotel-browser .empty-state {
    grid-column: 2;
  }
}

.hotel-summary {
  padding-top: 22px;
}

.hotel-grid {
  align-items: stretch;
  grid-auto-rows: 1fr;
  grid-template-columns: repeat(auto-fill, minmax(300px, 360px));
  justify-content: start;
}

.hotel-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 360px;
  height: 100%;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 16px 38px rgba(48, 59, 39, 0.08);
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.hotel-card:hover,
.hotel-card:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 20px 44px rgba(48, 59, 39, 0.13);
  outline: none;
}

.hotel-card[hidden] {
  display: none;
}

.hotel-ad {
  display: grid;
  align-self: start;
  overflow: hidden;
  height: fit-content;
  background:
    linear-gradient(145deg, rgba(255, 253, 248, 0.96), rgba(240, 234, 220, 0.78)),
    var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 16px 38px rgba(48, 59, 39, 0.08);
}

.hotel-ad-link {
  display: grid;
  gap: 9px;
  padding: 0 0 14px;
  color: inherit;
  text-decoration: none;
}

.hotel-ad-link:focus-visible {
  outline: 3px solid rgba(82, 112, 64, 0.35);
  outline-offset: 3px;
}

.hotel-ad-visual {
  display: block;
}

.hotel-ad-visual img {
  display: block;
  width: 100%;
  height: 140px;
  object-fit: cover;
}

@media (min-width: 1181px) {
  .hotel-ad {
    position: sticky;
    top: 94px;
    grid-column: 3;
    grid-row: 1 / span 3;
  }
}

.hotel-ad strong {
  display: block;
  margin: 0 14px;
  font-size: 18px;
  line-height: 1.1;
}

.hotel-ad p {
  margin: 0 14px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.hotel-photo {
  flex: 0 0 auto;
  position: relative;
  height: 280px;
  overflow: hidden;
  background: var(--surface-strong);
}

.hotel-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 48%;
  display: block;
}

.hotel-photo-center img {
  object-position: 72% 48%;
}

.hotel-photo-park img {
  object-position: 42% 44%;
}

.hotel-photo-apartments img {
  object-position: 50% 68%;
}

.hotel-photo::after {
  position: absolute;
  inset: auto 0 0;
  height: 44%;
  content: "";
  background: linear-gradient(180deg, rgba(36, 49, 38, 0), rgba(36, 49, 38, 0.5));
}

.hotel-card-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 12px;
  padding: 18px;
}

.hotel-card h3 {
  margin: 0;
  font-size: 23px;
  line-height: 1.14;
}

.hotel-location {
  margin: 0;
  color: var(--text);
  font-size: 16px;
  font-weight: 650;
}

.hotel-rating {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  color: var(--text);
}

.hotel-rating span {
  display: inline-grid;
  min-width: 42px;
  height: 36px;
  place-items: center;
  color: #fffdf8;
  background: var(--green);
  border-radius: var(--radius);
  font-weight: 900;
}

.hotel-rating strong {
  font-size: 16px;
}

.hotel-rating small {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.hotel-deal {
  width: max-content;
  max-width: 100%;
  margin-top: 12px;
  padding: 8px 10px;
  color: #fffdf8;
  background: var(--gold);
  border-radius: var(--radius);
  font-weight: 900;
}

.hotel-extra-fields {
  display: grid;
  gap: 8px;
}

.hotel-extra-fields span {
  display: grid;
  grid-template-columns: minmax(74px, auto) minmax(0, 1fr);
  gap: 10px;
  min-height: 34px;
  align-items: center;
  padding: 7px 9px;
  color: var(--green-dark);
  background: #f7f4ed;
  border: 1px solid rgba(64, 82, 61, 0.18);
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 750;
}

.hotel-extra-fields b {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

.hotel-price {
  display: grid;
  gap: 3px;
  margin-top: auto;
  color: var(--green-dark);
}

.hotel-price span {
  font-size: 18px;
  font-weight: 650;
}

.hotel-price strong {
  color: var(--green-dark);
  font-size: 20px;
  line-height: 1.18;
}

.hotel-price small {
  color: #407147;
  font-size: 14px;
  font-weight: 750;
}

.hotel-card-action {
  display: inline-flex;
  width: 100%;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  color: #fffdf8;
  background: var(--green);
  border: 1px solid var(--green);
  border-radius: var(--radius);
  cursor: pointer;
  font: inherit;
  font-weight: 850;
}

.modal-open {
  overflow: hidden;
}

.hotel-modal[hidden] {
  display: none;
}

.hotel-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: clamp(14px, 3vw, 32px);
}

.hotel-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(22, 32, 25, 0.58);
  backdrop-filter: blur(5px);
}

.hotel-modal-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(420px, 0.95fr) minmax(0, 1.05fr);
  align-items: start;
  width: min(1180px, 100%);
  max-height: min(88vh, 860px);
  overflow: auto;
  background: var(--surface);
  border: 1px solid rgba(255, 253, 248, 0.72);
  border-radius: var(--radius);
  box-shadow: 0 34px 90px rgba(18, 30, 22, 0.34);
}

.hotel-modal-media {
  display: grid;
  align-self: start;
  place-items: center;
  background: var(--surface-strong);
}

.hotel-modal-media img {
  width: 100%;
  height: auto;
  max-height: min(88vh, 860px);
  object-fit: contain;
  object-position: center;
  display: block;
}

.hotel-modal-body {
  display: grid;
  gap: 18px;
  align-content: start;
  max-height: min(88vh, 860px);
  overflow: auto;
  padding: clamp(20px, 3vw, 34px);
}

.hotel-modal-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: start;
}

.hotel-modal-heading h2 {
  margin: 8px 0 8px;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1;
}

.hotel-modal-heading p,
.hotel-modal-intro,
.hotel-modal-section p {
  margin: 0;
  color: var(--text);
  font-size: 16px;
  line-height: 1.58;
  font-weight: 650;
}

.hotel-modal-close {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--green-dark);
  background: #fffdf8;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
}

.hotel-modal-section {
  display: grid;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.hotel-modal-section h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--green-dark);
  font-size: 22px;
}

.hotel-modal-icon {
  display: inline-grid;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--green-dark);
  background: #f0eadc;
  border: 1px solid rgba(64, 82, 61, 0.18);
  border-radius: 999px;
}

.hotel-modal-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.hotel-modal-section ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding-left: 20px;
  color: var(--text);
  font-weight: 650;
}

.hotel-modal-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.hotel-modal-group {
  display: grid;
  gap: 8px;
  padding: 12px;
  background: #f7f4ed;
  border: 1px solid rgba(64, 82, 61, 0.18);
  border-radius: var(--radius);
}

.hotel-modal-group h4 {
  margin: 0;
  color: var(--green-dark);
  font-size: 15px;
}

.company-card {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 18px;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 14px 34px rgba(48, 59, 39, 0.06);
}

.company-card[hidden] {
  display: none;
}

.company-logo {
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  color: #fffdf8;
  background: linear-gradient(135deg, var(--green-dark), var(--olive));
  border-radius: var(--radius);
  font-weight: 900;
}

.company-topline {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.company-card h3 {
  margin: 12px 0 8px;
  font-size: 25px;
  line-height: 1.16;
}

.company-card p {
  color: var(--muted);
}

.company-card dl {
  display: grid;
  gap: 8px;
  margin: 0 0 18px;
}

.company-card dl div {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 12px;
}

.company-card dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.company-card dd {
  margin: 0;
  color: var(--text);
  font-weight: 700;
}

.company-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.small-btn {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  padding: 7px 11px;
  color: #fffdf8;
  background: var(--green);
  border: 1px solid var(--green);
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 850;
}

.small-btn.outline {
  color: var(--green-dark);
  background: #fffdf8;
  border-color: var(--line);
}

.empty-state {
  margin: 28px 0 0;
  padding: 24px;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 750;
}

/* Hotel type badge on card */
.hotel-type-badge {
  display: inline-block;
  padding: 2px 9px;
  margin-bottom: 6px;
  background: #f0eadc;
  color: var(--green-dark);
  border: 1px solid rgba(64, 82, 61, 0.18);
  border-radius: 12px;
  font-size: 12px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

@media (max-width: 1180px) {
  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .company-grid {
    grid-template-columns: 1fr;
  }

  .hotel-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hotel-ad {
    grid-column: 2;
  }

  .hotel-card {
    max-width: none;
  }
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .hero {
    min-height: 660px;
    align-items: start;
    padding-top: 118px;
  }

  .article-grid,
  .places-grid,
  .business-cta,
  .site-footer,
  .directory-layout,
  .page-hero-grid {
    grid-template-columns: 1fr;
  }

  .directory-controls {
    grid-row: auto;
    position: static;
    max-height: none;
    overflow: visible;
  }

  .hotel-ad {
    grid-column: auto;
  }

  .business-actions {
    justify-content: flex-start;
  }

  .hotel-modal-panel {
    grid-template-columns: 1fr;
    max-height: calc(100dvh - 28px);
    overflow: auto;
  }

  .hotel-modal-media img {
    max-height: 260px;
    min-height: 220px;
    object-fit: cover;
  }

  .hotel-modal-body {
    max-height: none;
    overflow: visible;
  }

  .hotel-modal-groups {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .site-header {
    gap: 10px;
    padding: 12px 16px;
  }

  .brand {
    min-width: 0;
  }

  .brand-mark {
    width: 44px;
    height: 51px;
  }

  .brand strong {
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .brand small {
    display: none;
  }

  .language-switch {
    min-width: 68px;
  }

  .language-switch summary {
    min-height: 34px;
    padding: 6px 9px;
  }

  .hero {
    min-height: 620px;
    padding: 102px 16px 28px;
  }

  .hero-media {
    background:
      linear-gradient(180deg, rgba(24, 38, 26, 0.82) 0%, rgba(24, 38, 26, 0.48) 56%, rgba(24, 38, 26, 0.72) 100%),
      url("assets/marienbad-hero.png") center / cover no-repeat;
  }

  h1 {
    font-size: 40px;
    line-height: 1.02;
  }

  h2 {
    font-size: 34px;
  }

  .hero-lead {
    font-size: 17px;
  }

  .hero-actions,
  .business-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .btn {
    width: 100%;
  }

  .section {
    padding: 48px 16px;
  }

  .page-hero {
    padding: 30px 16px 44px;
  }

  .page-hero h1 {
    font-size: 38px;
  }

  .page-hero p {
    font-size: 16px;
  }

  .section-heading.split {
    display: block;
  }

  .section-heading.split .text-link {
    display: inline-block;
    margin-top: 14px;
  }

  .poster-hint {
    max-width: none;
    margin-top: 12px;
    text-align: left;
  }

  .poster-card {
    width: clamp(156px, 44vw, 210px);
  }

  .poster-modal {
    padding: 12px;
  }

  .poster-modal-panel {
    padding: 8px;
  }

  .poster-modal-image {
    max-height: calc(92dvh - 16px);
  }

  .business-cta {
    margin: 0 16px 56px;
    padding: 28px 20px;
  }

  .company-card {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 16px;
  }

  .company-card dl div {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .company-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .directory-layout {
    gap: 16px;
    padding-top: 44px;
  }

  .directory-controls {
    padding: 18px;
  }

  .directory-summary {
    align-items: flex-start;
    flex-direction: column;
  }

  .filter-chips {
    flex-wrap: nowrap;
    margin: 0 -18px;
    padding: 0 18px 4px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .filter-chips::-webkit-scrollbar {
    display: none;
  }

  .chip {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .hotel-grid {
    grid-template-columns: 1fr;
  }

  .hotel-card-body {
    padding: 16px;
  }

  .hotel-extra-fields span {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .hotel-photo {
    height: 260px;
  }

  .hotel-price strong {
    font-size: 19px;
  }

  .hotel-modal {
    padding: 10px;
    align-items: stretch;
  }

  .hotel-modal-panel {
    width: 100%;
    max-height: calc(100dvh - 20px);
    border-radius: 8px;
  }

  .hotel-modal-body {
    gap: 16px;
    padding: 18px;
  }

  .hotel-modal-heading {
    gap: 10px;
  }

  .hotel-modal-heading h2 {
    font-size: 34px;
  }

  .hotel-modal-heading p,
  .hotel-modal-intro,
  .hotel-modal-section p {
    font-size: 15px;
  }

  .hotel-modal-section h3 {
    font-size: 21px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    padding: 30px 16px;
  }
}

@media (max-width: 430px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .brand {
    gap: 0;
  }

  .brand > span:not(.brand-mark) {
    display: none;
  }

  .language-switch {
    min-width: 62px;
  }

  .language-switch summary {
    padding: 6px 8px;
  }

  .hero {
    min-height: 590px;
  }

  h1 {
    font-size: 36px;
  }

  .hotel-photo {
    height: 235px;
  }

  .hotel-modal-media img {
    max-height: 220px;
    min-height: 180px;
    object-fit: cover;
  }
}
