:root {
  --bg: #15131a;
  --panel: #1f1c25;
  --ink: #ece4d4;
  --muted: #b3a891;
  --accent: #e0a64a;
  --accent-ink: #1b1610;
  --line: #3a3442;
  --serif: Georgia, "Iowan Old Style", "Palatino Linotype", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 var(--sans); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
h1, h2, h3 { font-family: var(--serif); font-weight: normal; line-height: 1.2; }
h2 { font-size: clamp(1.6rem, 4vw, 2.3rem); margin: 0 0 .6em; text-align: center; }
main section { padding: 64px 16px; max-width: 1200px; margin: 0 auto; }
.narrow { max-width: 720px; margin-left: auto; margin-right: auto; }
section.narrow { padding-left: 16px; padding-right: 16px; }
.small { font-size: .9rem; color: var(--muted); text-align: center; }

.hero { position: relative; min-height: min(88vh, 900px); display: flex; align-items: flex-end; overflow: hidden; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 75%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(21,19,26,.95) 0%, rgba(21,19,26,.35) 45%, rgba(21,19,26,0) 70%); }
.hero-text { position: relative; z-index: 1; padding: 32px 16px 48px; max-width: 760px; margin: 0 auto; text-align: center; }
.hero h1 { font-size: clamp(2.4rem, 8vw, 4.5rem); margin: 0 0 .2em; text-shadow: 0 2px 12px #000; }
.lede { font-size: 1.15rem; text-shadow: 0 1px 6px #000; }
.actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.button { display: inline-block; padding: 10px 20px; border-radius: 4px; background: var(--accent); color: var(--accent-ink); text-decoration: none; font-weight: 600; border: 2px solid var(--accent); cursor: pointer; font: 600 1rem var(--sans); }
.button.ghost { background: rgba(0,0,0,.35); color: var(--ink); }
.button:hover, .button:focus-visible { filter: brightness(1.1); }

.topnav { position: sticky; top: 0; z-index: 5; display: flex; gap: 4px 18px; justify-content: center; flex-wrap: wrap; padding: 10px 16px; background: rgba(21,19,26,.92); border-bottom: 1px solid var(--line); }
.topnav a { color: var(--ink); text-decoration: none; font-size: .95rem; }
.topnav a:hover { color: var(--accent); }

.shot { display: block; width: 100%; padding: 0; border: 1px solid var(--line); background: #000; cursor: zoom-in; border-radius: 3px; overflow: hidden; }
.shot img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .3s; }
.shot:hover img, .shot:focus-visible img { transform: scale(1.03); }
.shot:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.steps.two { grid-template-columns: repeat(2, 1fr); margin-top: 24px; max-width: 800px; margin-left: auto; margin-right: auto; }
figure { margin: 0; }
figcaption { margin-top: 10px; color: var(--muted); }
figcaption b { color: var(--ink); }

.cases { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px; }
.case { background: var(--panel); border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.case .shot { border: 0; border-radius: 0; }
.case h3 { margin: 14px 16px 0; font-size: 1.3rem; }
.case .year { margin: 0 16px; color: var(--accent); font-family: var(--serif); }
.case p { margin: 6px 16px 16px; }
.tag { font: 600 .7rem var(--sans); text-transform: uppercase; letter-spacing: .05em; background: var(--accent); color: var(--accent-ink); padding: 2px 6px; border-radius: 3px; vertical-align: middle; }

.sheets { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(420px, 1fr)); gap: 24px; }
.sheets .shot img { aspect-ratio: auto; object-fit: contain; }
.sheets p { margin: 8px 0 0; color: var(--muted); text-align: center; font-family: var(--serif); }

.demo-frame { position: relative; margin: 24px auto 12px; aspect-ratio: 16 / 10; max-width: 1100px; background: #000 url("assets/promo/szene-case_01-main-960.webp") center / cover; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; }
.demo-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

footer { padding: 32px 16px; text-align: center; color: var(--muted); border-top: 1px solid var(--line); font-size: .9rem; }

dialog#lightbox { padding: 0; border: 0; background: transparent; max-width: 96vw; max-height: 94vh; }
dialog#lightbox::backdrop { background: rgba(0,0,0,.88); }
dialog#lightbox img { max-width: 96vw; max-height: 94vh; width: auto; object-fit: contain; }
dialog#lightbox .close { position: fixed; top: 12px; right: 16px; font-size: 2rem; line-height: 1; background: rgba(0,0,0,.6); color: #fff; border: 1px solid #666; border-radius: 4px; width: 44px; height: 44px; cursor: pointer; }

@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; }
  .steps.two { grid-template-columns: 1fr; }
  .sheets { grid-template-columns: 1fr; }
}
@media (max-width: 400px) {
  .cases { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .shot img { transition: none; }
}

.legal h1 { font-size: clamp(2rem, 6vw, 3rem); }
.legal h2 { text-align: left; font-size: 1.4rem; margin-top: 1.6em; }
footer a { color: var(--muted); }
.downloads { list-style: none; padding: 0; margin: 1rem 0; display: grid; gap: 10px; }
.downloads li { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.downloads .button { min-width: 9.5rem; text-align: center; }
.downloads .small { text-align: left; }
.facts { width: 100%; border-collapse: collapse; margin: 1rem 0; }
.facts th, .facts td { text-align: left; vertical-align: top; padding: 6px 8px; border-bottom: 1px solid rgba(255,255,255,.12); }
.facts th { width: 34%; color: var(--muted); font-weight: 600; }
.press-shots { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.press-shots img { width: 100%; height: auto; display: block; border-radius: 4px; }
.press-icon { border-radius: 22%; }
.button.soon { background: transparent; color: var(--muted); border-color: var(--muted); cursor: default; filter: none; }
