/* ==========================================================================
   GPU-Monkey – Design-System (2026)
   Öffentliches Frontend. Admin nutzt weiterhin style_admin.css.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --bg: #0a0d14;
  --bg-2: #0e121b;
  --surface: #131925;
  --surface-2: #19202e;
  --surface-3: #212a3b;
  --border: #242d3e;
  --border-2: #313c52;
  --text: #e8ecf4;
  --text-2: #a3adc2;
  --text-3: #75809a;
  --accent: #3be8b0;
  --accent-2: #3b8bff;
  --accent-ink: #04130e;
  --hot: #ff9f1c;
  --hot-2: #ff6b3d;
  --good: #34d399;
  --bad: #fb7185;
  --link: #7dd3fc;
  --nvidia: #76b900;
  --amd: #ed1c24;
  --intel: #0071c5;
  --stage: #ffffff;
  --grad: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  --grad-hot: linear-gradient(90deg, var(--hot-2) 0%, var(--hot) 100%);
  --bar: linear-gradient(90deg, #2a6cff 0%, #3be8b0 100%);
  --shadow: 0 1px 0 rgba(255,255,255,.03) inset, 0 12px 32px -12px rgba(0,0,0,.55);
  --shadow-lg: 0 30px 60px -20px rgba(0,0,0,.6);
  --radius: 14px;
  --radius-sm: 9px;
  --radius-lg: 22px;
  --wrap: 1100px;
  --header-h: 64px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Hiragino Sans", "Yu Gothic UI", sans-serif;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
  color-scheme: dark;
}

:root[data-theme="light"] {
  --bg: #f4f6fa;
  --bg-2: #eceff5;
  --surface: #ffffff;
  --surface-2: #f5f7fb;
  --surface-3: #e9edf4;
  --border: #e1e6ee;
  --border-2: #cfd6e2;
  --text: #0e1422;
  --text-2: #4a556b;
  --text-3: #6b768c;
  --accent: #0fb886;
  --accent-2: #1f6feb;
  --accent-ink: #ffffff;
  --link: #0a66c2;
  --shadow: 0 1px 2px rgba(16,24,40,.05), 0 10px 28px -14px rgba(16,24,40,.18);
  --shadow-lg: 0 30px 60px -24px rgba(16,24,40,.28);
  --bar: linear-gradient(90deg, #3b6cff 0%, #12c79a 100%);
  color-scheme: light;
}

/* ---------- Reset / Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(59,139,255,.14), transparent 60%),
    radial-gradient(700px 420px at -10% 10%, rgba(59,232,176,.10), transparent 60%);
}
:root[data-theme="light"] body::before { opacity: .55; }
img, picture, svg { max-width: 100%; }
img { height: auto; border: 0; }
a { color: var(--link); text-decoration: none; text-underline-offset: 3px; }
a:hover { text-decoration: underline; }
b, strong { font-weight: 650; }
hr { border: 0; border-top: 1px solid var(--border); margin: 28px 0; }
h1, h2, h3, h4 { line-height: 1.2; letter-spacing: -.015em; margin: 0 0 .6em; font-weight: 750; }
h1 { font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.75rem); letter-spacing: -.025em; }
h2 { font-size: clamp(1.3rem, 1.05rem + 1vw, 1.75rem); }
h3 { font-size: 1.15rem; }
h4 { font-size: 1rem; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.num, .tnum { font-variant-numeric: tabular-nums; }
.muted { color: var(--text-2); }
.small { font-size: .875rem; }
[hidden] { display: none !important; }
.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-link { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--accent); color: var(--accent-ink); padding: 10px 14px; border-radius: 10px; font-weight: 700; }
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .wrap { padding: 0 24px; } }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.header-bar { display: flex; align-items: center; gap: 18px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand img { display: block; width: 158px; height: 28px; }
.logo-light { display: none !important; }
:root[data-theme="light"] .logo-dark { display: none !important; }
:root[data-theme="light"] .logo-light { display: block !important; }

.nav { display: none; align-items: center; gap: 2px; margin: 0; padding: 0; list-style: none; }
.nav > li { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 12px; border-radius: 10px;
  color: var(--text-2); font-weight: 600; font-size: .95rem;
  background: none; border: 0; cursor: pointer; white-space: nowrap;
}
.nav-link:hover, .nav > li:focus-within > .nav-link, .nav > li.open > .nav-link { color: var(--text); background: var(--surface-2); text-decoration: none; }
.nav-link svg { width: 12px; height: 12px; opacity: .7; transition: transform .2s; }
.nav > li.open > .nav-link svg { transform: rotate(180deg); }

.dropdown {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 260px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 8px;
  opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity .16s, transform .16s, visibility .16s;
}
.dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.nav > li.open > .dropdown { opacity: 1; visibility: visible; transform: none; }
@media (hover: hover) {
  .nav > li:hover > .dropdown { opacity: 1; visibility: visible; transform: none; }
  .nav > li:hover > .nav-link { color: var(--text); background: var(--surface-2); }
}
.dropdown a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; color: var(--text); font-size: .93rem; }
.dropdown a:hover { background: var(--surface-2); text-decoration: none; }
.dropdown .dd-title { padding: 8px 10px 4px; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
.dropdown .dd-foot { margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--border); }
.dropdown .dd-foot a { color: var(--accent); font-weight: 650; }
.dropdown.mega { display: grid; grid-template-columns: repeat(2, minmax(240px, 1fr)); gap: 4px 16px; width: 600px; left: -120px; }
.dropdown.mega .dd-col { display: flex; flex-direction: column; }
.dropdown.mega .dd-foot { grid-column: 1 / -1; }
.dd-dot { width: 8px; height: 8px; border-radius: 50%; flex: 0 0 8px; background: var(--text-3); }
.dd-dot.nvidia { background: var(--nvidia); } .dd-dot.amd { background: var(--amd); } .dd-dot.intel { background: var(--intel); }
.dropdown.lang { left: auto; right: 0; min-width: 180px; }
.dropdown a[aria-current="true"] { color: var(--accent); font-weight: 700; }

.header-tools { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 40px; min-width: 40px; padding: 0 10px; border-radius: 10px;
  border: 1px solid var(--border); background: var(--surface); color: var(--text);
  cursor: pointer; font-weight: 650; font-size: .85rem; text-transform: uppercase;
}
.icon-btn:hover { border-color: var(--border-2); background: var(--surface-2); text-decoration: none; }
.icon-btn svg { width: 18px; height: 18px; flex: 0 0 18px; }
.theme-toggle .i-sun { display: none; }
:root[data-theme="light"] .theme-toggle .i-sun { display: block; }
:root[data-theme="light"] .theme-toggle .i-moon { display: none; }
.lang-wrap { position: relative; }
.lang-wrap.open .dropdown { opacity: 1; visibility: visible; transform: none; }

.header-search { position: relative; display: none; flex: 1 1 280px; max-width: 360px; }
.search-field {
  display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
  transition: border-color .15s, box-shadow .15s;
}
.search-field:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent); }
.search-field svg { width: 18px; height: 18px; color: var(--text-3); flex: 0 0 auto; }
.search-field input { flex: 1; min-width: 0; height: 100%; border: 0; background: none; outline: none; font-size: .95rem; }
.search-field input::placeholder { color: var(--text-3); }
.search-field kbd { font: 600 .72rem/1 var(--mono); color: var(--text-3); border: 1px solid var(--border-2); border-radius: 6px; padding: 3px 6px; }

.menu-btn { display: inline-flex; }
@media (min-width: 1100px) {
  .nav { display: flex; }
  .menu-btn { display: none; }
  .header-search { display: block; }
}
@media (min-width: 1100px) and (max-width: 1239px) { .header-search { max-width: 240px; } }

/* ---------- Mobile drawer ---------- */
.drawer { position: fixed; inset: 0; z-index: 200; display: none; }
.drawer.open { display: block; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(4,6,10,.6); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.drawer-panel {
  position: absolute; top: 0; bottom: 0; left: 0; width: min(88vw, 380px);
  background: var(--bg-2); border-right: 1px solid var(--border);
  display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain;
  animation: drawer-in .22s ease-out;
}
@keyframes drawer-in { from { transform: translateX(-100%); } to { transform: none; } }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--border); }
.drawer-body { padding: 14px 16px 32px; }
.drawer-body .search-field { margin-bottom: 14px; }
.drawer-section { margin-bottom: 18px; }
.drawer-section > .dd-title { padding: 0 4px 6px; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
.drawer-section a { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 10px; color: var(--text); font-weight: 550; }
.drawer-section a:hover { background: var(--surface); text-decoration: none; }
.drawer details { border-radius: 10px; }
.drawer summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; padding: 11px 12px; border-radius: 10px; font-weight: 600; }
.drawer summary::-webkit-details-marker { display: none; }
.drawer summary:hover { background: var(--surface); }
.drawer summary svg { width: 12px; height: 12px; transition: transform .2s; }
.drawer details[open] summary svg { transform: rotate(180deg); }
.drawer details .sub { padding: 2px 0 8px 10px; }
.drawer details .sub a { padding: 8px 12px; font-size: .93rem; font-weight: 500; color: var(--text-2); }
.lang-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.lang-chips a { padding: 8px 12px; border: 1px solid var(--border); border-radius: 999px; font-size: .88rem; }
.lang-chips a[aria-current="true"] { border-color: var(--accent); color: var(--accent); }
body.no-scroll { overflow: hidden; }

