/* =====================================================================
   Messebau Landingpage — eigene Styles, baut auf colors_and_type.css auf
   ===================================================================== */

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg-1);
  color: var(--fg-1);
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }

/* ---------- LAYOUT PRIMITIVES ---------- */
.container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 56px);
}
.container-narrow {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 56px);
}

/* ---------- TOP NAV ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--va-line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}
.nav-logo img {
  height: 24px;
  width: auto;
  display: block;
}
.nav-inner { height: 72px; }
.nav-logo .nav-divider {
  width: 1px; height: 22px; background: var(--va-line);
}
.nav-logo .nav-product {
  font-family: var(--font-text);
  font-weight: var(--fw-semibold);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--fg-2);
  text-transform: uppercase;
}
.nav-actions {
  display: flex; align-items: center; gap: 20px;
  font-size: 14px;
}
.nav-link {
  color: var(--fg-2);
  text-decoration: none;
  font-weight: var(--fw-medium);
  transition: color var(--dur-fast) var(--ease-standard);
}
.nav-link:hover { color: var(--fg-1); }
.lang-toggle {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--va-line);
  border-radius: var(--r-pill);
  overflow: hidden;
  font-size: 12px;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.04em;
}
.lang-toggle button {
  appearance: none;
  background: transparent;
  border: 0;
  color: var(--fg-3);
  padding: 6px 12px;
  cursor: pointer;
  font: inherit;
  letter-spacing: inherit;
}
.lang-toggle button.active {
  background: var(--va-ink);
  color: var(--va-white);
}

/* ---------- INTRO ---------- */
.intro {
  padding: 48px 0;
  position: relative;
  overflow: hidden;
}
.intro .container { position: relative; z-index: 1; }
.intro-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
@media (max-width: 900px) {
  .intro-grid { grid-template-columns: 1fr; align-items: stretch; }
}
.intro-text { padding-bottom: 8px; }
.eyebrow-row {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 28px;
}
.eyebrow-row .eyebrow { color: var(--va-red); }
.eyebrow-row .rule {
  flex: 1; height: 1px; background: var(--va-line);
}
.intro h1 {
  font-size: clamp(44px, 6.2vw, 88px);
  line-height: 0.96;
  letter-spacing: -0.04em;
  margin-bottom: 16px;
  font-weight: var(--fw-bold);
  color: var(--va-ink);
}
.intro .sub {
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--va-red);
  margin-bottom: 28px;
  text-wrap: balance;
}
.intro .body {
  font-size: 17px;
  line-height: 1.6;
  color: var(--fg-2);
  max-width: 56ch;
  text-wrap: pretty;
}
.intro .body p { margin: 0 0 0.75em; }
.intro .body p:last-child { margin-bottom: 0; }
.intro .body ul {
  margin: 0 0 0.75em 0;
  padding-left: 1.25em;
  list-style: disc;
}
.intro .body ul li { margin-bottom: 0.3em; }
.intro-visual {
  position: relative;
  aspect-ratio: 4/5;
  background: var(--va-white);
  overflow: hidden;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 900px) {
  .intro-visual { aspect-ratio: 4/3; }
}
.intro-visual .kv {
  width: 72%;
  height: 72%;
  object-fit: contain;
  display: block;
  position: relative;
  z-index: 1;
}
.intro-visual .visual-tag {
  position: absolute;
  left: 24px; bottom: 24px;
  font-size: 12px;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--va-ink);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
}
.intro-visual .visual-tag .dot {
  width: 6px; height: 6px; border-radius: 999px; background: var(--va-red);
}

/* ---------- SECTION HEADER ---------- */
.section-head {
  display: flex; align-items: end; justify-content: space-between;
  gap: 32px;
  padding: clamp(40px, 6vw, 80px) 0 clamp(24px, 3vw, 40px);
  border-top: 1px solid var(--va-line);
}
.section-head h2 {
  font-size: clamp(32px, 4.4vw, 56px);
  letter-spacing: -0.035em;
  font-weight: var(--fw-bold);
  color: var(--va-ink);
}
.section-head h2 em { font-style: normal; color: var(--va-red); }
.section-head .section-sub {
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: clamp(18px, 2vw, 24px);
  letter-spacing: -0.01em;
  color: var(--va-red);
  margin-top: 8px;
}
.section-head .meta {
  text-align: right;
  font-size: 13px;
  color: var(--fg-3);
  font-feature-settings: "tnum" 1;
}
.section-head .meta strong {
  display: block;
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: 24px;
  color: var(--fg-1);
  letter-spacing: -0.01em;
}

