/* -- Tokens -- */
:root {
  --ks-papier: #ffffff;
  --ks-tinte: #000000;
  --ks-kohle: #222222;
  --ks-grau: #6a6559;
  --ks-gelb: #ffdd33;
  --ks-gelb-zart: #fff6cc;
  --ks-linie: #dcd8cf;
  --ks-fokus: #0064a8;
  --ks-innen-max: 1180px;
  --ks-rand: clamp(20px, 5vw, 48px);
  --ks-r-taste: 10px;
  --ks-versatz: 6px;
  --ks-schrift: "Inter var", "KS Ersatz", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --ks-schrift-daten: ui-monospace, SFMono-Regular, Menlo, "DejaVu Sans Mono", monospace;
}

/* -- Schriften -- */
@font-face {
  font-family: "Inter var";
  src: url("fonts/inter-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  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: "KS Ersatz";
  src: local("Helvetica Neue"), local("Arial"), local("Liberation Sans");
  size-adjust: 107%;
  ascent-override: 90%;
  descent-override: 22.43%;
  line-gap-override: 0%;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--ks-papier);
  color: var(--ks-tinte);
  font-family: var(--ks-schrift);
  font-size: 18px;
  line-height: 1.5;
  letter-spacing: -0.012em;
  overflow-x: hidden;
}

h1, h2, h3 { margin: 0; font-weight: 700; }
p { margin: 0; }
img { display: block; max-width: 100%; height: auto; }

a { color: var(--ks-tinte); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-color: var(--ks-gelb); text-decoration-thickness: 3px; }

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

.ks-innen {
  width: 100%;
  max-width: var(--ks-innen-max);
  margin-inline: auto;
  padding-inline: var(--ks-rand);
}

/* -- Kopfbereich -- */
.ks-kopf {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--ks-papier);
}

.ks-kopf__innen {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 78px;
}

.ks-kopf__marke {
  font-size: 25px;
  font-weight: 700;
  letter-spacing: -0.03em;
  text-decoration: none;
  padding: 10px 2px;
  display: inline-block;
}

.ks-kopf__marke em {
  font-style: normal;
  background: var(--ks-gelb);
  padding: 0 6px 2px;
  box-decoration-break: clone;
}

.ks-kopf__marke:hover em { background: var(--ks-gelb-zart); }

.ks-kopf__nav { display: flex; align-items: center; gap: 10px; }

.ks-liste--nav {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.ks-liste--nav a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 14px;
  font-size: 16px;
  text-decoration: none;
  border-radius: var(--ks-r-taste);
}

.ks-liste--nav a:hover { background: var(--ks-gelb-zart); }

.ks-kopf .ks-kopf__schalter { display: none; }

/* -- Aufmacher -- */
.ks-feld--start {
  padding-block: clamp(40px, 7vw, 76px) clamp(48px, 8vw, 92px);
  text-align: center;
}

.ks-feld__auge {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ks-grau);
  margin-bottom: 22px;
}

.ks-feld__gross {
  font-size: clamp(2.5rem, 7.4vw, 4.3rem);
  line-height: 0.99;
  letter-spacing: -0.042em;
  max-width: 18em;
  margin-inline: auto;
}

.ks-feld__gross mark {
  background: var(--ks-gelb);
  color: inherit;
  padding: 0 8px 3px;
  box-decoration-break: clone;
}

.ks-feld--start .ks-feld__lead {
  margin: 26px auto 0;
  max-width: 34em;
  font-size: 19px;
  line-height: 1.55;
  color: var(--ks-kohle);
}

.ks-feld__tasten {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 26px;
  justify-content: center;
  margin-top: 38px;
}

.ks-liste--vitrine {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 30px;
  list-style: none;
  margin: 52px 0 0;
  padding: 0;
}

.ks-liste--vitrine li {
  width: 132px;
  font-size: 13px;
  line-height: 1.3;
  color: var(--ks-grau);
}

.ks-liste--vitrine img {
  width: 66px;
  height: 66px;
  border-radius: 16px;
  margin: 0 auto 10px;
}

.ks-feld__stand {
  margin-top: 40px;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--ks-grau);
}

/* -- Katalog -- */
.ks-feld--katalog { padding-block: clamp(46px, 7vw, 80px); }

.ks-feld__titel {
  font-size: clamp(1.9rem, 4.4vw, 2.7rem);
  line-height: 1.06;
  letter-spacing: -0.028em;
  max-width: 16em;
}

