/* ═══════════════════════════════════════════════════════════
   Verhör-Protokoll – Styling
   (Druck läuft über ein separates Druckfenster im JS – siehe
    verhoer-protokoll.js. Dieses CSS ist nur für die Vorschau.)
   ═══════════════════════════════════════════════════════════ */

/* Fußzeilen-Platzhalter nur im Druck relevant – in Vorschau ausblenden */
.vp-fusszeile-spacer {
  display: none;
}

/* ── Aktions-Leiste ── */
.vp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

/* ── Buttons ── */
.vp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.vp-btn--print {
  background: linear-gradient(135deg, rgba(245,158,11,0.15), rgba(245,158,11,0.05));
  border-color: rgba(245,158,11,0.4);
  color: #f59e0b;
}
.vp-btn--print:hover {
  background: linear-gradient(135deg, rgba(245,158,11,0.25), rgba(245,158,11,0.1));
  box-shadow: 0 0 20px rgba(245,158,11,0.25);
  transform: translateY(-1px);
}

.vp-btn--reset {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.15);
  color: #cbd5e1;
}
.vp-btn--reset:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.25);
}

/* ── Zwei-Spalten-Layout ── */
.vp-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}
@media (max-width: 900px) {
  .vp-columns {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.vp-col-title {
  color: #fff;
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* ── Formular ── */
.vp-field {
  margin-bottom: 16px;
}
.vp-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 560px) {
  .vp-field-row {
    grid-template-columns: 1fr;
  }
}

.vp-label {
  display: block;
  color: #cbd5e1;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.vp-input,
.vp-textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  color: #fff;
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}
.vp-input::placeholder,
.vp-textarea::placeholder {
  color: rgba(148,163,184,0.5);
}
.vp-input:focus,
.vp-textarea:focus {
  outline: none;
  border-color: rgba(245,158,11,0.5);
  box-shadow: 0 0 0 3px rgba(245,158,11,0.12);
}
.vp-textarea {
  resize: vertical;
  min-height: 60px;
}

.vp-field-hint {
  color: #64748b;
  font-size: 0.78rem;
  margin-top: 5px;
  line-height: 1.4;
}

.vp-section-divider {
  color: #f59e0b;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 22px 0 12px;
  padding-bottom: 6px;
  border-bottom: 1px dashed rgba(245,158,11,0.25);
}

.vp-wfragen-hinweis {
  color: #94a3b8;
  font-size: 0.82rem;
  margin-bottom: 14px;
  line-height: 1.4;
}

.vp-wfrage-erklaerung {
  font-weight: 400;
  font-size: 0.78rem;
  color: #94a3b8;
  display: block;
  margin-top: 2px;
}

/* ── Checkboxen ── */
.vp-checkboxen {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}
.vp-checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  color: #cbd5e1;
  font-size: 0.88rem;
}
.vp-checkbox {
  width: 18px;
  height: 18px;
  accent-color: #f59e0b;
  cursor: pointer;
  flex-shrink: 0;
}
.vp-checkbox-text {
  line-height: 1.3;
}

/* ── Vorschau-Spalte ── */
.vp-preview-col {
  position: sticky;
  top: 20px;
}
@media (max-width: 900px) {
  .vp-preview-col {
    position: static;
  }
}

.vp-ausfuell-hinweis {
  text-align: center;
  color: #94a3b8;
  font-size: 0.85rem;
  margin-top: 14px;
}

/* ═══════════════════════════════════════════════════════════
   Protokoll-Vorschau (Papier-Look)
   ═══════════════════════════════════════════════════════════ */
.vp-protokoll {
  background: #f5f1e6;
  color: #1a1a1a;
  border-radius: 6px;
  padding: 0;
  position: relative;
  font-family: 'Inter', system-ui, sans-serif;
  box-shadow: 0 8px 30px rgba(0,0,0,0.4);
  overflow: hidden;
}

/* Akten-Tab oben */
.vp-akte-tab {
  background: #1a1a1a;
  color: #f5f1e6;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-align: center;
  padding: 6px 0;
  border-radius: 6px 6px 0 0;
}

.vp-akte-body {
  padding: 22px 24px 18px;
  position: relative;
}

/* Lochung (Deko) */
.vp-lochung {
  position: absolute;
  top: 10px;
  right: 14px;
  display: flex;
  gap: 8px;
}
.vp-lochung span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(0,0,0,0.08);
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.15);
}

