/* SfKuK — Stiftung für Kunst und Kultur e.V. Bonn
   Visual system, distilled from the Figma drafts:
   - Type: Inter as primary UI face (Mukta Mahee available for display)
   - Palette: ink black, paper white, signal red (#FE0000 / #DF3013), warm grey neutrals
   - Map sea: very pale blue (#EAF9FF), land: light grey (#E1E1E1)
   - Forms: rounded pill controls (radius 999), 20px card radius, 1px hairline dividers
*/

:root {
  --ink: #0a0a0a;
  --ink-2: #1a1a1a;
  --muted: #6a6a6a;
  --muted-2: #afafaf;
  --hair: #eaeaea;
  --hair-2: #f2f2f2;
  --paper: #ffffff;
  --paper-2: #f5f5f5;
  --paper-3: #fafafa;
  --red: #fe0000;
  --red-deep: #df3013;
  --red-soft: #ffe4e4;
  --sea: #eaf9ff;
  --land: #e1e1e1;
  --land-stroke: #cbcbcb;

  --r-card: 20px;
  --r-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04), 0 0 0 1px rgba(0,0,0,0.04);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.08), 0 0 0 1px rgba(0,0,0,0.04);
  --shadow-lg: 0 24px 60px rgba(0,0,0,0.18), 0 0 0 1px rgba(0,0,0,0.04);

  --header-h: 80px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button { font-family: inherit; cursor: pointer; }
a { color: inherit; }

::selection { background: var(--red); color: #fff; }

/* ───── Header ───── */

.app-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, background .25s;
}
.app-header.scrolled { border-bottom-color: var(--hair); }
.app-header__row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 14px 40px;
  height: var(--header-h);
}
.header-search-group {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 720px;
  justify-self: end;
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity .25s, transform .25s;
}
.app-header.scrolled .header-search-group,
.app-header.force-search .header-search-group {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.app-header.force-search .search--in-header .search__input { height: 44px; font-size: 14px; padding: 0 56px 0 20px; }
.app-header.force-search .search--in-header .search__btn { width: 34px; height: 34px; }
.app-header .search--in-header {
  width: 100%;
  max-width: 520px;
  flex: 1;
}
.header__filter-btn {
  height: 44px;
  flex: none;
  align-self: center;
}
.app-header.scrolled .search--in-header .search__input { height: 44px; font-size: 14px; padding: 0 56px 0 20px; }
.app-header.scrolled .search--in-header .search__btn { width: 34px; height: 34px; }
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}
.brand__mark {
  position: relative;
  width: 47px;
  height: 47px;
  border: 2.6px solid var(--ink);
  flex: none;
}
.brand__mark::before,
.brand__mark::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}
.brand__mark::before { /* top-left red */
  width: 7px; height: 7px;
  top: -4px; left: -4px;
  background: var(--red);
}
.brand__mark::after { /* bottom-right black */
  width: 7px; height: 7px;
  bottom: -4px; right: -4px;
  background: var(--ink);
}
.brand__mark svg {
  position: absolute;
  inset: 6px;
  width: calc(100% - 12px);
  height: calc(100% - 12px);
}
.brand__words {
  font-weight: 700;
  font-size: 12px;
  line-height: 1.2;
  letter-spacing: 0.005em;
  color: var(--ink);
  white-space: pre;
}
.brand__words em {
  font-style: normal;
  color: var(--muted);
  font-weight: 500;
}

.search {
  position: relative;
  max-width: 720px;
  width: 100%;
  justify-self: center;
}
.search__input {
  width: 100%;
  height: 52px;
  border-radius: var(--r-pill);
  border: 1px solid var(--hair);
  background: var(--paper);
  padding: 0 64px 0 24px;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  outline: none;
  transition: box-shadow .2s, border-color .2s;
}
.search__input::placeholder { color: var(--muted-2); }
.search__input:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 4px rgba(0,0,0,0.05);
}
.search__btn {
  position: absolute;
  right: 6px;
  top: 6px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--red);
  border: none;
  color: #fff;
  display: grid;
  place-items: center;
  transition: transform .15s, background .15s;
}
.search__btn { will-change: transform, box-shadow; }
.search__btn svg { transition: transform .25s cubic-bezier(.2,.7,.2,1); }
.search__btn:hover {
  background: var(--red-deep);
  transform: scale(1.08) rotate(-4deg);
  box-shadow: 0 6px 18px rgba(254, 1, 0, 0.35);
}
.search__btn:hover svg { transform: scale(1.12); }
.search__btn:active { transform: scale(0.96) rotate(0deg); transition: transform .08s ease; }

.header__actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 44px;
  padding: 0 18px;
  border-radius: var(--r-pill);
  border: 1px solid var(--hair);
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  transition: background .15s, border-color .15s, transform .1s;
}
.btn:hover { background: var(--paper-2); border-color: var(--ink); }
.btn:active { transform: translateY(1px); }
.btn--solid {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.btn--solid:hover { background: #000; border-color: #000; }
.btn--red {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}
.btn--red:hover { background: var(--red-deep); border-color: var(--red-deep); }
.btn--ghost {
  border: 1px solid var(--hair);
  background: transparent;
}
.btn--icon {
  width: 44px;
  height: 44px;
  padding: 0;
  display: grid;
  place-items: center;
  flex: 0 0 auto; /* never let long titles squash the circle into an oval */
}

.menu-btn {
  position: relative;
}
.menu-btn::after {
  content: "";
  position: absolute;
  top: 6px;
  right: 6px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--red);
}

/* ───── Nav tabs ───── */

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 40px;
  border-top: 1px solid var(--hair);
  height: 52px;
  background: var(--paper);
}
.nav__tab {
  height: 100%;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--muted);
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  position: relative;
  transition: color .15s;
}
.nav__tab:hover { color: var(--ink); }
.nav__tab[aria-current="page"] {
  color: var(--ink);
  border-bottom-color: var(--red);
}
.nav__tab .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--muted-2);
}
.nav__tab[aria-current="page"] .dot { background: var(--red); }

/* ───── Page shell ───── */

.page { padding: 0 40px 60px; }
.page__head {
  padding: 36px 0 24px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}
.page__title {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 30px;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0;
}
.page__sub {
  font-size: 13.5px;
  color: var(--muted);
  margin-top: 8px;
}

/* ───── Hero (landing) ───── */

.hero {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 48px;
  padding: 40px 40px 40px;
  align-items: start;
  min-height: calc(100vh - var(--header-h));
}
.hero__left {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-top: 60px;
}
.hero__title {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 32px;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0;
  max-width: 520px;
}
.hero__sub { font-size: 13.5px; color: var(--muted); margin: -16px 0 0; }
.hero__lead {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 520px;
  margin: 0;
}
.hero__search { max-width: 360px; width: 100%; }
.hero__search-row { display: flex; gap: 12px; max-width: 480px; }
.hero__quick { margin-top: 8px; }
.hero__quick h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
  margin: 0 0 12px;
}
.hero__quick .chips { gap: 8px; }
.hero__quick .chip[aria-pressed="true"] {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

.hero__right {
  position: relative;
  align-self: stretch;
  align-items: flex-end;
  min-height: 640px;
  display: flex;
  flex-direction: column;
}
.hero__wordmark {
  font-family: "Inter", "Helvetica Neue", sans-serif;
  font-weight: 800;
  font-size: clamp(40px, 4.6vw, 72px);
  line-height: 1.0;
  letter-spacing: -0.025em;
  color: var(--red);
  margin: 0 0 28px;
  pointer-events: none;
}
.hero__map-wrap { margin-top: auto; }
.hero__wordmark .line { display: block; }
.hero__wordmark .bonn { color: var(--ink); font-weight: 700; }
.hero__map-wrap {
  position: relative;
  margin-left: auto;
  width: 100%;
  border-radius: var(--r-card);
  overflow: hidden;
  background: var(--sea);
  border: 1px solid var(--hair);
  aspect-ratio: 16 / 7;
  width: 100%;
  height: auto;
}
.hero__map-wrap .map__svg { width: 100%; height: 100%; }

/* Collage pin: a "sculpture" floating where a city would be */
.collage {
  position: absolute;
  transform: translate(-50%, -100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: auto;
  cursor: pointer;
  filter: drop-shadow(0 10px 16px rgba(0,0,0,0.18));
}
.collage:hover { transform: translate(-50%, calc(-100% - 4px)); transition: transform .15s; }
.collage__cluster {
  position: absolute;
  top: -10px;
  right: -14px;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  display: grid; place-items: center;
  font-size: 12px; font-weight: 700;
  border: 2px solid #fff;
  z-index: 2;
}
.collage__art {
  width: 110px;
  height: 160px;
  position: relative;
}
.collage__art svg { width: 100%; height: 100%; display: block; }

/* ───── Section: about / projects on the landing ───── */

.landing-section {
  padding: 100px 40px;
  border-top: 1px solid var(--hair);
}
.landing-section__head {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  margin-bottom: 48px;
}
.landing-section__kicker {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 600;
  margin-bottom: 12px;
}
.landing-section__title {
  font-family: "Inter", sans-serif;
  font-size: clamp(40px, 4.6vw, 68px);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.03em;
  margin: 0;
}
.landing-section__lead {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-2);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: stretch;
}
.about-grid__media {
  border-radius: var(--r-card);
  overflow: hidden;
  border: 1px solid var(--hair);
  min-height: 480px;
  background: var(--paper-2);
}
.about-grid__media--photo {
  position: relative;
  min-height: 0;
  display: block;
  isolation: isolate;
}
.about-grid__media--photo img {
  width: 100%;
  height: 100%;
  min-height: 480px;
  object-fit: cover;
  display: block;
}
/* Linked image that fades in over the default photo when its pillar is hovered/focused.
   Uses a keyframe animation (not a transition) — this preview renderer freezes
   opacity while a CSS transition is attached. */
.about-grid__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 1;
}
.about-grid__overlay > * { width: 100%; height: 100%; }
.about-grid__overlay img,
.about-grid__overlay .placeholder {
  width: 100%;
  height: 100%;
  min-height: 480px;
  object-fit: cover;
  display: block;
}
.about-grid__caption {
  position: absolute;
  z-index: 3;
  left: 16px;
  bottom: 16px;
  padding: 8px 14px;
  background: rgba(255,255,255,0.94);
  border: 1px solid var(--hair);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.005em;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* Small intro text block above the keyfacts/stats */
.about-intro {
  margin: 80px 0 0;
  padding: 56px 0 0;
  border-top: 1px solid var(--hair);
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
  align-items: start;
}
.about-intro__kicker {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 600;
  padding-top: 6px;
}
.about-intro__title {
  font-family: "Inter", sans-serif;
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: -0.015em;
  font-weight: 700;
  margin: 0;
  max-width: 720px;
}
.about-intro__body {
  grid-column: 2;
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--ink-2);
  margin: 14px 0 0;
  max-width: 680px;
}
.about-grid__pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-content: start;
}
.pillar {
  padding: 22px;
  border: 1px solid var(--hair);
  border-radius: 16px;
  background: #fff;
  transition: border-color .15s, transform .15s;
  cursor: pointer;
  outline: none;
}
.pillar:hover,
.pillar:focus-visible,
.pillar.is-active { border-color: var(--ink); transform: translateY(-2px); }
.pillar__num {
  font-family: "Inter", sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: var(--red);
}
.pillar__head { font-size: 16px; font-weight: 700; margin: 0 0 6px; color: var(--red); }
.pillar__body { font-size: 13.5px; color: var(--muted); line-height: 1.5; margin: 0; }

