/* ==========================================================================
   Hover Screen Printing – Stylesheet
   ========================================================================== */

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-var-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter Tight";
  src: url("../fonts/inter-tight-var-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #f6f4ef;          /* warmes Off-White */
  --bg-alt: #edeae3;      /* dezente Sektion */
  --surface: #fbfaf7;
  --ink: #171716;         /* Text */
  --ink-soft: #3b3a37;
  --muted: #6f6c65;
  --line: #dcd8cf;
  --line-strong: #c4bfb4;
  --accent: #9a5a33;      /* sehr zurückhaltend, nur Details */

  --font-display: "Inter Tight", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --max: 1320px;
  --gutter: clamp(20px, 5vw, 64px);
  --section: clamp(88px, 13vw, 176px);
  --radius: 2px;
  --header-h: 84px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }

::selection { background: var(--ink); color: var(--bg); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--bg); padding: 10px 16px; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 860px; }

/* ---------- Typografie ---------- */

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 0;
}

.display {
  font-size: clamp(3rem, 9.2vw, 8.5rem);
  letter-spacing: -0.045em;
  line-height: .94;
  font-weight: 500;
}

.h1 { font-size: clamp(2.6rem, 6.4vw, 5.6rem); letter-spacing: -0.04em; line-height: .98; }
.h2 { font-size: clamp(2rem, 4.2vw, 3.5rem); letter-spacing: -0.035em; }
.h3 { font-size: clamp(1.25rem, 1.8vw, 1.6rem); letter-spacing: -0.02em; line-height: 1.2; }

.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 28px;
}

.lead {
  font-size: clamp(1.15rem, 1.6vw, 1.4rem);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 36em;
  margin: 0;
}

.prose p { margin: 0 0 1.25em; max-width: 38em; color: var(--ink-soft); }
.prose p:last-child { margin-bottom: 0; }

.muted { color: var(--muted); }

/* ---------- Buttons & Links ---------- */

