/* ── FONTS (self-hosted, DSGVO) ───────────────────────────── */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-500.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-400-italic.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Mulish';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/mulish-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Mulish';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/mulish-600.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Mulish';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/mulish-700.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

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

:root {
  --forest: #2C4A3E;
  --forest-deep: #1a332a;
  --sage: #7A9E8E;
  --sage-light: #A8C5B6;
  --sand: #E8DFD0;
  --sand-light: #F5F0E8;
  --cream: #FDFBF7;
  --warm: #C4956A;
  --warm-dark: #A67B52;
  --text: #3A3A3A;
  --text-light: #6B6B6B;
  --white: #ffffff;
  --heading: 'Cormorant Garamond', Georgia, serif;
  --body: 'Mulish', 'Segoe UI', sans-serif;

  /* Refined-theme tokens (the single theme — no other themes exist) */
  --bg: #FBF7F0;
  --bg-alt: #F2EBDD;
  --ink: #232323;
  --rule: rgba(0,0,0,0.08);
  --radius-card: 14px;
  --shadow-card: 0 14px 40px rgba(26,51,42,0.08);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--body);
  color: var(--text);
  background: var(--cream);
  line-height: 1.7;
  font-weight: 400;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }

/* ── NAV ─────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.2rem 3rem;
  transition: all 0.5s ease;
}
.nav.scrolled {
  background: rgba(253,251,247,0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 20px rgba(0,0,0,0.06);
  padding: 0.8rem 3rem;
}
.nav-logo {
  font-family: var(--heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.02em;
  transition: color 0.4s;
  white-space: nowrap;
}
.nav.scrolled .nav-logo { color: var(--forest); }

.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  transition: color 0.3s;
  position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 1.5px; background: var(--warm);
  transition: width 0.3s ease;
}
.nav-links a:hover::after { width: 100%; }
.nav.scrolled .nav-links a { color: var(--text); }
.nav.scrolled .nav-links a:hover { color: var(--forest); }

.nav-cta {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; padding: 0.6rem 1.6rem;
  border: 1.5px solid rgba(255,255,255,0.7);
  color: var(--white); border-radius: 2px;
  transition: all 0.3s;
}
.nav-cta:hover { background: var(--white); color: var(--forest); }
.nav.scrolled .nav-cta {
  border-color: var(--forest); color: var(--forest);
}
.nav.scrolled .nav-cta:hover {
  background: var(--forest); color: var(--white);
}

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; background: none; border: none; padding: 4px;
  position: relative; z-index: 1001; /* sit above the mobile-menu overlay */
}
.hamburger span {
  width: 24px; height: 2px; background: var(--white);
  transition: transform 0.3s ease, opacity 0.2s ease, background 0.3s;
  transform-origin: center;
}
.nav.scrolled .hamburger span { background: var(--forest); }
/* Hamburger ↔ X transform while the mobile menu is open */
.hamburger.is-active span { background: var(--white); }
.hamburger.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-active span:nth-child(2) { opacity: 0; }
.hamburger.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── HERO ────────────────────────────────────── */
.hero {
  position: relative; height: 100vh; min-height: 600px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: url('../img/hero.jpg') center/cover no-repeat;
}
@supports (background-image: url('data:image/webp;base64,UklGRiIAAABXRUJQVlA4IBYAAAAwAQCdASoBAAEADsD+JaQAA3AAAAAA')) {
  .hero-bg { background-image: url('../img/hero.webp'); }
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    160deg,
    rgba(26,51,42,0.7) 0%,
    rgba(44,74,62,0.5) 40%,
    rgba(0,0,0,0.35) 100%
  );
}
.hero-content {
  position: relative; z-index: 2; text-align: center;
  padding: 0 2rem; max-width: 800px;
}
.hero-badge {
  display: inline-block;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.25em;
  text-transform: uppercase; color: var(--sand);
  border: 1px solid rgba(232,223,208,0.4);
  padding: 0.5rem 1.5rem; margin-bottom: 2rem;
}
.hero-title {
  font-family: var(--heading);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 400; color: var(--white);
  line-height: 1.15; margin-bottom: 1.2rem;
}
.hero-title em {
  font-style: italic; font-weight: 500;
  color: var(--sage-light);
}
.hero-sub {
  font-size: 1.05rem; color: rgba(255,255,255,0.8);
  font-weight: 300; max-width: 520px; margin: 0 auto 2.5rem;
  line-height: 1.8;
}
.hero-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn {
  font-family: var(--body);
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; padding: 1rem 2.4rem;
  border: none; cursor: pointer; border-radius: 2px;
  transition: all 0.35s ease;
  white-space: nowrap;
  display: inline-block;
}
.btn-primary {
  background: var(--warm); color: var(--white);
}
.btn-primary:hover { background: var(--warm-dark); transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.6);
  color: var(--white);
}
.btn-outline:hover { background: rgba(255,255,255,0.1); }

