/* ================================================================
   KLANGZENTRALE — Components
   Alle wiederverwendbaren UI-Blöcke.
   Reihenfolge: Header → Nav → Buttons → Hero → Sections →
   Cards → Gallery → Story → Board → CTA → Form → FAQ →
   Areal → Footer → Teaser → Stats → Map → Download →
   Header-Status → Item Stack
   ================================================================ */

/* ----------------------------------------------------------------
   HEADER
   ---------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--dark);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  backdrop-filter: blur(8px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  padding-inline: var(--pad-x);
  gap: var(--s-4);
}

.site-header__logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  height: 64px;
}

.site-header__logo img {
  height: 64px;
  width: auto;
  filter: brightness(0) invert(1);
}
.site-header__logo .kz-logo {
  height: 64px;
  width: auto;
}

@media (max-width: 720px) {
  .site-header__inner { height: 60px; }
  .site-header__logo  { height: 48px; }
  .site-header__logo img { height: 48px; }
  .site-header__logo .kz-logo { height: 48px; }
}

/* ----------------------------------------------------------------
   NAV
   ---------------------------------------------------------------- */
.site-nav {
  display: flex;
  align-items: center;
  gap: var(--s-4);
  margin-left: auto;
}

.site-nav__links {
  display: flex;
  gap: var(--s-3);
}

.site-nav__links a {
  font-size: 0.875rem;
  font-family: var(--f-body);
  color: rgba(242,240,236,0.82);
  transition: color 0.15s, border-color 0.15s;
  white-space: nowrap;
  padding-bottom: 0.15em;
  border-bottom: 1.5px solid transparent;
}

.site-nav__links a:hover {
  color: var(--text-inv);
}
.site-nav__links a[aria-current="page"] {
  color: var(--text-inv);
  border-bottom-color: var(--yellow);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-inv);
  cursor: pointer;
  padding: var(--s-1);
  line-height: 0;
}

/* Status item only shown inside the expanded mobile/landscape overlay */
.site-nav__mobile-status {
  display: none;
  align-items: center;
  gap: 0.5em;
  font-family: var(--f-body);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  color: var(--yellow);
  white-space: nowrap;
  padding: 0.4em 0.9em;
  border: 1px solid rgba(245,197,24,0.3);
  margin-top: var(--s-2);
}
.site-nav__mobile-status::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--yellow);
  flex-shrink: 0;
}

@media (max-width: 720px) {
  .site-nav__links {
    display: none;
    position: fixed;
    top: 60px;
    right: 0;
    bottom: 0;
    left: 0;
    min-height: calc(100dvh - 60px);
    background: var(--dark);
    flex-direction: column;
    padding: var(--s-6) var(--pad-x) max(var(--s-6), env(safe-area-inset-bottom));
    gap: var(--s-4);
    z-index: 190;
    border-top: 1px solid rgba(255,255,255,0.07);
    overflow-y: auto;
  }
  .site-nav__links.is-open { display: flex; }
  .site-nav__links.is-open a {
    font-family: var(--f-head);
    font-weight: 700;
    font-size: 2rem;
    color: var(--text-inv);
    opacity: 0.9;
  }
  .site-nav__links.is-open .site-nav__mobile-status { display: flex; }
  .nav-toggle { display: flex; }
  .site-nav { gap: var(--s-2); }
  .site-nav .btn { display: none; }
  .header-status { display: none !important; }
}

/* Landscape phones (e.g. iPhone 12/14 Pro in landscape: ~844×390px) */
@media (max-width: 960px) and (max-height: 500px) {
  .site-header__inner { height: 60px; }
  .site-header__logo  { height: 48px; }
  .site-header__logo img { height: 48px; }
  .site-header__logo .kz-logo { height: 48px; }
  .site-nav__links {
    display: none;
    position: fixed;
    top: 60px;
    right: 0;
    bottom: 0;
    left: 0;
    min-height: calc(100dvh - 60px);
    background: var(--dark);
    flex-direction: column;
    padding: var(--s-4) var(--pad-x) max(var(--s-4), env(safe-area-inset-bottom));
    gap: var(--s-3);
    z-index: 190;
    border-top: 1px solid rgba(255,255,255,0.07);
    overflow-y: auto;
  }
  .site-nav__links.is-open { display: flex; }
  .site-nav__links.is-open a {
    font-family: var(--f-head);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--text-inv);
    opacity: 0.9;
  }
  .site-nav__links.is-open .site-nav__mobile-status { display: flex; }
  .nav-toggle { display: flex; }
  .site-nav { gap: var(--s-2); }
  .site-nav .btn { display: none; }
  .header-status { display: none !important; }
}

