/* Source Serif 4 (SIL Open Font License) — lokal gehostet, kein externer Dienst */
@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("assets/fonts/source-serif-4-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: "Source Serif 4";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("assets/fonts/source-serif-4-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-20C0, U+2113,
    U+2C60-2C7F, U+A720-A7FF;
}

:root {
  color-scheme: light;
  --bg: #faf8f4;
  --surface: #ffffff;
  --ink: #1d2129;
  --muted: #4d5460;
  --line: #e7e2d8;
  --red: #c8102e;
  --teal: #00707c;
  --amber: #a36100;
  --violet: #55509f;
  --green: #1f6a43;
  --shadow: 0 1px 0 rgba(29, 33, 41, 0.06);
  --card-shadow: 0 12px 28px rgba(63, 51, 24, 0.08);
  --font-body: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-display: "Source Serif 4", Georgia, "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

button,
input {
  font: inherit;
}

.page-shell {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
}

.top-strip {
  background: var(--ink);
  color: #f7f9fb;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
}

.top-strip__inner {
  min-height: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.site-header {
  background: var(--red);
  color: #fff;
}

.masthead-grid,
.header-grid {
  min-height: 92px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4.2vw, 3rem);
  font-style: normal;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
}

.brand small {
  display: block;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.86rem;
  font-weight: 800;
  margin-top: 8px;
}

.header-link {
  color: #fff;
  font-size: 0.82rem;
  font-weight: 800;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  min-height: 70px;
  overflow-x: auto;
}

.main-nav a {
  position: relative;
  padding: 24px 12px 20px;
  color: #242930;
  font-weight: 800;
  font-size: 0.84rem;
  border-radius: 2px;
  text-transform: uppercase;
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.is-active {
  color: var(--red);
}

.main-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 0;
  height: 4px;
  background: var(--red);
}

.nav-bar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(16, 18, 22, 0.04);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.search {
  width: 240px;
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 2px;
}

.search svg {
  width: 18px;
  height: 18px;
  color: #fff;
  flex: 0 0 auto;
}

.search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
}

.search input::placeholder {
  color: rgba(255, 255, 255, 0.88);
}

.icon-button,
.save-button,
.filter-pill,
.newsletter-box button {
  border: 0;
  cursor: pointer;
}

.icon-button {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: #fff;
  border-radius: 2px;
}

.icon-button svg {
  width: 18px;
  height: 18px;
}

.news-strip {
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 42px 0 32px;
}

.strip-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  align-items: stretch;
}

.strip-lines {
  display: grid;
  gap: 12px;
}

.breaking-row,
.topic-row {
  min-height: 46px;
  display: grid;
  grid-template-columns: 136px minmax(0, 1fr);
  align-items: center;
  background: #f3f5f8;
  overflow: hidden;
}

.ticker__label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  min-height: 46px;
  padding: 0 12px;
  background: var(--red);
  color: #fff;
  border-radius: 2px;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.topic-row span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  background: #06182b;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.topic-row strong {
  min-width: 0;
  padding: 0 18px;
  color: #20252b;
  font-size: 0.88rem;
  line-height: 1.2;
}

.ticker__viewport {
  min-width: 0;
  overflow: hidden;
}

.ticker__track {
  display: flex;
  width: max-content;
  gap: 28px;
  white-space: nowrap;
  animation: ticker-run 34s linear infinite;
}

.news-strip:hover .ticker__track {
  animation-play-state: paused;
}

.ticker__track a {
  position: relative;
  color: #20252b;
  font-size: 0.88rem;
  font-weight: 750;
}

.ticker__track a::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -16px;
  width: 5px;
  height: 5px;
  background: var(--red);
  border-radius: 999px;
  transform: translateY(-50%);
}

.briefing-banner {
  min-height: 104px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 22px 28px;
  background:
    linear-gradient(90deg, rgba(6, 24, 43, 0.92), rgba(6, 24, 43, 0.6)),
    url("https://images.unsplash.com/photo-1495020689067-958852a7765e?auto=format&fit=crop&w=900&q=80");
  background-position: center;
  background-size: cover;
  color: #fff;
  border-radius: 2px;
}

.briefing-banner span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
}

.briefing-banner strong {
  margin-top: 8px;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 850;
  line-height: 1.14;
}

.news-strip--compact {
  padding: 22px 0;
}

@keyframes ticker-run {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-50% - 14px));
  }
}

