/* Off-Cam · Unterseiten (Konto, Guides, Rechtstexte) und Guide-Bausteine · Stand 22.11.2026
   Baut auf off-cam.css auf. Die Zuordnungen unten übersetzen die Namen, die das Plugin off-cam-core
   noch aus der alten Fassung benutzt, in die Off-Cam-Farben. */

:root {
  --tinte: var(--oc-schwarz);
  --tinte-tief: var(--oc-schwarz);
  --himbeere: var(--oc-rose);
  --himbeere-text: var(--oc-rose-tief);
  --himbeere-hell: rgba(226, 60, 100, .2);
  --nebel: var(--oc-hell);
  --spur: var(--oc-linie);
  --spur-dunkel: #3A3940;
  --text-leise: var(--oc-grau);
  --text-hell-leise: #D9D4DC;
  --rund-klein: 16px;
  --versatz-klein: 0 14px 34px -20px rgba(14, 14, 16, .35);
}

/* Seitenkopf */
.seite-kopf { position: relative; overflow: hidden; padding: clamp(44px, 7vw, 96px) 0 clamp(36px, 5vw, 64px); background: linear-gradient(180deg, #FFFFFF 0%, var(--oc-hell) 100%); }
.seite-kopf::after { content: ""; position: absolute; right: -10%; top: -40%; width: 60%; height: 160%; background: radial-gradient(closest-side, rgba(238, 93, 82, .14), rgba(232, 51, 110, .05) 60%, transparent); pointer-events: none; }
.seite-kopf .rahmen { position: relative; z-index: 1; }
.seite-kopf .wp-block-post-title, .seite-kopf h1 { font-size: clamp(2.3rem, 5.4vw, 4.2rem); max-width: 18ch; margin: 0; }
.seite-kopf .wp-block-post-excerpt, .seite-kopf .lead { margin-top: 18px; }
.seite-kopf .wp-block-post-excerpt__excerpt { margin: 0; font-size: clamp(1.08rem, 1.5vw, 1.25rem); line-height: 1.55; color: var(--oc-grau); max-width: 52ch; }
.zurueck-link { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 22px; font-weight: 600; font-size: .95rem; text-decoration: none; color: var(--oc-grau); }
.zurueck-link:hover { color: var(--oc-schwarz); }
.seite-inhalt { padding: clamp(36px, 5vw, 72px) 0 var(--abschnitt); background: var(--oc-hell); }
.seite-inhalt .wp-block-post-content > * + * { margin-top: 18px; }

/* Lesetext (Rechtstexte, einfache Seiten) */
.text-seite .wp-block-post-content { max-width: 72ch; }
.text-seite .wp-block-post-content h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-top: 48px; }
.text-seite .wp-block-post-content h3 { margin-top: 32px; }
.text-seite .wp-block-post-content p, .text-seite .wp-block-post-content li { color: #2B2A30; line-height: 1.7; }
.text-seite .wp-block-post-content a { font-weight: 600; }

/* Bausteine, die das Plugin benutzt */
.zettel { background: var(--oc-weiss); border-radius: var(--rund-gross); box-shadow: var(--schatten-weich); border: 1px solid rgba(14, 14, 16, .04); }
.knopf-haupt { }
.knopf-neben { background: var(--oc-weiss); color: var(--oc-schwarz); box-shadow: none; border: 1.5px solid var(--oc-schwarz); }
.knopf-neben:hover { background: var(--oc-schwarz); color: var(--oc-weiss); box-shadow: none; transform: none; }
.pille { display: inline-block; width: 30px; height: 14px; border-radius: 999px; border: 2.5px solid var(--oc-rose); flex: none; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; }
.hinweis { margin: 0; font-size: .9rem; color: var(--oc-grau); line-height: 1.45; }
.haekchen { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; line-height: 1.45; }
.haekchen input { width: 22px; height: 22px; margin: 1px 0 0; flex: none; accent-color: var(--oc-rose); }
.haekchen a { font-weight: 600; }

/* Fuß auf Unterseiten */
.fuss .widerruf { color: #B7B2BC; font-weight: 500; }

/* ---------- Guide ---------- */
.lese-spur { position: fixed; left: 0; right: 0; top: 0; z-index: 60; height: 4px; pointer-events: none; }
.lese-spur i { display: block; height: 100%; background: var(--oc-verlauf); transform-origin: left; transform: scaleX(var(--lese, 0)); }
.guide-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 18px; font-weight: 600; font-size: .92rem; color: var(--oc-grau); }
.guide-raster { display: grid; gap: 28px; }
@media (min-width: 1100px) { .guide-raster { grid-template-columns: minmax(0, 760px) 250px; justify-content: center; gap: 44px; } }
.blatt { --blatt-pad: clamp(22px, 4.4vw, 58px); background: var(--oc-weiss); border-radius: var(--rund-gross); padding: var(--blatt-pad); box-shadow: var(--schatten-weich); }
.blatt > * + *, .blatt .wp-block-post-content > * + * { margin-top: 18px; }
.blatt h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.blatt .wp-block-post-content > h2 { margin-top: 56px; }
.blatt .wp-block-post-content > h3 { margin-top: 36px; }
.blatt p, .blatt li { font-size: 1.0625rem; line-height: 1.7; max-width: 66ch; }
.blatt ul, .blatt ol { padding-left: 1.3em; display: grid; gap: 8px; }
.blatt a { font-weight: 600; }
.stempel-zeile { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 999px; background: rgba(226, 60, 100, .08); font-weight: 600; font-size: .88rem; }
.stempel-zeile::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--oc-rose); }

