/* ============================================
   IRIS Festival – Modal Styles
   ============================================ */

.modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
}

.modal.is-open {
  opacity: 1;
  visibility: visible;
}

/* Kein blur mehr, schön eingefärbter Hintergrund wie vorher */
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(13, 0, 21, 0.95);
}

/* Dialog mit solidem Hintergrund, nicht durchsichtig */
.modal__dialog {
  position: relative;
  width: 100%;
  max-width: 500px;
  max-height: 80vh;
  background: linear-gradient(135deg, #1e0532 0%, #2d003c 100%);
  border: 2px solid rgba(212, 175, 55, 0.5);
  border-radius: var(--radius-xl);
  box-shadow: 0 0 60px rgba(212, 175, 55, 0.3);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: scale(0.9);
  transition: transform var(--transition-base);
}

.modal.is-open .modal__dialog {
  transform: scale(1);
}

/* Jugendstil Ornamente in Modal */
.modal__dialog::before,
.modal__dialog::after {
  content: "";
  position: absolute;
  width: 40px;
  height: 40px;
  border: 2px solid var(--c-gold);
  opacity: 0.4;
  z-index: 1;
}

.modal__dialog::before {
  top: 12px;
  left: 12px;
  border-right: none;
  border-bottom: none;
  border-top-left-radius: var(--radius-lg);
}

.modal__dialog::after {
  bottom: 12px;
  right: 12px;
  border-left: none;
  border-top: none;
  border-bottom-right-radius: var(--radius-lg);
}

.modal__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212, 175, 55, 0.15);
  border: 2px solid rgba(212, 175, 55, 0.4);
  border-radius: 50%;
  color: var(--c-gold);
  font-size: 1.5rem;
  cursor: pointer;
  transition: all var(--transition-base);
  z-index: 30;
}

.modal__header {
  position: relative;
  flex: 0 0 auto;
}

.modal__close:hover {
  background: rgba(212, 175, 55, 0.3);
  border-color: var(--c-gold);
  transform: rotate(90deg);
}

/* Modal Images - KORREKTE Klassen für app.js */
.modal__imgs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 2rem 2rem 1rem;
  flex-wrap: wrap;
}

/* Portrait - RUND und KLEIN (100px) */
.modal__img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--c-gold);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}

/* Logo neben Portrait */
.modal__logo {
  max-height: 50px;
  width: auto;
  object-fit: contain;
}

 .modal__title {
  font-family: "Cinzel", serif;
  font-size: 1.6rem;
  font-weight: 700;
  text-align: center;
  padding: 1.35rem 4.6rem 0.8rem;
  margin: 0;
  background: linear-gradient(135deg, var(--c-gold), var(--c-gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@media (max-width: 420px) {
  .modal__title {
    font-size: 1.35rem;
    padding: 1.6rem 4.6rem 0.8rem;
  }
  .modal__close {
    top: 0.6rem;
    right: 0.6rem;
    width: 38px;
    height: 38px;
  }
}


.modal__body {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem 2rem 2rem;
  scrollbar-width: thin;
  scrollbar-color: var(--c-gold) transparent;
}

.modal__body::-webkit-scrollbar {
  width: 6px;
}

.modal__body::-webkit-scrollbar-track {
  background: transparent;
}

.modal__body::-webkit-scrollbar-thumb {
  background: rgba(212, 175, 55, 0.5);
  border-radius: 3px;
}

.modal__text {
  font-family: "Inter", sans-serif;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  margin-bottom: 1rem;
}

/* Weiterlesen Button - Dezent */
.modal__toggle {
  display: inline-block;
  font-family: "Inter", sans-serif;
  font-size: 0.9rem;
  color: var(--c-gold);
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  margin-top: 0.5rem;
  padding: 0;
  transition: all var(--transition-fast);
}

.modal__toggle:hover {
  color: var(--c-gold-light);
}

/* Marketing Links als Buttons */
.modal__link-btn {
  display: block;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(212, 175, 55, 0.1));
  border: 2px solid rgba(212, 175, 55, 0.5);
  border-radius: var(--radius-md);
  color: var(--c-gold);
  font-family: "Cinzel", serif;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: all var(--transition-base);
  text-decoration: none;
  margin-top: 1rem;
}

.modal__link-btn:hover {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.4), rgba(212, 175, 55, 0.2));
  border-color: var(--c-gold);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

/* SoundCloud Embed - BREITER */
.modal__embed {
  margin-top: 1.5rem;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.modal__embed iframe {
  width: 100%;
  min-height: 166px;
  border: none;
  border-radius: var(--radius-md);
}


/* ===== Notify channel selector (GET INFORMED) ===== */
.notify-tabs {
  display: flex;
  gap: 0.5rem;
  margin: 0.8rem 0 1.1rem;
}

.notify-tab {
  flex: 1;
  padding: 0.65rem 0.9rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(212, 175, 55, 0.45);
  background: rgba(0, 0, 0, 0.18);
  color: rgba(255, 255, 255, 0.9);
  font-family: "Cinzel", serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition-base);
}

.notify-tab.is-active {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.95), rgba(255, 216, 120, 0.95));
  color: #1a001f;
  border-color: rgba(212, 175, 55, 0.95);
  box-shadow: 0 8px 26px rgba(212, 175, 55, 0.25);
}

.notify-panel {
  margin-top: 0.5rem;
}

.notify-card {
  border: 1px solid rgba(212, 175, 55, 0.25);
  background: rgba(0, 0, 0, 0.14);
  border-radius: var(--radius-lg);
  padding: 1.1rem 1.2rem;
}

.notify-card__title {
  margin: 0 0 0.35rem;
  font-family: "Cinzel", serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
}

.notify-card__text {
  margin: 0 0 1rem;
}

.notify-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
}

.notify-form {
  display: grid;
  gap: 0.65rem;
  margin-top: 0.2rem;
}

.notify-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
}

.notify-input {
  width: 100%;
  padding: 0.9rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(212, 175, 55, 0.35);
  background: rgba(0, 0, 0, 0.25);
  color: rgba(255, 255, 255, 0.95);
}

.notify-input:focus {
  outline: 2px solid rgba(212, 175, 55, 0.55);
  outline-offset: 2px;
}

.notify-note {
  margin: 0.9rem 0 0;
  font-size: 0.92rem;
}


/* Notify modal hint */
.notify-hint{margin:12px 0 0 0;}
