/* ──────────────────────────────────────────────────────────────
   paehtz.de — One-Pager
   Editorial × System · Fraunces / Geist / JetBrains Mono
   ────────────────────────────────────────────────────────────── */

/* ── Self-hosted Variable Fonts (DSGVO-konform, kein externes CDN) */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('fonts/Fraunces.woff2') format('woff2-variations'),
       url('fonts/Fraunces.woff2') format('woff2');
}
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url('fonts/Fraunces-Italic.woff2') format('woff2-variations'),
       url('fonts/Fraunces-Italic.woff2') format('woff2');
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url('fonts/JetBrainsMono.woff2') format('woff2-variations'),
       url('fonts/JetBrainsMono.woff2') format('woff2');
}
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('fonts/Geist.woff2') format('woff2-variations'),
       url('fonts/Geist.woff2') format('woff2');
}

:root {
  /* palette */
  --bg:          #F2EFE8;
  --bg-deep:    #ECE8DF;
  --ink:         #0E0E0C;
  --ink-soft:    #2A2826;
  --muted:       #8A857C;
  --rule:        #C8C3B7;
  --accent:      #E5471D;
  --accent-soft: #F5B79F;
  --inv:         #0E0E0C;
  --inv-text:    #F2EFE8;

  /* type */
  --font-display: "Fraunces", "Times New Roman", serif;
  --font-body:    "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* spacing / sizing */
  --maxw: 1320px;
  --gutter: clamp(20px, 4vw, 56px);
  --section-py: clamp(80px, 12vw, 180px);

  /* motion */
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ── reset ─────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body, h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
::selection { background: var(--accent); color: var(--bg); }

/* ── base ──────────────────────────────────────────────────────── */
html, body { background: var(--bg); color: var(--ink); }
html {
  /* clip horizontal overflow auf root-ebene — verhindert dass fixed/transformed elements scrollbar erzeugen */
  overflow-x: clip;
}
body {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.55;
  font-size: clamp(15px, 1.05vw, 17px);
  font-feature-settings: "ss01", "ss02", "cv11";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

p { color: var(--ink-soft); max-width: 62ch; }
em { font-style: italic; font-family: var(--font-display); font-weight: 400; letter-spacing: -0.005em; }
strong { font-weight: 500; color: var(--ink); }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

/* ── grain overlay ─────────────────────────────────────────────── */
.grain {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.05;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.6 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  background-size: 240px 240px;
  will-change: transform;
}

/* ── status bar ────────────────────────────────────────────────── */
.status-bar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--ink);
  color: var(--inv-text);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  height: 34px;
}
.status-bar__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 0 var(--gutter);
  height: 100%;
}
.status-bar__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  position: relative;
}
.status-bar__dot::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  opacity: 0;
  transform: scale(0.7);
  animation: pulse 2.4s var(--ease) infinite;
  will-change: transform, opacity;
}
@keyframes pulse {
  0%   { opacity: 0.7; transform: scale(0.7); }
  70%  { opacity: 0;   transform: scale(2.2); }
  100% { opacity: 0;   transform: scale(2.2); }
}
.status-bar__time { opacity: 0.75; white-space: nowrap; }

.ticker {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.ticker {
  contain: layout paint;
}
.ticker__track {
  display: inline-flex;
  gap: 18px;
  white-space: nowrap;
  animation: marquee 5000s linear infinite;
  padding-left: 100%;
  will-change: transform;
}
/* pause top ticker while user scrolls — kills jank */
body[data-scrolling] .ticker__track {
  animation-play-state: paused;
}

/* when JS takes over: disable the CSS animation, normalize layout */
.marquee__track[data-scroll-driven],
.ticker__track[data-scroll-driven] {
  animation: none !important;
  transition: none;
}
.ticker__track[data-scroll-driven] {
  padding-left: 0 !important;
}

/* entrance-only horizontal slide — elemente sliden beim ersten sichtbarwerden ein, danach stehen sie still */
[data-parallax-x] {
  transform: translateX(var(--enter-x, 0px));
  transition: transform 1.6s cubic-bezier(.18,.7,.22,1);
  will-change: transform;
}
[data-parallax-x][data-in-x] {
  transform: translateX(0);
}
.ticker__track > span:not(:last-child)::after { content: ""; }

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── section indicator ────────────────────────────────────────── */
.section-indicator {
  position: fixed;
  bottom: 24px; right: var(--gutter);
  top: auto;
  z-index: 60;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--bg);
  padding: 6px 10px;
  border: 1px solid var(--ink);
  display: inline-flex; gap: 6px;
  align-items: center;
  transition: opacity .4s var(--ease), transform .4s var(--ease);
  box-shadow: 0 6px 24px -10px rgba(14,14,12,0.25);
}
.section-indicator__num {
  color: var(--accent);
  font-weight: 500;
}
.section-indicator__sep { opacity: 0.45; }
.section-indicator__total { opacity: 0.55; }
.section-indicator__label {
  margin-left: 6px;
  padding-left: 8px;
  border-left: 1px solid var(--rule);
}