.ks-feld--katalog .ks-feld__lead {
  margin-top: 20px;
  max-width: 40em;
  color: var(--ks-kohle);
}

.ks-zeile {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 300px);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
  margin-top: clamp(44px, 6vw, 70px);
}

.ks-zeile__datum {
  font-family: var(--ks-schrift-daten);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ks-grau);
  margin-bottom: 10px;
}

.ks-zeile__datum b {
  display: block;
  font-family: var(--ks-schrift);
  font-size: clamp(2.1rem, 4vw, 2.5rem);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--ks-tinte);
  margin-bottom: 4px;
}

.ks-zeile__titel {
  font-size: clamp(1.35rem, 2.6vw, 1.63rem);
  line-height: 1.15;
  letter-spacing: -0.024em;
}

.ks-zeile__studio {
  margin-top: 8px;
  font-size: 16px;
  color: var(--ks-grau);
}

.ks-zeile__wert {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 5px 12px 6px;
  border-radius: var(--ks-r-taste);
  background: var(--ks-gelb-zart);
  font-size: 15px;
  font-weight: 500;
}

.ks-zeile__wert svg { width: 17px; height: 17px; flex: none; }

.ks-zeile__abs { margin-top: 18px; max-width: 36em; }

.ks-liste--daten {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 28px;
  margin: 20px 0 0;
  font-family: var(--ks-schrift-daten);
  font-size: 13px;
  line-height: 1.5;
}

.ks-liste--daten dt {
  display: inline;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ks-grau);
}

.ks-liste--daten dd { display: inline; margin: 0 0 0 6px; }

.ks-zeile__bild { position: relative; }

.ks-zeile__szene {
  width: 100%;
  border-radius: 12px;
}

.ks-zeile__marke {
  position: absolute;
  left: -28px;
  bottom: 26px;
  width: 62px;
  height: 62px;
  border-radius: 15px;
  outline: 4px solid var(--ks-papier);
}

/* -- Score-Post -- */
.ks-hinweis--abo {
  margin-top: clamp(46px, 6vw, 72px);
  padding: clamp(26px, 4vw, 42px);
  border: 2px solid var(--ks-tinte);
  border-radius: 14px;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: clamp(22px, 3.5vw, 48px);
}

.ks-hinweis__kennung {
  font-family: var(--ks-schrift-daten);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ks-grau);
}

.ks-hinweis__titel {
  margin-top: 10px;
  text-wrap: balance;
  font-size: clamp(1.6rem, 3.4vw, 2.05rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.ks-hinweis__titel mark {
  background: var(--ks-gelb);
  color: inherit;
  padding: 0 7px 2px;
}

.ks-hinweis__abs { margin-top: 18px; max-width: 34em; }
.ks-hinweis__abs + .ks-hinweis__abs { margin-top: 14px; }

.ks-hinweis__preis {
  font-size: clamp(2.2rem, 4.6vw, 2.9rem);
  line-height: 1;
  letter-spacing: -0.04em;
  font-weight: 700;
}

.ks-hinweis__takt {
  margin-top: 8px;
  font-size: 15px;
  color: var(--ks-grau);
}

.ks-hinweis__weg { margin-top: 22px; font-size: 16px; }

.ks-hinweis__weg a { font-weight: 500; }

/* -- Redaktionskalender -- */
.ks-feld--kalender { padding-block: clamp(40px, 6vw, 72px) clamp(52px, 7vw, 88px); }

.ks-feld--kalender .ks-feld__lead {
  margin-top: 18px;
  max-width: 42em;
  color: var(--ks-kohle);
}

.ks-feld__rollen {
  margin-top: 34px;
  overflow-x: auto;
  border-radius: 12px;
}

.ks-feld__rollen:focus-visible { outline-offset: 0; }

.ks-feld__tafel {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: 16px;
  text-align: left;
}

.ks-feld__tafel caption {
  text-align: left;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ks-grau);
  padding-bottom: 14px;
}

.ks-feld__tafel thead th {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0 16px 12px;
  border-bottom: 2px solid var(--ks-tinte);
  white-space: nowrap;
}

.ks-feld__tafel tbody th,
.ks-feld__tafel tbody td {
  padding: 16px;
  vertical-align: top;
  font-weight: 400;
}

.ks-feld__tafel tbody th {
  font-family: var(--ks-schrift-daten);
  font-size: 14px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.ks-feld__tafel tbody tr:nth-child(odd) { background: var(--ks-gelb-zart); }

.ks-feld__stand--zelle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.ks-feld__stand--zelle svg { width: 18px; height: 18px; flex: none; }

.ks-hinweis--notiz {
  margin-top: 24px;
  max-width: 44em;
  font-size: 16px;
  color: var(--ks-kohle);
}

/* -- Fussbereich -- */
.ks-feld--fuss { padding-block: clamp(46px, 6vw, 74px) 40px; }

.ks-feld__saeulen {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: clamp(30px, 5vw, 64px);
}

.ks-feld__saeulen h2 {
  font-size: clamp(1.5rem, 3vw, 1.9rem);
  line-height: 1.1;
  letter-spacing: -0.028em;
}

.ks-feld__saeulen h3 {
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ks-grau);
}

.ks-feld__kontakt { margin-top: 16px; max-width: 32em; }

.ks-feld__post {
  display: inline-block;
  margin-top: 18px;
  font-size: clamp(1.15rem, 2.4vw, 1.35rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
  border-bottom: 3px solid var(--ks-gelb);
  padding-bottom: 2px;
}

.ks-feld__post:hover { border-bottom-color: var(--ks-tinte); }

.ks-feld__anschrift {
  margin-top: 24px;
  font-style: normal;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ks-kohle);
}

.ks-liste--recht {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  font-size: 16px;
}

.ks-liste--recht li { margin-bottom: 2px; }

.ks-liste--recht + h3 { margin-top: 26px; }

.ks-liste--recht a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 2px;
}

