/* Bauernhof Wohlmann – Redesign */
:root {
  --cream: #faf5ea;
  --paper: #fffdf8;
  --sand: #efe5d0;
  --green: #3f5e2f;
  --green-dark: #2b4220;
  --terra: #b5532c;
  --terra-dark: #8f3f1f;
  --ink: #2f2a22;
  --muted: #6e6558;
  --line: #e0d4b9;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(60, 45, 20, .12);
  --serif: Georgia, "Palatino Linotype", "Book Antiqua", Palatino, serif;
  --sans: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 17px/1.7 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--terra); }
a:hover { color: var(--terra-dark); }
h1, h2, h3, h4 { font-family: var(--serif); line-height: 1.2; margin: 0 0 .5em; color: var(--green-dark); }
p { margin: 0 0 1em; text-wrap: pretty; }
h1, h2, h3, h4, .lead { text-wrap: balance; }
.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 40px); margin-inline: auto; }

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .3s, box-shadow .3s;
}
.site-header.scrolled { background: rgba(43, 66, 32, .97); box-shadow: 0 2px 12px rgba(0,0,0,.25); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { font: 700 1.25rem var(--serif); color: #fff; text-decoration: none; display: flex; gap: .5rem; align-items: center; }
.brand:hover { color: #fff; }
.nav { display: flex; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.nav a {
  display: block; padding: .45rem .6rem; border-radius: 999px;
  color: #fff; text-decoration: none; font-size: .9rem; font-weight: 500; white-space: nowrap;
}
.nav a:hover, .nav a.active { background: rgba(255,255,255,.18); color: #fff; }
.nav-toggle { display: none; background: none; border: 0; padding: .5rem; cursor: pointer; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 26px; height: 3px; background: #fff; border-radius: 2px; position: relative; content: "";
}
.nav-toggle span::before { position: absolute; top: -8px; }
.nav-toggle span::after { position: absolute; top: 8px; }

/* Hero */
.hero {
  min-height: 100vh; display: grid; place-items: center; text-align: center; color: #fff;
  background:
    linear-gradient(180deg, rgba(20,30,10,.55) 0%, rgba(20,30,10,.35) 50%, rgba(40,25,10,.7) 100%),
    url("../images/bg1.jpg") center / cover no-repeat;
  padding: 100px 20px 80px; position: relative;
}
.hero .eyebrow { letter-spacing: .3em; text-transform: uppercase; font-size: .85rem; opacity: .9; margin-bottom: 1rem; }
.hero h1 { color: #fff; font-size: clamp(2.6rem, 8vw, 5.5rem); text-shadow: 0 3px 20px rgba(0,0,0,.45); margin-bottom: .25em; }
.hero p.lead { font: italic clamp(1.2rem, 3vw, 1.7rem) var(--serif); margin-bottom: 2rem; }
.btn {
  display: inline-block; padding: .85rem 1.8rem; border-radius: 999px; font-weight: 600;
  text-decoration: none; background: var(--terra); color: #fff; border: 2px solid var(--terra);
  transition: transform .2s, background .2s;
}
.btn:hover { background: var(--terra-dark); border-color: var(--terra-dark); color: #fff; transform: translateY(-2px); }
.btn.ghost { background: transparent; border-color: #fff; margin-left: .5rem; }
.btn.ghost:hover { background: rgba(255,255,255,.2); border-color: #fff; }
.hero-wave, .wave { position: absolute; left: 0; right: 0; bottom: -1px; height: 50px; width: 100%; }

/* Sections */
section { padding: 90px 0; }
.section-head { text-align: center; margin-bottom: 3rem; }
.section-head .kicker { color: var(--terra); letter-spacing: .25em; text-transform: uppercase; font-size: .8rem; font-weight: 700; }
.section-head h2 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: .3em; }
.section-head .rule { display: flex; align-items: center; justify-content: center; gap: 14px; width: 220px; margin: 1rem auto 0; color: var(--terra); }
.section-head .rule::before, .section-head .rule::after { content: ""; flex: 1; height: 1px; background: currentColor; opacity: .55; }
.section-head .rule i { font-size: 1.15rem; line-height: 1; }
.alt { background: var(--sand); }
.card {
  background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden;
  border: 1px solid var(--line);
}

/* About */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; margin-bottom: 4rem; }
.story:nth-of-type(even) .story-img { order: 2; }
.story-img img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; aspect-ratio: 5 / 3; object-fit: cover; border: 8px solid var(--paper); }
.story h3 { font-size: 1.8rem; }
.facts { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1rem; }
.fact { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: .6rem 1rem; text-align: center; }
.fact b { display: block; font: 700 1.6rem var(--serif); color: var(--terra); }
.fact small { color: var(--muted); }

/* Gallery */
.gallery { columns: 4 220px; column-gap: 14px; }
.gallery img { width: 100%; margin-bottom: 14px; border-radius: 10px; box-shadow: 0 3px 12px rgba(60,45,20,.18); transition: transform .3s; break-inside: avoid; }
.gallery img:hover { transform: scale(1.03); }
@media (max-width: 700px) { .gallery { columns: 2; column-gap: 10px; } .gallery img { margin-bottom: 10px; border-radius: 8px; } }

/* Hofladen */
.shop-img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; border: 8px solid var(--paper); }

/* Products */
.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.product img { width: 100%; height: 210px; object-fit: cover; }
.product .body { padding: 1.1rem 1.3rem 1.3rem; }
.product h4 { font-size: 1.2rem; margin-bottom: .35rem; }
.product p { margin: 0; color: var(--muted); font-size: .96rem; line-height: 1.55; }
.product { transition: transform .25s; }
.product:hover { transform: translateY(-5px); }

/* Hours */
.hours { background: var(--green); color: #fff; }
.hours h2, .hours .kicker { color: #fff; }
.hours .rule { color: #fff; }
.hours-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 260px)); gap: 24px; justify-content: center; }
.hour-box { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.3); border-radius: var(--radius); padding: 1.6rem; text-align: center; }
.hour-box h4 { color: #fff; font-size: 1.4rem; margin-bottom: .2em; }
.hour-box p { margin: 0; font-size: 1.25rem; }

/* Apartment */
.apt-intro p { margin-bottom: .6em; text-wrap: balance; }
.apt-intro { text-align: center; font: italic 1.2rem/1.7 var(--serif); color: var(--muted); }
.apt-sheet { padding: 2.4rem 2.8rem; margin: 2.5rem 0; columns: 2; column-gap: 4rem; column-rule: 1px dashed var(--line); }
.info { break-inside: avoid; margin-bottom: 2.2rem; }
.info:last-child { margin-bottom: 0; }
.info h4 { font-size: 1.25rem; border-bottom: 2px dashed var(--line); padding-bottom: .5rem; margin-bottom: .8rem; }
.info ul { margin: 0; padding-left: 1.2rem; }
.info li { margin-bottom: .4rem; }
.info ul ul { margin-top: .4rem; }
.apt-photos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.apt-photos figure { margin: 0; }
.apt-photos img { width: 100%; height: 190px; object-fit: cover; border-radius: 10px; box-shadow: 0 3px 12px rgba(60,45,20,.18); transition: transform .3s; }
.apt-photos a:hover img { transform: scale(1.03); }
.apt-photos figcaption { text-align: center; font-size: .85rem; color: var(--muted); margin-top: .4rem; }
.apt-address { text-align: center; margin: 1.5rem 0; }

/* Booking & contact */
.booking-card { padding: 14px; border: 2px dashed var(--line); background: var(--paper); }
.booking-card .note { text-align: center; color: var(--muted); font-size: .95rem; margin: .2rem 0 1rem; }
.booking-wrapper { width: 100%; min-height: 480px; }
.booking-frame { display: block; width: 100%; height: min(88vh, 900px); min-height: 560px; border: 0; border-radius: 10px; background: #fff; }
.booking-cta { text-align: center; margin: 0 0 1rem; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 30px; align-items: stretch; }
.contact-card { padding: 2rem; }
.contact-card address { font-style: normal; }
.map { width: 100%; height: 100%; min-height: 350px; border: 0; border-radius: var(--radius); box-shadow: var(--shadow); }

/* Imprint & legal */
.imprint-card { padding: 2.5rem; max-width: 820px; margin: 0 auto; }
.imprint-card h3 { font-size: 1.35rem; margin-top: 0; margin-bottom: .8rem; }
.imprint-card h4 { font-size: 1.1rem; margin-top: 1.5rem; margin-bottom: .4rem; }
.legal-notice { font-size: .92rem; color: var(--muted); }

/* Legal page (Datenschutz) */
.legal-page { padding: 100px 0 60px; }
.legal-page-header { margin-bottom: 1.5rem; }
.legal-page-header .back-link { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; text-decoration: none; margin-bottom: 1rem; }
.legal-card { padding: 2.5rem; max-width: 900px; margin: 0 auto; background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); border-top: 6px solid var(--butter); }
.legal-card h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 1rem; }
.legal-card h2 { font-size: 1.4rem; margin-top: 2rem; margin-bottom: .8rem; padding-bottom: .3rem; border-bottom: 2px solid var(--line); }
.legal-card h3 { font-size: 1.15rem; margin-top: 1.3rem; margin-bottom: .5rem; color: var(--terra); }
.legal-card ul { padding-left: 1.4rem; margin-bottom: 1rem; }
.legal-card li { margin-bottom: .3rem; }
.imprint { text-align: center; }
.site-footer { background: var(--green-dark); color: #d8e3cc; text-align: center; padding: 2.5rem 20px; font-size: .9rem; }
.site-footer a { color: #fff; }
.site-footer p { margin: .2rem 0; }
.totop { display: inline-block; margin-bottom: 1rem; width: 46px; height: 46px; line-height: 44px; border-radius: 50%; border: 2px solid #d8e3cc; color: #fff; text-decoration: none; font-size: 1.3rem; }
.totop:hover { background: var(--terra); border-color: var(--terra); color: #fff; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s, transform .7s; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* Responsive */
@media (max-width: 1180px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: rgba(43, 66, 32, .98); padding: .5rem 20px 1rem; display: none;
  }
  .nav.open { display: flex; }
  .site-header.menu-open { background: rgba(43, 66, 32, .98); }
}
@media (max-width: 960px) {
  .story, .contact-grid { grid-template-columns: 1fr; }
  .apt-sheet { columns: 1; padding: 1.6rem 1.4rem; }
  .apt-photos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .story:nth-of-type(even) .story-img { order: 0; }
  section { padding: 64px 0; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .hours-grid { grid-template-columns: 1fr; }
  .btn.ghost { margin: .6rem 0 0; }
}

/* ===== Variante "Landhaus": Butterblume, Tannengruen, Bogenfenster ===== */
:root {
  --cream: #fff8e7; --paper: #fffdf5; --sand: #f7ebc8;
  --green: #1f3a2b; --green-dark: #1f3a2b;
  --terra: #d9482b; --terra-dark: #b13a22;
  --butter: #f4c95d; --line: #ecd9a6; --radius: 22px;
  --shadow: 0 10px 30px rgba(31, 58, 43, .14);
}
body { font-size: 18px; }
.site-header, .site-header.scrolled { background: rgba(255, 248, 231, .96); backdrop-filter: blur(8px); box-shadow: 0 1px 0 var(--line); }
.brand, .brand:hover { color: var(--green); font-size: 1.35rem; }
.nav a { color: var(--green); font-weight: 600; }
.nav a:hover, .nav a.active { background: var(--butter); color: var(--green); }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { background: var(--green); }
.hero {
  background:
    linear-gradient(180deg, rgba(31,58,43,.55) 0%, rgba(31,58,43,.25) 55%, rgba(31,58,43,.75) 100%),
    url("../images/bg1.jpg") center / cover no-repeat;
}
.hero h1 { font-size: clamp(2.8rem, 9vw, 6.2rem); letter-spacing: -.01em; }
.hero h1::after { content: ""; display: block; width: 140px; height: 8px; margin: .25em auto 0; background: var(--butter); border-radius: 8px; }
.hero .eyebrow { color: var(--butter); font-weight: 700; }
.hero-wave path { fill: var(--cream); }
.btn { background: var(--butter); border-color: var(--butter); color: var(--green); }
.btn:hover { background: #fff; border-color: #fff; color: var(--green); }
.btn.ghost { color: #fff; background: transparent; border-color: #fff; }
.btn.ghost:hover { background: #fff; color: var(--green); }
.section-head { margin-bottom: 3.5rem; }
.section-head .kicker { display: block; margin-bottom: .6rem; }
.section-head h2 { display: inline; margin-bottom: 0; padding: 0 .2em; background: linear-gradient(transparent 62%, var(--butter) 62%); }
.section-head .rule { display: none; }
.story-img img { border: 0; border-radius: 20px; aspect-ratio: 5 / 3; max-height: none; }
.fact { border-radius: 999px; padding: .5rem 1.4rem; background: var(--butter); border: 0; }
.fact b, .fact small { color: var(--green); }
.gallery img { border-radius: 20px; }

.shop-img { border: 0; border-radius: 20px; max-height: none; object-fit: cover; }
.card { border: 0; border-top: 6px solid var(--butter); }
.product:nth-child(3n+2) { border-top-color: var(--terra); }
.product:nth-child(3n) { border-top-color: var(--green); }
.hours { background: var(--green); }
.hours .kicker { color: var(--butter); }
.hours .section-head h2 { background: none; color: #fff; }
.hour-box { background: var(--paper); border: 0; color: var(--green); }
.hour-box h4 { color: var(--terra); }
.alt { background: var(--sand); }
.info h4 { border-bottom: 3px solid var(--butter); }
.apt-photos img, .booking-card { border-radius: 16px; }
.booking-card { border: 0; border-top: 6px solid var(--butter); }
.site-footer { background: var(--green); }
.totop:hover { background: var(--butter); border-color: var(--butter); color: var(--green); }
@media (max-width: 1180px) { .nav { background: var(--cream); box-shadow: 0 8px 16px rgba(0,0,0,.1); } }
