/* Farben aus dem Logo: Seeblau → Grün → Sonnengelb */
:root {
  --lake: #1d4e6b;
  --lake-deep: #143a51;
  --green: #5e9468;
  --sun: #e4cf55;
  --bg: #faf8f3;
  --surface: #ffffff;
  --ink: #1e2a30;
  --muted: #5b6870;
  --line: #e5e1d8;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(20, 58, 81, .10);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--lake); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.2; color: var(--lake-deep); margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section--alt { background: var(--surface); border-block: 1px solid var(--line); }
.eyebrow { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--green); font-weight: 700; margin-bottom: .6em; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 62ch; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 248, 243, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--lake-deep); }
.brand img { width: 42px; height: 42px; }
.brand span { font-family: var(--serif); font-size: 1.1rem; font-weight: 600; line-height: 1.15; }
.brand small { display: block; font-family: var(--sans); font-size: .72rem; color: var(--muted); font-weight: 500; letter-spacing: .04em; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 500; font-size: .95rem; }
.nav a:hover { color: var(--lake); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--lake-deep); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; border: 2px solid transparent;
  font: 600 .98rem var(--sans); text-decoration: none; cursor: pointer;
  transition: transform .15s, background .15s, color .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--lake); color: #fff; }
.btn--primary:hover { background: var(--lake-deep); }
.btn--ghost { border-color: currentColor; color: var(--lake); background: transparent; }
.btn--light { background: #fff; color: var(--lake-deep); }
.nav .btn { padding: 9px 18px; color: #fff; }

@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    display: none; padding: 8px 20px 20px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 12px; border-bottom: 0; }
}

