/* =============================================================================
   Lake House Ternsche — styles.css
   Komplettes Designsystem (Single Source of Truth fuer alle 22 Seiten).
   Reines CSS, keine externen Abhaengigkeiten, mobile-first.
   @font-face ist HIER integriert (kein separates fonts.css) — 1 Datei weniger,
   robust bei file:// und auf Mittwald. Reihenfolge: Fonts -> Tokens -> Reset
   -> Typografie -> Layout -> Komponenten -> Header -> Footer -> Seiten-Module
   -> Utilities -> Responsive/Motion.
   ============================================================================= */

/* -----------------------------------------------------------------------------
   1) @font-face — selbstgehostete woff2 (Pfade relativ zu dieser Datei)
   --------------------------------------------------------------------------- */
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorantgaramond-400.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorantgaramond-500.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorantgaramond-600.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorantgaramond-700.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-400.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-500.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-600.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-700.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}

/* -----------------------------------------------------------------------------
   2) Design-Tokens
   --------------------------------------------------------------------------- */
:root {
  /* Farben */
  --sage:        #7C8466;
  --sage-dark:   #5F6650;
  --sage-darker: #474C3C;
  --cream:       #F7F5F0;
  --cream-2:     #FCFBF7;
  --paper:       #FFFFFF;
  --sand:        #C8A27C;
  --sand-dark:   #B08862;
  --ink:         #3A3A32;
  --ink-soft:    #6E6E62;
  --line:        rgba(58,58,50,0.14);

  /* Schatten */
  --shadow-sm:   0 2px 10px rgba(58,58,50,.07);
  --shadow-md:   0 10px 30px rgba(58,58,50,.10);

  /* Radien */
  --radius:      14px;
  --radius-sm:   8px;

  /* Layout */
  --container:   1180px;
  --gutter:      clamp(1.1rem, 4vw, 2.5rem);
  --space:       1.5rem;
  --header-h:    76px;

  /* Schrift-Stacks */
  --font-serif:  "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-sans:   "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Footer-Textfarbe (heller Text auf dunklem Sage) */
  --footer-text: #E9E7DD;

  /* Transitions */
  --t-fast: 160ms ease;
  --t:      240ms ease;
}

/* -----------------------------------------------------------------------------
   3) Reset / Basis
   --------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* Anker-Sprung-Versatz wegen Sticky-Header */
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 1.0625rem; /* 17px */
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Body-Scroll-Sperre (Lightbox/Offcanvas) */
body.is-locked { overflow: hidden; }

img, svg, video { display: block; max-width: 100%; height: auto; }
img { border-style: none; }

ul, ol { margin: 0; padding: 0; }
li { list-style: none; }

a { color: var(--sage-dark); text-decoration: none; transition: color var(--t-fast); }
a:hover { color: var(--sage-darker); }

button { font: inherit; color: inherit; cursor: pointer; }

input, select, textarea, button { font-family: inherit; font-size: inherit; }

hr { border: 0; border-top: 1px solid var(--line); margin: var(--space) 0; }

strong, b { font-weight: 600; }

::selection { background: rgba(124,132,102,.25); }

/* -----------------------------------------------------------------------------
   4) Typografie (fluid via clamp)
   --------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  margin: 0 0 .5em;
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.12;
  color: var(--ink);
  letter-spacing: .005em;
}
h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.05;
  letter-spacing: .01em;
}
h2 { font-size: clamp(1.8rem, 3.2vw, 2.7rem); color: var(--sage-dark); }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }
h4 { font-size: clamp(1.1rem, 1.5vw, 1.3rem); }
h5 { font-size: 1.05rem; font-family: var(--font-sans); font-weight: 600; }
h6 {
  font-size: .95rem; font-family: var(--font-sans); font-weight: 600;
}

p { margin: 0 0 1rem; max-width: 68ch; }
.section--sage p, .hero p { max-width: 60ch; }

.lead {
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 60ch;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--sand-dark);
  margin: 0 0 .75rem;
}

/* Lesbarer Fokus-Stil global */
:focus-visible {
  outline: 2px solid var(--sage-dark);
  outline-offset: 3px;
  border-radius: 2px;
}

