/* ====================================================================
   Kutscherweg Suites – Style
   Brand palette (Farbwelt):
     --ink     #2D2419  (Logo / Headlines)
     --cocoa   #5A4C3F  (warm dark)
     --taupe   #95857A  (mid neutral)
     --sand    #CFC6BC  (soft neutral)
     --cream   #EEECEA  (background)
   ==================================================================== */

:root {
  --ink: #2D2419;
  --cocoa: #5A4C3F;
  --taupe: #95857A;
  --sand: #CFC6BC;
  --cream: #EEECEA;
  --paper: #FAF8F5;
  --white: #FFFFFF;
  --airbnb: #FF385C;
  --airbnb-dark: #E11D48;

  /* Schriften: System-Stack als Default (kein Drittanbieter-Lade).
     Sobald Consent für "fonts" erteilt ist, fügt JS die Klasse .fonts-loaded zu <html>
     hinzu und Google Fonts werden aktiv. */
  --serif: Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
html.fonts-loaded {
  --serif: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --shadow-sm: 0 4px 12px rgba(45, 36, 25, 0.06);
  --shadow-md: 0 12px 32px rgba(45, 36, 25, 0.10);
  --shadow-lg: 0 24px 56px rgba(45, 36, 25, 0.14);

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 28px;

  --container: 1240px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 400;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.15;
  color: var(--ink);
  margin: 0 0 .5em;
}

h1 { font-size: clamp(2.5rem, 6vw, 4.75rem); font-weight: 400; }
h2 { font-size: clamp(2rem, 4.2vw, 3.25rem); font-weight: 400; }
h3 { font-size: clamp(1.25rem, 1.8vw, 1.625rem); }

p { margin: 0 0 1em; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: .75rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--taupe);
  font-weight: 500;
  margin-bottom: 1.25rem;
  position: relative;
  padding-left: 2.5rem;
}
.eyebrow::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 2rem; height: 1px;
  background: var(--taupe);
}

/* ========== NAVIGATION ========== */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.25rem 0;
  transition: background .35s ease, padding .35s ease, box-shadow .35s ease, backdrop-filter .35s ease;
}
.nav.is-scrolled {
  background: rgba(250, 248, 245, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(45, 36, 25, 0.06);
  padding: .75rem 0;
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.nav__logo {
  height: clamp(28px, 4vw, 38px);
  max-width: 60vw;
  width: auto;
  transition: opacity .3s;
  display: block;
}
.nav__logo img { height: 100%; width: auto; display: block; }
.nav__menu {
  display: flex;
  gap: 2.25rem;
  align-items: center;
}
.nav__link {
  font-size: .9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink);
  position: relative;
  transition: color .25s;
}
.nav__link:hover { color: var(--cocoa); }
.nav__link::after {
  content: "";
  position: absolute;
  bottom: -4px; left: 0;
  height: 1px; width: 0;
  background: var(--cocoa);
  transition: width .3s ease;
}
.nav__link:hover::after { width: 100%; }

/* Hero-state: white text on dark hero */
.nav:not(.is-scrolled) .nav__link,
.nav:not(.is-scrolled) .nav__cta {
  color: var(--cream);
}
.nav:not(.is-scrolled) .nav__logo { filter: brightness(0) invert(1); }
.nav:not(.is-scrolled) .nav__link::after { background: var(--cream); }
.nav:not(.is-scrolled):not(.is-open) .nav__toggle { color: var(--cream); }

.nav__cta {
  font-size: .85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  padding: .75rem 1.5rem;
  border: 1px solid currentColor;
  border-radius: 999px;
  transition: all .3s ease;
}
.nav__cta:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.nav:not(.is-scrolled) .nav__cta:hover { background: var(--cream); color: var(--ink); border-color: var(--cream); }

.nav__toggle {
  display: none;
  width: 44px; height: 44px;
  flex-direction: column; justify-content: center; align-items: center;
  gap: 6px;
  position: relative;
  z-index: 110;
  color: var(--ink);
}
.nav__toggle span {
  display: block;
  width: 24px; height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform .35s cubic-bezier(.6,.05,.28,.99), opacity .25s ease, width .35s ease;
}
.nav.is-open .nav__toggle { color: var(--ink); }
.nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); width: 26px; }
.nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); width: 26px; }

.nav__backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 10, 6, 0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 98;
  opacity: 0;
  transition: opacity .35s ease;
}
.nav.is-open .nav__backdrop {
  display: block;
  opacity: 1;
}

@media (max-width: 880px) {
  .nav__toggle { display: flex; }
  .nav__menu {
    position: fixed;
    top: 0; left: 0; right: 0;
    background: var(--paper);
    flex-direction: column;
    align-items: stretch;
    padding: 5.5rem 2rem 3rem;
    gap: 1.25rem;
    transform: translateY(-100%);
    transition: transform .45s cubic-bezier(.6,.05,.28,.99);
    box-shadow: var(--shadow-md);
    z-index: 105;
    max-height: 100vh;
    max-height: 100dvh;
    overflow-y: auto;
  }
  .nav.is-open .nav__menu { transform: translateY(0); }
  .nav.is-open .nav__link,
  .nav.is-open .nav__cta { color: var(--ink); border-color: var(--ink); }
  .nav__link {
    font-size: 1.5rem;
    font-family: var(--serif);
    text-align: left;
    padding: .5rem 0;
    border-bottom: 1px solid rgba(45, 36, 25, .08);
  }
  .nav__link::after { display: none; }
  .nav__cta {
    margin-top: 1rem;
    text-align: center;
    padding: 1rem 1.5rem;
  }
}