.hero-scroll {
  position: absolute; bottom: 2.5rem; left: 50%;
  transform: translateX(-50%); z-index: 2;
  display: flex; flex-direction: column; align-items: center;
  color: rgba(255,255,255,0.6); font-size: 0.7rem;
  letter-spacing: 0.15em; text-transform: uppercase;
}
.hero-scroll-line {
  width: 1px; height: 40px; background: rgba(255,255,255,0.3);
  margin-top: 0.5rem; position: relative; overflow: hidden;
}
.hero-scroll-line::after {
  content: ''; position: absolute; top: -100%;
  width: 100%; height: 100%; background: var(--warm);
  animation: scrollDown 2s ease-in-out infinite;
}
@keyframes scrollDown {
  0% { top: -100%; }
  50% { top: 100%; }
  100% { top: 100%; }
}

/* ── SECTIONS ────────────────────────────────── */
.section {
  padding: 6rem 3rem;
}
.section-label {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.25em;
  text-transform: uppercase; color: var(--warm);
  margin-bottom: 1rem;
}
.section-title {
  font-family: var(--heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400; color: var(--forest-deep);
  line-height: 1.2; margin-bottom: 1rem;
}
.section-text {
  font-size: 1rem; color: var(--text-light);
  max-width: 600px; line-height: 1.85;
}

/* ── INTRO / ABOUT ───────────────────────────── */
.intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: 1200px; margin: 0 auto;
  align-items: center;
}
.intro-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  position: relative;
}
.intro-images picture {
  display: block;
  width: 100%;           /* explicit — fill the grid cell */
  min-width: 0;          /* allow grid items to shrink below intrinsic image width */
  max-width: 100%;
  overflow: hidden;
  border-radius: 4px;
}
.intro-images img {
  width: 100%;           /* explicit — fill the picture */
  height: 100%;
  max-width: 100%;
  min-width: 0;          /* belt-and-suspenders against UA min-content constraints */
  object-fit: cover;
  display: block;
}
.intro-images .img-tall {
  grid-row: span 2;
  height: 420px;
}
.intro-images .img-short {
  height: 202px;
}
.intro-stats {
  display: flex; gap: 2.5rem; margin-top: 2.5rem;
  padding-top: 2rem; border-top: 1px solid rgba(0,0,0,0.08);
}
.stat { text-align: center; }
.stat-num {
  font-family: var(--heading);
  font-size: 2.2rem; font-weight: 600;
  color: var(--forest);
}
.stat-label {
  font-size: 0.75rem; color: var(--text-light);
  text-transform: uppercase; letter-spacing: 0.1em;
  margin-top: 0.2rem;
}

