/* Haus Deichgraf – Stylesheet
   Farben: Papier & Sand, Marschgrün, Ziegelrot (Dach), Wattblau. */

@font-face {
  font-family: "Lora";
  src: url("../fonts/lora-latin-wght-normal.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Lora";
  src: url("../fonts/lora-latin-wght-italic.woff2") format("woff2");
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Nunito Sans";
  src: url("../fonts/nunito-sans-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 1000;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #fbf9f4;
  --white: #ffffff;
  --sand: #f2ece0;
  --sea-tint: #e7f0ee;
  --ink: #1e2b26;
  --muted: #5b6a63;
  --line: #e3dccd;
  --green: #24543f;
  --green-600: #2f6b50;
  --green-tint: #e3ede6;
  --teal: #1d6f79;
  --accent: #b2472d;
  --accent-dark: #943a24;
  --gold: #c8962a;
  --footer: #16342a;

  --serif: "Lora", Georgia, "Times New Roman", serif;
  --sans: "Nunito Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 1rem;
  --radius-sm: .6rem;
  --shadow: 0 1px 2px rgb(30 43 38 / .06), 0 8px 24px -8px rgb(30 43 38 / .18);
  --shadow-lg: 0 2px 4px rgb(30 43 38 / .06), 0 24px 48px -16px rgb(30 43 38 / .28);
  --header-h: 4.5rem;
  --gutter: clamp(1rem, 4vw, 2rem);
}

/* ---------- Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 3.5rem); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--green-600); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--accent); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0 0 .6em; letter-spacing: -.01em; color: var(--ink); }
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.25rem; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: 74rem; margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 52rem; }
.muted { color: var(--muted); }
.icon { width: 1.15em; height: 1.15em; flex: none; display: inline-block; vertical-align: -.2em; }

.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--green); color: #fff; padding: .6rem 1rem; border-radius: var(--radius-sm); }
.skip-link:focus { top: 1rem; }

.eyebrow {
  font: 800 .78rem/1.2 var(--sans);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0 0 .8rem;
}
.lead { font-size: clamp(1.1rem, 1.8vw, 1.3rem); line-height: 1.55; color: var(--muted); max-width: 40rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .8rem 1.4rem;
  border-radius: 999px;
  border: 2px solid transparent;
  background: var(--green); color: #fff;
  font: 700 1rem/1.2 var(--sans);
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { background: var(--green-600); color: #fff; transform: translateY(-1px); }
.btn-small { padding: .55rem 1.1rem; font-size: .95rem; }
.btn-block { width: 100%; }
.btn-accent { background: var(--accent); }
.btn-accent:hover { background: var(--accent-dark); }
.btn-outline { background: transparent; color: var(--green); border-color: currentColor; }
.btn-outline:hover { background: var(--green); color: #fff; border-color: var(--green); }
.btn-light { background: #fff; color: var(--green); }
.btn-light:hover { background: var(--sand); color: var(--green); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgb(255 255 255 / .6); }
.btn-outline-light:hover { background: rgb(255 255 255 / .12); border-color: #fff; }
.btn-glass { background: rgb(255 255 255 / .14); color: #fff; border-color: rgb(255 255 255 / .55); backdrop-filter: blur(6px); }
.btn-glass:hover { background: rgb(255 255 255 / .26); }
.link-arrow { display: inline-flex; align-items: center; gap: .35em; font-weight: 700; text-decoration: none; }
.link-arrow .icon { transition: transform .2s; }
.link-arrow:hover .icon { transform: translateX(3px); }
.link-btn { background: none; border: 0; padding: 0; font: inherit; font-weight: 700; color: var(--green-600); cursor: pointer; text-decoration: underline; text-underline-offset: .2em; }
.link-btn:hover { color: var(--accent); }

/* ---------- Header & Navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgb(251 249 244 / .92);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 1rem; }
.brand img { height: 3.1rem; width: auto; }

.nav-toggle {
  display: inline-flex; align-items: center; gap: .55rem;
  background: none; border: 1px solid var(--line); border-radius: 999px;
  padding: .5rem .9rem; font: 700 .95rem var(--sans); color: var(--ink); cursor: pointer;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  display: block; width: 1.1rem; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .25s, opacity .25s;
}
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

.nav-list { list-style: none; margin: 0; padding: 0; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 700; }
.nav a[aria-current="page"] { color: var(--green-600); }
.nav a.btn, .nav a.btn[aria-current="page"] { color: #fff; }
.nav a.btn[aria-current="page"] { background: var(--accent); }
.nav .sub { list-style: none; margin: 0; padding: 0; }
.nav .sub small { display: block; font-weight: 400; color: var(--muted); font-size: .8rem; }

@media (max-width: 63.99rem) {
  /* backdrop-filter würde das fixierte Menü auf die Kopfzeile begrenzen */
  .site-header { backdrop-filter: none; background: var(--paper); }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0;
    background: var(--paper);
    overflow-y: auto;
    padding: 1rem var(--gutter) 2rem;
    display: none;
  }
  .nav.open { display: block; }
  body.nav-open { overflow: hidden; }
  .nav-list > li { border-bottom: 1px solid var(--line); }
  .nav-list > li > a { display: block; padding: .95rem 0; font-size: 1.15rem; font-family: var(--serif); }
  .nav .sub { display: grid; grid-template-columns: 1fr 1fr; gap: .25rem 1rem; padding-bottom: 1rem; }
  .nav .sub a { display: block; padding: .45rem 0; }
  .nav-cta { border-bottom: 0 !important; padding-top: 1.25rem; }
  .nav-cta .btn { width: 100%; padding: .9rem; font-family: var(--sans); }
}
@media (min-width: 64rem) {
  .nav-toggle { display: none; }
  .nav-list { display: flex; align-items: center; gap: .25rem; }
  .nav-list > li > a:not(.btn) { display: block; padding: .55rem .8rem; border-radius: 999px; }
  .nav-list > li > a:not(.btn):hover { background: var(--green-tint); color: var(--green); }
  .nav-list > li > a[aria-current="page"]:not(.btn) { background: var(--green-tint); }
  .nav-cta { margin-left: .5rem; }
  .nav-cta .btn { color: #fff; }
  .has-sub { position: relative; }
  .has-sub > a::after { content: ""; display: inline-block; margin-left: .4em; width: .4em; height: .4em; border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-.2em) rotate(45deg); }
  .nav .sub {
    position: absolute; top: 100%; left: -.5rem; min-width: 17rem;
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg);
    padding: .5rem; margin-top: .4rem;
    opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .18s, transform .18s, visibility .18s;
  }
  .nav .sub::before { content: ""; position: absolute; inset: -.6rem 0 auto 0; height: .6rem; }
  .has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
  .nav .sub a { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .55rem .8rem; border-radius: var(--radius-sm); }
  .nav .sub a:hover, .nav .sub a[aria-current="page"] { background: var(--green-tint); }
  .nav .sub small { display: inline; }
}

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--green); }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to top, rgb(14 32 25 / .78) 0%, rgb(14 32 25 / .35) 45%, rgb(14 32 25 / .05) 75%),
    linear-gradient(to right, rgb(14 32 25 / .35), transparent 60%);
}
.hero-content { padding-block: 3rem clamp(2.5rem, 6vw, 4.5rem); }
.hero h1 { color: #fff; margin-bottom: .3em; text-shadow: 0 2px 20px rgb(0 0 0 / .25); }
.hero .eyebrow { color: #f3e3b5; }
.hero .lead { color: rgb(255 255 255 / .92); }
.hero-home { min-height: clamp(32rem, 86vh, 54rem); }
.hero-home::after {
  background:
    linear-gradient(to top, rgb(14 32 25 / .74) 0%, rgb(14 32 25 / .3) 40%, transparent 68%),
    linear-gradient(to right, rgb(14 32 25 / .3), transparent 55%);
}
.hero-home h1 { font-size: clamp(3rem, 9vw, 6rem); }
.hero-page { min-height: clamp(17rem, 46vh, 28rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }

.page-head { background: var(--sand); padding-block: clamp(2.5rem, 7vw, 4.5rem) clamp(2rem, 5vw, 3rem); border-bottom: 1px solid var(--line); }
.page-head h1 { margin-bottom: .35em; }
.page-head .lead { margin-bottom: 0; }

/* ---------- Abschnitte ---------- */
.section { padding-block: clamp(3.5rem, 8vw, 6rem); }
.section-tight { padding-block: clamp(2rem, 5vw, 3.5rem); }
.section-sand { background: var(--sand); }
.section-sea { background: var(--sea-tint); }
.section-head { max-width: 42rem; margin-bottom: clamp(1.75rem, 4vw, 2.75rem); }
.section-head p:last-child { color: var(--muted); }

.split { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (min-width: 56rem) {
  .split { grid-template-columns: 1fr 1fr; }
  .split-reverse > :first-child { order: 2; }
}
.split + .wrap { margin-top: clamp(2rem, 5vw, 3rem); }
.prose { max-width: 38rem; }
.prose p:last-child { margin-bottom: 0; }
.signature { font-family: var(--serif); font-style: italic; color: var(--muted); margin-top: 1.5rem; }
.signature span { font-size: 1.5rem; color: var(--green); }

.framed { margin: 0; }
.framed img, .framed .zoom { border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.framed img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.framed-plain img { aspect-ratio: auto; object-fit: contain; background: #fff; }
.framed figcaption { margin-top: .75rem; font-size: .9rem; color: var(--muted); }

.notice { background: #fff4e3; border-left: 4px solid var(--gold); padding: .9rem 1.1rem; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-size: .97rem; }

/* ---------- Kennzahlen-Leiste ---------- */
.facts { background: var(--green); color: #e5efe8; }
.facts-list { list-style: none; margin: 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 2rem; padding-block: 1.4rem; font-size: .95rem; }
.facts-list li { display: flex; flex-direction: column; line-height: 1.3; }
.facts-list strong { font: 600 1.35rem/1.2 var(--serif); color: #fff; }
@media (max-width: 40rem) { .facts-list { display: grid; grid-template-columns: 1fr 1fr; } .facts-list li:last-child { grid-column: 1 / -1; } }

/* ---------- Karten ---------- */
.cards { display: grid; gap: 1.5rem; }
@media (min-width: 40rem) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .cards { grid-template-columns: repeat(3, 1fr); } }
/* Erste Karte doppelt breit: 7 Wohnungen füllen so 2 bzw. 3 Spalten ohne Lücke */
@media (min-width: 40rem) {
  .card-featured { grid-column: span 2; display: grid; grid-template-columns: 1.25fr 1fr; }
  .card-featured .card-img { position: relative; min-height: 17rem; }
  .card-featured .card-img img { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; }
  .card-featured .card-body { padding: 1.75rem; justify-content: center; }
  .card-featured .card-title { font-size: 1.9rem; }
  .card-featured .card-text { font-size: 1.05rem; }
}
.card {
  display: flex; flex-direction: column;
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s;
  position: relative;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card-img { display: block; overflow: hidden; }
.card-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .5s; }
.card:hover .card-img img { transform: scale(1.04); }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 1.15rem 1.25rem 1.25rem; }
.card-title { font-size: 1.4rem; margin-bottom: .3rem; display: flex; align-items: center; flex-wrap: wrap; gap: .4rem; }
.card-title a { color: var(--ink); text-decoration: none; }
.card-title a::after { content: ""; position: absolute; inset: 0; }
.card-meta { display: flex; align-items: center; gap: .4rem; color: var(--teal); font-weight: 700; font-size: .92rem; margin-bottom: .5rem; }
.card-text { color: var(--muted); font-size: .97rem; }
.card-price { margin: auto 0 0; padding-top: .8rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .95rem; }
.card-price strong { color: var(--ink); font-size: 1.15rem; }
@media (min-width: 64rem) { .cards-3 { grid-template-columns: repeat(3, 1fr); } }

.stars { display: inline-flex; gap: 1px; color: var(--gold); vertical-align: middle; }
.stars svg { width: .85rem; height: .85rem; fill: currentColor; }
h1 .stars svg { width: 1.1rem; height: 1.1rem; }

/* ---------- Haus & Hof Kacheln ---------- */
.features { display: grid; gap: 1.25rem; }
@media (min-width: 48rem) { .features { grid-template-columns: repeat(3, 1fr); } }
.feature { position: relative; display: block; border-radius: var(--radius); overflow: hidden; color: #fff; text-decoration: none; box-shadow: var(--shadow); isolation: isolate; }
.feature img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .6s; }
@media (max-width: 47.99rem) { .feature img { aspect-ratio: 16 / 10; } }
.feature::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgb(14 32 25 / .85), rgb(14 32 25 / 0) 60%); }
.feature-text { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 1.25rem 1.35rem 1.4rem; font-size: .97rem; line-height: 1.45; }
.feature-text strong { display: block; font: 600 1.45rem/1.2 var(--serif); margin-bottom: .3rem; }
.feature:hover { color: #fff; }
.feature:hover img { transform: scale(1.05); }

.photo-stack { position: relative; padding-bottom: 18%; }
.photo-stack img { border-radius: var(--radius); box-shadow: var(--shadow-lg); object-fit: cover; }
.photo-stack img:first-child { width: 88%; margin-left: auto; aspect-ratio: 4 / 3; }
.photo-stack img:last-child { position: absolute; left: 0; bottom: 0; width: 48%; aspect-ratio: 1; border: 6px solid var(--sea-tint); }

/* ---------- Galerien ---------- */
.zoom { display: block; overflow: hidden; border-radius: var(--radius-sm); position: relative; cursor: zoom-in; background: var(--line); }
.zoom img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s, opacity .3s; }
.zoom:hover img { transform: scale(1.04); }
.gallery { display: grid; gap: .75rem; grid-template-columns: repeat(2, 1fr); }
.gallery .zoom { aspect-ratio: 4 / 3; }
@media (min-width: 48rem) {
  .gallery-4 { grid-template-columns: repeat(4, 1fr); }
  .gallery-5 { grid-template-columns: repeat(5, 1fr); }
  .gallery-6 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 64rem) { .gallery-6 { grid-template-columns: repeat(6, 1fr); } }
.strip { display: grid; gap: .75rem; grid-template-columns: repeat(2, 1fr); }
.strip .zoom { aspect-ratio: 1; }
@media (min-width: 48rem) { .strip { grid-template-columns: repeat(4, 1fr); } }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.pair .zoom { aspect-ratio: 1; }
.pair-2 .zoom { aspect-ratio: 3 / 4; }
.framed .zoom img { aspect-ratio: 4 / 3; }
.framed-plain .zoom img { aspect-ratio: auto; object-fit: contain; }

/* ---------- Wohnungsseite ---------- */
.apt-top { padding-top: clamp(1.5rem, 4vw, 2.5rem); padding-bottom: 1.25rem; }
.apt-top h1 { display: flex; align-items: center; flex-wrap: wrap; gap: .6rem; margin-bottom: .6rem; }
.breadcrumb { font-size: .9rem; color: var(--muted); margin-bottom: .75rem; }
.breadcrumb a { color: var(--muted); }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.chips li { display: inline-flex; align-items: center; gap: .45rem; background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: .35rem .85rem; font-size: .93rem; font-weight: 700; }
.chips .icon { color: var(--teal); }

.mosaic { display: grid; gap: .6rem; grid-template-columns: repeat(2, 1fr); }
.mosaic .zoom { aspect-ratio: 4 / 3; border-radius: var(--radius-sm); }
.mosaic .mosaic-main { grid-column: 1 / -1; }
@media (min-width: 48rem) {
  .mosaic { grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, clamp(10rem, 17vw, 14.5rem)); }
  .mosaic .zoom { aspect-ratio: auto; }
  .mosaic .mosaic-main { grid-column: 1; grid-row: 1 / span 2; }
  .mosaic-3 { grid-template-columns: 2fr 1fr; }
  .mosaic-4 { grid-template-columns: 2fr 1fr 1fr; }
  .mosaic-4 .zoom:nth-child(4) { grid-column: 2 / span 2; }
  .mosaic .zoom:first-child { border-radius: var(--radius) var(--radius-sm) var(--radius-sm) var(--radius); }
}
.more { position: relative; }
.more::after { content: ""; position: absolute; inset: 0; background: rgb(14 32 25 / .5); transition: background .2s; }
.more:hover::after { background: rgb(14 32 25 / .62); }
.more-label { position: absolute; inset: 0; z-index: 1; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 1.15rem; }
.mosaic-hint { margin: .75rem 0 0; text-align: right; font-size: .95rem; }

.apt-layout { display: grid; gap: 2.5rem; }
@media (min-width: 60rem) {
  .apt-layout { grid-template-columns: minmax(0, 1fr) 21rem; gap: 4rem; align-items: start; }
  .apt-aside { position: sticky; top: calc(var(--header-h) + 1.5rem); }
}
.checklist { list-style: none; padding: 0; margin: 2rem 0; display: grid; gap: .7rem 1.5rem; }
@media (min-width: 36rem) { .checklist { grid-template-columns: 1fr 1fr; } }
.checklist li { display: flex; align-items: flex-start; gap: .65rem; font-weight: 600; }
.checklist .icon { width: 1.5rem; height: 1.5rem; padding: .25rem; border-radius: 50%; background: var(--green-tint); color: var(--green); }

.apt-extras { display: grid; gap: .9rem; margin-bottom: 2.75rem; }
@media (min-width: 36rem) { .apt-extras { grid-template-columns: 1fr 1fr; } }
.extra-tile { display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.2rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--muted); transition: border-color .2s, box-shadow .2s; font-size: .93rem; line-height: 1.35; }
.extra-tile strong { display: block; color: var(--ink); font-size: 1.05rem; }
.extra-tile .icon { width: 2.6rem; height: 2.6rem; padding: .55rem; border-radius: .8rem; background: var(--sea-tint); color: var(--teal); }
.extra-tile:hover { border-color: var(--teal); box-shadow: var(--shadow); color: var(--muted); }

.price-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 1.6rem; border-top: 4px solid var(--accent); }
.price-from { font-family: var(--serif); color: var(--muted); margin-bottom: 1rem; }
.price-from strong { font-size: 2.3rem; color: var(--ink); font-weight: 600; }
.price-from span { display: block; font: 400 .9rem var(--sans); }
.price-list { margin: 0 0 1rem; }
.price-list div { display: flex; justify-content: space-between; gap: 1rem; padding: .5rem 0; border-bottom: 1px dashed var(--line); font-size: .97rem; }
.price-list dt { color: var(--muted); }
.price-list dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; }
.price-note { font-size: .86rem; color: var(--muted); }
.price-card .btn { margin-top: .6rem; }
.price-links { margin: 1rem 0 0; text-align: center; font-size: .9rem; }

.calendar-block { padding-top: .5rem; }
.calendar { border: 0; width: 300px; height: 300px; max-width: 100%; background: var(--white); border-radius: var(--radius-sm); }

/* ---------- Belegungskalender-Seite ---------- */
.calendars { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr)); }
.calendar-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1rem; display: flex; flex-direction: column; align-items: center; }
.calendar-head { align-self: stretch; display: flex; align-items: center; gap: .9rem; text-decoration: none; color: var(--ink); margin-bottom: .75rem; }
.calendar-head img { width: 4.25rem; height: 4.25rem; object-fit: cover; border-radius: .7rem; }
.calendar-head strong { display: block; font: 600 1.25rem/1.2 var(--serif); }
.calendar-head small { color: var(--muted); font-size: .88rem; }
.calendar-head:hover strong { color: var(--green-600); }

