/* Onerotation – Dunkelkammer
   Schriften lokal gehostet (keine Verbindung zu Google beim Seitenaufruf). */

@font-face {
  font-family: "Big Shoulders Display";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/big-shoulders-display-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Big Shoulders Display";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/big-shoulders-display-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C4, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Host Grotesk";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/host-grotesk-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Host Grotesk";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/host-grotesk-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C4, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Reenie Beanie";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/reenie-beanie-400-latin.woff2") format("woff2");
}

:root {
  --dark: #0d0807;
  --dark-2: #150c0a;
  --dark-3: #1f1210;
  --blood: #7a1a12;
  --safe: #c13d1d;
  --safe-hi: #d9502c;
  --amber: #e8834a;
  --paper: #f2ede4;
  --paper-2: #e6ddd0;
  --text: #f2ede4;
  --text-dim: #cdb9ab;
  --text-faint: #a08b7d;
  --pencil: #3a322d;
  --pencil-dim: #6b5f57;
  --wire: #8a6d5c;
  --line: rgba(242, 237, 228, 0.14);

  --f-display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --f-body: "Host Grotesk", system-ui, sans-serif;
  --f-hand: "Reenie Beanie", cursive;

  /* Filterzustände: Papier (unentwickelt) -> Safelight -> Tageslicht */
  --f-paper: grayscale(1) sepia(1) saturate(0.5) hue-rotate(-20deg) brightness(2.3) contrast(0.22);
  --f-safe: grayscale(1) sepia(1) saturate(2.6) hue-rotate(-24deg) brightness(0.78) contrast(1.12);
  --f-day: grayscale(0) sepia(0) saturate(1) hue-rotate(0deg) brightness(1) contrast(1);

  --ease-chem: cubic-bezier(0.16, 1, 0.3, 1);
  --t-develop: 2.4s;
  --t-day: 0.9s;

  --wrap: 1240px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2.5rem;
  --space-5: 4rem;
  --space-6: clamp(5rem, 10vw, 8.5rem);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  background: var(--dark);
  color: var(--text);
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scrollbar-color: var(--blood) var(--dark);
}

@view-transition { navigation: auto; }

body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  background: var(--dark);
  overflow-x: hidden;
  caret-color: var(--amber);
}

::selection { background: var(--safe); color: var(--paper); }

::-webkit-scrollbar { width: 12px; height: 10px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: var(--blood); border-radius: 6px; border: 3px solid var(--dark); }

img { display: block; max-width: 100%; height: auto; }

a { color: inherit; text-underline-offset: 0.22em; text-decoration-thickness: 1px; }

:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 4px;
  border-radius: 2px;
}

.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: 1rem; top: -4rem; z-index: 100;
  background: var(--paper); color: var(--dark);
  padding: 0.6rem 1rem; font-weight: 700;
}
.skip-link:focus { top: 1rem; }

/* ---------- Safelight und Korn ---------- */

.safelight {
  position: fixed;
  inset: 0 0 auto 0;
  height: 70vh;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 60% 75% at 50% -18%, rgba(193, 61, 29, 0.42), rgba(122, 26, 18, 0.18) 45%, transparent 75%);
  view-transition-name: safelight;
}

.grain {
  position: fixed; inset: 0; pointer-events: none; z-index: 60;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 0.9 0 0 0 0 0.85 0 0 0 1.4 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

main, .site-footer { position: relative; z-index: 1; }

.wrap {
  width: min(100% - 2 * var(--gutter), var(--wrap));
  margin-inline: auto;
}

/* ---------- Kopfzeile ---------- */

.masthead {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background-color 0.5s var(--ease-chem), box-shadow 0.5s var(--ease-chem);
  view-transition-name: masthead;
}
.masthead.is-scrolled,
.masthead.is-solid {
  background: rgba(13, 8, 7, 0.9);
  box-shadow: 0 1px 0 var(--line), 0 10px 30px rgba(0, 0, 0, 0.35);
}
@supports (backdrop-filter: blur(1px)) {
  .masthead.is-scrolled,
  .masthead.is-solid { background: rgba(13, 8, 7, 0.78); backdrop-filter: blur(10px) saturate(1.2); }
}

.masthead__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  min-height: 76px;
}

.wordmark {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 1.65rem;
  letter-spacing: 0.09em;
  text-decoration: none;
  line-height: 1;
  color: var(--paper);
  white-space: nowrap;
}
.wordmark span { color: var(--safe-hi); }

.nav { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2rem); }
.nav__list { display: flex; gap: clamp(0.9rem, 2vw, 1.8rem); list-style: none; margin: 0; padding: 0; }
.nav__list a {
  font-weight: 500;
  font-size: 0.97rem;
  color: var(--text-dim);
  text-decoration: none;
  padding: 0.35rem 0;
  transition: color 0.3s;
}
.nav__list a:hover { color: var(--paper); }
.nav__list a[aria-current="page"] {
  color: var(--amber);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.5em;
}

