/* BKNL Orga — Landing Page Stylesheet (shared by index + sub-pages) */

body {
  font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: #1a1a1a;
  background: #f7faff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, .font-serif {
  font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #003459;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

h1 { font-weight: 800; }
h2 { font-weight: 800; }
h3 { font-weight: 700; }
h4 { font-weight: 700; }

html { scroll-behavior: smooth; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .65rem 1.25rem;
  border-radius: 8px;
  font-weight: 500;
  transition: all 200ms ease-out;
  border: 1px solid transparent;
}
.btn-cta { background: #e4572e; color: #fff; }
.btn-cta:hover { background: #ce4d27; }
.btn-primary { background: #003459; color: #fff; }
.btn-primary:hover { background: #1a4570; }
.btn-outline { background: transparent; color: #003459; border-color: #003459; }
.btn-outline:hover { background: #e8f1f8; }
.btn-ghost { background: transparent; color: #5a6470; }
.btn-ghost:hover { background: #e8f1f8; color: #003459; }

.prose-bknl h2 { font-size: 1.875rem; margin-top: 2rem; margin-bottom: 1rem; }
.prose-bknl h3 { font-size: 1.25rem; margin-top: 1.5rem; margin-bottom: 0.75rem; }
.prose-bknl p { margin-bottom: 1rem; color: #334155; }
.prose-bknl ul { list-style: disc; padding-left: 1.5rem; margin-bottom: 1rem; }
.prose-bknl ul li { margin-bottom: 0.5rem; color: #334155; }
.prose-bknl a { color: #2a7eb8; text-decoration: underline; }
.prose-bknl a:hover { color: #003459; }
.prose-bknl strong { color: #003459; }
.prose-bknl table { width: 100%; border-collapse: collapse; margin-bottom: 1rem; font-size: 0.9375rem; }
.prose-bknl th { background: #e8f1f8; color: #003459; padding: 0.5rem 0.75rem; text-align: left; border-bottom: 2px solid #c2dbeb; }
.prose-bknl td { padding: 0.5rem 0.75rem; border-bottom: 1px solid #cbd5e1; vertical-align: top; }
.prose-bknl code { background: #e8f1f8; color: #003459; padding: 0.125rem 0.375rem; border-radius: 4px; font-size: 0.875em; }
.prose-bknl blockquote { border-left: 4px solid #fcd34d; background: #fff9e8; padding: 0.75rem 1rem; margin: 1rem 0; border-radius: 6px; }

/* ===== Lucide-Icon-Defaults =================================================
   Inline-SVG-Icons referenzieren currentColor und brauchen nur eine Größe.
   Klassen text-marine / text-leaf / text-sunshine usw. färben sie. */
.lucide { display: inline-block; vertical-align: middle; flex-shrink: 0; }
.text-marine { color: #003459; }
.text-marine-light { color: #4aa0d5; }
.text-sky { color: #4aa0d5; }
.text-sky-deep { color: #2a7eb8; }
.text-sunshine { color: #fcd34d; }
.text-leaf { color: #86c77b; }
.text-leaf-deep { color: #5d9a52; }
.text-ember { color: #e4572e; }
.text-muted { color: #5a6470; }

/* ===== Status-Badges (für Vergleichstabellen) ================================ */
.badge-leaf {
  display: inline-block;
  background: #f0f8ef;
  color: #5d9a52;
  padding: 3px 10px;
  border-radius: 6px;
  font-weight: 500;
  font-size: 0.875rem;
  white-space: nowrap;
}
.badge-muted {
  display: inline-block;
  background: #e8f1f8;
  color: #5a6470;
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 0.875rem;
}

/* ===== „Empfohlen"-Badge (Sunshine, klein, im Preis-Block) =================== */
.recommended-badge {
  background: #fcd34d;
  color: #003459;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 6px;
  display: inline-block;
  margin-bottom: 12px;
  font-size: 0.8125rem;
  letter-spacing: 0.01em;
}

/* ===== Bullet-Listen mit Marine-Strich ====================================== */
.bullet-dash {
  list-style: none;
  padding-left: 0;
}
.bullet-dash > li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
}
.bullet-dash > li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: #003459;
  font-weight: 700;
}

/* ===== Sicherheits-Accordion ================================================= */
.security-box {
  background: #fff;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 52, 89, 0.05);
  margin-bottom: 12px;
  overflow: hidden;
  transition: box-shadow 200ms ease;
}
.security-box[open] { box-shadow: 0 4px 16px rgba(0, 52, 89, 0.08); }
.security-box summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  user-select: none;
}
.security-box summary::-webkit-details-marker { display: none; }
.summary-content {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.summary-icon {
  width: 26px;
  height: 26px;
  margin-top: 2px;
  color: #003459;
}
.summary-text { flex: 1; }
.summary-text h3 {
  font-family: 'Nunito', sans-serif;
  font-size: 1.25rem;
  color: #003459;
  margin: 0 0 4px 0;
  font-weight: 600;
}
.summary-line {
  color: #334155;
  margin: 0;
  font-size: 1rem;
  line-height: 1.5;
}
.chevron {
  width: 20px;
  height: 20px;
  color: #5a6470;
  transition: transform 200ms ease;
  margin-top: 6px;
}
.security-box[open] .chevron { transform: rotate(180deg); }
.security-detail {
  padding: 16px 24px 24px 66px;
  color: #1a1a1a;
  line-height: 1.7;
  border-top: 1px solid #cbd5e1;
  margin: 0 24px;
}
.security-detail h4 {
  font-family: 'Nunito', sans-serif;
  color: #003459;
  margin-top: 20px;
  margin-bottom: 8px;
  font-weight: 600;
}
.security-detail ul { padding-left: 0; list-style: none; }
.security-detail li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 8px;
}
.security-detail li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: #003459;
  font-weight: 700;
}
.security-detail a {
  color: #2a7eb8;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.security-detail table {
  width: 100%;
  border-collapse: collapse;
  margin: 8px 0 16px;
  font-size: 0.9375rem;
}
.security-detail th {
  background: #e8f1f8;
  color: #003459;
  padding: 8px 10px;
  text-align: left;
  border-bottom: 2px solid #c2dbeb;
}
.security-detail td {
  padding: 8px 10px;
  border-bottom: 1px solid #cbd5e1;
  vertical-align: top;
}

/* Mobile: weniger Einzug, damit Text-Spalte Platz hat */
@media (max-width: 640px) {
  .security-box summary { padding: 16px 18px; }
  .summary-content { gap: 12px; }
  .security-detail { padding: 14px 18px 20px 18px; margin: 0 18px; }
}

/* ===== Sicherheits-Quickview (oben auf /sicherheit.html) ===================== */
.security-quickview {
  background: #e8f1f8;
  border-radius: 16px;
  padding: 32px;
  margin-bottom: 32px;
}
.security-quickview h2 {
  font-family: 'Nunito', sans-serif;
  color: #003459;
  margin-top: 0;
  margin-bottom: 24px;
  font-size: 1.5rem;
}
.quickview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.qv-item {
  background: #fff;
  border-radius: 8px;
  padding: 18px 16px;
  text-align: center;
  border: 1px solid #cbd5e1;
}
.qv-item svg {
  width: 32px;
  height: 32px;
  margin: 0 auto 8px;
  display: block;
}
.qv-item strong {
  display: block;
  color: #003459;
  font-weight: 600;
  margin-bottom: 4px;
}
.qv-item span {
  color: #5a6470;
  font-size: 0.875rem;
}
@media (max-width: 768px) { .quickview-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .quickview-grid { grid-template-columns: 1fr; } }

/* ===== Info-Card Marine (z.B. Versionsfreigabe-Hinweis) ====================== */
.info-card-marine {
  background: #003459;
  color: #fff;
  border-radius: 12px;
  padding: 20px 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-top: 32px;
}
.info-card-marine svg {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  margin-top: 2px;
  color: #fcd34d;
}
.info-card-marine strong { color: #fff; }
.info-card-marine a {
  color: #fcd34d;
  text-decoration: underline;
  text-underline-offset: 2px;
  margin-left: 6px;
}
.info-card-marine a:hover { color: #fff; }

/* Print: alle Accordion-Boxen offen (details öffnet auch automatisch beim Drucken) */
@media print {
  .security-box[open] .chevron, .chevron { display: none; }
  .security-box { box-shadow: none; break-inside: avoid; }
}
