/* ============================================================
   BRANDLEIT – LUXUSCHALETS IM ZILLERTAL
   ============================================================ */

/* ---------- Variables ---------- */
:root {
  --header-bg:       #161a11;
  --olive-primary:   #4a6231;
  --olive-secondary: #5b7640;
  --olive-dark:      #3a4e28;
  --olive-hover:     #3d5229;
  --quote-bg:        #3a4e28;
  --footer-gold:     #c8a030;
  --footer-gold-dk:  #a8831e;
  --footer-text:     #2c1f00;
  --white:           #ffffff;
  --off-white:       #f8f7f2;
  --text-dark:       #333333;
  --text-medium:     #555555;
  --text-light:      #888888;
  --max-w:           1116px;
  --header-h:        64px;
  --transition:      0.25s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 300;
  color: var(--text-dark);
  background: var(--white);
  font-size: 18px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { text-decoration: none; color: inherit; transition: opacity var(--transition); }
a:hover { opacity: 0.72; }
ul { list-style: none; }
img { display: block; max-width: 100%; }

/* ---------- Container ---------- */
.container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 30px;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 900;
  height: var(--header-h);
  background-color: var(--header-bg);
  transition: box-shadow 0.2s ease;
}

.site-header.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.35);
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 30px;
}

/* Collapsed default: nav grouped centre, controls grouped right */
.main-nav {
  justify-self: center;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 36px;
}

/* Header right */
.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-self: end;
}

/* Logo */
.logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
  line-height: 1;
}

.logo-img {
  height: 44px;
  width: auto;
  max-width: 160px;
  display: block;
  object-fit: contain;
  flex-shrink: 0;
  filter: invert(1);
}


.main-nav a {
  color: rgba(255,255,255,0.88);
  font-size: 12.5px;
  font-weight: 400;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: color var(--transition), border-color var(--transition);
}

.main-nav a:hover {
  opacity: 1;
  color: var(--white);
  border-bottom-color: rgba(255,255,255,0.45);
}



/* Language switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 2px;
}

.lang-btn {
  background: none;
  border: none;
  color: rgba(255,255,255,0.45);
  font-family: 'Josefin Sans', sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 1.5px;
  cursor: pointer;
  padding: 3px 5px;
  border-bottom: 1px solid transparent;
  transition: color var(--transition), border-color var(--transition);
  line-height: 1;
}

.lang-btn:hover {
  color: rgba(255,255,255,0.85);
}

.lang-btn.active {
  color: var(--white);
  border-bottom-color: rgba(255,255,255,0.55);
}

.lang-sep {
  color: rgba(255,255,255,0.2);
  font-size: 10px;
  line-height: 1;
  user-select: none;
}

.lang-switcher--mobile {
  display: none;
}

/* Mobile toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 6px;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 4px;
}

.mobile-toggle span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: rgba(255,255,255,0.85);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}

.mobile-toggle.is-active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.mobile-toggle.is-active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.mobile-toggle.is-active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 580px;
  margin-top: var(--header-h);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.18) 0%,
    rgba(0,0,0,0.08) 40%,
    rgba(0,0,0,0.55) 85%,
    rgba(0,0,0,0.72) 100%
  );
}

/* Booking Widget */
.booking-widget {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10;
}

.booking-tabs {
  display: flex;
  gap: 4px;
  padding: 0 30px;
}

.booking-tab {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 22px;
  border: none;
  cursor: pointer;
  font-family: 'Josefin Sans', sans-serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  background-color: rgba(58, 78, 40, 0.78);
  border-radius: 4px 4px 0 0;
  transition: background-color var(--transition), color var(--transition);
}

.booking-tab:hover {
  background-color: rgba(74, 98, 49, 0.9);
  color: var(--white);
}

.booking-tab.active {
  background-color: var(--olive-primary);
  color: var(--white);
}

.booking-form {
  background-color: rgba(20, 24, 14, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 18px 30px;
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
}

.booking-form.hidden { display: none; }

.booking-fields {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
}

.booking-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 20px;
  flex: 1;
}

.booking-field--wide { max-width: 260px; }

.booking-field label {
  font-size: 9.5px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  font-weight: 400;
}

.booking-field input {
  background: transparent;
  border: none;
  outline: none;
  color: var(--white);
  font-family: 'Josefin Sans', sans-serif;
  font-size: 15px;
  font-weight: 300;
  width: 100%;
  padding: 4px 0;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  transition: border-color var(--transition);
  color-scheme: dark;
}

.booking-field input:focus { border-bottom-color: rgba(255,255,255,0.55); }

.booking-divider {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,0.15);
  flex-shrink: 0;
}

.booking-submit {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background-color: var(--olive-primary);
  color: var(--white);
  border: none;
  cursor: pointer;
  font-family: 'Josefin Sans', sans-serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 3px;
  transition: background-color var(--transition);
  white-space: nowrap;
  flex-shrink: 0;
  margin-left: 20px;
}