/* ── nav ───────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 34px; left: 0; right: 0;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px var(--gutter);
  background: rgba(242, 239, 232, 0.72);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid rgba(200, 195, 183, 0.45);
  box-shadow: 0 8px 24px -16px rgba(14, 14, 12, 0.10);
}
.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.nav__brand-mark {
  display: inline-grid;
  place-items: center;
  width: 26px; height: 26px;
  border: 1px solid var(--ink);
  font-weight: 500;
}
.nav__brand-text { display: none; }
@media (min-width: 740px) {
  .nav__brand-text { display: inline; }
}

.nav__links {
  display: none;
  gap: 22px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.nav__links a { position: relative; padding: 4px 0; }
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: 0;
  height: 1px; background: var(--accent);
  transition: right .4s var(--ease);
}
.nav__links a:hover::after { right: 0; }
@media (min-width: 900px) {
  .nav__links { display: inline-flex; }
}

/* ── Hamburger-Button (mobile only) ──────────────────────────────── */
.nav__menu-toggle {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  margin-right: -10px;
  background: transparent;
  border: none;
  cursor: pointer;
  position: relative;
  -webkit-tap-highlight-color: transparent;
}
.nav__menu-toggle-bar {
  display: block;
  position: absolute;
  left: 12px;
  width: 20px;
  height: 1.5px;
  background: var(--ink);
  transform-origin: center;
  transition: transform .35s var(--ease),
              opacity .25s var(--ease),
              top .35s var(--ease);
  border-radius: 1px;
}
.nav__menu-toggle-bar:nth-child(1) { top: 16px; }
.nav__menu-toggle-bar:nth-child(2) { top: 21.5px; }
.nav__menu-toggle-bar:nth-child(3) { top: 27px; }

/* Open state — bars morphen zu X */
.nav__menu-toggle[aria-expanded="true"] .nav__menu-toggle-bar:nth-child(1) {
  top: 21.5px;
  transform: rotate(45deg);
  background: var(--accent);
}
.nav__menu-toggle[aria-expanded="true"] .nav__menu-toggle-bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav__menu-toggle[aria-expanded="true"] .nav__menu-toggle-bar:nth-child(3) {
  top: 21.5px;
  transform: rotate(-45deg);
  background: var(--accent);
}

@media (min-width: 900px) {
  .nav__menu-toggle { display: none; }
}

/* ── Mobile-Menu Overlay ─────────────────────────────────────────── */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 200;
  overflow: hidden; /* clip das aus dem viewport translierte panel */
  pointer-events: none;
}
.mobile-menu[aria-hidden="false"] {
  pointer-events: auto;
}

/* Backdrop */
.mobile-menu::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(14, 14, 12, 0.42);
  backdrop-filter: blur(10px) saturate(1.1);
  -webkit-backdrop-filter: blur(10px) saturate(1.1);
  opacity: 0;
  transition: opacity .45s var(--ease);
  pointer-events: none;
}
.mobile-menu[aria-hidden="false"]::before {
  opacity: 1;
  pointer-events: auto;
}

/* Slide-Panel von rechts */
.mobile-menu__panel {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: min(440px, 88vw);
  background: var(--bg);
  padding: 96px var(--gutter) 32px;
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 4vw, 36px);
  transform: translateX(100%);
  will-change: transform;
  /* dynamische ease-in-out kurve: beschleunigt aus dem nichts, bremst sauber ab */
  transition: transform .65s cubic-bezier(.76, 0, .24, 1);
  box-shadow: -32px 0 64px -20px rgba(14, 14, 12, 0.25);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.mobile-menu[aria-hidden="false"] .mobile-menu__panel {
  transform: translateX(0);
}

.mobile-menu__heading {
  margin: 0;
}

/* Close-Button oben rechts im Panel */
.mobile-menu__close {
  position: absolute;
  top: 22px;
  right: var(--gutter);
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 38px;
  line-height: 1;
  color: var(--ink);
  transition: color .3s var(--ease), transform .35s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.mobile-menu__close span {
  display: block;
  margin-top: -4px; /* optisch zentriert das ×-Glyph */
}
.mobile-menu__close:hover,
.mobile-menu__close:active {
  color: var(--accent);
  transform: rotate(90deg);
}

/* Nav-Items */
.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  flex: 1;
  border-top: 1px solid var(--rule);
}
.mobile-menu__item {
  display: grid;
  grid-template-columns: 32px 1fr auto;
  gap: 14px;
  align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px solid var(--rule);
  color: var(--ink);
  transition: color .3s var(--ease);
}
.mobile-menu__item:active,
.mobile-menu__item:hover { color: var(--accent); }

.mobile-menu__num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--accent);
  padding-top: 6px;
}
.mobile-menu__label {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-variation-settings: "opsz" 96, "SOFT" 60;
  font-size: clamp(30px, 8vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.018em;
}
.mobile-menu__arrow {
  font-family: var(--font-mono);
  color: var(--muted);
  font-size: 18px;
  align-self: center;
  transition: transform .3s var(--ease), color .3s var(--ease);
}
.mobile-menu__item:active .mobile-menu__arrow,
.mobile-menu__item:hover .mobile-menu__arrow {
  color: var(--accent);
  transform: translateX(6px);
}

/* Footer mit Kontaktdaten */
.mobile-menu__footer {
  padding-top: 20px;
  border-top: 1px solid var(--rule);
}
.mobile-menu__footer .caption-mono {
  margin: 0 0 10px;
}
.mobile-menu__contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 13px;
}
.mobile-menu__contact a {
  color: var(--ink);
  transition: color .3s var(--ease);
}
.mobile-menu__contact a:active,
.mobile-menu__contact a:hover { color: var(--accent); }

/* Body-Scroll-Lock wenn Menü offen */
body[data-menu-open] { overflow: hidden; }

@media (min-width: 900px) {
  .mobile-menu { display: none; }
}

