/* ============================================================
   Ferienhaus Highlight am Rhein – globales Stylesheet
   Helles Design mit grasgrünen Akzenten und Glasoptik
============================================================ */

:root {
  --bg-base: #f4f1ea;         /* warmer Sand-Ton */
  --bg-soft: #ebe6db;          /* etwas dunkler */
  --bg-card: #ffffff;
  --accent: #4a9d3c;           /* Grasgrün */
  --accent-dark: #3a7d2f;      /* dunkleres Grün für Hover */
  --accent-soft: #e8f3e5;      /* sehr helles Grün für Hintergründe */
  --text-dark: #2a3a2e;        /* fast schwarz, leicht grünlich */
  --text-body: #4a5a4f;
  --text-mute: #7a8a7f;
  --glass-bg: rgba(255, 255, 255, 0.55);
  --glass-bg-strong: rgba(255, 255, 255, 0.75);
  --glass-border: rgba(255, 255, 255, 0.6);
  --glass-border-strong: rgba(74, 157, 60, 0.2);
  --shadow-soft: 0 8px 32px rgba(74, 157, 60, 0.08);
  --shadow-deep: 0 20px 60px rgba(74, 157, 60, 0.12);
  --display: 'Cormorant Garamond', 'Times New Roman', serif;
  --body: 'Inter', system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--body);
  background: var(--bg-base);
  color: var(--text-body);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Helle Aurora im Hintergrund */
.aurora {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse at 20% 10%, rgba(74, 157, 60, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 60%, rgba(140, 200, 130, 0.15) 0%, transparent 55%),
    radial-gradient(ellipse at 50% 90%, rgba(200, 230, 195, 0.18) 0%, transparent 50%),
    linear-gradient(180deg, var(--bg-base) 0%, #f0ede4 50%, var(--bg-base) 100%);
}

.aurora::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(74, 157, 60, 0.06) 1px, transparent 0);
  background-size: 40px 40px;
  opacity: 0.6;
}

.noise {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ============ NAVIGATION ============ */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 28px;
  background: rgba(244, 241, 234, 0.72);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(74, 157, 60, 0.12);
  transition: all 0.3s ease;
}

.nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  font-family: var(--display);
  font-size: 26px;
  font-weight: 500;
  letter-spacing: 0.3px;
  color: var(--text-dark);
  text-decoration: none;
  transition: color 0.25s;
}

.logo:hover {
  color: var(--accent);
}

.nav-links {
  display: flex;
  gap: 8px;
  list-style: none;
}

.nav-links a {
  color: var(--text-body);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 20px;
  transition: all 0.25s ease;
  letter-spacing: 0.3px;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent-dark);
  background: var(--accent-soft);
}

/* Wetter-Widget */
.weather-widget {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(74, 157, 60, 0.18);
  border-radius: 30px;
  font-size: 13px;
  font-weight: 500;
  min-width: 140px;
  cursor: default;
  transition: all 0.25s;
  color: var(--text-dark);
}

.weather-widget:hover {
  background: var(--glass-bg-strong);
  border-color: rgba(74, 157, 60, 0.35);
}

.weather-icon {
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 0 8px rgba(255, 200, 80, 0.35));
}

.weather-temp {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
}

.weather-loc {
  font-size: 11px;
  color: var(--text-mute);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.weather-cond {
  font-size: 11px;
  color: var(--text-mute);
}

.mobile-toggle {
  display: none;
  background: var(--glass-bg);
  border: 1px solid rgba(74, 157, 60, 0.2);
  color: var(--text-dark);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
}

/* ============ SECTIONS ============ */
section {
  padding: 100px 28px;
  position: relative;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-header h2 {
  font-family: var(--display);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.5px;
  color: var(--text-dark);
}

.section-header h2 em {
  font-style: italic;
  color: var(--accent);
}

.section-header p {
  max-width: 600px;
  margin: 20px auto 0;
  color: var(--text-body);
  font-size: 17px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  font-family: var(--body);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  letter-spacing: 0.5px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  box-shadow: 0 8px 24px rgba(74, 157, 60, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(74, 157, 60, 0.45);
}

.btn-glass {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(74, 157, 60, 0.2);
  color: var(--text-dark);
}

.btn-glass:hover {
  background: var(--glass-bg-strong);
  border-color: var(--accent);
  color: var(--accent-dark);
}

/* ============ FOOTER ============ */
footer {
  padding: 60px 28px 30px;
  border-top: 1px solid rgba(74, 157, 60, 0.12);
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand p {
  color: var(--text-body);
  font-size: 14px;
  margin-top: 16px;
  max-width: 320px;
  line-height: 1.7;
}

.footer-col h4 {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 16px;
  color: var(--text-dark);
}

.footer-col a,
.footer-col p {
  display: block;
  color: var(--text-body);
  text-decoration: none;
  font-size: 13px;
  margin-bottom: 8px;
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--accent); }

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 30px;
  border-top: 1px solid rgba(74, 157, 60, 0.12);
  text-align: center;
  font-size: 12px;
  color: var(--text-mute);
}

/* ============ GALERIE-SLIDER ============ */
.gallery-section {
  background: linear-gradient(180deg, transparent, rgba(74, 157, 60, 0.04), transparent);
}

.gallery {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
}

.gallery-stage {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 24px;
  overflow: hidden;
  background: var(--glass-bg-strong);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-deep);
}

.gallery-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}