.btn {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 16px 26px;
  border: 1px solid var(--ink);
  border-radius: 100px;
  background: transparent;
  color: var(--ink);
  font-size: .95rem; font-weight: 500; letter-spacing: -.005em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .3s var(--ease), color .3s var(--ease);
}
.btn:hover { background: var(--ink); color: var(--bg); }
.btn--solid { background: var(--ink); color: var(--bg); }
.btn--solid:hover { background: transparent; color: var(--ink); }
.btn .arrow { transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.text-link {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 500; text-decoration: none;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 4px;
  transition: border-color .3s var(--ease);
}
.text-link:hover { border-color: var(--ink); }

/* ---------- Header / Navigation ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: rgba(246, 244, 239, .86);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); }

.site-header .container {
  height: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
}

.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { height: 52px; width: auto; }

.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(18px, 2.4vw, 36px); }
.nav a {
  position: relative;
  font-size: .92rem; font-weight: 450;
  text-decoration: none; color: var(--ink-soft);
  padding: 6px 0;
  transition: color .2s;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease);
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--ink); }

.menu-toggle {
  display: none;
  align-items: center; gap: 12px;
  background: none; border: 0; padding: 10px 0; cursor: pointer;
  font-size: .92rem; font-weight: 500;
}
.menu-toggle .bars { position: relative; width: 22px; height: 10px; }
.menu-toggle .bars::before, .menu-toggle .bars::after {
  content: ""; position: absolute; left: 0; width: 100%; height: 1.5px; background: var(--ink);
  transition: transform .35s var(--ease), top .35s var(--ease);
}
.menu-toggle .bars::before { top: 0; }
.menu-toggle .bars::after { top: 8px; }
.menu-open .menu-toggle .bars::before { top: 4px; transform: rotate(45deg); }
.menu-open .menu-toggle .bars::after { top: 4px; transform: rotate(-45deg); }

@media (max-width: 980px) {
  .menu-toggle { display: inline-flex; position: relative; z-index: 60; }
  .nav {
    position: fixed; inset: 0; z-index: 55;
    background: var(--bg);
    padding: calc(var(--header-h) + 32px) var(--gutter) 40px;
    display: flex; flex-direction: column; justify-content: space-between;
    opacity: 0; visibility: hidden;
    transition: opacity .35s var(--ease), visibility .35s;
  }
  .menu-open .nav { opacity: 1; visibility: visible; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav li { border-bottom: 1px solid var(--line); }
  .nav a {
    display: flex; justify-content: space-between; align-items: baseline;
    padding: 18px 0;
    font-family: var(--font-display); font-size: clamp(1.7rem, 7vw, 2.4rem);
    letter-spacing: -.03em; color: var(--ink);
  }
  .nav a::after { display: none; }
  .nav a[aria-current="page"] { color: var(--muted); }
  .nav .nav-num { font-family: var(--font-body); font-size: .8rem; letter-spacing: .1em; color: var(--muted); }
    .menu-open { overflow: hidden; }
  .menu-open .site-header { background: var(--bg); }
}
.nav .nav-num { display: none; }
@media (max-width: 980px) { .nav .nav-num { display: inline; } }

/* ---------- Sektionen ---------- */

.section { padding: var(--section) 0; }
.section--alt { background: var(--bg-alt); }
.section--tight { padding-top: calc(var(--section) * .5); }

.section-head {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end;
  gap: 24px 48px;
  margin-bottom: clamp(48px, 6vw, 88px);
}
.section-head .lead { max-width: 30em; }

.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* ---------- Hero ---------- */

.hero { padding: clamp(72px, 12vw, 168px) 0 clamp(56px, 7vw, 96px); }
.hero .display { margin-bottom: clamp(28px, 3.4vw, 44px); }
.hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  letter-spacing: -.02em; line-height: 1.25;
  color: var(--muted);
  margin: 0 0 clamp(40px, 5vw, 64px);
}
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px 64px; align-items: end;
}
.hero-meta { font-size: .85rem; color: var(--muted); text-align: right; line-height: 1.8; }
@media (max-width: 760px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-meta { text-align: left; }
}

.hero-image {
  margin: 0;
  aspect-ratio: 21 / 9;
  overflow: hidden;
  background: var(--bg-alt);
}
.hero-image img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.hero-image figcaption { display: none; }
@media (max-width: 760px) { .hero-image { aspect-ratio: 4 / 3; } }

.image-caption { margin-top: 14px; font-size: .85rem; color: var(--muted); }

/* ---------- Portfolio-Raster ---------- */

.work-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(48px, 6vw, 88px) clamp(16px, 2.2vw, 32px);
}
.work { grid-column: span 6; margin: 0; }
.work--lg { grid-column: span 7; }
.work--sm { grid-column: span 5; }
.work--full { grid-column: 1 / -1; }

.work-button {
  display: block; width: 100%; padding: 0; border: 0; background: none;
  cursor: zoom-in; text-align: left;
}
.work-media {
  position: relative; overflow: hidden; background: #e7e5e1;
  aspect-ratio: 4 / 3;
}
.work--sm .work-media { aspect-ratio: 20 / 21; }
.work--full .work-media { aspect-ratio: 21 / 9; }
.work-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.1s var(--ease), opacity .6s var(--ease);
}
.work-button:hover .work-media img { transform: scale(1.025); }
.work-media img[data-loading] { opacity: 0; }

