/* ==========================================================================
   Ferienhaus Skye · Greetsiel — Stylesheet v1
   Farbwelt: Nordsee-Blau, Sand, Leuchtturm-Rot/-Gelb (Pilsumer Leuchtturm)
   ========================================================================== */

/* ---------- Fonts (selbst gehostet, DSGVO-freundlich) ---------- */
@font-face {
  font-family: "Lora";
  src: url("../fonts/lora-var.woff") format("woff");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Lora";
  src: url("../fonts/lora-italic-var.woff") format("woff");
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("../fonts/dmsans-var.woff") format("woff");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --sand: #f5efe4;
  --sand-2: #ece3d3;
  --paper: #fffcf6;
  --ink: #172636;
  --ink-soft: #4a5a68;
  --sea: #1e4d6b;
  --sea-deep: #0f2c42;
  --sea-light: #d8e5ea;
  --red: #c7402d;
  --yellow: #f0b429;
  --grass: #5f8250;
  --line: rgba(23, 38, 54, 0.12);

  --serif: "Lora", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(15, 44, 66, 0.06), 0 12px 32px -12px rgba(15, 44, 66, 0.22);
  --wrap: 1180px;
  --header-h: 72px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0;
  overflow-x: clip;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--sand);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sea); text-underline-offset: 3px; }