/* Header-Status Pill (voll-Modus) */
.header-status {
  font-family: var(--f-body);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  color: var(--yellow);
  white-space: nowrap;
  padding: 0.4em 0.9em;
  border: 1px solid rgba(245,197,24,0.3);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 0.5em;
}

.header-status::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--yellow);
  flex-shrink: 0;
}

/* ----------------------------------------------------------------
   BUTTONS — Basis
   ---------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.75em 1.6em;
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  white-space: nowrap;
  position: relative;
  overflow: visible;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.btn-primary {
  background: var(--yellow);
  color: var(--dark);
}
.btn-primary:hover { background: #ffd400; }

.btn-ghost {
  background: transparent;
  color: var(--text-inv);
  border: 1.5px solid rgba(255,255,255,0.28);
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.7); }

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

/* Warteliste-Button */
.btn-waitlist {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.75em 1.6em;
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1.5px solid rgba(242,240,236,0.35);
  background: transparent;
  color: rgba(242,240,236,0.85);
  white-space: nowrap;
  transition: border-color 0.15s, background 0.15s;
  text-decoration: none;
}
.btn-waitlist:hover {
  border-color: rgba(242,240,236,0.7);
  background: rgba(255,255,255,0.05);
}
.section--white .btn-waitlist,
.section--border .btn-waitlist,
.section .btn-waitlist {
  border-color: var(--violet);
  color: var(--violet);
}
.section--white .btn-waitlist:hover,
.section--border .btn-waitlist:hover,
.section .btn-waitlist:hover {
  background: rgba(91,45,140,0.07);
}

/* ----------------------------------------------------------------
   BUTTON WAVE ARCS
   SVG-Halbkreise (abgeleitet vom Logo), animiert via cta-waves.js.
   Das SVG sitzt absolut am rechten Rand des Buttons mit overflow:visible.
   ---------------------------------------------------------------- */
.btn-waves {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 1px;
  overflow: visible;
  pointer-events: none;
}

.btn-arc {
  fill: none;
  stroke-width: 1.5;
  stroke: var(--violet);
  opacity: 0;
}

/* Gelbe Arcs auf dunklen / violetten Hintergründen */
.hero         .btn-arc,
.cta-block    .btn-arc,
.section--dark    .btn-arc,
.section--violet  .btn-arc,
.site-header  .btn-arc { stroke: var(--yellow); }

/* Keyboard focus: äusserster Arc statisch sichtbar */
.btn-primary:focus-visible .btn-arc--3 { opacity: 0.35; }

/* Reduced motion: statt Animation nur statischer Hover-Hint */
@media (prefers-reduced-motion: reduce) {
  .btn-primary:hover .btn-arc--2 { opacity: 0.28; transition: opacity 0.2s; }
}

/* ----------------------------------------------------------------
   HERO
   ---------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 92svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: var(--s-12);
  background: var(--dark);
  color: var(--text-inv);
  overflow: hidden;
}

.hero--short {
  min-height: 52svh;
  justify-content: flex-end;
  padding-top: var(--s-12);
  padding-bottom: var(--s-8);
}

/* WebGL-Canvas für mesh-bg.js */
.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.9;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(20,20,20,0.2) 0%,
    rgba(20,20,20,0.0) 40%,
    rgba(20,20,20,0.55) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

.hero__pre {
  font-family: var(--f-body);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: var(--s-3);
  display: flex;
  align-items: center;
  gap: var(--s-2);
}

.hero__pre::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--yellow);
  flex-shrink: 0;
}

.hero__headline {
  max-width: 14ch;
  margin-bottom: var(--s-4);
}

.hero__sub {
  max-width: 52ch;
  font-size: clamp(0.975rem, 1.5vw, 1.125rem);
  line-height: 1.75;
  color: rgba(242,240,236,0.85);
  margin-bottom: var(--s-6);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
  align-items: center;
}

