/* ============================================================
   Ferienhaus Hedwig - Leudersdorf
   Stylesheet - modern & minimalistisch
   ============================================================ */

/* ---------- Design-Tokens ---------- */
:root {
  --bg:        #fdfbf6;
  --bg-soft:   #f3efe6;
  --bg-dark:   #2c352e;
  --text:      #2f3a33;
  --text-soft: #5d6b60;
  --line:      #e3ddd0;
  --accent:    #6f8466;
  --accent-dk: #56684f;
  --terra:     #c08552;
  --white:     #ffffff;
  --shadow:    0 10px 40px rgba(44, 53, 46, 0.10);
  --shadow-sm: 0 4px 18px rgba(44, 53, 46, 0.08);
  --radius:    14px;
  --maxw:      1180px;
  --serif:     "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans:      "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* ---------- Reset ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---------- Layout-Hilfen ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.bg-soft { background: var(--bg-soft); }

.eyebrow {
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 14px;
}
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; }
h2.title {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.01em;
  margin-bottom: 18px;
}
h3 { font-size: 1.5rem; }
.lead { color: var(--text-soft); max-width: 620px; font-size: 1.08rem; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 30px;
  border-radius: 999px;
  font-size: 15px; font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
  border: 1.5px solid transparent;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dk); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn-ghost:hover { background: rgba(255,255,255,.14); transform: translateY(-2px); }