/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  color: var(--cream);
  overflow: hidden;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 55%;
  transform: scale(1.05);
  animation: heroZoom 18s ease-out forwards;
}
@media (max-width: 700px) {
  .hero__media img { object-position: 35% 50%; }
}
@keyframes heroZoom {
  from { transform: scale(1.12); }
  to   { transform: scale(1.0); }
}
.hero__media::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(45,36,25,.55) 0%, rgba(45,36,25,.25) 35%, rgba(45,36,25,.65) 100%),
    linear-gradient(90deg, rgba(45,36,25,.35) 0%, rgba(45,36,25,0) 50%);
}
.hero__content {
  position: relative;
  z-index: 1;
  padding: 8rem var(--gutter) 5rem;
  max-width: var(--container);
  margin: 0 auto;
  width: 100%;
}
.hero__eyebrow {
  font-size: clamp(.7rem, 1.6vw, .85rem);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(238, 236, 234, 0.8);
  margin-bottom: 1.5rem;
  font-weight: 500;
  max-width: 100%;
}
@media (min-width: 600px) {
  .hero__eyebrow { letter-spacing: 0.35em; }
}
.hero h1 {
  color: var(--cream);
  max-width: 18ch;
  margin-bottom: 1.25rem;
}
.hero h1 em {
  font-style: italic;
  font-weight: 300;
  color: var(--sand);
}
.hero__sub {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  max-width: 48ch;
  color: rgba(238, 236, 234, 0.9);
  margin-bottom: 2.5rem;
  line-height: 1.6;
}
.hero__fomo {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  padding: .55rem 1.1rem .55rem .55rem;
  background: rgba(238, 236, 234, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(238, 236, 234, 0.25);
  border-radius: 999px;
  font-size: .85rem;
  color: var(--cream);
  margin-bottom: 1.75rem;
  max-width: 100%;
  white-space: nowrap;
  animation: fomoSlide .8s cubic-bezier(.2,.7,.2,1) .3s both;
}
.hero__fomo-text { white-space: nowrap; }
@keyframes fomoSlide {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero__fomo-status {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .2rem .65rem .2rem .55rem;
  border-radius: 999px;
  font-size: .65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  white-space: nowrap;
}
.hero__fomo-status::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 0 currentColor;
  animation: fomoPulse 2.4s ease-out infinite;
}
.hero__fomo-status--free {
  background: rgba(120, 200, 110, 0.22);
  color: #b8e3a5;
}
.hero__fomo-status--free::before { background: #6fd058; }
.hero__fomo-status--booked {
  background: rgba(255, 90, 90, 0.22);
  color: #ffb8b8;
}
.hero__fomo-status--booked::before { background: #ff5a5a; }
@keyframes fomoPulse {
  0%   { box-shadow: 0 0 0 0 currentColor; opacity: 1; }
  70%  { box-shadow: 0 0 0 6px transparent; opacity: 0.7; }
  100% { box-shadow: 0 0 0 0 transparent; opacity: 1; }
}
.hero__fomo-text {
  font-size: .85rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.hero__fomo-text strong { color: var(--cream); font-weight: 700; }
@media (max-width: 540px) {
  .hero__fomo {
    font-size: .72rem;
    padding: .4rem .85rem .4rem .4rem;
    gap: .5rem;
    flex-wrap: nowrap;
  }
  .hero__fomo-text { font-size: .72rem; }
  .hero__fomo-status {
    font-size: .58rem;
    padding: .15rem .5rem .15rem .45rem;
    letter-spacing: 0.12em;
  }
  .hero__fomo-status::before { width: 6px; height: 6px; }
}

.hero__cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}
@media (max-width: 540px) {
  .hero__cta-row { flex-direction: column; align-items: stretch; }
  .hero__cta-row .btn { width: 100%; }
}
.hero__scroll {
  position: absolute;
  bottom: 2.5rem; left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  color: rgba(238, 236, 234, 0.7);
  font-size: .7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  text-align: center;
}
.hero__scroll::after {
  content: "";
  display: block;
  width: 1px; height: 40px;
  background: rgba(238, 236, 234, 0.5);
  margin: .85rem auto 0;
  animation: scrollLine 2.4s ease-in-out infinite;
  transform-origin: top;
}
@keyframes scrollLine {
  0%, 100% { transform: scaleY(0); opacity: 0; }
  50%      { transform: scaleY(1); opacity: 1; }
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  padding: 1rem 1.75rem;
  border-radius: 999px;
  font-size: clamp(.78rem, 1.4vw, .9rem);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: all .35s cubic-bezier(.6,.05,.28,.99);
  white-space: nowrap;
}
.btn--ink {
  background: var(--ink);
  color: var(--cream);
  box-shadow: var(--shadow-sm);
}
.btn--ink:hover { background: var(--cocoa); transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn--ghost {
  background: transparent;
  color: var(--cream);
  border: 1px solid rgba(238, 236, 234, 0.5);
}
.btn--ghost:hover { background: rgba(238, 236, 234, 0.12); border-color: var(--cream); }

.btn--airbnb {
  background: var(--airbnb);
  color: #fff;
  box-shadow: 0 8px 24px rgba(255, 56, 92, 0.32);
  font-weight: 700;
}
.btn--airbnb:hover {
  background: var(--airbnb-dark);
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(225, 29, 72, 0.38);
}
.btn--airbnb .airbnb-icon {
  width: auto;
  height: 22px;
  flex-shrink: 0;
  filter: brightness(0) invert(1);
}

.btn--lg { padding: 1.15rem 2.25rem; font-size: .95rem; }

/* ========== SECTION WRAPPERS ========== */
.section {
  padding: clamp(5rem, 10vw, 8rem) 0;
  position: relative;
}
.section__head { text-align: center; margin-bottom: 4rem; }
.section__head .eyebrow { padding: 0 2.5rem; }
.section__head .eyebrow::before { left: 0; }
.section__head .eyebrow::after {
  content: "";
  position: absolute;
  right: 0; top: 50%;
  width: 2rem; height: 1px;
  background: var(--taupe);
}
.section__sub {
  max-width: 56ch;
  margin: 0 auto;
  color: var(--cocoa);
  font-size: 1.1rem;
}

/* ========== INTRO / ABOUT ========== */
.intro {
  background: var(--paper);
  position: relative;
}
.intro__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.intro__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 5;
}
.intro__media img {
  width: 100%; height: 100%; object-fit: cover;
}
.intro__media-2 {
  position: absolute;
  bottom: -2.5rem;
  right: -2.5rem;
  width: 55%;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 8px solid var(--paper);
}
.intro__media-2 img { width: 100%; height: 100%; object-fit: cover; }
.intro__text h2 { margin-bottom: 1.5rem; }
.intro__text h2 em { font-style: italic; color: var(--cocoa); font-weight: 300; }
.intro__lead {
  font-size: 1.2rem;
  color: var(--cocoa);
  margin-bottom: 1.5rem;
  line-height: 1.55;
}
.intro__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(45, 36, 25, 0.12);
}
.intro__stat-num {
  font-family: var(--serif);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: var(--ink);
  line-height: 1;
  margin-bottom: .35rem;
}
.intro__stat-label {
  font-size: .7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--taupe);
}

@media (max-width: 820px) {
  .intro__grid { grid-template-columns: 1fr; }
  .intro__media { aspect-ratio: 4 / 3; }
  .intro__media-2 { display: none; }
}

/* ========== SOFT IMAGE BG SECTIONS ========== */
.bg-soft {
  position: relative;
  overflow: hidden;
}
.bg-soft__img {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.bg-soft__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.22;
  filter: blur(2px);
}
.bg-soft__img::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, var(--paper) 0%, rgba(250,248,245,.4) 25%, rgba(250,248,245,.4) 75%, var(--paper) 100%);
}
.bg-soft .container { position: relative; z-index: 1; }

