:root {
  color-scheme: dark;
  --background: #111111;
  --surface: #191919;
  --text: #f2f0eb;
  --muted: #b9b5ad;
  --line: #383633;
  --focus: #ffffff;
  --content-wide: 64rem;
  --content-text: 45rem;
  --space-1: 0.5rem;
  --space-2: 0.875rem;
  --space-3: 1.25rem;
  --space-4: 2rem;
  --space-5: 3.25rem;
  --space-6: 5rem;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--background);
  color: var(--text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  margin: 0;
  background: var(--background);
}

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover {
  text-decoration-thickness: 0.14em;
}

a:focus-visible {
  outline: 0.15rem solid var(--focus);
  outline-offset: 0.25rem;
}

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

.skip-link {
  position: fixed;
  z-index: 10;
  top: var(--space-2);
  left: var(--space-2);
  padding: 0.65rem 0.85rem;
  background: var(--text);
  color: var(--background);
  transform: translateY(-180%);
}

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

.domain {
  margin: 0;
  font-size: clamp(0.9rem, 2vw, 1.05rem);
  font-weight: 500;
  letter-spacing: 0.035em;
  overflow-wrap: anywhere;
}

.domain--link {
  display: inline-block;
}

/* Startseite */

.page--teaser {
  display: grid;
  grid-template-rows: 1fr auto;
}

.teaser {
  width: min(calc(100% - 2rem), var(--content-wide));
  margin: auto;
  padding-block: clamp(2rem, 7vw, 5rem);
  text-align: center;
}

.hero {
  margin: var(--space-4) 0 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
}

.hero img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.pointe {
  margin: var(--space-4) 0 0;
  font-size: clamp(1.4rem, 4vw, 2.65rem);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -0.025em;
}

.more-link {
  display: inline-block;
  margin-top: var(--space-3);
  color: var(--muted);
  font-size: 1.05rem;
}

/* Meldungsseite */

.article-header {
  width: min(calc(100% - 2rem), var(--content-wide));
  margin-inline: auto;
  padding-block: var(--space-3);
  border-bottom: 1px solid var(--line);
}

.article-shell {
  width: min(calc(100% - 2rem), var(--content-wide));
  margin-inline: auto;
  padding-block: clamp(2.5rem, 8vw, 6rem);
}

.article {
  width: min(100%, var(--content-text));
  margin-inline: auto;
}

.satire-label {
  margin: 0 0 var(--space-2);
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.article h1 {
  margin: 0;
  font-size: clamp(2rem, 6vw, 4.4rem);
  font-weight: 650;
  line-height: 1.02;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.standfirst {
  margin: var(--space-3) 0 0;
  color: var(--muted);
  font-size: clamp(1.1rem, 2.5vw, 1.45rem);
  line-height: 1.35;
  text-wrap: balance;
}

.article-figure {
  margin: var(--space-5) 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
}

.article-figure img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.article-text {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.08rem, 2vw, 1.22rem);
  line-height: 1.72;
  hyphens: auto;
}

.article-text p {
  margin: 0 0 1.35em;
}

.article-text strong {
  font-weight: 700;
}

.closing-line {
  margin-top: var(--space-4) !important;
  font-style: italic;
}

.article-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-3);
  margin-top: var(--space-5);
  padding-top: var(--space-3);
  border-top: 1px solid var(--line);
}

/* Gemeinsamer Footer */

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem 0.65rem;
  width: min(calc(100% - 2rem), var(--content-wide));
  margin-inline: auto;
  padding: var(--space-3) 0 var(--space-4);
  color: var(--muted);
  font-size: 0.86rem;
  text-align: center;
}

@media (max-width: 40rem) {
  .teaser,
  .article-header,
  .article-shell,
  .site-footer {
    width: min(calc(100% - 1.25rem), var(--content-wide));
  }

  .article-nav {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
  }
}

@media print {
  :root {
    color-scheme: light;
    --background: #ffffff;
    --surface: #ffffff;
    --text: #000000;
    --muted: #333333;
    --line: #aaaaaa;
  }

  .site-footer,
  .article-nav,
  .skip-link {
    display: none;
  }
}