/* ---------- Suggest (GPU autocomplete) ---------- */
.suggest-wrap { position: relative; }
.suggest {
  position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 150;
  background: var(--surface); border: 1px solid var(--border-2); border-radius: 14px;
  box-shadow: var(--shadow-lg); padding: 6px; margin: 0; list-style: none;
  max-height: min(60vh, 440px); overflow-y: auto; display: none;
}
.suggest.open { display: block; }
.suggest li { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 10px; cursor: pointer; }
.suggest li[aria-selected="true"], .suggest li:hover { background: var(--surface-2); }
.suggest .s-img { width: 64px; height: 36px; flex: 0 0 64px; border-radius: 6px; background: var(--stage); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.suggest .s-img img { max-width: 100%; max-height: 100%; }
.suggest .s-name { font-weight: 650; font-size: .93rem; line-height: 1.25; color: var(--text); }
.suggest .s-meta { font-size: .8rem; color: var(--text-3); }
.suggest .s-empty { padding: 12px; color: var(--text-3); font-size: .9rem; cursor: default; }
.suggest .s-empty:hover { background: none; }

/* ---------- Page structure ---------- */
main { display: block; min-height: 60vh; }
.page { padding-top: 20px; padding-bottom: 56px; }
.section { margin: 48px 0; }
.section:first-child { margin-top: 8px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.section-head p { margin: 6px 0 0; color: var(--text-2); max-width: 760px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .75rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: var(--grad); }
.lead { font-size: 1.075rem; color: var(--text-2); max-width: 820px; }
.prose { color: var(--text-2); max-width: 860px; }
.prose b, .prose strong { color: var(--text); }
.prose h2, .prose h3 { color: var(--text); margin-top: 1.6em; }
.prose a { text-decoration: underline; }
.prose ul { padding-left: 1.2em; }
.more-link { font-weight: 650; color: var(--accent); display: inline-flex; align-items: center; gap: 6px; }
.more-link::after { content: "→"; transition: transform .15s; }
.more-link:hover::after { transform: translateX(3px); }

/* Breadcrumbs */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 18px; padding: 0; list-style: none; font-size: .85rem; color: var(--text-3); }
.crumbs li { display: inline-flex; align-items: center; gap: 6px; }
.crumbs li + li::before { content: "/"; color: var(--border-2); }
.crumbs a { color: var(--text-2); }
.crumbs [aria-current] { color: var(--text); font-weight: 600; }

/* ---------- Cards ---------- */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
.card-pad { padding: 20px; }
@media (min-width: 768px) { .card-pad { padding: 26px; } }
.card h3 { margin-bottom: .35em; }

/* ---------- Buttons / badges ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 20px; border-radius: 12px; border: 1px solid transparent;
  font-weight: 700; font-size: .95rem; cursor: pointer; white-space: nowrap;
  transition: transform .12s, box-shadow .15s, background .15s, border-color .15s;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: none; }
.btn-primary { background: var(--grad); color: var(--accent-ink); box-shadow: 0 10px 30px -10px color-mix(in srgb, var(--accent) 60%, transparent); }
:root[data-theme="light"] .btn-primary { color: #fff; }
.btn-ghost { background: var(--surface); border-color: var(--border-2); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); }
.btn-amazon { background: #ffb020; color: #151515; }
.btn-amazon:hover { background: #ffc24d; }
.btn-sm { height: 36px; padding: 0 14px; font-size: .85rem; border-radius: 10px; }
.btn-block { width: 100%; }
.btn svg { width: 18px; height: 18px; }

.badge { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 999px; font-size: .78rem; font-weight: 700; background: var(--surface-2); border: 1px solid var(--border); color: var(--text-2); white-space: nowrap; }
.badge.nvidia { color: #a6e22e; border-color: color-mix(in srgb, var(--nvidia) 45%, transparent); background: color-mix(in srgb, var(--nvidia) 12%, transparent); }
.badge.amd { color: #ff6b73; border-color: color-mix(in srgb, var(--amd) 45%, transparent); background: color-mix(in srgb, var(--amd) 12%, transparent); }
.badge.intel { color: #5fb4ff; border-color: color-mix(in srgb, var(--intel) 50%, transparent); background: color-mix(in srgb, var(--intel) 14%, transparent); }
:root[data-theme="light"] .badge.nvidia { color: #4a7a00; }
:root[data-theme="light"] .badge.amd { color: #c0121a; }
:root[data-theme="light"] .badge.intel { color: #0059a0; }
.badge.accent { color: var(--accent); border-color: color-mix(in srgb, var(--accent) 40%, transparent); background: color-mix(in srgb, var(--accent) 10%, transparent); }

.notice { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; border-radius: var(--radius-sm); background: color-mix(in srgb, var(--hot) 10%, var(--surface)); border: 1px solid color-mix(in srgb, var(--hot) 35%, transparent); color: var(--text); font-size: .93rem; margin: 0 0 20px; }
.notice svg { width: 22px; height: 22px; flex: 0 0 22px; color: var(--hot); margin-top: 1px; }

/* ---------- Manufacturer logo ---------- */
.mfr { display: inline-block; flex: 0 0 auto; width: 40px; height: 40px; border-radius: 10px; overflow: hidden; background: var(--surface-3); }
.mfr img { display: block; width: 100%; height: 100%; object-fit: cover; }
.mfr-sm { width: 32px; height: 32px; border-radius: 8px; }
.mfr-pair { display: inline-flex; }
.mfr-pair .mfr + .mfr { margin-left: -10px; box-shadow: 0 0 0 2px var(--surface); }

/* ---------- Tiles (groups, benchmarks) ---------- */
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.tile {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm);
  color: var(--text); transition: border-color .15s, transform .15s, background .15s;
}
.tile:hover { text-decoration: none; border-color: var(--border-2); background: var(--surface-2); transform: translateY(-2px); }
.tile-body { min-width: 0; }
.tile-title { display: block; font-weight: 650; font-size: .95rem; line-height: 1.3; }
.tile-sub { display: block; font-size: .8rem; color: var(--text-3); }
.tile .bench-ico { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; flex: 0 0 40px; background: var(--surface-3); }
.tile-all { border-style: dashed; }
.tile-all .tile-title { color: var(--accent); }
.tile-icon { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent); flex: 0 0 40px; }
.tile-icon svg { width: 20px; height: 20px; }

.brand-filter { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.chip { height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--text-2); font-weight: 650; font-size: .88rem; cursor: pointer; }
.chip[aria-pressed="true"] { border-color: var(--accent); color: var(--text); background: color-mix(in srgb, var(--accent) 12%, var(--surface)); }