.btn-dark { background: var(--bg-dark); color: #fff; }
.btn-dark:hover { background: #1f2722; transform: translateY(-2px); }

/* ---------- Header / Navigation ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .3s ease, box-shadow .3s ease, padding .3s ease;
  padding: 18px 0;
}
.site-header.scrolled {
  background: rgba(253, 251, 246, 0.96);
  box-shadow: 0 1px 0 var(--line);
  backdrop-filter: blur(8px);
  padding: 12px 0;
}
.nav { display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; flex-direction: column; line-height: 1; }
.brand .name {
  font-family: var(--serif); font-size: 1.7rem; font-weight: 600;
  color: #fff; transition: color .3s ease;
}
.brand .place {
  font-size: 10px; letter-spacing: 0.32em; text-transform: uppercase;
  color: rgba(255,255,255,.75); margin-top: 3px; transition: color .3s ease;
}
.scrolled .brand .name { color: var(--text); }
.scrolled .brand .place { color: var(--accent); }

.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
  font-size: 14px; font-weight: 500; color: rgba(255,255,255,.9);
  transition: color .2s ease; padding: 4px 0; position: relative;
}
.nav-links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1.5px; width: 0;
  background: currentColor; transition: width .25s ease;
}
.nav-links a:not(.btn):hover::after { width: 100%; }
.scrolled .nav-links a { color: var(--text); }
.nav-links .btn { padding: 10px 22px; }
.scrolled .nav-links .btn-ghost { color: var(--text); border-color: var(--line); }
.scrolled .nav-links .btn-ghost:hover { background: var(--bg-soft); }

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  width: 38px; height: 38px; position: relative;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px; background: #fff;
  margin: 5px auto; transition: .3s; border-radius: 2px;
}
.scrolled .nav-toggle span { background: var(--text); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  color: #fff; text-align: center;
}
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(28,34,29,.55) 0%, rgba(28,34,29,.35) 40%, rgba(28,34,29,.72) 100%);
}
.hero-inner { max-width: 760px; margin: 0 auto; padding: 120px 24px 90px; }
.hero .eyebrow { color: rgba(255,255,255,.85); }
.hero h1 {
  font-size: clamp(2.8rem, 7vw, 5.2rem);
  letter-spacing: -0.015em; margin-bottom: 20px;
  text-shadow: 0 2px 30px rgba(0,0,0,.3);
}
.hero p.sub {
  font-size: 1.2rem; color: rgba(255,255,255,.92);
  max-width: 540px; margin: 0 auto 32px;
}
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-facts {
  display: flex; gap: 14px 36px; justify-content: center; flex-wrap: wrap;
  margin-top: 48px; padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,.22);
}
.hero-facts div { font-size: 14px; letter-spacing: .04em; }
.hero-facts strong { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; display: block; }

/* ---------- Highlights-Leiste ---------- */
.highlights {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
  margin-top: -70px; position: relative; z-index: 5;
}
.highlight {
  padding: 36px 26px; text-align: center;
  border-right: 1px solid var(--line);
}
.highlight:last-child { border-right: 0; }
.highlight .ic { color: var(--accent); margin-bottom: 12px; }
.highlight .num { font-family: var(--serif); font-size: 2.2rem; font-weight: 600; line-height: 1; }
.highlight .lbl { font-size: 14px; color: var(--text-soft); margin-top: 6px; }

/* ---------- Ueber das Haus (Split) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media { position: relative; }
.split-media img {
  width: 100%; height: 540px; object-fit: cover;
  border-radius: var(--radius); box-shadow: var(--shadow);
}
.split-media .badge {
  position: absolute; bottom: -26px; left: -26px;
  background: var(--bg-dark); color: #fff;
  padding: 22px 28px; border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.split-media .badge .b-num { font-family: var(--serif); font-size: 2rem; line-height: 1; }
.split-media .badge .b-lbl { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.75); margin-top: 4px; }
.prose p { color: var(--text-soft); margin-bottom: 16px; }
.prose p:last-child { margin-bottom: 0; }

/* ---------- Ausstattung ---------- */
.amenities {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
  margin-top: 48px;
}
.amenity {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px 24px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.amenity:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.amenity .ic {
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--bg-soft); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.amenity h4 { font-size: 1rem; font-weight: 600; margin-bottom: 4px; }
.amenity p { font-size: 14px; color: var(--text-soft); line-height: 1.5; }

/* ---------- Zimmer & Betten ---------- */
.rooms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.room-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.room-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.room-card img { width: 100%; height: 230px; object-fit: cover; }
.room-card .rc-body { padding: 22px 24px 26px; }
.room-card h4 { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; margin-bottom: 6px; }
.room-card p { font-size: 14px; color: var(--text-soft); }
.room-card .rc-tag {
  display: inline-block; margin-top: 12px; font-size: 12px;
  letter-spacing: .08em; text-transform: uppercase; color: var(--accent);
  font-weight: 600;
}

/* ---------- Galerie ---------- */
.gallery {
  display: grid; grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px; gap: 14px; margin-top: 48px;
}
.gallery figure {
  position: relative; overflow: hidden; border-radius: 10px;
  cursor: pointer; background: var(--bg-soft);
}
.gallery figure img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s ease;
}
.gallery figure:hover img { transform: scale(1.07); }
.gallery figure::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(28,34,29,.6));
  opacity: 0; transition: opacity .3s ease;
}
.gallery figure:hover::after { opacity: 1; }
.gallery figcaption {
  position: absolute; left: 16px; bottom: 14px; z-index: 2;
  color: #fff; font-size: 13px; font-weight: 500;
  opacity: 0; transform: translateY(8px); transition: .3s ease;
}
.gallery figure:hover figcaption { opacity: 1; transform: translateY(0); }
.g-wide { grid-column: span 2; }
.g-tall { grid-row: span 2; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(20, 25, 21, .94);
  display: none; align-items: center; justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 90vw; max-height: 82vh;
  border-radius: 8px; box-shadow: 0 20px 60px rgba(0,0,0,.5);
}
.lb-cap {
  position: absolute; bottom: 28px; left: 0; right: 0; text-align: center;
  color: rgba(255,255,255,.85); font-size: 14px;
}
.lb-btn {
  position: absolute; background: rgba(255,255,255,.12); border: 0;
  color: #fff; width: 52px; height: 52px; border-radius: 50%;
  font-size: 22px; cursor: pointer; transition: background .2s ease;
  display: flex; align-items: center; justify-content: center;
}
.lb-btn:hover { background: rgba(255,255,255,.25); }
.lb-prev { left: 26px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 26px; top: 50%; transform: translateY(-50%); }
.lb-close { top: 24px; right: 26px; }

