/* ==========================================================================
   QUĀRTA Media – Stylesheet
   Farben, Schriften und Regeln nach Brandbook 1.0
   Anthrazit #1E1F22 · Rot #C00000 · Weiß · Grau = 65 % Deckkraft
   Montserrat (Light bis SemiBold) · Newsreader Italic als Akzent
   ========================================================================== */

/* ---------- Schriften (lokal, SIL Open Font License) ---------- */
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url("../fonts/montserrat-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: "Montserrat";
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url("../fonts/montserrat-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Newsreader";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/newsreader-italic-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: "Newsreader";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/newsreader-italic-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@property --qm-accent {
  syntax: "<color>";
  inherits: true;
  initial-value: #C00000;
}

/* ---------- Tokens ---------- */
:root {
  --anth: #1E1F22;
  --red: #C00000;
  --white: #FFFFFF;
  --paper: #F4F4F4;
  --ink-65: rgba(30, 31, 34, .65);
  --ink-40: rgba(30, 31, 34, .4);
  --ink-12: rgba(30, 31, 34, .12);
  --white-65: rgba(255, 255, 255, .65);
  --white-14: rgba(255, 255, 255, .14);

  --sans: "Montserrat", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Georgia, serif;

  --container: 1280px;
  --gutter: clamp(20px, 5vw, 64px);
  --section: clamp(104px, 13vw, 184px);
  --header-h: 76px;    /* Header nach dem Scrollen */
  --header-top: 104px; /* Header am Seitenanfang – mehr Luft nach oben */

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-inout: cubic-bezier(.65, 0, .35, 1);

  /* Standard: helle Fläche */
  --bg: var(--white);
  --fg: var(--anth);
  --muted: var(--ink-65);
  --rule: var(--ink-12);
  --eyebrow: var(--red);
  --focus: var(--red);
}

/* Flächen – Rot steht nur dort, wo etwas Verantwortung trägt */
.s-light { --bg: var(--white); --fg: var(--anth); --muted: var(--ink-65); --rule: var(--ink-12); --eyebrow: var(--red); --focus: var(--red); }
.s-paper { --bg: var(--paper); --fg: var(--anth); --muted: var(--ink-65); --rule: var(--ink-12); --eyebrow: var(--red); --focus: var(--red); }
/* Rot auf Anthrazit nur als Grafik, nie als Schrift → Überzeilen grau */
.s-dark  { --bg: var(--anth); --fg: var(--white); --muted: var(--white-65); --rule: var(--white-14); --eyebrow: var(--white-65); --focus: var(--white); }
.s-red   { --bg: var(--red); --fg: var(--white); --muted: var(--white); --rule: rgba(255, 255, 255, .3); --eyebrow: var(--white); --focus: var(--white); }

.s-light, .s-paper, .s-dark, .s-red { background: var(--bg); color: var(--fg); }

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  background: var(--anth);
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: clamp(1rem, .95rem + .2vw, 1.0625rem);
  font-weight: 400;
  line-height: 1.6;
  color: var(--anth);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-kerning: normal;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }

::selection { background: var(--red); color: var(--white); }

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

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip {
  position: fixed; top: 12px; left: 12px; z-index: 100;
  padding: 12px 18px; background: var(--white); color: var(--anth);
  font-size: .85rem; font-weight: 600;
  transform: translateY(-160%); transition: transform .2s;
}
.skip:focus { transform: none; }

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

.section { padding-block: var(--section); position: relative; }

/* ---------- Typografie ---------- */
.display {
  font-size: clamp(3rem, 1.4rem + 6.6vw, 8.25rem);
  font-weight: 500;
  line-height: .98;
  letter-spacing: -.032em;
}

.h2 {
  font-size: clamp(2.25rem, 1.35rem + 3.9vw, 4.75rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -.024em;
  text-wrap: balance;
}

/* Newsreader Italic als Akzent – ein Wort pro Satz */
.display em, .h2 em, .stand__text em, .accent {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.1em;
  letter-spacing: -.012em;
  line-height: 0;
}

.lead {
  font-size: clamp(1.125rem, 1rem + .55vw, 1.45rem);
  line-height: 1.55;
  max-width: 34em;
  text-wrap: pretty;
}
.s-dark .lead { font-weight: 350; }

.muted { color: var(--muted); }

.eyebrow {
  display: block;
  margin-bottom: clamp(20px, 2.4vw, 32px);
  font-size: .78rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--eyebrow);
}

/* Längenstrich über dem A – nur als Grafik */
/* Proportionen aus der Logodatei: 66 % der A-Breite, Abstand ≈ 16 % der Versalhöhe */
.macron { position: relative; display: inline-block; line-height: 1; }
.macron::before {
  content: "";
  position: absolute;
  left: 17%;
  right: calc(17% + var(--ls, 0em));
  top: -.05em;
  height: max(.09em, 1.5px);
  background: var(--red);
}
.eyebrow .macron { --ls: .22em; }

.ph {
  border-bottom: 1px dashed currentColor;
  color: var(--muted);
  font-weight: 400;
}

/* ---------- Einblenden beim Scrollen (nur mit JS) ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
  transition-delay: calc(var(--d, 0) * 100ms);
}
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Header ---------- */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-top);
  color: var(--hfg);
  transition: height .45s var(--ease-out), background-color .45s, color .45s, box-shadow .45s;
}
@media (max-width: 900px) { :root { --header-top: 84px; } }
.header[data-theme="dark"], .header[data-theme="red"] {
  --hfg: var(--white); --hbg: rgba(30, 31, 34, .9); --hrule: var(--white-14); --focus: var(--white);
}
.header[data-theme="light"] {
  --hfg: var(--anth); --hbg: rgba(255, 255, 255, .9); --hrule: var(--ink-12); --focus: var(--red);
}
.header.is-scrolled {
  height: var(--header-h);
  background: var(--hbg);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 1px 0 var(--hrule);
}
.menu-open .header { background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; color: var(--white); --focus: var(--white); }

