/* =========================================================
   Ferienhof am Ipf – Stylesheet
   Schriften liegen lokal in assets/fonts (keine externen Requests, DSGVO-freundlich)
   ========================================================= */

@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 300 700; font-display: swap; src: url("../assets/fonts/cormorant-garamond.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 300 700; font-display: swap; src: url("../assets/fonts/cormorant-garamond-italic.woff2") format("woff2"); }
@font-face { font-family: "EB Garamond"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("../assets/fonts/eb-garamond.woff2") format("woff2"); }

:root {
  /* Farbpalette */
  --disco-ball: #d5d5d5;
  --porcini: #dbae83;
  --sandrift: #ad927e;
  --ovoid-fruit: #8e7d49;
  --obscure-olive: #535c21;
  --midnight-pines: #1c250c;

  /* Verwendung (helle Flächen sind Aufhellungen von Porcini/Sandrift) */
  --cream: #f6f0e8;
  --paper: #fcfaf6;
  --sand: #ece2d6;
  --line: var(--disco-ball);
  --ink: var(--midnight-pines);
  --muted: #5e5648;
  --olive: var(--obscure-olive);
  --ochre: var(--ovoid-fruit);
  --primary: var(--obscure-olive);
  --primary-dark: var(--midnight-pines);
  --accent: var(--porcini);

  --serif: "Cormorant Garamond", "Iowan Old Style", Palatino, Georgia, serif;
  --sans: "EB Garamond", "Iowan Old Style", Palatino, Georgia, serif; /* Fließtext */

  --radius: 14px;
  --shadow: 0 10px 30px -12px rgba(40, 35, 20, .25);
  --nav-h: 76px;
  --maxw: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.18rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary-dark); }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.15; margin: 0 0 .5em; color: var(--olive); letter-spacing: -.01em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.65rem); }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .container { padding: 0 16px; } }

/* Platzhalter – gut sichtbar, bis echte Werte eingetragen sind */
mark.ph { background: #fbe7a1; color: inherit; padding: 0 .25em; border-radius: 4px; font-weight: 600; }

.eyebrow {
  font-size: .8rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ochre); margin-bottom: .8em;
}
.eyebrow--light { color: var(--porcini); }
.lead { font-size: 1.2rem; color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .85em 1.6em; border-radius: 999px; border: 2px solid transparent;
  font: 600 1rem/1.2 var(--sans); text-decoration: none; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--primary); color: #fff; }
.btn--primary:hover { background: var(--primary-dark); }
.btn--accent { background: var(--accent); color: var(--midnight-pines); }
.btn--accent:hover { background: #e6c29f; }
.btn--ghost { color: #fff; border-color: rgba(255,255,255,.8); background: rgba(255,255,255,.08); backdrop-filter: blur(4px); }
.btn--ghost:hover { background: rgba(255,255,255,.2); }
.btn--outline { color: var(--olive); border-color: var(--olive); background: transparent; }
.btn--outline:hover { background: var(--olive); color: #fff; }
.btn--small { padding: .55em 1.2em; font-size: .95rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--porcini); outline-offset: 2px;
}

.link-arrow { font-weight: 600; text-decoration: none; color: var(--primary-dark); }
.link-arrow::after { content: " →"; transition: margin .2s; }
.link-arrow:hover::after { margin-left: 4px; }


/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--nav-h);
  transition: background .3s, box-shadow .3s;
}
.nav__inner { max-width: 1320px; height: 100%; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; }
.nav__brand { display: flex; align-items: center; text-decoration: none; }
.nav__logo { height: 56px; width: auto; }
.nav__logo--hell { filter: drop-shadow(0 1px 6px rgba(0, 0, 0, .35)); }
.nav__logo--dunkel { display: none; }
.nav.is-solid .nav__logo--hell, .nav.is-open .nav__logo--hell { display: none; }
.nav.is-solid .nav__logo--dunkel, .nav.is-open .nav__logo--dunkel { display: block; }
.nav__menu { display: flex; align-items: center; gap: 28px; }
.nav__menu a:not(.btn) { color: #fff; text-decoration: none; font-weight: 500; font-size: .98rem; position: relative; text-shadow: 0 1px 8px rgba(0,0,0,.3); }
.nav__menu a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: currentColor; transform: scaleX(0); transition: transform .25s; }
.nav__menu a:not(.btn):hover::after, .nav__menu a.is-active::after { transform: scaleX(1); }