/* ---------- Lage & Umgebung ---------- */
.location { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; }
.dist-list { margin: 28px 0 8px; }
.dist-list li {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 0; border-bottom: 1px solid var(--line);
}
.dist-list li:last-child { border-bottom: 0; }
.dist-list .d-ic { color: var(--accent); flex-shrink: 0; }
.dist-list .d-name { font-weight: 600; }
.dist-list .d-meta { font-size: 14px; color: var(--text-soft); }
.dist-list .d-time {
  margin-left: auto; font-size: 13px; font-weight: 600;
  background: var(--bg-soft); color: var(--accent-dk);
  padding: 6px 14px; border-radius: 999px; white-space: nowrap;
}
.map-frame {
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid var(--line);
}
.map-frame iframe { width: 100%; height: 420px; border: 0; display: block; }
.tip-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.tip-tags span {
  background: var(--white); border: 1px solid var(--line);
  padding: 8px 16px; border-radius: 999px; font-size: 13.5px;
  color: var(--text-soft);
}

/* ---------- Gut zu wissen ---------- */
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.info-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px 28px;
}
.info-card .ic { color: var(--accent); margin-bottom: 14px; }
.info-card h4 { font-size: 1.05rem; font-weight: 600; margin-bottom: 6px; }
.info-card p { font-size: 14.5px; color: var(--text-soft); }
.checkinout {
  display: flex; gap: 24px; flex-wrap: wrap;
  margin-top: 24px; justify-content: center;
}
.cio {
  display: flex; align-items: center; gap: 14px;
  background: var(--bg-soft); padding: 16px 26px; border-radius: var(--radius);
}
.cio .ic { color: var(--accent); }
.cio .cio-lbl { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-soft); }
.cio .cio-time { font-family: var(--serif); font-size: 1.4rem; font-weight: 600; }

