/* ═══════════════════════════════════════════════
   CYBAIRBAG.DE — Landing Page Styles
═══════════════════════════════════════════════ */

.lp-body { background: var(--black); }

/* BREADCRUMB */
.breadcrumb {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.75rem 2rem;
  font-size: 14px;
  color: var(--grey);
  display: flex;
  gap: 0.5rem;
  align-items: center;
}
.breadcrumb a { color: var(--grey); text-decoration: none; }
.breadcrumb a:hover { color: var(--white); }

/* LP HERO */
.lp-hero {
  padding: 4rem 2rem 5rem;
  border-bottom: 1px solid var(--border);
}
.lp-hero-inner {
  max-width: 820px;
  margin: 0 auto;
}
.lp-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 0.35rem 1rem;
  font-size: 14px;
  color: var(--grey-light);
  margin-bottom: 2rem;
  font-family: var(--mono);
}
.lp-headline {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
}
.lp-headline-red  { color: var(--red); }
.lp-headline-thin { color: var(--grey-light); font-weight: 300; }

.lp-sub {
  font-size: 1rem;
  color: var(--grey-light);
  line-height: 1.7;
  max-width: 680px;
  margin-bottom: 2.5rem;
}
.lp-hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}
.lp-hero-facts {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  max-width: 600px;
}
.hero-fact {
  flex: 1;
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.hero-fact-num {
  font-family: var(--mono);
  font-size: 20px;
  font-weight: 700;
  color: var(--red);
}
.hero-fact-label { font-size: 12px; color: var(--grey-light); line-height: 1.4; }
.hero-fact-divider {
  width: 1px;
  height: 60px;
  background: var(--border);
  flex-shrink: 0;
}

/* SECTIONS */
.lp-section { padding: 5rem 2rem; }
.lp-section-inner { max-width: 1100px; margin: 0 auto; }
.lp-section-narrow { max-width: 720px; }
.lp-dark { background: var(--dark); }

/* SCENARIO TIMELINE */
.scenario-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}
.scenario-timeline::before {
  content: '';
  position: absolute;
  left: 100px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
}
.scenario-step {
  display: grid;
  grid-template-columns: 100px 48px 1fr;
  gap: 1.5rem;
  align-items: start;
  padding: 1.5rem 0;
  position: relative;
}
.scenario-step + .scenario-step { border-top: 1px solid var(--border); }
.scenario-step--red .step-content h3 { color: var(--red); }
.scenario-step--red .step-icon { background: var(--red); color: white; }

.step-time {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--grey);
  padding-top: 0.2rem;
  text-align: right;
  padding-right: 1.5rem;
  line-height: 1.4;
}
.step-icon {
  width: 48px;
  height: 48px;
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.step-content h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.step-content p {
  font-size: 14px;
  color: var(--grey-light);
  line-height: 1.65;
}

/* RISK GRID */
.risk-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}
.risk-item {
  padding: 1.5rem;
  background: var(--dark);
  border: 1px solid var(--border);
  border-radius: 12px;
}
.risk-icon { font-size: 24px; margin-bottom: 0.75rem; }
.risk-item h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem; }
.risk-item p { font-size: 14px; color: var(--grey-light); line-height: 1.6; }

/* COVERAGE GRID */
.coverage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.coverage-item {
  display: flex;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: var(--dark-2);
  align-items: flex-start;
}
.coverage-item--yes .coverage-check {
  color: #00cc44;
  font-size: 1rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}
.coverage-item strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 0.35rem;
}
.coverage-item p {
  font-size: 14px;
  color: var(--grey-light);
  line-height: 1.5;
}

