/* speaker.css — Speaker-LP-spezifische Styles (Bewerbungs-Modal + Feinheiten)
   Design-Sprache 1:1 Magic-Flow-Rebuild: purpleDeep-Panels, Gold rgb(251,194,1),
   Figtree/Montserrat (self-hosted). Kein Eingriff in kopierte Vorlage-Dateien. */

/* ---------------------------------------------------------------- Modal */

.spk-modal { position: fixed; inset: 0; z-index: 10000; display: flex; align-items: center; justify-content: center; padding: 16px; }
.spk-modal[hidden] { display: none; }
body.spk-modal-open { overflow: hidden; }

.spk-modal__overlay {
  position: absolute; inset: 0;
  background: rgba(8, 4, 18, 0.82);
  backdrop-filter: blur(4px);
}

.spk-modal__panel {
  position: relative; z-index: 1;
  width: 100%; max-width: 560px; max-height: calc(100vh - 32px);
  overflow-y: auto; -webkit-overflow-scrolling: touch;
  background: linear-gradient(160deg, rgb(40, 25, 84) 0%, rgb(24, 12, 46) 100%);
  border: 1px solid rgba(251, 194, 1, 0.55);
  border-radius: 16px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6), 0 0 40px rgba(251, 194, 1, 0.08);
  padding: 28px 24px 24px;
  color: #fff;
  font-family: Figtree, Arial, Helvetica, sans-serif;
}