/* ── FEATURES ────────────────────────────────── */
.features-section { background: var(--forest-deep); color: var(--white); }
.features-section .section-label { color: var(--sage-light); }
.features-section .section-title { color: var(--white); }
.features-section .section-text { color: rgba(255,255,255,0.65); }
.features-header {
  text-align: center; max-width: 600px; margin: 0 auto 4rem;
}
.features-header .section-text { margin: 0 auto; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1100px; margin: 0 auto;
}
.feature-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px; padding: 2.5rem 2rem;
  transition: all 0.4s ease;
}
.feature-card:hover {
  background: rgba(255,255,255,0.09);
  transform: translateY(-4px);
}
.feature-icon {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(196,149,106,0.15);
  border-radius: 50%; margin-bottom: 1.5rem;
  font-size: 1.3rem;
}
.feature-card h3 {
  font-family: var(--heading);
  font-size: 1.35rem; font-weight: 500;
  margin-bottom: 0.8rem;
}
.feature-card p {
  font-size: 0.9rem; color: rgba(255,255,255,0.6);
  line-height: 1.7;
}

/* ── GALLERY ─────────────────────────────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 280px;
  gap: 0.5rem;
  max-width: 1400px; margin: 0 auto;
}
.gallery-grid .g-item {
  overflow: hidden; border-radius: 4px;
  position: relative; cursor: pointer;
}
.gallery-grid .g-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s ease;
}
.gallery-grid .g-item:hover img { transform: scale(1.06); }
.gallery-grid .g-item:nth-child(1) { grid-column: span 2; }
.gallery-grid .g-item:nth-child(5) { grid-column: span 2; }
.gallery-header {
  text-align: center; max-width: 600px; margin: 0 auto 3rem;
}
.gallery-header .section-text { margin: 0 auto; }

/* ── UMGEBUNG / LOCATION ─────────────────────── */
.location-section { background: var(--sand-light); }
.location-wrap {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center;
}
.location-wrap img {
  border-radius: 6px; width: 100%;
  height: 420px; object-fit: cover;
}
.activity-tags {
  display: flex; flex-wrap: wrap; gap: 0.6rem;
  margin-top: 1.5rem;
}
.activity-tag {
  font-size: 0.78rem; font-weight: 600;
  padding: 0.5rem 1.2rem;
  background: var(--cream);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 100px; color: var(--forest);
  transition: all 0.3s;
}
.activity-tag:hover {
  background: var(--forest); color: var(--white);
}

/* ── TESTIMONIALS ────────────────────────────── */
.testimonials-section { background: var(--cream); }
.testimonials-header {
  text-align: center; max-width: 600px;
  margin: 0 auto 3rem;
}
.testimonials-header .section-text { margin: 0 auto; }
.testimonials-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 2rem; max-width: 1000px; margin: 0 auto;
}
.testimonial-card {
  background: var(--white);
  border-radius: 8px; padding: 2.5rem;
  box-shadow: 0 4px 30px rgba(0,0,0,0.04);
  border: 1px solid rgba(0,0,0,0.04);
}
.testimonial-stars {
  color: var(--warm); font-size: 1rem;
  letter-spacing: 0.15em; margin-bottom: 1.2rem;
}
.testimonial-card blockquote {
  font-family: var(--heading);
  font-size: 1.15rem; font-style: italic;
  line-height: 1.7; color: var(--text);
  margin-bottom: 1.5rem;
}
.testimonial-author {
  font-size: 0.82rem; font-weight: 700;
  color: var(--forest); text-transform: uppercase;
  letter-spacing: 0.08em;
}
.testimonial-date {
  font-size: 0.75rem; color: var(--text-light);
  margin-top: 0.2rem;
}
.rating-badge {
  text-align: center; margin-top: 2.5rem;
}
.rating-badge-num {
  font-family: var(--heading);
  font-size: 3.5rem; font-weight: 600;
  color: var(--forest);
}
.rating-badge-sub {
  font-size: 0.82rem; color: var(--text-light);
  letter-spacing: 0.05em;
}