.focus-row {
  display: flex; align-items: end; justify-content: space-between;
  margin-bottom: 28px;
  gap: 24px;
}
.focus-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 24px;
}
.focus {
  cursor: pointer;
  display: flex; flex-direction: column; gap: 12px;
}
.focus__media {
  border-radius: var(--r-card);
  overflow: hidden;
  border: 1px solid var(--hair);
  background: var(--paper-2);
  position: relative;
  transition: transform .25s;
}
.focus:hover .focus__media { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.focus--big { grid-row: span 2; }
/* Let the media grow to fill the 2-row span minus the title row, so the big
   card's bottom edge lines up with the bottom row of small cards. */
.focus--big .focus__media { aspect-ratio: auto; flex: 1 1 0; min-height: 0; }
.focus__media:not(:has(.focus--big)) { }
.focus--sm .focus__media { aspect-ratio: 4/3; }
.focus__num {
  position: absolute; top: 16px; left: 16px;
  font-family: "Inter", sans-serif;
  font-weight: 800;
  font-size: 14px;
  background: rgba(255,255,255,0.92);
  border-radius: 999px;
  padding: 4px 12px;
}
.focus__title {
  font-size: 17px; font-weight: 700; margin: 0; line-height: 1.25;
  /* Long titles: clamp to 1 line on desktop (2 on mobile, see mobile.css)
     and end with "…". Hover (or press-and-hold on touch) reveals the rest. */
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
}
.focus__title:hover,
.focus__title:active { -webkit-line-clamp: 99; }
.focus__row > div:first-child { min-width: 0; } /* allow the text column to shrink so the clamp can kick in */
.focus__meta { font-size: 13px; color: var(--muted); }
.focus__row { display: flex; justify-content: space-between; align-items: start; gap: 16px; }



.catalog {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 28px;
  align-items: start;
}

@media (max-width: 1100px) {
  .catalog { grid-template-columns: 1fr; }
}

.results {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 20px;
}

.card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}
.card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--r-card);
  background: var(--paper-2);
  overflow: hidden;
  border: 1px solid var(--hair);
  transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover .card__media {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.card__media svg {
  width: 100%; height: 100%;
  display: block;
}
.card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(255,255,255,0.92);
  border-radius: var(--r-pill);
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.card__badge .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--red);
}
.card__fav {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  border: none;
  display: grid;
  place-items: center;
  transition: transform .15s, background .15s;
}
.card__fav:hover { transform: scale(1.05); }
.card__fav.on { background: var(--red); color: #fff; }

.card__title-row {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 12px;
}
.card__title {
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.25;
  margin: 0;
}
.card__meta {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.45;
}
.card__year {
  font-variant-numeric: tabular-nums;
  font-size: 12.5px;
  color: var(--muted);
  white-space: nowrap;
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.tag {
  font-size: 11.25px;
  background: var(--paper-2);
  padding: 4px 10px;
  border-radius: 6px;
  color: var(--ink);
}
.tag--red { background: var(--red-soft); color: var(--red-deep); }

/* ───── Map ───── */

.map {
  position: sticky;
  top: calc(var(--header-h) + 52px + 16px);
  height: calc(100vh - var(--header-h) - 52px - 32px);
  min-height: 640px;
  border-radius: var(--r-card);
  overflow: hidden;
  background: var(--sea);
  border: 1px solid var(--hair);
}
.map__svg {
  width: 100%;
  height: 100%;
  display: block;
}
.map__svg .land {
  fill: var(--land);
  stroke: var(--land-stroke);
  stroke-width: 0.6;
  transition: fill .2s;
}
.map__svg .land.active { fill: #d4d4d4; }

.map__controls {
  position: absolute;
  top: 16px;
  right: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 5;
}
.map__ctrl {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--hair);
  display: grid;
  place-items: center;
  transition: background .15s;
}
.map__ctrl:hover { background: var(--paper-2); }
.map__zoom {
  width: 40px;
  height: 82px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--hair);
  display: grid;
  grid-template-rows: 1fr 1px 1fr;
  align-items: stretch;
}
.map__zoom button {
  border: none;
  background: transparent;
  display: grid;
  place-items: center;
  font-size: 18px;
}
.map__zoom button:hover { background: var(--paper-2); }
.map__zoom .sep { background: var(--hair); }

.map__legend {
  position: absolute;
  left: 16px;
  bottom: 16px;
  background: rgba(255,255,255,0.94);
  border: 1px solid var(--hair);
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 11.5px;
  display: flex;
  gap: 14px;
  align-items: center;
  z-index: 5;
}
.map__legend .li {
  display: inline-flex; align-items: center; gap: 6px;
}
.map__legend .pin {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 2px #fff;
}
.map__legend .pin.cluster { background: var(--ink); }

.pin {
  position: absolute;
  transform: translate(-50%, -50%);
  cursor: pointer;
  z-index: 4;
}
.pin__dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--red);
  border: 2px solid #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,0.3);
  transition: transform .15s;
}
.pin:hover .pin__dot { transform: scale(1.25); }
.pin.active .pin__dot {
  background: #fff;
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(254,0,0,0.18), 0 1px 4px rgba(0,0,0,0.3);
}
.pin.cluster .pin__dot {
  width: 38px;
  height: 38px;
  background: var(--red);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 13.5px;
  font-weight: 700;
  border: 2.6px solid #fff;
}

.tooltip {
  position: absolute;
  transform: translate(-50%, calc(-100% - 16px));
  background: #fff;
  border: 1px solid var(--hair);
  border-radius: 14px;
  padding: 10px;
  width: 220px;
  box-shadow: var(--shadow-md);
  z-index: 10;
  pointer-events: none;
  opacity: 0;
  transition: opacity .15s, transform .15s;
}
.tooltip.show { opacity: 1; transform: translate(-50%, calc(-100% - 22px)); pointer-events: auto; }
.tooltip__media {
  height: 96px;
  background: var(--paper-2);
  border-radius: 10px;
  margin-bottom: 8px;
  overflow: hidden;
}
.tooltip__title { font-size: 12.5px; font-weight: 700; line-height: 1.3; margin-bottom: 2px; }
.tooltip__meta { font-size: 11px; color: var(--muted); }

/* ───── Filter drawer ───── */

.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.32);
  z-index: 90;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s;
}
.drawer-backdrop.show { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: 420px;
  max-width: 100vw;
  background: #fff;
  z-index: 100;
  transform: translateX(100%);
  transition: transform .3s cubic-bezier(.2,.8,.2,1);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
}
.drawer.show { transform: translateX(0); }
.drawer__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px;
  border-bottom: 1px solid var(--hair);
}
.drawer__title { font-size: 18px; font-weight: 700; margin: 0; }
.drawer__body { padding: 24px; overflow: auto; flex: 1; }
.drawer__foot {
  padding: 18px 24px;
  border-top: 1px solid var(--hair);
  display: flex;
  gap: 12px;
}

.filter-group { margin-bottom: 22px; }
.filter-group h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 10px;
  color: var(--muted);
  font-weight: 600;
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 7px 14px;
  border-radius: var(--r-pill);
  border: 1px solid var(--hair);
  background: #fff;
  font-size: 13px;
  cursor: pointer;
  transition: all .15s;
}
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.range {
  display: grid;
  grid-template-columns: 1fr 12px 1fr;
  gap: 8px;
  align-items: center;
}
.range input {
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--hair);
  background: #fff;
  padding: 0 12px;
  font: inherit;
  font-size: 13px;
  width: 100%;
}
.range span { text-align: center; color: var(--muted); }

/* ───── Detail overlay ───── */

.detail-backdrop {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 110;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s;
}
.detail-backdrop.show { opacity: 1; pointer-events: auto; }
.detail {
  position: fixed;
  top: 50%; left: 50%;
  width: min(720px, 92vw);
  max-height: min(640px, 88vh);
  transform: translate(-50%, -50%) scale(0.96);
  background: #fff;
  border-radius: 22px;
  z-index: 120;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  opacity: 0;
  pointer-events: none;
  transition: transform .25s, opacity .25s;
  box-shadow: var(--shadow-lg);
}
@media (max-width: 700px) {
  .detail {
    width: 94vw; max-height: 88vh;
    grid-template-columns: 1fr;
    grid-template-rows: 220px 1fr;
  }
}
.detail.show {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  pointer-events: auto;
}
.detail__body { padding: 28px 28px 24px; }
.detail h2 { font-size: 26px !important; margin: 0 0 4px !important; }
.detail__lead { font-size: 14.5px !important; margin-bottom: 20px !important; }
.detail__facts { grid-template-columns: 1fr 1fr !important; gap: 12px 18px !important; margin-bottom: 20px !important; }
.detail__facts--single { grid-template-columns: 1fr !important; }

/* Artist line: bolder so it sits between title and lead. Always shown. */
.detail__artists {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.5;
  margin: 6px 0 14px;
  text-wrap: pretty;
}
.detail__artists--placeholder { color: var(--muted-2); font-weight: 500; font-style: italic; }

