/* =============================================================
   Kontakt-Raum — Nora Urgatz
   Main stylesheet. Mobile-first, fluid & responsive.
   Font @font-face rules live in css/fonts.css
   ============================================================= */

/* -------------------------------------------------------------
   1. Design tokens
   ------------------------------------------------------------- */
:root {
  /* Brand colours */
  --c-terracotta:   #B0573A;
  --c-terracotta-d: #97472e;      /* darker hover */
  --c-amber:        #C8893A;
  --c-cream:        #F7F2E8;
  --c-cream-2:      #F1EADD;       /* slightly warmer surface */
  --c-cream-veil:   rgba(241, 234, 221, 0.7); /* #F1EADDB2 */
  --c-brown:        #2A1F16;
  --c-brown-soft:   #4a3b2e;
  --c-sage:         #8A9B7C;

  /* Semantic roles */
  --bg:             var(--c-cream);
  --bg-alt:         var(--c-cream-2);
  --text:           var(--c-brown);
  --text-muted:     #6b5d4f;
  --accent:         var(--c-terracotta);
  --on-dark:        var(--c-cream);
  --on-dark-muted:  rgba(247, 242, 232, 0.72);

  /* Typography */
  --font: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  /* Fluid type scale (min 360px → max 1280px viewport) */
  --fs-eyebrow: clamp(0.72rem, 0.69rem + 0.15vw, 0.8125rem);
  --fs-body:    clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  --fs-lead:    clamp(1.06rem, 1rem + 0.3vw, 1.25rem);
  --fs-card:    clamp(1.3rem, 1.15rem + 0.7vw, 1.6rem);
  --fs-h3:      clamp(1.4rem, 1.2rem + 1vw, 1.9rem);
  --fs-h2:      clamp(1.9rem, 1.5rem + 2vw, 2.9rem);
  --fs-h1:      clamp(2.15rem, 1.3rem + 3.4vw, 4.1rem);

  --lh-tight:   1.1;
  --lh-snug:    1.25;
  --lh-body:    1.72;

  /* Spacing */
  --space-section: clamp(3.75rem, 2.5rem + 6vw, 7.5rem);
  --space-gap:     clamp(1.5rem, 1rem + 2.5vw, 3.5rem);

  /* Layout */
  --container: 1240px;
  --pad-x: clamp(1.25rem, 0.5rem + 3.5vw, 3rem);

  /* Misc */
  --radius:    14px;
  --radius-lg: 22px;
  --radius-pill: 999px;
  --shadow: 0 18px 45px -25px rgba(42, 31, 22, 0.45);
  --ring: 0 0 0 3px rgba(176, 87, 58, 0.45);
  --transition: 200ms ease;
}

/* -------------------------------------------------------------
   2. Reset / base
   ------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 84px; /* offset for sticky nav on anchor jumps */
}

body {
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, picture, svg, video { display: block; max-width: 100%; height: auto; }

h1, h2, h3, h4 { line-height: var(--lh-snug); font-weight: 600; text-wrap: balance; }
p { text-wrap: pretty; }

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

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

:focus-visible {
  outline: 3px solid var(--c-terracotta);
  outline-offset: 3px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* -------------------------------------------------------------
   3. Helpers
   ------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

.section { padding-block: var(--space-section); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem; top: -100px;
  z-index: 1000;
  background: var(--c-brown);
  color: var(--c-cream);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius);
  transition: top var(--transition);
}
.skip-link:focus { top: 1rem; }

.eyebrow {
  display: inline-block;
  font-size: clamp(0.8rem, 0.73rem + 0.28vw, 0.95rem);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-terracotta);
  margin-bottom: 1rem;
}

.lead { font-size: var(--fs-lead); color: var(--text-muted); }

/* -------------------------------------------------------------
   4. Buttons
   ------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  font-size: clamp(0.8rem, 0.76rem + 0.15vw, 0.875rem);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.95em 2em;
  border-radius: var(--radius-pill);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background var(--transition), color var(--transition),
              border-color var(--transition), transform var(--transition);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--c-terracotta); color: var(--c-cream); }
.btn--primary:hover { background: var(--c-terracotta-d); }

.btn--outline { background: transparent; border-color: var(--c-terracotta); color: var(--c-terracotta); }
.btn--outline:hover { background: var(--c-terracotta); color: var(--c-cream); }

/* On dark / photo backgrounds */
.btn--on-dark { background: var(--c-terracotta); color: var(--c-cream); }
.btn--on-dark:hover { background: var(--c-terracotta-d); }
.btn--ghost { background: transparent; border-color: rgba(247,242,232,.75); color: var(--c-cream); }
.btn--ghost:hover { background: rgba(247,242,232,.14); border-color: var(--c-cream); }

