:root {
  color-scheme: light;
  --bg: #f5f6f7;
  --surface: #ffffff;
  --surface-soft: #101418;
  --text: #121416;
  --muted: #636a70;
  --line: #e5e8eb;
  --accent: #9a7a3d;
  --accent-strong: #6f5628;
  --accent-soft: #f3eee2;
  --blue: #235f88;
  --blue-soft: #e8f1f7;
  --warning: #8a6830;
  --ink: #0f1113;
  --shadow: 0 30px 90px rgba(15, 17, 19, 0.13);
  --soft-shadow: 0 18px 48px rgba(15, 17, 19, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

main,
section {
  scroll-margin-top: 96px;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, #ffffff 0, var(--bg) 640px),
    var(--bg);
  color: var(--text);
  font-family: "Avenir Next", Avenir, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(229, 232, 235, 0.86);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 250px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(35, 95, 136, 0.38);
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
}

.brand strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.02rem;
  font-weight: 600;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 4px;
}

.main-nav a {
  padding: 8px 10px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  text-transform: uppercase;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  background: var(--blue-soft);
  color: var(--blue);
}

.hero-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(360px, 1.05fr);
  gap: clamp(32px, 5vw, 86px);
  align-items: end;
  min-height: calc(100vh - 72px);
  padding: clamp(34px, 5vw, 78px);
  background:
    linear-gradient(135deg, rgba(15, 17, 19, 0.04), transparent 42%),
    #ffffff;
}

.hero-media {
  height: clamp(520px, 72vh, 760px);
  min-height: 520px;
  border-radius: 2px;
  box-shadow: var(--shadow);
}

.photo-slot {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  min-height: 260px;
  border: 1px dashed #c7b98f;
  background:
    linear-gradient(135deg, rgba(182, 138, 58, 0.16), rgba(17, 16, 14, 0.05)),
    repeating-linear-gradient(45deg, rgba(17, 16, 14, 0.04), rgba(17, 16, 14, 0.04) 10px, transparent 10px, transparent 20px);
  color: var(--muted);
  text-align: center;
}

.photo-slot.has-image {
  border-style: solid;
  background-size: cover;
  background-position: center;
}

.photo-slot.has-image,
.room-gallery-item img,
.building-photo img,
.kitchen-photo img,
.snack-photo img {
  cursor: zoom-in;
}

.photo-slot.has-image:focus-visible,
.room-gallery-item img:focus-visible,
.building-photo img:focus-visible,
.kitchen-photo img:focus-visible,
.snack-photo img:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

.hero-media.photo-slot.has-image {
  border: 12px solid #fff;
  background-color: #f1f3f4;
  background-repeat: no-repeat;
  background-size: contain;
}

.photo-slot.has-image span {
  display: none;
}

.photo-slot span {
  max-width: 28ch;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  font-size: 0.92rem;
  font-weight: 700;
}

.hero-copy {
  max-width: 720px;
  padding-bottom: clamp(12px, 4vh, 48px);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 24px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 6vw, 6.6rem);
  font-weight: 500;
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3.2vw, 3.55rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.12rem;
  font-weight: 600;
}

.hero-copy p:not(.eyebrow),
.section-heading p,
.split-section > div > p {
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 30px;
  border: 1px solid var(--line);
  background: var(--line);
  box-shadow: var(--soft-shadow);
}

.hero-facts span {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: center;
  padding: 14px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  font-size: 0.83rem;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  text-transform: uppercase;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 2px;
  cursor: pointer;
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.button.primary {
  background: var(--ink);
  color: #fff;
}

.button.primary:hover,
.button.primary:focus-visible {
  background: var(--blue);
}

.button.secondary {
  border-color: rgba(182, 138, 58, 0.5);
  background: var(--surface);
  color: var(--text);
}

.button.secondary:hover,
.button.secondary:focus-visible {
  border-color: var(--blue);
  color: var(--blue);
}

.button.quiet {
  border-color: transparent;
  background: var(--blue-soft);
  color: var(--blue);
}

.content-section,
.band-section {
  padding: clamp(68px, 8vw, 128px) clamp(18px, 4vw, 64px);
}

.band-section {
  background:
    linear-gradient(135deg, rgba(182, 138, 58, 0.08), transparent 36%),
    var(--surface-soft);
  color: #fff;
}

.band-section .section-heading p,
.band-section article p {
  color: #c9c1b2;
}

.band-section .eyebrow {
  color: #d7b66f;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 42px;
}

.section-heading.compact {
  margin-bottom: 22px;
}

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

.building-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 1080px;
}