@media (prefers-reduced-motion: reduce) {
  .ticker__track {
    animation: none;
  }

  .importance-meter__orb,
  .importance-meter__bars i {
    animation: none;
  }
}

.front-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(260px, 0.72fr) minmax(280px, 0.78fr);
  gap: 24px;
  padding: 34px 0 28px;
}

.front-layout > *,
.content-layout > *,
.article-layout > *,
.article-hero__grid > * {
  min-width: 0;
}

.lead-story {
  display: grid;
  grid-template-rows: 300px auto;
  background: var(--surface);
  border: 0;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.media-link {
  min-height: 300px;
}

.lead-story__content {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 14px;
  padding: 28px clamp(24px, 3.4vw, 40px) 32px;
  border-top: 0;
}

.meta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.article-date {
  color: #4a5360;
  font-size: 0.76rem;
  font-weight: 800;
}

.importance-meter {
  --meter-color: var(--red);
  width: max-content;
  max-width: 100%;
  min-height: 40px;
  display: inline-grid;
  grid-template-columns: 30px minmax(0, auto) 30px;
  align-items: center;
  gap: 9px;
  padding: 6px 9px;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--meter-color);
  border-radius: 2px;
}

.importance-meter--medium {
  --meter-color: var(--amber);
}

.importance-meter--base {
  --meter-color: var(--teal);
}

.importance-meter__orb {
  position: relative;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background:
    radial-gradient(circle at center, #fff 0 45%, transparent 48%),
    conic-gradient(var(--meter-color) calc(var(--importance) * 1%), #e7eaee 0);
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--meter-color) 34%, transparent);
  animation: importance-pulse 1.8s ease-in-out infinite;
}

.importance-meter__orb::after {
  content: "";
  position: absolute;
  inset: 9px;
  border-radius: inherit;
  background: var(--meter-color);
}

.importance-meter__text {
  min-width: 0;
  display: grid;
  gap: 1px;
  line-height: 1.05;
}

.importance-meter__text strong {
  color: #15191f;
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.importance-meter__text small {
  color: var(--muted);
  font-size: 0.73rem;
  font-weight: 800;
}

.importance-meter__bars {
  height: 24px;
  display: flex;
  align-items: end;
  gap: 3px;
}

.importance-meter__bars i {
  width: 5px;
  min-height: 7px;
  display: block;
  background: var(--meter-color);
  border-radius: 1px 1px 0 0;
  animation: importance-bars 1.2s ease-in-out infinite;
}

.importance-meter__bars i:nth-child(1) {
  height: 10px;
}

.importance-meter__bars i:nth-child(2) {
  height: 16px;
  animation-delay: 0.14s;
}

.importance-meter__bars i:nth-child(3) {
  height: 22px;
  animation-delay: 0.28s;
}

.importance-meter--compact {
  min-height: 31px;
  grid-template-columns: 23px minmax(0, auto) 23px;
  gap: 6px;
  padding: 4px 7px;
}

.importance-meter--compact .importance-meter__orb {
  width: 21px;
  height: 21px;
}

.importance-meter--compact .importance-meter__orb::after {
  inset: 7px;
}

.importance-meter--compact .importance-meter__text strong {
  font-size: 0.68rem;
}

.importance-meter--compact .importance-meter__text small {
  font-size: 0.66rem;
}

.importance-meter--compact .importance-meter__bars {
  height: 18px;
}

.importance-meter--compact .importance-meter__bars i {
  width: 4px;
}

@keyframes importance-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 color-mix(in srgb, var(--meter-color) 28%, transparent);
  }

  50% {
    box-shadow: 0 0 0 7px color-mix(in srgb, var(--meter-color) 0%, transparent);
  }
}

@keyframes importance-bars {
  0%,
  100% {
    transform: scaleY(0.72);
    opacity: 0.62;
  }

  50% {
    transform: scaleY(1);
    opacity: 1;
  }
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  background: #e3f2e8;
  color: var(--green);
  border-radius: 2px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.tag--red {
  background: #ffe7e6;
  color: var(--red);
}

.tag--teal {
  background: #dbf3f4;
  color: var(--teal);
}

.tag--amber {
  background: #fff1d3;
  color: #996406;
}

.tag--violet {
  background: #eee8ff;
  color: var(--violet);
}

.lead-story h1 {
  margin: 0;
  max-width: 22ch;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.6vw, 3.05rem);
  font-weight: 850;
  line-height: 1.1;
  letter-spacing: 0;
  overflow-wrap: break-word;
  hyphens: auto;
}

