/* dialog.css — Seite /dialog/ (direktgefragt: Live-Embed, Funktionen, Preise) */

/* Panorama-Bild (3:1): Mikrofon + Laptop stehen rechts — beim Zuschneiden
   auf schmalen Bildschirmen diesen Teil im Bild halten. */
.dialog-hero .cinema-hero-media {
  object-position: 72% center;
}

@media (max-width: 760px) {
  .dialog-hero .cinema-hero-media {
    object-position: 70% center;
  }
  /* Text braucht auf dem Handy mehr Abdunklung, das Bild ist dort heller */
  .dialog-hero .cinema-hero-overlay {
    background: linear-gradient(to bottom, rgba(0,49,42,.55) 0%, rgba(0,49,42,.78) 100%);
  }
}

/* ── Embed-Rahmen: ruhige Fläche, Shadow statt Rahmenstreifen ── */
.dialog-embed {
  max-width: 960px;
  margin: 0 auto 80px;
  padding: 8px;
  background: var(--white);
  border-radius: 18px;
  box-shadow: 0 24px 48px -24px rgba(0, 49, 42, .35);
}

.dialog-embed [data-direktgefragt] {
  min-height: 420px;
}

.dialog-embed-hinweis {
  margin: 12px 16px 8px;
  font-size: .82rem;
  line-height: 1.5;
  color: var(--text-muted);
}

