:root {
  --ink: #171a17;
  --ink-soft: #4c5048;
  --paper: #f1ead8;
  --paper-light: #fbf6e9;
  --paper-dark: #d7c9aa;
  --walnut: #4c291d;
  --walnut-dark: #271610;
  --orange: #d86b24;
  --orange-dark: #9b3f16;
  --teal: #276b68;
  --teal-dark: #163e3d;
  --olive: #747346;
  --cream: #fffaf0;
  --line: rgba(41, 35, 25, 0.2);
  --shadow: 0 22px 60px rgba(38, 25, 16, 0.18);
  --display: Georgia, "Times New Roman", serif;
  --sans: "Arial Narrow", "Aptos Narrow", Arial, sans-serif;
  --typewriter: "Courier New", Courier, monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 17% 7%, rgba(255, 255, 255, 0.74), transparent 22rem),
    repeating-linear-gradient(0deg, rgba(70, 52, 28, 0.018) 0, rgba(70, 52, 28, 0.018) 1px, transparent 1px, transparent 4px),
    var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body.dialog-open {
  overflow: hidden;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.skip-link {
  position: fixed;
  z-index: 1000;
  left: 1rem;
  top: 1rem;
  padding: 0.7rem 1rem;
  background: var(--ink);
  color: white;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: 84px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
  padding: 0.7rem clamp(1.2rem, 4vw, 4.5rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(24, 27, 24, 0.97);
  color: var(--cream);
  box-shadow: 0 8px 30px rgba(24, 16, 10, 0.23);
}

.brand {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  min-width: 0;
}

.brand img {
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  border-radius: 50%;
  border: 2px solid rgba(255, 167, 60, 0.75);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.45);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-copy strong {
  font-family: var(--typewriter);
  font-size: 1rem;
  letter-spacing: 0.11em;
}

.brand-copy small {
  margin-top: 0.3rem;
  color: #e7c892;
  font-size: 0.72rem;
  letter-spacing: 0.21em;
  text-transform: uppercase;
}

.site-header nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(1.4rem, 3vw, 3.2rem);
}

.site-header nav a {
  position: relative;
  padding: 0.5rem 0;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.site-header nav a::after {
  position: absolute;
  content: "";
  left: 0;
  right: 100%;
  bottom: 0.25rem;
  height: 2px;
  background: var(--orange);
  transition: right 180ms ease;
}

.site-header nav a:hover::after,
.site-header nav a:focus-visible::after {
  right: 0;
}

.main-site-link {
  justify-self: end;
  padding: 0.62rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.26);
  font-family: var(--typewriter);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  transition: background 160ms ease, color 160ms ease;
}

.main-site-link:hover,
.main-site-link:focus-visible {
  background: var(--cream);
  color: var(--ink);
}

.hero {
  position: relative;
  min-height: min(800px, calc(100vh - 84px));
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(330px, 0.6fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 7rem);
  padding: clamp(5rem, 9vw, 8.5rem) clamp(1.4rem, 7vw, 8rem) 6.5rem;
  overflow: hidden;
  background: #d9cfb8;
  isolation: isolate;
}

.hero-illustration {
  position: absolute;
  z-index: -3;
  inset: 0;
  background-image: url("../assets/medienbuero-hero.png");
  background-position: center;
  background-size: cover;
  filter: saturate(0.9) contrast(1.02);
}

.hero-shade {
  position: absolute;
  z-index: -2;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(22, 25, 22, 0.94) 0%, rgba(25, 28, 24, 0.82) 34%, rgba(34, 34, 25, 0.34) 65%, rgba(17, 18, 15, 0.1) 100%),
    linear-gradient(0deg, rgba(20, 19, 15, 0.55) 0%, transparent 35%);
}

.hero::after {
  position: absolute;
  z-index: -1;
  content: "";
  inset: 1.2rem;
  border: 1px solid rgba(255, 248, 225, 0.21);
  pointer-events: none;
}

.hero-content {
  max-width: 760px;
  color: var(--cream);
}

.overline,
.eyebrow,
.card-kicker,
.note-label {
  margin: 0 0 1rem;
  color: var(--orange);
  font-family: var(--typewriter);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.overline {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: #efbe78;
}

.overline::before {
  content: "";
  width: 42px;
  height: 1px;
  background: currentColor;
}

.hero h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(4.6rem, 10.5vw, 9.4rem);
  font-weight: 400;
  letter-spacing: -0.07em;
  line-height: 0.78;
  text-shadow: 0 8px 30px rgba(0, 0, 0, 0.22);
}

