/* Vorschau: eigene Website eingeben, mit der eigenen Empfangskraft chatten (Text + Stimme). Nutzt Pult, Mitschrift
   und Auftragszettel aus markex.css; hier nur Anordnung und die neuen Teile (Eingabe, Leiste). */
.vorschau { padding: clamp(96px, 11vw, 168px) 0; background: var(--flaeche); }
.vorschau-raster { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.vorschau h2 { font-size: clamp(2.4rem, 1.35rem + 3.3vw, 4.8rem); line-height: 1; font-weight: 740; letter-spacing: -.048em; max-width: 14ch; }
.vorschau-kopf > p:not(.vorschau-marke):not(.vorschau-fehler) { margin-top: 22px; color: var(--tinte-2); }
.vorschau-marke { margin-bottom: 18px; font-size: .85rem; font-weight: 600; color: var(--signal-tief, var(--gruen)); }
.vorschau-form { display: flex; flex-wrap: wrap; gap: 12px; align-items: end; margin-top: 30px; }
.vorschau-feld { flex: 1 1 240px; display: grid; gap: 6px; font-size: .85rem; font-weight: 500; color: var(--leise); }
.vorschau-feld input { min-height: 54px; padding: 0 20px; border: 1px solid rgba(11, 18, 32, .16); border-radius: 999px; background: #fff;
  font: inherit; font-size: 1.05rem; font-weight: 560; color: var(--tinte); }
.vorschau-feld input:focus { outline: 2px solid var(--signal, var(--gruen)); outline-offset: 2px; }
.vorschau-fehler { margin-top: 16px; color: var(--rot); font-weight: 560; }
.vorschau-hinweis { display: inline-block; margin-top: 18px; font-weight: 600; color: var(--tinte); text-underline-offset: 3px; }

.vorschau-buehne { display: grid; gap: 22px; }
.vorschau-konsole { grid-template-columns: minmax(0, 1fr); }
.vorschau [hidden] { display: none !important; }
.vorschau-konsole .konsole-bild { display: grid; min-height: 420px; grid-template-rows: auto minmax(0, 1fr) auto auto; }
.vorschau-konsole .konsole-mitschrift { max-height: 440px; overflow-y: auto; overscroll-behavior: contain; padding-right: 4px; align-content: start; }
.vorschau-platzhalter { opacity: .8; }
.mitschrift .denkt::after { content: "…"; animation: vorschau-puls 1s ease-in-out infinite; }
@keyframes vorschau-puls { 50% { opacity: .3; } }
.vorschau-eingabe { display: flex; gap: 8px; margin-top: 18px; }
.vorschau-eingabe input { flex: 1; min-width: 0; min-height: 44px; padding: 0 18px; border: 1px solid var(--nacht-linie); border-radius: 999px;
  background: rgba(255, 255, 255, .06); color: #fff; font: inherit; font-size: 1rem; }
.vorschau-eingabe input::placeholder { color: var(--nacht-text); }
.vorschau-eingabe input:focus { outline: 2px solid var(--signal, var(--gruen-hell)); outline-offset: 1px; }
.vorschau-leiste { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 16px; margin-top: 14px;
  font-size: .82rem; color: var(--nacht-text); }
.vorschau-ton { min-height: 44px; padding: 0; border: 0; background: none; color: #fff; font: inherit; font-weight: 600; cursor: pointer;
  text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, .3); }
.vorschau-ton[aria-pressed="false"] { color: var(--nacht-text); }
.vorschau-ton:disabled { opacity: .45; cursor: default; }

.vorschau-auftrag { position: relative; left: auto; bottom: auto; width: 100%; max-width: 520px; justify-self: end; }
.vorschau-auftrag .auftrag-felder div { grid-template-columns: 76px minmax(0, 1fr); }
.vorschau-auftrag .stempel { top: 18px; bottom: auto; right: 18px; }
.vorschau-auftrag:not([hidden]) { animation: ruck .4s ease; }
.vorschau-weiter { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px;
  font-size: .82rem; color: var(--leise); }

@media (max-width: 900px) {
  .vorschau-raster { grid-template-columns: minmax(0, 1fr); }
  .vorschau-konsole .konsole-bild { min-height: 360px; }
  .vorschau-auftrag { justify-self: stretch; max-width: none; }
}