/* ── PREISE / PRICING ────────────────────────── */
.pricing-section { background: var(--sand-light); }
.pricing-wrap {
  max-width: 800px; margin: 0 auto;
  text-align: center;
}
.pricing-wrap .section-text { margin: 0 auto 2.5rem; }
.pricing-card {
  background: var(--white);
  border-radius: 10px;
  padding: 3rem;
  box-shadow: 0 8px 40px rgba(0,0,0,0.05);
  border: 1px solid rgba(0,0,0,0.04);
}
.pricing-details {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1.5rem 3rem;
  text-align: left; margin-top: 2rem;
}
.pricing-detail h4 {
  font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--warm); margin-bottom: 0.3rem;
}
.pricing-detail p {
  font-size: 0.92rem; color: var(--text-light);
}
.pricing-divider {
  height: 1px; background: rgba(0,0,0,0.06);
  margin: 2rem 0;
}
.pricing-payments {
  display: flex; gap: 2rem; justify-content: center;
  font-size: 0.85rem; color: var(--text-light);
}

/* ── KONTAKT ─────────────────────────────────── */
.contact-section { background: var(--forest-deep); color: var(--white); }
.contact-wrap {
  max-width: 900px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: start;
}
.contact-section .section-label { color: var(--sage-light); }
.contact-section .section-title { color: var(--white); }
.contact-section .section-text { color: rgba(255,255,255,0.65); }
.contact-info { margin-top: 2rem; }
.contact-info-item {
  display: flex; align-items: flex-start; gap: 1rem;
  margin-bottom: 1.5rem;
}
.contact-info-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
}
.contact-info-item h4 {
  font-size: 0.75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--sage-light); margin-bottom: 0.2rem;
}
.contact-info-item p {
  font-size: 0.95rem; color: rgba(255,255,255,0.75);
}
.contact-form {
  display: flex; flex-direction: column; gap: 1rem;
}
.contact-form input,
.contact-form textarea {
  font-family: var(--body);
  font-size: 0.9rem;
  padding: 1rem 1.2rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 4px;
  color: var(--white);
  outline: none;
  transition: border-color 0.3s;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255,255,255,0.35);
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--sage);
}
.contact-form textarea { resize: vertical; min-height: 120px; }
.btn-warm {
  background: var(--warm); color: var(--white);
  font-family: var(--body);
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; padding: 1rem 2.4rem;
  border: none; cursor: pointer; border-radius: 2px;
  transition: all 0.3s;
  white-space: nowrap;
  display: inline-block;
}
.btn-warm:hover { background: var(--warm-dark); }

/* ── FOOTER ──────────────────────────────────── */
.footer {
  background: #151515; color: rgba(255,255,255,0.4);
  padding: 3rem;
  display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 1rem;
  font-size: 0.82rem;
}
.footer-logo {
  font-family: var(--heading);
  font-size: 1.3rem; font-weight: 600;
  color: rgba(255,255,255,0.7);
}
.footer-links { display: flex; gap: 2rem; list-style: none; flex-wrap: wrap; justify-content: center; }
.footer-links a {
  color: rgba(255,255,255,0.4);
  transition: color 0.3s;
  font-size: 0.8rem;
}
.footer-links a:hover { color: var(--warm); }

