/* CASA DCR – static site styles */
:root {
  --sand: #f6f1ea;
  --sand-dark: #ece3d6;
  --ink: #1f2a2e;
  --muted: #5d676b;
  --sea: #2e5e6e;
  --accent: #b8673f;
  --accent-dark: #9a5432;
  --white: #fff;
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  --header-h: 76px;
  --radius: 2px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--white);
}
img { max-width: 100%; display: block; }
a { color: var(--sea); }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.15; margin: 0 0 .6em; }
h1 { font-size: clamp(2.6rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
h3 { font-size: 1.6rem; }
p { margin: 0 0 1.1em; }

.container { width: min(1180px, 100% - 2.5rem); margin-inline: auto; }
.narrow { width: min(760px, 100% - 2.5rem); }
.section { padding: clamp(4rem, 9vw, 7.5rem) 0; }
.alt-bg { background: var(--sand); }
.page-top { padding-top: calc(var(--header-h) + 4rem); }

.eyebrow {
  font-size: .78rem; letter-spacing: .28em; text-transform: uppercase;
  color: var(--accent); font-weight: 500; margin-bottom: 1rem;
}
.subhead { font-family: var(--serif); font-style: italic; font-size: 1.35rem; color: var(--muted); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 40em; margin-inline: auto; }

/* Buttons */
.btn {
  display: inline-block; padding: .95em 2.2em;
  background: var(--accent); color: var(--white);
  font-family: var(--sans); font-size: .8rem; font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase; text-decoration: none;
  border: 0; border-radius: var(--radius); cursor: pointer;
  transition: background .25s, transform .25s;
}
.btn:hover, .btn:focus-visible { background: var(--accent-dark); transform: translateY(-1px); }
.btn-small { padding: .7em 1.5em; font-size: .72rem; }
.link-arrow {
  display: inline-block; font-size: .8rem; font-weight: 500; letter-spacing: .2em;
  text-transform: uppercase; text-decoration: none; color: var(--ink);
  border-bottom: 1px solid var(--accent); padding-bottom: .25em;
}
.link-arrow::after { content: ' →'; transition: margin .25s; }
.link-arrow:hover::after { margin-left: .3em; }

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  color: var(--white); transition: background .3s, color .3s, box-shadow .3s;
}
.site-header.scrolled, .site-header.solid {
  background: rgba(255,255,255,.97); color: var(--ink); box-shadow: 0 1px 12px rgba(0,0,0,.06);
}
.header-inner {
  height: 100%; width: min(1280px, 100% - 2.5rem); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
}
.logo {
  font-family: var(--serif); font-size: 1.9rem; font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase; color: inherit; text-decoration: none; white-space: nowrap;
}
.site-nav { display: flex; align-items: center; gap: 2rem; }
.site-nav ul { list-style: none; display: flex; gap: 1.8rem; margin: 0; padding: 0; }
.site-nav ul a {
  color: inherit; text-decoration: none; font-size: .78rem; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase; padding: .4em 0; border-bottom: 1px solid transparent;
}
.site-nav ul a:hover, .site-nav ul a[aria-current="page"] { border-bottom-color: currentColor; }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; color: inherit; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: currentColor; margin: 5px 0; transition: transform .3s, opacity .3s; }

@media (max-width: 980px) {
  .nav-toggle { display: block; z-index: 2; }
  .site-nav {
    position: fixed; inset: 0; background: var(--white); color: var(--ink);
    flex-direction: column; justify-content: center; gap: 2.5rem;
    opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
  }
  .site-nav ul { flex-direction: column; align-items: center; gap: 1.4rem; }
  .site-nav ul a { font-size: 1rem; }
  .nav-open .site-nav { opacity: 1; visibility: visible; }
  .nav-open .site-header { color: var(--ink); }
  .nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav-open { overflow: hidden; }
}

/* Parallax */
.parallax { position: relative; overflow: hidden; isolation: isolate; }
.parallax-layer { position: absolute; inset: -20% 0; z-index: -1; will-change: transform; background: var(--sea); }
.parallax-layer img { width: 100%; height: 100%; object-fit: cover; }
.parallax::after { content: ''; position: absolute; inset: 0; z-index: -1; background: rgba(15, 25, 30, .38); }

/* Hero */
.hero {
  min-height: 100vh; min-height: 100svh;
  display: grid; place-items: center; text-align: center; color: var(--white);
  padding: calc(var(--header-h) + 2rem) 1.25rem 4rem;
}
.hero-small { min-height: 72vh; min-height: 72svh; }
.hero h1 { text-shadow: 0 2px 24px rgba(0,0,0,.25); }
.hero .lead { margin-bottom: 2.2rem; }

