/* ==========================================================================
   Uhuru Kijiji — Freiheitsdorf, Bwejuu, Sansibar
   Helles, warmes Editorial. Schwesterseite zu Bahari #4.0: gleiche Bauweise,
   eigene Farbwelt (Sand und Papier statt Nacht und Ozean).
   ========================================================================== */

/* --- Schriften ------------------------------------------------------------ */

@font-face {
  font-family: 'Playfair Display';
  src: url('../fonts/playfair-latin.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Playfair Display';
  src: url('../fonts/playfair-latin-ext.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Playfair Display';
  src: url('../fonts/playfair-italic-latin.woff2') format('woff2');
  font-weight: 400 600;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-latin.woff2') format('woff2');
  font-weight: 300 600;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-latin-ext.woff2') format('woff2');
  font-weight: 300 600;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* --- Tokens --------------------------------------------------------------- */

:root {
  /* Farben der Bestandsseite und des Logos */
  --paper: #FBF6EC;
  --paper-2: #F4EDE0;
  --sand: #EDDDC4;
  --sand-2: #E3CDA6;
  --mist: #E5E8E1;
  --night: #12211F;
  --night-2: #1B2E2B;

  --sun: #E8892A;
  --lagoon: #23A9AE;
  --ocean: #1D7FD0;
  --palm: #7FA858;

  --ink: #17211F;
  --ink-soft: #56635E;
  --stone: #A39A8D;

  --line: rgba(23, 33, 31, 0.14);
  --line-soft: rgba(23, 33, 31, 0.08);
  --line-dark: rgba(251, 246, 236, 0.18);

  --brand: linear-gradient(100deg, var(--sun) 0%, var(--lagoon) 52%, var(--ocean) 100%);

  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Fluide Typografie */
  --t-hero: clamp(2.4rem, 6vw, 5.4rem);
  --t-h1: clamp(2.1rem, 5vw, 4rem);
  --t-h2: clamp(1.7rem, 3.4vw, 2.9rem);
  --t-h3: clamp(1.2rem, 1.9vw, 1.55rem);
  --t-lead: clamp(1.1rem, 1.8vw, 1.45rem);
  --t-body: clamp(1rem, 1.1vw, 1.09rem);
  --t-small: 0.875rem;
  --t-label: 0.72rem;

  --gut: clamp(1.25rem, 5vw, 5rem);
  --stack: clamp(4rem, 9vw, 8.5rem);
  --measure: 64ch;

  --radius: 3px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --slow: 1s;
}

/* --- Grundlagen ----------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--t-body);
  font-weight: 300;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 0;
}

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

strong { font-weight: 600; }

::selection { background: var(--sand-2); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--ocean);
  outline-offset: 3px;
}

/* --- Hilfsklassen --------------------------------------------------------- */

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--night);
  color: var(--paper);
  padding: 0.75rem 1.25rem;
}
.skip:focus { left: 1rem; top: 1rem; }

.wrap {
  width: min(1400px, 100%);
  margin-inline: auto;
  padding-inline: var(--gut);
}
.wrap--narrow { width: min(820px, 100%); }
.wrap--mid { width: min(1080px, 100%); }

.label {
  display: block;
  font-family: var(--font-body);
  font-size: var(--t-label);
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 0 1.4rem;
}
.label::after {
  content: '';
  display: block;
  width: 2.75rem;
  height: 2px;
  margin-top: 0.85rem;
  background: var(--brand);
}
.label--center { text-align: center; }
.label--center::after { margin-inline: auto; }

.on-dark .label,
.section--night .label { color: var(--sand-2); }

.lead {
  font-size: var(--t-lead);
  line-height: 1.6;
  font-weight: 300;
  color: var(--ink);
  max-width: 42ch;
}

.muted { color: var(--ink-soft); }

/* --- Schaltflächen -------------------------------------------------------- */

.btn {
  --btn-fg: var(--paper);
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1.05rem 2.1rem;
  border: 0;
  border-radius: 999px;
  background: var(--night);
  color: var(--btn-fg);
  font-family: var(--font-body);
  font-size: var(--t-small);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  transition: color 0.35s var(--ease), transform 0.35s var(--ease);
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--brand);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:hover::before { opacity: 1; }

/* Auf dunklem Grund kehrt sich die Schaltfläche um, sonst verschwindet sie */
.on-dark .btn,
.section--night .btn {
  background: var(--paper);
  color: var(--night);
}
.on-dark .btn:hover,
.section--night .btn:hover { color: var(--night); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line);
}
.btn--ghost:hover { color: var(--paper); }

