/* ==========================================================================
   Mont͵e Lago Living – Stylesheet
   Mobile-first · DM Sans · #EAE3D9 / #2A2A2A / #5A6450
   ========================================================================== */

/* --------------------------------------------------------------------------
   Fonts – self-hosted so no visitor IP reaches Google (GDPR)
   -------------------------------------------------------------------------- */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('/fonts/dm-sans-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('/fonts/dm-sans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'DM Sans';
  font-style: italic;
  font-weight: 300;
  font-display: swap;
  src: url('/fonts/dm-sans-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'DM Sans';
  font-style: italic;
  font-weight: 300;
  font-display: swap;
  src: url('/fonts/dm-sans-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --------------------------------------------------------------------------
   Custom Properties
   -------------------------------------------------------------------------- */
:root {
  --color-bg: #EAE3D9;
  --color-text: #2A2A2A;
  --color-accent: #5A6450;
  --color-white: #FFFFFF;
  --color-placeholder: #C5BAB0;
  --color-placeholder-text: #7A6F67;
  --color-border: color-mix(in srgb, var(--color-accent) 25%, transparent);
  --color-border-strong: color-mix(in srgb, var(--color-accent) 40%, transparent);
  --color-divider: color-mix(in srgb, var(--color-text) 10%, transparent);

  --font: 'DM Sans', system-ui, sans-serif;
  --radius: 10px;

  --container-max: 1200px;
  --section-gap: clamp(60px, 9vw, 120px);
  --header-h: 80px;
}

/* --------------------------------------------------------------------------
   Reset & Base
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font), serif;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-bg);
}

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

ul, ol {
  padding-inline-start: 1.25rem;
}

nav ul {
  list-style: none;
  padding: 0;
}

a {
  color: var(--color-accent);
}

sup {
  font-size: 0.55em;
  vertical-align: super;
  line-height: 0;
}

/* --------------------------------------------------------------------------
   Utilities
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: clamp(20px, 6vw, 64px);
}

/* --------------------------------------------------------------------------
   Image Placeholders
   -------------------------------------------------------------------------- */
.img-placeholder {
  background: var(--color-placeholder);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem;
}

.img-placeholder span {
  font-size: 0.78rem;
  font-style: italic;
  color: var(--color-placeholder-text);
  line-height: 1.5;
  max-width: 28ch;
}

.img-rounded {
  border-radius: var(--radius);
  overflow: hidden;
}

.img-fullwidth {
  width: 100%;
}

.img-fullwidth .img-placeholder {
  aspect-ratio: 16 / 6;
  width: 100%;
}

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */
h1 {
  font-size: clamp(1.5rem, 3.5vw, 2.4rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.15;
  color: var(--color-text);
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  font-weight: 600;
  color: var(--color-accent);
  letter-spacing: 0.01em;
  margin-bottom: 0.4rem;
}

h3 {
  font-size: clamp(0.85rem, 1.2vw, 0.95rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text);
  margin-bottom: 0.6rem;
}

p {
  max-width: 62ch;
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-block;
  padding: 0.65em 1.5em;
  font-family: var(--font);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1.5px solid var(--color-accent);
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-accent);
  color: var(--color-white);
}

.btn-primary:hover {
  background: transparent;
  color: var(--color-accent);
}

/* Button im Hero-Header (weisser Hintergrund) */
.site-header:not(.scrolled) .btn-primary {
  background: var(--color-white);
  color: var(--color-accent);
  border-color: var(--color-white);
}

.site-header:not(.scrolled) .btn-primary:hover {
  background: transparent;
  color: var(--color-white);
}

/* CTA-Section Button */
.btn-cta {
  border-color: var(--color-white);
  color: var(--color-white);
  background: transparent;
  text-decoration: none;
}

.btn-cta:hover {
  background: var(--color-white);
  color: var(--color-accent);
}

/* --------------------------------------------------------------------------
   Text Links (>> Stil)
   -------------------------------------------------------------------------- */
.text-link {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--color-accent);
  transition: letter-spacing 0.2s ease;
}

.text-link::before {
  content: '\203A\203A';
  font-weight: 700;
  margin-inline-end: 0.4em;
}

.text-link:hover {
  letter-spacing: 0.13em;
}

nav a {
  text-decoration: none;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  height: var(--header-h);
  z-index: 100;
  transition: background 0.35s ease, box-shadow 0.35s ease;
}

.site-header.scrolled {
  background: var(--color-bg);
  box-shadow: 0 1px 0 var(--color-divider);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 100%;
  padding-inline: clamp(20px, 6vw, 64px);
}

/* Logo: schwarz auf Sand, weiss über Hero */
.logo-img {
  height: calc(var(--header-h) * 0.6);
  width: auto;
  transition: filter 0.35s ease;
}

.site-header:not(.scrolled) .logo-img {
  filter: brightness(0) invert(1);
}

/* Nav */
.main-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--color-bg);
  padding-block-start: calc(var(--header-h) + 2rem);
  padding-inline: clamp(20px, 6vw, 64px);
  z-index: 99;
}

