/* ══════════════════════════════════════════
   SCHLOSS WESTERHOLT — Erlebnis Shared CSS
   ══════════════════════════════════════════ */

:root {
  --gold:      #B08D4C;
  --ink:       #232A16;
  --stone:     #5F6B40;
  --cream:     #EDE8CC;
  --white:     #EDE8CC;
  --forest:    #3A5518;
  --tiefgruen: #2A3F12;
  --papier:    #EDE8CC;
  --ease:      cubic-bezier(.25,.46,.45,.94);
  --ease2:     cubic-bezier(.16,1,.3,1);
}

*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
body { font-family: 'Libre Baskerville', Georgia, serif; background: var(--white); color: var(--ink); overflow-x: clip; }
img, video { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { background: none; border: none; cursor: pointer; font: inherit; }

/* ── PRELOADER ── */
#preloader {
  position: fixed; inset: 0; z-index: 999;
  background: var(--forest);
  display: flex; align-items: center; justify-content: center;
  transition: opacity .7s var(--ease), visibility .7s;
}
#preloader.done { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-logo { opacity: 0; transform: translateY(12px); transition: opacity .6s, transform .6s; }
#preloader.ready .preloader-logo { opacity: 1; transform: none; }
.preloader-logo img { height: 100px; }

/* ── NAV ── */
#mainNav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: 100px;
  display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center; padding: 0 48px;
  transition: height .45s var(--ease), background .45s var(--ease), box-shadow .45s var(--ease);
}
#mainNav.solid {
  height: 80px;
  background: var(--forest);
  box-shadow: 0 1px 0 rgba(255,255,255,.08);
}
.nav-menu-btn {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; letter-spacing: .2em; text-transform: uppercase;
  color: #fff; transition: opacity .3s;
}
.nav-menu-btn:hover { opacity: .6; }
.nav-menu-btn .bars { display: flex; flex-direction: column; gap: 5px; }
.nav-menu-btn .bars span {
  display: block; width: 20px; height: 1px; background: currentColor;
  transition: transform .35s var(--ease), opacity .25s var(--ease);
}
#mainNav.menu-open .nav-menu-btn .bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
#mainNav.menu-open .nav-menu-btn .bars span:nth-child(2) { opacity: 0; }
#mainNav.menu-open .nav-menu-btn .bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.nav-logo-wrap { display: flex; align-items: center; justify-content: center; }
.nav-logo-img { height: 80px; filter: brightness(0) invert(1); transition: height .45s var(--ease); }
#mainNav.solid .nav-logo-img { height: 62px; }
.nav-book-btn {
  display: inline-flex; align-items: center; margin-left: auto;
  font-size: 12px; letter-spacing: .2em; text-transform: uppercase;
  color: #fff; border: 1px solid rgba(255,255,255,.7); padding: 10px 24px;
  width: fit-content; transition: background .25s, border-color .25s;
}
.nav-book-btn:hover { background: var(--gold); border-color: var(--gold); }

/* ── MENU OVERLAY ── */
#menuOverlay {
  position: fixed; inset: 0; z-index: 500;
  background: var(--forest);
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  opacity: 0; visibility: hidden;
  transition: opacity .5s var(--ease), visibility .5s;
}
#menuOverlay.open { opacity: 1; visibility: visible; }
.menu-close {
  position: absolute; top: 32px; right: 48px;
  font-size: 11px; letter-spacing: .25em; text-transform: uppercase;
  color: rgba(237,232,204,.55); cursor: pointer;
  font-family: 'Libre Baskerville', Georgia, serif; transition: color .25s;
}
.menu-close:hover { color: var(--cream); }
.menu-nav { text-align: center; list-style: none; }
.menu-nav li a {
  display: block; padding: 10px 0;
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: clamp(26px, 4.5vw, 52px); font-style: italic;
  color: var(--cream); line-height: 1.2; transition: color .25s;
}
.menu-nav li a:hover { color: var(--gold); }
.menu-has-sub { overflow: visible !important; }
.menu-link-toggle {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  padding: 10px 0; width: 100%; background: none; border: none; cursor: pointer;
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: clamp(26px, 4.5vw, 52px); font-style: italic;
  color: var(--cream); line-height: 1.2; transition: color .25s;
}
.menu-link-toggle:hover { color: var(--gold); }
.menu-toggle-arrow {
  font-style: normal; font-size: .42em; display: inline-block;
  transition: transform .38s cubic-bezier(.4,0,.2,1); opacity: .6;
}
.menu-has-sub.open .menu-toggle-arrow { transform: rotate(180deg); }
.menu-sub-nav { list-style: none; max-height: 0; overflow: hidden; transition: max-height .45s cubic-bezier(.4,0,.2,1); }
.menu-has-sub.open .menu-sub-nav { max-height: 280px; }
.menu-sub-nav li { overflow: visible !important; }
.menu-sub-nav li a {
  display: block; padding: 5px 0;
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: clamp(12px, 1.6vw, 16px); font-style: normal;
  letter-spacing: .18em; text-transform: uppercase;
  color: rgba(237,232,204,.55); transition: color .25s;
}
.menu-sub-nav li a:hover { color: var(--gold); }
.menu-link-ext-hl { color: var(--gold) !important; }
.menu-divider { width: 40px; height: 1px; background: rgba(237,232,204,.2); margin: 20px auto; }
.menu-sub { display: flex; gap: 40px; justify-content: center; margin-top: 8px; }
.menu-sub a {
  font-size: 10px; letter-spacing: .3em; text-transform: uppercase;
  color: rgba(237,232,204,.45); transition: color .25s;
}
.menu-sub a:hover { color: var(--cream); }
.menu-logo { position: absolute; top: 28px; left: 50%; transform: translateX(-50%); height: 42px; opacity: .6; }