/* Status-Badge im Hero (voll-Modus) */
.hero-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--f-body);
  font-size: 0.7rem;
  letter-spacing: 0.07em;
  color: rgba(242,240,236,1);
  background: rgba(8,4,16,0.82);
  border: 1px solid rgba(255,255,255,0.18);
  padding: 0.35em 0.9em;
  margin-bottom: var(--s-4);
  backdrop-filter: blur(4px);
}

.hero-status-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--yellow);
  flex-shrink: 0;
  opacity: 0.8;
}

/* ----------------------------------------------------------------
   SECTIONS
   ---------------------------------------------------------------- */
.section {
  padding-block: var(--s-8);
}

.section--sm { padding-block: var(--s-5); }
.section--lg { padding-block: var(--s-12); }

.section--dark    { background: var(--dark);        color: var(--text-inv); }
.section--violet  { background: var(--violet-dark); color: var(--text-inv); }
.section--white   { background: #fff; }
.section--border  { border-top: 1px solid var(--border); }

.section__kicker {
  font-family: var(--f-body);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--violet);
  margin-bottom: var(--s-3);
}
.section--dark   .section__kicker,
.section--violet .section__kicker { color: var(--yellow); }

.section__title  { margin-bottom: var(--s-3); }

.section__lead {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.75;
  color: var(--muted);
  max-width: 60ch;
  margin-bottom: var(--s-6);
}
.section--dark   .section__lead,
.section--violet .section__lead { color: rgba(242,240,236,0.92); }

/* Inline block-label — used inside cards/columns above a table or list.
   Same visual language as .section__kicker but at block scope, not section scope. */
.data-label {
  font-family: var(--f-body);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--violet);
  margin-bottom: var(--s-2);
}
.section--dark .data-label,
.section--violet .data-label { color: var(--yellow); }

/* ----------------------------------------------------------------
   USP GRID
   ---------------------------------------------------------------- */
.usp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--s-8) var(--s-6);
}

.usp-item__icon {
  width: 28px;
  height: 28px;
  margin-bottom: var(--s-3);
  color: var(--violet);
}

.usp-item__title {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 1.125rem;
  margin-bottom: var(--s-1);
}

.usp-item__text {
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--muted);
}

/* ----------------------------------------------------------------
   SPEC TABLE
   ---------------------------------------------------------------- */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--f-mono);
  font-size: 0.8rem;
}

.spec-table tbody tr { border-bottom: 1px solid var(--border); }
.spec-table tbody tr:first-child { border-top: 3px solid var(--yellow); }

.spec-table td {
  padding: 0.8em 0;
  vertical-align: top;
}

.spec-table td:first-child {
  color: var(--muted);
  width: 42%;
  padding-right: 1.5em;
}

.spec-table td:last-child { font-weight: 500; }

.section--dark   .spec-table tbody tr     { border-color: rgba(255,255,255,0.08); }
.section--dark   .spec-table td:first-child { color: rgba(242,240,236,0.80); }
.section--violet .spec-table tbody tr     { border-color: rgba(255,255,255,0.12); }
.section--violet .spec-table td:first-child { color: rgba(242,240,236,0.82); }

/* ----------------------------------------------------------------
   ROOM CARDS
   ---------------------------------------------------------------- */
.rooms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--s-4);
}

.room-card {
  background: var(--dark);
  color: var(--text-inv);
  display: flex;
  flex-direction: column;
  border-top: 3px solid transparent;
  transition: border-color 0.2s;
}
.room-card:hover { border-color: var(--yellow); }

.room-card__thumb {
  aspect-ratio: 16 / 9;
  background: var(--violet-dark);
  position: relative;
  overflow: hidden;
}

.room-card__thumb-inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  padding: var(--s-3);
}

.room-card__body {
  padding: var(--s-3) var(--s-4) var(--s-4);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.room-card__num {
  font-family: var(--f-body);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: var(--s-1);
}

.room-card__size {
  font-family: var(--f-head);
  font-weight: 900;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  line-height: 1;
  color: #fff;
}

.room-card__size-unit {
  font-family: var(--f-body);
  font-size: 0.7rem;
  color: rgba(255,255,255,0.60);
  margin-top: 0.2em;
}

.room-card__status {
  font-family: var(--f-body);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.40);
  display: flex;
  align-items: center;
  gap: 0.4em;
}
.room-card__status::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
}

