/* Vektorkompetenz – Seite zum Vortrag. Farben und Schriften aus dem Foliensatz. */

@font-face { font-family: "VK Serif"; font-style: normal; font-weight: 400; font-display: swap;
  src: local("Cambria"), url("../fonts/Caladea-Regular.woff2") format("woff2"); }
@font-face { font-family: "VK Serif"; font-style: italic; font-weight: 400; font-display: swap;
  src: local("Cambria Italic"), local("Cambria-Italic"), url("../fonts/Caladea-Italic.woff2") format("woff2"); }
@font-face { font-family: "VK Serif"; font-style: normal; font-weight: 700; font-display: swap;
  src: local("Cambria Bold"), local("Cambria-Bold"), url("../fonts/Caladea-Bold.woff2") format("woff2"); }
@font-face { font-family: "VK Sans"; font-style: normal; font-weight: 400; font-display: swap;
  src: local("Calibri"), url("../fonts/Carlito-Regular.woff2") format("woff2"); }
@font-face { font-family: "VK Sans"; font-style: normal; font-weight: 700; font-display: swap;
  src: local("Calibri Bold"), local("Calibri-Bold"), url("../fonts/Carlito-Bold.woff2") format("woff2"); }
@font-face { font-family: "VK Light"; font-style: normal; font-weight: 400; font-display: swap;
  src: local("Calibri Light"), local("Calibri-Light"), url("../fonts/Carlito-Regular.woff2") format("woff2"); }

:root {
  --navy: #0B2E4F;
  --navy-deep: #071F36;
  --ink: #142235;
  --title: #23384A;
  --title-blue: #1F4E79;
  --text: #26323F;
  --slate: #5D6876;
  --muted: #7B8790;
  --line: #DFE4EA;
  --line-strong: #C5D0DB;
  --soft: #F5F7FA;
  --soft-2: #EEF2F3;
  --red: #C0392B;
  --ball-red: #D44040;
  --ball-blue: #246BB2;
  --ball-orange: #DB8A2E;
  --teal: #176F77;
  --teal-soft: #E3F0F1;
  --serif: "VK Serif", Cambria, Caladea, Georgia, "Times New Roman", serif;
  --sans: "VK Sans", Calibri, Carlito, "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --light: "VK Light", "Calibri Light", "VK Sans", "Segoe UI", system-ui, sans-serif;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(20, 34, 53, .06), 0 10px 30px rgba(20, 34, 53, .08);
  --shadow-lg: 0 2px 4px rgba(20, 34, 53, .06), 0 24px 60px rgba(20, 34, 53, .14);
  --maxw: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: #fff; color: var(--text);
  font: 400 18px/1.55 var(--sans);
  font-kerning: normal; text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, video, canvas, svg { display: block; max-width: 100%; }
a { color: var(--title-blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--red); }
:focus-visible { outline: 3px solid var(--ball-blue); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 12px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; }

/* ------------------------------------------------------------ Kopfzeile */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: #fff;
  border-top: 4px solid var(--navy); border-bottom: 1px solid var(--line);
}
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--title); text-decoration: none; font: 400 1.25rem/1 var(--serif); white-space: nowrap; }
.brand-mark { width: 30px; height: 30px; border-radius: 8px; background: var(--navy); display: grid; place-items: center; flex: none; }
.brand-mark img { width: 22px; height: auto; }
.topnav { display: flex; gap: clamp(10px, 2.4vw, 28px); }
.topnav a { color: var(--slate); text-decoration: none; font-weight: 700; font-size: .95rem; letter-spacing: .02em; padding: 6px 2px; border-bottom: 2px solid transparent; }
.topnav a:hover, .topnav a[aria-current="true"] { color: var(--title); border-bottom-color: var(--red); }

