/* ============================================================
   FAMILIENZEIT HAGE – Gemeinsames Stylesheet
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:        #1D4678;
  --navy-mid:    #2A5C96;
  --navy-light:  #4A7FB5;
  --sand:        #C4A882;
  --sand-dark:   #A8906A;
  --sand-light:  #E8DDD0;
  --sand-pale:   #F5F0EA;
  --bg:          #FFFFFF;
  --bg-soft:     #F8F5F1;
  --text:        #1A2D3E;
  --text-mid:    #4A6475;
  --text-light:  #8298AA;
  --border:      #DFD4C8;
  --shadow-sm:   0 2px 12px rgba(29,70,120,0.07);
  --shadow:      0 4px 24px rgba(29,70,120,0.1);
  --shadow-lg:   0 12px 48px rgba(29,70,120,0.15);
  --radius:      12px;
  --radius-lg:   20px;
  --radius-xl:   32px;
  --transition:  0.28s ease;
  --max-w:       1180px;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ===== TYPOGRAFIE ===== */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  line-height: 1.2;
  color: var(--text);
}

/* ===== LAYOUT ===== */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 40px; }
.section    { padding: 96px 40px; }
.section-inner { max-width: var(--max-w); margin: 0 auto; }

/* ===== TEXT-ELEMENTE ===== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sand-dark);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: var(--sand);
  flex-shrink: 0;
}

.section-title {
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  margin-bottom: 14px;
  color: var(--navy);
}
.section-title span { color: var(--sand-dark); }

.section-sub {
  font-size: 1rem;
  color: var(--text-light);
  max-width: 540px;
  line-height: 1.75;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: 52px;
  flex-wrap: wrap;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 50px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: all var(--transition);
  border: none;
  cursor: pointer;
  white-space: nowrap;
}
.btn-lg { padding: 17px 42px; font-size: 1rem; }

.btn-primary {
  background: var(--sand);
  color: var(--navy);
  box-shadow: 0 3px 14px rgba(196,168,130,0.4);
}
.btn-primary:hover {
  background: var(--sand-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(196,168,130,0.5);
}

.btn-navy {
  background: var(--navy);
  color: #fff;
}
.btn-navy:hover {
  background: var(--navy-mid);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--sand);
  color: var(--sand-dark);
  background: var(--sand-pale);
}

.btn-outline-light {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.45);
}
.btn-outline-light:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.75);
}

/* ===== NAVIGATION ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  background: transparent;
  transition: background 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}
.nav.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 24px rgba(29,70,120,0.09);
}

.nav-logo {
  display: flex;
  align-items: center;
}
.nav-logo img {
  height: 64px;
  width: auto;
  object-fit: contain;
  transition: transform var(--transition);
}
.nav-logo:hover img { transform: scale(1.03); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255,255,255,0.92);
  transition: color var(--transition), border-color var(--transition);
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}
.nav.scrolled .nav-links a {
  color: var(--text-mid);
  text-shadow: none;
}
.nav-links a:hover,
.nav-links a.active {
  color: #fff;
  border-bottom-color: var(--sand);
}
.nav.scrolled .nav-links a:hover,
.nav.scrolled .nav-links a.active {
  color: var(--navy);
  border-bottom-color: var(--sand);
}

.nav-book {
  background: rgba(255,255,255,0.15) !important;
  border: 1.5px solid rgba(255,255,255,0.6) !important;
  color: #fff !important;
  padding: 9px 22px;
  border-radius: 50px;
  font-weight: 700 !important;
  font-size: 0.85rem !important;
  text-shadow: none !important;
  transition: all var(--transition) !important;
}
.nav-book:hover {
  background: rgba(255,255,255,0.28) !important;
  transform: translateY(-1px);
}
.nav.scrolled .nav-book {
  background: var(--navy) !important;
  border-color: transparent !important;
  box-shadow: 0 3px 12px rgba(29,70,120,0.25);
}
.nav.scrolled .nav-book:hover {
  background: var(--navy-mid) !important;
  box-shadow: 0 5px 16px rgba(29,70,120,0.35);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: rgba(255,255,255,0.92);
  border-radius: 2px;
  transition: all var(--transition);
}
.nav.scrolled .nav-toggle span { background: var(--navy); }

/* ===== MOBILE NAV ===== */
.nav-mobile {
  display: none;
  position: fixed;
  top: 80px; left: 0; right: 0;
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 20px 40px 28px;
  z-index: 999;
  box-shadow: 0 8px 24px rgba(29,70,120,0.1);
  flex-direction: column;
  gap: 4px;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-mid);
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.nav-mobile a:last-of-type { border-bottom: none; }
.nav-mobile .nav-book-m {
  display: block;
  background: var(--navy);
  color: #fff;
  padding: 14px 20px;
  border-radius: 10px;
  font-weight: 700;
  text-align: center;
  margin-top: 12px;
  border: none;
}