.ks-feld__name {
  margin-top: 30px;
  max-width: 32em;
  font-size: 15px;
  color: var(--ks-grau);
}

.ks-feld__schluss {
  margin-top: clamp(34px, 5vw, 54px);
  font-size: 14px;
  color: var(--ks-grau);
}

/* -- Tasten -- */
.ks-taste {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border: 2px solid var(--ks-tinte);
  border-radius: var(--ks-r-taste);
  font: inherit;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.015em;
  text-decoration: none;
  cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, background-color .16s ease;
}

.ks-taste--haupt {
  background: var(--ks-tinte);
  color: var(--ks-papier);
  box-shadow: var(--ks-versatz) var(--ks-versatz) 0 0 var(--ks-gelb);
}

.ks-taste--haupt:hover {
  transform: translate(var(--ks-versatz), var(--ks-versatz));
  box-shadow: 0 0 0 0 var(--ks-gelb);
}

.ks-taste--zweit {
  background: var(--ks-papier);
  color: var(--ks-tinte);
  font-weight: 500;
  box-shadow: var(--ks-versatz) var(--ks-versatz) 0 0 var(--ks-tinte);
}

.ks-taste--zweit:hover {
  transform: translate(var(--ks-versatz), var(--ks-versatz));
  box-shadow: 0 0 0 0 var(--ks-tinte);
  background: var(--ks-gelb-zart);
}

.ks-taste--klein {
  min-height: 48px;
  padding: 0 18px;
  font-size: 15px;
  font-weight: 500;
  --ks-versatz: 4px;
  background: var(--ks-papier);
  box-shadow: 4px 4px 0 0 var(--ks-gelb);
}

.ks-taste--klein:hover {
  transform: translate(4px, 4px);
  box-shadow: 0 0 0 0 var(--ks-gelb);
}

.ks-taste--hoch {
  position: fixed;
  right: clamp(16px, 3vw, 28px);
  bottom: clamp(16px, 3vw, 28px);
  z-index: 30;
  width: 52px;
  height: 52px;
  min-height: 52px;
  padding: 0;
  background: var(--ks-papier);
  box-shadow: 4px 4px 0 0 var(--ks-tinte);
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s ease, visibility .2s ease, transform .16s ease, box-shadow .16s ease;
}

.ks-taste--hoch.ist-da { opacity: 1; visibility: visible; }

.ks-taste--hoch:hover {
  transform: translate(4px, 4px);
  box-shadow: 0 0 0 0 var(--ks-tinte);
}

.ks-taste--hoch svg { width: 22px; height: 22px; }

.ks-taste--schalter {
  width: 52px;
  padding: 0;
  --ks-versatz: 4px;
  background: var(--ks-papier);
  box-shadow: 4px 4px 0 0 var(--ks-gelb);
}

.ks-taste--schalter svg { width: 24px; height: 24px; }