.link-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.link-more::after { content: "→"; transition: transform var(--transition); }
.link-more:hover::after { transform: translateX(4px); }

/* -------------------------------------------------------------
   5. Header / hero
   ------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: calc(100svh - 100px); /* mobile: fast volle Höhe, nur ~2 Navi-Punkte sichtbar */
  display: flex;
  align-items: flex-end;
  color: var(--c-cream);
  overflow: hidden;
}
/* Keep hero + nav within one screen so the nav is visible on load, then sticks */
@media (min-width: 900px) {
  .hero, .hero.hero--sub { min-height: calc(100svh - 90px); }
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media picture { display: block; width: 100%; height: 100%; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 45% top; }
.hero--sub .hero__media img { object-position: center 65%; }
.hero__media::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(42,31,22,.72) 0%, rgba(42,31,22,.35) 45%, rgba(42,31,22,0) 75%),
    linear-gradient(0deg, rgba(42,31,22,.6) 0%, rgba(42,31,22,0) 40%);
}
.hero__brand {
  position: absolute;
  top: clamp(1.5rem, 3vw, 2.75rem);
  left: 0; right: 0;
}
.hero__brand .logo { width: clamp(184px, 21vw, 310px); height: auto; }
.hero__inner { padding-block: clamp(3rem, 8vw, 6rem) clamp(5.5rem, 11vw, 9rem); }
@media (max-width: 899px) { .hero__inner { padding-block-end: 3.25rem; } } /* Inhalt auf Mobile etwas tiefer */
.hero__content { max-width: 720px; }
.hero__title {
  font-size: var(--fs-h1);
  font-weight: 600;
  line-height: var(--lh-tight);
  margin-block: 0.4rem 1.25rem;
  text-wrap: balance;
  overflow-wrap: break-word;
}
/* Manual line-break in the hero headline: desktop only, wrap naturally on phones */
.br-hero { display: none; }
@media (min-width: 620px) { .br-hero { display: inline; } }
.hero .eyebrow { color: rgba(247,242,232,.9); }
.eyebrow--hero { font-size: clamp(0.7rem, 0.58rem + 0.42vw, 0.95rem); letter-spacing: 0.1em; margin-bottom: 0.85rem; white-space: nowrap; }
@media (max-width: 680px) { .eyebrow--hero { white-space: normal; } }
.hero__text { font-size: var(--fs-lead); color: rgba(247,242,232,.9); max-width: 44ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }

/* Sub-page (Raumvermietung) hero */
.hero--sub { min-height: calc(100svh - 100px); }

/* -------------------------------------------------------------
   6. Primary navigation (sits below hero, sticky on desktop)
   ------------------------------------------------------------- */
.site-nav {
  background: var(--c-cream);
  border-bottom: 1px solid rgba(42,31,22,.08);
  z-index: 50;
}
.site-nav__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding-block: 1.5rem;
}
.site-nav__list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
  text-align: center;
}
.site-nav__list a {
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-brown);
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
  transition: color var(--transition), border-color var(--transition);
}
.site-nav__list a:hover,
.site-nav__list a[aria-current="page"] { color: var(--c-terracotta); border-color: var(--c-terracotta); }
.site-nav__cta { margin-top: 0.75rem; }

@media (min-width: 900px) {
  .site-nav { position: sticky; top: 0; }
  .site-nav__inner { flex-direction: row; justify-content: space-between; padding-block: 1.15rem; }
  .site-nav__list { flex-direction: row; gap: clamp(1.25rem, 2.2vw, 2.75rem); }
  .site-nav__cta { margin-top: 0; }
}

/* -------------------------------------------------------------
   7. Split sections (image + text)
   ------------------------------------------------------------- */
.split {
  display: grid;
  gap: var(--space-gap);
  align-items: start;
}
.split__media img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
.split__title { font-size: var(--fs-h2); margin-bottom: 1.25rem; }
.split__body > * + * { margin-top: 1.1rem; }
.split__body p:not(.eyebrow) { color: var(--text-muted); }
.split__actions { margin-top: 2rem; }

@media (min-width: 860px) {
  .split { grid-template-columns: 1fr 1.15fr; gap: clamp(2.5rem, 5vw, 5rem); }
  .split--reverse .split__media { order: 2; }
  .split--portrait { grid-template-columns: 0.85fr 1fr; align-items: start; }
}