/* ========== FEATURES ========== */
.features {
  background: var(--cream);
}
.features__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
}
.feature {
  background: var(--paper);
  padding: 2.5rem 2rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(45,36,25,.06);
  transition: transform .4s ease, box-shadow .4s ease;
}
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.feature__icon {
  width: 60px; height: 60px;
  display: flex; align-items: center; justify-content: center;
  background: var(--cream);
  border-radius: 50%;
  margin-bottom: 1.5rem;
  color: var(--cocoa);
}
.feature__icon svg { width: 30px; height: 30px; }
.feature h3 { font-size: 1.25rem; margin-bottom: .5rem; }
.feature p { color: var(--cocoa); font-size: .95rem; margin: 0; }

/* ========== BUSINESS / SPRINTER ========== */
.business {
  background: var(--ink);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
.business::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(207, 198, 188, .12) 0%, transparent 60%);
  pointer-events: none;
}
.business .container { position: relative; z-index: 1; }
.business h2, .business h3 { color: var(--cream); }
.business h2 em { color: var(--sand); font-style: italic; font-weight: 300; }
.business__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 5rem);
  align-items: center;
}
.business__text .eyebrow { color: var(--sand); }
.business__text .eyebrow::before { background: var(--sand); }
.business__lead {
  font-size: 1.2rem;
  color: rgba(238, 236, 234, 0.85);
  margin-bottom: 2rem;
  max-width: 50ch;
  line-height: 1.55;
}
.business__list {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  gap: 1rem;
}
.business__list li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  color: rgba(238, 236, 234, 0.9);
}
.business__list svg {
  flex-shrink: 0;
  width: 22px; height: 22px;
  color: var(--sand);
  margin-top: 2px;
}
.business__sprinter {
  background: rgba(207, 198, 188, .08);
  border: 1px solid rgba(207, 198, 188, .15);
  padding: 2rem;
  border-radius: var(--radius-md);
  margin-top: 2.5rem;
}
.business__sprinter strong { color: var(--cream); display: block; margin-bottom: .25rem; font-size: 1.1rem; }
.business__sprinter span { color: rgba(238, 236, 234, 0.75); font-size: .95rem; }

.business__visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-lg);
}
.business__visual img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 820px) {
  .business__grid { grid-template-columns: 1fr; }
  .business__visual { aspect-ratio: 4 / 3; }
}

