/* ============================================================
   BASE — Reset, Typografie, Bildschutz, A11y
   ============================================================ */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--step-0);
  font-weight: 400;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  min-height: 100vh;
}

img, picture, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }

::selection { background: var(--accent); color: #14110f; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ---- Typo-Rollen ---- */
.display {
  font-family: var(--font-display);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: -0.015em;
  font-optical-sizing: auto;
}
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.06; }

.eyebrow {
  font-family: var(--font-body);
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
}
.lede {
  font-size: var(--step-1);
  line-height: 1.5;
  color: var(--text);
  max-width: var(--measure);
  font-weight: 380;
}
.muted { color: var(--muted); }
em, .it { font-style: italic; }

/* ---- Layout-Primitives ---- */
.shell {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: var(--space-section); position: relative; }

.skip-link {
  position: absolute;
  left: -999px; top: 0; z-index: 200;
  background: var(--accent); color: #14110f;
  padding: 0.75rem 1.25rem;
  font-weight: 600; letter-spacing: 0.06em;
}
.skip-link:focus { left: 1rem; top: 1rem; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ---- Warmer Film-Grain über der Bühne ---- */
.grain {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  opacity: 0.05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
@media (prefers-reduced-motion: reduce) { .grain { display: none; } }

/* ============================================================
   BILDSCHUTZ — Deterrent (kein absoluter Schutz möglich)
   Nur web-aufgelöste, EXIF-freie Kopien werden ausgeliefert;
   Originale liegen außerhalb des Web-Roots.
   ============================================================ */
img {
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  user-drag: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none; /* iOS „Bild sichern"-Menü aus */
}
.protect {
  position: relative;
  -webkit-user-select: none;
  user-select: none;
}
/* transparente Schutzschicht über jedem Foto: fängt Rechtsklick/Drag */
.protect__guard {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: transparent;
}