.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.header__brand { display: block; flex: none; }
.header__logo { height: 26px; width: auto; aspect-ratio: 960 / 136.7; }

.nav ul { display: flex; gap: clamp(20px, 2.6vw, 40px); }
.nav a {
  position: relative;
  display: block;
  padding: 10px 0;
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
}
/* Aktiver Punkt: Längenstrich in Rot */
.nav a::before {
  content: "";
  position: absolute;
  left: 50%; top: 0;
  width: 22px; height: 3px;
  margin-left: -11px;
  background: var(--red);
  transform: scaleX(0);
  transition: transform .4s var(--ease-out);
}
.nav a:hover::before, .nav a.is-active::before, .nav a[aria-current]::before { transform: scaleX(1); }

.menu-toggle {
  display: none;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.menu-toggle__icon { position: relative; width: 22px; height: 12px; }
.menu-toggle__icon i {
  position: absolute; left: 0; right: 0; height: 2px; background: currentColor;
  transition: transform .4s var(--ease-out), top .4s var(--ease-out);
}
.menu-toggle__icon i:first-child { top: 1px; }
.menu-toggle__icon i:last-child { top: 9px; }
.menu-open .menu-toggle__icon i:first-child { top: 5px; transform: rotate(45deg); }
.menu-open .menu-toggle__icon i:last-child { top: 5px; transform: rotate(-45deg); }

.menu {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--header-h) + 24px) var(--gutter) clamp(40px, 8vh, 72px);
  background: var(--anth);
  color: var(--white);
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s, visibility 0s .4s;
  --focus: var(--white);
}
.menu-open .menu { opacity: 1; visibility: visible; transition: opacity .4s; }
.menu ul { display: grid; gap: 6px; width: 100%; }
.menu a {
  display: block;
  padding: 8px 0;
  font-size: clamp(2rem, 9vw, 3rem);
  font-weight: 500;
  letter-spacing: -.02em;
  line-height: 1.1;
}
.menu__legal { display: flex; gap: 24px; margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--white-14); }
.menu .menu__legal a { font-size: .74rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--white-65); }

@media (max-width: 1100px) {
  .nav { display: none; }
  .menu-toggle { display: inline-flex; }
}
@media (max-width: 420px) {
  .header__logo { height: 22px; }
}