.work-caption {
  display: grid; grid-template-columns: 1fr auto; gap: 4px 24px;
  padding-top: 18px;
}
.work-title { font-family: var(--font-display); font-size: 1.2rem; font-weight: 500; letter-spacing: -.02em; }
.work-year { font-size: .85rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.work-desc { grid-column: 1 / -1; font-size: .92rem; color: var(--muted); max-width: 34em; margin: 0; }
.work-tag {
  font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
  align-self: center;
}

@media (max-width: 760px) {
  .work, .work--lg, .work--sm, .work--full { grid-column: 1 / -1; }
  .work--sm .work-media, .work--full .work-media { aspect-ratio: 4 / 3; }
}

.center { text-align: center; }
.mt-l { margin-top: clamp(56px, 7vw, 96px); }

/* ---------- Prozess (Kurz) ---------- */

.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line-strong);
}
.steps li { padding: 28px 28px 0 0; }
.steps li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.step-num {
  display: block; font-size: .8rem; font-variant-numeric: tabular-nums; letter-spacing: .08em;
  color: var(--muted); margin-bottom: 56px;
}
.steps h3 { margin-bottom: 12px; }
.steps p { margin: 0; color: var(--muted); font-size: .95rem; }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .steps li:nth-child(3) { padding-left: 0; border-left: 0; }
  .steps li:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 32px; }
  .step-num { margin-bottom: 28px; }
}
@media (max-width: 540px) {
  .steps { grid-template-columns: 1fr; }
  .steps li, .steps li + li { padding: 24px 0 28px; border-left: 0; margin-top: 0; }
  .steps li + li { border-top: 1px solid var(--line); }
  .step-num { margin-bottom: 14px; }
}

/* ---------- CTA ---------- */

.cta { text-align: left; }
.cta-inner {
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 40px 80px; align-items: end;
}
.cta .h2 { max-width: 12em; }
.cta p { margin: 0 0 36px; color: var(--ink-soft); }
.cta-note {
  margin-top: clamp(56px, 7vw, 96px); padding-top: 24px;
  border-top: 1px solid var(--line-strong);
  display: flex; flex-wrap: wrap; gap: 8px 40px;
  font-size: .88rem; color: var(--muted);
}
@media (max-width: 860px) { .cta-inner { grid-template-columns: 1fr; } }

/* ---------- Seitenkopf (Unterseiten) ---------- */

.page-head { padding: clamp(64px, 10vw, 144px) 0 clamp(48px, 6vw, 88px); }
.page-head .h1 { max-width: 12em; margin-bottom: clamp(24px, 3vw, 40px); }

/* ---------- Siebdruck-Seite ---------- */

.intro-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 48px 80px; align-items: start;
}
@media (max-width: 900px) { .intro-grid { grid-template-columns: 1fr; } }

.diagram { margin: 0; }
.diagram svg { width: 100%; height: auto; display: block; }
.diagram figcaption { margin-top: 16px; font-size: .85rem; color: var(--muted); }
.diagram .d-line { stroke: var(--ink); fill: none; }
.diagram .d-frame { fill: var(--line-strong); }
.diagram .d-mesh { stroke: var(--muted); stroke-width: 1.5; stroke-dasharray: 2 4; }
.diagram .d-stencil { fill: var(--ink); }
.diagram .d-ink { fill: var(--accent); }
.diagram .d-textile { fill: #dcd6ca; }
.diagram .d-blade { fill: var(--ink-soft); }
.diagram .d-handle { fill: #b9b2a5; }
.diagram .d-label { font: 500 13px var(--font-body); fill: var(--ink); letter-spacing: .01em; }
.diagram .d-sub { font: 400 12px var(--font-body); fill: var(--muted); }
.diagram .d-leader { stroke: var(--muted); stroke-width: 1; fill: none; }

.process { list-style: none; margin: 0; padding: 0; counter-reset: none; }
.process-step {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 24px 80px;
  padding: clamp(40px, 5vw, 64px) 0;
  border-top: 1px solid var(--line-strong);
}
.process-step:last-child { border-bottom: 1px solid var(--line-strong); }
.process-step .num {
  display: block; font-size: .8rem; letter-spacing: .08em; color: var(--muted);
  margin-bottom: 18px; font-variant-numeric: tabular-nums;
}
.process-step .h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
.process-step .prose p { font-size: 1.05rem; }
@media (max-width: 760px) { .process-step { grid-template-columns: 1fr; } }

.process-figure { margin: clamp(40px, 5vw, 72px) 0; }
.process-figure .img-wrap { overflow: hidden; background: var(--bg-alt); }
.process-figure img { width: 100%; }
.process-figure--split {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(16px, 2.2vw, 32px);
}
.process-figure--split .img-wrap { aspect-ratio: 4 / 3; }
.process-figure--split img { height: 100%; object-fit: cover; }
.process-figure figcaption { grid-column: 1 / -1; font-size: .85rem; color: var(--muted); margin-top: 4px; }
@media (max-width: 760px) { .process-figure--split { grid-template-columns: 1fr; } }

/* ---------- Über uns ---------- */

.about-text { max-width: 44em; }
.about-text p { font-size: 1.12rem; line-height: 1.75; }

/* ---------- Anfrage ---------- */

  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--ink);
  background: var(--surface);
}
@media (max-width: 820px) {
    }