/* Hero */
.hero { position: relative; min-height: min(86vh, 760px); display: grid; align-items: end; color: #fff; overflow: hidden; }
.hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,58,81,.10) 15%, rgba(20,58,81,.45) 45%, rgba(20,58,81,.80)); }
.hero .wrap { position: relative; z-index: 1; padding-bottom: clamp(40px, 8vw, 90px); }
.hero h1 { color: #fff; max-width: 16ch; text-shadow: 0 2px 20px rgba(0,0,0,.25); }
.hero p { font-size: 1.2rem; max-width: 52ch; opacity: .95; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.hero .btn--ghost { color: #fff; }

/* USP-Leiste */
.usps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.usp { display: flex; gap: 14px; align-items: flex-start; }
.usp svg { flex: none; width: 34px; height: 34px; color: var(--green); }
.usp strong { display: block; color: var(--lake-deep); }
.usp span { color: var(--muted); font-size: .93rem; }
@media (max-width: 900px) { .usps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .usps { grid-template-columns: 1fr; } }

/* Wohnungskarten */
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 40px; }
@media (max-width: 820px) { .cards { grid-template-columns: 1fr; } }
.card { background: var(--surface); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: transform .2s; }
.card:hover { transform: translateY(-4px); }
.card-img { aspect-ratio: 3 / 2; overflow: hidden; position: relative; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card-img img { transform: scale(1.04); }
.badge { position: absolute; top: 14px; left: 14px; background: rgba(255,255,255,.95); color: var(--lake-deep); font-size: .8rem; font-weight: 700; padding: 6px 12px; border-radius: 999px; }
.card-body { padding: 24px 26px 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-body h3 { margin: 0; font-size: 1.6rem; }
.facts { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--muted); font-size: .92rem; margin: 0; padding: 0; list-style: none; }
.rating { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--ink); }
.rating .star { color: #d9a400; }
.card .more { margin-top: auto; padding-top: 8px; font-weight: 600; color: var(--lake); }

/* Split-Abschnitte */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split--rev > :first-child { order: 2; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split--rev > :first-child { order: 0; } }
.checklist { list-style: none; padding: 0; margin: 0 0 1.2em; }
.checklist li { padding-left: 30px; position: relative; margin-bottom: .55em; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .45em; width: 16px; height: 9px; border-left: 2.5px solid var(--green); border-bottom: 2.5px solid var(--green); transform: rotate(-45deg); }

/* Erlebnis-Kacheln */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; }
@media (max-width: 860px) { .tiles { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .tiles { grid-template-columns: 1fr; } }
.tile { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.tile h3 { font-size: 1.12rem; margin-bottom: .35em; }
.tile p { margin: 0; color: var(--muted); font-size: .95rem; }

/* Bewertungen */
.scores { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; }
@media (max-width: 760px) { .scores { grid-template-columns: 1fr; } }
.score { background: var(--surface); border-radius: var(--radius); padding: 26px; text-align: center; box-shadow: var(--shadow); }
.score .num { font-family: var(--serif); font-size: 2.6rem; color: var(--lake-deep); line-height: 1; }
.score .lbl { color: var(--muted); font-size: .95rem; margin-top: 8px; }

/* FAQ */
.faq { max-width: 780px; margin: 36px auto 0; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; padding: 4px 22px; }
.faq summary { cursor: pointer; font-weight: 600; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--green); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); }

/* CTA-Band */
.cta { background: linear-gradient(120deg, var(--lake-deep), var(--lake) 55%, var(--green)); color: #fff; border-radius: 20px; padding: clamp(32px, 6vw, 60px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta h2 { color: #fff; margin: 0 0 .3em; }
.cta p { margin: 0; opacity: .9; }

/* Wohnungsseite */
.apt-head { padding: 36px 0 20px; }
.apt-head .facts { font-size: 1rem; margin-top: 6px; }
.gallery-hero { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 10px; height: clamp(320px, 52vw, 520px); border-radius: var(--radius); overflow: hidden; position: relative; }
.gallery-hero button { padding: 0; border: 0; cursor: zoom-in; overflow: hidden; background: var(--line); }
.gallery-hero button:first-child { grid-row: span 2; }
.gallery-hero img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery-hero button:hover img { transform: scale(1.03); }
.gallery-hero .all { position: absolute; right: 16px; bottom: 16px; background: #fff; color: var(--ink); border: 0; padding: 9px 16px; border-radius: 10px; font: 600 .9rem var(--sans); cursor: pointer; box-shadow: 0 4px 14px rgba(0,0,0,.2); }
@media (max-width: 700px) {
  .gallery-hero { grid-template-columns: 1fr; grid-template-rows: 1fr; height: 300px; }
  .gallery-hero button:not(:first-child):not(.all) { display: none; }
}

.apt-layout { display: grid; grid-template-columns: 1fr 380px; gap: 56px; align-items: start; padding: 40px 0 72px; }
@media (max-width: 980px) { .apt-layout { grid-template-columns: 1fr; } }
.apt-main section { padding: 28px 0; border-bottom: 1px solid var(--line); }
.apt-main section:first-child { padding-top: 0; }
.apt-main section:last-child { border-bottom: 0; }
.amenities { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 28px; list-style: none; padding: 0; margin: 0; }
@media (max-width: 560px) { .amenities { grid-template-columns: 1fr; } }
.amenities li { display: flex; gap: 12px; align-items: center; }
.amenities svg { width: 22px; height: 22px; color: var(--green); flex: none; }
.keyfacts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
@media (max-width: 560px) { .keyfacts { grid-template-columns: 1fr 1fr; } }
.keyfacts div { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px; text-align: center; }
.keyfacts strong { display: block; font-family: var(--serif); font-size: 1.5rem; color: var(--lake-deep); }
.keyfacts span { font-size: .85rem; color: var(--muted); }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.thumbs button { padding: 0; border: 0; border-radius: 8px; overflow: hidden; aspect-ratio: 4 / 3; cursor: zoom-in; background: var(--line); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }

.book-box { position: sticky; top: 88px; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px; border: 1px solid var(--line); }
.book-box h3 { margin-bottom: .2em; }
.book-box .hint { font-size: .9rem; color: var(--muted); }
.book-box .btn { width: 100%; margin-top: 12px; }
.book-box ul { padding-left: 18px; margin: 12px 0 0; color: var(--muted); font-size: .92rem; }

.booking-widget { min-height: 200px; background: var(--surface); border-radius: var(--radius); border: 1px solid var(--line); padding: 8px; }
.booking-widget .smoobu-booking-tool-container iframe { min-height: min(900px, 85vh); display: block; }
.booking-fallback { padding: 28px; text-align: center; }
.booking-fallback p { color: var(--muted); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(10, 20, 26, .94); display: none; align-items: center; justify-content: center; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 86vh; object-fit: contain; border-radius: 6px; }
.lightbox button { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; font-size: 1.6rem; cursor: pointer; }
.lightbox button:hover { background: rgba(255,255,255,.25); }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 18px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); color: #fff; opacity: .8; font-size: .9rem; }

/* Rechtstexte */
.legal { max-width: 780px; padding: 48px 20px 80px; }
.legal h2 { font-size: 1.4rem; margin-top: 1.6em; }
.todo { background: #fff6d6; border: 1px dashed #d4b106; padding: 2px 6px; border-radius: 4px; }

/* Footer */
.site-footer { background: var(--lake-deep); color: rgba(255,255,255,.82); padding: 56px 0 28px; font-size: .95rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; margin: 0 0 12px; font-size: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 6px; }
.footer-brand { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; }
.footer-brand img { width: 48px; height: 48px; background: #fff; border-radius: 50%; padding: 3px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.15); margin-top: 40px; padding-top: 20px; font-size: .85rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