.main-nav.open {
  display: block;
}

.nav-cta-mobile {
  display: none;
  margin-block-start: 2.5rem;
}

.main-nav.open .nav-cta-mobile {
  display: inline-block;
}

@media (min-width: 600px) {
  .nav-cta-mobile {
    display: none !important;
  }
}

.main-nav ul {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.main-nav a {
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--color-text);
  transition: color 0.2s;
}

.main-nav a:hover {
  color: var(--color-accent);
}

/* Desktop Nav */
@media (min-width: 900px) {
  .main-nav {
    display: block;
    position: static;
    background: none;
    padding: 0;
    z-index: auto;
  }

  .main-nav ul {
    flex-direction: row;
    gap: 2rem;
  }

  .main-nav a {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }

  /* Nav-Links weiss über Hero */
  .site-header:not(.scrolled) .main-nav a {
    color: var(--color-white);
  }

  .site-header:not(.scrolled) .main-nav a:hover {
    color: rgba(255, 255, 255, 0.7);
  }
}

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 101;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: background 0.3s;
}

.site-header:not(.scrolled) .hamburger span {
  background: var(--color-white);
}

@media (min-width: 900px) {
  .hamburger {
    display: none;
  }

  .nav-cta {
    display: inline-block;
  }
}

.nav-cta {
  display: none; /* auf Mobile: JETZT BUCHEN Button ausblenden (Platz sparen) */
  text-decoration: none;
}

@media (min-width: 600px) {
  .nav-cta {
    display: inline-block;
  }
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  height: 100svh;
  min-height: 520px;
  position: relative;
  overflow: hidden;
}

.hero-placeholder {
  width: 100%;
  height: 100%;
  font-size: 1rem;
}

.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --------------------------------------------------------------------------
   Section Base
   -------------------------------------------------------------------------- */
.section {
  padding-block: var(--section-gap);
}

main {
  padding-block-start: var(--header-h);
  min-height: 100vh;
  /* lvh, not svh/dvh: the footer must stay hidden even when mobile browser bars collapse */
  min-height: 100lvh;
}

.no-header main {
  padding-block-start: 0;
}

/* --------------------------------------------------------------------------
   Two-Column Layout
   -------------------------------------------------------------------------- */
.two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.col-img .img-placeholder {
  width: 100%;
  aspect-ratio: 3 / 4;
}

@media (min-width: 768px) {
  .two-col {
    grid-template-columns: 1fr 1fr;
  }
}

/* --------------------------------------------------------------------------
   Text Nav
   -------------------------------------------------------------------------- */
.text-nav {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-block-start: 1.5rem;
}

/* --------------------------------------------------------------------------
   Coming Soon (Teaser-Startseite vor dem Launch)
   -------------------------------------------------------------------------- */
.section-coming-soon {
  min-height: 100svh;
  display: flex;
  align-items: center;
  text-align: center;
}

