/* office-edit – Seiten-Design „Neon“ (schwarz + Neongelb #e8ff2a, freigegebene Probe design-probe-neon.html, 20.11.2026).
   Dunkler Grund mit feinem Raster, Karten mit dünner Linie, Hauptknopf neongelb mit schwarzer Schrift, Nebenknöpfe mit Rand.
   Neongelb nur auf dunklem Grund (nie als Schrift auf Weiß). Arbeitsflächen (Tabellenraster, Papierseiten, PDF-Seiten) bleiben weiß.
   Keine Webfonts. */
:root {
	--bg: #0a0a0b; --bg2: #111113; --card: #151518; --card2: #1b1b1f; --line: #26262b; --line2: #34343a;
	--text: #f2f2f0; --text2: #d0d0d4; --muted: #9a9aa2; --dim: #85858e;
	--neon: #e8ff2a; --neon-d: #c9dd12; --neon-glow: rgba(232, 255, 42, .35); --neon-soft: rgba(232, 255, 42, .07); --neon-line: rgba(232, 255, 42, .35);
	--on-neon: #0a0a0b;
	--font: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
	--text-font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
	--mono: "Cascadia Mono", Consolas, "SFMono-Regular", monospace;
	--head-h: 64px;
	--oe-c: var(--neon);
	--pdfw-accent: #e8ff2a;
	color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--bg); scroll-padding-top: calc(var(--head-h) + 12px); }
body.oe-site {
	margin: 0; color: var(--text); font: 16px/1.6 var(--font);
	background-color: var(--bg);
	background-image:
		radial-gradient(1200px 500px at 85% -10%, rgba(232, 255, 42, .07), transparent 60%),
		linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
	background-size: auto, 48px 48px, 48px 48px;
	min-height: 100vh; overflow-x: hidden;
	display: flex; flex-direction: column;
}
body.oe-site > .oe-main { flex: 1 0 auto; width: 100%; }
body.oe-site > .oe-header, body.oe-site > .oe-footer { flex: 0 0 auto; }
.oe-site a { color: inherit; }
.oe-site img { max-width: 100%; height: auto; }
.oe-site ::selection { background: var(--neon); color: var(--on-neon); }
.oe-wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.oe-wrap-text { max-width: 860px; }
.oe-skip { position: absolute; left: -9999px; top: 8px; z-index: 1000; background: var(--neon); color: var(--on-neon) !important; padding: 10px 14px; border-radius: 8px; font-weight: 700; }
.oe-skip:focus { left: 8px; }
/* Fokusrahmen: Neongelb auf dunklem Grund; auf hellen Arbeitsflächen setzen die Werkzeuge eigene Rahmen */
.oe-site :focus-visible { outline: 2px solid var(--neon); outline-offset: 2px; }

/* ---------- Kopf: klebt oben, halb durchsichtig ---------- */
.oe-header { position: sticky; top: 0; z-index: 60; background: rgba(10, 10, 11, .82); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.admin-bar .oe-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .oe-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .oe-header { top: 0; } }
.oe-bar { display: flex; align-items: center; gap: 26px; height: var(--head-h); }
.oe-logo { display: flex; align-items: center; gap: 0; font: 700 20px/1 var(--font); letter-spacing: -.01em; text-decoration: none; color: var(--text) !important; white-space: nowrap; flex: none; }
.oe-logo b { font-weight: 700; color: var(--neon); }
/* Marke: neongelbes Quadrat mit schwarzem Haken (wie Probe) */
.oe-mark { position: relative; display: inline-block; width: 26px; height: 26px; border-radius: 7px; background: var(--neon); box-shadow: 0 0 18px var(--neon-glow); flex: none; margin-right: 10px; }
.oe-mark::after { content: ""; position: absolute; left: 8px; top: 5px; width: 7px; height: 12px; border: solid var(--on-neon); border-width: 0 2.4px 2.4px 0; transform: rotate(45deg); }
.oe-nav { display: flex; align-items: center; gap: 2px; margin-left: auto; min-width: 0; }
.oe-nav a { font: 600 14px/1.2 var(--font); text-decoration: none; color: var(--muted); padding: 8px 12px; border-radius: 8px; white-space: nowrap; }
.oe-nav a:hover { color: var(--text); background: var(--bg2); }
.oe-nav a[aria-current] { color: var(--neon); }
.oe-lang { display: flex; gap: 2px; padding: 3px; border: 1px solid var(--line2); border-radius: 9px; flex: none; }
.oe-bar .oe-lang { margin-left: auto; }
.oe-bar .oe-nav + .oe-lang { margin-left: 0; }
.oe-lang a { font: 600 12px/1 var(--mono); padding: 6px 7px; border-radius: 6px; text-decoration: none; color: var(--muted); }
.oe-lang a:hover { color: var(--text); background: var(--bg2); }
.oe-lang a.on { background: var(--neon); color: var(--on-neon); }
/* Ab vier Sprachen etwas kompakter, wenn es eng wird (Regeln aus 1.5.0/1.6.0 übernommen, Maße an die Neon-Schrift angepasst) */
@media (max-width: 1100px) { .oe-lang:has(> a:nth-child(4)) a { padding: 6px 6px; } }
@media (max-width: 360px) { .oe-lang:has(> a:nth-child(4)) a { padding: 6px 5px; } }
/* Fünf Sprachen (EN | PT | PL | IT | ES): unter 1100 px gleich die schmalste Form (320 px passt mit 16 px Rand) */
@media (max-width: 1100px) { .oe-lang:has(> a:nth-child(5)) a { padding: 6px 5px; letter-spacing: -.02em; } }
/* Navigation 861–1100 px: kompakter, höchstens zwei ausgeglichene Zeilen je Punkt, kein Überlauf des Umschalters.
   ES bis 1180 px, da die Punkte länger sind. */