.room-card__tenant {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: clamp(1rem, 2.2vw, 1.3rem);
  color: #fff;
  text-align: center;
  line-height: 1.2;
}

.room-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4em;
  margin-top: auto;
  padding-top: var(--s-3);
}

.tag {
  font-family: var(--f-body);
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  padding: 0.25em 0.6em;
  border: 1px solid rgba(255,255,255,0.16);
  color: rgba(255,255,255,0.55);
}

/* ----------------------------------------------------------------
   WALL TYPE CARDS
   ---------------------------------------------------------------- */
.wall-types {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--s-4);
}

.wall-card {
  border-top: 3px solid var(--yellow);
  padding-top: var(--s-3);
}

.wall-card__id {
  font-family: var(--f-body);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--violet);
  margin-bottom: var(--s-1);
}
.section--dark .wall-card__id,
.section--violet .wall-card__id { color: var(--yellow); }

.wall-card__title {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: var(--s-2);
}

.wall-card__specs {
  font-family: var(--f-mono);
  font-size: 0.78rem;
  line-height: 2;
}
.section--dark .wall-card__specs { color: rgba(242,240,236,0.82); }

.wall-card__diagram {
  margin-top: var(--s-3);
  height: 100px;
}

/* ----------------------------------------------------------------
   PHASE ITEMS
   ---------------------------------------------------------------- */
.phasen-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-4);
}
@media (max-width: 900px) {
  .phasen-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
  .phasen-grid { grid-template-columns: 1fr; }
}

.phase-item {
  border-top: 2px solid var(--violet);
  padding-top: var(--s-3);
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}

.phase-item__jahre {
  font-family: var(--f-body);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--violet);
}

.phase-item__phase {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--dark);
}

.phase-item__text {
  font-family: var(--f-body);
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.55;
  flex: 1;
}

.phase-item__aufwand {
  font-family: var(--f-body);
  font-size: 0.7rem;
  color: var(--dark);
  border: 1px solid rgba(0,0,0,0.12);
  padding: 0.3em 0.6em;
  align-self: flex-start;
}

/* ----------------------------------------------------------------
   GALLERY GRID
   ---------------------------------------------------------------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-2);
}
@media (max-width: 600px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

.gallery-item {
  aspect-ratio: 4 / 3;
  background: var(--violet-dark);
  position: relative;
  overflow: hidden;
  cursor: zoom-in;
}

.gallery-item--plan {
  aspect-ratio: 3 / 2;
  background: #c8c8c8;
}

.gallery-item__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.2s ease-out;
}
.gallery-item--plan .gallery-item__img {
  object-fit: cover;
}
.gallery-item:hover .gallery-item__img { transform: scale(1.03); }
.gallery-item--plan:hover .gallery-item__img { transform: scale(1.02); }

.gallery-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--s-1);
  padding: var(--s-3);
  text-align: center;
}

.gallery-placeholder__label {
  font-family: var(--f-body);
  font-size: 0.62rem;
  font-style: italic;
  line-height: 1.5;
  color: rgba(242,240,236,0.62);
}

/* ----------------------------------------------------------------
   LIGHTBOX
   ---------------------------------------------------------------- */
.lb-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10, 8, 20, 0.95);
  z-index: 9000;
  align-items: center;
  justify-content: center;
}
.lb-overlay.lb-open { display: flex; }

.lb-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-3);
  padding: var(--s-6) 5rem;
  max-width: 100vw;
  max-height: 100vh;
  box-sizing: border-box;
}

.lb-img {
  max-width: 88vw;
  max-height: 85vh;
  object-fit: contain;
  display: block;
}

.lb-caption {
  font-family: var(--f-body);
  font-size: 0.72rem;
  font-style: italic;
  color: rgba(242, 240, 236, 0.55);
  text-align: center;
  margin: 0;
  max-width: 60ch;
}