/* ========== OUTDOOR / TERRACE & PARKING ========== */
.outdoor {
  background: var(--paper);
}
.outdoor__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: auto auto;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: stretch;
}
.outdoor__visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-md);
}
.outdoor__visual--lg {
  grid-row: span 2;
  aspect-ratio: auto;
  min-height: 480px;
}
.outdoor__visual img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.outdoor__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1rem 0;
}
.outdoor__text h2 em { color: var(--cocoa); font-style: italic; font-weight: 300; }
.outdoor__lead {
  font-size: 1.1rem;
  color: var(--cocoa);
  max-width: 38ch;
}

@media (max-width: 820px) {
  .outdoor__grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
  }
  .outdoor__visual--lg { grid-row: auto; min-height: 0; aspect-ratio: 4 / 3; }
}

/* ========== GALLERY ========== */
.gallery {
  background: var(--paper);
}
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 1rem;
  margin-top: 3rem;
}
.gallery__item {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  background: var(--sand);
  transition: transform .5s ease;
}
.gallery__item:hover { transform: scale(1.01); }
.gallery__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s cubic-bezier(.2,.7,.2,1);
}
.gallery__item:hover img { transform: scale(1.06); }
.gallery__item::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(45,36,25,.4));
  opacity: 0;
  transition: opacity .35s;
}
.gallery__item:hover::after { opacity: 1; }

.gallery__item--big-w { grid-column: span 2; }
.gallery__item--big-h { grid-row: span 2; }
.gallery__item--big-2 { grid-column: span 2; grid-row: span 2; }

@media (max-width: 880px) {
  .gallery__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .gallery__item--big-w { grid-column: span 2; }
  .gallery__item--big-h { grid-row: span 1; }
  .gallery__item--big-2 { grid-column: span 2; grid-row: span 1; }
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(15, 12, 8, 0.96);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 100%; max-height: 88vh; border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); }
.lightbox__close, .lightbox__prev, .lightbox__next {
  position: absolute;
  background: rgba(238, 236, 234, 0.1);
  color: var(--cream);
  width: 48px; height: 48px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background .3s;
  font-size: 1.5rem;
}
.lightbox__close:hover, .lightbox__prev:hover, .lightbox__next:hover { background: rgba(238, 236, 234, 0.22); }
.lightbox__close { top: 1.5rem; right: 1.5rem; }
.lightbox__prev { left: 1.5rem; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 1.5rem; top: 50%; transform: translateY(-50%); }

/* ========== NEARBY / UMGEBUNG ========== */
.nearby { background: var(--paper); }

.nearby__tabs-wrap {
  position: relative;
  margin: 0 calc(var(--gutter) * -1) 3rem;
  padding: 0 var(--gutter);
}
.nearby__tabs-wrap::before,
.nearby__tabs-wrap::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 2rem;
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  transition: opacity .25s ease;
}
.nearby__tabs-wrap::before {
  left: 0;
  background: linear-gradient(to right, var(--paper), transparent);
}
.nearby__tabs-wrap::after {
  right: 0;
  background: linear-gradient(to left, var(--paper), transparent);
}
.nearby__tabs-wrap.has-overflow-left::before { opacity: 1; }
.nearby__tabs-wrap.has-overflow-right::after { opacity: 1; }

.nearby__tabs {
  display: flex;
  flex-wrap: nowrap;
  gap: .5rem;
  justify-content: flex-start;
  padding: .5rem;
  background: var(--cream);
  border-radius: 999px;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.nearby__tabs::-webkit-scrollbar { display: none; }

.nearby__tab {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.5rem;
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--cocoa);
  transition: background .3s ease, color .3s ease;
  white-space: nowrap;
  flex-shrink: 0;
  scroll-snap-align: center;
}
.nearby__tab svg { width: 18px; height: 18px; flex-shrink: 0; }
.nearby__tab:hover { color: var(--ink); }
.nearby__tab.is-active {
  background: var(--ink);
  color: var(--cream);
  box-shadow: var(--shadow-sm);
}

@media (min-width: 760px) {
  .nearby__tabs-wrap { margin-left: auto; margin-right: auto; padding: 0; width: fit-content; max-width: 100%; }
  .nearby__tabs-wrap::before, .nearby__tabs-wrap::after { display: none; }
  .nearby__tabs { overflow: visible; }
}

.nearby__list {
  display: none;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.25rem;
}
.nearby__list.is-active { display: grid; }

.nearby__card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.25rem;
  align-items: center;
  padding: 1.5rem 1.5rem 1.5rem 1.25rem;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid rgba(45, 36, 25, .06);
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.nearby__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(90, 76, 63, .25);
}

.nearby__distance {
  text-align: center;
  min-width: 64px;
  padding-right: 1rem;
  border-right: 1px solid rgba(45, 36, 25, .12);
}
.nearby__distance .num {
  display: block;
  font-family: var(--serif);
  font-size: 1.6rem;
  line-height: 1;
  color: var(--ink);
  font-weight: 500;
}
.nearby__distance .unit {
  display: block;
  font-size: .65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--taupe);
  margin-top: .25rem;
}
.nearby__distance .meta {
  display: block;
  font-size: .7rem;
  color: var(--taupe);
  margin-top: .5rem;
  line-height: 1.25;
}

