/*
 * sd-karte.net Design-System (Stand: Version 4 der Musterseite, 17.11.2026)
 *
 * Handgeschrieben, wird NICHT von Tailwind verarbeitet und unverändert
 * ausgeliefert. Alle Bausteine stehen unter der Klasse .ds (Wrapper um den
 * Seiteninhalt), damit sie nicht mit Tailwind-Utilities kollidieren.
 *
 * Doku der Bausteine: docs/design-system.md
 * Referenz-Seite:     docs/musterseite/alpha-7-iv.html
 */

/* Schriften, selbst gehostet (keine Google-Server, DSGVO). Lizenz: assets/fonts/LICENSE-OFL.txt */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/inter.woff2") format("woff2");
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("/assets/fonts/plus-jakarta-sans.woff2") format("woff2");
}

/* ---------------------------------------------------------------
   Tokens. Nur hier Farben, Schriften und Radien festlegen.
   --------------------------------------------------------------- */
.ds {
  --bg: #ffffff;
  --panel: #f4f5f7;
  --panel-2: #e8eaee;
  --stage: #f1f4f9;
  --ink: #15181c;
  --ink-2: #4a515b;
  --ink-3: #6b7380;
  --line: #dfe2e7;
  --link: #1d4fc4;
  --btn-bg: #ffffff;
  --btn-line: #c9ced6;
  --ok: #18794e;
  --warn: #a35a00;
  --warn-bg: #fff0dc;
  --chip: #eceef2;
  --link-bg: #eaf0fd;
  --link-bg-2: #dbe5fb;
  --bar: #2b3340;
  --bar-track: #dde1e7;
  --accent: #d6f25a;
  --accent-ink: #15181c;
  --col: #eef6c9;
  --font-head: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
  --read: 68ch;
  --wide: 1040px;
  --radius: 18px;

  background: var(--bg);
  color: var(--ink);
  font: 400 18px/1.72 var(--font-body);
  -webkit-font-smoothing: antialiased;
}
.ds *, .ds *::before, .ds *::after { box-sizing: border-box; }
.ds-wrap { max-width: var(--wide); margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.ds h1, .ds h2, .ds h3 { font-family: var(--font-head); color: var(--ink); text-wrap: balance; margin: 0; }
.ds h1 { font-size: clamp(2rem, 4.2vw, 3rem); line-height: 1.06; font-weight: 800; letter-spacing: -0.03em; }
.ds h2 { font-size: clamp(1.6rem, 2.9vw, 2.1rem); line-height: 1.18; font-weight: 800; letter-spacing: -0.02em; }
.ds h3 { font-size: 1.3rem; line-height: 1.3; font-weight: 700; letter-spacing: -0.01em; }
.ds p { margin: 0; }
.ds a { color: var(--link); text-decoration: underline; text-underline-offset: 3px; }
.ds :focus-visible { outline: 3px solid var(--link); outline-offset: 3px; border-radius: 6px; }
.ds .muted { color: var(--ink-2); }
.ds .num { font-variant-numeric: tabular-nums; }
.ds .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (prefers-reduced-motion: no-preference) { html:has(.ds) { scroll-behavior: smooth; } }
@media (prefers-reduced-motion: reduce) { .ds * { transition: none !important; } }

.ds-crumbs { font-size: 0.88rem; color: var(--ink-3); padding-block: 18px; display: flex; flex-wrap: wrap; gap: 6px; }
.ds-crumbs a { color: var(--ink-3); text-decoration: none; }
.ds-crumbs a:hover { color: var(--ink); }

/* ---------------------------------------------------------------
   Abschnitte und Module
   --------------------------------------------------------------- */
.ds-section { padding-block: 52px; display: grid; gap: 22px; }
.ds-section + .ds-section { border-top: 1px solid var(--line); }
.ds-intro { display: grid; gap: 10px; max-width: var(--read); }
.ds-module { background: var(--panel); border-radius: var(--radius); padding: 26px; display: grid; gap: 18px; }
.ds-module-title { font: 700 1rem var(--font-head); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: baseline; }
.ds-module-title span { font: 400 0.85rem var(--font-body); color: var(--ink-3); }
.ds-stand { font-size: 0.8rem; color: var(--ink-3); }
@media (max-width: 640px) { .ds-module { padding: 18px; } .ds-section { padding-block: 40px; } }

/* Fließtext aus den Textblöcken. Nur Standard-HTML, keine eigenen Klassen nötig. */
.ds-prose { display: grid; gap: 1.05em; max-width: var(--read); }
.ds-prose > * { margin: 0; }
.ds-prose h2 + *, .ds-prose h3 + * { margin-top: -0.2em; }
.ds-prose h3 { margin-top: 0.7em; }
.ds-prose h4 { font: 700 1.05rem/1.4 var(--font-head); margin-top: 0.5em; }
/* Fließtext mit grafischen Elementen (Jens, 18.11.2026: „ein bisschen Wumms“). Greift automatisch auf Standard-HTML. */
.ds-section.cont { border-top: 0; padding-top: 0; margin-top: -22px; }
.ds-prose ul, .ds-prose ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.55em; }
.ds-prose ul > li { position: relative; padding-left: 1.6em; }
.ds-prose ul > li::before { content: ""; position: absolute; left: 0.15em; top: 0.55em; width: 0.62em; height: 0.62em; border-radius: 3px; background: var(--accent); box-shadow: inset 0 0 0 1.5px var(--ink); }
.ds-prose ol { counter-reset: ds-ol; gap: 0.8em; }
.ds-prose ol > li { counter-increment: ds-ol; position: relative; padding-left: 2.6em; min-height: 1.9em; }
.ds-prose ol > li::before { content: counter(ds-ol); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 1.9em; height: 1.9em; border-radius: 8px; background: var(--ink); color: #fff; font: 800 0.9rem/1 var(--font-head); }
/* Liste, in der jeder Punkt mit einem fetten Begriff beginnt (Klasse setzt Ds::enhanceProse): Karten im grauen Feld wie die Module der Geräteseiten */
/* Kartenliste darf die volle Breite nutzen, der übrige Text bleibt in Lesebreite */
.ds-prose:has(> ul.ds-cards) { max-width: none; }
.ds-prose:has(> ul.ds-cards) > :not(ul.ds-cards) { max-width: var(--read); }
.ds-prose ul.ds-cards { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; padding: 14px; border-radius: var(--radius); background: var(--panel); }
.ds-prose ul.ds-cards > li { padding: 16px 18px 18px; border-radius: 14px; background: #fff; box-shadow: 0 1px 2px rgba(20, 24, 30, 0.06); font-size: 0.95rem; line-height: 1.55; color: var(--ink-2); }
.ds-prose ul.ds-cards > li::before { position: static; display: block; width: 28px; height: 6px; margin-bottom: 12px; border-radius: 3px; box-shadow: none; }
.ds-prose ul.ds-cards > li > strong:first-child { display: block; margin-bottom: 4px; font: 700 1.05rem/1.3 var(--font-head); color: var(--ink); background: none; }
.ds-prose ul.ds-cards > li > span { display: block; }
.ds-prose ul.ds-cards .ds-card-sub { margin: -2px 0 8px; font-size: 0.82rem; color: var(--ink-3); }
.ds-prose strong { font-weight: 600; }
/* Fettes im Absatz bekommt den Textmarker der Startseite */
.ds-prose p strong { background: linear-gradient(transparent 62%, rgba(214, 242, 90, 0.75) 62%, rgba(214, 242, 90, 0.75) 92%, transparent 92%); padding: 0 0.08em; }
.ds-prose blockquote { position: relative; padding: 18px 22px 18px 58px; border-radius: 16px; background: var(--grad); color: var(--ink); font-weight: 500; }
.ds-prose blockquote::before { content: "!"; position: absolute; left: 18px; top: 18px; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: var(--accent); font: 800 0.95rem/1 var(--font-head); }
.ds-prose blockquote p { margin: 0; }
.ds-prose blockquote p + p { margin-top: 0.6em; }
.ds-prose table { width: 100%; border-collapse: collapse; font-size: 0.95rem; background: var(--panel); border-radius: 12px; overflow: hidden; }
.ds-prose th, .ds-prose td { padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.ds-prose thead th { font-size: 0.82rem; color: var(--ink-3); font-weight: 600; }
.ds-prose tr:last-child td { border-bottom: 0; }
.ds-prose img { max-width: 100%; height: auto; border-radius: 12px; }
.ds-figure { margin: 0; display: grid; gap: 6px; }
.ds-figure img { width: 100%; height: auto; border-radius: 14px; display: block; }
.ds-prose > .ds-figure { margin-block: 0.5em; }
.ds-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; align-items: center; }
@media (max-width: 860px) { .ds-split { grid-template-columns: 1fr; } }
.ds-credit { font-size: 0.75rem; color: var(--ink-3); }
.ds-credit a { color: inherit; }

/* ---------------------------------------------------------------
   Abzeichen, Shop-Knöpfe, Pille
   --------------------------------------------------------------- */
.ds-badges { display: flex; flex-wrap: wrap; gap: 6px; }
/* Badges sind reine Angaben: flach, ohne Rahmen, nie klickbar. Klickbares hat Rahmen, Schatten und Pfeil (ds-shop, ds-jump, ds-seg). */
.ds-badge { font: 700 0.78rem/1 var(--font-head); padding: 6px 9px; border-radius: 6px; border: 0; color: var(--ink-2); background: var(--chip); cursor: default; }
.ds-badge.soft { font-weight: 600; }
.ds-badge.warn { background: var(--warn-bg); color: var(--warn); }
.ds-shops { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.ds-shop { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 48px; padding: 10px 16px; border-radius: 10px; background: var(--btn-bg); border: 1.5px solid var(--btn-line); color: var(--ink) !important; text-decoration: none !important; font-weight: 600; font-size: 0.97rem; line-height: 1.3; box-shadow: 0 1px 2px rgba(20, 24, 30, 0.08); cursor: pointer; transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease; }
.ds-shop:hover { border-color: var(--ink); box-shadow: 0 4px 12px rgba(20, 24, 30, 0.12); transform: translateY(-1px); }
.ds-shop:focus-visible, .ds-jump:focus-visible, .ds-seg button:focus-visible { outline: 2px solid var(--link); outline-offset: 2px; }
.ds-shop .go { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.ds-shop .price { text-align: right; }
.ds-shop .go svg { width: 14px; height: 14px; }
.ds-shop .price { font-variant-numeric: tabular-nums; white-space: nowrap; }
.ds-shop .price.check { font-weight: 500; color: var(--ink-2); font-size: 0.9rem; }
@media (max-width: 640px) { .ds-shops { grid-template-columns: 1fr; } }
.ds-pill { display: inline-flex; align-items: center; gap: 10px; background: var(--accent); color: var(--accent-ink) !important; font-weight: 600; font-size: 0.97rem; text-decoration: none !important; padding: 12px 20px; border-radius: 999px; }
.ds-pill svg { width: 14px; height: 14px; transform: rotate(90deg); }
.ds-pill:hover { filter: brightness(0.96); }
.ds-flag { font: 600 0.8rem var(--font-body); color: var(--accent-ink); background: var(--accent); padding: 5px 12px; border-radius: 999px; white-space: nowrap; }

/* ---------------------------------------------------------------
   Bühne (Kopfbereich der Geräteseite)
   Bleibt hell, damit Herstellerfotos mit hellem Hintergrund sauber sitzen.
   --------------------------------------------------------------- */
.ds-stage { background: var(--stage); border-radius: 26px; overflow: hidden; display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); grid-template-areas: "title title" "text fig" "foot foot"; gap: 8px 24px; padding: 44px 0 0 44px; }
.ds-stage-title { grid-area: title; padding-right: 44px; margin-bottom: 18px !important; max-width: 22ch; }
@media (min-width: 821px) { .ds-stage-title { max-width: none; } }
.ds-stage.no-fig { grid-template-columns: minmax(0, 1fr); grid-template-areas: "title" "text" "foot"; padding-right: 44px; }
.ds-stage-text { grid-area: text; display: grid; gap: 22px; align-content: start; min-width: 0; padding-bottom: 8px; }
.ds-stage .lead { font-size: 1.1rem; line-height: 1.65; color: var(--ink-2); max-width: 60ch; }
.ds-stage-fig { grid-area: fig; margin: 0; align-self: center; min-width: 0; }
.ds-stage-fig img { display: block; width: 118%; max-width: none; height: auto; margin-left: 2%; }
.ds-stage-fig.contain img { width: 100%; margin: 0; border-radius: 16px; }
.ds-keyfacts { list-style: none; margin: 0; padding: 0; display: grid; }
.ds-keyfacts li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 14px; align-items: center; padding: 11px 0; border-top: 1px solid #d3d9e1; }
.ds-keyfacts li:last-child { border-bottom: 1px solid #d3d9e1; }
.ds-keyfacts svg { width: 34px; height: 34px; color: var(--ink); }
.ds-keyfacts span { display: grid; line-height: 1.35; font-size: 0.86rem; color: var(--ink-3); }
.ds-keyfacts b { font: 700 1.02rem/1.35 var(--font-head); color: var(--ink); }
.ds-stage-foot { grid-area: foot; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; padding: 18px 44px 26px 0; }
.ds-byline { display: flex; align-items: center; gap: 12px; }
.ds-byline img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; flex: none; }
.ds-byline .who { display: grid; line-height: 1.4; font-size: 0.92rem; color: var(--ink-2); }
.ds-byline .who b { color: var(--ink); font-weight: 600; }
.ds-foot-right { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
@media (max-width: 820px) {
  .ds-stage, .ds-stage.no-fig { grid-template-columns: 1fr; grid-template-areas: "fig" "title" "text" "foot"; padding: 0 22px; gap: 0; border-radius: 20px; }
  .ds-stage-title { padding-right: 0; margin-bottom: 16px !important; }
  .ds-stage.no-fig { padding-top: 26px; }
  .ds-stage-fig { padding: 26px 0 18px; }
  .ds-stage-fig img { width: 100%; margin: 0; }
  .ds-stage-foot { padding: 20px 0 22px; }
}

/* ---------------------------------------------------------------
   Kartenvergleich: Produktfläche links, Tabelle rechts
   --------------------------------------------------------------- */
.ds-compare-head { display: flex; justify-content: space-between; align-items: end; gap: 12px 32px; flex-wrap: wrap; }
.ds-compare-head h2 { font-weight: 600; font-size: clamp(1.9rem, 3.6vw, 2.6rem); letter-spacing: -0.03em; line-height: 1.1; }
.ds-compare-head p { max-width: 40ch; color: var(--ink-2); font-size: 0.98rem; }
.ds-compare { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: 32px clamp(40px, 5.5vw, 72px); align-items: start; }
.ds-feat { display: grid; grid-template-columns: minmax(0, 1fr); gap: 21px; scroll-margin-top: 20px; }
.ds-feat[hidden] { display: none; }
.ds-feat-img { position: relative; display: grid; place-items: center; aspect-ratio: 1 / 0.92; border-radius: var(--radius); background: radial-gradient(120% 90% at 50% 30%, #ffffff 0%, #eef0f3 60%, #e3e7ec 100%); padding: 40px; text-decoration: none !important; }
.ds-feat-img img { width: 62%; height: 100%; object-fit: contain; filter: drop-shadow(0 18px 24px rgba(20, 24, 30, 0.18)); }
.ds-feat-img.empty { aspect-ratio: auto; min-height: 120px; }
.ds-feat-chip { position: absolute; left: 16px; top: 16px; display: grid; gap: 2px; padding: 10px 14px; border-radius: 12px; background: rgba(255, 255, 255, 0.72); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: var(--ink); }
.ds-feat-chip b { font: 800 1.25rem/1 var(--font-head); }
.ds-feat-chip span { font-size: 0.75rem; color: var(--ink-2); }
.ds-feat-img .ds-flag { position: absolute; right: 16px; top: 16px; }
.ds-feat h3 { font-size: 1.4rem; }
.ds-feat p { font-size: 1rem; line-height: 1.65; color: var(--ink-2); }
.ds-feat .ds-shops { grid-template-columns: 1fr; }
.ds-cside { position: relative; display: grid; gap: 22px; min-width: 0; }
/* Tipp-Bubble über der Tabelle: zeigt beim ersten Besuch auf die zweite Karte (ds.js) */
.ds-tip { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; margin-bottom: 4px; padding: 12px 12px 12px 16px; border-radius: 14px; background: var(--ink); color: #fff; font-size: 0.93rem; line-height: 1.45; box-shadow: 0 10px 24px rgba(20, 24, 30, 0.16); }
.ds-tip[hidden] { display: none; }
.ds-tip p { margin: 0; }
.ds-tip-ico { width: 22px; height: 22px; color: var(--accent); }
.ds-tip-x { display: grid; place-items: center; width: 30px; height: 30px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.12); color: #fff; cursor: pointer; }
.ds-tip-x:hover { background: rgba(255, 255, 255, 0.22); }
.ds-tip-x svg { width: 11px; height: 11px; }
.ds-tip-arrow { position: absolute; bottom: -7px; left: var(--tip-x, 50%); width: 14px; height: 14px; margin-left: -7px; background: var(--ink); transform: rotate(45deg); border-radius: 0 0 3px 0; }
.ds-colbtn.ds-hint { box-shadow: inset 0 0 0 2px var(--ink); animation: ds-pulse 1.6s ease-in-out infinite; }
.ds-colbtn.ds-hint-next { outline: 2px dashed var(--ink); outline-offset: -6px; }
.ds-colbtn.ds-hint-next:hover { background: var(--accent); }
@keyframes ds-pulse { 50% { box-shadow: inset 0 0 0 2px var(--ink), 0 0 0 5px rgba(214, 242, 90, 0.9); } }
@media (prefers-reduced-motion: reduce) { .ds-colbtn.ds-hint { animation: none; } }
/* Ruhiger Infokasten, z. B. Preisstand unter dem Vergleich */
.ds-info { display: flex; gap: 10px; align-items: flex-start; margin-top: 8px; padding: 12px 16px; border-radius: 12px; background: var(--panel); line-height: 1.5; }
.ds-info > svg { flex: none; width: 18px; height: 18px; margin-top: 1px; color: var(--ink-3); }
.ds-ctable { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 0.95rem; }
.ds-ctable th, .ds-ctable td { padding: 11px 10px; text-align: center; border-bottom: 1px solid var(--line); vertical-align: middle; }
.ds-ctable th[scope="row"] { text-align: left; font-weight: 500; color: var(--ink-2); padding-left: 0; }
.ds-ctable thead th, .ds-ctable thead td { border-bottom: 0; padding: 0 4px 8px; vertical-align: bottom; }
.ds-ctable tbody tr:last-child th, .ds-ctable tbody tr:last-child td { border-bottom: 0; }
.ds-ctable td.on { background: var(--col); }
.ds-ctable tbody tr:last-child td.on { border-radius: 0 0 12px 12px; }
.ds-colbtn { width: 100%; display: grid; gap: 2px; justify-items: center; padding: 12px 6px 10px; border-radius: 12px 12px 0 0; border: 0; background: transparent; color: var(--ink); cursor: pointer; font: inherit; }
.ds-colbtn b { font: 700 0.98rem/1.25 var(--font-head); }
.ds-colbtn span { font-size: 0.78rem; color: var(--ink-3); line-height: 1.3; }
.ds-colbtn[aria-pressed="true"] { background: var(--col); }
.ds-colbtn[aria-pressed="false"]:hover { background: var(--panel); }
.ds-yes, .ds-no { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; }
.ds-yes { background: var(--ink); color: var(--bg); }
.ds-yes svg { width: 12px; height: 12px; }
.ds-no { color: var(--ink-3); }
.ds-ctable .amz { font-weight: 600; text-decoration: none; color: var(--ink); white-space: nowrap; }
.ds-ctable .amz:hover { text-decoration: underline; }
.ds-verdict { display: grid; background: var(--panel); border-radius: 14px; padding: 6px 18px; }
.ds-verdict div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 12px; padding: 11px 0; font-size: 0.93rem; line-height: 1.45; }
.ds-verdict div + div { border-top: 1px solid var(--line); }
.ds-verdict b { font-family: var(--font-head); }
.ds-verdict span { color: var(--ink-2); }
@media (max-width: 860px) { .ds-compare { grid-template-columns: 1fr; } .ds-feat-img { aspect-ratio: 16 / 10; } .ds-feat-img img { width: 40%; } }
@media (max-width: 520px) {
  .ds-ctable { font-size: 0.84rem; }
  .ds-ctable th, .ds-ctable td { padding: 9px 4px; }
  .ds-colbtn b { font-size: 0.86rem; }
  .ds-colbtn span { font-size: 0.7rem; }
  .ds-feat-img img { width: 46%; }
  .ds-verdict div { grid-template-columns: 1fr; gap: 2px; }
}

/* Karten als Liste (Geräte ohne Vergleichsdaten) */
.ds-picks { display: grid; gap: 18px; }
.ds-pick { background: var(--panel); border-radius: var(--radius); padding: 26px; display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 26px; scroll-margin-top: 20px; }
.ds-pick.no-img { grid-template-columns: minmax(0, 1fr); }
.ds-pick-img { background: var(--bg); border-radius: 12px; display: grid; place-items: center; padding: 16px; align-self: start; aspect-ratio: 1; }
.ds-pick-img img { width: 100%; height: 100%; object-fit: contain; }
.ds-pick-body { display: grid; gap: 12px; min-width: 0; align-content: start; }
.ds-pick-body .ds-flag { justify-self: start; }
.ds-pick p { font-size: 1rem; line-height: 1.65; color: var(--ink-2); }
@media (max-width: 640px) { .ds-pick { grid-template-columns: 92px minmax(0, 1fr); gap: 14px 16px; padding: 18px; } .ds-pick-img { padding: 8px; } }

/* ---------------------------------------------------------------
   Formattabelle (Datenrate je Videoformat)
   --------------------------------------------------------------- */
.ds-frows { display: grid; gap: 8px; }
.ds-frow { background: var(--bg); border-radius: 12px; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr) minmax(0, 1.25fr); gap: 18px; align-items: center; padding: 14px 18px; }
.ds-frows.no-rate .ds-frow { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.25fr); }
.ds-frow.head { background: none; padding-block: 0; font-size: 0.8rem; color: var(--ink-3); font-weight: 600; }
.ds-fname { font-weight: 600; line-height: 1.4; }
.ds-fname small { display: block; font-weight: 400; color: var(--ink-3); font-size: 0.85rem; }
.ds-rate { display: grid; gap: 6px; }
.ds-rate b { font-variant-numeric: tabular-nums; font-size: 0.95rem; font-weight: 600; }
.ds-track { height: 6px; border-radius: 99px; background: var(--bar-track); overflow: hidden; }
.ds-track i { display: block; height: 100%; background: var(--bar); border-radius: 99px; }
.ds-need { display: grid; gap: 6px; justify-items: start; }
.ds-need .ds-badge { font-size: 0.74rem; }
/* Sprung zur empfohlenen Karte im Vergleich */
.ds-jump { display: inline-flex; align-items: center; gap: 8px; margin-top: 2px; padding: 7px 12px; border-radius: 999px; background: var(--link-bg); color: var(--link) !important; font-size: 0.86rem; font-weight: 500; line-height: 1.3; text-decoration: none !important; transition: background .15s ease; }
.ds-jump b { font-weight: 700; }
.ds-jump svg { width: 12px; height: 12px; flex: none; transform: rotate(90deg); }
.ds-jump:hover { background: var(--link-bg-2); }
@media (max-width: 640px) { .ds-frow.head { display: none; } .ds-frow, .ds-frows.no-rate .ds-frow { grid-template-columns: 1fr; gap: 10px; } }

/* ---------------------------------------------------------------
   Kartenslots
   --------------------------------------------------------------- */
.ds-slotgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.ds-slotgrid.one { grid-template-columns: minmax(0, 1fr); }
.ds-slot { background: var(--bg); border-radius: 14px; padding: 20px; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px; align-items: center; }
.ds-slotno { width: 70px; height: 70px; border-radius: 16px; background: var(--ink); color: var(--bg); display: grid; place-items: center; text-align: center; line-height: 1; }
.ds-slotno small { display: block; font: 700 0.82rem/1 var(--font-head); letter-spacing: 0.01em; opacity: 0.9; margin-bottom: 3px; }
.ds-slotno b { font: 800 1.7rem/1 var(--font-head); }
.ds-slot-body { display: grid; gap: 6px; }
.ds-slot-body p { font-size: 0.92rem; color: var(--ink-2); line-height: 1.5; }
.ds-setups-title { font: 700 1rem var(--font-head); margin-top: 6px; }
.ds-setups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.ds-setup { background: var(--bg); border-radius: 14px; padding: 20px; display: grid; gap: 14px; align-content: start; }
.ds-setup h3 { font-size: 1.12rem; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.ds-setup h3 .ds-flag { font-size: 0.75rem; }
.ds-bay { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.ds-bay > a, .ds-bay > div { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 10px; align-items: center; padding: 10px 12px; border-radius: 10px; border: 1.5px dashed var(--btn-line); text-decoration: none; color: var(--ink); line-height: 1.3; }
.ds-bay > a:hover { border-color: var(--ink); }
.ds-bay svg { width: 30px; height: 40px; }
.ds-bay small { display: block; color: var(--ink-2); font-size: 0.8rem; font-weight: 600; }
.ds-bay b { font-size: 0.92rem; font-weight: 600; }
.ds-setup p { font-size: 0.92rem; color: var(--ink-2); line-height: 1.55; }
@media (max-width: 720px) { .ds-slotgrid, .ds-setups { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------
   Rechner mit Karten je Größe
   --------------------------------------------------------------- */
.ds-seg-label { font: 700 1rem var(--font-head); margin-bottom: -8px; }
.ds-seg { display: flex; flex-wrap: wrap; gap: 8px; }
.ds-seg button { font: 600 1rem var(--font-body); min-height: 46px; padding: 10px 20px; border-radius: 10px; border: 1.5px solid var(--btn-line); background: var(--btn-bg); color: var(--ink); cursor: pointer; box-shadow: 0 1px 2px rgba(20, 24, 30, 0.08); transition: border-color .15s ease, box-shadow .15s ease; }
.ds-seg button:hover { border-color: var(--ink); box-shadow: 0 4px 12px rgba(20, 24, 30, 0.12); }
.ds-seg button[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); box-shadow: none; }
@media (max-width: 520px) { .ds-seg { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ds-times { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.ds-time { background: var(--bg); border-radius: 12px; padding: 16px 18px; display: grid; gap: 4px; align-content: start; }
.ds-time b { font: 800 1.5rem var(--font-head); font-variant-numeric: tabular-nums; }
.ds-time span { font-size: 0.88rem; color: var(--ink-2); line-height: 1.4; }
.ds-sizecards-title { font: 700 1rem var(--font-head); margin-top: 4px; }
.ds-sizecards { display: grid; gap: 10px; }
.ds-sizecard { background: var(--bg); border-radius: 12px; padding: 14px 16px; display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 12px 20px; align-items: center; }
.ds-sizecard[hidden] { display: none; }
.ds-sizecard .who { display: grid; gap: 6px; }
.ds-sizecard .who b { font: 700 1.02rem/1.3 var(--font-head); }
.ds-sizecard .who small { font-size: 0.85rem; color: var(--ink-2); line-height: 1.4; }
.ds-sizecard .ds-badge { font-size: 0.72rem; }
.ds-sizecard .ds-shops { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.ds-sizecard .ds-shop { padding-inline: 14px; }
@media (max-width: 760px) { .ds-sizecard { grid-template-columns: 1fr; } .ds-times { grid-template-columns: 1fr; } }
.ds-offer { grid-template-columns: minmax(0, 1fr) auto; }
.ds-offer.has-img { grid-template-columns: 84px minmax(0, 1fr) auto; }
.ds-offer-img { width: 84px; height: 84px; border-radius: 10px; background: #fff; display: grid; place-items: center; overflow: hidden; padding: 6px; }
.ds-offer-img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.ds-offer .ds-shops { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: max-content; justify-content: end; }
.ds-offer .ds-shop { min-width: 190px; gap: 18px; }
@media (max-width: 760px) { .ds-offer, .ds-offer.has-img { grid-template-columns: 64px minmax(0, 1fr); } .ds-offer:not(.has-img) { grid-template-columns: 1fr; } .ds-offer-img { width: 64px; height: 64px; } .ds-offer .ds-shops { grid-column: 1 / -1; grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); justify-content: stretch; } }

/* ---------------------------------------------------------------
   Geräte-Box, Technische Daten, Handbuch
   --------------------------------------------------------------- */
.ds-device { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 28px; align-items: center; }
.ds-device.no-img { grid-template-columns: minmax(0, 1fr); }
.ds-device-fig { margin: 0; display: grid; gap: 4px; }
.ds-device-fig img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; border-radius: 12px; display: block; background: #ffffff; padding: 14px; }
.ds-device-fig .ds-credit { text-align: right; }
.ds-device-body { display: grid; gap: 12px; min-width: 0; }
.ds-offers-title { font: 700 1rem var(--font-head); margin-top: 6px; }
.ds-checks { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 0.95rem; color: var(--ink-2); }
.ds-checks li::before { content: "✓"; color: var(--ok); font-weight: 700; margin-right: 6px; }
@media (max-width: 700px) { .ds-device { grid-template-columns: 1fr; } }

/* Technische Daten: Themengruppen zum Aufklappen, je Zeile Label | Wert */
.ds-specs-note { display: flex; align-items: center; gap: 8px; font-size: 0.92rem; color: var(--ink-2); }
.ds-keydot { display: inline-block; flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 1.5px var(--ok); margin-left: 8px; vertical-align: 0.1em; }
.ds-specs-note .ds-keydot { margin-left: 0; }
.ds-specgroups { display: grid; gap: 10px; max-width: 860px; }
.ds-specgroup { border-radius: 14px; background: var(--panel); overflow: hidden; }
.ds-specgroup summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 26px minmax(0, 1fr) auto 28px; align-items: center; gap: 12px; padding: 14px 16px 14px 18px; font: 700 1.05rem var(--font-head); }
.ds-specgroup summary::-webkit-details-marker { display: none; }
.ds-specgroup summary > svg { width: 26px; height: 26px; }
.ds-specgroup summary small { font: 500 0.82rem var(--font-body); color: var(--ink-3); }
.ds-specgroup .pm { width: 28px; height: 28px; border-radius: 50%; background: var(--btn-bg); border: 1.5px solid var(--btn-line); display: grid; place-items: center; transition: transform .2s ease; }
.ds-specgroup .pm svg { width: 11px; height: 11px; }
.ds-specgroup[open] .pm { transform: rotate(45deg); }
.ds-specgroup summary:hover .pm { border-color: var(--ink); }
.ds-specs { margin: 0 8px 8px; background: var(--bg); border-radius: 10px; }
.ds-spec { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); font-size: 0.96rem; line-height: 1.45; }
.ds-spec + .ds-spec { border-top: 1px solid var(--line); }
.ds-spec dt { padding: 11px 16px; color: var(--ink-2); border-right: 1px solid var(--line); }
.ds-spec dd { margin: 0; padding: 11px 16px; font-weight: 600; color: var(--ink); }
@media (max-width: 560px) {
  .ds-spec { grid-template-columns: 1fr; }
  .ds-spec dt { border-right: 0; padding-bottom: 0; font-size: 0.86rem; }
  .ds-spec dd { padding-top: 2px; }
  .ds-specgroup summary small { display: none; }
  .ds-specgroup summary { grid-template-columns: 26px minmax(0, 1fr) 28px; }
}

.ds-manual { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 18px; align-items: center; }
.ds-manual svg { width: 56px; height: 56px; }
.ds-manual h3 { font-size: 1.1rem; }
.ds-manual p { font-size: 0.97rem; color: var(--ink-2); }
@media (max-width: 640px) { .ds-manual { grid-template-columns: 44px minmax(0, 1fr); } .ds-manual svg { width: 44px; height: 44px; } .ds-manual .ds-shop { grid-column: 1 / -1; } }

/* ---------------------------------------------------------------
   FAQ als Akkordeon
   --------------------------------------------------------------- */
.ds-faq { display: grid; max-width: 820px; border-top: 1px solid var(--line); }
.ds-faq details { border-bottom: 1px solid var(--line); }
.ds-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 2px; }
.ds-faq summary::-webkit-details-marker { display: none; }
.ds-faq summary h3 { font-size: 1.12rem; }
.ds-faq .pm { flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--btn-line); display: grid; place-items: center; transition: transform .2s ease; }
.ds-faq .pm svg { width: 12px; height: 12px; }
.ds-faq details[open] .pm { transform: rotate(45deg); }
.ds-faq .a { padding: 0 2px 20px; display: grid; gap: 0.8em; color: var(--ink-2); max-width: var(--read); }

/* ---------------------------------------------------------------
   Autor und Hinweise
   --------------------------------------------------------------- */
/* Autorenbox im Farbverlauf der Navigations-Kacheln (Jens, 19.11.2026) */
.ds-author { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 22px; align-items: start; background: var(--grad); border-radius: var(--radius); padding: 24px; max-width: 820px; }
.ds-author img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; }
.ds-author-body { display: grid; gap: 8px; }
/* Name als H2 (keine übersprungene Ebene nach der H1), aussehen wie eine H3 */
.ds .ds-author h2 { font-size: 1.3rem; line-height: 1.3; font-weight: 700; letter-spacing: -0.01em; }
.ds-author img { box-shadow: 0 0 0 4px #fff, 0 4px 12px rgba(20, 24, 30, 0.12); }
.ds-author p { font-size: 0.98rem; color: var(--ink-2); }
.ds-author .links { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 0.92rem; font-weight: 600; }
@media (max-width: 520px) { .ds-author { grid-template-columns: 64px minmax(0, 1fr); padding: 18px; } .ds-author img { width: 64px; height: 64px; } }
.ds-note { font-size: 0.85rem; color: var(--ink-3); max-width: var(--read); }

/* ---------------------------------------------------------------
   Übergang für ältere Seiten (Tailwind-Templates): Überschriften in
   .font-serif bekommen das Gewicht des Design-Systems.
   --------------------------------------------------------------- */
.font-serif { font-weight: 700; letter-spacing: -0.015em; }

/* ---------------------------------------------------------------
   Übersichtsseiten (Start, Marken, Gerätetypen, FAQ, Über mich,
   Kontakt): Bühne ohne Byline, Suche, Kacheln, Fragenliste.
   Doku: docs/design-system.md, Abschnitt „Übersichtsseiten“.
   --------------------------------------------------------------- */
.ds-stage.no-foot { padding-bottom: 44px; }
.ds-stage-text { grid-template-columns: minmax(0, 1fr); }
.ds-stage.no-foot.no-fig .ds-stage-text { padding-bottom: 0; }
.ds-stage .lead a { color: var(--link); }
.ds-stage-fig a { display: block; }
/* Freisteller in der Bühne (Desktop): Die Textspalte bestimmt die Höhe der Bühne, das Bild passt sich ein
   (object-fit: contain, Fläche 118 % breit, rechts angeschnitten). So entsteht links kein großer Leerraum,
   egal ob das Bild hoch, quadratisch oder breit ist (Jens, 19.11.2026). Gilt für Geräte- und Übersichtsseiten. */
@media (min-width: 821px) {
  .ds-stage-fig:not(.contain):not(.photo) { position: relative; align-self: stretch; min-height: 340px; }
  .ds-stage-fig:not(.contain):not(.photo) > img, .ds-stage-fig:not(.contain):not(.photo) > a { position: absolute; top: 0; left: 2%; width: 118%; height: 100%; margin: 0; }
  .ds-stage-fig:not(.contain):not(.photo) img { width: 100%; height: 100%; max-width: none; object-fit: contain; object-position: center; }
}
@media (max-width: 820px) { .ds-stage-fig.tall img { width: auto; max-width: 100%; max-height: 300px; margin-inline: auto; } }
.ds-stage-fig.photo img { width: 100%; margin: 0; border-radius: 18px 0 0 18px; aspect-ratio: 4 / 3; object-fit: cover; }
.ds-stage .ds-shops { max-width: 460px; }
@media (max-width: 820px) {
  .ds-stage.no-foot { padding-bottom: 26px; }
  .ds-stage-fig.photo { margin-inline: -22px; padding-top: 0; }
  .ds-stage-fig.photo img { border-radius: 0; aspect-ratio: 16 / 10; }
}

/* Gerätesuche: Eingabefeld mit Hauptknopf (Akzent) */
.ds-search { display: flex; gap: 8px; max-width: 560px; padding: 6px; background: var(--btn-bg); border: 1.5px solid var(--btn-line); border-radius: 14px; box-shadow: 0 1px 2px rgba(20, 24, 30, 0.08); }
.ds-search:focus-within { border-color: var(--ink); box-shadow: 0 4px 12px rgba(20, 24, 30, 0.12); }
.ds-search input { flex: 1 1 0; width: 100%; min-width: 0; border: 0; background: transparent; font: 400 1.05rem var(--font-body); color: var(--ink); padding: 10px 12px; outline: none; }
.ds-search input::placeholder { color: var(--ink-3); }
.ds-search button { flex: none; font: 600 1rem var(--font-body); padding: 0 22px; min-height: 48px; border: 0; border-radius: 10px; background: var(--accent); color: var(--accent-ink); cursor: pointer; }
.ds-search button:hover { filter: brightness(0.95); }
.ds-search-hint { font-size: 0.92rem; color: var(--ink-3); line-height: 1.5; }
.ds-cursor { color: var(--ink-3); font-weight: 400; animation: ds-blink 1s steps(1) infinite; }
@keyframes ds-blink { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .ds-cursor { display: none; } }

/* Abschnittskopf mit Link rechts („Alle Kameras“) */
.ds-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px 24px; flex-wrap: wrap; }
.ds-more { font-size: 0.95rem; font-weight: 600; white-space: nowrap; }
.ds-jumps { display: flex; flex-wrap: wrap; gap: 8px; }

/* Pfeil im Kreis: Zeichen für „führt auf eine andere Seite“ */
.ds-go { flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--btn-line); background: var(--btn-bg); display: grid; place-items: center; color: var(--ink); transition: background .15s ease, border-color .15s ease; }
.ds-go svg { width: 12px; height: 12px; }

/* Kacheln: klickbar, also weiß mit Rahmen, Schatten und Pfeil wie die Shop-Knöpfe */
.ds-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.ds-tiles.logos { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.ds-tile { position: relative; display: grid; gap: 6px; align-content: start; padding: 20px; border-radius: 16px; background: var(--btn-bg); border: 1.5px solid var(--line); color: var(--ink) !important; text-decoration: none !important; box-shadow: 0 1px 2px rgba(20, 24, 30, 0.06); transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease; }
.ds-tile:hover { border-color: var(--ink); box-shadow: 0 6px 16px rgba(20, 24, 30, 0.10); transform: translateY(-2px); }
.ds-tile b { font: 700 1.1rem/1.3 var(--font-head); }
.ds-tile small { font-size: 0.9rem; line-height: 1.45; color: var(--ink-2); }
.ds-tile > .ds-go { position: absolute; right: 16px; top: 18px; }
.ds-tile:hover .ds-go, .ds-qlist a:hover .ds-go { background: var(--accent); border-color: var(--ink); }
.ds-tile-ico { display: block; width: 36px; height: 36px; margin-bottom: 8px; color: var(--ink); }
.ds-tile-ico svg { width: 100%; height: 100%; }
.ds-tile.dev { padding: 0 0 18px; overflow: hidden; }
.ds-tile.dev > b, .ds-tile.dev > small { padding-inline: 18px 56px; }
.ds-tile.dev > .ds-go { top: auto; bottom: 16px; right: 14px; }
/* Bildfläche immer gleich hoch, egal ob Hoch- oder Querformat: das Bild liegt absolut darin und wird eingepasst */
.ds-tile-img { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 10; margin: 0 0 8px; overflow: hidden; background: radial-gradient(120% 90% at 50% 30%, #ffffff 0%, #eef0f3 60%, #e3e7ec 100%); }
.ds-tile-img img { position: absolute; inset: 16px 22px; width: calc(100% - 44px); height: calc(100% - 32px); object-fit: contain; filter: drop-shadow(0 12px 16px rgba(20, 24, 30, 0.16)); }
.ds-tile-img.photo img { filter: none; border-radius: 8px; }
.ds-tile-img svg { width: 54px; height: 72px; }
.ds-tile.logo { padding: 18px; min-height: 100px; place-items: center; align-content: center; text-align: center; }
.ds-tile.logo img { max-width: 82%; max-height: 42px; width: auto; height: auto; }
.ds-tile.logo small { font-size: 0.8rem; color: var(--ink-3); }
.ds-empty { color: var(--ink-2); max-width: var(--read); }

/* Fragenliste (FAQ-Übersicht): ganze Zeile klickbar, Pfeil rechts */
.ds-qlist { list-style: none; margin: 0; padding: 0; display: grid; max-width: 820px; border-top: 1px solid var(--line); }
.ds-qlist li { border-bottom: 1px solid var(--line); }
.ds-qlist a { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 2px; color: var(--ink); text-decoration: none; font: 700 1.12rem/1.4 var(--font-head); }
.ds-qlist a:hover { color: var(--link); }

/* Vorherige / nächste Seite */
.ds-pager { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; max-width: 820px; }
.ds-pager .ds-tile:only-child { grid-column: 2; }
.ds-pager .ds-tile b { padding-right: 36px; }
.ds-pager .prev b { padding: 0 0 0 36px; }
.ds-pager .prev small { padding-left: 36px; }
.ds-pager .ds-tile small { padding-right: 36px; }
.ds-pager .prev > .ds-go { right: auto; left: 16px; }
.ds-pager .prev > .ds-go svg { transform: rotate(180deg); }
.ds-pager small { font-size: 0.82rem; color: var(--ink-3); }
@media (max-width: 640px) { .ds-pager { grid-template-columns: 1fr; } .ds-pager .ds-tile:only-child { grid-column: auto; } }
.ds-gap-top { height: 18px; }
.ds-gap-end { height: 40px; }

/* Startseite: wechselndes Wort in der H1. Fester Umbruch davor, das Wort bricht
   nie um und trägt die Akzent-Markierung (wie ein Textmarker). */
.ds-stage-title.typed { font-size: clamp(1.6rem, 6.9vw, 3rem); max-width: none; }
.ds-typed { display: inline-block; white-space: nowrap; padding: 0 0.12em; margin-left: -0.12em; background: linear-gradient(transparent 58%, var(--accent) 58%, var(--accent) 90%, transparent 90%); }
.ds-typed .ds-cursor { margin-left: 0.04em; }

/* Farbverlauf für Navigations-Kacheln (Gerätetypen und weitere Einstiege).
   Immer derselbe Verlauf aus Bühnenblau und Akzent, nie pro Seite eigene Farben. */
.ds { --grad: linear-gradient(135deg, #dbe5fb 0%, #eef2f8 45%, #e4f3a6 100%); }
.ds-tile.tint { background: var(--grad); border-color: transparent; }
.ds-tile.tint:hover { border-color: var(--ink); }
.ds-tile.tint .ds-tile-ico { width: 52px; height: 52px; padding: 12px; border-radius: 14px; background: #fff; box-shadow: 0 2px 6px rgba(20, 24, 30, 0.08); }
.ds-tile.tint small { color: var(--ink-2); }
