/* Farben und Schriften: site/css/marke.css (erzeugt aus design/marke.json) */
:root {
  --radius: 10px;
  --wrap: 1100px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 70px; }
body {
  margin: 0;
  font: 17px/1.65 var(--sans);
  color: var(--ink);
  background: var(--paper);
}
img { max-width: 100%; display: block; }
a { color: var(--sea); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.2; }
h2 { font-size: clamp(1.8rem, 4vw, 2.4rem); margin: 0 0 1rem; }
h3 { font-size: 1.3rem; margin: 2rem 0 1rem; color: var(--muted); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.section { padding: 72px 0; }
.section-alt { background: var(--sand); }
.lead { font-size: 1.1rem; color: var(--muted); max-width: 60ch; }

/* Buttons */
.btn {
  display: inline-block;
  background: var(--sea);
  color: #fff;
  text-decoration: none;
  padding: .7em 1.3em;
  border-radius: 999px;
  font-weight: 600;
  border: 2px solid var(--sea);
  cursor: pointer;
  font-size: 1rem;
  transition: background .15s;
}
.btn:hover { background: var(--sea-dark); border-color: var(--sea-dark); }
.btn-ghost { background: transparent; border-color: #fff; color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.15); border-color: #fff; }
.btn-small { padding: .35em 1em; font-size: .95rem; }
.header-book { display: none; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 12px 20px;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.brand { font-family: var(--serif); font-size: 1.25rem; font-weight: 700; color: var(--ink); text-decoration: none; white-space: nowrap; }
.brand span { color: var(--sea); }
.site-header nav { display: flex; align-items: center; gap: 1.2rem; }
.site-header nav a:not(.btn) { color: var(--ink); text-decoration: none; font-size: .95rem; }
.site-header nav a:not(.btn):hover { color: var(--sea); }

/* Hero */
.hero { position: relative; min-height: min(78vh, 760px); display: flex; align-items: flex-end; color: #fff; }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,30,45,.75) 0%, rgba(10,30,45,.2) 55%, rgba(10,30,45,0) 100%); }
.hero-text { position: relative; z-index: 1; max-width: var(--wrap); width: 100%; margin: 0 auto; padding: 0 20px 64px; }
.hero h1 { font-size: clamp(2.4rem, 7vw, 4.2rem); margin: .2em 0 .3em; }
.hero p { font-size: 1.2rem; max-width: 40ch; margin: 0 0 1.5rem; }
.eyebrow { font-size: .9rem !important; letter-spacing: .08em; text-transform: uppercase; opacity: .9; margin: 0 !important; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }

/* Two columns */
.two-col { display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: start; }
.facts { list-style: none; margin: 0; padding: 28px; background: var(--sand); border-radius: var(--radius); }
.facts li { padding: .65rem 0; border-bottom: 1px solid var(--line); }
.facts li:last-child { border-bottom: 0; }
.facts strong { color: var(--sea); }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.gallery a { display: block; overflow: hidden; border-radius: 6px; aspect-ratio: 4 / 3; background: var(--line); }
.gallery-wide a { aspect-ratio: 2 / 1; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.gallery a:hover img { transform: scale(1.04); }
.gallery-wide { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); margin-top: 1.5rem; }

/* Map */
address { font-style: normal; font-size: 1.1rem; margin-bottom: 1.5rem; }
.map { aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: #dfe7ea; }
.map iframe { width: 100%; height: 100%; border: 0; }
.map-consent { height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 24px; gap: .5rem; color: var(--muted); font-size: .95rem; }

/* Calendar */
.legend { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem 1rem; color: var(--muted); }
.swatch { display: inline-block; width: 18px; height: 14px; border: 1px solid #bbb; vertical-align: middle; margin-right: -.6rem; }
.swatch.free { background: #ccffd9; }
.swatch.booked { background: #ff8c8c; }
.swatch.half { background: linear-gradient(135deg, #ff8c8c 50%, #ccffd9 50%); }
.calendar { overflow-x: auto; margin: 1rem 0; -webkit-overflow-scrolling: touch; }
.calendar img { max-width: none; height: auto; }
.cta { margin-top: 2.5rem; padding: 28px; background: var(--sand); border-radius: var(--radius); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.cta p { margin: 0; max-width: 55ch; }

/* Footer */
.site-footer { background: var(--sea-dark); color: #d8e3ea; padding: 32px 0; font-size: .95rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; }
.site-footer p { margin: 0; }
.site-footer a { color: #fff; }

/* Legal pages */
.legal { max-width: 760px; padding-top: 48px; padding-bottom: 72px; }
.legal h1 { font-size: 2.2rem; }
.legal h2 { font-size: 1.4rem; margin-top: 2rem; }

/* Lightbox */
.lightbox { padding: 0; border: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(5,15,22,.97); }
.lightbox[open] { display: flex; flex-direction: column; align-items: center; justify-content: center; }
.lightbox img { max-width: 92vw; max-height: 84vh; object-fit: contain; border-radius: 4px; }
.lightbox .caption { color: #e5edf2; margin: .8rem 0 0; text-align: center; padding: 0 60px; }
.lightbox button { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; font-size: 1.8rem; line-height: 1; cursor: pointer; }
.lightbox button:hover { background: rgba(255,255,255,.25); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }

/* Mobile */
@media (max-width: 860px) {
  .two-col { grid-template-columns: 1fr; gap: 32px; }
  .site-header { flex-wrap: wrap; padding: 10px 16px; }
  .site-header nav { gap: .9rem; overflow-x: auto; width: 100%; padding-bottom: 2px; }
  .site-header nav a { white-space: nowrap; }
  .section { padding: 52px 0; }
  .wrap { padding: 0 16px; }
  .hero { min-height: min(70vh, 620px); }
  .hero::after { background: linear-gradient(to top, rgba(10,30,45,.88) 0%, rgba(10,30,45,.55) 60%, rgba(10,30,45,.15) 100%); }
  .header-book { display: inline-block; }
  .site-header nav .btn { display: none; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 6px; }
  .gallery-wide { grid-template-columns: 1fr; }
  .lb-prev, .lb-next { top: auto; bottom: 16px; transform: none; }
}
