/* Textformatierung (Format.php / editor.js) – gilt auf der Homepage, im Mitgliederbereich und im Editor. */

/* Schriftgrößen */
.fs-xs { font-size: .75em; }
.fs-s { font-size: .875em; }
.fs-n { font-size: 1em; }
.fs-l { font-size: 1.3em; }
.fs-xl { font-size: 1.65em; line-height: 1.25; }
.fs-xxl { font-size: 2.2em; line-height: 1.15; }

/* Zeichen */
.sc { font-variant: small-caps; letter-spacing: .03em; }
.tsh { text-shadow: 1px 1px 2px rgba(0, 0, 0, .35); }
.tr-tight { letter-spacing: -.03em; }
.tr-wide { letter-spacing: .08em; }
.tr-wider { letter-spacing: .2em; }
sup, sub { font-size: .72em; line-height: 0; position: relative; vertical-align: baseline; }
sup { top: -.5em; }
sub { bottom: -.25em; }

/* Schriftfarben – gleiche Werte in textformat.js */
.tc-club { color: var(--c, #1f6f5c); }
.tc-accent { color: var(--accent, #d9a400); }
.tc-black { color: #111111; }
.tc-gray { color: #6b7280; }
.tc-white { color: #ffffff; }
.tc-red { color: #c62828; }
.tc-orange { color: #e65100; }
.tc-yellow { color: #b88600; }
.tc-green { color: #2e7d32; }
.tc-teal { color: #00796b; }
.tc-blue { color: #1565c0; }
.tc-purple { color: #6a1b9a; }
.tc-pink { color: #ad1457; }
.tc-brown { color: #6d4c41; }

/* Textmarker */
[class*="hl-"], .hl { padding: 0 .12em; border-radius: .15em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.hl-yellow { background: #fff176; }
.hl-green { background: #c5e1a5; }
.hl-blue { background: #b3e5fc; }
.hl-pink { background: #f8bbd0; }
.hl-orange { background: #ffcc80; }
.hl-purple { background: #e1bee7; }
.hl-gray { background: #e0e0e0; }
.hl-club { background: color-mix(in srgb, var(--c, #1f6f5c) 22%, transparent); }
.hl-yellow, .hl-green, .hl-blue, .hl-pink, .hl-orange, .hl-purple, .hl-gray { color: #111; }

/* Schriftarten – nur Schriften der Geräte, keine Webfonts (Datenschutz) */
.ff-heading { font-family: var(--font-head, inherit); }
.ff-sans { font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; }
.ff-modern { font-family: "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif; }
.ff-serif { font-family: Georgia, "Times New Roman", Times, serif; }
.ff-classic { font-family: "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif; }
.ff-round { font-family: ui-rounded, "SF Pro Rounded", "Arial Rounded MT Bold", "Trebuchet MS", sans-serif; }
.ff-narrow { font-family: "Arial Narrow", "Roboto Condensed", "Helvetica Neue Condensed", sans-serif-condensed, Arial, sans-serif; font-stretch: condensed; }
.ff-mono { font-family: ui-monospace, "Cascadia Mono", Consolas, "Courier New", monospace; }
.ff-hand { font-family: "Segoe Print", "Bradley Hand", "Comic Sans MS", "Chalkboard SE", cursive; }

/* Absätze */
.ta-l { text-align: left; }
.ta-c { text-align: center; }
.ta-r { text-align: right; }
.ta-j { text-align: justify; hyphens: auto; -webkit-hyphens: auto; }
.ind-1 { margin-left: 2em !important; }
.ind-2 { margin-left: 4em !important; }
.ind-3 { margin-left: 6em !important; }
.ind-4 { margin-left: 8em !important; }
.ind-5 { margin-left: 10em !important; }
.ind-6 { margin-left: 12em !important; }
@media (max-width: 560px) { .ind-3, .ind-4, .ind-5, .ind-6 { margin-left: 4em !important; } }
.lh-10 { line-height: 1.1; }
.lh-115 { line-height: 1.3; }
.lh-15 { line-height: 1.7; }
.lh-20 { line-height: 2.1; }
.lh-25 { line-height: 2.5; }
.lh-30 { line-height: 3; }
.sp-0 { margin-bottom: 0 !important; }
.sp-s { margin-bottom: .4em !important; }
.sp-l { margin-bottom: 2em !important; }

/* Hinweiskästen */
.box { padding: .85em 1.1em .85em 3em; border-radius: 10px; border: 1px solid; position: relative; color: #1c2430; }
.box::before { position: absolute; left: 1em; top: .8em; font-size: 1.05em; line-height: 1.4; }
.box-info { background: #e8f2fd; border-color: #b6d4f5; }
.box-info::before { content: "ℹ️"; }
.box-tip { background: #e9f7ec; border-color: #b9e1c2; }
.box-tip::before { content: "💡"; }
.box-warn { background: #fff6e0; border-color: #f3d58a; }
.box-warn::before { content: "⚠️"; }
.box-important { background: #fdecec; border-color: #f2b8b8; }
.box-important::before { content: "❗"; }
.box-note { background: #f3f4f6; border-color: #d7dae0; }
.box-note::before { content: "📝"; }
ul.box, ol.box { padding-left: 4.4em; }

/* Listen */
.prose ul ul, .prose ol ul { list-style-type: circle; }
.prose ul ul ul, .prose ol ul ul { list-style-type: square; }
.prose ol ol { list-style-type: lower-alpha; }
.prose ol ol ol { list-style-type: lower-roman; }
ul.ls-circle { list-style-type: circle; }
ul.ls-square { list-style-type: square; }
ul.ls-none { list-style: none; padding-left: 0; }
ul.ls-dash { list-style-type: "–  "; }
ul.ls-arrow { list-style-type: "➜  "; }
ul.ls-star { list-style-type: "★  "; }
ul.ls-check { list-style-type: "✓  "; }
ol.ls-a { list-style-type: lower-alpha; }
ol.ls-ua { list-style-type: upper-alpha; }
ol.ls-i { list-style-type: lower-roman; }
ol.ls-ui { list-style-type: upper-roman; }
ul.checklist { list-style: none; padding-left: .2em; }
ul.checklist ul.checklist { padding-left: 1.6em; }
ul.checklist > li { position: relative; padding-left: 1.75em; }
ul.checklist > li::before { content: ""; position: absolute; left: 0; top: .2em; width: 1.05em; height: 1.05em; border: 2px solid currentColor; border-radius: .25em; opacity: .55; box-sizing: border-box; }
ul.checklist > li.done::before { content: "✓"; opacity: 1; background: var(--c, #1f6f5c); border-color: var(--c, #1f6f5c); color: #fff; font-size: .8em; line-height: 1.1em; width: 1.3em; height: 1.3em; text-align: center; font-weight: 700; }
ul.checklist > li.done { color: inherit; }

/* Zitat, Trennlinie */
.prose blockquote, .wy-area blockquote { margin: 1.2em 0; padding: .4em 1.2em; border-left: 4px solid var(--c, #1f6f5c); font-style: italic; color: inherit; opacity: .92; }
.prose blockquote p, .wy-area blockquote p { margin: 0; }
.prose hr, .wy-area hr { border: 0; border-top: 2px solid var(--line, #dfe3e8); margin: 2em auto; width: 100%; }

/* Tabellen */
.tbl-wrap { overflow-x: auto; margin: 1.2em 0; -webkit-overflow-scrolling: touch; }
table.tbl { border-collapse: collapse; width: 100%; font-size: .97em; }
table.tbl th, table.tbl td { border: 1px solid var(--line, #d7dbe2); padding: .5em .75em; text-align: left; vertical-align: top; }
table.tbl.ta-c th, table.tbl.ta-c td { text-align: center; }
table.tbl.ta-r th, table.tbl.ta-r td { text-align: right; }
table.tbl th { background: color-mix(in srgb, var(--c, #1f6f5c) 10%, transparent); font-weight: 700; }
table.tbl-striped tbody tr:nth-child(even) td { background: color-mix(in srgb, var(--text, #111) 4%, transparent); }
table.tbl-plain th, table.tbl-plain td { border-width: 0 0 1px; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* formatierte Kurztexte in Karten (Vorstand, Begrüßung, Helferlisten) */
.person-bio p, .lead.prose p, .hl-desc p { margin: 0 0 .5em; }
.person-bio > :last-child, .lead.prose > :last-child, .hl-desc > :last-child { margin-bottom: 0; }