/* Header */
.vp-header {
  text-align: center;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid #1a1a1a;
}
.vp-header-titel {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #1a1a1a;
}
.vp-header-meta {
  font-size: 0.78rem;
  color: #555;
  margin-top: 4px;
}
.vp-header-fallnr {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: 8px;
  font-size: 0.85rem;
  justify-content: center;
}
.vp-header-fallnr-label {
  font-weight: 700;
  color: #1a1a1a;
}
.vp-header-fallnr-wert {
  color: #333;
  font-weight: 600;
}
.vp-header-fallnr-linie {
  display: inline-block;
  width: 100px;
  border-bottom: 1px solid #1a1a1a;
  height: 1em;
}

/* Section-Titel */
.vp-section-titel {
  font-weight: 800;
  font-size: 1rem;
  color: #1a1a1a;
  margin: 18px 0 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid #999;
}
.vp-section-titel--wfragen {
  margin-top: 32px;
}

/* Zeugen-Daten */
.vp-zeugen-section {
  margin-bottom: 8px;
}
.vp-zeugen-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.vp-datenzeile {
  display: flex;
  gap: 6px;
  font-size: 0.9rem;
  line-height: 1.6;
  align-items: baseline;
  padding-bottom: 4px;
  border-bottom: 1px solid #ccc;
}
.vp-daten-label {
  font-weight: 700;
  color: #1a1a1a;
  white-space: nowrap;
  min-width: 70px;
}
.vp-daten-wert {
  color: #333;
  word-break: break-word;
  flex: 1;
}

/* W-Fragen-Blöcke */
.vp-wfrage-block {
  margin-bottom: 14px;
}
.vp-wfrage-titel {
  font-weight: 800;
  font-size: 0.95rem;
  color: #1a1a1a;
  margin-bottom: 2px;
}
.vp-wfrage-erklaerung {
  font-size: 0.78rem;
  color: #666;
  margin-bottom: 6px;
  font-style: italic;
}

/* Antwort-Feld */
.vp-antwort-feld {
  min-height: 28px;
}
.vp-antwort-text {
  font-size: 0.92rem;
  color: #333;
  line-height: 1.8;
  white-space: pre-wrap;
  padding: 6px 0;
}
.vp-antwort-linien {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 6px 0;
}
.vp-antwort-linien span {
  border-bottom: 1px solid #999;
  height: 20px;
}

/* Verhaltens-Beobachtung */
.vp-verhalten-section {
  margin-top: 16px;
}
.vp-verhalten-zeile {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 0.88rem;
  color: #333;
}
.vp-verhalten-kasten {
  width: 16px;
  height: 16px;
  border: 2px solid #1a1a1a;
  border-radius: 3px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.8rem;
  color: #1a1a1a;
  flex-shrink: 0;
}
.vp-verhalten-text {
  line-height: 1.3;
}
.vp-verhalten-notiz {
  margin-top: 10px;
}
.vp-verhalten-notiz-label {
  font-weight: 700;
  font-size: 0.85rem;
  color: #1a1a1a;
  margin-bottom: 4px;
}

/* Unterschriften */
.vp-unterschriften {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 24px;
}
.vp-unterschrift {
  text-align: center;
}
.vp-unterschrift-linie {
  border-bottom: 1px solid #1a1a1a;
  height: 36px;
  margin-bottom: 4px;
}
.vp-unterschrift-label {
  font-size: 0.75rem;
  color: #555;
  font-weight: 600;
}

/* Fußzeile */
.vp-fusszeile {
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px solid #999;
  font-size: 0.72rem;
  color: #555;
  text-align: center;
  font-style: italic;
}