/* -----------------------------------------------------------------------------
   5) Skip-Link
   --------------------------------------------------------------------------- */
.skip-link {
  position: fixed;
  top: .5rem; left: .5rem;
  z-index: 1200;
  transform: translateY(-160%);
  background: var(--sage-darker);
  color: #fff;
  padding: .7rem 1.1rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: transform var(--t-fast);
}
.skip-link:focus { transform: translateY(0); color: #fff; }

/* -----------------------------------------------------------------------------
   6) Layout-Primitive
   --------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: 820px; }

.section { padding-block: clamp(3.5rem, 7vw, 6rem); }
.section--cream  { background: var(--cream); }
.section--paper  { background: var(--paper); }
.section--cream-2{ background: var(--cream-2); }
.section--sage   { background: var(--sage); color: #fff; }
.section--sage h1,
.section--sage h2,
.section--sage h3 { color: #fff; }
.section--sage .lead,
.section--sage p { color: rgba(255,255,255,.9); }
.section--sage .eyebrow { color: #EADfce; }
.section--sage a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

.section-head {
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: clamp(2rem, 4vw, 3rem);
  text-align: center;
}
.section-head .lead { margin-inline: auto; }
.section-head--left { margin-inline: 0; text-align: left; }
.section-head--left .lead { margin-inline: 0; }

/* Grids */
.grid { display: grid; gap: var(--space); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

/* -----------------------------------------------------------------------------
   7) Buttons
   --------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  padding: .85em 1.6em;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: .98rem;
  line-height: 1;
  text-align: center;
  cursor: pointer;
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast), transform var(--t-fast);
  -webkit-appearance: none;
  appearance: none;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--sage-dark); color: #fff; }
.btn--primary:hover { background: var(--sage-darker); color: #fff; }

.btn--accent { background: var(--sand); color: var(--ink); }
.btn--accent:hover { background: var(--sand-dark); color: var(--ink); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn--ghost:hover { background: rgba(58,58,50,.05); color: var(--ink); border-color: rgba(58,58,50,.3); }

/* Ghost auf dunklem/Sage-Hintergrund */
.section--sage .btn--ghost,
.hero .btn--ghost { color: #fff; border-color: rgba(255,255,255,.6); }
.section--sage .btn--ghost:hover,
.hero .btn--ghost:hover { background: rgba(255,255,255,.12); color: #fff; border-color: #fff; }

.btn--lg { padding: 1.05em 2em; font-size: 1.05rem; }

.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; }
.btn-row--center { justify-content: center; }

/* -----------------------------------------------------------------------------
   8) Karten / Feature / Stat
   --------------------------------------------------------------------------- */
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--t), transform var(--t);
}
.card--cream { background: var(--cream-2); }
.card__media {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.card__body { padding: 1.4rem 1.5rem 1.6rem; }
.card__body > :last-child { margin-bottom: 0; }
.card--link:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }

.feature { display: flex; flex-direction: column; gap: .6rem; }
.feature__icon {
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(124,132,102,.12);
  color: var(--sage-dark);
}
.feature__icon svg { width: 24px; height: 24px; }
.feature h3 { margin-bottom: .15em; }
.feature p { color: var(--ink-soft); margin-bottom: 0; }

.stat { text-align: center; }
.stat__num {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  line-height: 1;
  color: var(--sage-dark);
}
.stat__label {
  display: block;
  margin-top: .4rem;
  font-size: .9rem;
  color: var(--ink-soft);
  letter-spacing: .02em;
}

/* -----------------------------------------------------------------------------
   9) Hero
   --------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: min(86vh, 760px);
  display: flex;
  align-items: center;
  color: #fff;
  isolation: isolate;
  margin-top: calc(-1 * var(--header-h)); /* Hero zieht unter den Sticky-Header */
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to bottom, rgba(58,58,50,.30) 0%, rgba(58,58,50,.12) 35%, rgba(58,58,50,.55) 100%);
}
.hero__content {
  padding-block: calc(var(--header-h) + 2rem) 3rem;
  max-width: 760px;
}
.hero__content h1 { color: #fff; text-shadow: 0 2px 24px rgba(0,0,0,.28); }
.hero__content .lead { color: rgba(255,255,255,.94); }
.hero__emblem {
  width: 76px; height: 76px;
  margin-bottom: 1.25rem;
  border-radius: 50%;
}
/* Kompakter Hero fuer Unterseiten */
.hero--compact { min-height: min(58vh, 480px); }

/* -----------------------------------------------------------------------------
   10) Split (Bild/Text)
   --------------------------------------------------------------------------- */
.split {
  display: grid;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  grid-template-columns: 1fr;
}
.split__media img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.split__body > :last-child { margin-bottom: 0; }

@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--reverse .split__media { order: 2; }
}