.nearby__body { min-width: 0; }
.nearby__body h3 {
  font-size: 1.05rem;
  margin-bottom: .25rem;
  color: var(--ink);
}
.nearby__body p {
  font-size: .85rem;
  color: var(--cocoa);
  margin: 0;
  line-height: 1.5;
}
.nearby__tag {
  display: inline-block;
  font-size: .65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--taupe);
  margin-bottom: .35rem;
  font-weight: 600;
}

.nearby__action {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--cream);
  color: var(--cocoa);
  flex-shrink: 0;
  transition: background .3s ease, color .3s ease, transform .3s ease;
}
.nearby__action svg { width: 18px; height: 18px; }
.nearby__card:hover .nearby__action {
  background: var(--ink);
  color: var(--cream);
  transform: translateX(2px);
}

@media (max-width: 540px) {
  .nearby__tab { font-size: .8rem; padding: .65rem 1.1rem; }
  .nearby__tab svg { width: 16px; height: 16px; }
  .nearby__card { grid-template-columns: auto 1fr; padding: 1.25rem; gap: 1rem; }
  .nearby__action { grid-column: 2; justify-self: end; margin-top: -1.5rem; }
  .nearby__distance { padding-right: 1rem; }
}

/* Charging stations */
.nearby__list--charging { grid-template-columns: 1fr; gap: 1.5rem; }
.nearby__list--charging.is-active { display: grid; }

.charging__heading {
  font-family: var(--sans);
  font-size: .75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--taupe);
  font-weight: 600;
  margin: 1rem 0 -.5rem;
  padding-left: 0;
  display: flex;
  align-items: center;
  gap: .75rem;
}
.charging__heading::before {
  content: "";
  width: 24px; height: 1px;
  background: var(--taupe);
}

.charging__intro {
  background: var(--cream);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-md);
  border-left: 3px solid var(--cocoa);
  font-size: .9rem;
}
.charging__intro p { margin: 0; color: var(--cocoa); }
.charging__intro strong { color: var(--ink); }

.charging__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1rem;
}

.charging__loading,
.charging__error {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 3rem 2rem;
  color: var(--taupe);
  font-size: .9rem;
  background: var(--white);
  border-radius: var(--radius-md);
}
.charging__spinner {
  width: 22px; height: 22px;
  border: 2px solid var(--sand);
  border-top-color: var(--cocoa);
  border-radius: 50%;
  animation: chargeSpin .9s linear infinite;
}
@keyframes chargeSpin { to { transform: rotate(360deg); } }

.charge-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.25rem;
  padding: 1.25rem;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid rgba(45, 36, 25, .06);
  align-items: center;
  text-decoration: none;
  color: inherit;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.charge-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(90, 76, 63, .25);
}

.charge-card__power {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 70px;
  padding: .75rem .5rem;
  background: var(--ink);
  color: var(--cream);
  border-radius: var(--radius-sm);
  text-align: center;
}
.charge-card__power svg { width: 18px; height: 18px; margin-bottom: .25rem; }
.charge-card__power-num {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1;
}
.charge-card__power-unit {
  font-size: .6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: .8;
  margin-top: .15rem;
}
.charge-card__power--dc { background: linear-gradient(135deg, var(--ink), #4a3a2a); position: relative; }
.charge-card__power--dc::after {
  content: "DC";
  position: absolute;
  top: -8px; right: -8px;
  background: var(--airbnb);
  color: #fff;
  font-size: .55rem;
  font-weight: 700;
  padding: 2px 5px;
  border-radius: 4px;
  letter-spacing: 0.05em;
}

.charge-card__body { min-width: 0; }
.charge-card__body h3 {
  font-size: 1rem;
  margin-bottom: .25rem;
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: -0.01em;
}
.charge-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem .85rem;
  font-size: .8rem;
  color: var(--cocoa);
  margin-top: .25rem;
}
.charge-card__meta span { display: inline-flex; align-items: center; gap: .35rem; }
.charge-card__addr {
  font-size: .8rem;
  color: var(--taupe);
  margin: .25rem 0 0;
  line-height: 1.4;
}
.charge-card__tag {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
  font-size: .65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--taupe);
  font-weight: 600;
  margin-bottom: .15rem;
}
.charge-card__status {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: 2px 7px;
  border-radius: 999px;
  font-size: .58rem;
  letter-spacing: 0.1em;
  font-weight: 700;
}
.charge-card__status::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  display: inline-block;
}
.charge-card__status--ok {
  background: rgba(120, 160, 110, .15);
  color: #3a5a30;
}
.charge-card__status--ok::before { background: #5a8a3f; }
.charge-card__status--off {
  background: rgba(180, 90, 80, .15);
  color: #7a2a20;
}
.charge-card__status--off::before { background: #b54a3a; }
.charge-card__distance {
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--ink);
  line-height: 1;
}
.charge-card__distance small {
  display: block;
  font-family: var(--sans);
  font-size: .6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--taupe);
  margin-top: .35rem;
  font-weight: 600;
}

@media (max-width: 540px) {
  .charge-card { grid-template-columns: auto 1fr; }
  .charge-card__distance { grid-column: 2; text-align: right; align-self: flex-start; }
}

/* ========== BOOK SECTION ========== */
.book {
  background: var(--cream);
}
.book__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 2rem;
  align-items: stretch;
}
.book__widget {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2rem;
  min-height: 480px;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}
