/* ============================================================
   OC Informatik — Letterpress-Poster System
   Warm ivory paper · warm near-black ink · oxblood accent
   Fraunces (OFL, self-hosted) — no external requests, no JS
   ============================================================ */

/* ---------- Fonts (self-hosted, OFL — see assets/fonts/OFL.txt) ---------- */
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/fraunces-v38-latin_latin-ext-regular.woff2") format("woff2");
}
@font-face {
  font-family: "Fraunces";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/fraunces-v38-latin_latin-ext-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/fraunces-v38-latin_latin-ext-600.woff2") format("woff2");
}
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/fraunces-v38-latin_latin-ext-700.woff2") format("woff2");
}
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("/assets/fonts/fraunces-v38-latin_latin-ext-900.woff2") format("woff2");
}

/* ---------- Tokens ---------- */
:root {
  --paper:      #f4eee1;
  --paper-deep: #e9e0c9;
  --ink:        #221c14;
  --ink-soft:   #55503f;
  --ivory:      #f4eee1;
  --ivory-dim:  rgba(244, 238, 225, 0.74);
  --ivory-line: rgba(244, 238, 225, 0.28);
  --red:        #9e2318;   /* oxblood on paper */
  --red-band:   #841e13;   /* band background */
  --red-bright: #d8542f;   /* accent on ink */
  --blue:       #3c5a73;   /* steel blue (logo echo, sparingly) */
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Helvetica Neue", Helvetica, Arial, "Segoe UI", sans-serif;
  --wrap: 72rem;
  --fs-hero: clamp(2.7rem, 0.9rem + 8vw, 6.5rem);
  --fs-h1:   clamp(2.4rem, 0.9rem + 6.4vw, 5.25rem);
  --fs-h2:   clamp(1.9rem, 1.1rem + 3.2vw, 3.4rem);
  --fs-stat: clamp(4.5rem, 2rem + 12vw, 9.5rem);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  hyphens: auto;
  -webkit-hyphens: auto;
  overflow-wrap: break-word;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, p, figure { margin: 0; }
a { color: inherit; }
::selection { background: var(--red); color: var(--ivory); }
:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; }

/* Paper grain over everything — a whisper of print texture */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='260' height='260'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='2' stitchTiles='stitch'/></filter><rect width='260' height='260' filter='url(%23n)'/></svg>");
}

/* ---------- Utilities ---------- */
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(1.25rem, 4vw, 3rem); }

.kicker {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  hyphens: manual;
  -webkit-hyphens: manual;
}
.kicker--red { color: var(--red); }

.skip {
  position: absolute;
  left: 0.75rem;
  top: -4rem;
  z-index: 100;
  padding: 0.6rem 1.1rem;
  background: var(--ink);
  color: var(--ivory);
  font-family: var(--sans);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-decoration: none;
  border: 2px solid var(--ivory);
}
.skip:focus { top: 0.75rem; }

