/* ===== Ferienhaus Saaler Bodden – Styles (Design nach Vorlage) ===== */
:root {
  --green-900: #2e3a1e;   /* Buttons, dunkle Flächen */
  --green-800: #3a4a26;
  --green-700: #46592e;   /* Überschriften */
  --green-500: #4d7c1f;   /* Logo-Grün */
  --sage: #a9c489;        /* Kalender frei */
  --sage-border: #93b273;
  --yellow: #f0c04a;      /* angefragt */
  --yellow-border: #ddab30;
  --red: #cd5449;         /* belegt */
  --red-border: #b6443a;
  --blue: #2f7cc4;
  --cream: #f4f2ea;       /* Seitenhintergrund */
  --card: #ffffff;
  --ink: #333d29;
  --muted: #6f7566;
  --line: #e5e2d4;
  --radius: 10px;
  --shadow: 0 2px 14px rgba(46, 58, 30, 0.07);
  --maxw: 1160px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  font-family: 'Outfit', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
}
h1, h2 { font-family: 'Fraunces', Georgia, serif; font-weight: 500; color: var(--green-700); }
img { max-width: 100%; display: block; }
a { color: var(--green-700); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

/* Uppercase-Sektionstitel wie in der Vorlage */
.sec-title {
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--ink);
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 26px; border-radius: 7px; text-decoration: none; cursor: pointer;
  font-family: 'Outfit', sans-serif; font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; border: none;
  transition: background 0.2s, transform 0.15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-dark { background: var(--green-900); color: #fff; }
.btn-dark:hover { background: #222c15; }
.btn-outline {
  background: transparent; color: var(--ink); border: 1px solid #c9c5b4;
  padding: 10px 22px;
}
.btn-outline:hover { background: var(--green-900); color: #fff; border-color: var(--green-900); }

/* ===== Header ===== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: #fff; border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 92px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 13px; text-decoration: none; }
.brand img { width: 62px; height: 62px; }
.brand img.brand-logo { width: auto; height: 60px; }
.brand .wordmark { line-height: 1.05; }
.brand .wordmark b {
  display: block; font-family: 'Fraunces', Georgia, serif; font-weight: 600;
  color: var(--green-700); font-size: 1.28rem; letter-spacing: 0.04em;
}
.brand .wordmark b + b { color: var(--green-500); font-size: 1.05rem; letter-spacing: 0.12em; }
.brand .wordmark small {
  display: block; font-size: 0.58rem; font-weight: 500; letter-spacing: 0.22em;
  color: var(--muted); text-transform: uppercase; margin-top: 4px;
}
.main-nav { display: flex; align-items: center; gap: 34px; }
.main-nav a {
  text-decoration: none; color: var(--ink); font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.13em; text-transform: uppercase; padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.main-nav a:hover, .main-nav a.active { color: var(--green-700); border-bottom-color: var(--green-500); }
.main-nav a.btn-dark { color: #fff; border-bottom: none; padding: 12px 22px; }
.main-nav a.btn-dark:hover { color: #fff; border-bottom: none; }
.nav-toggle { display: none; background: none; border: none; font-size: 1.7rem; cursor: pointer; color: var(--ink); }

/* ===== Hero ===== */
.hero {
  margin-top: 92px; position: relative; min-height: 560px;
  background-color: #dfe8d0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  display: flex; align-items: center;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(265deg, rgba(244, 242, 234, 0.88) 0%, rgba(244, 242, 234, 0.55) 34%, rgba(244, 242, 234, 0) 62%);
}
.hero-content {
  position: relative; max-width: 560px; margin: 70px 0 70px auto;
  padding: 42px 46px;
  background: rgba(244, 242, 234, 0.88);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  border-radius: 14px;
}
.hero h1 { font-size: clamp(2.6rem, 5.4vw, 4.1rem); line-height: 1.08; margin-bottom: 22px; }
.hero p { font-size: 1.08rem; color: var(--ink); margin-bottom: 34px; }

/* ===== Vorteile ===== */
.benefits { background: #fff; padding: 60px 0 54px; border-bottom: 1px solid var(--line); }
.benefits .sec-title { text-align: center; display: block; margin-bottom: 44px; }
.benefits-row { display: flex; flex-wrap: wrap; justify-content: center; }
.benefit {
  flex: 1 1 120px; max-width: 150px; text-align: center; padding: 0 14px;
  border-left: 1px solid var(--line);
}
.benefit:first-child { border-left: none; }
.benefit svg { width: 40px; height: 40px; margin: 0 auto 12px; stroke: var(--green-700); }
.benefit p { font-size: 0.78rem; line-height: 1.45; color: var(--ink); }
.benefit p small { display: block; color: var(--muted); font-size: 0.68rem; margin-top: 5px; }

/* ===== Buchungsbereich (Kalender + Anfrage) ===== */
.booking { padding: 56px 0; }
.booking-grid { display: grid; grid-template-columns: 1.45fr 1fr; gap: 28px; align-items: start; }
.panel {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 30px 32px;
}
.panel .sec-title { display: block; margin-bottom: 24px; }

/* Kalender */
.cal-head {
  display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px;
}
.cal-head button {
  background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--ink);
  width: 38px; height: 38px; border-radius: 50%;
}
.cal-head button:hover { background: var(--cream); }
.cal-head .cal-title {
  font-size: 0.9rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
}
.cal-week, .cal-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 7px; }
.cal-week span {
  text-align: center; font-size: 0.68rem; font-weight: 600; letter-spacing: 0.12em;
  color: var(--muted); text-transform: uppercase; padding-bottom: 10px;
}
.cal-days span {
  height: 40px; display: flex; align-items: center; justify-content: center;
  font-size: 0.88rem; font-weight: 500; border-radius: 6px;
  background: #fff; border: 1px solid var(--line); color: var(--ink);
}
.cal-days span.empty { background: transparent; border: none; }
.cal-days span.free { background: var(--sage); border-color: var(--sage-border); }
.cal-days span.req { background: var(--yellow); border-color: var(--yellow-border); }
.cal-days span.booked { background: var(--red); border-color: var(--red-border); color: #fff; }
.cal-days span.past { background: #fff; color: #c2bfae; }
.cal-legend { display: flex; gap: 26px; margin-top: 22px; font-size: 0.82rem; color: var(--ink); }
.cal-legend i {
  display: inline-block; width: 14px; height: 14px; border-radius: 4px; margin-right: 8px;
  vertical-align: -2px; font-style: normal; border: 1px solid var(--line);
}
.cal-legend .i-free { background: var(--sage); border-color: var(--sage-border); }
.cal-legend .i-req { background: var(--yellow); border-color: var(--yellow-border); }
.cal-legend .i-booked { background: var(--red); border-color: var(--red-border); }
.cal-hint { margin-top: 16px; font-size: 0.78rem; color: var(--muted); }

/* Anfrage-Panel */
.inq-field { position: relative; margin-bottom: 16px; }
.inq-field label {
  display: block; font-size: 0.78rem; font-weight: 600; color: var(--ink); margin-bottom: 6px;
}
.inq-field input, .inq-field select {
  width: 100%; padding: 13px 14px; border: 1px solid #d5d2c2; border-radius: 7px;
  font-family: inherit; font-size: 0.92rem; background: #fff; color: var(--ink);
}
.inq-field input:focus, .inq-field select:focus { outline: 2px solid var(--green-500); border-color: transparent; }
.inq-panel .btn { width: 100%; margin-top: 8px; }
.inq-note { font-size: 0.76rem; color: var(--muted); margin-top: 14px; }

/* ===== Drei Info-Karten ===== */
.trio { padding: 0 0 64px; }
.trio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.tcard {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 26px; display: flex; flex-direction: column;
}
.tcard .sec-title { display: block; margin-bottom: 20px; font-size: 0.85rem; }
.tcard img { border-radius: 7px; height: 190px; width: 100%; object-fit: cover; margin-bottom: 20px; }
.tcard h4 {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  margin: 12px 0 6px; color: var(--ink);
}
.tcard ul { list-style: none; }
.tcard ul li { font-size: 0.86rem; color: var(--ink); padding: 3px 0 3px 16px; position: relative; }
.tcard ul li::before { content: '•'; position: absolute; left: 2px; color: var(--green-500); }
.tcard ul li small { color: var(--muted); }
.tcard .price-row {
  display: flex; justify-content: space-between; font-size: 0.86rem;
  padding: 6px 0; border-bottom: 1px solid var(--line);
}
.tcard .price-row b { font-weight: 600; }
.tcard .tcard-note { font-size: 0.8rem; color: var(--muted); margin-top: 14px; }
.tcard .btn-outline { margin-top: auto; align-self: flex-start; margin-top: 22px; }

/* ===== Detail-Sektionen ===== */
.detail { padding: 72px 0; }
.detail.alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.detail .sec-title { display: block; margin-bottom: 8px; color: var(--green-500); }
.detail h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: 34px; }
.detail-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; }
.dcard { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.detail.alt .dcard { background: var(--cream); box-shadow: none; }
.dcard img { height: 200px; width: 100%; object-fit: cover; }
.dcard .dcard-body { padding: 24px; }
.dcard h3 { font-family: 'Fraunces', Georgia, serif; font-size: 1.25rem; color: var(--green-700); margin-bottom: 10px; }
.dcard p, .dcard li { font-size: 0.9rem; color: var(--ink); }
.dcard ul { list-style: none; margin-top: 6px; }
.dcard ul li { padding: 4px 0 4px 18px; position: relative; }
.dcard ul li::before { content: '✓'; position: absolute; left: 0; color: var(--green-500); font-weight: 700; }

/* Galerie */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.gallery-grid a { display: block; border-radius: 8px; overflow: hidden; }
.gallery-grid img { height: 180px; width: 100%; object-fit: cover; transition: transform 0.3s; }
.gallery-grid a:hover img { transform: scale(1.05); }
.lightbox {
  position: fixed; inset: 0; z-index: 300; background: rgba(36, 43, 25, 0.93);
  display: none; align-items: center; justify-content: center; padding: 4vh 4vw;
}
.lightbox.open { display: flex; }
.lightbox img { max-height: 90vh; max-width: 92vw; border-radius: 8px; }
.lightbox button { position: absolute; top: 18px; right: 24px; background: none; border: none; color: #fff; font-size: 2.2rem; cursor: pointer; }

/* Preistabelle + Infos */
.price-layout { display: grid; grid-template-columns: 1.2fr 1fr; gap: 36px; align-items: start; }
.price-table { width: 100%; border-collapse: collapse; background: var(--card); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.price-table th, .price-table td { padding: 12px 18px; text-align: left; font-size: 0.9rem; }
.price-table thead th {
  background: var(--green-900); color: #fff; font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
}
.price-table tbody tr { border-bottom: 1px solid var(--line); }
.price-table tbody tr:last-child { border-bottom: none; }
.price-table td:nth-child(2) { font-weight: 600; }
.price-note { font-size: 0.82rem; color: var(--muted); margin-top: 14px; }
details.info { background: var(--card); border: 1px solid var(--line); border-radius: 8px; margin-bottom: 12px; }
details.info summary {
  padding: 15px 18px; font-weight: 600; font-size: 0.9rem; cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center;
}
details.info summary::after { content: '+'; font-size: 1.25rem; color: var(--green-500); }
details.info[open] summary::after { content: '–'; }
details.info .detail-body { padding: 0 18px 16px; color: var(--muted); font-size: 0.88rem; }
details.info table { width: 100%; border-collapse: collapse; font-size: 0.86rem; }
details.info table td { padding: 5px 0; }
details.info table td:last-child { text-align: right; font-weight: 600; color: var(--ink); }

/* Kontakt */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
.contact-grid h3 { font-family: 'Fraunces', Georgia, serif; color: var(--green-700); font-size: 1.2rem; margin: 18px 0 6px; }
.contact-grid p { font-size: 0.92rem; }

/* ===== Rechtliches (Unterseiten) ===== */
.legal-page { padding: 140px 0 80px; max-width: 820px; }
.legal-page h1 { font-size: 2.2rem; margin-bottom: 24px; }
.legal-page h2 { font-family: 'Fraunces', Georgia, serif; font-size: 1.25rem; color: var(--green-700); margin: 30px 0 8px; }
.legal-page p { margin-bottom: 12px; color: var(--muted); font-size: 0.95rem; }

/* ===== Footer ===== */
.site-footer { background: var(--cream); padding-top: 30px; }
.footer-scene { display: block; width: 100%; height: auto; }
.footer-main {
  background: var(--cream); border-top: 1px solid var(--line);
  padding: 34px 0 30px;
}
.footer-main .wrap { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px; }
.footer-brand { display: flex; align-items: center; gap: 13px; text-decoration: none; }
.footer-brand img { width: auto; height: 68px; }
.footer-links { text-align: right; font-size: 0.85rem; }
.footer-links a { color: var(--ink); text-decoration: none; margin-left: 18px; }
.footer-links a:hover { color: var(--green-500); }
.footer-links .copy { display: block; margin-top: 10px; color: var(--muted); }

/* ===== Responsive ===== */
@media (max-width: 1000px) {
  .booking-grid, .price-layout, .contact-grid { grid-template-columns: 1fr; }
  .trio-grid { grid-template-columns: 1fr; }
  .benefit { flex-basis: 30%; max-width: none; margin-bottom: 26px; }
}
@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute; top: 92px; left: 0; right: 0; background: #fff;
    flex-direction: column; padding: 22px; gap: 18px; border-bottom: 1px solid var(--line);
    display: none;
  }
  .main-nav.open { display: flex; }
  .brand .wordmark b { font-size: 1.05rem; }
  .brand .wordmark b + b { font-size: 0.9rem; }
  .brand img.brand-logo { height: 46px; }
  .hero { min-height: 480px; }
  .hero::before { background: rgba(244, 242, 234, 0.25); }
  .hero-content { margin: 46px 0; padding: 28px 24px; }
  .benefit { flex-basis: 45%; border-left: none; }
  .panel { padding: 22px; }
}
