/* GameZone · Lifehacks (tipps/) — Aussehen der Übersicht und der Tipp-Seiten. Neo todo-web #73.
 * CHARAKTER wie das Lifehacks-Band der Startseite (start/css/start.css „8b“): Nachtmarkt-Violett, warmes Neon (Gold → Orange →
 * Pink → Lila), Kategorien als Leuchtschilder, jede Kategorie mit eigener Farbe --f.
 * ZWILLINGE: Grundfarben (:root) und Schriften = start/css/start.css „1 Grundlagen“; Farben je Kategorie = start.css „8b“
 *   ([data-kat] … --f) — neue Kategorie an beiden Stellen (und in daten/tipps-kategorien.php).
 * Leiste und Fuß kommen vom Rahmen (_rahmen/rahmen.js, includes/footer.php). Alles hier hängt an eigenen Klassen (t-…, tk…).
 * AUFBAU: 1 Grundlagen · 2 Kopf (Held, Suche, Schilder) · 3 Karten · 4 Tipp-Seite · 5 Pause-Kasten · 6 Handy · 7 Bewegung. */

/* ── 1 Grundlagen ── */
@font-face { font-family: 'Bungee'; src: url('https://fonts.hirsing.eu/bungee-v17-latin/bungee-v17-latin-regular.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'Exo 2'; src: url('https://fonts.hirsing.eu/exo-2-v26/exo-2-v26-latin-regular.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Exo 2'; src: url('https://fonts.hirsing.eu/exo-2-v26/exo-2-v26-latin-600.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Exo 2'; src: url('https://fonts.hirsing.eu/exo-2-v26/exo-2-v26-latin-700.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'IBM Plex Mono'; src: url('https://fonts.hirsing.eu/ibm-plex-mono-v20-latin/ibm-plex-mono-v20-latin-500.woff2') format('woff2'); font-weight: 500; font-display: swap; }

:root {
  --bg: #07060f; --flaeche: #0f0d1e; --flaeche2: #16132b; --linie: rgba(255, 255, 255, 0.08); --linie2: rgba(255, 255, 255, 0.14);
  --text: #f4f1ff; --leise: #a8a2c8; --ganzleise: #8a85ad;
  --pink: #ff3d8b; --orange: #ff9f43; --lila: #8b5cff; --cyan: #33e1ff; --mint: #3dffb0; --gold: #ffcf5a;
  --rand: 32px; --breite: 1240px; --lesebreite: 820px;
  --schau: 'Bungee', 'Exo 2', system-ui, sans-serif;
  --lese: 'Exo 2', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, 'Cascadia Mono', monospace;
  color-scheme: dark;
}
body.t-seite { margin: 0; min-height: 100vh; color: var(--text); font: 400 16px/1.6 var(--lese); -webkit-font-smoothing: antialiased; overflow-x: hidden;
  background: radial-gradient(60% 50% at 10% 0%, rgba(255, 159, 67, 0.12), transparent 70%),
              radial-gradient(50% 60% at 95% 30%, rgba(139, 92, 255, 0.14), transparent 70%), var(--bg) fixed; }
.t-seite *, .t-seite *::before, .t-seite *::after { box-sizing: border-box; }
.t-seite a { color: inherit; }
.t-seite :focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 8px; }
.t-seite .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.t-seite svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* Farbe je Kategorie (Zwilling start.css „8b“) */
.t-seite [data-kat] { --f: var(--cyan); }
.t-seite [data-kat="spielideen"] { --f: var(--pink); }
.t-seite [data-kat="technik"] { --f: var(--cyan); }
.t-seite [data-kat="kueche"] { --f: var(--orange); }
.t-seite [data-kat="haushalt"] { --f: var(--mint); }
.t-seite [data-kat="draussen"] { --f: #7dff6a; }
.t-seite [data-kat="auto"] { --f: var(--gold); }
.t-seite [data-kat="werkzeug"] { --f: #ff6b4a; }
.t-seite [data-kat="alltag"] { --f: var(--lila); }
.t-seite [data-kat="garten"] { --f: #9be15d; }
.t-seite [data-kat="haustiere"] { --f: #ff9ad5; }
.t-seite [data-kat="gesundheit"] { --f: #7ab8ff; }

/* Hintergrund je Seite (Kategorie bzw. Übersicht): Bild aus tipps/bilder/hg/<id>.webp, gesetzt über data-hg am body (inhalte.php
   tipps_kopf, nur wenn die Datei existiert). Fest am Fenster, zur Mitte hin abgedunkelt, damit Text lesbar bleibt. */
body.t-seite[data-hg]::before { content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none; background-size: cover; background-position: center;
  background-image: linear-gradient(90deg, rgba(7, 6, 15, 0.55), rgba(7, 6, 15, 0.9) 22%, rgba(7, 6, 15, 0.92) 78%, rgba(7, 6, 15, 0.55)),
                    linear-gradient(180deg, rgba(7, 6, 15, 0.2), rgba(7, 6, 15, 0.85)), var(--hg-bild); }
body.t-seite[data-hg="uebersicht"] { --hg-bild: url("../bilder/hg/uebersicht.webp"); }
body.t-seite[data-hg="spielideen"] { --hg-bild: url("../bilder/hg/spielideen.webp"); }
body.t-seite[data-hg="technik"] { --hg-bild: url("../bilder/hg/technik.webp"); }
body.t-seite[data-hg="kueche"] { --hg-bild: url("../bilder/hg/kueche.webp"); }
body.t-seite[data-hg="haushalt"] { --hg-bild: url("../bilder/hg/haushalt.webp"); }
body.t-seite[data-hg="draussen"] { --hg-bild: url("../bilder/hg/draussen.webp"); }
body.t-seite[data-hg="auto"] { --hg-bild: url("../bilder/hg/auto.webp"); }
body.t-seite[data-hg="werkzeug"] { --hg-bild: url("../bilder/hg/werkzeug.webp"); }
body.t-seite[data-hg="alltag"] { --hg-bild: url("../bilder/hg/alltag.webp"); }
body.t-seite[data-hg="garten"] { --hg-bild: url("../bilder/hg/garten.webp"); }
body.t-seite[data-hg="haustiere"] { --hg-bild: url("../bilder/hg/haustiere.webp"); }
body.t-seite[data-hg="gesundheit"] { --hg-bild: url("../bilder/hg/gesundheit.webp"); }
.t-haupt { max-width: var(--breite); margin: 0 auto; padding: 28px var(--rand) 40px; }

/* Kategorie-Zeichen (inhalte.php kat_zeichen): Neon-Symbol als Bild, Emoji nur als Rückfall */
.kz { display: inline-block; width: 1.25em; height: 1.25em; vertical-align: -0.25em; margin-right: 0.35em; border-radius: 22%; object-fit: cover; }
.kz-mittel { width: 1.4em; height: 1.4em; vertical-align: -0.3em; box-shadow: 0 0 12px -3px var(--f); }
.kz-gross { width: 0.95em; height: 0.95em; vertical-align: -0.08em; margin-right: 0.3em; box-shadow: 0 0 18px -4px var(--f); }
.tk-zeichen .kz { width: 100%; height: 100%; margin: 0; vertical-align: top; border-radius: inherit; }
.kz-emoji { width: auto; height: auto; border-radius: 0; }

/* ── 2 Kopf ── */
.t-pfad { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font: 500 13px var(--mono); color: var(--ganzleise); margin-bottom: 18px; }
.t-pfad a { text-decoration: none; color: var(--leise); }
.t-pfad a:hover { color: var(--gold); }
.t-held { padding: 18px 0 8px; }
.t-titel { margin: 0; font: 400 clamp(28px, 4.2vw, 52px)/1.08 var(--schau); color: #fff; text-shadow: 0 0 26px rgba(255, 159, 67, 0.25); }
.t-akzent { background: linear-gradient(90deg, var(--gold), var(--orange) 30%, var(--pink) 62%, var(--lila)); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; filter: drop-shadow(0 0 16px rgba(255, 159, 67, 0.35)); }
.t-unter { margin: 12px 0 0; color: var(--leise); font-size: 17px; max-width: 760px; }
.t-held-reihe { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.t-held-text { min-width: 0; }
/* Schwebende Kategoriebilder rechts neben dem Titel (Übersicht, nur Desktop) */
.t-wolke { flex: none; display: flex; align-items: center; padding-right: 10px; }
.t-wolke-bild { display: block; width: 110px; height: 110px; margin-left: -18px; border-radius: 26px; overflow: hidden;
  box-shadow: 0 0 0 2px var(--f), 0 0 30px -6px var(--f), 0 20px 40px -18px rgba(0, 0, 0, 0.9); animation: t-schweben 6s ease-in-out infinite; }
.t-wolke-bild img { display: block; width: 100%; height: 100%; object-fit: cover; }
.t-wolke-bild:nth-child(odd) { rotate: -7deg; } .t-wolke-bild:nth-child(even) { rotate: 6deg; translate: 0 14px; }
.t-wolke-bild:nth-child(2) { animation-delay: -1.2s; } .t-wolke-bild:nth-child(3) { animation-delay: -2.4s; z-index: 1; width: 132px; height: 132px; }
.t-wolke-bild:nth-child(4) { animation-delay: -3.6s; } .t-wolke-bild:nth-child(5) { animation-delay: -4.8s; }
@keyframes t-schweben { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (max-width: 1100px) { .t-wolke-bild:nth-child(n+4) { display: none; } }
@media (max-width: 760px) { .t-wolke { display: none; } }
.t-katkopf { display: flex; align-items: center; gap: 24px; }
.t-katbild { width: 120px; height: 120px; flex: none; object-fit: cover; border-radius: 26px; transform: rotate(-4deg);
  box-shadow: 0 0 0 2px var(--f), 0 0 34px -6px var(--f); }
.t-katkopf .t-akzent { background: none; -webkit-text-fill-color: var(--f); color: var(--f); text-shadow: 0 0 22px var(--f); filter: none; }

.t-suche { display: flex; align-items: center; gap: 10px; max-width: 620px; margin: 24px 0 18px; padding: 6px 6px 6px 18px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--linie2); transition: border-color .2s, box-shadow .2s; }
.t-suche:focus-within { border-color: var(--gold); box-shadow: 0 0 22px -6px var(--gold); }
.t-suche svg { width: 18px; height: 18px; color: var(--leise); }
.t-suche input { flex: 1; min-width: 0; height: 40px; border: 0; background: transparent; color: var(--text); font: 400 16px var(--lese); outline: none; }
.t-suche input::placeholder { color: var(--ganzleise); }
.t-suche button { height: 40px; padding: 0 20px; border: 0; border-radius: 999px; cursor: pointer; font: 700 14px var(--lese); color: #1a0b17;
  background: linear-gradient(135deg, var(--gold), var(--orange)); }
.t-suche button:hover { filter: brightness(1.1); }

.t-schilder { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.t-schilder .schild:not([data-kat]) { --f: var(--gold); }
.t-schilder .schild { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 12px; border: 1.5px solid var(--f);
  color: var(--f); font: 600 14px var(--lese); text-decoration: none; text-shadow: 0 0 10px var(--f);
  box-shadow: 0 0 12px -2px var(--f), inset 0 0 12px -4px var(--f); transition: background .2s, color .2s; animation: t-flackern 8s infinite; }
.t-schilder .schild:nth-child(3n+2) { animation-delay: 2.7s; } .t-schilder .schild:nth-child(3n) { animation-delay: 5.3s; }
.t-schilder .schild:hover, .t-schilder .schild:focus-visible, .t-schilder .schild.an { background: var(--f); color: #0a0716; text-shadow: none; animation: none; }
@keyframes t-flackern { 0%, 91%, 100% { opacity: 1; } 92% { opacity: 0.35; } 93% { opacity: 1; } 94.5% { opacity: 0.5; } 95.5% { opacity: 1; } }

/* ── 3 Blöcke und Karten ── */
.t-block { margin-top: 44px; }
.t-reihe-kopf { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.t-block-titel { margin: 0; font: 700 clamp(20px, 2.2vw, 26px)/1.2 var(--lese); color: #fff; }
.t-reihe .t-block-titel { color: var(--f); text-shadow: 0 0 16px color-mix(in srgb, var(--f) 50%, transparent); }
.t-mehr { flex: none; font: 600 14px var(--lese); color: var(--gold); text-decoration: none; white-space: nowrap; }
.t-mehr:hover { text-decoration: underline; }
.t-info { margin: 0 0 16px; color: var(--leise); }

.t-karten { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.tk { position: relative; display: flex; flex-direction: column; min-width: 0; border-radius: 18px; overflow: hidden; text-decoration: none; color: var(--text);
  background: linear-gradient(135deg, color-mix(in srgb, var(--f) 14%, #120e24), #0f0c1f 70%); border: 1px solid color-mix(in srgb, var(--f) 38%, transparent);
  transition: transform .25s, box-shadow .25s; }
.tk:hover, .tk:focus-visible { transform: translateY(-5px); box-shadow: 0 18px 40px -14px var(--f), 0 0 0 1px var(--f); }
.tk-bild { position: relative; display: block; height: 130px; }
.tk-bild img { display: block; width: 100%; height: 100%; object-fit: cover; }
.tk-bild::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, #0f0c1f); }
.tk-text { display: flex; flex-direction: column; flex: 1; gap: 6px; padding: 4px 16px 16px; }
/* Karte ohne eigenes Bild: Leuchtlinie oben + Kategorie-Zeichen als Marke */
.tk-ohne { border-top: 3px solid var(--f); }
.tk-ohne .tk-text { padding-top: 0; }
.tk-zeichen { display: grid; place-items: center; width: 44px; height: 44px; margin: 16px 16px 10px; border-radius: 13px; font-size: 22px; line-height: 1;
  background: rgba(10, 7, 22, 0.7); box-shadow: 0 0 0 1px var(--f), 0 0 16px -3px var(--f); }
/* Kachel mit eigenem Bild (inhalte.php tipp_karte, „tk-gross“): großes Bild + große Überschrift, sonst nichts — die Überschrift soll
   zum Klicken locken, die Einzelheiten stehen im Beitrag. Bild 16:10 (Dateien 800×500), Verlauf nur am unteren Rand. */
.tk-gross .tk-bild { height: auto; aspect-ratio: 16 / 10; }
.tk-gross .tk-bild::after { background: linear-gradient(180deg, transparent 70%, #0f0c1f); }
.tk-gross .tk-text { gap: 4px; padding: 10px 18px 18px; }
.tk-gross .tk-titel { font: 700 20px/1.25 var(--lese); text-wrap: balance; transition: color .25s; }
.tk-gross:hover .tk-titel, .tk-gross:focus-visible .tk-titel { color: var(--f); }
.tk-kat { font: 500 11px var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--f); }
.tk-titel { font: 700 16px/1.3 var(--lese); }
.tk-satz { display: -webkit-box; color: var(--leise); font-size: 14px; line-height: 1.45; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tk-fuss { display: flex; flex-wrap: nowrap; align-items: center; gap: 8px 12px; margin-top: auto; padding-top: 6px; font-size: 12.5px; color: var(--ganzleise); }

/* Belegstufe — Plakette (Karte und Tipp-Seite) */
.tk-dauer { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }   /* lange Angaben („10 min pro …“) kürzen statt umbrechen */
.beleg { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font: 600 12px var(--lese); border: 1px solid; white-space: nowrap; }
.beleg::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 8px currentColor; }
.beleg-belegt { color: var(--mint); border-color: rgba(61, 255, 176, 0.45); }
.beleg-verbreitet { color: var(--cyan); border-color: rgba(51, 225, 255, 0.45); }
.beleg-ueberliefert { color: var(--gold); border-color: rgba(255, 207, 90, 0.45); }

/* ── 4 Tipp-Seite ── */
.t-tipp { max-width: var(--lesebreite); margin: 0 auto; }
.t-tipp-oben { display: grid; grid-template-columns: 1fr 200px; gap: 28px; align-items: center; }
.t-tipp-text { min-width: 0; }
.t-marken { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 0 0 14px; }
.t-kat { font: 500 12px var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--f); text-shadow: 0 0 10px var(--f); }
.t-tipp-titel { margin: 0; font: 800 clamp(26px, 3.6vw, 40px)/1.15 var(--lese); color: #fff; }
.t-tipp-satz { margin: 12px 0 0; color: var(--leise); font-size: 17px; }
.t-werte { display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 18px 0 0; }
.t-werte div { display: flex; gap: 8px; align-items: baseline; }
.t-werte dt { font: 500 11px var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ganzleise); }
.t-werte dd { margin: 0; font-weight: 600; }
.t-tipp-bild { width: 200px; height: 200px; object-fit: cover; border-radius: 28px; transform: rotate(3deg);
  box-shadow: 0 0 0 2px var(--f), 0 0 40px -8px var(--f), 0 24px 50px -20px rgba(0, 0, 0, 0.8); }

.t-kurz, .t-hinweis { margin-top: 30px; padding: 18px 22px; border-radius: 18px; }
.t-kurz { background: linear-gradient(135deg, color-mix(in srgb, var(--f) 16%, #140f28), #100c20); border: 1px solid color-mix(in srgb, var(--f) 45%, transparent);
  box-shadow: 0 0 30px -16px var(--f); }
.t-kurz p, .t-hinweis p { margin: 0; font-size: 17px; }
.t-kasten-kopf { margin: 0 0 6px !important; font: 500 12px var(--mono) !important; letter-spacing: 0.1em; text-transform: uppercase; color: var(--f); }
.t-hinweis { background: rgba(255, 207, 90, 0.08); border: 1px solid rgba(255, 207, 90, 0.5); border-left-width: 4px; }
.t-hinweis strong { color: var(--gold); }

.t-tipp h2 { margin: 0 0 12px; font: 700 21px/1.25 var(--lese); color: #fff; }
.t-spalten { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 22px; margin-top: 34px; align-items: start; }
.t-spalten > :only-child { grid-column: 1 / -1; }
.t-material { padding: 18px 20px; border-radius: 18px; background: var(--flaeche); border: 1px solid var(--linie2); }
.t-material ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.t-material li { position: relative; padding-left: 22px; }
.t-material li::before { content: '✓'; position: absolute; left: 0; color: var(--f); font-weight: 700; }
.t-schritte ol { margin: 0; padding: 0; list-style: none; counter-reset: schritt; display: grid; gap: 12px; }
.t-schritte li { position: relative; counter-increment: schritt; padding: 12px 16px 12px 58px; min-height: 52px; border-radius: 14px;
  background: rgba(255, 255, 255, 0.03); border: 1px solid var(--linie); }
.t-schritte li::before { content: counter(schritt); position: absolute; left: 12px; top: 10px; display: grid; place-items: center; width: 32px; height: 32px;
  border-radius: 10px; font: 400 15px var(--schau); color: #0a0716; background: var(--f); box-shadow: 0 0 14px -2px var(--f); }
.t-warum, .t-varianten, .t-quellen { margin-top: 34px; }
.t-warum p { margin: 0; font-size: 17px; }
.t-varianten ul { margin: 0; padding-left: 22px; display: grid; gap: 6px; }
.t-varianten li::marker { color: var(--f); }
.t-quellen { padding-top: 22px; border-top: 1px solid var(--linie); }
.t-quellen h2 { font-size: 16px; }
.t-quellen-satz { margin: 0 0 10px; color: var(--ganzleise); font-size: 14px; }
.t-quellen ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; font-size: 14px; }
.t-quellen a { color: var(--cyan); font-weight: 600; text-decoration: none; }
.t-quellen a:hover { text-decoration: underline; }
.t-quellen q { display: block; margin-top: 2px; color: var(--leise); font-style: italic; quotes: '„' '“'; }

/* ── 5 Pause-Kasten (Brücke zu den Spielen) ── */
.t-pause { max-width: var(--breite); margin: 30px auto 50px; padding: 0 var(--rand); }
.t-pause-innen { position: relative; padding: 28px 30px; border-radius: 24px; overflow: hidden; text-align: center;
  background: linear-gradient(120deg, rgba(255, 61, 139, 0.18), rgba(139, 92, 255, 0.2)); border: 1px solid rgba(255, 61, 139, 0.45);
  box-shadow: 0 0 50px -20px var(--pink); }
.t-pause-innen p { margin: 0 0 6px; color: var(--leise); }
/* Arcade-Bild hinter dem Text: rechts eingeblendet, nach links in den Kasten auslaufend */
.t-pause-bild { position: absolute; inset: 0 0 0 auto; width: 55%; height: 100%; object-fit: cover; opacity: 0.55; pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%); mask-image: linear-gradient(90deg, transparent, #000 60%); }
.t-pause-innen > :not(.t-pause-bild) { position: relative; }
@media (max-width: 760px) { .t-pause-bild { width: 100%; opacity: 0.3; -webkit-mask-image: none; mask-image: none; } }
.t-pause-titel { font: 400 22px/1.2 var(--schau) !important; color: #fff !important; }
.t-knopf { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; height: 46px; padding: 0 24px; border-radius: 999px; text-decoration: none;
  font: 800 15px var(--lese); color: #170a12; background: linear-gradient(135deg, var(--pink), var(--orange)); box-shadow: 0 10px 30px -8px rgba(255, 61, 139, 0.7);
  transition: transform .18s; }
.t-knopf:hover { transform: translateY(-2px); }

/* ── Gefällt mir (beitrag.php, js/gefaellt.js, inhalte.php „GEFÄLLT MIR“) ──
   Pillenknopf unter dem Tipp, Akzent = Farbe der Kategorie (--f aus [data-kat]), Herz füllt sich nach dem Klick. */
.t-seite .t-gefaellt-zeile { margin: 34px 0 0; display: flex; justify-content: center; }
.t-seite .t-gefaellt { display: inline-flex; align-items: center; gap: 10px; padding: 10px 22px; border-radius: 999px; cursor: pointer;
  border: 1px solid color-mix(in srgb, var(--f, var(--pink)) 60%, transparent); background: color-mix(in srgb, var(--f, var(--pink)) 10%, transparent);
  color: var(--text); font: 600 15px/1.2 var(--lese); transition: background .15s ease, transform .15s ease; }
.t-seite .t-gefaellt[hidden] { display: none; }
.t-seite .t-gefaellt svg { width: 20px; height: 20px; fill: none; stroke: var(--f, var(--pink)); stroke-width: 2; }
.t-seite .t-gefaellt:hover, .t-seite .t-gefaellt:focus-visible { background: color-mix(in srgb, var(--f, var(--pink)) 20%, transparent); transform: translateY(-1px); }
.t-seite .t-gefaellt--an { cursor: default; border-color: var(--f, var(--pink)); transform: none; }
.t-seite .t-gefaellt--an svg { fill: var(--f, var(--pink)); }
.t-seite .t-gefaellt-zahl { font: 500 13px/1 var(--mono); color: var(--leise); min-width: 1.5ch; }
@media (prefers-reduced-motion: reduce) { .t-seite .t-gefaellt { transition: none; } }

/* ── Notfall-Seite (index.php, Fall tipps/notfall/): Nummernkästen — Zwilling von guide.vhc.de guide.css „Notfall-Seite“ ── */
.t-seite .t-akzent--rot { color: #f87171; text-shadow: 0 0 18px rgba(239, 68, 68, .55); }
.t-seite .t-nf-liste { list-style: none; margin: 28px 0 8px; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.t-seite .t-nf { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border-radius: 14px; min-width: 0;
  border: 1px solid rgba(248, 113, 113, .45); background: rgba(239, 68, 68, .08); }
.t-seite .t-nf--rot { border-color: rgba(248, 113, 113, .9); background: linear-gradient(135deg, rgba(239, 68, 68, .28), rgba(153, 27, 27, .3)); }
.t-seite .t-nf-zahl { font: 400 34px/1 var(--schau); color: #fff; letter-spacing: .03em; }
.t-seite .t-nf-was { font-size: 14px; color: #fecaca; }

/* ── 6 Handy / Tablet ── */
@media (max-width: 760px) {
  :root { --rand: 18px; }
  /* Handy: keine Seitenränder für das Motiv — gleichmäßig gedimmt statt dunkler Mitte, sonst verschwindet das Bild ganz */
  body.t-seite[data-hg]::before { background-position: 6% center;   /* Motive stehen an den Bildrändern, die Mitte ist leer */
    background-image: linear-gradient(180deg, rgba(7, 6, 15, 0.55), rgba(7, 6, 15, 0.82) 35%, rgba(7, 6, 15, 0.9)), var(--hg-bild); }
  .t-haupt { padding-top: 16px; }
  .t-schilder { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * var(--rand)); padding: 4px var(--rand) 8px; }
  .t-schilder .schild { flex: none; font-size: 13.5px; }
  .t-katbild { width: 76px; height: 76px; border-radius: 18px; }
  .t-katkopf { gap: 16px; }
  .t-karten { grid-template-columns: 1fr; gap: 14px; }
  .tk { flex-direction: row; }
  .tk-bild { width: 96px; height: auto; flex: none; }
  .tk-bild::after { background: linear-gradient(90deg, transparent 50%, #0f0c1f); }
  .tk-text, .tk-ohne .tk-text { padding: 12px 14px; }
  .tk-ohne { border-top-width: 1px; border-left: 3px solid var(--f); }
  .tk-zeichen { flex: none; width: 40px; height: 40px; margin: 14px 0 0 14px; font-size: 20px; }
  .tk-satz { -webkit-line-clamp: 2; }
  .tk-gross { flex-direction: column; }                     /* Handy: Bild oben in voller Breite statt schmalem Streifen links */
  .tk-gross .tk-bild { width: 100%; }
  .tk-gross .tk-bild::after { background: linear-gradient(180deg, transparent 70%, #0f0c1f); }
  .tk-gross .tk-text { padding: 10px 16px 16px; }
  .tk-gross .tk-titel { font-size: 19px; }
  .t-tipp-oben { grid-template-columns: 1fr; }
  .t-tipp-bild { order: -1; width: 100%; height: 170px; border-radius: 20px; transform: none; }
  .t-spalten { grid-template-columns: 1fr; }
  .t-schritte li { padding-left: 54px; }
  .t-reihe-kopf { flex-direction: column; gap: 4px; }
}

/* ── 7 Bewegung reduziert ── */
@media (prefers-reduced-motion: reduce) {
  .t-schilder .schild { animation: none; }
  .tk, .t-knopf { transition: none; }
}

/* ── Notfall-Knopf in der Übersicht (index.php) — Zwilling von guide.vhc.de (guide.css „Notfall-Knopf“) ──
   Rotes Signal mit zwei auslaufenden Wellen; „Bewegung reduzieren“ → Wellen aus. */
.t-seite .notfall-knopf { position: relative; display: inline-flex; align-items: center; gap: 16px; margin-top: 18px; padding: 12px 22px 12px 14px;
  border-radius: 14px; background: linear-gradient(135deg, rgba(239,68,68,.32), rgba(153,27,27,.38)); border: 1px solid rgba(248,113,113,.85);
  box-shadow: 0 0 0 1px rgba(239,68,68,.15), 0 8px 28px -8px rgba(239,68,68,.55); color: #fff; text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease; }
.t-seite .notfall-knopf:hover, .t-seite .notfall-knopf:focus-visible { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(239,68,68,.3), 0 12px 34px -6px rgba(239,68,68,.75); }
.t-seite .notfall-signal { position: relative; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: #ef4444; flex: none; box-shadow: 0 0 18px rgba(239,68,68,.8); }
.t-seite .notfall-signal svg { position: relative; width: 24px; height: 24px; fill: #fff; }
.t-seite .notfall-signal .notfall-strich { fill: none; stroke: #b91c1c; stroke-width: 2.4; stroke-linecap: round; }
.t-seite .notfall-welle { position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(248,113,113,.9); animation: t-notfall-welle 2.2s ease-out infinite; }
.t-seite .notfall-welle--2 { animation-delay: 1.1s; }
@keyframes t-notfall-welle { from { transform: scale(1); opacity: .9; } to { transform: scale(2.1); opacity: 0; } }
.t-seite .notfall-text { display: flex; flex-direction: column; line-height: 1.15; }
.t-seite .notfall-text strong { font-size: 21px; letter-spacing: .03em; text-transform: uppercase; }
.t-seite .notfall-unter { font-size: 13px; color: #fecaca; }
.t-seite .notfall-pfeil { font-size: 22px; margin-left: 4px; transition: transform .15s ease; }
.t-seite .notfall-knopf:hover .notfall-pfeil { transform: translateX(4px); }
@media (prefers-reduced-motion: reduce) { .t-seite .notfall-welle { animation: none; opacity: 0; } .t-seite .notfall-knopf, .t-seite .notfall-pfeil { transition: none; } }
@media (max-width: 760px) { .t-seite .notfall-knopf { width: 100%; } .t-seite .notfall-pfeil { margin-left: auto; } }