.book__widget iframe {
  width: 100%;
  border: 0;
  display: block;
  min-height: 480px;
}
@media (max-width: 540px) {
  .book__widget { padding: .75rem; min-height: 420px; }
  .book__widget iframe { min-height: 420px; }
  #apartmentIframeAll { margin: 0 !important; }
}
.book__widget-placeholder {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: 440px;
  padding: 2rem;
  border: 2px dashed rgba(45, 36, 25, .15);
  border-radius: var(--radius-sm);
  color: var(--cocoa);
}
.book__widget-placeholder strong {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--ink);
  margin-bottom: .75rem;
  font-weight: 500;
}
.book__widget-placeholder span {
  max-width: 36ch;
  font-size: .95rem;
}

.book__alt {
  background: var(--ink);
  color: var(--cream);
  border-radius: var(--radius-md);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 1.25rem;
}
.book__alt h3 {
  color: var(--cream);
  font-size: 1.4rem;
  margin: 0;
}
.book__alt p {
  color: rgba(238, 236, 234, .8);
  margin: 0;
  font-size: .95rem;
}

@media (max-width: 820px) {
  .book__grid { grid-template-columns: 1fr; }
  .book__alt { text-align: left; }
}

/* ========== LOCATION ========== */
.location {
  background: var(--paper);
  position: relative;
  overflow: hidden;
}

/* Karte als seamless Hintergrund */
.location__map-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.location__map-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Desktop: Pin links positioniert, Karte breitet sich nach rechts aus */
  object-position: 28% center;
  opacity: 0.85;
}
/* Desktop: nach rechts auslaufen, damit Text rechts gut lesbar bleibt */
.location__map-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(250, 248, 245, 0) 0%, rgba(250, 248, 245, 0.35) 35%, rgba(250, 248, 245, 0.95) 65%, var(--paper) 100%),
    linear-gradient(180deg, rgba(250, 248, 245, 0.3) 0%, transparent 20%, transparent 80%, rgba(250, 248, 245, 0.3) 100%);
}

.location__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  min-height: 540px;
}
.location__text {
  grid-column: 2;
}
.location__text h2 em { color: var(--cocoa); font-style: italic; font-weight: 300; }
.location__lead {
  font-size: 1.15rem;
  color: var(--cocoa);
  margin-bottom: 2rem;
  max-width: 48ch;
}

/* Mobile: Karte oben, Text unten */
@media (max-width: 820px) {
  .location { padding-top: 0; }
  .location__map-bg {
    position: relative;
    width: 100%;
    height: 380px;
    inset: auto;
  }
  .location__map-bg img {
    object-position: center center;
    opacity: 0.9;
  }
  .location__map-bg::after {
    background:
      linear-gradient(180deg, rgba(250, 248, 245, 0) 0%, rgba(250, 248, 245, 0.2) 55%, rgba(250, 248, 245, 0.9) 88%, var(--paper) 100%);
  }
  .location__inner {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-top: 0;
    margin-top: -3rem;
  }
  .location__text { grid-column: 1; }
}
.location__points {
  list-style: none; padding: 0; margin: 0;
  display: grid;
  gap: 1.25rem;
}
.location__points li {
  padding: 1rem 1.25rem;
  background: var(--paper);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--sand);
  display: flex; gap: 1rem; align-items: flex-start;
}
.location__points strong {
  display: block;
  font-size: .95rem;
  margin-bottom: .15rem;
  color: var(--ink);
  font-weight: 600;
}
.location__points span { color: var(--cocoa); font-size: .9rem; }
.location__points .num {
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--cocoa);
  line-height: 1;
  min-width: 2.5rem;
}

/* (Alte .location__map / .location__grid Styles entfernt – seamless map ersetzt sie) */

/* ========== CTA BANNER ========== */
.cta-banner {
  position: relative;
  padding: clamp(5rem, 9vw, 7rem) 0;
  text-align: center;
  color: var(--cream);
  overflow: hidden;
}
.cta-banner__bg {
  position: absolute; inset: 0;
  z-index: 0;
}
.cta-banner__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
.cta-banner__bg::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(45,36,25,.85) 0%, rgba(90,76,63,.7) 100%);
}
.cta-banner .container { position: relative; z-index: 1; }
.cta-banner h2 { color: var(--cream); max-width: 22ch; margin: 0 auto 1rem; }
.cta-banner h2 em { color: var(--sand); font-style: italic; font-weight: 300; }
.cta-banner p { color: rgba(238,236,234,.85); max-width: 50ch; margin: 0 auto 2.5rem; font-size: 1.1rem; }

/* ========== CONTACT ========== */
.contact {
  background: var(--paper);
}
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(3rem, 6vw, 5rem);
}
.contact__text h2 { margin-bottom: 1.5rem; }
.contact__text h2 em { color: var(--cocoa); font-style: italic; font-weight: 300; }
.contact__lead {
  font-size: 1.1rem;
  color: var(--cocoa);
  margin-bottom: 2.5rem;
}
.contact__info {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 1.25rem;
}
.contact__info li { display: flex; align-items: center; gap: 1rem; }
.contact__info svg { width: 22px; height: 22px; color: var(--cocoa); flex-shrink: 0; }
.contact__info a, .contact__info span { font-size: 1rem; color: var(--ink); }
.contact__info a:hover { color: var(--cocoa); }