/* ── HERO ─────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  padding: 140px var(--gutter) 60px;
  display: grid;
  grid-template-rows: 1fr auto auto auto auto;
  gap: 32px;
  overflow: hidden;
}
.hero__title       { grid-row: 1; }
.hero__locationline{ grid-row: 2; }
.hero__portrait    { grid-row: 3; justify-self: center; }
.hero__byline      { grid-row: 4; }
.hero__divider     { grid-row: 5; }

/* Standort-Zeile — typografisch zurückgenommen, klar untergeordnet ggü. dem Namen */
.hero__locationline {
  margin: 0;
  max-width: 70ch;
}
.hero__locationline-main {
  font-family: var(--font-display);
  font-weight: 380;
  font-size: clamp(15px, 1.55vw, 20px);
  line-height: 1.35;
  letter-spacing: -0.005em;
  color: var(--ink-soft);
  margin: 0;
}
.hero__locationline-main em {
  color: var(--accent);
  font-style: italic;
  font-weight: 400;
  font-size: 1.08em;
  letter-spacing: -0.01em;
}
.hero__locationline-arrow {
  color: var(--accent);
  font-style: normal;
  margin-right: 4px;
}
.hero__locationline-meta {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-transform: uppercase;
  margin: 6px 0 0;
  line-height: 1.6;
}

/* Hero-Trenner — ersetzt das laufende Marquee */
.hero__divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  margin: 0 calc(var(--gutter) * -1);
  padding: 0 var(--gutter);
}
.hero__divider-line {
  height: 1px;
  background: var(--rule);
}
.hero__divider-label {
  display: inline-flex;
  align-items: baseline;
  gap: 14px;
  padding: 8px 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
  transition: color .3s var(--ease);
}
.hero__divider-label:hover { color: var(--accent); }
.hero__divider-num {
  color: var(--accent);
  font-weight: 500;
}
.hero__divider-arrow {
  font-size: 14px;
  color: var(--accent);
  animation: nudgeDown 2.4s var(--ease) infinite;
}
@keyframes nudgeDown {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(4px); }
}

/* Hero portrait: prominent — größer auf allen viewports */
.hero__portrait {
  margin: 0;
  width: clamp(260px, 60vw, 380px);
  justify-self: center;
  position: relative;
  z-index: 2;
}
.hero__portrait img {
  width: 100%;
  height: auto;
  display: block;
  background: transparent;
  filter: contrast(1.03) saturate(0.95) drop-shadow(0 8px 24px rgba(14,14,12,0.08));
}
.hero__portrait figcaption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--rule);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero__portrait-sub { color: var(--accent); }

@media (min-width: 1100px) {
  /* 2-Spalten-Layout (Title links, Portrait rechts) erst ab 1100px.
     Darunter: Mobile-Layout mit Portrait unter dem Title.

     Fluide Werte für 1100 bis 2560+:
     - Portrait clamp(240px, 21vw, 540px)   — wächst bis 4K weiter mit
     - Title font clamp(54px, 7vw, 200px)   — größere Caps, damit Full-HD knallt
     - padding-left clamp(14px, 3vw, 90px)
     - column-gap clamp(28px, 3.5vw, 70px)

     Empirisch ermittelter Schriftbreite-Faktor "Digitale Zukunft" in
     Fraunces Italic: ~7× font-size (nicht 9, war zu konservativ).
     Damit deutlich größere Schrift möglich:
       1100px: Schrift 88,  Spalte ~734, Text 616 — Reserve  ~85 ✓
       1280px: Schrift 102, Spalte ~864, Text 714 — Reserve ~110 ✓
       1500px: Schrift 120, Spalte ~1021, Text 840 — Reserve ~135 ✓
       1920px: Schrift 154, Spalte ~1338, Text 1078 — Reserve ~200 ✓
       2560px: Schrift 205, Spalte ~1838, Text 1435 — Reserve ~310 ✓ */
  .hero {
    grid-template-rows: 1fr auto auto auto;
    grid-template-columns: 1fr clamp(240px, 21vw, 540px);
    column-gap: clamp(28px, 3.5vw, 70px);
  }
  .hero__title       { grid-row: 1; grid-column: 1; font-size: clamp(54px, 8vw, 220px); }
  .hero__line--accent { padding-left: clamp(14px, 3.5vw, 100px); }
  .hero__portrait    { grid-row: 1; grid-column: 2; align-self: center; justify-self: end; width: 100%; }
  .hero__locationline{ grid-row: 2; grid-column: 1 / -1; }
  .hero__byline      { grid-row: 3; grid-column: 1 / -1; }
  .hero__divider     { grid-row: 4; grid-column: 1 / -1; }
}

.hero__meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex;
  gap: 16px;
  position: absolute;
  pointer-events: auto;
}
.hero__meta .tag { white-space: nowrap; }
.hero__meta--tl { top: 110px; left: var(--gutter); }
.hero__meta--tr { top: 110px; right: var(--gutter); }
.hero__meta--bl { bottom: 130px; left: var(--gutter); }
.hero__meta--br { bottom: 130px; right: var(--gutter); }
.tag--link {
  color: var(--ink);
  position: relative;
  padding-bottom: 2px;
  transition: color .3s var(--ease);
}
.tag--link::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: 0;
  height: 1px;
  background: currentColor;
  transition: right .4s var(--ease);
}
.tag--link:hover::after { right: 0; }
.tag--link:hover { color: var(--accent); }