.spk-modal__close {
  position: absolute; top: 10px; right: 12px;
  width: 44px; height: 44px;
  background: none; border: 0; color: rgba(255, 255, 255, 0.75);
  font-size: 30px; line-height: 1; cursor: pointer;
}
.spk-modal__close:hover { color: #fbc201; }

.spk-modal__headline {
  font-family: Montserrat, Arial, sans-serif;
  font-size: 24px; font-weight: 800; color: #fbc201;
  margin: 0 32px 10px 0;
}
.spk-modal__intro { font-size: 14.5px; line-height: 1.55; color: rgba(255, 255, 255, 0.85); margin: 0 0 18px; }

/* ----------------------------------------------------------------- Form */

.spk-form__field { margin-bottom: 14px; }
.spk-form__label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; color: #fff; }

.spk-form__input {
  width: 100%; box-sizing: border-box;
  font-size: 16px; /* >=16px: kein iOS-Auto-Zoom */
  font-family: inherit; color: #fff;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 10px;
  padding: 12px 14px;
  min-height: 44px; /* Touch-Target */
}
.spk-form__input:focus {
  outline: none;
  border-color: #fbc201;
  box-shadow: 0 0 0 3px rgba(251, 194, 1, 0.25);
}
.spk-form__input--area { resize: vertical; min-height: 96px; }

/* Honeypot: fürs Auge/Screenreader unsichtbar, für Bots ein normales Feld */
.spk-form__hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

.spk-form__privacy { font-size: 12.5px; color: rgba(255, 255, 255, 0.6); line-height: 1.5; margin: 12px 0 6px; }
.spk-form__privacy a { color: #fbc201; text-decoration: underline; }

.spk-form__msg { min-height: 1.2em; font-size: 14px; margin: 6px 0 10px; color: rgba(255, 255, 255, 0.85); }
.spk-form__msg.is-error { color: #ff9d9d; font-weight: 600; }

.spk-form__submit {
  width: 100%; cursor: pointer; border: 0;
  font-size: 17px;
}
.spk-form__submit:disabled { opacity: 0.7; cursor: wait; }
.spk-form__submit.is-loading::after { content: ' …'; }

.spk-form__sink { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; border: 0; }

/* ---------------------------------------------------------- Success-State */

.spk-modal__success { text-align: center; padding: 26px 8px 14px; }
.spk-modal__success-icon { font-size: 40px; color: #fbc201; margin-bottom: 10px; }
.spk-modal__success-headline { font-family: Montserrat, Arial, sans-serif; font-size: 22px; font-weight: 800; color: #fbc201; margin: 0 0 8px; }
.spk-modal__success-copy { font-size: 15px; color: rgba(255, 255, 255, 0.88); margin: 0; }

/* ---------------------------------------------------- Embed-Fallback (A) */

.spk-modal__embed { width: 100%; height: min(70vh, 640px); border: 0; border-radius: 10px; background: #fff; }

/* ------------------------------------------- Seiten-Feinheiten Speaker-LP */

/* Hero ohne Preis-Badge/Countdown: Textspalte vertikal ruhig zentrieren */
.mf-herox__date { letter-spacing: 0.06em; }

/* Reduced Motion: Modal ohne Blur-Kosten */
@media (prefers-reduced-motion: reduce) {
  .spk-modal__overlay { backdrop-filter: none; }
}

@media (max-width: 480px) {
  .spk-modal__panel { padding: 22px 16px 18px; }
  .spk-modal__headline { font-size: 20px; }
}

/* Embed-Modus: Panel breiter, damit das Google Form bequem passt */
.spk-modal__panel:has(.spk-modal__embed) { max-width: 720px; }

/* ------------------------- Speaker-Foto-Slideshow (Addendum V2.1) ------- */
/* Mosaik-Look bleibt 1:1 (sec-galerie); die Reihen laufen sanft durch.     */

#mf-speaker-galerie .sec-galerie__row.spk-marquee {
  display: flex; flex-wrap: nowrap; overflow: hidden;
  gap: 0;
}
.spk-marquee__track {
  display: flex; flex-wrap: nowrap; align-items: flex-start;
  gap: 14px; padding-right: 14px;
  flex: 0 0 auto;
  animation: spk-marquee var(--spk-marquee-dur, 60s) linear infinite;
}
.spk-marquee__track--rev { animation-direction: reverse; }
#mf-speaker-galerie .sec-galerie__row.spk-marquee:hover .spk-marquee__track { animation-play-state: paused; }
@keyframes spk-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-100%); }
}
@media (prefers-reduced-motion: reduce) {
  .spk-marquee__track { animation: none !important; }
}

/* ------------------- Speaker-Namen + «…und hier bist Du»-Kachel ---------- */
.spk-vidcard { display: flex; flex-direction: column; }
.spk-vidname {
  margin: 10px 0 0; text-align: center;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 15px; font-weight: 700; letter-spacing: 0.04em;
  color: #fbc201;
}
.spk-youtile {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; min-height: 200px; padding: 24px;
  border: 1.5px dashed rgba(251, 194, 1, 0.75); border-radius: 16px;
  background: linear-gradient(160deg, rgba(64, 35, 120, 0.55), rgba(24, 12, 46, 0.85));
  text-decoration: none; text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.spk-youtile:hover { transform: translateY(-4px); box-shadow: 0 14px 44px rgba(251, 194, 1, 0.18); }
.spk-youtile__star { font-size: 30px; color: #fbc201; }
.spk-youtile__big {
  font-family: Montserrat, Arial, sans-serif;
  font-size: 24px; font-weight: 800; color: #fff;
}
.spk-youtile__sub { font-size: 15px; font-weight: 600; color: #fbc201; }

/* ---------------------------------------------------- Benefit-Tag-Ausrichtung */
/* Jonas 21.07.: Gold-Tags (BÜHNE/PUBLIKUM/SICHTBARKEIT …) sassen je nach
   Textlänge auf unterschiedlicher Höhe — Karte als Flex-Spalte, Tag an die
   Unterkante gepinnt; Grid streckt Karten einer Reihe ohnehin gleich hoch. */
#mf-warum .mf-benefit { display: flex; flex-direction: column; }
#mf-warum .mf-benefit p.mf-benefit__tag { margin-top: auto; padding-top: 20px; }
