@font-face {
  font-family: "Inter Tight";
  src: url("fonts/inter-tight-var.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --weiss: #fff;
  --nebel: #f3f3f3;
  --stein: #d6d6d6;
  --linie: #dadada;
  --tinte: #262626;
  --grau: #666;
  --grau-stein: #4d4d4d;
  --rot: #e2231a;
  --rand: clamp(1rem, 4vw, 4.5rem);
  --breit: 110rem;
  --kopf: 4.5rem;
  --schrift: "Inter Tight", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--weiss);
  color: var(--tinte);
  font: 400 1.0625rem/1.5 var(--schrift);
  letter-spacing: -.008em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, p, dl, dd, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
[id] { scroll-margin-top: var(--kopf); }
:focus-visible { outline: 2px solid var(--tinte); outline-offset: 3px; }

.sr {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.sprung {
  position: absolute; left: var(--rand); top: -4rem; z-index: 30;
  padding: .75rem 1rem; background: var(--tinte); color: var(--weiss); text-decoration: none;
}
.sprung:focus { top: .75rem; }

/* Kopf: Marke links, Sparten in der Mitte, dunkler Block rechts */
.kopf {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: stretch;
  height: var(--kopf);
  padding-left: var(--rand);
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid var(--linie);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  backdrop-filter: saturate(1.4) blur(10px);
}
.marke {
  display: flex;
  align-items: center;
  gap: .7rem;
  justify-self: start;
  font-size: .8125rem;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -.005em;
  text-decoration: none;
}
.marke-zeichen { width: 1.6rem; height: 1.6rem; fill: var(--rot); flex: none; }
.navi ul { display: flex; height: 100%; gap: clamp(1.25rem, 2.4vw, 2.5rem); }
.navi a {
  display: flex;
  align-items: center;
  height: 100%;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  text-underline-offset: .4em;
  text-decoration-thickness: 1px;
}
.navi a:hover, .navi a[aria-current="true"] { text-decoration-line: underline; }
.navi .kurz { display: none; }
.kopf-knopf {
  justify-self: end;
  display: flex;
  align-items: center;
  padding: 0 clamp(1.5rem, 3vw, 2.75rem);
  background: var(--tinte);
  color: var(--weiss);
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  transition: background-color .2s;
}
.kopf-knopf:hover, .kopf-knopf[aria-current="true"] { background: var(--rot); }
.kopf-knopf:focus-visible { outline-color: var(--weiss); outline-offset: -6px; }

/* Auftakt */
.auftakt {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(16rem, 25rem);
  grid-template-rows: 1fr auto;
  min-height: min(calc(100svh - var(--kopf)), 60rem);
  padding: clamp(2.5rem, 7vh, 6rem) var(--rand) clamp(2.5rem, 7vh, 5.5rem);
  overflow: hidden;
  background: linear-gradient(180deg, var(--nebel), var(--weiss) 85%);
}
/* Die acht Startseiten liegen grau und verschleiert hinter dem Titel, wie Nebel über einer Landschaft */
.mosaik {
  position: absolute;
  top: 46%;
  right: -6%;
  width: min(74%, 82rem);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(.75rem, 1.4vw, 1.5rem);
  opacity: .42;
  filter: grayscale(1) contrast(.9);
  transform: translateY(-50%);
  -webkit-mask-image: radial-gradient(closest-side, #000 30%, transparent);
  mask-image: radial-gradient(closest-side, #000 30%, transparent);
  pointer-events: none;
}
.mosaik img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.mosaik img:nth-child(n + 5) { transform: translateX(-50%); }
.auftakt-titel {
  position: relative;
  grid-column: 1 / -1;
  align-self: center;
  font-size: clamp(4.25rem, 15vw, 15rem);
  font-weight: 500;
  line-height: .8;
  letter-spacing: -.058em;
}
.auftakt-titel span { display: block; padding-bottom: .06em; }
.auftakt-titel span:nth-child(2) { margin-left: .42em; }
.auftakt-titel span:nth-child(3) { margin-left: .84em; }
.auftakt-text {
  position: relative;
  grid-column: 2;
  grid-row: 2;
  font-size: clamp(1.1875rem, 1.6vw, 1.5rem);
  font-weight: 500;
  line-height: 1.22;
  letter-spacing: -.02em;
}
.textlink {
  display: inline-block;
  margin-top: 1.25rem;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -.01em;
  text-underline-offset: .3em;
  text-decoration-thickness: 1px;
}
.textlink:hover { color: var(--rot); }

/* Einordnung und Vergleich: zentrierte Aussage wie ein Kapitelanfang */
.einordnung, .vergleich {
  max-width: var(--breit);
  margin-inline: auto;
  padding: clamp(4.5rem, 11vw, 10rem) var(--rand);
}
.vorzeile {
  color: var(--grau);
  font-size: 1rem;
  font-weight: 500;
  text-align: center;
}
.aussage {
  max-width: 21em;
  margin: 1.25rem auto 0;
  font-size: clamp(1.75rem, 3.7vw, 3.6rem);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -.04em;
  text-align: center;
  text-wrap: balance;
}
.merkmale {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 4vw, 4.5rem);
  max-width: 76rem;
  margin: clamp(3.5rem, 7vw, 6rem) auto 0;
}
.merkmal { padding-top: 1.1rem; border-top: 1px solid var(--tinte); }
.merkmal h3 { margin-bottom: 1.4rem; font-size: 1.25rem; font-weight: 600; letter-spacing: -.02em; }
.merkmal p { margin-top: 1.1rem; color: var(--grau); font-size: 1rem; line-height: 1.4; }
.fussnote {
  max-width: 76rem;
  margin: clamp(2.5rem, 4vw, 3.5rem) auto 0;
  color: var(--grau);
  font-size: .9375rem;
  text-align: center;
}

/* Skala: Messlinie mit sieben Teilstrichen und rotem Punkt */
.skala {
  display: grid;
  grid-template-columns: 4.6rem minmax(4.5rem, 1fr) 4.6rem;
  align-items: center;
  column-gap: .8rem;
  font-size: .875rem;
  line-height: 1.1;
}
.pol { color: var(--grau); }
.pol:first-child { text-align: right; }
.pol.stark { color: var(--tinte); font-weight: 600; }
.spur {
  position: relative;
  display: flex;
  justify-content: space-between;
  height: .8125rem;
}
.spur::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: #a3a3a3;
}
.spur i { position: relative; width: 1px; height: 100%; background: #a3a3a3; }
.spur i:first-child, .spur i:last-child { background: var(--tinte); }
.punkt {
  position: absolute;
  top: 50%;
  left: calc(var(--p) * (100% - 1px) + .5px);
  width: .8125rem;
  height: .8125rem;
  border-radius: 50%;
  background: var(--rot);
  transform: translate(-50%, -50%);
}

/* Sparte: graue Tafel mit Register, Titel über dem roten Zeichen und Kennwerten */
.sparte { border-top: 1px solid var(--linie); }
.tafel {
  display: grid;
  grid-template-columns: minmax(11rem, 1fr) minmax(0, 3fr) minmax(11rem, 1fr);
  grid-template-rows: auto 1fr auto;
  min-height: min(calc(100svh - var(--kopf)), 54rem);
  padding: clamp(2rem, 4vw, 3.5rem) var(--rand);
  background: var(--stein);
  overflow: hidden;
}
.register { grid-column: 1; grid-row: 1; display: grid; gap: .45rem; font-size: .9375rem; }
.register a { color: var(--grau-stein); text-decoration: none; }
.register a:hover { color: var(--tinte); text-decoration: underline; text-underline-offset: .3em; }
.register a[aria-current="true"] { color: var(--tinte); font-weight: 600; }
.tafel-mitte {
  grid-column: 2;
  grid-row: 1 / -1;
  display: grid;
  place-items: center;
  padding-block: clamp(2rem, 5vw, 4rem);
}
.tafel-mitte > * { grid-area: 1 / 1; }
.zeichen { width: min(34rem, 34vw); fill: var(--rot); }
.tafel-titel {
  position: relative;
  font-size: clamp(3rem, 7.6vw, 9rem);
  font-weight: 500;
  line-height: .86;
  letter-spacing: -.055em;
  color: var(--tinte);
  mix-blend-mode: multiply;
}
.tafel-titel span { display: block; }
.tafel-titel span:last-child { margin-left: .9em; }
.tafel-text {
  grid-column: 1;
  grid-row: 3;
  align-self: end;
  max-width: 19rem;
  font-size: 1.0625rem;
  line-height: 1.38;
}
.tafel-werte { grid-column: 3; grid-row: 3; align-self: end; justify-self: end; min-width: 13rem; }
.tafel .wert { border-color: rgba(38, 38, 38, .22); }
.tafel .wert dt { color: var(--grau-stein); }
.tafel-werte a { text-decoration-thickness: 1px; text-underline-offset: .25em; }
.tafel-werte a:hover { color: var(--rot); }

/* Kennwerte als zweispaltige Liste */
.werte { border-top: 1px solid var(--linie); }
.wert {
  display: grid;
  grid-template-columns: 6.5rem minmax(0, 1fr);
  align-items: center;
  column-gap: 1rem;
  padding: .7rem 0;
  border-bottom: 1px solid var(--linie);
}
.wert dt { color: var(--grau); font-size: .875rem; }
.wert-text { font-size: 1rem; font-weight: 500; line-height: 1.3; }

/* Einträge je Design */
.eintraege { max-width: var(--breit); margin-inline: auto; padding: 0 var(--rand); }
.eintrag {
  display: grid;
  grid-template-columns: minmax(0, 8fr) minmax(19rem, 4fr);
  gap: clamp(2rem, 4vw, 5rem);
  padding-block: clamp(3rem, 6vw, 6rem);
}
.eintrag + .eintrag { border-top: 1px solid var(--linie); }
.buehne { display: block; border: 1px solid var(--linie); background: var(--nebel); }
.buehne img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.ansichten {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(.5rem, 1vw, 1rem);
  margin-top: clamp(.5rem, 1vw, 1rem);
}
.ansichten button {
  position: relative;
  padding: 0 0 .6rem;
  border: 0;
  background: none;
  cursor: pointer;
}
.ansichten img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border: 1px solid var(--linie); }
.ansichten button::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: transparent;
  transition: background-color .2s;
}
.ansichten button:hover::after { background: var(--stein); }
.ansichten button[aria-pressed="true"]::after { background: var(--rot); }
.eintrag-text { display: flex; flex-direction: column; }
.fassung { color: var(--grau); font-size: 1rem; font-weight: 500; }
.eintrag h3 {
  margin: .4rem 0 1.25rem;
  font-size: clamp(2.375rem, 3.7vw, 3.75rem);
  font-weight: 500;
  line-height: .95;
  letter-spacing: -.045em;
}
.beschreibung { max-width: 34em; font-size: 1.0625rem; line-height: 1.5; }
.eintrag .werte { margin: 1.75rem 0 2rem; }
.eintrag-fuss { margin-top: auto; }
.ansicht-name { margin-bottom: .75rem; color: var(--grau); font-size: .875rem; }
.knopf {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.05rem 1.25rem;
  background: var(--tinte);
  color: var(--weiss);
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  transition: background-color .2s;
}
.knopf::after { content: "\2197"; font-size: 1.125rem; line-height: 1; }
.knopf:hover { background: var(--rot); }
.knopf:focus-visible { outline-offset: 3px; }
.neu { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Vergleich */
.vergleich { border-top: 1px solid var(--linie); }
.tabelle {
  width: 100%;
  max-width: 84rem;
  margin: clamp(3rem, 6vw, 5rem) auto 0;
  border-collapse: collapse;
  font-size: 1rem;
}
.tabelle th, .tabelle td { padding: 1.05rem 1.25rem 1.05rem 0; text-align: left; vertical-align: middle; }
.tabelle thead th { padding-bottom: .9rem; border-bottom: 1px solid var(--tinte); font-weight: 500; vertical-align: bottom; }
.th-merkmal { display: block; font-size: 1rem; font-weight: 600; }
.th-pole { display: block; color: var(--grau); font-size: .875rem; }
.tabelle tbody tr { border-bottom: 1px solid var(--linie); }
.tabelle tbody th { width: 30%; font-weight: 500; }
.tabelle tbody th a { font-size: 1.375rem; letter-spacing: -.03em; text-decoration: none; }
.tabelle tbody th a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.zeile-sparte { display: block; margin-top: .15rem; color: var(--grau); font-size: .875rem; }
.tabelle td { width: 18%; }
.tabelle .skala { grid-template-columns: minmax(6rem, 1fr); max-width: 12rem; }
.tabelle .pol { display: none; }
.td-link { width: 6rem; padding-right: 0; text-align: right; }
.td-link a { font-weight: 500; text-decoration-thickness: 1px; text-underline-offset: .3em; }
.td-link a:hover { color: var(--rot); }

/* Fuß */
.fuss {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: 2rem;
  padding: clamp(2.5rem, 5vw, 4rem) var(--rand);
  background: var(--tinte);
  color: var(--weiss);
}
.fuss-text { display: grid; gap: .4rem; max-width: 40rem; color: #c4c4c4; font-size: .9375rem; }
.fuss :focus-visible { outline-color: var(--weiss); }

/* Der eine Moment beim Laden: die drei Zeilen des Titels steigen nacheinander auf */
@media (prefers-reduced-motion: no-preference) {
  .auftakt-titel span { animation: aufsteigen 1s cubic-bezier(.16, .8, .2, 1) both; }
  .auftakt-titel span:nth-child(2) { animation-delay: .12s; }
  .auftakt-titel span:nth-child(3) { animation-delay: .24s; }
  .mosaik { animation: aufblenden 1.6s .35s ease-out both; }
  .buehne img { transition: opacity .25s; }
  .buehne img.wechselt { opacity: .35; }
}
@keyframes aufsteigen {
  from { transform: translateY(.3em); clip-path: inset(0 0 100% 0); }
  to { transform: none; clip-path: inset(0 0 -10% 0); }
}
@keyframes aufblenden { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Mittlere Breiten */
@media (max-width: 75rem) {
  .tafel { grid-template-columns: minmax(10rem, 1fr) minmax(0, 2.4fr); grid-template-rows: auto 1fr auto auto; }
  .tafel-mitte { grid-column: 2; grid-row: 1 / 3; }
  .zeichen { width: min(30rem, 44vw); }
  .tafel-text { grid-row: 2 / 4; }
  .tafel-werte { grid-column: 2; grid-row: 3 / 5; }
  .eintrag { grid-template-columns: minmax(0, 7fr) minmax(17rem, 5fr); }
}

@media (max-width: 62rem) {
  :root { --kopf: 6rem; }
  .kopf {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: 3.5rem 2.5rem;
    padding-left: 0;
  }
  .marke { padding-left: var(--rand); }
  .kopf-knopf { grid-column: 2; grid-row: 1; }
  .navi { grid-column: 1 / -1; grid-row: 2; border-top: 1px solid var(--linie); }
  .navi ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
  .navi li + li { border-left: 1px solid var(--linie); }
  .navi a { justify-content: center; font-size: .875rem; }
  .navi .lang { display: none; }
  .navi .kurz { display: inline; }

  .auftakt { grid-template-columns: minmax(0, 1fr); min-height: 0; padding-top: clamp(3rem, 12vw, 6rem); }
  .auftakt-titel { margin-bottom: clamp(2.5rem, 10vw, 5rem); }
  .auftakt-text { grid-column: 1; max-width: 30rem; }
  .mosaik { top: 34%; width: 92%; right: -28%; opacity: .32; }

  .merkmale { grid-template-columns: minmax(0, 1fr); max-width: 32rem; }

  .tafel { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; min-height: 0; gap: 2rem; }
  .register { display: none; }
  .tafel-mitte { grid-column: 1; grid-row: auto; padding-block: 1.5rem; }
  .zeichen { width: min(26rem, 72vw); }
  .tafel-titel { font-size: clamp(2.75rem, 12.5vw, 6.5rem); }
  .tafel-text, .tafel-werte { grid-column: 1; grid-row: auto; justify-self: stretch; max-width: 36rem; }

  .eintrag { grid-template-columns: minmax(0, 1fr); gap: 1.75rem; }
  .eintrag-text { max-width: 40rem; }
  .eintrag-fuss { margin-top: 0; }

  .tabelle, .tabelle tbody, .tabelle tr, .tabelle th, .tabelle td, .tabelle tbody th { display: block; width: auto; }
  .tabelle thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .tabelle tbody { border-top: 1px solid var(--tinte); }
  .tabelle tbody tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; padding: 1.1rem 0 1.25rem; }
  .tabelle tbody th { grid-column: 1; padding: 0 0 .75rem; }
  .tabelle td { grid-column: 1 / -1; padding: .35rem 0; }
  .tabelle .td-link { grid-column: 2; grid-row: 1; padding: .3rem 0 0; }
  .tabelle .skala { grid-template-columns: 4.6rem minmax(4.5rem, 1fr) 4.6rem; max-width: 28rem; }
  .tabelle .pol { display: block; }

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

@media (max-width: 48rem) {
  .mosaik { display: none; }
}

@media (max-width: 30rem) {
  .navi a { font-size: .8125rem; }
  .marke span { font-size: .75rem; }
  .kopf-knopf { padding-inline: 1rem; font-size: .9375rem; }
  .auftakt-titel { font-size: clamp(3.75rem, 21vw, 6rem); }
  .skala { grid-template-columns: 3.9rem minmax(3rem, 1fr) 3.9rem; column-gap: .55rem; font-size: .8125rem; }
  .tabelle .skala { grid-template-columns: 3.9rem minmax(3rem, 1fr) 3.9rem; }
  .wert { grid-template-columns: minmax(0, 1fr); row-gap: .45rem; }
  .ansichten { gap: .375rem; }
}

/* Bulgarisch: längere Wörter („Ексклузивен“, „Вашият?“) brauchen etwas mehr Platz */
.skala { grid-template-columns: 5.6rem minmax(4.5rem, 1fr) 5.6rem; }
.tabelle .skala { grid-template-columns: minmax(6rem, 1fr); }
@media (max-width: 62rem) {
  .tabelle .skala { grid-template-columns: 5.6rem minmax(4.5rem, 1fr) 5.6rem; }
}
@media (max-width: 30rem) {
  .auftakt-titel { font-size: clamp(3.25rem, 18.5vw, 6rem); }
  .skala, .tabelle .skala { grid-template-columns: 4.7rem minmax(3rem, 1fr) 4.7rem; font-size: .75rem; }
  .navi a { font-size: .75rem; letter-spacing: -.01em; }
}
/* Unter 320 px (schmale Fenster): Menüspalten nach Wortlänge, damit „Отговорност“ und die Spartentitel ganz bleiben */
@media (max-width: 19.9375rem) {
  .navi ul { grid-template-columns: repeat(4, auto); }
  .navi a { font-size: .6875rem; letter-spacing: -.015em; }
  .tafel-titel { font-size: min(2.75rem, calc(16.3vw - .35rem)); }
}
