/* Ratgeber „Display zeigt Streifen oder flackert“ (app/content/ratgeber/display-streifen-flackern.php) – alle Klassen mit dsf-Vorsilbe */

/* Kopf */
.dsf-kopf { padding-top: 24px; }
.dsf-titel { font-size: clamp(2.1rem, 1.35rem + 2.7vw, 3.7rem); max-width: 24ch; overflow-wrap: break-word; }
.dsf-kopf .gross { max-width: 60ch; }
.dsf-meta { display: flex; flex-wrap: wrap; gap: 6px 0; margin: 24px 0 0; font: 400 .76rem/1.5 var(--din); letter-spacing: .14em; text-transform: uppercase; color: var(--stahl); }
.dsf-meta span:not(:last-child)::after { content: "·"; margin: 0 12px; color: var(--alu); }
/* schmal: untereinander statt Trennpunkte, die sonst am Zeilenende hängen */
@media (max-width: 599px) {
  .dsf-meta { flex-direction: column; gap: 4px; }
  .dsf-meta span:not(:last-child)::after { content: none; }
}
.dsf-sprung { display: flex; flex-wrap: wrap; align-items: center; gap: 0 22px; margin: 26px 0 0; padding-top: 14px; border-top: 1px solid var(--alu); font-size: .95rem; }
.dsf-sprung .etikett { margin: 0 4px 0 0; }
.dsf-sprung a { display: inline-block; padding: 7px 0; color: var(--rot); }

/* Einleitungen und Fließtext: höchstens etwa 70 Zeichen je Zeile */
.dsf-einleitung { max-width: 760px; margin-bottom: 32px; }
.dsf-einleitung p:not(.etikett) { color: var(--text-2); }
.dsf-einleitung p, .dsf-raster > div > p, .dsf-warum, .dsf-nach, .dsf-nachsehen li { max-width: 68ch; }
@media (min-width: 900px) { .dsf-raster { grid-template-columns: 7fr 5fr; align-items: start; } }