.hero__title {
  align-self: center;
  font-family: var(--font-display);
  font-weight: 380;
  font-style: normal;
  font-variation-settings: "opsz" 144, "SOFT" 50;
  /* Mobile + Small-Tablet: Title nimmt volle Container-Breite.
     "Digitale Zukunft." in Fraunces Italic braucht ~9x font-size in Breite. */
  font-size: clamp(44px, 10vw, 140px);
  line-height: 0.88;
  letter-spacing: -0.035em;
  color: var(--ink);
  padding-left: max(0px, calc(var(--gutter) - var(--gutter)));
}
.hero__line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.22em;
  margin-bottom: -0.18em;
}
.hero__line:last-child { margin-bottom: 0; }
.hero__line > * {
  display: inline-block;
}
.hero__line--accent {
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
  font-variation-settings: "opsz" 144, "SOFT" 100;
  padding-left: clamp(20px, 6vw, 110px);
}
.hero__line .punct {
  color: var(--accent);
  display: inline;
}
.hero__line--accent .punct { color: var(--ink); }

/* hero stagger */
.hero__line[data-stagger] > * { display: inline-block; transform: translateY(110%); opacity: 0; }
.hero[data-revealed] .hero__line[data-stagger]:nth-child(1) > * { animation: rise 1.1s var(--ease) .15s forwards; }
.hero[data-revealed] .hero__line[data-stagger]:nth-child(2) > * { animation: rise 1.1s var(--ease) .32s forwards; }
.hero[data-revealed] .hero__line[data-stagger]:nth-child(3) > * { animation: rise 1.1s var(--ease) .55s forwards; }
@keyframes rise { to { transform: translateY(0); opacity: 1; } }

.hero__byline {
  align-self: end;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  padding-block: 20px;
}
.hero__name {
  font-family: var(--font-display);
  font-size: clamp(26px, 2.8vw, 42px);
  font-weight: 380;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.hero__name em {
  font-style: italic;
  font-size: 1.2em;
  font-weight: 400;
  margin: 0;
  color: var(--ink);
}
.hero__caption {
  max-width: 380px;
}
.caption-mono {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--muted);
  line-height: 1.7;
}
.caption-mono--inv { color: rgba(242,239,232,0.55); }

/* hero marquee */
.hero__marquee {
  margin: 0 calc(var(--gutter) * -1);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: var(--bg-deep);
}
.marquee {
  overflow: hidden;
}
.marquee__track {
  display: inline-flex;
  align-items: center;
  gap: 36px;
  white-space: nowrap;
  padding-block: 18px;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(28px, 4vw, 56px);
  letter-spacing: -0.02em;
  animation: marquee 900s linear infinite;
  will-change: transform;
}
.marquee {
  contain: layout paint;
}
.marquee__dot {
  color: var(--accent);
  font-size: 0.4em;
  vertical-align: middle;
  font-family: var(--font-body);
}

/* ── section heads ────────────────────────────────────────────── */
.section-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: clamp(40px, 6vw, 96px);
}
.section-head__num { color: var(--accent); font-weight: 500; }
.section-head__rule { height: 1px; background: var(--rule); }
.section-head--light { color: rgba(242,239,232,0.6); }
.section-head--light .section-head__num { color: var(--accent); }
.section-head--light .section-head__rule { background: rgba(242,239,232,0.2); }

/* ── reveal utility ───────────────────────────────────────────── */
/* uses CSS translate (separate property) so it composes with transform parallax */
.reveal {
  opacity: 0;
  translate: 0 28px;
  transition: opacity .9s var(--ease), translate .9s var(--ease);
}
.reveal[data-in] {
  opacity: 1; translate: 0 0;
}

/* ── 02 IDENTITY ──────────────────────────────────────────────── */
.identity {
  padding-block: var(--section-py);
}
/* section-head ausblenden — direkt nach dem hero-divider redundant */
.identity > .container > .section-head {
  display: none;
}
.identity__lead {
  font-family: var(--font-display);
  font-weight: 360;
  font-variation-settings: "opsz" 96, "SOFT" 40;
  font-size: clamp(34px, 5.4vw, 92px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: var(--ink);
  max-width: 18ch;
}
.identity__lead em { color: var(--accent); }

.rotator {
  display: inline-block;
  position: relative;
  height: 1.04em;
  vertical-align: bottom;
  min-width: 7ch;
}
.rotator__word {
  position: absolute;
  left: 0; top: 0;
  white-space: nowrap;
  font-style: italic;
  color: var(--accent);
  opacity: 0;
  transform: translateY(0.3em);
  transition: opacity .55s var(--ease), transform .55s var(--ease);
}
.rotator__word[data-active] {
  opacity: 1;
  transform: translateY(0);
}

/* footnote / author-byline (humor moment + portrait) */
.footnote {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  align-items: start;
  margin-top: clamp(48px, 6vw, 80px);
  padding: 28px 28px 32px;
  background: var(--bg);
  border: 1px solid var(--rule);
  max-width: 640px;
  position: relative;
}
.footnote::before {
  content: "P.S.";
  position: absolute;
  top: -12px;
  left: 22px;
  background: var(--bg-deep);
  padding: 2px 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
}
@media (min-width: 620px) {
  .footnote {
    grid-template-columns: 120px 1fr;
    gap: 32px;
    padding: 32px 36px;
  }
  .footnote--text {
    grid-template-columns: 1fr;
    max-width: 680px;
  }
}
.footnote__portrait {
  margin: 0;
  width: 120px;
}
.footnote__portrait img {
  width: 120px;
  height: 150px;
  object-fit: cover;
  background: var(--bg-deep);
  border: 1px solid var(--rule);
  filter: contrast(1.04);
}
.footnote__portrait img:not([src]),
.footnote__portrait img[src=""],
.footnote__portrait img[alt]:not([src*="."]) {
  /* placeholder when image not yet generated */
}
.footnote__portrait figcaption {
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--muted);
  text-transform: uppercase;
}
.footnote__body p:not(.caption-mono) {
  font-family: var(--font-display);
  font-weight: 380;
  font-size: clamp(17px, 1.6vw, 22px);
  line-height: 1.45;
  letter-spacing: -0.005em;
  color: var(--ink);
  font-style: italic;
}
.footnote__body .caption-mono { display: block; margin-bottom: 10px; }