/* ---------- BENTO GRID ---------- */
.bento {
  display: grid;
  gap: 12px;
  padding-bottom: clamp(48px, 8vw, 96px);
}

/* Layout A: Hero + 2 mid + 4 small + 3 small */
.bento.layout-a {
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 200px;
}
.bento.layout-a > .tile:nth-child(1) { grid-column: span 8; grid-row: span 2; }
.bento.layout-a > .tile:nth-child(2) { grid-column: span 4; grid-row: span 1; }
.bento.layout-a > .tile:nth-child(3) { grid-column: span 4; grid-row: span 1; }
.bento.layout-a > .tile:nth-child(4) { grid-column: span 3; grid-row: span 1; }
.bento.layout-a > .tile:nth-child(5) { grid-column: span 3; grid-row: span 1; }
.bento.layout-a > .tile:nth-child(6) { grid-column: span 3; grid-row: span 1; }
.bento.layout-a > .tile:nth-child(7) { grid-column: span 3; grid-row: span 1; }
.bento.layout-a > .tile:nth-child(8) { grid-column: span 4; grid-row: span 1; }
.bento.layout-a > .tile:nth-child(9) { grid-column: span 4; grid-row: span 1; }
.bento.layout-a > .tile:nth-child(10) { grid-column: span 4; grid-row: span 1; }

/* Layout B: editorial — large | column of 3 / mosaic */
.bento.layout-b {
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 180px;
}
.bento.layout-b > .tile:nth-child(1) { grid-column: span 7; grid-row: span 3; }
.bento.layout-b > .tile:nth-child(2) { grid-column: span 5; grid-row: span 1; }
.bento.layout-b > .tile:nth-child(3) { grid-column: span 5; grid-row: span 2; }
.bento.layout-b > .tile:nth-child(4) { grid-column: span 4; grid-row: span 2; }
.bento.layout-b > .tile:nth-child(5) { grid-column: span 4; grid-row: span 1; }
.bento.layout-b > .tile:nth-child(6) { grid-column: span 4; grid-row: span 1; }
.bento.layout-b > .tile:nth-child(7) { grid-column: span 6; grid-row: span 2; }
.bento.layout-b > .tile:nth-child(8) { grid-column: span 6; grid-row: span 1; }
.bento.layout-b > .tile:nth-child(9) { grid-column: span 6; grid-row: span 1; }
.bento.layout-b > .tile:nth-child(10) { grid-column: span 12; grid-row: span 2; }

/* Layout C: rhythmic — band of 4, hero, band of 3, then 2 wide */
.bento.layout-c {
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 220px;
}
.bento.layout-c > .tile:nth-child(1) { grid-column: span 3; grid-row: span 1; }
.bento.layout-c > .tile:nth-child(2) { grid-column: span 3; grid-row: span 1; }
.bento.layout-c > .tile:nth-child(3) { grid-column: span 3; grid-row: span 1; }
.bento.layout-c > .tile:nth-child(4) { grid-column: span 3; grid-row: span 1; }
.bento.layout-c > .tile:nth-child(5) { grid-column: span 8; grid-row: span 2; }
.bento.layout-c > .tile:nth-child(6) { grid-column: span 4; grid-row: span 1; }
.bento.layout-c > .tile:nth-child(7) { grid-column: span 4; grid-row: span 1; }
.bento.layout-c > .tile:nth-child(8) { grid-column: span 4; grid-row: span 1; }
.bento.layout-c > .tile:nth-child(9) { grid-column: span 4; grid-row: span 1; }
.bento.layout-c > .tile:nth-child(10) { grid-column: span 8; grid-row: span 1; }

@media (max-width: 900px) {
  .bento.layout-a, .bento.layout-b, .bento.layout-c {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 180px;
  }
  .bento > .tile { grid-column: span 1 !important; grid-row: span 1 !important; }
  .bento > .tile:nth-child(1) { grid-column: span 2 !important; grid-row: span 2 !important; }
}