.lead-story p {
  margin: 0;
  max-width: 56ch;
  color: #424a52;
  font-size: 0.98rem;
}

.story-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.primary-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  background: var(--ink);
  color: #fff;
  border-radius: 2px;
  font-weight: 800;
}

.primary-link svg,
.save-button svg {
  width: 17px;
  height: 17px;
}

.save-button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  background: #edf1f5;
  color: var(--ink);
  border-radius: 2px;
  font-weight: 800;
}

.save-button.is-saved {
  background: #fff1d3;
  color: #7c5107;
}

.side-panel,
.rail-block {
  background: var(--surface);
  border: 0;
  border-radius: 2px;
}

.side-panel {
  padding: 24px;
  border-top: 5px solid var(--red);
}

.front-stack {
  display: grid;
  gap: 18px;
}

.stack-card {
  background: #fff;
  border-radius: 2px;
  overflow: hidden;
}

.stack-card a {
  display: grid;
  gap: 0;
}

.stack-card img {
  height: 175px;
}

.stack-card > a > .tag,
.stack-card > a > .article-date,
.stack-card > a > .importance-meter,
.stack-card > a > h2 {
  margin-left: 18px;
  margin-right: 18px;
}

.stack-card > a > .tag {
  margin-top: 14px;
}

.stack-card > a > .article-date,
.stack-card > a > .importance-meter,
.stack-card > a > h2 {
  margin-top: 10px;
}

.stack-card h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 820;
  line-height: 1.22;
  overflow-wrap: break-word;
  hyphens: auto;
}

.stack-card > a > h2 {
  margin: 10px 18px 18px;
}

.stack-card--compact a {
  grid-template-columns: 102px minmax(0, 1fr);
  align-items: start;
  gap: 14px;
}

.stack-card a > div {
  min-width: 0;
  display: grid;
  gap: 8px;
  padding: 14px 18px 18px;
}

.stack-card a > div .tag,
.stack-card a > div .article-date,
.stack-card a > div h2 {
  margin-left: 0;
  margin-right: 0;
}

.stack-card a > div h2 {
  margin-bottom: 0;
}

.stack-card--compact img {
  height: 86px;
}

.stack-card--compact h2 {
  font-size: 1rem;
}

.panel-head,
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.panel-head h2,
.section-head h2,
.rail-block h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 850;
  line-height: 1.18;
}

.panel-head span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  background: #e8f7eb;
  color: var(--green);
  border-radius: 2px;
  font-size: 0.74rem;
  font-weight: 800;
}

.ranked-list {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  counter-reset: ranked;
}

.ranked-list li {
  min-height: 112px;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 10px;
  padding: 14px 0;
  align-items: start;
  border-top: 1px solid var(--line);
  counter-increment: ranked;
}

.ranked-list li::before {
  content: counter(ranked, decimal-leading-zero);
  color: var(--red);
  font-weight: 800;
  font-size: 0.82rem;
}

.ranked-list__link {
  min-width: 0;
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.ranked-list__thumb {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #f1f3f5;
  border-radius: 2px;
}

.ranked-list__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 180ms ease;
}

.ranked-list__link:hover .ranked-list__thumb img,
.ranked-list__link:focus-visible .ranked-list__thumb img {
  transform: scale(1.05);
}

.ranked-list__content {
  min-width: 0;
  display: grid;
  gap: 7px;
}

.ranked-list__topic {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.ranked-list__content strong {
  display: block;
  color: #11151a;
  font-size: 0.9rem;
  font-weight: 850;
  line-height: 1.25;
  overflow-wrap: break-word;
  hyphens: auto;
}

.ranked-list .importance-meter--compact {
  width: 100%;
  max-width: 166px;
  grid-template-columns: 21px minmax(0, 1fr) 20px;
  padding: 4px 6px;
}

.filter-row {
  display: flex;
  gap: 10px;
  overflow: auto;
  padding: 4px 0 24px;
  border-top: 1px solid var(--ink);
}

.filter-pill {
  min-height: 38px;
  padding: 0 14px;
  background: #fff;
  color: #333941;
  border: 1px solid var(--line);
  border-radius: 2px;
  font-weight: 800;
  white-space: nowrap;
}

.filter-pill.is-active {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}

.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 26px;
  padding-bottom: 48px;
}

