/* =========================================
   COH CHANG Ã¢Â€Â” Premium Spa Theme (Gold x Schilf x Salbei)
   - Mobile-first
   - DSGVO Maps Styles
   - Sticky header + precise anchor offsets
   ========================================= */

/* Fonts */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Cormorant+Garamond:wght@500;600;700&display=swap");

/* ---------- THEME TOKENS ---------- */
:root{
  /* Champagne text (no black text anywhere) */
  --text: rgba(232, 218, 186, 0.96);
  --text-soft: rgba(220, 205, 176, 0.88);

  /* Gold */
  --gold: #D9B86A;
  --gold-soft: #F0D695;
  --gold-dim: rgba(217,184,106,0.60);
  --gold-glow: rgba(217,184,106,0.22);

  /* Greens */
  --accent: #2F4B43;      /* fresh sage */
  --accent-2: #3C6256;    /* deeper sage */

  /* Page background: subtle gold sheen (no black) */
  --bg: #171311;          /* deep warm gold-olive */

  /* Cards: same family as "Leistungen" (bright schilf/sage) */
  --surface: rgba(44, 63, 57, 0.82);
  --surface-alt: rgba(34, 47, 43, 0.84);

  /* Borders / lines: gold */
  --line: rgba(217,184,106,0.36);

  /* Header */
  /* Header (warm bronze glass to match logo; kept translucent) */
  --header-brown: rgba(22, 19, 17, 0.76);      /* base tone (more see-through) */
  --header-brown-2: rgba(25, 34, 31, 0.62);    /* gentle depth */
  --header-goldwash: rgba(217,184,106,0.16);   /* soft gold sheen */

  --header-edge: rgba(226,201,128,0.38);
  --header-edge-2: rgba(198,168,90,0.26);

  /* Nav pills (subtle brown base; hover stays sage/gold) */
  --nav-pill: rgba(255,255,255,0.028);
  --nav-pill-border: rgba(217,184,106,0.22);

  --shadow-soft: 0 10px 30px rgba(0,0,0,0.26);
  --shadow-strong: 0 25px 70px rgba(0,0,0,0.42);

  --radius: 18px;
  --radius-sm: 12px;

  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-head: "Cormorant Garamond", ui-serif, Georgia, "Times New Roman", serif;

  --container: 1040px;

  /* anchor offset (JS keeps this synced to header height) */
  --anchor-offset: 160px;
}

*{ box-sizing: border-box; }

html{
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--anchor-offset) + 28px);
}

body{
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16.2px;
  line-height: 1.82;
  font-weight: 500;
  color: var(--text);

  /* Subtle gold wash around the entire page */
  background:
    radial-gradient(1000px 520px at 12% 0%, rgba(226,201,128,0.22), transparent 60%),
    radial-gradient(900px 520px at 88% 8%, rgba(198,168,90,0.18), transparent 62%),
    radial-gradient(820px 520px at 50% 92%, rgba(144,176,142,0.14), transparent 66%),
    linear-gradient(180deg, rgba(226,201,128,0.10), transparent 28%),
    var(--bg);

  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: geometricPrecision;

  /* keep native controls consistent (avoid bright-blue defaults) */
  color-scheme: dark;
  accent-color: var(--gold);
}

/* Ultra-subtle background texture (depth only) */
body::before{
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: 0.040;
  background:
    radial-gradient(2px 2px at 20% 30%, rgba(226,201,128,0.18), transparent 60%),
    radial-gradient(2px 2px at 70% 20%, rgba(255,255,255,0.12), transparent 60%),
    radial-gradient(2px 2px at 40% 80%, rgba(255,255,255,0.09), transparent 60%),
    repeating-linear-gradient(135deg, rgba(255,255,255,0.05) 0 1px, transparent 1px 10px);
  mix-blend-mode: overlay;
}

/* ---------- LAYOUT ---------- */
main{
  max-width: var(--container);
  margin: 0 auto;
}

.section{
  scroll-margin-top: calc(var(--anchor-offset) + 28px);
  position: relative;
  padding: 60px 20px;
  background: var(--surface);
  border-radius: var(--radius);
  margin: 22px 14px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--line);
}