/* ------------------------------------------------------------- Titelbereich */
.hero { position: relative; display: grid; grid-template-columns: minmax(230px, 25%) 1fr; min-height: min(84vh, 780px); border-bottom: 5px solid var(--red); overflow: hidden; }
.hero-band {
  background: var(--navy); color: #fff; border-right: 6px solid var(--red);
  display: flex; flex-direction: column; justify-content: flex-end; gap: 18px;
  padding: 40px clamp(20px, 2.6vw, 36px);
}
.hero-band .series { margin: 0; font: 400 clamp(1.05rem, 1.5vw, 1.35rem)/1.3 var(--sans); }
.hero-band .series sup { font-size: .6em; }
.hero-band img { width: 54px; }
.hero-main { position: relative; display: flex; align-items: center; isolation: isolate; }
#well { position: absolute; inset: 0 -4% 0 34%; width: 70%; height: 100%; z-index: -1; }
.hero-text { padding: clamp(36px, 7vh, 88px) clamp(24px, 5vw, 72px); max-width: 780px; }
.kicker { margin: 0 0 14px; color: var(--teal); font: 700 .8rem/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; }
.hero h1 { margin: 0; color: var(--title-blue); font: 400 clamp(3rem, 8.2vw, 6rem)/1 var(--light); letter-spacing: -.01em; }
.hero .sub { margin: 18px 0 0; color: #3A3A3A; font: italic 400 clamp(1.2rem, 2.3vw, 1.75rem)/1.35 var(--light); max-width: 30ch; }
.hero .author { margin: clamp(28px, 6vh, 64px) 0 2px; color: #3A3A3A; font: 700 clamp(1.25rem, 2.2vw, 1.7rem)/1.2 var(--sans); }
.hero .place { margin: 0; color: var(--slate); }
.hero .lead { margin: 22px 0 0; max-width: 46ch; color: var(--slate); }
.cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 18px;
  border-radius: 999px; border: 1px solid var(--line-strong); background: #fff; color: var(--title);
  font: 700 .95rem/1 var(--sans); text-decoration: none; cursor: pointer; transition: border-color .15s, background .15s, color .15s, transform .15s;
}
.btn:hover { border-color: var(--title); color: var(--title); transform: translateY(-1px); }
.btn.primary { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn.primary:hover { background: var(--red); border-color: var(--red); color: #fff; }

/* ------------------------------------------------------------- Abschnitte */
section.block { padding: clamp(56px, 9vw, 104px) 0; }
section.block + section.block { border-top: 1px solid var(--line); }
section.tint { background: var(--soft); }
.head { display: grid; gap: 10px; margin-bottom: clamp(24px, 4vw, 40px); max-width: 820px; }
.head h2 { margin: 0; color: var(--title); font: 400 clamp(2rem, 4.4vw, 2.9rem)/1.1 var(--serif); }
.head p { margin: 0; color: var(--slate); }
h3 { color: var(--title); font: 400 1.45rem/1.25 var(--serif); margin: 0 0 6px; }

/* ------------------------------------------------------------- Folienansicht */
.viewer { --frame-w: min(100%, calc((100vh - 190px) * 16 / 9)); }
.stage { position: relative; outline: none; }
.frame {
  position: relative; width: var(--frame-w); aspect-ratio: 16 / 9; margin-inline: auto;
  background: #fff; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-lg);
  cursor: pointer; user-select: none; -webkit-user-select: none; touch-action: pan-y;
}
.layer { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transition: opacity .28s ease; }
.layer.on { opacity: 1; }
.media { position: absolute; inset: 0; pointer-events: none; }
.media video, .media img.cover { position: absolute; object-fit: fill; background: transparent; transition: opacity .28s ease; }
.media video[hidden], .media img.cover[hidden], .media .mbtn[hidden] { display: block; opacity: 0; pointer-events: none !important; }
.media video.ctl { pointer-events: auto; cursor: auto; }
.mbtn {
  position: absolute; pointer-events: auto; width: 38px; height: 38px; border-radius: 50%; border: 0;
  background: rgba(11, 46, 79, .82); color: #fff; display: grid; place-items: center; cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .25); transform: translate(-115%, -115%); transition: opacity .2s, background .15s;
}
.mbtn:hover { background: var(--red); }
.mbtn svg { width: 18px; height: 18px; }
.edge { position: absolute; top: 0; bottom: 0; width: 18%; display: flex; align-items: center; padding: 0 2%; opacity: 0; transition: opacity .2s; pointer-events: none; }
.edge.left { left: 0; justify-content: flex-start; background: linear-gradient(90deg, rgba(11, 46, 79, .10), transparent); }
.edge.right { right: 0; justify-content: flex-end; background: linear-gradient(270deg, rgba(11, 46, 79, .10), transparent); }
.edge span { width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .92); box-shadow: var(--shadow); display: grid; place-items: center; color: var(--title); }
.edge svg { width: 22px; height: 22px; }
@media (hover: hover) { .frame:hover .edge { opacity: 1; } }

.vbar { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; margin-top: 16px; }
.vbtn {
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-strong); background: #fff; color: var(--title);
  display: grid; place-items: center; cursor: pointer; transition: border-color .15s, background .15s, color .15s;
}
.vbtn:hover:not(:disabled) { background: var(--navy); border-color: var(--navy); color: #fff; }
.vbtn:disabled { opacity: .35; cursor: default; }
.vbtn svg { width: 20px; height: 20px; }
.vinfo { min-width: 0; display: grid; gap: 6px; }
.vline { display: flex; align-items: baseline; gap: 10px; min-width: 0; }
.vnum { color: var(--red); font: 700 .95rem/1 var(--sans); letter-spacing: .04em; white-space: nowrap; }
.vtitle { color: var(--title); font: 400 1.2rem/1.2 var(--serif); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vsteps { display: flex; align-items: center; gap: 6px; min-height: 12px; }
.vsteps button { width: 10px; height: 10px; padding: 0; border-radius: 50%; border: 1.5px solid var(--title); background: transparent; cursor: pointer; }
.vsteps button[aria-current="true"] { background: var(--title); }
.vsteps button.done { background: var(--line-strong); border-color: var(--line-strong); }
.vsteps .lbl { margin-left: 6px; color: var(--muted); font-size: .85rem; }
.vtools { display: flex; gap: 8px; }
.progress { height: 3px; background: var(--line); border-radius: 3px; margin-top: 14px; overflow: hidden; }
.progress div { height: 100%; width: 0; background: var(--red); transition: width .3s ease; }

.thumbs { display: flex; gap: 10px; overflow-x: auto; padding: 16px 2px 10px; scroll-snap-type: x proximity; scrollbar-width: thin; }
.thumbs button {
  position: relative; flex: none; width: 150px; padding: 0; border: 2px solid transparent; border-radius: 8px; background: #fff;
  cursor: pointer; scroll-snap-align: start; box-shadow: 0 1px 3px rgba(20, 34, 53, .12); overflow: hidden; transition: transform .15s, border-color .15s;
}
.thumbs button:hover { transform: translateY(-2px); }
.thumbs button[aria-current="true"] { border-color: var(--red); }
.thumbs img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.thumbs .n { position: absolute; left: 6px; top: 6px; background: rgba(11, 46, 79, .88); color: #fff; font: 700 .72rem/1 var(--sans); padding: 4px 6px; border-radius: 5px; }
.vhelp { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 6px; color: var(--muted); font-size: .9rem; }
.vhelp kbd { font: 700 .8rem/1 var(--sans); padding: 3px 6px; border: 1px solid var(--line-strong); border-bottom-width: 2px; border-radius: 5px; color: var(--slate); background: #fff; }

/* Vollbild */
.viewer:fullscreen, .viewer.pseudo-fs { background: #0A121C; display: flex; flex-direction: column; justify-content: center; padding: 0; }
.viewer:-webkit-full-screen { background: #0A121C; display: flex; flex-direction: column; justify-content: center; }
.viewer.pseudo-fs { position: fixed; inset: 0; z-index: 1000; }
.viewer:fullscreen .frame, .viewer.pseudo-fs .frame { --frame-w: min(100vw, 177.78vh); border-radius: 0; box-shadow: none; }
.viewer:-webkit-full-screen .frame { width: min(100vw, 177.78vh); border-radius: 0; }
.viewer:fullscreen .thumbs, .viewer:fullscreen .vhelp, .viewer:fullscreen .progress,
.viewer.pseudo-fs .thumbs, .viewer.pseudo-fs .vhelp, .viewer.pseudo-fs .progress { display: none; }
.viewer:fullscreen .vbar, .viewer.pseudo-fs .vbar {
  position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); width: min(92vw, 760px); margin: 0;
  background: rgba(10, 18, 28, .78); border-radius: 999px; padding: 8px 10px; transition: opacity .3s;
}
.viewer:fullscreen .vtitle, .viewer.pseudo-fs .vtitle { color: #fff; }
.viewer:fullscreen .vsteps button, .viewer.pseudo-fs .vsteps button { border-color: #fff; }
.viewer:fullscreen .vsteps button[aria-current="true"], .viewer.pseudo-fs .vsteps button[aria-current="true"] { background: #fff; }
.viewer.idle .vbar { opacity: 0; }
.viewer.idle { cursor: none; }

.downloads { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }

/* ------------------------------------------------------------- Labor */
.lab { display: grid; gap: clamp(20px, 3vw, 32px); }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(18px, 3vw, 32px); }
.panel > header { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 20px; margin-bottom: 18px; }
.panel > header p { margin: 0; color: var(--slate); max-width: 62ch; }
.plane-grid > *, .search-grid > * { min-width: 0; }
.plane-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(18px, 3vw, 36px); align-items: start; }
.plane { position: relative; aspect-ratio: 1; background: radial-gradient(circle at 50% 50%, #fff 0, #fff 55%, var(--soft) 100%); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; touch-action: none; }
.plane svg { width: 100%; height: 100%; }
.plane .ball { cursor: grab; }
.plane .ball:active { cursor: grabbing; }
.plane text { font-family: var(--sans); }
.toolbar { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; }
.chip {
  min-height: 36px; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line-strong); background: #fff; color: var(--title);
  font: 700 .88rem/1 var(--sans); cursor: pointer; transition: background .15s, border-color .15s, color .15s;
}
.chip:hover { border-color: var(--title); }
.chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }

.switch { display: flex; align-items: center; gap: 12px; cursor: pointer; font-weight: 700; color: var(--title); user-select: none; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch .track { position: relative; width: 50px; height: 28px; border-radius: 999px; background: var(--line-strong); transition: background .2s; flex: none; }
.switch .track::after { content: ""; position: absolute; left: 3px; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .2s; }
.switch input:checked + .track { background: var(--teal); }
.switch input:checked + .track::after { transform: translateX(22px); }
.switch input:focus-visible + .track { outline: 3px solid var(--ball-blue); outline-offset: 2px; }
.switch small { display: block; font-weight: 400; color: var(--slate); }

.balls { display: grid; gap: 12px; }
.bcard { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; background: var(--soft); }
.bcard h4 { margin: 0 0 8px; display: flex; align-items: center; gap: 8px; color: var(--title); font: 700 1rem/1.2 var(--sans); }
.bcard h4 i { width: 14px; height: 14px; border-radius: 50%; flex: none; box-shadow: inset -2px -2px 3px rgba(0, 0, 0, .18); }
.bcard h4 small { font-weight: 400; color: var(--slate); }
.ctl { display: grid; grid-template-columns: 74px 1fr 64px; align-items: center; gap: 10px; font-size: .92rem; color: var(--slate); }
.ctl + .ctl { margin-top: 4px; }
.ctl output { text-align: right; font-variant-numeric: tabular-nums; color: var(--title); font-weight: 700; }
.xy { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 8px; font-size: .92rem; color: var(--slate); }
.xy label { display: inline-flex; align-items: center; gap: 6px; }
.xy input { width: 76px; min-height: 34px; padding: 4px 8px; border: 1px solid var(--line-strong); border-radius: 8px; font: 700 .95rem var(--sans); color: var(--title); background: #fff; font-variant-numeric: tabular-nums; }
.xy input:disabled { background: var(--soft-2); color: var(--slate); }

input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; cursor: pointer; --c: var(--title); --p: 50%; }
input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--c) 0 var(--p), var(--line-strong) var(--p) 100%); }
input[type="range"]::-moz-range-track { height: 6px; border-radius: 6px; background: var(--line-strong); }
input[type="range"]::-moz-range-progress { height: 6px; border-radius: 6px; background: var(--c); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; margin-top: -7px; border-radius: 50%; background: #fff; border: 3px solid var(--c); box-shadow: 0 1px 3px rgba(0, 0, 0, .2); }
input[type="range"]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--c); }
input[type="range"]:disabled { opacity: .45; cursor: default; }

.readout { margin-top: 18px; border-radius: 12px; background: var(--navy); color: #fff; padding: clamp(16px, 2.6vw, 24px); }
.readout .pairs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.readout .pairs .chip { background: transparent; color: #DCE6F0; border-color: rgba(255, 255, 255, .3); }
.readout .pairs .chip[aria-pressed="true"] { background: #fff; color: var(--navy); border-color: #fff; }
.big { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 18px; }
.big .val { font: 700 clamp(2.6rem, 6vw, 3.6rem)/1 var(--serif); font-variant-numeric: tabular-nums; }
.big .lab { font: italic 400 1.3rem/1 var(--serif); color: #C8D3E0; }
.big .deg { color: #C8D3E0; font-size: 1.05rem; }
.gauge { position: relative; height: 12px; margin: 16px 0 6px; border-radius: 12px; background: linear-gradient(90deg, #E07B6E 0%, #F3D9D3 30%, #FFFFFF 50%, #CFE6E8 70%, #3FA3AC 100%); }
.gauge i { position: absolute; top: 50%; width: 20px; height: 20px; margin: -10px 0 0 -10px; border-radius: 50%; background: #fff; border: 4px solid var(--red); box-shadow: 0 1px 4px rgba(0, 0, 0, .4); transition: left .12s linear; }
.gauge-l { display: flex; justify-content: space-between; color: #C8D3E0; font-size: .8rem; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 16px 0 0; }
.facts div { background: rgba(255, 255, 255, .07); border-radius: 10px; padding: 10px 12px; }
.facts dt { color: #C8D3E0; font-size: .82rem; }
.facts dd { margin: 2px 0 0; font: 700 1.25rem/1.2 var(--sans); font-variant-numeric: tabular-nums; }
.formula { margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .15); font: 400 1.05rem/1.6 var(--serif); color: #E7EEF5; overflow-x: auto; white-space: nowrap; }
.formula em { font-style: italic; }
.note { margin: 14px 0 0; color: var(--slate); font-size: .92rem; }
.matrix { margin-top: 18px; display: grid; grid-template-columns: auto repeat(3, 1fr); gap: 4px; font-size: .88rem; max-width: 380px; }
.matrix span { display: grid; place-items: center; min-height: 34px; border-radius: 6px; font-variant-numeric: tabular-nums; font-weight: 700; color: var(--title); }
.matrix .h { color: var(--slate); font-weight: 700; }
.matrix .best { outline: 2px solid var(--red); outline-offset: -2px; }

/* Ähnlichkeitssuche */
.search-grid { display: grid; grid-template-columns: minmax(250px, 340px) minmax(0, 1fr); gap: clamp(18px, 3vw, 36px); align-items: start; }
.qbox { border: 1px solid var(--line); border-radius: 12px; background: var(--soft); padding: 14px; display: grid; gap: 4px; }
.qbox h4 { margin: 0 0 6px; color: var(--title); font: 700 1rem/1.2 var(--sans); }
.qbox .ctl { grid-template-columns: 84px 1fr 34px; }
.seg { display: inline-flex; border: 1px solid var(--line-strong); border-radius: 999px; padding: 3px; background: #fff; margin-bottom: 14px; flex-wrap: wrap; }
.seg button { border: 0; background: transparent; border-radius: 999px; padding: 8px 14px; font: 700 .9rem/1 var(--sans); color: var(--slate); cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--navy); color: #fff; }
.ranking { position: relative; list-style: none; margin: 0; padding: 0; }
.ranking li {
  position: absolute; left: 0; right: 0; top: 0; height: 66px; display: grid; grid-template-columns: 34px minmax(0, 1fr) 128px; align-items: center; gap: 12px;
  padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; transition: transform .45s cubic-bezier(.2, .8, .2, 1), box-shadow .2s;
}
.ranking li.top { border-color: var(--teal); box-shadow: 0 0 0 1px var(--teal); }
.ranking .rk { font: 700 1.3rem/1 var(--serif); color: var(--title); text-align: center; }
.ranking .tt { min-width: 0; }
.ranking .tt b { display: block; color: var(--title); font-size: .98rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ranking .vec { display: flex; gap: 4px; margin-top: 4px; font-size: .78rem; color: var(--slate); font-variant-numeric: tabular-nums; }
.ranking .vec span { min-width: 38px; padding: 1px 5px; border-radius: 4px; background: var(--soft-2); text-align: center; }
.ranking .sc { text-align: right; }
.ranking .sc b { font: 700 1.15rem/1 var(--sans); color: var(--title); font-variant-numeric: tabular-nums; }
.ranking .bar { height: 5px; margin-top: 6px; border-radius: 5px; background: var(--soft-2); overflow: hidden; }
.ranking .bar i { display: block; height: 100%; background: var(--teal); transition: width .35s ease; }
.ranking .alt { display: block; margin-top: 4px; color: var(--muted); font-size: .75rem; font-variant-numeric: tabular-nums; }
.dims { margin: 0 0 10px; font-size: .85rem; color: var(--muted); }
.startlist { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 18px 22px; margin-bottom: 24px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 24px; }
.startlist h3 { color: #fff; margin: 0; font-size: 1.2rem; }
.startlist ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; color: #DCE6F0; }
.startlist a { color: #fff; font-weight: 700; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.4); margin-right: 4px; }
.startlist a:hover { color: #F3C4BD; border-bottom-color: #F3C4BD; }

/* ------------------------------------------------------------- Literatur */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.topics { display: grid; gap: clamp(18px, 2.6vw, 26px); }
.topic { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(18px, 3vw, 30px); box-shadow: var(--shadow); }
.topic[hidden] { display: none; }
.topic > header { display: grid; grid-template-columns: 1fr auto; gap: 4px 20px; align-items: baseline; margin-bottom: 14px; }
.topic .slides { color: var(--teal); font: 700 .8rem/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.topic .slides a { color: inherit; text-decoration: none; border-bottom: 1px dotted currentColor; }
.topic .rec { grid-column: 1 / -1; margin: 6px 0 0; color: var(--slate); }
.refs { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.refs li { display: grid; grid-template-columns: 46px 1fr; gap: 2px 10px; padding: 14px 0; border-top: 1px solid var(--line); }
.refs .no { color: var(--muted); font: 400 .95rem/1.5 var(--serif); }
.refs .what { color: var(--title); font-weight: 700; }
.refs .what em { font-style: normal; color: var(--red); font-weight: 700; }
.refs .cite { color: var(--text); }
.refs .meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-top: 2px; font-size: .92rem; }
.refs .meta a { word-break: break-all; }
.refs .why { color: var(--slate); font-size: .95rem; margin-top: 2px; }
.badge { display: inline-block; padding: 2px 8px; border-radius: 999px; font: 700 .72rem/1.5 var(--sans); letter-spacing: .04em; }
.badge.oa { background: var(--teal-soft); color: var(--teal); }
.badge.np { background: #F7E6E3; color: var(--red); }
.badge.role { background: var(--soft-2); color: var(--slate); }

/* ------------------------------------------------------------- Fuß */
footer { background: var(--navy); color: #C8D3E0; padding: 40px 0 34px; border-top: 5px solid var(--red); font-size: .95rem; }
footer .wrap { display: grid; grid-template-columns: 1.2fr 1fr; gap: 20px 40px; }
footer a { color: #fff; }
footer a:hover { color: #F3C4BD; }
footer p { margin: 0 0 6px; }
footer .name { color: #fff; font: 400 1.35rem/1.2 var(--serif); margin-bottom: 8px; }
footer nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
footer small { color: #9FB0C2; }

/* ------------------------------------------------------------- Schmal */
@media (max-width: 960px) {
  .plane-grid, .search-grid { grid-template-columns: 1fr; }
  .plane { max-width: 560px; width: 100%; margin-inline: auto; }
}
@media (max-width: 760px) {
  body { font-size: 17px; }
  .topnav a { font-size: .88rem; }
  .brand span.long { display: none; }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-band { flex-direction: row; align-items: center; justify-content: space-between; border-right: 0; border-bottom: 5px solid var(--red); padding: 16px var(--gutter); }
  .hero-band img { width: 40px; }
  .hero-main { flex-direction: column; align-items: stretch; }
  #well { position: relative; inset: auto; width: 100%; height: 300px; order: 2; margin-top: -10px; }
  .hero-text { padding: 30px var(--gutter) 8px; }
  .vbar { grid-template-columns: auto 1fr auto; gap: 10px; }
  .vtitle { font-size: 1.05rem; }
  .thumbs button { width: 112px; }
  .seg { display: grid; grid-template-columns: 1fr 1fr; width: 100%; border-radius: 14px; }
  .seg button { border-radius: 11px; line-height: 1.25; padding: 8px 10px; }
  .ranking li { grid-template-columns: 28px minmax(0, 1fr) 96px; gap: 8px; padding: 0 8px; }
  .ranking .vec span { min-width: 30px; }
  .refs li { grid-template-columns: 1fr; }
  .refs .no { font-size: .85rem; }
  footer .wrap { grid-template-columns: 1fr; }
  .facts dd { font-size: 1.1rem; }
}

@media (hover: none) { .vhelp .keys { display: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

@media print {
  .topbar, .vbar, .thumbs, .vhelp, .lab, .filters, #well, .downloads, .cta { display: none !important; }
  .hero { min-height: 0; border: 0; }
  .topic { box-shadow: none; break-inside: avoid; }
  section.block { padding: 24px 0; }
}