/* ---------- Bildmarke zum Zeichnen ---------- */
.draw { overflow: visible; }
.draw path {
  fill: none;
  stroke-width: 48.5;
  stroke-linecap: butt;
  stroke-linejoin: miter;
  stroke-miterlimit: 4;
  stroke-dasharray: 1 1;
  stroke-dashoffset: 0;
}
.draw__arc { stroke: currentColor; }
.draw__corner { stroke: var(--red); }

@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade-in { to { opacity: 1; } }
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }

/* ---------- Hero ----------
   Alles liegt auf einem Raster, das bündig mit dem Inhaltsbereich ist:
   - Spalten: der Inhaltsbereich (.container) wird in --cols gleiche Zellen geteilt,
     Logo, Überschrift, Navigation und Bildmarke stehen auf diesen Linien.
   - Zeilen: beginnen direkt unter der Navigation; der Hero füllt den ganzen Bildschirm.
   cqw bezieht sich auf die Breite des Heros (ohne Scrollleiste) – deshalb
   werden die Maße nur in den Kind-Elementen ausgewertet. */
.hero {
  --cols: 10;
  --cw: min(100cqw - 2 * var(--gutter), var(--container));  /* Breite des Inhaltsbereichs */
  --cell: calc(var(--cw) / var(--cols));                    /* Kantenlänge einer Zelle */
  --gx: calc((100cqw - var(--cw)) / 2);                     /* linke Kante des Inhaltsbereichs */
  --h: max(100svh, var(--header-top) + var(--cell) * 5);    /* Höhe des Heros */
  container-type: inline-size;
  position: relative;
  overflow: hidden;
}
@media (max-width: 1100px) { .hero { --cols: 8; } }
@media (max-width: 760px)  { .hero { --cols: 6; } }
@media (max-width: 520px)  { .hero { --cols: 4; } }

/* Höhe: ganzer Bildschirm (mindestens Navigation + fünf Zeilen) */
.hero__stage { height: 100vh; height: var(--h); }

/* Raster aus Kreisen – aus der Bildmarke abgeleitet; beginnt unter der Navigation */
.hero__grid {
  position: absolute;
  inset: var(--header-top) 0 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cg fill='none' stroke='%23fff' stroke-opacity='.085' stroke-width='.8'%3E%3Ccircle cx='50' cy='50' r='49.6'/%3E%3Cpath d='M0 .4H100M.4 0V100'/%3E%3C/g%3E%3C/svg%3E");
  background-size: var(--cell) var(--cell);
  background-position: var(--gx) 0;
  -webkit-mask-image: radial-gradient(140% 110% at 100% 0%, #000 25%, rgba(0, 0, 0, .18) 80%);
  mask-image: radial-gradient(140% 110% at 100% 0%, #000 25%, rgba(0, 0, 0, .18) 80%);
  opacity: 0;
  animation: fade-in 1.4s .05s ease forwards;
}

/* Bildmarke: letzte Spalte, zweite Zeile – rechte Kante bündig mit der Navigation */
.hero__mark {
  position: absolute;
  top: calc(var(--header-top) + var(--cell));
  left: calc(var(--gx) + var(--cell) * (var(--cols) - 1));
  width: var(--cell);
  height: var(--cell);
  color: var(--white);
}
.hero__mark path { stroke-dashoffset: 1; }
.hero__mark .draw__arc { animation: draw 1.5s .45s var(--ease-inout) forwards; }
.hero__mark .draw__corner { animation: draw .6s 1.95s var(--ease-out) forwards; }

/* Überschrift: links bündig auf der ersten Spaltenlinie */
.hero__content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: var(--cell);
}
/* Grundlinie auf der letzten Rasterlinie, unter der noch mindestens eine halbe Zelle Luft bleibt */
@supports (bottom: round(down, 100px, 7px)) {
  .hero__content {
    bottom: calc(var(--h) - var(--header-top) - round(down, var(--h) - var(--header-top) - var(--cell) / 2, var(--cell)));
  }
}
.hero__content > * { opacity: 0; animation: rise 1.1s var(--ease-out) forwards; }
.hero__title {
  animation-delay: .75s !important;
  max-width: min(11.5em, calc(var(--cell) * (var(--cols) - 1)));
  margin-bottom: -.1515em;   /* Unterlänge + halber Durchschuss: Grundlinie liegt auf der Linie */
  text-indent: -.105em;      /* Vorbreite des M: der Stamm steht auf der Linie */
  font-size: clamp(2.6rem, 1.1rem + 5.4vw, 7rem);
  line-height: 1.02;
  text-wrap: balance;
}

/* ---------- Der Name ---------- */
.name .lead { margin-top: clamp(28px, 3vw, 40px); }
.powers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2vw, 28px);
  margin-top: clamp(72px, 10vw, 136px);
}
.power { position: relative; padding-top: clamp(20px, 2vw, 28px); }
.power::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--anth);
  transform-origin: left center;
}
.power--iv::before { background: var(--red); }
.js .power::before { transform: scaleX(0); transition: transform 1.1s var(--ease-out); transition-delay: calc(var(--i) * 160ms + 100ms); }
.js .powers.is-in .power::before { transform: none; }
.js .power > * { opacity: 0; transform: translateY(12px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); transition-delay: calc(var(--i) * 160ms + 300ms); }
.js .powers.is-in .power > * { opacity: 1; transform: none; }

