/* Layout: Header · Hero mit Sonnenuntergang am Horizont · Wohnungen (5 im Haus + 1 breit am Strand) · Lage · Kontakt-Band · Footer */
:root {
  --bg: #f5fbfc;
  --surface: #ffffff;
  --sand: #fcf3e2;
  --fg: #1b2a33;
  --muted: #536570;
  --line: #d6e6ea;
  --sea: #1479a6;
  --sea-deep: #0f6b96;
  --lagoon: #0e8f8a;
  --sun: #ffc234;
  --sun-ink: #3a2700;
  --on-sea: #ffffff;
  --font-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --radius: 14px;
  --maxw: 1160px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0e171a; --surface: #152226; --sand: #1a2a2e; --fg: #e6eeef; --muted: #9db0b4;
    --line: #26393e; --sea: #11658c; --sea-deep: #0e5677; --lagoon: #4cc3bd; --sun: #ffc234;
    --sun-ink: #3a2700; --on-sea: #ffffff; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0e171a; --surface: #152226; --sand: #1a2a2e; --fg: #e6eeef; --muted: #9db0b4;
  --line: #26393e; --sea: #11658c; --sea-deep: #0e5677; --lagoon: #4cc3bd; --sun: #ffc234;
  --sun-ink: #3a2700; --on-sea: #ffffff; color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 16px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.1; margin: 0; text-wrap: balance; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; border-radius: 4px; }

.wrap {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.eyebrow {
  font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
}

/* Header */
body::before {
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px);
  z-index: 30; background: var(--sea-deep);
}
.top {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: var(--sea-deep); color: var(--on-sea);
}
.top-in { display: flex; align-items: center; gap: 24px; padding-block: 12px; }
.logo {
  font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; text-decoration: none;
  display: flex; align-items: center; gap: 8px; white-space: nowrap;
}
.logo::before {
  content: ""; width: 18px; height: 18px; border-radius: 50%; background: var(--sun);
  box-shadow: 0 0 0 4px rgba(244, 178, 35, .25);
}
.logo span { color: var(--sun); }
.top nav { display: flex; gap: 20px; margin-left: auto; }
.top nav a { text-decoration: none; font-weight: 500; font-size: .95rem; opacity: .9; }
.top nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.lang select {
  font: 500 .9rem var(--font-body); color: var(--on-sea); background: transparent;
  border: 1px solid rgba(255, 255, 255, .35); border-radius: 8px; padding: 6px 10px; cursor: pointer;
}
.lang select option { color: #1d2427; background: #fff; }
@media (max-width: 720px) {
  .top-in { flex-wrap: wrap; gap: 8px 16px; }
  .top nav { order: 3; width: 100%; margin-left: 0; gap: 18px; overflow-x: auto; }
  .lang { margin-left: auto; }
}

/* Hero */
.hero {
  position: relative; overflow: hidden; color: var(--on-sea);
  background: linear-gradient(180deg, var(--sea-deep) 0%, var(--sea) 70%, #2f8c98 100%);
}
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-img + .hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 58, 92, .68), rgba(8, 58, 92, .08)); }
.hero-sun {
  position: absolute; right: 8%; bottom: -150px; width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, #ffd36b, var(--sun) 60%, #e4931c);
  box-shadow: 0 0 120px 40px rgba(244, 178, 35, .35);
}
.hero-sea {
  position: absolute; left: 0; right: 0; bottom: 0; height: 64px;
  background: repeating-linear-gradient(180deg, rgba(255,255,255,.10) 0 2px, transparent 2px 12px), var(--sea-deep);
}
.hero-img ~ .hero-sun, .hero-img ~ .hero-sea { display: none; }
.hero-in { position: relative; padding-block: 72px 120px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; max-width: var(--maxw); }
.hero-in > * { max-width: 640px; }
.hero h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); font-weight: 800; letter-spacing: -.02em; }
.hero-sub { font-size: 1.12rem; opacity: .92; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.facts {
  display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 18px 0 0; padding: 0; list-style: none;
  font-size: .92rem; font-variant-numeric: tabular-nums;
}
.facts strong { font-family: var(--font-display); font-size: 1.6rem; margin-right: 6px; color: var(--sun); }
.coord { font-size: .8rem; letter-spacing: .08em; opacity: .75; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 18px; border-radius: 10px; font-weight: 600; font-size: .95rem;
  text-decoration: none; border: 1.5px solid transparent; transition: transform .15s, background .15s;
}
.btn:hover { transform: translateY(-1px); }
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } .btn:hover { transform: none; } }
.btn-sun { background: var(--sun); color: var(--sun-ink); }
.btn-ghost { border-color: rgba(255, 255, 255, .55); color: var(--on-sea); }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); }
.btn-book { background: var(--sun); color: var(--sun-ink); }
.btn-book:hover { background: #ffb400; }
.btn-line { border-color: var(--line); color: var(--fg); background: transparent; }
.btn-line:hover { border-color: var(--lagoon); }

/* Sections */
.section { padding-block: 80px; }
.section-head { display: grid; gap: 12px; margin-bottom: 40px; max-width: 680px; }
.section-head h2 { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; letter-spacing: -.01em; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.eyebrow.dark { color: var(--lagoon); }

.group { display: grid; gap: 20px; }
.group + .group { margin-top: 56px; }
.group-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.group-head h3 { font-size: 1.5rem; }
.group-head p { color: var(--muted); }

/* Wohnungen-Raster: 2 oben, 3 unten */
.grid-haus { display: grid; gap: 20px; grid-template-columns: repeat(6, minmax(0, 1fr)); }
.grid-haus > .apt { grid-column: span 2; }
.grid-haus > .apt:nth-child(-n+2) { grid-column: span 3; }
@media (max-width: 960px) {
  .grid-haus { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-haus > .apt, .grid-haus > .apt:nth-child(-n+2) { grid-column: span 1; }
  .grid-haus > .apt:last-child:nth-child(odd) { grid-column: span 2; }
}
@media (max-width: 620px) {
  .grid-haus { grid-template-columns: minmax(0, 1fr); }
  .grid-haus > .apt:last-child:nth-child(odd) { grid-column: span 1; }
}

.apt {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; min-width: 0;
}
.apt-foto {
  position: relative; aspect-ratio: 4 / 3; max-width: 100%;
  background:
    linear-gradient(180deg, transparent 62%, color-mix(in srgb, var(--sea) 30%, transparent) 62% 64%, transparent 64%),
    linear-gradient(160deg, var(--sand), color-mix(in srgb, var(--lagoon) 25%, var(--sand)));
  display: grid; place-items: center;
}
.apt-foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.apt-ph { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.apt-body { padding: 20px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.apt-name { font-size: 1.3rem; font-weight: 700; }
.specs { display: flex; flex-wrap: wrap; gap: 4px 0; margin: 0; padding: 0; list-style: none; font-size: .9rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.specs li + li::before { content: "·"; margin: 0 8px; }
.apt-text { font-size: .97rem; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.chips li {
  font-size: .8rem; padding: 3px 10px; border-radius: 999px;
  background: color-mix(in srgb, var(--lagoon) 14%, transparent); color: var(--fg);
}
.apt-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 6px; }
.apt-lic { font-size: .75rem; color: var(--muted); font-variant-numeric: tabular-nums; }

.apt-wide { flex-direction: row; }
.apt-wide .apt-foto { flex: 1 1 55%; aspect-ratio: auto; min-height: 320px; }
.apt-wide .apt-body { flex: 1 1 45%; padding: 28px; }
.apt-wide .apt-name { font-size: 1.7rem; }
@media (max-width: 760px) {
  .apt-wide { flex-direction: column; }
  .apt-wide .apt-foto { aspect-ratio: 4 / 3; min-height: 0; }
}

/* Lage */
.lage { background: var(--sand); }
.lage-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 48px; align-items: start; }
@media (max-width: 860px) { .lage-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; } }
.lage .section-head { margin-bottom: 0; }
.lage-liste { list-style: none; margin: 0; padding: 0; }
.lage-liste li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding: 14px 0; border-bottom: 1px solid color-mix(in srgb, var(--fg) 14%, transparent);
}
.lage-liste li:first-child { border-top: 1px solid color-mix(in srgb, var(--fg) 14%, transparent); }
.lage-ort { font-weight: 500; min-width: 0; }
.lage-zeit { white-space: nowrap; color: var(--muted); font-size: .9rem; font-variant-numeric: tabular-nums; }
.lage-zeit strong { color: var(--fg); font-size: 1rem; }

/* Kontakt */
.kontakt { background: var(--sea); color: var(--on-sea); }
.kontakt .section-head p { color: var(--on-sea); opacity: .9; }
.kontakt .eyebrow { color: var(--sun); }
.kontakt-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; align-items: end; }
@media (max-width: 860px) { .kontakt-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; } }
.kontakt .section-head { margin-bottom: 0; }
.kontakt-daten { display: grid; gap: 14px; }
.kontakt-daten dl { margin: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 16px; font-size: 1.05rem; }
.kontakt-daten dt { opacity: .7; font-size: .85rem; align-self: center; }
.kontakt-daten dd { margin: 0; font-weight: 600; user-select: all; overflow-wrap: anywhere; }
.kontakt-btns { display: flex; flex-wrap: wrap; gap: 10px; }

/* Footer */
.foot { padding-block: 28px; font-size: .88rem; color: var(--muted); }
.foot-in { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
.foot nav { display: flex; gap: 18px; }
.grid-haus > .apt:nth-child(-n+2) .apt-foto { aspect-ratio: 16 / 9; }
@media (max-width: 960px) { .grid-haus > .apt:nth-child(-n+2) .apt-foto { aspect-ratio: 4 / 3; } }
@media (max-width: 620px) { .hero-sun { width: 160px; height: 160px; bottom: -70px; right: 6%; } .hero-in { padding-block: 48px 100px; } }
.checkin { font-size: .9rem; opacity: .8; font-variant-numeric: tabular-nums; }

/* Galerie */
.apt-galerie {
  position: absolute; right: 10px; bottom: 10px; z-index: 1;
  font: 600 .8rem var(--font-body); color: #fff; background: rgba(8, 30, 38, .72);
  border: 0; border-radius: 999px; padding: 6px 12px; cursor: pointer;
}
.apt-galerie::before { content: "▦ "; }
.lb {
  position: fixed; inset: 0; z-index: 50; background: rgba(5, 16, 20, .94);
  display: grid; place-items: center;
  padding: max(16px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) max(16px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
}
.lb-img { max-width: 100%; max-height: 82vh; object-fit: contain; border-radius: 6px; }
.lb-info { position: absolute; left: 0; right: 0; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); text-align: center; color: #e6eeef; font-size: .9rem; }
.lb-btn {
  position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, .14); color: #fff; font-size: 2rem; line-height: 1;
}
.lb-btn:hover { background: rgba(255, 255, 255, .26); }
.lb-zu { top: calc(16px + env(safe-area-inset-top, 0px)); right: calc(16px + env(safe-area-inset-right, 0px)); }
.lb-zur { left: calc(16px + env(safe-area-inset-left, 0px)); top: 50%; transform: translateY(-50%); }
.lb-vor { right: calc(16px + env(safe-area-inset-right, 0px)); top: 50%; transform: translateY(-50%); }

/* Haus-Fotos */
.haus-fotos { display: grid; gap: 12px; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: start; margin: 0; }
.haus-foto { margin: 0; display: grid; gap: 6px; min-width: 0; }
.haus-foto button { padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 10px; overflow: hidden; }
.haus-foto img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .3s; }
.haus-foto button:hover img { transform: scale(1.03); }
.haus-foto figcaption { font-size: .82rem; color: var(--muted); }
@media (max-width: 860px) {
  .haus-fotos { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) { .haus-foto img { transition: none; } }
.lage-foto { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); margin-top: 12px; }
.apt-wide .apt-foto img { object-position: center 60%; }
.apt-hinweis { font-size: .8rem; color: var(--muted); }
.nav-cam { display: inline-flex; align-items: center; gap: 6px; }
.nav-cam::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #e5484d; box-shadow: 0 0 0 3px rgba(229, 72, 77, .3); }

/* 360°-Rundgang */
.apt-360-btn {
  position: absolute; left: 10px; bottom: 10px; z-index: 1;
  font: 600 .8rem var(--font-body); color: var(--sun-ink); background: var(--sun);
  border: 0; border-radius: 999px; padding: 6px 12px; cursor: pointer;
}
.apt-360 { position: absolute; inset: 0; z-index: 2; background: #0b1416; display: flex; flex-direction: column; }
.apt-360 iframe { flex: 1; width: 100%; border: 0; display: block; }
.apt-360-leiste { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px; background: #0b1416; }
.apt-360-mini {
  font: 600 .78rem var(--font-body); color: #fff; background: rgba(255, 255, 255, .14);
  border: 0; border-radius: 999px; padding: 5px 11px; cursor: pointer; text-decoration: none;
}
.apt-360-mini:hover { background: rgba(255, 255, 255, .26); }
.apt-360:fullscreen { padding: 0; }

/* Eigene Seite pro Wohnung + Link teilen */
.apt-name a { color: inherit; text-decoration: none; }
.apt-name a:hover { text-decoration: underline; }
.apt-link { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 14px; font-size: .92rem; }
.apt-link a { color: inherit; font-weight: 600; }
.apt-teilen { font: inherit; font-weight: 600; color: inherit; background: none; border: 1px solid currentColor; border-radius: 999px; padding: 6px 14px; cursor: pointer; opacity: .85; }
.apt-teilen:hover { opacity: 1; }
.einzel { padding-top: 40px; }
.einzel .apt-name { font-size: clamp(1.6rem, 4vw, 2.2rem); }
.zurueck { display: inline-block; margin-bottom: 18px; color: inherit; font-weight: 600; text-decoration: none; }
.zurueck:hover { text-decoration: underline; }
.einzel-fotos { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; margin-top: 24px; }
.einzel-fotos button { padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 10px; overflow: hidden; aspect-ratio: 4 / 3; }
.einzel-fotos img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.einzel-fotos button:hover img { transform: scale(1.04); }

/* Webcam direkt in der Seite */
.cam-box { position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: #0b2a33; box-shadow: 0 10px 30px rgba(8, 63, 79, .15); }
.cam-box iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.cam-alt { margin: 10px 0 0; font-size: .9rem; text-align: right; }
.cam-alt a { color: inherit; opacity: .75; }
@media (max-width: 640px) { .cam-box { aspect-ratio: 4 / 5; } }
.cam-seite { padding-top: 40px; }
.cam-seite .cam-box { aspect-ratio: auto; height: min(78vh, 900px); min-height: 420px; }

/* Impressum und Datenschutz */
.legal { padding-block: 48px 80px; max-width: 760px; }
.legal h1 { font-size: clamp(1.8rem, 4vw, 2.2rem); margin-bottom: 24px; }
.legal h2 { font-size: 1.4rem; margin: 40px 0 12px; }
.legal p { margin-bottom: 12px; }
.legal a { color: inherit; }
.legal h2 { scroll-margin-top: 80px; }

/* Knöpfe in den Karten: immer nebeneinander, gleich hoch, ganz unten */
.apt-actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); align-items: stretch; }
.apt-actions .btn { padding: 11px 10px; text-align: center; line-height: 1.25; white-space: normal; }
.apt-wide .apt-actions { max-width: 460px; }

/* Gästebewertungen */
.bew-liste { columns: 3 300px; column-gap: 20px; }
.bew-seite { padding-top: 40px; }
.bew { break-inside: avoid; margin: 0 0 20px; padding: 24px; background: var(--surface); color: var(--fg); border: 1px solid var(--line); border-radius: 16px; }
.bew blockquote { margin: 0 0 14px; font-size: 1rem; line-height: 1.6; }
.bew figcaption { font-size: .8rem; color: var(--muted); }

/* Menü am Handy: alle Punkte sichtbar, notfalls zweizeilig */
@media (max-width: 720px) {
  .top nav { flex-wrap: wrap; overflow: visible; gap: 6px 16px; }
  .top nav a { font-size: .9rem; }
}

/* Booking-Auszeichnung */
.apt-award { width: 132px; height: auto; border-radius: 8px; display: block; }
.einzel .apt-award { width: 200px; }
.award-box { display: grid; gap: 16px; margin-bottom: 32px; }
.award-zeile { display: flex; align-items: center; gap: 24px; padding: 20px; background: var(--surface); color: var(--fg); border: 1px solid var(--line); border-radius: 16px; }
.award-zeile img { width: 240px; max-width: 45%; height: auto; border-radius: 10px; }
.award-txt p { margin: 0 0 10px; font-size: 1.05rem; line-height: 1.5; }
.award-txt a { color: inherit; font-weight: 600; }
@media (max-width: 560px) { .award-zeile { flex-direction: column; align-items: flex-start; } .award-zeile img { max-width: 100%; width: 100%; } }

/* Größere Schrift am Handy (Bedienungshilfen): nichts darf seitlich herauslaufen */
html, body { overflow-x: clip; }
h1, h2, h3, h4, p, a, li, dd, blockquote { overflow-wrap: break-word; }
h1, h2, h3 { hyphens: auto; -webkit-hyphens: auto; }
img, iframe { max-width: 100%; }

/* Freundlichere Farben: Kopfzeile Ozeanblau mit leichtem Verlauf, Kontakt-Band hell */
.top { background: linear-gradient(90deg, var(--sea-deep), var(--sea)); }
.kontakt { background: linear-gradient(135deg, var(--sea-deep), var(--sea)); }

/* Sehr große Schrift / sehr schmale Handys */
.logo { font-size: min(1.25rem, 6.2vw); min-width: 0; }
.top-in > * { min-width: 0; }
.award-txt { min-width: 0; }
@media (max-width: 560px) { .award-zeile { align-items: stretch; } }
@media (max-width: 420px) { .lage-zeit { white-space: normal; text-align: right; } }
.foot-in { flex-wrap: wrap; }
.foot-in > * { min-width: 0; }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.award-box { grid-template-columns: minmax(0, 1fr); }