.gallery-slide.active {
  opacity: 1;
  pointer-events: auto;
}

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

.gallery-caption {
  position: absolute;
  left: 24px;
  bottom: 24px;
  padding: 10px 18px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 30px;
  font-family: var(--display);
  font-size: 18px;
  font-weight: 500;
  color: var(--text-dark);
}

.gallery-counter {
  position: absolute;
  right: 24px;
  top: 24px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-dark);
  letter-spacing: 1px;
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  color: var(--text-dark);
  cursor: pointer;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s;
  z-index: 5;
}

.gallery-arrow:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  transform: translateY(-50%) scale(1.05);
}

.gallery-arrow.prev { left: 20px; }
.gallery-arrow.next { right: 20px; }

.gallery-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  overflow-x: auto;
  padding: 6px 4px;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) transparent;
}

.gallery-thumbs::-webkit-scrollbar { height: 6px; }
.gallery-thumbs::-webkit-scrollbar-track { background: transparent; }
.gallery-thumbs::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 3px; }

.gallery-thumb {
  flex: 0 0 110px;
  height: 70px;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s;
  opacity: 0.6;
  background: none;
  padding: 0;
}

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

.gallery-thumb:hover { opacity: 0.9; }

.gallery-thumb.active {
  opacity: 1;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(74, 157, 60, 0.2);
}

@media (max-width: 700px) {
  .gallery-arrow { width: 42px; height: 42px; font-size: 18px; }
  .gallery-arrow.prev { left: 10px; }
  .gallery-arrow.next { right: 10px; }
  .gallery-caption { left: 12px; bottom: 12px; font-size: 14px; padding: 6px 14px; }
  .gallery-counter { right: 12px; top: 12px; }
  .gallery-thumb { flex-basis: 80px; height: 56px; }
}
.page-wrap {
  padding: 140px 28px 80px;
  min-height: 100vh;
}

.page-card {
  max-width: 880px;
  margin: 0 auto;
  background: var(--glass-bg-strong);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 28px;
  padding: 60px;
  box-shadow: var(--shadow-soft);
}

.page-card .eyebrow {
  display: inline-block;
  padding: 6px 16px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(74, 157, 60, 0.25);
  border-radius: 20px;
  margin-bottom: 24px;
}

.page-card h1 {
  font-family: var(--display);
  font-size: clamp(38px, 5vw, 56px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.5px;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.page-card h1 em {
  font-style: italic;
  color: var(--accent);
}

.page-card .lead {
  font-size: 17px;
  color: var(--text-body);
  margin-bottom: 40px;
}

.page-card h2 {
  font-family: var(--display);
  font-size: 26px;
  font-weight: 500;
  color: var(--text-dark);
  margin-top: 36px;
  margin-bottom: 12px;
}

.page-card h3 {
  font-family: var(--body);
  font-size: 15px;
  font-weight: 600;
  color: var(--accent-dark);
  margin-top: 24px;
  margin-bottom: 8px;
  letter-spacing: 0.3px;
}

.page-card p {
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--text-body);
  margin-bottom: 14px;
}

.page-card ul, .page-card ol {
  margin: 0 0 16px 22px;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--text-body);
}

.page-card li {
  margin-bottom: 6px;
}

.page-card a {
  color: var(--accent-dark);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.page-card a:hover {
  color: var(--accent);
}

.page-card .info-block {
  background: var(--accent-soft);
  border-left: 3px solid var(--accent);
  padding: 16px 20px;
  border-radius: 0 12px 12px 0;
  margin: 16px 0 24px;
}

.page-card .info-block p {
  margin-bottom: 4px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 40px;
  padding: 10px 18px;
  background: var(--glass-bg);
  border: 1px solid rgba(74, 157, 60, 0.2);
  border-radius: 20px;
  color: var(--text-dark);
  text-decoration: none !important;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.25s;
}

.back-link:hover {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--accent-dark) !important;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr; gap: 30px; }
  .nav-links { display: none; }
  .mobile-toggle { display: flex; align-items: center; justify-content: center; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 20px;
    right: 20px;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 16px;
    border-radius: 16px;
    border: 1px solid rgba(74, 157, 60, 0.2);
    margin-top: 8px;
  }
  .weather-widget { min-width: auto; padding: 6px 12px; }
  .weather-loc { display: none; }
  section { padding: 70px 20px; }
  .page-wrap { padding: 110px 16px 60px; }
  .page-card { padding: 32px 24px; border-radius: 20px; }
}

@media (max-width: 480px) {
  .weather-cond { display: none; }
}