.identity__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-top: clamp(60px, 10vw, 120px);
  padding-top: 36px;
  border-top: 1px solid var(--rule);
}
@media (min-width: 800px) {
  .identity__grid { grid-template-columns: repeat(3, 1fr); gap: 48px; }
}
.identity__col p { max-width: 38ch; }
.identity__col .caption-mono { margin-bottom: 14px; display: block; }

/* ── 03 WERDEGANG / TIMELINE ──────────────────────────────────── */
.werdegang {
  padding-block: var(--section-py);
}

.werdegang__lead {
  font-family: var(--font-display);
  font-weight: 380;
  font-variation-settings: "opsz" 96, "SOFT" 40;
  font-size: clamp(26px, 3.4vw, 50px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
  max-width: 22ch;
  margin-bottom: clamp(56px, 8vw, 110px);
}
.werdegang__lead em {
  color: var(--accent);
  font-style: italic;
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  list-style: none;
  padding: 0;
  border-top: 1px solid var(--rule);
}

.timeline__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px 56px;
  padding: 32px 0;
  border-bottom: 1px solid var(--rule);
}
@media (min-width: 720px) {
  .timeline__row {
    grid-template-columns: 140px 1fr;
    gap: 24px 56px;
    padding: 44px 0;
  }
}

.timeline__year {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  padding-top: 8px;
  position: relative;
}
.timeline__year::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  margin-right: 12px;
  margin-bottom: 2px;
  vertical-align: middle;
}

.timeline__content { max-width: 56ch; }

.timeline__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-variation-settings: "opsz" 72;
  font-size: clamp(20px, 1.9vw, 28px);
  line-height: 1.25;
  letter-spacing: -0.012em;
  color: var(--ink);
  margin: 0 0 10px;
}
.timeline__title em { color: var(--accent); font-style: italic; }

.timeline__body {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0;
}
.timeline__body em {
  color: var(--accent);
  font-style: italic;
  font-family: var(--font-display);
}

.werdegang__close {
  margin-top: clamp(56px, 8vw, 100px);
  padding: 32px 36px;
  background: var(--bg-deep);
  border-left: 3px solid var(--accent);
  max-width: 720px;
}
.werdegang__close .caption-mono {
  display: block;
  margin-bottom: 14px;
}
.werdegang__close-body {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(18px, 1.8vw, 24px);
  line-height: 1.45;
  letter-spacing: -0.005em;
  color: var(--ink);
  margin: 0;
}
.werdegang__close-body em {
  color: var(--accent);
  font-style: italic;
}

/* ── 04 SERVICES ──────────────────────────────────────────────── */
.services {
  padding-block: var(--section-py);
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 100%);
}