.section-page {
  padding: 34px 0 58px;
}

.section-page__hero {
  max-width: 780px;
  margin-bottom: 24px;
  padding: clamp(28px, 4vw, 48px);
  background: var(--surface);
  box-shadow: inset 0 5px 0 var(--red), var(--card-shadow);
}

.section-page__hero span {
  display: block;
  margin-bottom: 10px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.section-page__hero h1 {
  margin: 0;
  max-width: 18ch;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.45rem);
  font-weight: 850;
  line-height: 1.08;
  letter-spacing: 0;
}

.section-page__hero p {
  max-width: 62ch;
  margin: 14px 0 0;
  color: #2e343c;
  font-size: 1.02rem;
}

.section-page__grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.section-page .news-card {
  min-height: 470px;
  box-shadow: var(--card-shadow);
}

.section-page .news-card:hover {
  box-shadow: inset 0 -2px 0 var(--red), var(--card-shadow);
}

.section-page .card-body {
  padding: 20px;
}

.section-head {
  margin-bottom: 14px;
}

.section-head a {
  color: var(--red);
  font-size: 0.86rem;
  font-weight: 800;
}

.editor-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 18px;
  padding: 16px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 5px solid var(--red);
  border-radius: 2px;
  color: #424a52;
  font-size: 0.92rem;
}

.editor-note strong {
  color: var(--ink);
  flex: 0 0 auto;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.news-card {
  min-height: 455px;
  display: grid;
  grid-template-rows: 168px 1fr;
  background: var(--surface);
  border: 0;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: inset 0 -1px 0 var(--line);
}

.news-card:hover {
  box-shadow: inset 0 -2px 0 var(--red);
}

.news-card.is-hidden {
  display: none;
}

.empty-state {
  display: none;
  margin: 18px 0 0;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--muted);
  font-weight: 800;
}

.empty-state.is-visible {
  display: block;
}

.card-body {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 20px;
}

.card-body h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 820;
  line-height: 1.22;
  letter-spacing: 0;
  overflow-wrap: break-word;
  hyphens: auto;
}

.card-body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.context-line {
  padding-top: 10px;
  border-top: 1px solid var(--line);
  color: #303941;
  font-size: 0.88rem;
  font-weight: 650;
}

.source-link {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.card-body > a:not(.source-link) {
  margin-top: auto;
  color: var(--red);
  font-size: 0.88rem;
  font-weight: 800;
}

.right-rail {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.rail-block {
  padding: 24px;
}

.rail-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  background: #e7f4f5;
  color: var(--teal);
  border-radius: 2px;
}

.rail-icon svg {
  width: 19px;
  height: 19px;
}

.newsletter-box p {
  margin: 8px 0 16px;
  color: var(--muted);
  font-size: 0.94rem;
}

.newsletter-box form {
  display: grid;
  gap: 10px;
}

.newsletter-box input {
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 2px;
  outline: 0;
}

.newsletter-box button {
  min-height: 42px;
  background: var(--ink);
  color: #fff;
  border-radius: 2px;
  font-weight: 800;
}

.form-note {
  display: block;
  min-height: 20px;
  margin-top: 8px;
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 800;
}

.section-head--compact {
  margin-bottom: 12px;
}

.tool-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tool-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.tool-list strong {
  font-size: 0.94rem;
}

.tool-list span {
  color: var(--muted);
  font-size: 0.82rem;
  text-align: right;
}

.glossary {
  margin: 0;
}

.glossary dt {
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-weight: 800;
}

.glossary dd {
  margin: 4px 0 12px;
  color: var(--muted);
  font-size: 0.9rem;
}

.article-loading,
.article-error {
  padding: 56px 0 80px;
}

.article-error h1 {
  margin: 18px 0 8px;
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  line-height: 1;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--red);
  font-size: 0.88rem;
  font-weight: 800;
}

.back-link svg {
  width: 17px;
  height: 17px;
}

.article-hero {
  padding: 24px 0 22px;
}

.article-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(300px, 0.98fr);
  gap: 24px;
  align-items: stretch;
  margin-top: 18px;
}

.article-hero__copy,
.article-hero__media {
  background: var(--surface);
  border: 0;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
}