.nav-toggle {
  display: none;
  background: none; border: 1px solid var(--line); color: var(--paper);
  width: 46px; height: 46px; border-radius: 50%;
  cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle svg { width: 20px; height: 20px; }

/* ---------- Knöpfe ---------- */

.btn {
  --dial: var(--paper);
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1;
  text-decoration: none;
  padding: 0.95rem 1.4rem 0.95rem 1rem;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s, box-shadow 0.4s var(--ease-chem), transform 0.4s var(--ease-chem);
  white-space: nowrap;
}
.btn--timer {
  background: var(--safe);
  color: var(--paper);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.45), 0 1px 0 rgba(255, 255, 255, 0.12) inset;
}
.btn--timer:hover { background: #a3301a; transform: translateY(-2px); box-shadow: 0 12px 24px rgba(0, 0, 0, 0.5), 0 1px 0 rgba(255, 255, 255, 0.14) inset; }
.btn--small { padding: 0.7rem 1.1rem 0.7rem 0.8rem; font-size: 0.93rem; }

.dial { width: 1.4em; height: 1.4em; flex: none; }
.dial__hand { transform-origin: 12px 12px; transition: transform 0.6s var(--ease-chem); }
.btn:hover .dial__hand { animation: dial-run 2.4s linear infinite; }
@keyframes dial-run { to { transform: rotate(360deg); } }

.btn--ghost {
  background: transparent;
  color: var(--paper);
  padding: 0.95rem 0.2rem;
  border-radius: 0;
  text-decoration: underline;
  text-decoration-color: rgba(242, 237, 228, 0.35);
  text-underline-offset: 0.4em;
}
.btn--ghost:hover { text-decoration-color: var(--amber); color: var(--amber); }

.arrow { width: 1.05em; height: 1.05em; flex: none; transition: transform 0.4s var(--ease-chem); }
a:hover > .arrow, a:hover .arrow { transform: translateX(4px); }

/* ---------- Entwickeln und Tageslicht ---------- */

.develop img,
img.develop { filter: var(--f-safe); }

.js .develop img,
.js img.develop { filter: var(--f-paper); transition: filter var(--t-develop) var(--ease-chem); }
.js .develop.is-developed img,
.js img.develop.is-developed { filter: var(--f-safe); }

.js .develop.is-developed.daylight img,
.daylight-able:hover img,
.daylight-able:focus-visible img,
.daylight-able.daylight img {
  filter: var(--f-day);
  transition: filter var(--t-day) var(--ease-chem);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: max(640px, 100svh);
  display: grid;
  align-items: end;
  isolation: isolate;
  overflow: hidden;
}
.hero__media {
  position: absolute; inset: 0; z-index: -2; margin: 0;
}
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 62% 40%;
}
.hero::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to top, rgba(13, 8, 7, 0.96) 0%, rgba(13, 8, 7, 0.55) 38%, rgba(13, 8, 7, 0.05) 70%),
    linear-gradient(to right, rgba(13, 8, 7, 0.75) 0%, rgba(13, 8, 7, 0) 55%);
}
.hero__content {
  padding-block: 8rem clamp(3rem, 7vw, 5.5rem);
  padding-right: 56px;
}
.hero__title {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(3.6rem, 9vw, 6rem);
  line-height: 0.92;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  margin: 0 0 var(--space-3);
  max-width: 11ch;
  text-wrap: balance;
}
.hero__title em { font-style: normal; color: var(--amber); }
.hero__lead {
  font-size: clamp(1.08rem, 1.5vw, 1.25rem);
  color: var(--text-dim);
  max-width: 46ch;
  margin: 0 0 var(--space-4);
}
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3); }

/* Filmrand mit Perforation */
.rebate {
  position: absolute;
  top: 0; bottom: 0; right: 0;
  width: 46px;
  background: #070403;
  border-left: 1px solid rgba(232, 131, 74, 0.12);
  display: flex;
  z-index: 1;
}
.rebate::before {
  content: "";
  width: 14px;
  margin-left: 6px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='26'%3E%3Crect x='1' y='4' width='12' height='16' rx='2.5' fill='%23e6ddd0' fill-opacity='0.82'/%3E%3C/svg%3E");
  background-repeat: repeat-y;
  opacity: 0.55;
}
.rebate__text {
  writing-mode: vertical-rl;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.32em;
  color: var(--amber);
  opacity: 0.85;
  padding: 7rem 0 2rem;
  margin-left: 4px;
  white-space: nowrap;
  display: flex;
  gap: 3.2rem;
}

.scroll-cue {
  position: absolute; left: 50%; bottom: 1.4rem;
  translate: -50% 0;
  width: 1px; height: 54px;
  background: linear-gradient(to bottom, transparent, var(--amber));
  overflow: hidden;
}
.scroll-cue::after {
  content: ""; position: absolute; left: -2px; top: -10px;
  width: 5px; height: 10px; border-radius: 3px; background: var(--paper);
  animation: cue 2.6s var(--ease-chem) infinite;
}
@keyframes cue { 0% { top: -10px; } 70%, 100% { top: 56px; } }

/* ---------- Abschnitte ---------- */

.section { padding-block: var(--space-6); position: relative; }
.section--tight { padding-block: var(--space-5); }

.section-head { max-width: 760px; margin-bottom: var(--space-5); }
.section-head--split {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: var(--space-4);
  align-items: end;
}

.h2 {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  line-height: 0.95;
  text-transform: uppercase;
  margin: 0 0 var(--space-3);
  text-wrap: balance;
}
.h2 em { font-style: normal; color: var(--amber); }
.h3 {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(1.9rem, 3vw, 2.4rem);
  line-height: 1;
  text-transform: uppercase;
  margin: 0 0 0.6rem;
}
.lead { font-size: clamp(1.08rem, 1.4vw, 1.2rem); color: var(--text-dim); max-width: 60ch; margin: 0; }
.prose p { max-width: 66ch; color: var(--text-dim); }

.hand {
  font-family: var(--f-hand);
  font-weight: 400;
  letter-spacing: 0.01em;
}

/* ---------- Die Leine ---------- */

.line-scroller {
  position: relative;
  margin-inline: calc(-1 * var(--gutter));
  padding-inline: var(--gutter);
}
.line-track {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: clamp(1rem, 2vw, 2rem);
  padding-top: 10px;
}
.wire {
  position: absolute;
  left: -2%; right: -2%; top: 0;
  width: 104%;
  height: 70px;
  overflow: visible;
  pointer-events: none;
}
.wire path { fill: none; stroke: var(--wire); stroke-width: 1.4; vector-effect: non-scaling-stroke; }