/* -----------------------------------------------------------------------------
   11) Divider (dezenter handgezeichneter Look)
   --------------------------------------------------------------------------- */
.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: var(--sand);
  margin-block: clamp(2rem, 5vw, 3.5rem);
}
.divider::before,
.divider::after {
  content: "";
  height: 1px;
  flex: 1 1 auto;
  max-width: 160px;
  background: linear-gradient(to right, transparent, var(--line), transparent);
}
.divider svg { width: 28px; height: 28px; }

/* -----------------------------------------------------------------------------
   12) Tabelle
   --------------------------------------------------------------------------- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1rem;
  background: var(--paper);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.table caption {
  caption-side: top;
  text-align: left;
  font-weight: 600;
  margin-bottom: .6rem;
  color: var(--ink-soft);
}
.table th, .table td {
  padding: .85rem 1.1rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.table thead th {
  background: var(--sage);
  color: #fff;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: .92rem;
  letter-spacing: .02em;
}
.table tbody tr:nth-child(even) { background: var(--cream); }
.table tbody tr:last-child td { border-bottom: 0; }
.table td.num, .table th.num { text-align: right; font-variant-numeric: tabular-nums; }

/* -----------------------------------------------------------------------------
   13) Pill / Badge
   --------------------------------------------------------------------------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: .4em;
  padding: .35em .85em;
  border-radius: 999px;
  background: rgba(124,132,102,.14);
  color: var(--sage-dark);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .02em;
}
.pill--sand { background: rgba(200,162,124,.2); color: var(--sand-dark); }
.pill--outline { background: transparent; border: 1px solid var(--line); color: var(--ink-soft); }

/* -----------------------------------------------------------------------------
   14) Header
   --------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(247,245,240,.85);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--t), background var(--t);
}
.site-header.is-scrolled {
  background: rgba(247,245,240,.96);
  box-shadow: var(--shadow-sm);
}
.site-header__inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand img { height: 46px; width: auto; border-radius: 4px; }

.site-nav { margin-left: auto; }
.site-nav__list {
  display: flex;
  align-items: center;
  gap: clamp(.75rem, 2vw, 1.6rem);
}
.site-nav__list a {
  display: inline-block;
  padding: .4rem 0;
  color: var(--ink);
  font-weight: 500;
  font-size: .98rem;
  position: relative;
}
.site-nav__list a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--sand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-fast);
}
.site-nav__list a:hover { color: var(--sage-darker); }
.site-nav__list a:hover::after { transform: scaleX(1); }
.site-nav__list a[aria-current="page"] { color: var(--sage-darker); font-weight: 600; }
.site-nav__list a[aria-current="page"]::after { transform: scaleX(1); }

.header-actions {
  display: flex;
  align-items: center;
  gap: .85rem;
  flex: 0 0 auto;
}

/* Sprachumschalter */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: .15rem;
  font-size: .9rem;
  font-weight: 600;
}
.lang-switch a, .lang-switch span {
  padding: .2rem .35rem;
  color: var(--ink-soft);
  border-radius: 4px;
}
.lang-switch a:hover { color: var(--sage-darker); }
.lang-switch [aria-current="true"],
.lang-switch .is-active { color: var(--sage-darker); }
.lang-switch__sep { color: rgba(58,58,50,.3); padding-inline: .1rem; }

/* CTA im Header bleibt sichtbar */
.site-header .btn { padding: .6em 1.1em; font-size: .92rem; }

