/* ============================================================
   Produktseiten (Blina Desk / Blina Space)
   Wird von den 6 Produktseiten geladen, damit die Seiten nicht
   auseinanderlaufen. Ergaenzt main.css, ersetzt es nicht.
   ============================================================ */
.bd-hero { padding-block: clamp(40px, 5vw, 72px) }
.bd-hero-grid {
  display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr);
  gap: clamp(28px, 4vw, 56px); align-items: center;
}
.bd-hero-text .subtitle { max-width: 60ch }
.bd-hero-head { margin-top: 18px }
.bd-hero-head .title { margin: 0 }
.bd-byline { color: var(--muted); font-size: 14px; margin: 4px 0 0 }
.bd-tm { font-size: .42em; font-weight: 700; top: -.9em; margin-left: .06em }

/* Preis im Hero */
.bd-price-line {
  display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap;
  margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line);
}
.bd-price {
  font-family: var(--font-display); font-size: clamp(30px, 3.4vw, 40px);
  font-weight: 800; line-height: 1; color: var(--ink); letter-spacing: -.02em;
}
.bd-price-unit { font-size: 13px; color: var(--ink-2); line-height: 1.45 }

/* Demo-Karte: Frage an die eigenen Dokumente */
.bd-demo {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r-lg); overflow: hidden;
  box-shadow: 0 18px 44px -28px rgba(10,10,10,.28);
}
.bd-demo-head {
  display: flex; align-items: center; gap: 8px;
  padding: 13px 18px; border-bottom: 1px solid var(--line); background: var(--chip-bg);
}
.bd-demo-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); flex: none }
.bd-demo-title { font-size: 13px; font-weight: 700; color: var(--ink-2) }
.bd-demo-body { padding: 20px }
.bd-ask {
  margin: 0 0 16px; padding: 12px 15px; border-radius: 14px 14px 14px 4px;
  background: var(--accent); color: #fff; font-weight: 600; font-size: 15px;
  max-width: 92%; line-height: 1.5;
}
.bd-answer {
  border: 1px solid var(--line); border-left: 3px solid var(--accent);
  border-radius: 4px 14px 14px 14px; padding: 15px; background: var(--bg);
}
.bd-answer p { margin: 0; font-size: 15px; line-height: 1.65; color: var(--ink) }
.bd-source {
  display: flex; align-items: center; gap: 7px; margin-top: 13px; padding-top: 12px;
  border-top: 1px dashed var(--line); font-size: 12.5px; color: var(--accent-ink); font-weight: 600;
}
.bd-source .ic { flex: none }
.bd-demo-note { margin: 14px 0 0; font-size: 12.5px; color: var(--muted); line-height: 1.55 }

/* Raster, die im globalen Stylesheet fehlten */
.services-grid, .usecase-grid, .deploy-grid, .grid-3 { display: grid; gap: 18px; margin-top: 34px }
.services-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) }
.usecase-grid  { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) }
.deploy-grid   { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) }
.grid-3        { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)) }
/* .card belegt global 12 bzw. 6 Spalten: im auto-fit-Raster zurücksetzen */
.grid-3 > .card { grid-column: auto; padding: 24px }

.srv-card, .uc-card, .dep-card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 24px;
}
.srv-card h3, .dep-card h3 { font-size: 18px; font-weight: 800; margin: 14px 0 8px; color: var(--ink) }
.srv-card p, .dep-card p { color: var(--ink-2); line-height: 1.7; margin: 0; font-size: 15px }
.srv-icon {
  width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center;
  background: var(--accent-bg); color: var(--accent-ink);
}
.dep-card .badge { margin-bottom: 6px }

.uc-tag { font-size: 12px; color: var(--muted); margin-bottom: 12px }
.uc-tag span {
  display: inline-block; padding: 3px 9px; border-radius: 999px;
  background: var(--accent-bg); color: var(--accent-ink); font-weight: 700; margin-right: 7px;
}
.uc-q { margin: 0 0 11px; font-size: 16px; font-weight: 650; color: var(--ink); line-height: 1.5 }
.uc-a { margin: 0; color: var(--ink-2); font-size: 14.5px; line-height: 1.65 }

.techrow { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 30px }