.nav.is-solid { background: rgba(246, 240, 232, .96); backdrop-filter: blur(8px); box-shadow: 0 1px 0 var(--line), 0 6px 20px -12px rgba(0,0,0,.2); }
.nav.is-solid .nav__menu a:not(.btn) { color: var(--ink); text-shadow: none; }

.nav__toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; padding: 10px; }
.nav__toggle span { display: block; height: 2px; background: #fff; margin: 5px 0; border-radius: 2px; transition: transform .3s, opacity .3s; }
.nav.is-solid .nav__toggle span, .nav.is-open .nav__toggle span { background: var(--ink); }

@media (max-width: 900px) {
  .nav__toggle { display: block; }
  .nav__menu {
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--cream); padding: 8px 16px 20px; box-shadow: 0 12px 24px -12px rgba(0,0,0,.25);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s, visibility .25s;
  }
  .nav.is-open { background: var(--cream); }
  .nav.is-open .nav__menu { opacity: 1; transform: none; visibility: visible; }
  .nav__menu a:not(.btn) { color: var(--ink); text-shadow: none; padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav__menu a:not(.btn)::after { display: none; }
  .nav__cta { margin-top: 16px; }
  .nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
  .nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
@media (max-width: 600px) { .nav__inner { padding: 0 8px 0 16px; } .nav__logo { height: 48px; } }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: clamp(520px, 60vw, min(82vh, 880px)); min-height: clamp(520px, 60vw, min(82svh, 880px)); display: flex; align-items: flex-start; justify-content: center; text-align: center; color: #fff; overflow: hidden; }
.hero__bg, .hero__bg img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__bg img { object-fit: cover; object-position: center 30%; animation: heroZoom 18s ease-out both; }
/* Sehr breite Fenster (z. B. herausgezoomt): Hero bleibt flach, also tiefer ins Bild schauen, damit der Ipf ganz drauf ist */
@media (min-width: 2000px) { .hero__bg img { object-position: center 50%; } }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(28, 37, 12, .55) 0%, rgba(28, 37, 12, .18) 38%, rgba(28,37,12,0) 55%, rgba(28, 37, 12, .35) 100%);
}
.hero__content { position: relative; z-index: 1; padding: calc(var(--nav-h) + clamp(20px, 4.5vw, 72px)) 24px 0; max-width: 860px; }
@media (max-width: 1200px) { .hero__scroll { display: none; } }
.hero h1 { color: #fff; font-size: clamp(3rem, 8vw, 6rem); margin-bottom: .15em; text-shadow: 0 2px 24px rgba(0,0,0,.3); }
.hero__lead { font-size: clamp(1.1rem, 2vw, 1.35rem); max-width: 34em; margin: 0 auto 1.8em; text-shadow: 0 1px 12px rgba(0,0,0,.4); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.hero__scroll { position: absolute; z-index: 1; bottom: 64px; left: 50%; translate: -50% 0; width: 28px; height: 46px; border: 2px solid rgba(255,255,255,.85); border-radius: 20px; }
.hero__scroll span { position: absolute; top: 8px; left: 50%; width: 4px; height: 8px; margin-left: -2px; background: #fff; border-radius: 2px; animation: scrollDot 1.8s infinite; }
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@keyframes heroZoom { from { transform: scale(1.06); } to { transform: scale(1); } }

/* Abgerissene Papierkante am unteren Rand von Hero und Seitenkopf */
@media (max-width: 760px) {
  .hero { align-items: flex-end; min-height: 82vh; min-height: 82svh; }
  .hero::after { background: linear-gradient(to bottom, rgba(28,37,12,.45) 0%, rgba(28,37,12,0) 22%, rgba(28,37,12,0) 45%, rgba(28,37,12,.72) 100%); }
  .hero__content { padding: 0 16px 72px; }
  .hero h1 { font-size: clamp(2.6rem, 12vw, 3.4rem); }
  .hero .eyebrow { font-size: .7rem; letter-spacing: .1em; }
  .hero__bg img { object-position: center top; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__scroll { display: none; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section__head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section--hof { background: var(--paper); overflow: hidden; }
.section--esel { background: var(--cream); }
.section--ueber { background: var(--sand); }
.section--preise { background: var(--cream); }


/* ---------- Klickbare Bilder (Großansicht) ---------- */
.shot { display: block; padding: 0; border: 0; background: var(--sand); border-radius: var(--radius); overflow: hidden; cursor: zoom-in; }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.shot:hover img { transform: scale(1.04); }

/* ---------- Hof: Text links, Collage rechts ---------- */
.hof-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.hof-intro__text h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
.hof-intro__text .lead { font-size: 1.12rem; }
.collage-hof { position: relative; aspect-ratio: 6 / 5; }
.collage-hof .shot { position: absolute; box-shadow: var(--shadow); }
.collage-hof .c1 { left: 0; top: 3%; width: 50%; aspect-ratio: 3 / 4; }
.collage-hof .c2 { right: 0; top: 0; width: 45%; aspect-ratio: 4 / 3.4; }
.collage-hof .c3 { right: 4%; bottom: 0; width: 40%; aspect-ratio: 1 / 1; }
.collage-hof .c4 { left: 36%; bottom: 2%; width: 27%; aspect-ratio: 3 / 4; z-index: 2; border: 6px solid var(--paper); }
@media (max-width: 860px) {
  .hof-intro { grid-template-columns: 1fr; }
  .collage-hof { aspect-ratio: 1 / 1; }
}

/* ---------- Wohnung: Karo-Hintergrund, Bild + Text ohne Box ---------- */
.section--fewo {
  background-color: var(--paper);
  background-image:
    linear-gradient(rgba(173, 146, 126, .06) 50%, transparent 50%),
    linear-gradient(90deg, rgba(173, 146, 126, .06) 50%, transparent 50%);
  background-size: 30px 30px;
}
.fewo-feature { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.fewo-feature__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: calc(var(--radius) + 4px); box-shadow: var(--shadow); }
.fewo-feature__text { display: flex; flex-direction: column; align-items: flex-start; }
.fewo-feature__text h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
.fewo-feature__text p:not(.eyebrow) { color: var(--muted); margin-bottom: 1.6em; }
@media (max-width: 860px) { .fewo-feature { grid-template-columns: 1fr; } }

/* Ruhige Bilderleiste in Inhaltsbreite */
.strip { margin-top: clamp(28px, 4vw, 44px); overflow: hidden; border-radius: var(--radius); }
.strip__track { list-style: none; margin: 0; padding: 0; display: flex; width: max-content; animation: strip var(--dur, 90s) linear infinite; }
.strip:hover .strip__track, .strip:focus-within .strip__track { animation-play-state: paused; }
.strip__track li { flex: none; padding-right: 12px; }
.strip .shot { height: 190px; width: auto; aspect-ratio: 4 / 3; }
@keyframes strip { to { transform: translateX(-50%); } }
@media (max-width: 600px) { .strip .shot { height: 130px; } .strip__track li { padding-right: 8px; } }

/* ---------- Feature (Esel) ---------- */
.feature { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.feature + .feature { margin-top: clamp(72px, 10vw, 120px); }
.feature--flip .feature__media { order: 2; }
.feature__text p { color: var(--muted); }
.details { list-style: none; padding: 0; margin: 24px 0 28px; border-top: 1px solid var(--line); }
.details li { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.details strong { color: var(--olive); font-weight: 600; }

.collage { position: relative; padding: 0 12% 14% 0; }
.feature--flip .collage { padding: 0 0 14% 12%; }
.collage img { border-radius: var(--radius); box-shadow: var(--shadow); object-fit: cover; }
.collage__main { width: 100%; aspect-ratio: 1 / 1; }
.collage__sub { position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 4 / 3; border: 6px solid var(--cream); }
.feature--flip .collage__sub { right: auto; left: 0; }
@media (max-width: 860px) {
  .feature { grid-template-columns: 1fr; }
  .feature--flip .feature__media { order: 0; }
}

/* ---------- Über uns ---------- */
.about { display: grid; grid-template-columns: .85fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.about__img { margin: 0; position: relative; }
.about__img img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4 / 5; object-fit: cover; object-position: center 30%; width: 100%; }
.about__img figcaption { position: absolute; left: 16px; bottom: 16px; background: rgba(255,253,248,.92); padding: .4em .9em; border-radius: 999px; font-size: .88rem; font-weight: 600; color: var(--olive); }
.about__text p { color: #4c483e; }
.about__text .lead { color: var(--ink); }
.signature { font-family: var(--serif); font-style: italic; font-size: 1.55rem; color: var(--olive) !important; margin-top: 1.2em; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } .about__img { max-width: 480px; } }

/* ---------- Preise: einfache Tabelle ---------- */
.price-table-wrap { max-width: 760px; }
.price-table { width: 100%; border-collapse: collapse; font-size: 1.05rem; }
.price-table th, .price-table td { padding: 14px 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 400; }
.price-table td { text-align: right; white-space: nowrap; font-family: var(--serif); font-size: 1.5rem; font-weight: 700; color: var(--olive); }
.price-table td span { font-family: var(--sans); font-size: .9rem; font-weight: 400; color: var(--muted); }
.price-table__group th { padding-top: 32px; font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ochre); border-bottom: 1px solid var(--sandrift); }
.price-table tbody:first-child .price-table__group th { padding-top: 0; }
.prices__footnote { margin: 24px 0 28px; color: var(--muted); font-size: .95rem; }

/* ---------- CTA / Kontakt ---------- */
.cta { position: relative; padding: clamp(80px, 11vw, 140px) 0; color: #fff; overflow: hidden; background: var(--olive); }
.cta__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(28, 37, 12, .88) 0%, rgba(28, 37, 12, .7) 50%, rgba(28, 37, 12, .45) 100%); z-index: 1; }
.cta__inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.cta h2 { color: #fff; font-size: clamp(2.2rem, 4.5vw, 3.4rem); }
.cta__text > p { font-size: 1.15rem; color: #ece6da; max-width: 30em; }
.contact-list { list-style: none; padding: 0; margin: 28px 0 0; }
.contact-list li { display: grid; grid-template-columns: 90px 1fr; padding: 10px 0; border-top: 1px solid rgba(255,255,255,.18); }
.contact-list span { color: var(--porcini); font-size: .9rem; }
.contact-list a { color: #fff; }
.contact-list mark.ph { color: var(--ink); justify-self: start; }

.form { background: var(--paper); color: var(--ink); border-radius: calc(var(--radius) + 4px); padding: clamp(24px, 4vw, 36px); box-shadow: 0 30px 60px -20px rgba(0,0,0,.45); }
.form h3 { margin-bottom: .8em; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; margin-bottom: 18px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: .9rem; font-weight: 600; color: var(--olive); }
.form .full { grid-column: 1 / -1; }
.form .opt { font-weight: 400; color: var(--muted); }
.form input, .form select, .form textarea {
  font: 400 1rem/1.4 var(--sans); color: var(--ink); background: #fff;
  border: 1px solid var(--line); border-radius: 10px; padding: .7em .85em; width: 100%; min-height: 46px;
}
.form textarea { resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--ochre); outline: none; box-shadow: 0 0 0 3px rgba(83, 92, 33, .18); }
.form [aria-invalid="true"] { border-color: #c0392b; }
.form__error { color: #b03a2e; font-size: .92rem; margin: -4px 0 14px; }
.form__hint { font-size: .82rem; color: var(--muted); margin: 12px 0 0; text-align: center; }
@media (max-width: 900px) { .cta__inner { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .form__grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.footer { background: var(--midnight-pines); color: var(--disco-ball); padding: 56px 0 24px; font-size: 1rem; }
.footer a { color: #fff; }
.footer__inner { display: grid; grid-template-columns: 1.3fr 1fr auto; gap: 32px 48px; align-items: start; }
.footer__logo { height: 72px; width: auto; margin-bottom: 14px; }
.footer__adresse { margin: 0; color: var(--disco-ball); line-height: 1.7; }
.footer__adresse a { text-decoration: none; }
.footer__seiten { display: grid; gap: 6px; }
.footer__seiten a { text-decoration: none; width: fit-content; }
.footer__seiten a:hover, .footer__recht a:hover { text-decoration: underline; }
.footer__cta p { margin: 0 0 12px; font-family: var(--serif); font-size: 1.5rem; font-weight: 700; color: #fff; }
.footer__unten { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); font-size: .88rem; }
.footer__copy { margin: 0; color: var(--sandrift); }
.footer__recht { display: flex; gap: 24px; }
@media (max-width: 760px) { .footer__inner { grid-template-columns: 1fr 1fr; } .footer__marke { grid-column: 1 / -1; } }

/* ---------- Lightbox ---------- */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox::backdrop { background: rgba(15, 18, 14, .92); }
.lightbox img { max-width: min(92vw, 1600px); max-height: 86vh; width: auto; border-radius: 8px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lightbox button { position: fixed; border: 0; background: rgba(255,255,255,.12); color: #fff; cursor: pointer; border-radius: 999px; width: 52px; height: 52px; font-size: 2rem; line-height: 1; display: grid; place-items: center; }
.lightbox button:hover { background: rgba(255,255,255,.25); }
.lightbox__close { top: 18px; right: 18px; }
.lightbox__nav--prev { left: 18px; top: 50%; translate: 0 -50%; }
.lightbox__nav--next { right: 18px; top: 50%; translate: 0 -50%; }
@media (max-width: 600px) { .lightbox__nav { top: auto !important; bottom: 20px; translate: none !important; } }

/* ---------- Einblenden beim Scrollen ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Unterseiten (Impressum/Datenschutz) ---------- */
.legal { padding: calc(var(--nav-h) + 48px) 0 80px; background: var(--paper); min-height: 80vh; }
.legal .container { max-width: 760px; }
.legal h2 { font-size: 1.5rem; margin-top: 1.6em; }

/* ---------- Bewegung reduzieren ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .strip { overflow-x: auto; }
}

/* =========================================================
   Unterseite: Hof & Wohnung
   ========================================================= */
.page-hero { position: relative; min-height: clamp(380px, 42vw, min(62vh, 600px)); display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--midnight-pines); }
.page-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(28,37,12,.55) 0%, rgba(28,37,12,.1) 35%, rgba(28,37,12,.75) 100%); }
.page-hero__content { position: relative; z-index: 1; padding-top: calc(var(--nav-h) + 40px); padding-bottom: clamp(40px, 6vw, 72px); }
.page-hero h1 { color: #fff; font-size: clamp(2.6rem, 6vw, 4.4rem); margin-bottom: .2em; }
.page-hero__lead { font-size: 1.2rem; max-width: 36em; color: #f3efe6; margin: 0; }

.section--wohnung { background: var(--paper); }
.section--ausstattung { background: var(--sand); }
.section--tiere { background: var(--cream); }
.section--rund { background: var(--paper); }

.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { position: relative; padding: 7px 0 7px 1.6em; border-top: 1px solid var(--line); }
.checklist li:last-child { border-bottom: 1px solid var(--line); }
.checklist li::before { content: "✓"; position: absolute; left: 0; color: var(--ochre); font-weight: 700; }

/* Räume */
.room { display: grid; grid-template-columns: 1fr 2fr; gap: clamp(28px, 4vw, 56px); align-items: start; padding: clamp(40px, 6vw, 72px) 0; border-top: 1px solid var(--line); }
.room:first-of-type { border-top: 0; padding-top: 0; }
.room__text { position: sticky; top: calc(var(--nav-h) + 32px); }
.room__text p { color: var(--muted); }
@media (max-width: 860px) { .room { grid-template-columns: 1fr; } .room__text { position: static; } }

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 170px; gap: 10px; }
.gallery .shot { height: 100%; width: 100%; border-radius: 10px; }
.gallery .shot img { width: 100%; height: 100%; object-fit: cover; }
.gallery .shot:first-child { grid-column: span 2; grid-row: span 2; }
.gallery--moments { grid-template-columns: repeat(6, 1fr); grid-auto-rows: 180px; }
.gallery--moments .shot:first-child { grid-column: span 2; grid-row: span 2; }
/* Kompakte Variante (Umgebung): Text links, Bilder rechts, wenig Leerraum */
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }
.room--compact { grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); align-items: center; padding: clamp(32px, 4vw, 48px) 0; }
.room--compact .room__text { position: static; }
.room--compact h2 { font-size: clamp(1.7rem, 2.6vw, 2.2rem); }
.room--compact .room__text > p:not(.eyebrow) { margin-bottom: 1em; }
.room--compact .checklist li { padding: 5px 0 5px 1.6em; border: 0; }
.room--compact .gallery { grid-auto-rows: clamp(110px, 11vw, 150px); }
.gallery--three { grid-template-columns: 2fr 1fr; }
.gallery--three .shot:first-child { grid-column: span 1; }
.room--flip { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); }
.room--flip .room__text { order: 2; }
@media (max-width: 860px) {
  .room--compact, .room--flip { grid-template-columns: 1fr; gap: 20px; }
  .room--flip .room__text { order: 0; }
}
@media (max-width: 860px) { .gallery--moments { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 600px) {
  .gallery, .gallery--moments { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 130px; gap: 8px; }
}
@media (max-width: 600px) {
  .room--compact .gallery { grid-template-columns: 2fr 1fr; grid-auto-rows: 110px; }
  .room--compact .gallery .shot:first-child { grid-column: span 1; grid-row: span 2; }
  .room--compact .gallery .shot:nth-child(n+4) { display: none; }
}

/* Ausstattung */
.amenities { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.amenity { background: var(--paper); border-radius: var(--radius); padding: 24px 26px 26px; box-shadow: var(--shadow); }
.amenity h3 { font-size: 1.35rem; }
@media (max-width: 900px) { .amenities { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .amenities { grid-template-columns: 1fr; } }

/* Tiere */
.animals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.animal { background: var(--paper); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.animal .shot { width: 100%; height: auto; aspect-ratio: 4 / 3; border-radius: 0; }
.animal .shot img { width: 100%; height: 100%; object-fit: cover; }
.animal__body { padding: 20px 24px 24px; }
.animal__body p { color: var(--muted); margin: 0; }
.moments__title { margin: clamp(48px, 7vw, 80px) 0 20px; }
@media (max-width: 900px) { .animals { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .animals { grid-template-columns: 1fr; } }

/* Rund um den Hof */
.places { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.place .shot { width: 100%; height: auto; aspect-ratio: 4 / 5; margin-bottom: 16px; }
.place .shot img { width: 100%; height: 100%; object-fit: cover; }
.place p { color: var(--muted); }
@media (max-width: 900px) { .places { grid-template-columns: 1fr 1fr; } }

/* CTA-Band */
.cta-band { background: var(--olive); color: #f3efe6; padding: clamp(56px, 8vw, 88px) 0; }
.cta-band__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta-band h2 { color: #fff; margin-bottom: .2em; }
.cta-band p { margin: 0; }


/* =========================================================
   Unterseiten: Erlebnisse & Umgebung
   ========================================================= */
.section--paper { background: var(--paper); }
.section--cream { background: var(--cream); }
.section--sand { background: var(--sand); }
.section--sand .shot { background: var(--cream); }
.room__cta { margin-top: 24px; }
.btn-row.center { justify-content: center; margin-top: 36px; }

/* Ablauf in Schritten */
.steps-wrap { margin-top: clamp(40px, 6vw, 72px); padding-top: clamp(32px, 5vw, 56px); border-top: 1px solid var(--line); }
.steps__title { margin-bottom: 24px; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: none; }
.steps--three { grid-template-columns: repeat(3, 1fr); }
.steps li { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.section--paper .steps li { background: var(--cream); }
.steps__nr { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--olive); color: #fff; font-family: var(--serif); font-size: 1.2rem; font-weight: 700; margin-bottom: 14px; }
.steps h4 { font-family: var(--serif); font-size: 1.4rem; font-weight: 700; color: var(--olive); margin: 0 0 6px; }
.steps p { color: var(--muted); margin: 0; font-size: .98rem; }
@media (max-width: 900px) { .steps, .steps--three { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps, .steps--three { grid-template-columns: 1fr; } }

/* Häufige Fragen */
.faq-wrap { max-width: 860px; }
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { cursor: pointer; list-style: none; padding: 20px 44px 20px 0; position: relative; font-family: var(--serif); font-size: 1.35rem; font-weight: 700; color: var(--olive); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; position: absolute; right: 8px; top: 50%; translate: 0 -50%; font-family: var(--sans); font-size: 1.6rem; font-weight: 400; color: var(--ochre); transition: rotate .2s; }
.faq__item[open] summary::after { rotate: 45deg; }
.faq__item p { color: var(--muted); margin: 0 0 22px; max-width: 46em; }

/* Ausflugsziele: untereinander, je mit kleiner Bildercollage */
.trip-group { border-bottom: 1px solid rgba(28, 37, 12, .14); }
.section__head + .trip-group { border-top: 1px solid rgba(28, 37, 12, .14); }
.trip-group > summary { list-style: none; position: relative; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 16px; padding: 26px 48px 26px 0; cursor: pointer; }
.trip-group > summary::-webkit-details-marker { display: none; }
.trip-group > summary::after { content: "+"; position: absolute; right: 8px; top: 50%; translate: 0 -50%; font-family: var(--sans); font-size: 1.8rem; font-weight: 400; color: var(--ochre); transition: rotate .2s; }
.trip-group[open] > summary::after { rotate: 45deg; }
.trip-group > summary:hover .trips__group { color: var(--midnight-pines); }
.trips__group { font-size: clamp(1.4rem, 2.2vw, 1.75rem); margin: 0; transition: color .2s; }
.trip-group__count { font-size: .9rem; color: var(--muted); }
.trips { border-top: 1px solid rgba(28, 37, 12, .14); }
.trip:last-child { border-bottom: 0; }
.trip { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(24px, 4vw, 56px); align-items: center; padding: 30px 0; border-bottom: 1px solid rgba(28, 37, 12, .14); }
.trip__text h4 { font-family: var(--serif); font-weight: 700; line-height: 1.15; font-size: 1.6rem; color: var(--olive); margin: 0 0 .3em; }
.trip__text p { color: var(--muted); margin: 0; max-width: 34em; }
.dest__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.dest__time, .dest__tag { font-size: .78rem; font-weight: 600; letter-spacing: .04em; padding: .3em .75em; border-radius: 999px; }
.dest__time { background: var(--paper); color: var(--muted); }
.dest__tag { background: rgba(83, 92, 33, .12); color: var(--olive); }
.trip__pics { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 8px; height: clamp(200px, 22vw, 280px); }
.trip__pics .shot { width: 100%; height: 100%; border-radius: 10px; }
.trip__pics .shot:first-child { grid-row: span 2; }
.credits { margin-top: 48px; font-size: .85rem; color: var(--muted); }
.credits summary { cursor: pointer; font-weight: 600; }
.credits p { margin: 12px 0 8px; }
.credits ul { margin: 0; padding-left: 1.2em; columns: 2 320px; column-gap: 40px; }
.credits li { margin-bottom: 4px; break-inside: avoid; }
.credits a { color: inherit; }
@media (max-width: 760px) {
  .trip { grid-template-columns: 1fr; gap: 18px; padding: 26px 0; }
  .trip__pics { height: 220px; }
}

/* Anreise */
.arrival { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.arrival__card { background: var(--cream); border-radius: var(--radius); padding: 26px; }
.arrival__card h3 { font-size: 1.3rem; }
.arrival__card p { color: var(--muted); }
.map-note { margin-top: 20px; font-size: .85rem; color: var(--muted); }
@media (max-width: 860px) { .arrival { grid-template-columns: 1fr; } }
.map { position: relative; display: block; margin-top: 20px; border-radius: var(--radius); overflow: hidden; background: var(--cream); }
.map img { display: block; width: 100%; height: clamp(260px, 32vw, 420px); object-fit: cover; object-position: 50% 57%; transition: transform .5s ease; }
.map:hover img { transform: scale(1.02); }
.map__btn { position: absolute; right: 16px; bottom: 16px; background: var(--paper); color: var(--ink); font-size: .9rem; font-weight: 600; padding: .6em 1em; border-radius: 999px; box-shadow: var(--shadow); }
.map-note a { color: inherit; }

/* =========================================================
   Belegungskalender
   ========================================================= */
.kal { --frei: var(--cream); --belegt: #d9cfc3; --auswahl: var(--olive); position: relative; }
.kal__kopf { display: grid; grid-template-columns: auto 1fr auto; align-items: start; gap: 8px; }
.kal__nav { width: 40px; height: 40px; margin-top: 2px; border: 1px solid var(--line); border-radius: 50%; background: var(--paper); color: var(--olive); font-size: 1.4rem; line-height: 1; cursor: pointer; }
.kal__nav:hover:not(:disabled) { border-color: var(--olive); }
.kal__nav:disabled { opacity: .35; cursor: default; }
.kal__monate { display: grid; grid-template-columns: repeat(var(--monate, 2), minmax(0, 1fr)); gap: clamp(16px, 4vw, 48px); }
.kal__titel { text-align: center; font-family: var(--serif); font-weight: 700; font-size: 1.35rem; color: var(--olive); margin: 6px 0 10px; }
.kal__raster { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.kal__wt { text-align: center; font-size: .78rem; font-weight: 600; letter-spacing: .06em; color: var(--muted); padding-bottom: 4px; }
.kal__tag { position: relative; display: grid; place-items: center; aspect-ratio: 1; min-height: 34px; border: 0; border-radius: 8px; background: var(--frei); color: var(--ink); font: inherit; font-size: .98rem; padding: 0; }
button.kal__tag { cursor: pointer; transition: background .15s, color .15s, box-shadow .15s; }
button.kal__tag:hover { box-shadow: inset 0 0 0 2px var(--ochre); }
.kal__tag--leer { background: transparent; }
.kal__tag.is-vergangen { background: transparent; color: #b9b1a5; }
.kal__tag.is-belegt { background: var(--belegt); color: #8a8073; text-decoration: line-through; cursor: not-allowed; }
.kal__tag.is-belegt:hover { box-shadow: none; }
/* Wechseltage: halb belegt (diagonal) */
.kal__tag.is-belegt-ab { background: linear-gradient(135deg, var(--frei) 50%, var(--belegt) 50%); }
.kal__tag.is-belegt-bis { background: linear-gradient(135deg, var(--belegt) 50%, var(--frei) 50%); }
.kal__tag.is-gesperrt { opacity: .45; cursor: not-allowed; }
.kal__tag.is-drin { background: rgba(83, 92, 33, .16); color: var(--ink); text-decoration: none; }
.kal__tag.is-von, .kal__tag.is-bis { background: var(--auswahl); color: #fff; font-weight: 700; text-decoration: none; }
.kal__tag.is-vorschau.is-drin { background: rgba(83, 92, 33, .09); }
.kal__tag.is-vorschau.is-bis { background: rgba(83, 92, 33, .55); }
.kal__legende { display: flex; flex-wrap: wrap; gap: 6px 20px; justify-content: center; margin-top: 16px; font-size: .9rem; color: var(--muted); }
.kal__legende span { display: inline-flex; align-items: center; gap: 8px; }
.kal__punkt { width: 16px; height: 16px; border-radius: 4px; border: 1px solid var(--line); }
.kal__punkt--frei { background: var(--paper); }
.kal__punkt--belegt { background: #d9cfc3; }
.kal__punkt--auswahl { background: var(--olive); border-color: var(--olive); }
.kal__hinweis { margin: 12px 0 0; text-align: center; font-size: .9rem; color: #8a5a2b; }
.kal.is-laedt .kal__monate { opacity: .55; transition: opacity .2s; }

/* Wohnungsseite */
.verfuegbar { background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(18px, 3vw, 36px); }
.verfuegbar__leiste { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.verfuegbar__text { margin: 0; color: var(--muted); }
.verfuegbar__text strong { color: var(--ink); }

/* Anfrageformular */
.form [hidden] { display: none !important; }
.form__label { font-size: .9rem; font-weight: 600; color: var(--olive); }
.form__kalender { display: flex; flex-direction: column; gap: 8px; }
.form__kalender .kal { padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.form__kalender .kal__titel { font-size: 1.15rem; margin: 6px 0 6px; }
.form__kalender .kal__tag { min-height: 30px; font-size: .92rem; border-radius: 6px; }
.form__kalender .kal__legende { margin-top: 10px; font-size: .82rem; }
.form__auswahl { margin: 0; font-size: .92rem; color: var(--muted); }
.form__auswahl strong { color: var(--ink); }
.form__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__danke { text-align: center; padding: 24px 8px; }
.form__danke h3 { margin-bottom: .4em; }
.form__danke:focus { outline: none; }
@media (max-width: 480px) { .kal__tag { min-height: 30px; font-size: .9rem; } }

/* Anfrageseite */
.page-hero--kurz { min-height: clamp(300px, 30vw, min(42vh, 420px)); }
.anfrage { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.9fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.anfrage__info { position: sticky; top: calc(var(--nav-h) + 24px); }
.anfrage__info > p:not(.eyebrow) { color: var(--muted); }
.contact-list--hell li { border-top-color: var(--line); }
.contact-list--hell span { color: var(--ochre); }
.contact-list--hell a { color: var(--ink); }
.form__intro { margin: -.4em 0 1.2em; color: var(--muted); font-size: .95rem; }
.cta__knoepfe { margin-top: 28px; }
.cta__kontakt .contact-list { margin-top: 0; }
@media (max-width: 960px) { .anfrage { grid-template-columns: 1fr; } .anfrage__info { position: static; } }

/* Schlichte Navigation (Impressum, Datenschutz, 404) */
.nav__menu--schlicht { opacity: 1 !important; visibility: visible !important; transform: none !important; position: static !important; flex-direction: row !important; background: none !important; box-shadow: none !important; padding: 0 !important; }

/* Fehlerseite */
.fehlerseite { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: calc(var(--nav-h) + 48px) 0 72px; }
.fehlerseite__zahl { font-family: var(--serif); font-size: clamp(5rem, 14vw, 9rem); font-weight: 700; line-height: 1; color: var(--sandrift); margin: 0; }
.fehlerseite h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin: .2em 0 .4em; }
.fehlerseite p { color: var(--muted); max-width: 32em; margin: 0 auto 28px; }
.fehlerseite .btn-row { justify-content: center; }