/* ===== PAGE HERO (Unterseiten) ===== */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  padding: 130px 40px 84px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 65% 35%, rgba(196,168,130,0.14) 0%, transparent 60%);
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 60px;
  background: var(--bg);
  clip-path: ellipse(55% 100% at 50% 100%);
}
.page-hero-inner { max-width: var(--max-w); margin: 0 auto; position: relative; z-index: 1; }
.page-hero .eyebrow { color: var(--sand-light); justify-content: center; }
.page-hero .eyebrow::before { background: var(--sand-light); }
.page-hero h1 { color: #fff; font-size: clamp(2.2rem, 4vw, 3.2rem); margin-bottom: 16px; }
.page-hero p { color: rgba(255,255,255,0.72); font-size: 1.05rem; max-width: 560px; margin: 0 auto; }

/* ===== FEATURE STRIP ===== */
.feature-strip {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 28px 40px;
}
.feature-strip-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.83rem;
  font-weight: 500;
  color: var(--text-mid);
}
.feature-icon {
  width: 32px; height: 32px;
  background: var(--sand-pale);
  border: 1px solid var(--sand-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.88rem;
  flex-shrink: 0;
}

/* ===== KARTEN ===== */
.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition);
  text-decoration: none;
  display: block;
}
.card:hover {
  box-shadow: var(--shadow);
  border-color: var(--sand-light);
  transform: translateY(-4px);
}
.card-icon {
  width: 52px; height: 52px;
  background: var(--sand-pale);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 18px;
}
.card h3 { font-size: 1.1rem; margin-bottom: 10px; color: var(--navy); }
.card p { font-size: 0.88rem; color: var(--text-light); line-height: 1.7; }
.card-arrow {
  display: inline-block;
  margin-top: 16px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--sand-dark);
  transition: transform var(--transition);
}
.card:hover .card-arrow { transform: translateX(5px); }

/* ===== FOTO-GALERIE ===== */
.gallery-section { margin-bottom: 64px; }
.gallery-section:last-child { margin-bottom: 0; }
.gallery-section-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: var(--navy);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--sand-light);
  display: flex;
  align-items: center;
  gap: 10px;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.gallery-grid.two-col { grid-template-columns: repeat(2, 1fr); }
.gallery-grid.full { grid-template-columns: 1fr; }
.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--bg-soft);
}
.gallery-item.wide { grid-column: span 2; }
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.03); }

/* ===== PREISE ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.price-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  text-align: center;
  transition: all var(--transition);
  position: relative;
}
.price-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.price-card.featured {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}
.price-card.featured h3 { color: #fff; }
.price-card.featured .price-sub { color: rgba(255,255,255,0.65); }
.price-badge {
  position: absolute;
  top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--sand);
  color: var(--navy);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 50px;
  white-space: nowrap;
}
.price-season {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sand-dark);
  margin-bottom: 10px;
}
.price-card.featured .price-season { color: var(--sand-light); }
.price-card h3 { font-size: 1.2rem; margin-bottom: 18px; color: var(--navy); }
.price-amount {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}
.price-card.featured .price-amount { color: #fff; }
.price-unit { font-size: 0.82rem; color: var(--text-light); margin-bottom: 4px; }
.price-card.featured .price-unit { color: rgba(255,255,255,0.5); }
.price-sub { font-size: 0.78rem; color: var(--text-light); margin-bottom: 24px; }
.price-features {
  list-style: none;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 28px;
  border-top: 1px solid var(--border);
  padding-top: 20px;
}
.price-card.featured .price-features { border-top-color: rgba(255,255,255,0.12); }
.price-features li {
  font-size: 0.85rem;
  color: var(--text-mid);
  display: flex;
  align-items: center;
  gap: 8px;
}
.price-card.featured .price-features li { color: rgba(255,255,255,0.78); }
.price-features li::before { content: '✓'; color: var(--sand-dark); font-weight: 700; flex-shrink: 0; }
.price-card.featured .price-features li::before { color: var(--sand-light); }

/* ===== CTA BANNER ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  padding: 80px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(196,168,130,0.12) 0%, transparent 65%);
}
.cta-banner-inner { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; }
.cta-banner h2 { color: #fff; font-size: clamp(1.9rem, 3vw, 2.5rem); margin-bottom: 14px; }
.cta-banner p { color: rgba(255,255,255,0.7); margin-bottom: 36px; font-size: 1rem; line-height: 1.7; }
.cta-banner .eyebrow { color: var(--sand-light); justify-content: center; }
.cta-banner .eyebrow::before { background: var(--sand-light); }

/* ===== ANFAHRT KARTE ===== */
.map-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.map-wrapper iframe {
  display: block;
  width: 100%;
  height: 420px;
  border: none;
}