/* a slightly brighter variant for alternating sections */
.section.alt{ background: var(--surface-alt); }

/* Softer top highlight (no harsh dark) */
.section::before{
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 18px;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(226,201,128,0.12), transparent);
  opacity: 0.85;
}

.section-inner{
  max-width: 880px;
  margin: 0 auto;
}

/* Headings: serif + subtle gold */
.section h1,
.section h2,
.section h3{
  margin: 0 0 18px;
  font-family: var(--font-head);
  letter-spacing: 0.020em;
  color: var(--gold-soft);
  text-shadow:
    0 0 10px rgba(198,168,90,0.20),
    0 0 18px rgba(144,176,142,0.12);
}

.section h3{
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
}

.section h4{
  margin: 22px 0 10px;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--gold);
}

.section p{
  margin: 0 0 1.05em;
  color: var(--text-soft);
}

a{ color: inherit; }

/* ---------- HEADER / NAV ---------- */
header{
  position: sticky;
  top: 0;
  z-index: 100;
  text-align: center;
  padding: 18px 14px 10px;
  background:
    radial-gradient(900px 240px at 50% 0%, var(--header-goldwash), transparent 70%),
    linear-gradient(180deg, var(--header-brown), var(--header-brown-2));
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 12px 34px rgba(0,0,0,0.22);
  position: sticky;
}

/* Fine light edge */
header::before{
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--header-edge), var(--header-edge-2), var(--header-edge), transparent);
  opacity: 0.98;
  pointer-events: none;
}

.logo-wrap{ margin-bottom: 10px; }
.logo{
  max-width: 240px;
  height: auto;
  display: inline-block;
  border-radius: 10px;
  box-shadow: var(--shadow-soft);
}

/* Navigation */
nav{
  display: inline-flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  padding: 10px 0 12px;
}

nav .divider{
  opacity: 0.35;
  color: var(--text-soft);
}

nav a{
  color: var(--text); /* more contrast */
  text-decoration: none;
  font-weight: 650;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 12px;
  border-radius: 10px;
  position: relative;
  transition: transform 140ms ease, color 180ms ease;
}

/* pill */
nav a::before{
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--nav-pill);
  border: 1px solid var(--nav-pill-border);
  z-index: -1;
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

nav a:hover{ transform: translateY(-1px); }

nav a:hover::before{
  background: rgba(144,176,142,0.12);
  border-color: rgba(198,168,90,0.22);
  box-shadow: 0 10px 24px rgba(0,0,0,0.22);
}

/* Dynamic underline sweep */
nav a::after{
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: -6px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--gold-dim), var(--gold-soft), var(--gold-dim), transparent);
  opacity: 0;
  transform: scaleX(0);
  transform-origin: 0% 50%;
  transition: transform 620ms cubic-bezier(.18,.84,.22,1), opacity 220ms ease;
  pointer-events: none;
}

nav a:hover::after{
  opacity: 0.85;
  transform: scaleX(1);
}

/* one-pass subtle gold shimmer on hover text */
@supports ((-webkit-background-clip: text) or (background-clip: text)){
  nav a:hover{
    background-image: linear-gradient(90deg,
      rgba(247,242,228,0.85),
      rgba(226,201,128,0.70),
      rgba(198,168,90,0.62),
      rgba(226,201,128,0.70),
      rgba(247,242,228,0.85));
    background-size: 320% 100%;
    background-position: 0% 50%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: navGoldShimmer 2400ms cubic-bezier(.18,.84,.22,1) forwards;
    animation-delay: 140ms;
  }
}
@keyframes navGoldShimmer{
  from { background-position: 0% 50%; }
  to   { background-position: 100% 50%; }
}

/* active state (scroll spy) */
nav a.is-active{
  color: var(--gold-soft);
  text-shadow:
    0 0 6px rgba(198,168,90,0.26),
    0 0 14px rgba(198,168,90,0.12);
}
nav a.is-active::before{
  background: rgba(226,201,128,0.10);
  border-color: rgba(198,168,90,0.30);
}
nav a.is-active::after{
  opacity: 0.98;
  transform: scaleX(1);
  background: linear-gradient(90deg, transparent, var(--gold), var(--gold-soft), var(--gold), transparent);
  box-shadow: 0 0 8px rgba(198,168,90,0.28);
}