/* ── PAGE HERO ── */
.page-hero {
  position: relative; height: 100svh; min-height: 600px;
  overflow: hidden; display: flex; align-items: center; justify-content: center;
}
.page-hero-bg { position: absolute; inset: 0; }
.page-hero-bg img, .page-hero-bg video {
  width: 100%; height: 100%; object-fit: cover; object-position: center 35%;
}
.page-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(10,18,5,.45) 0%, rgba(10,18,5,.75) 100%);
}
.page-hero-content {
  position: relative; z-index: 2;
  text-align: center; padding: 0 60px; max-width: 960px;
}
.page-hero-eyebrow {
  font-size: 10px; letter-spacing: .45em; text-transform: uppercase;
  color: rgba(237,232,204,.65); margin-bottom: 20px;
}
.page-hero-hl {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: clamp(40px, 5.8vw, 84px);
  font-weight: 400; font-style: italic; line-height: 1.08; color: #fff;
}
.page-hero-hl em { font-style: normal; }
.page-hero-body {
  margin-top: 24px;
  font-size: 17px; line-height: 1.8; color: rgba(255,255,255,.62);
  font-weight: 300; max-width: 520px; margin-left: auto; margin-right: auto;
}
.page-hero-cta {
  display: inline-flex; align-items: center; gap: 12px;
  margin-top: 48px; padding: 18px 56px;
  background: var(--gold); color: #fff;
  font-size: 13px; letter-spacing: .25em; text-transform: uppercase;
  transition: background .3s, transform .25s;
}
.page-hero-cta:hover { background: var(--tiefgruen); transform: translateY(-3px); }
.page-hero-scroll {
  position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: 9px; letter-spacing: .3em; text-transform: uppercase;
  color: rgba(255,255,255,.38); animation: scrollBob 2.5s ease infinite;
}
.page-hero-scroll-line { width: 1px; height: 44px; background: rgba(255,255,255,.2); }
@keyframes scrollBob {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ── INTRO SECTION ── */
.intro-sec {
  background: var(--papier); padding: 108px 80px;
  text-align: center;
  border-top: 1px solid rgba(58,85,24,.1);
  border-bottom: 1px solid rgba(58,85,24,.1);
}
.intro-label {
  font-size: 10px; letter-spacing: .44em; text-transform: uppercase;
  color: var(--stone); margin-bottom: 20px;
}
.intro-hl {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: clamp(26px, 2.8vw, 42px);
  font-style: italic; line-height: 1.5; color: var(--forest);
  max-width: 820px; margin: 0 auto;
}
.intro-body {
  margin-top: 28px; font-size: 16px; line-height: 1.95;
  color: var(--stone); font-weight: 300;
  max-width: 660px; margin-left: auto; margin-right: auto;
}

/* ── FEATURES 3-col ── */
.features { display: grid; grid-template-columns: repeat(3,1fr); gap: 0 60px; padding: 88px 80px 100px; }
.feature { }
.feature-img { width: 100%; aspect-ratio: 3/4; overflow: hidden; margin-bottom: 24px; }
.feature-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.feature:hover .feature-img img { transform: scale(1.05); }
.feature-label { font-size: 10px; letter-spacing: .38em; text-transform: uppercase; color: var(--forest); margin-bottom: 12px; }
.feature-title { font-family: 'Libre Baskerville', Georgia, serif; font-size: 22px; line-height: 1.2; margin-bottom: 14px; }
.feature-body { font-size: 15px; line-height: 1.85; color: var(--stone); font-weight: 300; }

/* ── STATS BAR ── */
.stats-bar { display: grid; grid-template-columns: repeat(4,1fr); background: var(--forest); }
.stat-item { padding: 52px 36px; border-right: 1px solid rgba(255,255,255,.1); text-align: center; }
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 52px; color: var(--gold); line-height: 1; margin-bottom: 12px;
}
.stat-label { font-size: 10px; letter-spacing: .32em; text-transform: uppercase; color: rgba(237,232,204,.55); }