/* Hamburger */
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--ink);
}
.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  display: block;
  width: 22px; height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform var(--t-fast), opacity var(--t-fast);
}
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before { position: absolute; top: -7px; }
.nav-toggle__bars::after  { position: absolute; top: 7px; }
.site-nav.is-open ~ .header-actions .nav-toggle .nav-toggle__bars,
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after  { transform: translateY(-7px) rotate(-45deg); }

/* -----------------------------------------------------------------------------
   15) Footer
   --------------------------------------------------------------------------- */
.site-footer {
  background: var(--sage-darker);
  color: var(--footer-text);
  padding-block: clamp(2.8rem, 6vw, 4rem) 1.5rem;
  font-size: .96rem;
}
.site-footer a { color: var(--footer-text); }
.site-footer a:hover { color: #fff; }

.footer-grid {
  display: grid;
  gap: clamp(1.75rem, 4vw, 2.5rem);
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 980px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}

.footer-brand__name {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: .5rem;
  letter-spacing: .01em;
}
.footer-brand p { color: rgba(233,231,221,.85); max-width: 34ch; }
.footer-brand address { font-style: normal; color: rgba(233,231,221,.85); }

.footer-col h3 {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: .55rem; }
.footer-col a { color: rgba(233,231,221,.88); }

.footer-contact { margin-top: 1.25rem; display: flex; flex-direction: column; gap: .4rem; }
.footer-contact a { font-weight: 500; }

.footer-legal {
  margin-top: clamp(2rem, 4vw, 2.75rem);
  padding-top: 1.4rem;
  border-top: 1px solid rgba(233,231,221,.18);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .4rem 1.1rem;
  font-size: .88rem;
  color: rgba(233,231,221,.75);
}
.footer-legal a { color: rgba(233,231,221,.9); text-decoration: underline; text-underline-offset: 3px; }
.footer-legal__links { display: flex; flex-wrap: wrap; gap: 1.1rem; margin-left: auto; }

/* -----------------------------------------------------------------------------
   16) Galerie + Filter
   --------------------------------------------------------------------------- */
.gallery-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .6rem;
  margin-bottom: 2rem;
}
.gallery-filter button {
  padding: .5em 1.1em;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink-soft);
  font-weight: 600;
  font-size: .9rem;
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.gallery-filter button:hover { border-color: var(--sand); color: var(--ink); }
.gallery-filter button.is-active {
  background: var(--sage-dark);
  color: #fff;
  border-color: var(--sage-dark);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: clamp(.6rem, 1.5vw, 1rem);
}
.gallery__item {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: var(--cream-2);
  aspect-ratio: 4 / 3;
}
.gallery__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--t);
}
.gallery__item:hover img { transform: scale(1.05); }
.gallery__item::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(58,58,50,.25), transparent 45%);
  opacity: 0;
  transition: opacity var(--t-fast);
}
.gallery__item:hover::after { opacity: 1; }
/* Vom Filter ausgeblendete Elemente */
.gallery__item[hidden] { display: none; }

/* -----------------------------------------------------------------------------
   17) Lightbox
   --------------------------------------------------------------------------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 4vw, 3rem);
}
.lightbox.is-open { display: flex; }
.lightbox__overlay {
  position: absolute; inset: 0;
  background: rgba(28,28,24,.9);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}
.lightbox__figure {
  position: relative;
  z-index: 1;
  margin: 0;
  max-width: min(1100px, 100%);
  max-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.lightbox__img {
  max-width: 100%;
  max-height: 82vh;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  background: #000;
}
.lightbox__caption {
  margin-top: .9rem;
  color: rgba(255,255,255,.92);
  font-size: .95rem;
  text-align: center;
}
.lightbox__btn {
  position: absolute;
  z-index: 2;
  width: 48px; height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 50%;
  background: rgba(28,28,24,.5);
  color: #fff;
  transition: background var(--t-fast);
}
.lightbox__btn:hover { background: rgba(28,28,24,.85); }
.lightbox__btn svg { width: 24px; height: 24px; }
.lightbox__close { top: clamp(1rem,4vw,2rem); right: clamp(1rem,4vw,2rem); }
.lightbox__prev  { left: clamp(.5rem,3vw,1.5rem); top: 50%; transform: translateY(-50%); }
.lightbox__next  { right: clamp(.5rem,3vw,1.5rem); top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) {
  .lightbox__prev { left: .5rem; }
  .lightbox__next { right: .5rem; }
}

/* -----------------------------------------------------------------------------
   18) Consent (Click-to-load) + Cookie-Hinweis
   --------------------------------------------------------------------------- */