/* ── ANIMATIONS ──────────────────────────────── */
.fade-up {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-up.visible {
  opacity: 1; transform: translateY(0);
}

/* ── MOBILE MENU ─────────────────────────────── */
.mobile-menu {
  display: none; position: fixed; inset: 0; z-index: 999;
  background: var(--forest-deep);
  flex-direction: column; align-items: center; justify-content: center;
  gap: 2rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: var(--heading);
  font-size: 2rem; color: var(--white);
  transition: color 0.3s;
}
.mobile-menu a:hover { color: var(--sage-light); }
.mobile-close {
  /* No longer needed — the hamburger toggles itself into an X.
     Hidden visually and from the a11y tree to avoid a duplicate control. */
  display: none;
}

/* ── SITE-WIDE STYLE TWEAKS (formerly the "refined" theme) ─────
   These were under a [data-theme="refined"] selector and bumped
   specificity above mobile media-query rules. Now unprefixed so
   the responsive overrides below win on small screens. */
body { background: var(--bg); color: var(--ink); }
.section { padding: 7rem 3rem; }
.section-title { font-size: clamp(2.2rem, 4.5vw, 3.4rem); letter-spacing: -0.01em; }
.hero-title { font-size: clamp(3.2rem, 7vw, 6rem); letter-spacing: -0.02em; }
.pricing-card,
.testimonial-card,
.feature-card { border-radius: var(--radius-card); }
.pricing-card,
.testimonial-card { box-shadow: var(--shadow-card); }
.location-section { background: var(--bg-alt); }
.pricing-section { background: var(--bg-alt); }
.nav.scrolled { background: rgba(251,247,240,0.85); backdrop-filter: blur(16px) saturate(140%); }
body.legal { background: var(--bg); color: var(--ink); }
.legal-page { background: var(--bg); }

/* ── RESPONSIVE ──────────────────────────────── */
@media (max-width: 1024px) {
  .intro { grid-template-columns: 1fr; gap: 2.5rem; }
  .intro-images { order: -1; }
  .location-wrap { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 220px;
  }
  .gallery-grid .g-item:nth-child(1),
  .gallery-grid .g-item:nth-child(5) { grid-column: span 1; }
}

/* Switch nav to mobile mode early so the logo "Ferienwohnung Willing"
   never collides with the link list or pushes the CTA off-screen.
   The full desktop layout (logo + 6 links + CTA) needs ~1200px of space. */
@media (max-width: 1200px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
}

@media (max-width: 768px) {
  .section { padding: 4rem 1.5rem; }
  .nav { padding: 1rem 1.5rem; }
  .nav.scrolled { padding: 0.8rem 1.5rem; }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .features-grid { grid-template-columns: 1fr; }
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .testimonials-grid { grid-template-columns: 1fr; }
  .contact-wrap { grid-template-columns: 1fr; gap: 2.5rem; }
  .pricing-details { grid-template-columns: 1fr; }
  /* On phones, give each intro image its own full-width row at its
     natural landscape ratio — the 2-col masonry was cropping the
     bedroom/kitchen photos so aggressively that the "iPhone cutoff"
     looked like overflow. Single column = no cropping. */
  .intro-images { grid-template-columns: 1fr; gap: 0.75rem; }
  .intro-images .img-tall,
  .intro-images .img-short { grid-row: auto; height: auto; }
  .intro-images img { height: auto; }
  /* Stats in 2×2 on phones — 4-in-a-row is too cramped.
     Note: base .intro-stats is flex, so we must switch to grid here. */
  .intro-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem 1rem;
  }
  .pricing-card { padding: 2rem 1.5rem; }
  .pricing-payments { flex-wrap: wrap; gap: 1rem; justify-content: center; }
  /* Phones: tighter padding, links wrap to multiple rows, room for the back-to-top button */
  .footer {
    flex-direction: column;
    text-align: center;
    padding: 2.5rem 1.5rem 5rem;  /* extra bottom padding so back-to-top doesn't cover last row */
    gap: 1.25rem;
  }
  .footer-logo { font-size: 1.15rem; }
  .footer-links { gap: 0.5rem 1.25rem; }
  .footer-links a { font-size: 0.78rem; }
}

/* Very narrow phones — shrink uppercase CTAs so they don't overflow */
@media (max-width: 480px) {
  .btn, .btn-warm, .nav-cta {
    padding: 0.85rem 1.3rem;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
  }
  .pricing-card { padding: 1.5rem 1rem; }
  .pricing-card .btn { white-space: normal; line-height: 1.2; }
}