.building-photo {
  height: clamp(440px, 48vw, 640px);
  min-height: 440px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(228, 221, 208, 0.95);
  border-radius: 2px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.building-photo.large {
  grid-row: span 1;
}

.building-photo img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 440px;
  object-fit: cover;
}

.kitchen-section {
  background:
    linear-gradient(180deg, rgba(255, 253, 249, 0.92), rgba(247, 243, 235, 0.94)),
    var(--background);
}

.kitchen-layout {
  display: grid;
  gap: 28px;
}

.kitchen-info {
  max-width: 1080px;
}

.kitchen-gallery {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  grid-template-rows: repeat(2, minmax(210px, 1fr));
  gap: 16px;
  max-width: 1080px;
}

.kitchen-photo {
  min-height: 210px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(228, 221, 208, 0.95);
  border-radius: 2px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.kitchen-photo.large {
  grid-row: span 2;
}

.kitchen-photo img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 210px;
  object-fit: cover;
}

.snack-section {
  background: #fffdf9;
}

.snack-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 0.7fr);
  align-items: center;
  gap: clamp(24px, 5vw, 64px);
  max-width: 1080px;
}

.snack-layout .section-heading {
  margin-bottom: 0;
}

.snack-photo {
  height: clamp(380px, 52vw, 640px);
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(228, 221, 208, 0.95);
  border-radius: 2px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

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

.room-card {
  overflow: hidden;
  border: 1px solid rgba(229, 232, 235, 0.9);
  border-radius: 2px;
  background: var(--surface);
  box-shadow: var(--soft-shadow);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.room-card:hover {
  transform: translateY(-3px);
  border-color: rgba(35, 95, 136, 0.3);
  box-shadow: 0 34px 80px rgba(15, 17, 19, 0.14);
}

.room-card .photo-slot {
  min-height: 300px;
  border-width: 0 0 1px;
  border-radius: 0;
}

.room-body {
  padding: 28px;
}

.room-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
  margin: 20px 0 4px;
}

.room-gallery-item {
  position: relative;
  height: 104px;
  margin: 0;
  overflow: hidden;
  border: 0;
  background: var(--surface);
}

.room-gallery-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.room-gallery-item.has-more::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 17, 19, 0.18), rgba(15, 17, 19, 0.82));
  pointer-events: none;
}

.gallery-more {
  position: absolute;
  inset: auto 8px 8px;
  z-index: 1;
  display: grid;
  place-items: center;
  min-height: 34px;
  padding: 7px 8px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(15, 17, 19, 0.72);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-align: center;
  text-transform: uppercase;
  pointer-events: none;
}

.lightbox[hidden] {
  display: none;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: clamp(18px, 4vw, 56px);
  background: rgba(10, 10, 9, 0.92);
}

body.lightbox-open {
  overflow: hidden;
}

.lightbox-frame {
  display: grid;
  justify-items: center;
  gap: 14px;
  min-width: 0;
  margin: 0;
}

.lightbox-frame img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: min(82vh, 860px);
  object-fit: contain;
  border: 1px solid rgba(215, 182, 111, 0.34);
  background: #0e0d0b;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.42);
}

.lightbox-frame figcaption {
  color: rgba(255, 253, 249, 0.78);
  font-size: 0.9rem;
  text-align: center;
}