/* ── SPLIT ── */
.split { display: grid; grid-template-columns: 1fr 1fr; min-height: 560px; }
.split.rev .split-img { order: 2; }
.split.rev .split-text { order: 1; }
.split-img { overflow: hidden; position: relative; }
.split-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.split:hover .split-img img { transform: scale(1.03); }
.split-text {
  display: flex; flex-direction: column; justify-content: center;
  padding: 80px 90px; background: var(--white);
}
.split.cream .split-text { background: var(--cream); }
.split.papier .split-text { background: var(--papier); }
.split.forest .split-text { background: var(--forest); }
.split.forest .split-label { color: var(--gold); }
.split.forest .split-hl { color: #fff; }
.split.forest .split-body { color: rgba(255,255,255,.58); }
.split-label { font-size: 9.5px; letter-spacing: .45em; text-transform: uppercase; color: var(--forest); margin-bottom: 20px; }
.split-hl { font-family: 'Libre Baskerville', Georgia, serif; font-size: clamp(26px, 2.8vw, 44px); line-height: 1.15; }
.split-hl em { font-style: italic; }
.split-body { font-size: 16px; line-height: 1.9; color: var(--stone); font-weight: 300; margin-top: 22px; max-width: 420px; }
.split-link {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 36px;
  font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
  border-bottom: 1px solid rgba(0,0,0,.25); padding-bottom: 4px;
  width: fit-content; transition: color .25s, border-color .25s;
}
.split-link:hover { color: var(--gold); border-color: var(--gold); }
.split.forest .split-link { color: rgba(255,255,255,.7); border-color: rgba(255,255,255,.3); }
.split.forest .split-link:hover { color: var(--gold); border-color: var(--gold); }

/* ── FULL PHOTO ── */
.full-photo { overflow: hidden; height: 64vh; min-height: 380px; }
.full-photo img { width: 100%; height: 120%; object-fit: cover; object-position: center; }

/* ── DIVIDER ── */
.divider-sec { display: flex; align-items: center; gap: 0; padding: 72px 80px 0; }
.divider-line { flex: 1; height: 1px; background: rgba(58,85,24,.15); }
.divider-text { padding: 0 36px; font-size: 10px; letter-spacing: .5em; text-transform: uppercase; color: var(--stone); white-space: nowrap; }

/* ── CTA STRIP ── */
.cta-strip {
  background: var(--forest); padding: 80px;
  display: flex; align-items: center; justify-content: space-between; gap: 60px;
}
.cta-strip-text h3 {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: clamp(24px, 2.8vw, 42px); font-style: italic;
  color: #fff; line-height: 1.3;
}
.cta-strip-text p { font-size: 15px; color: rgba(255,255,255,.5); margin-top: 12px; font-weight: 300; }
.cta-strip-btns { display: flex; flex-direction: column; gap: 12px; align-items: flex-end; flex-shrink: 0; }
.btn-prim {
  display: inline-flex; align-items: center;
  font-family: 'Libre Baskerville', Georgia, serif; font-size: 14px; letter-spacing: .18em; text-transform: uppercase;
  padding: 16px 40px; background: var(--gold); color: #fff;
  border: 1px solid var(--gold); transition: background .25s, border-color .25s;
}
.btn-prim:hover { background: var(--tiefgruen); border-color: var(--tiefgruen); }
.btn-sec {
  font-size: 14px; letter-spacing: .18em; text-transform: uppercase;
  color: rgba(255,255,255,.6); border-bottom: 1px solid rgba(255,255,255,.3);
  padding-bottom: 4px; transition: color .25s;
}
.btn-sec:hover { color: #fff; }

/* ── FOOTER ── */
footer {
  background: var(--forest);
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 140px 80px 40px;
  position: relative;
  overflow: hidden;
}
@media(min-width:1700px){
  footer{padding-bottom:160px}
}
@media(min-width:2100px){
  footer{padding-bottom:280px}
}
footer::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  width: 100%; height: 100%;
  background: url('footer-bg-desktop.webp') no-repeat bottom center;
  background-size: cover;
  opacity: 0.22;
  pointer-events: none;
}
@media (max-width: 768px) {
  footer::before {
    background-image: url('footer-bg-mobile.webp');
    background-position: bottom center;
    background-size: cover;
    opacity: 0.28;
  }
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 60px; }
.footer-grid, .footer-bot { text-shadow: 0 1px 4px rgba(0,0,0,.55), 0 0 18px rgba(0,0,0,.35); }
.footer-brand img { height: 130px; opacity: .9; margin-bottom: 28px; }
.footer-brand p { font-size: 13px; line-height: 1.9; color: rgba(255,255,255,.5); font-weight: 300; max-width: 240px; }
.footer-col-t { font-size: 9.5px; letter-spacing: .4em; text-transform: uppercase; color: var(--gold); margin-bottom: 22px; }
.footer-col a { display: block; font-size: 13px; color: rgba(255,255,255,.5); margin-bottom: 10px; font-weight: 300; transition: color .25s; }
.footer-col a:hover { color: rgba(255,255,255,.82); }
.footer-bot {
  border-top: 1px solid rgba(255,255,255,.06); padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
}
.footer-copy { font-size: 11px; color: rgba(255,255,255,.22); letter-spacing: .06em; }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { font-size: 11px; color: rgba(255,255,255,.22); letter-spacing: .06em; transition: color .25s; }
.footer-legal a:hover { color: rgba(255,255,255,.6); }

/* ── SCROLL ANIMATIONS (GSAP handles these) ── */
[data-anim] { opacity: 0; }
.reveal-img { overflow: hidden; }

/* ── RESPONSIVE ── */
@media(max-width: 1100px) {
  .features { grid-template-columns: 1fr; gap: 48px; padding: 60px 56px 80px; }
  .split { grid-template-columns: 1fr; }
  .split.rev .split-img { order: 1; }
  .split.rev .split-text { order: 2; }
  .split-img { aspect-ratio: 16/9; }
  .split-text { padding: 60px 56px; }
  .stats-bar { grid-template-columns: repeat(2,1fr); }
  .stat-item { border-bottom: 1px solid rgba(255,255,255,.1); }
  .cta-strip { flex-direction: column; align-items: flex-start; }
  .cta-strip-btns { align-items: flex-start; }
  .intro-sec { padding: 80px 56px; }
  .divider-sec { padding: 60px 56px 0; }
}

@media(max-width: 768px) {
  #mainNav { padding: 0 24px; height: 84px; }
  #mainNav.solid { height: 72px; }
  .nav-logo-img { height: 60px; }
  #mainNav.solid .nav-logo-img { height: 52px; }
  .nav-book-btn { font-size: 8.5px; letter-spacing: .08em; padding: 6px 12px; }
  .page-hero-content { padding: 0 28px; }
  .page-hero-hl { font-size: clamp(36px, 10vw, 60px); }
  .page-hero-body { font-size: 15px; }
  .intro-sec { padding: 72px 28px; }
  .intro-hl { font-size: clamp(22px, 6vw, 32px); }
  .features { padding: 60px 28px 72px; gap: 40px; }
  .split-text { padding: 48px 28px; }
  .split-img { aspect-ratio: 4/3; }
  .stats-bar { grid-template-columns: 1fr 1fr; }
  .stat-item { padding: 36px 20px; }
  .stat-num { font-size: 38px; }
  .cta-strip { padding: 60px 28px; }
  .divider-sec { padding: 52px 28px 0; }
  footer { padding: 60px 28px 32px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bot { flex-direction: column; gap: 16px; text-align: center; }
  .menu-close { right: 28px; }
}

/* Footer kompakt + Lokalbesucher-Hinweis (11/2026) */
footer{padding-bottom:28px!important}
.footer-bot{flex-wrap:wrap;row-gap:10px}
.footer-credit{font-size:11px;letter-spacing:.06em;color:rgba(255,255,255,.8)}
.footer-credit a{color:inherit;text-decoration:underline;text-underline-offset:3px}
.footer-credit a:hover{color:#fff}
@media(max-width:768px){footer{padding-bottom:24px!important}.footer-bot{gap:10px}}