/* ---------- TILE ---------- */
.tile {
  position: relative;
  overflow: hidden;
  background: var(--va-surface);
  cursor: pointer;
  isolation: isolate;
  border-radius: 0;
  transition: transform var(--dur-base) var(--ease-standard);
}
.tile-image {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 600ms var(--ease-emph), filter var(--dur-base) var(--ease-standard);
  will-change: transform;
}
.tile-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg,
    rgba(10,10,10,0) 0%,
    rgba(10,10,10,0) 40%,
    rgba(10,10,10,0.65) 100%);
  z-index: 1;
  transition: opacity var(--dur-base) var(--ease-standard);
}
.tile-content {
  position: absolute;
  left: 20px; right: 20px; bottom: 18px;
  z-index: 2;
  color: var(--va-white);
  display: flex; flex-direction: column; gap: 6px;
}
.tile-meta {
  display: flex; align-items: center; gap: 8px;
  font-size: 11px;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.9;
}
.tile-meta .sep { opacity: 0.5; }
.tile-title {
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: clamp(18px, 1.7vw, 26px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.tile.is-hero .tile-title { font-size: clamp(24px, 2.6vw, 40px); }
.tile-kpi {
  position: absolute;
  top: 18px; right: 20px;
  z-index: 2;
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: 14px;
  letter-spacing: -0.01em;
  color: var(--va-white);
  background: rgba(10,10,10,0.4);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 6px 10px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(255,255,255,0.18);
}
.tile.is-hero .tile-kpi {
  font-size: 16px;
  padding: 8px 14px;
}
.tile-index {
  position: absolute;
  top: 18px; left: 20px;
  z-index: 2;
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: 13px;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.04em;
}

/* HOVER STYLES — three variants, controlled by data-hover on .bento */
/* Variant 1: zoom (default) */
.bento[data-hover="zoom"] .tile:hover .tile-image { transform: scale(1.06); }

/* Variant 2: parallax (image shifts up, info slides) */
.bento[data-hover="parallax"] .tile .tile-content { transform: translateY(0); transition: transform 320ms var(--ease-emph); }
.bento[data-hover="parallax"] .tile:hover .tile-image { transform: translateY(-2%) scale(1.04); }
.bento[data-hover="parallax"] .tile:hover .tile-content { transform: translateY(-4px); }
.bento[data-hover="parallax"] .tile:hover .tile-overlay { opacity: 0.85; }

/* Variant 3: red wash + KPI grows */
.bento[data-hover="accent"] .tile::after {
  content: "";
  position: absolute; inset: 0;
  background: var(--va-red);
  opacity: 0;
  mix-blend-mode: multiply;
  z-index: 1;
  transition: opacity 320ms var(--ease-emph);
  pointer-events: none;
}
.bento[data-hover="accent"] .tile:hover::after { opacity: 0.55; }
.bento[data-hover="accent"] .tile:hover .tile-image { filter: contrast(1.05) saturate(0.6); }
.bento[data-hover="accent"] .tile:hover .tile-kpi {
  transform: scale(1.15);
  background: var(--va-red);
  border-color: var(--va-red);
}
.bento[data-hover="accent"] .tile .tile-kpi { transition: transform 320ms var(--ease-emph), background 320ms; transform-origin: right top; }

/* ---------- DETAIL VIEW ---------- */
.detail {
  position: fixed;
  inset: 0;
  background: var(--bg-1);
  z-index: 100;
  overflow-y: auto;
  opacity: 0;
  pointer-events: none;
  transition: opacity 280ms var(--ease-standard);
}
.detail.is-open {
  opacity: 1;
  pointer-events: auto;
}
.detail-close {
  position: fixed;
  top: 16px; right: 16px;
  z-index: 110;
  width: 44px; height: 44px;
  border-radius: 999px;
  border: 1px solid var(--va-line);
  background: var(--va-white);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--fg-1);
  transition: background var(--dur-fast), color var(--dur-fast);
}
.detail-close:hover { background: var(--va-ink); color: var(--va-white); }

.detail-hero {
  position: relative;
  width: 100%;
  height: 78vh;
  min-height: 520px;
  overflow: hidden;
  background: var(--va-ink);
}
.detail-hero img {
  width: 100%; height: 100%; object-fit: cover;
}
.detail-hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0.05) 50%, rgba(10,10,10,0.7) 100%);
}
.detail-hero-content {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: clamp(32px, 5vw, 64px) clamp(20px, 4vw, 56px);
  color: var(--va-white);
  z-index: 2;
}
.detail-hero-meta {
  display: flex; align-items: center; gap: 12px;
  font-size: 12px; font-weight: var(--fw-semibold);
  letter-spacing: 0.16em; text-transform: uppercase;
  margin-bottom: 16px;
  opacity: 0.92;
}
.detail-hero-meta .dot { width: 4px; height: 4px; border-radius: 999px; background: var(--va-red); }
.detail-hero h1 {
  font-size: clamp(40px, 6vw, 88px);
  line-height: 0.96;
  letter-spacing: -0.04em;
  font-weight: var(--fw-bold);
  color: var(--va-white);
  max-width: 18ch;
}

