/* ==========================================================================
   jablonowski.at · page-text.css · Textseiten ohne eigenes Artefakt-Layout
   Ratgeber DIY (DE/EN), Impressum/Imprint, Datenschutz/Privacy, 404.
   Nur Tokens und Bausteine aus site.css (.page-hero, .crumbs, .slate, .h1/.h2/.h3, .lead, .uline, .sec[data-block],
   .sec--deep, .split, .col, .deep-band/.deep-index, .flow, .acc-list > details[name=faq], .btn, .link/.links,
   .finder, .rec-dot); Muster nach artifact-v3: Kopf wie beispiele.html (.bsp-hero), Lesetiefe wie preise.html
   (.pp-deep/.pp-prose/.pp-sticky/.pp-upd), Autorenbox wie preise.html (.pp-author), Abschluss wie beispiele.html (.bsp-cta).
   Akzent nur Phosphorgrün (--accent). Bewegung nur über site.css (Reduced Motion = Endzustand).

   Inhalt
   01 Kopf (Ratgeber, Recht)       05 Abschluss (CTA) + Autorenbox
   02 Lesetiefe (Split + Prosa)    06 Rechtstexte (Zeilen: Überschrift links, Text rechts)
   03 Raster „unterschätzt“         07 404 „Kein Signal“
   04 FAQ
   ========================================================================== */