/* ---------- UTIL / LINES / LISTS ---------- */
.gold-line{
  border: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(198,168,90,0.65), transparent);
  margin: 18px 0;
}

.gold-points,
.sage-points{
  margin: 0;
  padding-left: 18px;
  color: var(--text-soft);
}
.gold-points li,
.sage-points li{ margin: 8px 0; }

.addr-line{ margin: 8px 0 18px; color: var(--text-soft); }

/* ---------- SERVICE BOXES ---------- */
.service-box{
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 16px;
  align-items: start;
  padding: 16px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(144,176,142,0.14);
}
.service-box img{
  width: 100%;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}
@media (max-width: 720px){
  .service-box{ grid-template-columns: 1fr; }
}

/* ---------- HERO SLIDER ---------- */
.hero-slider{
  position: relative;
  width: min(95%, 980px);
  height: 320px;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-strong);
  margin: 10px auto 0;
}

/* Ultra-soft hero overlay */
.hero-slider::after{
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background:
    radial-gradient(900px 240px at 18% 8%, rgba(226,201,128,0.14), transparent 56%),
    radial-gradient(720px 220px at 82% 18%, rgba(144,176,142,0.14), transparent 60%),
    linear-gradient(to bottom, rgba(58,51,35,0.04), rgba(58,51,35,0.16));
  opacity: 0.90;
}

.hero-slider::before{
  content: "";
  position: absolute;
  inset: -20% -30%;
  pointer-events: none;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(226,201,128,0.10), transparent);
  transform: translateX(-18%) rotate(-10deg);
  opacity: 0;
  animation: heroSheen 18s ease-in-out infinite;
}
@keyframes heroSheen{
  0%   { opacity: 0; transform: translateX(-22%) rotate(-10deg); }
  12%  { opacity: 0.50; }
  50%  { opacity: 0.10; transform: translateX(18%) rotate(-10deg); }
  100% { opacity: 0; transform: translateX(22%) rotate(-10deg); }
}
@media (prefers-reduced-motion: reduce){
  .hero-slider::before{ animation: none; opacity: 0.16; }
}

.hero-slider .slide{
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 3.2s cubic-bezier(.18,.84,.22,1);
  transform: scale(1.05);
}
.hero-slider .slide.active{ opacity: 1; }


/* ---------- HERO OVERLAY (HTML Caption) ---------- */
.hero-slider{
  --hero-parallax: 0px; /* updated by JS */
}

/* Keep pseudo overlays below caption layers */
.hero-slider::before,
.hero-slider::after{
  z-index: 1;
}
.hero-slider .slide{
  z-index: 0;
  background-position: center calc(50% + var(--hero-parallax));
  will-change: background-position, transform, opacity;
}

/* Soft load-in (enabled via body.is-loaded) */
.hero-overlay,
.hero-caption{
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 900ms cubic-bezier(.18,.84,.22,1), transform 900ms cubic-bezier(.18,.84,.22,1);
}
body.is-loaded .hero-overlay,
body.is-loaded .hero-caption{
  opacity: 1;
  transform: translateY(0);
}

/* Dark-to-clear gradient for text readability */
.hero-overlay{
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(25,22,16,0.72) 0%, rgba(25,22,16,0.34) 46%, rgba(25,22,16,0.10) 70%, rgba(25,22,16,0.00) 100%),
    radial-gradient(720px 260px at 20% 18%, rgba(198,168,90,0.18), transparent 62%);
}

/* Caption layout */
.hero-caption{
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  align-content: center;
  justify-items: start;
  padding: clamp(18px, 4vw, 46px);
  max-width: min(95%, 980px);
  margin: 0 auto;
}

.hero-kicker{
  margin: 0 0 6px;
  font-size: 0.88rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(247,242,228,0.86);
}

.hero-title{
  margin: 0;
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--gold-soft);
  font-size: clamp(28px, 4.2vw, 56px);
  line-height: 1.08;
  text-shadow:
    0 0 18px rgba(0,0,0,0.42),
    0 0 24px rgba(198,168,90,0.16);
}