/* -------------------------------------------------------------
   8. Sage quote band
   ------------------------------------------------------------- */
.quote {
  background: var(--c-sage);
  color: #F7F2E8;
  text-align: center;
  padding-block: clamp(3rem, 6vw, 5.5rem);
}
.quote blockquote {
  max-width: 30ch;
  margin-inline: auto;
  font-size: clamp(1.55rem, 1.15rem + 1.9vw, 2.6rem);
  font-weight: 400;
  line-height: 1.4;
}

/* -------------------------------------------------------------
   9. Section heading block
   ------------------------------------------------------------- */
.section-head { max-width: 38rem; margin-bottom: clamp(2.5rem, 4vw, 3.75rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: var(--fs-h2); }

/* -------------------------------------------------------------
   10. Service cards ("Vier Wege")
   ------------------------------------------------------------- */
.cards { display: grid; gap: clamp(1.25rem, 2.5vw, 1.75rem); }
.cards--2 { grid-template-columns: 1fr; }
@media (min-width: 760px) { .cards--2 { grid-template-columns: repeat(2, 1fr); } }

.service-card {
  position: relative;
  background: var(--c-terracotta);
  color: var(--c-cream);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 3vw, 2.75rem);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
/* whole card is clickable (stretched link over the "Mehr erfahren" anchor) */
.service-card .link-more::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.service-card__num { font-size: var(--fs-eyebrow); font-weight: 600; letter-spacing: 0.2em; color: rgba(247,242,232,.65); }
.service-card__title { font-size: var(--fs-card); font-weight: 600; }
.service-card__body { color: rgba(247,242,232,.85); }
.service-card .link-more { margin-top: auto; padding-top: 0.75rem; color: var(--c-cream); }

/* -------------------------------------------------------------
   11. Post cards ("Angebote und Neues")
   ------------------------------------------------------------- */
.cards--3 { grid-template-columns: 1fr; }
@media (max-width: 679px)  { .cards--3 { gap: 2.75rem; } }
@media (min-width: 680px)  { .cards--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards--3 { grid-template-columns: repeat(3, 1fr); } }

.post-card {
  background: var(--c-cream-2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-card--clickable { position: relative; cursor: pointer; }
.post-card--clickable .link-more::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.post-card__media { aspect-ratio: 3 / 2; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; }
.post-card__body { padding: clamp(1.25rem, 2.5vw, 1.75rem); display: flex; flex-direction: column; gap: 0.7rem; }
.post-card__date { font-size: var(--fs-eyebrow); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); }
.post-card__title { font-size: clamp(1.1rem, 1rem + 0.5vw, 1.35rem); font-weight: 600; color: var(--c-terracotta); line-height: 1.3; }
.post-card__excerpt { color: var(--text-muted); font-size: 0.95rem; }

/* -------------------------------------------------------------
   12. Teaser (room rental) — uses .split on a veiled surface
   ------------------------------------------------------------- */
.band-cream2 { background: var(--c-cream-2); }
.band-white { background: #fff; }

/* -------------------------------------------------------------
   13. Gallery ("Der Raum im Detail") — CSS scroll-snap, no JS
   ------------------------------------------------------------- */
.gallery {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(88%, 780px);
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 1rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.gallery > figure { scroll-snap-align: center; margin: 0; }
.gallery img { width: 100%; height: clamp(280px, 46vw, 560px); object-fit: cover; border-radius: var(--radius); }
.gallery figcaption { margin-top: 0.75rem; font-size: var(--fs-eyebrow); letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); }
.gallery__hint { margin-top: 1rem; font-size: var(--fs-eyebrow); letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); }

/* -------------------------------------------------------------
   14. Contact section
   ------------------------------------------------------------- */
.contact { background: var(--c-terracotta); color: var(--c-cream); }
.contact__grid { display: grid; gap: clamp(2.5rem, 5vw, 4.5rem); }
@media (min-width: 900px) {
  .contact__grid {
    grid-template-columns: 1.1fr 0.9fr;
    grid-template-areas: "head ." "form details";
    column-gap: clamp(2.5rem, 5vw, 4.5rem);
    row-gap: 0;
  }
  .contact__head { grid-area: head; }
  .contact__form-wrap { grid-area: form; }
  .contact__details { grid-area: details; }
}
@media (max-width: 899px) {
  .contact__grid { gap: 0; }
  .contact__intro { margin-bottom: 1.5rem; }   /* Intro → erstes Feld: weniger */
  .contact__form-wrap { margin-bottom: 5rem; } /* nach „Senden" → Kontaktdaten: mehr */
}
.contact__title { font-size: var(--fs-h2); color: #fff; margin-bottom: 1rem; }
.contact__intro { color: rgba(247,242,232,.85); max-width: 46ch; margin-bottom: 2.5rem; }

/* Form */
.form__row { margin-bottom: 1.5rem; }
.form__row label { display: block; margin-bottom: 0.5rem; font-size: 0.95rem; }
.form__row input,
.form__row textarea {
  width: 100%;
  background: transparent;
  border: 1.5px solid rgba(247,242,232,.55);
  border-radius: 10px;
  padding: 0.9rem 1rem;
  color: var(--c-cream);
  transition: border-color var(--transition), background var(--transition);
}
.form__row textarea { resize: vertical; min-height: 150px; }
.form__row input::placeholder,
.form__row textarea::placeholder { color: rgba(247,242,232,.55); }
.form__row input:focus,
.form__row textarea:focus { outline: none; border-color: var(--c-cream); background: rgba(247,242,232,.06); }

.form__check { display: flex; align-items: flex-start; gap: 0.75rem; margin-bottom: 2rem; font-size: 0.95rem; color: rgba(247,242,232,.9); }
.form__check input { width: 1.15rem; height: 1.15rem; margin-top: 0.15rem; accent-color: var(--c-cream); flex: none; }
.form__check a { text-decoration: underline; }

/* honeypot */
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Contact details */
.contact__details { display: flex; flex-direction: column; gap: 1.75rem; }
.contact-item { border-bottom: 1px solid rgba(247,242,232,.28); padding-bottom: 1.25rem; }
.contact-item__label { font-size: var(--fs-eyebrow); font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--c-brown); margin-bottom: 0.4rem; }
.contact-item a:hover { text-decoration: underline; }
.contact__note { color: var(--c-brown); font-size: 0.95rem; }
address { font-style: normal; }

/* -------------------------------------------------------------
   15. Footer
   ------------------------------------------------------------- */
.site-footer { background: var(--c-brown); color: var(--on-dark-muted); padding-block: clamp(3.5rem, 6vw, 5.5rem); }
.site-footer__grid { display: grid; gap: clamp(2.5rem, 5vw, 4rem); }
.site-footer__logo { width: clamp(210px, 32vw, 340px); margin-bottom: 0.5rem; }
.site-footer__cols { display: grid; gap: 2.5rem; }
@media (min-width: 620px) { .site-footer__cols { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 960px) { .site-footer__grid { grid-template-columns: 1fr 2fr; align-items: start; } }

.footer-col h3 { font-size: var(--fs-eyebrow); font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--c-amber); margin-bottom: 1.25rem; }
.footer-col ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 0.85rem; }
.footer-col a:hover, .footer-col li:hover { color: var(--c-cream); }
.site-footer__bottom { margin-top: clamp(2.5rem, 5vw, 3.5rem); padding-top: 1.75rem; border-top: 1px solid rgba(247,242,232,.14); font-size: 0.85rem; color: rgba(247,242,232,.5); }

/* -------------------------------------------------------------
   16. Simple legal / content pages
   ------------------------------------------------------------- */
.page-header { background: var(--c-brown); color: var(--c-cream); padding-block: clamp(3rem, 6vw, 5rem); }
.page-header .logo { width: 120px; margin-bottom: 2rem; }
.page-header h1 { font-size: var(--fs-h2); }
.prose { max-width: 70ch; }
.prose > * + * { margin-top: 1.15rem; }
.prose h2 { font-size: var(--fs-h3); margin-top: 2.5rem; }
.prose h3 { font-size: var(--fs-card); margin-top: 1.75rem; }
.prose a { color: var(--c-terracotta); text-decoration: underline; }
.prose ul { padding-left: 1.25rem; }
.note-box { background: var(--c-cream-2); border-left: 4px solid var(--c-amber); padding: 1rem 1.25rem; border-radius: 8px; font-size: 0.95rem; color: var(--text-muted); }

/* -------------------------------------------------------------
   17. Service overlays (pure-CSS :target modal)
   ------------------------------------------------------------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
  opacity: 0;
  visibility: hidden;
  transition: opacity 250ms ease, visibility 250ms ease;
}
.modal:target { opacity: 1; visibility: visible; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(42, 31, 22, 0.62); }
.modal__box {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  max-height: 88vh;
  overflow-y: auto;
  background: var(--c-cream);
  color: var(--text);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 4vw, 3rem);
  box-shadow: 0 30px 80px -30px rgba(42, 31, 22, .6);
  transform: translateY(14px);
  transition: transform 250ms ease;
}
.modal:target .modal__box { transform: translateY(0); }
.modal__close {
  position: sticky; top: 0; float: right;
  margin: -0.75rem -0.75rem 0 1rem;
  width: 2.5rem; height: 2.5rem; flex: none;
  display: grid; place-items: center;
  font-size: 1.7rem; line-height: 1;
  color: var(--c-cream);
  background: var(--c-terracotta);
  border-radius: 50%;
  transition: filter var(--transition);
}
.modal__close:hover { filter: brightness(1.18); }
.modal__title { font-size: var(--fs-h3); margin: 0.25rem 0 1.25rem; }
.modal .rich { margin-bottom: 2.25rem; }

/* Rich text inside overlays / room detail */
.rich > * + * { margin-top: 1rem; }
.rich p { color: var(--text-muted); }
.rich h3 { font-size: var(--fs-card); margin-top: 1.75rem; }
.rich ul { padding-left: 1.25rem; display: flex; flex-direction: column; gap: 0.45rem; color: var(--text-muted); }

/* -------------------------------------------------------------
   18. Gallery thumbnails (Raumvermietung)
   ------------------------------------------------------------- */
.gallery figure { scroll-margin: 96px 1rem; }
.gallery-thumbs { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.25rem; }
.gallery-thumb {
  display: block;
  width: clamp(76px, 18vw, 112px);
  aspect-ratio: 3 / 2;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid transparent;
  opacity: 0.72;
  transition: opacity var(--transition), border-color var(--transition);
}
.gallery-thumb picture { display: block; width: 100%; height: 100%; }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb:hover, .gallery-thumb:focus-visible { opacity: 1; border-color: var(--c-terracotta); }

/* Gallery arrows (shown only when JS enhances) */
.gallery-wrap { position: relative; }
.gallery-arrow {
  display: none;
  position: absolute; top: calc(50% - 1.6rem); transform: translateY(-50%);
  z-index: 5; width: 2.75rem; height: 4.75rem;
  align-items: center; justify-content: center;
  border-radius: 1.4rem;
  background: var(--c-cream); color: var(--c-brown);
  border: 1px solid rgba(42, 31, 22, .12);
  box-shadow: 0 8px 24px -12px rgba(42, 31, 22, .5);
  font-size: 1.6rem; line-height: 1; cursor: pointer;
  transition: background var(--transition), color var(--transition);
}
.gallery-wrap.is-enhanced .gallery-arrow { display: flex; }
.gallery-arrow:hover { background: var(--c-terracotta); color: #fff; }
.gallery-arrow--prev { left: 0.5rem; }
.gallery-arrow--next { right: 0.5rem; }
@media (min-width: 1000px) { .gallery-arrow--prev { left: -1.25rem; } .gallery-arrow--next { right: -1.25rem; } }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(42, 31, 22, .93);
  display: none; place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
}
.lightbox.is-open { display: grid; }
.lightbox__fig { margin: 0; display: flex; flex-direction: column; align-items: center; }
.lightbox__fig img { max-width: min(1100px, 92vw); max-height: 82vh; object-fit: contain; border-radius: 8px; }
.lightbox__fig figcaption { margin-top: 0.9rem; color: var(--c-cream); font-size: var(--fs-eyebrow); letter-spacing: 0.12em; text-transform: uppercase; }
.lightbox__close, .lightbox__arrow {
  position: absolute; z-index: 1; width: 3rem; height: 3rem;
  display: grid; place-items: center;
  border: 1px solid rgba(247, 242, 232, .4); border-radius: 50%;
  background: rgba(247, 242, 232, .1); color: var(--c-cream);
  font-size: 1.7rem; line-height: 1; cursor: pointer;
  transition: background var(--transition);
}
.lightbox__close:hover, .lightbox__arrow:hover { background: rgba(247, 242, 232, .25); }
.lightbox__close { top: 1.25rem; right: 1.5rem; }
.lightbox__arrow { top: 50%; transform: translateY(-50%); }
.lightbox__arrow--prev { left: clamp(0.75rem, 3vw, 2rem); }
.lightbox__arrow--next { right: clamp(0.75rem, 3vw, 2rem); }

/* Room detail prose */
.prose--room { max-width: 760px; }
.prose--room h3 { font-size: var(--fs-card); margin-top: 2rem; color: var(--c-terracotta); }
.prose--room ul { padding-left: 1.25rem; display: flex; flex-direction: column; gap: 0.5rem; }
.prose--room p { color: var(--text-muted); }