/* ---------- Hero / VS picker ---------- */
.hero { position: relative; padding: 26px 0 8px; }
.hero h1 { margin-bottom: .3em; }
.hero h1 .grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { margin-bottom: 26px; }
.stat-row { display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 0 0 26px; padding: 0; list-style: none; color: var(--text-2); font-size: .9rem; }
.stat-row b { color: var(--text); font-size: 1.05rem; }

.vs-picker { display: grid; grid-template-columns: 1fr; gap: 14px; align-items: stretch; }
@media (min-width: 900px) { .vs-picker { grid-template-columns: 1fr auto 1fr; gap: 18px; } }
.vs-slot { position: relative; padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.vs-slot .slot-label { font-size: .72rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
.vs-slot .stage { aspect-ratio: 16 / 7; }
.vs-slot .search-field { height: 50px; border-radius: 12px; background: var(--bg-2); }
.vs-slot .search-field input { font-weight: 650; font-size: 1rem; }
.vs-specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0; }
.vs-specs div { background: var(--surface-2); border: 1px solid var(--border); border-radius: 10px; padding: 8px 10px; min-width: 0; }
.vs-specs dt { font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vs-specs dd { margin: 2px 0 0; font-weight: 700; font-variant-numeric: tabular-nums; font-size: .95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vs-slot .slot-link { font-size: .88rem; font-weight: 650; }
.vs-center { display: flex; flex-direction: row; align-items: center; justify-content: center; gap: 12px; }
@media (min-width: 900px) { .vs-center { flex-direction: column; } }
.vs-badge { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; font-size: 1.2rem; letter-spacing: .02em; color: var(--accent-ink); background: var(--grad); box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent) 12%, transparent), 0 16px 40px -10px color-mix(in srgb, var(--accent-2) 70%, transparent); }
:root[data-theme="light"] .vs-badge { color: #fff; }
.vs-center .btn { min-width: 170px; }

/* Stage (product image) */
.stage { position: relative; display: flex; align-items: center; justify-content: center; background: var(--stage); border-radius: var(--radius-sm); overflow: hidden; }
.stage img { max-width: 92%; max-height: 92%; width: auto; height: auto; object-fit: contain; }

/* ---------- GPU hero ---------- */
.gpu-hero { display: grid; grid-template-columns: 1fr; gap: 22px; margin-bottom: 26px; }
@media (min-width: 960px) { .gpu-hero { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 32px; align-items: center; } }
.gpu-hero .stage { aspect-ratio: 2 / 1; border-radius: var(--radius-lg); }
.gpu-hero h1 { margin-bottom: .25em; }
.gpu-hero .meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 18px; }
.gpu-hero .updated { font-size: .82rem; color: var(--text-3); }
.gpu-hero .actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.gpu-hero .intro { color: var(--text-2); font-size: .98rem; }
.gpu-hero .intro b { color: var(--text); }

.kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 0; }