.consent {
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background: var(--cream-2);
  padding: clamp(1.5rem, 4vw, 2.5rem);
}
.consent__inner { max-width: 560px; margin-inline: auto; text-align: center; }
.consent__inner h3 { margin-bottom: .5rem; }
.consent__inner p { color: var(--ink-soft); margin-inline: auto; }
.consent__inner .btn { margin-top: .5rem; }
.consent__inner label {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-top: .9rem;
  font-size: .9rem;
  color: var(--ink-soft);
}
.consent.is-loaded { padding: 0; border: 0; background: transparent; }
.consent__embed { width: 100%; }
.consent__embed iframe { width: 100%; border: 0; border-radius: var(--radius); min-height: 720px; }

/* Globaler Cookie-Hinweis */
.cookie-hint {
  position: fixed;
  left: 50%;
  bottom: clamp(1rem, 3vw, 1.75rem);
  transform: translateX(-50%);
  z-index: 1250;
  width: min(680px, calc(100% - 2rem));
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 1rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .85rem 1.25rem;
}
.cookie-hint[hidden] { display: none; }
.cookie-hint p { margin: 0; flex: 1 1 280px; font-size: .92rem; color: var(--ink-soft); }
.cookie-hint .btn { flex: 0 0 auto; }

/* -----------------------------------------------------------------------------
   19) Preisrechner
   --------------------------------------------------------------------------- */
.calc {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  display: grid;
  gap: clamp(1.5rem, 4vw, 2.5rem);
  grid-template-columns: 1fr;
}
@media (min-width: 820px) {
  .calc { grid-template-columns: 1fr 1fr; align-items: start; }
}
.calc__fields { display: flex; flex-direction: column; gap: 1.1rem; }
.calc__field { display: flex; flex-direction: column; gap: .4rem; }
.calc__field label { font-weight: 600; font-size: .92rem; }
.calc__field select,
.calc__field input {
  width: 100%;
  padding: .7em .85em;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--cream-2);
  color: var(--ink);
  transition: border-color var(--t-fast);
}
.calc__field select:focus,
.calc__field input:focus { border-color: var(--sage-dark); outline: none; }

.calc__output {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .7rem;
}
.calc__row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
}
.calc__row span:last-child { font-variant-numeric: tabular-nums; font-weight: 600; }
.calc__row--total {
  border-top: 1px solid var(--line);
  padding-top: .8rem;
  margin-top: .3rem;
  font-size: 1.2rem;
}
.calc__row--total span:first-child { font-family: var(--font-serif); }
.calc__row--total span:last-child { color: var(--sage-dark); font-size: 1.35rem; }
.calc__note { font-size: .85rem; color: var(--ink-soft); margin: 0; }

/* -----------------------------------------------------------------------------
   20) Karte (Leaflet)
   --------------------------------------------------------------------------- */
#map {
  height: 420px;
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  background: var(--cream-2);
  z-index: 0; /* unter Header/Lightbox halten */
}

/* -----------------------------------------------------------------------------
   21) Formular (Kontakt)
   --------------------------------------------------------------------------- */