/* ---------- Kontakt ---------- */
.contact { background: var(--bg-dark); color: #fff; }
.contact .eyebrow { color: #a9b9a0; }
.contact h2.title { color: #fff; }
.contact .lead { color: rgba(255,255,255,.7); }
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; margin-top: 48px; }
.contact-info li {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.12);
}
.contact-info li:last-child { border-bottom: 0; }
.contact-info .ic { color: #a9b9a0; flex-shrink: 0; margin-top: 2px; }
.contact-info .ci-lbl { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.contact-info .ci-val { font-size: 1.05rem; }
.contact-info a:hover { color: #a9b9a0; }

.form { background: var(--white); border-radius: var(--radius); padding: 36px; color: var(--text); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label {
  display: block; font-size: 13px; font-weight: 600;
  margin-bottom: 6px; color: var(--text);
}
.field input, .field textarea, .field select {
  width: 100%; font-family: var(--sans); font-size: 15px;
  padding: 12px 14px; border: 1.5px solid var(--line);
  border-radius: 9px; background: var(--bg); color: var(--text);
  transition: border-color .2s ease;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: 0; border-color: var(--accent);
}
.field textarea { resize: vertical; min-height: 110px; }
.form .btn { width: 100%; justify-content: center; margin-top: 6px; }
.form-note { font-size: 12.5px; color: var(--text-soft); margin-top: 14px; text-align: center; }
.form-msg {
  padding: 14px 16px; border-radius: 9px; font-size: 14px;
  margin-bottom: 18px; display: none;
}
.form-msg.ok  { display: block; background: #e7efe3; color: var(--accent-dk); }
.form-msg.err { display: block; background: #f6e3da; color: #9c5a32; }

/* ---------- Footer ---------- */
.site-footer { background: #232a25; color: rgba(255,255,255,.7); padding: 60px 0 28px; }
.footer-top {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px;
  padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand .name { font-family: var(--serif); font-size: 1.8rem; color: #fff; }
.footer-brand .place { font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: #a9b9a0; margin-top: 4px; }
.footer-brand p { margin-top: 14px; font-size: 14px; max-width: 320px; }
.footer-col h5 { color: #fff; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 16px; }
.footer-col li { margin-bottom: 10px; font-size: 14.5px; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  padding-top: 24px; font-size: 13px;
}
.footer-bottom a:hover { color: #fff; }

/* ---------- Rechtsseiten (Impressum/Datenschutz) ---------- */
.legal-hero {
  background: var(--bg-dark); color: #fff;
  padding: 150px 0 70px; text-align: center;
}
.legal-hero h1 { font-size: clamp(2.4rem, 5vw, 3.4rem); }
.legal-hero a { color: #a9b9a0; }
.legal-body { padding: 70px 0 90px; }
.legal-body .wrap { max-width: 820px; }
.legal-body h2 { font-size: 1.5rem; margin: 38px 0 12px; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body h3 { font-size: 1.15rem; margin: 24px 0 8px; }
.legal-body p { color: var(--text-soft); margin-bottom: 14px; }
.legal-body a { color: var(--accent); }
.back-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 30px; font-weight: 600; color: var(--accent);
}

/* ---------- Buchen ---------- */
.book-panel {
  position: relative; overflow: hidden;
  border-radius: var(--radius);
  padding: 84px 40px; text-align: center;
  color: #fff; box-shadow: var(--shadow);
}
.book-panel-bg { position: absolute; inset: 0; z-index: -2; }
.book-panel-bg img { width: 100%; height: 100%; object-fit: cover; }
.book-panel::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(155deg, rgba(44,53,46,.93) 0%, rgba(44,53,46,.80) 100%);
}
.book-panel .eyebrow { color: #a9b9a0; }
.book-panel h2 {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(2rem, 4vw, 3rem); color: #fff; margin-bottom: 16px;
}
.book-panel .lead { color: rgba(255,255,255,.82); margin: 0 auto 32px; }
.btn-xl { padding: 18px 46px; font-size: 16px; }
.book-trust {
  display: flex; gap: 16px 46px; justify-content: center; flex-wrap: wrap;
  margin-top: 40px;
}
.book-trust div {
  display: flex; align-items: center; gap: 10px;
  font-size: 14.5px; color: rgba(255,255,255,.88);
}
.book-trust .ic { color: #a9b9a0; flex-shrink: 0; }
.book-hint { font-size: 13px; color: rgba(255,255,255,.6); margin-top: 24px; }

/* ---------- Reveal-Animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .nav-links {
    position: fixed; top: 0; right: 0; bottom: 0; width: min(78vw, 320px);
    background: var(--bg); flex-direction: column; align-items: flex-start;
    justify-content: center; gap: 26px; padding: 40px;
    transform: translateX(100%); transition: transform .35s ease;
    box-shadow: -10px 0 40px rgba(0,0,0,.15);
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { color: var(--text) !important; font-size: 18px; }
  .nav-links .btn-ghost { border-color: var(--line); }
  .nav-toggle { display: block; z-index: 110; }
  .nav-open .nav-toggle span { background: var(--text) !important; }
  .nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .split, .location, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .split.reverse .split-media { order: 0; }
  .amenities { grid-template-columns: repeat(2, 1fr); }
  .rooms, .info-grid { grid-template-columns: repeat(2, 1fr); }
  .highlights { grid-template-columns: repeat(2, 1fr); }
  .highlight:nth-child(2) { border-right: 0; }
  .highlight:nth-child(1), .highlight:nth-child(2) { border-bottom: 1px solid var(--line); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .split-media img { height: 380px; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .section { padding: 70px 0; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .g-wide { grid-column: span 2; }
  .g-tall { grid-row: span 1; }
  .amenities, .rooms, .info-grid, .footer-top { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .form { padding: 26px 22px; }
  .split-media .badge { left: 50%; transform: translateX(-50%); bottom: -24px; }
  .hero-facts { gap: 14px 24px; }
  .lb-prev { left: 10px; } .lb-next { right: 10px; }
  .book-panel { padding: 56px 22px; }
  .book-trust { gap: 14px; flex-direction: column; align-items: center; }
}