.on-dark .btn--ghost,
.section--night .btn--ghost {
  background: transparent;
  color: var(--paper);
  box-shadow: inset 0 0 0 1px var(--line-dark);
}

.btn__arrow {
  width: 1rem;
  height: 1rem;
  flex: none;
  transition: transform 0.35s var(--ease);
}
.btn:hover .btn__arrow { transform: translateX(4px); }

/* --- Kopfzeile ------------------------------------------------------------ */

.site-head {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.1rem var(--gut);
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease),
    padding 0.4s var(--ease);
}
.site-head.is-stuck,
.site-head--solid {
  background: rgba(251, 246, 236, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line-soft);
  padding-block: 0.7rem;
}

.site-head__logo {
  display: grid;
  line-height: 0;
}
.site-head__logo img {
  grid-area: 1 / 1;
  width: clamp(150px, 19vw, 215px);
  height: auto;
  transition: opacity 0.35s var(--ease);
}
/* Über Film und Foto trägt der Farbverlauf nicht — dort steht die weiße
   Fassung, sobald die Kopfzeile hinterlegt ist die farbige. */
.site-head__logo img[data-logo='light'] {
  filter: drop-shadow(0 1px 10px rgba(0, 0, 0, 0.4));
}
.site-head__logo img[data-logo='dark'] { opacity: 0; }
.site-head.is-stuck .site-head__logo img[data-logo='light'],
.site-head--solid .site-head__logo img[data-logo='light'] { opacity: 0; }
.site-head.is-stuck .site-head__logo img[data-logo='dark'],
.site-head--solid .site-head__logo img[data-logo='dark'] { opacity: 1; }

@media (max-width: 900px) {
  /* Bei offenem Menü liegt heller Grund hinter der Kopfzeile */
  body:has(.nav.is-open) .site-head__logo img[data-logo='light'] { opacity: 0; }
  body:has(.nav.is-open) .site-head__logo img[data-logo='dark'] { opacity: 1; }
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.2vw, 2.1rem);
  font-size: var(--t-small);
  letter-spacing: 0.04em;
}
.nav a {
  position: relative;
  color: var(--paper);
  text-decoration: none;
  padding-block: 0.35rem;
  opacity: 0.85;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.45);
  transition: opacity 0.25s var(--ease);
}
.nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.nav a:hover { opacity: 1; }
.nav a:hover::after,
.nav a[aria-current]::after { transform: scaleX(1); }

.site-head.is-stuck .nav a,
.site-head--solid .nav a {
  color: var(--ink);
  text-shadow: none;
  opacity: 0.75;
}
.site-head.is-stuck .nav a:hover,
.site-head--solid .nav a:hover { opacity: 1; }

.nav__lang {
  font-weight: 500;
  letter-spacing: 0.14em;
  padding: 0.35rem 0.8rem !important;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px currentColor;
  opacity: 0.7 !important;
}
.nav__lang::after { display: none; }
.nav__lang:hover { opacity: 1 !important; }

.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  position: relative;
  z-index: 2;
}
.nav-toggle span {
  display: block;
  width: 1.5rem;
  height: 1.5px;
  margin: 0.32rem auto;
  background: var(--paper);
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.4);
  transition: transform 0.35s var(--ease), opacity 0.25s var(--ease),
    background 0.35s var(--ease);
}
.site-head.is-stuck .nav-toggle span,
.site-head--solid .nav-toggle span {
  background: var(--ink);
  box-shadow: none;
}
.nav-toggle[aria-expanded='true'] span { background: var(--ink); box-shadow: none; }
.nav-toggle[aria-expanded='true'] span:nth-child(1) { transform: translateY(0.52rem) rotate(45deg); }
.nav-toggle[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded='true'] span:nth-child(3) { transform: translateY(-0.52rem) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: 1.1rem;
    background: var(--paper);
    font-size: 1.35rem;
    font-family: var(--font-display);
    letter-spacing: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-1rem);
    transition: opacity 0.35s var(--ease), transform 0.35s var(--ease),
      visibility 0.35s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav a { color: var(--ink); text-shadow: none; opacity: 1; }
  .nav__lang { font-family: var(--font-body); font-size: var(--t-small); }
}