/* ── LEGAL PAGES (Impressum, Datenschutz) ─────────────────── */
.legal-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 8rem 1.5rem 6rem;
  background: var(--cream);
}
.legal-page h1 {
  font-family: var(--heading);
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--forest-deep);
  margin-bottom: 2rem;
}
.legal-page h2 {
  font-family: var(--heading);
  font-size: 1.5rem;
  color: var(--forest);
  margin-top: 2.5rem;
  margin-bottom: 0.8rem;
}
.legal-page p,
.legal-page ul {
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.85;
  margin-bottom: 1rem;
}
.legal-page ul { padding-left: 1.5rem; }
.legal-page .placeholder {
  background: #FFF4D6;
  color: #8A6500;
  padding: 0.05rem 0.4rem;
  border-radius: 2px;
  font-weight: 600;
}
.legal-page a { color: var(--warm-dark); text-decoration: underline; }

/* Force the nav into its "scrolled" look on legal pages (no hero behind it) */
body.legal .nav { background: rgba(253,251,247,0.95); backdrop-filter: blur(12px); box-shadow: 0 1px 20px rgba(0,0,0,0.06); }
body.legal .nav-logo { color: var(--forest); }
body.legal .nav-links a { color: var(--text); }
body.legal .nav-cta { border-color: var(--forest); color: var(--forest); }

/* ── A11Y: visible focus + reduced motion ─────────────────── */
:focus-visible {
  outline: 2px solid var(--warm);
  outline-offset: 3px;
  border-radius: 2px;
}
.contact-form input:focus-visible,
.contact-form textarea:focus-visible {
  outline-color: var(--sage-light);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .fade-up { opacity: 1 !important; transform: none !important; }
}

/* ── FORM ENHANCEMENTS (labels + status, prototype only had placeholders) ── */
.form-status {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--sage-light);
  min-height: 1.2em;
}
.form-status.error { color: #E89A8A; }
.contact-form label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage-light);
  margin-bottom: 0.35rem;
}
.contact-form label + input,
.contact-form label + textarea { margin-bottom: 1.2rem; }
/* Honeypot — visually removed but still in the DOM for bots to trip over */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ── FAQ section (native <details>, no JS required) ───────── */
.faq-section { background: var(--bg, var(--cream)); }
.faq-wrap {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}
.faq-wrap .section-text { margin: 0 auto 2.5rem; }
.faq-list {
  margin-top: 2.5rem;
  text-align: left;
  border-top: 1px solid var(--rule, rgba(0,0,0,0.08));
}
.faq-item {
  border-bottom: 1px solid var(--rule, rgba(0,0,0,0.08));
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.25rem 2.5rem 1.25rem 0.25rem;
  font-family: var(--heading);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--forest-deep);
  position: relative;
  transition: color 0.2s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '';
  position: absolute;
  right: 0.4rem;
  top: 50%;
  width: 14px;
  height: 14px;
  border-right: 2px solid var(--warm);
  border-bottom: 2px solid var(--warm);
  transform: translateY(-65%) rotate(45deg);
  transition: transform 0.25s ease;
}
.faq-item[open] summary::after { transform: translateY(-35%) rotate(-135deg); }
.faq-item summary:hover { color: var(--warm); }
.faq-answer {
  padding: 0 0.25rem 1.4rem;
  color: var(--text-light);
  font-size: 0.98rem;
  line-height: 1.75;
}
.faq-answer p { margin: 0; }
.faq-item summary:focus-visible {
  outline: 2px solid var(--warm);
  outline-offset: 4px;
  border-radius: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .faq-item summary::after { transition: none; }
}

/* ── LUCIDE ICONS (inline SVGs) ───────────────────────────── */
.lucide {
  width: 1em;
  height: 1em;
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}
.feature-icon .lucide {
  width: 2rem;
  height: 2rem;
  color: var(--warm);
}
.contact-info-icon .lucide {
  width: 1.1rem;
  height: 1.1rem;
  color: var(--sage-light);
}
.pricing-payments span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.pricing-payments .lucide {
  width: 1.15rem;
  height: 1.15rem;
  color: var(--warm);
}

