/* ============================================================
   Up-Gaming — B—Line-inspired design system
   Minimalist editorial: black-on-white, huge wordmark,
   monospace meta/nav, hairline grids, poster "sheet".
   ============================================================ */

:root {
  /* Light / editorial palette */
  --bg:            #e7e7e7;   /* page (gray, shows around the sheet) */
  --sheet:         #ffffff;   /* the white poster */
  --bg-2:          #f4f4f4;   /* alternating section band */
  --surface:       #ffffff;
  --surface-2:     #f6f6f6;
  --border:        #000000;   /* strong rule (boxes) */
  --line:          #e2e2e2;   /* hairline */
  --line-soft:     #ededed;
  --border-soft:   #ededed;   /* alias (referenced by inline section styles) */

  --text:          #000000;
  --text-muted:    #5e5e5e;
  --text-dim:      #9a9a9a;

  --accent:        #000000;   /* B—Line is monochrome */
  --pill:          #e3e3e3;

  /* Functional status colors (GTA check, badges) */
  --green:         #1f9d4d;
  --yellow:        #b8860b;
  --red:           #d23030;

  --radius:        0px;
  --radius-sm:     0px;
  --radius-lg:     0px;

  --maxw:          1280px;     /* inner content width (aligns with sheet) */
  --sheetw:        1360px;     /* poster width */
  --gutter:        clamp(16px, 3.5vw, 40px);

  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-head: "Inter", var(--font-sans);
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --ease: cubic-bezier(.4, 0, .2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 64px; -webkit-text-size-adjust: 100%; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.55;
  letter-spacing: -0.02em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.05; letter-spacing: -0.035em; font-weight: 800; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

.section { padding-block: clamp(46px, 6vw, 86px); border-top: 1px solid var(--line); }
.section--tight { padding-block: clamp(38px, 5vw, 64px); }

.section-head { max-width: 760px; margin-bottom: clamp(26px, 4vw, 44px); }
.section-head h2 { font-size: clamp(26px, 4.2vw, 46px); margin-bottom: 12px; letter-spacing: -0.045em; }
.section-head p { color: var(--text-muted); font-size: clamp(14px, 1.5vw, 17px); }

/* Monospace section label (replaces the old "eyebrow") */
.eyebrow {
  display: inline-block; font-family: var(--font-mono); font-weight: 500;
  font-size: 12px; letter-spacing: 0; text-transform: none;
  color: var(--text); margin-bottom: 14px;
  border-bottom: 1px solid var(--border); padding-bottom: 2px;
}

/* ---------- Buttons (B—Line "boxed link" style) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-mono); font-weight: 500; font-size: 13px; letter-spacing: 0;
  padding: 11px 18px; border-radius: 0; border: 1px solid var(--border);
  background: var(--sheet); color: var(--text); cursor: pointer;
  transition: background .15s var(--ease), color .15s var(--ease);
  white-space: nowrap;
}
.btn:hover { background: var(--text); color: var(--sheet); }
.btn--primary { background: var(--text); color: var(--sheet); }
.btn--primary:hover { background: var(--sheet); color: var(--text); }
.btn--ghost, .btn--dark { background: var(--sheet); color: var(--text); }
.btn--sm { padding: 8px 13px; font-size: 12px; }
.btn--block { width: 100%; }

/* ============================================================
   Fixed corner pills (B—Line top bar)
   ============================================================ */
.topbar {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; justify-content: space-between; align-items: flex-start;
  padding: 14px var(--gutter); pointer-events: none;
}
.topbar > * { pointer-events: auto; }
.pill {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--pill); border-radius: 999px; padding: 8px 16px;
  font-family: var(--font-mono); font-size: 12px; cursor: pointer;
}
.pill a, .pill span { cursor: pointer; }
.pill a:hover { opacity: .55; }
.pill--solid { background: var(--text); color: var(--sheet); }
.pill--solid:hover { opacity: .85; }

/* ============================================================
   Sheet (white poster on gray page)
   ============================================================ */
.sheet {
  background: var(--sheet);
  max-width: var(--sheetw);
  margin: 0 auto;
  padding-top: 58px;        /* clearance for fixed pills */
  border-inline: 1px solid var(--line);
  overflow: hidden;
}

/* ============================================================
   Masthead: intro + wordmark + monospace nav
   ============================================================ */
.masthead { max-width: var(--maxw); margin-inline: auto; padding: 18px var(--gutter) 0; }

.intro-lead {
  max-width: 1180px;
  font-size: 11.5px; line-height: 1.5; text-align: justify; font-weight: 500;
  color: var(--text); padding-bottom: 6px;
}

.wordmark {
  font-weight: 800; font-size: clamp(38px, 13vw, 190px);
  line-height: .82; letter-spacing: -0.055em; white-space: nowrap;
  text-align: center; margin: -.02em 0 0;
}

/* B—Line-style monospace nav row — clean stacked columns */
.blnav {
  display: grid;
  grid-template-columns: 160px 1fr 1fr 1.5fr;
  gap: 28px; align-items: start;
  font-family: var(--font-mono); font-size: 12px; line-height: 1.7;
  padding: 12px 0 18px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.blnav .nav-logo { font-family: var(--font-head); font-weight: 800; font-size: 18px; letter-spacing: -0.05em; }
.blnav .col { display: flex; flex-direction: column; gap: 4px; }
.blnav .lbl {
  color: var(--text-dim); margin-bottom: 4px; padding-bottom: 6px;
  border-bottom: 1px solid var(--line);
}
.blnav a { width: fit-content; }
.blnav a:hover { opacity: .5; }
.blnav a[aria-current="page"] { border-bottom: 1px solid var(--border); }
.blnav .addr { color: var(--text-muted); }

/* Mobile menu toggle (hamburger lives in a pill) */
.hamburger {
  display: none; width: 32px; height: 22px; border: 0; background: none; cursor: pointer;
  flex-direction: column; justify-content: space-between; padding: 4px 0;
}
.hamburger span, .hamburger span::before, .hamburger span::after {
  content: ""; display: block; width: 22px; height: 1.5px; background: var(--text); transition: transform .2s var(--ease), opacity .2s;
}
.hamburger span { position: relative; }
.hamburger span::before { position: absolute; top: -7px; }
.hamburger span::after  { position: absolute; top: 7px; }
.header.open .hamburger span { background: transparent; }
.header.open .hamburger span::before { transform: translateY(7px) rotate(45deg); }
.header.open .hamburger span::after  { transform: translateY(-7px) rotate(-45deg); }

/* The old .header / .nav wrappers are not used as sticky anymore,
   but legal/danke pages still reference them — keep them clean. */
.header { background: var(--sheet); border-bottom: 1px solid var(--line); }
.header .nav { display: flex; align-items: center; gap: 20px; height: 64px; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.brand { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 800; font-size: 20px; letter-spacing: -0.05em; }
.brand .mark { display: none; }   /* monochrome wordmark only */
.nav-links { display: flex; gap: 4px; margin-left: 8px; font-family: var(--font-mono); font-size: 13px; }
.nav-links a { padding: 6px 10px; color: var(--text-muted); }
.nav-links a:hover { color: var(--text); }
.nav-cta { margin-left: auto; }

.mobile-menu { display: none; border-bottom: 1px solid var(--line); background: var(--sheet); }
.mobile-menu.show { display: block; }
.mobile-menu .container { display: flex; flex-direction: column; padding-block: 12px; gap: 2px; }
.mobile-menu a { padding: 11px 4px; font-family: var(--font-mono); font-size: 14px; color: var(--text-muted); border-bottom: 1px solid var(--line-soft); }
.mobile-menu a:hover { color: var(--text); }
.mobile-menu .btn { margin-top: 10px; }

@media (max-width: 860px) {
  .blnav { grid-template-columns: 1fr 1fr; }
  .blnav .nav-logo { grid-column: 1 / -1; }
  .nav-links, .nav-cta .btn { display: none; }
  .hamburger { display: flex; }
}
@media (max-width: 520px) { .blnav { grid-template-columns: 1fr; } }

/* ============================================================
   Hero band (headline + sub + CTAs)
   ============================================================ */
.hero { padding: clamp(34px, 5vw, 64px) 0; border-top: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(26px, 5vw, 60px); align-items: center; }
.hero h1 { font-size: clamp(30px, 4.6vw, 56px); letter-spacing: -0.045em; margin-bottom: 18px; }
.hero h1 .hl { background: var(--text); color: var(--sheet); padding: 0 .12em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.hero .sub { font-size: clamp(15px, 1.7vw, 18px); color: var(--text-muted); max-width: 580px; margin-bottom: 26px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-visual {
  aspect-ratio: 4/3; border: 1px solid var(--border); background: var(--surface-2);
  display: grid; place-items: center; text-align: center;
}
.hero-visual .ph-label { color: var(--text-dim); font-size: 12px; font-family: var(--font-mono); padding: 18px; }
.hero-visual .pc-icon { width: 80px; height: 80px; opacity: .35; color: var(--text); }
@media (max-width: 820px) { .hero-grid { grid-template-columns: 1fr; } .hero-visual { order: -1; max-height: 280px; } }

/* ============================================================
   Trust-Bar
   ============================================================ */
.trustbar { border-top: 1px solid var(--line); background: var(--bg-2); }
.trustbar .container { display: grid; grid-template-columns: repeat(5, 1fr); }
.trust-item {
  display: flex; align-items: center; gap: 9px; padding: 18px 14px; font-size: 12.5px; font-weight: 500;
  font-family: var(--font-mono); border-left: 1px solid var(--line);
}
.trust-item:first-child { border-left: 0; }
.trust-item svg { width: 17px; height: 17px; color: var(--text); flex: none; }
@media (max-width: 900px) { .trustbar .container { grid-template-columns: repeat(2, 1fr); } .trust-item { border-left: 0; border-top: 1px solid var(--line); } }
@media (max-width: 480px) { .trustbar .container { grid-template-columns: 1fr; } }

/* ============================================================
   Cards (generic)
   ============================================================ */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 0; padding: 22px; }

/* ---------- Inventar / PC cards ---------- */
.pc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: -1px; }
.pc-grid { gap: 0; }
.pc-card { display: flex; flex-direction: column; overflow: hidden; padding: 0; margin: 0 -1px -1px 0; }
.pc-card .pc-media { aspect-ratio: 16/11; background: var(--surface-2); display: grid; place-items: center; border-bottom: 1px solid var(--border); position: relative; }
.pc-card .pc-media svg { width: 60px; height: 60px; color: var(--text-dim); }
.pc-media img { width: 100%; height: 100%; object-fit: cover; }
.pc-card .badge { position: absolute; top: 10px; left: 10px; background: var(--text); color: var(--sheet); font-family: var(--font-mono); font-size: 11px; padding: 3px 8px; }
.pc-card .badge--sold { background: var(--surface-2); color: var(--text-muted); border: 1px solid var(--border); }
.pc-card .pc-body { padding: 18px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.pc-card h3 { font-size: 19px; letter-spacing: -0.04em; }
.pc-specs { display: flex; flex-direction: column; gap: 6px; font-family: var(--font-mono); font-size: 12.5px; color: var(--text-muted); }
.pc-specs li { display: flex; gap: 8px; }
.pc-specs .k { color: var(--text-dim); min-width: 42px; }
.pc-specs .v { color: var(--text); }
.pc-foot { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding-top: 6px; }
.pc-price { font-family: var(--font-head); font-weight: 800; font-size: 22px; letter-spacing: -0.04em; }
.pc-price small { display: block; font-size: 11px; color: var(--text-dim); font-weight: 500; font-family: var(--font-mono); letter-spacing: 0; }
@media (max-width: 940px) { .pc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .pc-grid { grid-template-columns: 1fr; } }

.empty-state { border: 1px solid var(--border); padding: 38px; text-align: center; color: var(--text-muted); }
.empty-state p { max-width: 540px; margin: 0 auto 18px; }

/* ============================================================
   Services (3-col)
   ============================================================ */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.svc-card { display: flex; flex-direction: column; gap: 14px; margin: 0 -1px -1px 0; }
.svc-icon { width: 44px; height: 44px; border: 1px solid var(--border); display: grid; place-items: center; color: var(--text); }
.svc-icon svg { width: 22px; height: 22px; }
.svc-card h3 { font-size: 20px; letter-spacing: -0.04em; }
.svc-bullets { display: flex; flex-direction: column; gap: 9px; font-size: 14px; color: var(--text-muted); }
.svc-bullets li { display: flex; gap: 9px; }
.svc-bullets svg { width: 16px; height: 16px; color: var(--text); flex: none; margin-top: 3px; }
.svc-card .btn { margin-top: auto; }
@media (max-width: 940px) { .svc-grid { grid-template-columns: 1fr; } }

/* ============================================================
   Warum
   ============================================================ */
.warum-figure { margin-bottom: 36px; }
.warum-figure .img-wrap { border: 1px solid var(--border); background: var(--surface-2); aspect-ratio: 21/9; display: grid; place-items: center; text-align: center; }
.warum-figure .img-wrap .ph-label { color: var(--text-dim); font-family: var(--font-mono); font-size: 12px; padding: 22px; }
.warum-figure figcaption { color: var(--text-dim); font-family: var(--font-mono); font-size: 11.5px; margin-top: 9px; }
.warum-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid var(--line); }
.warum-item { padding: 22px; border-bottom: 1px solid var(--line); border-left: 1px solid var(--line); }
.warum-item:nth-child(2n+1) { border-left: 0; }
.warum-item h3 { font-size: 18px; margin-bottom: 7px; display: flex; gap: 10px; align-items: baseline; letter-spacing: -0.04em; }
.warum-item .num { font-family: var(--font-mono); font-weight: 500; font-size: 13px; color: var(--text-dim); }
.warum-item p { color: var(--text-muted); font-size: 14px; }
@media (max-width: 760px) { .warum-grid { grid-template-columns: 1fr; } .warum-item { border-left: 0; } }

/* ============================================================
   Setup-Empfehlungen (tabs + affiliate)
   ============================================================ */
.tabs { display: flex; gap: 0; flex-wrap: wrap; margin-bottom: 26px; border: 1px solid var(--border); width: fit-content; }
.tab { padding: 10px 18px; border: 0; border-right: 1px solid var(--border); background: var(--sheet); color: var(--text-muted); font-family: var(--font-mono); font-size: 13px; cursor: pointer; transition: all .12s var(--ease); }
.tab:last-child { border-right: 0; }
.tab:hover { color: var(--text); }
.tab.active { background: var(--text); color: var(--sheet); }
.tabpanel { display: none; }
.tabpanel.active { display: block; }

.aff-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.aff-card { display: flex; flex-direction: column; gap: 11px; padding: 16px; margin: 0 -1px -1px 0; }
.aff-card .aff-media { aspect-ratio: 1; border: 1px solid var(--border); background: var(--surface-2); display: grid; place-items: center; }
.aff-card .aff-media svg { width: 36px; height: 36px; color: var(--text-dim); }
.aff-cat { font-family: var(--font-mono); font-size: 11px; color: var(--text); }
.aff-card h4 { font-size: 15px; font-weight: 700; line-height: 1.25; letter-spacing: -0.03em; }
.aff-card .aff-note { font-size: 13px; color: var(--text-muted); flex: 1; }
@media (max-width: 940px) { .aff-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .aff-grid { grid-template-columns: 1fr; } }

.disclosure { margin-top: 24px; padding: 15px 18px; border: 1px solid var(--border); background: var(--bg-2); font-family: var(--font-mono); font-size: 12px; line-height: 1.6; color: var(--text-muted); }
.disclosure strong { color: var(--text); }

/* ============================================================
   GTA teaser
   ============================================================ */
.gta-teaser .inner { border: 1px solid var(--border); background: var(--sheet); padding: clamp(28px, 5vw, 56px); display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; align-items: center; }
.gta-teaser h2 { font-size: clamp(24px, 3.8vw, 40px); margin-bottom: 12px; letter-spacing: -0.045em; }
.gta-teaser p { color: var(--text-muted); margin-bottom: 22px; max-width: 560px; }
.gta-teaser .gta-visual { aspect-ratio: 4/3; border: 1px solid var(--border); background: var(--surface-2); display: grid; place-items: center; color: var(--text-dim); font-family: var(--font-mono); font-size: 12px; text-align: center; padding: 16px; }
@media (max-width: 760px) { .gta-teaser .inner { grid-template-columns: 1fr; } }

/* ============================================================
   FAQ accordion
   ============================================================ */
.accordion { display: flex; flex-direction: column; border-top: 1px solid var(--border); max-width: 880px; }
.acc-item { border-bottom: 1px solid var(--border); background: var(--sheet); }
.acc-q { width: 100%; text-align: left; cursor: pointer; background: none; border: none; color: var(--text); font-family: var(--font-head); font-weight: 700; font-size: 16px; letter-spacing: -0.03em; padding: 16px 4px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.acc-q .chev { width: 18px; height: 18px; flex: none; transition: transform .2s var(--ease); color: var(--text); }
.acc-item.open .chev { transform: rotate(180deg); }
.acc-a { max-height: 0; overflow: hidden; transition: max-height .28s var(--ease); }
.acc-a-inner { padding: 0 4px 18px; color: var(--text-muted); font-size: 14.5px; max-width: 760px; }

/* ============================================================
   Kontakt
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 28px; }
.contact-info { display: flex; flex-direction: column; gap: 0; border: 1px solid var(--border); }
.contact-row { display: flex; gap: 14px; align-items: center; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.contact-row:last-child { border-bottom: 0; }
.contact-row .ci { width: 36px; height: 36px; flex: none; display: grid; place-items: center; border: 1px solid var(--border); color: var(--text); }
.contact-row .ci svg { width: 18px; height: 18px; }
.contact-row .lbl { font-family: var(--font-mono); font-size: 11px; color: var(--text-dim); }
.contact-row .val { font-size: 16px; font-weight: 600; letter-spacing: -0.02em; }
.contact-row a.val:hover { opacity: .55; }

.form { display: flex; flex-direction: column; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .check-field label { font-family: var(--font-mono); font-size: 12px; color: var(--text-muted); }
.field input, .field textarea, .check-field select, .check-field input[type="text"] {
  background: var(--sheet); border: 1px solid var(--border); border-radius: 0;
  padding: 12px 14px; color: var(--text); font-family: inherit; font-size: 16px; width: 100%;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field textarea:focus, .check-field select:focus { outline: 2px solid var(--text); outline-offset: -2px; }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }

/* ============================================================
   Footer
   ============================================================ */
.footer { border-top: 1px solid var(--border); background: var(--sheet); padding-block: 46px 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; margin-bottom: 32px; }
.footer .tagline { color: var(--text-muted); margin-top: 12px; max-width: 320px; font-size: 14px; }
.footer h4 { font-family: var(--font-mono); font-size: 12px; font-weight: 500; text-transform: none; color: var(--text-dim); margin-bottom: 12px; letter-spacing: 0; }
.footer ul { display: flex; flex-direction: column; gap: 8px; font-family: var(--font-mono); font-size: 13px; }
.footer ul a { color: var(--text-muted); }
.footer ul a:hover { color: var(--text); }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 22px; display: flex; flex-direction: column; gap: 12px; }
.footer-disclosure { font-family: var(--font-mono); font-size: 11.5px; color: var(--text-dim); max-width: 720px; line-height: 1.6; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 34px; height: 34px; border: 1px solid var(--border); display: grid; place-items: center; color: var(--text-muted); }
.footer-social a:hover { color: var(--text); }
.copyright { font-family: var(--font-mono); font-size: 11.5px; color: var(--text-dim); }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 26px; } }

/* ============================================================
   GTA-VI-Check page
   ============================================================ */
.check-hero { padding: clamp(30px, 5vw, 56px) 0 0; border-top: 0; }
.check-hero h1 { font-size: clamp(28px, 4.8vw, 50px); margin-bottom: 16px; max-width: 880px; letter-spacing: -0.045em; }
.check-hero .intro { color: var(--text-muted); font-size: clamp(15px, 1.7vw, 18px); max-width: 720px; }

.check-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: start; }
.check-form { display: flex; flex-direction: column; gap: 16px; }
.check-field { display: flex; flex-direction: column; gap: 7px; }
.check-field .hint { font-family: var(--font-mono); font-size: 11.5px; color: var(--text-dim); }