/* Description — clamped to 4 lines by default; toggle expands. */
.detail__lead {
  font-size: 14.5px !important;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0 0 4px !important;
  overflow: hidden;
  text-wrap: pretty;
}
.detail__lead.is-clamped {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
}
.detail__more {
  display: inline-block;
  background: none;
  border: 0;
  padding: 4px 0 16px;
  font: inherit;
  font-size: 13.5px;
  color: var(--red);
  font-weight: 600;
  cursor: pointer;
}
.detail__more:hover { text-decoration: underline; text-underline-offset: 3px; }
.detail__cta-row { display: flex; gap: 10px; flex-wrap: wrap; }
.detail__media {
  background: var(--paper-2);
  position: relative;
}
.detail__media svg { width: 100%; height: 100%; }
.detail__close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--hair);
  display: grid; place-items: center;
  z-index: 5;
}
.detail__body {
  padding: 40px;
  overflow: auto;
}
.detail__year {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 600;
  margin-bottom: 12px;
}
.detail h2 {
  font-size: 32px;
  line-height: 1.1;
  margin: 0 0 6px;
  letter-spacing: -0.01em;
}
.detail__artist {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 22px;
}
.detail__lead {
  font-size: 16px;
  line-height: 1.55;
  margin-bottom: 28px;
}
.detail__facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  border-top: 1px solid var(--hair);
  padding-top: 22px;
  margin-bottom: 22px;
}
.detail__facts dt {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 4px;
}
.detail__facts dd { margin: 0; font-size: 14px; font-weight: 500; }

/* ───── Map fullscreen ───── */

.fullmap {
  position: fixed;
  inset: 0;
  background: var(--sea);
  z-index: 130;
  display: none;
}
.fullmap.show { display: block; }
.fullmap__head {
  position: absolute;
  top: 24px; left: 24px; right: 24px;
  display: flex; justify-content: space-between; gap: 16px;
  z-index: 5;
}
.fullmap__panel {
  position: absolute;
  top: 24px;
  bottom: 24px;
  left: 24px;
  width: 360px;
  background: #fff;
  border-radius: var(--r-card);
  border: 1px solid var(--hair);
  padding: 24px;
  overflow: auto;
  z-index: 5;
  box-shadow: var(--shadow-md);
}
.fullmap__map {
  position: absolute;
  top: 24px; right: 24px; bottom: 24px;
  left: 412px;
  border-radius: var(--r-card);
  overflow: hidden;
  background: var(--sea);
  border: 1px solid var(--hair);
}
.fullmap .map__controls { top: 16px; right: 16px; }
.fullmap__close {
  background: #fff;
  border: 1px solid var(--hair);
  border-radius: 999px;
  height: 44px;
  padding: 0 18px;
  display: inline-flex; align-items: center; gap: 10px;
  font: inherit; font-size: 14px; font-weight: 500;
}

.heatmap__bar {
  height: 6px; border-radius: 999px;
  background: var(--paper-2);
  overflow: hidden;
}
.heatmap__fill {
  height: 100%;
  background: linear-gradient(90deg, var(--red-soft), var(--red));
  transition: width .4s;
}

/* ───── About page ───── */

.about__hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding: 40px 0 80px;
  align-items: center;
  border-bottom: 1px solid var(--hair);
}
.about__kicker {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 600;
  margin-bottom: 16px;
}
.about__title {
  font-family: "Mukta Mahee", "Inter", sans-serif;
  font-size: 64px;
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
}
.about__title em { font-style: normal; color: var(--red); }
.about__lead {
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 540px;
}
.about__hero-img {
  aspect-ratio: 4/5;
  border-radius: var(--r-card);
  background: var(--paper-2);
  border: 1px solid var(--hair);
  overflow: hidden;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding: 60px 0;
  border-bottom: 1px solid var(--hair);
}
.stat__num {
  font-family: "Mukta Mahee", sans-serif;
  font-size: 64px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
}
.stat__num em { font-style: normal; color: var(--red); }
.stat__label {
  font-size: 13px;
  color: var(--muted);
  margin-top: 6px;
  max-width: 220px;
  line-height: 1.4;
}

/* ───── Milestone moments (About page photo strip) ───── */
.moments {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 8px;
}
.moment { margin: 0; display: flex; flex-direction: column; gap: 14px; }
.moment__media {
  position: relative;
  border-radius: var(--r-card);
  overflow: hidden;
  border: 1px solid var(--hair);
  aspect-ratio: 4 / 3;
  background: var(--paper-2);
}
.moment__media img,
.moment__media svg { width: 100%; height: 100%; object-fit: cover; display: block; }
.moment__year {
  position: absolute; left: 16px; top: 16px;
  background: rgba(0,0,0,0.78); color: #fff;
  padding: 6px 12px; border-radius: 999px;
  font-family: "Mukta Mahee", sans-serif;
  font-size: 13px; font-weight: 600; letter-spacing: 0.04em;
}
.moment__caption {
  display: flex; flex-direction: column; gap: 4px;
  padding-left: 4px;
}
.moment__kind {
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--red); font-weight: 700;
}
.moment__text { font-size: 14px; line-height: 1.5; color: var(--ink); }
@media (max-width: 980px) {
  .moments { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .moments { grid-template-columns: 1fr; }
}

/* ───── Stats card (Keyfacts) ───── */
.stats-card {
  margin-top: 56px;
  border: 1px solid var(--hair);
  border-radius: var(--r-card);
  background: var(--paper-3);
  overflow: hidden;
  position: relative;
}
.stats-card__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  padding: 28px 32px 24px;
  border-bottom: 1px solid var(--hair);
  background: #fff;
}
.stats-card__kicker {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 700;
  margin-bottom: 6px;
}
.stats-card__sub {
  font-size: 13.5px;
  color: var(--muted);
  letter-spacing: -0.005em;
}
.stats-card__link { white-space: nowrap; }
.stats-card__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.kf {
  padding: 40px 32px 36px;
  border-right: 1px solid var(--hair);
  display: flex;
  flex-direction: column;
  gap: 8px;
  background:
    radial-gradient(160px 80px at 100% 0%, rgba(254,0,0,0.04), transparent 70%);
}
.kf:last-child { border-right: none; }
.kf__num {
  font-family: "Mukta Mahee", var(--sf);
  font-size: 76px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
  color: var(--ink);
}
.kf__num em { font-style: normal; color: inherit; }
.kf__label {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.005em;
  margin-top: 4px;
}
.kf__sub {
  font-size: 12.5px;
  color: var(--muted);
  letter-spacing: 0.005em;
}
.stats-card__foot {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-top: 1px solid var(--hair);
  background: #fff;
  font-size: 12.5px;
  color: var(--muted);
  letter-spacing: 0.01em;
}
.stats-card__pulse {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 0 rgba(254,0,0,0.6);
  animation: kfPulse 1.8s ease-out infinite;
  flex: none;
}
@keyframes kfPulse {
  0%   { box-shadow: 0 0 0 0 rgba(254,0,0,0.45); }
  70%  { box-shadow: 0 0 0 10px rgba(254,0,0,0); }
  100% { box-shadow: 0 0 0 0 rgba(254,0,0,0); }
}
@media (max-width: 980px) {
  .stats-card__head { flex-direction: column; align-items: flex-start; }
  .stats-card__grid { grid-template-columns: repeat(2, 1fr); }
  .kf:nth-child(2) { border-right: none; }
  .kf:nth-child(1), .kf:nth-child(2) { border-bottom: 1px solid var(--hair); }
  .kf__num { font-size: 52px; }
}

/* ───── Editorial "in figures" section (replaces the boxed stat cards) ───── */
.figs { margin-top: 64px; }
.figs__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--hair);
}
.figs__kicker {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
}
.figs__title {
  font-family: var(--sf);
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0;
  max-width: 16ch;
}
.figs__note { font-size: 12.5px; color: var(--muted); margin: 0; max-width: 30ch; text-align: right; }

.figs__circles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 46px;
}
.figc {
  width: 100%;
  max-width: 250px;
  justify-self: center;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  transition: transform .3s cubic-bezier(.2,.7,.2,1);
}
.figc:hover { transform: translateY(-5px); }
.figc__num {
  font-family: "Mukta Mahee", var(--sf);
  font-size: clamp(42px, 4.4vw, 62px);
  font-weight: 500;
  line-height: 0.95;
  white-space: nowrap;
  transform: translateY(20px);
}
.figc__label {
  margin-top: 13px;
  font-size: 13px;
  line-height: 1.3;
  letter-spacing: 0.01em;
  transform: translateY(20px);
}
.figc__label span { display: block; }
.figc__label span + span { opacity: 0.84; }

@media (max-width: 760px) {
  .figs__head { flex-direction: column; align-items: flex-start; }
  .figs__note { text-align: left; }
  .figs__circles { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .figc { padding: 16px; }
}

.section {
  padding: 80px 0;
  border-bottom: 1px solid var(--hair);
}
.section__head {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  margin-bottom: 40px;
}
.section__title {
  font-family: "Mukta Mahee", sans-serif;
  font-size: 40px;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin: 0;
}
.section__lead {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-2);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--hair);
}
.timeline__item {
  padding: 32px 24px 24px 24px;
  border-right: 1px solid var(--hair);
  position: relative;
}
.timeline__item:first-child { padding-left: 0; }
.timeline__item:last-child { border-right: 0; }
.timeline__year {
  font-family: "Mukta Mahee", sans-serif;
  font-size: 32px;
  margin-top: 4px;
  margin-bottom: 4px;
  font-weight: 800;
  color: var(--red);
}
.timeline__head {
  font-size: 15px;
  font-weight: 600;
  margin: 6px 0 8px;
}
.timeline__body { font-size: 13.5px; color: var(--muted); line-height: 1.5; }
.timeline__item::before {
  content: "";
  position: absolute;
  top: -1px; left: 0;
  width: 24px; height: 3px;
  background: var(--red);
}