/* CTA band */
.band::after { background: rgba(15, 25, 30, .52) !important; }
.band { min-height: 62vh; display: grid; place-items: center; text-align: center; color: var(--white); padding: 6rem 1.25rem; }
.band-text { font-family: var(--serif); font-size: clamp(1.6rem, 3.2vw, 2.6rem); line-height: 1.3; max-width: 22em; margin: 0 auto 2rem; }

/* Split sections */
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.split-reverse .split-media { order: -1; }
.split-media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.split-media.stacked { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.split-media.stacked img:first-child { grid-column: 1 / -1; }
.split-media.stacked img:last-child { grid-column: 2; margin-top: -25%; border: 8px solid var(--white); }
.alt-bg .split-media.stacked img:last-child { border-color: var(--sand); }
.signature { font-family: var(--serif); font-style: italic; font-size: 1.6rem; }

.section-head { text-align: center; max-width: 46em; margin: 0 auto 3.5rem; }

.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin: 0 0 3rem; }
.trio figure { margin: 0; }
.trio img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.plan-list { text-align: center; }

/* Lists */
.list { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.list li { position: relative; padding-left: 1.4em; margin-bottom: .35em; }
.list li::before { content: ''; position: absolute; left: 0; top: .78em; width: .6em; height: 1px; background: var(--accent); }
.list.columns { columns: 3 220px; column-gap: 2.5rem; text-align: left; max-width: 900px; margin: 0 auto 2.5rem; }
.list.columns li { break-inside: avoid; }
.list-groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0 2rem; margin-top: 1.5rem; }
.list-groups h3 { font-size: 1.35rem; }

/* Accommodation */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: clamp(3rem, 6vw, 5rem); text-align: center; }
.feature { padding: 2rem 1.5rem; border-top: 1px solid var(--sand-dark); }
.rooms { display: grid; grid-template-columns: repeat(2, 1fr); gap: 3rem 2.5rem; }
.room { background: var(--white); }
.room-media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.room-text { padding: 2rem 2rem 1rem; }
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.info-card { padding: 2.5rem; background: var(--sand); text-align: center; }
.info-card .list li { padding-left: 0; }
.info-card .list li::before { display: none; }

.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: .8rem; }
.gallery-item { display: block; overflow: hidden; }
.gallery-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .6s; }
.gallery-item:hover img { transform: scale(1.05); }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 100; background: rgba(10, 15, 18, .94);
  display: flex; align-items: center; justify-content: center;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 92vw; max-height: 88vh; object-fit: contain; }
.lightbox button { position: absolute; background: none; border: 0; color: var(--white); font-size: 3rem; line-height: 1; padding: 1rem; cursor: pointer; opacity: .8; }
.lightbox button:hover { opacity: 1; }
.lb-close { top: .5rem; right: .8rem; }
.lb-prev { left: .5rem; }
.lb-next { right: .5rem; }

/* Testimonial */
.testimonial { text-align: center; }
.testimonial blockquote { margin: 0; }
.testimonial blockquote p { font-family: var(--serif); font-style: italic; font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.45; }
.testimonial footer { font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(2.5rem, 6vw, 6rem); }
.field { margin-bottom: 1.3rem; }
.field label { display: block; font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; margin-bottom: .4rem; }
.field input, .field textarea {
  width: 100%; font: inherit; font-weight: 400; padding: .85em 1em;
  border: 1px solid #cfc6b8; border-radius: var(--radius); background: var(--white); color: var(--ink);
}
.field input:focus, .field textarea:focus { outline: 2px solid var(--sea); outline-offset: 1px; border-color: transparent; }
.form-note { font-size: .85rem; color: var(--muted); margin-top: 1rem; }
.contact-info h2 { font-size: 2rem; }
.contact-info h3 { font-family: var(--sans); font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; margin: 1.8rem 0 .4rem; }

/* Privacy */
.prose h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
.prose h2 { font-size: 1.7rem; margin-top: 2.2rem; }