.form {
  background: var(--white);
  padding: clamp(2rem, 4vw, 3rem);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(45,36,25,.04);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form__field { margin-bottom: 1.25rem; }
.form__field--full { grid-column: span 2; }
.form__field label {
  display: block;
  font-size: .75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--taupe);
  font-weight: 500;
  margin-bottom: .5rem;
}
.form__field input,
.form__field textarea,
.form__field select {
  width: 100%;
  font: inherit;
  padding: .85rem 1rem;
  border: 1px solid rgba(45,36,25,.15);
  border-radius: var(--radius-sm);
  background: var(--paper);
  color: var(--ink);
  transition: border-color .25s, box-shadow .25s, background .25s;
}
.form__field input:focus,
.form__field textarea:focus,
.form__field select:focus {
  outline: none;
  border-color: var(--cocoa);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(90, 76, 63, 0.12);
}
.form__field textarea { min-height: 130px; resize: vertical; }
.form__date-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.form__submit {
  width: 100%;
  background: var(--ink);
  color: var(--cream);
  padding: 1.1rem;
  border-radius: 999px;
  font-size: .9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  transition: background .3s, transform .3s;
}
.form__submit:hover { background: var(--cocoa); transform: translateY(-1px); }
.form__note {
  font-size: .8rem;
  color: var(--taupe);
  text-align: center;
  margin-top: 1rem;
}
.form__status {
  text-align: center;
  padding: 1rem;
  border-radius: var(--radius-sm);
  margin-top: 1rem;
  display: none;
  font-size: .9rem;
}
.form__status.is-success { display: block; background: rgba(120, 160, 110, 0.15); color: #3a5a30; }
.form__status.is-error { display: block; background: rgba(180, 90, 80, 0.15); color: #6e2f25; }

@media (max-width: 820px) {
  .contact__grid { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .form__field--full { grid-column: span 1; }
}

/* ========== FOOTER ========== */
.footer {
  background: var(--ink);
  color: rgba(238, 236, 234, 0.7);
  padding: 4rem 0 2rem;
  font-size: .9rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
.footer__logo {
  height: 38px;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1);
  opacity: .9;
}
.footer__brand p { max-width: 32ch; line-height: 1.6; }
.footer h4 {
  color: var(--cream);
  font-family: var(--sans);
  font-size: .75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 1.25rem;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .65rem; }
.footer a:hover { color: var(--cream); }
.footer__bottom {
  border-top: 1px solid rgba(238, 236, 234, 0.12);
  padding-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: .8rem;
}

@media (max-width: 820px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 500px) {
  .footer__grid { grid-template-columns: 1fr; }
}

/* ========== LEGAL PAGES (Impressum / Datenschutz) ========== */
.legal {
  padding: 8rem 0 5rem;
  background: var(--paper);
  min-height: 70vh;
}
.legal__container { max-width: 780px; }
.legal__head { margin-bottom: 3rem; }
.legal__head h1 {
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  margin: .5rem 0 1rem;
}
.legal__lead {
  font-size: 1.1rem;
  color: var(--cocoa);
  max-width: 60ch;
}
.legal__section {
  padding-top: 2rem;
  margin-top: 2rem;
  border-top: 1px solid rgba(45, 36, 25, .08);
}
.legal__section:first-of-type {
  border-top: 0;
  padding-top: 0;
  margin-top: 0;
}
.legal__section h2 {
  font-size: 1.35rem;
  margin-bottom: .75rem;
  color: var(--ink);
}
.legal__section p,
.legal__section li {
  color: var(--cocoa);
  line-height: 1.7;
  font-size: .95rem;
}
.legal__section ul {
  padding-left: 1.25rem;
  margin: 0 0 1em;
}
.legal__section li { margin-bottom: .35rem; }
.legal__section a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: rgba(45, 36, 25, .25);
  text-underline-offset: 3px;
}
.legal__section a:hover { text-decoration-color: var(--ink); }
.legal__back {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(45, 36, 25, .08);
}
.legal__back a {
  color: var(--cocoa);
  font-size: .9rem;
  letter-spacing: 0.04em;
}

.nav__menu--static {
  /* statische Variante für Legal-Seiten - keine Mobile-Overlay-Logik */
  display: flex !important;
  position: static !important;
  transform: none !important;
  background: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 1.5rem !important;
}
.nav__menu--static .nav__link {
  font-family: var(--sans) !important;
  font-size: .9rem !important;
  padding: 0 !important;
  border: 0 !important;
  white-space: nowrap;
}
.nav__menu--static .nav__cta {
  white-space: nowrap;
  padding: .65rem 1.25rem !important;
  font-size: .8rem !important;
  margin-top: 0 !important;
}
@media (max-width: 540px) {
  .nav__menu--static { gap: .75rem !important; }
  .nav__menu--static .nav__link { font-size: .85rem !important; }
  .nav__menu--static .nav__cta { display: none !important; }
}

/* ========== REVEAL ANIMATIONS ========== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ========== COOKIE CONSENT BANNER ========== */
.cc {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
}
.cc[hidden] { display: none; }
.cc__overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 10, 5, 0.42);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  opacity: 0;
  animation: ccFade .35s ease forwards;
  pointer-events: auto;
}
.cc__panel {
  position: relative;
  width: min(820px, calc(100% - 2rem));
  max-height: calc(100vh - 2rem);
  margin: 1rem;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: var(--paper);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(45, 36, 25, .06);
  pointer-events: auto;
  overflow-y: auto;
  animation: ccSlide .45s cubic-bezier(.2,.7,.2,1) both;
}
.cc__close {
  position: absolute;
  top: .75rem; right: .75rem;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  font-size: 1.4rem;
  color: var(--taupe);
  background: transparent;
  transition: background .2s, color .2s;
}
.cc__close:hover { background: var(--cream); color: var(--ink); }