.hero h1 em {
  color: #f2a24a;
  font-weight: 700;
}

.hero-intro {
  max-width: 630px;
  margin: 2.4rem 0 0;
  color: rgba(255, 250, 240, 0.88);
  font-family: var(--display);
  font-size: clamp(1.18rem, 2vw, 1.45rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 0.85rem;
  min-height: 50px;
  padding: 0.78rem 1.2rem;
  border: 1px solid transparent;
  border-radius: 0;
  cursor: pointer;
  font-size: 0.77rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--orange);
  color: white;
  box-shadow: 5px 5px 0 rgba(53, 23, 9, 0.55);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #f08034;
  box-shadow: 3px 3px 0 rgba(53, 23, 9, 0.55);
}

.button-paper {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 250, 240, 0.12);
  color: white;
  backdrop-filter: blur(6px);
}

.button-paper:hover,
.button-paper:focus-visible {
  background: var(--cream);
  color: var(--ink);
}

.desk-note {
  position: relative;
  justify-self: end;
  width: min(100%, 390px);
  padding: 3rem 2.5rem 2.2rem;
  background:
    repeating-linear-gradient(0deg, transparent 0, transparent 31px, rgba(50, 92, 103, 0.12) 31px, rgba(50, 92, 103, 0.12) 32px),
    #f5efd9;
  color: #24221c;
  box-shadow: 18px 22px 50px rgba(25, 17, 10, 0.42);
  transform: rotate(1.8deg);
}

.desk-note::before {
  position: absolute;
  content: "";
  top: -8px;
  left: 50%;
  width: 88px;
  height: 28px;
  background: rgba(210, 174, 104, 0.62);
  transform: translateX(-50%) rotate(-3deg);
  box-shadow: 0 1px 3px rgba(20, 15, 10, 0.18);
}

.desk-note .pin {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #9e2d1c;
  box-shadow: 1px 2px 2px rgba(0, 0, 0, 0.28);
}

.desk-note .note-label {
  margin-bottom: 0.35rem;
  color: var(--teal);
}

