/* Speaker*innen 2026 – übernommen aus dem Elementor-HTML-Widget der WordPress-Seite. */

* { margin: 0; padding: 0; box-sizing: border-box; }

  .speaker-section {
    padding: 24px 40px 60px;
    font-family: COPYTEXTE, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
  }

  .speaker-page-title {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 0 50px;
    font-family: MONUMENT_UEBERSCHRIFTEN, sans-serif;
    font-weight: 700;
    font-size: 3rem;
    color: #6f247a;
    text-align: left;
    line-height: 1.05;
  }
  @media (min-width: 768px) {
    .speaker-page-title {
      font-size: 4.5rem;
      padding-bottom: 70px;
    }
  }

  .speaker-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px 40px;
    max-width: 1100px;
    margin: 0 auto;
  }

  .speaker-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    cursor: pointer;

  }
  .speaker-card:hover { transform: none; }
  .speaker-card:hover .speaker-circle { background: rgba(111, 36, 122, 0.45); }


  .speaker-circle {
    width: 340px;
    height: 340px;
    border-radius: 50%;
    overflow: hidden;
    background: rgba(111, 36, 122, 0.15);
    margin-bottom: 16px;
    flex-shrink: 0;
    transition: background 0.25s;
  }
  .speaker-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
  }

  .speaker-circle.logo-fit img {
    object-fit: contain;
    padding: 60px;
  }

  .speaker-name {
    font-family: MONUMENT_UEBERSCHRIFTEN, sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #6B2D8B;
    margin-bottom: 5px;
    line-height: 1.2;
  }
  .speaker-role {
    font-family: COPYTEXTE, sans-serif;
    font-size: 16px;
    color: #6B2D8B;
    opacity: 0.7;
    line-height: 1.4;
  }

  .speaker-card:last-child:nth-child(3n+1) { grid-column: 2; }

  /* Modal */
  .sp-toggle { display: none; }

  .sp-modal-wrap {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
    align-items: center;
    justify-content: center;
    padding: 24px;
  }
  .sp-toggle:checked + .sp-modal-wrap { display: flex; }

  .sp-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(40, 0, 60, 0.65);
    cursor: pointer;
    z-index: 1;
  }

  .sp-modal {
    font-family: COPYTEXTE, sans-serif;
    background: #6B2D8B;
    border-radius: 20px;
    width: 100%;
    max-width: 640px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    z-index: 2;
    padding: 48px 40px 44px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 24px 80px rgba(40,0,60,0.45);
  }

  .sp-close {
    position: absolute;
    top: 16px;
    right: 20px;
    font-size: 24px;
    color: rgba(255,255,255,0.7);
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
  }
  .sp-close:hover { color: #fff; }

  .sp-modal-img-wrap {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    overflow: hidden;
    background: #EDE69A;
    border: 4px solid #EDE69A;
    margin-bottom: 24px;
    flex-shrink: 0;
  }
  .sp-modal-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
  }

  .sp-modal-img-wrap.logo-fit img {
    object-fit: contain;
    padding: 40px;
  }

  .sp-modal-name {
    font-family: MONUMENT_UEBERSCHRIFTEN, sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: #EDE69A;
    margin-bottom: 6px;
    line-height: 1.2;
    letter-spacing: 0.01em;
  }
  .sp-modal-role {
    font-family: COPYTEXTE, sans-serif;
    font-size: 15px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 28px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding-top: 10px;
    border-top: 1px solid rgba(255,255,255,0.25);
    width: 100%;
  }
  .sp-modal-bio {
    font-family: COPYTEXTE, sans-serif;
    font-size: 15px;
    color: rgba(255,255,255,0.88);
    line-height: 1.75;
    text-align: center;
  }

  @media (max-width: 1199px) {
    .speaker-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 20px; }
    .speaker-circle { width: 260px; height: 260px; }
    .speaker-card:last-child:nth-child(3n+1) { grid-column: auto; }
    .speaker-card:last-child:nth-child(2n+1) { grid-column: 1 / -1; }
  }

  @media (max-width: 767px) {
    .speaker-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 16px; }
    .speaker-circle { width: 160px; height: 160px; }
    .speaker-circle.logo-fit img { padding: 30px; }
    .speaker-name { font-size: 16px; }
    .speaker-role { font-size: 13px; }
    .speaker-card:last-child:nth-child(2n+1) { grid-column: 1 / -1; }
    .speaker-section { padding: 20px 16px 40px; }
    .sp-modal { padding: 40px 24px 36px; }
    .sp-modal-img-wrap { width: 160px; height: 160px; }
    .sp-modal-name { font-size: 22px; }
    .sp-modal-bio { font-size: 14px; text-align: center; }
  }

@media (max-width: 1023px) {
  .speaker-section { padding-left: 16px !important; padding-right: 16px !important; }
  .speaker-grid { max-width: 100% !important; gap: 40px 16px !important; }
}
