/* =========================================================
   Zusatz-CSS nur für vorbestellungen-anleitung.html
   Basis-Design kommt aus css/vorbestellungen.css
   Alles ist auf .guide-page begrenzt, damit keine andere
   Seite unbeabsichtigt beeinflusst wird.
   ========================================================= */

/* ==========================================
   Header-Ergänzung nur für diese Seite
   ========================================== */
.guide-page .guide-header-logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  padding: 0;
  border-radius: 16px;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(6px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.28);
  border: 2px solid rgba(255, 255, 255, 0.14);
  transition: transform 0.2s ease, background 0.25s ease, box-shadow 0.25s ease;
  flex: 0 0 auto;
}

.guide-page .guide-header-logo-link:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.32);
}

.guide-page .guide-header-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  display: block;
  pointer-events: none;
}

/* ==========================================
   Buttons im weißen Bereich nur hier anpassen
   ========================================== */
.guide-page .guide-actions {
  gap: 10px;
}

.guide-page .guide-actions .success-btn {
  border: 2px solid rgba(0, 0, 0, 0.38);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.10);
}

.guide-page .guide-actions .success-btn--primary {
  background: #e0f0ff;
  color: #003366;
}

.guide-page .guide-actions .success-btn--primary:hover {
  background: #c2e0ff;
}

.guide-page .guide-actions .success-btn--secondary {
  background: #ffffff;
  color: #000000;
}

.guide-page .guide-actions .success-btn--secondary:hover {
  background: #dddddd;
}

/* ==========================================
   Eigene Scroll-Leiste nur für die Anleitung
   Desktop: an der Guide-Liste rechts
   Mobile: am gesamten Scrollbereich ganz rechts
   ========================================== */
.guide-page .guide-list,
.guide-page .guide-scroll-area {
  --guide-scroll-track-width: 4px;
  --guide-scroll-top-offset: 8px;
  --guide-scroll-thumb-height: 36px;
  --guide-scroll-thumb-top: 0px;
  background-repeat: no-repeat;
}

.guide-page .guide-list.guide-has-scroll-indicator {
  padding-right: 14px !important;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.22)),
    linear-gradient(rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.95));
  background-size:
    var(--guide-scroll-track-width) calc(100% - 16px),
    var(--guide-scroll-track-width) var(--guide-scroll-thumb-height);
  background-position:
    right 2px top var(--guide-scroll-top-offset),
    right 2px top calc(var(--guide-scroll-top-offset) + var(--guide-scroll-thumb-top));
}

.guide-page .guide-scroll-area.guide-has-scroll-indicator {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.22)),
    linear-gradient(rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.95));
  background-size:
    var(--guide-scroll-track-width) calc(100% - 16px),
    var(--guide-scroll-track-width) var(--guide-scroll-thumb-height);
  background-position:
    right 2px top var(--guide-scroll-top-offset),
    right 2px top calc(var(--guide-scroll-top-offset) + var(--guide-scroll-thumb-top));
}

/* ==========================================
   Step Cards im Look der Artikel-Cards
   ========================================== */
.guide-page .guide-step {
  cursor: default;
}

.guide-page .guide-step-text {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.guide-page .guide-step-title {
  font-weight: 900;
  color: #111;
  font-size: 1.05rem;
}

.guide-page .guide-step-desc {
  color: #333;
  font-weight: 500;
  line-height: 1.35;
}

/* Rechte Badge-Zahl */
.guide-page .guide-step-badge {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 1000;
  font-size: 1.1rem;
  background: #e0f0ff;
  color: #003366;
  border: 1px solid rgba(0,0,0,0.10);
}

.guide-page .guide-step-badge--green {
  background: #d4ffd4;
  color: #064e00;
}

/* Kleine Pill rechts (bei Tipps) */
.guide-page .guide-pill {
  flex: 0 0 auto;
  align-self: center;
  border-radius: 999px;
  padding: 6px 10px;
  font-weight: 900;
  font-size: 0.9rem;
  border: 1px solid rgba(0,0,0,0.12);
  background: #f3f7ff;
  color: #1f3b7a;
}

.guide-page .guide-tip .guide-pill {
  display: none;
}

.guide-page .guide-pill--blue {
  background: #f3f7ff;
  border-color: #dbe7ff;
  color: #1f3b7a;
}

.guide-page .guide-pill--gold {
  background: #fff3cd;
  border-color: #ffe69c;
  color: #7a5a00;
}

/* Callout oben rechts */
.guide-page .guide-callout {
  background: #f3f7ff;
  border: 1px solid #dbe7ff;
  border-radius: 12px;
  padding: 12px 12px;
  margin-bottom: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

.guide-page .guide-callout-title {
  font-weight: 1000;
  color: #1f3b7a;
  margin-bottom: 6px;
}

.guide-page .guide-callout-text {
  color: #1f3b7a;
  font-weight: 560;
  line-height: 1.35;
}

/* Checkliste */
.guide-page .guide-checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 12px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.guide-page .guide-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 800;
  color: #222;
}

.guide-page .guide-check {
  display: inline-flex;
  width: 22px;
  height: 22px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #d4ffd4;
  color: #064e00;
  border: 1px solid rgba(0,0,0,0.10);
  flex: 0 0 auto;
}

/* FAQ im gleichen Card-Look */
.guide-page .guide-faq {
  background: #ffffff;
  border-radius: 12px;
  padding: 12px 14px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
  border: 1px solid rgba(0,0,0,0.08);
}

.guide-page .guide-faq + .guide-faq {
  margin-top: 10px;
}

.guide-page .guide-faq-summary {
  cursor: pointer;
  font-weight: 900;
  color: #111;
}

.guide-page .guide-faq-body {
  margin-top: 10px;
  color: #333;
  font-weight: 560;
  line-height: 1.35;
}

/* ==========================================
   MOBILE-VERHALTEN:
   - „Kurz & Wichtig“ soll oben stehen
   - und beim Scrollen „weg“ sein, um zur langen Anleitung zu kommen
   => Ein gemeinsamer Scrollbereich (kasse-container) statt zwei
   ========================================== */
@media (max-width: 800px) {
  .guide-page .guide-header-logo-link {
    width: 50px;
    height: 50px;
    border-radius: 15px;
  }

  .guide-page .guide-header-logo {
    width: 38px;
    height: 38px;
  }

  .guide-page .guide-step-badge {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    font-size: 1.05rem;
  }

  .guide-page .guide-side {
    order: 0;
  }

  .guide-page .guide-list {
    order: 1;
  }

  .guide-page .kasse-container.guide-scroll-area {
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 10px;
  }

  .guide-page .guide-list,
  .guide-page .guide-side {
    flex: 0 0 auto;
    min-height: auto;
    max-height: none;
    overflow: visible;
  }

  .guide-page .guide-side {
    max-height: none !important;
  }

  .guide-page .guide-side .success-actions {
    display: none;
  }

  .guide-page .guide-list.guide-has-scroll-indicator {
    background-image: none;
    padding-right: 0 !important;
  }
}

@media (max-width: 480px) {
  .guide-page .guide-header-logo-link {
    width: 46px;
    height: 46px;
    border-radius: 14px;
  }

  .guide-page .guide-header-logo {
    width: 34px;
    height: 34px;
  }
}