@media (min-width: 861px) and (max-width: 1100px) {
	.oe-bar { gap: 16px; }
	.oe-nav { gap: 0; }
	.oe-nav a { padding: 7px 8px; font-size: 13.5px; line-height: 1.15; white-space: normal; text-wrap: balance; text-align: center; }
}
@media (min-width: 1101px) and (max-width: 1180px) {
	.oe-bar:lang(es) { gap: 16px; }
	.oe-nav:lang(es) { gap: 0; }
	.oe-nav:lang(es) a { padding: 7px 8px; font-size: 13.5px; line-height: 1.15; white-space: normal; text-wrap: balance; text-align: center; }
}

/* ---------- Knöpfe: Hauptknopf neongelb (schwarze Schrift), Nebenknopf mit Rand ---------- */
.oe-btn { display: inline-flex; align-items: center; gap: 10px; font: 700 15px/1 var(--font); padding: 14px 20px; border-radius: 10px; cursor: pointer; text-decoration: none;
	color: var(--text) !important; background: transparent; border: 1px solid var(--line2); transition: transform .12s, box-shadow .12s, background .12s, border-color .12s, color .12s; }
.oe-btn:hover { border-color: var(--neon); color: var(--neon) !important; }
.oe-btn:active { transform: translateY(1px); }
.oe-btn-dark { background: var(--neon); border-color: var(--neon); color: var(--on-neon) !important; }
.oe-btn-dark:hover { color: var(--on-neon) !important; box-shadow: 0 0 24px var(--neon-glow); transform: translateY(-1px); }
.oe-btn-dark:active { transform: translateY(0); box-shadow: none; }
.oe-btn svg { width: 18px; height: 18px; flex: none; stroke: currentColor; }
.oe-btn-small { padding: 9px 13px; font-size: 13.5px; gap: 8px; border-radius: 8px; }
.oe-btn-small svg { width: 15px; height: 15px; }
.oe-site .oe-btn:focus-visible { outline-offset: 3px; }

/* ---------- Startseite: Einstieg ---------- */
.oe-hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; padding: 72px 0 48px; }
.oe-hero-txt { min-width: 0; }
/* Kennzeile als Pille mit Leuchtpunkt (Probe: .tag) */
.oe-kicker { display: inline-flex; align-items: center; gap: 8px; font: 600 12px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--neon);
	border: 1px solid var(--neon-line); border-radius: 999px; padding: 7px 12px; max-width: 100%; }
.oe-kicker::before { content: ""; width: 7px; height: 7px; flex: none; border-radius: 50%; background: var(--neon); box-shadow: 0 0 10px var(--neon); }
.oe-hero h1 { font: 800 54px/1.04 var(--font); letter-spacing: -.03em; margin: 22px 0 18px; color: var(--text); overflow-wrap: break-word; }
.oe-lead { font-size: 19px; color: #c8c8cc; max-width: 32em; margin: 0 0 28px; }
.oe-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.oe-facts { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; font-size: 14px; line-height: 1.35; color: var(--muted); padding: 0; list-style: none; }
.oe-facts span, .oe-facts li { display: flex; align-items: center; gap: 8px; }
/* Haken statt Punkt (Probe: .facts svg) */
.oe-facts i { position: relative; width: 16px; height: 16px; flex: none; }
.oe-facts i::after { content: ""; position: absolute; left: 5px; top: 1px; width: 5px; height: 10px; border: solid var(--neon); border-width: 0 2.2px 2.2px 0; transform: rotate(45deg); }

/* Schnellstart: Karte mit Leuchtkante oben, gestricheltes Ablagefeld */
.oe-plate { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 18px; overflow: hidden; min-width: 0; }
.oe-plate::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 2px; background: linear-gradient(90deg, transparent, var(--neon), transparent); }
.oe-screw { display: none; }
.oe-well { border: 1.5px dashed #3a3a42; border-radius: 12px; padding: 40px 20px; text-align: center; transition: border-color .15s, background-color .15s;
	background: repeating-linear-gradient(-45deg, transparent 0 12px, rgba(255, 255, 255, .012) 12px 24px); }