.section-coming-soon p {
  max-width: 44ch;
  margin-inline: auto;
}

.coming-soon-logo {
  width: min(240px, 60vw);
  height: auto;
  margin: 1.5rem auto 2.5rem;
}

.coming-soon-social {
  align-items: center;
}

/* --------------------------------------------------------------------------
   Colico Section
   -------------------------------------------------------------------------- */
.section-colico {
  padding-block: 0;
}

.colico-img {
  width: 100%;
  height: clamp(240px, 45vw, 520px);
}

.colico-content {
  padding-block: var(--section-gap);
}

.colico-content h1 {
  margin-bottom: 0.3rem;
}

.colico-content p {
  margin-block: 1rem;
}

/* --------------------------------------------------------------------------
   Experiences Section
   -------------------------------------------------------------------------- */
.section-experiences > .container > h1 {
  margin-bottom: 0.3rem;
}

.section-experiences > .container > h2 {
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.experience-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 4vw, 3rem);
}

@media (min-width: 640px) {
  .experience-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .experience-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.experience-card .img-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  margin-bottom: 1.25rem;
}

.experience-card p {
  font-size: 0.95rem;
  max-width: none;
}

/* --------------------------------------------------------------------------
   CTA Banner
   -------------------------------------------------------------------------- */
.section-cta {
  background: var(--color-accent);
  padding-block: clamp(50px, 8vw, 90px);
  text-align: center;
}

.section-cta .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.section-cta h2 {
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--color-white);
}

.section-cta p {
  color: rgba(255, 255, 255, 0.8);
  max-width: 48ch;
  text-align: center;
  margin: 0;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--color-text);
  color: var(--color-white);
  padding-block: clamp(2.5rem, 5vw, 4rem);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}

.footer-logo {
  filter: brightness(0) invert(1);
  height: 50px;
  width: auto;
}

.footer-email {
  font-size: 0.9rem;
  color: var(--color-white);
  opacity: 0.8;
  transition: opacity 0.2s;
}

.footer-email:hover {
  opacity: 1;
}

.footer-social {
  display: flex;
  gap: 1.25rem;
}

.footer-social a {
  color: var(--color-white);
  opacity: 0.65;
  transition: opacity 0.2s;
}

.footer-social a:hover {
  opacity: 1;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.5rem;
}

.footer-legal a {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.5;
  transition: opacity 0.2s;
  color: inherit;
}

.footer-legal a:hover {
  opacity: 1;
}

.footer-copy {
  font-size: 0.72rem;
  opacity: 0.6;
  max-width: none;
  margin: 0;
}

/* --------------------------------------------------------------------------
   Section Intro (full-width text intro, no image)
   -------------------------------------------------------------------------- */
.section-intro {
  padding-block-end: calc(var(--section-gap) * 0.6);
}

.section-intro h2 {
  margin-bottom: 0.3rem;
}

.section-intro h1 {
  margin-bottom: 1.5rem;
}

.section-intro p {
  max-width: 56ch;
}

/* --------------------------------------------------------------------------
   Section Feature (alternating two-column image+text sections)
   -------------------------------------------------------------------------- */
.section-feature .col-text h2 {
  margin-bottom: 0.3rem;
}

.section-feature .col-text h1 {
  margin-bottom: 1rem;
}

.section-feature-alt .col-img {
  order: 0;
}

@media (min-width: 768px) {
  .section-feature-alt .col-img {
    order: 1;
  }
}

/* --------------------------------------------------------------------------
   Section Grid (heading + card grid layout)
   -------------------------------------------------------------------------- */
.section-grid h2 {
  margin-bottom: 0.3rem;
}

.section-grid h1 {
  margin-bottom: 1.5rem;
}

.section-grid .card-grid {
  margin-block-start: clamp(2rem, 4vw, 3rem);
}

.section-grid .card-grid + p {
  margin-block-start: clamp(2rem, 4vw, 3rem);
}