.booking-submit:hover { background-color: var(--olive-hover); }

/* ============================================================
   INTRO
   ============================================================ */
.intro-section {
  padding: 96px 0 80px;
  background: var(--white);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.intro-heading-col h1 {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 300;
  line-height: 1.25;
  color: var(--text-dark);
  letter-spacing: -0.3px;
}

.intro-text-col p {
  font-size: 17px;
  line-height: 1.75;
  color: var(--text-medium);
  margin-bottom: 20px;
}

.intro-text-col p:last-child { margin-bottom: 0; }

.intro-text-col strong { color: var(--text-dark); font-weight: 400; }
.intro-text-col em { font-style: italic; }

/* ============================================================
   VIDEO
   ============================================================ */
.video-section {
  position: relative;
  overflow: hidden;
  padding: 56px 30px;
}

.video-section::before {
  content: '';
  position: absolute;
  inset: -60px;
  background: url('Pictures_Sel/20211009_142615.jpg') center / cover no-repeat;
  filter: blur(28px) brightness(0.55);
  transform: scale(1.15);
  z-index: 0;
}

.video-container {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin-inline: auto;
}

.video-photo {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 2px;
}

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

/* ============================================================
   FEATURES + REVIEWS
   ============================================================ */
.features-section {
  padding: 80px 0;
  background: var(--white);
}

.features-lead {
  font-size: 19px;
  line-height: 1.75;
  color: var(--text-medium);
  text-align: center;
  max-width: 760px;
  margin-inline: auto;
  margin-bottom: 64px;
  font-weight: 300;
}

.reviews-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.review-card {
  border: 1px solid #e8e6df;
  border-radius: 6px;
  padding: 28px 24px;
  background: var(--white);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow var(--transition), transform var(--transition);
}

.review-card:hover {
  box-shadow: 0 6px 28px rgba(0,0,0,0.09);
  transform: translateY(-2px);
}

.review-stars {
  display: flex;
  gap: 2px;
}

.review-circles {
  display: flex;
  gap: 4px;
  align-items: center;
}

.ta-circle {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #34E0A1;
  display: inline-block;
}

.review-score-line {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.review-score {
  font-size: 30px;
  font-weight: 400;
  color: var(--text-dark);
  line-height: 1;
}

.review-label {
  font-size: 13px;
  color: var(--text-light);
  letter-spacing: 0.5px;
}

.review-count {
  font-size: 13px;
  color: var(--text-light);
}

.review-logo {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 4px;
  padding-top: 14px;
  border-top: 1px solid #eee;
  font-size: 13px;
  color: var(--text-medium);
}

.airbnb-logo-text {
  font-size: 15px;
  font-weight: 600;
  color: #FF385C;
  letter-spacing: -0.3px;
}

.review-logo--airbnb { gap: 7px; }

.review-logo--ta span { font-size: 14px; font-weight: 500; color: #00aa6c; }
.review-logo--google span { font-size: 14px; font-weight: 500; color: #5f6368; }

/* ============================================================
   QUOTE
   ============================================================ */
.quote-section {
  background-color: var(--quote-bg);
  padding: 80px 0 0;
}

.quote-inner {
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.quote-text-col {
  text-align: center;
  padding-bottom: 8px;
}

.big-quote {
  font-family: 'Josefin Sans', sans-serif;
  font-style: italic;
  font-size: clamp(26px, 3.2vw, 42px);
  font-weight: 300;
  color: var(--white);
  line-height: 1.35;
  letter-spacing: 0.2px;
  margin-bottom: 24px;
}

.quote-sub {
  font-size: 15.5px;
  line-height: 1.75;
  color: rgba(255,255,255,0.6);
  font-style: normal;
  font-weight: 300;
}

.quote-images-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.quote-img-item {
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.quote-img-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  display: block;
}

.quote-img-item:hover img { transform: scale(1.04); }

/* ============================================================
   CTA
   ============================================================ */
.cta-section {
  padding: 96px 0;
  background: var(--white);
  text-align: center;
}

.cta-heading {
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 300;
  color: var(--text-dark);
  margin-bottom: 18px;
  letter-spacing: -0.2px;
}

.cta-sub {
  font-size: 17px;
  color: var(--text-medium);
  line-height: 1.75;
  margin-bottom: 40px;
  max-width: 500px;
  margin-inline: auto;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  padding: 14px 36px;
  background-color: var(--olive-primary);
  color: var(--white);
  font-family: 'Josefin Sans', sans-serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  border-radius: 3px;
  transition: background-color var(--transition), transform var(--transition);
}

.cta-btn:hover {
  opacity: 1;
  background-color: var(--olive-hover);
  transform: translateY(-1px);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background-color: var(--footer-gold);
  padding: 56px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 40px;
  align-items: start;
}

.footer-col--right {
  text-align: right;
}

.footer-col--right .footer-links a {
  display: block;
}

.footer-heading {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--footer-text);
  margin-bottom: 18px;
  opacity: 0.7;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 15px;
  color: var(--footer-text);
  opacity: 0.85;
  font-weight: 300;
  transition: opacity var(--transition);
}

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

/* Center column */
.footer-col--center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  min-width: 200px;
}

.footer-logo {
  display: block;
  line-height: 1;
}

.footer-logo-img {
  height: 72px;
  width: auto;
  display: block;
  opacity: 0.85;
}

.footer-address {
  font-style: normal;
  font-size: 14px;
  line-height: 1.75;
  color: var(--footer-text);
  opacity: 0.75;
}

.footer-phone {
  font-size: 15px;
  color: var(--footer-text);
  opacity: 0.85;
  font-weight: 400;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.social-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid rgba(44, 31, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--footer-text);
  opacity: 0.75;
  transition: opacity var(--transition), background-color var(--transition);
}

.social-icon:hover {
  opacity: 1;
  background-color: rgba(44, 31, 0, 0.1);
}

/* Footer bottom bar */
.footer-bottom {
  margin-top: 48px;
  padding: 18px 0;
  border-top: 1px solid rgba(44, 31, 0, 0.15);
  text-align: center;
}

.footer-bottom p {
  font-size: 12px;
  color: var(--footer-text);
  opacity: 0.55;
  letter-spacing: 0.5px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Tablet */
@media (max-width: 992px) {
  .intro-grid { grid-template-columns: 1fr; gap: 36px; }
  .reviews-row { grid-template-columns: 1fr; gap: 16px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-col--center { order: -1; }
  .footer-col--right { text-align: left; }
}

/* Mobile */
@media (max-width: 768px) {
  .logo-img {
    height: 32px;
    max-width: 120px;
  }

  /* Mobile: switch back to flex, restore nav and header-right from display:contents */
  .header-inner {
    display: flex;
    justify-content: space-between;
    grid-template-columns: none;
    transition: none;
  }
  .main-nav {
    display: none;
  }
  .main-nav ul {
    display: flex;
    flex-direction: column;
    gap: 0;
  }
  .main-nav ul li {
    display: block;
    justify-content: unset;
  }
  .header-right {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-left: auto;
    justify-self: auto;
  }
  .header-right .lang-switcher { display: none; }

  .lang-switcher--mobile {
    display: flex;
    justify-content: center;
    padding: 24px 0 8px;
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 16px;
    gap: 6px;
  }

  .lang-switcher--mobile .lang-btn {
    font-size: 13px;
    padding: 6px 10px;
    letter-spacing: 2px;
  }

  .lang-switcher--mobile .lang-sep {
    font-size: 13px;
    line-height: 2;
  }

  .mobile-toggle { display: flex; }

  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    background-color: var(--header-bg);
    padding: 40px 30px;
    z-index: 800;
    overflow-y: auto;
  }

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

  .main-nav ul {
    flex-direction: column;
    gap: 0;
  }

  .main-nav a {
    display: block;
    padding: 16px 0;
    font-size: 14px;
    letter-spacing: 2px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }

  .hero { height: calc(100svh - var(--header-h)); min-height: 520px; }

  .booking-widget {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
  }

  .booking-tabs { padding: 0 16px; }

  .booking-form {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 14px 16px;
  }

  .booking-fields { flex-direction: row; gap: 0; }

  .booking-field { padding: 0 12px; flex: 1; }

  .booking-divider { width: 1px; height: 36px; flex-shrink: 0; }

  .booking-submit { margin-left: 0; justify-content: center; padding: 13px; }

  .intro-section { padding: 56px 0 48px; }

  .video-section { padding: 40px 16px; }

  .features-section { padding: 56px 0; }
  .features-lead { font-size: 17px; margin-bottom: 40px; }

  .reviews-row { grid-template-columns: 1fr; }

  .quote-section { padding: 64px 0 48px; }
  .big-quote { font-size: 26px; }

  .quote-images-row { grid-template-columns: 1fr; }
  .quote-img-item { aspect-ratio: 3 / 2; }

  .cta-section { padding: 64px 0; }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-col--center { order: -1; }
  .footer-col--right { text-align: left; }
}

@media (max-width: 480px) {
  .container { padding-inline: 20px; }
  .booking-tabs { padding: 0 12px; }
  .booking-form { padding: 14px 12px; }
}

/* Desktop expanded header – initial state before JS kicks in */
@media (min-width: 769px) {
  .site-header {
    height: 33vh;
    background: linear-gradient(
      to bottom,
      rgba(22,26,17,0.9) 0%,
      rgba(22,26,17,0.9) 50%,
      rgba(22,26,17,0) 100%
    );
  }

  .hero {
    margin-top: 0;
  }

  /* Hide nav + controls initially; JS fades them in on scroll */
  .main-nav,
  .header-right {
    opacity: 0;
  }
}