a:hover { color: var(--red); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.01em; }
h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 1rem; top: -100px; background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: 8px; z-index: 100; }
.skip-link:focus { top: 1rem; color: #fff; }

/* Leuchtturm-Streifen als Markenzeichen */
.stripes {
  display: inline-block; width: 46px; height: 8px; border-radius: 4px;
  background: repeating-linear-gradient(90deg, var(--red) 0 11.5px, var(--yellow) 11.5px 23px);
}
.eyebrow {
  display: inline-flex; align-items: center; gap: .75rem;
  font-family: var(--sans); font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--red); margin-bottom: 1rem;
}
.lead { font-size: 1.2rem; color: var(--ink-soft); max-width: 62ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  font: 600 1rem/1 var(--sans); text-decoration: none; cursor: pointer;
  padding: 1rem 1.5rem; border-radius: 999px; border: 2px solid transparent;
  transition: transform .2s ease, background-color .2s ease, color .2s ease, box-shadow .2s ease;
}
.btn svg { width: 1.15em; height: 1.15em; }
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 8px 20px -8px rgba(199, 64, 45, .7); }
.btn-primary:hover { background: #a93422; color: #fff; transform: translateY(-2px); }
.btn-ghost { border-color: currentColor; color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--sea-deep); }
.btn-dark { background: var(--sea-deep); color: #fff; }
.btn-dark:hover { background: var(--sea); color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  display: flex; align-items: center;
  transition: background-color .3s ease, box-shadow .3s ease, color .3s ease;
  color: #fff;
}
.site-header.is-solid { background: rgba(255, 252, 246, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); color: var(--ink); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .7rem; color: inherit; text-decoration: none; }
.brand:hover { color: inherit; }
.brand-mark { width: 34px; height: 34px; flex: none; }
.brand-text { display: flex; flex-direction: column; gap: 3px; line-height: 1.05; }
.brand-name { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; }
.brand-sub { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; opacity: .8; }

.nav { display: flex; align-items: center; gap: .25rem; }
.nav a {
  color: inherit; text-decoration: none; font-weight: 500; font-size: .98rem;
  padding: .55rem .85rem; border-radius: 999px; transition: background-color .2s;
}
.nav a:hover { background: rgba(255, 255, 255, .16); }
.site-header.is-solid .nav a:hover { background: var(--sand-2); color: var(--ink); }
.nav a.is-active { background: rgba(255,255,255,.2); }
.site-header.is-solid .nav a.is-active { background: var(--sea-light); }
.nav .nav-cta { background: var(--red); color: #fff; margin-left: .5rem; padding-inline: 1.15rem; }
.nav .nav-cta:hover, .site-header.is-solid .nav .nav-cta:hover { background: #a93422; color: #fff; }

.nav-toggle { display: none; background: none; border: 0; color: inherit; padding: .5rem; cursor: pointer; }
.nav-toggle svg { width: 28px; height: 28px; }

@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: var(--paper); color: var(--ink); padding: .75rem 1.25rem 1.5rem; box-shadow: 0 20px 40px -20px rgba(0,0,0,.35);
    transform: translateY(-12px); opacity: 0; visibility: hidden; transition: all .25s ease;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav a { padding: .9rem .5rem; border-radius: 8px; font-size: 1.1rem; border-bottom: 1px solid var(--line); }
  .nav a:hover { background: var(--sand); }
  .nav .nav-cta { margin: 1rem 0 0; text-align: center; border: 0; }
  body.nav-open .site-header { background: var(--paper); color: var(--ink); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: min(100svh, 920px); display: flex; align-items: flex-end;
  color: #fff; overflow: hidden; isolation: isolate;
}
.hero picture, .hero-img { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero-img { object-fit: cover; object-position: 62% 50%; transform: scale(1.04); animation: heroZoom 14s ease-out forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(10, 30, 46, .88) 0%, rgba(10, 30, 46, .62) 38%, rgba(10, 30, 46, .08) 70%),
    linear-gradient(0deg, rgba(10, 30, 46, .55) 0%, rgba(10, 30, 46, 0) 40%),
    linear-gradient(180deg, rgba(10, 30, 46, .45) 0%, rgba(10, 30, 46, 0) 22%);
}
.hero-content { padding-block: calc(var(--header-h) + 3rem) clamp(3rem, 8vh, 6rem); }
.hero .eyebrow { color: var(--yellow); }
.hero h1 { font-size: clamp(2.8rem, 7.5vw, 5.8rem); font-weight: 600; margin-bottom: .35em; max-width: 12ch; }
.hero h1 em { font-style: italic; font-weight: 500; color: var(--yellow); }
.hero p.hero-text { font-size: clamp(1.1rem, 1.6vw, 1.3rem); max-width: 46ch; opacity: .95; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; }
.hero-facts {
  list-style: none; padding: 0; margin: 2.75rem 0 0; display: flex; flex-wrap: wrap; gap: .6rem;
}
.hero-facts li {
  display: inline-flex; align-items: center; gap: .5rem; padding: .5rem .95rem; border-radius: 999px;
  background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .25); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  font-size: .95rem; font-weight: 500;
}
.hero-facts svg { width: 18px; height: 18px; color: var(--yellow); }
@media (max-width: 700px) {
  .hero { min-height: 100svh; }
  .hero-img { object-position: 70% 50%; }
  .hero::before { background: linear-gradient(0deg, rgba(10,30,46,.92) 0%, rgba(10,30,46,.55) 55%, rgba(10,30,46,.25) 100%); }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(4.5rem, 10vw, 8rem); }
.section-head { max-width: 760px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .lead { margin-inline: auto; }
.bg-paper { background: var(--paper); }
.bg-sea { background: var(--sea-deep); color: #fff; }
.bg-sea .lead { color: rgba(255,255,255,.8); }
.bg-sea .eyebrow { color: var(--yellow); }

/* Wellen-Trenner */
.wave { display: block; width: 100%; height: 48px; margin-bottom: -1px; }
.wave-top { margin-top: -1px; margin-bottom: 0; }

/* ---------- Willkommen ---------- */
.welcome { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.welcome-quote { font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.25rem); line-height: 1.3; font-weight: 500; margin-bottom: 1.25rem; }
.welcome-quote em { color: var(--red); }
.welcome-sign { display: flex; align-items: center; gap: 1rem; margin-top: 1.75rem; font-family: var(--serif); font-style: italic; font-size: 1.2rem; }
.welcome-media { position: relative; }
.welcome-media img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.welcome-media .badge {
  position: absolute; left: -1.5rem; bottom: 2rem; background: var(--paper); border-radius: 14px; padding: 1rem 1.25rem; box-shadow: var(--shadow);
  display: flex; align-items: center; gap: .9rem; max-width: 260px;
}
.badge strong { font-family: var(--serif); font-size: 1.7rem; color: var(--sea); line-height: 1; display: block; }
.badge span { font-size: .9rem; color: var(--ink-soft); line-height: 1.3; display: block; }
@media (max-width: 860px) {
  .welcome { grid-template-columns: 1fr; }
  .welcome-media { max-width: 520px; }
  .welcome-media .badge { left: 1rem; }
}

/* ---------- Haus ---------- */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-bottom: clamp(3rem, 6vw, 5rem); }
.fact {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1.25rem;
  display: flex; flex-direction: column; gap: .35rem;
}
.fact svg { width: 30px; height: 30px; color: var(--sea); margin-bottom: .35rem; }
.fact strong { font-family: var(--serif); font-size: 1.55rem; line-height: 1.1; }
.fact span { color: var(--ink-soft); font-size: .95rem; }
@media (max-width: 900px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .facts { gap: .7rem; } .fact { padding: 1.1rem 1rem; } .fact strong { font-size: 1.2rem; hyphens: auto; } .fact span { font-size: .88rem; } }

.floors { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.floor-list { display: grid; gap: 1rem; }
.floor {
  background: var(--paper); border-radius: var(--radius); padding: 1.6rem 1.6rem 1.3rem; border: 1px solid var(--line); position: relative; overflow: hidden;
}
.floor::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--sea); }
.floor:nth-child(2)::before { background: var(--red); }
.floor:nth-child(3)::before { background: var(--yellow); }
.floor-label { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.floor h3 { margin: .2rem 0 .6rem; }
.floor p { margin: 0; color: var(--ink-soft); }
.floors-media { position: sticky; top: calc(var(--header-h) + 1.5rem); display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.floors-media img { border-radius: var(--radius); object-fit: cover; width: 100%; height: 100%; box-shadow: var(--shadow); }
.floors-media .tall { grid-row: span 2; }
.floors-media img:not(.tall) { aspect-ratio: 4/3; }

.amenities { margin-top: clamp(3rem, 6vw, 5rem); background: var(--sea-deep); color: #fff; border-radius: calc(var(--radius) + 6px); padding: clamp(2rem, 4vw, 3rem); }
.amenities h3 { font-size: 1.6rem; margin-bottom: 1.5rem; }
.amenity-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: .9rem 2rem; }
.amenity-grid li { display: flex; gap: .7rem; align-items: flex-start; }
.amenity-grid svg { flex: none; width: 22px; height: 22px; color: var(--yellow); margin-top: .15rem; }
@media (max-width: 900px) { .floors { grid-template-columns: 1fr; } .floors-media { position: static; } .amenity-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .amenity-grid { grid-template-columns: 1fr; } }

/* ---------- Galerie ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; grid-auto-flow: dense; gap: .9rem; }
.gallery button {
  position: relative; padding: 0; border: 0; border-radius: var(--radius-sm); overflow: hidden; cursor: zoom-in; background: var(--sand-2);
}
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.gallery button:hover img { transform: scale(1.05); }
.gallery button::after {
  content: attr(data-caption); position: absolute; left: 0; right: 0; bottom: 0; padding: 2rem .9rem .7rem; text-align: left;
  color: #fff; font: 500 .9rem var(--sans); background: linear-gradient(0deg, rgba(10,30,46,.75), rgba(10,30,46,0));
  opacity: 0; transform: translateY(6px); transition: all .3s ease;
}
.gallery button:hover::after, .gallery button:focus-visible::after { opacity: 1; transform: none; }
.gallery .g-wide { grid-column: span 2; }
.gallery .g-tall { grid-row: span 2; }
.gallery .g-big { grid-column: span 2; grid-row: span 2; }
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; } }
@media (max-width: 520px) { .gallery { grid-auto-rows: 140px; gap: .6rem; } .gallery .g-big { grid-row: span 2; } }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 200; background: rgba(8, 20, 31, .95);
  display: grid; grid-template-rows: 1fr auto; place-items: center; padding: 4rem 1rem 1.5rem;
  opacity: 0; visibility: hidden; transition: opacity .25s ease;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-height: calc(100vh - 9rem); max-width: min(1400px, 100%); width: auto; border-radius: 8px; object-fit: contain; }
.lightbox figcaption { color: #fff; margin-top: 1rem; font-size: 1rem; text-align: center; }
.lightbox figcaption span { opacity: .6; margin-left: .75rem; font-size: .9rem; }
.lb-btn {
  position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0; width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer; transition: background .2s;
}
.lb-btn:hover { background: rgba(255,255,255,.28); }
.lb-btn svg { width: 24px; height: 24px; }
.lb-close { top: 1rem; right: 1rem; }
.lb-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 1rem; top: 50%; transform: translateY(-50%); }
@media (max-width: 600px) { .lb-prev, .lb-next { top: auto; bottom: 1rem; transform: none; } }

/* ---------- Preise ---------- */
.pricing { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.price-card { background: var(--paper); border-radius: calc(var(--radius) + 4px); padding: clamp(1.75rem, 4vw, 2.75rem); box-shadow: var(--shadow); position: relative; overflow: hidden; }
.price-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 8px; background: repeating-linear-gradient(90deg, var(--red) 0 40px, var(--yellow) 40px 80px); }
.price-main { display: flex; align-items: baseline; gap: .6rem; margin: .5rem 0 .25rem; }
.price-main strong { font-family: var(--serif); font-size: clamp(3.2rem, 7vw, 4.6rem); line-height: 1; color: var(--sea-deep); }
.price-main span { color: var(--ink-soft); font-size: 1.05rem; }
.price-note { color: var(--ink-soft); font-size: .98rem; margin-bottom: 1.5rem; }
.price-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.price-list li { display: flex; justify-content: space-between; gap: 1rem; padding: .95rem 0; border-bottom: 1px solid var(--line); }
.price-list li span:last-child { font-weight: 700; white-space: nowrap; text-align: right; }
.price-list small { display: block; color: var(--ink-soft); font-size: .88rem; font-weight: 400; }
.price-foot { font-size: .92rem; color: var(--ink-soft); margin: 1.25rem 0 0; }

.calc { background: var(--sea-deep); color: #fff; border-radius: calc(var(--radius) + 4px); padding: clamp(1.75rem, 4vw, 2.75rem); }
.calc h3 { font-size: 1.6rem; margin-bottom: .3rem; }
.calc > p { color: rgba(255,255,255,.75); font-size: .98rem; }
.calc-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .9rem 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.calc-row label { font-weight: 500; }
.calc-row label small { display: block; font-weight: 400; color: rgba(255,255,255,.65); font-size: .85rem; }
.stepper { display: inline-flex; align-items: center; background: rgba(255,255,255,.1); border-radius: 999px; padding: 4px; }
.stepper button { width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: #fff; font-size: 1.25rem; line-height: 1; cursor: pointer; }
.stepper button:hover { background: var(--yellow); color: var(--sea-deep); }
.stepper button:disabled { opacity: .35; cursor: not-allowed; background: rgba(255,255,255,.14); color: #fff; }
.stepper output { min-width: 2.6rem; text-align: center; font-weight: 700; font-size: 1.1rem; }
.switch { position: relative; width: 52px; height: 30px; flex: none; }
.switch input { position: absolute; opacity: 0; inset: 0; cursor: pointer; z-index: 1; margin: 0; }
.switch span { position: absolute; inset: 0; border-radius: 999px; background: rgba(255,255,255,.2); transition: background .2s; }
.switch span::after { content: ""; position: absolute; top: 4px; left: 4px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: transform .2s; }
.switch input:checked + span { background: var(--yellow); }
.switch input:checked + span::after { transform: translateX(22px); }
.switch input:focus-visible + span { outline: 3px solid var(--yellow); outline-offset: 3px; }
.calc-total { margin-top: 1.5rem; display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.calc-total .sum { font-family: var(--serif); font-size: clamp(2.4rem, 5vw, 3.2rem); line-height: 1; color: var(--yellow); }
.calc-total .sum-label { font-size: .9rem; color: rgba(255,255,255,.7); }
.calc-breakdown { list-style: none; padding: 0; margin: 1.25rem 0 0; font-size: .9rem; color: rgba(255,255,255,.75); display: grid; gap: .2rem; }
.calc-breakdown li { display: flex; justify-content: space-between; gap: 1rem; }
.calc .disclaimer { font-size: .82rem; color: rgba(255,255,255,.6); margin: 1.25rem 0 0; }
.calc .btn { margin-top: 1.5rem; }
@media (max-width: 900px) { .pricing { grid-template-columns: 1fr; } }

/* ---------- Lage ---------- */
.location { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: stretch; }
.address-card { background: var(--paper); border-radius: var(--radius); padding: 1.75rem; border: 1px solid var(--line); margin-bottom: 1.25rem; }
.address-card address { font-style: normal; font-family: var(--serif); font-size: 1.4rem; line-height: 1.4; margin-bottom: 1rem; }
.distances { list-style: none; padding: 0; margin: 0; }
.distances li { display: flex; justify-content: space-between; gap: 1rem; padding: .8rem 0; border-bottom: 1px dashed var(--line); }
.distances li:last-child { border-bottom: 0; }
.distances.address-card { padding: .4rem 1.5rem; }
.distances span:last-child { font-weight: 700; color: var(--sea); white-space: nowrap; }
.map {
  position: relative; border-radius: var(--radius); overflow: hidden; min-height: 460px; background: var(--sea-light);
  box-shadow: var(--shadow);
}
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-consent {
  position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 2rem;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,.55), transparent 60%),
    repeating-linear-gradient(135deg, rgba(30,77,107,.06) 0 2px, transparent 2px 18px),
    var(--sea-light);
}
.map-consent > div { max-width: 380px; }
.map-consent svg.pin { width: 54px; height: 54px; color: var(--red); margin: 0 auto 1rem; }
.map-consent p { font-size: .92rem; color: var(--ink-soft); }
.map-consent .btn { margin-top: .5rem; }
@media (max-width: 900px) { .location { grid-template-columns: 1fr; } .map { min-height: 380px; } }

/* ---------- Erleben ---------- */
.filter { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.filter button {
  font: 600 .92rem var(--sans); padding: .6rem 1.1rem; border-radius: 999px; cursor: pointer;
  background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.35); transition: all .2s;
}
.filter button:hover { border-color: #fff; }
.filter button[aria-pressed="true"] { background: var(--yellow); color: var(--sea-deep); border-color: var(--yellow); }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.card {
  background: var(--paper); color: var(--ink); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -20px rgba(0,0,0,.5); }
.card[hidden] { display: none; }
.card-media { aspect-ratio: 16 / 10; overflow: hidden; position: relative; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-illu { display: grid; place-items: center; }
.card-illu svg { width: 76px; height: 76px; color: #fff; opacity: .95; }
.illu-sea { background: linear-gradient(135deg, #2b6a8e, #163b55); }
.illu-sand { background: linear-gradient(135deg, #e6c98f, #c99b55); }
.illu-green { background: linear-gradient(135deg, #7da26a, #4b6d3e); }
.illu-red { background: linear-gradient(135deg, #db6a4f, #a93422); }
.illu-dusk { background: linear-gradient(135deg, #6d5c8a, #2e3557); }
.illu-tea { background: linear-gradient(135deg, #a0673f, #5e3520); }
.card-tag {
  position: absolute; top: .85rem; left: .85rem; background: rgba(255,252,246,.95); color: var(--ink);
  font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: .35rem .7rem; border-radius: 999px;
}
.card-body { padding: 1.35rem 1.4rem 1.5rem; display: flex; flex-direction: column; gap: .25rem; flex: 1; }
.card-body h3 { font-size: 1.3rem; margin-bottom: .3rem; }
.card-body p { color: var(--ink-soft); font-size: .98rem; margin: 0; }
.card-meta { margin-top: auto; padding-top: 1rem; display: flex; align-items: center; gap: .45rem; font-size: .88rem; font-weight: 600; color: var(--sea); }
.card-meta svg { width: 16px; height: 16px; }
@media (max-width: 1000px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .cards { grid-template-columns: 1fr; } }

/* Jahreshighlights */
.year { margin-top: clamp(4rem, 8vw, 6rem); }
.year-head { display: flex; justify-content: space-between; align-items: end; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 1.75rem; }
.year-head h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0; }
.year-head p { margin: 0; color: rgba(255,255,255,.7); max-width: 46ch; font-size: .95rem; }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2.25rem 1.25rem; }
@media (max-width: 760px) {
  .timeline { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 78%; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 1rem; scrollbar-width: thin; }
}
.timeline li { scroll-snap-align: start; border-top: 3px solid var(--yellow); padding-top: 1rem; }
.timeline li:nth-child(even) { border-top-color: var(--red); }
.timeline .month { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--yellow); }
.timeline li:nth-child(even) .month { color: #f08a75; }
.timeline h4 { font-size: 1.15rem; margin: .35rem 0 .35rem; }
.timeline p { font-size: .92rem; color: rgba(255,255,255,.72); margin: 0; }

/* ---------- Kontakt ---------- */
.contact { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.hosts { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.75rem; }
.hosts-avatar { width: 64px; height: 64px; border-radius: 50%; background: var(--sea); color: #fff; display: grid; place-items: center; font-family: var(--serif); font-size: 1.4rem; flex: none; }
.hosts strong { font-family: var(--serif); font-size: 1.3rem; display: block; }
.hosts span { color: var(--ink-soft); font-size: .95rem; }
.contact-list { list-style: none; padding: 0; margin: 0 0 2rem; display: grid; gap: .75rem; }
.contact-list a, .contact-list .item {
  display: flex; align-items: center; gap: 1rem; padding: 1rem 1.15rem; border-radius: 14px; background: var(--paper); border: 1px solid var(--line);
  text-decoration: none; color: var(--ink); transition: border-color .2s, transform .2s;
}
.contact-list a:hover { border-color: var(--sea); transform: translateX(4px); color: var(--ink); }
.contact-list .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--sea-light); color: var(--sea); display: grid; place-items: center; flex: none; }
.contact-list .ic svg { width: 22px; height: 22px; }
.contact-list small { display: block; color: var(--ink-soft); font-size: .82rem; }
.contact-list b { font-weight: 600; }

.form { background: var(--paper); border-radius: calc(var(--radius) + 4px); padding: clamp(1.5rem, 4vw, 2.5rem); box-shadow: var(--shadow); }
.form h3 { font-size: 1.6rem; margin-bottom: .25rem; }
.form > p { color: var(--ink-soft); font-size: .95rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.1rem; margin-top: 1.25rem; }
.field { display: flex; flex-direction: column; gap: .35rem; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .92rem; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--ink); background: var(--sand); border: 1.5px solid transparent; border-radius: 12px; padding: .8rem .95rem; width: 100%;
  transition: border-color .2s, background .2s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--sea); background: #fff; }
.field input:user-invalid { border-color: var(--red); }
.check { display: flex; gap: .7rem; align-items: flex-start; font-size: .9rem; color: var(--ink-soft); grid-column: 1 / -1; }
.check input { width: 20px; height: 20px; margin-top: .15rem; accent-color: var(--sea); flex: none; }
.form-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: .5rem; }
.form-hint { font-size: .85rem; color: var(--ink-soft); margin: 0; }
.form-status { grid-column: 1 / -1; font-size: .95rem; padding: .8rem 1rem; border-radius: 10px; background: var(--sea-light); display: none; }
.form-status.show { display: block; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.75); padding: 3.5rem 0 2rem; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,.12); }
.site-footer .brand { color: #fff; margin-bottom: 1rem; }
.site-footer h4 { font-family: var(--sans); color: #fff; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .4rem; }
.site-footer a { color: rgba(255,255,255,.8); text-decoration: none; }
.site-footer a:hover { color: var(--yellow); }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-top: 1.5rem; font-size: .85rem; color: rgba(255,255,255,.55); }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

/* Nach-oben-Button */
.to-top {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 40; width: 48px; height: 48px; border-radius: 50%; border: 0;
  background: var(--sea-deep); color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow);
  opacity: 0; transform: translateY(12px); pointer-events: none; transition: all .3s ease;
}
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--red); }
.to-top svg { width: 22px; height: 22px; }

/* ---------- Scroll-Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Rechtliche Unterseiten ---------- */
.legal-page .site-header { color: var(--ink); background: rgba(255,252,246,.94); box-shadow: 0 1px 0 var(--line); }
.legal { padding: calc(var(--header-h) + 3rem) 0 5rem; }
.legal .wrap { max-width: 820px; }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); }
.legal h2 { font-size: 1.45rem; margin-top: 2.25rem; }
.legal h3 { font-size: 1.15rem; margin-top: 1.5rem; }
.legal .note { background: #fff4d6; border-left: 4px solid var(--yellow); padding: 1rem 1.25rem; border-radius: 8px; font-size: .95rem; }
.legal address { font-style: normal; }

/* ---------- Druck ---------- */
@media print {
  .site-header, .hero-actions, .to-top, .map, .calc, .form, .filter, .lightbox { display: none !important; }
  .hero { min-height: auto; color: var(--ink); }
  .hero::before, .hero picture { display: none; }
  .reveal { opacity: 1; transform: none; }
  .bg-sea { background: #fff; color: var(--ink); }
}