/* ---------- 01 Kopf ---------- */
.tx-hero { padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.tx-hero-copy { display: grid; gap: 1rem; justify-items: start; margin-top: clamp(0.75rem, 2vw, 1.5rem); }
/* langer Seitenname in der Brotkrume: bricht neben „Start ›“ um, statt allein in eine neue Zeile zu springen */
.tx-hero .crumbs { align-items: baseline; }
.tx-hero .crumbs [aria-current] { flex: 1 1 14rem; padding-block: 0.5rem; }
.tx-hero .h1 { max-width: 17em; }
.tx-hero .lead { margin-top: 0.35rem; max-width: 36em; }
/* lange deutsche Wörter (z. B. „Datenschutzerklärung“) brechen bei 390 px sauber statt überzulaufen;
   Silbentrennung nur im Rechtskopf (im Ratgeber-H1 würde sie „er-stellen“ trennen) */
.tx-hero h1, .nf h1 { overflow-wrap: anywhere; }
.tx-hero--legal h1 { hyphens: auto; -webkit-hyphens: auto; }
.tx-upd { display: inline-flex; align-items: center; gap: 0.55rem; font-family: var(--f-mono); font-size: 0.75rem; letter-spacing: 0.02em; color: var(--muted); }
.tx-upd::before { content: ""; width: 0.45rem; height: 0.45rem; border-radius: 50%; background: var(--accent); flex: none; }
/* Rechtstexte: schlichter Kopf, Untertitel als Mono-Zeile */
.tx-hero--legal .h1 { max-width: none; }
.tx-hero--legal .tx-sub { font-family: var(--f-mono); font-size: 0.8rem; letter-spacing: 0.02em; line-height: 1.55; color: var(--muted); max-width: 52em; }

/* ---------- 02 Lesetiefe: H2 links (Desktop klebend), Prosa rechts ---------- */
.tx-sec .split { align-items: start; }
.tx-sec .col .h2 { max-width: 13em; }
@media (min-width: 900px) { .tx-sticky { position: sticky; top: calc(var(--head-h) + 2rem); } }
.tx-prose { display: grid; gap: 1rem; align-content: start; justify-items: start; max-width: 40em; }
.tx-prose p { color: var(--muted); }
.tx-prose p.tx-ink { color: var(--ink); font-size: var(--t-lead); line-height: 1.5; }
.tx-prose a:not(.link) { color: var(--ink); font-weight: 600; text-decoration-color: var(--accent); text-decoration-thickness: 1.5px; text-underline-offset: 0.2em; }
.tx-prose a:not(.link):hover { text-decoration-thickness: 2.5px; }
.tx-prose .flow { margin-top: 0.5rem; }
.tx-prose .flow b { color: var(--ink); }
.tx-prose .links { margin-top: 0.25rem; }

/* ---------- 03 Raster „Was beim Selbermachen unterschätzt wird“: vier Punkte mit Zähler ---------- */
.tx-grid { display: grid; gap: 1.75rem; width: 100%; counter-reset: tx; }
@media (min-width: 700px) { .tx-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem clamp(1.5rem, 3vw, 2.5rem); } }
@media (min-width: 1100px) { .tx-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.tx-item { counter-increment: tx; display: grid; gap: 0.6rem; align-content: start; padding-top: 1rem; border-top: 2px solid var(--ink); }
.tx-item::before { content: counter(tx, decimal-leading-zero); font-family: var(--f-mono); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.08em; color: var(--accent); }
.tx-item .h3 { font-size: clamp(1.1rem, 1.4vw, 1.3rem); }
.tx-item p { color: var(--muted); font-size: 0.97rem; }
.tx-item a { color: var(--ink); font-weight: 600; text-decoration-color: var(--accent); text-decoration-thickness: 1.5px; text-underline-offset: 0.2em; }

/* ---------- 04 FAQ (Zweispalter wie Kosten: Frage-Liste rechts, Autorenbox links unter der H2) ---------- */
.tx-faq .acc-list { align-self: start; }
@media (max-width: 899px) {
  .tx-faq .col { display: contents; }
  .tx-faq .acc-list { order: 1; }
  .tx-faq .tx-author { order: 2; margin-top: 0; padding-top: 0; border-top: 0; }
}

/* ---------- 05 Autorenbox + Abschluss ---------- */
.tx-author { display: grid; grid-template-columns: 4rem minmax(0, 1fr); gap: 1rem; align-items: start; margin-top: clamp(1.5rem, 3vw, 2.5rem); padding-top: 1.25rem; border-top: 1px solid var(--line); font-size: var(--t-small); color: var(--muted); max-width: 24rem; }
.tx-author-img { position: relative; width: 4rem; aspect-ratio: 1; overflow: hidden; background: #070f0e; }
.tx-author-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.tx-author-copy { display: grid; gap: 0.35rem; justify-items: start; }
.tx-author b { color: var(--ink); font-weight: 700; }
.tx-author .link { min-height: 2.5rem; font-size: 0.92rem; }

.tx-cta-in { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1.75rem 3rem; }
.tx-cta-in .col { max-width: 40rem; gap: 1rem; }
.tx-cta-in .lead { color: var(--muted); }
.tx-cta-act { display: grid; gap: 0.75rem; justify-items: start; }
@media (min-width: 1000px) { .tx-cta-act { justify-items: end; } }
.tx-cta-act .links { gap: 0 1.5rem; }
@media (max-width: 599px) { .tx-cta-act, .tx-cta-act .btn { width: 100%; } }

/* ---------- 06 Rechtstexte: Zeilen wie ein Call-Sheet (Überschrift links, Text rechts) ---------- */
.tx-legal { --sec: clamp(3rem, 6vw, 5rem); }
.tx-rows { border-top: 1px solid var(--ink); }
.tx-row { display: grid; gap: 0.75rem; padding-block: clamp(1.4rem, 2.6vw, 2rem); border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .tx-row { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); column-gap: clamp(2rem, 5vw, 4.5rem); } }
.tx-row h2 { font-size: clamp(1.1rem, 1.5vw, 1.3rem); font-weight: 800; letter-spacing: -0.015em; line-height: 1.25; max-width: 18em; overflow-wrap: anywhere; hyphens: auto; -webkit-hyphens: auto; }
.tx-row-body { display: grid; gap: 0.9rem; align-content: start; max-width: 42em; }
.tx-row-body p { color: var(--ink); }
.tx-row-body strong { font-weight: 700; }
.tx-row-body .tx-id { white-space: nowrap; }
.tx-row-body a { color: var(--ink); font-weight: 600; text-decoration-color: var(--accent); text-decoration-thickness: 1.5px; text-underline-offset: 0.2em; overflow-wrap: anywhere; }
.tx-row-body a:hover { text-decoration-thickness: 2.5px; }
/* Adressblock: Medieninhaber / Verantwortlicher */
.tx-addr { padding-left: 1rem; border-left: 2px solid var(--accent); line-height: 1.55; }
.tx-legal-end { margin-top: clamp(1.75rem, 3.5vw, 2.5rem); }

/* ---------- 07 404 „Kein Signal auf diesem Kanal.“ (Sucher, REC-Zeile, Testbild ohne Farbe) ---------- */
.nf { padding-block: clamp(1.25rem, 3vw, 2.5rem) clamp(3rem, 7vw, 5.5rem); }
.nf-screen {
  position: relative; isolation: isolate; display: grid; align-content: center; justify-items: start; gap: 1.1rem;
  min-height: min(38rem, calc(100svh - var(--head-h) - 6rem)); padding: clamp(4rem, 9vw, 6rem) clamp(1.25rem, 5vw, 4.5rem) clamp(3.5rem, 8vw, 5rem);
  background:
    repeating-linear-gradient(0deg, rgba(236, 231, 217, 0.025) 0 1px, transparent 1px 3px),
    radial-gradient(120% 90% at 30% 40%, var(--petrol-2) 0%, var(--petrol-3) 70%);
  border: 1px solid var(--line);
}
.nf-screen .finder { inset: clamp(0.75rem, 2vw, 1.25rem); }
.nf-hud {
  position: absolute; left: clamp(1.4rem, 3.4vw, 2.4rem); right: clamp(1.4rem, 3.4vw, 2.4rem); top: clamp(1.4rem, 3.4vw, 2.2rem);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 1rem;
  font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted);
}
.nf-hud span { display: inline-flex; align-items: center; gap: 0.5rem; }
.nf-hud .rec-dot { box-shadow: none; opacity: 1; }
.nf-num {
  font-size: clamp(5.5rem, 22vw, 15rem); font-weight: 900; letter-spacing: -0.05em; line-height: 0.8; font-variant-numeric: tabular-nums;
  color: transparent; -webkit-text-stroke: 1.5px rgba(236, 231, 217, 0.28); margin-bottom: 0.25rem; user-select: none;
}
.nf .h1 { max-width: 14em; }
.nf-dim { color: var(--muted); }
.nf-sub { max-width: 34em; color: var(--muted); }
.nf-act { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; margin-top: 0.5rem; }
.nf-act .links { width: 100%; gap: 0 1.5rem; margin-top: 0.25rem; }
@media (max-width: 419px) { .nf-hud > span + span { display: none; } }
@media (max-width: 599px) {
  .nf-hud { font-size: 0.65rem; }
  .nf-act .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: no-preference) {
  .nf-hud .rec-dot { animation: rec 1.6s steps(1, end) 3; }
}