/* FAQ */
.faq-list { display: flex; flex-direction: column; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:first-child { border-top: 1px solid var(--border); }

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  gap: 1rem;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question::after {
  content: '+';
  font-size: 20px;
  color: var(--grey);
  font-weight: 300;
  flex-shrink: 0;
  transition: transform 0.2s;
}
details[open] .faq-question::after {
  transform: rotate(45deg);
}
.faq-answer {
  padding: 0 0 1.25rem;
}
.faq-answer p {
  font-size: 14px;
  color: var(--grey-light);
  line-height: 1.7;
}
.faq-answer strong { color: var(--white); }

/* RELATED */
.related-section { }
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}
.related-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem;
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  text-decoration: none;
  color: var(--white);
  transition: border-color 0.2s;
  font-size: 20px;
  flex-shrink: 0;
}
.related-card:hover { border-color: var(--red); }
.related-card > span { flex-shrink: 0; }
.related-card strong { display: block; font-size: 1rem; margin-bottom: 0.25rem; }
.related-card p { font-size: 14px; color: var(--grey); }

/* ═══════════════════════════════════════════════
   QUIZ / FRAGEBOGEN
═══════════════════════════════════════════════ */
.quiz-section { }
.quiz-wrapper {
  max-width: 680px;
  margin: 0 auto;
  background: var(--dark);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

/* Progress bar */
.quiz-progress-bar {
  height: 4px;
  background: var(--dark-3);
}
.quiz-progress-fill {
  height: 100%;
  background: var(--red);
  transition: width 0.4s ease;
  width: 0%;
}

.quiz-header {
  padding: 1.75rem 2rem 1.25rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.quiz-step-label {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--grey);
  letter-spacing: 0.1em;
}
.quiz-score-badge {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--grey-light);
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 0.2rem 0.6rem;
}

.quiz-body { padding: 2rem; }
.quiz-question {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}
.quiz-hint {
  font-size: 14px;
  color: var(--grey);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}
