/* ── Inner pages: shared hero ────────────── */
.page-hero { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: end; padding-block: clamp(24px, 5vw, 64px) clamp(32px, 5vw, 56px); }
.ph-copy { display: grid; gap: 16px; min-width: 0; max-width: 56rem; }
.page-hero h1 { font-size: clamp(2.6rem, 1.4rem + 4.6vw, 5.6rem); font-weight: 400; letter-spacing: -.03em; line-height: .98; }
.page-hero h1 em { font-style: italic; color: var(--bordeaux); font-weight: 300; }
.ph-stat { display: grid; justify-items: end; text-align: right; gap: 6px; }
.ph-stat b { font: 300 clamp(4rem, 2.6rem + 5vw, 7.5rem)/.85 var(--font-display); color: var(--gold); letter-spacing: -.04em; }
.ph-stat span { font: 400 .8125rem/1.5 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); }
.more-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 28px; font-weight: 600; color: var(--bordeaux); text-decoration: none; }
.more-link svg { width: 18px; height: 18px; transition: transform .2s; }
.more-link:hover svg { transform: translateX(4px); }
.split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 6vw, 96px); align-items: start; }
.prose { display: grid; gap: 18px; color: var(--ink-soft); font-size: 1.0625rem; max-width: 62ch; min-width: 0; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose .more-link, .prose .btn { margin-top: 6px; justify-self: start; }
.inner-page .rooms, .inner-page > .wrap .room-grid { margin-bottom: 0; }

/* ── Gut zu wissen ───────────────────────── */
.know { background: var(--paper); border-block: 1px solid var(--line); }
.know-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.know-grid > div { padding: 22px; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--ivory); display: grid; gap: 8px; align-content: start; }
.know-grid svg { width: 24px; height: 24px; color: var(--bordeaux); }
.know-grid b { font: 500 var(--step-1)/1.25 var(--font-display); }
.know-grid p { color: var(--ink-soft); font-size: .9375rem; }
.know-grid .know-time { grid-column: span 2; background: var(--navy); color: var(--on-dark); border-color: transparent; grid-template-columns: auto 1fr; align-items: baseline; gap: 16px; }
.know-time span { font: 400 .8125rem var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark-soft); }
.know-time b { font: 400 clamp(2.4rem, 1.6rem + 2.4vw, 3.6rem)/1 var(--font-display); color: #fff; font-variant-numeric: tabular-nums; justify-self: end; }

/* ── Zimmer: comparison table ────────────── */
.compare .section-head { margin-bottom: 28px; }
.cmp-scroll { overflow-x: auto; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--paper); }
.cmp { width: 100%; min-width: 720px; border-collapse: collapse; table-layout: fixed; font-size: .9375rem; }
.cmp th, .cmp td { padding: 14px 18px; text-align: left; vertical-align: middle; border-bottom: 1px solid var(--line); }
.cmp tbody th { font: 400 .8125rem var(--font-mono); letter-spacing: .04em; text-transform: uppercase; color: var(--ink-soft); width: 22%; position: sticky; left: 0; background: var(--paper); z-index: 1; }
.cmp thead td, .cmp tfoot td:first-child { position: sticky; left: 0; background: var(--paper); z-index: 1; }
.cmp thead th { padding-top: 18px; }
.cmp thead a { display: grid; gap: 10px; text-decoration: none; }
.cmp thead img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r-sm); }
.cmp thead span { font: 500 var(--step-1) var(--font-display); }
.cmp thead a:hover span { color: var(--bordeaux); }
.cmp tbody tr:hover td, .cmp tbody tr:hover th { background: var(--bordeaux-tint); }
.cmp-price { font: 500 1.35rem var(--font-display); color: var(--bordeaux); font-variant-numeric: tabular-nums; }
.cmp small { color: var(--ink-soft); }
.cmp .yes { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: color-mix(in srgb, #2E9B6A 16%, transparent); color: #2E9B6A; }
.cmp .yes svg { width: 15px; height: 15px; }
.cmp .no { color: var(--ink-soft); }
.cmp tfoot td { border-bottom: 0; padding-block: 18px; }
.cmp tfoot .btn { min-height: 42px; }

/* ── Über uns ────────────────────────────── */
.about-band { display: grid; grid-template-columns: .8fr 1.4fr .8fr; gap: 12px; height: clamp(300px, 40vw, 520px); }
.about-band figure { margin: 0; border-radius: var(--r-lg); overflow: hidden; background: var(--line); }
.about-band img { width: 100%; height: 100%; object-fit: cover; }
.services { padding-top: 0; }
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.svc-grid article { padding: 26px; border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--line); display: grid; gap: 12px; align-content: start; }
.svc-grid svg { width: 30px; height: 30px; color: var(--bordeaux); }
.svc-grid h3 { font-size: var(--step-2); }
.svc-grid p { color: var(--ink-soft); font-size: .9375rem; }
.art-grid { display: grid; grid-template-columns: .7fr 1fr .7fr; gap: clamp(16px, 3vw, 40px); align-items: center; }
.art-grid figure { margin: 0; }
.art-grid img { border-radius: var(--r-lg); aspect-ratio: 3 / 4.4; object-fit: cover; width: 100%; }
.art-grid figure:last-child { margin-top: 64px; }
.art-copy { display: grid; gap: 18px; justify-items: center; text-align: center; }
.art-copy h2 { font-size: var(--step-3); }

/* ── Galerie ─────────────────────────────── */
.gallery-page { padding-bottom: clamp(48px, 8vw, 96px); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; position: sticky; top: calc(84px + env(safe-area-inset-top, 0px)); z-index: 5; padding-block: 8px; }
.filters button { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); font: 600 .9375rem var(--font-body); cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.filters button small { font: 400 .75rem var(--font-mono); color: var(--ink-soft); }
.filters button[aria-pressed="true"] { background: var(--brand-fill); color: #fff; border-color: transparent; }
.filters button[aria-pressed="true"] small { color: rgb(255 255 255 / .75); }
.masonry { columns: 3 280px; column-gap: 12px; }
.masonry figure { margin: 0 0 12px; break-inside: avoid; position: relative; border-radius: var(--r-md); overflow: hidden; background: var(--line); }
.masonry button { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.masonry img { width: 100%; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.masonry figure:hover img { transform: scale(1.04); }
.masonry figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 14px 12px; font-size: .8125rem; font-weight: 500; color: #fff; background: linear-gradient(transparent, rgb(10 18 28 / .7)); opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s; pointer-events: none; }
.masonry figure:hover figcaption { opacity: 1; transform: none; }

/* ── Kontakt ─────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(20px, 3vw, 40px); align-items: start; padding-bottom: clamp(48px, 8vw, 96px); }
.contact-form { display: grid; gap: 14px; padding: clamp(20px, 3vw, 32px); border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow); }
.contact-form h2 { font-size: var(--step-3); margin-bottom: 4px; }
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cf-field { display: grid; gap: 6px; min-width: 0; }
.cf-field label { font: 600 .75rem/1.2 var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }
.cf-field label small { text-transform: none; letter-spacing: 0; font-weight: 400; }
.cf-field input, .cf-field select, .cf-field textarea { width: 100%; min-width: 0; padding: 13px 14px; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--ivory); color: var(--ink); font: 400 1rem var(--font-body); }
.cf-field textarea { resize: vertical; min-height: 120px; }
.cf-field input:focus, .cf-field select:focus, .cf-field textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; border-color: transparent; }
.cf-field input:user-invalid, .cf-field textarea:user-invalid { border-color: #C0392B; }
.contact-form .btn { justify-self: start; min-height: 52px; }
.cf-note { padding: 12px 14px; border-radius: var(--r-sm); background: var(--bordeaux-tint); font-size: .9375rem; }
.contact-side { display: grid; gap: 14px; min-width: 0; }
.contact-side .contact-card { grid-template-columns: 1fr; padding: clamp(24px, 3vw, 36px); }
.contact-side .contact-card h2 { font-size: var(--step-3); }
.map-card { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 16px; align-items: center; padding: 10px; border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--line); text-decoration: none; transition: transform .25s; }
.map-card:hover { transform: translateY(-2px); }
.map-card img { width: 110px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-md); }
.map-card span { display: grid; gap: 4px; color: var(--bordeaux); font-weight: 600; font-size: .9375rem; }
.map-card span b { color: var(--ink); font: 500 var(--step-1) var(--font-display); }
.map-card svg { display: inline; width: 16px; height: 16px; vertical-align: -3px; margin-left: 6px; }
.anreise .arrive { margin-top: 0; }

@media (max-width: 960px) {
  .know-grid { grid-template-columns: 1fr 1fr; }
  .svc-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .page-hero { grid-template-columns: 1fr; }
  .ph-stat { justify-items: start; text-align: left; }
  .split { grid-template-columns: 1fr; }
  .about-band { grid-template-columns: 1fr 1fr; height: auto; }
  .about-band figure { aspect-ratio: 1; }
  .about-band .ab-wide { grid-column: 1 / -1; aspect-ratio: 16 / 10; order: -1; }
  .art-grid { grid-template-columns: 1fr 1fr; }
  .art-copy { grid-column: 1 / -1; order: -1; }
  .art-grid figure:last-child { margin-top: 0; }
  .know-grid { grid-template-columns: 1fr; }
  .know-grid .know-time { grid-column: auto; }
  .cf-row { grid-template-columns: 1fr; }
  .contact-form .btn { justify-self: stretch; }
  .masonry { columns: 2; column-gap: 8px; }
  .masonry figure { margin-bottom: 8px; border-radius: 12px; }
  .masonry figcaption { display: none; }
  .filters { top: calc(70px + env(safe-area-inset-top, 0px)); margin-inline: calc(-1 * var(--gutter-l)) calc(-1 * var(--gutter-r)); padding-inline: var(--gutter-l) var(--gutter-r); flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; background: color-mix(in srgb, var(--ivory) 92%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
  .filters button { flex: none; }
  .cmp { min-width: 640px; font-size: .875rem; }
  .cmp th, .cmp td { padding: 12px; }
  .cmp tbody th { width: 120px; }
}

/* ── Mobile polish, all pages ────────────── */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
a, button, select, input, label { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.cf-field label small { font-size: .75rem; }
@media (max-width: 720px) {
  /* iOS zooms into any field below 16px: keep every input at 16px */
  .field input, .field select, .cf-field input, .cf-field select, .cf-field textarea { font-size: 16px; }
  .field input, .field select { min-height: 36px; }
  .field { cursor: text; }

  /* comfortable tap targets (44px) */
  .notice button { min-height: 36px; padding-inline: 4px; }
  .site-header .lang a { min-width: 34px; min-height: 44px; display: inline-grid; place-items: center; padding: 0 4px; }
  .site-header .lang { gap: 0; }
  .site-header .wrap { gap: 12px; min-height: 68px; }
  .logo img { height: 22px; }
  .logo { padding-block: 11px; }
  .copy { min-height: 40px; padding-inline: 12px; }
  .bk-help a { display: inline-block; padding-block: 12px; }
  .burger { width: 44px; height: 44px; }
  .more-link, .maplink, .theme-toggle { min-height: 44px; display: inline-flex; align-items: center; }
  .contact-row { min-height: 56px; }
  .contact-row a.val { min-height: 44px; display: flex; align-items: center; }
  .footer nav a { min-height: 44px; display: inline-flex; align-items: center; }
  .crumbs a { padding-block: 10px; }

  /* menu: room shortcuts in one swipeable row (min-width 0 keeps the row from widening the menu) */
  dialog.menu { overflow-x: hidden; }
  .menu-main, .menu-links, .menu-links > li { min-width: 0; }
  .menu-links .sub a small { white-space: nowrap; }
  .menu-links .sub { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-right: calc(-1 * max(20px, env(safe-area-inset-right, 0px))); padding-right: 20px; }
  .menu-links .sub::-webkit-scrollbar { display: none; }
  .menu-links .sub a { flex: none; min-height: 44px; align-items: center; }
  .menu-links a { padding-block: 12px; }
  .menu-links .t { font-size: clamp(1.9rem, 9vw, 2.6rem); }

  /* room page: amenities as a compact two-column grid */
  .amenities { grid-template-columns: 1fr 1fr; gap: 8px; }
  .amenities li { flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px; font-size: .875rem; line-height: 1.35; }
  .amenities svg { width: 22px; height: 22px; }

  /* lightbox: full screen, controls in a bottom bar within thumb reach */
  dialog.lightbox { max-width: none; width: 100%; height: 100%; max-height: none; margin: 0; }
  dialog.lightbox::backdrop { background: rgb(8 14 22 / .96); }
  .lb-inner { height: 100%; grid-template-rows: 1fr auto; gap: 0; padding: env(safe-area-inset-top, 0px) 0 env(safe-area-inset-bottom, 0px); }
  .lb-inner img { max-height: none; height: 100%; border-radius: 0; align-self: center; }
  .lb-bar { padding: 12px 16px 16px; flex-wrap: wrap; }
  .lb-bar p { flex: 1 0 100%; font-size: .875rem; color: rgb(255 255 255 / .8); }
  .lb-bar button { width: 48px; height: 48px; }
  .lb-bar #lb-prev { margin-left: auto; }

  /* gallery page: let captions breathe */
  .gallery-page .filters button { min-height: 44px; }
}