.kpi { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px; min-width: 0; }
.kpi dt { font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
.kpi dd { margin: 2px 0 0; font-size: 1.2rem; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kpi dd small { font-size: .75rem; font-weight: 650; color: var(--text-2); margin-left: 2px; }

/* Score ring (GPU-Monkey speed index) */
.score { display: inline-flex; align-items: center; gap: 12px; color: var(--text); }
.score:hover { text-decoration: none; }
.score-ring {
  --p: 50;
  width: 72px; height: 72px; border-radius: 50%; flex: 0 0 72px;
  display: grid; place-items: center;
  background: conic-gradient(var(--accent) calc(var(--p) * 1%), var(--surface-3) 0);
  position: relative;
}
.score-ring::before { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: var(--surface); }
.score-ring span { position: relative; font-weight: 850; font-size: 1.3rem; font-variant-numeric: tabular-nums; line-height: 1; }
.score-ring span small { font-size: .62rem; font-weight: 700; color: var(--text-3); margin-left: 1px; }
.score-text { font-size: .8rem; line-height: 1.35; color: var(--text-2); max-width: 150px; }
.score-text b { display: block; color: var(--text); font-size: .88rem; }
.stage .score { position: absolute; left: 12px; top: 12px; background: color-mix(in srgb, var(--surface) 92%, transparent); padding: 6px 12px 6px 6px; border-radius: 999px; border: 1px solid var(--border); box-shadow: var(--shadow); }
.stage .score-ring { width: 54px; height: 54px; flex-basis: 54px; }
.stage .score-ring::before { inset: 5px; }
.stage .score-ring span { font-size: 1.05rem; }

/* ---------- Spec cards ---------- */
.specs { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 760px) { .specs { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1140px) { .specs { grid-template-columns: repeat(3, 1fr); } }
.spec { padding: 18px 18px 8px; display: flex; flex-direction: column; }
.spec-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.spec-head h3 { margin: 0; font-size: 1.02rem; }
.spec-ico { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: color-mix(in srgb, var(--accent) 12%, transparent); color: var(--accent); flex: 0 0 34px; }
.spec-ico svg { width: 18px; height: 18px; }
.spec-desc { font-size: .86rem; color: var(--text-3); margin: 0 0 10px; line-height: 1.5; }
.spec-desc b { color: var(--text-2); font-weight: 600; }
.spec dl { margin: auto 0 0; }
.spec-head + dl { margin-top: 4px; }
.spec dl > div { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 9px 0; border-top: 1px solid var(--border); font-size: .92rem; }
.spec dt { color: var(--text-2); flex: 0 0 auto; }
.spec dd { margin: 0; text-align: right; font-weight: 650; font-variant-numeric: tabular-nums; min-width: 0; overflow-wrap: anywhere; }
.spec dd a { font-weight: 650; }
.spec .span-all { grid-column: 1 / -1; }

.adj { display: inline-block; margin-left: 6px; font-size: .75rem; font-weight: 700; padding: 1px 6px; border-radius: 6px; }
.adj.up { color: var(--good); background: color-mix(in srgb, var(--good) 14%, transparent); }
.adj.down { color: var(--bad); background: color-mix(in srgb, var(--bad) 14%, transparent); }

/* Compare table (VS) */
.cmp { width: 100%; border-collapse: separate; border-spacing: 0; font-size: .93rem; }
.cmp caption { text-align: left; padding: 0 0 8px; }
.cmp th, .cmp td { padding: 10px 12px; border-top: 1px solid var(--border); vertical-align: middle; }
.cmp thead th { border-top: 0; font-size: .74rem; letter-spacing: .07em; text-transform: uppercase; color: var(--text-3); font-weight: 700; }
.cmp tbody th { text-align: left; font-weight: 500; color: var(--text-2); width: 34%; }
.cmp td { text-align: right; font-weight: 650; font-variant-numeric: tabular-nums; width: 33%; }
.cmp .win { color: var(--good); }
.cmp .win::before { content: "▲"; font-size: .6rem; margin-right: 6px; vertical-align: 2px; }
.cmp .lose { color: var(--text-2); font-weight: 550; }
.cmp-group { padding: 18px 18px 6px; }
.cmp-group .spec-desc { margin-bottom: 4px; }
.cmp-wrap { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 980px) { .cmp-wrap { grid-template-columns: repeat(2, 1fr); } }

/* VS header */
.vs-hero { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: center; margin-bottom: 24px; }
.vs-hero .side { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.vs-hero .stage { aspect-ratio: 2 / 1; }
.vs-hero .side-name { font-weight: 750; font-size: clamp(.95rem, .8rem + .6vw, 1.25rem); line-height: 1.25; color: var(--text); }
.vs-hero .side-meta { font-size: .82rem; color: var(--text-3); }
.vs-hero .vs-badge { width: 52px; height: 52px; font-size: 1rem; }
@media (min-width: 768px) { .vs-hero { gap: 24px; } .vs-hero .vs-badge { width: 72px; height: 72px; font-size: 1.3rem; } }
.vs-hero .side .score { align-self: flex-start; }
.vs-hero .side-2 { text-align: right; }
.vs-hero .side-2 .score { align-self: flex-end; }

/* ---------- Benchmarks (bars) ---------- */
.bench-block { padding: 20px; margin-bottom: 16px; }
@media (min-width: 768px) { .bench-block { padding: 24px 26px; } }
.bench-block > header { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 6px; }
.bench-block > header h3 { margin: 0 0 4px; font-size: 1.15rem; }
.bench-block > header h3 a { color: var(--text); }
.bench-block > header p { margin: 0; font-size: .88rem; color: var(--text-3); }
.bench-sub { margin-top: 14px; padding: 14px 16px 6px; border: 1px solid var(--border); border-radius: 12px; background: var(--bg-2); }
:root[data-theme="light"] .bench-sub { background: var(--surface-2); }
.bench-sub h4 { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; font-size: .98rem; color: var(--text); font-weight: 700; margin: 0 0 6px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.bench-sub h4 .badge { margin-left: 0 !important; }
.bench-foot { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--border); font-size: .9rem; }

.bars { list-style: none; margin: 0; padding: 0; }
.bar-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px 16px; align-items: center; padding: 9px 0; border-top: 1px solid var(--border); }
.bar-row:first-child { border-top: 0; }
@media (min-width: 720px) { .bar-row { grid-template-columns: minmax(220px, 40%) minmax(0, 1fr) auto; } }
.bar-who { display: flex; align-items: center; gap: 12px; min-width: 0; }
.bar-who .rank { width: 28px; flex: 0 0 28px; text-align: right; font-weight: 700; color: var(--text-3); font-variant-numeric: tabular-nums; font-size: .85rem; }
.bar-who .n { min-width: 0; }
.bar-who .n a, .bar-who .n > span:first-child { display: block; font-weight: 600; color: var(--text); line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar-who .n small { display: block; font-size: .78rem; color: var(--text-3); }
.bar-meter { display: flex; align-items: center; gap: 12px; min-width: 0; }
.bar-track { position: relative; flex: 1; height: 8px; border-radius: 99px; background: var(--surface-3); overflow: hidden; }
.bar-fill { position: absolute; inset: 0 auto 0 0; width: var(--w, 0%); min-width: 3px; border-radius: 99px; background: color-mix(in srgb, var(--text-3) 70%, transparent); }
.bar-num { flex: 0 0 auto; min-width: 88px; text-align: right; font-weight: 700; font-size: .9rem; font-variant-numeric: tabular-nums; color: var(--text-2); white-space: nowrap; }
.bar-row.is-current .bar-fill { background: var(--accent); }
.bar-row.is-current .bar-num { color: var(--text); }
.bar-row.is-current .bar-who .n a, .bar-row.is-current .bar-who .n > span:first-child { color: var(--accent); }
.bar-row.is-muted .bar-fill { background: color-mix(in srgb, var(--text-3) 40%, transparent); }
.bar-aff { display: none; }
@media (min-width: 720px) { .bar-aff { display: block; } }

.amz-btn { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--border); transition: border-color .15s, background .15s; }
.amz-btn:hover { border-color: #ffb020; background: color-mix(in srgb, #ffb020 14%, var(--surface-2)); }
.amz-btn img { width: 22px; height: 22px; }

.tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--border); margin-bottom: 14px; }
.tabs button { height: 34px; padding: 0 14px; border: 0; border-radius: 9px; background: none; color: var(--text-2); font-weight: 650; font-size: .88rem; cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--surface); color: var(--text); box-shadow: var(--shadow); }
[role="tabpanel"][hidden] { display: none; }

/* ---------- Ranked lists ---------- */
.rank-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 980px) { .rank-grid { grid-template-columns: repeat(2, 1fr); } }
.rank-card { padding: 20px 20px 10px; }
.rank-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.rank-list { list-style: none; margin: 0; padding: 0; counter-reset: r; }
.rank-list li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--border); }
.rank-list li:first-child { border-top: 0; }
.rank-list .pos { width: 26px; flex: 0 0 26px; font-weight: 800; color: var(--text-3); font-variant-numeric: tabular-nums; text-align: right; }
.rank-list li:nth-child(1) .pos { color: #ffd166; }
.rank-list li:nth-child(2) .pos { color: #cbd5e1; }
.rank-list li:nth-child(3) .pos { color: #f4a261; }
.rank-list .name { flex: 1; min-width: 0; font-weight: 600; line-height: 1.3; }
.rank-list .name a { color: var(--text); }
.rank-list .name small { display: block; font-size: .78rem; font-weight: 500; color: var(--text-3); }
.rank-list .val { font-weight: 750; font-variant-numeric: tabular-nums; white-space: nowrap; font-size: .92rem; }
.rank-list .val small { color: var(--text-3); font-weight: 600; margin-left: 2px; }

/* ---------- Data table ---------- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); }
.table { width: 100%; border-collapse: collapse; font-size: .93rem; min-width: 560px; }
.table th, .table td { padding: 12px 14px; text-align: left; border-top: 1px solid var(--border); vertical-align: middle; }
.table thead th { border-top: 0; position: sticky; top: 0; background: var(--surface-2); font-size: .74rem; letter-spacing: .07em; text-transform: uppercase; color: var(--text-3); font-weight: 700; white-space: nowrap; }
.table tbody tr:hover { background: var(--surface-2); }
.table td.r, .table th.r { text-align: right; }
.table .num { font-weight: 650; }
.table .gpu-cell { display: flex; align-items: center; gap: 12px; min-width: 220px; }
.table .gpu-cell a { font-weight: 650; color: var(--text); }
.table .unit { color: var(--text-3); font-size: .8rem; font-weight: 600; margin-left: 2px; }
.table-foot { display: flex; justify-content: center; padding: 18px 0 0; }

/* ---------- Forms (Filter) ---------- */
.filters { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: .78rem; font-weight: 700; letter-spacing: .04em; color: var(--text-2); }
.field select, .field input, select.select {
  height: 44px; width: 100% !important; padding: 0 36px 0 12px; border-radius: 10px; border: 1px solid var(--border-2);
  background: var(--bg-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238893a8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center;
  -webkit-appearance: none; appearance: none; color: var(--text); font-size: .93rem;
}
.field input { background-image: none; padding-right: 12px; }
.field select:focus, .field input:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 16%, transparent); }
.filter-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }

/* ---------- Rating ---------- */
.rating { display: grid; gap: 18px; grid-template-columns: 1fr; align-items: center; padding: 22px; }
@media (min-width: 820px) { .rating { grid-template-columns: 1.2fr 1fr; } }
.rating p { margin: 0; color: var(--text-2); }
.stars { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 6px; }
.stars input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.stars label { cursor: pointer; width: 40px; height: 40px; color: var(--surface-3); transition: transform .12s, color .12s; }
.stars label svg { width: 100%; height: 100%; }
.stars label:hover, .stars label:hover ~ label, .stars input:checked ~ label { color: #ffc93c; }
.stars label:hover { transform: scale(1.1); }
.stars input:focus-visible + label { outline: 2px solid var(--accent); border-radius: 6px; }
.rating-hint { font-size: .85rem; color: var(--text-3); min-height: 1.4em; margin-top: 6px; }
.rating-group { display: grid; gap: 18px; }
.rating-group .rg { display: flex; flex-direction: column; gap: 8px; }

/* ---------- Affiliate banner ---------- */
.aff-banner { display: grid; grid-template-columns: 1fr; gap: 16px; align-items: center; padding: 16px; color: var(--text); }
.aff-banner:hover { text-decoration: none; border-color: #ffb020; }
@media (min-width: 640px) { .aff-banner { grid-template-columns: 200px 1fr auto; padding: 16px 20px; } }
.aff-banner .stage { aspect-ratio: 2 / 1; }
.aff-banner .t { font-weight: 750; font-size: 1.05rem; }
.aff-banner .s { color: var(--text-3); font-size: .88rem; }
.aff-note { font-size: .75rem; color: var(--text-3); }

/* ---------- Ads (Freestar) ---------- */
.ad { display: flex; justify-content: center; align-items: center; margin: 32px auto; width: 100%; overflow: hidden; }
.ad > div { max-width: 100%; }
/* Höhen reserviert Freestars cls.css (a.pub.network/gpu-monkey-com/cls.css) */
.ad-row { display: none; gap: 16px; justify-content: center; margin: 20px auto 8px; }
.ad-row > div { flex: 0 1 336px; max-width: 336px; }
.ad-label { display: none; }
@media (max-width: 768px) {
  .ad-desktop { display: none !important; }
}
@media (min-width: 769px) {
  .ad-mobile { display: none !important; }
  .ad-row.ad-desktop { display: flex; }
}
@media (min-width: 769px) and (max-width: 1100px) {
  .ad-row > div:nth-child(3) { display: none; }
}
body.no-ads .ad, body.no-ads .ad-row { display: none !important; }
/* Lokal (APP_ENV=local): Platzhalter statt echter Anzeigen */
body.ads-preview [data-freestar-ad] { position: relative; width: 336px; max-width: 100%; border: 1px dashed var(--border-2); border-radius: 10px; background: repeating-linear-gradient(45deg, transparent 0 10px, color-mix(in srgb, var(--border) 45%, transparent) 10px 20px); }
body.ads-preview [data-freestar-ad]::after { content: "Freestar · " attr(id); position: absolute; inset: 0; display: grid; place-items: center; font: 600 .75rem var(--mono); color: var(--text-3); text-align: center; padding: 8px; }

/* ---------- Share ---------- */
.share { display: inline-flex; align-items: center; gap: 8px; }
.share a, .share button { width: 38px; height: 38px; display: inline-grid; place-items: center; border-radius: 10px; border: 1px solid var(--border); background: var(--surface); color: var(--text-2); cursor: pointer; }
.share a:hover, .share button:hover { color: var(--text); border-color: var(--border-2); text-decoration: none; }
.share svg { width: 18px; height: 18px; }
.page-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: 40px; }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); z-index: 300; max-width: min(92vw, 520px); padding: 12px 18px; border-radius: 12px; background: var(--surface-3); color: var(--text); border: 1px solid var(--border-2); box-shadow: var(--shadow-lg); font-weight: 600; font-size: .93rem; opacity: 0; transition: opacity .2s, transform .2s; pointer-events: none; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Footer ---------- */
.site-footer { margin-top: 40px; border-top: 1px solid var(--border); background: var(--bg-2); color: var(--text-2); font-size: .9rem; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 28px; padding: 40px 0 26px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer-grid h2 { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); margin: 0 0 12px; font-weight: 750; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-grid a { color: var(--text-2); }
.footer-grid a:hover { color: var(--text); }
.footer-about img { width: 158px; height: 28px; margin-bottom: 12px; }
.footer-about p { font-size: .85rem; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 0 28px; border-top: 1px solid var(--border); font-size: .8rem; color: var(--text-3); }
.footer-bottom p { margin: 0; max-width: 860px; }
/* Sichtbarkeit steuert Freestar (CMP) je nach Region */
#pmLink { visibility: hidden; height: 36px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--border-2); background: var(--surface); color: var(--text-2); font-weight: 650; font-size: .82rem; cursor: pointer; }
#pmLink:hover { color: var(--text); border-color: var(--accent); }

.load-time { position: fixed; right: 10px; bottom: 10px; z-index: 400; padding: 4px 8px; border-radius: 6px; font: 600 .75rem var(--mono); background: var(--surface-3); color: var(--text); border: 1px solid var(--border-2); }

/* ---------- Misc helpers ---------- */
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 900px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
.stack > * + * { margin-top: 14px; }
.center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
@media (max-width: 719px) { .hide-mobile { display: none !important; } }
.is-collapsed tbody tr:nth-child(n+21) { display: none; }
.code { font-family: var(--mono); font-size: .9rem; padding: 14px 16px; border-radius: 10px; background: var(--bg-2); border: 1px solid var(--border); overflow-x: auto; color: var(--text); }
.text-good { color: var(--good); } .text-bad { color: var(--bad); }
.hero-media { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); }
.hero-media img { display: block; width: 100%; height: auto; }
.empty-state { text-align: center; padding: 40px 20px; color: var(--text-2); }
.empty-state svg { width: 48px; height: 48px; color: var(--text-3); margin-bottom: 10px; }
.big-404 { font-size: clamp(4rem, 3rem + 6vw, 8rem); font-weight: 900; line-height: 1; letter-spacing: -.04em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; margin: 0 0 10px; }

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

@media print {
  .site-header, .site-footer, .ad, .ad-row, .share, .drawer, .rating { display: none !important; }
  body { background: #fff; color: #000; }
  body::before { display: none; }
}

/* Hero-KPIs: in der schmalen Hero-Spalte 2 x 2 */
@media (min-width: 960px) { .gpu-hero .kpis { grid-template-columns: repeat(2, 1fr); } }

/* Grid-/Flex-Kinder dürfen schrumpfen (sonst horizontales Überlaufen auf Mobilgeräten) */
.vs-picker > *, .specs > *, .cmp-wrap > *, .grid-2 > *, .rank-grid > *, .gpu-hero > *, .tiles > *, .vs-hero .side, .footer-grid > *, .filters > * { min-width: 0; }
.cmp { table-layout: fixed; }
.cmp thead th { overflow-wrap: anywhere; hyphens: auto; }
.cmp td, .cmp th { overflow-wrap: anywhere; }
@media (max-width: 560px) {
  .cmp th, .cmp td { padding: 9px 6px; font-size: .86rem; }
  .cmp tbody th { width: 36%; }
  .vs-specs { grid-template-columns: repeat(2, 1fr); }
  .card-pad { padding: 16px; }
  .spec, .cmp-group { padding: 16px 14px 6px; }
  .bench-block { padding: 16px 14px; }
  h1 { overflow-wrap: anywhere; }
}

@media (max-width: 560px) {
  .stage .score { left: 6px; top: 6px; padding: 3px; }
  .vs-hero .stage .score-ring { width: 40px; height: 40px; flex-basis: 40px; }
  .vs-hero .stage .score-ring::before { inset: 4px; }
  .vs-hero .stage .score-ring span { font-size: .8rem; }
  .vs-hero .stage .score-ring span small { display: none; }
  .vs-hero .vs-badge { width: 40px; height: 40px; font-size: .8rem; }
}

/* Amazon-Button: weißes "a" im Dark Mode, dunkles im Light Mode */
.amz-btn .logo-dark, .amz-btn .logo-light { width: 22px; height: 22px; }
:root[data-theme="light"] .amz-btn .logo-light { display: inline-block !important; }

.tiles-wide { grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); }
@media (max-width: 400px) { .tiles-wide { grid-template-columns: 1fr; } }
.badge svg { width: 13px; height: 13px; }
.badge b { font-weight: 800; }
a.badge:hover { text-decoration: none; border-color: var(--accent); }
.vs-hero .side .badge { align-self: flex-start; }
.vs-hero .side-2 .badge { align-self: flex-end; }
/* Lokale Werbe-Vorschau: feste Höhe, damit keine Linie entsteht */
body.ads-preview [data-freestar-ad] { min-height: 250px; }

/* Icons im hellen Modus blau */
:root[data-theme="light"] .spec-ico,
:root[data-theme="light"] .tile-icon { color: #1f6feb; background: #e6f0ff; }
:root[data-theme="light"] .badge.accent { color: #1f6feb; border-color: #bcd4ff; background: #eef4ff; }

/* Beliebte Vergleiche: Karten */
.vs-cards { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 900px) { .vs-cards { grid-template-columns: repeat(2, 1fr); } }
.vs-card {
  position: relative; display: flex; align-items: center; gap: 18px; min-width: 0;
  padding: 18px 56px 18px 18px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--accent);
  color: var(--text); transition: transform .15s, border-color .15s, box-shadow .15s;
}
.vs-card:hover { text-decoration: none; transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--border-2); border-left-color: var(--accent); }
.vs-rank { position: absolute; top: 14px; right: 14px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); font-weight: 800; font-size: .9rem; font-variant-numeric: tabular-nums; }
:root[data-theme="light"] .vs-rank { color: #fff; }
.vs-imgs { position: relative; flex: 0 0 132px; width: 132px; height: 104px; }
.vs-img { position: absolute; width: 96px; height: 54px; border-radius: 8px; background: var(--stage); display: flex; align-items: center; justify-content: center; overflow: hidden; box-shadow: 0 4px 14px -6px rgba(0,0,0,.45); }
.vs-img img { max-width: 92%; max-height: 88%; width: auto; height: auto; }
.vs-img.a { top: 0; left: 0; }
.vs-img.b { top: 46px; left: 36px; z-index: 1; }
.vs-lbl { position: absolute; left: 2px; bottom: 6px; font-weight: 800; font-size: .95rem; color: var(--text-3); letter-spacing: .04em; }
.vs-names { display: flex; flex-direction: column; gap: 8px; min-width: 0; flex: 1; }
.vs-n { display: flex; flex-direction: column; min-width: 0; }
.vs-n b { font-weight: 700; font-size: 1rem; line-height: 1.3; overflow-wrap: anywhere; }
.vs-n small { font-size: .8rem; color: var(--text-3); margin-top: 2px; }
.vs-n + .vs-line + .vs-n { padding-left: 24px; }
.vs-line { display: block; width: 45%; max-width: 180px; height: 2px; border-radius: 2px; background: var(--accent); opacity: .8; margin-left: 12px; }
@media (max-width: 480px) {
  .vs-card { padding: 14px 46px 14px 14px; gap: 12px; }
  .vs-imgs { flex-basis: 96px; width: 96px; height: 84px; }
  .vs-img { width: 70px; height: 40px; }
  .vs-img.b { top: 38px; left: 24px; }
  .vs-n b { font-size: .92rem; }
  .vs-n + .vs-line + .vs-n { padding-left: 10px; }
}

/* VS-Picker: nur "VS" in der Mitte, Vergleichs-Button darunter */
.vs-picker { gap: 0; }
@media (min-width: 900px) { .vs-picker { grid-template-columns: 1fr 76px 1fr; } }
.vs-center { position: relative; z-index: 2; margin: -14px 0; }
@media (min-width: 900px) { .vs-center { margin: 0 -14px; } }
.vs-center .vs-badge { width: 60px; height: 60px; font-size: 1.05rem; box-shadow: 0 0 0 6px var(--bg), 0 12px 30px -10px color-mix(in srgb, var(--accent-2) 70%, transparent); }
.vs-cta { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 22px; text-align: center; }
.btn-lg { height: 56px; padding: 0 34px; font-size: 1.05rem; border-radius: 14px; min-width: min(100%, 340px); }

/* ===== Vergleichsseite: Seitenfarben A/B ===== */
:root { --side-a: var(--accent); --side-b: #4d9bff; }
:root[data-theme="light"] { --side-b: #1f6feb; }
.side-chip { display: inline-flex; align-items: center; gap: 7px; max-width: 100%; min-width: 0; font-size: .8rem; font-weight: 700; color: var(--text); text-transform: none; letter-spacing: 0; white-space: nowrap; }
.side-chip > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.side-chip::before { content: ""; flex: 0 0 10px; width: 10px; height: 10px; border-radius: 50%; background: var(--side-a); }
.side-chip.b::before { background: var(--side-b); }
.side-txt.a { color: var(--side-a); } .side-txt.b { color: var(--side-b); }

/* Hero mit Beschreibung je Seite */
.vs-hero-split { align-items: start; grid-template-columns: 1fr; }
@media (min-width: 760px) { .vs-hero-split { grid-template-columns: 1fr auto 1fr; } }
.vs-hero-split .side { padding: 16px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); border-top: 3px solid var(--side-a); }
.vs-hero-split .side-2 { border-top-color: var(--side-b); text-align: left; }
.vs-hero-split .side-2 .badge { align-self: flex-start; }
.vs-hero-split .vs-badge { align-self: center; justify-self: center; }
@media (min-width: 760px) { .vs-hero-split .vs-badge { margin-top: 90px; } }
.side-desc { margin: 4px 0 0; font-size: .9rem; line-height: 1.6; color: var(--text-2); }
.side-desc b { color: var(--text); }
.side-desc a { color: var(--link); }

/* Fazit-Banner */
.verdict { display: flex; align-items: center; gap: 14px; padding: 14px 18px; margin-bottom: 28px; border-radius: var(--radius); background: color-mix(in srgb, var(--accent) 10%, var(--surface)); border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent); }
.verdict svg { flex: 0 0 26px; width: 26px; height: 26px; color: #f5b301; }
.verdict p { margin: 0; font-size: 1rem; color: var(--text); }

/* Schnellvergleich-Kacheln */
.qt-legend { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0 0 12px; }
.qt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.qt { padding: 14px 16px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--border); min-width: 0; }
.qt-head { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; font-size: .78rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--text-3); }
.qt-head svg { width: 18px; height: 18px; color: var(--accent); flex: 0 0 18px; }
:root[data-theme="light"] .qt-head svg { color: #1f6feb; }
.qt-line { margin-top: 8px; }
.qt-val { display: flex; align-items: center; gap: 6px; font-weight: 700; font-size: .95rem; font-variant-numeric: tabular-nums; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qt-line.is-win .qt-val { color: var(--text); }
.qt-win { width: 14px; height: 14px; color: #f5b301; flex: 0 0 14px; }
.qt-track { display: block; height: 6px; margin-top: 5px; border-radius: 99px; background: var(--surface-3); overflow: hidden; }
.qt-track span { display: block; height: 100%; border-radius: 99px; background: color-mix(in srgb, var(--side-a) 55%, transparent); }
.qt-line.b .qt-track span { background: color-mix(in srgb, var(--side-b) 55%, transparent); }
.qt-line.is-win .qt-track span { background: var(--side-a); }
.qt-line.b.is-win .qt-track span { background: var(--side-b); }

/* Kategorie-Tabellen */
.cmp thead th { text-transform: none; letter-spacing: 0; }
.cmp thead th:nth-child(2), .cmp thead th:nth-child(3) { text-align: right; }
.cmp thead .side-chip { justify-content: flex-end; font-size: .78rem; }
.cmp td .win { font-weight: 750; }
.cmp td:nth-child(2) .win { color: var(--side-a); }
.cmp td:nth-child(3) .win { color: var(--side-b); }
.cmp .win::before { content: none; }
.cmp td .win::after { content: "✓"; margin-left: 6px; font-size: .8em; }
.cmp tbody th { font-size: .9rem; }
.cmp-more { margin: 10px 0 8px; }
.cmp-more summary { cursor: pointer; font-size: .85rem; font-weight: 650; color: var(--link); list-style: none; }
.cmp-more summary::-webkit-details-marker { display: none; }
.cmp-more summary::after { content: " ▾"; }
.cmp-more[open] summary::after { content: " ▴"; }
.cmp-more .spec-desc { margin-top: 8px; }

/* Balken: GPU 2 in Farbe B */
.bar-row.is-side-b .bar-fill { background: var(--side-b); }
.bar-row.is-side-b .bar-num { color: var(--text); }
.bar-row.is-side-b .bar-who .n a { color: var(--side-b); }
.bar-row.is-current .bar-fill { background: var(--side-a); }
@media (max-width: 560px) {
  .qt-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .qt { padding: 12px; }
  .qt-head { font-size: .7rem; }
  .qt-val { font-size: .85rem; }
}
.qt-head span { min-width: 0; hyphens: auto; overflow-wrap: anywhere; }

/* ===== Benchmark-Rangliste ===== */
.bench-title { display: flex; gap: 16px; align-items: flex-start; }
.bench-logo { width: 46px !important; height: 46px !important; flex: 0 0 46px !important; margin-top: 34px; }
.rank-bars .bar-track { background: color-mix(in srgb, var(--side-b) 14%, var(--surface-3)); }
.rank-bars .bar-fill { background: var(--side-b); }
.rank-bars .bar-row.is-current .bar-fill { background: var(--side-a); }
.test-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.test-card { display: flex; flex-direction: column; gap: 6px; padding: 16px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--side-b); color: var(--text); min-width: 0; transition: transform .15s, box-shadow .15s; }
.test-card:hover { text-decoration: none; transform: translateY(-2px); box-shadow: var(--shadow); }
.tc-name { font-weight: 750; font-size: 1rem; }
.tc-lead { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: .88rem; color: var(--text-2); }
.tc-rank { flex: 0 0 auto; font-size: .72rem; font-weight: 800; padding: 2px 7px; border-radius: 99px; background: #f5b301; color: #1a1300; }
.tc-gpu { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tc-meta { font-size: .8rem; color: var(--text-3); }
.tc-meta b { color: var(--text); font-variant-numeric: tabular-nums; }
.about-box { margin: 0 0 8px; }
.about-box summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.about-box summary::-webkit-details-marker { display: none; }
.about-box summary::after { content: "▾"; color: var(--text-3); }
.about-box[open] summary::after { content: "▴"; }

/* Suche in Benchmark-Ranglisten */
.bench-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-bottom: 14px; }
.bench-tools .tabs { margin-bottom: 0; }
.bench-find { display: flex; align-items: center; gap: 10px; flex: 1 1 280px; max-width: 420px; margin: 0; padding: 4px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface-2); }
.bench-find .search-field { flex: 1; height: 34px; border-radius: 9px; border-color: transparent; background: var(--surface); }
.bench-find-msg { font-size: .8rem; color: var(--text-3); white-space: nowrap; padding-right: 6px; }
.bench-find-msg:empty { display: none; }
.bar-row.is-found { position: relative; border-radius: 10px; background: color-mix(in srgb, var(--side-b) 12%, transparent); box-shadow: 0 0 0 2px var(--side-b); padding-left: 8px; padding-right: 8px; }
.bar-row.is-found + .bar-row { border-top-color: transparent; }

/* Benchmark-Menü: breiter, einzeilig, mit Logos */
.dropdown.dd-bench { min-width: 420px; }
.dropdown.dd-bench a { white-space: nowrap; }
.dd-ico { width: 26px; height: 26px; flex: 0 0 26px; border-radius: 7px; object-fit: cover; background: #fff; }
.drawer .sub a .dd-ico { width: 22px; height: 22px; flex-basis: 22px; }

/* Icons in Dropdowns (z. B. Suche) */
.dropdown a { white-space: nowrap; }
.dropdown a > svg { width: 18px; height: 18px; flex: 0 0 18px; color: var(--accent); }
:root[data-theme="light"] .dropdown a > svg { color: #1f6feb; }

/* GPU-Karten (Suchergebnisse) */
#search-results { transition: opacity .15s; }
.gpu-cards { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 600px) { .gpu-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .gpu-cards { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
.gc-noimg { display: grid; place-items: center; width: 100%; height: 100%; color: #9aa4b5; }
.gc-noimg svg { width: 48px; height: 48px; }
.gpu-card { display: flex; flex-direction: column; min-width: 0; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); overflow: hidden; transition: transform .15s, box-shadow .15s, border-color .15s; }
.gpu-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--border-2); }
.gc-stage { aspect-ratio: 2 / 1; border-radius: 0; }
.gc-body { padding: 14px 16px 6px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.gc-top { display: flex; align-items: center; gap: 8px; min-width: 0; }
.gc-top .mfr { width: 22px; height: 22px; border-radius: 6px; }
.gc-group { font-size: .78rem; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gc-name { font-weight: 700; font-size: 1rem; line-height: 1.3; color: var(--text); }
.gc-name:hover { text-decoration: none; color: var(--accent); }
.gc-specs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px 12px; margin: 4px 0 0; }
.gc-specs dt { font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); }
.gc-specs dd { margin: 0; font-weight: 700; font-size: .92rem; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gc-specs dd small { font-size: .72rem; font-weight: 600; color: var(--text-3); margin-left: 3px; }
.gc-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 16px 14px; margin-top: auto; }
.gc-foot .more-link { font-size: .88rem; }

/* Footer-Links einzeilig */
.footer-grid li { min-width: 0; }
.footer-grid li a { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Über uns */
.value-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 640px) { .value-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .value-grid { grid-template-columns: repeat(4, 1fr); } }
.value-card { padding: 20px; }
.value-card .spec-ico { width: 42px; height: 42px; margin-bottom: 14px; }
.value-card .spec-ico svg { width: 22px; height: 22px; }
.value-card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.value-card p { margin: 0; color: var(--text-2); font-size: .92rem; line-height: 1.6; }
.about-links { display: grid; gap: 10px; margin-top: 16px; }
.about-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.about-cta-btns { display: flex; flex-wrap: wrap; gap: 10px; }

/* Mobil: weniger Abstand unter dem Header */
@media (max-width: 768px) {
  .page { padding-top: 14px; }
  .hero { padding-top: 0; }
  .hero .eyebrow { margin-bottom: 6px; }
}

/* Privacy-Manager-Button belegt nur Platz, wenn Freestar ihn einblendet (setzt style="visibility: visible") */
.footer-about { position: relative; }
#pmLink { position: absolute; left: 0; }
#pmLink[style*="visible"] { position: static; }

/* Mobil: kompakter Footer, dafür mehr Luft zwischen den Linkblöcken */
@media (max-width: 759px) {
  .page { padding-bottom: 28px; }
  .site-footer { margin-top: 12px; }
  .footer-grid { padding: 24px 0 20px; gap: 30px; }
  .footer-about p { margin-bottom: 0; }
  .footer-grid h2 { margin-bottom: 8px; }
  .footer-grid ul { gap: 6px; }
}

/* Mobiles Menü: Glas-Effekt wie der Header */
.drawer-backdrop { background: rgba(4,6,10,.35); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
.drawer-panel {
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  backdrop-filter: saturate(160%) blur(18px);
  border-right: 1px solid color-mix(in srgb, var(--border) 80%, transparent);
  box-shadow: var(--shadow-lg);
}
.drawer-head { border-bottom-color: color-mix(in srgb, var(--border) 70%, transparent); }
.drawer-section a:hover, .drawer summary:hover { background: color-mix(in srgb, var(--surface) 70%, transparent); }
/* Produktbild-Bühne: weiß wie die Fotos, dezente Kante */
.stage { box-shadow: inset 0 0 0 1px rgba(15,23,42,.06); }

/* VS-Picker: Eingabefeld klar als Feld erkennbar */
.vs-slot .search-field {
  background: var(--surface);
  border: 2px solid color-mix(in srgb, var(--accent) 55%, var(--border));
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 8%, transparent);
  cursor: pointer;
}
.vs-slot .search-field input { cursor: pointer; }
.vs-slot .search-field:focus-within input { cursor: text; }
:root[data-theme="light"] .vs-slot .search-field { border-color: #8db4f5; box-shadow: 0 0 0 4px #eaf2ff; }
.vs-slot .search-field:hover { border-color: var(--accent); }
:root[data-theme="light"] .vs-slot .search-field:hover,
:root[data-theme="light"] .vs-slot .search-field:focus-within { border-color: #1f6feb; box-shadow: 0 0 0 4px #d6e6ff; }
.vs-slot .search-field > svg { color: var(--accent); }
:root[data-theme="light"] .vs-slot .search-field > svg { color: #1f6feb; }
.sf-action { display: inline-flex; align-items: center; gap: 5px; flex: 0 0 auto; padding: 4px 9px; border-radius: 8px; font-size: .76rem; font-weight: 700; color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent); white-space: nowrap; }
.sf-action svg { width: 13px; height: 13px; }
:root[data-theme="light"] .sf-action { color: #1f6feb; background: #e6f0ff; }
.search-field:focus-within .sf-action { display: none; }

/* VS-Aktionsleiste: weißer Container, GPU 1 links, Vergleich Mitte, GPU 2 rechts */
.vs-cta { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; margin-top: 22px; padding: 18px 20px; text-align: center; }
.vs-cta-main { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.vs-side-btn { justify-self: start; height: auto; min-height: 52px; padding: 8px 16px; gap: 12px; text-align: left; }
.vs-side-btn.vs-side-2 { justify-self: end; text-align: right; }
.vsb-txt { display: flex; flex-direction: column; line-height: 1.25; font-size: .9rem; }
.vsb-txt small { font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); }
.vsb-dot { width: 10px; height: 10px; border-radius: 50%; flex: 0 0 10px; background: var(--side-a); }
.vsb-dot.b { background: var(--side-b); }
@media (max-width: 899px) {
  .vs-cta { grid-template-columns: 1fr 1fr; padding: 16px; }
  .vs-cta-main { grid-column: 1 / -1; order: -1; }
  .vs-side-btn, .vs-side-btn.vs-side-2 { justify-self: stretch; }
}

/* Aktionsleiste: alle drei Buttons im gleichen Stil */
.vs-cta .btn { height: 56px; min-height: 56px; border-radius: 14px; border: 0; color: #fff; font-weight: 700; }
.vs-cta .btn-lg { min-width: min(100%, 340px); }
.vs-side-btn { padding: 0 22px; gap: 12px; }
.vs-side-btn svg { width: 20px; height: 20px; flex: 0 0 20px; opacity: .9; }
.vs-side-btn .vsb-txt small { color: rgba(255,255,255,.78); }
.vs-side-1 { background: linear-gradient(135deg, #16c784 0%, #0e9f6e 100%); box-shadow: 0 10px 26px -12px rgba(22,199,132,.7); }
.vs-side-2 { background: linear-gradient(135deg, #3b8bff 0%, #1f5fd6 100%); box-shadow: 0 10px 26px -12px rgba(59,139,255,.7); }
.vs-side-btn:hover { color: #fff; filter: brightness(1.06); }
.vs-cta-main { gap: 0; }

/* VS-Marke im Picker: neutrale Trennmarke statt Button-Optik */
.vs-picker .vs-center { position: relative; align-self: stretch; display: flex; align-items: center; justify-content: center; }
.vs-picker .vs-center::before { content: ""; position: absolute; left: 50%; top: 8%; bottom: 8%; width: 1px; transform: translateX(-50%); background: linear-gradient(transparent, var(--border-2) 20%, var(--border-2) 80%, transparent); }
.vs-picker .vs-center .vs-badge {
  position: relative; width: 44px; height: 44px; font-size: .8rem; font-weight: 800; letter-spacing: .06em;
  color: var(--text-3); background: var(--bg); border: 1px solid var(--border-2); box-shadow: none;
}
:root[data-theme="light"] .vs-picker .vs-center .vs-badge { color: var(--text-3); }
@media (max-width: 899px) {
  .vs-picker .vs-center { min-height: 44px; margin: 6px 0; }
  .vs-picker .vs-center::before { left: 8%; right: 8%; top: 50%; bottom: auto; width: auto; height: 1px; transform: translateY(-50%); background: linear-gradient(90deg, transparent, var(--border-2) 20%, var(--border-2) 80%, transparent); }
}

/* VS-Marke auf der Vergleichsseite: wie auf der Startseite */
.vs-hero { position: relative; }
.vs-hero .vs-badge {
  position: relative; z-index: 1; width: 44px; height: 44px; font-size: .8rem; font-weight: 800; letter-spacing: .06em;
  color: var(--text-3); background: var(--bg); border: 1px solid var(--border-2); box-shadow: none;
}
:root[data-theme="light"] .vs-hero .vs-badge { color: var(--text-3); }
@media (min-width: 760px) {
  .vs-hero-split::before { content: ""; position: absolute; left: 50%; top: 4%; bottom: 4%; width: 1px; transform: translateX(-50%); background: linear-gradient(transparent, var(--border-2) 15%, var(--border-2) 85%, transparent); }
  .vs-hero-split .vs-badge { align-self: center; margin-top: 0; }
}
@media (max-width: 759px) {
  .vs-hero .vs-badge { width: 40px; height: 40px; font-size: .75rem; }
}

/* GPU-Hero: Buttons aufeinander abgestimmt */
.gpu-hero .actions .btn { height: 50px; padding: 0 20px; border-radius: 14px; font-weight: 700; }
.gpu-hero .actions .btn-primary { color: #fff; }
.btn-amazon { background: linear-gradient(135deg, #ffc24d 0%, #ff9f1c 100%); color: #1a1300; border: 0; box-shadow: 0 10px 26px -12px rgba(255,159,28,.75); }
.btn-amazon:hover { background: linear-gradient(135deg, #ffcd66 0%, #ffab33 100%); color: #1a1300; }
.gpu-hero .actions .btn-ghost { border-width: 1px; }

/* GPU-Hero: ruhige Button-Hierarchie
   Zeile 1: Vergleichen (einziger Verlauf, volle Breite) · Zeile 2: Amazon + Benchmarks gleich breit */
.gpu-hero .actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.gpu-hero .actions .btn { width: 100%; }
.gpu-hero .actions .btn-primary { grid-column: 1 / -1; order: -1; box-shadow: 0 8px 22px -12px color-mix(in srgb, var(--accent) 55%, transparent); }
.gpu-hero .actions .btn-amazon { background: #ffb020; box-shadow: none; }
.gpu-hero .actions .btn-amazon:hover { background: #ffbe45; }
@media (max-width: 420px) { .gpu-hero .actions { grid-template-columns: 1fr; } }

/* Zwei Buttons 50/50 nebeneinander (z. B. GPU in Benchmark) */
.gpu-hero .actions.actions-2 .btn-primary { grid-column: auto; order: 0; }

/* Hero-Buttons: Spalten dürfen schrumpfen, Text darf umbrechen (kein Überlaufen auf Mobilgeräten) */
.gpu-hero .actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gpu-hero .actions .btn { min-width: 0; height: auto; min-height: 50px; padding: 10px 14px; white-space: normal; line-height: 1.25; text-align: center; }
.gpu-hero .actions .btn svg { flex: 0 0 auto; }
@media (max-width: 420px) { .gpu-hero .actions { grid-template-columns: minmax(0, 1fr); } }

/* Dark Mode: Verlaufsbuttons nur noch dezent schattiert statt leuchtend */
:root:not([data-theme="light"]) .btn-primary,
:root:not([data-theme="light"]) .gpu-hero .actions .btn-primary { box-shadow: 0 4px 12px -8px rgba(0,0,0,.6); }
:root:not([data-theme="light"]) .vs-side-1,
:root:not([data-theme="light"]) .vs-side-2 { box-shadow: 0 4px 12px -8px rgba(0,0,0,.6); }
:root:not([data-theme="light"]) .btn-amazon { box-shadow: 0 4px 12px -8px rgba(0,0,0,.6); }

/* Heller Modus: Verlaufsbuttons ebenfalls nur dezent schattiert statt leuchtend */
:root[data-theme="light"] .btn-primary,
:root[data-theme="light"] .gpu-hero .actions .btn-primary,
:root[data-theme="light"] .vs-side-1,
:root[data-theme="light"] .vs-side-2,
:root[data-theme="light"] .btn-amazon { box-shadow: 0 4px 10px -6px rgba(15,23,42,.28); }

/* Inhaltscontainer mit fester Breite: Freestar setzt die Sidewalls links/rechts daneben */
#page { position: relative; max-width: var(--wrap); margin: 0 auto; }
#page > .wrap, #page main > .wrap { max-width: 100%; }

/* Aktionsleiste Startseite: auf Mobilgeräten nicht überlaufen */
@media (max-width: 899px) {
  .vs-cta { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .vs-cta .btn { min-width: 0; height: auto; min-height: 56px; padding: 10px 14px; white-space: normal; }
  .vs-cta .btn-lg { min-width: 0; width: 100%; }
  .vs-side-btn { gap: 10px; }
  .vs-side-btn .vsb-txt { min-width: 0; font-size: .85rem; }
}
@media (max-width: 460px) {
  .vs-cta { grid-template-columns: minmax(0, 1fr); }
  .vs-side-btn, .vs-side-btn.vs-side-2 { justify-content: flex-start; text-align: left; }
  .vs-side-btn.vs-side-2 { flex-direction: row-reverse; justify-content: flex-end; }
}