.print {
  --tilt: 0deg;
  --drop: 20px;
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  max-width: 250px;
  margin-top: var(--drop);
  text-decoration: none;
  color: inherit;
  display: block;
  outline: none;
}
.print__hang {
  transform-origin: 50% 0;
  transform: rotate(var(--tilt));
  transition: transform 0.8s var(--ease-chem);
}
.print__clip {
  display: block;
  width: 22px; height: 46px;
  margin: -8px auto -26px;
  position: relative; z-index: 2;
  filter: drop-shadow(0 3px 3px rgba(0, 0, 0, 0.45));
}
.print__paper {
  background: var(--paper);
  padding: 9px 9px 0;
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.5), 0 2px 4px rgba(0, 0, 0, 0.4);
}
.print__img { aspect-ratio: 4 / 5; overflow: hidden; background: #2a1712; }
.print__img img { width: 100%; height: 100%; object-fit: cover; }
.print__label {
  display: block;
  font-family: var(--f-hand);
  font-size: 1.45rem;
  line-height: 1;
  color: var(--pencil);
  padding: 0.55rem 0.15rem 0.5rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.print__text { padding: 1.3rem 0.1rem 0; }
.print__title {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(1.6rem, 2.2vw, 2rem);
  line-height: 1;
  text-transform: uppercase;
  margin: 0 0 0.45rem;
  color: var(--paper);
  transition: color 0.3s;
}
.print__desc { font-size: 0.95rem; color: var(--text-dim); margin: 0 0 0.7rem; }
.print__more { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 700; font-size: 0.92rem; color: var(--amber); }

.print:hover .print__hang,
.print:focus-visible .print__hang { animation: sway 1.6s var(--ease-chem); }
.print:hover .print__title,
.print:focus-visible .print__title { color: var(--amber); }
.print:focus-visible .print__paper { outline: 2px solid var(--amber); outline-offset: 5px; }

@keyframes sway {
  0% { transform: rotate(var(--tilt)); }
  22% { transform: rotate(calc(var(--tilt) + 2.6deg)); }
  48% { transform: rotate(calc(var(--tilt) - 1.6deg)); }
  72% { transform: rotate(calc(var(--tilt) + 0.7deg)); }
  100% { transform: rotate(var(--tilt)); }
}

/* ---------- Belichtungsreihe ---------- */

.bracket-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--space-5);
  align-items: end;
  margin-bottom: var(--space-5);
}
.strip {
  position: relative;
  background: #060302;
  padding: 34px 0;
  margin-inline: calc(-1 * var(--gutter));
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}
.strip::before,
.strip::after {
  content: "";
  position: absolute; left: 0; right: 0; height: 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='14'%3E%3Crect x='6' y='1' width='16' height='12' rx='2.5' fill='%23e6ddd0' fill-opacity='0.7'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  opacity: 0.5;
}
.strip::before { top: 10px; }
.strip::after { bottom: 10px; }
.strip__frames {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  padding-inline: var(--gutter);
  position: relative;
}
.frame { margin: 0; position: relative; }
.frame__img { aspect-ratio: 3 / 2; overflow: hidden; background: #1a0f0c; }
.frame__img img { width: 100%; height: 100%; object-fit: cover; transition: filter var(--t-day) var(--ease-chem); }
.frame figcaption {
  display: flex; justify-content: space-between; align-items: baseline;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  color: var(--amber);
  padding-top: 0.55rem;
  font-variant-numeric: tabular-nums;
}
.frame figcaption span:last-child { color: var(--text-faint); letter-spacing: 0.06em; }

.strip .frame:nth-child(1) img { filter: var(--f-safe) brightness(0.32); }
.strip .frame:nth-child(2) img { filter: var(--f-safe) brightness(0.58); }
.strip .frame:nth-child(3) img { filter: var(--f-safe); }
.strip .frame:nth-child(4) img { filter: var(--f-safe) brightness(1.55) contrast(0.85); }
.strip .frame:nth-child(5) img { filter: var(--f-safe) brightness(2.3) contrast(0.6); }
.strip.daylight .frame:nth-child(1) img { filter: var(--f-day) brightness(0.32); }
.strip.daylight .frame:nth-child(2) img { filter: var(--f-day) brightness(0.58); }
.strip.daylight .frame:nth-child(3) img { filter: var(--f-day); }
.strip.daylight .frame:nth-child(4) img { filter: var(--f-day) brightness(1.55) contrast(0.85); }
.strip.daylight .frame:nth-child(5) img { filter: var(--f-day) brightness(2.3) contrast(0.6); }

.grease {
  position: absolute;
  inset: -16px -14px -30px -14px;
  width: calc(100% + 28px);
  height: calc(100% + 46px);
  pointer-events: none;
  overflow: visible;
}
.grease path {
  fill: none; stroke: var(--safe-hi); stroke-width: 3.2; stroke-linecap: round;
  stroke-dasharray: 900; stroke-dashoffset: 0;
}
.js .grease path { stroke-dashoffset: 900; transition: stroke-dashoffset 1.6s var(--ease-chem) 0.5s; }
.js .strip.daylight .grease path { stroke-dashoffset: 0; }
.grease-note {
  position: absolute;
  left: 50%; top: calc(100% + 2px);
  translate: -50% 0;
  font-family: var(--f-hand);
  font-size: 1.7rem;
  line-height: 1;
  color: var(--safe-hi);
  white-space: nowrap;
  rotate: -3deg;
}
.strip__legend { margin-top: 3.4rem; color: var(--text-faint); font-size: 0.92rem; }

/* ---------- Labor / Ausrüstung ---------- */

.lab {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}
.lab__photo { position: sticky; top: 110px; margin: 0; }
.lab__photo .print__paper { padding-bottom: 0; }
.lab__photo .print__img { aspect-ratio: 4 / 5; }

.inventory { margin: 0; }
.inventory__row {
  display: grid;
  grid-template-columns: 11rem minmax(0, 1fr);
  gap: var(--space-3);
  padding: 1.15rem 0;
  border-bottom: 1px dashed rgba(242, 237, 228, 0.18);
}
.inventory__row:first-child { border-top: 1px dashed rgba(242, 237, 228, 0.18); }
.inventory dt {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber);
  padding-top: 0.15rem;
}
.inventory dd { margin: 0; }
.inventory strong { display: block; font-weight: 700; font-size: 1.12rem; color: var(--paper); }
.inventory span { color: var(--text-dim); font-size: 0.97rem; }

/* ---------- Ablauf ---------- */