/* -- Cookie-Hinweis -- */
.ks-hinweis--cookie {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  background: var(--ks-papier);
  border-top: 2px solid var(--ks-tinte);
  padding-block: 18px;
}

.ks-hinweis--cookie[hidden] { display: none; }

.ks-hinweis__reihe {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 28px;
}

.ks-hinweis__wort {
  max-width: 46em;
  font-size: 15px;
  line-height: 1.5;
}

.ks-hinweis__wahl { display: flex; flex-wrap: wrap; gap: 12px 14px; }

/* -- Rechtsseiten -- */
.ks-feld--recht { padding-block: clamp(38px, 5vw, 62px) clamp(46px, 6vw, 78px); }

.ks-feld--recht h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.03;
  letter-spacing: -0.035em;
  max-width: 17em;
}

.ks-feld__datum {
  margin-top: 16px;
  font-family: var(--ks-schrift-daten);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ks-grau);
}

.ks-feld__text { margin-top: clamp(28px, 4vw, 44px); max-width: 44em; }

.ks-feld__text h2 {
  margin-top: 42px;
  font-size: clamp(1.25rem, 2.6vw, 1.5rem);
  line-height: 1.2;
  letter-spacing: -0.022em;
}

.ks-feld__text h3 {
  margin-top: 28px;
  font-size: 17px;
  letter-spacing: -0.01em;
}

.ks-feld__text p { margin-top: 14px; font-size: 17px; line-height: 1.62; }

.ks-feld__text ul { margin: 14px 0 0; padding-left: 0; list-style: none; font-size: 17px; }

.ks-feld__text li {
  position: relative;
  padding-left: 26px;
  margin-top: 10px;
  line-height: 1.6;
}

.ks-feld__text li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 12px;
  height: 5px;
  background: var(--ks-gelb);
}

.ks-feld__text address {
  font-style: normal;
  margin-top: 14px;
  font-size: 17px;
  line-height: 1.62;
}

.ks-feld__tabellchen {
  margin-top: 22px;
  overflow-x: auto;
}

.ks-feld__tabellchen table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 15px;
  text-align: left;
}

.ks-feld__tabellchen caption {
  text-align: left;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ks-grau);
  padding-bottom: 12px;
}

.ks-feld__tabellchen thead th {
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0 14px 10px;
  border-bottom: 2px solid var(--ks-tinte);
}

.ks-feld__tabellchen tbody th,
.ks-feld__tabellchen tbody td {
  padding: 13px 14px;
  vertical-align: top;
  font-weight: 400;
}

.ks-feld__tabellchen tbody tr:nth-child(odd) { background: var(--ks-gelb-zart); }

.ks-feld__zurueck { margin-top: 44px; }

/* -- Werkzeuge -- */
.ks-nur-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.ks-sprung {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 60;
  background: var(--ks-tinte);
  color: var(--ks-papier);
  padding: 12px 20px;
  border-radius: var(--ks-r-taste);
}

.ks-sprung:focus { left: 12px; top: 12px; }

@media (max-width: 900px) {
  .ks-zeile { grid-template-columns: minmax(0, 1fr); }
  .ks-zeile__bild { max-width: 300px; }
  .ks-zeile__marke { left: auto; right: -20px; }
  .ks-hinweis--abo { grid-template-columns: minmax(0, 1fr); }
  .ks-feld__saeulen { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 760px) {
  body { font-size: 17px; }
  .ks-kopf .ks-kopf__schalter { display: inline-flex; }
  .ks-kopf__nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 78px;
    display: none;
    padding: 10px var(--ks-rand) 26px;
    background: var(--ks-papier);
    border-bottom: 2px solid var(--ks-tinte);
  }
  .ks-kopf__nav.ist-offen { display: block; }
  .ks-liste--nav { flex-direction: column; align-items: stretch; gap: 2px; }
  .ks-liste--nav a { font-size: 18px; }
  .ks-feld__tasten { gap: 16px 18px; }
  .ks-taste { width: 100%; }
  .ks-taste--hoch, .ks-taste--schalter { width: 52px; }
  .ks-liste--vitrine li { width: 108px; }
  .ks-hinweis--cookie { padding-block: 14px; }
  .ks-hinweis__wort { font-size: 14px; }
  .ks-hinweis__reihe { justify-content: flex-start; gap: 12px 18px; }
  .ks-hinweis__wahl { width: 100%; }
  .ks-hinweis__wahl .ks-taste { width: auto; flex: 1 1 auto; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
