/* =============================================================
   BNP Paribas · Hamburger Hof — Leistungspaper
   Basis: dreidesign Design System (assets/dreidesign-tokens.css)
   ============================================================= */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; }
body { margin: 0; background: var(--bg); overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }

:root {
  --nav-h: 64px;
  --pad-x: clamp(16px, 4vw, 56px);
  --section-y: clamp(72px, 10vw, 136px);
}

.wrap { max-width: var(--container-max); margin: 0 auto; padding: 0 var(--pad-x); }

/* ---------- Typo-Erweiterungen ---------- */
.display {
  font-weight: 400; text-transform: uppercase; color: var(--fg-strong);
  letter-spacing: 0.06em; line-height: 1.02; margin: 0;
  font-size: clamp(34px, 6.2vw, 84px);
}
.display strong, .h-sec strong, .h-sub strong { font-weight: 900; }
.h-sec {
  font-weight: 400; text-transform: uppercase; color: var(--fg-strong);
  letter-spacing: 0.06em; line-height: 1.08; margin: 0;
  font-size: clamp(26px, 3.6vw, 46px); text-wrap: balance;
}
.h-sub {
  font-weight: 400; text-transform: uppercase; color: var(--fg-strong);
  letter-spacing: 0.08em; line-height: 1.2; margin: 0;
  font-size: clamp(18px, 1.8vw, 22px);
}
.lede { font-size: clamp(16px, 1.35vw, 19px); line-height: 1.6; color: var(--fg); margin: 0; text-wrap: pretty; max-width: 62ch; }
.body { font-size: 15px; line-height: 1.65; color: var(--fg); margin: 0; text-wrap: pretty; max-width: 62ch; }
.body + .body, .lede + .body { margin-top: 16px; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; }
.eyebrow .num { color: var(--fg-strong); }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; height: var(--nav-h); z-index: 50;
  background: var(--dd-black); color: #fff;
}
.nav .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; max-width: none; }
.nav .brand { display: flex; align-items: center; gap: 16px; text-decoration: none; }
.nav .brand img { height: 26px; width: auto; }
.nav .brand .sep { width: 1px; height: 22px; background: rgba(255,255,255,.25); }
.nav .brand .proj { font-size: 11px; font-weight: 700; letter-spacing: var(--tracking-widest); text-transform: uppercase; color: rgba(255,255,255,.6); white-space: nowrap; }
.nav ul { list-style: none; display: flex; margin: 0; padding: 0; height: 100%; }
.nav li a {
  display: flex; align-items: center; height: var(--nav-h); padding: 0 16px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  text-decoration: none; color: rgba(255,255,255,.7);
  transition: background var(--dur-fast) var(--ease-std), color var(--dur-fast) var(--ease-std);
}
.nav li a:hover { color: #fff; }
.nav li a.is-active { background: #fff; color: #000; }
.nav .progress { position: absolute; left: 0; bottom: 0; height: 2px; background: #fff; width: 0; }
@media (max-width: 1020px) { .nav ul { display: none; } }
@media (max-width: 520px) { .nav .brand .sep, .nav .brand .proj { display: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; color: #fff; display: flex; align-items: flex-end; background: #111; }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.5); }
.hero .wrap { position: relative; z-index: 1; width: 100%; padding-top: calc(var(--nav-h) + 48px); padding-bottom: clamp(48px, 8vw, 96px); }
.hero .eyebrow { color: rgba(255,255,255,.75); margin-bottom: 28px; }
.hero .display { color: #fff; max-width: 18ch; }
.hero .lede { color: rgba(255,255,255,.88); margin-top: 28px; max-width: 52ch; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 40px; margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.25); }
.hero-meta div { font-size: 11px; font-weight: 700; letter-spacing: var(--tracking-widest); text-transform: uppercase; color: rgba(255,255,255,.6); }
.hero-meta div b { display: block; margin-top: 6px; color: #fff; letter-spacing: 0.08em; font-size: 13px; }
.hero-cap { position: absolute; right: var(--pad-x); bottom: 20px; z-index: 1; font-size: 11px; color: rgba(255,255,255,.55); letter-spacing: .04em; }
@media (max-width: 720px) { .hero-cap { display: none; } }

/* ---------- Sections ---------- */
.section { padding: var(--section-y) 0; }
.section.alt { background: var(--bg-alt); }
.section.warm { background: var(--bg-warm); }
.section.dark { background: var(--dd-grey-900); color: rgba(255,255,255,.8); }
.section.dark .h-sec, .section.dark .h-sub, .section.dark .display { color: #fff; }
.section.dark .lede, .section.dark .body { color: rgba(255,255,255,.78); }
.section.dark .label, .section.dark .eyebrow { color: rgba(255,255,255,.5); }
.section.dark .eyebrow .num { color: #fff; }

.split { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.split.even { grid-template-columns: 1fr 1fr; }
@media (max-width: 880px) { .split, .split.even { grid-template-columns: 1fr; } }

.sub-head { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(24px, 6vw, 96px); align-items: end; margin-bottom: clamp(40px, 5vw, 64px); }
.sub-head .eyebrow { margin-bottom: 20px; }
@media (max-width: 880px) { .sub-head { grid-template-columns: 1fr; } }

/* Kapitel-Trenner */
.chapter { background: var(--dd-black); color: #fff; padding: clamp(64px, 9vw, 120px) 0; }
.chapter .wrap { display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 5vw, 72px); align-items: end; }
.chapter .big-num { font-size: clamp(72px, 12vw, 168px); font-weight: 900; line-height: .8; letter-spacing: -0.02em; }
.chapter .h-sec { color: #fff; }
.chapter .lede { color: rgba(255,255,255,.7); margin-top: 16px; }
@media (max-width: 640px) { .chapter .wrap { grid-template-columns: 1fr; } }

/* Tag / Status */
.tag {
  display: inline-block; padding: 5px 9px; border: 1px solid currentColor;
  font-size: 10px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; line-height: 1;
}
.tag.solid { background: var(--dd-black); color: #fff; border-color: var(--dd-black); }
.tag.live::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 7px; vertical-align: 1px; background: currentColor; border-radius: 50%; }
.tag.placeholder { color: var(--dd-grey-700); border-style: dashed; }

/* Fakten */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--dd-black); margin-top: 40px; }
.facts > div { padding: 20px 20px 0 0; }
.facts b { display: block; font-size: clamp(26px, 3vw, 40px); font-weight: 900; color: var(--fg-strong); letter-spacing: -0.01em; line-height: 1.1; }
.facts span { display: block; margin-top: 8px; font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg-muted); }
@media (max-width: 560px) { .facts { grid-template-columns: 1fr; } .facts > div { padding: 16px 0; border-bottom: 1px solid var(--border); } }

.howto { margin-top: 40px; padding: 20px 24px; border: 1px solid var(--border); display: flex; gap: 16px; align-items: baseline; max-width: 62ch; }
.howto p { margin: 0; font-size: 14px; line-height: 1.6; }

/* Referenzen */
.refs { display: flex; flex-wrap: wrap; gap: 14px 36px; margin-top: 32px; }
.refs span { font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,.62); }

/* Spec-Liste */
.specs { list-style: none; margin: 32px 0 0; padding: 0; border-top: 1px solid var(--dd-black); max-width: 62ch; }
.specs li { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--border); font-size: 14px; line-height: 1.5; }
.specs li > span:first-child { font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg-muted); padding-top: 2px; }
.specs .muted { color: var(--fg-muted); }
@media (max-width: 480px) { .specs li { grid-template-columns: 1fr; gap: 4px; } }

/* ---------- Buttons / Links ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px; cursor: pointer;
  background: var(--dd-black); color: #fff; border: 1px solid var(--dd-black);
  padding: 15px 22px; font-size: 11px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  text-decoration: none; border-radius: 0;
  transition: background var(--dur-fast) var(--ease-std), color var(--dur-fast) var(--ease-std);
}
.btn:hover { background: #fff; color: #000; }
.btn:active { transform: scale(.98); }
.btn.light { background: #fff; color: #000; border-color: #fff; }
.btn.light:hover { background: #000; color: #fff; }
.btn svg { width: 14px; height: 14px; flex: none; }
.textlink {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 28px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  text-decoration: none; color: var(--fg-strong); padding-bottom: 4px; border-bottom: 1px solid currentColor;
}
.textlink:hover { opacity: .65; }
.textlink svg { width: 12px; height: 12px; }
.section.dark .textlink { color: #fff; }

/* ---------- Vergleichsmodule ---------- */
.compare-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2.4vw, 32px); margin-bottom: clamp(56px, 7vw, 96px); }
@media (max-width: 880px) { .compare-row { grid-template-columns: 1fr; } }
.module-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 14px; }
.module-head .h3 { font-size: 15px; }
.module-foot { margin-top: 12px; font-size: 12px; color: var(--fg-muted); }

.toggle { position: relative; aspect-ratio: 16 / 10; background: #ddd; overflow: hidden; }
.toggle img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity var(--dur-slow) var(--ease-std); }
.toggle img.is-on { opacity: 1; }
.seg { display: inline-flex; border: 1px solid var(--dd-black); }
.seg button { background: #fff; border: 0; padding: 8px 12px; cursor: pointer; font-size: 10px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.seg button + button { border-left: 1px solid var(--dd-black); }
.seg button[aria-pressed="true"] { background: #000; color: #fff; }

.slider { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #ddd; user-select: none; --pos: 50%; }
.slider img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.slider .top { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.slider .bar { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; pointer-events: none; }
.slider .knob {
  position: absolute; top: 50%; left: var(--pos); width: 44px; height: 44px; margin: -22px 0 0 -22px;
  background: #fff; display: grid; place-items: center; pointer-events: none; box-shadow: var(--shadow-2);
}
.slider .knob svg { width: 22px; height: 22px; }
.slider input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.slider .lab { position: absolute; top: 12px; padding: 6px 9px; background: rgba(0,0,0,.6); color: #fff; font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; pointer-events: none; }
.slider .lab.l { left: 12px; } .slider .lab.r { right: 12px; }
.slider input:focus-visible ~ .knob { outline: 2px solid #000; outline-offset: 2px; }

/* ---------- Galerie ---------- */
.gallery-title { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 16px; padding-bottom: 14px; margin-bottom: 20px; border-bottom: 1px solid var(--dd-black); }
.gallery { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(8px, 1.2vw, 16px); }
.g-item { position: relative; grid-column: span 2; margin: 0; cursor: zoom-in; overflow: hidden; background: #e8e8e8; }
.g-item.w3 { grid-column: span 3; }
.g-item.w6 { grid-column: span 6; }
.g-item button { all: unset; display: block; width: 100%; height: 100%; cursor: zoom-in; }
.g-item img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; transition: transform var(--dur-base) var(--ease-out); }
.g-item.w3 img { aspect-ratio: 16 / 10; }
.g-item.w6 img { aspect-ratio: 21 / 9; }
.g-item:hover img { transform: scale(1.02); }
.g-item figcaption {
  position: absolute; left: 0; bottom: 0; padding: 7px 10px; background: #fff; color: #000;
  font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; pointer-events: none;
}
.g-item figcaption em { font-style: normal; color: var(--fg-muted); }
.g-item button:focus-visible { outline: 2px solid #000; outline-offset: -4px; }
@media (max-width: 720px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .g-item, .g-item.w3 { grid-column: span 1; }
  .g-item.w6 { grid-column: span 2; }
  .g-item img, .g-item.w3 img { aspect-ratio: 1 / 1; }
  .g-item.w6 img { aspect-ratio: 16 / 10; }
  .g-item figcaption { font-size: 9px; letter-spacing: .1em; padding: 5px 7px; }
}

.gallery.plans .g-item { background: #fff; border: 1px solid var(--border); }
.gallery.plans .g-item img { object-fit: contain; padding: clamp(8px, 2vw, 24px); }
.gallery.plans .g-item.w6 img { aspect-ratio: 16 / 6; }
.gallery.plans .g-item.w3 img { aspect-ratio: 4 / 3; }
@media (max-width: 720px) {
  .gallery.plans .g-item, .gallery.plans .g-item.w3 { grid-column: span 2; }
  .gallery.plans .g-item.w6 img { aspect-ratio: 16 / 8; }
}

/* ---------- Einbettungen ---------- */
.embed { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #111; overflow: hidden; }
.embed.wide { aspect-ratio: 8 / 3; }
@media (max-width: 720px) { .embed.wide { aspect-ratio: 4 / 3; } .embed { aspect-ratio: 4 / 3; } }
.embed > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #111; }
.embed .facade {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,.28); border: 0; cursor: pointer; transition: background var(--dur-base) var(--ease-std);
}
.embed .facade:hover { background: rgba(0,0,0,.12); }
.embed .facade .btn { pointer-events: none; }
.embed .corner { position: absolute; left: 14px; top: 14px; z-index: 2; background: #fff; color: #000; }
.embed .close {
  position: absolute; right: 12px; top: 12px; z-index: 3; display: none;
  background: rgba(0,0,0,.72); color: #fff; border: 1px solid rgba(255,255,255,.4); cursor: pointer;
  padding: 8px 12px; font-size: 10px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
}
.embed.is-live .close { display: block; }
.embed.is-live .facade, .embed.is-live > img, .embed.is-live .corner { display: none; }
.embed-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; margin-top: 14px; }
.embed-foot .caption { margin: 0; }
.embed-foot a { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.embed-foot a:hover { opacity: .65; }
.section.dark .embed-foot a { color: #fff; }

.parallax-frame { width: 100%; }
.hint { display: inline-flex; align-items: center; gap: 10px; margin-top: 24px; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--fg-strong); }
.hint svg { width: 18px; height: 18px; }

/* ---------- Referenz-Karten ---------- */
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2.4vw, 32px); }
@media (max-width: 720px) { .cards { grid-template-columns: 1fr; } }
.card { display: block; text-decoration: none; color: inherit; border: 1px solid var(--dd-black); background: #fff; }
.card .img { overflow: hidden; aspect-ratio: 16 / 10; background: #ddd; }
.card .img img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-base) var(--ease-out); }
.card:hover .img img { transform: scale(1.02); }
.card .txt { padding: 20px 22px 22px; display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; align-items: end; }
.card .txt .label { grid-column: 1 / -1; }
.card .txt h3 { margin: 4px 0 0; font-size: 17px; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; color: #000; }
.card .txt p { margin: 0; font-size: 13px; color: var(--fg); grid-column: 1; }
.card .go { grid-row: 2 / span 2; grid-column: 2; width: 44px; height: 44px; background: #000; color: #fff; display: grid; place-items: center; transition: background var(--dur-fast), color var(--dur-fast); border: 1px solid #000; }
.card:hover .go { background: #fff; color: #000; }
.card .go svg { width: 16px; height: 16px; }
.card-strip { display: flex; align-items: center; gap: 20px; margin-top: clamp(16px, 2.4vw, 32px); padding: 14px; border: 1px solid var(--border); text-decoration: none; background: #fff; }
.card-strip img { width: 120px; aspect-ratio: 16/10; object-fit: cover; flex: none; }
.card-strip div { flex: 1; }
.card-strip b { display: block; font-size: 13px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; color: #000; }
.card-strip span { font-size: 13px; color: var(--fg); }
.card-strip svg { width: 16px; height: 16px; flex: none; margin-right: 8px; }
.card-strip:hover { border-color: #000; }
@media (max-width: 480px) { .card-strip img { width: 84px; } }

/* ---------- Szenario ---------- */
.scenario { margin-top: clamp(64px, 8vw, 112px); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--dd-black); }
.steps li { padding: 24px 24px 8px 0; border-right: 1px solid var(--border); padding-left: 0; }
.steps li + li { padding-left: 24px; }
.steps li:last-child { border-right: 0; }
.steps .n { font-size: 40px; font-weight: 900; line-height: 1; color: #000; }
.steps h4 { margin: 18px 0 8px; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #000; }
.steps p { margin: 0; font-size: 14px; line-height: 1.55; }
@media (max-width: 1020px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .steps li, .steps li + li { padding: 24px 20px 24px 0; border-right: 0; border-bottom: 1px solid var(--border); }
}
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Video-Pitch ---------- */
.quote {
  margin: clamp(48px, 6vw, 80px) 0; padding: 0; border: 0;
  font-size: clamp(24px, 3.4vw, 44px); line-height: 1.25; font-weight: 400; color: #fff; max-width: 26ch; text-wrap: balance;
}
.quote strong { font-weight: 900; }
.beats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid rgba(255,255,255,.3); }
.beats > div { padding: 24px 28px 0 0; }
.beats > div + div { padding-left: 28px; border-left: 1px solid rgba(255,255,255,.15); }
.beats .label { color: rgba(255,255,255,.5); }
.beats h4 { margin: 12px 0 10px; font-size: 16px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; color: #fff; }
.beats p { margin: 0; font-size: 14px; line-height: 1.6; color: rgba(255,255,255,.75); }
@media (max-width: 800px) {
  .beats { grid-template-columns: 1fr; }
  .beats > div, .beats > div + div { padding: 20px 0; border-left: 0; border-bottom: 1px solid rgba(255,255,255,.15); }
}

/* ---------- Content-Plan ---------- */
.months { display: grid; grid-template-columns: repeat(12, 1fr); gap: 6px; margin-top: 40px; }
.months div { aspect-ratio: 3 / 4; border: 1px solid var(--dd-black); display: flex; flex-direction: column; justify-content: space-between; padding: 10px; background: #fff; }
.months div:nth-child(odd) { background: #000; color: #fff; }
.months b { font-size: 11px; font-weight: 700; letter-spacing: .12em; }
.months .play { width: 0; height: 0; border-left: 10px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
@media (max-width: 880px) { .months { grid-template-columns: repeat(6, 1fr); } }
@media (max-width: 420px) { .months { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Preis / Zeitplan (Platzhalter) ---------- */
.pricelist { margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--dd-black); }
.pricelist li { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--border); }
.pricelist li .k { font-size: 16px; color: #000; }
.pricelist li .k small { display: block; margin-top: 4px; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--fg-muted); }
.pricelist li .v { font-size: 16px; font-weight: 900; color: var(--dd-grey-300); letter-spacing: .1em; white-space: nowrap; }
.pricelist li.base .k { font-weight: 900; text-transform: uppercase; letter-spacing: .06em; }
.note { margin-top: 20px; font-size: 13px; color: var(--fg-muted); max-width: 62ch; }

.timeline { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--dd-black); }
.timeline > li { display: grid; grid-template-columns: 220px 1fr; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--border); }
.timeline .when { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--fg-muted); padding-top: 3px; }
.timeline .what { font-size: 16px; color: #000; }
.timeline .what strong { font-weight: 900; }
.deps { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 10px; }
.deps li { display: grid; grid-template-columns: 170px 1fr; gap: 16px; font-size: 14px; color: var(--fg); padding-top: 10px; border-top: 1px solid var(--dd-grey-50); }
.deps li b { font-weight: 700; color: #000; }
@media (max-width: 640px) {
  .timeline > li { grid-template-columns: 1fr; gap: 6px; }
  .deps li { grid-template-columns: 1fr; gap: 2px; }
}

/* ---------- Kontakt & Footer ---------- */
.contact { background: #fff; padding: var(--section-y) 0; border-top: 1px solid var(--border); }
.contact .who { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 16px 64px; margin-top: 40px; }
.contact .who div { font-size: 14px; line-height: 1.7; }
.contact .who a { text-decoration: none; border-bottom: 1px solid var(--border); }
.contact .who a:hover { border-color: #000; }
@media (max-width: 720px) { .contact .who { grid-template-columns: 1fr; } }
.footer { background: var(--bg-footer); color: rgba(255,255,255,.55); padding: 40px 0; }
.footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; }
.footer img { height: 44px; width: auto; }
.footer p { margin: 0; font-size: 12px; letter-spacing: .06em; }

/* ---------- Lightbox ---------- */
.lb { position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0,.94); display: none; }
.lb.is-open { display: block; }
.lb figure { position: absolute; inset: 64px 72px 72px; margin: 0; display: flex; align-items: center; justify-content: center; }
.lb img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lb .lb-cap { position: absolute; left: 72px; right: 72px; bottom: 24px; display: flex; justify-content: space-between; color: rgba(255,255,255,.75); font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.lb button { position: absolute; background: transparent; border: 1px solid rgba(255,255,255,.35); color: #fff; cursor: pointer; }
.lb button:hover { background: #fff; color: #000; }
.lb .lb-close { top: 16px; right: 16px; padding: 10px 14px; font-size: 10px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.lb .lb-prev, .lb .lb-next { top: 50%; width: 48px; height: 48px; margin-top: -24px; display: grid; place-items: center; }
.lb .lb-prev { left: 12px; } .lb .lb-next { right: 12px; }
.lb svg { width: 18px; height: 18px; }
@media (max-width: 720px) {
  .lb figure { inset: 56px 8px 64px; }
  .lb .lb-prev, .lb .lb-next { top: auto; bottom: 12px; margin: 0; }
  .lb .lb-cap { left: 72px; right: 72px; bottom: 26px; flex-direction: column; gap: 4px; text-align: center; font-size: 9px; }
}

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .toggle img, .g-item img { transition: none; }
}

@media print {
  .nav, .lb, .embed .facade .btn { display: none !important; }
  .reveal { opacity: 1; transform: none; }
  .hero { min-height: auto; }
}