/* ---------- Tabellen ---------- */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-bottom: 1rem; }
.table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); font-size: .98rem; }
.table th, .table td { padding: .85rem 1rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table thead th { background: var(--green); color: #fff; font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; font-weight: 800; }
.table tbody tr:last-child > * { border-bottom: 0; }
.table tbody tr:hover { background: #fcfaf5; }
.table tbody th a { font-family: var(--serif); font-size: 1.1rem; font-weight: 600; color: var(--ink); text-decoration: none; }
.table tbody th a:hover { color: var(--green-600); }
.table th small { display: block; font-weight: 400; color: var(--muted); font-size: .85rem; }
.table .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.table-prices strong { font-size: 1.1rem; }

.two-col { display: grid; gap: 2.5rem; }
@media (min-width: 48rem) { .two-col { grid-template-columns: 1fr 1fr; } }
.seasons, .services { margin: 0; }
.seasons div { display: grid; grid-template-columns: 2.4rem 1fr; gap: .9rem; padding: .75rem 0; border-bottom: 1px solid var(--line); }
.seasons dt { width: 2.4rem; height: 2.4rem; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: #fff; font: 600 1.15rem var(--serif); }
.seasons dd { margin: 0; align-self: center; }
.services div { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--line); }
.services dt { font-weight: 700; }
.services dd { margin: 0; color: var(--muted); text-align: right; }

/* ---------- Unter-Navigation ---------- */
.subnav { position: sticky; top: var(--header-h); z-index: 40; background: rgb(251 249 244 / .95); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.subnav ul { list-style: none; margin: 0 auto; display: flex; gap: .4rem; overflow-x: auto; padding-block: .6rem; scrollbar-width: none; }
.subnav a { display: block; white-space: nowrap; padding: .4rem .9rem; border-radius: 999px; text-decoration: none; font-weight: 700; font-size: .93rem; color: var(--ink); background: var(--white); border: 1px solid var(--line); }
.subnav a:hover, .subnav a.active { background: var(--green); color: #fff; border-color: var(--green); }

/* ---------- Video & Karte (erst nach Klick) ---------- */
.video-block { margin-top: clamp(2.5rem, 6vw, 4rem); }
.embed { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--green); box-shadow: var(--shadow-lg); margin-top: 2rem; }
.video-block .embed { margin-top: 0; }
.embed-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.embed-consent { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: .8rem; padding: 1.5rem; text-align: center; color: #fff; }
.embed-consent p { max-width: 30rem; font-size: .88rem; color: rgb(255 255 255 / .9); margin: 0; text-shadow: 0 1px 6px rgb(0 0 0 / .4); }
.embed-consent a { color: #fff; }
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 40rem) { .embed { aspect-ratio: 4 / 3 !important; } }

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 56rem) { .contact-grid { grid-template-columns: 22rem 1fr; gap: 4rem; } }
.contact-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.6rem; }
.contact-card address { font-style: normal; margin-bottom: 1.25rem; }
.contact-card address p { display: flex; gap: .75rem; align-items: flex-start; margin-bottom: .8rem; }
.contact-card address .icon { color: var(--teal); margin-top: .2rem; }
.steps { list-style: none; padding: 0; counter-reset: s; margin: 1.25rem 0 1.5rem; }
.steps li { counter-increment: s; position: relative; padding: 0 0 1rem 3rem; min-height: 2.2rem; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: -.1rem; width: 2.1rem; height: 2.1rem; border-radius: 50%; background: var(--sea-tint); color: var(--teal); display: grid; place-items: center; font: 600 1.05rem var(--serif); }

.legal { overflow-wrap: anywhere; hyphens: auto; }
.legal h2 { font-size: 1.3rem; margin-top: 2rem; }
.legal h2:first-child { margin-top: 0; }

/* ---------- Abschluss-Band & Footer ---------- */
.cta-band { background: var(--green); color: #e5efe8; position: relative; overflow: hidden; }
.cta-band::before {
  content: ""; position: absolute; inset: auto -10% -60% auto; width: 36rem; height: 36rem; border-radius: 50%;
  background: radial-gradient(circle, rgb(255 255 255 / .08), transparent 70%);
}
.cta-inner { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 3rem; padding-block: clamp(2.5rem, 6vw, 3.5rem); }
.cta-band h2 { color: #fff; margin-bottom: .3rem; }
.cta-band p { margin: 0; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .75rem; }

.site-footer { background: var(--footer); color: #c9d8cf; font-size: .95rem; }
.site-footer a { color: #e9f1ec; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; gap: 2rem; padding-block: 3rem 2rem; }
@media (min-width: 48rem) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-brand { font: 600 1.5rem var(--serif); color: #fff; margin-bottom: .75rem; }
.footer-head { font-weight: 800; letter-spacing: .12em; text-transform: uppercase; font-size: .78rem; color: #8fb3a0; margin-bottom: .8rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .35rem; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; border-top: 1px solid rgb(255 255 255 / .12); padding-block: 1.25rem; font-size: .88rem; }
.footer-bottom p { margin: 0; }

/* ---------- Lightbox ---------- */
.lightbox { border: 0; padding: 0; margin: 0; width: 100vw; height: 100vh; max-width: none; max-height: none; background: rgb(10 20 16 / .95); color: #fff; overscroll-behavior: contain; }
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgb(10 20 16 / .6); }
.lightbox figure { margin: 0; display: grid; justify-items: center; gap: .8rem; padding: 3.5rem 1rem 2.5rem; }
.lightbox img { max-width: min(92vw, 1600px); max-height: calc(100vh - 8rem); width: auto; height: auto; border-radius: .4rem; box-shadow: 0 20px 60px rgb(0 0 0 / .5); }
.lightbox figcaption { font-size: .95rem; color: rgb(255 255 255 / .85); text-align: center; max-width: 40rem; }
.lb-btn { position: fixed; display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; border: 0; background: rgb(255 255 255 / .12); color: #fff; font-size: 2rem; line-height: 1; cursor: pointer; transition: background .2s; }
.lb-btn:hover { background: rgb(255 255 255 / .25); }
.lb-close { top: 1rem; right: 1rem; }
.lb-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 1rem; top: 50%; transform: translateY(-50%); }
.lb-count { position: fixed; top: 1.6rem; left: 1.25rem; margin: 0; font-size: .9rem; color: rgb(255 255 255 / .7); }
.lightbox.single .lb-prev, .lightbox.single .lb-next, .lightbox.single .lb-count { display: none; }
@media (max-width: 40rem) { .lb-prev, .lb-next { top: auto; bottom: 1rem; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