.power__num {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(2rem, 1.4rem + 1.8vw, 2.9rem);
  line-height: 1;
}
.power__label {
  display: block;
  margin-top: 18px;
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
}
.power__name {
  display: block;
  margin-top: 6px;
  font-size: clamp(1.15rem, .9rem + .9vw, 1.6rem);
  font-weight: 500;
  letter-spacing: -.01em;
}
.power--iv .power__num, .power--iv .power__label { color: var(--red); }

@media (max-width: 760px) {
  .powers { grid-template-columns: 1fr 1fr; row-gap: 48px; }
}

/* ---------- Verpflichtung ---------- */
.duty__grid {
  display: grid;
  grid-template-columns: 4fr 8fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.duty__text { text-align: right; }
.duty .h2 { font-size: clamp(2.25rem, 1.2rem + 3.3vw, 4.25rem); }
.duty__text .lead { margin: clamp(28px, 3vw, 40px) 0 0 auto; }
.duty__lines svg { width: 100%; height: auto; }
.duty__lines rect { fill: rgba(255, 255, 255, .17); transform-box: fill-box; transform-origin: left center; }
.duty__lines rect.is-cursor { fill: var(--white-65); }
.js .duty__lines rect { transform: scaleX(0); transition: transform .45s var(--ease-out); transition-delay: calc(var(--i) * 13ms); }
.js .duty__lines.is-in rect { transform: none; }
.duty__lines rect.is-cursor { animation: blink 1.2s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

@media (max-width: 900px) {
  .duty__grid { grid-template-columns: 1fr; }
  .duty__text { text-align: left; }
  .duty__text .lead { margin-left: 0; }
  .duty__lines { order: 2; max-width: 440px; }
}

/* ---------- Unsere Zeit · Stimmen ---------- */
.time { overflow-x: clip; }
.time .lead { margin-top: clamp(28px, 3vw, 40px); }
.voices { margin-top: clamp(64px, 9vw, 128px); }
.voices__grid {
  display: grid;
  grid-template-columns: repeat(var(--cols, 12), 1fr);
  row-gap: clamp(18px, 3vw, 44px);
}
.voice {
  justify-self: center;
  width: clamp(24px, 3.2vw, 46px);
  height: auto;
  aspect-ratio: 1;
  color: rgba(30, 31, 34, .3);
  --qm-accent: rgba(30, 31, 34, .3);
  will-change: transform, opacity;
  transition: color .8s, --qm-accent .8s;
}
.voices.is-ordered .voice--one { color: var(--anth); --qm-accent: var(--red); }

/* ---------- Vision ---------- */
.vision .lead { margin-top: clamp(32px, 3.4vw, 48px); max-width: 36em; }
.vision .h2 { font-size: clamp(2.5rem, 1.3rem + 5vw, 5.75rem); }

/* ---------- Leitbild ---------- */
.creed__grid {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: clamp(48px, 8vw, 136px);
  align-items: center;
}
.creed__text .lead { margin-top: clamp(28px, 3vw, 40px); }

/* Vier Viertel ergeben ein Ganzes – in der Form der Bildmarke */
.quad {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(6px, .9vw, 10px);
  width: 100%;
  max-width: 500px;
  aspect-ratio: 1;
}
.quad__q {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(14px, 2.2vw, 28px);
  background: var(--anth);
  color: var(--white);
  transition: opacity .45s, transform 1.1s var(--ease-out);
}
.quad__q--1 { border-top-left-radius: 100%; align-items: flex-end; justify-content: flex-end; text-align: right; --tx: -22px; --ty: -22px; }
.quad__q--2 { border-top-right-radius: 100%; align-items: flex-start; justify-content: flex-end; --tx: 22px; --ty: -22px; }
.quad__q--3 { border-bottom-left-radius: 100%; align-items: flex-end; justify-content: flex-start; text-align: right; --tx: -22px; --ty: 22px; }
.quad__q--4 { background: var(--red); align-items: flex-start; justify-content: flex-start; --tx: 22px; --ty: 22px; }
.js .quad__q { opacity: 0; transform: translate(var(--tx), var(--ty)); }
.js .quad.is-in .quad__q { opacity: 1; transform: none; }
.js .quad.is-in .quad__q--2 { transition-delay: .1s; }
.js .quad.is-in .quad__q--3 { transition-delay: .2s; }
.js .quad.is-in .quad__q--4 { transition-delay: .45s; }

.quad__num {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.15rem, .9rem + 1vw, 1.75rem);
  line-height: 1;
  color: var(--white-65);
}
.quad__q--4 .quad__num { color: var(--white); }
.quad__name {
  margin-top: 6px;
  font-size: clamp(.8rem, .62rem + .7vw, 1.2rem);
  font-weight: 600;
  line-height: 1.2;
}

.stand { margin-top: clamp(96px, 12vw, 176px); }
.stand__list { border-top: 1px solid var(--rule); }
.stand__item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(18px, 2.6vw, 40px);
  padding: clamp(18px, 2.4vw, 32px) 0;
  border-bottom: 1px solid var(--rule);
  transition: opacity .45s;
}
.stand__text {
  font-size: clamp(1.8rem, .9rem + 3.6vw, 4.25rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -.024em;
}
.stand__value {
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.stand__value .accent { font-size: 1.35em; letter-spacing: 0; text-transform: none; margin-right: .35em; line-height: 1; }

.qicon {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  width: clamp(28px, 3vw, 44px);
  aspect-ratio: 1;
}
.qicon i { background: #DCDCDC; }
.qicon i:nth-child(1) { border-top-left-radius: 100%; }
.qicon i:nth-child(2) { border-top-right-radius: 100%; }
.qicon i:nth-child(3) { border-bottom-left-radius: 100%; }
.qicon--1 i:nth-child(1), .qicon--2 i:nth-child(2), .qicon--3 i:nth-child(3) { background: var(--anth); }
.qicon--4 i:nth-child(4) { background: var(--red); }

/* Verknüpfung Viertel ↔ Satz */
.creed[data-active="1"] [data-v]:not([data-v="1"]),
.creed[data-active="2"] [data-v]:not([data-v="2"]),
.creed[data-active="3"] [data-v]:not([data-v="3"]),
.creed[data-active="4"] [data-v]:not([data-v="4"]) { opacity: .28; }

@media (max-width: 900px) {
  .creed__grid { grid-template-columns: 1fr; }
  .quad { max-width: 400px; }
}
@media (max-width: 640px) {
  .stand__item { grid-template-columns: auto 1fr; row-gap: 6px; }
  .stand__value { grid-column: 2; }
}

/* ---------- Verantwortung ---------- */
.resp { overflow: hidden; }
.resp .lead { margin-top: clamp(32px, 3.4vw, 48px); max-width: 36em; }
.resp__num {
  position: absolute;
  right: -.02em;
  bottom: -.26em;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(14rem, 36vw, 36rem);
  line-height: 1;
  color: rgba(255, 255, 255, .09);
  pointer-events: none;
  user-select: none;
}
.resp .container { position: relative; }

/* ---------- Medienkultur ---------- */
.culture {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: clamp(20px, 3vw, 44px);
  margin-top: clamp(72px, 10vw, 144px);
}
.culture__item { position: relative; padding: clamp(24px, 2.6vw, 34px) 0 clamp(40px, 4.4vw, 60px); }
.culture__item::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0;
  height: 1px;
  background: var(--rule);
  transform-origin: left center;
  transition: background-color .4s;
}
.culture__item:hover::before { background: var(--white-65); }
/* Vertrauen trägt Verantwortung – Linie in Rot (Grafik, keine Schrift) */
.culture__item--trust::before, .culture__item--trust:hover::before { background: var(--red); height: 2px; }
.js .culture__item::before { transform: scaleX(0); transition: transform 1.1s var(--ease-out), background-color .4s; transition-delay: calc(var(--i) * 120ms); }
.js .culture.is-in .culture__item::before { transform: none; }
.js .culture__item > * { opacity: 0; transform: translateY(12px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); transition-delay: calc(var(--i) * 120ms + 250ms); }
.js .culture.is-in .culture__item > * { opacity: 1; transform: none; }

.culture__term {
  font-size: clamp(1.65rem, 1.1rem + 1.9vw, 2.6rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -.018em;
}
.culture__foil {
  margin-top: .35em;
  font-size: clamp(1.05rem, .92rem + .5vw, 1.4rem);
  font-weight: 300;
  color: var(--muted);
}
@media (max-width: 860px) { .culture { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .culture { grid-template-columns: 1fr; } }

/* ---------- Footer: nur die untere Zeile ---------- */
.footer { padding: clamp(26px, 3vw, 34px) 0; }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 32px;
  font-size: .82rem;
  color: var(--white-65);
}
.footer__legal { display: flex; gap: 28px; }
.footer__bottom a {
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--white-65);
  transition: color .3s;
}
.footer__bottom a:hover { color: var(--white); }

/* ---------- Portfolio und Produktionen ---------- */
.works__head, .news__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px 48px;
}
.filter { display: flex; gap: clamp(20px, 2.4vw, 32px); }
.filter[hidden] { display: none; }
.filter__btn {
  position: relative;
  padding: 10px 0;
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color .3s;
}
.filter__btn::before {
  content: "";
  position: absolute; left: 50%; top: 0;
  width: 22px; height: 3px; margin-left: -11px;
  background: var(--red);
  transform: scaleX(0);
  transition: transform .4s var(--ease-out);
}
.filter__btn:hover, .filter__btn[aria-pressed="true"] { color: var(--fg); }
.filter__btn[aria-pressed="true"]::before { transform: scaleX(1); }

.works__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(48px, 5vw, 72px) clamp(20px, 2.6vw, 40px);
  margin-top: clamp(56px, 7vw, 96px);
}
.work[hidden] { display: none; }
.work__link { display: block; height: 100%; }
.work__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--anth);
}
.work__media img, .work__cover {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease-out);
}
/* Kachel ohne Bild: Raster aus der Bildmarke, Medium in Newsreader Italic */
.work__cover {
  display: flex;
  align-items: flex-end;
  padding: clamp(20px, 2.2vw, 30px);
  color: var(--white);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cg fill='none' stroke='%23fff' stroke-opacity='.09' stroke-width='.8'%3E%3Ccircle cx='50' cy='50' r='49.6'/%3E%3Cpath d='M0 .4H100M.4 0V100'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 25% auto;
  background-position: right top;
}
.work__cover span {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(2rem, 1.2rem + 2.2vw, 3.2rem);
  line-height: 1;
  letter-spacing: -.01em;
}
.work__media--produktion { background: var(--paper); }
.work__media--produktion .work__cover {
  color: var(--anth);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cg fill='none' stroke='%231E1F22' stroke-opacity='.09' stroke-width='.8'%3E%3Ccircle cx='50' cy='50' r='49.6'/%3E%3Cpath d='M0 .4H100M.4 0V100'/%3E%3C/g%3E%3C/svg%3E");
}
a.work__link:hover .work__media img, a.work__link:hover .work__cover { transform: scale(1.035); }