/* Faktenleiste */
.factsheet {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border-bottom: 1px solid var(--va-line);
}
@media (max-width: 900px) { .factsheet { grid-template-columns: repeat(2, 1fr); } }
.fact {
  padding: 24px clamp(16px, 2vw, 28px);
  border-right: 1px solid var(--va-line);
}
.fact:last-child { border-right: 0; }
@media (max-width: 900px) {
  .fact { border-bottom: 1px solid var(--va-line); }
  .fact:nth-child(2n) { border-right: 0; }
}
.fact-label {
  font-size: 11px;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-mute);
  margin-bottom: 8px;
}
.fact-value {
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--fg-1);
  line-height: 1.2;
}

/* Aufgabe + Lösung */
.detail-section {
  padding: clamp(48px, 7vw, 96px) 0;
  border-bottom: 1px solid var(--va-line);
}
.detail-section .grid-2 {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(32px, 5vw, 80px);
}
@media (max-width: 900px) { .detail-section .grid-2 { grid-template-columns: 1fr; } }
.detail-section h2 {
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: -0.035em;
  font-weight: var(--fw-bold);
  margin: 0;
}
.detail-section .lede {
  font-size: 19px;
  line-height: 1.55;
  color: var(--fg-1);
}
.detail-section p { color: var(--fg-2); }

.solution-blocks {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}
@media (max-width: 700px) { .solution-blocks { grid-template-columns: 1fr; } }
.solution-block {
  border-top: 1px solid var(--va-ink);
  padding-top: 18px;
}
.solution-block .num {
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: 13px;
  color: var(--va-red);
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}
.solution-block h4 {
  font-size: 20px;
  font-weight: var(--fw-bold);
  letter-spacing: -0.01em;
  margin: 0 0 10px;
}
.solution-block p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--fg-2);
  margin: 0;
}

/* Galerie — Masonry (CSS columns, natürliche Bildproportionen) */
.gallery {
  columns: 3 240px;
  column-gap: 12px;
  margin-top: 24px;
}
.gallery .g-item {
  break-inside: avoid;
  margin-bottom: 12px;
  position: relative;
  overflow: hidden;
  background: var(--va-surface);
  display: block;
}
.gallery .g-item img {
  width: 100%;
  height: auto;
  display: block;
}
.gallery .g-item .g-cap {
  position: absolute; left: 12px; bottom: 10px;
  display: flex; flex-direction: column; gap: 2px;
  color: var(--va-white);
  background: rgba(10,10,10,0.55);
  padding: 5px 9px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  max-width: calc(100% - 24px);
}
.gallery .g-item .g-area {
  font-size: 9px; font-weight: var(--fw-semibold);
  letter-spacing: 0.18em; text-transform: uppercase;
  opacity: 0.75;
}
.gallery .g-item .g-text {
  font-size: 11px; font-weight: var(--fw-semibold);
  letter-spacing: 0.10em; text-transform: uppercase;
  line-height: 1.3;
}
@media (max-width: 700px) { .gallery { columns: 2; } }
@media (max-width: 420px) { .gallery { columns: 1; } }

/* KPIs / Quote */
.outcome {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
@media (max-width: 900px) { .outcome { grid-template-columns: 1fr; } }
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}
.kpi {
  padding: 32px 24px 32px 0;
  border-top: 1px solid var(--va-ink);
  border-right: 1px solid var(--va-line);
}
.kpi:nth-child(2) { border-right: 0; padding-right: 0; padding-left: 24px; }
.kpi:nth-child(3), .kpi:nth-child(4) { border-top: 1px solid var(--va-line); }
.kpi:nth-child(4) { border-right: 0; padding-right: 0; padding-left: 24px; }
.kpi-num {
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: clamp(36px, 4.4vw, 56px);
  letter-spacing: -0.035em;
  line-height: 1;
  margin-bottom: 8px;
}
.kpi-num.accent { color: var(--va-red); }
.kpi-label {
  font-size: 13px;
  color: var(--fg-3);
  line-height: 1.4;
  text-wrap: balance;
}
.quote {
  background: var(--bg-3);
  padding: clamp(32px, 4vw, 48px);
  border-left: 3px solid var(--va-red);
}
.quote .q-mark {
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: 56px;
  color: var(--va-red);
  line-height: 0.6;
  margin-bottom: 8px;
}
.quote blockquote {
  font-family: var(--font-display);
  font-weight: var(--fw-medium);
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin: 0 0 20px;
  color: var(--fg-1);
  text-wrap: balance;
}
.quote .who { font-size: 14px; color: var(--fg-3); }
.quote .who strong { color: var(--fg-1); font-weight: var(--fw-semibold); }

