/* Themenseiten (§ 34a, WaffG, UZwGBw, Unterweisung, Objekteinweisung,
   Schießnachweis). Baut auf style.css auf, Mobile First: die Basis gilt
   fürs Handy, größere Breiten kommen über min-width dazu. */

body { display: flex; flex-direction: column; min-height: 100vh; }
main { flex: 1; }

/* ── Kopf ─────────────────────────────────────────────────────────────── */
.t-hero {
  padding: 2.25rem 1rem 2rem;
  border-bottom: 1px solid var(--c-border);
}
.t-hero-grid { max-width: var(--measure); margin: 0 auto; display: grid; gap: 2rem; }
.t-hero h1 {
  font-size: 1.8rem;
  line-height: 1.14;
  margin-bottom: 1rem;
  max-width: 24ch;
  text-wrap: balance;
}
.t-hero h1 em { font-style: normal; color: var(--c-accent2); }
.t-lead { font-size: 1rem; color: var(--c-muted); line-height: 1.75; max-width: 60ch; }
.t-lead strong { color: var(--c-text); font-weight: 600; }
.t-stand { margin-top: 1.1rem; font-size: 0.82rem; color: var(--c-muted); }
.t-stand time { color: var(--c-text); }
.t-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }
.t-actions .btn { padding: 0.8rem 1.4rem; font-size: 1rem; }

/* Brotkrumen über der H1 */
.t-pfad { font-size: 0.8rem; color: var(--c-muted); margin-bottom: 1rem; }
.t-pfad a { color: var(--c-muted); text-decoration: underline; text-underline-offset: 2px; }
.t-pfad span { margin: 0 0.35rem; }

/* ── Fließtext ────────────────────────────────────────────────────────── */
.prose p { color: var(--c-muted); line-height: 1.8; margin-bottom: 1rem; max-width: 68ch; font-size: 0.97rem; }
.prose p strong { color: var(--c-text); font-weight: 600; }
.prose h3 { font-size: 1.1rem; margin: 1.75rem 0 0.7rem; letter-spacing: 0.02em; }
.prose h3:first-child { margin-top: 0; }
.prose a, .t-lead a { color: var(--c-accent2); font-weight: 600; }
.prose ul { margin: 0 0 1.1rem; padding-left: 1.15rem; max-width: 66ch; }
.prose ul li { color: var(--c-muted); line-height: 1.7; margin-bottom: 0.4rem; font-size: 0.95rem; }
.prose ul li strong { color: var(--c-text); font-weight: 600; }

/* Wörtliches Zitat aus Gesetz oder Vorschrift */
.zitat {
  margin: 0 0 1.25rem;
  padding: 0.9rem 1rem;
  background: rgba(0,0,0,0.22);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.35);
  max-width: 68ch;
}
.zitat p { margin: 0; color: var(--c-text); font-size: 0.93rem; line-height: 1.7; }
.zitat cite { display: block; margin-top: 0.5rem; font-style: normal; font-size: 0.8rem; color: var(--c-muted); }
.zitat cite a { color: var(--c-accent2); font-weight: 600; }

/* ── Vergleichstabelle: mobil als Liste, ab 700px als Tabelle ─────────── */
.vs-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.vs-table, .vs-table tbody, .vs-table tr, .vs-table td { display: block; width: 100%; }
.vs-table thead { display: none; }
.vs-table tr { border-bottom: 1px solid var(--c-border2); padding: 0.5rem 0; }
.vs-table tr:last-child { border-bottom: none; }
.vs-table td { padding: 0.3rem 0; color: var(--c-muted); line-height: 1.6; }
.vs-table td:first-child { color: var(--c-text); font-weight: 600; font-size: 0.95rem; padding-top: 0.6rem; }
.vs-table td[data-l]::before {
  content: attr(data-l); display: block;
  font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--c-accent); margin-bottom: 0.15rem;
}

/* ── Nummerierte Liste mit Trennlinien ────────────────────────────────── */
.fields { counter-reset: f; list-style: none; padding: 0; margin: 0; display: grid; }
.fields li {
  counter-increment: f;
  display: grid; grid-template-columns: 2.2rem 1fr; gap: 0.8rem;
  padding: 1rem 0; border-top: 1px solid var(--c-border);
  font-size: 0.93rem; color: var(--c-muted); line-height: 1.6;
}
.fields li::before {
  content: counter(f, decimal-leading-zero);
  font-family: var(--font-head); font-weight: 700;
  font-variant-numeric: tabular-nums; color: var(--c-accent);
  font-size: 0.82rem; letter-spacing: 0.1em; padding-top: 0.15rem;
}
.fields li strong { display: block; color: var(--c-text); font-weight: 600; margin-bottom: 0.2rem; }