.services__intro {
  font-family: var(--font-display);
  font-weight: 380;
  font-size: clamp(22px, 2.3vw, 32px);
  line-height: 1.3;
  letter-spacing: -0.012em;
  color: var(--ink);
  max-width: 32ch;
  margin-bottom: clamp(60px, 8vw, 120px);
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.service {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  padding: 48px 0;
  border-top: 1px solid var(--rule);
}
.service:last-child { border-bottom: 1px solid var(--rule); }

@media (min-width: 860px) {
  .service {
    grid-template-columns: 240px 1fr 1fr;
    gap: 48px;
    padding: 64px 0;
  }
  /* Bullet-Liste über den Title- und Body-Bereich spannen — mehr Platz, kein Umbruch der Punkte */
  .service__list {
    grid-column: 2 / -1;
  }
}

.service__head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}
.service__icon {
  margin: 0;
  width: clamp(120px, 12vw, 160px);
  height: clamp(120px, 12vw, 160px);
  display: block;
  border-radius: 16px;
  border: 1px solid rgba(14, 14, 12, 0.07);
  overflow: hidden;
  background: var(--bg);
  box-shadow: 0 1px 0 rgba(14, 14, 12, 0.03);
}
.service__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
/* In der dunklen KI-Feature-Karte: heller Pergament-Kachel-Look als editorial Kontrast */
.service__icon--feature {
  border-color: rgba(242, 239, 232, 0.18);
  box-shadow: 0 2px 12px -6px rgba(0, 0, 0, 0.3);
}
.service__meta {
  display: flex;
  align-items: baseline;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.service__num {
  font-size: 14px;
  color: var(--accent);
  font-weight: 500;
}
.service__tag { color: var(--muted); }
.service__tag--accent { color: var(--accent); font-weight: 500; }

.service__title {
  font-family: var(--font-display);
  font-weight: 380;
  font-variation-settings: "opsz" 120, "SOFT" 50;
  font-size: clamp(36px, 4.8vw, 76px);
  line-height: 0.95;
  letter-spacing: -0.028em;
  color: var(--ink);
}
.service__title-em {
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
  font-variation-settings: "opsz" 120, "SOFT" 100;
}
.service--feature .service__title-em { color: var(--accent); }

.service__body { max-width: 42ch; }
.service__list {
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.9;
  color: var(--ink-soft);
  letter-spacing: -0.005em;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px dashed var(--rule);
}
.service__list li::before {
  content: "→ ";
  color: var(--accent);
  margin-right: 6px;
}

.service--feature {
  background: var(--ink);
  color: var(--inv-text);
  margin: 16px calc(var(--gutter) * -1) 0;
  padding-inline: var(--gutter);
  border: none !important;
}
.service--feature .service__title { color: var(--inv-text); }
.service--feature .service__tag { color: rgba(242,239,232,0.55); }
.service--feature .service__body { color: rgba(242,239,232,0.78); }
.service--feature .service__list {
  color: rgba(242,239,232,0.72);
  border-top-color: rgba(242,239,232,0.18);
}
.service--feature .service__num { color: var(--accent); }
.service--feature .service__title-em { color: var(--accent-soft); }

/* ── 04 PROCESS ───────────────────────────────────────────────── */
.process {
  padding-block: var(--section-py);
}
.process__headline {
  font-family: var(--font-display);
  font-weight: 380;
  font-size: clamp(34px, 5vw, 88px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--ink);
  max-width: 16ch;
}
.process__headline em { color: var(--accent); }
.process__sub {
  font-family: var(--font-display);
  font-weight: 380;
  font-size: clamp(18px, 1.6vw, 24px);
  line-height: 1.4;
  color: var(--muted);
  max-width: 42ch;
  margin-top: 16px;
  margin-bottom: clamp(40px, 6vw, 72px);
}

.terminal {
  background: var(--ink);
  color: var(--inv-text);
  border-radius: 0;
  font-family: var(--font-mono);
  font-size: clamp(11px, 0.95vw, 13.5px);
  line-height: 1.85;
  overflow: hidden;
  box-shadow:
    0 0 0 1px var(--ink),
    24px 24px 0 -4px var(--accent);
}
.terminal__head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: #1A1A18;
  border-bottom: 1px solid rgba(242,239,232,0.08);
}
.terminal__dot { width: 10px; height: 10px; border-radius: 50%; }
.terminal__dot--r { background: #F25C54; }
.terminal__dot--y { background: #F2B65C; }
.terminal__dot--g { background: #6BC36B; }
.terminal__title {
  flex: 1;
  text-align: center;
  font-size: 11px;
  color: rgba(242,239,232,0.6);
  letter-spacing: 0.04em;
}
.terminal__body {
  padding: 28px 28px 36px;
  overflow-x: auto;
}
.terminal__pre {
  margin: 0;
  white-space: pre;
  color: rgba(242,239,232,0.85);
  font-family: var(--font-mono);
  letter-spacing: 0;
}
.terminal__pre strong { color: var(--inv-text); font-weight: 500; }
.t-ok     { color: #8AE08A; }
.t-accent { color: var(--accent); }
.t-mute   { color: rgba(242,239,232,0.4); }
.t-cursor {
  display: inline-block;
  color: var(--accent);
  animation: blink 1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

/* terminal scroll-typed lines */
.tline {
  display: block;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.terminal[data-typed] .tline {
  opacity: 1; transform: none;
}

.process__outro {
  margin-top: clamp(40px, 6vw, 72px);
  font-family: var(--font-display);
  font-size: clamp(20px, 2vw, 30px);
  line-height: 1.4;
  color: var(--ink);
  max-width: 42ch;
  letter-spacing: -0.01em;
  font-weight: 380;
}
.process__outro em { color: var(--accent); }

/* ── 05 REGION ────────────────────────────────────────────────── */
.region {
  padding-block: var(--section-py);
  background: var(--bg-deep);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
/* Banner als wide editorial illustration — freigestellt, schwebt direkt auf der Seitenfarbe */
.region__banner {
  display: block;
  margin: clamp(48px, 7vw, 88px) 0;
}
.region__banner img {
  display: block;
  width: 100%;
  height: auto;
}
@media (max-width: 720px) {
  .region__banner { display: none; }
}

.region__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}
@media (min-width: 880px) {
  .region__grid {
    grid-template-columns: 1fr 1fr;
    gap: 80px;
  }
}
.region__headline {
  font-family: var(--font-display);
  font-weight: 380;
  font-size: clamp(32px, 4.4vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 24px;
}
.region__headline em { color: var(--accent); }
.region__text p + p { margin-top: 16px; }

.region__facts {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 12px;
}
.region__facts dt {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}
.region__facts dd { color: var(--ink); }

.region__map {
  position: relative;
  padding: 14px;
  background: var(--bg);
  border: 1px solid var(--rule);
  color: var(--ink);
}
.map-svg {
  width: 100%;
  height: auto;
  color: var(--ink);
}
.map-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  fill: var(--ink);
}
.map-label--accent {
  fill: var(--accent);
  font-weight: 500;
  font-size: 11px;
}
.map-label-sub {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  fill: var(--muted);
}
.map-coord {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  fill: var(--muted);
}
.map-marker--home circle:first-child {
  transform-origin: 170px 200px;
  animation: ring 3.2s var(--ease) infinite;
}
@keyframes ring {
  0%   { transform: scale(0.7); opacity: 0.8; }
  100% { transform: scale(1.8); opacity: 0; }
}

.clients {
  margin-top: clamp(60px, 8vw, 100px);
  padding-top: 32px;
  border-top: 1px solid var(--rule);
}
.clients__label { margin-bottom: 20px; display: block; }
.clients__placeholder {
  font-family: var(--font-display);
  font-weight: 380;
  font-size: clamp(28px, 3.6vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.clients__placeholder em {
  color: var(--accent);
  font-size: 0.55em;
  display: inline-block;
  margin-left: 14px;
  vertical-align: middle;
  letter-spacing: -0.005em;
}
.clients__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 32px;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(22px, 2.6vw, 38px);
  letter-spacing: -0.015em;
  color: var(--ink);
}
.clients__list li {
  position: relative;
  transition: color .3s var(--ease);
}
.clients__list li::after {
  content: "·";
  margin-left: 32px;
  color: var(--accent);
  font-style: normal;
}
.clients__list li:last-child::after { content: ""; }
.clients__list li:hover { color: var(--accent); }

/* ── 06 CONTACT ───────────────────────────────────────────────── */
.contact {
  background: var(--ink);
  color: var(--inv-text);
  padding-block: var(--section-py);
}
.contact__headline {
  font-family: var(--font-display);
  font-weight: 380;
  font-size: clamp(48px, 8vw, 140px);
  line-height: 0.95;
  letter-spacing: -0.035em;
  color: var(--inv-text);
  margin-bottom: clamp(50px, 8vw, 100px);
}
.contact__headline em {
  color: var(--accent);
  font-style: italic;
  font-weight: 400;
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid rgba(242,239,232,0.16);
}
@media (min-width: 720px) {
  .contact__grid { grid-template-columns: repeat(2, 1fr); }
}

.contact__card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 36px 32px 40px;
  border-bottom: 1px solid rgba(242,239,232,0.16);
  position: relative;
  transition: background .3s var(--ease), transform .3s var(--ease);
}
@media (min-width: 720px) {
  .contact__card:nth-child(odd) { border-right: 1px solid rgba(242,239,232,0.16); }
}
.contact__card:not(.contact__card--passive):hover {
  background: rgba(242,239,232,0.04);
}
.contact__card:not(.contact__card--passive)::after {
  content: "↗";
  position: absolute;
  top: 32px; right: 32px;
  font-family: var(--font-mono);
  color: var(--accent);
  opacity: 0.6;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.contact__card:not(.contact__card--passive):hover::after {
  opacity: 1;
  transform: translate(4px, -4px);
}
.contact__card--primary { background: rgba(229,71,29,0.05); }
.contact__value {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(28px, 3.6vw, 52px);
  letter-spacing: -0.02em;
  line-height: 1.05;
}
.contact__value--sm {
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.3;
}
.contact__hint {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: rgba(242,239,232,0.4);
  letter-spacing: 0.04em;
}

/* ── contact: social-media-reihe ──────────────────────────────── */
.contact__social {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  padding: 56px 32px 24px;
  border-top: 1px solid rgba(242,239,232,0.16);
}
.contact__social-label {
  color: rgba(242,239,232,0.45);
}
.contact__social-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(28px, 6vw, 64px);
  flex-wrap: wrap;
}
.contact__social-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--inv-text);
  text-decoration: none;
  padding: 8px 4px;
  transition: color .25s var(--ease), transform .25s var(--ease);
}
.contact__social-link:hover,
.contact__social-link:focus-visible {
  color: var(--accent);
  transform: translateY(-2px);
}
.contact__social-icon {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}
.contact__social-name {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
@media (max-width: 520px) {
  .contact__social-row { gap: 24px; }
  .contact__social-icon { width: 26px; height: 26px; }
  .contact__social-name { display: none; }
}

/* ── footer ───────────────────────────────────────────────────── */
.footer {
  background: var(--ink);
  color: rgba(242,239,232,0.7);
  padding-top: 60px;
  overflow: hidden;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-top: 1px solid rgba(242,239,232,0.16);
  padding-top: 40px;
}
@media (min-width: 720px) {
  .footer__inner { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}
.footer__brand {
  font-family: var(--font-display);
  font-size: clamp(20px, 2vw, 28px);
  color: var(--inv-text);
  line-height: 1.2;
  margin-bottom: 8px;
}
.footer__brand em {
  font-size: 1.4em;
  display: inline-block;
  margin-top: 4px;
  color: var(--inv-text);
}
.footer__list {
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 2;
  letter-spacing: 0.02em;
}
.footer__list a {
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), color .3s var(--ease);
}
.footer__list a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}
.footer__col .caption-mono { display: block; margin-bottom: 8px; color: rgba(242,239,232,0.45); }

.footer__bigtype {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-variation-settings: "opsz" 144, "SOFT" 100;
  font-size: clamp(120px, 32vw, 600px);
  line-height: 0.8;
  color: var(--accent);
  letter-spacing: -0.05em;
  margin: 0 calc(var(--gutter) * -1);
  text-align: center;
  white-space: nowrap;
  user-select: none;
  padding-bottom: 8px;
}

/* ── LEGAL PAGES — Impressum / Datenschutz ─────────────────────── */
body.legal {
  background: var(--bg);
}
.legal .nav__back {
  color: var(--accent);
}
.status-bar__legal-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--inv-text);
  opacity: 0.85;
  white-space: nowrap;
  text-align: center;
  padding: 0 12px;
}

.legal__main {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(110px, 14vw, 180px) var(--gutter) clamp(80px, 10vw, 140px);
}

.legal__header {
  margin-bottom: clamp(48px, 7vw, 96px);
  padding-bottom: 32px;
  border-bottom: 1px solid var(--rule);
}
.legal__header .caption-mono {
  display: block;
  margin-bottom: 12px;
}
.legal__title {
  font-family: var(--font-display);
  font-weight: 380;
  font-variation-settings: "opsz" 144, "SOFT" 50;
  font-size: clamp(44px, 7vw, 96px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin: 8px 0 16px;
  word-break: break-word;
  hyphens: auto;
}
.legal__sub {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.legal__lead p {
  font-family: var(--font-display);
  font-weight: 380;
  font-size: clamp(18px, 1.8vw, 24px);
  line-height: 1.45;
  letter-spacing: -0.005em;
  color: var(--ink);
  max-width: 60ch;
  margin-bottom: 40px;
}

.legal section {
  margin-bottom: clamp(32px, 4vw, 56px);
}
.legal section h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-variation-settings: "opsz" 60;
  font-size: clamp(22px, 2.3vw, 32px);
  line-height: 1.2;
  letter-spacing: -0.018em;
  color: var(--ink);
  margin: 0 0 18px;
  padding-top: 16px;
  border-top: 1px solid var(--rule);
}
.legal__lead + section h2 { border-top: 0; padding-top: 0; }
.legal__header + section h2 { border-top: 0; padding-top: 0; }

.legal section h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-variation-settings: "opsz" 36;
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 28px 0 10px;
}
.legal section h2 + h3 { margin-top: 6px; }

.legal section p {
  margin: 0 0 14px;
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 100%;
}
.legal section p strong {
  color: var(--ink);
  font-weight: 500;
}
.legal section p em {
  color: var(--accent);
  font-style: italic;
  font-family: var(--font-display);
  font-weight: 400;
}
.legal section a {
  color: var(--accent);
  border-bottom: 1px solid currentColor;
  transition: opacity .2s var(--ease);
  word-break: break-word;
}
.legal section a:hover { opacity: 0.65; }

.legal__address {
  font-style: normal;
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--ink-soft);
  padding: 18px 22px;
  background: var(--bg-deep);
  border-left: 3px solid var(--accent);
  display: inline-block;
}
.legal__address strong { color: var(--ink); font-weight: 500; }

.legal__contact {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 10px 24px;
  font-size: 15.5px;
  color: var(--ink-soft);
}
.legal__contact li {
  display: contents;
}
.legal__contact span {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 3px;
}
.legal__contact a {
  color: var(--ink);
  border-bottom: 1px solid var(--rule);
}
.legal__contact a:hover { color: var(--accent); border-bottom-color: var(--accent); }

.legal ul:not(.legal__contact):not(.footer__list):not(.nav__links) {
  list-style: none;
  padding: 0;
  margin: 12px 0 18px;
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--ink-soft);
}
.legal ul:not(.legal__contact):not(.footer__list):not(.nav__links) li {
  padding-left: 24px;
  position: relative;
  margin-bottom: 8px;
}
.legal ul:not(.legal__contact):not(.footer__list):not(.nav__links) li::before {
  content: "→";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
}
.legal ul:not(.legal__contact):not(.footer__list):not(.nav__links) li strong {
  color: var(--ink);
  font-weight: 500;
}

