/* =========================================================
   GESETZES WORT — Design System
   Modern-redaktionell · Schwarz-Rot-Gold dezent
   ========================================================= */

:root {
  /* Paper & ink */
  --paper:      oklch(0.985 0.004 85);
  --paper-2:    oklch(0.965 0.006 82);
  --ink:        oklch(0.165 0.008 60);
  --ink-soft:   oklch(0.42 0.012 62);
  --ink-faint:  oklch(0.58 0.010 64);
  --rule:       oklch(0.87 0.006 75);
  --rule-soft:  oklch(0.92 0.005 78);

  /* Schwarz-Rot-Gold (dezent) */
  --black:      oklch(0.165 0.008 60);
  --red:        oklch(0.52 0.193 27);
  --red-deep:   oklch(0.44 0.17 27);
  --gold:       oklch(0.78 0.118 82);
  --gold-deep:  oklch(0.66 0.115 78);

  /* Type */
  --display: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --serif:   "Source Serif 4", Georgia, "Times New Roman", serif;

  --maxw: 1140px;
  --gutter: clamp(20px, 5vw, 56px);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(17px, 1.05vw + 13px, 19px);
  line-height: 1.6;
  font-feature-settings: "kern" 1, "liga" 1;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

/* ---------- Flag rule (SRG hairline) ---------- */
.flag-rule {
  height: 4px;
  display: flex;
  width: 100%;
}
.flag-rule > i { flex: 1; }
.flag-rule > i:nth-child(1) { background: var(--black); }
.flag-rule > i:nth-child(2) { background: var(--red); }
.flag-rule > i:nth-child(3) { background: var(--gold); }

/* ---------- Layout ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Masthead ---------- */
.masthead {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in oklch, var(--paper) 88%, transparent);
  backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid var(--rule);
}
.masthead__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 68px;
  padding-block: 12px;
}
.wordmark {
  font-family: var(--display);
  font-weight: 900;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1;
  color: var(--ink);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  white-space: nowrap;
}
.wordmark::before {
  content: "";
  width: 12px;
  height: 22px;
  background: linear-gradient(var(--black) 33.3%, var(--red) 33.3% 66.6%, var(--gold) 66.6%);
  border-radius: 1px;
  flex: none;
}
.nav {
  display: flex;
  gap: clamp(14px, 2.4vw, 30px);
  align-items: center;
}
.nav a {
  font-family: var(--display);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.01em;
  text-decoration: none;
  color: var(--ink-soft);
  padding: 6px 0;
  position: relative;
  transition: color .15s ease;
}
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 2px;
  background: var(--red);
}

/* ---------- Eyebrow / kicker ---------- */
.kicker {
  font-family: var(--display);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-faint);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.kicker::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--red);
}

/* ---------- Hero ---------- */
.hero {
  padding-block: clamp(48px, 8vw, 96px) clamp(36px, 5vw, 64px);
  border-bottom: 1px solid var(--rule);
}
.hero h1 {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 0.98;
  font-size: clamp(44px, 9vw, 104px);
  margin: 22px 0 0;
  text-wrap: balance;
}
.hero h1 .em { color: var(--red-deep); }
.hero__lead {
  font-size: clamp(19px, 1.4vw + 14px, 25px);
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 40ch;
  margin: 28px 0 0;
  text-wrap: pretty;
}

/* ---------- Channel cards ---------- */
.channels {
  padding-block: clamp(40px, 6vw, 72px);
}
.channels__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
  flex-wrap: wrap;
}
.channels__head h2 {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: clamp(24px, 3vw, 34px);
  margin: 0;
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}
.chan {
  --accent: var(--ink);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
  min-height: 230px;
  padding: 26px 26px 24px;
  text-decoration: none;
  color: var(--ink);
  background: var(--paper-2);
  border: 1px solid var(--rule);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.chan::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--accent);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .22s ease;
}
.chan:hover {
  transform: translateY(-3px);
  border-color: color-mix(in oklch, var(--accent) 45%, var(--rule));
  box-shadow: 0 18px 40px -28px color-mix(in oklch, var(--accent) 70%, transparent);
}
.chan:hover::before { transform: scaleY(1); }
.chan--yt { --accent: var(--red); }
.chan--tt { --accent: var(--ink); }
.chan__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.chan__plat {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.01em;
  font-size: 21px;
}
.chan__glyph {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: color-mix(in oklch, var(--accent) 12%, var(--paper));
  color: var(--accent);
}
.chan__glyph svg { width: 24px; height: 24px; fill: currentColor; }
.chan__bottom { display: flex; flex-direction: column; gap: 6px; }
.chan__handle {
  font-family: var(--display);
  font-weight: 600;
  font-size: 15px;
  color: var(--ink-soft);
}
.chan__cta {
  font-family: var(--display);
  font-weight: 700;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
}
.chan__cta .arr { transition: transform .2s ease; }
.chan:hover .chan__cta .arr { transform: translateX(4px); }