.process {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-4);
  counter-reset: step;
  position: relative;
}
.process::before {
  content: "";
  position: absolute; left: 0; right: 0; top: 2.35rem;
  height: 1px; background: var(--line);
}
.process li { position: relative; }
.process__num {
  display: grid; place-items: center;
  width: 4.7rem; height: 4.7rem;
  border-radius: 50%;
  background: var(--dark);
  border: 1px solid rgba(232, 131, 74, 0.5);
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 2rem;
  color: var(--amber);
  margin-bottom: var(--space-3);
  position: relative;
}
.process__num::after {
  content: ""; position: absolute; inset: -6px; border-radius: 50%;
  border: 1px dashed rgba(232, 131, 74, 0.25);
}
.process h3 { font-family: var(--f-display); font-weight: 800; font-size: 1.7rem; text-transform: uppercase; margin: 0 0 0.15rem; line-height: 1; }
.process .hand { display: block; color: var(--amber); font-size: 1.5rem; line-height: 1.1; margin-bottom: 0.6rem; }
.process p { color: var(--text-dim); margin: 0; font-size: 0.98rem; }

/* ---------- Abschluss ---------- */

.closer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(6rem, 14vw, 11rem);
  text-align: left;
}
.closer__media { position: absolute; inset: 0; z-index: -2; margin: 0; }
.closer__media img { width: 100%; height: 100%; object-fit: cover; }
.closer::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(13, 8, 7, 0.95) 0%, rgba(13, 8, 7, 0.75) 45%, rgba(13, 8, 7, 0.35) 100%);
}
.closer .h2 { font-size: clamp(2.8rem, 7vw, 5.6rem); max-width: 12ch; }
.closer .lead { margin-bottom: var(--space-4); }

/* ---------- Fußzeile ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  padding-block: var(--space-5) var(--space-4);
  background: #090504;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr));
  gap: var(--space-4);
}
.footer-grid p { color: var(--text-faint); max-width: 34ch; font-size: 0.95rem; }
.footer-title {
  font-family: var(--f-display); font-weight: 700; font-size: 1rem;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--amber);
  margin: 0 0 0.8rem;
}
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.45rem; }
.footer-list a { color: var(--text-dim); text-decoration: none; font-size: 0.97rem; }
.footer-list a:hover { color: var(--paper); text-decoration: underline; }
.footer-base {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-2);
  margin-top: var(--space-5); padding-top: var(--space-3);
  border-top: 1px solid var(--line);
  color: var(--text-faint); font-size: 0.88rem;
}

/* ---------- Leistungsseiten ---------- */

.page-hero {
  padding-block: clamp(8rem, 14vw, 10.5rem) var(--space-5);
}
.page-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}
.crumbs { font-size: 0.92rem; color: var(--text-faint); margin: 0 0 var(--space-3); }
.crumbs a { color: var(--text-dim); }
.page-title {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(3.4rem, 9vw, 6rem);
  line-height: 0.9;
  text-transform: uppercase;
  margin: 0 0 var(--space-3);
  text-wrap: balance;
}
.page-hero .lead { margin-bottom: var(--space-4); }
.area-index { list-style: none; padding: 0; margin: 0 0 var(--space-4); display: flex; flex-wrap: wrap; gap: 0.5rem 1.6rem; }
.area-index a {
  font-family: var(--f-hand); font-size: 1.6rem; line-height: 1.2;
  color: var(--amber); text-decoration: none;
}
.area-index a:hover { text-decoration: underline; text-underline-offset: 0.18em; }

.hero-print { max-width: 440px; justify-self: center; width: 100%; }
.hero-print .print__hang { --tilt: 2.2deg; }
.hero-print .print__label { font-size: 1.7rem; }
.hero-print__wire {
  height: 1px; background: var(--wire);
  margin-inline: -30vw;
  transform: rotate(-1.2deg);
  margin-bottom: 4px;
}

.areas { display: grid; gap: clamp(4.5rem, 9vw, 7.5rem); }
.area {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 5.5rem);
  align-items: center;
  scroll-margin-top: 110px;
}
.area:nth-child(even) .area__media { order: 2; }
.area__media { margin: 0; position: relative; }
.area__media .print__paper { padding-bottom: 9px; }
.area__media .print__img { aspect-ratio: 3 / 2; }
.area__media .print__label { position: absolute; bottom: -2.4rem; left: 0.3rem; color: var(--text-faint); font-size: 1.5rem; padding: 0; }
.area__text .h2 { font-size: clamp(2.4rem, 4.6vw, 3.6rem); }
.area__text p { color: var(--text-dim); max-width: 56ch; }
.ticks { list-style: none; padding: 0; margin: var(--space-3) 0 0; display: grid; gap: 0.6rem; }
.ticks li { display: grid; grid-template-columns: 1.3rem 1fr; gap: 0.7rem; align-items: start; color: var(--paper); }
.ticks svg { width: 1.2rem; height: 1.2rem; margin-top: 0.22rem; color: var(--amber); }

.gear {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: var(--space-5);
  align-items: start;
}

.others { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-3); }
.others .print { max-width: none; margin-top: 0; }
.others .print__img { aspect-ratio: 1 / 1; }

/* ---------- Kontakt ---------- */

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 6vw, 5.5rem);
  align-items: start;
}
.contact__aside .lead { margin-bottom: var(--space-4); }
.direct { margin: 0 0 var(--space-4); }
.direct div { padding: 0.9rem 0; border-bottom: 1px dashed rgba(242, 237, 228, 0.18); }
.direct dt { font-family: var(--f-display); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--amber); font-size: 0.98rem; }
.direct dd { margin: 0.15rem 0 0; color: var(--paper); }
.steps-small { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.9rem; counter-reset: s; }
.steps-small li { display: grid; grid-template-columns: 2.2rem 1fr; gap: 0.7rem; color: var(--text-dim); counter-increment: s; }
.steps-small li::before {
  content: counter(s);
  display: grid; place-items: center;
  width: 2.2rem; height: 2.2rem; border-radius: 50%;
  border: 1px solid rgba(232, 131, 74, 0.5);
  font-family: var(--f-display); font-weight: 800; color: var(--amber);
}

/* Auftragstasche: das Formular als Laborauftrag auf Papier */
.order {
  position: relative;
  background: var(--paper);
  color: var(--pencil);
  padding: clamp(1.6rem, 4vw, 2.8rem);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.55), 0 3px 6px rgba(0, 0, 0, 0.4);
  rotate: 0.4deg;
}
.order__head {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  border-bottom: 2px solid var(--pencil);
  padding-bottom: 0.8rem; margin-bottom: 1.6rem;
}
.order__head h2 {
  font-family: var(--f-display); font-weight: 800; font-size: clamp(1.8rem, 3vw, 2.3rem);
  text-transform: uppercase; line-height: 1; margin: 0; color: #1d1714;
}
.order__head span { font-family: var(--f-display); font-weight: 700; letter-spacing: 0.14em; color: var(--blood); font-size: 0.95rem; }