/* Nächstes Projekt */
.next-project {
  position: relative;
  display: block;
  height: 320px;
  overflow: hidden;
  background: var(--va-ink);
  text-decoration: none;
  color: var(--va-white);
  cursor: pointer;
}
.next-project img { width: 100%; height: 100%; object-fit: cover; opacity: 0.6; transition: opacity 320ms, transform 600ms var(--ease-emph); }
.next-project:hover img { opacity: 0.75; transform: scale(1.04); }
.next-project .np-content {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  text-align: center;
  padding: 24px;
  z-index: 2;
}
.next-project .np-eyebrow {
  font-size: 11px; font-weight: var(--fw-semibold);
  letter-spacing: 0.18em; text-transform: uppercase;
  margin-bottom: 12px; opacity: 0.85;
}
.next-project .np-title {
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: clamp(32px, 4.4vw, 56px);
  letter-spacing: -0.04em;
  line-height: 1;
  text-wrap: balance;
}
.next-project .np-arrow {
  margin-top: 16px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: var(--fw-bold);
}

/* ---------- CTA TOBIAS ---------- */
.cta {
  background: var(--va-white);
  color: var(--va-ink);
  padding: clamp(64px, 9vw, 128px) 0;
  margin-top: 0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--va-line);
}
.cta::before { content: none; }
.cta .container { position: relative; z-index: 1; }
.cta-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
@media (max-width: 900px) { .cta-grid { grid-template-columns: 1fr; } }
.cta-photo {
  aspect-ratio: 1 / 1;
  position: relative;
  overflow: hidden;
  background: var(--va-surface);
  border-radius: 8px;
  box-shadow: 0 24px 56px rgba(10,10,10,0.14), 0 4px 14px rgba(10,10,10,0.08);
}
.cta-photo-wrap {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}
.cta-photo-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-text);
  font-size: 11px;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--va-ink);
  background: var(--va-white);
  border: 1px solid var(--va-line);
  border-radius: var(--r-pill);
  padding: 8px 14px;
}
.cta-photo-tag .dot {
  width: 6px; height: 6px; border-radius: 999px; background: var(--va-red);
}
.cta-photo-wrap .cta-photo { width: 100%; }
.cta-photo image-slot,
.cta-photo .tobias-kv {
  display: block;
  width: 100%;
  height: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 30px 60px rgba(20,15,10,0.18)) drop-shadow(0 6px 14px rgba(20,15,10,0.08));
}
.cta-photo .tag {
  position: absolute;
  left: 18px; top: 18px;
  z-index: 3;
  font-size: 11px;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--va-red);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--va-white);
  padding: 6px 10px;
}
.cta-photo .tag .dot {
  width: 6px; height: 6px; border-radius: 999px; background: var(--va-red);
}
.cta h2 {
  color: var(--va-ink);
  font-size: clamp(36px, 5vw, 64px);
  letter-spacing: -0.04em;
  font-weight: var(--fw-bold);
  line-height: 1;
  margin-bottom: 12px;
  text-wrap: balance;
}
.cta .cta-deck {
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: clamp(22px, 2.6vw, 32px);
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--va-red);
  margin-bottom: 28px;
  text-wrap: balance;
}
.cta .cta-sub {
  font-size: 18px;
  line-height: 1.55;
  color: var(--fg-2);
  margin-bottom: 32px;
  max-width: 52ch;
}
.cta .who-line {
  display: flex; align-items: center; gap: 16px;
  font-size: 14px;
  color: var(--fg-3);
  margin-bottom: 32px;
}
.cta .who-line strong { color: var(--va-ink); font-weight: var(--fw-semibold); display: block; }
.cta .who-line .role { font-size: 13px; }
.cta .who-divider {
  width: 1px; height: 32px; background: var(--va-line);
}
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 18px 28px;
  background: var(--va-red);
  color: var(--va-white);
  font-family: var(--font-text);
  font-weight: var(--fw-semibold);
  font-size: 16px;
  letter-spacing: -0.005em;
  text-decoration: none;
  border: 0;
  border-radius: var(--r-2);
  cursor: pointer;
  transition: background var(--dur-fast), transform var(--dur-fast);
}
.btn-primary:hover { background: var(--va-red-600); color: var(--va-white); }
.btn-primary:active { transform: scale(0.98); background: var(--va-red-700); }
.btn-primary .arr { font-size: 18px; }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 24px;
  background: transparent;
  color: var(--va-ink);
  font-family: var(--font-text);
  font-weight: var(--fw-medium);
  font-size: 15px;
  text-decoration: none;
  border: 1px solid var(--va-line);
  border-radius: var(--r-2);
  margin-left: 12px;
  transition: background var(--dur-fast), border-color var(--dur-fast), color var(--dur-fast);
}
.btn-secondary:hover { background: var(--va-surface); border-color: var(--va-ink); color: var(--va-ink); }