/* Preis- und Umfangstafeln */
.bd-tier {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 24px; margin-top: 20px;
}
.bd-tier-head {
  display: flex; gap: 18px; align-items: flex-start; justify-content: space-between;
  flex-wrap: wrap; padding-bottom: 16px; border-bottom: 1px solid var(--line);
}
.bd-tier-head h3 { margin: 0 0 5px; font-size: 20px; font-weight: 800; color: var(--ink) }
.bd-tier-head p { margin: 0; color: var(--ink-2); font-size: 14.5px; max-width: 52ch; line-height: 1.6 }
.bd-tier-price { text-align: right; flex: none }
.bd-tier-price strong {
  display: block; font-family: var(--font-display); font-size: 27px;
  font-weight: 800; color: var(--ink); line-height: 1.1;
}
.bd-tier-price span { font-size: 12.5px; color: var(--muted) }
.bd-tier-accent { border-color: var(--accent); background: var(--accent-bg) }
.bd-tier-accent .bd-tier-head { border-bottom-color: color-mix(in srgb, var(--accent) 25%, transparent) }

.bd-inc { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 9px 22px;
  grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)) }
.bd-inc li { position: relative; padding-left: 24px; color: var(--ink-2); font-size: 15px }
.bd-inc li::before {
  content: ""; position: absolute; left: 4px; top: .52em; width: 7px; height: 7px;
  border-radius: 50%; background: var(--accent);
}
.bd-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 20px }
.bd-cols .bd-tier { margin-top: 0 }
.bd-cols .bd-tier-head { flex-wrap: nowrap; gap: 14px }
.bd-cols .bd-tier-head > div:first-child { min-width: 0 }

.bd-table { width: 100%; border-collapse: collapse; margin-top: 6px }
.bd-table tr { border-bottom: 1px solid var(--line) }
.bd-table tr:last-child { border-bottom: 0 }
.bd-table th, .bd-table td { text-align: left; padding: 11px 0; font-size: 14.5px; vertical-align: baseline }
.bd-table th { font-weight: 700; color: var(--ink); width: 39%; padding-right: 14px }
.bd-table td { color: var(--ink-2); line-height: 1.55 }
.bd-table td em { font-style: normal; color: var(--muted); font-size: 13px }
.bd-eur { float: right; font-weight: 700; color: var(--ink); white-space: nowrap; margin-left: 10px }
.bd-soon {
  float: right; font-size: 12px; font-weight: 700; color: var(--warn);
  background: #fff7ed; border-radius: 999px; padding: 2px 9px; white-space: nowrap;
}

.bd-pack { display: grid; grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); gap: 14px; margin-top: 18px }
.bd-pack div {
  background: var(--bg); border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent);
  border-radius: var(--r); padding: 14px 16px;
}
.bd-pack strong { display: block; font-size: 15.5px; color: var(--ink); margin-bottom: 3px }
.bd-pack span { font-size: 13px; color: var(--ink-2); line-height: 1.5 }

.bd-calc {
  margin: 24px 0 0; padding: 16px 18px; background: var(--surface);
  border-radius: var(--r); font-size: 15px; color: var(--ink-2); line-height: 1.7;
}
.bd-calc strong { color: var(--ink) }
.bd-legal { margin: 14px 0 26px; font-size: 12.5px; color: var(--muted); line-height: 1.6 }
.bd-legal a { color: var(--accent-ink) }

/* E-Rechnung */
.bd-split {
  display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr);
  gap: clamp(26px, 4vw, 54px); align-items: center;
}
.bd-lead { font-size: 17px; line-height: 1.7; color: var(--ink-2); max-width: 58ch; margin: 16px 0 0 }
.bd-check { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 11px }
.bd-check li { position: relative; padding-left: 30px; color: var(--ink); font-size: 15.5px; line-height: 1.55 }
.bd-check li::before {
  content: ""; position: absolute; left: 4px; top: .28em; width: 15px; height: 8px;
  border-left: 2.5px solid var(--ok); border-bottom: 2.5px solid var(--ok);
  transform: rotate(-45deg);
}
.bd-note { margin: 22px 0 0; font-size: 12.5px; color: var(--muted); line-height: 1.6; max-width: 54ch }