.lightbox button {
  min-height: 44px;
  border: 1px solid rgba(215, 182, 111, 0.45);
  background: rgba(255, 253, 249, 0.08);
  color: #fffdf9;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}

.lightbox button:hover,
.lightbox button:focus-visible {
  background: rgba(215, 182, 111, 0.2);
  outline: none;
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 12px 16px;
}

.lightbox-nav {
  min-width: 104px;
  padding: 14px 18px;
}

.room-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.price {
  margin: 0 0 8px;
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.62rem;
  font-weight: 900;
}

.feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  padding: 6px 9px;
  border: 1px solid rgba(229, 232, 235, 0.95);
  border-radius: 2px;
  color: var(--muted);
  font-size: 0.84rem;
}

.feature-grid,
.info-grid,
.imprint-panel,
.admin-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature-grid article,
.info-grid article,
.imprint-panel article,
.admin-card,
.form-card,
.contact-panel {
  border: 1px solid rgba(229, 232, 235, 0.92);
  border-radius: 2px;
  background: var(--surface);
}

.band-section .feature-grid article,
.band-section .admin-card {
  border-color: rgba(215, 182, 111, 0.18);
  background: rgba(255, 253, 249, 0.055);
}

.feature-grid article,
.info-grid article,
.imprint-panel article {
  padding: 26px;
}

.feature-grid p,
.info-grid p,
.imprint-panel p,
.room-body p {
  color: var(--muted);
}

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

.imprint-panel a,
.site-footer a {
  color: var(--accent-strong);
  font-weight: 800;
  text-decoration: none;
}

.map-embed {
  max-width: 1080px;
  height: clamp(320px, 36vw, 460px);
  margin-top: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--soft-shadow);
}

.map-embed iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.map-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  max-width: 1080px;
  margin-top: 18px;
  padding: 24px 26px;
  border: 1px solid rgba(229, 232, 235, 0.92);
  background: var(--surface);
  box-shadow: var(--soft-shadow);
}

.map-panel h3,
.map-panel p {
  margin-bottom: 0;
}

.map-panel p:not(.eyebrow) {
  color: var(--muted);
}

.map-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(340px, 1.12fr);
  gap: clamp(24px, 4vw, 54px);
  align-items: center;
  background:
    linear-gradient(135deg, rgba(35, 95, 136, 0.06), transparent 42%),
    #ffffff;
}

.contact-panel {
  display: grid;
  gap: 8px;
  margin-top: 24px;
  padding: 26px;
  box-shadow: var(--soft-shadow);
}

.contact-panel a {
  color: var(--accent-strong);
  font-weight: 800;
  text-decoration: none;
}

.form-card,
.admin-card {
  display: grid;
  gap: 14px;
  padding: clamp(24px, 4vw, 36px);
  box-shadow: var(--soft-shadow);
}

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

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(213, 218, 222, 0.95);
  border-radius: 2px;
  background: #fff;
  color: var(--text);
  padding: 12px 13px;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(35, 95, 136, 0.14);
  border-color: var(--blue);
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--accent-strong);
  font-weight: 800;
}

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

.admin-section[hidden] {
  display: none;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 24px clamp(18px, 4vw, 56px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: #fffdf9;
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
  }

  .brand {
    min-width: 0;
  }

  .hero-section,
  .split-section,
  .snack-layout {
    grid-template-columns: 1fr;
  }

  .hero-section {
    min-height: auto;
    padding-top: 38px;
  }

  .hero-media {
    height: min(70vh, 620px);
    min-height: 420px;
  }

  .room-card .photo-slot {
    min-height: 280px;
  }

  .hero-facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .room-grid,
  .feature-grid,
  .info-grid,
  .imprint-panel,
  .building-gallery,
  .kitchen-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .building-gallery,
  .kitchen-gallery {
    grid-template-rows: none;
  }

  .building-photo.large,
  .kitchen-photo.large {
    grid-row: span 1;
  }

  .building-photo,
  .building-photo img {
    height: 420px;
    min-height: 420px;
  }

  .kitchen-photo,
  .kitchen-photo img {
    height: 360px;
    min-height: 360px;
  }

  .snack-photo {
    height: 480px;
  }
}