/* ---------- FOOTER ---------- */
.footer {
  padding: 32px 0 48px;
  border-top: 1px solid var(--va-line);
  font-size: 13px;
  color: var(--fg-3);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

/* Red section variant */
.section-red {
  background: var(--va-red);
  color: var(--va-white);
  margin: 0 calc(-1 * 50vw + 50%);
  padding: 0 calc(50vw - 50%);
  position: relative;
  overflow: hidden;
}
.section-red::before {
  content: "";
  position: absolute;
  right: -8%;
  top: -10%;
  bottom: -10%;
  width: 40%;
  background: url("../key-visual.png") no-repeat center / contain;
  opacity: 0.10;
  filter: brightness(0) invert(1);
  pointer-events: none;
  z-index: 0;
}
.section-red .container { position: relative; z-index: 1; }
.section-red .section-head { border-top: 0; padding-top: clamp(56px, 8vw, 96px); }
.section-red .section-head h2 { color: var(--va-white); }
.section-red .section-head .section-sub { color: var(--va-white); opacity: 0.92; }
.section-red .section-head .meta { color: rgba(255,255,255,0.75); }
.section-red .section-head .meta strong { color: var(--va-white); }
.section-red .eyebrow { color: var(--va-white); opacity: 0.85; }
/* ---------- TILE: lock interactivity while detail open ---------- */
body.detail-open { overflow: hidden; }

/* FLIP ghost element */
.flip-ghost {
  position: fixed;
  z-index: 105;
  pointer-events: none;
  overflow: hidden;
  transition: transform 480ms var(--ease-emph), border-radius 480ms var(--ease-emph);
  will-change: transform;
}
.flip-ghost img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- MOBILE HAMBURGER ---------- */
.nav-burger {
  display: none;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid var(--va-line);
  border-radius: var(--r-2);
  cursor: pointer;
  color: var(--fg-1);
  padding: 8px 10px;
  flex-shrink: 0;
  transition: background var(--dur-fast), border-color var(--dur-fast);
}
.nav-burger:hover { background: var(--va-surface); border-color: var(--fg-3); }
.nav-burger .icon-close { display: none; }
.nav.is-open .nav-burger .icon-burger { display: none; }
.nav.is-open .nav-burger .icon-close { display: block; }

@media (max-width: 768px) {
  .nav-burger { display: flex; }
  .nav-actions {
    display: none;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: saturate(140%) blur(8px);
    -webkit-backdrop-filter: saturate(140%) blur(8px);
    border-bottom: 1px solid var(--va-line);
    padding: 4px clamp(20px, 4vw, 56px) 20px;
    box-shadow: 0 8px 24px rgba(10,10,10,0.10);
  }
  .nav.is-open .nav-actions { display: flex; }
  .nav-actions .nav-link {
    padding: 14px 0;
    font-size: 16px;
    font-weight: var(--fw-medium);
    border-bottom: 1px solid var(--va-line-soft);
    color: var(--fg-1);
  }
  .nav-actions .lang-toggle { margin-top: 16px; align-self: flex-start; }
}

/* ---------- ANIM: detail content fade up ---------- */
.detail-fade > * {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 420ms var(--ease-emph), transform 420ms var(--ease-emph);
}
.detail.is-open .detail-fade > * {
  opacity: 1;
  transform: none;
}
.detail.is-open .detail-fade > *:nth-child(2) { transition-delay: 80ms; }
.detail.is-open .detail-fade > *:nth-child(3) { transition-delay: 140ms; }
.detail.is-open .detail-fade > *:nth-child(4) { transition-delay: 200ms; }
.detail.is-open .detail-fade > *:nth-child(5) { transition-delay: 240ms; }
.detail.is-open .detail-fade > *:nth-child(6) { transition-delay: 280ms; }
