/* © 2026 Mike Pollow, Digitalroots. Alle Rechte vorbehalten. */
@font-face {
  font-family: 'Schibsted Grotesk';
  src: url('fonts/schibsted-grotesk.woff2') format('woff2');
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'SG-Segoe';
  src: local('Segoe UI');
  size-adjust: 105.83%; ascent-override: 92.27%; descent-override: 24.36%; line-gap-override: 0%;
}
@font-face {
  font-family: 'SG-Arial';
  src: local('Arial');
  size-adjust: 104.61%; ascent-override: 93.35%; descent-override: 24.64%; line-gap-override: 0%;
}
@font-face { font-family: 'IBM Plex Mono'; src: url('fonts/ibm-plex-mono-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'IBM Plex Mono'; src: url('fonts/ibm-plex-mono-500.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'IBM Plex Mono'; src: url('fonts/ibm-plex-mono-600.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'IBM Plex Mono'; src: url('fonts/ibm-plex-mono-700.woff2') format('woff2'); font-weight: 700; font-display: swap; }

:root {
  --grund: #070D0E;
  --grund-2: #0B1617;
  --tinte: #F3F7F6;
  --text: #C3D3D2;
  --meta: #8AA2A1;
  --patina: #1B5A63;
  --patina-tief: #15464D;
  --patina-mittel: #278390;
  --gruenspan: #6CC3CC;
  --gruenspan-hell: #A9DDE2;
  --auf-gruenspan: #04191C;
  --linie: rgba(108, 195, 204, .2);
  --linie-stark: rgba(108, 195, 204, .48);
  --flaeche: rgba(6, 13, 14, .72);
  --sans: 'Schibsted Grotesk', 'SG-Segoe', 'SG-Arial', Arial, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, Consolas, monospace;
  --kurve: cubic-bezier(.23, 1, .32, 1);
  --kurve-weich: cubic-bezier(.2, .7, .2, 1);
  --rand: clamp(16px, 4.2vw, 44px);
  --breite: 1180px;
  --kopf-hoehe: 68px;
  color-scheme: dark;
}
html[data-hintergrund='neutral'] { --meta: #A3B9B8; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--kopf-hoehe) + 16px); }
body {
  margin: 0;
  background: var(--grund);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  letter-spacing: -.006em;
  font-kerning: normal;
  font-feature-settings: 'kern', 'liga', 'calt';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
::selection { background: var(--gruenspan); color: var(--auf-gruenspan); }

:focus-visible { outline: 2px solid var(--gruenspan-hell); outline-offset: 3px; }

.sprung {
  position: fixed; left: 16px; top: -60px; z-index: 100;
  background: var(--gruenspan); color: var(--auf-gruenspan);
  padding: 12px 16px; font-weight: 700; text-decoration: none;
  transition: transform 160ms var(--kurve);
}
.sprung:focus { transform: translateY(76px); }

.huelle { width: min(var(--breite), 100% - 2 * var(--rand)); margin-inline: auto; }

.kopf {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--kopf-hoehe);
  background: linear-gradient(180deg, rgba(4, 9, 10, .86), rgba(4, 9, 10, 0));
  transition: background-color 240ms ease;
}
.kopf::after {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--linie-stark), transparent);
}
.kopf.gerollt { background-color: #050A0B; }
.kopf-innen { height: 100%; display: flex; align-items: center; gap: 24px; }
.marke { display: inline-flex; flex: 0 0 auto; padding: 8px 0; }
.marke img { width: 168px; height: auto; }
.navi { display: flex; gap: 24px; margin-left: 16px; }
.navi a {
  font-size: 15px; font-weight: 500; color: var(--text); text-decoration: none;
  padding: 12px 0; position: relative;
}
.quadratreihe { position: absolute; left: 0; bottom: 4px; display: flex; gap: 2px; pointer-events: none; }
.quadratreihe i { display: block; width: 4px; height: 4px; background: var(--gruenspan); transform: scale(0); transition: transform 240ms var(--federn, cubic-bezier(.34, 1.36, .64, 1)); transition-delay: calc((var(--z) - 1 - var(--i)) * 16ms); }
.navi a:focus-visible .quadratreihe i, .navi a[aria-current] .quadratreihe i { transform: scale(1); transition-delay: calc(var(--i) * 28ms); }
@media (hover: hover) and (pointer: fine) {
  .navi a:hover { color: var(--tinte); }
  .navi a:hover .quadratreihe i { transform: scale(1); transition-delay: calc(var(--i) * 28ms); }
}
.kopf-aktion { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.portal { font-size: 15px; font-weight: 500; text-decoration: none; color: var(--text); padding: 12px 0; }
@media (hover: hover) and (pointer: fine) { .portal:hover { color: var(--tinte); } }

.bewegung, .hintergrund {
  display: inline-flex; align-items: center; gap: 8px;
  background: none; border: 1px solid var(--linie); color: var(--meta);
  font-family: var(--mono); font-size: 12px; letter-spacing: .04em;
  min-height: 36px; padding: 0 12px; cursor: pointer;
  transition: border-color 160ms ease, color 160ms ease;
}
.schalter {
  position: relative; flex: 0 0 auto; width: 26px; height: 14px;
  border: 1px solid var(--linie-stark); background: rgba(108, 195, 204, .16);
  transition: background-color 160ms ease, border-color 160ms ease;
}
.schalter::after {
  content: ''; position: absolute; top: 2px; left: 2px; width: 8px; height: 8px; background: var(--gruenspan);
  transform: translateX(12px); transition: transform 180ms var(--kurve), background-color 160ms ease;
}
.bewegung[aria-checked='false'] .schalter, .hintergrund[aria-checked='false'] .schalter { background: transparent; border-color: var(--linie); }
.bewegung[aria-checked='false'] .schalter::after, .hintergrund[aria-checked='false'] .schalter::after { transform: none; background: var(--meta); }
.hintergrund .kurz { display: none; font-family: var(--sans); font-size: 14px; font-weight: 600; letter-spacing: 0; }
@media (hover: hover) and (pointer: fine) { .bewegung:hover, .hintergrund:hover { color: var(--tinte); border-color: var(--linie-stark); } }
.bewegung[aria-disabled='true'] { opacity: .45; cursor: default; }
@media (hover: hover) and (pointer: fine) { .bewegung[aria-disabled='true']:hover { color: var(--meta); border-color: var(--linie); } }

.knopf {
  --schnitt: 12px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 24px;
  font-family: var(--sans); font-size: 16px; font-weight: 700; letter-spacing: .005em;
  text-decoration: none; cursor: pointer;
  border: 1px solid var(--linie-stark); color: var(--gruenspan-hell); background: rgba(6, 13, 14, .35);
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 140ms var(--kurve);
}
.knopf:active { transform: scale(.97); }
.knopf-voll {
  background: var(--gruenspan); border-color: var(--gruenspan); color: var(--auf-gruenspan);
  --stufe: calc(var(--schnitt) / 2);
  clip-path: polygon(var(--schnitt) 0, 100% 0, 100% calc(100% - var(--schnitt)), calc(100% - var(--stufe)) calc(100% - var(--schnitt)), calc(100% - var(--stufe)) calc(100% - var(--stufe)), calc(100% - var(--schnitt)) calc(100% - var(--stufe)), calc(100% - var(--schnitt)) 100%, 0 100%, 0 var(--schnitt), var(--stufe) var(--schnitt), var(--stufe) var(--stufe), var(--schnitt) var(--stufe));
}
.knopf-klein { min-height: 40px; padding: 0 16px; font-size: 15px; --schnitt: 10px; }
@media (hover: hover) and (pointer: fine) {
  .knopf:hover { border-color: var(--gruenspan); color: var(--tinte); background: rgba(108, 195, 204, .1); }
  .knopf-voll:hover { background: var(--gruenspan-hell); color: var(--auf-gruenspan); }
}

.marker { display: inline-flex; align-items: center; gap: .55em; }
.marker::before {
  content: ''; width: .42em; height: .42em; background: var(--gruenspan); flex: 0 0 auto;
}

.lesbar { text-shadow: 0 1px 2px rgba(2, 6, 7, .9), 0 4px 18px rgba(2, 6, 7, .7); }

.fuss {
  position: relative; z-index: 2;
  border-top: 1px solid var(--linie);
  background: rgba(5, 10, 11, .94);
  padding: 64px 0 48px;
  font-size: 15px;
}
.fuss-raster { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.fuss .marke img { width: 152px; }
.fuss p { color: var(--meta); margin-top: 16px; max-width: 34ch; }
.fuss h2 { font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: .08em; color: var(--meta); margin-bottom: 12px; }
.fuss ul li + li { margin-top: 8px; }
.fuss a { text-decoration: none; color: var(--text); }
@media (hover: hover) and (pointer: fine) { .fuss a:hover { color: var(--gruenspan-hell); } }
.fuss-unten { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--linie); display: flex; justify-content: space-between; gap: 16px; color: var(--meta); font-size: 14px; }

.menue { display: none; position: relative; }
.menue summary {
  list-style: none; cursor: pointer; min-height: 44px; min-width: 44px;
  display: grid; place-items: center; border: 1px solid var(--linie);
}
.menue summary::-webkit-details-marker { display: none; }
.menue summary span { width: 18px; height: 10px; border-block: 2px solid var(--tinte); }
.menue-flaeche {
  position: absolute; right: 0; top: calc(100% + 10px); width: min(78vw, 300px);
  background: rgba(5, 10, 11, .97); border: 1px solid var(--linie); padding: 8px;
  display: grid;
}
.menue-flaeche a { padding: 12px; text-decoration: none; font-weight: 600; color: var(--tinte); border-bottom: 1px solid var(--linie); }
.menue-flaeche a:last-child { border-bottom: 0; }

@media (max-width: 980px) {
  .navi, .portal { display: none; }
  .menue { display: block; }
  .fuss-raster { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  :root { --kopf-hoehe: 60px; }
  .marke img { width: 136px; }
  .kopf-aktion .knopf { display: none; }
  .bewegung, .hintergrund { padding: 0 8px; }
  .bewegung .wort, .hintergrund .wort { display: none; }
  .hintergrund .kurz { display: inline; }
  .fuss-raster { grid-template-columns: 1fr; }
  .fuss-unten { flex-direction: column; }
}
@media (max-width: 389px) {
  .kopf-aktion { gap: 8px; }
  .bewegung, .hintergrund { padding: 0 6px; gap: 6px; }
  .hintergrund .kurz { display: none; }
}

[data-bewegung='aus'] *, [data-bewegung='aus'] *::before, [data-bewegung='aus'] *::after,
[data-hintergrund='neutral'] *, [data-hintergrund='neutral'] *::before, [data-hintergrund='neutral'] *::after {
  animation-duration: .01ms !important; animation-iteration-count: 1 !important;
  transition-duration: .01ms !important; scroll-behavior: auto !important;
}
@media (prefers-reduced-motion: reduce) {
  html:not([data-bewegung='an']) *, html:not([data-bewegung='an']) *::before, html:not([data-bewegung='an']) *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; scroll-behavior: auto !important;
  }
}
.daten-hinweis {
  margin: 20px 0 0; padding: 14px 18px; max-width: 560px;
  border: 1px solid var(--linie-stark); border-left: 3px solid var(--gruenspan);
  background: rgba(108, 195, 204, .08); color: var(--text); font-size: 16px; line-height: 1.55;
}
.daten-hinweis b { color: var(--tinte); font-weight: 600; }
.flagge { display: inline-block; width: 1.3em; height: .86em; margin-right: .5em; vertical-align: -.06em; border-radius: 2px; background: linear-gradient(#141414 0 33.4%, #DD0000 33.4% 66.7%, #FFCE00 66.7%); box-shadow: 0 0 0 1px rgba(255, 255, 255, .28); }