/* Footer */
.site-footer { background: var(--ink); color: #d8dcdd; text-align: center; padding: 2.25rem 0 1.75rem; }
.site-footer a { color: var(--white); }
.footer-title { color: var(--white); font-size: 2.4rem; letter-spacing: .08em; }
.footer-contact { font-size: .92rem; }
.footer-contact .sep { margin: 0 .6em; opacity: .5; }
.social a { display: inline-flex; padding: .5rem; color: var(--white); opacity: .85; }
.social a:hover { opacity: 1; }
.contact-info .social a { color: var(--sea); padding-left: 0; }
.copyright { font-size: .8rem; opacity: .7; margin-top: 2rem; margin-bottom: 0; }

/* Reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s ease, transform .9s ease; }
.js .reveal.visible { opacity: 1; transform: none; }

@media (max-width: 860px) {
  .split-grid, .contact-grid { grid-template-columns: 1fr; }
  .split-reverse .split-media { order: 0; }
  .rooms, .features, .info-grid { grid-template-columns: 1fr; }
  .trio { grid-template-columns: 1fr 1fr; }
  .trio figure:last-child { grid-column: 1 / -1; }
  .trio figure:last-child img { aspect-ratio: 16 / 9; }
}
@media (max-width: 520px) {
  .logo { font-size: 1.5rem; }
  .footer-contact .sep { display: block; height: 0; overflow: hidden; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .parallax-layer { inset: 0; }
}

/* ===== Arch hero: weisse Bogenkarte vor zweigeteiltem Bildhintergrund ===== */
:root { --cream: #faf6f1; --arch-ink: #333; }
.arch-hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--cream);
  min-height: 100vh; min-height: 100svh;
  padding: calc(var(--header-h) + 1rem) 1.25rem 2.5rem;
  display: grid; place-items: end center;
}
.arch-img { position: absolute; z-index: -1; top: calc(var(--header-h) + 1rem); bottom: 1.25rem; overflow: hidden; }
.arch-img img { width: 100%; height: 100%; object-fit: cover; }
.arch-img-left  { left: 0;  width: 23%; }
.arch-img-right { right: 0; width: 48%; }
.arch-card {
  width: min(440px, 100%); background: var(--white);
  border-radius: 220px 220px 0 0;
  padding: clamp(5rem, 11vh, 8rem) 2.2rem clamp(3rem, 7vh, 4.5rem);
  text-align: center; color: var(--arch-ink);
  min-height: min(620px, calc(100svh - var(--header-h) - 3.5rem));
  display: flex; flex-direction: column; justify-content: center; align-items: center;
}
.arch-card h1 {
  font-size: clamp(2.2rem, 4.2vw, 3.4rem); font-weight: 400;
  letter-spacing: .07em; text-transform: uppercase; line-height: 1.04; margin-bottom: 1.4rem;
}
.arch-card .eyebrow-script {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: 1.7rem; line-height: 1; color: var(--muted); margin: 0 0 1rem;
}
.arch-card .lead { font-size: 1.05rem; line-height: 1.7; margin: 0 auto 2rem; max-width: 22em; }
.btn-outline {
  background: transparent; color: var(--arch-ink); border: 2px solid var(--arch-ink);
  letter-spacing: .12em; text-transform: none; font-family: var(--serif); font-size: 1.05rem; font-weight: 500;
  padding: .95em 2.6em; min-width: 14rem;
}
.btn-outline:hover, .btn-outline:focus-visible { background: var(--arch-ink); color: var(--white); }
@media (max-width: 860px) {
  .arch-hero { display: block; padding: var(--header-h) 0 0; min-height: 0; }
  .arch-bg { display: grid; grid-template-columns: 1fr 1fr; height: 46vh; min-height: 260px; }
  .arch-img { position: static; width: auto !important; z-index: auto; }
  .arch-card { margin: -5.5rem auto 0; width: min(440px, 100% - 2rem); position: relative; padding-bottom: 3.5rem; border-radius: 200px 200px 0 0; min-height: 0; }
  .arch-hero { padding-bottom: 0; }
}
.arch-card h1.long { font-size: clamp(1.9rem, 3.1vw, 2.6rem); }