@media (max-width: 680px) {
  main,
  section {
    scroll-margin-top: 128px;
  }

  .site-header {
    position: sticky;
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
    padding: 12px 16px 10px;
  }

  .brand {
    gap: 10px;
  }

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

  .brand strong {
    display: block;
    max-width: calc(100vw - 82px);
    overflow: hidden;
    font-size: 0.96rem;
    line-height: 1.15;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .brand small {
    font-size: 0.78rem;
  }

  .main-nav {
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 6px;
    margin: 0 -16px;
    overflow-x: auto;
    padding: 0 16px 2px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .main-nav::-webkit-scrollbar {
    display: none;
  }

  .main-nav a {
    flex: 0 0 auto;
    padding: 7px 9px;
    font-size: 0.74rem;
  }

  .hero-section {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 22px 16px 46px;
  }

  .hero-media {
    order: 2;
    width: 100%;
    height: min(68vh, 460px);
    min-height: 320px;
    border-width: 7px;
  }

  .hero-copy {
    order: 1;
    width: 100%;
    padding-bottom: 0;
  }

  h1 {
    margin-bottom: 18px;
    font-size: clamp(2.25rem, 11vw, 3.25rem);
    line-height: 1;
  }

  h2 {
    font-size: clamp(1.85rem, 9vw, 2.7rem);
  }

  .eyebrow {
    font-size: 0.68rem;
    line-height: 1.4;
  }

  .hero-copy p:not(.eyebrow),
  .section-heading p,
  .split-section > div > p {
    font-size: 1rem;
  }

  .hero-facts {
    grid-template-columns: 1fr;
    margin-top: 22px;
  }

  .hero-facts span {
    min-height: 52px;
    padding: 11px 14px;
    font-size: 0.76rem;
  }

  .hero-actions,
  .room-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 20px;
  }

  .button {
    width: 100%;
    min-height: 48px;
  }

  .map-panel {
    display: grid;
    gap: 16px;
    padding: 20px;
  }

  .map-embed {
    height: 320px;
  }

  .map-actions {
    display: grid;
    grid-template-columns: 1fr;
    justify-content: stretch;
  }

  .content-section,
  .band-section {
    padding: 58px 16px;
  }

  .section-heading {
    margin-bottom: 24px;
  }

  .room-grid,
  .feature-grid,
  .info-grid,
  .imprint-panel,
  .building-gallery,
  .kitchen-gallery,
  .admin-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .building-photo,
  .building-photo img {
    height: 330px;
    min-height: 330px;
  }

  .kitchen-photo,
  .kitchen-photo img {
    height: 320px;
    min-height: 320px;
  }

  .snack-layout {
    gap: 22px;
  }

  .snack-photo {
    height: 360px;
  }

  .room-body,
  .feature-grid article,
  .info-grid article,
  .imprint-panel article,
  .form-card,
  .admin-card,
  .contact-panel {
    padding: 20px;
  }

  .room-card .photo-slot {
    min-height: 260px;
  }

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

  .room-gallery-item {
    height: 150px;
  }

  .lightbox {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "frame frame"
      "prev next";
    align-content: center;
    gap: 12px;
    padding: 64px 14px 18px;
  }

  .lightbox-frame {
    grid-area: frame;
  }

  .lightbox-frame img {
    max-height: 72vh;
  }

  .lightbox-prev {
    grid-area: prev;
  }

  .lightbox-next {
    grid-area: next;
  }

  .lightbox-nav {
    width: 100%;
    min-width: 0;
  }

  .lightbox-close {
    top: 12px;
    right: 12px;
  }

  .form-card {
    gap: 12px;
  }

  input,
  select,
  textarea {
    min-height: 46px;
    font-size: 16px;
  }

  .site-footer {
    display: grid;
    gap: 8px;
    padding: 22px 16px;
  }
}

@media (max-width: 420px) {
  .hero-media {
    height: 430px;
    min-height: 430px;
  }

  .building-photo,
  .building-photo img {
    height: 300px;
    min-height: 300px;
  }
}