.team {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.team__card {
  display: flex; flex-direction: column; gap: 12px;
}
.team__photo {
  aspect-ratio: 4/5;
  border-radius: 14px;
  background: var(--paper-2);
  overflow: hidden;
  border: 1px solid var(--hair);
}
.team__name { font-size: 15px; font-weight: 700; margin: 0; }
.team__role { font-size: 12.5px; color: var(--muted); margin: 0; }

/* ───── Cases page ───── */

.cases-hero {
  padding: 40px 0 60px;
  border-bottom: 1px solid var(--hair);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
}
.case-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 24px 0;
  border-bottom: 1px solid var(--hair);
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 28px 24px;
  padding: 36px 0;
}
.case {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.case--xl { grid-column: span 8; }
.case--lg { grid-column: span 6; }
.case--md { grid-column: span 4; }
.case--sm { grid-column: span 4; }
.case__media {
  border-radius: var(--r-card);
  background: var(--paper-2);
  border: 1px solid var(--hair);
  overflow: hidden;
  position: relative;
  transition: transform .25s ease;
}
.case--xl .case__media { aspect-ratio: 16/9; }
.case--lg .case__media { aspect-ratio: 4/3; }
.case--md .case__media { aspect-ratio: 1/1; }
.case--sm .case__media { aspect-ratio: 4/5; }
.case:hover .case__media { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.case__media svg { width: 100%; height: 100%; display: block; }
.case__num {
  position: absolute;
  top: 16px; left: 16px;
  font-family: "Mukta Mahee", sans-serif;
  font-size: 13px;
  font-weight: 700;
  background: rgba(255,255,255,0.92);
  border-radius: 999px;
  padding: 4px 10px;
}
.case__title { font-size: 18px; font-weight: 700; margin: 0; line-height: 1.25; }
.case__meta { font-size: 13px; color: var(--muted); }
.case__row {
  display: flex; justify-content: space-between; align-items: start;
  gap: 16px;
}

/* ───── Placeholders for art imagery ───── */

.placeholder {
  width: 100%; height: 100%;
  display: block;
}

/* ───── Footer ───── */

.footer {
  background: #d9d9d9;
  color: var(--ink);
  padding: 80px 40px 40px;
  margin-top: 0;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(0,0,0,0.15);
}
.footer h3 {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(0,0,0,0.55);
  margin: 0 0 18px;
  font-weight: 600;
}
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer ul li { font-size: 14px; margin-bottom: 10px; opacity: 0.85; cursor: pointer; color: var(--ink); }
.footer ul li:hover { opacity: 1; }
.footer__bottom {
  display: flex; justify-content: space-between;
  padding-top: 30px;
  font-size: 12px;
  color: rgba(0,0,0,0.55);
}

/* favourite heart */
.heart-on { fill: #fff; stroke: #fff; }

/* ───── Brand logo (full lockup SVG) ───── */
.brand__logo { display: block; }
.brand__logo--light { filter: invert(1) brightness(2); }

/* ───── Atlas (Leaflet) map ───── */
.atlas-map {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: var(--r-card);
  overflow: hidden;
  background: var(--sea);
  border: 1px solid var(--hair);
  /* Establish own stacking context so Leaflet's high-z panes can't escape
     above the page header. */
  z-index: 0;
  isolation: isolate;
}
.atlas-map__canvas { position: absolute; inset: 0; }
.atlas-map .leaflet-container { background: #CAE8F2; font-family: inherit; }
/* Lift saturation/contrast on the basemap tiles for a livelier look. */
.atlas-map .leaflet-tile-pane { filter: saturate(1.25) contrast(1.04); }
.atlas-map .leaflet-control-attribution {
  background: rgba(255,255,255,0.7);
  font-size: 10px;
  padding: 2px 6px;
}

/* Floating control stack: expand → filter → zoom */
.atlas-map__controls {
  position: absolute;
  top: 16px;
  right: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 500;
}
/* When the map is fullscreen, the sticky header floats above it.
   Push the controls down past the header so they are not covered.
   Keep z-index high so Leaflet's marker/popup panes (z:600) don't cover them. */
.atlas-map--expanded .atlas-map__controls {
  top: calc(var(--header-h) + 16px);
  z-index: 1000;
}
.atlas-map--expanded .atlas-filter-card {
  top: calc(var(--header-h) + 16px);
  z-index: 1100;
}
.atlas-map__controls .map__ctrl {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--hair);
  display: grid; place-items: center;
  box-shadow: var(--shadow-sm);
  color: var(--ink);
  cursor: pointer;
  transition: background .15s, color .15s;
}
.atlas-map__controls .map__ctrl:hover { background: var(--paper-2); }
.atlas-map__controls .map__ctrl.is-active { background: var(--red); color: #fff; border-color: var(--red); }
.atlas-map__controls .map__zoom {
  width: 40px;
  height: 82px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid var(--hair);
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  overflow: hidden;
}
.atlas-map__controls .map__zoom button {
  flex: 1; border: none; background: transparent;
  font-size: 18px; cursor: pointer; color: var(--ink);
}
.atlas-map__controls .map__zoom button:hover { background: var(--paper-2); }
.atlas-map__controls .map__zoom .sep { height: 1px; background: var(--hair); }

/* Filter card (appears next to the slider button) */
.atlas-filter-card {
  position: absolute;
  width: 360px;
  top: 16px;
  right: 64px;
  width: 280px;
  background: #fff;
  border: 1px solid var(--hair);
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  padding: 14px 16px;
  z-index: 600;
  font-size: 13px;
}
.atlas-filter-card__head {
  display: flex; justify-content: space-between; align-items: center;
  font-weight: 600;
  margin-bottom: 10px;
}
.atlas-filter-card__x {
  background: transparent; border: none; cursor: pointer;
  width: 24px; height: 24px; display: grid; place-items: center;
  color: var(--muted);
}
.atlas-filter-card__group { margin-top: 10px; }
.atlas-filter-card__group h5 {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin: 0 0 8px;
  font-weight: 600;
  display: flex; justify-content: space-between;
}
.atlas-filter-card__group h5 .muted { color: var(--ink); font-weight: 600; text-transform: none; letter-spacing: 0; }
.atlas-filter-card__group .chips { display: flex; gap: 6px; flex-wrap: nowrap; }
.atlas-filter-card__group .chip { white-space: nowrap; }
.atlas-filter-card__group .chip {
  background: #fff;
  border: 1px solid var(--hair);
  padding: 6px 12px;
  border-radius: var(--r-pill);
  font-size: 12px;
  cursor: pointer;
  color: var(--ink);
}
.atlas-filter-card__group .chip[aria-pressed="true"] {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}
.atlas-range {
  position: relative;
  height: 26px;
  margin-top: 6px;
}
.atlas-range__track {
  position: absolute; left: 0; right: 0; top: 11px;
  height: 4px; border-radius: 999px;
  background: var(--hair);
}
.atlas-range__fill {
  position: absolute; top: 11px; height: 4px;
  background: var(--red); border-radius: 999px;
}
.atlas-range input[type="range"] {
  position: absolute; left: 0; right: 0; top: 5px;
  width: 100%; height: 16px;
  background: transparent;
  -webkit-appearance: none;
  pointer-events: none;
  margin: 0;
}
.atlas-range input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--red); border: 2px solid #fff;
  pointer-events: auto;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.atlas-range input[type="range"]::-moz-range-thumb {
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--red); border: 2px solid #fff;
  pointer-events: auto;
}
.atlas-range__labels {
  display: flex; justify-content: space-between;
  font-size: 11px; color: var(--muted); margin-top: 2px;
}

/* Atlas pin (Leaflet divIcon) */
.atlas-pin-wrap { background: transparent !important; border: none !important; }
.atlas-pin {
  position: relative;
  width: 56px; height: 70px;
  pointer-events: auto;
  cursor: pointer;
  transform-origin: 50% 100%;
  transition: transform .15s;
}
.atlas-pin:hover { transform: translateY(-3px) scale(1.04); }
.atlas-pin__img {
  width: 100%; height: 100%;
  object-fit: contain;
  display: block;
  pointer-events: none;
}
.atlas-pin svg { width: 100%; height: 100%; display: block; }
.atlas-pin__badge {
  position: absolute;
  top: -4px; right: -6px;
  min-width: 22px; height: 22px;
  padding: 0 6px;
  background: var(--red);
  color: #fff;
  border-radius: 999px;
  font-size: 11px; font-weight: 700;
  display: grid; place-items: center;
  border: 2px solid #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.25);
}

/* Expanded full-screen overlay state — sits BEHIND the header so the
   sticky header floats with its blurred translucency over the map. */
.atlas-map--expanded {
  position: fixed;
  top: calc(var(--header-h) + 16px);
  right: 16px;
  bottom: 16px;
  left: 16px;
  width: auto;
  height: auto;
  border-radius: var(--r-card);
  border: 1px solid var(--hair);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  z-index: 40;
}
/* Blurred backdrop behind the rounded card — covers the whole viewport
   below the header so the page content (red headline, etc.) doesn't bleed
   through the 16 px gutter. The header itself sits above this overlay. */
.atlas-map--expanded::before {
  content: "";
  position: fixed;
  top: var(--header-h);
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px) saturate(120%);
  -webkit-backdrop-filter: blur(18px) saturate(120%);
  z-index: -1;
  pointer-events: none;
}
/* Controls sit inside the rounded card, not flush to the viewport. */
.atlas-map--expanded .atlas-map__controls { top: 16px; right: 16px; z-index: 1000; }
.atlas-map--expanded .atlas-filter-card { top: 16px; z-index: 1100; }


/* ───── Main nav (replaces in-header search) ───── */
.app-header__row {
  grid-template-columns: auto 1fr auto;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  justify-self: center;
}
.nav-link {
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--ink);
  text-decoration: none;
  padding: 8px 2px;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color .15s ease;
}
.nav-link:hover { color: var(--red); }
.nav-link.is-active { color: var(--red); }
.nav-link.is-active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 2px;
  height: 2px;
  background: var(--red);
  border-radius: 2px;
}
.nav-link__ext { opacity: 0.65; }
.header__cta {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
  font-weight: 600;
  height: 44px;
  padding: 0 20px;
  font-size: 14px;
  letter-spacing: 0.01em;
}
.header__cta:hover { background: var(--red-deep); border-color: var(--red-deep); }

