/* ==========================================================================
   Ferienhaus Emma Heiligenhafen – Stylesheet
   Farben, Schriften und Abstände lassen sich oben in :root anpassen.
   ========================================================================== */

:root {
  --navy: #1f3a4f;
  --navy-dark: #152a3a;
  --sea: #3b6d8c;
  --sea-soft: #e4eef3;
  --sand: #f6f1e8;
  --sand-dark: #ebe3d3;
  --gold: #b6924f;
  --gold-text: #7d5f22;
  --ink: #22303c;
  --muted: #566572;
  --line: #ddd5c6;
  --white: #fff;

  --font-head: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px rgba(21, 42, 58, .12);
  --shadow-sm: 0 2px 10px rgba(21, 42, 58, .1);
  --header-h: 68px;
  --wrap: 1160px;
  --gutter: clamp(16px, 4vw, 32px);
  --section-y: clamp(56px, 9vw, 112px);
}

/* ---------- Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 8px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--sea); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy); line-height: 1.2; margin: 0 0 .5em; font-weight: 600; }
h1 { font-size: clamp(2.4rem, 7vw, 4.4rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.8rem, 4.5vw, 2.7rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 760px; }
.center { text-align: center; margin-inline: auto; }
.section { padding-block: var(--section-y); }
.section--sand { background: var(--sand); }
.section--sea { background: var(--sea-soft); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 300; background: var(--navy); color: #fff;
  padding: 10px 16px; border-radius: 0 0 var(--radius-sm) var(--radius-sm); text-decoration: none;
}
.skip-link:focus { top: 0; color: #fff; }

.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold-text); margin-bottom: .8rem;
}
.lead { font-size: clamp(1.1rem, 2.2vw, 1.3rem); color: var(--muted); }
.section-head { max-width: 720px; margin-bottom: clamp(28px, 5vw, 52px); }
.section-head.center { text-align: center; }

.icon { width: 1.4em; height: 1.4em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .85em 1.6em; border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--gold); color: #fff; box-shadow: 0 6px 16px rgba(182, 146, 79, .4); }
.btn--primary:hover { background: #a47f3f; color: #fff; }
.btn--ghost { border-color: rgba(255, 255, 255, .75); color: #fff; background: rgba(255, 255, 255, .08); backdrop-filter: blur(4px); }
.btn--ghost:hover { background: #fff; color: var(--navy); }
.btn--dark { background: var(--navy); color: #fff; }
.btn--dark:hover { background: var(--navy-dark); color: #fff; }
.btn--outline { border-color: var(--navy); color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: #fff; }

/* ---------- Kopfzeile ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  transition: box-shadow .25s;
}
.site-header.is-scrolled { box-shadow: 0 2px 16px rgba(21, 42, 58, .12); }
.site-header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { height: 50px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  display: block; padding: .5em .85em; border-radius: 999px; font-size: .97rem; font-weight: 500;
  color: var(--navy); text-decoration: none; transition: background-color .2s, color .2s;
}
.nav a:hover, .nav a.is-active { background: var(--sea-soft); color: var(--navy); }
.nav .nav-cta, .nav .nav-cta.is-active { background: var(--navy); color: #fff; margin-left: 8px; padding-inline: 1.2em; }
.nav .nav-cta:hover { background: var(--gold); color: #fff; }

.nav-toggle {
  display: none; width: 46px; height: 46px; border: 0; border-radius: 50%; background: transparent; cursor: pointer;
  position: relative; color: var(--navy);
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 12px; right: 12px; height: 2px; background: currentColor; border-radius: 2px;
  transition: transform .25s, opacity .2s, top .25s;
}
.nav-toggle span { top: 22px; }
.nav-toggle span::before { left: 0; right: 0; top: -7px; }
.nav-toggle span::after { left: 0; right: 0; top: 7px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; padding: 8px var(--gutter) 24px; box-shadow: 0 18px 30px rgba(21, 42, 58, .18);
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: transform .25s, opacity .25s, visibility .25s;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav a { padding: .95em .4em; border-radius: 0; border-bottom: 1px solid var(--line); font-size: 1.1rem; }
  .nav a:hover, .nav a.is-active { background: transparent; color: var(--gold-text); }
  .nav .nav-cta, .nav .nav-cta.is-active { margin: 16px 0 0; text-align: center; border-radius: 999px; border-bottom: 0; background: var(--navy); color: #fff; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: min(100svh, 860px); display: grid; align-items: center;
  padding: calc(var(--header-h) + 40px) 0 clamp(120px, 16vw, 170px); color: #fff; isolation: isolate; overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; opacity: 0; transition: opacity 1.4s ease; }
.hero-media img.is-active { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .hero-media img { transition: none; } }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(15, 30, 44, .5) 0%, rgba(15, 30, 44, .28) 40%, rgba(15, 30, 44, .68) 100%);
}
.hero h1 { color: #fff; margin-bottom: .3em; text-shadow: 0 2px 24px rgba(0, 0, 0, .35); }
.hero .eyebrow { color: #f0dcae; }
.hero-tagline { font-size: clamp(1.15rem, 2.8vw, 1.6rem); font-family: var(--font-head); font-style: italic; margin-bottom: .6em; }
.hero-sub { max-width: 560px; font-size: 1.1rem; opacity: .95; margin-bottom: 1.8em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-wave { position: absolute; left: 0; right: 0; bottom: -1px; height: clamp(38px, 6vw, 80px); color: var(--white); pointer-events: none; }
.hero-wave svg { display: block; width: 100%; height: 100%; }

/* Eckdaten unter dem Hero */
.facts {
  position: relative; z-index: 2; margin-top: calc(-1 * clamp(64px, 8vw, 84px));
}
.facts-list {
  display: grid; grid-template-columns: repeat(6, 1fr); background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow); padding: clamp(14px, 2vw, 22px);
}
.facts-list li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 10px 6px; color: var(--navy); }
.facts-list .icon { width: 1.9rem; height: 1.9rem; color: var(--gold); }
.facts-list strong { font-family: var(--font-head); font-size: 1.15rem; line-height: 1.2; }
.facts-list span { font-size: .85rem; color: var(--muted); line-height: 1.3; }
@media (max-width: 860px) { .facts-list { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) {
  .facts { margin-top: -48px; }
  .facts-list { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Willkommen ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 6vw, 80px); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.welcome-photos { position: relative; padding-bottom: 12%; }
.welcome-photos a { display: block; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); }
.welcome-photos img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.welcome-photos a:hover img { transform: scale(1.04); }
.welcome-photos .wp-main { aspect-ratio: 4 / 3; }
.welcome-photos .wp-side {
  position: absolute; right: -2%; bottom: 0; width: 52%; aspect-ratio: 3 / 2; border: 6px solid #fff;
}
@media (max-width: 860px) { .welcome-photos .wp-side { right: 0; } }
.checklist { display: grid; gap: .55rem; margin: 1.4rem 0 1.8rem; }
.checklist li { position: relative; padding-left: 1.9rem; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .42em; width: 1.05rem; height: .6rem;
  border-left: 2.5px solid var(--gold); border-bottom: 2.5px solid var(--gold); transform: rotate(-45deg) scale(.9); transform-origin: center;
}

/* ---------- Rundgang ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.4vw, 28px); }
@media (max-width: 960px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cards { grid-template-columns: 1fr; } }
.card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.card > a { position: relative; display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--sand-dark); }
.card > a img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.card > a:hover img { transform: scale(1.05); }
.card > a::after {
  content: ""; position: absolute; right: 12px; bottom: 12px; width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255, 255, 255, .92) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f3a4f' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M15 3h6v6M9 21H3v-6M21 3l-7 7M3 21l7-7'/%3E%3C/svg%3E") center / 18px no-repeat;
  opacity: 0; transform: scale(.85); transition: opacity .25s, transform .25s;
}
.card > a:hover::after, .card > a:focus-visible::after { opacity: 1; transform: none; }
@media (hover: none) { .card > a::after { opacity: 1; transform: none; } }
.card-body { padding: 20px 22px 24px; }
.card-body h3 { margin-bottom: .35em; }
.card-body p { margin: 0; color: var(--muted); font-size: 1rem; }

.video-feature { display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; max-width: 900px; margin: 0 auto clamp(36px, 6vw, 64px); }
@media (max-width: 720px) { .video-feature { grid-template-columns: 1fr; justify-items: center; text-align: center; } }
.video-frame { position: relative; width: min(78vw, 340px); aspect-ratio: 9 / 16; border-radius: 22px; overflow: hidden; background: #000; box-shadow: var(--shadow); }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-play { position: absolute; inset: 0; width: 100%; padding: 0; border: 0; cursor: pointer; background: #000; }
.video-play img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: opacity .3s, transform .6s; }
.video-play:hover img { opacity: 1; transform: scale(1.03); }
.play-icon { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; background: rgba(255, 255, 255, .94); box-shadow: 0 8px 28px rgba(0, 0, 0, .35); display: grid; place-items: center; transition: transform .25s; }
.video-play:hover .play-icon { transform: scale(1.08); }
.play-icon svg { width: 34px; height: 34px; fill: var(--navy); margin-left: 4px; }
.video-text h3 { font-size: 1.6rem; }
/* ---------- Ausstattung ---------- */
.spec-table {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 clamp(24px, 5vw, 64px);
  background: #fff; border-radius: var(--radius); padding: clamp(8px, 2vw, 18px) clamp(18px, 3vw, 36px); box-shadow: var(--shadow-sm);
  margin: 0 0 clamp(32px, 5vw, 56px);
}
@media (max-width: 720px) { .spec-table { grid-template-columns: 1fr; } }
.spec-table div { display: flex; justify-content: space-between; gap: 16px; padding: .8em 0; border-bottom: 1px solid var(--line); }
.spec-table dt { color: var(--muted); }
.spec-table dd { margin: 0; font-weight: 600; color: var(--navy); text-align: right; }
.amenities { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.4vw, 28px); }
@media (max-width: 960px) { .amenities { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .amenities { grid-template-columns: 1fr; } }
.amenity { background: #fff; border-radius: var(--radius); padding: 22px 24px 20px; box-shadow: var(--shadow-sm); }
.amenity h3 { display: flex; align-items: center; gap: .55rem; font-size: 1.15rem; margin-bottom: .7em; padding-bottom: .6em; border-bottom: 2px solid var(--sand-dark); }
.amenity h3 .icon { color: var(--gold); }
.amenity li { position: relative; padding: .18em 0 .18em 1.4rem; font-size: .98rem; }
.amenity li::before {
  content: ""; position: absolute; left: .1rem; top: .72em; width: .6rem; height: .32rem;
  border-left: 2px solid var(--sea); border-bottom: 2px solid var(--sea); transform: rotate(-45deg);
}
.amenity li small { color: var(--muted); }
.note { margin-top: 1.6rem; color: var(--muted); font-size: .95rem; }

/* ---------- Umgebung ---------- */
.area-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 2vw, 22px); margin-top: clamp(28px, 4vw, 44px); }
@media (max-width: 960px) { .area-grid { grid-template-columns: repeat(2, 1fr); } }
.area-tile { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius); color: #fff; text-decoration: none; box-shadow: var(--shadow-sm); }
.area-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.area-tile:hover img { transform: scale(1.06); }
.area-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(15, 30, 44, .82) 100%); }
.area-tile div { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: 16px 18px 18px; }
.area-tile h3 { color: #fff; font-size: 1.2rem; margin: 0 0 .15em; }
.area-tile p { margin: 0; font-size: .92rem; opacity: .92; line-height: 1.4; }
.area-tile:hover { color: #fff; }

/* ---------- Galerie ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: clamp(24px, 4vw, 40px); }
.filter {
  font: inherit; font-size: .97rem; font-weight: 600; padding: .55em 1.2em; border-radius: 999px; cursor: pointer;
  background: #fff; color: var(--navy); border: 1.5px solid var(--line); transition: background-color .2s, color .2s, border-color .2s;
}
.filter:hover { border-color: var(--navy); }
.filter[aria-pressed="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.gallery { columns: 4 220px; column-gap: 14px; }
@media (max-width: 600px) { .gallery { columns: 2; column-gap: 8px; } }
.gallery li { break-inside: avoid; margin-bottom: 14px; animation: fade-in .4s both; }
@media (max-width: 600px) { .gallery li { margin-bottom: 8px; } }
.gallery li[hidden] { display: none; }
.gallery a { display: block; overflow: hidden; border-radius: var(--radius-sm); background: var(--sand-dark); }
.gallery img { width: 100%; height: auto; transition: transform .5s, filter .3s; }
.gallery a:hover img { transform: scale(1.05); }
@keyframes fade-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- Preise ---------- */
.price-wrap { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; }
.price-table { width: 100%; border-collapse: collapse; }
.price-table caption { text-align: left; padding: 18px 24px; font-weight: 600; color: var(--navy); border-bottom: 1px solid var(--line); }
.price-table caption small { display: block; font-weight: 400; color: var(--muted); font-size: .92rem; }
.price-table th, .price-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.price-table thead th { background: var(--navy); color: #fff; font-size: .88rem; letter-spacing: .04em; font-weight: 600; }
.price-table tbody tr:last-child td { border-bottom: 0; }
.price-table tbody tr:nth-child(even) { background: #faf7f1; }
.price-table td.num { font-variant-numeric: tabular-nums; font-weight: 600; color: var(--navy); }
.season { display: inline-flex; align-items: center; justify-content: center; min-width: 2.2em; height: 2.2em; padding: 0 .7em; border-radius: 999px; font-weight: 700; font-size: .9rem; color: #fff; }
.season--a { background: var(--navy); }
.season--b { background: var(--sea); }
.season--c { background: #8aa9b9; }
.season--x { background: var(--gold); }
.price-table tr[hidden] { display: none; }

@media (max-width: 720px) {
  .price-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .price-table, .price-table tbody, .price-table tr, .price-table td { display: block; width: 100%; }
  .price-table caption { display: block; }
  .price-table tbody tr { padding: 14px 18px; border-bottom: 1px solid var(--line); }
  .price-table tbody tr:nth-child(even) { background: #faf7f1; }
  .price-table td { display: flex; justify-content: space-between; gap: 16px; padding: 5px 0; border: 0; text-align: right; }
  .price-table td::before { content: attr(data-label); font-weight: 400; color: var(--muted); text-align: left; }
  .price-table td:first-child { padding-bottom: 8px; }
  .price-table td:first-child::before { display: none; }
}

.price-extras { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(16px, 2.4vw, 28px); margin-top: clamp(20px, 3vw, 32px); }
@media (max-width: 860px) { .price-extras { grid-template-columns: 1fr; } }
.panel { background: #fff; border-radius: var(--radius); padding: 24px 26px; box-shadow: var(--shadow-sm); }
.panel h3 { margin-bottom: .6em; }
.panel--sand { background: var(--sand); box-shadow: none; }
.price-list li { display: flex; align-items: baseline; gap: 8px; padding: .4em 0; border-bottom: 1px dashed var(--line); }
.price-list li:last-child { border-bottom: 0; }
.price-list .dots { flex: 1; }
.price-list b { white-space: nowrap; color: var(--navy); font-variant-numeric: tabular-nums; }
.tag { display: inline-block; font-size: .75rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: .1em .55em; border-radius: 999px; margin-left: .4em; }
.tag--must { background: #f3e3c3; color: var(--gold-text); }
.tag--opt { background: var(--sea-soft); color: var(--sea); }
.info-list { display: grid; gap: .9rem; }
.info-list p { margin: 0; }
.kur-table { width: 100%; border-collapse: collapse; font-size: .97rem; }
.kur-table th, .kur-table td { padding: .55em .4em; text-align: left; border-bottom: 1px solid var(--line); }
.kur-table th { color: var(--muted); font-weight: 600; font-size: .85rem; }
.kur-table td:nth-child(n+2), .kur-table th:nth-child(n+2) { text-align: right; }
.kur-table tr:last-child td { border-bottom: 0; }

/* ---------- Belegung ---------- */
.calendar-box { position: relative; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: clamp(20px, 4vw, 40px); }
.cal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: clamp(16px, 3vw, 28px); }
.cal-range { margin: 0; font-family: var(--font-head); font-size: 1.25rem; color: var(--navy); text-align: center; }
.cal-nav { width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; color: var(--navy); font-size: 1.6rem; line-height: 1; cursor: pointer; transition: background-color .2s, border-color .2s; }
.cal-nav:hover:not(:disabled) { background: var(--navy); color: #fff; border-color: var(--navy); }
.cal-nav:disabled { opacity: .35; cursor: default; }
.cal-months { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: clamp(20px, 3vw, 36px); }
.cal-month h3 { font-size: 1.05rem; text-align: center; margin-bottom: .6em; }
.cal-table { width: 100%; border-collapse: separate; border-spacing: 3px; table-layout: fixed; }
.cal-table th { font-size: .78rem; font-weight: 600; color: var(--muted); padding-bottom: 4px; text-align: center; }
.cal-table td { padding: 0; }
.cal-day { display: grid; place-items: center; aspect-ratio: 1; border-radius: 6px; font-size: .9rem; font-variant-numeric: tabular-nums; color: var(--ink); }
.d-frei { background: #d5ecd9; }
.d-belegt { background: #f0bfb8; }
.d-anreise { background: linear-gradient(135deg, #d5ecd9 50%, #f0bfb8 50%); }
.d-abreise { background: linear-gradient(135deg, #f0bfb8 50%, #d5ecd9 50%); }
.d-vorbei { background: none; color: #a9b2b9; }
button.cal-day { width: 100%; border: 0; padding: 0; font: inherit; font-size: .9rem; cursor: pointer; transition: transform .12s; }
button.cal-day:hover { transform: scale(1.12); position: relative; z-index: 1; box-shadow: 0 2px 8px rgba(21, 42, 58, .25); }
.cal-tip { position: absolute; z-index: 20; width: max-content; max-width: min(260px, calc(100% - 16px)); padding: 10px 13px; border-radius: 10px; background: var(--navy-dark); color: #fff; font-size: .85rem; line-height: 1.4; box-shadow: 0 8px 24px rgba(21, 42, 58, .35); pointer-events: none; display: flex; flex-direction: column; gap: 2px; }
.cal-tip[hidden] { display: none; }
.cal-tip strong { font-family: var(--font-head); font-size: .95rem; }
.cal-tip .tip-status { font-weight: 600; }
.cal-tip .tip-frei, .cal-tip .tip-abreise { color: #9fe0ad; }
.cal-tip .tip-belegt, .cal-tip .tip-anreise { color: #f5b1a8; }
.cal-tip .tip-sub { font-size: .78rem; opacity: .8; }
.cal-day.is-today { outline: 2px solid var(--navy); outline-offset: -2px; font-weight: 700; }
.cal-legend { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: clamp(18px, 3vw, 28px); font-size: .92rem; color: var(--muted); }
.cal-legend li { display: flex; align-items: center; gap: 8px; }
.cal-dot { display: inline-block; width: 20px; height: 20px; border-radius: 5px; }
@media (max-width: 639px) { .cal-month h3 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } }

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(24px, 5vw, 64px); align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-list { display: grid; gap: 18px; margin: 1.6rem 0; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .icon { color: var(--gold); margin-top: .2em; }
.contact-list a { color: var(--navy); font-weight: 600; text-decoration: none; }
.contact-list a:hover { color: var(--gold-text); text-decoration: underline; }
.contact-list small { display: block; color: var(--muted); }
.form { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(20px, 4vw, 36px); display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form .full { grid-column: 1 / -1; }
@media (max-width: 520px) { .form { grid-template-columns: 1fr; } }
.form label { display: block; font-weight: 600; font-size: .92rem; color: var(--navy); margin-bottom: 6px; }
.form input, .form select, .form textarea {
  width: 100%; font: inherit; color: var(--ink); padding: .75em .9em; border: 1.5px solid var(--line);
  border-radius: var(--radius-sm); background: #fdfcfa; transition: border-color .2s, box-shadow .2s;
}
.form textarea { min-height: 120px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--sea); box-shadow: 0 0 0 3px rgba(59, 109, 140, .2); }
.form .check { display: flex; align-items: center; gap: 10px; font-weight: 400; cursor: pointer; margin: 0; }
.form .check input { width: 1.2rem; height: 1.2rem; accent-color: var(--navy); }
.form-hint { font-size: .88rem; color: var(--muted); margin: 0; }

/* ---------- Fußzeile ---------- */
.site-footer { background: var(--navy-dark); color: #c9d5dd; padding: clamp(40px, 6vw, 64px) 0 28px; font-size: .97rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: #f0dcae; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; padding-bottom: 32px; border-bottom: 1px solid rgba(255, 255, 255, .14); }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr; gap: 24px; } }
.site-footer h2 { font-size: 1.1rem; color: #fff; font-family: var(--font-head); margin-bottom: .6em; }
.site-footer ul { display: grid; gap: .35rem; }
.footer-bottom { padding-top: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: .88rem; color: #9fb1bd; }

/* ---------- Rechtstexte ---------- */
.legal { padding-top: calc(var(--header-h) + clamp(32px, 6vw, 72px)); padding-bottom: var(--section-y); }
.legal h1 { font-size: clamp(2rem, 5vw, 3rem); }
.legal h2 { font-size: 1.5rem; margin-top: 2em; }
.legal h3 { font-size: 1.15rem; margin-top: 1.6em; }
.legal address { font-style: normal; margin-bottom: 1em; }
.legal ul { list-style: disc; padding-left: 1.4em; margin-bottom: 1em; }
.legal ul li { margin-bottom: .3em; }
.legal .draft-note { background: #fff7e0; border-left: 4px solid var(--gold); padding: 12px 16px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-size: .95rem; }

/* ---------- Scroll-Animation ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
  .js .reveal.is-visible { opacity: 1; transform: none; }
}

/* ---------- Lightbox ---------- */
html.lb-open { overflow: hidden; }
.lb { position: fixed; inset: 0; z-index: 1000; }
.lb[hidden] { display: none; }
.lb-bg { position: absolute; inset: 0; background: rgba(9, 19, 28, .93); opacity: 0; transition: opacity .35s; }
.lb.is-on .lb-bg { opacity: 1; }
.lb-img { position: absolute; margin: 0; max-width: none; border-radius: 8px; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); background: #111; user-select: none; -webkit-user-drag: none; touch-action: pan-y; }
.lb-bar {
  position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 14px clamp(16px, 4vw, 40px) calc(14px + env(safe-area-inset-bottom)); color: #fff; opacity: 0; transition: opacity .3s .15s;
}
.lb.is-on .lb-bar { opacity: 1; }
.lb-cap { margin: 0; font-size: 1rem; }
.lb-count { margin: 0; font-size: .9rem; opacity: .75; white-space: nowrap; font-variant-numeric: tabular-nums; }
.lb-btn {
  position: absolute; width: 48px; height: 48px; display: grid; place-items: center; border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, .14); color: #fff; cursor: pointer; opacity: 0; transition: opacity .3s .15s, background-color .2s;
}
.lb.is-on .lb-btn { opacity: 1; }
.lb-btn:hover { background: rgba(255, 255, 255, .3); }
.lb-btn svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lb-close { top: max(12px, env(safe-area-inset-top)); right: 12px; }
.lb-prev, .lb-next { top: 50%; margin-top: -24px; }
.lb-prev { left: 16px; }
.lb-next { right: 16px; }
@media (max-width: 760px) {
  .lb-prev, .lb-next { top: auto; bottom: calc(10px + env(safe-area-inset-bottom)); margin: 0; width: 44px; height: 44px; }
  .lb-prev { left: auto; right: 68px; }
  .lb-next { right: 12px; }
  .lb-bar { padding-right: 130px; }
}

@media print {
  .site-header, .hero-wave, .lb { display: none !important; }
  .hero { min-height: 0; padding: 20px 0; color: #000; }
  .hero::before { display: none; }
}