/* ── GALLERY ITEM as button (overrides browser defaults) ──── */
.gallery-grid .g-item {
  appearance: none;
  -webkit-appearance: none;
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  cursor: zoom-in;
  display: block;
  width: 100%;
}
.gallery-grid .g-item picture,
.gallery-grid .g-item img {
  display: block;
  width: 100%;
  height: 100%;
}

/* ── LIGHTBOX ─────────────────────────────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(15, 25, 22, 0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 5rem;
  animation: lightbox-fade 0.25s ease;
}
.lightbox[hidden] { display: none; }
@keyframes lightbox-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.lightbox-figure {
  margin: 0;
  max-width: 100%;
  max-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.lightbox-figure picture {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 9rem);
}
.lightbox-figure img {
  max-width: 100%;
  max-height: calc(100vh - 9rem);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.lightbox-caption {
  font-family: var(--heading);
  font-style: italic;
  font-size: 1rem;
  color: var(--sand-light);
  text-align: center;
  max-width: 60ch;
}
.lightbox-btn {
  position: absolute;
  appearance: none;
  -webkit-appearance: none;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--cream);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  width: 3rem;
  height: 3rem;
  transition: background 0.2s ease, transform 0.2s ease;
}
.lightbox-btn:hover { background: rgba(255, 255, 255, 0.18); transform: scale(1.05); }
.lightbox-btn:focus-visible { outline: 2px solid var(--warm); outline-offset: 3px; }
.lightbox-btn .lucide { width: 1.4rem; height: 1.4rem; }
.lightbox-close { top: 1.5rem; right: 1.5rem; }
.lightbox-prev  { left:  1.5rem; top: 50%; transform: translateY(-50%); }
.lightbox-next  { right: 1.5rem; top: 50%; transform: translateY(-50%); }
.lightbox-prev:hover { transform: translateY(-50%) scale(1.05); }
.lightbox-next:hover { transform: translateY(-50%) scale(1.05); }

/* Lock background scroll while lightbox is open */
body.lightbox-open { overflow: hidden; }

@media (max-width: 768px) {
  .lightbox { padding: 4rem 1rem; }
  .lightbox-prev { left: 0.75rem; }
  .lightbox-next { right: 0.75rem; }
  .lightbox-btn { width: 2.5rem; height: 2.5rem; }
  .lightbox-btn .lucide { width: 1.2rem; height: 1.2rem; }
}

@media (prefers-reduced-motion: reduce) {
  .lightbox { animation: none; }
  .lightbox-btn:hover { transform: none; }
  .lightbox-prev:hover { transform: translateY(-50%); }
  .lightbox-next:hover { transform: translateY(-50%); }
}

/* =============================================================
   ENGAGEMENT ANIMATIONS
   Six subtle effects added together; each has a reduced-motion
   escape hatch via the @media block at the end of this section.
   ============================================================= */

/* (1) Hero ken-burns — very slow background zoom, looped */
@keyframes hero-ken-burns {
  0%   { transform: scale(1.0)  translate3d(0, 0, 0); }
  50%  { transform: scale(1.07) translate3d(-1%, -0.5%, 0); }
  100% { transform: scale(1.0)  translate3d(0, 0, 0); }
}
.hero-bg {
  animation: hero-ken-burns 22s ease-in-out infinite;
  transform-origin: center center;
  will-change: transform;
}