/* ── Schritte für Teilnehmende ── */
.dialog-schritte {
  list-style: none;
  counter-reset: schritt;
  padding: 0;
  max-width: var(--container-max);
  margin: 0 auto 80px;
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.dialog-schritte li {
  counter-increment: schritt;
  position: relative;
  padding: 56px 24px 24px;
  background: var(--white);
  border-radius: 14px;
  box-shadow: 0 1px 0 var(--border), 0 10px 28px -20px rgba(0, 49, 42, .45);
}

.dialog-schritte li::before {
  content: counter(schritt);
  position: absolute;
  top: 18px;
  left: 24px;
  font-family: 'Outfit', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1;
  color: var(--green);
}

.dialog-schritte h3,
.dialog-funktionen h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.dialog-schritte p,
.dialog-funktionen p {
  font-size: .92rem;
  line-height: 1.6;
  color: var(--text-muted);
}

/* ── Funktionen für Veranstalter ── */
.dialog-funktionen {
  max-width: var(--container-max);
  margin: 0 auto 80px;
  display: grid;
  gap: 2px;
  /* 10 Kacheln: 5 × 2 / 2 × 5 / 1 — keine halbe Reihe, sonst zeigt das Gap-Raster graue Löcher */
  grid-template-columns: 1fr;
  background: var(--border);
  border-radius: 16px;
  overflow: hidden;
}

.dialog-funktionen article {
  background: var(--white);
  padding: 28px 26px;
  transition: background-color .2s;
}

.dialog-funktionen article:hover {
  background: var(--bg);
}

@media (min-width: 640px) {
  .dialog-funktionen { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1280px) {
  .dialog-funktionen { grid-template-columns: repeat(4, 1fr); }
}

/* ── Einsatz ── */
.dialog-einsatz {
  list-style: none;
  padding: 0;
  max-width: var(--container-max);
  margin: 0 auto 80px;
  display: grid;
  gap: 16px;
  /* 300px: sechs Einsatzfelder als 3 × 2 statt 4 + 2 (2026-11-03) */
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
}

.dialog-einsatz li {
  background: var(--green-light);
  border-radius: 14px;
  padding: 22px 24px;
  font-family: 'Source Serif 4', serif;
  font-size: .95rem;
  line-height: 1.6;
}

.dialog-einsatz strong {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  margin-bottom: 6px;
  color: var(--green-dark);
}

/* ── Preise ── */
.dialog-teilnahme-hinweis {
  max-width: var(--text-max);
  margin: 0 auto 36px;
  padding: 16px 20px;
  border-radius: 12px;
  background: var(--green-light);
  color: var(--green-dark);
  font-size: .95rem;
  line-height: 1.55;
  text-align: center;
}

.dialog-preise {
  max-width: var(--container-max);
  margin: 0 auto 28px;
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(4, 1fr);
}

.dialog-preis {
  display: flex;
  flex-direction: column;
  padding: 32px 26px 28px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 16px;
  text-align: center;
  transition: transform .25s, box-shadow .25s;
}

.dialog-preis:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(62,124,47,.1);
}

.dialog-preis h3 {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: .02em;
  margin-bottom: 12px;
}

.dialog-preis-betrag {
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1;
  color: var(--text);
  margin: 0 0 4px;
}

.dialog-preis-betrag span {
  font-size: 1.1rem;
  font-weight: 600;
  vertical-align: super;
}

.dialog-preis-einheit {
  font-size: .78rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.dialog-preis ul {
  list-style: none;
  padding: 16px 0 0;
  margin: 0 0 24px;
  border-top: 1px solid var(--border);
  flex-grow: 1;
}

.dialog-preis li {
  font-size: .92rem;
  padding: 4px 0;
}

/* Befristeter Einführungspreis — Karte hervorgehoben, Hinweis ohne Streichpreis */
.dialog-preis--aktion {
  border-color: var(--green);
  box-shadow: 0 8px 28px rgba(62,124,47,.12);
}

.dialog-preis-aktion {
  margin: -10px 0 18px;
  padding: 6px 10px;
  border-radius: 8px;
  background: var(--hero);
  color: var(--green-dark);
  font-size: .78rem;
  font-weight: 700;
  line-height: 1.35;
}

.dialog-preis-aktion span {
  display: block;
  font-weight: 500;
}

.dialog-preis .btn {
  width: 100%;
}

.dialog-inklusive {
  max-width: var(--container-max);
  margin: 0 auto 64px;
  padding: 28px 32px;
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 1px 0 var(--border), 0 10px 28px -20px rgba(0, 49, 42, .45);
}

.dialog-inklusive h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.dialog-inklusive ul {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  display: grid;
  gap: 8px 32px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.dialog-inklusive li {
  position: relative;
  padding-left: 26px;
  font-size: .92rem;
  line-height: 1.45;
}

.dialog-inklusive li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 2px;
  width: 16px;
  height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23014639' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* Abgrenzung Software / Technik vor Ort — gleiche Gewichtung wie die Inklusiv-Liste */
.dialog-abgrenzung {
  margin: 0 0 18px;
  padding: 20px 24px;
  background: var(--bg);
  border-radius: 12px;
  box-shadow: inset 0 0 0 1px var(--border);
}

.dialog-abgrenzung p {
  margin: 0 0 12px;
  font-size: .92rem;
  line-height: 1.5;
}

.dialog-abgrenzung ul {
  margin: 0;
}

.dialog-abgrenzung li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23656E63' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 6 6 18M6 6l12 12'/%3E%3C/svg%3E");
}

@media (max-width: 520px) {
  .dialog-abgrenzung {
    padding: 16px;
  }
}

.dialog-preise-fussnote {
  margin: 0;
  font-size: .8rem;
  color: var(--text-muted);
}

.dialog-cta,
.dialog-faq {
  margin-bottom: 80px;
}

@media (max-width: 1100px) {
  .dialog-preise {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .dialog-cta {
    grid-template-columns: 1fr;
    padding: 36px 24px;
  }
  .dialog-inklusive {
    padding: 24px 20px;
  }
}

/* Handy: zwei Spalten bleiben, Karten kompakter — vier Karten untereinander wären zu lang */
@media (max-width: 520px) {
  .dialog-preise {
    gap: 12px;
  }
  .dialog-preis {
    padding: 22px 14px 18px;
  }
  .dialog-preis-betrag {
    font-size: 2.1rem;
  }
  .dialog-preis li {
    font-size: .85rem;
  }
}
