/* Erzeugt aus apps/zack-billiger/src/shared/theme.js (Webseite-v7/buildlib/zack_billiger.py). */
:root { --accent: #d3031c; --accent-hover: #b50318; --accent-text: #b50318; --on-accent: #ffffff; --accent-soft: color-mix(in srgb, #d3031c 10%, transparent); --accent-soft-strong: color-mix(in srgb, #d3031c 18%, transparent); --accent-line: color-mix(in srgb, #d3031c 28%, transparent); }
@media (prefers-color-scheme: dark) { :root[data-theme="auto"] { --accent: #fc4057; --accent-hover: #fc5e71; --accent-text: #fc5e71; --on-accent: #111214; --accent-soft: color-mix(in srgb, #fc4057 10%, transparent); --accent-soft-strong: color-mix(in srgb, #fc4057 18%, transparent); --accent-line: color-mix(in srgb, #fc4057 28%, transparent); } }
:root[data-theme="dark"] { --accent: #fc4057; --accent-hover: #fc5e71; --accent-text: #fc5e71; --on-accent: #111214; --accent-soft: color-mix(in srgb, #fc4057 10%, transparent); --accent-soft-strong: color-mix(in srgb, #fc4057 18%, transparent); --accent-line: color-mix(in srgb, #fc4057 28%, transparent); }

/* Nur Zack billiger. Seitengerüst, Abstände, Buttons und Rechtstexte: zack.css.
   Die Akzent-Tokens davor erzeugt der Build; hier stehen keine Farbwerte.
   KI- und Typing-Builds liefern diese Datei nicht aus. */
.logo-mark--billiger { color: var(--fg); --zmark-accent: var(--accent); --zmark-cut: var(--bg); }

/* Kopf ohne Menü: Sprache und Darstellung bleiben auch auf dem Handy sichtbar. */
.site-header--compact .header-actions .lang-switch,
.site-header--compact .header-actions .theme-toggle { display: inline-flex; }
.site-header--compact .logo { white-space: nowrap; }
.lang-switch .lang-code { display: none; }

.bh-icon .icon, .bh-node-icon .icon { width: 22px; height: 22px; }

/* --- Einstieg: Text links, Chatfenster rechts -------------------------------- */
.bh-hero {
  position: relative; overflow: hidden;
  padding-block: clamp(var(--sp-6), 6vw, var(--sp-9)) clamp(var(--sp-7), 6vw, var(--sp-9));
  background:
    radial-gradient(60% 70% at 85% 30%, var(--accent-soft-strong), transparent 70%),
    radial-gradient(40% 50% at 5% 0%, var(--accent-soft), transparent 70%);
}
.bh-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(var(--edge-strong) 1px, transparent 1px);
  background-size: 22px 22px; opacity: .35;
  mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}
.bh-grid {
  position: relative; display: grid; gap: clamp(var(--sp-6), 5vw, var(--sp-8));
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); align-items: center;
}
.bh-copy h1 { font-size: clamp(2.3rem, 1.5rem + 3.2vw, 4rem); line-height: 1.04; letter-spacing: -0.035em; margin-bottom: var(--sp-4); }
.bh-copy .lead { max-width: 34em; }
.bh-copy .hero-actions { margin-top: var(--sp-5); }
.bh-copy .btn .icon { width: 18px; height: 18px; margin-left: 2px; }
/* Vor der Veröffentlichung: ruhige Statuszeile statt Button, kein toter Knopf. */
.bh-status {
  display: inline-flex; align-items: center; gap: 10px; margin: 0;
  padding: 10px 16px; border: 1px dashed var(--edge-strong); border-radius: var(--r-pill);
  background: var(--surface); color: var(--fg); font-weight: 600;
}
.bh-status::before {
  content: ""; flex: none; width: 9px; height: 9px; border-radius: 50%;
  background: var(--warn); box-shadow: 0 0 0 4px var(--warn-soft);
}

/* Chatfenster */
.bh-window {
  position: relative; margin: 0;
  background: var(--surface); border: 1px solid var(--edge); border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
}
.bh-window-bar {
  display: flex; align-items: center; gap: 6px; padding: 12px 16px;
  border-bottom: 1px solid var(--edge); color: var(--fg-subtle); font-size: .8rem; font-weight: 600;
}
.bh-window-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--surface-3); }
.bh-window-bar span { margin-left: auto; margin-right: auto; padding-right: 40px; }
.bh-window-body { display: grid; gap: var(--sp-3); padding: var(--sp-4) var(--sp-5) var(--sp-5); }
.bh-window-label { margin: 0; color: var(--fg-subtle); font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.bh-window-caption { padding: 0 var(--sp-5) var(--sp-4); color: var(--fg-subtle); font-size: .8rem; line-height: 1.45; }

.bh-msg { max-width: 88%; margin: 0; padding: 10px 14px; border-radius: var(--r-md); line-height: 1.45; }
.bh-msg--user { justify-self: end; background: var(--surface-2); color: var(--fg); border-bottom-right-radius: var(--r-xs); }
.bh-msg--reply { justify-self: start; padding-inline: 0; color: var(--fg); }
.bh-msg--results { justify-self: stretch; max-width: none; padding-block: 0; }
.bh-tool {
  justify-self: start; display: inline-flex; align-items: center; gap: 8px; margin: 0;
  padding: 6px 12px 6px 8px; border-radius: var(--r-pill);
  background: var(--accent-soft); color: var(--accent-text); font-size: .84rem; font-weight: 600;
}
.bh-tool .logo-mark { width: 18px; height: 18px; }
.bh-tool .icon { width: 15px; height: 15px; color: var(--ok); }

/* Schematische Treffer: gezeichnete Kabel, Textbalken, Felder einer echten Antwort. */
.bh-cards { display: grid; gap: 10px; }
.bh-card {
  display: flex; align-items: center; gap: var(--sp-3);
  padding: 10px 12px 10px 10px; border: 1px solid var(--edge); border-radius: var(--r-md); background: var(--surface);
}
.bh-thumb {
  --bh-thumb-bg: var(--accent-soft); display: grid; place-items: center; flex: none;
  width: 58px; height: 58px; border-radius: var(--r-sm); background: var(--bh-thumb-bg); color: var(--accent);
}
.bh-thumb svg { width: 40px; height: 40px; }
.bh-card:nth-child(2) .bh-thumb { --bh-thumb-bg: var(--surface-2); color: var(--fg); }
.bh-card:nth-child(3) .bh-thumb { --bh-thumb-bg: var(--warn-soft); color: var(--warn); }
.bh-card-body { display: grid; gap: 7px; flex: 1; min-width: 0; }
.bh-line { display: block; height: 9px; width: 88%; border-radius: var(--r-pill); background: var(--surface-3); }
.bh-line--short { width: 52%; }
.bh-fields { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.bh-field {
  display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: var(--r-pill);
  background: var(--surface-2); color: var(--fg-muted); font-size: .74rem; font-weight: 600;
}
.bh-field .icon { width: 12px; height: 12px; }
.bh-field--price { background: var(--accent-soft); color: var(--accent-text); }
.bh-open {
  display: grid; place-items: center; flex: none; width: 34px; height: 34px;
  border: 1px solid var(--edge); border-radius: 50%; color: var(--fg-subtle);
}
.bh-open .icon { width: 15px; height: 15px; }

/* Echte Treffer aus einem dokumentierten ChatGPT-Lauf */
.bh-results { display: grid; gap: var(--sp-2); }
.bh-result { display: flex; align-items: center; gap: var(--sp-3); padding: 10px 12px; border: 1px solid var(--edge); border-radius: var(--r-sm); }
.bh-result img { flex: none; width: 56px; height: 56px; border-radius: var(--r-xs); object-fit: cover; }
.bh-result-text { display: grid; gap: 2px; min-width: 0; }
.bh-result-title { font-weight: 550; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bh-result-meta { display: flex; flex-wrap: wrap; gap: var(--sp-3); color: var(--fg-muted); font-size: 0.92rem; }
.bh-result-price { color: var(--fg); font-weight: 650; }

/* --- Abschnitte -------------------------------------------------------------- */
.bh-band { background: var(--bg-tint); border-block: 1px solid var(--edge); }
.bh-how .section-head, .bh-band .section-head, .bh-prompts-section .section-head, .bh-trust-section .section-head { margin-bottom: var(--sp-7); }

/* Ablauf: vier Stationen, beschriftete Verbindungen, Rückweg */
.bh-flow {
  display: grid; align-items: stretch;
  grid-template-columns: minmax(0, 1fr) 104px minmax(0, 1fr) 104px minmax(0, 1fr) 104px minmax(0, 1fr);
}
.bh-node {
  display: grid; justify-items: center; align-content: start; gap: 6px; text-align: center;
  padding: var(--sp-5) var(--sp-3); border: 1px solid var(--edge); border-radius: var(--r-lg); background: var(--surface);
}
.bh-node strong { font-size: 1.05rem; }
.bh-node > span:last-child { color: var(--fg-muted); font-size: .92rem; line-height: 1.4; }
.bh-node-icon {
  display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 4px;
  border-radius: 16px; background: var(--accent-soft); color: var(--accent);
}
.bh-node--us { border: 2px solid var(--accent); box-shadow: var(--shadow-md); }
.bh-node--us .bh-node-icon { background: var(--bg); border: 1px solid var(--edge); }
.bh-node--us .logo-mark { width: 30px; height: 30px; }
.bh-wire { position: relative; display: grid; place-items: center; }
.bh-wire::before {
  content: ""; position: absolute; left: 6px; right: 10px; top: 50%;
  border-top: 2px dashed var(--accent-line);
}
.bh-wire::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 8px; height: 8px;
  border-top: 2px solid var(--accent); border-right: 2px solid var(--accent); transform: translateY(-50%) rotate(45deg);
}
.bh-wire span {
  position: relative; z-index: 1; padding: 2px 8px; border-radius: var(--r-pill);
  background: var(--bg); border: 1px solid var(--edge); color: var(--fg-muted); font-size: .72rem; font-weight: 600;
  transform: translateY(-20px);
}
.bh-flow-back {
  display: flex; align-items: center; justify-content: center; gap: 10px; width: fit-content; max-width: 100%;
  margin: var(--sp-5) auto 0; padding: 10px 18px; border-radius: var(--r-pill);
  background: var(--accent-soft); color: var(--accent-text); font-weight: 600; text-align: center;
}
.bh-flow-back .icon { flex: none; width: 18px; height: 18px; }

/* Was ist ein MCP-Server: Text und Schaubild */
.bh-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(var(--sp-6), 5vw, var(--sp-8)); align-items: center; }
.bh-split-copy h2 { font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.4rem); margin-bottom: var(--sp-4); }
.bh-split-copy p:not(.eyebrow) { color: var(--fg-muted); font-size: 1.04rem; }
.bh-split-copy p + p { margin-top: var(--sp-3); }
.bh-mcp { display: grid; justify-items: center; max-width: 470px; width: 100%; margin-inline: auto; }
.bh-mcp-end {
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 22px;
  border: 1px solid var(--edge); border-radius: var(--r-pill); background: var(--surface); box-shadow: var(--shadow-sm);
}
.bh-mcp-end .icon { width: 20px; height: 20px; color: var(--accent); }
.bh-mcp-link { position: relative; display: grid; place-items: center; height: 54px; width: 100%; }
.bh-mcp-link::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; border-left: 2px dashed var(--accent-line); }
.bh-mcp-link span {
  position: relative; padding: 2px 10px; border-radius: var(--r-pill); background: var(--accent); color: var(--on-accent);
  font-size: .74rem; font-weight: 700; letter-spacing: .02em;
}
.bh-mcp-server {
  display: grid; gap: 10px; width: 100%; padding: var(--sp-4);
  border: 2px solid var(--accent); border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow-md);
}
.bh-mcp-head { display: flex; align-items: center; gap: 10px; }
.bh-mcp-head .logo-mark { width: 28px; height: 28px; }
.bh-mcp-head strong { font-size: 1.08rem; }
.bh-mcp-head em {
  margin-left: auto; padding: 2px 10px; border-radius: var(--r-pill); background: var(--accent-soft);
  color: var(--accent-text); font-style: normal; font-size: .74rem; font-weight: 700;
}
.bh-mcp-tool { display: grid; gap: 8px; padding: 12px; border-radius: var(--r-md); background: var(--surface-2); }
.bh-mcp-tool b { display: inline-flex; align-items: center; gap: 8px; font-size: .95rem; }
.bh-mcp-tool b .icon { width: 17px; height: 17px; color: var(--accent); }
.bh-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.bh-chips span {
  padding: 2px 9px; border: 1px solid var(--edge); border-radius: var(--r-pill);
  background: var(--surface); color: var(--fg-muted); font-size: .76rem; font-weight: 550;
}