.lb-close {
  position: fixed;
  top: var(--s-4);
  right: var(--s-4);
  background: none;
  border: none;
  cursor: pointer;
  color: var(--off-white);
  width: 2.75rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.6;
  transition: opacity 0.15s;
  padding: 0;
}
.lb-close:hover { opacity: 1; }
.lb-close svg { width: 1.6rem; height: 1.6rem; }

.lb-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  cursor: pointer;
  color: var(--off-white);
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
  padding: 0;
}
.lb-nav:hover { background: rgba(255, 255, 255, 0.16); }
.lb-nav svg { width: 1.25rem; height: 1.25rem; }
.lb-prev { left: var(--s-3); }
.lb-next { right: var(--s-3); }

@media (max-width: 600px) {
  .lb-inner { padding: var(--s-4) var(--s-2); }
  .lb-img { max-width: 96vw; max-height: 80vh; }
  .lb-prev { left: var(--s-2); }
  .lb-next { right: var(--s-2); }
}

/* ----------------------------------------------------------------
   STORY BLOCK (Bild + Text, 2-spaltig)
   ---------------------------------------------------------------- */
.story-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-8);
  align-items: center;
}
@media (max-width: 768px) {
  .story-block { grid-template-columns: 1fr; }
}

.story-block__image {
  aspect-ratio: 4 / 3;
  background: var(--violet-dark);
  position: relative;
  overflow: hidden;
}

@media (min-width: 769px) {
  .story-block--flip .story-block__image { order: 2; }
  .story-block--flip .story-block__text  { order: 1; }
}

.story-block__kicker {
  font-family: var(--f-body);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--violet);
  margin-bottom: var(--s-2);
}
.section--dark   .story-block__kicker,
.section--violet .story-block__kicker { color: var(--yellow); }

.story-block__title {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  line-height: 1.15;
  margin-bottom: var(--s-3);
}

.story-block__body {
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--muted);
}
.section--dark   .story-block__body,
.section--violet .story-block__body { color: rgba(242,240,236,0.92); }

/* ----------------------------------------------------------------
   BOARD
   ---------------------------------------------------------------- */

/* Cyberpunk/dreamwave dark section for the board */
.section--board {
  background:
    radial-gradient(ellipse 80% 60% at 20% 50%, rgba(91,45,140,0.55) 0%, transparent 65%),
    radial-gradient(ellipse 60% 70% at 80% 30%, rgba(0,180,200,0.18) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 60% 80%, rgba(245,197,24,0.10) 0%, transparent 55%),
    #0e0614;
  color: var(--text-inv);
}
.section--board .section__kicker { color: rgba(245,197,24,0.85); }
.section--board .section__title  { color: #fff; }

.board-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-4);
}
@media (min-width: 480px) {
  .board-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--s-6);
  }
}
@media (min-width: 960px) {
  .board-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: var(--s-6);
  }
}

.board-member {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

/* Subtle per-card radial glow behind portrait */
.board-member__portrait-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  height: auto;
  margin-bottom: var(--s-2);
}
.board-member__portrait-wrap::before {
  content: '';
  position: absolute;
  inset: -12px;
  border-radius: 2px;
  background: radial-gradient(ellipse at 50% 80%,
    rgba(0,210,230,0.22) 0%,
    rgba(91,45,140,0.35) 45%,
    transparent 75%);
  filter: blur(8px);
  z-index: 0;
}

.board-member__avatar {
  width: 100%;
  height: 100%;
  background: rgba(91,45,140,0.30);
  border: 1.5px solid rgba(91,45,140,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-head);
  font-weight: 900;
  font-size: 2.6rem;
  color: rgba(242,240,236,0.85);
  position: relative;
  z-index: 1;
}

.board-member__portrait {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 1;
}

.board-member__name {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
}

.board-member__role {
  font-family: var(--f-body);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-top: 0.3em;
}

.portrait-orient-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.6em 1.4em;
  margin-bottom: var(--s-4);
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  background: transparent;
  border: 1.5px solid rgba(242,240,236,0.28);
  color: rgba(242,240,236,0.85);
  transition: border-color 0.15s, background 0.15s, opacity 0.15s;
}
.portrait-orient-btn:hover:not(:disabled) {
  border-color: rgba(242,240,236,0.7);
  background: rgba(255,255,255,0.05);
}
.portrait-orient-btn:disabled {
  cursor: default;
  opacity: 0.45;
}