.oe-well:hover, .oe-well.is-over { border-color: var(--neon); }
.oe-well.is-over { background-color: var(--neon-soft); }
/* Symbol über dem Feld (Pfeil nach oben, wie Probe .drop .ico) */
.oe-well-label { font: 600 14px/1.3 var(--font); color: var(--text); margin-bottom: 16px; }
.oe-well-label::before { content: ""; display: block; width: 52px; height: 52px; margin: 0 auto 14px; border-radius: 14px; border: 1px solid rgba(232, 255, 42, .3);
	background: rgba(232, 255, 42, .1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e8ff2a' stroke-width='2'%3E%3Cpath d='M12 16V4M7 9l5-5 5 5M4 20h16'/%3E%3C/svg%3E") center / 24px no-repeat; }
.oe-well p { margin: 12px 0 0; font-size: 13px; color: var(--dim); }
.oe-tabs { display: flex; gap: 4px; margin-bottom: 14px; background: var(--bg2); padding: 4px; border-radius: 10px; width: max-content; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.oe-tabs::-webkit-scrollbar { display: none; }
.oe-tabs a { font: 600 13px/1 var(--font); padding: 8px 12px; border-radius: 7px; color: var(--muted); text-decoration: none; white-space: nowrap; }
.oe-tabs a:hover { color: var(--text); }
.oe-tabs a.on { background: #23232a; color: var(--text); }

/* ---------- Bereiche + Kacheln ---------- */
.oe-sect { padding: 40px 0; }
.oe-sect-head { display: flex; align-items: flex-end; flex-wrap: wrap; gap: 8px 16px; margin-bottom: 18px; }
.oe-sect-head h2 { font: 800 30px/1.1 var(--font); letter-spacing: -.02em; margin: 0; color: var(--text); flex: 1 1 auto; min-width: 0; }
/* Kennschild als Kennzeile über der Überschrift (Probe: .head .k) */
.oe-tag { flex: 1 0 100%; font: 600 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--neon); background: none; padding: 0; margin-bottom: -2px; }
.oe-sect-head a { margin-left: auto; font: 600 14px/1.3 var(--font); color: var(--muted); text-decoration: none; }
.oe-sect-head a:hover { color: var(--neon); }
.oe-rows { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.oe-row { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); text-decoration: none; min-width: 0;
	transition: border-color .12s, transform .12s; }
.oe-row:hover { border-color: var(--neon); transform: translateY(-2px); }
.oe-ico { flex: 0 0 40px; width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--bg2); border: 1px solid var(--line2); color: var(--neon); }
.oe-ico svg { width: 20px; height: 20px; }
.oe-ico-xl { flex-basis: 56px; width: 56px; height: 56px; border-radius: 14px; background: rgba(232, 255, 42, .1); border-color: rgba(232, 255, 42, .3); box-shadow: 0 0 24px -6px var(--neon-glow); }
.oe-ico-xl svg { width: 28px; height: 28px; }
.oe-row-txt { min-width: 0; }
.oe-row strong { display: block; font: 700 16px/1.3 var(--font); color: var(--text); margin-bottom: 2px; overflow-wrap: break-word; }
.oe-row small { display: block; color: var(--muted); font-size: 13.5px; line-height: 1.4; }
.oe-row:hover strong { color: var(--neon); }
.oe-group-title { font: 700 20px/1.2 var(--font); letter-spacing: -.01em; color: var(--text); margin: 0 0 14px; display: flex; align-items: center; gap: 10px; }
.oe-group-title::before { content: ""; width: 18px; height: 2px; flex: none; background: var(--neon); box-shadow: 0 0 8px var(--neon-glow); }
.oe-hub .oe-sect { padding: 18px 0 14px; }
.oe-more-title { font: 600 12px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--neon); margin: 0 0 14px; }

/* ---------- Kopf einer Unterseite ---------- */
.oe-page-head { padding: 30px 0 18px; }
.oe-crumbs ol { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font: 500 13px/1.4 var(--mono); color: var(--dim); }
.oe-crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line2); }
.oe-crumbs a { color: var(--muted); text-decoration: none; }
.oe-crumbs a:hover { color: var(--neon); }
.oe-crumbs [aria-current] { color: var(--dim); }
.oe-title-row { display: flex; gap: 18px; align-items: flex-start; }
.oe-title-row > div { min-width: 0; }
.oe-title { font: 800 40px/1.08 var(--font); letter-spacing: -.025em; margin: 0 0 10px; color: var(--text); overflow-wrap: anywhere; }
.oe-page-head .oe-lead { margin: 0; font-size: 17px; }
.oe-trust { margin-top: 18px; }