/* Beispielfragen */
.bh-prompts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-4); }
.bh-prompt {
  display: grid; align-content: space-between; gap: var(--sp-4); margin: 0; padding: var(--sp-5);
  border: 1px solid var(--edge); border-radius: var(--r-lg); background: var(--surface);
  transition: border-color .16s var(--ease), transform .16s var(--ease);
}
.bh-prompt:hover { border-color: var(--accent-line); transform: translateY(-2px); }
.bh-prompt blockquote { position: relative; margin: 0; padding-top: 22px; font-size: 1.04rem; font-weight: 550; line-height: 1.45; }
.bh-prompt blockquote::before {
  content: "\201C"; position: absolute; top: -10px; left: -2px;
  color: var(--accent); font-size: 3rem; font-weight: 800; line-height: 1;
}
.bh-prompt figcaption {
  justify-self: start; padding: 3px 10px; border-radius: var(--r-pill);
  background: var(--accent-soft); color: var(--accent-text); font-size: .76rem; font-weight: 700;
}

/* Funktionen als schlanke Liste ohne Rahmen, Datenschutz als drei Kacheln */
.bh-features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-5) var(--sp-6); }
.bh-features .bh-feature {
  display: grid; grid-template-columns: 36px minmax(0, 1fr); grid-template-rows: auto 1fr; column-gap: var(--sp-3); align-items: start;
  padding: 0; border: 0; background: none;
}
.bh-features .bh-icon { grid-row: span 2; width: 36px; height: 36px; border-radius: 10px; }
.bh-features .bh-icon .icon { width: 19px; height: 19px; }
.bh-features .bh-feature h3 { margin: 0 0 2px; font-size: 1.02rem; }
.bh-features .bh-feature p { font-size: .93rem; }
.bh-trust { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-4); }
.bh-feature { padding: var(--sp-5); border: 1px solid var(--edge); border-radius: var(--r-lg); background: var(--surface); }
.bh-feature h3 { font-size: 1.08rem; margin: var(--sp-3) 0 var(--sp-1); }
.bh-feature p { margin: 0; color: var(--fg-muted); font-size: .96rem; }
.bh-icon {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px;
  background: var(--accent-soft); color: var(--accent);
}
.bh-feature--trust .bh-icon { background: var(--ok-soft); color: var(--ok); }
.bh-notes { max-width: 68ch; margin: var(--sp-6) auto 0; text-align: center; }
.bh-notes p { color: var(--fg-muted); }
.bh-notes p + p { margin-top: var(--sp-2); }
.bh-purchase { color: var(--fg) !important; font-weight: 600; }
.bh-affiliate strong { color: var(--fg); font-weight: 650; }
.bh-notes .link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.bh-notes .link-arrow .icon { width: 16px; height: 16px; }