/* ----------------------------------------------------------------
   CTA BLOCK
   ---------------------------------------------------------------- */
.cta-block {
  background: var(--violet-dark);
  color: var(--text-inv);
  padding-block: var(--s-12);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-block::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 110%, rgba(91,45,140,0.6) 0%, transparent 70%);
  pointer-events: none;
}

.cta-block__inner { position: relative; z-index: 1; }

.cta-block__headline {
  font-family: var(--f-head);
  font-weight: 900;
  font-size: clamp(2rem, 5vw, 4.5rem);
  line-height: 1.02;
  margin-bottom: var(--s-3);
}

.cta-block__sub {
  font-size: clamp(0.9rem, 1.3vw, 1.05rem);
  line-height: 1.75;
  color: rgba(242,240,236,0.82);
  max-width: 52ch;
  margin-inline: auto;
  margin-bottom: var(--s-6);
}

/* ----------------------------------------------------------------
   CONTACT FORM
   ---------------------------------------------------------------- */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-3) var(--s-4);
}
.form-field--full { grid-column: 1 / -1; }
@media (max-width: 600px) {
  .form-grid { grid-template-columns: 1fr; }
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.5em;
}

.form-field label {
  font-family: var(--f-body);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.form-field--optional label::after {
  content: ' (optional)';
  text-transform: lowercase;
  letter-spacing: 0;
  opacity: 0.65;
}

.form-field input,
.form-field textarea,
.form-field select {
  background: rgba(0,0,0,0.04);
  border: 1px solid var(--border);
  padding: 0.8em 1em;
  font-size: 0.9375rem;
  color: var(--text);
  outline: none;
  transition: border-color 0.15s;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
}
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus { border-color: var(--violet); }
.form-field textarea { min-height: 150px; resize: vertical; }

/* ----------------------------------------------------------------
   FAQ — native <details>/<summary> Accordion
   ---------------------------------------------------------------- */
.faq-list { display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid var(--border); }

.faq-item summary {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 1rem;
  padding: var(--s-3) 0;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s-3);
  -webkit-tap-highlight-color: transparent;
}
.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary .faq-toggle {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--violet);
  transition: transform 0.2s;
}
.faq-item[open] summary .faq-toggle { transform: rotate(45deg); }

.faq-item__body {
  padding-bottom: var(--s-3);
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--muted);
  max-width: 68ch;
}

/* ----------------------------------------------------------------
   AREAL BLOCK
   ---------------------------------------------------------------- */
.areal-block {
  background: var(--dark);
  color: var(--text-inv);
  padding-block: var(--s-8);
  border-top: 3px solid var(--yellow);
}

.areal-block__inner {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-4) var(--s-8);
  align-items: center;
  justify-content: space-between;
}

.areal-block__kicker {
  font-family: var(--f-body);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: var(--s-1);
}

.areal-block__title {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: var(--s-2);
}

.areal-block__text {
  font-size: 0.9rem;
  line-height: 1.75;
  color: rgba(242,240,236,0.82);
  max-width: 55ch;
}

.areal-block__links {
  display: flex;
  gap: var(--s-2);
  flex-wrap: wrap;
  margin-top: var(--s-3);
}

.areal-link {
  font-family: var(--f-body);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  color: var(--yellow);
  border: 1px solid rgba(245,197,24,0.3);
  padding: 0.45em 0.9em;
  transition: border-color 0.15s, background 0.15s;
}
.areal-link:hover {
  border-color: var(--yellow);
  background: rgba(245,197,24,0.06);
}

/* ----------------------------------------------------------------
   FOOTER
   ---------------------------------------------------------------- */
.site-footer {
  background: var(--dark);
  color: var(--text-inv);
  padding-top: var(--s-8);
  padding-bottom: var(--s-6);
}

.site-footer__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: var(--s-8);
  align-items: start;
  margin-bottom: var(--s-8);
}
@media (max-width: 768px) {
  .site-footer__inner { grid-template-columns: 1fr; gap: var(--s-4); }
}