/* ---------- Header ---------- */
.site-head {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  border-bottom: 3px solid var(--ink);
  box-shadow: 0 4px 0 -3px var(--paper), 0 6px 0 -3px var(--ink);
}
.site-head__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  flex-wrap: wrap;
  padding-block: 0.8rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
}
.brand img { width: 52px; height: auto; }
.brand__name {
  font-weight: 700;
  font-size: 1.32rem;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.site-nav {
  display: flex;
  align-items: baseline;
  gap: clamp(0.9rem, 2.5vw, 1.9rem);
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.site-nav a { text-decoration: none; padding-block: 0.3rem; }
.site-nav a:hover { color: var(--red); }
.site-nav a[aria-current="page"] {
  color: var(--red);
  box-shadow: 0 3px 0 0 var(--red);
}
.site-nav__en {
  color: var(--ink-soft);
  opacity: 0.55;
  border: 1px solid currentColor;
  padding: 0.1rem 0.45rem;
}

/* ---------- Bands ---------- */
.band { padding-block: clamp(3.5rem, 9vw, 6.75rem); }
.band--ink  { background: var(--ink); color: var(--ivory); }
.band--red  { background: var(--red-band); color: var(--ivory); }
.band--tint { background: var(--paper-deep); }
.band--rule-top { border-top: 3px solid var(--ink); }

/* Section header: № + huge title + lead, on one modern grid */
.sec-head {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 1rem 4rem;
  align-items: end;
  margin-bottom: clamp(2.25rem, 5vw, 4rem);
}
.sec-no {
  grid-column: 1 / -1;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  color: var(--red);
  display: flex;
  align-items: center;
  gap: 1rem;
}
.sec-no::after { content: ""; height: 1px; flex: 1; background: currentColor; opacity: 0.45; }
.band--ink .sec-no, .band--red .sec-no { color: var(--red-bright); }
.band--red .sec-no { color: var(--ivory); }
.sec-title {
  font-size: var(--fs-h2);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.015em;
  hyphens: manual;
  -webkit-hyphens: manual;
}
.sec-lead { max-width: 34em; }
.band--ink .sec-lead, .band--red .sec-lead { color: var(--ivory-dim); }
@media (max-width: 47.9em) {
  .sec-head { grid-template-columns: minmax(0, 1fr); align-items: start; }
}

/* ---------- Hero (homepage) ---------- */
.hero { position: relative; overflow: clip; }
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.hero .kicker { margin-bottom: 1.4rem; display: flex; align-items: center; gap: 0.9rem; }
.hero .kicker .orn-star { width: 0.95em; height: 0.95em; color: var(--red); }
.hero h1 {
  font-size: var(--fs-hero);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.hero h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--red);
  letter-spacing: 0;
}
.hero__intro {
  margin-top: 1.9rem;
  font-size: clamp(1.1rem, 1rem + 0.55vw, 1.35rem);
  line-height: 1.6;
  max-width: 33em;
}
.hero__cta { margin-top: 2.4rem; display: flex; flex-wrap: wrap; gap: 1rem 1.25rem; align-items: center; }

/* Specimen plate beside the hero headline */
.hero__art { position: relative; justify-self: center; width: min(100%, 24rem); }
.specimen {
  background: var(--paper);
  border: 3px solid var(--ink);
  box-shadow: 10px 10px 0 0 var(--red);
  padding: 1.1rem;
  transform: rotate(1.5deg);
}
.specimen__frame {
  border: 1px solid var(--ink);
  padding: clamp(1.5rem, 4vw, 2.75rem) clamp(1rem, 3vw, 2rem);
  display: grid;
  place-items: center;
}
.specimen__frame img { width: min(72%, 13rem); }
.specimen__caption {
  margin-top: 1.1rem;
  border-top: 1px solid var(--ink);
  padding-top: 0.75rem;
  padding-right: 3.25rem;
  font-family: var(--sans);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--ink-soft);
  hyphens: manual;
  -webkit-hyphens: manual;
}
.hero__seal {
  position: absolute;
  width: clamp(7rem, 12vw, 9.5rem);
  right: -2.75rem;
  bottom: -4.25rem;
  color: var(--red);
}
@media (max-width: 59.9em) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__art { justify-self: start; width: min(100%, 20rem); margin-top: 0.5rem; }
  .hero__seal { right: -1.25rem; bottom: -1.5rem; width: 7rem; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.95rem 1.5rem;
  border: 3px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  transition: transform 120ms ease, box-shadow 120ms ease, background 120ms ease, color 120ms ease;
}
.btn .arrow { transition: transform 120ms ease; }
.btn:hover, .btn:focus-visible { background: var(--red); border-color: var(--red); color: var(--ivory); }
.btn:hover .arrow { transform: translateX(0.3rem); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover, .btn--ghost:focus-visible { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.btn--ivory { background: var(--ivory); border-color: var(--ivory); color: var(--red-band); }
.btn--ivory:hover, .btn--ivory:focus-visible { background: var(--ink); border-color: var(--ivory); color: var(--ivory); }

/* ---------- Tiles (Arbeitsweise — cards on ink) ---------- */
.tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.75rem);
}
.tile {
  position: relative;
  border: 1px solid var(--ivory-line);
  border-top: 4px solid var(--red-bright);
  padding: 1.9rem 1.6rem 2rem;
  background: rgba(244, 238, 225, 0.03);
  transition: background 140ms ease, transform 140ms ease;
}
.tile:hover { background: rgba(244, 238, 225, 0.07); }
.tile .tile__no {
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(2.8rem, 4vw, 3.9rem);
  line-height: 1;
  color: var(--red-bright);
  letter-spacing: -0.02em;
}
.tile h3 {
  margin-top: 1.1rem;
  font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.65rem);
  font-weight: 600;
  line-height: 1.15;
  hyphens: manual;
  -webkit-hyphens: manual;
}
.tile p { margin-top: 0.8rem; color: var(--ivory-dim); font-size: 1rem; }
@media (max-width: 55em) { .tiles { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Ledger (framed cell grid on paper: Leistungen, Funktionen) ---------- */
.ledger {
  border: 3px solid var(--ink);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  background: var(--paper);
}
.ledger--tint { background: var(--paper); }
.cell {
  padding: clamp(1.6rem, 3vw, 2.4rem) clamp(1.25rem, 2.5vw, 2rem);
  border-left: 1px solid var(--ink);
  border-top: 1px solid var(--ink);
  margin-top: -1px;
  margin-left: -1px;
  transition: background 140ms ease;
}
.cell:hover { background: var(--paper-deep); }
.cell .cell__no {
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(2.6rem, 3.5vw, 3.6rem);
  line-height: 1;
  color: var(--red);
  letter-spacing: -0.02em;
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}
.cell__no::after { content: ""; height: 3px; flex: 1; background: var(--ink); opacity: 0.16; align-self: center; }
.cell h3 {
  margin-top: 1.1rem;
  font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.6rem);
  font-weight: 600;
  line-height: 1.15;
  hyphens: manual;
  -webkit-hyphens: manual;
}
.cell p { margin-top: 0.8rem; font-size: 1rem; color: var(--ink-soft); }
@media (max-width: 61em) { .ledger { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 40em) { .ledger { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Teaser band (homepage → LagerIQ) ---------- */
.teaser__grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.teaser h2 {
  font-size: var(--fs-h1);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
}
.teaser h2 .amp { font-style: italic; font-weight: 400; }
.teaser__lead { margin-top: 1.6rem; color: var(--ivory-dim); font-size: clamp(1.05rem, 1rem + 0.4vw, 1.25rem); max-width: 34em; }
.teaser .btn { margin-top: 2.2rem; }

/* Staggered screenshot plates */
.plates {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 3vw, 2rem);
  align-items: start;
  padding-block: 1rem;
}
.plate {
  background: var(--ivory);
  border: 6px solid var(--ivory);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}
.plate img { display: block; }
.plates .plate:nth-child(1) { transform: rotate(-2.5deg); }
.plates .plate:nth-child(2) { transform: rotate(1.75deg) translateY(2.5rem); }
.plates__label {
  position: absolute;
  left: 50%;
  bottom: -1.25rem;
  transform: translateX(-50%) rotate(-2deg);
  background: var(--ivory);
  color: var(--ink);
  border: 2px solid var(--ink);
  padding: 0.45rem 1rem;
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-align: center;
  width: max-content;
  max-width: min(92%, 24rem);
  box-shadow: 4px 4px 0 0 rgba(0, 0, 0, 0.35);
}
@media (max-width: 59.9em) {
  .teaser__grid { grid-template-columns: minmax(0, 1fr); }
  .plates { max-width: 30rem; }
}

/* ---------- Kontakt band ---------- */
.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.contact address { font-style: normal; }
.contact address p {
  border-top: 1px solid rgba(34, 28, 20, 0.3);
  padding-block: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  justify-content: space-between;
}
.contact address p:first-of-type { border-top: 3px solid var(--ink); }
.contact address p:last-of-type { border-bottom: 1px solid rgba(34, 28, 20, 0.3); }
.contact address .lbl {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding-top: 0.35rem;
}
.contact__mail {
  display: block;
  font-size: clamp(1.5rem, 0.7rem + 3.6vw, 3.1rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--red);
  text-decoration-thickness: 3px;
  text-underline-offset: 8px;
  hyphens: manual;
  -webkit-hyphens: manual;
  word-break: break-word;
}
.contact__mail:hover { color: var(--ink); }
.contact__note { margin-top: 1.4rem; color: var(--ink-soft); }
@media (max-width: 55em) { .contact__grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Footer ---------- */
.site-foot {
  background: var(--ink);
  color: var(--ivory);
  border-top: 6px solid var(--red-band);
  padding-block: 2.75rem 2.25rem;
}
.site-foot__row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 3rem;
  align-items: center;
  justify-content: space-between;
}
.site-foot .brand__name { font-size: 1.15rem; }
.site-foot .brand img { width: 44px; }
.site-foot nav {
  display: flex;
  gap: 1.75rem;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.site-foot nav a { color: var(--ivory-dim); text-decoration: none; }
.site-foot nav a:hover { color: var(--red-bright); }
.site-foot__credit {
  margin-top: 2rem;
  border-top: 1px solid var(--ivory-line);
  padding-top: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ivory-dim);
}
.site-foot__credit .orn-star { width: 0.8em; height: 0.8em; color: var(--red-bright); flex: none; }

/* ---------- Ornaments ---------- */
.orn-star { display: inline-block; }
.seal { display: block; }
.seal text {
  font-family: var(--sans);
  font-size: 15.2px;
  font-weight: 700;
  letter-spacing: 3.2px;
  fill: currentColor;
}
@media (prefers-reduced-motion: no-preference) {
  .seal--spin .seal__ring { animation: sealspin 48s linear infinite; transform-origin: 100px 100px; }
  @keyframes sealspin { to { transform: rotate(360deg); } }
}

/* ---------- LagerIQ page ---------- */
.phero__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.phero h1 {
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.02em;
}
.phero h1 .h1-mark { display: block; font-size: var(--fs-hero); }
.phero h1 .h1-sub {
  display: block;
  margin-top: 0.65rem;
  font-size: clamp(1.35rem, 0.9rem + 2vw, 2.4rem);
  font-weight: 400;
  font-style: italic;
  color: var(--red);
  letter-spacing: 0;
  line-height: 1.15;
}
.phero .kicker { margin-bottom: 1.4rem; display: flex; align-items: center; gap: 0.9rem; }
.phero .kicker .orn-star { width: 0.95em; height: 0.95em; color: var(--red); }
.phero__intro { margin-top: 1.9rem; font-size: clamp(1.08rem, 1rem + 0.5vw, 1.3rem); max-width: 36em; }
.phero__art { position: relative; justify-self: center; width: min(100%, 19rem); }
.phero__art .plate { transform: rotate(2deg); box-shadow: 12px 12px 0 0 var(--red); border-color: var(--ink); border-width: 3px; background: var(--ink); }
.phero__seal {
  position: absolute;
  width: clamp(6.5rem, 10vw, 8.5rem);
  left: -2.5rem;
  bottom: -2.5rem;
  color: var(--red);
}
@media (max-width: 59.9em) {
  .phero__grid { grid-template-columns: minmax(0, 1fr); }
  .phero__art { justify-self: start; width: min(70%, 16rem); }
  .phero__seal { left: auto; right: -1.25rem; bottom: -1.75rem; width: 6.5rem; }
}

/* Stats — full-width band, oversized numerals */
.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  text-align: left;
  margin: 0;
}
.stats dd { margin: 0; }
.stat {
  display: flex;
  flex-direction: column;
  padding: 0.5rem clamp(1.25rem, 3vw, 2.75rem);
  border-left: 1px solid rgba(244, 238, 225, 0.35);
}
.stat .stat__no { order: 1; }
.stat .stat__lbl { order: 2; }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat__no {
  font-family: var(--serif);
  font-weight: 900;
  font-size: var(--fs-stat);
  line-height: 0.95;
  letter-spacing: -0.03em;
  display: block;
}
.stat__no sup { font-size: 0.35em; font-weight: 600; vertical-align: 1.1em; letter-spacing: 0; }
.stat__lbl {
  display: block;
  margin-top: 0.9rem;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ivory);
  opacity: 0.85;
  max-width: 16em;
}
@media (max-width: 47.9em) {
  .stats { grid-template-columns: minmax(0, 1fr); }
  .stat { border-left: 0; border-top: 1px solid rgba(244, 238, 225, 0.35); padding: 1.5rem 0; }
  .stat:first-child { border-top: 0; padding-top: 0; }
}

/* Gallery — Aus dem Betrieb */
.gallery-head {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 2rem 4rem;
  align-items: center;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.gallery-head .sec-no, .gallery-head .sec-title { grid-column: 1; }
.gallery-head__etikett { grid-row: 1 / span 2; grid-column: 2; justify-self: end; width: min(100%, 19rem); }
.gallery-head__etikett .plate { transform: rotate(2.25deg); }
.shots {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 3.5vw, 2.75rem);
  align-items: start;
}
.shot { max-width: 22rem; }
.shot .plate { box-shadow: 0 16px 34px rgba(0, 0, 0, 0.5); }
.shot figcaption {
  margin-top: 0.9rem;
  border-top: 2px solid var(--red-bright);
  padding-top: 0.7rem;
  font-family: var(--sans);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  line-height: 1.55;
  color: var(--ivory-dim);
}
.shot figcaption strong { color: var(--ivory); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.72rem; display: block; margin-bottom: 0.2rem; }
@media (min-width: 60em) {
  .shots .shot:nth-child(2) { transform: translateY(2.75rem); }
  .shots { padding-bottom: 2.75rem; }
}
@media (max-width: 59.9em) and (min-width: 40em) {
  .shots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 39.9em) {
  .shots { grid-template-columns: minmax(0, 1fr); }
  .shot { max-width: 19rem; }
  .gallery-head { grid-template-columns: minmax(0, 1fr); }
  .gallery-head__etikett { grid-row: auto; grid-column: 1; justify-self: start; width: min(100%, 17rem); }
}

/* CTA band */
.cta__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: 1.5rem 4rem;
  align-items: start;
}
.cta h2 {
  font-size: var(--fs-h2);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.015em;
}
.cta p { font-size: clamp(1.05rem, 1rem + 0.4vw, 1.25rem); max-width: 33em; }
.cta a { color: var(--red); font-weight: 600; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.cta a:hover { color: var(--ink); }
.cta .btn { margin-top: 1.8rem; text-decoration: none; color: var(--paper); }
.cta .btn:hover { color: var(--ivory); }
@media (max-width: 55em) { .cta__grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Legal pages (Impressum / Datenschutz) ---------- */
.lhero { padding-block: clamp(3rem, 7vw, 5rem); }
.lhero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: center;
}
.lhero h1 {
  font-size: var(--fs-h1);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
}
.lhero .kicker { margin-bottom: 1.2rem; color: var(--red-bright); }
.lhero__seal { width: clamp(6rem, 9vw, 8rem); color: var(--red-bright); }
@media (max-width: 40em) { .lhero__seal { display: none; } }

.legal { max-width: var(--wrap); }
.legal-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2.1fr);
  gap: 0.75rem 3.5rem;
  padding-block: clamp(1.5rem, 3vw, 2.25rem);
  border-top: 1px solid rgba(34, 28, 20, 0.28);
}
.legal-row:first-child { border-top: 0; padding-top: 0; }
.legal-row h2 {
  font-size: 1.22rem;
  font-weight: 700;
  line-height: 1.3;
  hyphens: manual;
  -webkit-hyphens: manual;
}
.legal-row h2 .no {
  display: block;
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.4rem;
}
.legal-row p { margin: 0; }
.legal-row p + p { margin-top: 0.9rem; }
.legal-row a { color: var(--red); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.legal-row a:hover { color: var(--ink); }
.legal-callout {
  border: 3px solid var(--ink);
  background: var(--paper-deep);
  box-shadow: 8px 8px 0 0 var(--red);
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
  margin-block: clamp(1.75rem, 4vw, 2.75rem);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
}
.legal-callout .orn-star { width: 2rem; height: 2rem; color: var(--red); margin-top: 0.3rem; flex: none; }
.legal-callout h2 { font-size: 1.35rem; font-weight: 700; margin-bottom: 0.5rem; }
.legal-callout p { font-size: 1.1rem; }
.legal-note {
  margin-top: clamp(2rem, 4vw, 3rem);
  border-top: 3px solid var(--ink);
  padding-top: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.legal-note .orn-star { width: 0.85em; height: 0.85em; color: var(--red); }
@media (max-width: 47.9em) {
  .legal-row { grid-template-columns: minmax(0, 1fr); }
  .legal-callout { grid-template-columns: minmax(0, 1fr); }
  .legal-callout .orn-star { width: 1.5rem; height: 1.5rem; }
}

/* ---------- 404 ---------- */
.notfound {
  min-height: calc(100vh - 22rem);
  display: grid;
  align-content: center;
  justify-items: start;
  position: relative;
  overflow: clip;
}
.notfound .notfound__ghost {
  margin: 0;
  position: absolute;
  right: -0.05em;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(12rem, 34vw, 30rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 2px rgba(216, 84, 47, 0.5);
  letter-spacing: -0.04em;
  pointer-events: none;
  user-select: none;
}
.notfound h1 {
  font-size: var(--fs-h1);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.02em;
  max-width: 12em;
  position: relative;
}
.notfound p { margin-top: 1.5rem; font-size: 1.2rem; color: var(--ivory-dim); position: relative; }
.notfound .btn { margin-top: 2.25rem; position: relative; }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---------- Site integration (DE/EN toggle, contact person note) ---------- */
a.site-nav__en { opacity: 0.7; }
a.site-nav__en:hover, a.site-nav__en:focus-visible { color: var(--red); opacity: 1; }
.site-nav a.site-nav__en[aria-current="page"] { box-shadow: none; }
.cta__note {
  margin-top: 1.2rem;
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.notfound p a { color: var(--ivory); }

/* Contact person name as image (crawl protection) — intrinsic 515x53 @4x */
.name-img { height: 13.25px; width: auto; display: inline-block; vertical-align: baseline; }
.cta__note .name-img { height: 15px; }