/* Startband */
.bh-start-card {
  position: relative; overflow: hidden; display: grid; justify-items: center; gap: var(--sp-3); text-align: center;
  padding: clamp(var(--sp-6), 6vw, var(--sp-8)) var(--sp-5); border-radius: var(--r-xl);
  background: linear-gradient(135deg, var(--accent), var(--accent-hover)); color: var(--on-accent);
}
.bh-start-card::after {
  content: ""; position: absolute; right: -60px; bottom: -80px; width: 260px; height: 260px; border-radius: 50%;
  background: color-mix(in srgb, var(--on-accent) 12%, transparent); pointer-events: none;
}
.bh-start-card h2 { color: inherit; font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); margin: 0; }
.bh-start-card p { margin: 0; max-width: 46ch; opacity: .92; font-size: 1.06rem; }
.bh-start-card .hero-actions { margin-top: var(--sp-3); justify-content: center; }
.bh-start-card .btn-primary { background: var(--on-accent); color: var(--accent-text); }
.bh-start-card .btn .icon { width: 18px; height: 18px; margin-left: 2px; }
.bh-steps h3 { font-size: 1rem; margin: var(--sp-3) 0 var(--sp-3); color: inherit; opacity: .9; }
.bh-step-list { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--sp-2) var(--sp-4); counter-reset: bh-step; }
.bh-step-list li { display: flex; align-items: center; gap: var(--sp-2); counter-increment: bh-step; font-weight: 600; }
.bh-step-list li::before {
  content: counter(bh-step); display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 50%;
  background: color-mix(in srgb, var(--on-accent) 20%, transparent); font-weight: 700;
}

