/* nodvard.com: Farben und Radien aus dem Deck-Theme „Schlicht dunkel“ (frontend/src/styles/index.css), eigene Schriften Archivo und IBM Plex.
   Layout: links ausgerichtete Spalte (max. 1120 px), der große Screenshot sitzt bündig im Raster. */
/* Schriften liegen auf nodvard.com selbst (assets/fonts, SIL Open Font License), kein Abruf bei Dritten. */
@font-face { font-family: "Archivo"; src: url("fonts/archivo-wdth.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("fonts/plex-sans-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("fonts/plex-sans-400i.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("fonts/plex-sans-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("fonts/plex-sans-600.woff2") format("woff2"); font-weight: 600 700; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("fonts/plex-mono-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("fonts/plex-mono-500.woff2") format("woff2"); font-weight: 500 700; font-display: swap; }

:root {
  color-scheme: dark;
  --bg: #1a1b1e;
  --surface: #25262b;
  --side: #1f2023;
  --text: #e8e9eb;
  --soft: #c1c2c5;
  --muted: #909296;
  --line: #2f3036;
  --line-strong: #3c3d44;
  --accent: #4c6ef5;
  --accent-strong: #3b5bdb;
  --accent-deep: #364fc7;
  --accent-text: #748ffc;
  --ok: #40c057;
  --warn: #fab005;
  --radius-sm: 6px;
  --radius: 8px;
  --radius-lg: 12px;
  --display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --page: 1120px;
  --gutter: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1rem/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-text); text-underline-offset: 3px; }
a:hover { color: #91a7ff; }
:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { text-wrap: balance; margin: 0; font-family: var(--display); }
/* Große Überschriften breit wie Beschriftungen am Serverschrank, kleine normal breit. */
h1, .section h2, .feature h2, .show h3, .poster h2 { font-stretch: 100%; }
.brand { font-family: var(--display); font-stretch: 112%; }
p { margin: 0; }
code, pre { font-family: var(--mono); }
:not(pre) > code { font-size: 0.92em; background: var(--surface); border: 1px solid var(--line); border-radius: 4px; padding: 0.05em 0.35em; overflow-wrap: anywhere; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: var(--gutter); top: 8px; z-index: 10; background: var(--surface); color: var(--text); padding: 8px 12px; border-radius: var(--radius); }

.wrap { max-width: calc(var(--page) + 32px); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter-r); }

/* Kopfzeile */
.top { border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; padding-block: 14px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 650; font-size: 1.0625rem; }
.brand:hover { color: var(--text); }
.brand svg { width: 22px; height: 23px; flex: none; }
.nav { display: flex; flex-wrap: wrap; gap: 4px 22px; margin: 0; padding: 0; list-style: none; font-size: 0.9375rem; }
.nav a { color: var(--soft); text-decoration: none; padding-block: 6px; display: inline-block; }
.nav a:hover { color: var(--text); }
.nav a[aria-current="page"] { color: var(--text); box-shadow: inset 0 -2px 0 var(--accent); }
.lang { margin-left: auto; font-size: 0.9375rem; color: var(--soft); text-decoration: none; padding: 6px 10px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); }
.lang:hover { color: var(--text); border-color: var(--muted); }
@media (max-width: 700px) {
  .top .wrap { gap: 4px 18px; padding-block: 12px 6px; }
  .top nav { order: 3; width: 100%; }
  .nav { gap: 0 18px; }
}

/* Knöpfe */
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border-radius: var(--radius); font-weight: 600; font-size: 1rem; text-decoration: none; border: 1px solid transparent; }
.btn-main { background: var(--accent-strong); color: #fff; }
.btn-main:hover { background: var(--accent-deep); color: #fff; }
.btn-alt { background: var(--surface); color: var(--text); border-color: var(--line-strong); }
.btn-alt:hover { background: #2c2e33; color: var(--text); border-color: var(--muted); }

/* Start: Überschrift und Screenshot */
.hero { padding-block: 72px 0; }
.hero h1 { font-size: clamp(2.5rem, 1.6rem + 3.6vw, 4.25rem); line-height: 1.02; letter-spacing: -0.03em; font-weight: 800; max-width: 14ch; }
.hero .lead { margin-top: 22px; font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem); line-height: 1.55; color: var(--soft); max-width: 40em; }
.hero .btns { margin-top: 30px; }
.bleed { margin-top: 56px; padding-left: max(var(--gutter), calc((100% - var(--page)) / 2)); padding-right: max(var(--gutter-r), calc((100% - var(--page)) / 2)); overflow: hidden; }
.bleed picture, .bleed img { display: block; width: 100%; }
.bleed img { border: 1px solid var(--line-strong); border-radius: var(--radius-lg); background: var(--side); }
.caption { margin-top: 10px; font-size: 0.875rem; color: var(--muted); }

/* Abschnitte */
.section { padding-block: 80px; }
.section + .section { border-top: 1px solid var(--line); }
.section h2 { font-size: clamp(1.75rem, 1.4rem + 1.3vw, 2.375rem); line-height: 1.12; letter-spacing: -0.02em; font-weight: 750; }
.section .intro { margin-top: 14px; color: var(--soft); max-width: 40em; font-size: 1.0625rem; }
.more { margin-top: 28px; font-weight: 600; }
@media (max-width: 700px) {
  .hero { padding-block: 44px 0; }
  .bleed { margin-top: 40px; }
  .section { padding-block: 56px; }
}

/* Funktionsliste auf der Startseite: zwei Spalten mit Trennlinien */
.list { margin-top: 36px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; }
.list > div { padding-block: 18px 20px; border-top: 1px solid var(--line); min-width: 0; }
.list p { margin-top: 4px; color: var(--muted); }
@media (max-width: 760px) { .list { grid-template-columns: minmax(0, 1fr); } }

/* Beta-Schild wie in der Seitenleiste des Decks */
.beta { display: inline-block; vertical-align: 0.1em; margin-left: 6px; padding: 1px 7px; border-radius: var(--radius-sm); background: #2c2e33; color: var(--soft); font-size: 0.75rem; font-weight: 600; line-height: 1.5; letter-spacing: 0.01em; }

/* Befehl mit Kopier-Knopf */
.cmd { margin-top: 28px; max-width: 760px; border: 1px solid var(--line-strong); border-radius: var(--radius-lg); background: var(--side); overflow: hidden; }
.cmd-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 8px 8px 16px; border-bottom: 1px solid var(--line); font-size: 0.875rem; color: var(--muted); }
.cmd-head button { font: inherit; font-weight: 600; color: var(--soft); background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius-sm); padding: 5px 12px; cursor: pointer; min-height: 32px; }
.cmd-head button:hover { color: var(--text); border-color: var(--muted); }
.cmd pre { margin: 0; padding: 16px; overflow-x: auto; font-size: 0.875rem; line-height: 1.75; color: var(--text); tab-size: 2; }
.cmd .copied { color: var(--ok); }

/* Unterseiten: Text, Funktionsabschnitte */
.page-head { padding-block: 64px 8px; }
.page-head h1 { font-size: clamp(2.125rem, 1.6rem + 2.2vw, 3.25rem); line-height: 1.06; letter-spacing: -0.028em; font-weight: 800; }
.page-head .lead { margin-top: 16px; font-size: 1.125rem; color: var(--soft); max-width: 40em; }
.feature { padding-block: 64px; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 28px 56px; align-items: start; }
.feature + .feature { border-top: 1px solid var(--line); }
.feature.text-only { grid-template-columns: minmax(0, 1fr); }
.feature h2 { font-size: 1.75rem; line-height: 1.15; letter-spacing: -0.015em; font-weight: 750; }
.feature .body > * + * { margin-top: 14px; }
.feature .body p { color: var(--soft); max-width: 40em; }
.feature figure { margin: 0; }
.feature figure img { border: 1px solid var(--line-strong); border-radius: var(--radius-lg); background: var(--side); }
.feature figcaption { margin-top: 10px; font-size: 0.875rem; color: var(--muted); }
@media (max-width: 900px) { .feature { grid-template-columns: minmax(0, 1fr); padding-block: 48px; } }
.points { max-width: 44em; margin: 0; padding-left: 1.1em; color: var(--soft); display: grid; gap: 6px; }
.points li::marker { color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.tags li { padding: 4px 10px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); font-size: 0.9375rem; color: var(--soft); background: var(--surface); }

.prose { padding-block: 8px 80px; max-width: 46em; }
.prose h2 { font-size: 1.375rem; line-height: 1.25; font-weight: 700; margin-top: 44px; }
.prose h3 { font-size: 1.0625rem; font-weight: 650; margin-top: 28px; }
.prose p, .prose ul, .prose ol { margin-top: 12px; color: var(--soft); }
.prose ul, .prose ol { padding-left: 1.2em; display: grid; gap: 6px; }
.prose address { font-style: normal; margin-top: 12px; color: var(--soft); line-height: 1.7; }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 22px; max-width: 760px; }
.steps > li { min-width: 0; position: relative; padding-left: 44px; color: var(--soft); }
.steps > li::before { counter-increment: s; content: counter(s); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--surface); color: var(--text); font-size: 0.875rem; font-weight: 700; display: grid; place-items: center; }
.steps strong { color: var(--text); }
.steps .cmd { margin-top: 12px; }