.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.4rem; }
.field { display: grid; gap: 0.35rem; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label,
.field legend {
  font-weight: 700; font-size: 0.86rem; letter-spacing: 0.04em; text-transform: uppercase;
  color: #2a2320;
}
.field .req { color: var(--blood); }
.field input,
.field select,
.field textarea {
  font: inherit;
  font-size: 1rem;
  color: #1d1714;
  background: rgba(255, 255, 255, 0.55);
  border: 0;
  border-bottom: 1.5px solid #8f8379;
  border-radius: 2px 2px 0 0;
  padding: 0.7rem 0.75rem;
  transition: border-color 0.25s, background-color 0.25s;
  caret-color: var(--safe);
  width: 100%;
}
.field textarea { min-height: 9rem; resize: vertical; line-height: 1.5; }
.field input::placeholder,
.field textarea::placeholder { color: #6e625a; }
.field input:hover,
.field select:hover,
.field textarea:hover { background: rgba(255, 255, 255, 0.8); }
.field input:focus,
.field select:focus,
.field textarea:focus { outline: none; border-bottom-color: var(--safe); background: #fff; box-shadow: 0 2px 0 var(--safe); }
.field [aria-invalid="true"] { border-bottom-color: #a3160b; background: #fbe9e4; }
.field__error { color: #a3160b; font-size: 0.88rem; font-weight: 500; min-height: 0; }
.field__error:empty { display: none; }
.field ::selection { background: var(--amber); color: #1d1714; }

fieldset.field { border: 0; padding: 0; margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.3rem; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span {
  display: inline-block;
  padding: 0.5rem 0.9rem;
  border: 1.5px solid #8f8379;
  border-radius: 999px;
  font-weight: 500; font-size: 0.95rem;
  color: #2a2320;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
  user-select: none;
}
.chip input:hover + span { border-color: var(--pencil); }
.chip input:checked + span { background: #1d1714; border-color: #1d1714; color: var(--paper); }
.chip input:focus-visible + span { outline: 2px solid var(--safe); outline-offset: 2px; }

.consent { display: grid; grid-template-columns: 1.4rem 1fr; gap: 0.7rem; align-items: start; font-size: 0.93rem; color: #3a322d; }
.consent input { width: 1.2rem; height: 1.2rem; margin-top: 0.2rem; accent-color: var(--safe); }
.consent a { color: var(--blood); font-weight: 700; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.order__foot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem;
  margin-top: 1.8rem; padding-top: 1.4rem; border-top: 2px solid var(--pencil);
}
.readout {
  display: inline-flex; align-items: center; gap: 0.75rem;
  background: #120a08;
  color: var(--amber);
  font-family: var(--f-display); font-weight: 700;
  letter-spacing: 0.1em;
  padding: 0.6rem 0.9rem;
  border-radius: 6px;
  font-variant-numeric: tabular-nums;
  min-width: 14rem;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2), 0 2px 6px rgba(0, 0, 0, 0.35) inset;
}
.readout__time { font-size: 1.35rem; color: var(--safe-hi); min-width: 3.6ch; }
.readout__msg { font-size: 0.95rem; text-transform: uppercase; color: var(--paper-2); }
.readout[data-state="error"] .readout__time { color: #ff7a5c; }
.readout[data-state="done"] .readout__time { color: #9bd17a; }
.order .btn--timer[disabled] { opacity: 0.6; cursor: progress; transform: none; }
.order__note { margin-top: 1rem; font-size: 0.85rem; color: #6b5f57; }

/* ---------- Rechtstexte ---------- */

.legal { padding-block: clamp(8rem, 14vw, 10rem) var(--space-6); }
.legal__body { max-width: 72ch; }
.legal h1 { font-family: var(--f-display); font-weight: 800; font-size: clamp(3rem, 8vw, 5rem); line-height: 0.92; text-transform: uppercase; margin: 0 0 var(--space-3); }
.legal h2 { font-family: var(--f-display); font-weight: 800; font-size: 1.9rem; text-transform: uppercase; line-height: 1; margin: var(--space-5) 0 var(--space-2); color: var(--paper); }
.legal h3 { font-weight: 700; font-size: 1.1rem; margin: var(--space-4) 0 0.4rem; color: var(--paper); }
.legal p,
.legal li { color: var(--text-dim); }
.legal ul { padding-left: 1.2rem; }
.legal address { font-style: normal; color: var(--paper); line-height: 1.7; }
.notice {
  border: 1px dashed var(--amber);
  background: rgba(232, 131, 74, 0.08);
  padding: 1rem 1.2rem;
  color: var(--paper);
  margin: var(--space-3) 0 var(--space-4);
}
.notice p { margin: 0; color: var(--paper); }
.todo {
  background: rgba(232, 131, 74, 0.16);
  color: var(--amber);
  padding: 0 0.3em;
  border-radius: 3px;
  outline: 1px dashed rgba(232, 131, 74, 0.6);
}

/* ---------- Bewegung ---------- */

.reveal { opacity: 1; }
.js .reveal { translate: 0 18px; filter: blur(3px); transition: translate 1.2s var(--ease-chem), filter 1.2s var(--ease-chem); }
.js .reveal.is-in { translate: 0 0; filter: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .develop img, .js img.develop { filter: var(--f-safe); transition: none; }
  .js .reveal { translate: none; filter: none; transition: none; }
  .print:hover .print__hang, .print:focus-visible .print__hang { animation: none; }
  .scroll-cue::after, .btn:hover .dial__hand { animation: none; }
  .js .grease path { transition: none; stroke-dashoffset: 0; }
  @view-transition { navigation: none; }
}

/* ---------- Responsiv ---------- */

@media (max-width: 1080px) {
  .nav__list { gap: 1rem; }
  .nav__list a { font-size: 0.92rem; }
}

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .nav__list {
    position: fixed;
    inset: 76px 0 auto 0;
    flex-direction: column;
    gap: 0;
    background: rgba(13, 8, 7, 0.97);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem var(--gutter) 1.4rem;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s var(--ease-chem), transform 0.35s var(--ease-chem), visibility 0.35s;
  }
  .nav__list a { display: block; padding: 0.95rem 0; font-size: 1.15rem; border-bottom: 1px solid var(--line); }
  .masthead.is-open .nav__list { opacity: 1; visibility: visible; transform: none; }
  .masthead.is-open { background: rgba(13, 8, 7, 0.97); }

  .line-scroller {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    padding-bottom: 1.5rem;
  }
  .line-track { width: max-content; justify-content: flex-start; gap: 1.4rem; }
  .line-track .print { flex: 0 0 auto; width: min(66vw, 250px); max-width: none; scroll-snap-align: center; }
  .wire { left: 0; right: 0; width: 100%; }

  .section-head--split,
  .bracket-intro,
  .lab,
  .gear,
  .page-hero__grid,
  .contact { grid-template-columns: 1fr; }
  .lab__photo { position: relative; top: 0; max-width: 420px; }
  .process { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process::before { display: none; }
  .others { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .hero-print { max-width: 360px; }
}

@media (max-width: 720px) {
  body { font-size: 1rem; }
  .masthead__bar { min-height: 64px; }
  .nav__list { inset: 64px 0 auto 0; }
  .nav > .btn { display: none; }
  .wordmark { font-size: 1.4rem; }
  .rebate { width: 30px; }
  .rebate::before { margin-left: 2px; width: 12px; background-size: 12px auto; }
  .rebate__text { display: none; }
  .hero__content { padding-right: 34px; }
  .area { grid-template-columns: 1fr; }
  .area:nth-child(even) .area__media { order: 0; }
  .strip__frames { grid-template-columns: repeat(5, minmax(150px, 1fr)); overflow-x: auto; padding-bottom: 0.5rem; }
  .strip { overflow: hidden; }
  .strip__frames { scroll-snap-type: x mandatory; }
  .frame { scroll-snap-align: center; }
  .inventory__row { grid-template-columns: 1fr; gap: 0.25rem; }
  .fields { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; }
  .others { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .readout { min-width: 0; width: 100%; }
  .order__foot .btn { width: 100%; justify-content: center; }
}

/* Abzüge außerhalb der Leine: volle Breite */
.area__media.print,
.lab__photo.print { max-width: none; margin-top: 0; }
.area__media.print:focus-visible .print__paper { outline: 2px solid var(--amber); outline-offset: 5px; }
.settled .develop img, .settled img.develop { transition: none; }

/* Korrekturen nach der ersten Sichtung */
html, body { overflow-x: clip; }
.page-hero { overflow: hidden; }
.consent,
.field label.consent { text-transform: none; letter-spacing: 0; font-weight: 400; font-size: 0.93rem; color: #3a322d; }
.strip { padding-bottom: 70px; }
.settled .grease path { stroke-dashoffset: 0; transition: none; }
@media (max-width: 720px) {
  .closer::before { background: linear-gradient(180deg, rgba(13, 8, 7, 0.9) 0%, rgba(13, 8, 7, 0.82) 60%, rgba(13, 8, 7, 0.6) 100%); }
  .strip { padding-bottom: 66px; }
}

/* ---------- Nachbesserungen aus der Abschlussprüfung ---------- */

/* Die Leine bricht schon in den ersten Bildschirm */
.hero { min-height: max(600px, calc(100svh - 150px)); }
.section--line { padding-top: 0; }
.section--line .line-scroller { margin-top: -6px; }
.section-head--after { margin: var(--space-5) 0 0; }

/* Ablauf als Entwicklertimer */
.process::before { top: 1.7rem; }
.process__num {
  width: auto; height: auto;
  display: inline-flex; align-items: baseline; gap: 0.55rem;
  border-radius: 6px;
  border: 0;
  background: #120a08;
  padding: 0.55rem 0.9rem 0.5rem;
  font-size: 1.9rem;
  line-height: 1;
  color: var(--safe-hi);
  font-variant-numeric: tabular-nums;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08), 0 2px 6px rgba(0, 0, 0, 0.5) inset, 0 0 0 1px rgba(232, 131, 74, 0.28);
}
.process__num::after { content: none; }
.process__num span { font-size: 0.85rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--paper-2); font-weight: 700; }

/* Leistungsseiten: Beschriftung auf dem Papierrand, Filmrand am Kopf */
.area__media .print__paper { padding-bottom: 0; }
.area__media .print__label { position: static; color: var(--pencil); font-size: 1.45rem; padding: 0.55rem 0.15rem 0.5rem; }
.page-hero--rebate { position: relative; }
.page-hero--rebate .rebate__text { padding-top: 9rem; }
@media (max-width: 1180px) { .page-hero--rebate .rebate { display: none; } }

/* Belichtungsreihe: nur 0 EV im Tageslicht */
.strip { padding-bottom: 34px; }
.frame figcaption { flex-direction: column; align-items: flex-start; gap: 0.15rem; }
.strip .frame:nth-child(3) img,
.strip.daylight .frame:nth-child(3) img { filter: var(--f-day); }
.strip.daylight .frame:nth-child(1) img { filter: var(--f-safe) brightness(0.32); }
.strip.daylight .frame:nth-child(2) img { filter: var(--f-safe) brightness(0.58); }
.strip.daylight .frame:nth-child(4) img { filter: var(--f-safe) brightness(1.55) contrast(0.85); }
.strip.daylight .frame:nth-child(5) img { filter: var(--f-safe) brightness(2.3) contrast(0.6); }
.grease { inset: -14px -12px -12px -12px; width: calc(100% + 24px); height: calc(100% + 26px); }
.grease-note {
  top: auto; bottom: 3.4rem; left: auto; right: 0.6rem; translate: none;
  color: #ff8a5e;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.85), 0 0 8px rgba(0, 0, 0, 0.6);
  font-size: 1.8rem;
  bottom: 4.6rem;
}

/* Formular: Auswahl- und Datumsfeld im Papier-Look */
.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 2.6rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 8l5 5 5-5' fill='none' stroke='%23c13d1d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.8rem center;
  background-size: 1.1rem;
  cursor: pointer;
}
.field input[type="date"] { min-height: 2.95rem; }
.field input[type="date"]::-webkit-calendar-picker-indicator {
  cursor: pointer;
  opacity: 1;
  width: 1.1rem; height: 1.1rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Crect x='3' y='4.5' width='14' height='12' rx='1.5' fill='none' stroke='%23c13d1d' stroke-width='1.8'/%3E%3Cpath d='M3 8.5h14M7 2.5v4M13 2.5v4' stroke='%23c13d1d' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.field input[type="date"]::-webkit-datetime-edit { color: #1d1714; }

@media (max-width: 960px) {
  .section-head--split,
  .bracket-intro { gap: var(--space-2); }
  .bracket-intro { margin-bottom: var(--space-4); }
}

/* Handy: alle fünf Abzüge auf einen Blick, zwei pro Leine */
@media (max-width: 720px) {
  .line-scroller { overflow: visible; margin-inline: 0; padding: 0; }
  .line-track {
    width: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.6rem 1.1rem;
    padding-top: 14px;
  }
  .line-track .wire { display: none; }
  .line-track .print { width: auto; margin-top: 0; }
  .line-track .print::before {
    content: "";
    position: absolute; top: 4px; left: -0.6rem; right: -0.6rem;
    height: 1px; background: var(--wire);
  }
  .line-track .print:last-of-type:nth-of-type(odd) { grid-column: 1 / -1; justify-self: center; width: calc(50% - 0.55rem); }
  .line-track .print__label { font-size: 1.25rem; }
  .line-track .print__title { font-size: 1.45rem; }
  .line-track .print__desc { font-size: 0.9rem; }
  .strip__frames { padding-block: 18px 6px; }
  .grease-note { font-size: 1.45rem; bottom: 4.4rem; right: 0.3rem; }
}

/* Zweite Nachbesserung: Überschrift vor der Leine, Kreis nur ums Bild */
.hero { min-height: max(600px, calc(100svh - 230px)); }
.hero__content { padding-block: 6.5rem 3rem; }
.section--line { padding-top: 1.6rem; padding-bottom: var(--space-5); }
.section--line + .section { padding-top: var(--space-5); }
.section-head--rail {
  max-width: none;
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem 2.5rem; flex-wrap: wrap;
  margin-bottom: 1.4rem;
}
.section-head--rail .h2 { font-size: clamp(1.9rem, 2.8vw, 2.6rem); margin: 0; }
.section-head--rail .lead { font-size: 1rem; max-width: 52ch; }
.grease { inset: -10px auto auto -10px; width: calc(100% + 20px); height: auto; aspect-ratio: 3 / 2.05; }
@media (max-width: 720px) { .hero .rebate { top: 64px; } }

/* Gemeinsame Bausteine der Leistungsseiten */
.field__opt { font-weight: 400; text-transform: none; letter-spacing: 0; color: #6b5f57; }
.pk-note { margin-top: var(--space-4); font-size: 0.9rem; max-width: 70ch; opacity: 0.85; }
.rooms { margin-top: var(--space-5); padding-top: var(--space-3); border-top: 1px solid currentColor; border-color: color-mix(in srgb, currentColor 18%, transparent); display: flex; flex-wrap: wrap; gap: 0.8rem 2rem; align-items: baseline; }
.rooms p { margin: 0; font-family: var(--f-display); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.95rem; opacity: 0.8; }
.rooms ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.6rem 1.6rem; }
.rooms a { display: inline-flex; align-items: center; gap: 0.35rem; font-weight: 700; text-decoration: none; }
.rooms a:hover { text-decoration: underline; }

/* ---------- Einheitlicher Hintergrund auf allen Leistungsseiten ---------- */
html body.page-video, html body.page-photo, html body.page-3d, html body.page-edit, html body.page-web {
  background: var(--dark);
  background-image: none;
  color: var(--text);
}
html .page-video .safelight, html .page-photo .safelight, html .page-3d .safelight, html .page-edit .safelight, html .page-web .safelight { display: block; }
html .page-video .grain, html .page-photo .grain, html .page-3d .grain, html .page-edit .grain, html .page-web .grain { opacity: 0.07; }
html .page-video .site-footer, html .page-photo .site-footer, html .page-3d .site-footer, html .page-edit .site-footer, html .page-web .site-footer { background: #090504; }

/* ---------- Technik im Detail (Grundgerüst, jeder Raum färbt es ein) ---------- */
.tech { --tech-accent: var(--amber); padding-block: var(--space-5); position: relative; }
.tech__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-3) var(--space-5); align-items: end; margin-bottom: var(--space-4); }
.tech__h2 { font-family: var(--f-display); font-weight: 800; font-size: clamp(2.5rem, 5vw, 4.2rem); line-height: 0.95; text-transform: uppercase; margin: 0; }
.tech__lead { color: var(--text-dim); margin: 0; max-width: 56ch; font-size: clamp(1.02rem, 1.3vw, 1.15rem); }
.tech__grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.tech__specs { margin: 0; padding: 0.4rem 1.4rem 0.6rem; }
.tech__row { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr); gap: 1rem; padding: 0.8rem 0; border-bottom: 1px solid var(--line); }
.tech__row:last-child { border-bottom: 0; }
.tech__row dt { font-family: var(--f-display); font-weight: 700; font-size: 0.95rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--tech-accent); padding-top: 0.12rem; }
.tech__row dd { margin: 0; font-weight: 600; }
.tech__notes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 2.4rem; }
.tech__note h3 { font-family: var(--f-display); font-weight: 800; font-size: 1.45rem; line-height: 1.05; text-transform: uppercase; margin: 0 0 0.55rem; padding-top: 0.9rem; border-top: 2px solid var(--tech-accent); }
.tech__note p { margin: 0; color: var(--text-dim); font-size: 0.98rem; }
.tech__src { margin: var(--space-3) 0 0; font-size: 0.86rem; color: var(--text-faint); }
@media (max-width: 960px) {
  .tech__head, .tech__grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .tech__notes { grid-template-columns: 1fr; }
  .tech__row { grid-template-columns: 1fr; gap: 0.2rem; }
}

/* ---------- Langsame Bildbewegung (Ken Burns): Zoom und Schwenk, je Stelle unterschiedlich ---------- */
@keyframes kb-in { from { transform: scale(1.02) translate3d(0, 0, 0); } to { transform: scale(1.12) translate3d(-1.6%, -1.1%, 0); } }
@keyframes kb-out { from { transform: scale(1.13) translate3d(1.2%, 1%, 0); } to { transform: scale(1.03) translate3d(0, 0, 0); } }
@keyframes kb-pan { from { transform: scale(1.1) translate3d(-2.4%, 0, 0); } to { transform: scale(1.1) translate3d(2.4%, 0, 0); } }
@keyframes kb-rise { from { transform: scale(1.1) translate3d(0, 2%, 0); } to { transform: scale(1.06) translate3d(0, -2%, 0); } }

.hero__media img { animation: kb-in 30s ease-in-out infinite alternate; }
.closer__media img { animation: kb-pan 34s ease-in-out infinite alternate; }
.print__img img { animation: kb-in 22s ease-in-out infinite alternate; }
.line-track .print:nth-of-type(even) .print__img img { animation-name: kb-out; animation-duration: 26s; }
.line-track .print:nth-of-type(3n) .print__img img { animation-name: kb-rise; animation-duration: 24s; }
.lab__photo .print__img img { animation-name: kb-pan; animation-duration: 32s; }

@media (prefers-reduced-motion: reduce) {
  .hero__media img, .closer__media img, .print__img img { animation: none; }
}

/* ---------- Kopfleiste: Navigation in der Überschriftenschrift, Großbuchstaben ---------- */
.wordmark { color: var(--paper); }
.wordmark span { color: var(--safe-hi); }
.nav__list a {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.12rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.nav__list a[aria-current="page"] { text-underline-offset: 0.45em; }
.masthead .btn {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
@media (max-width: 1080px) { .nav__list a { font-size: 1rem; letter-spacing: 0.06em; } }
@media (max-width: 960px) { .nav__list a { font-size: 1.35rem; } }

/* ---------- Einwilligungsabfrage ---------- */
.consent-box {
  position: fixed; left: 1.2rem; bottom: 1.2rem; z-index: 80;
  width: min(460px, calc(100vw - 2.4rem));
  background: #160c0a; color: var(--paper);
  border: 1px solid rgba(242, 237, 228, 0.16);
  border-radius: 12px;
  padding: 1.3rem 1.4rem 1.1rem;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.6);
  font-family: var(--f-body);
}
.consent-box[hidden] { display: none; }
.consent-box__title { font-family: var(--f-display); font-weight: 800; font-size: 1.5rem; text-transform: uppercase; margin: 0 0 0.5rem; line-height: 1; }
.consent-box__text { margin: 0 0 1rem; font-size: 0.93rem; color: var(--text-dim); }
.consent-box__text a { color: var(--paper); }
.consent-box__settings { display: grid; gap: 0.6rem; margin: 0 0 1rem; padding: 0.8rem; border-radius: 8px; background: rgba(242, 237, 228, 0.04); }
.consent-opt { display: grid; grid-template-columns: 1.2rem 1fr; gap: 0.6rem; align-items: start; font-size: 0.9rem; color: var(--text-dim); }
.consent-opt input { width: 1.1rem; height: 1.1rem; margin-top: 0.15rem; accent-color: var(--safe); }
.consent-opt strong { display: block; color: var(--paper); font-weight: 700; }
.consent-box__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
.consent-btn {
  font: inherit; font-weight: 700; font-size: 0.95rem;
  padding: 0.8rem 0.9rem; border-radius: 999px; cursor: pointer;
  color: var(--paper); background: transparent;
  border: 1.5px solid rgba(242, 237, 228, 0.55);
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.consent-btn:hover { border-color: var(--paper); background: rgba(242, 237, 228, 0.08); }
.consent-btn:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }
.consent-box__more { display: block; margin: 0.8rem auto 0; font: inherit; font-size: 0.9rem; color: var(--text-dim); background: none; border: 0; text-decoration: underline; text-underline-offset: 0.3em; cursor: pointer; }
.consent-box__more:hover { color: var(--paper); }
.footer-consent { font: inherit; font-size: 0.97rem; color: var(--text-dim); background: none; border: 0; padding: 0; cursor: pointer; text-align: left; }
.footer-consent:hover { color: var(--paper); text-decoration: underline; }

/* ---------- Rechtsseiten: Übersicht und Tabelle ---------- */
.legal__stand { color: var(--text-faint); font-size: 0.9rem; margin: -0.5rem 0 var(--space-3); }
.legal__lead { color: var(--text-dim); font-size: 1.1rem; }
.legal__index { list-style: none; padding: 0; margin: var(--space-4) 0; display: grid; gap: 0.8rem; }
.legal__index a { display: grid; gap: 0.2rem; padding: 1.1rem 1.3rem; border: 1px solid var(--line); border-radius: 10px; text-decoration: none; transition: border-color 0.2s, background-color 0.2s; }
.legal__index a:hover { border-color: var(--amber); background: rgba(242, 237, 228, 0.03); }
.legal__index strong { font-family: var(--f-display); font-weight: 800; font-size: 1.5rem; text-transform: uppercase; color: var(--paper); }
.legal__index span { color: var(--text-dim); font-size: 0.95rem; }
.legal__table { margin: var(--space-3) 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.legal__tr { display: grid; grid-template-columns: 1fr 1.2fr 2fr 1fr; gap: 1rem; padding: 0.8rem 1rem; border-bottom: 1px solid var(--line); font-size: 0.93rem; color: var(--text-dim); }
.legal__tr:last-child { border-bottom: 0; }
.legal__tr--head { font-family: var(--f-display); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--amber); font-size: 0.85rem; background: rgba(242, 237, 228, 0.03); }
@media (max-width: 720px) {
  .legal__tr { grid-template-columns: 1fr; gap: 0.2rem; }
  .legal__tr--head { display: none; }
  .consent-box { left: 0.6rem; right: 0.6rem; bottom: 0.6rem; width: auto; }
}
.consent-box__settings[hidden] { display: none; }