/* Hilfe & Kontakt */
.help-list { display: grid; gap: var(--sp-5); }
.help-item h2 { font-size: 1.16rem; letter-spacing: -0.01em; margin-bottom: var(--sp-2); }
.help-item p { color: var(--fg-muted); }
.help-contact { margin-top: var(--sp-7); padding-top: var(--sp-5); border-top: 1px solid var(--edge); }

/* Eine Fußzeile: Hilfe und Rechtliches. */
.site-footer--compact { padding-block: var(--sp-5); }
.footer-line { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: var(--sp-3) var(--sp-5); }
.footer-links { display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-5); }
.footer-links a { color: var(--fg-muted); text-decoration: none; font-size: 0.94rem; }
.footer-links a:hover { color: var(--fg); text-decoration: underline; }
.footer-copy { color: var(--fg-subtle); font-size: 0.88rem; }

@media (max-width: 980px) {
  .bh-features, .bh-trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bh-prompts { grid-template-columns: minmax(0, 1fr); max-width: 560px; margin-inline: auto; }
  .bh-flow { grid-template-columns: minmax(0, 1fr); max-width: 420px; margin-inline: auto; }
  .bh-node { grid-template-columns: 52px minmax(0, 1fr); justify-items: start; text-align: left; column-gap: var(--sp-3); row-gap: 0; padding: var(--sp-4); }
  .bh-node-icon { grid-row: span 2; margin: 0; }
  .bh-wire { height: 46px; }
  .bh-wire::before { left: 50%; right: auto; top: 4px; bottom: 10px; border-top: 0; border-left: 2px dashed var(--accent-line); }
  .bh-wire::after { left: calc(50% - 4px); right: auto; top: auto; bottom: 6px; transform: rotate(135deg); }
  .bh-wire span { transform: translateX(58px); }
}

@media (max-width: 880px) {
  .bh-grid, .bh-split { grid-template-columns: minmax(0, 1fr); gap: var(--sp-7); }
}

@media (max-width: 620px) {
  .bh-hero { padding-top: var(--sp-5); }
  .bh-copy h1 { margin-bottom: var(--sp-3); }
  .bh-copy .hero-actions { margin-top: var(--sp-4); }
  .bh-copy .hero-note { margin-top: var(--sp-3); }
  .bh-window-body { padding: var(--sp-3) var(--sp-4) var(--sp-4); }
  .bh-window-caption { padding: 0 var(--sp-4) var(--sp-3); }
  .bh-prompts, .bh-features, .bh-trust { grid-template-columns: minmax(0, 1fr); }
  .bh-flow-back { border-radius: var(--r-md); }
  .site-header--compact .header-inner { gap: var(--sp-3); }
}

@media (max-width: 480px) {
  .site-header--compact .header-actions { gap: var(--sp-1); }
  .site-header--compact .lang-switch { padding-inline: 8px; }
  .lang-switch .lang-name { display: none; }
  .lang-switch .lang-code { display: inline; }
}