.work__meta {
  margin-top: 22px;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}
.work__title {
  margin-top: 10px;
  font-size: clamp(1.3rem, 1rem + .9vw, 1.75rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -.015em;
}
.work__text { margin-top: 10px; color: var(--muted); }
.work__more {
  display: inline-flex; gap: 10px;
  margin-top: 16px;
  font-size: .74rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
}
.work__more span { transition: transform .4s var(--ease-out); }
a.work__link:hover .work__more span { transform: translateX(5px); color: var(--red); }

@media (max-width: 960px) { .works__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .works__grid { grid-template-columns: 1fr; } }

/* ---------- News ---------- */
.more-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  background: linear-gradient(var(--red), var(--red)) 0 100% / 22px 3px no-repeat;
  transition: background-size .45s var(--ease-out);
}
.more-link:hover { background-size: 100% 3px; }
.more-link span { transition: transform .4s var(--ease-out); }
.more-link:hover span { transform: translateX(5px); }

.news__list { margin-top: clamp(48px, 6vw, 80px); border-top: 1px solid var(--rule); }
.news-item__link {
  display: grid;
  grid-template-columns: minmax(170px, 2.2fr) 7fr auto;
  gap: 12px clamp(24px, 4vw, 64px);
  align-items: start;
  padding: clamp(26px, 3vw, 40px) 0;
  border-bottom: 1px solid var(--rule);
}
.news-item__meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: .5em;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}
.news-item__cat { color: var(--eyebrow); }
.news-item__title {
  font-size: clamp(1.4rem, 1rem + 1.35vw, 2.15rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -.018em;
  text-wrap: balance;
}
.news-item__title span {
  background: linear-gradient(var(--red), var(--red)) 0 100% / 0 2px no-repeat;
  transition: background-size .5s var(--ease-out);
}
.news-item__link:hover .news-item__title span { background-size: 100% 2px; }
.news-item__teaser { margin-top: .7em; max-width: 42em; color: var(--muted); }
.news-item__arrow {
  align-self: center;
  font-size: 1.5rem;
  line-height: 1;
  transition: transform .4s var(--ease-out), color .3s;
}
.news-item__link:hover .news-item__arrow { transform: translateX(6px); color: var(--red); }
@media (max-width: 760px) {
  .news-item__link { grid-template-columns: 1fr; }
  .news-item__meta { flex-direction: row; gap: 14px; padding-top: 0; }
  .news-item__arrow { display: none; }
}

.empty { margin-top: clamp(40px, 5vw, 64px); color: var(--muted); }

/* ---------- Einzelmeldung ---------- */
.back-link {
  display: inline-flex;
  gap: 10px;
  margin-bottom: clamp(36px, 4vw, 56px);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color .3s;
}
.back-link:hover { color: var(--fg); }
.back-link span { transition: transform .4s var(--ease-out); }
.back-link:hover span { transform: translateX(-5px); }
.article-hero .h2 { max-width: 18em; }
.prose.prose--article { font-size: clamp(1.05rem, 1rem + .25vw, 1.2rem); line-height: 1.7; }
.prose.prose--article h2 { font-size: clamp(1.35rem, 1.1rem + .8vw, 1.75rem); font-weight: 500; letter-spacing: -.012em; }
.prose blockquote {
  margin: 2em 0;
  padding: 4px 0 4px 24px;
  border-left: 3px solid var(--red);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.45em;
  line-height: 1.3;
}
.prose code { font-size: .9em; background: var(--paper); padding: .1em .35em; }

/* ---------- Rechtliche Seiten ---------- */
.page-hero { padding: calc(var(--header-top) + clamp(72px, 10vw, 144px)) 0 clamp(48px, 6vw, 80px); }
.page-hero .lead { margin-top: clamp(20px, 2.4vw, 32px); color: var(--muted); }
/* Oberhalb der Falz: sofort einblenden, nicht erst beim Scrollen */
.js .page-hero .reveal { transition: none; animation: rise 1s var(--ease-out) forwards; animation-delay: calc(var(--d, 0) * 100ms + 100ms); }
.legal { padding: 0 0 var(--section); }
.prose { max-width: 46rem; }
.prose h2 { margin: 2.6em 0 .7em; font-size: 1.15rem; font-weight: 600; line-height: 1.35; letter-spacing: -.005em; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose ul { margin: 0 0 1em; }
.prose ul { padding-left: 1.2em; list-style: disc; }
.prose li { margin-bottom: .4em; }
.prose a { border-bottom: 1px solid var(--red); }
.notice {
  max-width: 46rem;
  margin-bottom: clamp(40px, 5vw, 64px);
  padding: 18px 22px;
  border: 1px dashed var(--ink-40);
  background: var(--paper);
  font-size: .92rem;
}

/* ---------- Weniger Bewegung ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    transition-delay: 0s !important;
  }
}