.article-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 16px;
  min-height: 320px;
  padding: clamp(30px, 4vw, 48px);
  box-shadow: inset 0 5px 0 var(--red), var(--card-shadow);
}

.article-hero__copy h1 {
  margin: 0;
  max-width: 26ch;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3vw, 2.75rem);
  font-weight: 850;
  line-height: 1.14;
  letter-spacing: 0;
  overflow-wrap: break-word;
  hyphens: auto;
}

.article-hero__copy p {
  margin: 0;
  max-width: 58ch;
  color: #424a52;
  font-size: 1rem;
}

.byline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 750;
}

.article-hero__media {
  min-height: 320px;
  margin: 0;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 30px;
  padding: 0 0 56px;
}

.article-body {
  display: grid;
  gap: 22px;
}

.summary-box,
.article-section {
  background: var(--surface);
  border: 0;
  border-radius: 2px;
  padding: clamp(30px, 4vw, 48px);
  box-shadow: var(--card-shadow);
}

.summary-box {
  box-shadow: inset 5px 0 0 var(--red), var(--card-shadow);
}

.summary-box h2,
.article-section h2,
.article-aside h2 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 850;
  line-height: 1.18;
}

.summary-box ul,
.swiss-box ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
  color: #2e343c;
}

.summary-box li,
.swiss-box li {
  padding-left: 2px;
}

.article-section p {
  margin: 0;
  color: #2e343c;
  font-size: 1.06rem;
  line-height: 1.72;
}

.article-section p + p {
  margin-top: 14px;
}

.legal-body {
  max-width: 860px;
}

.legal-body ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
  color: #2e343c;
  font-size: 1.06rem;
  line-height: 1.72;
}

.legal-body p + ul,
.legal-body ul + p {
  margin-top: 14px;
}

.legal-body a {
  color: var(--red);
  font-weight: 600;
}

.article-aside {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.article-aside .rail-block {
  padding: clamp(24px, 3vw, 30px);
  border: 0;
  box-shadow: var(--card-shadow);
}

.rail-icon--red {
  background: #ffe7e6;
  color: var(--red);
}

.source-box p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.94rem;
}

.source-box a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--red);
  font-weight: 800;
}

.source-box a svg {
  width: 16px;
  height: 16px;
}

.related-list {
  display: grid;
  gap: 12px;
}

.related-list a {
  display: grid;
  gap: 4px;
  padding-top: 14px;
  border-top: 1px solid rgba(16, 18, 22, 0.09);
}

.related-list a:first-child {
  padding-top: 0;
  border-top: 0;
}

.related-list span {
  color: var(--red);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
}

.related-list strong {
  line-height: 1.25;
}

.site-footer {
  background: var(--ink);
  color: #f6f7f4;
  border-top: 5px solid var(--red);
}

.footer-grid {
  min-height: 130px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-grid p {
  margin: 6px 0 0;
  color: #c5c9c1;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: #d7dbd3;
  font-weight: 700;
}

.footer-grid p a {
  color: #f6f7f4;
  font-weight: 700;
}

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

  .strip-grid,
  .front-layout,
  .content-layout,
  .article-layout,
  .article-hero__grid {
    grid-template-columns: 1fr;
  }

  .front-stack {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
  }

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

  .stack-card--compact a {
    grid-template-columns: 1fr;
  }

  .stack-card--compact img {
    height: 150px;
  }

  .side-panel,
  .right-rail,
  .article-aside {
    width: 100%;
  }

  .article-hero__copy,
  .article-hero__media {
    min-height: 0;
  }

  .article-hero__media {
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 760px) {
  .page-shell {
    width: min(100% - 32px, 1180px);
  }

  .article-hero.page-shell,
  .article-layout.page-shell {
    width: min(100% - 32px, 1180px);
  }

  .top-strip__inner {
    justify-content: flex-start;
    overflow: auto;
    white-space: nowrap;
  }

  .masthead-grid,
  .header-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 18px 0;
  }

  .header-actions {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .search {
    width: min(100%, 260px);
  }

  .main-nav {
    min-height: 56px;
  }

  .main-nav a {
    padding: 18px 6px 15px;
    font-size: 0.78rem;
  }

  .news-strip {
    padding: 22px 0;
  }

  .breaking-row,
  .topic-row {
    grid-template-columns: 1fr;
  }

  .topic-row strong {
    padding: 14px 16px;
  }

  .front-stack {
    grid-template-columns: 1fr;
  }

  .lead-story {
    min-height: 0;
  }

  .media-link {
    min-height: 260px;
  }

  .lead-story h1 {
    max-width: 100%;
    font-size: clamp(1.8rem, 8.2vw, 2.35rem);
    line-height: 1.12;
  }

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

  .section-page {
    padding-top: 24px;
  }

  .section-page__grid {
    grid-template-columns: 1fr;
  }

  .section-page__hero h1 {
    max-width: 100%;
    font-size: clamp(1.9rem, 8.8vw, 2.5rem);
    line-height: 1.1;
  }

  .news-card {
    min-height: 0;
    grid-template-rows: 190px auto;
  }

  .article-hero__copy h1 {
    max-width: 100%;
    font-size: clamp(1.7rem, 7.8vw, 2.3rem);
    line-height: 1.14;
  }

  .footer-grid {
    min-height: 160px;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
  }
}

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

  .masthead-grid,
  .header-grid {
    min-height: 76px;
  }

  .search {
    width: 100%;
  }

  .front-layout {
    padding-top: 18px;
  }

  .lead-story__content {
    padding: 24px 26px 30px;
  }

  .lead-story p {
    font-size: 0.95rem;
  }

  .story-actions {
    align-items: stretch;
  }

  .primary-link,
  .save-button {
    justify-content: center;
    flex: 1 1 140px;
  }
}