.toggle-row { display: flex; gap: 0; border: 1px solid var(--border); width: fit-content; }
.toggle-row label { display: block; }
.toggle-row .toggle-opt { padding: 11px 26px; border-right: 1px solid var(--border); cursor: pointer; text-align: center; font-family: var(--font-mono); font-size: 13px; transition: all .12s var(--ease); }
.toggle-row label:last-child .toggle-opt { border-right: 0; }
.toggle-row input { position: absolute; opacity: 0; pointer-events: none; }
.toggle-row input:checked + .toggle-opt { background: var(--text); color: var(--sheet); }

.result { border: 1px solid var(--border); background: var(--sheet); padding: 24px; position: sticky; top: 70px; }
.result.empty { color: var(--text-muted); }
.result-badge { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-weight: 500; font-size: 14px; padding: 7px 14px; border: 1px solid var(--border); margin-bottom: 16px; }
.result-badge.green  { color: var(--green);  border-color: var(--green); }
.result-badge.yellow { color: var(--yellow); border-color: var(--yellow); }
.result-badge.red    { color: var(--red);    border-color: var(--red); }
.result h3 { font-size: 21px; margin-bottom: 11px; letter-spacing: -0.04em; }
.result .result-text { color: var(--text-muted); margin-bottom: 18px; }
.result .result-text b { color: var(--text); }
.result-ctas { display: flex; flex-direction: column; gap: 9px; }