.form { display: flex; flex-direction: column; gap: 1.1rem; }
.form__row { display: flex; flex-direction: column; gap: .4rem; }
.form__row label { font-weight: 600; font-size: .92rem; }
.form__row .req { color: var(--sand-dark); }
.form input[type="text"],
.form input[type="email"],
.form input[type="tel"],
.form textarea,
.form select {
  width: 100%;
  padding: .75em .9em;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--cream-2);
  color: var(--ink);
  transition: border-color var(--t-fast);
}
.form textarea { resize: vertical; min-height: 140px; }
.form input:focus, .form textarea:focus, .form select:focus { border-color: var(--sage-dark); outline: none; }
.form__consent { display: flex; align-items: flex-start; gap: .6rem; font-size: .92rem; color: var(--ink-soft); }
.form__consent input { margin-top: .25rem; }
/* Honeypot — visuell und fuer AT versteckt */
.form__hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}
.form-status {
  border-radius: var(--radius-sm);
  padding: .85rem 1.1rem;
  font-size: .95rem;
}
.form-status--ok  { background: rgba(124,132,102,.14); color: var(--sage-darker); }
.form-status--err { background: rgba(200,162,124,.2); color: var(--sand-dark); }

/* -----------------------------------------------------------------------------
   22) Definitionslisten / Info-Bloecke (Infomappe, Hausordnung)
   --------------------------------------------------------------------------- */
.info-note {
  border-left: 3px solid var(--sand);
  background: var(--cream-2);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  margin-block: 1.25rem;
}
.info-note > :last-child { margin-bottom: 0; }
.list-check { display: flex; flex-direction: column; gap: .55rem; }
.list-check li { position: relative; padding-left: 1.8rem; }
.list-check li::before {
  content: "";
  position: absolute; left: 0; top: .55em;
  width: 10px; height: 6px;
  border-left: 2px solid var(--sage-dark);
  border-bottom: 2px solid var(--sage-dark);
  transform: rotate(-45deg);
}

/* Geordnete Liste (z.B. Hausordnungspunkte) */
.list-ordered { counter-reset: item; display: flex; flex-direction: column; gap: 1rem; }
.list-ordered > li { position: relative; padding-left: 2.6rem; }
.list-ordered > li::before {
  counter-increment: item;
  content: counter(item);
  position: absolute; left: 0; top: 0;
  width: 1.9rem; height: 1.9rem;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(124,132,102,.14);
  color: var(--sage-dark);
  font-family: var(--font-serif);
  font-weight: 600;
}

/* -----------------------------------------------------------------------------
   23) Utilities
   --------------------------------------------------------------------------- */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  clip: rect(0 0 0 0); clip-path: inset(50%);
  overflow: hidden; white-space: nowrap;
}
.text-center { text-align: center; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-1 { margin-top: var(--space); } .mb-1 { margin-bottom: var(--space); }
.stack > * + * { margin-top: 1rem; }
.stack-lg > * + * { margin-top: 1.75rem; }
.lead-block { max-width: 68ch; }

/* -----------------------------------------------------------------------------
   24) Reveal-on-scroll
   --------------------------------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s ease, transform .7s ease;
  will-change: opacity, transform;
}
[data-reveal].is-visible { opacity: 1; transform: none; }

/* -----------------------------------------------------------------------------
   25) Responsive — Header Mobil-Offcanvas
   --------------------------------------------------------------------------- */
@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; order: 3; }

  .site-nav {
    position: fixed;
    top: var(--header-h);
    right: 0;
    width: min(82vw, 340px);
    height: calc(100dvh - var(--header-h));
    margin-left: 0;
    background: var(--cream-2);
    border-left: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    padding: 1.5rem var(--gutter) 2rem;
    overflow-y: auto;
    transform: translateX(105%);
    transition: transform var(--t);
    visibility: hidden;
  }
  .site-nav.is-open { transform: translateX(0); visibility: visible; }

  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: .25rem;
  }
  .site-nav__list a {
    padding: .75rem .25rem;
    border-bottom: 1px solid var(--line);
    font-size: 1.1rem;
  }
  .site-nav__list a::after { display: none; }

  /* Sprachumschalter bleibt sichtbar, CTA-Button bleibt sichtbar */
  .header-actions { order: 2; }
}

@media (max-width: 520px) {
  /* CTA-Text bei sehr schmal optional kuerzen via Markup; Button bleibt */
  .lang-switch { font-size: .85rem; }
}

/* -----------------------------------------------------------------------------
   26) prefers-reduced-motion
   --------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .gallery__item:hover img { transform: none; }
}