@keyframes ccFade { to { opacity: 1; } }
@keyframes ccSlide {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.cc__title {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.5vw, 1.9rem);
  font-weight: 500;
  margin: 0 0 .75rem;
  color: var(--ink);
  letter-spacing: -0.01em;
  padding-right: 2rem;
}
.cc__lead {
  font-size: .95rem;
  color: var(--cocoa);
  line-height: 1.6;
  margin: 0 0 1.5rem;
}
.cc__lead a { color: var(--ink); text-decoration: underline; text-decoration-color: rgba(45,36,25,.3); text-underline-offset: 3px; }
.cc__lead a:hover { text-decoration-color: var(--ink); }

.cc__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  justify-content: flex-end;
  margin-top: 1.5rem;
}
.cc__btn {
  flex: 1 1 auto;
  min-width: 0;
  padding: .8rem 1.4rem;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: all .25s cubic-bezier(.6,.05,.28,.99);
  white-space: nowrap;
  text-align: center;
}
.cc__btn--primary {
  background: var(--ink);
  color: var(--cream);
  box-shadow: var(--shadow-sm);
}
.cc__btn--primary:hover { background: var(--cocoa); transform: translateY(-1px); }
.cc__btn--secondary {
  background: var(--cream);
  color: var(--ink);
  border: 1px solid rgba(45, 36, 25, .12);
}
.cc__btn--secondary:hover { background: var(--sand); }

/* Detail view */
.cc__category {
  padding: 1rem 0;
  border-top: 1px solid rgba(45, 36, 25, .08);
}
.cc__category:last-of-type { border-bottom: 1px solid rgba(45, 36, 25, .08); }
.cc__cat-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  margin-bottom: .35rem;
}
.cc__cat-head strong {
  display: block;
  font-family: var(--sans);
  font-size: .95rem;
  color: var(--ink);
  font-weight: 600;
}
.cc__cat-status {
  display: inline-block;
  margin-top: .15rem;
  font-size: .65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--taupe);
  font-weight: 600;
}
.cc__category p {
  font-size: .85rem;
  color: var(--cocoa);
  line-height: 1.55;
  margin: 0;
}

/* iOS-style toggle */
.cc__cat-head input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 44px; height: 26px;
  background: rgba(45, 36, 25, .18);
  border-radius: 999px;
  position: relative;
  cursor: pointer;
  transition: background .25s;
  flex-shrink: 0;
}
.cc__cat-head input[type="checkbox"]::after {
  content: "";
  position: absolute;
  top: 3px; left: 3px;
  width: 20px; height: 20px;
  background: #fff;
  border-radius: 50%;
  transition: transform .25s cubic-bezier(.6,.05,.28,.99), background .25s;
  box-shadow: 0 1px 3px rgba(0,0,0,.2);
}
.cc__cat-head input[type="checkbox"]:checked {
  background: var(--ink);
}
.cc__cat-head input[type="checkbox"]:checked::after {
  transform: translateX(18px);
}
.cc__cat-head input[type="checkbox"]:disabled {
  background: var(--cocoa);
  cursor: not-allowed;
  opacity: .85;
}

@media (max-width: 540px) {
  .cc { align-items: flex-end; }
  .cc__panel { margin: 0; border-radius: var(--radius-md) var(--radius-md) 0 0; max-height: 92vh; }
  .cc__actions { flex-direction: column-reverse; }
  .cc__btn { width: 100%; padding: .95rem 1rem; }
  .cc__title { font-size: 1.3rem; padding-right: 2.5rem; }
}

/* ========== CONSENT GATE (Platzhalter wenn Dienst noch nicht freigeschaltet) ========== */
.consent-gate {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .85rem;
  text-align: center;
  min-height: 440px;
  padding: 2rem;
  border: 2px dashed rgba(45, 36, 25, .15);
  border-radius: var(--radius-sm);
  color: var(--cocoa);
}
.consent-gate[hidden] { display: none; }
.consent-gate strong {
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--ink);
  font-weight: 500;
}
.consent-gate span { max-width: 36ch; font-size: .9rem; line-height: 1.55; }
.consent-gate__btn {
  margin-top: .5rem;
  padding: .85rem 1.6rem;
  background: var(--ink);
  color: var(--cream);
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background .25s, transform .25s;
}
.consent-gate__btn:hover { background: var(--cocoa); transform: translateY(-1px); }
.consent-gate__link {
  font-size: .8rem;
  color: var(--taupe);
  text-decoration: underline;
  text-decoration-color: rgba(149, 133, 122, .4);
  text-underline-offset: 3px;
}
.consent-gate__link:hover { color: var(--ink); }
@media (max-width: 540px) {
  .consent-gate { min-height: 320px; padding: 1.5rem; }
}