.notiz { margin-block: 26px; }
@media (min-width: 1100px) {
  .notiz { float: right; clear: right; width: 250px; margin: 6px calc(-1 * (250px + 44px + var(--blatt-pad))) 18px 0; }
}
.spick { position: relative; background: var(--oc-hell); border-radius: 18px; padding: 18px 20px 18px; font-weight: 600; line-height: 1.45; box-shadow: var(--versatz-klein); }
.spick::before { content: ""; display: block; width: 36px; height: 4px; margin-bottom: 10px; border-radius: 2px; background: var(--oc-verlauf); }

.baustein { margin-block: 28px; }
.baustein-titel { font-weight: 700; }
.guide-inhalt { background: var(--oc-hell); border-radius: 18px; padding: 18px 22px 20px; }
.guide-inhalt-titel { font-weight: 700; }
.blatt .guide-inhalt ol { margin-top: 8px; gap: 4px; padding-left: 1.4em; }
.blatt .guide-inhalt li { font-size: 1rem; line-height: 1.45; }
.blatt .guide-inhalt a { font-weight: 500; }
.quellen-verweis { font-size: .9rem !important; color: var(--oc-grau); }

.video-platz { border-radius: 20px; background: var(--oc-schwarz); color: #D9D4DC; padding: 22px 20px; }
.video-platz > div { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; align-items: center; }
.video-platz svg { width: 44px; height: 44px; }
.video-platz b { color: var(--oc-weiss); }

/* Ampel */
.blatt .ampel { list-style: none; padding: 0; display: grid; gap: 16px; }
@media (min-width: 720px) { .blatt .ampel { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ampel-karte { background: var(--oc-weiss); border: 1px solid var(--oc-linie); border-radius: 20px; padding: 18px 18px 20px; box-shadow: var(--versatz-klein); display: grid; gap: 10px; align-content: start; }
.ampel-kopf { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.blatt .ampel-kopf h3 { margin: 0; font-size: 1.5rem; }
.ampel-lampen { display: inline-flex; gap: 5px; padding: 5px 7px; background: var(--oc-schwarz); border-radius: 999px; }
.ampel-lampen i { width: 13px; height: 13px; border-radius: 50%; background: #3A3940; }
.ampel-lampen i.an { background: var(--oc-rose); }
.ampel-gelb .ampel-lampen i.an { background: #EE5D52; }
.ampel-gruen .ampel-lampen i.an { background: var(--oc-weiss); }
.ampel-rot { border-top: 6px solid var(--oc-rose); }
.ampel-gelb { border-top: 6px solid #EE5D52; }
.ampel-gruen { border-top: 6px solid var(--oc-schwarz); }
.blatt .ampel-kurz { font-weight: 700; font-size: 1.05rem; line-height: 1.3; }
.ampel-karte dl { margin: 0; display: grid; gap: 2px; }
.ampel-karte dt { font-size: .78rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--oc-grau); margin-top: 6px; }
.ampel-karte dd { margin: 0; font-size: .97rem; line-height: 1.4; }

/* Tabelle */
.tabelle-rahmen { overflow-x: auto; border: 1px solid var(--oc-linie); border-radius: 18px; }
.guide-tabelle { width: 100%; border-collapse: collapse; font-size: .97rem; line-height: 1.4; }
.guide-tabelle th { background: var(--oc-schwarz); color: var(--oc-weiss); text-align: left; padding: 12px 14px; font-weight: 600; }
.guide-tabelle td { padding: 12px 14px; border-top: 1px solid var(--oc-linie); vertical-align: top; }
.guide-tabelle td:last-child { font-weight: 600; }

/* Fall aus der Praxis */
.fall { background: var(--oc-schwarz); color: #D9D4DC; border-radius: var(--rund-gross); padding: clamp(22px, 3.4vw, 34px); }
.blatt .fall p { color: inherit; }
.blatt .fall > * + * { margin-top: 12px; }
.blatt .fall-titel { color: var(--oc-weiss); font-weight: 700; font-size: 1.25rem; line-height: 1.25; }
.blatt .fall p:last-child { color: var(--oc-weiss); font-weight: 600; }

/* Bild folgt */
.bild-platz { margin-inline: 0; display: grid; grid-template-columns: 74px minmax(0, 1fr); gap: 14px; align-items: center; padding: 14px; border: 1.5px dashed #CFC8C3; border-radius: 18px; }
.bild-platz > div { aspect-ratio: 9 / 16; border-radius: 12px; background: var(--oc-hell); display: grid; place-items: center; font-size: .72rem; font-weight: 600; color: var(--oc-grau); text-align: center; }
.bild-platz figcaption { font-size: .95rem; color: var(--oc-grau); line-height: 1.45; }

/* Entscheidungshilfe */
.baum { display: grid; justify-items: start; gap: 10px; }
.blatt .baum > * + * { margin-top: 0; }
.baum .zettel { padding: 16px 20px; border-radius: 18px; max-width: 36rem; }
.baum-frage { font-weight: 700; font-size: 1.1rem; }
.baum-pfeil { width: 30px; height: 34px; margin-left: 24px; }
.baum-wahl { display: grid; gap: 10px; margin: 0; width: 100%; max-width: 36rem; }
.antwort-k { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 56px; padding: 14px 16px; text-align: left; font: inherit; font-weight: 600; line-height: 1.3; color: var(--oc-schwarz); background: var(--oc-weiss); border: 1.5px solid var(--oc-linie); border-radius: 16px; cursor: pointer; transition: border-color .2s, box-shadow .3s var(--ease); }
.antwort-k:hover { border-color: var(--oc-schwarz); }
.antwort-k[aria-checked="true"] { border-color: var(--oc-rose); box-shadow: 0 14px 30px -20px rgba(226, 60, 100, .7); }
.antwort-k[aria-checked="true"] .pille { background: var(--oc-rose); }
.baum-antwort { background: var(--oc-hell); }
.baum-antwort[hidden] { display: none; }
.blatt .baum-plan-titel { font-weight: 700; font-size: 1.1rem; }
.blatt .wochen { list-style: none; padding: 0; margin-top: 10px; gap: 10px; }
.wochen b { display: block; color: var(--oc-rose-tief); font-size: .85rem; letter-spacing: .03em; }

/* Werbelink */
.werbelink { padding: 14px 16px; border-radius: 16px; border: 1.5px dashed #CFC8C3; font-size: .98rem; }
.werbelink b { color: var(--oc-rose-tief); }
.blatt .werbelink > * + * { margin-top: 8px; }
.blatt .werbelink-klein { font-size: .88rem; color: var(--oc-grau); line-height: 1.5; }

/* Rechner (Wochenplan) */
.rechner { background: var(--oc-schwarz); color: var(--oc-weiss); border-radius: var(--rund-gross); padding: clamp(20px, 3vw, 30px); display: grid; gap: 22px; }
@media (min-width: 680px) { .rechner { grid-template-columns: minmax(0, 1fr) auto; align-items: center; } }
.rechner label { display: flex; justify-content: space-between; gap: 12px; font-weight: 600; color: #D9D4DC; font-size: .98rem; }
.rechner label output { color: var(--oc-weiss); font-weight: 700; font-variant-numeric: tabular-nums; }
.rechner .regler + .regler { margin-top: 16px; }
.rechner input[type="range"] { width: 100%; margin-top: 8px; accent-color: var(--oc-rose); height: 28px; }
.rechner-ergebnis output { display: block; font-size: clamp(3rem, 7vw, 4.4rem); font-weight: 700; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; color: var(--oc-rose); }
.rechner-ergebnis small { display: block; margin-top: 6px; color: #D9D4DC; font-weight: 500; max-width: 22ch; }
.wochenplan { display: grid; gap: 16px; }
.blatt .wochenplan > * + * { margin-top: 0; }
.wp-plattformen { border: 0; padding: 0; margin: 18px 0 0; }
.wp-plattformen legend { font-weight: 600; color: #D9D4DC; font-size: .98rem; margin-bottom: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 16px; border-radius: 999px; border: 1.5px solid #55525C; font-weight: 600; font-size: .93rem; }
.chip input:checked + span { background: var(--oc-rose); border-color: var(--oc-rose); color: var(--oc-schwarz); }
.chip input:focus-visible + span { outline: 3px solid var(--oc-rose); outline-offset: 2px; }
.blatt .wp-satz { font-weight: 700; font-size: 1.1rem; }
.blatt .wp-zusatz { color: var(--oc-grau); }
.wp-plan { border: 1px solid var(--oc-linie); border-radius: 20px; padding: 18px 20px; background: var(--oc-weiss); }
.blatt .wp-plan-titel { font-weight: 700; font-size: 1.15rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 14px; }
.wp-plan-titel small { font-weight: 500; color: var(--oc-grau); font-size: .9rem; }
.blatt .wp-tage { list-style: none; padding: 0; margin-top: 12px; display: grid; gap: 0; }
@media (min-width: 640px) { .blatt .wp-tage { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 18px; } }
.blatt .wp-tage > li { border-top: 1px solid var(--oc-linie); padding: 10px 0; font-size: .95rem; line-height: 1.4; }
.blatt .wp-tage ul { list-style: none; padding: 0; margin-top: 6px; gap: 6px; }
.blatt .wp-tage ul li { font-size: .93rem; line-height: 1.35; }
.wp-pl { display: inline-block; font-weight: 600; font-size: .74rem; padding: 1px 8px; border-radius: 999px; background: var(--oc-hell); margin-right: 4px; }
.wp-frei { display: block; margin-top: 4px; color: var(--oc-grau); }

/* Checkliste */
.checkliste { background: var(--oc-hell); border-radius: var(--rund-gross); padding: clamp(18px, 3vw, 28px); display: grid; gap: 16px; }
.blatt .checkliste > * + * { margin-top: 0; }
.checkliste-filter { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-k { font: inherit; font-weight: 600; font-size: .93rem; padding: 8px 16px; border-radius: 999px; border: 1.5px solid var(--oc-schwarz); background: var(--oc-weiss); color: var(--oc-schwarz); cursor: pointer; min-height: 40px; }
.chip-k[aria-pressed="true"] { background: var(--oc-schwarz); color: var(--oc-weiss); }
.blatt .checkliste-punkte { list-style: none; padding: 0; gap: 10px; }
.checkliste-punkte li[hidden] { display: none; }
.checkliste-punkte label { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; align-items: start; background: var(--oc-weiss); border-radius: 16px; padding: 14px 16px; cursor: pointer; box-shadow: 0 8px 24px -20px rgba(14, 14, 16, .5); }
.checkliste-punkte input { width: 24px; height: 24px; margin: 2px 0 0; accent-color: var(--oc-rose); }
.checkliste-punkte b { display: block; font-size: 1rem; line-height: 1.4; }
.checkliste-punkte small { display: block; margin-top: 4px; font-size: .9rem; color: var(--oc-grau); line-height: 1.4; }
.checkliste-punkte input:checked + span b { text-decoration: line-through; text-decoration-color: var(--oc-rose); text-decoration-thickness: 3px; }
.checkliste-fuss { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; }
.checkliste-fuss [data-zaehler] { font-weight: 700; margin-right: auto; }
.blatt .checkliste-hinweis { font-size: .88rem; color: var(--oc-grau); }

/* Quellen und Kommentare */
.quellen { margin-top: 56px; padding-top: 28px; border-top: 2px solid var(--oc-schwarz); }
.blatt .quellen ol { gap: 6px; margin-top: 12px; }
.blatt .quellen li { font-size: .92rem; line-height: 1.45; overflow-wrap: anywhere; }
.quellen li:target { background: rgba(226, 60, 100, .12); border-radius: 6px; }

@media print {
  .kopf, .fuss, .skip, .lese-spur { display: none !important; }
  body.druck-teil * { visibility: hidden !important; }
  body.druck-teil .wird-gedruckt, body.druck-teil .wird-gedruckt * { visibility: visible !important; }
  body.druck-teil .wird-gedruckt { position: absolute; left: 0; top: 0; width: 100%; }
  body.druck-teil .wird-gedruckt button, body.druck-teil .wird-gedruckt .rechner, body.druck-teil .wird-gedruckt .checkliste-hinweis { display: none !important; }
}

/* Guide-Übersicht */
.guide-liste { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; max-width: 760px; }
.guide-liste li { background: var(--oc-weiss); border-radius: 22px; padding: 22px 24px; box-shadow: var(--versatz-klein); display: grid; gap: 6px; }
.guide-liste-titel { font-size: 1.4rem; font-weight: 700; letter-spacing: -.02em; text-decoration: none; }
a.guide-liste-titel:hover { text-decoration: underline; text-decoration-color: var(--oc-rose); }
.guide-liste span:not(.guide-liste-titel) { font-size: .85rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--oc-rose-tief); }
.guide-liste p { color: var(--oc-grau); }
