@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url("fonts/montserrat-latin.woff2") format("woff2");
}
:root {
  --dark: #0c1016;
  --panel: #151b24;
  --light: #f4f3ef;
  --ink: #141a22;
  --ink-muted: #5a6370;
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.7);
  --line: rgba(20, 26, 34, 0.1);
  --line-dark: rgba(255, 255, 255, 0.12);
  --accent: #f2b705;
  --radius: 6px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--light);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.wrap { max-width: 72rem; margin: 0 auto; padding: 0 1.25rem; }
.narrow { max-width: 46rem; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font: inherit; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  text-decoration: none; border: 0; border-radius: var(--radius); cursor: pointer;
  padding: 0.9rem 1.4rem; background: var(--accent); color: #111;
  transition: filter 0.2s;
}
.btn:hover { filter: brightness(1.08); }
.btn.ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.4); }
.btn svg { width: 1.05em; height: 1.05em; }

/* ---------- Header ---------- */
.nav { background: var(--dark); border-bottom: 1px solid var(--line-dark); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 6.5rem; }
.nav .logo img { height: 80px; width: auto; display: block; }
.nav .links { display: flex; align-items: center; gap: 1.5rem; }
.nav .back {
  color: var(--muted); text-decoration: none;
  font-size: 0.75rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
  transition: color 0.2s;
}
.nav .back:hover { color: var(--accent); }
.nav .btn { padding: 0.65rem 1rem; font-size: 0.72rem; }

/* ---------- Beitrag-Kopf ---------- */
.intro {
  position: relative; isolation: isolate; color: var(--text); overflow: hidden;
  background: var(--dark);
  padding: clamp(4rem, 12vw, 8rem) 0 clamp(2.5rem, 6vw, 4rem);
}
.intro > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.intro::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(12,16,22,0.9) 0%, rgba(12,16,22,0.6) 60%, rgba(12,16,22,0.35) 100%),
    linear-gradient(to top, rgba(12,16,22,0.85), rgba(12,16,22,0) 60%);
}
.crumbs { font-size: 0.75rem; color: var(--muted); margin-bottom: 1.2rem; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--accent); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.7rem;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--accent); }
.intro h1 {
  font-size: clamp(1.9rem, 5vw, 3.2rem); font-weight: 600; line-height: 1.1; letter-spacing: -0.02em;
  margin: 0.9rem 0 1rem; max-width: 22ch;
}
.intro p { color: var(--muted); max-width: 40rem; font-size: clamp(1rem, 2vw, 1.08rem); }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.6rem; list-style: none; }
.chips li {
  font-size: 0.75rem; font-weight: 500; padding: 0.35rem 0.8rem; border-radius: 99px;
  border: 1px solid var(--line-dark); background: rgba(255,255,255,0.06);
}

/* ---------- Abschnitte ---------- */
.step { padding: clamp(2.5rem, 6vw, 4rem) 0; border-bottom: 1px solid var(--line); }
.step-head { display: grid; grid-template-columns: auto 1fr; gap: 0 1.2rem; align-items: baseline; }
.step-head .num { font-size: 2rem; font-weight: 600; line-height: 1; color: var(--accent); grid-row: span 2; }
.step h2 { font-size: clamp(1.3rem, 3vw, 1.7rem); font-weight: 600; line-height: 1.25; }
.step-head p { color: var(--ink-muted); margin-top: 0.5rem; max-width: 44rem; }

.gallery {
  display: grid; gap: 0.6rem; margin-top: 1.8rem;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr));
}
.gallery.wide { grid-template-columns: repeat(auto-fill, minmax(min(100%, 22rem), 1fr)); }
.gallery figure { margin: 0; }
.gallery button {
  position: relative; display: block; width: 100%; aspect-ratio: 4 / 3;
  padding: 0; border: 0; border-radius: var(--radius); overflow: hidden; cursor: zoom-in; background: var(--line);
}
.gallery .tall button { aspect-ratio: 3 / 4; }
.gallery img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s; }
.gallery button:hover img { transform: scale(1.04); }
.gallery figcaption { font-size: 0.8rem; color: var(--ink-muted); margin-top: 0.45rem; line-height: 1.45; }
.gallery video {
  display: block; width: 100%; aspect-ratio: 9 / 16; object-fit: cover;
  border-radius: var(--radius); background: var(--dark);
}

/* ---------- CTA ---------- */
.cta { background: var(--dark); color: var(--text); padding: clamp(3rem, 7vw, 4.5rem) 0; }
.cta .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }
.cta h2 { font-size: clamp(1.4rem, 3.2vw, 2rem); font-weight: 600; line-height: 1.2; }
.cta p { color: var(--muted); margin-top: 0.4rem; }
.cta .actions { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.other { padding: 2rem 0; }
.other a { font-weight: 600; text-decoration: none; }
.other a:hover { color: #b58900; }

/* ---------- Footer ---------- */
footer { background: var(--dark); color: var(--muted); font-size: 0.82rem; border-top: 1px solid var(--line-dark); }
footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1.8rem; padding-bottom: 1.8rem; }
footer img { height: 56px; width: auto; display: block; }
footer nav { display: flex; gap: 1.5rem; }
footer a { text-decoration: none; transition: color 0.2s; }
footer a:hover { color: var(--accent); }

/* ---------- Lightbox ---------- */
.lightbox {
  border: 0; padding: 0; margin: auto; background: transparent;
  max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh;
}
.lightbox::backdrop { background: rgba(8,10,14,0.94); }
.lightbox .frame { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; padding: 3.5rem 1rem 1rem; gap: 0.8rem; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 7rem); object-fit: contain; border-radius: var(--radius); }
.lightbox p { color: var(--muted); font-size: 0.85rem; text-align: center; max-width: 40rem; }
.lightbox button {
  position: absolute; border: 0; cursor: pointer; color: #fff; background: rgba(255,255,255,0.1);
  width: 2.8rem; height: 2.8rem; border-radius: 50%; font-size: 1.3rem; line-height: 1;
  display: grid; place-items: center; transition: background 0.2s;
}
.lightbox button:hover { background: var(--accent); color: #111; }
.lightbox .close { top: 1rem; right: 1rem; }
.lightbox .prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox .next { right: 1rem; top: 50%; transform: translateY(-50%); }

@media (max-width: 640px) {
  .nav .wrap { height: 5.5rem; }
  .nav .logo img { height: 64px; }
  .nav .back { display: none; }
  .nav .btn .label { display: none; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery.wide { grid-template-columns: 1fr; }
  .gallery figcaption { font-size: 0.75rem; }
  .lightbox .prev, .lightbox .next { top: auto; bottom: 1rem; transform: none; }
  footer .wrap { flex-direction: column; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  .gallery img { transition: none; }
}