/* === Benchmark-Seite === */
.benchmark-page {
  padding: 34px 0 58px;
}

.benchmark-hero {
  max-width: 900px;
  margin-bottom: 10px;
  padding: clamp(28px, 4vw, 48px);
  background: var(--surface);
  box-shadow: inset 0 5px 0 var(--red), var(--card-shadow);
}

.benchmark-hero span {
  display: block;
  margin-bottom: 10px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.benchmark-hero h1 {
  margin: 0;
  max-width: 22ch;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.45rem);
  font-weight: 850;
  line-height: 1.08;
}

.benchmark-hero p {
  max-width: 68ch;
  margin: 14px 0 0;
  color: #2e343c;
  font-size: 1.02rem;
}

.benchmark-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
}

.benchmark-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 8px;
}

.benchmark-toc a {
  padding: 8px 14px;
  background: var(--surface);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.benchmark-toc a:hover {
  border-color: var(--red);
  color: var(--red);
}

.benchmark-category {
  margin-top: 44px;
  scroll-margin-top: 24px;
}

.benchmark-category__head {
  max-width: 860px;
  margin-bottom: 18px;
}

.benchmark-category__head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.6vw, 2.15rem);
  font-weight: 850;
  line-height: 1.12;
}

.benchmark-category__head h2 small {
  display: block;
  margin-bottom: 6px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.benchmark-category__head p {
  margin: 10px 0 0;
  color: #2e343c;
  font-size: 0.98rem;
}

.bench-list {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.bench-card {
  position: relative;
  display: grid;
  grid-template-columns: 72px 1fr 190px;
  gap: 0;
  background: var(--surface);
  box-shadow: var(--card-shadow);
}

.bench-card--winner {
  box-shadow: inset 5px 0 0 var(--red), var(--card-shadow);
}

.bench-rank {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 26px 0 0;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 900;
  color: #c9ccd2;
  line-height: 1;
}

.bench-card--winner .bench-rank {
  color: var(--red);
}

.bench-body {
  padding: 24px 26px 24px 0;
  min-width: 0;
}

.bench-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 12px;
}

.bench-title-row h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 850;
  line-height: 1.15;
}

.bench-title-row .bench-vendor {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 700;
}

.bench-badge {
  display: inline-block;
  padding: 3px 9px;
  background: var(--red);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.bench-badge--alt {
  background: var(--teal);
}

.bench-badge--green {
  background: var(--green);
}

.bench-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 22px;
  margin: 14px 0 0;
}

.bench-facts div {
  border-top: 1px solid var(--line);
  padding-top: 8px;
}

.bench-facts dt {
  margin: 0;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 850;
  text-transform: uppercase;
}

.bench-facts dd {
  margin: 3px 0 0;
  font-size: 0.9rem;
  line-height: 1.45;
  color: #2e343c;
}

.bench-proscons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 22px;
  margin-top: 16px;
}

.bench-proscons ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 6px;
  font-size: 0.9rem;
  color: #2e343c;
}