.desk-note > strong {
  color: #8e3b1d;
  font-family: var(--typewriter);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.desk-note h2 {
  margin: 1rem 0;
  font-family: var(--display);
  font-size: clamp(1.7rem, 3vw, 2.25rem);
  line-height: 1.05;
}

.desk-note p:not(.note-label) {
  margin: 0;
  font-family: var(--typewriter);
  font-size: 0.84rem;
  line-height: 1.7;
}

.desk-note button {
  margin: 1.4rem 0 1.1rem;
  padding: 0.4rem 0;
  border: 0;
  border-bottom: 2px solid var(--orange-dark);
  background: transparent;
  cursor: pointer;
  color: var(--orange-dark);
  font-family: var(--typewriter);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.desk-note small {
  display: block;
  color: #706653;
  font-family: var(--typewriter);
  font-size: 0.65rem;
}

.hero-index {
  position: absolute;
  left: clamp(1.4rem, 7vw, 8rem);
  right: clamp(1.4rem, 7vw, 8rem);
  bottom: 1.8rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  color: rgba(255, 249, 233, 0.72);
  font-family: var(--typewriter);
  font-size: 0.64rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero-index i {
  width: 35px;
  height: 1px;
  background: rgba(255, 249, 233, 0.35);
}

.dispatch,
.archive,
.bookshelf,
.closing-note {
  padding: clamp(5.5rem, 9vw, 9rem) clamp(1.4rem, 7vw, 8rem);
}

.dispatch,
.archive {
  max-width: 1600px;
  margin: 0 auto;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.52fr);
  gap: clamp(2rem, 8vw, 8rem);
  align-items: end;
  margin-bottom: 3rem;
}

.section-heading .eyebrow,
.bookshelf .eyebrow,
.closing-note .eyebrow {
  margin-bottom: 0.6rem;
}

.section-heading h2,
.bookshelf h2 {
  max-width: 900px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.8rem, 5.4vw, 5rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.section-heading > p {
  margin: 0;
  padding-left: 1.4rem;
  border-left: 3px solid var(--orange);
  color: var(--ink-soft);
  font-family: var(--display);
  font-size: 1.07rem;
}

.dispatch-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.55fr);
  gap: clamp(1.2rem, 3vw, 2.5rem);
}

.broadcast-card {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(320px, 1fr);
  min-height: 430px;
  border: 1px solid rgba(43, 35, 25, 0.23);
  background: var(--paper-light);
  box-shadow: var(--shadow);
}

.broadcast-cover {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  background:
    repeating-radial-gradient(circle at 50% 55%, transparent 0, transparent 26px, rgba(255, 255, 255, 0.07) 27px, transparent 29px),
    linear-gradient(145deg, #307b73, #153c3a 72%);
  color: white;
}

.broadcast-cover::after {
  position: absolute;
  content: "";
  inset: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.frequency {
  position: absolute;
  z-index: 2;
  top: 1.8rem;
  left: 1.8rem;
  font-family: var(--typewriter);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
}

.sound-ring {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 52%;
  border: 1px solid rgba(242, 195, 113, 0.36);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.ring-one {
  width: 300px;
  height: 300px;
}

.ring-two {
  width: 220px;
  height: 220px;
}

.microphone {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 51%;
  width: 140px;
  height: 260px;
  transform: translate(-50%, -50%);
}

.mic-head {
  position: absolute;
  left: 23px;
  top: 0;
  width: 94px;
  height: 146px;
  border: 8px solid #e2b364;
  border-radius: 48px;
  background:
    repeating-linear-gradient(90deg, rgba(245, 212, 155, 0.55) 0, rgba(245, 212, 155, 0.55) 2px, transparent 2px, transparent 8px),
    #202523;
  box-shadow: 9px 12px 0 rgba(0, 0, 0, 0.22);
}

.mic-head::before,
.mic-head::after {
  position: absolute;
  content: "";
  left: 8px;
  right: 8px;
  height: 7px;
  background: #e2b364;
}

.mic-head::before {
  top: 42px;
}

.mic-head::after {
  top: 83px;
}

.mic-neck {
  position: absolute;
  left: 65px;
  top: 145px;
  width: 12px;
  height: 78px;
  background: #d7a34e;
}

.mic-base {
  position: absolute;
  left: 25px;
  bottom: 17px;
  width: 92px;
  height: 17px;
  border-radius: 50%;
  background: #c8933e;
  box-shadow: 0 8px 0 rgba(0, 0, 0, 0.17);
}

.broadcast-stamp {
  position: absolute;
  z-index: 4;
  right: -1.1rem;
  bottom: 2.2rem;
  padding: 0.45rem 1.5rem;
  border: 3px solid #efb758;
  color: #efb758;
  font-family: var(--typewriter);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transform: rotate(-8deg);
}

.broadcast-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 4vw, 3.5rem);
}

.broadcast-copy h3,
.telegram-card h3,
.media-card h3,
.media-dialog h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.broadcast-copy > p:not(.card-kicker),
.telegram-card > p:not(.telegram-date),
.media-card > p:not(.card-kicker) {
  color: var(--ink-soft);
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.5rem;
  margin-top: 0.6rem;
  padding: 0.8rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-family: var(--typewriter);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.card-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.2rem;
  margin-top: 1.4rem;
}

.text-button {
  padding: 0.35rem 0;
  border: 0;
  border-bottom: 2px solid var(--orange);
  background: transparent;
  cursor: pointer;
  font-family: var(--typewriter);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.card-actions a {
  color: var(--teal);
  font-family: var(--typewriter);
  font-size: 0.69rem;
  font-weight: 700;
  text-transform: uppercase;
}

.telegram-card {
  position: relative;
  align-self: stretch;
  padding: clamp(2rem, 4vw, 3rem);
  border: 1px solid #baa981;
  background:
    repeating-linear-gradient(0deg, transparent 0, transparent 27px, rgba(74, 101, 105, 0.1) 27px, rgba(74, 101, 105, 0.1) 28px),
    #eee5ce;
  box-shadow: 9px 12px 0 rgba(85, 62, 39, 0.18);
  transform: rotate(-0.7deg);
}

.telegram-topline {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.8rem;
  border-bottom: 3px double #83775e;
  font-family: var(--typewriter);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.telegram-date {
  margin: 1rem 0;
  color: var(--orange-dark);
  font-family: var(--typewriter);
  font-size: 0.68rem;
}

.telegram-card h3 {
  font-size: clamp(1.7rem, 2.7vw, 2.5rem);
}

.telegram-card > p:not(.telegram-date) {
  font-family: var(--typewriter);
  font-size: 0.82rem;
  line-height: 1.75;
}

.telegram-lines {
  display: grid;
  gap: 0.5rem;
  margin: 1.2rem 0;
}

.telegram-lines span {
  height: 1px;
  background: rgba(60, 52, 41, 0.23);
}

.telegram-lines span:nth-child(2) {
  width: 86%;
}

.telegram-lines span:nth-child(3) {
  width: 62%;
}

.signature {
  display: block;
  color: #183f3e;
  font-family: var(--display);
  font-size: 1.45rem;
  font-style: italic;
  transform: rotate(-2deg);
}

.telegram-card small {
  font-family: var(--typewriter);
  font-size: 0.62rem;
}

.archive {
  position: relative;
  border-top: 1px solid rgba(60, 45, 28, 0.17);
}

.archive::before {
  position: absolute;
  content: "ARCHIV";
  z-index: -1;
  top: 5rem;
  right: clamp(1.4rem, 7vw, 8rem);
  color: rgba(87, 71, 49, 0.045);
  font-family: var(--typewriter);
  font-size: clamp(5rem, 14vw, 13rem);
  font-weight: 700;
  letter-spacing: -0.08em;
  line-height: 1;
}

.archive-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.8rem;
  padding: 0.75rem;
  border: 1px solid rgba(45, 36, 24, 0.22);
  background: rgba(250, 246, 234, 0.58);
  box-shadow: 0 7px 22px rgba(50, 35, 20, 0.08);
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.filter-tabs button {
  padding: 0.63rem 0.9rem;
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
  font-family: var(--typewriter);
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.filter-tabs button:hover,
.filter-tabs button:focus-visible {
  border-color: var(--teal);
}

.filter-tabs button.active {
  background: var(--teal-dark);
  color: white;
}

.search-box {
  min-width: min(100%, 300px);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.75rem;
  border-bottom: 2px solid var(--ink);
  background: rgba(255, 255, 255, 0.32);
}

.search-box > span[aria-hidden="true"] {
  font-family: var(--display);
  font-size: 1.4rem;
  line-height: 1;
}

.search-box input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  font-family: var(--typewriter);
  font-size: 0.76rem;
}

.search-box button {
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 1.2rem;
}

.result-count {
  margin: 1rem 0 1.4rem;
  color: var(--ink-soft);
  font-family: var(--typewriter);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.media-card {
  position: relative;
  min-height: 390px;
  display: flex;
  flex-direction: column;
  padding: 2.5rem 2rem 1.8rem;
  border: 1px solid rgba(52, 43, 31, 0.22);
  border-top: 6px solid var(--tone);
  background:
    linear-gradient(105deg, rgba(255, 255, 255, 0.3), transparent 30%),
    var(--paper-light);
  box-shadow: 0 13px 30px rgba(52, 36, 20, 0.1);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.media-card:hover {
  transform: translateY(-5px) rotate(-0.25deg);
  box-shadow: 0 22px 45px rgba(52, 36, 20, 0.16);
}

.tone-orange {
  --tone: var(--orange);
}

.tone-teal {
  --tone: var(--teal);
}

.tone-olive {
  --tone: var(--olive);
}

.file-tab {
  position: absolute;
  top: -6px;
  right: 1.2rem;
  min-width: 90px;
  padding: 0.45rem 0.75rem 0.38rem;
  background: var(--tone);
  color: white;
  font-family: var(--typewriter);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-align: center;
  text-transform: uppercase;
}

.issue-box {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  margin-bottom: 2rem;
  border: 1px solid color-mix(in srgb, var(--tone) 55%, transparent);
  color: var(--tone);
  font-family: var(--typewriter);
  font-size: 0.82rem;
  font-weight: 800;
}

.media-card .card-kicker {
  margin-bottom: 0.7rem;
  color: var(--tone);
}

.media-card h3 {
  font-size: clamp(1.7rem, 2.4vw, 2.35rem);
}

.media-card > p:not(.card-kicker) {
  margin-bottom: 1.8rem;
  font-size: 0.96rem;
}

.media-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.media-card-footer > div {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  font-family: var(--typewriter);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.media-card-footer small {
  color: #777061;
  font-size: 0.62rem;
}

.media-card-footer button {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border: 1px solid var(--tone);
  background: transparent;
  cursor: pointer;
  color: var(--tone);
  font-size: 1.35rem;
  transition: background 160ms ease, color 160ms ease;
}

.media-card-footer button:hover,
.media-card-footer button:focus-visible {
  background: var(--tone);
  color: white;
}

.empty-state {
  padding: 4rem 2rem;
  border: 1px dashed var(--line);
  text-align: center;
}

.empty-state strong {
  font-family: var(--display);
  font-size: 2rem;
}

.bookshelf {
  position: relative;
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(500px, 1.28fr);
  align-items: center;
  gap: clamp(3rem, 8vw, 8rem);
  overflow: hidden;
  background:
    linear-gradient(110deg, rgba(21, 56, 54, 0.98), rgba(13, 35, 34, 0.98)),
    var(--teal-dark);
  color: var(--cream);
}

.bookshelf::before,
.bookshelf::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.bookshelf::before {
  inset: 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.bookshelf::after {
  right: -8rem;
  bottom: -9rem;
  width: 38rem;
  height: 38rem;
  border: 1px solid rgba(235, 176, 83, 0.11);
  border-radius: 50%;
  box-shadow: 0 0 0 5rem rgba(235, 176, 83, 0.025), 0 0 0 10rem rgba(235, 176, 83, 0.018);
}

.bookshelf-copy {
  position: relative;
  z-index: 2;
}

.bookshelf .eyebrow {
  color: #e6ae5b;
}

.bookshelf h2 {
  font-size: clamp(2.8rem, 5vw, 5.1rem);
}

.bookshelf-copy > p:not(.eyebrow) {
  max-width: 630px;
  margin: 1.5rem 0 2rem;
  color: rgba(255, 250, 240, 0.76);
  font-family: var(--display);
  font-size: 1.1rem;
}

.book-stack {
  position: relative;
  z-index: 2;
  height: 500px;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1200px;
}

.book {
  position: absolute;
  width: clamp(210px, 20vw, 275px);
  height: clamp(345px, 35vw, 440px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2.2rem 1.7rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  cursor: pointer;
  color: white;
  text-align: left;
  box-shadow: 18px 24px 40px rgba(0, 0, 0, 0.32);
  transition: transform 220ms ease, z-index 0s;
}

.book::before {
  position: absolute;
  content: "";
  inset: 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.34);
}

.book small,
.book span {
  position: relative;
  z-index: 1;
  font-family: var(--typewriter);
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.book strong {
  position: relative;
  z-index: 1;
  font-family: var(--display);
  font-size: clamp(2rem, 3vw, 3.1rem);
  line-height: 0.98;
}

.book-one {
  z-index: 3;
  left: 4%;
  background: #171917;
  transform: rotate(-7deg) translateY(10px);
}

.book-two {
  z-index: 2;
  left: 35%;
  background: #ad4e23;
  transform: rotate(1.5deg) translateY(-15px);
}

.book-three {
  z-index: 1;
  right: 0;
  background: #777245;
  transform: rotate(7deg) translateY(20px);
}

.book:hover,
.book:focus-visible {
  z-index: 5;
  transform: rotate(0deg) translateY(-28px) scale(1.035);
  outline: 3px solid #e6ae5b;
  outline-offset: 5px;
}

.closing-note {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
  background: #e8ddc4;
}

.closing-note img {
  width: clamp(130px, 17vw, 220px);
  height: clamp(130px, 17vw, 220px);
  border-radius: 50%;
  box-shadow: 0 14px 32px rgba(45, 30, 18, 0.2);
}

.closing-note blockquote {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.7rem, 6vw, 6.2rem);
  font-style: italic;
  letter-spacing: -0.055em;
  line-height: 1;
}

.closing-note > div > p:last-child {
  color: var(--ink-soft);
  font-family: var(--typewriter);
  font-size: 0.8rem;
}

footer {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 2rem;
  padding: 3.2rem clamp(1.4rem, 7vw, 8rem);
  background: #171a17;
  color: rgba(255, 250, 240, 0.78);
}

.footer-brand {
  display: flex;
  flex-direction: column;
}

.footer-brand strong {
  color: white;
  font-family: var(--typewriter);
  font-size: 1rem;
  letter-spacing: 0.15em;
}

.footer-brand span,
footer > p {
  font-family: var(--typewriter);
  font-size: 0.64rem;
  letter-spacing: 0.07em;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 1.4rem;
  font-family: var(--typewriter);
  font-size: 0.68rem;
  text-transform: uppercase;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: #efa95d;
}

footer > p {
  grid-column: 1 / -1;
  margin: 1.5rem 0 0;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
}

.modal-backdrop {
  position: fixed;
  z-index: 500;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 1.2rem;
  overflow-y: auto;
  background: rgba(15, 16, 14, 0.78);
  backdrop-filter: blur(8px);
  animation: fade-in 150ms ease-out;
}

.media-dialog {
  position: relative;
  width: min(100%, 680px);
  padding: clamp(2.3rem, 6vw, 4.5rem);
  border-top: 8px solid var(--tone);
  background:
    repeating-linear-gradient(0deg, transparent 0, transparent 31px, rgba(45, 90, 91, 0.08) 31px, rgba(45, 90, 91, 0.08) 32px),
    var(--paper-light);
  box-shadow: 25px 35px 80px rgba(0, 0, 0, 0.48);
  animation: dialog-in 180ms ease-out;
}

.dialog-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 42px;
  height: 42px;
  border: 1px solid var(--ink);
  background: transparent;
  cursor: pointer;
  font-size: 1.7rem;
  line-height: 1;
}

.dialog-close:hover,
.dialog-close:focus-visible {
  background: var(--ink);
  color: white;
}

.dialog-index {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  margin-bottom: 2.5rem;
  border: 2px solid var(--tone);
  color: var(--tone);
  font-family: var(--typewriter);
  font-weight: 800;
}

.media-dialog .card-kicker {
  color: var(--tone);
}

.media-dialog h2 {
  max-width: 550px;
  font-size: clamp(2.3rem, 6vw, 4.3rem);
}

.dialog-description {
  margin: 1.4rem 0;
  color: var(--ink-soft);
  font-family: var(--display);
  font-size: 1.15rem;
}

.media-dialog dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 2rem 0;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.media-dialog dl div {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.media-dialog dt {
  color: var(--ink-soft);
  font-family: var(--typewriter);
  font-size: 0.6rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.media-dialog dd {
  margin: 0;
  font-weight: 700;
}

.coming-soon {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.8rem 0;
  color: var(--tone);
  font-family: var(--typewriter);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.coming-soon span {
  font-size: 0.55rem;
}

@keyframes fade-in {
  from { opacity: 0; }
}

@keyframes dialog-in {
  from {
    opacity: 0;
    transform: translateY(18px) rotate(-0.6deg);
  }
}

@media (max-width: 1120px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-header nav {
    display: none;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.58fr);
    gap: 2rem;
  }

  .hero h1 {
    font-size: clamp(4.2rem, 10vw, 7rem);
  }

  .dispatch-grid {
    grid-template-columns: 1fr;
  }

  .telegram-card {
    width: min(100%, 650px);
    justify-self: end;
  }

  .media-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bookshelf {
    grid-template-columns: 1fr;
  }

  .book-stack {
    width: min(100%, 820px);
    justify-self: center;
  }
}

@media (max-width: 800px) {
  body {
    font-size: 16px;
  }

  .site-header {
    min-height: 72px;
    padding: 0.55rem 1rem;
  }

  .brand img {
    width: 50px;
    height: 50px;
  }

  .brand-copy strong {
    font-size: 0.88rem;
  }

  .main-site-link {
    padding: 0.5rem 0.6rem;
    font-size: 0.62rem;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 5rem;
    padding-bottom: 6rem;
  }

  .hero-illustration {
    background-position: 61% center;
  }

  .hero-shade {
    background: linear-gradient(90deg, rgba(20, 23, 20, 0.94), rgba(22, 24, 21, 0.76));
  }

  .hero-content {
    max-width: 600px;
  }

  .hero h1 {
    font-size: clamp(4.1rem, 17vw, 7rem);
  }

  .desk-note {
    justify-self: center;
    margin-top: 1rem;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }

  .section-heading > p {
    max-width: 620px;
  }

  .broadcast-card {
    grid-template-columns: 1fr;
  }

  .broadcast-cover {
    min-height: 400px;
  }

  .archive-controls {
    flex-direction: column;
    align-items: stretch;
  }

  .filter-tabs {
    justify-content: center;
  }

  .search-box {
    width: 100%;
  }

  .closing-note {
    flex-direction: column;
    align-items: flex-start;
  }

  footer {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 600px) {
  .brand-copy small {
    display: none;
  }

  .main-site-link {
    border: 0;
  }

  .hero::after,
  .bookshelf::before {
    inset: 0.65rem;
  }

  .hero h1 {
    font-size: clamp(3.55rem, 18vw, 5.8rem);
  }

  .hero-intro {
    font-size: 1.08rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .desk-note {
    padding: 2.6rem 1.6rem 1.8rem;
  }

  .hero-index {
    gap: 0.55rem;
  }

  .hero-index i {
    width: 13px;
  }

  .dispatch,
  .archive,
  .bookshelf,
  .closing-note {
    padding-left: 1.1rem;
    padding-right: 1.1rem;
  }

  .section-heading h2,
  .bookshelf h2 {
    font-size: clamp(2.5rem, 12vw, 3.7rem);
  }

  .broadcast-copy,
  .telegram-card {
    padding: 1.6rem;
  }

  .broadcast-cover {
    min-height: 340px;
  }

  .filter-tabs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .media-grid {
    grid-template-columns: 1fr;
  }

  .media-card {
    min-height: 350px;
  }

  .book-stack {
    height: 550px;
    transform: scale(0.82);
    transform-origin: center;
  }

  .book {
    width: 230px;
    height: 390px;
  }

  .book-one {
    left: 0;
    transform: rotate(-8deg) translateY(65px);
  }

  .book-two {
    left: 23%;
    transform: rotate(1deg) translateY(-10px);
  }

  .book-three {
    right: -2%;
    transform: rotate(8deg) translateY(65px);
  }

  .closing-note blockquote {
    font-size: clamp(2.5rem, 13vw, 4.1rem);
  }

  .media-dialog {
    padding: 2.5rem 1.4rem 2rem;
  }

  .media-dialog dl {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Statische Ausgabe: keine Framework-Abhängigkeiten */
[hidden] {
  display: none !important;
}

.media-grid-loading,
.archive-noscript {
  grid-column: 1 / -1;
  padding: 3rem 1.5rem;
  border: 1px dashed var(--line);
  color: var(--ink-soft);
  font-family: var(--typewriter);
  text-align: center;
}

.media-dialog .button {
  width: fit-content;
}

.dialog-status {
  margin: 1.6rem 0 0;
}

.article-page {
  min-height: 100vh;
  background: var(--paper);
}

.article-site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.7rem clamp(1rem, 5vw, 4rem);
  background: rgba(24, 27, 24, 0.97);
  color: var(--cream);
  box-shadow: 0 8px 30px rgba(24, 16, 10, 0.2);
}

.article-site-header .brand img {
  width: 50px;
  height: 50px;
}

.back-link {
  padding-bottom: 0.15rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.48);
  font-family: var(--typewriter);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-shell {
  width: min(100% - 2rem, 940px);
  margin: 0 auto;
  padding: clamp(4rem, 9vw, 8rem) 0;
}

.article-header {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}

.article-header h1 {
  max-width: 880px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3rem, 8vw, 6.8rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.94;
}

.article-lead {
  max-width: 760px;
  margin: 1.8rem 0 0;
  color: var(--ink-soft);
  font-family: var(--display);
  font-size: clamp(1.2rem, 2.4vw, 1.55rem);
  line-height: 1.55;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.5rem;
  margin-top: 1.7rem;
  font-family: var(--typewriter);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-body {
  max-width: 760px;
  font-family: var(--display);
  font-size: 1.16rem;
  line-height: 1.82;
}

.article-body h2 {
  margin: 3.2rem 0 1rem;
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.article-body blockquote {
  margin: 2.4rem 0;
  padding: 1.1rem 0 1.1rem 1.5rem;
  border-left: 5px solid var(--orange);
  color: var(--teal-dark);
  font-size: 1.35em;
  font-style: italic;
}

.article-footer {
  margin-top: 4rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-family: var(--typewriter);
  font-size: 0.68rem;
}

@media (max-width: 600px) {
  .article-site-header .brand-copy {
    display: none;
  }

  .article-body {
    font-size: 1.05rem;
  }
}