/* Floor plan */
.floorplan-section { background: #fff4ea; padding: clamp(3rem, 7vw, 5rem) 0; }
.floorplan { display: flex; flex-direction: column; align-items: center; gap: 2.2rem; color: var(--arch-ink); }
.floorplan-icon { display: block; }
.fp-modal { position: fixed; inset: 0; z-index: 110; background: rgba(10, 15, 18, .85); display: flex; align-items: center; justify-content: center; padding: 1rem; }
.fp-modal[hidden] { display: none; }
.fp-modal img { max-width: min(1100px, 94vw); max-height: 90vh; width: auto; height: auto; background: var(--white); padding: .75rem; object-fit: contain; }
.fp-close { position: absolute; top: .5rem; right: .8rem; background: none; border: 0; color: var(--white); font-size: 3rem; line-height: 1; padding: 1rem; cursor: pointer; opacity: .85; }
.fp-close:hover { opacity: 1; }

/* User-requested visual alignment */
.feature-icon { width: 90px; height: 80px; object-fit: cover; object-position: center; margin: 0 auto .8rem; mix-blend-mode: multiply; }
.info-grid-four { grid-template-columns: repeat(4, 1fr); }
.info-card { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; }
.info-icon { width: 90px; height: 80px; object-fit: cover; object-position: center; margin: -.5rem auto .5rem; mix-blend-mode: multiply; }
.info-icon-svg { margin: .15rem auto 1rem; }
.info-btn { min-width: 0; padding: .7em 1.15em; font-size: .9rem; margin-top: .35rem; }
.floorplan-card h3 { margin-top: 0; }
@media (max-width: 1000px) { .info-grid-four { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .info-grid-four { grid-template-columns: 1fr; } }


/* Booking card with matching monochrome icons */
.book-card h3 { margin-bottom: 1.15rem; }
.book-links { width: 100%; max-width: 225px; display: flex; flex-direction: column; gap: .9rem; }
.book-link { display: grid; grid-template-columns: 42px 1fr; align-items: center; gap: .75rem; text-align: left; }
.book-link span { text-decoration: underline; text-underline-offset: .14em; }
.book-icon { width: 38px; height: 38px; display: block; fill: none; stroke: var(--ink); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.booking-icon .fill { fill: var(--ink); stroke: none; }
.book-link:hover .book-icon, .book-link:focus-visible .book-icon { opacity: .72; }


/* v12 refinements: centered booking card and fully visible feature icons */
.feature-icon { width: 90px; height: 80px; object-fit: contain; object-position: center; padding: 6px; box-sizing: border-box; }
.book-card { text-align: center; }
.book-heading-icon { margin: .15rem auto .65rem; }
.book-card h3 { margin-top: 0; margin-bottom: 1rem; }
.book-links { margin-left: auto; margin-right: auto; align-items: stretch; }
.book-link { grid-template-columns: 42px auto; justify-content: center; width: 100%; color: var(--ink); text-decoration: none; }
.book-link span { text-decoration: none; font-family: var(--sans); font-weight: 300; color: var(--ink); }
.book-link:hover span, .book-link:focus-visible span { color: var(--ink); opacity: .72; }
@media (max-width: 620px) {
  .book-card { align-items: center; }
  .book-links { width: max-content; max-width: 100%; align-items: stretch; margin-inline: auto; }
  .book-link { grid-template-columns: 42px max-content; justify-content: start; margin-inline: auto; }
}

/* v14 approved amenity and booking icon treatment */
.feature-icon-svg { width: 90px; height: 80px; display: block; margin: 0 auto .8rem; padding: 7px; box-sizing: border-box; fill: none; stroke: var(--ink); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.feature-icon-svg .icon-fill { fill: var(--ink); stroke: none; }
.book-heading-image { width: 96px; height: 76px; display: block; object-fit: contain; margin: 0 auto 1rem; mix-blend-mode: multiply; }
.book-card > h3 { display: none; }

/* v15: book icon sits directly on the card background, matching the other cards */
.book-heading-image { width: 90px; height: 80px; object-fit: contain; padding: 7px; box-sizing: border-box; margin: 0 auto .8rem; mix-blend-mode: normal; }

/* v16: compact, equal-height information cards; Book icon removed */
.info-grid-four { align-items: stretch; }
.info-grid-four .info-card {
  height: 100%;
  min-height: 300px;
  box-sizing: border-box;
  justify-content: flex-start;
}
.book-card {
  justify-content: center !important;
}
.book-card .book-links {
  margin-top: 0;
  margin-bottom: 0;
}
@media (max-width: 1000px) {
  .info-grid-four .info-card { min-height: 280px; }
}
@media (max-width: 620px) {
  .info-grid-four .info-card { min-height: 250px; }
  .book-card { padding-top: 2rem; padding-bottom: 2rem; }
}

/* Language switcher */
.language-item { display: flex; align-items: center; gap: .45rem; margin-left: .15rem; }
.lang-btn {
  appearance: none; border: 0; background: transparent; color: inherit; padding: .4em 0;
  font: inherit; font-size: .78rem; font-weight: 500; letter-spacing: .16em; cursor: pointer;
  border-bottom: 1px solid transparent;
}
.lang-btn:hover, .lang-btn.active { border-bottom-color: currentColor; }
.lang-sep { opacity: .45; font-size: .75rem; }
@media (max-width: 980px) {
  .language-item { margin-top: .25rem; }
  .lang-btn { font-size: 1rem; }
}

/* Multi-language selector */
.language-item { flex-wrap: wrap; align-items: center; }
.lang-btn { background: none; border: 0; padding: 0; font: inherit; cursor: pointer; color: inherit; opacity: .72; }
.lang-btn:hover, .lang-btn.active { opacity: 1; }
.lang-sep { opacity: .35; }
@media (max-width: 900px) {
  .language-item { gap: .35rem; }
  .lang-btn { font-size: .92rem; }
}
