/* Kapitel "So sieht Funnel aus" (Strang D). Nur Variablen und Klassen aus basis.css, eigene Klassen mit d-. */

.d-einblick { display: grid; gap: clamp(18px, 3vw, 28px); }
.d-steuerung { display: grid; gap: 14px; justify-items: start; }
.d-umschalter { max-width: 100%; }
/* Reiter: gewählt wie .seg button[aria-pressed="true"] in basis.css, aber über aria-selected (role="tab") */
.d-umschalter button[aria-selected="true"] { background: var(--flaeche); color: var(--lila); box-shadow: 0 2px 8px rgba(102, 0, 102, 0.12); }
.d-satz { margin: 0; color: var(--ink-2); min-height: 3.2em; }

/* Das Bild als ruhiges Fenster: helle Fläche, große Rundung, weicher Schatten */
.d-fenster { margin: 0; }
.d-rahmen { background: var(--flaeche); border-radius: var(--rund-gross); padding: clamp(6px, 1vw, 10px); box-shadow: var(--schatten-gross); border: 1px solid var(--linie); }
.d-bild { width: 100%; height: auto; border-radius: calc(var(--rund-gross) - 10px); background: var(--flaeche-2); transition: opacity 0.16s ease; }
.d-bild.d-weg { opacity: 0; }
.d-hinweis { margin: 0; }
.einblick-fuss { margin: 18px 0 0; max-width: 78ch; }

@media (max-width: 420px) {
  .d-umschalter button { padding: 6px 11px; font-size: 0.95rem; }
}
@media (max-width: 860px) {
  .d-rahmen { border-radius: var(--rund); padding: 4px; }
  .d-bild { border-radius: calc(var(--rund) - 4px); }
  .d-satz { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .d-bild { transition: none; }
}

/* Sechs Reiter: auf schmalen Schirmen umbrechen statt seitlich zu scrollen (b.css lässt sonst .seg scrollen) */
@media (max-width: 860px) {
  .pw .seg.d-umschalter { flex-wrap: wrap; overflow-x: visible; border-radius: 22px; }
}