.legal__stand {
  margin-top: clamp(60px, 8vw, 100px);
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* responsive: legal contact stack on mobile */
@media (max-width: 540px) {
  .legal__contact { grid-template-columns: 1fr; gap: 6px 0; }
  .legal__contact li { margin-bottom: 14px; }
  .legal__contact span { padding-top: 0; }
}

/* ── responsive misc ──────────────────────────────────────────── */
@media (max-width: 740px) {
  .hero__meta--bl, .hero__meta--br { display: none; }
  .hero { gap: 28px; padding-top: 178px; padding-bottom: 50px; }
  .section-indicator { display: none; }

  /* TR-Meta auf mobile unter TL stapeln statt rechts kollidieren */
  .hero__meta--tr {
    right: auto;
    left: var(--gutter);
    top: 132px;
  }

  /* Porträt auf mobile garantiert sichtbar, gut dimensioniert */
  .hero__portrait {
    width: min(80vw, 340px);
    max-width: 100%;
  }
  .hero__portrait figcaption {
    font-size: 10px;
  }

  /* Standort: meta wird auf mobile mehrzeilig sauber */
  .hero__locationline-meta {
    line-height: 1.7;
    word-spacing: 2px;
  }

  /* Byline auf mobile vertikal stapeln statt nebeneinander */
  .hero__byline {
    flex-direction: column;
    gap: 16px;
  }
  .hero__caption { max-width: 100%; }

  /* Hero-Divider: kompakter */
  .hero__divider { gap: 14px; }
  .hero__divider-label { padding: 8px 12px; gap: 10px; }
}
/* Reduced-Motion: nur dekorative Animationen drosseln, essentielle UX behalten */
@media (prefers-reduced-motion: reduce) {
  /* Marquees pausieren */
  .ticker__track,
  .marquee__track {
    animation-play-state: paused !important;
  }
  /* Parallax-Entrance abschalten */
  [data-parallax-x] {
    transition-duration: 0.01ms !important;
    transform: none !important;
  }
  /* Section-Reveal sofort */
  .reveal {
    transition-duration: 0.01ms !important;
  }
  /* Hero-Stagger-Reveal sofort */
  .hero__line[data-stagger] > * {
    animation-duration: 0.01ms !important;
  }
  /* Mobile-Menü-Slide bleibt erhalten, nur etwas verkürzt */
  .mobile-menu__panel {
    transition-duration: .3s !important;
  }
}