/* Fußzeile */
.foot { border-top: 1px solid var(--line); padding-block: 36px 48px; font-size: 0.9375rem; color: var(--muted); }
.foot ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; }
.foot a { color: var(--soft); text-decoration: none; }
.foot a:hover { color: var(--text); text-decoration: underline; }
.foot p + p { margin-top: 4px; }

@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }
.section .btns, .prose .btns { margin-top: 28px; }
.steps p { margin-top: 10px; }
.prose .cmd { margin-top: 16px; }
.prose .cmd + p { margin-top: 16px; }
.prose .more .btn { margin-top: 4px; }

/* Größere Tippflächen am Handy (mind. 44 px), ohne das Layout am PC zu ändern */
.foot ul a { display: inline-block; padding-block: 12px; margin-block: -12px; }
.foot ul { row-gap: 16px; }
.lang { min-height: 40px; display: inline-flex; align-items: center; }
@media (pointer: coarse) {
  .nav a { padding-block: 11px; }
  .lang, .cmd-head button { min-height: 44px; }
}

/* Text neben Bild (Startseite, Nodvard Dock) */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px 56px; align-items: center; }
.split figure { margin: 0; }
.split img { border: 1px solid var(--line-strong); border-radius: var(--radius-lg); background: var(--side); }
.split figcaption { margin-top: 10px; font-size: 0.875rem; color: var(--muted); }
@media (max-width: 900px) { .split { grid-template-columns: minmax(0, 1fr); } }