/* ───── Projekte page ───── */
.projects-hero {
  padding: 40px 0 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
  border-bottom: 1px solid var(--hair);
}
.projects-map {
  height: 560px;
  width: 100%;
  margin-top: 28px;
}
.projects-map .atlas-map {
  border: 1px solid var(--hair);
}
.projects-filterbar {
  margin-top: 28px;
  display: grid;
  gap: 16px;
}
.projects-search { max-width: 100%; }
.projects-filterbar__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  padding-bottom: 16px;
}
.projects-filterbar__group {
  display: flex;
  align-items: center;
  gap: 12px;
}
.projects-filterbar__label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-weight: 600;
}
.projects-select {
  height: 36px;
  border-radius: var(--r-pill);
  border: 1px solid var(--hair);
  background: var(--paper);
  padding: 0 28px 0 14px;
  font-size: 13.5px;
  font-family: inherit;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none' stroke='%23111' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><path d='M1 1.5 L6 6.5 L11 1.5'/></svg>");
  background-repeat: no-repeat;
  background-position: right 10px center;
}
.projects-filterbar__count {
  margin-left: auto;
  font-size: 13px;
  color: var(--muted);
}
.projects-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px 24px;
  padding-bottom: 60px;
}
.project-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  cursor: pointer;
  transition: transform .25s ease;
}
.project-card:hover { transform: translateY(-3px); }
.project-card__media {
  position: relative;
  border-radius: var(--r-card);
  background: var(--paper-2);
  overflow: hidden;
  aspect-ratio: 4/3;
  border: 1px solid var(--hair);
}
.project-card__media svg { width: 100%; height: 100%; display: block; }
.project-card__row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
}
.project-card__title {
  font-size: 17px;
  font-weight: 700;
  margin: 0;
  line-height: 1.25;
}
.project-card__meta {
  font-size: 13px;
  color: var(--muted);
  margin-top: 4px;
}
.project-card__cat {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--hair);
  border-radius: var(--r-pill);
  padding: 4px 10px;
  white-space: nowrap;
  flex: none;
}
.projects-empty {
  grid-column: 1 / -1;
  padding: 60px 0;
  text-align: center;
  color: var(--muted);
  display: grid;
  gap: 16px;
  justify-content: center;
}

/* ───── News highlights (landing) ───── */
.news-highlights .nh-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
}
.nh-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.nh-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--r-card);
  overflow: hidden;
  border: 1px solid var(--hair);
  background: var(--paper-2);
  transition: transform .25s ease, box-shadow .25s ease;
}
.nh-card:hover .nh-card__media {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.nh-card__media svg { width: 100%; height: 100%; display: block; }
.nh-card__kind {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 12px;
  background: #fff;
  border: 1px solid var(--hair);
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink);
}
.nh-card__body { display: flex; flex-direction: column; gap: 8px; }
.nh-card__date {
  font-size: 12.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.nh-card__title {
  font-size: 22px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 2px 0 0;
}
.nh-card__lead {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0;
}
.nh-card__cta { align-self: flex-start; margin-top: 6px; }

/* ───── Newsletter CTA ───── */
.newsletter-cta {
  margin-top: 72px;
  padding: 56px;
  border-radius: var(--r-card);
  background: var(--ink);
  color: #fff;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.newsletter-cta::before {
  content: "";
  position: absolute;
  inset: -2px;
  background:
    radial-gradient(600px 280px at 100% 0%, rgba(254,0,0,0.18), transparent 70%),
    radial-gradient(500px 260px at 0% 100%, rgba(255,255,255,0.06), transparent 70%);
  pointer-events: none;
}
.newsletter-cta > * { position: relative; }
.newsletter-cta__kicker {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 700;
  margin-bottom: 14px;
}
.newsletter-cta__title {
  font-family: "Inter", sans-serif;
  font-size: 30px;
  line-height: 1.2;
  letter-spacing: -0.015em;
  font-weight: 700;
  margin: 0 0 12px;
  color: #fff;
}
.newsletter-cta__sub {
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255,255,255,0.65);
  margin: 0;
  max-width: 460px;
}
.newsletter-cta__form {
  display: flex;
  gap: 10px;
  align-items: center;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 999px;
  padding: 6px 6px 6px 22px;
}
.newsletter-cta__input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font: inherit;
  font-size: 15px;
  height: 48px;
}
.newsletter-cta__input::placeholder { color: rgba(255,255,255,0.45); }
.newsletter-cta__btn {
  height: 48px;
  padding: 0 22px;
  flex: none;
  border-radius: 999px;
}
.newsletter-cta__sent {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.5;
}
.newsletter-cta__sent strong { display: block; color: #fff; margin-bottom: 2px; }
.newsletter-cta__sent span { color: rgba(255,255,255,0.7); }
.newsletter-cta__sent-tick {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  display: grid;
  place-items: center;
  flex: none;
  font-weight: 700;
}

@media (max-width: 980px) {
  .news-highlights .nh-grid { grid-template-columns: 1fr; }
  .newsletter-cta { grid-template-columns: 1fr; padding: 36px; }
  .about-intro { grid-template-columns: 1fr; gap: 12px; }
  .about-intro__body { grid-column: 1; }
}

/* ───── News page ───── */
.news-filterbar {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-bottom: 8px;
}
.news-search { max-width: 560px; }
.news-filterbar__row { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.news-filterbar__group { display: flex; align-items: center; gap: 10px; }
.news-filterbar__label { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.news-filterbar__count { font-size: 13px; color: var(--muted); margin-left: auto; }

.news-list {
  margin-top: 28px;
  display: grid;
  gap: 0;
  padding-bottom: 60px;
}
.news-item {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 36px;
  padding: 32px 0;
  border-bottom: 1px solid var(--hair);
  align-items: center;
}
.news-item:first-child { border-top: 1px solid var(--hair); }
.news-item__media {
  border-radius: var(--r-card);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--paper-2);
  border: 1px solid var(--hair);
}
.news-item__media svg { width: 100%; height: 100%; display: block; }
.news-item__body { display: flex; flex-direction: column; gap: 10px; }
.news-item__meta {
  display: flex;
  gap: 8px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-weight: 600;
}
.news-item__title { font-size: 26px; line-height: 1.2; margin: 4px 0 6px; font-weight: 700; }
.news-item__lead { font-size: 15px; line-height: 1.55; margin: 0; color: var(--ink); max-width: 600px; }
.news-item__cta { align-self: flex-start; margin-top: 10px; }


/* ───── Burger button + nav drawer ───── */
.burger-btn {
  position: relative;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  cursor: pointer;
  color: var(--ink);
  border-radius: 999px;
  transition: background .15s ease;
  justify-self: end;
}
.burger-btn:hover { background: rgba(0,0,0,0.05); }
.burger-btn__dot {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 2px #fff;
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15,15,15,0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
  z-index: 95;
}
.nav-backdrop.show { opacity: 1; pointer-events: auto; }

.nav-drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: 420px;
  max-width: 92vw;
  background: #fff;
  z-index: 100;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform .3s cubic-bezier(.2,.7,.2,1);
  box-shadow: var(--shadow-lg);
}
.nav-drawer.show { transform: translateX(0); }
.nav-drawer__head {
  display: flex;
  justify-content: flex-end;
  padding: 18px 24px;
}
.nav-drawer__nav {
  display: flex;
  flex-direction: column;
  padding: 8px 24px 24px;
  gap: 4px;
}
.nav-drawer__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
  padding: 18px 4px;
  border-bottom: 1px solid var(--hair);
  transition: color .15s ease, padding .2s ease;
}
.nav-drawer__link:hover { color: var(--red); padding-left: 8px; }
.nav-drawer__link.is-active { color: var(--red); }
.nav-drawer__link svg { opacity: 0.55; }
.nav-drawer__ext { opacity: 0.55; }

/* Featured "Unser Museum" card with background image + pill */
.nav-drawer__feature {
  position: relative;
  display: block;
  margin: 18px 0 4px;
  height: 170px;
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  background-image: url("assets/museum-kuppersmuhle.png");
  background-size: cover;
  background-position: center;
  isolation: isolate;
  transition: transform .2s ease, box-shadow .2s ease;
}
.nav-drawer__feature::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,0.18) 100%);
  pointer-events: none;
}
.nav-drawer__feature { transition: box-shadow .25s ease; }
.nav-drawer__feature:hover { box-shadow: var(--shadow-md); }
.nav-drawer__feature-pill {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  background: #111;
  color: #fff;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  transition: transform .25s cubic-bezier(.2,.7,.2,1), box-shadow .25s ease;
}
.nav-drawer__feature:hover .nav-drawer__feature-pill {
  transform: translate(-50%, -54%) scale(1.04);
  box-shadow: 0 10px 28px rgba(0,0,0,0.32);
}
.nav-drawer__feature-arrow { color: #fff; opacity: 1; transition: transform .25s ease; }
.nav-drawer__feature:hover .nav-drawer__feature-arrow { transform: translate(2px, -2px); }
.nav-drawer__foot {
  margin-top: auto;
  padding: 24px;
  border-top: 1px solid var(--hair);
}
.nav-drawer__cta {
  width: 100%;
  height: 52px;
  border: none;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: transform .25s cubic-bezier(.2,.7,.2,1), box-shadow .25s ease, filter .25s ease;
}
.nav-drawer__cta:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}
.nav-drawer__cta:hover svg { transform: translateX(3px); transition: transform .25s ease; }
.nav-drawer__cta:active { transform: translateY(0); transition: transform .08s ease; }

/* Hide the old top-row inline nav (now lives in drawer) */
.main-nav, .header__cta { display: none !important; }