.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.quiz-option {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.9rem 1.1rem;
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  text-align: left;
  color: var(--white);
  font-size: 1rem;
  font-family: var(--sans);
}
.quiz-option:hover {
  border-color: var(--blue);
  background: rgba(30,144,255,0.05);
}
.quiz-option.selected {
  border-color: var(--blue);
  background: rgba(30,144,255,0.08);
}
.quiz-option.correct { border-color: #00cc44; background: rgba(0,204,68,0.06); }
.quiz-option.warning { border-color: #ffaa00; background: rgba(255,170,0,0.06); }
.quiz-option.danger  { border-color: var(--red); background: rgba(255,45,45,0.06); }

.quiz-option-icon { font-size: 1rem; flex-shrink: 0; }
.quiz-option-text { flex: 1; }
.quiz-option-label {
  font-size: 12px;
  font-family: var(--mono);
  padding: 0.1rem 0.5rem;
  border-radius: 100px;
  flex-shrink: 0;
}
.label-good    { background: rgba(0,204,68,0.15);   color: #00cc44; }
.label-warn    { background: rgba(255,170,0,0.15);  color: #ffaa00; }
.label-danger  { background: rgba(255,45,45,0.15);  color: var(--red); }

/* Navigation buttons */
.quiz-nav {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.quiz-btn-next {
  flex: 1;
  padding: 0.85rem;
  background: var(--red);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--sans);
  transition: background 0.2s;
}
.quiz-btn-next:hover { background: var(--red-dark); }
.quiz-btn-next:disabled { opacity: 0.4; cursor: not-allowed; }
.quiz-btn-back {
  padding: 0.85rem 1.25rem;
  background: transparent;
  color: var(--grey);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  font-family: var(--sans);
  transition: color 0.2s, border-color 0.2s;
}
.quiz-btn-back:hover { color: var(--white); border-color: var(--grey); }

/* Result screen */
.quiz-result { padding: 2rem; text-align: center; }
.result-score-ring {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  border: 4px solid;
  font-family: var(--mono);
}
.result-score-ring.score-low    { border-color: var(--red);   }
.result-score-ring.score-medium { border-color: #ffaa00; }
.result-score-ring.score-high   { border-color: #00cc44; }

.result-score-num {
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
}
.result-score-label { font-size: 12px; color: var(--grey); margin-top: 0.2rem; }

.result-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.result-subtitle {
  font-size: 14px;
  color: var(--grey-light);
  line-height: 1.65;
  margin-bottom: 1.75rem;
  max-width: 440px;
  margin-left: auto;
  margin-right: auto;
}
.result-findings {
  text-align: left;
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}
.result-findings-title {
  font-size: 12px;
  font-family: var(--mono);
  color: var(--grey);
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}
.result-finding {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 14px;
  color: var(--grey-light);
  margin-bottom: 0.5rem;
  line-height: 1.5;
}
.finding-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 6px;
}
.finding-dot.danger  { background: var(--red); }
.finding-dot.warning { background: #ffaa00; }
.finding-dot.ok      { background: #00cc44; }

.result-cta-note {
  font-size: 14px;
  color: var(--grey);
  margin-top: 0.75rem;
}

@media (max-width: 600px) {
  .scenario-timeline::before { display: none; }
  .scenario-step {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  .step-time { text-align: left; padding-right: 0; }
  .lp-hero-facts { flex-direction: column; }
  .hero-fact-divider { width: 100%; height: 1px; }
  .quiz-body { padding: 1.25rem; }
}

/* ═══════════════════════════════════════════════
   MAGAZIN / BLOG — Artikel-Styles
═══════════════════════════════════════════════ */

/* ── Typewriter-Headline ───────────────────────── */
.art-headline-wrap {
  position: relative;
  margin-bottom: 1.75rem;
}
.art-headline {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--white);
  /* Cursor blinkt am Ende bis Typing fertig */
}
.art-headline .tw-cursor {
  display: inline-block;
  width: 3px;
  background: var(--red);
  margin-left: 3px;
  vertical-align: baseline;
  /* Höhe = cap-height der Schrift */
  height: 0.85em;
  position: relative;
  top: 0.05em;
  animation: tw-blink 0.7s step-end infinite;
}
.art-headline .tw-cursor.tw-done {
  /* Typing fertig: Cursor verschwindet nach 1,5s */
  animation: tw-blink 0.7s step-end 2, tw-fadeout 0.3s 1.4s forwards;
}
@keyframes tw-blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}
@keyframes tw-fadeout {
  to { opacity: 0; }
}

/* ── Artikel-Meta ─────────────────────────────── */
.art-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1.25rem;
  font-size: 14px;
  color: var(--grey);
  font-family: var(--mono);
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}
.art-meta-tag {
  background: rgba(255, 51, 68, 0.12);
  color: var(--red);
  border: 1px solid rgba(255, 51, 68, 0.25);
  border-radius: 100px;
  padding: 0.2rem 0.65rem;
  font-size: 12px;
}
.art-meta-dot { color: var(--border); }

/* ── Artikel-Body ─────────────────────────────── */
.art-body {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--grey-light);
  max-width: 720px;
}
.art-body h2 {
  font-size: 20px;
  font-weight: 800;
  color: var(--white);
  margin: 3rem 0 1rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.art-body h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin: 2rem 0 0.75rem;
}
.art-body p { margin-bottom: 1.35rem; }
.art-body strong { color: var(--white); }
.art-body a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.art-body a:hover { color: var(--white); }

/* Highlight-Box (Warnung / Tipp) */
.art-box {
  border-left: 3px solid var(--red);
  background: rgba(255, 51, 68, 0.06);
  border-radius: 0 8px 8px 0;
  padding: 1.1rem 1.4rem;
  margin: 2rem 0;
  font-size: 1rem;
}
.art-box.art-box--tip {
  border-color: var(--blue);
  background: rgba(0, 102, 255, 0.06);
}
.art-box.art-box--ok {
  border-color: #00cc44;
  background: rgba(0, 204, 68, 0.06);
}
.art-box-label {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--red);
  margin-bottom: 0.5rem;
  font-weight: 700;
}
.art-box--tip .art-box-label  { color: var(--blue); }
.art-box--ok  .art-box-label  { color: #00cc44; }
.art-box p { margin: 0; color: var(--grey-light); }

/* Nummerierte Checkliste */
.art-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 1.5rem 0 2rem;
}
.art-checklist li {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  font-size: 1rem;
}
.art-checklist li .cl-num {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--red);
  background: rgba(255, 51, 68, 0.1);
  border: 1px solid rgba(255, 51, 68, 0.2);
  border-radius: 50%;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.art-checklist li .cl-text { color: var(--grey-light); line-height: 1.6; }
.art-checklist li .cl-text strong { color: var(--white); }

/* Kosten-Tabelle */
.art-table-wrap { overflow-x: auto; margin: 2rem 0; }
.art-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.art-table th {
  background: var(--dark-2);
  color: var(--grey-light);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 2px solid var(--border);
}
.art-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border);
  color: var(--grey-light);
  vertical-align: top;
}
.art-table tr:last-child td { border-bottom: none; }
.art-table td strong { color: var(--white); }
.art-table td.td-red { color: var(--red); font-family: var(--mono); font-weight: 700; }
.art-table td.td-ok  { color: #00cc44;  font-family: var(--mono); font-weight: 700; }

/* ── Artikel-Layout ───────────────────────────── */
.art-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 4rem;
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 2rem 6rem;
}

/* Sidebar */
.art-sidebar {
  position: sticky;
  top: 5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.art-sidebar-box {
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.4rem;
}
.art-sidebar-box h4 {
  font-size: 14px;
  font-family: var(--mono);
  color: var(--grey);
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}
.art-toc {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.art-toc a {
  font-size: 14px;
  color: var(--grey-light);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.15s;
}
.art-toc a::before {
  content: '→';
  color: var(--border);
  font-size: 12px;
  flex-shrink: 0;
}
.art-toc a:hover { color: var(--white); }
.art-toc a.active { color: var(--red); }
.art-toc a.active::before { color: var(--red); }

/* CTA-Box in Sidebar */
.art-cta-box {
  background: linear-gradient(135deg, rgba(255,51,68,0.08), rgba(0,102,255,0.05));
  border: 1px solid rgba(255, 51, 68, 0.25);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
}
.art-cta-box p {
  font-size: 14px;
  color: var(--grey-light);
  line-height: 1.6;
  margin-bottom: 1rem;
}
.art-cta-box .btn-primary {
  width: 100%;
  text-align: center;
  font-size: 14px;
}

/* ── Artikel-Hero (über dem Layout) ──────────── */
.art-hero {
  border-bottom: 1px solid var(--border);
  padding: 3.5rem 2rem 0;
  background: linear-gradient(180deg, var(--dark) 0%, var(--black) 100%);
}
.art-hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding-bottom: 3rem;
}

/* ── Responsive ───────────────────────────────── */
@media (max-width: 900px) {
  .art-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 3rem 1.5rem 5rem;
  }
  .art-sidebar { position: static; }
}
@media (max-width: 600px) {
  .art-hero { padding: 2.5rem 1.25rem 0; }
  .art-hero-inner { padding-bottom: 2rem; }
  .art-body { font-size: 1rem; }
  .art-body h2 { font-size: 20px; margin-top: 2.25rem; }
}

/* -- Autoren-Box --------------------------------- */
.art-author {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.5rem;
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin: 2.5rem 0;
}
.art-author-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--dark-3);
  border: 2px solid var(--border);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 800;
  color: var(--red);
  font-family: var(--sans);
}
.art-author-info { flex: 1; min-width: 0; }
.art-author-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.25rem;
}
.art-author-title {
  font-size: 0.78rem;
  font-family: var(--mono);
  color: var(--grey);
  margin-bottom: 0.6rem;
}
.art-author-bio {
  font-size: 0.85rem;
  color: var(--grey-light);
  line-height: 1.6;
  margin-bottom: 0.75rem;
}
.art-author-links {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}
.art-author-links a {
  font-size: 0.78rem;
  font-family: var(--mono);
  color: var(--blue);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  transition: color 0.15s;
}
.art-author-links a:hover { color: var(--white); }
.art-author-links svg { flex-shrink: 0; }
@media (max-width: 600px) {
  .art-author { flex-direction: column; align-items: center; text-align: center; }
  .art-author-links { justify-content: center; }
}