.bench-proscons li {
  padding-left: 20px;
  position: relative;
  line-height: 1.45;
}

.bench-pros li::before {
  content: "+";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 900;
}

.bench-cons li::before {
  content: "\2212";
  position: absolute;
  left: 0;
  color: var(--red);
  font-weight: 900;
}

.bench-kmu {
  margin: 16px 0 0;
  padding: 10px 14px;
  background: #f6f7f4;
  box-shadow: inset 3px 0 0 var(--red);
  font-size: 0.9rem;
  color: #2e343c;
}

.bench-kmu strong {
  color: var(--red);
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
  display: block;
  margin-bottom: 2px;
}

.bench-score {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 10px;
  padding: 24px 26px;
  border-left: 1px solid var(--line);
  background: #fbfbfa;
}

.bench-score__value {
  font-family: var(--font-display);
  font-size: 2.3rem;
  font-weight: 900;
  line-height: 1;
}

.bench-score__value small {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 700;
}

.bench-score__label {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 850;
  text-transform: uppercase;
}

.bench-score__bars {
  display: grid;
  gap: 8px;
}

.bench-score__bars > div {
  display: grid;
  gap: 3px;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--muted);
}

.bench-score__bars i {
  display: block;
  height: 5px;
  background: var(--line);
  position: relative;
}

.bench-score__bars i::after {
  content: "";
  position: absolute;
  inset: 0;
  width: calc(var(--val) * 1%);
  background: var(--red);
}

.bench-note {
  max-width: 860px;
  margin-top: 46px;
}

.bench-note .article-section + .article-section {
  margin-top: 16px;
}

@media (max-width: 860px) {
  .bench-card {
    grid-template-columns: 52px 1fr;
  }

  .bench-rank {
    padding-top: 24px;
    font-size: 1.5rem;
  }

  .bench-body {
    padding: 22px 20px 22px 0;
  }

  .bench-score {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px 26px;
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 16px 20px;
  }

  .bench-score__bars {
    flex: 1 1 240px;
  }

  .bench-facts,
  .bench-proscons {
    grid-template-columns: 1fr;
  }
}

/* === Lesbarkeit: Zeilenlaenge begrenzen === */
.article-section p,
.summary-box li,
.swiss-box li,
.legal-body p,
.legal-body li,
.section-page__hero p,
.benchmark-hero p {
  max-width: 72ch;
}

/* === Benchmark-Übersichtstabelle === */
.bench-table-wrap {
  margin-top: 26px;
  background: var(--surface);
  box-shadow: var(--card-shadow);
  overflow-x: auto;
}

.bench-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.bench-table caption {
  caption-side: top;
  text-align: left;
  padding: 24px 26px 4px;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 850;
}

.bench-table thead th {
  padding: 14px;
  border-bottom: 3px solid var(--ink);
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 850;
  text-transform: uppercase;
  text-align: left;
  white-space: nowrap;
}

.bench-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}

.bench-table tbody tr:not(.bt-cat):hover td {
  background: #faf7f0;
}

.bench-table .bt-cat td {
  padding: 10px 14px;
  background: var(--ink);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-bottom: 0;
}

.bench-table .bt-cat a {
  color: rgba(255, 255, 255, 0.75);
  font-weight: 800;
  float: right;
  text-transform: none;
  letter-spacing: 0;
}

.bench-table .bt-cat a:hover {
  color: #fff;
}

.bt-rank {
  width: 40px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 900;
  color: #b9bcc2;
  text-align: center;
}

tr.bt-first .bt-rank {
  color: var(--red);
}

.bt-tool {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 800;
  white-space: nowrap;
}

.bt-vendor {
  color: var(--muted);
  font-size: 0.84rem;
  white-space: nowrap;
}

.bt-price {
  white-space: nowrap;
}

.bt-score {
  display: inline-grid;
  gap: 4px;
  min-width: 92px;
}

.bt-score strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1;
}

.bt-score strong small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
}

.bt-score i {
  display: block;
  height: 4px;
  background: var(--line);
  position: relative;
}

.bt-score i::after {
  content: "";
  position: absolute;
  inset: 0;
  width: calc(var(--val) * 1%);
  background: var(--red);
}

.bench-table .bench-badge {
  white-space: nowrap;
}

.bench-table-note {
  margin: 0;
  padding: 12px 26px 20px;
  color: var(--muted);
  font-size: 0.82rem;
}