/* ---------- Werkzeug-Zone in voller Breite ---------- */
.oe-tool-zone { width: 100%; padding: 6px clamp(10px, 1.6vw, 28px) 30px; scroll-margin-top: calc(var(--head-h) + 8px); }
.oe-tool-zone .oe-before { margin-bottom: 16px; }
.oe-boot { display: flex; align-items: center; justify-content: center; min-height: 520px; border: 1px solid var(--line); border-radius: 14px; color: var(--muted); background: var(--card); font: 600 13px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.oe-conv-list { max-width: 1180px; margin: 26px auto 0; padding: 0 10px; }
/* Werkzeuge fast bildschirmhoch – abzüglich des klebenden Kopfes (sonst verdeckt er die Leiste oben bzw. die Statusleiste unten) */
.oe-site .owx:not(.owx-fs):not(.owx-mode-lesson), .oe-site .owd:not(.owd-fs):not(.owd-mode-lesson), .oe-site .owt:not(.owt-fs) { height: max(520px, calc(100vh - var(--head-h) - 16px)); }
.oe-site .owx.owx-mode-lesson:not(.owx-narrow):not(.owx-fs) { min-height: max(560px, calc(100vh - var(--head-h) - 16px)); }
.oe-site .owd.owd-mode-lesson:not(.owd-narrow):not(.owd-fs) { min-height: max(560px, calc(100vh - var(--head-h) - 16px)); }
@media (max-width: 860px) { .oe-site .owt:not(.owt-fs) { height: auto; min-height: max(520px, calc(100vh - var(--head-h) - 16px)); } }

/* Vorlagen: Download-Leiste über dem Tabellen-/Textprogramm; 3 oder 4 Schalter (invoice: .xlsx + .docx) */
.oe-dl-bar { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 10px; margin: 0 0 12px; }
.oe-dl { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 12px 14px; text-align: left; cursor: pointer; text-decoration: none;
	font: inherit; color: var(--text) !important; border-radius: 12px; border: 1px solid var(--line2); background: var(--card); transition: border-color .12s, box-shadow .12s, transform .12s; }
.oe-dl:hover { border-color: var(--neon); }
.oe-dl:hover strong { color: var(--neon); }
.oe-dl:active { transform: translateY(1px); }
.oe-dl-ico { flex: 0 0 36px; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 9px; border: 1px solid var(--line2); background: var(--bg2); color: var(--neon); }
.oe-dl-ico svg { width: 18px; height: 18px; }
.oe-dl-txt { min-width: 0; }
.oe-dl strong { display: block; font: 700 14.5px/1.25 var(--font); }
.oe-dl small { display: block; margin-top: 3px; color: var(--muted); font-size: 12.5px; line-height: 1.3; }
/* Hauptschalter (.xlsx bzw. .docx mit Eingaben): neongelb, schwarze Schrift */
.oe-dl-xlsx, .oe-dl-docx[data-oe-docx] { background: var(--neon); border-color: var(--neon); color: var(--on-neon) !important; }
.oe-dl-xlsx:hover, .oe-dl-docx[data-oe-docx]:hover { border-color: var(--neon); box-shadow: 0 0 24px var(--neon-glow); }
.oe-dl-xlsx:hover strong, .oe-dl-docx[data-oe-docx]:hover strong { color: var(--on-neon); }
.oe-dl-xlsx small, .oe-dl-docx[data-oe-docx] small { color: #2c3300; }
.oe-dl-xlsx .oe-dl-ico, .oe-dl-docx[data-oe-docx] .oe-dl-ico { background: rgba(10, 10, 11, .1); border-color: rgba(10, 10, 11, .25); color: var(--on-neon); }
.oe-site .oe-dl-xlsx:focus-visible, .oe-site .oe-dl-docx[data-oe-docx]:focus-visible { outline-color: var(--text); }
.oe-sheet, .oe-doc { scroll-margin-top: calc(var(--head-h) + 8px); }

/* Startseite: Vorlagen-Liste im Bereich Tabellen/Dokumente */
.oe-start-sub { margin-top: 26px; }
.oe-sub-title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; }
.oe-sub-title a { margin-left: auto; font: 600 14px/1.3 var(--font); letter-spacing: 0; text-transform: none; color: var(--muted); text-decoration: none; }
.oe-sub-title a:hover { color: var(--neon); }

/* ====================================================================
 * PDF-Werkzeuge (Plugin pdf-werkzeuge, Klassen .pdfw-…) im Neon-Look.
 * Nur Überschreibungen hier – das Plugin selbst bleibt unverändert (läuft auch auf pdfpaul.de / lernoffice.de).
 * PDF-Seiten, Vorschaubilder und Unterschriftsfeld bleiben weiß.
 * ==================================================================== */
.oe-site .pdfw {
	--pdfw-a: #e8ff2a; --pdfw-a-dark: #e8ff2a; --pdfw-a-soft: rgba(232, 255, 42, .08); --pdfw-a-line: rgba(232, 255, 42, .4);
	--pdfw-ink: #f2f2f0; --pdfw-muted2: #a2a2aa; --pdfw-line2: #2c2c32; --pdfw-bg2: #111113; --pdfw-r: 12px;
	font-family: var(--text-font); color: var(--pdfw-ink);
}
.oe-tool-zone .pdfw-tool { max-width: none; margin: 0; border-radius: 16px; border: 1px solid var(--line); background: var(--card); box-shadow: none; position: relative; }
.oe-tool-zone .pdfw-tool::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 2px; border-radius: 16px 16px 0 0; background: linear-gradient(90deg, transparent, var(--neon), transparent); pointer-events: none; }
.oe-site .pdfw-boot { color: var(--muted); }
.oe-site .pdfw-spinner { border-color: rgba(232, 255, 42, .15); border-top-color: var(--neon); }
/* Ablagefeld wie Probe */
.oe-site .pdfw-drop { border: 1.5px dashed #3a3a42; border-radius: 12px; background: repeating-linear-gradient(-45deg, transparent 0 12px, rgba(255, 255, 255, .012) 12px 24px); }
.oe-site .pdfw-drop:hover, .oe-site .pdfw-drop.is-over, .oe-site .pdfw-drop:focus-visible { border-color: var(--neon); background-color: var(--neon-soft); outline: none; }
.oe-site .pdfw-drop-ico { color: var(--neon); }
.oe-site .pdfw-drop:not(.pdfw-drop-compact) .pdfw-drop-ico { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 16px; background: rgba(232, 255, 42, .1); border: 1px solid rgba(232, 255, 42, .3); }
.oe-site .pdfw-drop-hint, .oe-site .pdfw-drop-safe { color: var(--muted); }
/* Knöpfe */
.oe-site .pdfw-btn { border-radius: 10px; font-family: var(--font); font-weight: 700; }
.oe-site .pdfw-btn-lg { border-radius: 10px; }
.oe-site .pdfw-btn-primary { background: var(--neon); border: 1px solid var(--neon); color: var(--on-neon); box-shadow: none; }
.oe-site .pdfw-btn-primary:hover:not(:disabled) { background: var(--neon); color: var(--on-neon); box-shadow: 0 0 24px var(--neon-glow); }
.oe-site .pdfw-btn-primary:active:not(:disabled) { box-shadow: none; }
.oe-site .pdfw-btn-primary:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }
.oe-site .pdfw-btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--line2); box-shadow: none; }
.oe-site .pdfw-btn-ghost:hover:not(:disabled) { color: var(--neon); border-color: var(--neon); background: transparent; }
.oe-site .pdfw-btn-danger { background: transparent; color: #ff8a80; border-color: #5a2a27; }
.oe-site .pdfw-btn-danger:hover:not(:disabled) { border-color: #ff8a80; }
.oe-site .pdfw-btn-link { color: var(--neon); }
.oe-site .pdfw-icon-btn { background: var(--bg2); border-color: var(--line2); color: var(--text); border-radius: 8px; }
.oe-site .pdfw-icon-btn:hover:not(:disabled) { border-color: var(--neon); color: var(--neon); }
.oe-site .pdfw-icon-btn.is-on { background: #3a1513; border-color: #7a2c27; color: #ff8a80; }
/* Felder */
.oe-site .pdfw-panel-title { color: var(--text); }
.oe-site .pdfw-filehead { background: var(--bg2); border-color: var(--line); }
.oe-site .pdfw-filehead-ico { background: var(--neon); color: var(--on-neon); }
.oe-site .pdfw-field-label { color: var(--text2); }
.oe-site .pdfw-input { background: var(--bg2); border-color: var(--line2); color: var(--text); color-scheme: dark; }
.oe-site .pdfw-input::placeholder { color: var(--dim); }
.oe-site .pdfw-input:focus { outline: 2px solid rgba(232, 255, 42, .45); border-color: var(--neon); }
.oe-site .pdfw-note { background: rgba(232, 255, 42, .05); border-color: var(--neon-line); color: var(--text2); }
.oe-site .pdfw-seg label { background: var(--bg2); border-color: var(--line2); }
.oe-site .pdfw-seg input:checked + label { background: var(--neon-soft); border-color: var(--neon); box-shadow: inset 0 0 0 1px var(--neon); }
.oe-site .pdfw-file { background: var(--bg2); border-color: var(--line2); }
.oe-site .pdfw-file-grip { color: var(--dim); }
.oe-site .pdfw-step { background: var(--bg2); border-color: var(--line2); }
.oe-site .pdfw-step.is-on { background: var(--neon-soft); border-color: var(--neon); }
/* Vorschaubilder: dunkle Kachel, Seite weiß */
.oe-site .pdfw-thumb { background: var(--bg2); }
.oe-site .pdfw-thumb.is-selected { background: var(--neon-soft); }
.oe-site .pdfw-thumb-check { background: var(--card); border-color: var(--line2); }
.oe-site .pdfw-thumb.is-selected .pdfw-thumb-check { color: var(--on-neon); }
.oe-site .pdfw-sticky-actions { background: linear-gradient(transparent, var(--card) 30%); }
/* Fortschritt, Fehler, Ergebnis */
.oe-site .pdfw-progress { background: rgba(232, 255, 42, .12); }
.oe-site .pdfw-progress-bar { background: var(--neon); box-shadow: 0 0 12px var(--neon-glow); }
.oe-site .pdfw-error { background: #2a1412; border-color: #6b2a25; color: #ffb4ab; }
.oe-site .pdfw-result-ok { background: rgba(232, 255, 42, .12); color: var(--neon); }
.oe-site .pdfw-next { border-top-color: var(--line); }
.oe-site .pdfw-next-btn { background: var(--bg2); border-color: var(--line2); color: var(--text) !important; }
.oe-site .pdfw-next-btn:hover { background: var(--bg2); border-color: var(--neon); color: var(--neon) !important; }
.oe-site .pdfw-chips a { background: var(--bg2); color: var(--neon); border: 1px solid var(--line2); }
.oe-site .pdfw-chips a:hover { border-color: var(--neon); background: var(--bg2); }
.oe-site .pdfw-pre { background: var(--bg2); border-color: var(--line2); color: var(--text2); }
.oe-site .pdfw-img-preview img { border-color: var(--line2); background: #fff; }
/* Dialog und Hinweis */
.oe-site .pdfw-modal-back { background: rgba(0, 0, 0, .65); }
.oe-site .pdfw-modal { background: var(--card); color: var(--text); border: 1px solid var(--line2); }
.oe-site .pdfw-x { color: var(--muted); }
.oe-site .pdfw-x:hover { color: var(--text); }
.oe-site .pdfw-toast { background: var(--card2); color: var(--text); border: 1px solid var(--line2); }
.oe-site .pdfw-toast-error { background: #4a1714; border-color: #7a2c27; }
/* Karten (Übersichten des PDF-Plugins, falls eingebettet) */
.oe-site .pdfw-card { background: var(--card); border-color: var(--line); color: var(--text) !important; border-radius: 14px; }
.oe-site a.pdfw-card:hover { border-color: var(--neon); box-shadow: none; }
.oe-site .pdfw-card-ico { background: rgba(232, 255, 42, .1); color: var(--neon); }
/* Editor: Leisten dunkel, Seitenfläche dunkel, PDF-Seiten weiß */
.oe-site .pdfw-ed-bar { background: var(--bg2); border-color: var(--line2); box-shadow: 0 6px 18px -10px rgba(0, 0, 0, .8); top: var(--head-h); }
.oe-site .pdfw-ed-tool { color: var(--text2); }
.oe-site .pdfw-ed-tool:hover { background: var(--card2); color: var(--text); }
.oe-site .pdfw-ed-tool.is-active { background: var(--neon-soft); color: var(--neon); box-shadow: inset 0 0 0 1.5px var(--neon); }
.oe-site .pdfw-ed-sep { background: var(--line2); }
.oe-site .pdfw-ed-hint { color: var(--muted); }
.oe-site .pdfw-tbtn { background: var(--bg2); border-color: var(--line2); color: var(--text); }
.oe-site .pdfw-tbtn.is-on, .oe-site .pdfw-tbtn:hover { border-color: var(--neon); color: var(--neon); }
.oe-site .pdfw-swatch { border-color: var(--card); box-shadow: 0 0 0 1px var(--line2); }
.oe-site .pdfw-swatch.is-on { box-shadow: 0 0 0 2px var(--neon); }
.oe-site .pdfw-ed-pages, .oe-site .pdfw-cr-pages { background: #0d0d0f; border: 1px solid var(--line); }
.oe-site .pdfw-ed-page, .oe-site .pdfw-cr-page { background: #fff; box-shadow: 0 2px 14px rgba(0, 0, 0, .6); }
.oe-site .pdfw-ed-pnum { color: var(--muted); }
.oe-site .pdfw-ed-foot { background: rgba(17, 17, 19, .95); border-top-color: var(--line2); }
.oe-site .pdfw-ed-file { color: var(--muted); }
/* Auf der weißen PDF-Seite: Auswahl/Griffe oliv statt Neongelb (Neongelb wäre auf Weiß unsichtbar); Texte auf der Seite bleiben dunkel */
.oe-site .pdfw-ed-page { --pdfw-a: #5c6b00; color: #111; }
.oe-site .pdfw-ed-page .pdfw-obj-text:empty::before { color: #777; }
/* Unterschrift: Zeichenfeld und gespeicherte Unterschriften bleiben weiß */
.oe-site .pdfw-tabs { border-bottom-color: var(--line2); }
.oe-site .pdfw-tab { color: var(--muted); }
.oe-site .pdfw-tab.is-on { color: var(--neon); }
.oe-site .pdfw-sig-pad { background: #fff; border-color: var(--line2); }
.oe-site .pdfw-sig-font { background: #fff; color: #111; border-color: var(--line2); }
.oe-site .pdfw-sig-font.is-on { background: #f7ffd1; border-color: var(--neon); box-shadow: 0 0 0 2px var(--neon); }
.oe-site .pdfw-sig-choice { background: #fff; border-color: var(--line2); }
.oe-site .pdfw-sig-choice:hover { border-color: var(--neon); }
/* PDF erstellen */
.oe-site .pdfw-cr-sec { background: var(--bg2); border-color: var(--line2); }
.oe-site .pdfw-cr-totals { background: var(--neon-soft); color: var(--text); }
.oe-site .pdfw-entry { background: #0d0d0f; border-color: var(--line2); }
.oe-site .pdfw-cr-thumb { border-color: var(--line2); }
.oe-site .pdfw-rte-wrap { background: var(--bg2); border-color: var(--line2); }
.oe-site .pdfw-rte-bar { background: var(--card); border-bottom-color: var(--line2); }
.oe-site .pdfw-rte { color: var(--text); }
@media (max-width: 860px) { .oe-site .pdfw-ed-bar { top: 56px; } }

/* ====================================================================
 * Eigene Werkzeuge (assets/tools, Präfix owt): Rahmen passend zur Seite (Farben stehen in tools/common.css)
 * ==================================================================== */
.oe-tool-zone .owt { border-radius: 14px; --owt-ui: var(--text-font); }

/* ---------- Text unter dem Werkzeug: Inhaltsverzeichnis | Text | Leiste ---------- */
.oe-related { padding-top: 18px; padding-bottom: 10px; }
.oe-article-zone { display: grid; grid-template-columns: 220px minmax(0, 760px) 240px; gap: 36px; justify-content: center; align-items: start; padding-top: 30px; padding-bottom: 60px; }
.oe-article-zone.oe-no-rail { grid-template-columns: 220px minmax(0, 820px); }
.oe-toc { position: sticky; top: calc(var(--head-h) + 18px); font-size: 14px; }
.oe-toc[hidden] { display: none !important; }
.oe-toc-title, .oe-rail-title { font: 600 12px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--neon); margin: 0 0 12px; }
.oe-toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line2); }
.oe-toc a { display: block; padding: 6px 0 6px 14px; margin-left: -1px; border-left: 2px solid transparent; color: var(--muted); text-decoration: none; line-height: 1.4; }
.oe-toc a:hover { color: var(--text); }
.oe-toc a.is-active { color: var(--neon); border-left-color: var(--neon); font-weight: 600; }
.oe-article-zone:has(> .oe-toc[hidden]) { grid-template-columns: minmax(0, 820px) 240px; }
.oe-article-zone.oe-no-rail:has(> .oe-toc[hidden]) { grid-template-columns: minmax(0, 860px); }
.oe-rail { position: sticky; top: calc(var(--head-h) + 18px); }
.oe-rail-box { padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); display: grid; gap: 12px; justify-items: start; }
.oe-rail-title { color: var(--text); font: 700 15px/1.3 var(--font); letter-spacing: 0; text-transform: none; margin: 0; }
.oe-rail-more { font: 600 14px/1.35 var(--font); color: var(--muted); text-decoration: none; }
.oe-rail-more:hover { color: var(--neon); }

/* ---------- Fließtext ---------- */
.oe-prose { font-size: 17px; line-height: 1.7; color: var(--text2); overflow-wrap: break-word; }
.oe-prose > :first-child { margin-top: 0; }
.oe-prose h2 { font: 800 28px/1.15 var(--font); letter-spacing: -.02em; color: var(--text); margin: 1.7em 0 .55em; scroll-margin-top: calc(var(--head-h) + 16px); }
.oe-prose h3 { font: 700 19px/1.3 var(--font); color: var(--text); margin: 1.5em 0 .45em; scroll-margin-top: calc(var(--head-h) + 16px); }
.oe-prose h4 { color: var(--text); }
.oe-prose p, .oe-prose ul, .oe-prose ol { margin: 0 0 1em; }
.oe-prose ul { padding-left: 1.3em; }
.oe-prose ul > li::marker { color: var(--neon); }
.oe-prose li { margin: .35em 0; }
/* Nummerierte Schritte: neongelbe Kästchen mit schwarzer Zahl (Probe) */
.oe-prose ol { padding-left: 0; list-style: none; counter-reset: oe-s; }
.oe-prose ol > li { counter-increment: oe-s; position: relative; padding-left: 44px; margin: 12px 0; }
.oe-prose ol > li::before { content: counter(oe-s); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 8px; background: var(--neon); color: var(--on-neon); font: 800 14px/30px var(--font); text-align: center; }
.oe-prose li > ul, .oe-prose li > ol { margin: .4em 0 0; }
.oe-prose a { color: var(--text); text-decoration: underline; text-decoration-color: var(--neon); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.oe-prose a:hover { color: var(--neon); }
.oe-prose strong, .oe-prose b { color: var(--text); }
.oe-prose code { font-family: var(--mono); font-size: .9em; background: #1c1c21; border: 1px solid var(--line2); border-radius: 6px; padding: 2px 6px; color: var(--neon); overflow-wrap: anywhere; }
.oe-prose kbd { font-family: var(--mono); font-size: .85em; background: var(--card2); border: 1px solid var(--line2); border-bottom-width: 2px; border-radius: 5px; padding: 1px 6px; color: var(--text); }
.oe-prose blockquote { margin: 1.4em 0; padding: 4px 0 4px 18px; border-left: 2px solid var(--neon); color: var(--text2); }
.oe-prose hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.oe-prose img { border-radius: 10px; }
/* Tabellen (Probe): dunkle Fläche, Kopf in Mono neongelb */
/* Desktop: echte Tabelle (Spalten von Kopf und Körper stehen bündig); schmal: waagerecht scrollbar statt Seitenüberlauf */
.oe-prose table { width: 100%; border-collapse: separate; border-spacing: 0; margin: 16px 0 1.4em; font-size: 15px; line-height: 1.5; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--bg2); }
.oe-prose th, .oe-prose td { padding: 12px; text-align: left; vertical-align: top; }
.oe-prose td { border-top: 1px solid var(--line); color: var(--text2); background: var(--bg); }
.oe-prose th { font: 600 12px/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--neon); background: var(--bg2); }
.oe-prose tbody th { text-transform: none; letter-spacing: 0; font: 600 14.5px/1.4 var(--font); color: var(--text); border-top: 1px solid var(--line); }
.oe-prose tbody tr:first-child th, .oe-prose tbody tr:first-child td { border-top: 0; }
.oe-prose thead + tbody tr:first-child th, .oe-prose thead + tbody tr:first-child td { border-top: 1px solid var(--line); }
/* FAQ (details/summary) */
.oe-prose details { border: 1px solid var(--line); border-radius: 12px; background: var(--card); margin: 0 0 10px; padding: 0 18px; transition: border-color .12s; }
.oe-prose details:hover, .oe-prose details[open] { border-color: var(--line2); }
.oe-prose summary { cursor: pointer; padding: 14px 28px 14px 0; font: 700 16px/1.4 var(--font); color: var(--text); list-style: none; position: relative; }
.oe-prose summary::-webkit-details-marker { display: none; }
.oe-prose summary::after { content: "+"; position: absolute; right: 0; top: 11px; font: 600 20px/1 var(--mono); color: var(--neon); }
.oe-prose details[open] summary::after { content: "\2013"; }
.oe-prose summary:hover { color: var(--neon); }
.oe-prose details[open] summary { border-bottom: 1px solid var(--line); margin-bottom: 12px; }
.oe-prose details > :last-child { margin-bottom: 14px; }
/* Hinweisbox (Probe .note) */
.oe-note, .oe-prose .oe-note { margin: 1.6em 0; padding: 16px 18px; border: 1px solid var(--neon-line); border-radius: 12px; background: rgba(232, 255, 42, .05); color: var(--text2); }
.oe-note > :last-child { margin-bottom: 0; }
.oe-note b:first-child, .oe-note strong:first-child { color: var(--neon); }
.oe-front-text { padding-top: 10px; padding-bottom: 50px; }
.oe-front-text .oe-prose { max-width: 860px; }
.oe-hub-intro { max-width: 860px; margin-bottom: 10px; }
.oe-page-content { padding-bottom: 60px; }
.oe-list { padding-bottom: 60px; }

/* ---------- Fuß ---------- */
.oe-footer { margin-top: 30px; border-top: 1px solid var(--line); background: rgba(10, 10, 11, .6); color: var(--dim); }
.oe-foot { display: flex; flex-wrap: wrap; gap: 10px 24px; padding-top: 26px; padding-bottom: 26px; font: 14px/1.5 var(--font); }
.oe-footer a { text-decoration: none; color: var(--muted); }
.oe-footer a:hover { color: var(--neon); }
.oe-foot-lang { margin-left: auto; }
.oe-foot-lang > span { color: var(--text); }

/* ---------- Schmal ---------- */
@media (max-width: 1100px) {
	.oe-article-zone { grid-template-columns: 200px minmax(0, 1fr); }
	.oe-rail { grid-column: 1 / -1; position: static; }
	.oe-article-zone:has(> .oe-toc[hidden]) { grid-template-columns: minmax(0, 1fr); }
	.oe-rows { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
	:root { --head-h: 56px; }
	.oe-wrap { padding: 0 16px; }
	.oe-bar { gap: 14px; }
	.oe-nav { display: none; }
	.oe-bar .oe-nav + .oe-lang { margin-left: auto; }
	.oe-hero { grid-template-columns: 1fr; gap: 30px; padding-top: 40px; padding-bottom: 28px; }
	.oe-hero h1 { font-size: 38px; }
	.oe-lead { font-size: 17.5px; }
	.oe-rows { grid-template-columns: 1fr; gap: 10px; }
	.oe-row { padding: 14px 16px; }
	.oe-sect { padding: 28px 0; }
	.oe-sect-head h2 { font-size: 26px; }
	.oe-title { font-size: 31px; }
	.oe-ico-xl { flex-basis: 46px; width: 46px; height: 46px; border-radius: 12px; }
	.oe-ico-xl svg { width: 24px; height: 24px; }
	.oe-article-zone, .oe-article-zone.oe-no-rail { grid-template-columns: minmax(0, 1fr); gap: 18px; padding-top: 18px; }
	.oe-toc { position: static; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); }
	.oe-tool-zone { padding-left: 8px; padding-right: 8px; }
	.oe-prose { font-size: 16px; }
	.oe-prose h2 { font-size: 24px; }
	.oe-prose table { display: block; overflow-x: auto; font-size: 14px; }
	.oe-prose th, .oe-prose td { padding: 10px; }
	.oe-foot-lang { margin-left: 0; width: 100%; }
	.oe-sect-head a { margin-left: 0; width: 100%; }
	.oe-dl-bar { grid-auto-flow: row; grid-template-columns: 1fr; gap: 8px; }
	.oe-sub-title a { margin-left: 0; width: 100%; }
}
@media (max-width: 420px) {
	.oe-hero h1 { font-size: 32px; }
	.oe-logo { font-size: 18px; }
	.oe-mark { width: 24px; height: 24px; margin-right: 8px; }
	.oe-mark::after { left: 7px; top: 4px; }
	.oe-bar { gap: 10px; }
	.oe-plate { padding: 14px; }
	.oe-well { padding: 28px 14px; }
	.oe-tabs a { padding: 8px 9px; }
	.oe-title-row { gap: 12px; }
	.oe-title { font-size: 27px; }
	.oe-btn { padding: 13px 16px; }
	.oe-kicker { font-size: 11px; letter-spacing: .05em; }
}
@media (max-width: 360px) {
	.oe-logo { font-size: 17px; }
	.oe-mark { width: 22px; height: 22px; margin-right: 7px; border-radius: 6px; }
	.oe-mark::after { left: 7px; top: 4px; width: 6px; height: 11px; }
}
@media (prefers-reduced-motion: reduce) {
	.oe-site *, .oe-site *::before, .oe-site *::after { transition: none !important; }
}

/* ---------- Druck: hell und schlicht ---------- */
@media print {
	.oe-header, .oe-footer, .oe-rail, .oe-toc, .oe-related, .oe-crumbs, .oe-trust, .oe-skip, .oe-dl-bar { display: none !important; }
	html, body.oe-site { background: #fff !important; color: #000; }
	.oe-site .oe-title, .oe-site .oe-prose, .oe-site .oe-prose h2, .oe-site .oe-prose h3, .oe-site .oe-lead { color: #000; }
}