/* ===== DISTANZ-LISTE ===== */
.distance-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 32px;
}
.distance-item {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.distance-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
}
.distance-name { font-size: 0.9rem; font-weight: 600; color: var(--navy); }
.distance-km  { font-size: 0.8rem; color: var(--text-light); margin-top: 2px; }

/* ===== FOOTER ===== */
footer {
  background: var(--navy);
  padding: 64px 40px 32px;
}
.footer-inner { max-width: var(--max-w); margin: 0 auto; }
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 52px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  margin-bottom: 28px;
}
.footer-logo img {
  height: 72px;
  width: auto;
  object-fit: contain;
  margin-bottom: 14px;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.18);
}
.footer-tagline {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.7;
  max-width: 260px;
}
.footer-col-title {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.32);
  margin-bottom: 18px;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  font-size: 0.86rem;
  color: rgba(255,255,255,0.55);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--sand-light); }
.footer-links .highlight-link { color: var(--sand); font-weight: 600; }
.footer-links .highlight-link:hover { color: var(--sand-light); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-copy { font-size: 0.78rem; color: rgba(255,255,255,0.28); }
.footer-legal { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-legal a {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
  transition: color var(--transition);
}
.footer-legal a:hover { color: rgba(255,255,255,0.6); }

/* ===== EINDRÜCKE-GALERIE (Sammelfotos) ===== */
.eindruecke-sub {
  font-size: 0.92rem;
  color: var(--text-light);
  margin: -8px 0 22px;
}
.eindruecke-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.eindruecke-item {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--bg-soft);
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
}
.eindruecke-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.eindruecke-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.eindruecke-item:hover img { transform: scale(1.05); }

@media (max-width: 1024px) {
  .eindruecke-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .eindruecke-grid { grid-template-columns: repeat(2, 1fr); gap: 6px; }
}

/* ===== LIGHTBOX ===== */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10,20,35,0.94);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 40px;
}
.lightbox.open { display: flex; }
.lightbox-img {
  max-width: 92vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 12px 48px rgba(0,0,0,0.5);
}
.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--sand-light);
  border-radius: 50%;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}
.lightbox-close {
  top: 24px; right: 24px;
  width: 44px; height: 44px;
  font-size: 1.6rem;
  line-height: 1;
}
.lightbox-prev,
.lightbox-next {
  top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px;
  font-size: 2rem;
  line-height: 1;
  padding-bottom: 4px;
}
.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255,255,255,0.18);
  color: #fff;
  border-color: rgba(255,255,255,0.45);
}

@media (max-width: 540px) {
  .lightbox { padding: 16px; }
  .lightbox-close { top: 16px; right: 16px; width: 38px; height: 38px; font-size: 1.3rem; }
  .lightbox-prev { left: 12px; }
  .lightbox-next { right: 12px; }
  .lightbox-prev,
  .lightbox-next { width: 42px; height: 42px; font-size: 1.6rem; }
}

/* ===== NATUR-SEKTION (Lage) ===== */
.natur-section { background: var(--bg); border-top: 1px solid var(--border); padding: 80px 40px; }
.natur-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.natur-inner .eyebrow { justify-content: center; }
.natur-inner .eyebrow::before { display: none; }
.natur-text {
  font-size: 1.05rem;
  color: var(--text-mid);
  line-height: 1.85;
  margin-top: 8px;
}

/* ===== EINKAUFEN-SEKTION (Lage) ===== */
.einkaufen-grid { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 768px) {
  .einkaufen-grid { grid-template-columns: 1fr; }
}

/* ===== FADE-IN ANIMATION ===== */
.fade-in {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .container, .section { padding-left: 28px; padding-right: 28px; }
  .nav { padding: 0 28px; height: 72px; }
  .feature-strip { padding: 24px 28px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item.wide { grid-column: span 1; }
  .cta-banner { padding: 64px 28px; }
}

@media (max-width: 768px) {
  .section { padding: 68px 24px; }
  .container { padding: 0 24px; }
  .nav { padding: 0 20px; height: 68px; }
  .nav-logo img { height: 52px; }
  .nav-mobile { top: 68px; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-mobile { padding: 20px 24px 28px; }
  .feature-strip { padding: 22px 24px; }
  .feature-strip-inner { gap: 20px; justify-content: flex-start; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .distance-grid { grid-template-columns: 1fr; }
  .page-hero { padding: 120px 24px 68px; }
  .cta-banner { padding: 60px 24px; }
  .map-wrapper iframe { height: 300px; }
}

@media (max-width: 540px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .section-head { flex-direction: column; align-items: flex-start; }
}