/* (4) Activity tags — staggered fade-in once the parent .fade-up triggers */
@keyframes tag-rise {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.activity-tags .activity-tag {
  opacity: 0;
}
.fade-up.visible .activity-tag {
  animation: tag-rise 0.5s ease-out both;
}
.fade-up.visible .activity-tag:nth-child(1)  { animation-delay: 0ms; }
.fade-up.visible .activity-tag:nth-child(2)  { animation-delay: 50ms; }
.fade-up.visible .activity-tag:nth-child(3)  { animation-delay: 100ms; }
.fade-up.visible .activity-tag:nth-child(4)  { animation-delay: 150ms; }
.fade-up.visible .activity-tag:nth-child(5)  { animation-delay: 200ms; }
.fade-up.visible .activity-tag:nth-child(6)  { animation-delay: 250ms; }
.fade-up.visible .activity-tag:nth-child(7)  { animation-delay: 300ms; }
.fade-up.visible .activity-tag:nth-child(8)  { animation-delay: 350ms; }
.fade-up.visible .activity-tag:nth-child(9)  { animation-delay: 400ms; }
.fade-up.visible .activity-tag:nth-child(10) { animation-delay: 450ms; }

/* (5) Gallery hover overlay — dim + "Vergrößern" badge with zoom-in icon */
.gallery-grid .g-item { isolation: isolate; }
.gallery-grid .g-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.45));
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
  z-index: 1;
}
.gallery-grid .g-item:hover::after,
.gallery-grid .g-item:focus-visible::after { opacity: 1; }
.gallery-grid .zoom-hint {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(0.92);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(255,255,255,0.95);
  color: var(--forest-deep, #1A332A);
  font-family: var(--body, 'Mulish', sans-serif);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
  z-index: 2;
}
.gallery-grid .zoom-hint .lucide { width: 0.9rem; height: 0.9rem; }
.gallery-grid .g-item:hover .zoom-hint,
.gallery-grid .g-item:focus-visible .zoom-hint {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* (3) FAQ smooth open/close — paired with main.js handler */
.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.28s ease, opacity 0.2s ease;
  opacity: 0;
}
details[open] .faq-answer {
  max-height: var(--faq-natural-height, none);
  opacity: 1;
}
/* While JS is animating, it sets inline max-height. After the transition it
   clears the inline style and falls back to none via this rule. */

/* (6) Parallax frame around the Hennesee image */
.parallax-frame {
  overflow: hidden;
  border-radius: 6px;
}
.parallax-frame picture,
.parallax-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08) translate3d(0, 0, 0);
  transform-origin: center center;
  will-change: transform;
}

/* Reduced-motion: disable kinetic effects, keep reveals static */
@media (prefers-reduced-motion: reduce) {
  .hero-bg { animation: none; transform: none; }
  .fade-up.visible .activity-tag { animation: none; opacity: 1; }
  .activity-tags .activity-tag { opacity: 1; }
  .gallery-grid .g-item::after,
  .gallery-grid .zoom-hint { transition: none; }
  .faq-answer { transition: none; }
  .parallax-frame picture,
  .parallax-frame img { transform: scale(1.08); }
}

/* ── BACK-TO-TOP BUTTON (bottom-right, frosted glass) ───────── */
.back-to-top {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 1500;
  appearance: none;
  -webkit-appearance: none;
  width: 2.85rem;
  height: 2.85rem;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.08);
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  box-shadow: 0 10px 30px rgba(0,0,0,0.10);
  color: var(--forest-deep, #1a332a);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.2s ease;
}
.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.back-to-top:hover { background: rgba(255,255,255,0.95); }
.back-to-top:focus-visible { outline: 2px solid var(--warm, #C4956A); outline-offset: 3px; }
.back-to-top .lucide { width: 1.15rem; height: 1.15rem; }

@media (max-width: 540px) {
  .back-to-top { bottom: 0.75rem; right: 0.75rem; width: 2.4rem; height: 2.4rem; }
  .back-to-top .lucide { width: 1rem; height: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  .back-to-top { transition: opacity 0.01ms; transform: none; }
  .back-to-top.is-visible { transform: none; }
}
