/* Liminale 2025 – übernommen aus dem Elementor-HTML-Widget der WordPress-Seite. */

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

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

  .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;
  }

  .speaker-circle {
    width: 340px;
    height: 340px;
    border-radius: 50%;
    overflow: hidden;
    background: rgba(111, 36, 122, 0.15);
    margin-bottom: 16px;
    flex-shrink: 0;
  }

  .speaker-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
  }

  .speaker-name {
    font-size: 22px;
    font-weight: 700;
    color: #6B2D8B;
    margin-bottom: 5px;
    line-height: 1.2;
  }

  .speaker-role {
    font-size: 16px;
    color: #6B2D8B;
    opacity: 0.7;
    line-height: 1.4;
  }

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

  @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-name { font-size: 16px; }
    .speaker-role { font-size: 13px; }
    .speaker-card:last-child:nth-child(2n+1) { grid-column: 1 / -1; }
    .speaker-section { padding: 40px 16px; }
  }

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

  .impressionen-section {
    padding: 40px 0;
    overflow: hidden;
  }

  .rotated-wrapper {
    padding: 40px 0;
    overflow: hidden;
  }

  .scroll-wrapper {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .scroll-track {
    display: flex;
    gap: 12px;
    width: max-content;
  }

  .track-left   { animation: scrollLeft  45s linear infinite; }
  .track-right  { animation: scrollRight 48s linear infinite; }

  .impressionen-section:hover .scroll-track { animation-play-state: paused; }

  @keyframes scrollLeft  { from { transform: translateX(0); }    to { transform: translateX(-50%); } }
  @keyframes scrollRight { from { transform: translateX(-50%); } to { transform: translateX(0); } }

  .scroll-item {
    width: 300px;
    height: 280px;
    border-radius: 14px;
    flex-shrink: 0;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .scroll-item:hover {
    transform: scale(1.04);
    box-shadow: 0 8px 32px rgba(107, 45, 139, 0.4);
    position: relative;
    z-index: 2;
  }

  .scroll-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    pointer-events: none;
  }

  .lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(20, 5, 25, 0.92);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
  }
  .lightbox.active { display: flex; }
  .lightbox-img {
    max-width: 90vw;
    max-height: 85vh;
    border-radius: 16px;
    object-fit: contain;
    animation: fadeInScale 0.25s ease;
  }
  @keyframes fadeInScale {
    from { opacity: 0; transform: scale(0.92); }
    to   { opacity: 1; transform: scale(1); }
  }
  .lightbox-close {
    position: fixed; top: 20px; right: 24px;
    width: 40px; height: 40px; border-radius: 50%;
    background: rgba(242, 239, 73, 0.15); border: none;
    cursor: pointer; display: flex; align-items: center;
    justify-content: center; font-size: 22px; color: #f2ef49;
    transition: background 0.2s;
  }
  .lightbox-close:hover { background: rgba(242, 239, 73, 0.3); }
  .lightbox-nav {
    position: fixed; top: 50%; transform: translateY(-50%);
    width: 44px; height: 44px; border-radius: 50%;
    background: rgba(242, 239, 73, 0.15); border: none;
    cursor: pointer; display: flex; align-items: center;
    justify-content: center; font-size: 26px; color: #f2ef49;
    transition: background 0.2s;
  }
  .lightbox-nav:hover { background: rgba(242, 239, 73, 0.3); }
  .lightbox-prev { left: 16px; }
  .lightbox-next { right: 16px; }
  .lightbox-counter {
    position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%);
    font-size: 13px; color: rgba(242, 239, 73, 0.6);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  }

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

/* Seitenkopf (ehemals Elementor-Absätze) */
.l25-head { max-width: calc(1200px + 16rem); margin: 0 auto; padding: 0 8rem; color: #6f247a; }
.l25-title { font-family: MONUMENT_UEBERSCHRIFTEN, sans-serif; font-weight: 700; font-size: 5rem; line-height: 1.1; margin: 0 0 2rem; }
.l25-intro { font-family: COPYTEXTE, "Outfit", sans-serif; font-weight: 400; font-size: 1.8rem; line-height: 1.5; margin: 0 0 4rem; }
.l25-intro strong { font-weight: 700; }
.l25-subtitle { font-family: MONUMENT_UEBERSCHRIFTEN, sans-serif; font-weight: 700; font-size: 4rem; line-height: 1.1; color: #6f247a; text-align: center; margin: 3rem 0 0; }
@media (max-width: 1024px) {
  .l25-head { padding: 0 3rem 0 4rem; }
  .l25-title { font-size: 4rem; }
  .l25-intro { font-size: 1.5rem; }
  .l25-subtitle { font-size: 2.3rem; }
}
@media (max-width: 767px) {
  .l25-head { padding: 0 1.5rem; }
  .l25-title { font-size: 2.8rem; line-height: 3.2rem; margin-top: 45px; }
  .l25-intro { font-size: 1.4rem; }
  .l25-subtitle { font-size: 2rem; text-align: start; padding: 0 1.5rem; }
}

/* YouTube-Video, Zwei-Klick-Lösung */
.lim-video {
  position: relative; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden;
  background: #53145D url("/assets/img/personen/janschoelzel_2025.09.18-Liminale_MG_7884_klein-foto.webp") center / cover;
}
.lim-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.lim-video-start {
  position: absolute; inset: 0; width: 100%; border: 0; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  background: rgba(83, 20, 93, 0.55); color: #fff; font-family: "Outfit", sans-serif; padding: 20px;
  transition: background .2s ease;
}
.lim-video-start:hover, .lim-video-start:focus-visible { background: rgba(83, 20, 93, 0.35); }
.lim-video-start:focus-visible { outline: 3px solid #ff265c; outline-offset: -6px; }
.lim-video-play {
  width: 76px; height: 76px; border-radius: 50%; background: #ff265c;
  display: grid; place-items: center;
}
.lim-video-play svg { width: 30px; height: 30px; margin-left: 5px; fill: #fff; }
.lim-video-label { font-size: 1.3rem; font-weight: 700; }
.lim-video-hint { font-size: .9rem; max-width: 34em; text-align: center; opacity: .9; }
.l25-section-gap { height: 3.5rem; }
.l25-speaker { margin-bottom: 120px; }