/* --------------------------------------------------------------------------
   Card Grid (1 → 2 → 3 column responsive grid)
   -------------------------------------------------------------------------- */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

@media (min-width: 560px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .card-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* --------------------------------------------------------------------------
   Card Bordered (top-accent-line card)
   -------------------------------------------------------------------------- */
.card-bordered {
  padding-top: 1.25rem;
  border-top: 1.5px solid var(--color-accent);
}

.card-bordered h3 {
  margin-bottom: 1rem;
}

.card-bordered p {
  font-size: 0.92rem;
  max-width: none;
  margin: 0;
}

.card-bordered p + p {
  margin-block-start: 0.75rem;
}

.card-lead {
  color: var(--color-accent);
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   Equipment List
   -------------------------------------------------------------------------- */
.equipment-list {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  list-style: none;
}

.equipment-list li {
  font-size: 0.92rem;
  padding-inline-start: 1.2em;
  position: relative;
  line-height: 1.5;
}

.equipment-list li::before {
  content: '—';
  position: absolute;
  inset-inline-start: 0;
  color: var(--color-accent);
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   Highlight Card
   -------------------------------------------------------------------------- */
.highlight-card {
  padding: 1.75rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius);
}

.highlight-icon {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  line-height: 1;
}

.highlight-card h3 {
  margin-bottom: 0.5rem;
}

.highlight-card p {
  font-size: 0.9rem;
  max-width: none;
  margin: 0;
  color: rgba(42, 42, 42, 0.75);
}

/* --------------------------------------------------------------------------
   Impressum
   -------------------------------------------------------------------------- */
.imprint {
  max-width: 680px;
}

.imprint > h2 {
  margin-bottom: 0.3rem;
}

.imprint > h1 {
  margin-bottom: 3rem;
}

.imprint-block {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--color-divider);
}

.imprint-block:last-of-type {
  border-bottom: none;
}

.imprint-block h3 {
  margin-bottom: 0.5rem;
}

.imprint-block p {
  max-width: none;
  margin: 0;
}

.imprint-block p + p {
  margin-top: 1rem;
}

.imprint-block a {
  color: var(--color-accent);
  transition: opacity 0.2s;
}

.imprint-block a:hover {
  opacity: 0.7;
}

/* --------------------------------------------------------------------------
   Card Grid – 2-column variant
   -------------------------------------------------------------------------- */
@media (min-width: 560px) {
  .card-grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .card-grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.card-bordered .equipment-list {
  margin-block: 0.75rem;
}

.card-bordered .equipment-list:last-child {
  margin-block-end: 0;
}

/* --------------------------------------------------------------------------
   Booking Placeholder
   -------------------------------------------------------------------------- */
.section-booking {
  padding-block-start: 0;
}

.booking-placeholder {
  border: 1.5px dashed var(--color-border-strong);
  border-radius: var(--radius);
  padding: clamp(2.5rem, 6vw, 5rem) 2rem;
  text-align: center;
  color: var(--color-placeholder-text);
  font-style: italic;
}

.booking-placeholder p {
  max-width: none;
  margin: 0;
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.section-faq > .container > h2 {
  margin-bottom: 0.3rem;
}

.section-faq > .container > h1 {
  margin-bottom: 1rem;
}

.section-faq > .container > p {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.faq-group {
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.faq-group-title {
  margin-bottom: 0.75rem;
  padding-bottom: 0.6rem;
  border-bottom: 1.5px solid var(--color-accent);
}

.faq-item {
  border-bottom: 1px solid var(--color-divider);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  list-style: none;
  cursor: pointer;
  padding-block: 1.1rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text);
  user-select: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: '+';
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--color-accent);
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.faq-item[open] .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  padding-bottom: 1.25rem;
  padding-inline-end: 2rem;
}

.faq-answer p {
  font-size: 0.92rem;
  max-width: 66ch;
  margin-bottom: 0.75rem;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.faq-answer .equipment-list {
  margin-bottom: 0.75rem;
}

.faq-answer a {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