/* --- Kopfbereich ---------------------------------------------------------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 8rem var(--gut) clamp(4.5rem, 9vh, 7rem);
  overflow: hidden;
  color: var(--paper);
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero__media video,
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(10, 20, 19, 0.55) 0%, rgba(10, 20, 19, 0.1) 32%,
      rgba(10, 20, 19, 0.55) 72%, rgba(10, 20, 19, 0.82) 100%);
}

.hero__inner {
  max-width: min(100%, 58ch);
  text-shadow: 0 2px 24px rgba(8, 18, 17, 0.45);
}

.hero__eyebrow {
  font-size: var(--t-label);
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--sand-2);
  margin: 0 0 1.4rem;
}

.hero__title {
  font-size: var(--t-hero);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.03em;
  margin: 0 0 1.6rem;
  max-width: 18ch;
  text-wrap: balance;
}
.hero__title em {
  font-style: italic;
  font-weight: 400;
  color: var(--sand);
}

.hero__slogan {
  max-width: 46ch;
  font-size: var(--t-lead);
  line-height: 1.55;
  color: rgba(251, 246, 236, 0.9);
  margin: 0 0 2.2rem;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 0.7rem;
  margin: 0;
  font-size: var(--t-label);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.hero__meta span {
  padding: 0.45rem 1rem;
  border-radius: 999px;
  background: rgba(251, 246, 236, 0.1);
  box-shadow: inset 0 0 0 1px rgba(251, 246, 236, 0.25);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.hero__scroll {
  position: absolute;
  right: var(--gut);
  bottom: clamp(4.5rem, 9vh, 7rem);
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: var(--t-label);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(251, 246, 236, 0.75);
  text-decoration: none;
}
.hero__scroll::after {
  content: '';
  width: 3.5rem;
  height: 1px;
  background: currentColor;
  transform-origin: right;
  animation: scroll-hint 2.4s var(--ease) infinite;
}
@keyframes scroll-hint {
  0%, 100% { transform: scaleX(0.4); opacity: 0.5; }
  50% { transform: scaleX(1); opacity: 1; }
}
@media (max-width: 700px) { .hero__scroll { display: none; } }

/* Weiche Welle zum nächsten Abschnitt — Anklang an die alte Seite */
.hero__wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  z-index: 1;
  width: 100%;
  height: clamp(48px, 7vw, 96px);
  display: block;
}

/* --- Abschnitte ----------------------------------------------------------- */

.section {
  position: relative;
  padding-block: var(--stack);
}
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.section--sand { background: var(--sand); }
.section--paper2 { background: var(--paper-2); }
.section--mist { background: var(--mist); }
.section--night {
  background: var(--night);
  color: var(--paper);
}
.section--night h1, .section--night h2, .section--night h3 { color: var(--paper); }
.section--night .muted { color: rgba(251, 246, 236, 0.66); }

.section__head { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section__title {
  font-size: var(--t-h1);
  text-wrap: balance;
  max-width: 18ch;
}
.section__title--center { max-width: 22ch; margin-inline: auto; text-align: center; }

/* --- Auftakt: großer Einleitungssatz -------------------------------------- */

.opener {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.9vw, 2.4rem);
  font-weight: 400;
  line-height: 1.34;
  letter-spacing: -0.015em;
  max-width: 30ch;
  margin: 0;
  text-wrap: pretty;
}
.opener em { font-style: italic; color: var(--ink-soft); }

.opener-grid {
  display: grid;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
@media (min-width: 950px) {
  .opener-grid { grid-template-columns: 1.15fr 1fr; }
}

/* --- Zweispaltiges Editorial ---------------------------------------------- */

.split {
  display: grid;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
@media (min-width: 950px) {
  .split { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); }
  .split__claim { position: sticky; top: 7rem; }
}
.split__claim .section__title { max-width: 14ch; }
.split__body { max-width: var(--measure); }
.split__body p + p { margin-top: 0; }

/* --- Pull-Zitat ----------------------------------------------------------- */

.pull {
  margin: clamp(2.5rem, 5vw, 4rem) 0;
  padding-left: clamp(1.25rem, 3vw, 2.25rem);
  border-left: 2px solid transparent;
  border-image: var(--brand) 1;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.4vw, 1.95rem);
  font-weight: 400;
  line-height: 1.32;
  letter-spacing: -0.015em;
  max-width: 26ch;
}

/* --- Faktenreihe ---------------------------------------------------------- */