.hero-title::after{
  content: "";
  display: block;
  height: 1px;
  width: min(520px, 68vw);
  margin-top: 12px;
  background: linear-gradient(90deg, rgba(226,201,128,0.0), rgba(226,201,128,0.72), rgba(226,201,128,0.0));
  opacity: 0.85;
}

.hero-sub{
  margin: 14px 0 0;
  max-width: 58ch;
  color: rgba(247,242,228,0.78);
  font-size: clamp(14.5px, 1.5vw, 17.2px);
  text-shadow: 0 0 18px rgba(0,0,0,0.40);
}

.hero-actions{
  margin-top: 18px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* Subtle "Ken Burns" motion on active slide */
@media (prefers-reduced-motion: no-preference){
  .hero-slider .slide.active{
    animation: heroKenBurns 11s ease-in-out both;
  }
  @keyframes heroKenBurns{
    from { transform: scale(1.08); }
    to   { transform: scale(1.02); }
  }
}

/* Mobile adjustments */
@media (max-width: 768px){
  .hero-overlay{
    background:
      linear-gradient(180deg, rgba(25,22,16,0.62) 0%, rgba(25,22,16,0.30) 45%, rgba(25,22,16,0.10) 70%, rgba(25,22,16,0.00) 100%),
      radial-gradient(520px 260px at 50% 24%, rgba(198,168,90,0.16), transparent 62%);
  }
  .hero-caption{
    justify-items: center;
    text-align: center;
  }
  .hero-sub{ max-width: 44ch; }
  .hero-title::after{
    margin-left: auto;
    margin-right: auto;
  }
}


/* ---------- FORMS ---------- */
.booking-form{
  margin-top: 18px;
  padding: 18px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(144,176,142,0.14);
}

.form-row{
  margin-bottom: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-row.two-col{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

label{
  font-size: 0.92rem;
  color: var(--text);
  font-weight: 600;
}

input, select, textarea{
  border-radius: 12px;
  border: 1px solid rgba(198,168,90,0.30);
  padding: 10px 12px;
  background: rgba(247,242,228,0.06);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 0.98rem;
}

/* native select options (best-effort) */
select option,
select optgroup{
  background: #3A3323;
  color: var(--text);
}

input:focus, select:focus, textarea:focus{
  outline: none;
  border-color: rgba(226,201,128,0.55);
  box-shadow: 0 0 0 4px rgba(198,168,90,0.18);
}

/* Custom Select (matches theme; avoids blue highlight) */
.native-select--hidden{
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.cselect{
  position: relative;
  width: 100%;
}
.cselect__btn{
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(198,168,90,0.30);
  background: rgba(247,242,228,0.06);
  color: var(--text);
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 0.98rem;
  text-align: left;
}
.cselect__btn:focus-visible{
  outline: none;
  border-color: rgba(226,201,128,0.60);
  box-shadow: 0 0 0 4px rgba(198,168,90,0.18);
}
.cselect__chev{ opacity: 0.85; }

.cselect__panel{
  position: absolute;
  left: 0; right: 0;
  top: calc(100% + 8px);
  z-index: 50;
  border-radius: 14px;
  border: 1px solid rgba(198,168,90,0.30);
  background: rgba(58,51,35,0.96);
  box-shadow: var(--shadow-strong);
  padding: 6px;
}
.cselect__list{
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: 260px;
  overflow: auto;
}
.cselect__opt{
  padding: 10px 10px;
  border-radius: 10px;
  color: var(--text);
  cursor: pointer;
  outline: none;
}
.cselect__opt:hover,
.cselect__opt:focus{
  background: rgba(226,201,128,0.12);
}
.cselect__opt[data-selected="true"]{
  background: rgba(198,168,90,0.18);
  border: 1px solid rgba(198,168,90,0.24);
}

/* ---------- BUTTONS (unified with nav) ---------- */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 14px;
  font-family: var(--font-sans);
  font-weight: 650;
  letter-spacing: 0.03em;
  cursor: pointer;
  user-select: none;
  text-decoration: none;
  color: var(--text);
  border: 1px solid rgba(198,168,90,0.30);
  background: rgba(226,201,128,0.08);
  transition: transform 140ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}
.btn:hover{
  transform: translateY(-1px);
  background: rgba(144,176,142,0.12);
  border-color: rgba(198,168,90,0.42);
  box-shadow: var(--shadow-soft);
}
.btn:active{ transform: translateY(0); }

.btn--primary,
.btn--secondary,
.btn--ghost{
  background: rgba(226,201,128,0.08);
  color: var(--text);
  border-color: rgba(198,168,90,0.30);
}
.btn--ghost{ background: transparent; }

/* ---------- ARRIVAL GRID (Standort) ---------- */
.arrival-grid{
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 12px;
  margin: 12px 0 18px;
}
.arrival-card{
  grid-column: span 12;
  padding: 16px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(144,176,142,0.12);
}
.arrival-card h4{ margin-top: 0; }
@media (min-width: 820px){
  .arrival-card{ grid-column: span 6; }
}

/* ---------- MAPS (DSGVO) ---------- */
.maps{
  margin-top: 18px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(144,176,142,0.12);
  overflow: hidden;
}
.maps__placeholder{ padding: 16px; }
.maps__phHeader{ display: flex; gap: 12px; align-items: flex-start; }
.maps__phIcon{
  width: 42px; height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(226,201,128,0.14);
  border: 1px solid rgba(198,168,90,0.22);
  flex: 0 0 auto;
}
.maps__phTitle{ margin: 0; font-weight: 800; color: var(--text); }
.maps__phText{ margin: 4px 0 0; color: var(--text-soft); }
.maps__phText a{ color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.maps__actions{ margin-top: 14px; display: flex; flex-wrap: wrap; gap: 10px; }
.maps__noscript{ margin-top: 10px; color: var(--text-soft); }
.maps__frame iframe{ width: 100%; height: 420px; border: 0; display: block; }

/* ---------- GALLERY + LIGHTBOX ---------- */
.gallery-container{
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.gallery-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  margin-top: 14px;
}
.gallery-grid img{
  width: 100%;
  height: auto;
  cursor: pointer;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.gallery-grid img:hover{
  transform: translateY(-2px);
  box-shadow: var(--shadow-strong);
}

#lightboxOverlay{
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(25,22,16,0.78);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}
#lightboxOverlay.active{ display: flex; }
#lightboxOverlay img{
  max-width: 92%;
  max-height: 92%;
  border-radius: 14px;
  border: 1px solid rgba(226,201,128,0.22);
}

/* ---------- FOOTER ---------- */
footer{
  margin: 22px 14px 20px;
  padding: 14px 18px;
  border-radius: var(--radius);
  background: rgba(144,176,142,0.18);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}
.footer-inner{
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  color: var(--text-soft);
  font-size: 0.95rem;
}

/* ---------- BACK TO TOP ---------- */
.back-to-top{
  position: fixed;
  right: 16px;
  bottom: 16px;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(226,201,128,0.14);
  color: var(--text);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 18px 42px rgba(0,0,0,0.22);
  border: 1px solid rgba(198,168,90,0.30);
  z-index: 1100;
}
.back-to-top:hover{ background: rgba(144,176,142,0.14); }

/* ---------- REVEAL ON SCROLL ---------- */
.section.reveal{
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 650ms ease, transform 650ms ease;
  will-change: opacity, transform;
}
.section.reveal.is-visible{
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  .section.reveal{ opacity: 1; transform: none; transition: none; }
  *{ animation: none !important; transition: none !important; }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px){
  .section{ padding: 50px 18px; }
  .hero-slider{ height: 280px; }
}
@media (max-width: 768px){
  header{ padding: 16px 12px 10px; }
  .logo{ max-width: 210px; }
  .section{ padding: 44px 16px; margin: 18px 12px; }
  .form-row.two-col{ grid-template-columns: 1fr; }
  .hero-slider{ height: 240px; width: 100%; }
  .footer-inner{ flex-direction: column; align-items: flex-start; }
  .maps__frame iframe{ height: 340px; }
}

/* Focus visibility (gold, not blue) */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible{
  outline: 3px solid rgba(226,201,128,0.45);
  outline-offset: 3px;
}

/* ---------- LEGAL SECTIONS (match standard boxed layout) ---------- */
.section.legal{ margin: 22px 14px; }

/* ---------- Custom Select Chevron (encoding-proof) ---------- */
.cselect__chev{
  width: 14px;
  height: 10px;
  flex: 0 0 auto;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='10' viewBox='0 0 20 12'%3E%3Cpath fill='%23E2C980' d='M2 2l8 8 8-8'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 14px 10px;
  opacity: 0.9;
}

/* Native <select> fallback arrow (safe SVG) */
select.native-select{
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='10' viewBox='0 0 20 12'%3E%3Cpath fill='%23E2C980' d='M2 2l8 8 8-8'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 14px 10px;
  padding-right: 40px;
}

/* Nav separators off (menu items already styled as pills) */
nav .divider{ display: none; }


/* ==============================
   HERO SLIDER Ã¢Â€Â” MORE CINEMATIC
   (slow crossfade + preview + glow)
   ============================== */
.hero-slider .slide{
  opacity: 0;
  transform: scale(1.05);
  filter: brightness(0.95) contrast(1.03) saturate(1.02);
  transition:
    opacity 6.5s cubic-bezier(.18,.84,.22,1),
    filter  6.5s cubic-bezier(.18,.84,.22,1),
    transform 14s cubic-bezier(.18,.84,.22,1);
  will-change: opacity, transform, filter;
}
.hero-slider .slide.active{
  opacity: 1;
  transform: scale(1.00);
  filter: brightness(1.02) contrast(1.04) saturate(1.05);
}
.hero-slider .slide.preview{
  opacity: 0.14;
  transform: scale(1.03);
  filter: brightness(0.98) contrast(1.03) saturate(1.04);
}
.hero-slider .slide.fade-out{
  opacity: 0;
  filter: brightness(0.94) contrast(1.02) saturate(1.01);
}

/* Subtle gold glow sweep during transition (best-effort; safe if :has unsupported) */
.hero-slider::before{
  content:"";
  position:absolute;
  inset:-40%;
  pointer-events:none;
  z-index: 1;
  opacity: 0;
  background: linear-gradient(
    110deg,
    transparent 42%,
    rgba(226,201,128,0.18) 50%,
    transparent 58%
  );
  transform: translateX(-110%) rotate(10deg);
}
.hero-slider:has(.slide.preview)::before{
  opacity: 0.55;
  animation: heroGlowSweep 6.5s cubic-bezier(.18,.84,.22,1) forwards;
}
@keyframes heroGlowSweep{
  from { transform: translateX(-110%) rotate(10deg); }
  to   { transform: translateX(110%) rotate(10deg); }
}
@media (prefers-reduced-motion: reduce){
  .hero-slider::before{ display:none; }
  .hero-slider .slide{ transition: opacity 1.2s ease; transform: none; filter:none; }
  .hero-slider .slide.preview{ opacity: 0; }
}


/* ---------- LEGAL NOTE + LINKLIKE BUTTON ---------- */
.legal-note{
  margin-top: 10px;
  color: var(--text-soft);
}
.linklike{
  background: none;
  border: 0;
  padding: 0;
  margin: 0 0 0 6px;
  font: inherit;
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.linklike:hover{
  opacity: 0.9;
}

/* ---------- CHECKBOX ROW ---------- */
.form-row--checkbox{
  margin-top: 6px;
}
.check{
  display: flex;
  gap: 10px;
  align-items: flex-start;
  line-height: 1.45;
  color: var(--text-soft);
}
.check input[type="checkbox"]{
  margin-top: 3px;
  width: 18px;
  height: 18px;
  accent-color: var(--gold);
}

/* ---------- MODAL (AGB POPUP) ---------- */
body.modal-open{
  overflow: hidden;
}

.modal-overlay{
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(25,22,16,0.78);
  padding: 18px;
}

.modal-overlay.active{
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal{
  width: min(920px, 100%);
  max-height: min(88vh, 900px);
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid rgba(226,201,128,0.24);
  background:
    radial-gradient(900px 260px at 22% 0%, rgba(226,201,128,0.14), transparent 66%),
    rgba(58,51,35,0.98);
  box-shadow: var(--shadow-strong);
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.modal__head{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 16px 10px;
  border-bottom: 1px solid var(--line);
}
.modal__head h3{
  margin: 0;
  font-family: var(--font-head);
  color: var(--gold-soft);
  letter-spacing: 0.03em;
}
.modal__close{
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(198,168,90,0.28);
  background: rgba(226,201,128,0.10);
  color: var(--text);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}
.modal__close:hover{
  background: rgba(144,176,142,0.12);
}

.modal__body{
  padding: 14px 16px;
  overflow: auto;
}

.modal__hint{
  margin: 0 0 10px;
  color: var(--text-soft);
}
.modal__hint a{
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.modal__content h4{
  margin: 18px 0 10px;
}
.modal__content p{
  margin: 0 0 1em;
}

.modal__foot{
  padding: 12px 16px 16px;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}


/* --- CUSTOM FIXES ADDED --- */

/* Remove blue tap highlight (mobile) */
* {
  -webkit-tap-highlight-color: rgba(198,168,90,0.2);
}

/* Select styling */
select option {
  background: #3A3323;
  color: rgba(247,242,228,0.94);
}

select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  accent-color: #C6A85A;
}

select:focus {
  outline: none;
}

/* Selection color */
::selection {
  background: rgba(198,168,90,0.4);
  color: #fff;
}

/* Navigation interaction colors */
nav a:active,
nav a:focus {
  background: rgba(144,176,142,0.2);
  color: rgba(247,242,228,0.94);
}

nav a:hover {
  background: rgba(198,168,90,0.15);
}


/* --- FIX: Nav hover must stay readable (no transparent shimmer text) --- */
nav a:hover{
  background-image: none !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
  color: var(--text) !important;
  animation: none !important;
}
@supports ((-webkit-background-clip: text) or (background-clip: text)){
  nav a:hover{
    /* cancel the text shimmer effect that made text appear invisible on some systems */
    -webkit-text-fill-color: var(--text);
  }
}


/* --- Custom select: keep it on-brand (gold/sage) --- */
.cselect__opt:hover,
.cselect__opt:focus{
  background: rgba(144,176,142,0.16) !important; /* sage */
  outline: none;
}
.cselect__opt[data-selected="true"]{
  background: rgba(198,168,90,0.18) !important; /* gold */
}
.cselect__btn:focus,
.cselect__btn:focus-visible{
  outline: none;
}



/* === High-end spa luxury variant === */

body{
  color: var(--text);
  background:
    radial-gradient(1200px 620px at 14% 0%, rgba(217,184,106,0.15), transparent 58%),
    radial-gradient(900px 560px at 86% 8%, rgba(60,98,86,0.18), transparent 56%),
    radial-gradient(1000px 700px at 50% 100%, rgba(47,75,67,0.24), transparent 60%),
    linear-gradient(180deg, rgba(217,184,106,0.05), transparent 22%),
    linear-gradient(180deg, #181413 0%, #151212 100%);
}

body::before{
  opacity: 0.02;
}

.section{
  background:
    linear-gradient(180deg, rgba(53,73,67,0.88), rgba(39,55,50,0.92)),
    radial-gradient(140% 180% at 0% 0%, rgba(240,214,149,0.08), transparent 42%);
  border-color: rgba(217,184,106,0.30);
  box-shadow:
    0 18px 42px rgba(0,0,0,0.26),
    inset 0 1px 0 rgba(240,214,149,0.05);
}

.section.alt{
  background:
    linear-gradient(180deg, rgba(35,47,43,0.88), rgba(28,38,35,0.92)),
    radial-gradient(140% 180% at 100% 0%, rgba(240,214,149,0.06), transparent 45%);
}

.section::before{
  background: linear-gradient(to bottom, rgba(240,214,149,0.11), transparent);
}

.section h1,
.section h2,
.section h3{
  color: var(--gold-soft);
  text-shadow:
    0 0 8px rgba(217,184,106,0.12),
    0 0 18px rgba(217,184,106,0.04);
}

.section h4{
  color: rgba(240,214,149,0.92);
  letter-spacing: 0.10em;
}

.section p,
.gold-points,
.sage-points,
.addr-line{
  color: var(--text-soft);
}

.section p,
.gold-points li,
.sage-points li{
  text-shadow: 0 1px 0 rgba(0,0,0,0.10);
}

strong, b{
  color: rgba(244, 225, 177, 0.98);
}

header{
  background:
    radial-gradient(900px 220px at 50% 0%, rgba(217,184,106,0.12), transparent 70%),
    linear-gradient(180deg, rgba(18,16,15,0.80), rgba(21,27,25,0.70));
  border-bottom-color: rgba(217,184,106,0.26);
  box-shadow: 0 12px 30px rgba(0,0,0,0.24);
}

.logo{
  border-radius: 12px;
  box-shadow:
    0 10px 28px rgba(0,0,0,0.24),
    0 0 0 1px rgba(217,184,106,0.10);
}

nav a{
  color: rgba(231,218,186,0.94);
  font-weight: 600;
}

nav .divider{
  color: rgba(220,205,176,0.44);
}

nav a:hover::before{
  background: rgba(60,98,86,0.14);
  border-color: rgba(217,184,106,0.28);
}

.gold-line{
  background: linear-gradient(to right, transparent, rgba(217,184,106,0.70), transparent);
}

.service-box,
.booking-form,
.arrival-card,
.maps,
.maps__placeholder{
  background:
    linear-gradient(180deg, rgba(255,255,255,0.03), rgba(0,0,0,0.04));
  border-color: rgba(217,184,106,0.24);
  box-shadow: inset 0 1px 0 rgba(240,214,149,0.04);
}

input, select, textarea,
.cselect__btn{
  background: rgba(250, 243, 228, 0.05);
  color: rgba(235, 220, 192, 0.96);
  border-color: rgba(217,184,106,0.28);
}

input::placeholder,
textarea::placeholder{
  color: rgba(220,205,176,0.52);
}

input:focus, select:focus, textarea:focus,
.cselect__btn:focus-visible{
  border-color: rgba(240,214,149,0.62);
  box-shadow: 0 0 0 4px rgba(217,184,106,0.12);
}

.cselect__panel{
  background: rgba(22,19,18,0.97);
  border-color: rgba(217,184,106,0.26);
}

.btn{
  color: rgba(238, 223, 193, 0.96);
  background: linear-gradient(180deg, rgba(217,184,106,0.10), rgba(217,184,106,0.04));
  border-color: rgba(217,184,106,0.28);
}

.btn:hover{
  background: linear-gradient(180deg, rgba(217,184,106,0.16), rgba(60,98,86,0.10));
  border-color: rgba(240,214,149,0.34);
}

.hero-overlay{
  background:
    linear-gradient(90deg, rgba(22,18,17,0.58) 0%, rgba(22,18,17,0.24) 46%, rgba(22,18,17,0.06) 70%, rgba(22,18,17,0.00) 100%),
    radial-gradient(720px 260px at 20% 18%, rgba(217,184,106,0.12), transparent 62%);
}

.hero-kicker{
  color: rgba(239, 223, 191, 0.82);
}

.hero-title{
  color: var(--gold-soft);
}

.hero-sub{
  color: rgba(231,218,186,0.84);
}

.tel-link,
.web-link{
  color: rgba(243, 227, 190, 0.98);
  text-decoration-color: rgba(217,184,106,0.30);
}

a:hover{
  color: rgba(248, 234, 201, 0.98);
}

/* slightly better readability without turning text white */
.section p,
.booking-form,
label,
input,
textarea,
select{
  letter-spacing: 0.002em;
}

@media (max-width: 768px){
  .section{
    padding: 46px 18px;
    margin: 18px 10px;
  }
}
/* =========================
VIP KARTEN – GOLD GLOW
========================= */

.vip-card-image {
display: block;
width: 100%;
max-width: 1100px;
height: auto;
margin: 20px auto;
border-radius: 18px;

/* Basis Schatten + Goldkante */
box-shadow:
0 20px 50px rgba(0, 0, 0, 0.35),
0 0 0 1px rgba(212, 175, 55, 0.18);

transition:
transform 0.4s ease,
box-shadow 0.4s ease,
filter 0.4s ease;
}

/* Hover Effekt */
.vip-card-image:hover {
transform: scale(1.02);

box-shadow:
0 30px 70px rgba(0, 0, 0, 0.45),
0 0 25px rgba(212, 175, 55, 0.35);

filter: brightness(1.05);
}