.site-footer__logo img {
  height: 120px;
  width: auto;
  filter: brightness(0) invert(1);
  margin-bottom: var(--s-4);
}
.site-footer__logo .kz-logo {
  height: 120px;
  width: auto;
  margin-bottom: var(--s-4);
}

.site-footer__address {
  font-family: var(--f-body);
  font-size: 0.78rem;
  line-height: 2;
  color: rgba(242,240,236,0.82);
}
.site-footer__address a {
  color: rgba(242,240,236,0.92);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.15s;
}
.site-footer__address a:hover { color: var(--yellow); }

.site-footer__nav {
  display: flex;
  flex-direction: column;
  gap: 0.6em;
}
.site-footer__nav a {
  font-size: 0.875rem;
  color: rgba(242,240,236,0.82);
  transition: color 0.15s;
}
.site-footer__nav a:hover { color: var(--text-inv); }

.site-footer__legal {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: var(--s-3);
  font-family: var(--f-body);
  font-size: 0.68rem;
  color: rgba(242,240,236,0.55);
  line-height: 1.8;
}

/* ----------------------------------------------------------------
   TEASER CARDS
   ---------------------------------------------------------------- */
.teaser-card { border-top: 1.5px solid var(--border); padding-top: var(--s-3); }
.section--dark .teaser-card { border-color: rgba(255,255,255,0.1); }

.teaser-card__kicker {
  font-family: var(--f-body);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--violet);
  margin-bottom: var(--s-2);
}
.section--dark .teaser-card__kicker { color: var(--yellow); }

.teaser-card__title {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.2;
  margin-bottom: var(--s-2);
}
.section--dark .teaser-card__title { color: var(--text-inv); }

.teaser-card__text {
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: var(--s-3);
}
.section--dark .teaser-card__text { color: rgba(242,240,236,0.82); }

.teaser-card__link {
  font-family: var(--f-body);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  color: var(--violet);
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color 0.15s;
}
.section--dark .teaser-card__link { color: var(--yellow); }
.teaser-card__link:hover { opacity: 0.75; }

/* ----------------------------------------------------------------
   STATS ROW
   ---------------------------------------------------------------- */
.stats-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-6) var(--s-8);
}

.stat__value {
  font-family: var(--f-head);
  font-weight: 900;
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1;
  color: var(--violet);
}
.section--dark   .stat__value { color: #fff; }
.section--violet .stat__value { color: var(--yellow); }

.stat__label {
  font-family: var(--f-body);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.3em;
}
.section--dark .stat__label { color: rgba(242,240,236,0.75); }

/* ----------------------------------------------------------------
   MAP PLACEHOLDER
   ---------------------------------------------------------------- */
.map-wrap {
  width: 100%;
  aspect-ratio: 16 / 6;
  background: var(--violet-dark);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: var(--s-2);
}

.map-wrap__label {
  font-family: var(--f-body);
  font-size: 0.78rem;
  color: rgba(242,240,236,0.65);
}

/* ----------------------------------------------------------------
   DOWNLOAD CARD
   ---------------------------------------------------------------- */
.download-card {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  padding: var(--s-3) var(--s-4);
  border: 1.5px solid rgba(255,255,255,0.12);
  transition: border-color 0.15s;
  max-width: 480px;
}
.download-card:hover { border-color: var(--yellow); }

.download-card__icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  color: var(--yellow);
}

.download-card__name {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 0.9375rem;
}

.download-card__meta {
  font-family: var(--f-mono);
  font-size: 0.68rem;
  color: rgba(242,240,236,0.65);
  margin-top: 0.2em;
}

/* ----------------------------------------------------------------
   ITEM STACK — vertical list of bordered items
   Used for governance items, acoustic measures, and similar
   sequential detail lists inside content columns.
   ---------------------------------------------------------------- */
.item-stack {
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
}

.item-stack__item {
  border-top: 1px solid var(--border);
  padding-top: var(--s-2);
}

.item-stack__item:first-child {
  border-top: 3px solid var(--yellow);
}

.section--dark .item-stack__item:not(:first-child),
.section--violet .item-stack__item:not(:first-child),
.section--board .item-stack__item:not(:first-child) {
  border-top-color: rgba(255,255,255,0.1);
}