/* Nur Trennstriche zwischen den Zellen, sonst nichts — kein Rahmen, oben und
   unten offen. Die Striche sitzen auf den Zellen selbst und nicht als
   durchscheinender Elternhintergrund: der blitzt bei krummen Spaltenbreiten
   auch außen auf. */
.facts {
  display: grid;
  grid-template-columns: 1fr;
  margin: 0;
}
.fact {
  padding: clamp(1.35rem, 3vw, 1.75rem) 0;
  border-top: 1px solid var(--line);
}
.fact:first-child { border-top: 0; }

@media (min-width: 760px) {
  .facts { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .fact {
    padding: clamp(2rem, 3.5vw, 2.75rem) clamp(1.25rem, 2.2vw, 2rem);
    border-top: 0;
    border-left: 1px solid var(--line);
  }
  .fact:first-child { border-left: 0; padding-left: 0; }
  .fact:last-child { padding-right: 0; }
}
.fact dt {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.03em;
  background: var(--brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.fact dd {
  margin: 0.7rem 0 0;
  font-size: var(--t-small);
  line-height: 1.5;
  color: var(--ink-soft);
}

/* --- Film im Hochformat --------------------------------------------------- */

.reel-grid {
  display: grid;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
@media (min-width: 850px) {
  .reel-grid { grid-template-columns: minmax(0, 300px) minmax(0, 1fr); }
}
.reel {
  position: relative;
  width: min(300px, 100%);
  margin-inline: auto;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 30px 70px -30px rgba(18, 33, 31, 0.55);
  background: var(--night);
}
.reel video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; }

/* --- Lageplan ------------------------------------------------------------- */

.plan {
  margin: 0;
  background: var(--paper);
  padding: clamp(0.75rem, 2vw, 1.5rem);
  box-shadow: 0 24px 60px -34px rgba(18, 33, 31, 0.5);
}
.plan img { width: 100%; cursor: zoom-in; }
.plan figcaption {
  margin-top: 1rem;
  font-size: var(--t-small);
  color: var(--ink-soft);
  text-align: center;
}

/* --- Räume und Galerien --------------------------------------------------- */

.room + .room { margin-top: clamp(3.5rem, 7vw, 6rem); }

.room__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding-bottom: 1.1rem;
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
  border-bottom: 1px solid var(--line);
}
.room__title {
  font-size: var(--t-h2);
  letter-spacing: -0.02em;
}
.room__count {
  font-size: var(--t-label);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.gallery {
  display: grid;
  gap: clamp(0.65rem, 1.4vw, 1.1rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
}
/* Vier Aufnahmen: zwei mal zwei statt drei plus eine einsame */
@media (min-width: 700px) {
  .gallery--wide { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.gallery__item {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--sand);
  cursor: zoom-in;
  border-radius: var(--radius);
}
.gallery__item img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.9s var(--ease), filter 0.6s var(--ease);
}
.gallery__item:hover img { transform: scale(1.045); }
.gallery__item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(18, 33, 31, 0.35));
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.gallery__item:hover::after { opacity: 1; }

/* --- Bildlupe ------------------------------------------------------------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(12, 22, 21, 0.94);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.lightbox.is-open { display: flex; }
.lightbox img {
  max-width: 100%;
  max-height: 88vh;
  width: auto;
  object-fit: contain;
  border-radius: var(--radius);
}
.lightbox__close,
.lightbox__nav {
  position: absolute;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border: 0;
  border-radius: 999px;
  background: rgba(251, 246, 236, 0.12);
  color: var(--paper);
  cursor: pointer;
  transition: background 0.25s var(--ease);
}
.lightbox__close:hover,
.lightbox__nav:hover { background: rgba(251, 246, 236, 0.24); }
.lightbox__close { top: clamp(1rem, 3vw, 2rem); right: clamp(1rem, 3vw, 2rem); }
.lightbox__nav--prev { left: clamp(0.5rem, 3vw, 2rem); }
.lightbox__nav--next { right: clamp(0.5rem, 3vw, 2rem); }
.lightbox__nav svg, .lightbox__close svg { width: 1.15rem; height: 1.15rem; }
.lightbox__count {
  position: absolute;
  bottom: clamp(1rem, 3vw, 2rem);
  left: 50%;
  transform: translateX(-50%);
  font-size: var(--t-label);
  letter-spacing: 0.2em;
  color: rgba(251, 246, 236, 0.7);
}

/* --- Über uns ------------------------------------------------------------- */

.people {
  display: grid;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
@media (min-width: 900px) {
  .people { grid-template-columns: 1fr 1fr; }
}
.people__media {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
}
.people__media img { width: 100%; }
.people__body { max-width: 46ch; }

/* --- Aufruf --------------------------------------------------------------- */

.cta { text-align: center; }
.cta__title {
  font-size: var(--t-h1);
  max-width: 20ch;
  margin: 0 auto 1.5rem;
  text-wrap: balance;
}
.cta__text {
  max-width: 52ch;
  margin: 0 auto 2.5rem;
  color: rgba(251, 246, 236, 0.78);
}
.cta__mail {
  display: block;
  margin-top: 1.75rem;
  font-size: var(--t-small);
  letter-spacing: 0.06em;
  color: rgba(251, 246, 236, 0.6);
  text-decoration: none;
}
.cta__mail:hover { color: var(--sand-2); }

/* --- Fußzeile ------------------------------------------------------------- */

.site-foot {
  background: var(--night);
  color: rgba(251, 246, 236, 0.78);
  padding-block: clamp(3.5rem, 7vw, 6rem) 2.5rem;
  font-size: var(--t-small);
}
.site-foot h2, .site-foot h3 { color: var(--paper); }

.foot-grid {
  display: grid;
  gap: clamp(2.25rem, 4vw, 3.5rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
}

.foot-col__title {
  font-family: var(--font-body);
  font-size: var(--t-label);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sand-2);
  margin: 0 0 1.25rem;
}

.foot-col address {
  font-style: normal;
  line-height: 1.85;
}
.foot-col a { text-decoration: none; }
.foot-col a:hover { color: var(--sand-2); }

.qr {
  display: inline-block;
  width: 108px;
  padding: 7px;
  background: var(--paper);
  border-radius: var(--radius);
  line-height: 0;
}
.qr img { width: 100%; }

.social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  list-style: none;
  margin: 1.1rem 0 0;
  padding: 0;
}
.social a {
  display: grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px var(--line-dark);
  color: rgba(251, 246, 236, 0.8);
  transition: background 0.3s var(--ease), color 0.3s var(--ease),
    transform 0.3s var(--ease);
}
.social a:hover {
  background: var(--brand);
  color: var(--night);
  transform: translateY(-2px);
}
.social svg { width: 1.05rem; height: 1.05rem; fill: currentColor; }

.site-foot__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: 2rem;
  border-top: 1px solid var(--line-dark);
  color: rgba(251, 246, 236, 0.55);
}
.site-foot__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}
.site-foot__legal a { text-decoration: none; }
.site-foot__legal a:hover { color: var(--sand-2); }

/* --- Rechtsseiten --------------------------------------------------------- */

.legal {
  padding-block: clamp(7rem, 12vw, 10rem) var(--stack);
}
.legal h1 {
  font-size: var(--t-h1);
  margin-bottom: 2.5rem;
}
.legal h2 {
  font-size: var(--t-h3);
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0;
  margin: 2.75rem 0 0.85rem;
}
.legal address {
  font-style: normal;
  line-height: 1.9;
  margin-bottom: 1.5rem;
}
.legal p, .legal li { color: var(--ink-soft); }
.legal a { color: var(--ink); text-underline-offset: 3px; }
.legal ul { padding-left: 1.15rem; }
.legal li { margin-bottom: 0.4rem; }

.legal__back {
  display: inline-block;
  margin-bottom: 2.5rem;
  font-size: var(--t-small);
  letter-spacing: 0.08em;
  text-decoration: none;
  color: var(--ink-soft);
}
.legal__back:hover { color: var(--ink); }

/* --- Fehlerseite ---------------------------------------------------------- */

.oops {
  min-height: 100svh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 6rem var(--gut);
}
.oops__code {
  font-family: var(--font-display);
  font-size: clamp(5rem, 18vw, 12rem);
  line-height: 0.9;
  background: var(--brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: 0 0 1.5rem;
}

/* --- Einblenden beim Scrollen --------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity var(--slow) var(--ease), transform var(--slow) var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__scroll::after { animation: none; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

/* --- Druck ---------------------------------------------------------------- */

@media print {
  .site-head, .nav, .hero__media, .hero__scroll, .lightbox, .site-foot { display: none !important; }
  body { background: #fff; color: #000; }
  .reveal { opacity: 1; transform: none; }
  .section { padding-block: 1.5rem; page-break-inside: avoid; }
}