/* ---------- Free-content note ---------- */
.freebar {
  border-block: 1px solid var(--rule);
  background:
    repeating-linear-gradient(135deg,
      transparent 0 11px,
      color-mix(in oklch, var(--gold) 9%, transparent) 11px 12px);
}
.freebar__inner {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 40px);
  padding-block: clamp(28px, 4vw, 44px);
  flex-wrap: wrap;
}
.freebar__badge {
  font-family: var(--display);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-deep);
  border: 1.5px solid var(--gold-deep);
  border-radius: 999px;
  padding: 8px 16px;
  white-space: nowrap;
}
.freebar__text {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(17px, 1.4vw, 21px);
  letter-spacing: -0.01em;
  line-height: 1.35;
  max-width: 56ch;
}
.freebar__text a { color: var(--red-deep); text-underline-offset: 3px; }

/* ---------- Generic section / legal pages ---------- */
.page-head {
  padding-block: clamp(44px, 7vw, 84px) clamp(26px, 3vw, 40px);
  border-bottom: 1px solid var(--rule);
}
.page-head h1 {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1;
  font-size: clamp(38px, 6.5vw, 72px);
  margin: 20px 0 0;
  text-wrap: balance;
}
.page-head .meta {
  margin-top: 18px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 14px;
  color: var(--ink-faint);
}

.prose {
  padding-block: clamp(36px, 5vw, 60px) clamp(48px, 7vw, 88px);
  max-width: 70ch;
}
.prose section { margin-bottom: clamp(34px, 4vw, 50px); }
.prose h2 {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.015em;
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.15;
  margin: 0 0 14px;
  display: flex;
  gap: 14px;
  align-items: baseline;
}
.prose h2 .no {
  font-size: 14px;
  font-weight: 700;
  color: var(--red);
  font-variant-numeric: tabular-nums;
  flex: none;
  padding-top: 3px;
}
.prose h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 18px;
  margin: 26px 0 8px;
}
.prose p { margin: 0 0 14px; color: var(--ink); }
.prose p:last-child { margin-bottom: 0; }
.prose ul { margin: 0 0 14px; padding-left: 1.2em; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--red-deep); text-underline-offset: 3px; }
.prose strong { font-weight: 600; }
.lead-note {
  font-family: var(--serif);
  font-size: clamp(19px, 1.4vw, 22px);
  line-height: 1.5;
  color: var(--ink-soft);
  border-left: 3px solid var(--gold);
  padding-left: 20px;
  margin: 0 0 8px;
}
.disclaimer {
  margin-top: 8px;
  font-size: 14.5px;
  color: var(--ink-faint);
  background: var(--paper-2);
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: 16px 18px;
}

/* ---------- Footer ---------- */
.foot {
  border-top: 1px solid var(--rule);
  background: var(--paper-2);
}
.foot__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 36px 24px;
  padding-block: clamp(40px, 5vw, 60px) 28px;
}
.foot__brand .wordmark { font-size: 20px; margin-bottom: 14px; }
.foot__brand p {
  margin: 0;
  max-width: 38ch;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.5;
}
.foot__operator {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.foot__operator-label {
  font-family: var(--display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.foot__operator img { height: 38px; width: auto; align-self: flex-start; }

/* Impressum: operator lockup + data list */
.imp-brand {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  padding: 22px 24px;
  background: var(--paper-2);
  border: 1px solid var(--rule);
  border-radius: 4px;
  margin-bottom: 8px;
}
.imp-brand img { height: 54px; width: auto; flex: none; }
.imp-brand__txt { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.imp-brand__txt strong {
  font-family: var(--display);
  font-weight: 700;
  font-size: 17px;
  line-height: 1.25;
  color: var(--ink);
}
.imp-brand__txt span { font-size: 14px; color: var(--ink-soft); line-height: 1.3; }
.dl {
  display: grid;
  grid-template-columns: minmax(140px, 200px) 1fr;
  gap: 4px 28px;
}
.dl dt {
  font-family: var(--display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-faint);
  padding-top: 12px;
}
.dl dd {
  margin: 0;
  padding-top: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--rule-soft);
}
.dl dt { border-bottom: 1px solid var(--rule-soft); padding-bottom: 8px; }
.ph {
  color: var(--red-deep);
  font-style: italic;
  font-family: var(--serif);
}
@media (max-width: 560px) {
  .dl { grid-template-columns: 1fr; gap: 0; }
  .dl dt { border-bottom: none; padding-bottom: 0; }
  .dl dd { padding-top: 2px; }
}
.foot__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.foot__col h4 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin: 0 0 12px;
}
.foot__col a {
  display: block;
  font-family: var(--display);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  color: var(--ink-soft);
  padding: 4px 0;
  transition: color .15s ease;
}
.foot__col a:hover { color: var(--ink); }
.foot__bottom {
  border-top: 1px solid var(--rule);
  padding-block: 18px 28px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-family: var(--display);
  font-size: 13px;
  color: var(--ink-faint);
}
.foot__bottom .priv { display: inline-flex; align-items: center; gap: 8px; }
.foot__bottom .dot { width: 7px; height: 7px; border-radius: 50%; background: oklch(0.62 0.16 145); }

/* ---------- Responsive ---------- */
@media (max-width: 720px) {
  .nav { gap: 16px; }
  .nav a { font-size: 13px; }
  .foot__inner { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .nav .nav__home { display: none; }
  .chan { min-height: 200px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