.flow { list-style: none; margin: 0; padding: 0; }
.flow li { display: grid; grid-template-columns: 48px 1fr; padding: 18px 0; border-top: 1px solid var(--line); }
.flow li:last-child { border-bottom: 1px solid var(--line); }
.flow .n { font-size: .8rem; color: var(--muted); padding-top: 3px; font-variant-numeric: tabular-nums; }
.flow strong { font-weight: 500; }
.flow p { margin: 2px 0 0; color: var(--muted); font-size: .93rem; }

.form-layout {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); gap: 56px 96px; align-items: start;
}
.form-layout aside { position: sticky; top: calc(var(--header-h) + 32px); }
@media (max-width: 900px) {
  .form-layout { grid-template-columns: 1fr; }
  .form-layout aside { position: static; }
}

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 28px; }
.field { display: flex; flex-direction: column; gap: 10px; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend {
  font-size: .82rem; font-weight: 500; letter-spacing: .02em; color: var(--ink-soft); padding: 0;
}
.field .opt { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%;
  font: inherit; font-size: 1rem; color: var(--ink);
  background: transparent;
  border: 0; border-bottom: 1px solid var(--line-strong);
  border-radius: 0;
  padding: 10px 0 12px;
  transition: border-color .2s;
  -webkit-appearance: none; appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23171716' stroke-width='1.4'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 2px center; padding-right: 28px; cursor: pointer;
}
.field textarea { min-height: 150px; resize: vertical; line-height: 1.6; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--ink); }
.field input::placeholder, .field textarea::placeholder { color: #a8a39a; }
.field .hint { font-size: .82rem; color: var(--muted); margin: 0; }
.field[data-invalid] input, .field[data-invalid] textarea, .field[data-invalid] select { border-bottom-color: #a0402a; }
.field .error { font-size: .82rem; color: #a0402a; margin: 0; }

fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span {
  display: inline-block; padding: 9px 16px; border: 1px solid var(--line-strong); border-radius: 100px;
  font-size: .9rem; transition: all .2s; cursor: pointer;
}
.chip input:checked + span { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

.check { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: .92rem; color: var(--ink-soft); cursor: pointer; }
.check input {
  -webkit-appearance: none; appearance: none; margin: 2px 0 0; width: 18px; height: 18px;
  border: 1px solid var(--ink-soft); border-radius: 2px; background: transparent; cursor: pointer; display: grid; place-content: center;
}
.check input:checked { background: var(--ink); border-color: var(--ink); }
.check input:checked::after {
  content: ""; width: 9px; height: 5px; border: 1.6px solid var(--bg); border-top: 0; border-right: 0;
  transform: translateY(-1px) rotate(-45deg);
}

.reference-pill {
  display: none; align-items: center; justify-content: space-between; gap: 16px;
  padding: 12px 12px 12px 16px; background: var(--surface); border: 1px solid var(--line);
}
.reference-pill.is-visible { display: flex; }
.reference-pill img { width: 56px; height: 56px; object-fit: cover; background: var(--bg-alt); }
.reference-pill .ref-info { display: flex; align-items: center; gap: 14px; font-size: .92rem; }
.reference-pill button { background: none; border: 0; cursor: pointer; color: var(--muted); font-size: .85rem; text-decoration: underline; }

.form-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 20px 28px; margin-top: 8px; }
.form-actions .muted { font-size: .85rem; }
.hp { position: absolute; left: -9999px; }

.form-status { grid-column: 1 / -1; display: none; padding: 20px 22px; border: 1px solid var(--line-strong); background: var(--surface); }
.form-status.is-visible { display: block; }
.form-status h3 { margin-bottom: 8px; }
.form-status p { margin: 0; color: var(--muted); }

@media (max-width: 620px) { .form { grid-template-columns: 1fr; } }

/* ---------- Rechtliches ---------- */

.legal h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin: clamp(56px, 6vw, 80px) 0 20px; }
.legal h2:first-child { margin-top: 0; }
.legal h3 { font-size: 1.1rem; margin: 32px 0 10px; letter-spacing: -.01em; }
.legal p, .legal li { color: var(--ink-soft); max-width: 42em; }
.legal ul { padding-left: 1.1em; }
.legal address { font-style: normal; line-height: 1.8; }
.legal-nav { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 8px; }

/* ---------- Footer ---------- */

.site-footer { border-top: 1px solid var(--line); padding: clamp(56px, 7vw, 96px) 0 40px; font-size: .9rem; }
.footer-grid { display: grid; grid-template-columns: 1fr auto auto; gap: 40px 64px; }
.footer-brand img { height: 56px; width: auto; margin-bottom: 20px; }
.footer-brand p { margin: 0; color: var(--muted); max-width: 26em; }
.site-footer h4 { font-family: var(--font-body); font-size: .75rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { text-decoration: none; color: var(--ink-soft); }
.site-footer a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px;
  margin-top: clamp(56px, 7vw, 88px); padding-top: 24px; border-top: 1px solid var(--line);
  color: var(--muted); font-size: .82rem;
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* ---------- Lightbox ---------- */

.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(246, 244, 239, .985);
  display: grid; grid-template-rows: auto 1fr auto;
  opacity: 0; visibility: hidden;
  transition: opacity .35s var(--ease), visibility .35s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lb-top {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px var(--gutter); font-size: .85rem; color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.lb-close, .lb-nav {
  background: none; border: 0; cursor: pointer; color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
}
.lb-close { font-size: .9rem; font-weight: 500; padding: 10px 0; }
.lb-stage {
  position: relative; min-height: 0;
  display: flex; align-items: center; justify-content: center;
  padding: 0 clamp(56px, 8vw, 120px);
}
.lb-stage img {
  max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain;
  transition: opacity .3s var(--ease);
}
.lb-stage img.is-loading { opacity: 0; }
.lb-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border: 1px solid var(--line-strong); border-radius: 50%;
  background: var(--bg); transition: border-color .2s;
}
.lb-nav:hover { border-color: var(--ink); }
.lb-prev { left: clamp(8px, 2vw, 32px); }
.lb-next { right: clamp(8px, 2vw, 32px); }
.lb-info {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 40px;
  padding: 24px var(--gutter) 28px;
}
.lb-info h2 { font-size: clamp(1.4rem, 2.4vw, 2rem); margin-bottom: 6px; }
.lb-info p { margin: 0; color: var(--muted); font-size: .95rem; max-width: 40em; }
.lb-info .btn { padding: 13px 22px; }
@media (max-width: 620px) {
  .lb-stage { padding: 0 12px; }
  .lb-nav { top: auto; bottom: -8px; transform: none; width: 42px; height: 42px; }
  .lb-prev { left: auto; right: 66px; }
  .lb-next { right: 16px; }
  .lb-info { padding-top: 40px; }
}

/* ---------- Dezente Einblendung ---------- */

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: 0s !important; }
}