/* Eigenständiger Webseiten-Aufbau (Runde 2): Neuigkeit, Befehl im Kopf, Schaukästen, Plakat-Band, Fußzeile */
.news { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 28px; padding: 5px 14px 5px 5px; border: 1px solid var(--line-strong); border-radius: 14px; background: var(--side); color: var(--soft); text-decoration: none; font-size: 0.9375rem; line-height: 1.4; max-width: 100%; }
.news:hover { color: var(--text); border-color: var(--muted); }
.news-tag { flex: none; padding: 3px 10px; border-radius: 10px; background: var(--accent-strong); color: #fff; font-weight: 600; font-size: 0.8125rem; }
.news > span:last-child { min-width: 0; }

.show { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 28px 56px; align-items: center; margin-top: 64px; }
.show-flip figure { order: 2; }
.show figure { margin: 0; }
.show img { border: 1px solid var(--line-strong); border-radius: var(--radius-lg); background: var(--side); }
.show h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); line-height: 1.12; letter-spacing: -0.015em; font-weight: 750; }
.show p { margin-top: 12px; color: var(--soft); font-size: 1.0625rem; }
.show-text a { display: inline-block; margin-top: 16px; font-weight: 600; padding-block: 10px; margin-block: -10px; }
.beta-new { background: var(--accent-strong); color: #fff; }
@media (max-width: 900px) { .show { grid-template-columns: minmax(0, 1fr); margin-top: 48px; } .show-flip figure { order: 0; } }
h3.sub { margin-top: 80px; font-size: 1.25rem; font-weight: 700; }
.sub + .list { margin-top: 14px; }
.list h4 { margin: 0; font-size: 1.0625rem; font-weight: 650; line-height: 1.35; }
.list h4 a { display: block; color: var(--text); text-decoration: none; padding-block: 11px; margin-block: -11px; }
.list h4 a:hover { text-decoration: underline; }
@media (min-width: 1000px) { .sub + .list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.poster { background: var(--accent-strong); color: #fff; padding-block: 80px; }
.poster h2 { font-size: clamp(2.5rem, 1.6rem + 3.6vw, 4.25rem); line-height: 1.02; letter-spacing: -0.03em; font-weight: 800; }
.facts { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 12px; }
.facts li { padding: 8px 16px; border: 1px solid rgb(255 255 255 / 0.5); border-radius: 999px; font-weight: 600; }
.poster p { margin-top: 26px; max-width: 40em; }
.poster a { color: #fff; font-weight: 600; }
.poster a:hover { color: #dbe4ff; }
.poster :focus-visible { outline-color: #fff; }
@media (max-width: 700px) { .poster { padding-block: 56px; } }

.foot .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 36px 56px; justify-content: stretch; }
.foot-brand .brand { margin-bottom: 12px; }
.foot-cols { display: grid; grid-template-columns: repeat(4, auto); gap: 28px 56px; }
.foot-h { color: var(--text); font-weight: 600; margin-bottom: 10px; }
.foot .foot-cols ul { display: grid; gap: 20px; }

/* Funktionsseite: Bilder abwechselnd links und rechts */
@media (min-width: 901px) { .feature:nth-of-type(even):not(.text-only) { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } .feature:nth-of-type(even):not(.text-only) figure { order: -1; } }
@media (min-width: 901px) { .show-flip { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }

/* Suchseiten (Homelab-Dashboard, Portainer-Alternative, Proxmox und Docker, Virenschutz, FAQ, Anleitungen) */
.page-head .btns { margin-top: 28px; }
figure.wide { margin: 40px 0 0; }
figure.wide img { border: 1px solid var(--line-strong); border-radius: var(--radius-lg); background: var(--side); }
figure.wide figcaption { margin-top: 10px; font-size: 0.875rem; color: var(--muted); }
figure.wide + .prose { padding-top: 24px; }
.show h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); line-height: 1.12; letter-spacing: -0.015em; font-weight: 750; font-stretch: 118%; }
.show-text p + p { margin-top: 10px; }
.note-small { font-size: 0.875rem; color: var(--muted); }
.cta { border-top: 1px solid var(--line); }
.faq h2 { font-size: 1.25rem; }
.prose + .steps, .steps + .prose { margin-top: 8px; }
.prose h3 + p { margin-top: 6px; }
@media (max-width: 1000px) { .foot .wrap { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 760px) { .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Launch-Seite Nodvard Dock */
.kicker { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; font-family: var(--display); font-stretch: 112%; font-weight: 650; color: var(--soft); }
.kicker .beta { margin-left: 0; }
.install { margin-top: 64px; padding: 32px; border: 1px solid var(--line-strong); border-radius: var(--radius-lg); background: var(--side); }
.install h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); line-height: 1.12; font-weight: 750; font-stretch: 118%; }
.install .intro { margin-top: 12px; color: var(--soft); max-width: 44em; }
@media (max-width: 700px) { .install { padding: 22px 16px; } }

/* Sprachhinweis, Inhalt der compose.yml, Bilder in picture */
.lang-note { margin-top: 22px; max-width: 44em; padding: 12px 16px; border: 1px solid var(--line-strong); border-left: 3px solid var(--accent); border-radius: var(--radius-sm); background: var(--surface); color: var(--soft); font-size: 0.9375rem; }
.lang-note strong { color: var(--text); }
details.compose { margin-top: 14px; max-width: 760px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--side); }
details.compose summary { cursor: pointer; padding: 10px 16px; color: var(--soft); font-weight: 600; font-size: 0.9375rem; min-height: 44px; display: flex; align-items: center; }
details.compose summary:hover { color: var(--text); }
details.compose p { margin: 0 16px; color: var(--soft); font-size: 0.9375rem; }
details.compose pre { margin: 12px 0 0; padding: 14px 16px; overflow-x: auto; font-size: 0.8125rem; line-height: 1.7; border-top: 1px solid var(--line); }
picture > img { display: block; width: 100%; }
.show picture img, .feature picture img, .split picture img { border: 1px solid var(--line-strong); border-radius: var(--radius-lg); background: var(--side); }

/* Ansichten im Kopf der Startseite */
.ansicht-tabs:not([hidden]) { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.ansicht-tabs button { font: inherit; font-size: 0.9375rem; font-weight: 600; color: var(--soft); background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 8px 14px; min-height: 40px; cursor: pointer; }
.ansicht-tabs button:hover { color: var(--text); border-color: var(--muted); }
.ansicht-tabs button[aria-selected="true"] { color: #fff; background: var(--accent-strong); border-color: var(--accent-strong); }
.ansicht-panel img { border: 1px solid var(--line-strong); border-radius: var(--radius-lg); background: var(--side); }
@media (pointer: coarse) { .ansicht-tabs button { min-height: 44px; } }

/* Vergleich auf der Dock-Seite */
.table-wrap { overflow-x: auto; margin-top: 16px; }
table.vergleich { border-collapse: collapse; width: 100%; min-width: 560px; font-size: 0.9375rem; }
.vergleich th, .vergleich td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.vergleich thead th { color: var(--text); font-weight: 650; border-bottom-color: var(--line-strong); }
.vergleich tbody th { color: var(--text); font-weight: 600; white-space: nowrap; }
.vergleich td { color: var(--soft); }
.vergleich td:nth-child(2) { color: var(--text); }

/* Ansichten: feste Höhe, damit beim Umschalten nichts springt */
.ansicht-panel img { aspect-ratio: 16 / 10; object-fit: cover; object-position: left top; }
@media (max-width: 600px) { .ansicht-panel img { aspect-ratio: 1100 / 820; } }
.hero .note { margin-top: 18px; font-size: 0.9375rem; color: var(--muted); }

/* Entwurf A „Rack-Wächter“: Nachtblau, Vard-Blau, LED-Grün, Bernstein für Beta */
:root {
  --bg: #0c1626; --surface: #13243b; --side: #0f1d31; --text: #eaf1fb; --soft: #c9d6e8; --muted: #9db0c9;
  --line: #1b3150; --line-strong: #26406a; --accent: #3aa0ff; --accent-strong: #3aa0ff; --accent-deep: #6cb8ff;
  --accent-text: #8fcbff; --ok: #5ee08a; --warn: #ffb84d; --radius: 12px; --radius-lg: 16px; --page: 1200px;
}
a:hover { color: #c2e2ff; }
:focus-visible { outline-color: var(--ok); }
.brand { font-stretch: 100%; font-weight: 800; }
.top { position: sticky; top: 0; z-index: 5; background: rgb(12 22 38 / 0.9); backdrop-filter: blur(10px); }
.btn-top { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; background: var(--accent); color: #04121f; font-weight: 600; font-size: 0.9375rem; text-decoration: none; }
.btn-top:hover { background: var(--accent-deep); color: #04121f; }
.lang { border-radius: 999px; }
@media (max-width: 700px) { .top .wrap { gap: 8px 10px; } .lang { margin-left: auto; } }
@media (pointer: coarse) { .btn-top { min-height: 44px; } }
.btn { border-radius: 999px; }
.btn-main { color: #04121f; }
.btn-main:hover { color: #04121f; }
.btn-alt { background: transparent; }
.btn-alt:hover { background: var(--surface); }
h1, h2, h3 { font-weight: 850; letter-spacing: -0.03em; }
.news-tag, .beta-new { background: var(--accent); color: #04121f; }
.beta { background: rgb(255 184 77 / 0.16); color: var(--warn); border-radius: 999px; padding-inline: 9px; }
.hero { position: relative; background: radial-gradient(70% 55% at 75% 78%, rgb(58 160 255 / 0.2), transparent 70%); }
.hero h1 { font-size: clamp(2.6rem, 1.4rem + 4.4vw, 4.75rem); line-height: 0.96; max-width: 13ch; }
.bleed.ansicht { position: relative; margin-top: 64px; overflow: visible; }
.vard-mini { position: absolute; right: max(var(--gutter-r), calc((100% - var(--page)) / 2 + 24px)); top: -104px; width: 132px; filter: drop-shadow(0 16px 24px rgb(0 0 0 / 0.5)); pointer-events: none; }
.ansicht-panel img { border-color: var(--line-strong); box-shadow: 0 40px 80px -30px rgb(0 0 0 / 0.7); }
.ansicht-tabs button { border-radius: 999px; }
.ansicht-tabs button[aria-selected="true"] { color: #04121f; }
@media (max-width: 700px) { .vard-mini { width: 84px; top: -70px; } .bleed.ansicht { margin-top: 72px; } }

/* Rack mit Einschüben auf der Startseite */
.rack { margin-top: 44px; padding: 12px; border-radius: 22px; background: linear-gradient(#0f1d31, #0b1625); border: 1px solid var(--line); display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.rack .list { display: contents; }
.slot { position: relative; min-width: 0; border-radius: 14px; background: var(--surface); border: 1px solid var(--line-strong); padding: 22px 22px 22px 42px; }
.slot::before { content: ""; position: absolute; left: 18px; top: 29px; width: 9px; height: 9px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 10px var(--ok); }
.slot-beta::before { background: var(--warn); box-shadow: 0 0 10px var(--warn); }
.rack .show { display: flex; flex-direction: column; margin: 0; grid-column: span 2; gap: 0; overflow: hidden; }
.rack .show figure { order: 2; margin: 20px -22px -22px -42px; border-top: 1px solid var(--line-strong); }
.rack .show img { border: 0; border-radius: 0; }
.rack .show h3 { font-size: 1.375rem; }
.rack .show p { font-size: 1rem; margin-top: 8px; }
.rack .list > div { grid-column: span 2; padding-block: 22px; border-top: 1px solid var(--line-strong); }
.rack .list p { color: var(--soft); }
.legende { margin-top: 14px; font-size: 0.875rem; color: var(--muted); }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .slot::before { animation: einschalten linear both; animation-timeline: view(); animation-range: entry 40% cover 30%; }
    @keyframes einschalten { from { background: #23395a; box-shadow: none; } }
  }
}
@media (max-width: 900px) { .rack { grid-template-columns: minmax(0, 1fr); padding: 8px; } .rack .show, .rack .list > div { grid-column: auto; } }

/* Dock mit Clip im Handy-Rahmen */
.clip-box { justify-self: center; width: min(300px, 82%); margin: 0; }
.clip-box video { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; border-radius: 26px; border: 8px solid #050c17; outline: 1px solid var(--line-strong); background: #050c17; }
.clip-box figcaption { text-align: center; }

/* Befehle umbrechen statt seitlich scrollen */
.cmd pre { white-space: pre-wrap; overflow-wrap: anywhere; overflow-x: visible; }
.cmd { background: #071120; }

/* Privat kostenlos: ruhiges Band mit Lämpchen statt blauer Fläche */
.poster { background: linear-gradient(180deg, #0f1d31, #0c1626); color: var(--text); border-block: 1px solid var(--line); }
.facts li { display: inline-flex; align-items: center; gap: 10px; border-color: var(--line-strong); background: var(--surface); }
.facts li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 8px var(--ok); }
.poster p { color: var(--soft); }
.poster a { color: var(--accent-text); }
.poster a:hover { color: #c2e2ff; }
.poster :focus-visible { outline-color: var(--ok); }

/* Unterseiten: gleiche Kästen wie im Rack */
.install, .lang-note, details.compose { background: var(--side); }
.feature figure img, .show img, .split img, figure.wide img, .feature picture img { border-color: var(--line-strong); }
.steps > li::before { background: var(--surface); border-color: var(--line-strong); }
.bleed .vard-mini { width: 132px; border: 0; border-radius: 0; background: none; z-index: 2; }
@media (max-width: 700px) { .bleed .vard-mini { width: 84px; } }
@media (min-width: 1000px) { .bleed .vard-mini { width: 300px; top: -268px; } }

/* Argon-Restpunkte zu Entwurf A */
@media (max-width: 700px) { .bleed .vard-mini { display: none; } .bleed.ansicht { margin-top: 48px; } }
@media (max-width: 640px) {
  .table-wrap { overflow: visible; }
  table.vergleich { min-width: 0; }
  .vergleich thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .vergleich, .vergleich tbody, .vergleich tr, .vergleich th, .vergleich td { display: block; width: 100%; }
  .vergleich tr { margin-bottom: 12px; padding: 14px 16px; border: 1px solid var(--line-strong); border-radius: 14px; background: var(--surface); }
  .vergleich th, .vergleich td { padding: 0; border: 0; }
  .vergleich tbody th { white-space: normal; font-size: 1.0625rem; margin-bottom: 8px; }
  .vergleich td { display: grid; grid-template-columns: 7.5em minmax(0, 1fr); gap: 10px; padding-block: 6px; border-top: 1px solid var(--line); }
  .vergleich td::before { content: attr(data-label); color: var(--muted); font-size: 0.875rem; }
}
.feature-paar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 56px; border-top: 1px solid var(--line); }
.feature-paar .feature + .feature { border-top: 0; }
@media (max-width: 900px) { .feature-paar { grid-template-columns: minmax(0, 1fr); } .feature-paar .feature + .feature { border-top: 1px solid var(--line); } }
@media (min-width: 901px) {
  #integrationen .body { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 56px; grid-auto-flow: dense; align-items: start; }
  #integrationen .body > * { grid-column: 2; margin-top: 0; }
  #integrationen .body > h2, #integrationen .body > p:first-of-type { grid-column: 1; }
  #integrationen .body > h2 + p { margin-top: 14px; }
  #integrationen .body > .tags { grid-row: 1 / span 2; }
  #integrationen .body > h3.sub { margin-top: 28px; }
}
@media (min-width: 901px) {
  #integrationen .body { grid-template-rows: auto auto 1fr; }
  #integrationen .body > h2 { grid-row: 1; }
  #integrationen .body > p:first-of-type { grid-row: 2 / span 2; }
  #integrationen .body > .tags { grid-row: 1 / span 2; align-self: start; }
  #integrationen .body > h3.sub { grid-row: 3; margin-top: 24px; }
  #integrationen .body > h3.sub + p { grid-row: 4; margin-top: 6px; }
}
@media (max-width: 640px) {
  .vergleich td { display: block; position: relative; padding-left: 8.5em; }
  .vergleich td::before { position: absolute; left: 0; top: 6px; width: 7.5em; }
}
@media (min-width: 901px) { #integrationen .body { grid-template-rows: auto; } }
