/* page-cspo.css - CSPO page styles (banner, rating bar, training subnav, highlights, agenda, testimonials, trainingsort, responsive) */

  /* ══════════════════════════════════════
     CSPO PAGE
     ══════════════════════════════════════ */

  /* ══ CSPO Banner ══ */
  .cspo-banner {
    margin-top: var(--nav-height);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.5rem 2rem;
    background: url('../img/header%20certified%20scrum%20product%20owner%20training.webp') left center/cover no-repeat;
  }

  .cspo-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right,
      rgba(0, 0, 0, 0.15) 0%,
      rgba(0, 0, 0, 0.5) 30%,
      rgba(0, 0, 0, 0.55) 70%,
      rgba(0, 0, 0, 0.3) 100%);
  }

  .cspo-banner-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1100px;
    display: flex;
    align-items: center;
    gap: 2rem;
  }

  .cspo-banner-text {
    flex: 1;
    text-align: center;
  }

  .cspo-banner-badge {
    width: 120px;
    height: 120px;
    object-fit: contain;
    flex-shrink: 0;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
  }

  .cspo-banner h1 {
    font-family: var(--font-body);
    font-size: clamp(2.2rem, 4.5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.04em;
    color: #ffffff;
    margin-bottom: 0.75rem;
  }

  .cspo-banner .hero-word {
    display: inline-block;
  }

  .cspo-banner .hero-word.accent {
    color: #2af598;
  }

  .cspo-banner .hero-tagline {
    font-size: clamp(0.95rem, 1.8vw, 1.15rem);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 auto 1.25rem;
    line-height: 1.5;
  }

  .cspo-banner .hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  @media (max-width: 768px) {
    .cspo-banner {
      background-position: 25% center;
      padding: 2rem 1.25rem;
    }

    .cspo-banner-inner {
      flex-direction: column;
      position: relative;
    }

    .cspo-banner-badge {
      position: absolute;
      top: 0;
      right: 0;
      width: 52px;
      height: 52px;
    }

    .cspo-banner h1 {
      font-size: 1.8rem;
    }

    .cspo-banner .hero-tagline {
      font-size: 0.9rem;
    }

    .cspo-banner .hero-actions {
      flex-direction: row;
      justify-content: center;
    }

    .cspo-banner .hero-actions .btn {
      font-size: 0.8rem;
      padding: 0.6rem 1rem;
    }
  }

  /* ══ CSPO Rating Bar ══ */
  .cspo-rating-bar {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    padding: 1.5rem 1.25rem;
    text-align: center;
  }
  .cspo-rating-bar a {
    text-decoration: none;
    color: inherit;
    display: inline-block;
    transition: transform 0.2s;
  }
  .cspo-rating-bar a:hover {
    transform: scale(1.02);
  }
  .cspo-rating-bar-top {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
  }
  .cspo-rating-bar-stars {
    display: flex;
    gap: 3px;
    color: #ffd700;
    font-size: 1.3rem;
    line-height: 1;
  }
  .cspo-rating-bar-score {
    font-size: 1.5rem;
    font-weight: 800;
    color: #ffffff;
    font-family: var(--font-body);
  }
  .cspo-rating-bar-count {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.65);
  }
  .cspo-rating-bar-quote {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    font-style: italic;
    margin-top: 0.75rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
  }
  .cspo-rating-bar-source {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.45);
    margin-top: 0.5rem;
  }
  @media (max-width: 768px) {
    .cspo-rating-bar {
      padding: 1.25rem 1rem;
    }
    .cspo-rating-bar-top {
      flex-wrap: wrap;
    }
    .cspo-rating-bar-score {
      font-size: 1.25rem;
    }
    .cspo-rating-bar-stars {
      font-size: 1.1rem;
    }
    .cspo-rating-bar-quote {
      font-size: 0.85rem;
    }
  }

  /* ══ Training Subnav (horizontal, sticky below header) ══ */
  /* scroll-padding-top wird jetzt über --header-height in base.css gesteuert */

  .training-subnav {
    position: sticky;
    top: var(--nav-height);
    z-index: 800;
    background: rgba(15, 23, 42, 0.75);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: center;
    gap: 0;
    padding: 0 1rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    margin-top: var(--nav-height); /* Clears fixed nav when subnav is first element (AI page) */
  }

  /* Subnav nach Banner (CSPO) — Banner hat schon margin-top */
  .cspo-banner + .training-subnav {
    margin-top: 0;
  }

  /* Hero nach Subnav (AI) — Subnav hat schon margin-top */
  .training-subnav + .hero {
    margin-top: 0;
  }

  .training-subnav a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 500;
    padding: 0.75rem 1rem;
    position: relative;
    transition: color 0.2s;
    white-space: nowrap;
  }

  .training-subnav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: #34d399;
    transition: width 0.3s;
  }

  .training-subnav a:hover {
    color: #34d399;
  }

  .training-subnav a:hover::after,
  .training-subnav a.active::after {
    width: 70%;
  }

  .training-subnav a.active {
    color: #34d399;
  }

  .training-subnav-cta {
    color: #34d399 !important;
    font-weight: 700 !important;
  }

  @media (max-width: 768px) {
    .training-subnav {
      overflow-x: auto;
      scrollbar-width: none;
      justify-content: flex-start;
      -webkit-overflow-scrolling: touch;
    }

    .training-subnav::-webkit-scrollbar {
      display: none;
    }

    .training-subnav a {
      font-size: 0.78rem;
      padding: 0.65rem 0.75rem;
    }
  }

  /* ══ Highlights ══ */
  section.highlights {
    background: var(--bg-light);
  }

  .highlights-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
  }

  .highlight-card {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 1.75rem 1.5rem;
    text-align: center;
    transition: border-color 0.3s;
  }

  .highlight-card:hover {
    border-color: var(--accent-blue);
  }

  .highlight-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
  }

  .highlight-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
  }

  .highlight-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
  }

  /* ══ CSPO Agenda (3-Block Layout) ══ */
  .section-prose {
    font-size: 1.1rem;
    color: #8a8a9a;
    line-height: 1.6;
    margin-top: 0.75rem;
    margin-bottom: 0;
  }

  .opt3-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: auto 1fr;
    gap: 1.25rem;
    margin-top: 2rem;
  }

  .opt3-block {
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    overflow: hidden;
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 2;
  }

  .opt3-header {
    padding: 1rem 1.25rem;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .opt3-header-1 { background: #34d399; }
  .opt3-header-2 { background: #2fbe8a; }
  .opt3-header-3 { background: #2aa97a; }

  .opt3-num {
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.6;
    margin-bottom: 0.2rem;
  }

  .opt3-header h3 {
    font-size: 1rem;
    font-weight: 700;
  }

  .opt3-topics {
    padding: 1rem 1.25rem;
  }

  .opt3-topic {
    padding: 0.6rem 0;
    border-bottom: 1px solid #f0f0f5;
  }

  .opt3-topic:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .opt3-topic-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.15rem;
  }

  .opt3-topic-desc {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.5;
  }

  /* ══ CSPO Testimonials (Karussell) ══ */
  section.cspo-testimonials {
    background: var(--bg-light);
  }

  .cspo-testi-grid {
    margin-top: 2.5rem;
    padding-bottom: 0.5rem;
  }

  .cspo-testi-card {
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 2rem 1.75rem 1.5rem;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: border-color 0.3s, box-shadow 0.3s;
  }

  .cspo-testi-card:hover {
    border-color: #c0c0cc;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  }

  .cspo-testi-card::before {
    content: '\201C';
    position: absolute;
    top: 0.5rem;
    left: 1.25rem;
    font-size: 4rem;
    line-height: 1;
    color: var(--accent-blue);
    opacity: 0.2;
    font-family: Georgia, serif;
    pointer-events: none;
  }

  .cspo-testi-quote {
    font-size: 0.88rem;
    color: #3a3a4e;
    line-height: 1.7;
    font-style: italic;
    flex: 1;
    margin-bottom: 1.25rem;
    margin-top: 1.5rem;
  }

  .cspo-testi-quote-big {
    font-size: 2rem;
    font-style: normal;
    display: flex;
    align-items: center;
    margin-top: 0;
  }

  .cspo-testi-stars {
    height: 40px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    align-self: flex-start;
    margin-top: auto;
  }

  section.cspo-testimonials .swipe-dots {
    display: flex;
  }

  /* ══ Trainingsort ══ */
  section.trainingsort {
    background: var(--bg-light);
  }

  .ort-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-top: 2rem;
  }

  .ort-img {
    width: 100%;
    border-radius: var(--radius);
    object-fit: cover;
    aspect-ratio: 16 / 9;
  }

  /* ══ CSPO Responsive ══ */
  @media (max-width: 1024px) {
    .opt3-grid {
      grid-template-columns: 1fr;
      gap: 1rem;
    }

    .opt3-header h3 br {
      display: none;
    }
  }

  @media (max-width: 768px) {
    .ort-images {
      grid-template-columns: 1fr;
    }
  }