/* ---------- Fehlerbild-Galerie: sechs Handys aus HTML und CSS ---------- */
.dsf-galerie { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 900px) { .dsf-galerie { gap: 20px; } }
@media (min-width: 1200px) { .dsf-galerie { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.dsf-bild { display: grid; grid-template-columns: minmax(0, 1fr); align-content: start; gap: 12px; padding: 16px 14px 18px; border: 1px solid var(--alu); border-radius: 4px; background: var(--werkbank); }
@media (min-width: 900px) { .dsf-bild { grid-template-columns: auto minmax(0, 1fr); gap: 18px; padding: 22px 20px; } }
.dsf-buehne { display: grid; place-items: center; justify-self: center; padding: 4px 16px 6px; }
@media (min-width: 900px) { .dsf-buehne { justify-self: start; align-self: start; padding: 0 16px 0 0; } }

.dsf-bild h3 { margin: 0 0 .45em; font-size: 1.05rem; line-height: 1.18; }
.dsf-bild dl { margin: 0; }
.dsf-bild dt { font: 400 .68rem/1.3 var(--din); letter-spacing: .14em; text-transform: uppercase; color: var(--stahl); }
.dsf-bild dd { margin: 3px 0 11px; font-size: .86rem; line-height: 1.45; color: var(--text-2); }
.dsf-bild dd:last-child { margin-bottom: 0; }
@media (min-width: 900px) {
  .dsf-bild h3 { font-size: 1.18rem; }
  .dsf-bild dt { font-size: .72rem; }
  .dsf-bild dd { font-size: .94rem; }
}
.dsf-fussnote { margin: 18px 0 0; font-size: .88rem; color: var(--stahl); }

/* Das Handy: Gehäuse schwarz, Schirm hell oder dunkel, darauf eine Andeutung der Oberfläche und das Fehlerbild */
.dsf-handy { --b: 70px; position: relative; width: var(--b); aspect-ratio: 9 / 19; background: var(--schwarz); border-radius: calc(var(--b) * .17); }
@media (min-width: 900px) { .dsf-handy { --b: 84px; } }
.dsf-handy::before { content: ""; position: absolute; right: -2px; top: 26%; width: 2px; height: 13%; background: var(--schwarz); border-radius: 0 1px 1px 0; }
.dsf-schirm { --ui: #c8ccd2; position: absolute; inset: calc(var(--b) * .05); overflow: hidden; border-radius: calc(var(--b) * .125); background: #eceef1; }
.dsf-schirm--dunkel { --ui: #34373d; background: #16171a; }
.dsf-schirm--grau { background: #2b2e33; }
.dsf-ui { position: absolute; background: var(--ui); border-radius: 2px; }
.dsf-ui--zeit { left: 11%; top: 6%; width: 17%; height: 2.2%; }
.dsf-ui--akku { right: 11%; top: 6%; width: 12%; height: 2.2%; }
.dsf-ui--titel { left: 11%; top: 14%; width: 46%; height: 4.2%; border-radius: 3px; }
.dsf-ui--zeile { left: 11%; top: 21%; width: 30%; height: 2.2%; }
.dsf-apps { position: absolute; left: 11%; right: 11%; top: 47%; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: calc(var(--b) * .06); }
.dsf-apps i { display: block; aspect-ratio: 1; border-radius: 30%; background: var(--ui); }
.dsf-kamera { position: absolute; left: 50%; top: 2.8%; width: 4.6%; aspect-ratio: 1; translate: -50% 0; border-radius: 50%; background: var(--schwarz); }

/* 1 grüne Linie */
.dsf-linie { position: absolute; top: 0; bottom: 0; left: 62%; width: max(2px, 3%); background: #17d65f; }

/* 2 bunte Streifen, einige nur über einen Teil der Höhe */
.dsf-streifen, .dsf-baender, .dsf-geist { position: absolute; inset: 0; }
.dsf-streifen i { position: absolute; top: 0; bottom: 0; display: block; }
.dsf-streifen i:nth-child(1) { left: 11%; width: 4%; background: #e0218a; }
.dsf-streifen i:nth-child(2) { left: 23%; width: 6%; top: 17%; background: #2a55ec; }
.dsf-streifen i:nth-child(3) { left: 37%; width: 3%; background: #18c964; }
.dsf-streifen i:nth-child(4) { left: 50%; width: 5%; bottom: 24%; background: #f2c200; }
.dsf-streifen i:nth-child(5) { left: 65%; width: 3%; background: #e0382b; }
.dsf-streifen i:nth-child(6) { left: 77%; width: 6%; top: 9%; background: #14b4d8; }

/* 3 weiße Bänder auf dunklem Schirm */
.dsf-baender i { position: absolute; left: 0; right: 0; display: block; background: #f6f7f9; }
.dsf-baender i:nth-child(1) { top: 20%; height: 3.4%; }
.dsf-baender i:nth-child(2) { top: 38%; height: 1.6%; right: 28%; }
.dsf-baender i:nth-child(3) { top: 61%; height: 6%; opacity: .9; }

/* 4 Tintenfleck: schwarz mit violettem Saum, gestrichelt die früheren Ränder */
.dsf-fleck { position: absolute; right: -16%; bottom: -10%; width: 80%; height: 52%; background: var(--schwarz); border-radius: 58% 42% 49% 51% / 66% 40% 60% 34%; box-shadow: 0 0 0 2px #6a3fb5; }
.dsf-fleck::before, .dsf-fleck::after { content: ""; position: absolute; border: 1px dashed var(--stahl); border-radius: inherit; }
.dsf-fleck::before { inset: -16%; }
.dsf-fleck::after { inset: -34%; }

/* 5 Flackern: dunkleres Band mit hellem Streifen, Striche neben dem Gehäuse; nur das Band bewegt sich, und nur ohne „Bewegung reduzieren“ */
.dsf-band { position: absolute; left: 0; right: 0; top: 33%; height: 25%; background: rgb(10 10 11 / .2); }
.dsf-band::after { content: ""; position: absolute; left: 0; right: 0; top: 38%; height: 12%; background: rgb(255 255 255 / .6); }
.dsf-flimmer { position: absolute; top: 33%; bottom: 33%; width: 12px; }
.dsf-flimmer--l { right: 100%; margin-right: 3px; }
.dsf-flimmer--r { left: 100%; margin-left: 3px; }
.dsf-flimmer i { position: absolute; display: block; width: 2px; border-radius: 1px; background: var(--stahl); }
.dsf-flimmer i:nth-child(1) { top: 14%; bottom: 14%; }
.dsf-flimmer i:nth-child(2) { top: 0; bottom: 0; }
.dsf-flimmer--l i:nth-child(1) { right: 0; }
.dsf-flimmer--l i:nth-child(2) { right: 6px; }
.dsf-flimmer--r i:nth-child(1) { left: 0; }
.dsf-flimmer--r i:nth-child(2) { left: 6px; }
@media (prefers-reduced-motion: no-preference) {
  .dsf-band, .dsf-flimmer { animation: dsf-flackern 3.2s steps(1, end) infinite; }
}
@keyframes dsf-flackern {
  0% { opacity: 1; }
  7% { opacity: .25; }
  11% { opacity: 1; }
  44% { opacity: .55; }
  48% { opacity: 1; }
  71% { opacity: .2; }
  74% { opacity: .8; }
  77% { opacity: 1; }
}

/* 6 Geisterbild: Statusleiste und Navigationsleiste zeichnen sich schwach auf grauem Schirm ab */
.dsf-geist i { position: absolute; display: block; background: #4e535b; border-radius: 3px; }
.dsf-geist i:nth-child(1) { left: 11%; top: 6%; width: 17%; height: 2.4%; }
.dsf-geist i:nth-child(2) { right: 11%; top: 6%; width: 12%; height: 2.4%; }
.dsf-geist i:nth-child(3) { left: 17%; bottom: 4.5%; width: 11%; height: 5%; }
.dsf-geist i:nth-child(4) { left: 44.5%; bottom: 4.5%; width: 11%; height: 5%; border-radius: 50%; }
.dsf-geist i:nth-child(5) { right: 17%; bottom: 4.5%; width: 11%; height: 5%; }
.dsf-geist i:nth-child(6) { left: 11%; top: 14%; width: 46%; height: 4.2%; background: #3c4047; }

/* ---------- Screenshot-Test ---------- */
.dsf-schritte { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 12px; }
@media (min-width: 960px) { .dsf-schritte { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
.dsf-schritte li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; align-items: start; padding: 16px; border: 1px solid var(--alu); border-radius: 4px; background: #fff; }
.dsf-schritte p { margin: 0; padding-top: 7px; }
.dsf-schritte__nr { display: grid; place-items: center; width: 40px; height: 40px; border: 2px solid var(--schwarz); border-radius: 4px; background: #fff; font: 700 1.05rem var(--din); }
.dsf-warum { color: var(--text-2); }
.dsf-urteile { display: grid; gap: 20px; margin: 30px 0 22px; }
@media (min-width: 900px) { .dsf-urteile { grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; } }
.dsf-urteil { padding: 24px clamp(18px, 3vw, 28px) 10px; border-top: 3px solid var(--stahl); border-radius: 0 0 4px 4px; background: #fff; box-shadow: 0 0 0 1px rgb(10 10 11 / .07); }
.dsf-urteil--hardware { border-top-color: var(--rot); }
.dsf-urteil .etikett { margin-bottom: .7em; }
.dsf-urteil .h3 { margin-bottom: .45em; }
.dsf-urteil p:not(.etikett) { color: var(--text-2); }
.dsf-ausnahme { max-width: 720px; margin-bottom: 0; color: var(--text-2); }
.dsf-proben-titel { margin: 44px 0 16px; }
.dsf-proben { list-style: none; margin: 0; padding: 0; max-width: 720px; border-top: 2px solid var(--schwarz); }
.dsf-proben li { padding: 16px 0; border-bottom: 1px dashed var(--alu); color: var(--text-2); }
.dsf-proben strong { display: block; margin-bottom: 2px; color: var(--schwarz); font: 700 1.1rem/1.3 var(--din); }
.dsf-proben__nein strong { color: var(--rot); }

/* ---------- Auslöser ---------- */
.dsf-ausloeser { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px 32px; }
@media (min-width: 640px) { .dsf-ausloeser { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .dsf-ausloeser { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.dsf-ausloeser li { padding-top: 18px; border-top: 2px solid var(--schwarz); }
.dsf-ausloeser p { margin: 0; font-size: .98rem; color: var(--text-2); }
.dsf-ausloeser a { color: var(--rot); }

/* ---------- Samsung: bekannt und nicht bekannt ---------- */
.dsf-bekannt h3 { margin-bottom: .7em; }
.dsf-bekannt li { max-width: 62ch; }
.dsf-offen { list-style: none; margin: 0; padding: 0; }
.dsf-offen li { position: relative; padding-left: 32px; margin-bottom: 10px; }
.dsf-offen li::before { content: "?"; position: absolute; left: 2px; top: .22em; display: grid; place-items: center; width: 20px; height: 20px; border: 1.5px solid var(--stahl); border-radius: 50%; font: 700 .72rem/1 var(--din); color: var(--stahl); }
.dsf-nach { margin-top: 26px; }

/* ---------- Herstellerprogramme ---------- */
.dsf-nachsehen { list-style: none; counter-reset: dsf-n; margin: 0 0 1em; padding: 0; }
.dsf-nachsehen li { counter-increment: dsf-n; position: relative; padding: 0 0 14px 44px; }
.dsf-nachsehen li::before { content: counter(dsf-n); position: absolute; left: 0; top: -2px; display: grid; place-items: center; width: 30px; height: 30px; border: 2px solid var(--schwarz); border-radius: 4px; background: #fff; font: 700 .95rem var(--din); }
.dsf-beispiele { padding: 26px clamp(18px, 3vw, 28px) 10px; border-radius: 4px; background: var(--werkbank); }
.dsf-beispiele .h4 { margin-top: 1.1em; }
.dsf-beispiele .etikett + .h4 { margin-top: 0; }
.dsf-beispiele p:not(.etikett) { color: var(--text-2); }

/* ---------- Daten sichern ---------- */
.dsf-jetzt { padding: 26px clamp(18px, 3vw, 28px) 12px; border-radius: 4px; background: #fff; box-shadow: 0 0 0 1px rgb(10 10 11 / .07), var(--schatten); }
.dsf-jetzt .liste-haken li { margin-bottom: 14px; }
.dsf-jetzt a { color: var(--rot); }

/* ---------- Festpreis ---------- */
.dsf-suche { max-width: 460px; margin: 22px 0 18px; }
.dsf-beleg .beleg__titel { margin-bottom: 14px; }
.dsf-beleg .beleg__hinweis { margin: 18px 0 0; }
.dsf-los { display: grid; gap: 20px 40px; align-items: center; margin-top: 48px; border-radius: 4px; }
@media (min-width: 900px) { .dsf-los { grid-template-columns: minmax(0, 1fr) auto; padding: 36px 40px; } }
.dsf-los .h3 { margin-bottom: .5em; color: #fff; }
.dsf-los p:not(.etikett) { max-width: 64ch; }
.dsf-los p:last-child { margin-bottom: 0; }
.dsf-los a:not(.knopf) { color: #fff; }
.dsf-los .knopf-reihe { margin: 0; }

/* ---------- Gewährleistung ---------- */
.dsf-paragrafen { padding: 26px clamp(18px, 3vw, 28px) 12px; border-radius: 4px; background: #fff; box-shadow: 0 0 0 1px rgb(10 10 11 / .07), var(--schatten); }
.dsf-paragrafen .etikett { margin-bottom: 14px; }
.dsf-paragrafen ul { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--schwarz); }
.dsf-paragrafen li { border-bottom: 1px dashed var(--alu); }
.dsf-paragrafen li:last-child { border-bottom: 0; }
.dsf-paragrafen a { display: grid; gap: 2px; padding: 14px 4px; border-radius: 4px; text-decoration: none; }
.dsf-paragrafen a:hover { background: var(--werkbank); color: var(--schwarz); }
.dsf-paragrafen strong { font: 700 1.1rem var(--din); }
.dsf-paragrafen span { font-size: .92rem; color: var(--text-2); }

/* ---------- Weiterlesen und Quellen ---------- */
.dsf-ende { padding-top: 0; }
.dsf-verwandt { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: baseline; margin: 0; padding-top: 20px; border-top: 1px solid var(--alu); }
.dsf-verwandt .etikett { margin: 0 8px 0 0; }
.dsf-verwandt a { color: var(--rot); }
.dsf-quellen { margin-top: 36px; font-size: .88rem; color: var(--text-2); }
.dsf-quellen .etikett { margin-bottom: .8em; }
.dsf-quellen p { max-width: 70ch; }
.dsf-quellen__gruppe { margin: 1.3em 0 .5em; font: 400 .74rem var(--din); letter-spacing: .2em; text-transform: uppercase; color: var(--stahl); }
.dsf-quellen ul { list-style: none; margin: 0; padding: 0; }
.dsf-quellen li { margin-bottom: 4px; }
.dsf-quellen a { color: var(--text-2); }
.dsf-quellen a:hover { color: var(--rot); }
