/* ============================================================
   Innuvis — Hinweis auf das Live-Webinar am 03.12.2026
   ------------------------------------------------------------
   Gehoert zu assets/in-webinar-hinweis.js. Klassen-Praefix in-wh-.
   Befristet bis 03.12.2026, 10:00 Uhr; danach ersatzlos entfernen.
   Aufbau nach in-umfrage.css (W66): z-index 250 (unter der
   Einwilligungsebene 300), kein Scroll-Lock am body.
   ============================================================ */

.in-wh-ebene {
  position: fixed; inset: 0; z-index: 250;
  display: flex; align-items: center; justify-content: center;
  padding: 24px 20px calc(24px + env(safe-area-inset-bottom, 0px));
  background: rgba(10, 1, 24, .74);
  opacity: 0; transition: opacity .25s cubic-bezier(.16, 1, .3, 1);
}
.in-wh-ebene.is-visible { opacity: 1; }

.in-wh-karte {
  position: relative; width: 100%; max-width: 460px; max-height: 92vh; overflow-y: auto;
  background: var(--in-surface, #0F0520);
  border: 1px solid var(--in-border, rgba(255, 255, 255, .10));
  border-radius: 12px; box-shadow: 0 24px 48px rgba(0, 0, 0, .55);
  color: var(--in-text, #FFFFFF);
  font-family: 'Inter', -apple-system, 'Segoe UI', sans-serif;
  transform: translateY(10px); transition: transform .25s cubic-bezier(.16, 1, .3, 1);
}
.in-wh-ebene.is-visible .in-wh-karte { transform: none; }
.in-wh-karte:focus { outline: none; }

.in-wh-bild { position: relative; aspect-ratio: 16 / 8; overflow: hidden; border-radius: 12px 12px 0 0; background: #18023A; }
.in-wh-bild img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 30% 40%; }
.in-wh-termin {
  position: absolute; left: 14px; bottom: 14px;
  background: var(--in-blue, #2D7ABE); color: #FFFFFF;
  font-weight: 700; font-size: 14px; letter-spacing: .01em;
  padding: 7px 12px; border-radius: 6px; box-shadow: 0 6px 18px rgba(0, 0, 0, .35);
}

.in-wh-inhalt { padding: 20px 22px 22px; }
.in-wh-kicker {
  margin: 0 0 6px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--in-blue-bright, #5EA8E8);
}
.in-wh-titel {
  margin: 0 0 10px; font-family: 'Outfit', sans-serif; font-weight: 700;
  font-size: 24px; line-height: 1.2; letter-spacing: -.01em; color: var(--in-text, #FFFFFF);
}
.in-wh-text { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--in-text-dim, #9B96B0); }

.in-wh-aktionen { display: flex; gap: 10px; margin-top: 18px; }
.in-wh-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 13px 18px; border-radius: 6px;
  font-family: 'Inter', sans-serif; font-weight: 600; font-size: 15px; text-align: center;
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: background .15s ease, border-color .15s ease;
}
.in-wh-btn-ja { flex: 1 1 auto; background: var(--in-blue, #2D7ABE); color: #FFFFFF; }
.in-wh-btn-ja:hover { background: var(--in-blue-deep, #25659E); }
.in-wh-btn-spaeter { flex: 0 0 auto; background: transparent; color: var(--in-text, #FFFFFF); border-color: rgba(255, 255, 255, .35); }
.in-wh-btn-spaeter:hover { border-color: var(--in-blue, #2D7ABE); }
.in-wh-btn:focus-visible, .in-wh-zu:focus-visible { outline: 2px solid var(--in-blue-bright, #5EA8E8); outline-offset: 2px; }

.in-wh-zu {
  position: absolute; top: 10px; right: 10px; width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center; border-radius: 50%;
  background: rgba(10, 1, 24, .66); border: 1px solid rgba(255, 255, 255, .55);
  color: #FFFFFF; font-size: 20px; line-height: 1; cursor: pointer; transition: background .15s ease;
}
.in-wh-zu:hover { background: rgba(10, 1, 24, .88); }

@media (max-width: 480px) {
  .in-wh-ebene { padding: 16px 16px calc(16px + env(safe-area-inset-bottom, 0px)); }
  .in-wh-inhalt { padding: 18px 18px 18px; }
  .in-wh-titel { font-size: 21px; }
  .in-wh-aktionen { flex-direction: column; }
}
/* Flaches Fenster: Bild links, Inhalt rechts */
@media (max-height: 560px) and (min-width: 620px) {
  .in-wh-karte { display: flex; max-width: 680px; height: min(92vh, 380px); overflow: hidden; }
  .in-wh-bild { flex: 0 0 42%; aspect-ratio: auto; height: 100%; border-radius: 12px 0 0 12px; }
  .in-wh-inhalt { flex: 1 1 58%; min-width: 0; display: flex; flex-direction: column; justify-content: center; overflow-y: auto; }
  .in-wh-aktionen { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  .in-wh-ebene, .in-wh-karte { transition: none !important; }
  .in-wh-karte { transform: none !important; }
}
