/* ═══════════════════════════════════════════════════
   Apartments Stegersbach – Gemeinsames Stylesheet
   Gültig für: index.html, zimmer.html, ueber-uns.html
   ═══════════════════════════════════════════════════ */

/* ── CSS VARIABLEN ── */
:root {
  --burgundy: #6B1F2A;
  --burgundy-light: #8a2535;
  --gold: #C9A84C;
  --gold-light: #e2c47a;
  --cream: #F7F3EE;
  --cream-dark: #EDE7DC;
  --charcoal: #1C1C1C;
  --muted: #7A6F65;
  --white: #FFFFFF;
}

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--charcoal);
  overflow-x: hidden;
}

/* ── TYPOGRAFIE ── */
h1, h2, h3 { font-family: 'Cormorant Garamond', serif; font-weight: 300; line-height: 1.15; }
h1 { font-size: clamp(2.8rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.4rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 2rem); }

/* ── SECTION TAG ── */
.section-tag {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.8rem;
}

section { position: relative; }

/* ══════════════════════════════
   NAVBAR (Header)
   ══════════════════════════════ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 999 !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 4rem;
  background: rgba(247, 243, 238, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(201, 168, 76, 0.2);
  transition: box-shadow 0.3s;
  height: 74px; /* ← feste Höhe */
}

.room-nav {
  z-index: 90;
  top: 74px; /* ← exakt gleich wie nav height */
}

nav.scrolled { box-shadow: 0 2px 30px rgba(0,0,0,0.08); }

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--burgundy);
}
.logo-icon {
  width: 50px; height: 50px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
}
.logo-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.nav-links { display: flex; gap: 2.5rem; list-style: none; }
.nav-links a {
  text-decoration: none;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--charcoal);
  opacity: 0.75;
  transition: opacity 0.2s, color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute; bottom: -3px; left: 0; right: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.nav-links a:hover,
.nav-links a.active { opacity: 1; color: var(--burgundy); }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }

.nav-cta {
  background: var(--burgundy) !important;
  color: var(--white) !important;
  opacity: 1 !important;
  padding: 0.55rem 1.4rem;
  border-radius: 2px;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--burgundy-light) !important; }

/* ══════════════════════════════
   BUTTONS
   ══════════════════════════════ */
.btn-primary {
  display: inline-block;
  padding: 0.9rem 2.2rem;
  background: var(--burgundy);
  color: var(--white);
  text-decoration: none;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: background 0.25s, transform 0.2s;
  cursor: pointer;
  border: none;
  font-family: 'DM Sans', sans-serif;
}
.btn-primary:hover { background: var(--burgundy-light); transform: translateY(-2px); }

.btn-outline {
  display: inline-block;
  padding: 0.9rem 2.2rem;
  border: 1.5px solid var(--gold);
  color: var(--gold);
  text-decoration: none;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: background 0.25s, color 0.25s, transform 0.2s;
  cursor: pointer;
  background: transparent;
  font-family: 'DM Sans', sans-serif;
}
.btn-outline:hover { background: var(--gold); color: var(--white); transform: translateY(-2px); }

/* ══════════════════════════════
   FOOTER
   ══════════════════════════════ */
footer {
  background: var(--charcoal);
  padding: 4rem 6rem 2.5rem;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 4rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 2rem;
}
.footer-brand .logo { color: var(--gold-light); margin-bottom: 1rem; }
.footer-brand p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.75;
  max-width: 280px;
  margin-top: 1rem;
}
.footer-col h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 1.2rem;
}
.footer-col a,
.footer-col p {
  display: block;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  margin-bottom: 0.5rem;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--gold-light); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-bottom p { font-size: 0.75rem; color: rgba(255,255,255,0.25); }
.social-links { display: flex; gap: 0.8rem; }
.social-link {
  width: 34px; height: 34px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  font-size: 0.8rem;
  transition: border-color 0.2s, color 0.2s;
}
.social-link:hover { border-color: var(--gold); color: var(--gold); }

/* ══════════════════════════════
   SCROLL REVEAL ANIMATIONEN
   ══════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }

.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }

.reveal-delay-1,
.d1 { transition-delay: 0.1s; }
.reveal-delay-2,
.d2 { transition-delay: 0.2s; }
.reveal-delay-3,
.d3 { transition-delay: 0.3s; }
.reveal-delay-4,
.d4 { transition-delay: 0.4s; }

/* ── KEYFRAME ANIMATIONEN ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ══════════════════════════════
   RESPONSIVE / MOBILE (gemeinsam)
   ══════════════════════════════ */
@media (max-width: 900px) {
  nav { padding: 1rem 1.5rem; }
  .nav-links { display: none; }
  footer { padding: 3rem 2rem 2rem; }
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
}

/* ══ BURGER MENÜ ══ */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0.5rem;
  background: none;
  border: none;
  z-index: 200;
}
.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--burgundy);
  transition: transform 0.3s, opacity 0.3s;
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .burger { display: flex; }

  /* Fullscreen Overlay */
  .nav-links {
    display: none !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: var(--cream) !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 2rem !important;
    z-index: 150 !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
  }
  .nav-links.open { display: flex !important; }
  .nav-links a {
    font-size: 1.2rem;
    letter-spacing: 0.15em;
    color: var(--burgundy);
  }
  .nav-links .nav-cta {
    padding: 0.8rem 2rem;
    font-size: 1rem;
    background: var(--burgundy) !important;
    color: var(--white) !important;
  }

  /* STEGERSBACH Schriftzug ausblenden */
  .hero-left::before {
    display: none !important;
  }
}

/* Karten-Container füllt die gesamte Grid-Zelle */
.location-map {
  display: flex;
  flex-direction: column;
}

.location-map .map-container {
  flex: 1;
  min-height: 0;
  height: auto !important; /* überschreibt das inline height:300px */
}