/* ───── Search: autocomplete dropdown ───── */
.search { position: relative; }
.search-suggest {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid var(--hair);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  padding: 6px;
  z-index: 90;
  max-height: 420px;
  overflow-y: auto;
}
.search-suggest__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px 6px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-mute, #777);
}
.search-suggest__clear {
  background: none;
  border: 0;
  font: inherit;
  color: var(--red, #fe0000);
  cursor: pointer;
  text-transform: none;
  letter-spacing: 0;
}
.search-suggest__row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 10px 12px;
  background: none;
  border: 0;
  border-radius: 10px;
  font: inherit;
  text-align: left;
  cursor: pointer;
  color: var(--ink);
}
.search-suggest__row:hover { background: var(--bg-soft, #f6f4ef); }
.search-suggest__row--recent { color: var(--ink-mute, #555); }
.search-suggest__dot {
  width: 8px; height: 8px; border-radius: 50%;
  flex-shrink: 0;
}
.search-suggest__title {
  flex: 1;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.search-suggest__title mark.hl,
.hit-card mark.hl,
.search-page__title em {
  background: rgba(254, 0, 0, 0.14);
  color: inherit;
  padding: 0 2px;
  border-radius: 2px;
  font-style: normal;
}
.search-suggest__kind {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-mute, #888);
}
.search-suggest__empty {
  padding: 16px 12px 8px;
  font-size: 14px;
  color: var(--ink-mute, #777);
}
.search-suggest__see-all {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 12px;
  margin-top: 4px;
  border-top: 1px solid var(--hair);
  background: none;
  border-left: 0; border-right: 0; border-bottom: 0;
  font: inherit;
  font-weight: 600;
  color: var(--red, #fe0000);
  cursor: pointer;
  text-align: left;
}
.search-suggest__see-all svg { transition: transform .2s cubic-bezier(.2,.7,.2,1); }
.search-suggest__see-all:hover { background: var(--bg-soft, #f6f4ef); color: var(--red); padding-left: 18px; }
.search-suggest__see-all:hover svg { transform: translateX(4px); }

/* ───── Search results page ───── */
.search-page { padding: 32px 40px 80px; }
@media (min-width: 1280px) {
  .search-page { padding-left: 64px; padding-right: 64px; }
}
.search-page__head { padding: 24px 0 32px; max-width: 760px; }
.search-page__kicker {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-mute, #888);
  margin-bottom: 12px;
}
.search-page__title {
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 600;
  margin: 0 0 16px;
}
.search-page__sub { font-size: 16px; color: var(--ink-mute, #555); margin: 0; }
.search-page__map {
  height: 420px;
  border-radius: var(--r-card, 16px);
  overflow: hidden;
  border: 1px solid var(--hair);
  margin: 32px 0 48px;
  position: relative;
}
.search-page__map .atlas-map { height: 100%; }
.search-page__empty {
  padding: 60px 0;
  text-align: center;
  border-top: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
}
.search-page__empty h3 { font-size: 24px; margin: 0 0 8px; }
.search-page__empty p  { color: var(--ink-mute, #666); margin: 0; }
.search-page__empty em { color: var(--ink); font-style: normal; font-weight: 600; }

.search-section { margin-top: 56px; }
.search-section__head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  border-bottom: 1px solid var(--hair);
  padding-bottom: 12px;
  margin-bottom: 24px;
}
.search-section__head h2 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0;
}
.search-section__count {
  font-size: 13px;
  color: var(--ink-mute, #888);
}
.search-section__grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, 1fr);
}
.search-section__grid--news { grid-template-columns: repeat(2, 1fr); }

.hit-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--hair);
  border-radius: var(--r-card, 16px);
  overflow: hidden;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.hit-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: #d8d2c8; }
.hit-card__media { aspect-ratio: 4/3; background: #ece6dc; }
.hit-card__body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 6px; }
.hit-card__kicker {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-mute, #888);
}
.hit-card h3 { font-size: 18px; line-height: 1.25; margin: 0; font-weight: 600; }
.hit-card__meta { font-size: 13px; color: var(--ink-mute, #555); }
.hit-card__lead { font-size: 13px; line-height: 1.45; color: var(--ink-mute, #555); margin: 6px 0 0; }
.hit-card--event, .hit-card--news { cursor: default; }
.hit-card--news { cursor: pointer; }
@media (max-width: 900px) {
  .search-section__grid, .search-section__grid--news { grid-template-columns: 1fr; }
}

/* ════════════════════════════════════════════════════════════════════════
   V3 — Liquid-glass video hero (Website-Draft) + relocated map section
   ════════════════════════════════════════════════════════════════════════ */

:root {
  --sf: "SF Pro Display", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}
body { font-family: var(--sf); }
.vhero__wordmark, .hero__wordmark, .landing-section__title,
.about-intro__title, .about__title, .pd-hero__title,
.projects-hero h1, .hero__title { font-family: var(--sf); }

.vhero {
  position: relative;
  padding: 18px 0 0;
  background: #fff;
  --p: 0;
  --rubber: 0px;
  overflow-x: clip;
}

/* Horizontal track: video shrinks as the projects panel unfolds on the right.
   Driven by --p (0 → 1). Left whitespace compresses, gap + projects grow. */
.vhero__track {
  display: flex;
  align-items: stretch;
  gap: calc(var(--p) * 28px);
  padding-left: calc(210px - var(--p) * 56px);
  padding-right: calc(26px + var(--p) * 40px);
  transform: translateX(var(--rubber));
  will-change: transform;
}
.vhero__projects {
  position: relative;
  flex: 0 0 calc(var(--p) * 380px);
  height: min(90vh, 1000px);
  overflow: hidden;
  will-change: flex-basis;
}
.vhero__projects-inner {
  width: 380px;
  height: 100%;
  margin-left: auto;
  display: flex;
  flex-direction: column;
  padding: 6px 0 6px;
  transform: translateX(calc((1 - var(--p)) * 34px));
}
.vhero__projects-head { flex: 0 0 auto; margin-bottom: 22px; }
.vhero__projects-kicker {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 10px;
}
.vhero__projects-title {
  font-family: var(--sf), "SF Pro Display", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.025em;
  margin: 0 0 10px;
  color: var(--ink);
}
.vhero__projects-lead {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--muted);
  margin: 0;
  max-width: 330px;
  text-wrap: pretty;
}
.vhero__plist {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.vproj {
  flex: 1 1 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}
.vproj__media {
  flex: 1 1 auto;
  min-height: 0;
  position: relative;
  border-radius: var(--r-card);
  overflow: hidden;
  background:
    radial-gradient(120% 85% at 76% -5%, oklch(0.74 0.15 var(--h, 12)) 0%, transparent 56%),
    linear-gradient(155deg, oklch(0.52 0.15 var(--h, 12)) 0%, oklch(0.27 0.10 var(--h, 12)) 100%);
  transition: transform .25s, box-shadow .25s;
}
.vproj__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(80% 60% at 30% 110%, rgba(255,255,255,0.14), transparent 60%),
    linear-gradient(165deg, rgba(0,0,0,0) 50%, rgba(10,6,4,0.34));
  pointer-events: none;
}
.vproj__num {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  font-family: "Inter", sans-serif;
  font-weight: 800;
  font-size: 12px;
  background: rgba(255,255,255,0.92);
  color: var(--ink);
  border-radius: 999px;
  padding: 3px 11px;
}
.vproj:hover .vproj__media { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.vproj__row { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.vproj__title { font-size: 15px; font-weight: 700; margin: 0; line-height: 1.25; color: var(--ink); letter-spacing: -0.01em; }
.vproj__meta { font-size: 12px; color: var(--muted); margin-top: 3px; }
.vproj__go {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: var(--ink);
  transition: background .18s ease, border-color .18s ease, color .18s ease;
}
.vproj__go svg { width: 16px; height: 16px; }
/* Red only when hovering the arrow icon itself, not the whole project card. */
.vproj__go:hover { background: var(--red); border-color: var(--red); color: #fff; }

/* Same behaviour for the "Projekte im Fokus" arrow buttons. */
.focus__row .btn--icon { transition: background .18s ease, border-color .18s ease, color .18s ease; }
.focus__row .btn--icon:hover { background: var(--red); border-color: var(--red); color: #fff; }

/* ── Burger "dot" — sits in the left margin beside the video ── */
.vhero__burger {
  position: absolute;
  top: 40px;
  /* Stay centred between the screen's left edge and the video, even as the
     video slides left when the projects unfold (stage left = 210 − p·56). */
  left: calc(78px - var(--p) * 28px);
  z-index: 6;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #0a0a0a;
  border: 0;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  transition: background .2s;
}
/* Decorative-only for now (menu subpages pending): plain black dot. */
.vhero__burger--dot { cursor: default; }
.vhero__burger--dot:hover { background: #0a0a0a; }
/* Language toggle living in the dot — current language in the old
   burger-stroke grey; tap switches de ⇄ en. */
.vhero__burger--lang { cursor: pointer; }
.vhero__burger--lang:hover { background: #1a1a1a; }
.vhero__burger--lang:active { transform: scale(0.92); }
.vhero__burger--lang { transition: background .2s, transform .15s ease; }
/* Neutralise the inherited burger-stroke styling (width/height/background
   made the label look like a white bar) and centre the code in the circle. */
.vhero__burger--lang .vhero__lang-current {
  width: auto;
  height: auto;
  background: transparent;
  border-radius: 0;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #9c9c9c;
  text-transform: uppercase;
  line-height: 1;
  user-select: none;
}
/* Flip-in runs ONLY on an actual language toggle (class set by Hero) — the
   resting state carries no animation/transform, so the label is always
   readable even where animations are paused. */
.vhero__burger--lang .vhero__lang-current.is-swap {
  animation: langSwap .35s cubic-bezier(.2,.7,.2,1);
}
@keyframes langSwap {
  from { transform: rotateX(85deg) scale(0.6); }
  to   { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .vhero__burger--lang .vhero__lang-current.is-swap { animation: none; }
}
.vhero__burger:hover { background: #1a1a1a; }
.vhero__burger span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transition: transform .28s cubic-bezier(.2,.7,.2,1), opacity .18s ease;
}
/* Burger morphs into an "X" while the menu is open — pinned in front of the
   black backdrop so it always stays a usable close button. */
.vhero__burger.is-open { position: fixed; z-index: 130; }
.vhero__burger.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.vhero__burger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.vhero__burger.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ── Video stage: large, rounded; flex-shrinks as projects unfold ── */
.vhero__stage {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  height: min(90vh, 1000px);
  border-radius: var(--vhero-r, 48px);
}
.vhero__screen {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  overflow: hidden;
  background: #0c0c10;
}
.vhero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Animated placeholder standing in for the looping background video. */
.vhero__placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: radial-gradient(130% 130% at 30% 10%, #28303a 0%, #0e1116 64%);
  overflow: hidden;
}
.vhero__drift {
  position: absolute;
  inset: -25%;
  background:
    radial-gradient(38% 38% at 30% 34%, rgba(254,0,0,0.55), transparent 70%),
    radial-gradient(36% 36% at 72% 58%, rgba(95,140,255,0.40), transparent 72%),
    radial-gradient(44% 44% at 54% 86%, rgba(255,176,84,0.34), transparent 72%);
  filter: blur(26px);
  animation: vheroDrift 20s ease-in-out infinite alternate;
}
@keyframes vheroDrift {
  0%   { transform: translate3d(-4%, -3%, 0) scale(1.06); }
  50%  { transform: translate3d(4%, 2%, 0)  scale(1.16); }
  100% { transform: translate3d(-2%, 4%, 0) scale(1.10); }
}
.vhero__grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  opacity: 0.07;
  mix-blend-mode: overlay;
  pointer-events: none;
}
.vhero__ph-label {
  position: absolute;
  z-index: 2;
  left: 24px;
  bottom: 22px;
  font-family: ui-monospace, "SF Mono", "Menlo", monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.65);
}

/* ── Floating liquid-glass chrome over the video ── */
.vhero__chrome {
  position: absolute;
  top: 22px;
  left: 34px;
  right: 34px;
  z-index: 5;
  display: flex;
  align-items: stretch;
  /* Nav pill removed for the birthday release — the logo pill alone sits at
     the right edge of the video (where the nav used to be). */
  justify-content: flex-end;
  gap: 34px;
  pointer-events: none;
}
.is-open .gnav { pointer-events: auto; }
.glogo, .gnav {
  pointer-events: auto;
  background: rgba(255,255,255,0.14);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  backdrop-filter: blur(22px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.30);
  border-radius: 999px;
  box-shadow: 0 10px 34px rgba(0,0,0,0.18),
              inset 0 1px 0 rgba(255,255,255,0.55),
              inset 0 -8px 18px rgba(255,255,255,0.06);
}
.glogo {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: calc(280px - var(--p) * 64px);
  gap: calc(15px - var(--p) * 5px);
  height: 54px;
  padding: 0 calc(24px - var(--p) * 11px) 0 calc(22px - var(--p) * 10px);
  text-decoration: none;
}
.glogo__mark { height: 34px; width: auto; display: block; }

/* New single-lockup logo (40-Jahre mark + wordmark baked into one SVG) —
   the pill hugs the artwork instead of reserving width for separate text. */
.glogo--lockup {
  width: auto;
  gap: 0; /* the two crops butt together — spacing is baked into the SVGs */
  padding: 0 22px;
}
.glogo--lockup .glogo__mark,
.glogo--lockup .glogo__word { height: 40px; width: auto; display: block; }
.glogo__mark--pop { animation: glogoPop .5s cubic-bezier(.2,.7,.2,1); }
@keyframes glogoPop {
  0%   { transform: scale(1) rotate(0deg); }
  35%  { transform: scale(1.22) rotate(-6deg); }
  60%  { transform: scale(0.96) rotate(3deg); }
  100% { transform: scale(1) rotate(0deg); }
}
.glogo__text {
  display: flex;
  flex-direction: column;
  color: #fff;
  font-size: 12px;
  line-height: 0.95;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.gnav {
  display: flex;
  align-items: center;
  transition: opacity .35s ease;
  flex: 1;
  gap: 0;
  height: 54px;
  padding: 0 calc(14px - var(--p) * 6px) 0 calc(28px - var(--p) * 16px);
}
.gnav__links {
  display: flex;
  align-items: center;
  /* The gap glides with the drag/spring progress (--p) instead of snapping
     when the is-open class flips at the very end of the close animation.
     Adjust the resting gap via --gap-rest below (the inline style is
     deliberately overridden so open/close can interpolate smoothly). */
  --gap-rest: 28px;
  gap: calc(var(--gap-rest) - var(--p, 0) * (var(--gap-rest) - 10px)) !important;
  margin: 0 auto;
}
.gnav__link {
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  padding: 8px calc(16px - var(--p, 0) * 5px);
  border-radius: 999px;
  opacity: 0.94;
  transition: background .2s, opacity .2s;
}
.gnav__link:hover { background: rgba(255,255,255,0.16); opacity: 1; }
.gnav__cta {
  background: var(--red);
  color: #fff;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  padding: 11px 26px;
  border-radius: 999px;
  margin-left: 0;
  transition: background .2s, transform .2s;
}
.gnav__cta:hover { background: var(--red-deep); transform: translateY(-1px); }

/* ── Search + filter over the video ── */
.vhero__search {
  position: absolute;
  /* Closed: centred on the video — but the centre is capped so the group's
     right edge always keeps ≥18px of air to the red handle (right: 3.5%,
     196px wide). Only kicks in on narrower desktops, and only minimally.
     Open: slides toward the left edge so the Filter clears the handle. */
  left: min(
    calc(50% - var(--p) * 50% + var(--p) * 307px),
    calc(96.5% - 196px - 18px - (clamp(320px, 40vw, 420px) + 160px) / 2)
  );
  bottom: 7%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 10px;
}
.is-open .vhero__search { pointer-events: auto; }
.vhero__search .search.hero__search {
  max-width: none;
  width: clamp(320px, 40vw, 420px);
}
.vhero__search .search__input {
  height: 46px;
  background: rgba(255,255,255,0.14);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  backdrop-filter: blur(22px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.30);
  color: #fff;
  font-size: 14px;
  padding: 0 50px 0 20px;
  box-shadow: 0 10px 34px rgba(0,0,0,0.18),
              inset 0 1px 0 rgba(255,255,255,0.55),
              inset 0 -8px 18px rgba(255,255,255,0.06);
}
.vhero__search .search__input::placeholder { color: rgba(255,255,255,0.82); }
.vhero__search .search__input:focus {
  border-color: rgba(255,255,255,0.6);
  box-shadow: 0 10px 34px rgba(0,0,0,0.18),
              inset 0 1px 0 rgba(255,255,255,0.55),
              inset 0 -8px 18px rgba(255,255,255,0.06),
              0 0 0 4px rgba(255,255,255,0.12);
}
.vhero__search .search__btn { width: 36px; height: 36px; top: 5px; right: 8px; background: #fff; color: var(--red); }
.vhero__search .search__btn:hover { background: #fff; color: var(--red-deep); box-shadow: 0 6px 18px rgba(0,0,0,0.18); }
.vhero__filter {
  height: 46px;
  background: rgba(255,255,255,0.14);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  backdrop-filter: blur(22px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.30);
  border-radius: 999px;
  padding: 0 20px;
  gap: 9px;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  box-shadow: 0 10px 34px rgba(0,0,0,0.18),
              inset 0 1px 0 rgba(255,255,255,0.55),
              inset 0 -8px 18px rgba(255,255,255,0.06);
  transition: width .35s cubic-bezier(.2,.7,.2,1), padding .35s cubic-bezier(.2,.7,.2,1), background .2s, border-color .2s;
}
.vhero__filter:hover { background: rgba(255,255,255,0.24); border-color: rgba(255,255,255,0.30); }
/* When the projects unfold, drop the "Filter" label and keep a round icon-only
   glass bubble — saves room and clears the red handle. */
.is-open .vhero__filter {
  width: 46px;
  padding: 0;
  gap: 0;
  justify-content: center;
}
.is-open .vhero__filter-label { display: none; }

/* ── Red dot (bottom-right of the video) — click it or drag to unfold projects ── */
.vhero__handle {
  position: absolute;
  z-index: 8;
  right: 3.5%;
  bottom: 6%;
  width: 196px;
  height: 196px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  cursor: grab;
  display: grid;
  place-items: center;
  box-shadow: none;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  transition: background .2s;
}
.vhero__handle:hover { background: var(--red-deep); }
.is-dragging .vhero__handle { cursor: grabbing; }
.vhero__handle-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  pointer-events: none;
}
.vhero__handle-arrow { width: 53px; height: 53px; animation: handleNudge 1.8s ease-in-out infinite; }
.is-open .vhero__handle-arrow, .is-dragging .vhero__handle-arrow { animation: none; }
.vhero__handle-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.25;
  white-space: nowrap; /* each line stays as authored — text never escapes the circle */
}
@keyframes handleNudge {
  0%, 100% { transform: translateX(-3px); }
  50% { transform: translateX(5px); }
}
@media (prefers-reduced-motion: reduce) {
  .vhero__handle-arrow { animation: none; }
}

/* ── Big red wordmark below the video, right-aligned ── */
.vhero__wordmark {
  text-align: right;
  padding: 110px 26px 0 210px;
  font-weight: 800;
  font-size: clamp(40px, 5.6vw, 86px);
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--red);
}
.vhero__wordmark .line { display: block; }
.vhero__wordmark .bonn {
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.02em;
}

@media (prefers-reduced-motion: reduce) {
  .vhero__drift { animation: none; }
}

/* ── About head sized up to match the draft ── */
.landing-section--about { border-top: 0; padding-top: 28px; }
.landing-section--about .landing-section__head {
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 40px;
}
.landing-section--about .landing-section__lead {
  max-width: 640px;
  margin-left: 0;
  font-size: 15px;
  line-height: 1.45;
}
.landing-section--about .landing-section__title {
  max-width: 640px;
}

/* ── Relocated interactive map ("the Card") ── */
.map-section {
  padding: 100px 40px;
  border-top: 1px solid var(--hair);
}
.map-section__head {
  max-width: 720px;
  margin: 0 auto 44px;
  text-align: center;
}
.map-section__head .landing-section__kicker { margin-bottom: 14px; }
.map-section__head .landing-section__title { margin: 0 auto; }
.map-section__lead {
  font-size: 17px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 540px;
  margin: 18px auto 0;
  text-wrap: pretty;
}
.map-section__stage {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  height: 660px;
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid var(--hair);
  background: var(--sea);
  box-shadow: none;
  transition: box-shadow .3s ease;
}
.map-section__stage:hover { box-shadow: var(--shadow-md); }
.map-section__stage .atlas-map { border: 0; border-radius: 0; }
.map-section__stage .hero__map-wrap { border-radius: 0; }

/* NOTE: the former in-between hero breakpoint at 1100px is gone — below
   1050px the mobile layout takes over in one single jump, so the video keeps
   its desktop aspect ratio all the way down to 1051px. */
@media (max-width: 720px) {
  .vhero { padding: 12px 0 0; }
  .vhero__track { padding-left: 70px; padding-right: 12px; gap: 0; }
  .vhero__burger { top: 16px; left: 12px; width: 46px; height: 46px; transform: none; }
  .vhero__stage { height: 72vh; }
  .vhero__projects, .vhero__handle { display: none; }
  .vhero__chrome { top: 12px; left: 12px; right: 12px; gap: 10px; }
  .gnav { padding-left: 14px; gap: 2px; }
  .gnav__link { display: none; }
  .glogo { padding: 9px 16px; }
  .vhero__search { width: calc(100% - 40px); flex-direction: column; bottom: 6%; }
  .vhero__search .search.hero__search { width: 100%; }
  .vhero__wordmark { text-align: left; padding: 32px 20px 0; }
  .map-section { padding: 72px 20px; }
  .map-section__stage { height: 480px; border-radius: 22px; }
}

/* ============================================================
   Birthday-release additions
   · coming-soon button states
   · ProjectPeek + NewsModal popups
   · Museum Küppersmühle showcase (replaces the Atlas map)
   · inert newsletter form
   ============================================================ */

/* ── Coming-soon buttons ── */
.btn.is-soon {
  pointer-events: none;
  cursor: default;
  color: #8c8c8c;
  background: #f3f3f3;
  border-color: transparent;
}
.soon-badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 999px;
  background: #e3e3e3;
  color: #6f6f6f;
  white-space: nowrap;
}

/* ── Shared popup backdrop ── */
.peek-backdrop,
.nmodal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 220;
  background: rgba(8,8,10,0.45);
  -webkit-backdrop-filter: blur(7px);
  backdrop-filter: blur(7px);
  display: grid;
  place-items: center;
  padding: 20px;
  animation: popupFade .22s ease both;
}
@keyframes popupFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes popupRise {
  from { opacity: 0; transform: translateY(16px) scale(0.97); }
  to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .peek-backdrop, .nmodal-backdrop, .peek, .nmodal { animation: none; }
}

/* ── ProjectPeek — mini project detail with image slider ── */
.peek {
  position: relative;
  width: min(520px, 100%);
  max-height: calc(100svh - 40px);
  overflow-y: auto;
  background: #fff;
  border-radius: 26px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.35);
  animation: popupRise .3s cubic-bezier(.2,.7,.2,1) both;
}
.peek__close,
.nmodal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 6;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.08);
  background: rgba(255,255,255,0.85);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--ink);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background .15s ease;
}
.peek__close:hover,
.nmodal__close:hover { background: #fff; }

.peek__carousel { position: relative; }
.peek__viewport { overflow: hidden; border-radius: 26px 26px 0 0; background: #ededed; }
.peek__track {
  display: flex;
  transition: transform .45s cubic-bezier(.65,0,.35,1);
}
.peek__slide { flex: 0 0 100%; min-width: 0; aspect-ratio: 4 / 3; }
.peek__slide image-slot { display: block; width: 100%; height: 100%; }
.peek__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.4);
  background: rgba(20,20,20,0.42);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background .15s ease;
}
.peek__nav:hover { background: rgba(20,20,20,0.62); }
.peek__nav svg { width: 20px; height: 20px; }
.peek__nav--prev { left: 12px; }
.peek__nav--next { right: 12px; }
.peek__dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 7px;
}
.peek__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.55);
  box-shadow: 0 1px 4px rgba(0,0,0,0.35);
  cursor: pointer;
  transition: transform .15s ease, background .15s ease;
}
.peek__dot.is-on { background: #fff; transform: scale(1.25); }
.peek__body { padding: 22px 26px 28px; }
.peek__kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 8px;
}
.peek__title {
  font-size: 23px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 4px;
  color: var(--ink);
  text-wrap: pretty;
}
.peek__meta { font-size: 13.5px; color: var(--muted); margin-bottom: 14px; }
.peek__info { font-size: 14.5px; line-height: 1.6; color: var(--ink); margin: 0; text-wrap: pretty; }

/* ── NewsModal — text-forward ── */
.nmodal {
  position: relative;
  width: min(560px, 100%);
  max-height: calc(100svh - 40px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border-radius: 26px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.35);
  animation: popupRise .3s cubic-bezier(.2,.7,.2,1) both;
}
/* Inner scroller: the white card itself never moves, only the text scrolls
   — so the background stays full-bleed and the close button stays put. */
.nmodal__inner {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 36px 38px 42px;
}
.nmodal__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.nmodal__kind {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background: var(--red);
  border-radius: 999px;
  padding: 5px 12px;
}
.nmodal__date { font-size: 13px; color: var(--muted); }
.nmodal__title {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0 0 16px;
  color: var(--ink);
  text-wrap: balance;
}
.nmodal__body {
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  margin: 0;
  text-wrap: pretty;
}
.nmodal__long .nmodal__body { margin: 0 0 16px; font-size: 15px; }
.nmodal__long .nmodal__body:last-child { margin-bottom: 0; }
.nmodal__h {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 26px 0 10px;
}
/* On phones the long-read popup goes full-bleed ("vollflächig") — the white
   surface covers the whole screen, so the page never peeks out at the top or
   bottom edge while scrolling. */
@media (max-width: 720px) {
  .nmodal-backdrop { padding: 0; }
  .nmodal {
    width: 100%;
    height: 100svh;
    max-height: none;
    border-radius: 0;
  }
  .nmodal__inner { padding: 30px 22px 48px; }
  .nmodal__title { font-size: 24px; }
}

/* ── Museum Küppersmühle showcase ── */
.museum-panel {
  display: grid;
  grid-template-columns: minmax(340px, 520px) 1fr;
  gap: 56px;
  align-items: center;
  padding: 56px;
  border-radius: var(--r-card);
  background: var(--ink);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.museum-panel::before {
  content: "";
  position: absolute;
  inset: -2px;
  background:
    radial-gradient(600px 280px at 100% 0%, rgba(254,0,0,0.18), transparent 70%),
    radial-gradient(500px 260px at 0% 100%, rgba(255,255,255,0.06), transparent 70%);
  pointer-events: none;
}
.museum-panel > * { position: relative; }
.museum-panel__media { aspect-ratio: 3 / 4; min-width: 0; }
.museum-panel__media image-slot {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 24px;
}
.museum-panel__kicker {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 700;
  margin-bottom: 14px;
}
.museum-panel__title {
  font-family: var(--sf), "SF Pro Display", -apple-system, sans-serif;
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.015em;
  font-weight: 700;
  margin: 0 0 18px;
  color: #fff;
  text-wrap: balance;
}
.museum-panel__lead {
  font-size: 15.5px;
  line-height: 1.6;
  color: rgba(255,255,255,0.78);
  margin: 0 0 12px;
  max-width: 56ch;
  text-wrap: pretty;
}
.museum-panel__lead--sub { color: rgba(255,255,255,0.6); }
.museum-panel__cta-row { margin-top: 26px; }
.museum-panel__cta { text-decoration: none; }
@media (max-width: 980px) {
  .museum-panel {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 26px;
  }
  .museum-panel__media {
    /* Square on mobile — keeps the section compact (portrait is desktop-only). */
    aspect-ratio: 1 / 1;
    max-width: 420px;
  }
  .museum-panel__cta-row { display: flex; }
  .museum-panel__cta { flex: 1 1 auto; justify-content: center; }
}

/* ── Newsletter — inert until the service is connected ── */
.newsletter-cta__title { text-wrap: balance; }
.newsletter-cta__form--soon { opacity: 0.9; }
.newsletter-cta__input[disabled] { cursor: default; }
.newsletter-cta__btn--soon,
.newsletter-cta__btn--soon:hover {
  pointer-events: none;
  cursor: default;
  background: rgba(255,255,255,0.16);
  border-color: transparent;
  color: rgba(255,255,255,0.55);
  transform: none;
}

/* ── Footer: coming-soon entries + legal links ── */
.footer__soon {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #a3a3a3;
  cursor: default;
}
.footer__soon .soon-badge { background: #ececec; color: #8a8a8a; }
.footer__legal a { color: inherit; }

/* ── Legal page (Impressum + Datenschutz) — super clean ── */
.legal {
  max-width: 820px;
  margin: 0 auto;
  padding: 44px 24px 110px;
}
.legal__back { margin-bottom: 56px; }
.legal__hero { margin-bottom: 56px; }
.legal__section + .legal__section {
  margin-top: 84px;
  padding-top: 64px;
  border-top: 1px solid var(--hair);
}
.legal__h2 {
  font-family: var(--sf), "SF Pro Display", -apple-system, sans-serif;
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1.05;
  letter-spacing: -0.015em;
  font-weight: 700;
  margin: 0 0 28px;
  color: var(--ink);
}
.legal__intro {
  font-size: 15px;
  color: var(--muted);
  margin: 0 0 16px;
}
.legal__card {
  padding: 30px 34px;
  border: 1px solid var(--hair);
  border-radius: var(--r-card);
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--ink);
}
.legal__card strong {
  display: block;
  font-size: 18px;
  margin-bottom: 12px;
}
.legal__card p { margin: 0 0 16px; }
.legal__card p:last-child { margin-bottom: 0; }
.legal__section > p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink);
  margin: 0 0 20px;
  text-wrap: pretty;
}
.legal__section > p > strong { color: var(--ink); }
.legal__section a { color: var(--red); text-decoration: none; word-break: break-word; }
.legal__section a:hover { text-decoration: underline; }
@media (max-width: 720px) {
  .legal { padding: 24px 18px 80px; }
  .legal__back { margin-bottom: 36px; }
  .legal__hero { margin-bottom: 32px; }
  .legal__hero .about__title { font-size: clamp(34px, 9vw, 44px); }
  .legal__h2 { font-size: 24px; margin-bottom: 18px; }
  .legal__card { padding: 18px 18px; font-size: 13.5px; line-height: 1.6; }
  .legal__card strong { font-size: 15.5px; margin-bottom: 8px; }
  .legal__card p { margin-bottom: 12px; }
  .legal__intro { font-size: 13.5px; margin-bottom: 12px; }
  .legal__section > p { font-size: 13.5px; line-height: 1.6; margin-bottom: 14px; }
  .legal__section + .legal__section { margin-top: 52px; padding-top: 40px; }
}