/* Tätigkeiten mit Symbol */
.duty { display: grid; gap: 1.25rem; }
.duty-item { display: flex; gap: 0.9rem; align-items: flex-start; }
.duty-item .glyph { margin-top: 0.1rem; flex-shrink: 0; }
.duty-item h3 { font-size: 0.98rem; margin-bottom: 0.3rem; line-height: 1.35; }
.duty-item p { font-size: 0.88rem; color: var(--c-muted); line-height: 1.65; margin: 0; }

/* Quellenhinweis unter einem Abschnitt */
.source-note {
  margin-top: 1.5rem; padding-top: 1rem;
  border-top: 1px solid var(--c-border);
  font-size: 0.82rem; color: var(--c-muted); line-height: 1.7; max-width: 68ch;
}
.source-note a { color: var(--c-accent2); font-weight: 600; }

/* Quellenverzeichnis am Seitenende */
.quellen { list-style: none; padding: 0; margin: 0; max-width: 80ch; }
.quellen li { padding: 0.65rem 0; border-top: 1px solid var(--c-border); font-size: 0.88rem; color: var(--c-muted); line-height: 1.6; }
.quellen li:first-child { border-top: none; }
.quellen a { color: var(--c-accent2); font-weight: 600; word-break: break-word; }

/* ── Abschluss ────────────────────────────────────────────────────────── */
.cta-band { background: var(--c-surface); border-top: 1px solid var(--c-border); padding: 2.75rem 1rem; }
.cta-inner { max-width: var(--measure); margin: 0 auto; display: grid; gap: 1.5rem; align-items: center; }
.cta-inner h2 { font-size: 1.5rem; line-height: 1.2; margin-bottom: 0.7rem; }
.cta-inner p { color: var(--c-muted); font-size: 0.97rem; line-height: 1.75; max-width: 58ch; }
.cta-inner p a { color: var(--c-accent2); font-weight: 600; }
.cta-actions { display: flex; flex-direction: column; gap: 0.7rem; }
.cta-actions .btn { justify-content: center; padding: 0.8rem 1.75rem; }

/* ── Schießnachweis: Produktbild des Schießbuchs ──────────────────────── */
.buch { display: grid; gap: 1.5rem; align-items: center; }
.buch img { width: 100%; max-width: 280px; height: auto; border-radius: 4px; box-shadow: 0 18px 40px rgba(0,0,0,0.45), 0 2px 6px rgba(0,0,0,0.3); }
.buch-preis { font-size: 0.85rem; color: var(--c-muted); margin-top: 0.75rem; }

/* ── Größere Breiten ──────────────────────────────────────────────────── */
@media (min-width: 600px) {
  .duty { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fields--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2rem; }
}

@media (min-width: 700px) {
  .vs-table { display: table; }
  .vs-table thead { display: table-header-group; }
  .vs-table tbody { display: table-row-group; }
  .vs-table tr { display: table-row; padding: 0; border-bottom: none; }
  .vs-table th {
    text-align: left; padding: 0.85rem 1rem;
    border-bottom: 1px solid var(--c-border2);
    font-family: var(--font-head); font-size: 0.76rem;
    letter-spacing: 0.12em; text-transform: uppercase; color: var(--c-muted);
  }
  .vs-table th:first-child { width: 30%; }
  .vs-table td { display: table-cell; width: auto; padding: 0.85rem 1rem; border-bottom: 1px solid var(--c-border); vertical-align: top; font-size: 0.9rem; }
  .vs-table td:first-child { font-size: 0.9rem; padding-top: 0.85rem; }
  .vs-table tr:last-child td { border-bottom: none; }
  .vs-table td[data-l]::before { content: none; }
  .buch { grid-template-columns: 280px minmax(0, 1fr); gap: 2.5rem; }
}

@media (min-width: 761px) {
  .t-hero { padding: 3.5rem 1.5rem 3rem; }
  .t-hero h1 { font-size: clamp(2rem, 3.6vw, 2.6rem); }
  .t-lead { font-size: 1.06rem; }
  .cta-band { padding: clamp(3rem, 6vw, 4.25rem) 1.5rem; }
  .cta-inner h2 { font-size: clamp(1.6rem, 3vw, 2rem); }
}

@media (min-width: 900px) {
  .cta-inner { grid-template-columns: minmax(0, 1fr) auto; gap: 3rem; }
  .cta-actions .btn { white-space: nowrap; }
  .duty { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 981px) {
  .t-hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
}