.bd-invoice {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 8px 20px 18px; box-shadow: 0 18px 44px -30px rgba(10,10,10,.3);
}
.bd-inv-row { display: flex; justify-content: space-between; gap: 14px; align-items: center;
  padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14.5px }
.bd-inv-row span { color: var(--ink-2) }
.bd-inv-row strong { color: var(--ink); font-weight: 700; text-align: right }
.bd-inv-head { border-bottom-width: 2px }
.bd-inv-head span:first-child { font-weight: 800; color: var(--ink); font-size: 15px }
.bd-inv-ok {
  background: #ecfdf5; color: #047857; border-radius: 999px;
  padding: 3px 11px; font-size: 12px; font-weight: 700;
}
.bd-inv-foot { padding-top: 13px; font-size: 12.5px; color: var(--muted) }

/* FAQ */
.bd-faq { max-width: 860px; margin: 34px auto 0; border-top: 1px solid var(--line) }
.bd-faq details { border-bottom: 1px solid var(--line) }
.bd-faq summary {
  cursor: pointer; padding: 18px 34px 18px 0; font-weight: 700; font-size: 16.5px;
  color: var(--ink); list-style: none; position: relative;
}
.bd-faq summary::-webkit-details-marker { display: none }
.bd-faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 9px; height: 9px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: translateY(-70%) rotate(45deg); transition: transform .18s ease;
}
.bd-faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg) }
.bd-faq summary:hover { color: var(--accent-ink) }
.bd-faq summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px }
.bd-faq p { margin: 0 0 20px; color: var(--ink-2); line-height: 1.75; font-size: 15.5px; max-width: 72ch }

@media (max-width: 900px) {
  .bd-hero-grid, .bd-split { grid-template-columns: 1fr }
  .bd-demo { order: 2 }
  .bd-tier-price { text-align: left }
  .bd-table th { width: 46% }
}
@media (prefers-reduced-motion: reduce) {
  .bd-faq summary::after { transition: none }
}

/* Plantabelle (Blina Space): sechs Spalten am Desktop, Bloecke am Handy */
.bd-plans { margin-top: 0 }
.bd-plans thead th {
  font-size: 12px; font-weight: 700; color: var(--muted); text-transform: none;
  padding-bottom: 10px; width: auto; border-bottom: 1px solid var(--line);
}
.bd-plans tbody th { width: 26%; padding: 15px 14px 15px 0; font-size: 15.5px }
.bd-plans tbody th em {
  display: block; font-style: normal; font-weight: 400;
  font-size: 12.5px; color: var(--muted); margin-top: 3px;
}
.bd-plans td { padding: 15px 12px 15px 0; font-size: 14.5px; color: var(--ink) }
.bd-plans td:first-of-type { font-weight: 700 }
@media (max-width: 860px) {
  .bd-plans thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0) }
  .bd-plans tr { display: block; padding: 6px 0 12px }
  .bd-plans tbody th { display: block; width: auto; padding: 8px 0 10px }
  .bd-plans td { display: flex; justify-content: space-between; gap: 16px; padding: 6px 0; border: 0 }
  .bd-plans td::before { content: attr(data-l); color: var(--muted); font-size: 13px; font-weight: 400 }
}

/* Blina Family: Ablauf der HILFE-Taste und Screenshots */
.bf-steps { display: grid; gap: 0 }
.bf-step { padding: 14px 0; border-bottom: 1px solid var(--line) }
.bf-step:last-child { border-bottom: 0; padding-bottom: 2px }
.bf-step:first-child { padding-top: 2px }
.bf-when {
  display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: .01em;
  color: var(--accent-ink); background: var(--accent-bg);
  border-radius: 999px; padding: 3px 10px; margin-bottom: 7px;
}
.bf-step b { display: block; font-size: 15.5px; color: var(--ink); margin-bottom: 3px }
.bf-step p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--ink-2) }

.bf-shots {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 18px; margin-top: 34px;
}
.bf-shots figure { margin: 0 }
.bf-shots img {
  width: 100%; height: auto; display: block; aspect-ratio: 1046 / 2048;
  border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card);
}
.bf-shots figcaption { margin-top: 9px; font-size: 13px; color: var(--muted); text-align: center }