.score-bars { display: flex; flex-direction: column; gap: 11px; margin: 16px 0 20px; }
.score-bar .sb-top { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 12px; margin-bottom: 4px; }
.score-bar .sb-top .sb-val { color: var(--text-dim); }
.sb-track { height: 7px; background: var(--surface-2); overflow: hidden; border: 1px solid var(--border); }
.sb-fill { height: 100%; transition: width .4s var(--ease); }
.sb-fill.s0 { background: var(--red); }
.sb-fill.s1 { background: var(--yellow); }
.sb-fill.s2 { background: #555; }
.sb-fill.s3 { background: var(--green); }

.spec-table { width: 100%; border-collapse: collapse; font-family: var(--font-mono); font-size: 12.5px; margin-top: 8px; }
.spec-table th, .spec-table td { text-align: left; padding: 9px 11px; border: 1px solid var(--line); }
.spec-table th { color: var(--text-dim); font-weight: 500; }
.spec-table tbody td:first-child { color: var(--text); font-weight: 500; }
.spec-table td { color: var(--text-muted); }
@media (max-width: 880px) { .check-layout { grid-template-columns: 1fr; } .result { position: static; } }

/* ---------- utilities ---------- */
.muted { color: var(--text-muted); }
.center { text-align: center; }
.mt-24 { margin-top: 22px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

code { font-family: var(--font-mono); font-size: .9em; }

/* ============================================================
   Legal / prose pages (Impressum, AGB, Datenschutz, Widerruf)
   Additive only — reuses existing tokens, fonts and colors.
   ============================================================ */
.prose { max-width: 820px; }
.prose h1 { font-size: clamp(28px, 5vw, 42px); margin-bottom: 10px; }
.prose h2 { font-size: clamp(19px, 2.4vw, 24px); letter-spacing: -0.035em; margin: 36px 0 10px; }
.prose h3 { font-size: 16px; letter-spacing: -0.02em; margin: 24px 0 8px; }
.prose p { color: var(--text-muted); margin-bottom: 12px; }
.prose p.lead { color: var(--text); font-size: clamp(15px, 1.6vw, 17px); margin-bottom: 8px; }
.prose a { text-decoration: underline; text-underline-offset: 2px; }
.prose a:hover { opacity: .6; }
.prose strong { color: var(--text); }
.prose ul { margin: 0 0 14px; display: flex; flex-direction: column; gap: 7px; }
.prose ul li { color: var(--text-muted); padding-left: 18px; position: relative; }
.prose ul li::before { content: "–"; position: absolute; left: 0; color: var(--text-dim); }
.prose .addr-block { color: var(--text); font-family: var(--font-mono); font-size: 13.5px; line-height: 1.7; margin: 6px 0 16px; }
.prose .note { font-size: 13px; color: var(--text-dim); margin-top: 28px; }
.prose .legal-form {
  font-family: var(--font-mono); font-size: 13px; line-height: 1.9; color: var(--text);
  white-space: pre-wrap; border: 1px solid var(--border); background: var(--surface-2);
  padding: 22px; margin: 8px 0 16px;
}
.prose .legal-form { overflow-x: auto; }

/* ============================================================
   Logo embed (Variante B — Lockup) + One-Shot utility classes
   ============================================================ */
.brand-logo { height: 32px; width: auto; display: block; }
@media (max-width: 640px) { .brand-logo { height: 28px; } }

/* The brand link now wraps only the logo image */
.brand { gap: 0; }

/* Masthead: mini lockup instead of text wordmark */
.blnav .nav-logo img { height: 24px; width: auto; display: block; }

/* Hero: big lockup instead of giant Sora wordmark */
.hero-lockup { height: 120px; width: auto; display: block; margin: 0 auto; }
@media (max-width: 640px) { .hero-lockup { height: 72px; } }

/* Inventar: example-config note under the price */
.pc-note { font-size: 0.78rem; color: var(--text-muted); margin-top: 8px; font-style: italic; }

/* Soft badge (e.g. "Auf Anfrage") */
.badge--soft { display: inline-block; background: var(--bg-2); color: var(--text); border: 1px solid var(--border); font-family: var(--font-mono); font-size: 11px; padding: 4px 9px; margin-top: 4px; }

/* Affiliate card real product images */
.aff-media img { width: 100%; height: 100%; object-fit: contain; padding: 12px; }

/* Hero: big U-mark with "level-up" motion */
.hero-visual { background: transparent; border: none; position: relative; }
.hero-umark { position: relative; z-index: 1; width: min(52%, 165px); height: auto; display: block; image-rendering: auto; will-change: transform; animation: umark-levelup 2.6s var(--ease) infinite; }
@keyframes umark-levelup {
  0%, 100% { transform: translateY(8px) scale(0.985); }
  50%      { transform: translateY(-8px) scale(1.015); }
}
/* Faint rising chevrons behind the mark — reinforces the "Up" motif */
.hero-uplift { position: absolute; left: 50%; top: 7%; translate: -50% 0; z-index: 2; display: flex; flex-direction: column; gap: 6px; pointer-events: none; }
.hero-uplift span { width: 34px; height: 34px; border-left: 4px solid var(--text); border-top: 4px solid var(--text); transform: rotate(45deg); opacity: 0; animation: uplift-rise 3.6s var(--ease) infinite; }
.hero-uplift span:nth-child(2) { animation-delay: .4s; }
@keyframes uplift-rise {
  0%   { opacity: 0; transform: rotate(45deg) translate(-6px, 14px); }
  25%  { opacity: .16; }
  55%  { opacity: 0; transform: rotate(45deg) translate(-6px, -14px); }
  100% { opacity: 0; }
}
.pc-illustration { width: min(62%, 300px); height: auto; color: var(--text); opacity: .88; }

/* GTA teaser: mini "result" mockup of the check tool */
.gta-mock { width: min(100%, 320px); display: flex; flex-direction: column; gap: 14px; text-align: left; }
.gta-mock .result-badge { margin: 0; }
.gta-mock .mock-row { display: flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 12px; color: var(--text-muted); }
.gta-mock .mock-row > span { width: 34px; flex: none; }
.gta-mock .sb-track { flex: 1; }

/* GTA mock: JS cycles through different check results — bars glide, badge fades */
.gta-mock .sb-fill { width: 0; transition: width .7s var(--ease), background-color .5s var(--ease); }
.gta-mock .result-badge { transition: opacity .3s var(--ease), transform .3s var(--ease); }

/* ============================================================
   Mobile optimisation — fine tuning for phones (<= 600px)
   ============================================================ */
@media (max-width: 600px) {
  /* Full-bleed sheet on phones (gray side frame is pointless here) */
  .sheet { border-inline: 0; padding-top: 54px; }

  /* Lead text: readable size, no ragged justify on narrow screens */
  .intro-lead { text-align: left; font-size: 13px; line-height: 1.55; }

  /* Hero CTAs: full-width, stacked, easy to tap */
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { width: 100%; }

  /* Comfortable tap targets */
  .btn { padding: 13px 18px; }
  .btn--sm { padding: 11px 15px; }

  /* Nav columns: more spacing + bigger tap areas */
  .blnav { gap: 22px 24px; }
  .blnav .col { gap: 9px; }
  .blnav a { padding: 3px 0; }

  /* Setup tabs: keep one row, scroll horizontally if needed */
  .tabs { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .tab { flex: 1 0 auto; white-space: nowrap; }

  /* GTA spec table stays inside the screen */
  .spec-table { font-size: 11px; }
  .spec-table th, .spec-table td { padding: 7px 6px; }

  /* Long emails/words never overflow */
  .blnav a, .contact-row a, .prose a { word-break: break-word; overflow-wrap: anywhere; }

  /* Tame oversized inner padding */
  .gta-teaser .inner { padding: 24px; }
}

/* Very small phones: keep the wordmark from clipping */
@media (max-width: 360px) {
  .wordmark { font-size: 12.5vw; letter-spacing: -0.05em; }
}

/* Respect reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
