/* KEYSHA – Anpassung an Joomla: Bootstrap-Farben, Menü, Spalten, Lesetext, Module, Formulare.
   Baut auf base.css auf (aus dem Entwurf erzeugt). */

/* ───────── Bootstrap auf das dunkle Thema einstellen ───────── */
:root, [data-bs-theme="dark"] {
  --bs-body-bg: #0a1026; --bs-body-bg-rgb: 10, 16, 38;
  --bs-body-color: #fbf3e4; --bs-body-color-rgb: 251, 243, 228;
  --bs-emphasis-color: #fff; --bs-emphasis-color-rgb: 255, 255, 255;
  --bs-secondary-color: rgba(251, 243, 228, .72); --bs-secondary-bg: #121a3a;
  --bs-tertiary-color: rgba(251, 243, 228, .5); --bs-tertiary-bg: #0e1530;
  --bs-border-color: rgba(var(--sun-rgb), .22); --bs-border-color-translucent: rgba(var(--sun-rgb), .16);
  --bs-link-color: #f6d596; --bs-link-color-rgb: 246, 213, 150;
  --bs-link-hover-color: #fff1cf; --bs-link-hover-color-rgb: 255, 241, 207;
  --bs-primary: #f6cf86; --bs-primary-rgb: 246, 207, 134;
  --bs-heading-color: inherit;
  --bs-body-font-family: "Mulish", "Segoe UI", system-ui, sans-serif;
  --bs-border-radius: 10px; --bs-border-radius-lg: 14px; --bs-border-radius-sm: 8px;
}
.btn { --bs-btn-border-radius: 10px; --bs-btn-font-weight: 600; }
.btn-primary { --bs-btn-color: #1b1206; --bs-btn-bg: #f6cf86; --bs-btn-border-color: #f6cf86;
  --bs-btn-hover-color: #1b1206; --bs-btn-hover-bg: #fff1cf; --bs-btn-hover-border-color: #fff1cf;
  --bs-btn-active-color: #1b1206; --bs-btn-active-bg: #e2a552; --bs-btn-active-border-color: #e2a552;
  --bs-btn-disabled-color: #1b1206; --bs-btn-disabled-bg: #9c8558; --bs-btn-disabled-border-color: #9c8558; }
.btn-secondary { --bs-btn-color: #fbf3e4; --bs-btn-bg: rgba(255, 244, 214, .08); --bs-btn-border-color: rgba(var(--sun-rgb), .45);
  --bs-btn-hover-color: #fff; --bs-btn-hover-bg: rgba(255, 244, 214, .16); --bs-btn-hover-border-color: #fff1cf; }
.form-control, .form-select { background-color: rgba(255, 244, 214, .05); border-color: rgba(var(--sun-rgb), .28); color: var(--ivory); }
.form-control:focus, .form-select:focus { background-color: rgba(255, 244, 214, .08); border-color: var(--sun); color: var(--ivory);
  box-shadow: 0 0 0 .2rem rgba(var(--sun-rgb), .2); }
.table { --bs-table-bg: transparent; --bs-table-border-color: rgba(var(--sun-rgb), .2); }

.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 100; padding: .7rem 1rem; border-radius: 10px; background: var(--sun); color: var(--ink); }
.skip-link:focus { top: 1rem; color: var(--ink); }

/* ───────── Kopf: Hauptmenü mit Untermenüs ───────── */
.site-head { flex-wrap: nowrap; }
.knav-list { display: flex; gap: clamp(.8rem, 2vw, 2.4rem); list-style: none; margin: 0; padding: 0; }
.knav li { position: relative; }
.knav li > a, .knav li > span { white-space: nowrap; cursor: pointer; }
.knav-list > li > span { color: var(--dim); font-size: .92rem; font-weight: 500; letter-spacing: .04em; padding: .4rem 0; display: inline-block; }
.knav-list > li.is-active > a, .knav-list > li.is-active > span { color: var(--ivory); background-size: 100% 1px; }
.knav .sub { position: absolute; left: -1rem; top: 100%; z-index: 40; min-width: 250px; list-style: none; margin: 0; padding: .6rem;
  border-radius: 16px 16px 8px 8px; background: rgba(8, 12, 32, .94); box-shadow: 0 0 0 1px var(--line-strong) inset, 0 30px 60px -20px #000;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .25s, transform .25s, visibility .25s; }
.knav li:hover > .sub, .knav li:focus-within > .sub, .knav li.is-open > .sub { opacity: 1; visibility: visible; transform: none; }
.knav .sub .sub { left: 100%; top: -.6rem; }
.knav .sub li > a, .knav .sub li > span { display: block; padding: .6rem .8rem; border-radius: 8px; background: none; white-space: normal; color: var(--dim); font-size: .92rem; }
.knav .sub a:hover, .knav .sub li.is-active > a { color: var(--ivory); background: rgba(var(--sun-rgb), .1); }
.knav .sub li.has-sub > a::after, .knav .sub li.has-sub > span::after { content: "›"; float: right; color: var(--faint); }
.head-tools { flex: none; }
.head-lang ul { display: flex; gap: .45rem; list-style: none; margin: 0; padding: 0; }
.head-lang img { height: 13px; width: auto; border-radius: 2px; opacity: .8; }
.head-lang li.lang-active img, .head-lang a:hover img { opacity: 1; }
.head-lang .mod-languages__pretext, .head-lang p { display: none; }
.head-search input { width: 9rem; padding: .5rem .8rem; font-size: .85rem; border-radius: 10px; }
.head-search label, .head-search button { display: none; }

/* ───────── Bühne und Seitenkopf: Überschriften sind hier bewusst keine h1 (die liefert der Inhalt) ───────── */
.hero-title { font-family: var(--serif); font-size: clamp(2.6rem, 5.4vw, 5.8rem); font-weight: 200; line-height: 1.1; letter-spacing: -.015em;
  margin: 1.3rem 0 1.4rem; text-shadow: 0 2px 40px rgba(4, 8, 24, .7); text-wrap: balance; }
.hero-title em, .page-title em { font-style: italic; color: var(--sun); }
.page-title { font-family: var(--serif); font-size: clamp(2.2rem, 4.4vw, 4.6rem); font-weight: 200; line-height: 1.1; margin-top: .9rem; max-width: 26ch;
  text-shadow: 0 2px 30px rgba(4, 8, 24, .8); text-wrap: balance; }
.crumbs ul, .crumbs ol { display: flex; flex-wrap: wrap; gap: .3rem .9rem; list-style: none; margin: 0; padding: 0; }
.crumbs .divider, .crumbs .breadcrumb-item::before { color: var(--line-strong); }
.orb h2 { font-size: clamp(1.7rem, 2.2vw, 2.4rem); font-weight: 200; margin-bottom: 1.4rem; }
.is-home #tore + .page, .is-home .hero + .page { margin-top: 0; }

/* ───────── Spalten ───────── */
.page--lcr { grid-template-columns: minmax(190px, 2.2fr) minmax(0, 7fr) minmax(250px, 2.8fr); }
.page--lc { grid-template-columns: minmax(190px, 2.2fr) minmax(0, 9.8fr); }
.page--cr { grid-template-columns: minmax(0, 9.2fr) minmax(250px, 2.8fr); }
.page--c { grid-template-columns: minmax(0, 1fr); }
.kcenter, .kleft, .kside { display: grid; gap: var(--gap); min-width: 0; align-content: start; }
.band-row { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--gap); margin-bottom: var(--gap); }
/* Seitenspalten laufen mit der Seite mit: kein Festkleben, keine eigene Bildlaufleiste */
.ksticky { position: static; max-height: none; overflow: visible; }

.subnav ul { list-style: none; margin: 0; padding: 0; }
.subnav .sub { padding-left: .9rem; margin: .1rem 0 .4rem; border-left: 1px dotted var(--line-strong); }
.subnav li > span { display: block; padding: .62rem .8rem; color: var(--faint); font-size: .95rem; }
.subnav li.is-active > a { color: var(--ivory); }

/* ───────── Module ───────── */
.mod > .klabel { display: block; margin-bottom: 1.1rem; }
.mod ul.mod-menu, .mod ul.nav, .foot-mod ul, .mod ul.mod-list { list-style: none; margin: 0; padding: 0; display: block; }
.mod ul.mod-menu li, .mod ul.mod-list li { padding: .55rem 0; border-top: 1px dotted var(--line-strong); }
.mod ul.mod-menu li:first-child, .mod ul.mod-list li:first-child { border-top: 0; }
.mod a { text-decoration: none; }
.mod img, .foot-mod img { max-width: 100%; height: auto; }
.foot-mod + .foot-mod { margin-top: 1.4rem; }
.foot-mod li { padding: .2rem 0; }
.foot-end { grid-column: 1 / -1; padding-top: 1.4rem; border-top: 1px dotted var(--line-strong); color: var(--faint); font-size: .84rem; }
.foot-end p { max-width: none; margin: 0; }

/* ───────── Lesetext ───────── */
.prose { min-width: 0; overflow-wrap: break-word; }
.prose :is(h1, h2, h3, h4, h5, h6) { font-family: var(--serif); letter-spacing: -.005em; text-wrap: balance; color: var(--ivory); }
.prose h1 { font-size: clamp(1.8rem, 2.6vw, 2.8rem); font-weight: 200; margin: 0 0 1.4rem; }
.prose h2 { font-size: clamp(1.45rem, 1.9vw, 1.9rem); font-weight: 300; margin: 2.4rem 0 1rem; padding-top: 0; border-top: 0; }
.prose h3 { font-size: 1.3rem; font-weight: 400; margin: 2rem 0 .8rem; }
.prose h4, .prose h5, .prose h6 { font-size: 1.1rem; font-weight: 500; margin: 1.6rem 0 .6rem; }
.prose > :first-child, .prose .page-header:first-child h1, .prose .page-header:first-child h2 { margin-top: 0; }
.prose p, .prose li, .prose dd, .prose td { color: var(--dim); }
.prose p { margin: 0 0 1.7em; }   /* deutlicher Abstand, damit Absätze als Absätze erkennbar sind */
.prose strong, .prose b { color: var(--ivory); font-weight: 700; }
.prose em, .prose i:not([class]) { font-family: inherit; }
.prose ul, .prose ol { padding-left: 1.3rem; margin: 0 0 1.2em; }
.prose li { margin-bottom: .35em; }
.prose li::marker { color: var(--sun); }
.prose img { max-width: 100%; height: auto; border-radius: 12px; }
.prose figure { margin: 1.6rem 0; }
.prose hr { border: 0; border-top: 1px dotted var(--line-strong); opacity: 1; margin: 2.2rem 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.4rem 0; font-size: .96rem; }
.prose th { text-align: left; font: 700 .72rem var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--sun); }
.prose th, .prose td { padding: .7rem .8rem; border-bottom: 1px dotted var(--line-strong); vertical-align: top; }
.prose blockquote { font-style: normal; }
.prose blockquote p { color: inherit; margin: 0; }
.prose iframe, .prose video { max-width: 100%; border-radius: 12px; }
.component-only { padding: clamp(1rem, 3vw, 2rem); }

/* ───────── Textspalten ─────────
   Wie bisher auf der Seite: Inhalte in .my-columns laufen in Spalten. Artikel ohne diese Klasse bekommen
   die Spalten automatisch, damit lange Texte die Breite nutzen. Je breiter der Platz, desto mehr Spalten. */
.my-columns, .com-content-article__body:not(:has(.my-columns)), .blog-item .item-content:not(:has(.my-columns)) {
  column-width: 26rem; column-gap: clamp(2rem, 3vw, 3.6rem); column-rule: 1px dotted var(--line-strong); orphans: 3; widows: 3; }
:is(.my-columns, .com-content-article__body) :is(h1, h2, h3, h4, h5, h6) { break-after: avoid; break-inside: avoid; }
:is(.my-columns, .com-content-article__body) :is(img, figure, table, blockquote, li, audio, video, iframe) { break-inside: avoid; }
:is(.my-columns, .com-content-article__body) > :first-child { margin-top: 0; }
.my-columns .my-columns { column-width: auto; column-count: 1; }
/* Beitragslisten (Aktuell, Kategorien): der Text läuft in Spalten, alles andere steht über die volle Breite */
.blog-item .item-content > :not(p):not(div:not([class])) { column-span: all; }
.blog-items, .com-content-category-blog__items { display: block; }
:is(.my-columns, .com-content-article__body, .item-content) p { max-width: none; }

/* Joomla-Bausteine */
.prose .page-header { margin-bottom: 1.2rem; }
.prose .article-info, .prose dl.article-info { display: flex; flex-wrap: wrap; gap: .3rem 1.4rem; margin: 1.2rem 0 1.6rem; max-width: none;
  font-size: .76rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
.prose .article-info dd, .prose .article-info dt { margin: 0; color: inherit; }
.prose .article-info-term { display: none; }
.prose .blog-item, .prose .items-row .item, .prose .com-content-category-blog__item { padding: 1.6rem 0; border-top: 1px dotted var(--line-strong); }
.prose .blog-items > :first-child, .prose .com-content-category-blog__items > :first-child { border-top: 0; padding-top: 0; }
.prose .readmore a, .prose a.readmore, .prose p.readmore a { display: inline-block; margin-top: .4rem; padding: .7rem 1.1rem; border-radius: 10px; text-decoration: none;
  font: 700 .72rem var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--ivory); box-shadow: 0 0 0 1px var(--line-strong) inset; }
.prose .readmore a:hover, .prose a.readmore:hover { box-shadow: 0 0 0 1px var(--sun-hi) inset, 0 0 30px rgba(255, 214, 140, .3); }
.pagination { --bs-pagination-bg: transparent; --bs-pagination-border-color: rgba(var(--sun-rgb), .25); --bs-pagination-color: var(--ivory);
  --bs-pagination-hover-bg: rgba(var(--sun-rgb), .12); --bs-pagination-hover-color: #fff; --bs-pagination-hover-border-color: var(--sun);
  --bs-pagination-active-bg: #f6cf86; --bs-pagination-active-border-color: #f6cf86; --bs-pagination-active-color: #1b1206;
  --bs-pagination-disabled-bg: transparent; --bs-pagination-disabled-border-color: rgba(var(--sun-rgb), .12); --bs-pagination-disabled-color: var(--faint);
  flex-wrap: wrap; max-width: none; }
.prose .pagination, .prose ul.pagination { padding-left: 0; }
.pagenavigation, .pager { max-width: none; }
#system-message-container { position: relative; z-index: 2; }
joomla-alert { border-radius: 14px; }

/* ───────── Schmal ───────── */
@media (max-width: 1100px) {
  .page--lcr { grid-template-columns: minmax(0, 1fr) minmax(240px, 300px); }
  .page--lcr > .kleft, .page--lc > .kleft { grid-column: 1 / -1; }
  .page--lc { grid-template-columns: minmax(0, 1fr); }
  .ksticky { position: static; max-height: none; }
}
@media (max-width: 900px) {
  .page--lcr, .page--cr { grid-template-columns: minmax(0, 1fr); }
  .knav-list { flex-direction: column; gap: 0; }
  .knav .sub, .knav .sub .sub { position: static; opacity: 1; visibility: visible; transform: none; min-width: 0; padding: 0 0 .4rem .9rem;
    background: none; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; border-radius: 0; }
  .knav.is-open { max-height: 80vh; overflow: auto; z-index: 50; }
  .head-search, .head-lang { display: none; }
}

/* ───────── Rahmenlos: keine Flächen mit runden Ecken mehr ─────────
   Inhalte stehen direkt auf dem Hintergrund; getrennt wird mit Punktlinien. */
.glass { background: none; box-shadow: none; border-radius: 0; backdrop-filter: none; -webkit-backdrop-filter: none; }
.glass::before, .orb::after { display: none; }
.kcol, .prose, .subnav { padding: 0; }
.mod + .mod { padding-top: var(--gap); border-top: 1px dotted var(--line-strong); }
.subnav .klabel { margin: 0 0 1rem .8rem; }
.subnav a, .knav .sub, .knav .sub a, .knav .sub span { border-radius: 2px; }
.prose blockquote { border-radius: 0; }

/* Startseite: Sektionen über die ganze Breite, eine unter der anderen */
.is-home #tore { padding-bottom: clamp(2rem, 4vw, 3.5rem); }
.is-home .orbs { gap: 0; }
.is-home .orb { border-radius: 0; padding: 1.6rem clamp(1.2rem, 2.4vw, 2.6rem) 1.8rem; border-left: 1px dotted var(--line-strong); overflow: visible; }
.is-home .orb:first-child { border-left: 0; padding-left: 0; }
.is-home .orb:hover { transform: none; box-shadow: none; }
.is-home .orb h2 { transition: color .3s; }
.is-home .orb:hover h2 { color: var(--tone, var(--sun)); }
.is-home .band-row, .is-home .page { display: block; margin: 0; padding-block: clamp(2.5rem, 5vw, 4.5rem); border-top: 1px dotted var(--line-strong); }
.is-home .band-row .mod + .mod { margin-top: clamp(2.5rem, 5vw, 4.5rem); padding-top: clamp(2.5rem, 5vw, 4.5rem); }
.is-home .kside { position: static; max-height: none; overflow: visible; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(2rem, 4vw, 4rem);
  margin-top: clamp(2.5rem, 5vw, 4.5rem); padding-top: clamp(2.5rem, 5vw, 4.5rem); border-top: 1px dotted var(--line-strong); }
.is-home .kside .mod + .mod { padding-top: 0; border-top: 0; }

/* ───────── Übernommen aus dem bisherigen Template (custom.scss), damit vorhandene Inhalte stimmen ───────── */
.speaker { display: inline-block; margin-right: .4rem; padding: .1rem .6rem; border-radius: 4px; background: var(--sun); color: var(--ink); font-weight: 700; }
.eb-events-timeline { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 460px), 1fr)); gap: var(--gap); }
.eb-event-container { display: flex; flex-direction: column; }
.eb-taskbar { margin-top: auto; }
.eb-container * { border: 0; }
.gallerie, .gallery { margin: 1rem 0; }
.field-label { text-transform: uppercase; }
.fields-container { list-style: none; margin: 0; padding: 0; }
.legal-menu a { display: block; text-decoration: none; }
audio { max-width: 100%; }

/* ───────── Dank und Segenswunsch: stehen unten, direkt über dem Seitenfuß ───────── */
.pre-foot { position: relative; z-index: 2; text-align: center; padding-block: clamp(2.5rem, 5vw, 4.5rem); border-top: 1px dotted var(--line-strong); }
.pre-foot .mod { max-width: 70rem; margin-inline: auto; }
.pre-foot .mod + .mod { margin-top: var(--gap); }
.pre-foot p { color: var(--dim); }

/* ───────── Module in den Seitenspalten: Listen ohne Kästen ───────── */
.mod .list-group { --bs-list-group-bg: transparent; --bs-list-group-border-color: transparent; --bs-list-group-border-radius: 0; }
.mod .list-group-item { padding: .6rem 0; border: 0; border-top: 1px dotted var(--line-strong); border-radius: 0; background: none; }
.mod .list-group-item:first-child { border-top: 0; }
.mod .badge { background: rgba(var(--sun-rgb), .16) !important; color: var(--ivory); font-weight: 600; border-radius: 4px; }
select option { background: #0a1026; color: var(--ivory); }

/* ───────── Event Booking: an das dunkle, rahmenlose Thema angepasst ───────── */
.eb-container { text-align: start; }
.eb-search-bar-container { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; margin: 0 0 var(--gap); padding: 0 0 var(--gap); background: none;
  border-bottom: 1px dotted var(--line-strong); }
.eb-search-bar-container > div { float: none; display: flex; flex-wrap: wrap; gap: .6rem; }
.eb-container .eb-search-bar-container :is(input[type="text"], select) { width: auto !important; min-width: 12rem; flex: 1 1 12rem; }
.eb-event-container { background-image: none; padding-left: 0; display: block; padding-bottom: var(--gap); }
.eb-event-date-container { float: left; margin: 0 1.2rem .6rem 0; padding: 0; background: none; border: 0; }
.eb-event-date { height: 74px; width: 74px; padding: 8px 4px; box-shadow: 0 0 26px rgba(255, 206, 130, .4); }
.eb-event-date-day, .eb-event-date-month, .eb-event-date-year, .eb-event-price-container .eb-individual-price { color: var(--ink); }
.eb-event-title-container { margin: 0 0 1rem; padding-top: .6rem; }
.prose .eb-event-title-container a { text-decoration: none; color: var(--ivory); }
.prose .eb-event-title-container a:hover { color: var(--sun); }
.eb-event-information { clear: both; align-items: center; color: var(--ivory); }
.eb-event-information .fa { width: 1.4em; color: var(--sun); }
.eb-event-price-container { border-radius: 4px; }
#eb-categories .eb-description, #eb-event-page .eb-description, #eb-events .eb-description, .eb-description-details { background: none; border: 0; border-radius: 0; padding: 0; }
.eb-description-details { margin-top: 1rem; }
.eb-events-timeline .eb-taskbar { padding: 1rem 0 var(--gap); border-bottom: 1px dotted var(--line-strong); }
/* nur die Knopfreihe selbst, NICHT das Aufklappmenü „Speichern nach“ darin (sonst stünde es dauerhaft offen) */
.eb-taskbar > ul { display: flex; flex-wrap: wrap; gap: .6rem; margin: 0; padding: 0; }
.eb-taskbar > ul > li { margin: 0; padding: 0; }
.eb-taskbar > ul > li::marker { content: none; }

/* Einzelner Termin */
.eb-box-heading { background: none; border: 0; border-radius: 0; color: inherit; padding: 0 0 .6rem; }
.eb-box-heading #pop-print { float: right; }
#eb-event-page .sharing { margin-bottom: var(--gap); }
/* Beschreibung läuft in Spalten wie die Beiträge */
#eb-event-page .eb-description-details { column-width: 26rem; column-gap: clamp(2rem, 3vw, 3.6rem); column-rule: 1px dotted var(--line-strong); margin: 0 0 var(--gap); }
#eb-event-page .eb-description-details :is(h1, h2, h3, h4) { break-after: avoid; break-inside: avoid; }
#eb-event-page .eb-description-details :is(img, table, li, iframe) { break-inside: avoid; }
#eb-event-page .eb-description-details > :first-child, #eb-event-page .eb-description-details > :first-child > :first-child { margin-top: 0; }
#eb-event-info { margin-top: var(--gap); }
.eb-container .table { --bs-table-striped-bg: rgba(255, 244, 214, .04); --bs-table-color: var(--dim); --bs-table-striped-color: var(--dim); }
.eb-container .table-bordered > :not(caption) > * { border-width: 0; }
.eb-container .table-bordered > :not(caption) > * > * { border-width: 0 0 1px; border-style: dotted; border-color: var(--line-strong); }
.eb-event-property-label { color: var(--ivory); font-weight: 600; width: 16rem; }
#eb-event-page .eb-taskbar { padding: var(--gap) 0; }
.eb-social-sharing-buttons { margin-top: 1rem; }

/* ───────── Weniger waagerechte Linien ─────────
   Geblieben ist nur die Linie über dem Seitenfuß; Abstände trennen den Rest. */
.pre-foot { border-top: 0; }
.pre-foot .mod + .mod { border-top: 0; padding-top: 0; }
.eb-events-timeline .eb-taskbar, #eb-event-page .eb-taskbar { border-bottom: 0; }
.eb-search-bar-container { border-bottom: 0; padding-bottom: 0; }
.is-home .band-row, .is-home .page, .is-home .kside { border-top: 0; }
.prose .blog-item, .prose .items-row .item, .prose .com-content-category-blog__item { border-top: 0; }
.prose h2 { border-top: 0; }

/* ───────── Tabellen, Filter und Karten aus Komponenten ───────── */
/* (Die Spalten des Seitenrasters heißen .kleft/.kcenter, weil Erweiterungen .center und .left für Tabellenzellen verwenden.) */
.element-invisible, .visually-hidden-focusable:not(:focus) { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.prose :is(input:not([type="checkbox"], [type="radio"], [type="submit"], [type="button"], [type="hidden"], [type="range"], [type="file"], [type="image"]), select, textarea):not(.form-control, .form-select) {
  padding: .5rem .8rem; border-radius: 10px; border: 1px solid rgba(var(--sun-rgb), .28); background: rgba(255, 244, 214, .05); color: var(--ivory); font: inherit; }
.prose .btn-toolbar { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; margin-bottom: var(--gap); }
.prose .pull-left { float: none; }
.prose .table > :not(caption) > * > * { background: none; box-shadow: none; color: var(--dim); border-width: 0 0 1px; border-style: dotted; border-color: var(--line-strong); }
.prose .table > thead > tr > * { color: var(--sun); border-bottom-style: solid; border-color: var(--line-strong); }
.prose .table th a { color: inherit; text-decoration: none; }
.prose .table-hover > tbody > tr:hover > * { background: rgba(var(--sun-rgb), .06); color: var(--ivory); }
.prose .table .btn { margin-top: .5rem; }

/* Helle Bootstrap-Flächen gibt es im dunklen Thema nicht */
.bg-light, .bg-white { background-color: transparent !important; }
.text-dark { color: var(--ivory) !important; }
.text-muted { color: var(--faint) !important; }
.prose .rounded, .prose .shadow-sm, .prose .shadow { border-radius: 0 !important; box-shadow: none !important; }
.btn-outline-secondary { --bs-btn-color: var(--ivory); --bs-btn-border-color: rgba(var(--sun-rgb), .45); --bs-btn-hover-bg: rgba(255, 244, 214, .12); --bs-btn-hover-color: #fff; --bs-btn-hover-border-color: var(--sun-hi); }

/* Karten (z. B. Downloads von Veranstaltungen): flächig getönt, ohne Rahmen und ohne runde Ecken */
.card { --bs-card-bg: rgba(255, 244, 214, .035); --bs-card-border-width: 0; --bs-card-border-radius: 0; --bs-card-inner-border-radius: 0; --bs-card-cap-bg: transparent; --bs-card-color: var(--ivory);
  transition: background-color .3s; }
a:hover > .card, .card:hover { background-color: rgba(var(--sun-rgb), .09); }
.prose .card-title { margin-top: 0; }
.keysha-filter { padding: 0 !important; }
.keysha-year-heading, .keysha-cat-heading { border: 0 !important; }
.keysha-cat-heading { color: var(--sun); }

/* ───────── Auswahlfelder mit Suche (Chosen) im dunklen Thema ───────── */
.chosen-container { font-size: .95rem; color: var(--ivory); }
.chosen-container-single .chosen-single, .chosen-container-active.chosen-with-drop .chosen-single, .chosen-container-multi .chosen-choices {
  height: auto; padding: .5rem .8rem; line-height: 1.5; border: 1px solid rgba(var(--sun-rgb), .28); border-radius: 10px;
  background: rgba(255, 244, 214, .05); background-image: none; box-shadow: none; color: var(--ivory); }
.chosen-container-active .chosen-single { border-color: var(--sun); }
.chosen-container-single .chosen-single span { color: inherit; }
.chosen-container-single .chosen-single div b { filter: invert(1) brightness(1.6); }
.chosen-container .chosen-drop { margin-top: 4px; border: 1px solid rgba(var(--sun-rgb), .4); border-radius: 10px; background: #0a1026; box-shadow: 0 30px 60px -20px #000; overflow: hidden; }
.chosen-container-single .chosen-search { padding: .5rem; }
.chosen-container-single .chosen-search input[type="text"] { padding: .45rem .7rem; border: 1px solid rgba(var(--sun-rgb), .28); border-radius: 8px;
  background: rgba(255, 244, 214, .06) !important; color: var(--ivory); }
.chosen-container .chosen-results { margin: 0; padding: 0 .3rem .3rem; color: var(--dim); scrollbar-width: thin; scrollbar-color: rgba(var(--sun-rgb), .4) transparent; }
.chosen-container .chosen-results li { padding: .5rem .6rem; border-radius: 6px; line-height: 1.35; color: var(--dim); }
.chosen-container .chosen-results li.highlighted { background: rgba(var(--sun-rgb), .16); background-image: none; color: var(--ivory); }
.chosen-container .chosen-results li.result-selected { color: var(--sun); }
.chosen-container .chosen-results li.no-results { background: none; color: var(--faint); }
.chosen-container-multi .chosen-choices li.search-choice { border: 0; border-radius: 6px; background: rgba(var(--sun-rgb), .16); background-image: none; box-shadow: none; color: var(--ivory); }
.chosen-container-multi .chosen-choices li.search-field input[type="text"] { color: var(--ivory); }

/* ───────── Sprachwahl: die aktive Sprache ohne weißen Kasten ───────── */
div.mod-languages ul li.lang-active, .mod-languages .lang-active { background: none !important; }
.head-lang li.lang-active img { opacity: 1; outline: 1px solid var(--sun); outline-offset: 3px; border-radius: 2px; }
.head-lang li:not(.lang-active) img { opacity: .6; }
.head-lang li:not(.lang-active) a:hover img { opacity: 1; }

/* ───────── Video-Raster (Modul „Videos“): füllt die ganze Breite, passt sich der Bildschirmbreite an ─────────
   Das Modul bringt ein eigenes Raster mit höchstens 600 px breiten Feldern mit; das wird hier überschrieben. */
.mod-custom > div:has(> div > div > iframe) { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: var(--gap) !important; }
/* Das Seitenverhältnis (41,84 %) kommt aus dem Modul selbst: Es blendet die schwarzen Balken der Videos aus. Nicht überschreiben. */
@media (max-width: 1100px) { .mod-custom > div:has(> div > div > iframe) { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
@media (max-width: 640px) { .mod-custom > div:has(> div > div > iframe) { grid-template-columns: minmax(0, 1fr) !important; } }

/* ───────── Kopfleiste: runde Flaggen, Käfer- und Palettenknopf ───────── */
.head-lang ul { gap: .55rem; align-items: center; }
.head-lang img { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; display: block; }
.head-lang li.lang-active img { border-radius: 50%; outline-offset: 2px; }
.kicon { display: inline-grid; place-items: center; width: 2.4rem; height: 2.4rem; padding: 0; border: 0; border-radius: 50%; cursor: pointer; color: var(--dim);
  background: rgba(255, 244, 214, .05); box-shadow: 0 0 0 1px var(--line-strong) inset; transition: color .3s, box-shadow .3s; }
.kicon:hover { color: var(--sun-hi); box-shadow: 0 0 0 1px var(--sun-hi) inset, 0 0 24px rgba(255, 214, 140, .35); }
.kicon svg { width: 1.25rem; height: 1.25rem; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* Fenster für Darstellung und Fehlermeldung */
.kdialog { width: min(92vw, 30rem); padding: clamp(1.4rem, 3vw, 2.2rem); border: 1px solid var(--line-strong); border-radius: 0; background: #0a1026; color: var(--ivory);
  box-shadow: 0 40px 120px -20px #000; }
.kdialog::backdrop { background: rgba(3, 5, 16, .7); backdrop-filter: blur(4px); }
.kdialog h2 { font-size: 1.6rem; font-weight: 200; margin-bottom: 1.2rem; }
.kdialog p { color: var(--dim); margin-bottom: 1rem; }
.kdialog fieldset { border: 0; margin: 0 0 1.3rem; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; }
.kdialog legend { float: none; width: 100%; margin-bottom: .6rem; font: 700 .7rem var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--sun); }
.kdialog label { display: inline-flex; align-items: center; gap: .5rem; cursor: pointer; color: var(--dim); }
.kdialog label:has(input:checked) { color: var(--ivory); }
.kdialog input[type="radio"] { accent-color: var(--sun); }
.kdialog .swatch { width: 1rem; height: 1rem; border-radius: 50%; background: var(--c); }
.kdialog textarea { width: 100%; padding: .8rem; border: 1px solid rgba(var(--sun-rgb), .28); border-radius: 10px; background: rgba(255, 244, 214, .05); color: var(--ivory); font: inherit; }
.kdialog-foot { display: flex; justify-content: flex-end; gap: .7rem; margin-top: 1.4rem; }
.kdialog .kbtn { padding: .8rem 1.3rem; }

/* ───────── Wirkung der Einstellungen ───────── */
[data-accent="teal"]   { --sun: #8ff0dc; --sun-hi: #d4fff5; --line: rgba(143, 240, 220, .2); --line-strong: rgba(143, 240, 220, .5); --bs-link-color: #8ff0dc; --bs-link-color-rgb: 143, 240, 220; --bs-link-hover-color: #d4fff5; }
[data-accent="violet"] { --sun: #cdb4ff; --sun-hi: #ece2ff; --line: rgba(205, 180, 255, .2); --line-strong: rgba(205, 180, 255, .5); --bs-link-color: #cdb4ff; --bs-link-color-rgb: 205, 180, 255; --bs-link-hover-color: #ece2ff; }
[data-accent="rose"]   { --sun: #ffb9b0; --sun-hi: #ffe3df; --line: rgba(255, 185, 176, .2); --line-strong: rgba(255, 185, 176, .5); --bs-link-color: #ffb9b0; --bs-link-color-rgb: 255, 185, 176; --bs-link-hover-color: #ffe3df; }
html[data-size="large"] { font-size: 112.5%; }
html[data-size="xlarge"] { font-size: 125%; }
[data-bokeh="off"] #bokeh { display: none; }
[data-motion="off"] :is(.clouds, .rays, .prism) { animation: none !important; }
[data-motion="off"] .prism { opacity: .3; }
@media (max-width: 900px) { .kicon { width: 2.1rem; height: 2.1rem; } }

/* ───────── Sprachwahl als Aufklappliste ───────── */
.klang { position: relative; }
.klang-btn { display: inline-flex; align-items: center; gap: .55rem; height: 2.4rem; padding: 0 .9rem 0 .5rem; border: 0; border-radius: 999px; cursor: pointer;
  background: rgba(255, 244, 214, .05); box-shadow: 0 0 0 1px var(--line-strong) inset; color: var(--ivory); font: 500 .9rem var(--sans); transition: box-shadow .3s; }
.klang-btn:hover, .klang.is-open .klang-btn { box-shadow: 0 0 0 1px var(--sun-hi) inset, 0 0 24px rgba(255, 214, 140, .3); }
.klang-btn svg { width: .7rem; height: .5rem; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s; }
.klang.is-open .klang-btn svg { transform: rotate(180deg); }
.head-lang .klang-flag, .klang-flag { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; display: block; flex: none; opacity: 1; outline: 0; }
.klang-code { display: inline-grid; place-items: center; font-size: .6rem; font-weight: 700; background: rgba(var(--sun-rgb), .2); }
.head-lang .klang-list { position: absolute; right: 0; top: calc(100% + 6px); z-index: 60; display: block; min-width: 12.5rem; list-style: none; margin: 0; padding: .4rem;
  border-radius: 2px; background: rgba(8, 12, 32, .96); box-shadow: 0 0 0 1px var(--line-strong) inset, 0 30px 60px -20px #000;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .25s, transform .25s, visibility .25s; }
.klang.is-open .klang-list { opacity: 1; visibility: visible; transform: none; }
.klang-list a { display: flex; align-items: center; gap: .7rem; padding: .55rem .7rem; border-radius: 2px; color: var(--dim); text-decoration: none; font-size: .95rem; }
.klang-list a:hover, .klang-list li.is-active a { color: var(--ivory); background: rgba(var(--sun-rgb), .1); }
.klang-list li.is-active a { box-shadow: 2px 0 0 var(--sun) inset; }

/* ───────── Kopfleiste passt sich der Breite an ─────────
   Erst rückt alles enger zusammen; reicht auch das nicht (ui.js setzt dann .is-compact), wird das Hauptmenü zum Aufklappmenü. */
.site-head { gap: clamp(.8rem, 1.6vw, 2rem); }
.knav { min-width: 0; }
.knav-list { gap: clamp(.7rem, 1.5vw, 2.2rem); }
.knav-list > li > a, .knav-list > li > span { font-size: clamp(.82rem, .9vw, .92rem); }
.head-tools { gap: .5rem; }
.site-head.is-compact { position: absolute; }
.site-head.is-compact .knav { display: none; position: absolute; inset: 100% var(--edge) auto; z-index: 50; max-height: 80vh; overflow: auto; margin: 0; padding: 1rem 1.4rem;
  background: rgba(6, 11, 30, .96); box-shadow: 0 0 0 1px var(--line-strong) inset; border-radius: 2px; }
.site-head.is-compact .knav.is-open { display: block; }
.site-head.is-compact .knav-list { flex-direction: column; gap: 0; }
.site-head.is-compact .knav-list > li > a, .site-head.is-compact .knav-list > li > span { display: block; padding: .7rem 0; font-size: 1rem; white-space: normal; }
.site-head.is-compact .knav .sub, .site-head.is-compact .knav .sub .sub { position: static; opacity: 1; visibility: visible; transform: none; min-width: 0; padding: 0 0 .4rem .9rem;
  background: none; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.site-head.is-compact .head-tools { margin-left: auto; }
.site-head.is-compact .knav-toggle { display: inline-flex; }
@media (max-width: 640px) {
  .klang-btn span, .head-search { display: none; }
  .klang-btn { padding: 0 .6rem 0 .5rem; }
  .brand span { letter-spacing: .2em; font-size: 1.05rem; }
}
@media (max-width: 900px) { .head-lang { display: block; } }

/* Untermenüs am rechten Rand klappen nach links auf (ui.js setzt .flip) */
.knav li.flip > .sub { left: auto; right: -1rem; }
.knav .sub li.flip > .sub { left: auto; right: 100%; }

/* ───────── Bücher als drehbare 3D-Taschenbücher (js/books.js) ─────────
   Im Inhalt steht nur <div class="kbooks"><div class="kbooks-shelf"><a class="kbook"><img></a>…</div><div class="kbooks-text">…</div></div> */
.kbooks { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(2rem, 6vw, 7rem); align-items: center; }
.kbooks-shelf { display: flex; align-items: flex-end; gap: clamp(1.2rem, 3.5vw, 4rem); padding: clamp(1rem, 2vw, 2rem) clamp(.5rem, 2vw, 2.5rem) clamp(2rem, 3vw, 3rem); }
.kbook { --bw: clamp(120px, 12.5vw, 230px); --bh: calc(var(--bw) * 1.5); --bd: calc(var(--bw) * .12); --tone: #2c2118;
  position: relative; display: block; flex: none; width: var(--bw); height: var(--bh); perspective: 1400px; cursor: grab;
  touch-action: pan-y; user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent; }
.kbook.is-grabbed { cursor: grabbing; }
.kbook > img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 0; }
.kbook.is-3d > img { position: absolute; opacity: 0; pointer-events: none; }
.kbook-3d { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateX(-5deg) rotateY(-30deg); will-change: transform; }
.kbook-face { position: absolute; display: block; backface-visibility: hidden; -webkit-backface-visibility: hidden; overflow: hidden; }
.kbook-front { inset: 0; transform: translateZ(calc(var(--bd) / 2)); background: var(--tone) var(--cover) center / cover no-repeat; }
.kbook-front::after { content: ""; position: absolute; inset: 0;   /* Falz am Rücken und leichter Glanz */
  background: linear-gradient(90deg, rgba(0, 0, 0, .38) 0, rgba(255, 255, 255, .14) 2.4%, rgba(0, 0, 0, .12) 4.2%, transparent 7%),
              linear-gradient(105deg, rgba(255, 255, 255, .2) 0%, transparent 32%, transparent 68%, rgba(0, 0, 0, .22) 100%); }
.kbook-back { inset: 0; transform: rotateY(180deg) translateZ(calc(var(--bd) / 2)); background: var(--tone); display: grid; place-items: center; }
.kbook-back::before { content: ""; position: absolute; inset: 0; background: var(--cover) center / cover no-repeat; transform: scaleX(-1); filter: brightness(.42) saturate(.85) blur(2px); }
.kbook-back::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent 93%, rgba(0, 0, 0, .12) 95.8%, rgba(255, 255, 255, .12) 97.6%, rgba(0, 0, 0, .35) 100%); }
.kbook-back-title { position: relative; z-index: 1; padding: 0 12%; text-align: center; font: italic 400 calc(var(--bw) * .085)/1.35 Georgia, "Times New Roman", serif; color: rgba(255, 244, 220, .92);
  text-shadow: 0 1px 6px rgba(0, 0, 0, .7); }
.kbook-spine { width: var(--bd); height: 100%; left: calc(var(--bd) / -2); top: 0; transform: rotateY(-90deg);
  background: linear-gradient(90deg, rgba(0, 0, 0, .45), rgba(255, 255, 255, .1) 45%, rgba(0, 0, 0, .3)), var(--tone) var(--cover) left center / auto 100% no-repeat;
  display: grid; place-items: center; }
.kbook-spine-text { writing-mode: vertical-rl; transform: rotate(180deg); max-height: 92%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
  font: italic 400 calc(var(--bd) * .46)/1 Georgia, "Times New Roman", serif; letter-spacing: .03em; color: rgba(255, 244, 220, .95); text-shadow: 0 1px 3px rgba(0, 0, 0, .8); }
.kbook-pages { width: calc(var(--bd) - 2px); height: calc(100% - 4px); left: calc(100% - var(--bd) / 2 + 1px); top: 2px; transform: rotateY(90deg);
  background: repeating-linear-gradient(90deg, #efe7d3 0 1px, #d6cab0 1px 2px); }
.kbook-top, .kbook-bottom { width: calc(100% - 3px); height: calc(var(--bd) - 2px); left: 1px;
  background: repeating-linear-gradient(0deg, #e9e0ca 0 1px, #cfc2a6 1px 2px); }
.kbook-top { top: calc(var(--bd) / -2 + 1px); transform: rotateX(90deg); }
.kbook-bottom { top: calc(100% - var(--bd) / 2 + 1px); transform: rotateX(-90deg); filter: brightness(.6); }
.kbook-shadow { position: absolute; left: -12%; right: -12%; bottom: calc(var(--bh) * -.075); height: calc(var(--bh) * .09); border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(0, 0, 0, .6), transparent); filter: blur(6px); }
.kbook:focus-visible { outline: 1px solid var(--sun-hi); outline-offset: 12px; }
.kbooks-text h3 { font-size: clamp(1.6rem, 2.6vw, 2.8rem); font-weight: 200; margin: 0 0 1rem; }
.kbooks-text p { color: var(--dim); font-size: 1.1rem; max-width: 46ch; }
.kbooks-text .kbtn { margin-top: 1rem; }
.kbooks-hint { font: 700 .68rem var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--faint); margin-top: 1.6rem; }
@media (max-width: 900px) {
  .kbooks { grid-template-columns: minmax(0, 1fr); }
  .kbooks-shelf { justify-content: center; }
  .kbook { --bw: clamp(84px, 24vw, 170px); }
}

/* Goldstaub um die Bücher (js/books.js legt die Leinwand an) */
.kbooks-shelf { position: relative; }
.kbooks-dust { position: absolute; left: -8%; top: -18%; width: 116%; height: 136%; pointer-events: none; z-index: 3; mix-blend-mode: screen; }
/* warmer Goldschein hinter den Büchern */
.kbooks-shelf::before { content: ""; position: absolute; inset: -10% -4% -4%; z-index: -1; pointer-events: none;
  background: radial-gradient(60% 55% at 50% 62%, rgba(255, 206, 120, .22), rgba(255, 180, 90, .08) 55%, transparent 75%); }

/* ───────── Tore der Startseite mit nächstem Termin ───────── */
.is-home .orb { align-items: flex-start; text-align: left; }
.orb h2 a { color: inherit; text-decoration: none; }
.orb h2 a:hover { color: var(--tone, var(--sun)); }
.orb-next { margin-bottom: 1.4rem; }
.orb-next .klabel { display: block; margin-bottom: .7rem; color: var(--tone, var(--sun)); line-height: 1.5; }
.orb-next h3 { font-size: clamp(1.15rem, 1.4vw, 1.45rem); font-weight: 400; margin: 0 0 .5rem; }
.orb-next h3 a { color: var(--ivory); text-decoration: none; }
.orb-next h3 a:hover { color: var(--tone, var(--sun)); }
.orb-desc { color: var(--dim); font-size: .95rem; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; line-clamp: 4; overflow: hidden; }
.orb-desc p { margin: 0 0 .4em; color: inherit; }
.orb-more { margin-top: auto; text-decoration: none; }
a.orb-more:hover { color: var(--sun-hi); }

/* Goldschein hinter den Büchern: läuft weich aus, ohne Kante */
.kbooks-shelf::before { inset: -45% -25%; background: radial-gradient(closest-side, rgba(255, 206, 120, .2), rgba(255, 180, 90, .07) 55%, transparent 100%); }
.kbooks-dust { -webkit-mask-image: radial-gradient(closest-side, #000 72%, transparent 100%); mask-image: radial-gradient(closest-side, #000 72%, transparent 100%); }
.mod:has(.kbooks), .band-row:has(.kbooks) { overflow: visible; }

.orb-sub { font: italic 300 clamp(1.05rem, 1.3vw, 1.3rem)/1.45 var(--serif); color: var(--dim); margin: -.6rem 0 1.4rem; }

/* ───────── Regenbogenstrahlen von oben durch die Wolken, über die ganze Seite bis zum Fuß ─────────
   Die Lichtquelle liegt über dem oberen Seitenrand (--ox/--oy setzt ui.js, sie scrollt mit der Seite).
   Jeder Strahl ist gebrochenes Licht: sieben Farbbänder nebeneinander. Zwei Fächer wiegen langsam gegeneinander. */
@property --kray-a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@property --kray-b { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.krays { position: fixed; inset: 0; z-index: 1; pointer-events: none; mix-blend-mode: screen; --ox: 58%; --oy: -900px; --r0: 900px;
  /* erst unterhalb der Wolken sichtbar, dann bis ganz unten nur langsam schwächer */
  -webkit-mask-image: radial-gradient(circle at var(--ox) var(--oy), transparent var(--r0), #000 calc(var(--r0) + 34vh), rgba(0, 0, 0, .62) calc(var(--r0) + 260vh), rgba(0, 0, 0, .45) calc(var(--r0) + 900vh));
  mask-image: radial-gradient(circle at var(--ox) var(--oy), transparent var(--r0), #000 calc(var(--r0) + 34vh), rgba(0, 0, 0, .62) calc(var(--r0) + 260vh), rgba(0, 0, 0, .45) calc(var(--r0) + 900vh)); }
.krays::before, .krays::after { content: ""; position: absolute; inset: 0; }
.krays::before { animation: kray-a 46s ease-in-out infinite alternate;
  background: conic-gradient(from var(--kray-a) at var(--ox) var(--oy),
    transparent 0deg,
    transparent 167.75deg, rgba(255,96,110, 0.066) 169.31deg, rgba(255,166,84, 0.066) 169.87deg, rgba(255,234,120, 0.066) 170.44deg, rgba(120,238,166, 0.066) 171.00deg, rgba(104,196,255, 0.066) 171.56deg, rgba(138,122,255, 0.066) 172.13deg, rgba(214,130,255, 0.066) 172.69deg, transparent 174.25deg,
    transparent 183.00deg, rgba(255,96,110, 0.072) 184.92deg, rgba(255,166,84, 0.072) 185.61deg, rgba(255,234,120, 0.072) 186.31deg, rgba(120,238,166, 0.072) 187.00deg, rgba(104,196,255, 0.072) 187.69deg, rgba(138,122,255, 0.072) 188.39deg, rgba(214,130,255, 0.072) 189.08deg, transparent 191.00deg,
    transparent 360deg); }
.krays::after { animation: kray-b 63s ease-in-out infinite alternate;
  background: conic-gradient(from var(--kray-b) at var(--ox) var(--oy),
    transparent 0deg,
    transparent 175.70deg, rgba(255,96,110, 0.060) 177.04deg, rgba(255,166,84, 0.060) 177.53deg, rgba(255,234,120, 0.060) 178.01deg, rgba(120,238,166, 0.060) 178.50deg, rgba(104,196,255, 0.060) 178.99deg, rgba(138,122,255, 0.060) 179.47deg, rgba(214,130,255, 0.060) 179.96deg, transparent 181.30deg,
    transparent 360deg); }
@keyframes kray-a { from { --kray-a: -3deg; } to { --kray-a: 3deg; } }
@keyframes kray-b { from { --kray-b: 4deg; } to { --kray-b: -4deg; } }
[data-motion="off"] .krays::before, [data-motion="off"] .krays::after { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .krays::before, .krays::after { animation: none; } }

/* ───────── Symbole: rund, einfarbig, in der Farbe des Textes ───────── */
.ki { width: 1.2em; height: 1.2em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
  vertical-align: -.22em; overflow: visible; }
.knav li > a, .knav li > span { display: inline-flex; align-items: center; gap: .45rem; }
.knav .sub li > a, .knav .sub li > span { display: flex; }
.knav .ki { opacity: .75; transition: opacity .3s, color .3s; }
.knav li > a:hover .ki, .knav li.is-active > a .ki, .knav li.is-active > span .ki { opacity: 1; color: var(--sun); }
.knav-list > li > a .ki, .knav-list > li > span .ki { width: 1.1em; height: 1.1em; }
.subnav li > a, .subnav li > span { display: flex; align-items: center; gap: .55rem; }
.subnav .ki { opacity: .7; }
.subnav a[aria-current] .ki, .subnav li.is-active > a .ki { opacity: 1; color: var(--sun); }
.klabel .ki, .site-foot h4 .ki, .crumbs .ki { margin-right: .55em; width: 1.35em; height: 1.35em; vertical-align: -.32em; }
.kbtn .ki { width: 1.15em; height: 1.15em; }
.kbtn--quiet { gap: .5rem; }
.orb-icon { display: grid; place-items: center; width: 3.4rem; height: 3.4rem; margin-bottom: 1.2rem; border-radius: 50%; color: var(--tone, var(--sun));
  box-shadow: 0 0 0 1px currentColor inset, 0 0 34px -6px currentColor; }
.orb-icon .ki { width: 1.6rem; height: 1.6rem; stroke-width: 1.5; }
.orb-more { display: inline-flex; align-items: center; gap: .6rem; }
.orb-more .ki { transition: transform .3s; }
.orb-more:hover .ki { transform: translateX(5px); }
.orb-next .klabel { display: flex; align-items: center; flex-wrap: wrap; }

/* Symbole in Inhalten, die Joomla und Erweiterungen selbst ausgeben */
.prose .readmore a::after, .prose a.readmore::after, .prose p.readmore a::after { content: ""; display: inline-block; width: 1.1em; height: 1.1em; margin-left: .6em; vertical-align: -.2em;
  background: currentColor; -webkit-mask: var(--ki-arrow) center / contain no-repeat; mask: var(--ki-arrow) center / contain no-repeat; }
.mod ul.mod-menu li > a::before, .mod ul.mod-list li > a::before, .mod .mod-articles-category-title::before, .foot-mod ul li > a::before {
  content: ""; display: inline-block; width: .5em; height: .5em; margin-right: .7em; vertical-align: .12em; border-radius: 50%;
  box-shadow: 0 0 0 1.5px currentColor inset; opacity: .6; transition: opacity .3s, background .3s; }
.mod ul.mod-menu li > a:hover::before, .mod ul.mod-list li > a:hover::before, .foot-mod ul li > a:hover::before { opacity: 1; background: currentColor; }
:root { --ki-arrow: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.9%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M5 12h14%22/%3E%3Cpath d=%22M13 6l6 6-6 6%22/%3E%3C/svg%3E"); }
/* Symbole der Erweiterungen (Font Awesome) an den Stil angleichen: dünner wirkend, in Textfarbe */
.prose [class^="icon-"], .prose [class*=" icon-"], .prose .fa, .prose .fas, .prose .far { color: inherit; opacity: .85; }
@media (max-width: 640px) { .site-head .kbtn--quiet > span { display: none; } .site-head .kbtn--quiet { padding: .7rem .8rem; } }

/* Symbole stehen immer NEBEN dem Text (das Grundstylesheet setzt svg sonst als eigenen Block) */
svg.ki { display: inline-block; }
.klabel:has(.ki), .site-foot h4:has(.ki), .crumbs:has(.ki) { display: flex; align-items: center; }
.klabel .ki, .site-foot h4 .ki, .crumbs .ki { vertical-align: middle; }

/* Der Modulinhalt der Bücher trägt eigene style-Angaben für das alte Template; hier gelten die des neuen */
.kbooks { display: grid !important; }
.kbooks-shelf { display: flex !important; gap: clamp(1.2rem, 3.5vw, 4rem) !important; }
.kbook > img { max-height: none !important; }

/* ───────── Anmelden, Registrieren, Passwort und Benutzername vergessen, Profil ─────────
   Ein schmales, mittig stehendes Formular; Beschriftungen über den Feldern. */
.com-users-login, .com-users-reset, .com-users-remind, .com-users-registration, .com-users-profile__edit, .com-users-methods-list, .com-users-captive {
  max-width: 30rem; margin-inline: auto; }
.com-users-registration, .com-users-profile__edit { max-width: 40rem; }
.prose form.well, .prose .well { padding: 0; border: 0; background: none; box-shadow: none; }
.prose fieldset { border: 0; margin: 0 0 1.4rem; padding: 0; min-width: 0; }
.prose legend { float: none; width: auto; margin-bottom: 1rem; font: 300 1.4rem var(--serif); color: var(--ivory); }
.prose .control-group { margin-bottom: 1.2rem; }
.prose .control-label { margin-bottom: .45rem; }
.prose .control-label label, .prose .form-label { margin: 0; font: 700 .72rem var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--sun); }
.prose .star, .prose .form-control-feedback { color: var(--sun); }
.prose .controls .form-control, .prose .controls .form-select { width: 100%; padding: .8rem 1rem; font-size: 1.05rem; }
.prose .input-group > .btn { border-color: rgba(var(--sun-rgb), .28); }
.prose .form-text, .prose small.form-text { color: var(--faint); }
.com-users-login__remember { margin: 0 0 1.4rem; }
.prose .form-check-input { background-color: rgba(255, 244, 214, .06); border-color: rgba(var(--sun-rgb), .45); }
.prose .form-check-input:checked { background-color: var(--sun); border-color: var(--sun); }
.com-users-login__submit .btn, .com-users-reset__submit .btn, .com-users-remind__submit .btn, .com-users-registration__submit .btn, .com-users-registration__register,
.com-users-login button[type="submit"] { width: 100%; padding: .95rem 1.4rem; font: 700 .8rem var(--sans); letter-spacing: .22em; text-transform: uppercase; }
.com-users-login .plg_system_webauthn_login_button, .com-users-login button.btn-secondary:not(.input-password-toggle) { width: 100%; margin-top: .7rem; }
.com-users-login__options { margin-top: 1.8rem; padding-top: 1.4rem; border-top: 1px dotted var(--line-strong); display: grid; gap: .2rem; --bs-list-group-bg: transparent; }
.com-users-login__options .list-group-item { padding: .45rem 0; border: 0; background: none; color: var(--dim); text-decoration: none; }
.com-users-login__options .list-group-item:hover { color: var(--sun); }
.com-users-login__options .list-group-item::before { content: ""; display: inline-block; width: 1em; height: 1em; margin-right: .7em; vertical-align: -.15em;
  background: currentColor; -webkit-mask: var(--ki-arrow) center / contain no-repeat; mask: var(--ki-arrow) center / contain no-repeat; opacity: .7; }
.is-plain .page-head { min-height: clamp(240px, 32vh, 340px); }
.is-plain .page-title { max-width: none; }
.is-plain .page { padding-top: clamp(1rem, 3vw, 2.5rem); }

/* Passwortfeld: das Auge sitzt rechts im Feld, nicht darunter */
.prose .input-group { flex-wrap: nowrap; }
.prose .controls .input-group > .form-control, .prose .input-group > .form-control { width: 1%; min-width: 0; flex: 1 1 auto; }
.prose .input-group > .input-password-toggle { flex: none; display: inline-grid; place-items: center; min-width: 3.2rem; margin: 0;
  border-radius: 0 10px 10px 0; background: rgba(255, 244, 214, .05); color: var(--dim); }
.prose .input-group > .input-password-toggle:hover { color: var(--sun-hi); background: rgba(255, 244, 214, .12); }
.prose .input-group > .form-control:not(:last-child) { border-top-right-radius: 0; border-bottom-right-radius: 0; }
.com-users-login__options { border-radius: 0; }

/* ───────── Kopf in zwei Zeilen: oben Schriftzug und Knöpfe, darunter das Hauptmenü ─────────
   So kann sich das Menü nie mit den Knöpfen rechts überschneiden. */
.site-head { flex-wrap: wrap; row-gap: .5rem; padding-block: 1rem .6rem; }
.site-head .head-tools { margin-left: auto; }
.site-head .knav { order: 3; flex: 0 0 100%; margin: 0; min-width: 0; overflow: hidden; }
.site-head .knav-list { flex-wrap: nowrap; justify-content: flex-start; }
.site-head .knav:has(li:hover), .site-head .knav:has(li:focus-within), .site-head .knav:has(li.is-open) { overflow: visible; }
.site-head.is-compact .knav { overflow: auto; }
.page-head { padding-top: 9.5rem; }
.hero-text { padding-top: 5rem; }

/* ═════════ Feinschliff nach der Durchsicht am Bild ═════════
   Alles hängt an der Akzentfarbe aus der Palette (--sun, --sun-hi, --sun-rgb), nichts an festem Gold. */
:root { --sun-rgb: 246, 213, 150; }
[data-accent="teal"] { --sun-rgb: 143, 240, 220; }
[data-accent="violet"] { --sun-rgb: 205, 180, 255; }
[data-accent="rose"] { --sun-rgb: 255, 185, 176; }
:root, [data-bs-theme="dark"] { --bs-primary: var(--sun); --bs-primary-rgb: var(--sun-rgb); --bs-link-color: var(--sun); --bs-link-color-rgb: var(--sun-rgb); --bs-link-hover-color: var(--sun-hi); }

/* Knöpfe in der Akzentfarbe */
.kbtn { background: linear-gradient(180deg, color-mix(in srgb, var(--sun) 30%, #fff), var(--sun) 58%, color-mix(in srgb, var(--sun) 82%, #5a3408));
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--sun) 40%, #fff) inset, 0 0 30px rgba(var(--sun-rgb), .45), 0 14px 40px -14px rgba(var(--sun-rgb), .8); }
.kbtn:hover { box-shadow: 0 0 0 1px #fff inset, 0 0 54px rgba(var(--sun-rgb), .8), 0 18px 60px -10px rgba(var(--sun-rgb), .9); }
.kbtn--quiet, .kbtn--quiet:hover { background: rgba(255, 255, 255, .04); }
.kbtn--quiet { box-shadow: 0 0 0 1px var(--line-strong) inset; }
.kbtn--quiet:hover { box-shadow: 0 0 0 1px var(--sun-hi) inset, 0 0 30px rgba(var(--sun-rgb), .3); }
.btn-primary { --bs-btn-bg: var(--sun); --bs-btn-border-color: var(--sun); --bs-btn-hover-bg: var(--sun-hi); --bs-btn-hover-border-color: var(--sun-hi);
  --bs-btn-active-bg: color-mix(in srgb, var(--sun) 80%, #000); --bs-btn-active-border-color: color-mix(in srgb, var(--sun) 80%, #000); }
.bg-primary { background-color: var(--sun) !important; }
.chip[aria-current], .cal .on { background: var(--sun); }

/* ───────── Bühne: nicht höher als nötig, damit der Anfang der Seite darunter schon zu sehen ist ───────── */
.hero { min-height: clamp(560px, 80svh, 860px); }
.hero-text { padding-top: 6.5rem; padding-bottom: 4vh; }
.hero-title { font-size: clamp(2.4rem, 4.8vw, 5rem); }
.is-home #tore { margin-top: -5vh; }
/* Spektralstreifen bleiben rechts vom Text */
.hero > .prism.p1 { top: 10%; left: 46%; }
.hero > .prism.p2 { top: 58%; left: 42%; }

/* ───────── Farben, die Inhalte und Erweiterungen mitbringen ───────── */
/* Alte Beiträge tragen feste dunkle Schriftfarben und helle Hintergründe aus dem Editor: im dunklen Thema unlesbar */
.prose :is(p, span, div, li, td, th, strong, b, em, i, u, a, h1, h2, h3, h4, h5, h6, font, blockquote)[style*="color"] { color: inherit !important; }
.prose font[color] { color: inherit !important; }
.prose :is(p, span, div, li, td, th, table, tr, blockquote)[style*="background"] { background: none !important; }
/* Schlagwörter und Zähler */
.prose ul.tags { display: flex; flex-wrap: wrap; gap: .45rem; margin: 1rem 0; padding: 0; list-style: none; max-width: none; }
.prose ul.tags li { margin: 0; }
.prose ul.tags a, .prose ul.tags .btn { padding: .28rem .7rem; border: 0; border-radius: 6px; background: rgba(var(--sun-rgb), .12); color: var(--ivory);
  font: 500 .82rem var(--sans); letter-spacing: 0; text-transform: none; text-decoration: none; box-shadow: none; }
.prose ul.tags a:hover { background: rgba(var(--sun-rgb), .26); color: #fff; }
.badge, .badge.bg-info, .badge.bg-secondary, .badge.bg-primary { background: rgba(var(--sun-rgb), .16) !important; color: var(--ivory) !important; font-weight: 600; border-radius: 6px; }
/* Hinweiskästen */
.alert { border-radius: 2px; }
.alert-info, .alert-primary, .alert-secondary, .alert-light { --bs-alert-bg: rgba(var(--sun-rgb), .06); --bs-alert-border-color: rgba(var(--sun-rgb), .28); --bs-alert-color: var(--dim);
  --bs-alert-link-color: var(--sun); }
.alert-heading { font: 300 1.2rem var(--serif); color: var(--ivory); margin: 0 0 .4rem; }
.alert > p:last-child { margin-bottom: 0; }
/* Cookie-Hinweis (Cookies CK) */
#cookiesck { background: rgba(6, 10, 28, .94) !important; color: var(--dim) !important; border-top: 1px solid var(--line-strong);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); font: 400 .92rem var(--sans) !important; padding: .9rem 1rem !important; }
#cookiesck_text { color: var(--dim) !important; }
#cookiesck .cookiesck_button, #cookiesck_interface .cookiesck_button, #cookiesck a.cookiesck_button {
  display: inline-block; margin: .3rem; padding: .6rem 1.1rem !important; border: 0 !important; border-radius: 10px !important; cursor: pointer;
  background: rgba(255, 255, 255, .05) !important; color: var(--ivory) !important; box-shadow: 0 0 0 1px var(--line-strong) inset;
  font: 600 .86rem var(--sans) !important; text-decoration: none !important; }
#cookiesck #cookiesck_accept, #cookiesck_interface .cookiesck-accept { background: var(--sun) !important; color: var(--ink) !important; box-shadow: none; }
#cookiesck .cookiesck_button:hover, #cookiesck_interface .cookiesck_button:hover { box-shadow: 0 0 0 1px var(--sun-hi) inset, 0 0 24px rgba(var(--sun-rgb), .35); }
#cookiesck_interface { background: #0a1026 !important; color: var(--dim) !important; border: 1px solid var(--line-strong); border-radius: 2px !important; }
#cookiesck_interface .cookiesck-main-title, #cookiesck_interface .cookiesck-category-name { color: var(--ivory) !important; font-family: var(--serif); font-weight: 300; }
#cookiesck_options { opacity: .55; transition: opacity .3s; }
#cookiesck_options:hover { opacity: 1; }

/* ───────── Seitenkopf ───────── */
.crumbs .mod-breadcrumbs__here { display: none; }
.crumbs .breadcrumb { margin: 0; padding: 0 !important; background: none; --bs-breadcrumb-divider-color: var(--line-strong); --bs-breadcrumb-item-active-color: var(--dim); }
.crumbs .breadcrumb a { color: var(--dim); text-decoration: none; }
.crumbs .breadcrumb a:hover { color: var(--sun); }
.page-head-icon { position: absolute; right: clamp(1rem, 6vw, 8rem); bottom: -8%; z-index: -1; pointer-events: none; color: var(--sun-hi); opacity: .1; }
.page-head-icon .ki { width: clamp(11rem, 22vw, 24rem); height: clamp(11rem, 22vw, 24rem); stroke-width: .7; }
/* Steht der Titel der Seite schon groß im Kopf, wiederholt ihn der Inhalt nicht noch einmal */
.has-head-title.com_content.view-article .com-content-article > .page-header,
.has-head-title.com_eventbooking #eb-event-page .eb-page-heading { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.has-head-title.com_eventbooking #eb-event-page .eb-box-heading { display: flex; justify-content: flex-end; padding: 0; }

/* ───────── Rangordnung in Beitragslisten ───────── */
.prose :is(h1, h2, h3, h4) a { color: inherit; text-decoration: none; }
.prose :is(h1, h2, h3, h4) a:hover { color: var(--sun); }
.prose .blog-item .item-title, .prose .blog-item .page-header h2, .prose .com-content-category-blog__item .page-header h2 {
  font-size: clamp(1.7rem, 2.4vw, 2.6rem); font-weight: 200; margin: 0 0 1rem; }
.prose .blog-item { padding: clamp(2rem, 4vw, 3.5rem) 0; }
.prose .blog-items > .blog-item:first-child { padding-top: 0; }
/* Felder (Typ, Gechannelt von …) als kompakte Zeile */
.prose ul.fields-container { display: flex; flex-wrap: wrap; gap: .4rem 1.8rem; margin: 0 0 1.2rem; padding: 0; list-style: none; max-width: none; }
.prose ul.fields-container li { margin: 0; color: var(--ivory); font-size: .95rem; }
.prose .field-label { margin-right: .35rem; font: 700 .68rem var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--sun); }
.prose .field-value { color: var(--ivory); }
/* Angaben unter dem Beitrag: Datum und Kategorie genügen */
.prose .article-info :is(.create, .modified, .hits) { display: none; }
.prose .article-info, .prose dl.article-info { font-size: .7rem; letter-spacing: .14em; margin: 1.4rem 0 1rem; }
.prose .article-info a { color: var(--dim); text-decoration: none; }
.prose .article-info a:hover { color: var(--sun); }
.prose .content_rating { margin: 0 0 1rem; }
.prose .akenage-comments-counter--featured, .prose [class*="comments-counter"] { font-size: .9rem; }
.prose [class*="comments-counter"] a { color: var(--faint); text-decoration: none; }
.prose [class*="comments-counter"] a:hover { color: var(--sun); }

/* ───────── Terminliste ───────── */
.eb-events-timeline .eb-event-container { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 1.2rem; align-items: center; align-content: start;
  padding: 0 0 clamp(1.5rem, 3vw, 2.5rem); }
.eb-events-timeline .eb-event-date-container { float: none; margin: 0; grid-column: 1; grid-row: 1; }
.eb-events-timeline .eb-event-title-container { grid-column: 2; grid-row: 1; margin: 0; padding: 0; font-size: clamp(1.4rem, 1.9vw, 2rem); font-weight: 300; }
.eb-events-timeline .eb-event-container > :not(.eb-event-date-container):not(.eb-event-title-container) { grid-column: 1 / -1; }
.eb-events-timeline .eb-event-information { margin-top: 1.1rem; font-size: 1.05rem; }
.eb-events-timeline .eb-description-details { color: var(--dim); }
.eb-events-timeline .eb-description-details strong { font-weight: 600; }

/* ───────── Kopf: Suche als Lupe, die das Feld aufklappt ───────── */
.head-search { display: flex; align-items: center; }
.head-search form { width: 0; overflow: hidden; opacity: 0; transition: width .35s, opacity .25s; }
.head-search.is-open form { width: 12rem; opacity: 1; margin-right: .4rem; }
.head-search input { width: 100% !important; }

/* ───────── Seitenfuß ───────── */
.site-foot { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 3.5rem); align-items: start; }
.site-foot p { max-width: none; }
.site-foot .foot-mod { font-size: .88rem; line-height: 1.7; }
.site-foot .foot-mod img { max-width: 150px; height: auto; display: block; margin-bottom: 1rem; }
.site-foot h4 { margin-bottom: 1.1rem; }
.site-foot .foot-mod :is(div, p) { color: var(--dim); }
.site-foot [class*="text-secondary"] { color: var(--faint) !important; }
.site-foot .foot-end { text-align: center; }

/* ───────── Schmale Bildschirme ───────── */
@media (max-width: 900px) {
  .subnav { display: block; }
  .subnav .klabel { margin: 0 0 .8rem; }
  .site-foot { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .head-search { display: none; }
  .hero { min-height: clamp(560px, 86svh, 780px); }
  .hero-text { padding-top: 6rem; }
}
@media (max-width: 560px) { .site-foot { grid-template-columns: minmax(0, 1fr); } }
.head-search > .kicon { display: inline-grid; }
.head-search.is-open form { overflow: visible; }

/* Lange Titel im Seitenkopf: kleiner und über mehr Breite, damit sie nicht in viele Zeilen umbrechen */
.page-title { max-width: 34ch; }
.page-title.is-long { font-size: clamp(1.8rem, 3vw, 3.2rem); max-width: 40ch; }
/* Fuß: Bilder stehen untereinander, nichts überlappt */
.site-foot .foot-mod { clear: both; }
.site-foot .foot-mod img { float: none !important; position: static !important; max-width: 130px; margin: 0 0 1rem; }
.site-foot .foot-mod + .foot-mod { margin-top: 1rem; }
/* Tore untereinander (schmale Bildschirme): alle bündig, ohne Linie links */
@media (max-width: 900px) {
  .is-home .orb, .is-home .orb:first-child { border-left: 0; padding: 1.4rem 0 1.6rem; }
  .is-home .orbs { gap: .6rem; }
}

/* Bühne: der Text steht oben unter dem Kopf, der Knopf bleibt deutlich über dem Hügelkamm */
.hero { align-items: start; min-height: clamp(700px, 80svh, 860px); }
.hero-text { padding-top: 8.4rem; padding-bottom: 0; }
.hero-title { margin: 1rem 0 1.1rem; }
.hero-sub { margin-bottom: 1.6rem; }
@media (max-width: 900px) { .hero { min-height: clamp(620px, 86svh, 780px); } .hero-text { padding-top: 6rem; } }

/* ───────── Links (Weblinks): Kacheln statt Strichliste ───────── */
:root { --ki-link: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.7%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M10 14a4 4 0 0 0 5.7 0l3-3A4 4 0 0 0 13 5.3l-1 1%22/%3E%3Cpath d=%22M14 10a4 4 0 0 0-5.7 0l-3 3A4 4 0 0 0 11 18.7l1-1%22/%3E%3C/svg%3E");
  --ki-folder: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.7%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M3.5 7a2 2 0 0 1 2-2h4l2 2.5h7a2 2 0 0 1 2 2V17a2 2 0 0 1-2 2h-13a2 2 0 0 1-2-2Z%22/%3E%3C/svg%3E"); }
.is-inner .page { padding-top: clamp(1.5rem, 3vw, 3rem); }

/* Übersicht der Kategorien */
.categories-list .com-content-categories__items { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: var(--gap); }
.categories-list .com-content-categories__item { position: relative; display: block; min-height: 10.5rem; margin: 0; padding: 1.6rem 1.7rem 1.5rem; border: 0 !important;
  background: rgba(255, 255, 255, .035); transition: background-color .3s, transform .4s; }
.categories-list .com-content-categories__item:hover { background: rgba(var(--sun-rgb), .1); transform: translateY(-4px); }
.categories-list .com-content-categories__item > div:first-child { display: block; }
.categories-list .com-content-categories__item > div:first-child::before { content: ""; display: block; width: 2rem; height: 2rem; margin-bottom: 1.4rem;
  background: var(--sun); -webkit-mask: var(--ki-folder) center / contain no-repeat; mask: var(--ki-folder) center / contain no-repeat; }
.categories-list .com-content-categories__item > div > a { font: 300 clamp(1.25rem, 1.5vw, 1.6rem)/1.25 var(--serif); color: var(--ivory); text-decoration: none; }
.categories-list .com-content-categories__item > div > a::after { content: ""; position: absolute; inset: 0; }   /* die ganze Kachel ist anklickbar */
.categories-list .com-content-categories__item:hover > div > a { color: var(--sun); }
.categories-list .com-content-categories__item .btn { position: absolute; right: 1rem; top: 1rem; z-index: 2; }
.categories-list .com-content-categories__children { position: relative; z-index: 2; margin-top: 1rem; }
.categories-list .com-content-categories__children .com-content-categories__items { display: block; }
.categories-list .com-content-categories__children .com-content-categories__item { min-height: 0; padding: .4rem 0; background: none; transform: none; }
.categories-list .com-content-categories__children .com-content-categories__item > div:first-child::before { display: none; }
.categories-list .com-content-categories__children a { font: 400 1rem var(--sans); }
.categories-list .com-content-categories__children a::after { content: none; }
.categories-list .category-desc, .categories-list .badge { position: relative; z-index: 1; display: block; margin-top: .6rem; color: var(--dim); font-size: .92rem; }

/* Die Links einer Kategorie */
.has-head-title .weblink-category > h1 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.com-weblinks-category ul.category { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: var(--gap); margin: 0; padding: 0; list-style: none; max-width: none; }
.com-weblinks-category ul.category > li { margin: 0 !important; padding: 0; border: 0; }
.com-weblinks-category .list-title.list-group-item { position: relative; display: flex; align-items: center; gap: .9rem; min-height: 5.5rem; padding: 1.2rem 1.4rem; border: 0; border-radius: 0;
  background: rgba(255, 255, 255, .035); transition: background-color .3s, transform .4s; }
.com-weblinks-category .list-title.list-group-item:hover { background: rgba(var(--sun-rgb), .1); transform: translateY(-3px); }
.com-weblinks-category .list-title [class^="icon-"] { display: none; }
.com-weblinks-category .list-title::before { content: ""; flex: none; width: 1.5rem; height: 1.5rem; background: var(--sun);
  -webkit-mask: var(--ki-link) center / contain no-repeat; mask: var(--ki-link) center / contain no-repeat; }
.com-weblinks-category .list-title a.category { flex: 1; font: 300 1.25rem/1.3 var(--serif); color: var(--ivory); text-decoration: none; }
.com-weblinks-category .list-title a.category::after { content: ""; position: absolute; inset: 0; }
.com-weblinks-category .list-title:hover a.category { color: var(--sun); }
.com-weblinks-category .list-hits { float: none !important; flex: none; background: none !important; color: var(--faint) !important; font: 600 .68rem var(--sans); letter-spacing: .12em; text-transform: uppercase; }
.com-weblinks-category li > :not(.list-title) { padding: .6rem 1.4rem 0; color: var(--dim); font-size: .95rem; }

/* Link-Kacheln für Angemeldete: „Bearbeiten“ steht klein unten in der Kachel, „Neu“ mit Abstand darunter */
.com-weblinks-category ul.category > li { display: flex; flex-direction: column; background: rgba(255, 255, 255, .035); border-radius: 0; transition: background-color .3s, transform .4s; }
.com-weblinks-category ul.category > li:hover { background: rgba(var(--sun-rgb), .1); transform: translateY(-3px); }
.com-weblinks-category .list-title.list-group-item, .com-weblinks-category .list-title.list-group-item:hover { order: 1; flex: 1; background: none; transform: none; }
.com-weblinks-category li > .icons.list-group-item { order: 2; position: relative; z-index: 2; margin: 0; padding: 0 1.4rem 1rem; border: 0; border-radius: 0; background: none;
  text-align: right; font-size: .78rem; }
.com-weblinks-category .icons a { color: var(--faint); text-decoration: none; font-weight: 600; letter-spacing: .08em; }
.com-weblinks-category .icons a:hover { color: var(--sun); }
.com-weblinks-category .icons [class^="icon-"] { margin-right: .4em; }
.com-weblinks-category .icons [role="tooltip"] { display: none; }
.com-weblinks-category__items > form > span, .com-weblinks-category__items form > .btn, .com-weblinks-category__items form > span > .btn { display: inline-block; margin-top: var(--gap); }

/* Link-Kacheln: Titel bekommt die volle Breite, die Zugriffe stehen klein darunter; alle Kacheln einer Reihe gleich hoch */
.com-weblinks-category ul.category { align-items: stretch; }
.com-weblinks-category .list-title.list-group-item { flex-wrap: wrap; align-items: flex-start; align-content: flex-start; row-gap: .5rem; min-height: 0; padding: 1.3rem 1.4rem 1rem; }
.com-weblinks-category .list-title::before { margin-top: .15rem; }
.com-weblinks-category .list-title a.category { flex: 1 1 0; min-width: 0; font-size: 1.15rem; }
.com-weblinks-category .list-hits { flex: 0 0 100%; padding: 0 0 0 2.4rem; text-align: left; }
.com-weblinks-category li > .icons.list-group-item { margin-top: auto; }
/* Der Name der Kategorie steht schon im Seitenkopf */
.is-inner .weblink-category > h1 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ───────── Bearbeitungsformulare im Frontend (z. B. „Neuen Link vorschlagen“, Beitrag bearbeiten) ───────── */
/* Reiter: Joomlas eigener Baustein bringt eine weiße Fläche mit */
joomla-tab { display: block; margin: 1.5rem 0; }
joomla-tab[view="tabs"] > div[role="tablist"], joomla-tab > div[role="tablist"] { display: flex; flex-wrap: wrap; gap: .3rem; margin: 0; padding: 0; border: 0; border-bottom: 1px dotted var(--line-strong);
  background: none; background-image: none; box-shadow: none; border-radius: 0; }
joomla-tab button[role="tab"] { padding: .8rem 1.2rem; border: 0; border-radius: 0; background: none; box-shadow: none; color: var(--dim); font: 600 .86rem var(--sans); letter-spacing: .04em; cursor: pointer; }
joomla-tab button[role="tab"]:hover { color: var(--ivory); background: rgba(255, 255, 255, .04); }
joomla-tab button[role="tab"][aria-expanded="true"], joomla-tab button[role="tab"][aria-selected="true"] { color: var(--ivory); background: rgba(var(--sun-rgb), .1); box-shadow: 0 -2px 0 var(--sun) inset; }
joomla-tab button[role="tab"]::after, joomla-tab button[role="tab"][aria-expanded="true"]::after { background-color: var(--sun) !important; }
joomla-tab > joomla-tab-element, joomla-tab[view="tabs"] > joomla-tab-element { padding: 1.6rem 0 0; border: 0; border-radius: 0; background: none; box-shadow: none; color: inherit; }
joomla-tab[view="accordion"] > joomla-tab-element, joomla-tab[view="accordion"] button[role="tab"] { background: none; border-color: var(--line-strong); color: inherit; }

/* Auswahlfelder mit Suche (Choices). „body“ davor, weil das Stylesheet der Erweiterung NACH diesem geladen wird und sonst gewinnt. */
body .choices { margin-bottom: 0; color: var(--ivory); }
body .choices__inner, body .choices[data-type*="select-one"] .choices__inner { min-height: 0; padding: .55rem .8rem !important; border: 1px solid rgba(var(--sun-rgb), .28); border-radius: 10px !important;
  background: rgba(255, 244, 214, .05); color: var(--ivory); font-size: 1rem; }
body .choices.is-focused .choices__inner, body .choices.is-open .choices__inner { border-color: var(--sun); }
body .choices__list--single, body .choices__list--multiple { padding: 0; }
body .choices__list--single .choices__item { color: var(--ivory); }
body .choices__list--multiple .choices__item { margin: .15rem .3rem .15rem 0; border: 0; border-radius: 6px; background: rgba(var(--sun-rgb), .18); color: var(--ivory); }
body .choices__input { margin: 0; padding: .2rem .3rem; background: transparent !important; color: var(--ivory); font-size: 1rem; }
body .choices__input::placeholder { color: var(--faint); }
body .choices__list--dropdown, body .choices__list[aria-expanded] { margin-top: 4px; border: 1px solid rgba(var(--sun-rgb), .4) !important; border-radius: 10px !important; background: #0a1026 !important; color: var(--dim);
  box-shadow: 0 30px 60px -20px #000; z-index: 30; }
body .choices__list--dropdown .choices__item, body .choices__list[aria-expanded] .choices__item { padding: .55rem .8rem; color: var(--dim); }
body .choices__list--dropdown .choices__item--selectable.is-highlighted, body .choices__list[aria-expanded] .choices__item--selectable.is-highlighted { background: rgba(var(--sun-rgb), .16); color: var(--ivory); }
body .choices__heading { color: var(--sun); border-color: var(--line); }
body .choices[data-type*="select-one"]::after { border-color: var(--dim) transparent transparent; }
body .choices[data-type*="select-one"].is-open::after { border-color: transparent transparent var(--dim); }
/* „Remove item“: nur ein kleines Kreuz, kein beschrifteter Knopf */
body .choices__button, body .choices[data-type*="select-one"] .choices__button { width: 1.4rem; height: 1.4rem; margin: 0 1.6rem 0 .4rem; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .08) none;
  color: transparent; font-size: 0; text-indent: 0; opacity: .8; position: relative; cursor: pointer; }
body .choices__button::before { content: "×"; position: absolute; inset: 0; display: grid; place-items: center; color: var(--ivory); font: 400 1rem/1 var(--sans); }
body .choices__button:hover { background-color: rgba(var(--sun-rgb), .3); opacity: 1; }

/* Formularfelder allgemein */
.prose .form-control, .prose .form-select { background-color: rgba(255, 244, 214, .05); border-color: rgba(var(--sun-rgb), .28); color: var(--ivory); }
.prose .form-control::placeholder { color: var(--faint); }
.prose .form-control:disabled, .prose .form-control[readonly] { background-color: rgba(255, 255, 255, .02); color: var(--faint); }
.prose .form-select { background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 16 16%22%3E%3Cpath fill=%22none%22 stroke=%22%23fbf3e4%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 stroke-width=%221.6%22 d=%22m3 6 5 5 5-5%22/%3E%3C/svg%3E"); }
.prose .tox-tinymce { border: 1px solid rgba(var(--sun-rgb), .28) !important; border-radius: 10px !important; }
.prose .btn-toolbar .btn, .prose .btn-group .btn { margin: 0; }
.prose fieldset.options-form, .prose .options-form { border: 0; padding: 0; }

/* Auswahlfelder mit Suche: Suchfeld und Liste im aufgeklappten Zustand */
body .choices__list--dropdown .choices__input, body .choices[data-type*="select-one"] .choices__input { display: block; width: 100%; margin: 0; padding: .7rem .9rem; border: 0; border-bottom: 1px solid rgba(var(--sun-rgb), .28);
  background: rgba(255, 244, 214, .06) !important; color: var(--ivory); }
body .choices__list--dropdown .choices__list { scrollbar-width: thin; scrollbar-color: rgba(var(--sun-rgb), .4) transparent; }
body .choices__list--dropdown .choices__item--choice, body .choices__group .choices__heading { font-size: .95rem; }
body .choices__group .choices__heading { padding: .7rem .8rem .3rem; border: 0; color: var(--sun); font: 700 .68rem var(--sans); letter-spacing: .2em; text-transform: uppercase; }
body .choices__item--disabled { color: var(--faint); }
body .choices[data-type*="select-one"] .choices__button { background-image: none; }
body .choices__inner .choices__item { color: var(--ivory); }

/* ───────── Benutzerprofil bearbeiten ───────── */
.com-users-profile__edit fieldset > legend, .com-users-profile fieldset > legend { margin: 2.2rem 0 1.2rem; padding-top: 1.6rem; width: 100%; border-top: 1px dotted var(--line-strong);
  font: 300 1.5rem var(--serif); color: var(--ivory); }
.com-users-profile__edit fieldset:first-of-type > legend { border-top: 0; padding-top: 0; margin-top: 0; }
.com-users-profile__edit .small.text-muted, .com-users-profile__edit [id$="-desc"] { margin-top: .4rem; color: var(--faint) !important; font-size: .84rem; }
.com-users-profile__edit-submit { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 2rem; padding-top: 1.6rem; border-top: 1px dotted var(--line-strong); }
.com-users-profile__edit-submit .btn { padding: .9rem 1.6rem; font: 700 .78rem var(--sans); letter-spacing: .2em; text-transform: uppercase; }
.btn-danger { --bs-btn-bg: transparent; --bs-btn-color: #ff9d9d; --bs-btn-border-color: rgba(255, 157, 157, .5); --bs-btn-hover-bg: rgba(255, 120, 120, .16); --bs-btn-hover-color: #fff; --bs-btn-hover-border-color: #ff9d9d; }
.btn-outline-primary { --bs-btn-color: var(--sun); --bs-btn-border-color: rgba(var(--sun-rgb), .5); --bs-btn-hover-bg: var(--sun); --bs-btn-hover-color: var(--ink); --bs-btn-hover-border-color: var(--sun); }
.btn-success { --bs-btn-bg: var(--sun); --bs-btn-border-color: var(--sun); --bs-btn-color: var(--ink); --bs-btn-hover-bg: var(--sun-hi); --bs-btn-hover-border-color: var(--sun-hi); --bs-btn-hover-color: var(--ink); }
/* Anmeldung in mehreren Schritten */
.prose .border, .prose .border-top, .prose .border-1 { border-color: var(--line-strong) !important; }
.prose .rounded-2, .prose .rounded-3 { border-radius: 0 !important; }
.com-users-methods-list-method.card { margin-inline: 0 !important; }
.prose .card-header { padding: 1rem 1.2rem; border: 0; background: none; }
.prose .card-body { padding: 0 1.2rem 1.2rem; }
.com-users-methods-list-method-image.bg-light { background: rgba(255, 255, 255, .9) !important; border-radius: 6px !important; }
.com-users-methods-list-method-title h2, .prose .card-header h2 { margin: 0; font-size: 1.25rem; }
/* Kalenderfeld (Geburtsdatum) */
body .js-calendar .calendar-container, body .calendar-container { background: #0a1026; border: 1px solid rgba(var(--sun-rgb), .4); border-radius: 10px; box-shadow: 0 30px 60px -20px #000; color: var(--dim); }
body .calendar-container table, body .calendar-container td, body .calendar-container th { background: none; border: 0; color: inherit; }
body .calendar-container .calendar-head-row td, body .calendar-container .day-name { color: var(--sun); }
body .calendar-container td.day:hover, body .calendar-container td.hilite { background: rgba(var(--sun-rgb), .16); color: var(--ivory); border-radius: 6px; }
body .calendar-container td.selected, body .calendar-container td.day.selected { background: var(--sun); color: var(--ink); border-radius: 6px; }
body .calendar-container td.today { box-shadow: 0 0 0 1px var(--sun) inset; border-radius: 6px; }
body .calendar-container .btn, body .calendar-container button, body .calendar-container select, body .calendar-container .time td { background: rgba(255, 255, 255, .05); color: var(--ivory); border-color: var(--line-strong); }
body .calendar-container .disabled, body .calendar-container td.othermonth { color: var(--faint); }
.field-calendar .input-group > .btn { border-radius: 0 10px 10px 0; }
/* Schalter (Ja/Nein) */
body .switcher { border-color: var(--line-strong); }
body .switcher .toggle-outside { background: rgba(255, 255, 255, .1); border-color: var(--line-strong); }
body .switcher input:checked ~ .toggle-outside { background: var(--sun); border-color: var(--sun); }
body .switcher .toggle-inside { background: var(--ivory); }
body .switcher label { color: var(--dim); }

/* Anmeldung in mehreren Schritten: Logo auf hellem Feld, Titel daneben in ruhiger Größe, Knöpfe in der Akzentfarbe */
#com-users-methods-reset-container { padding: .9rem 1.1rem !important; border: 0 !important; background: rgba(var(--sun-rgb), .07) !important; color: var(--dim); }
.com-users-methods-list-method.card { margin: 0 0 var(--gap) !important; }
.com-users-methods-list-method-header.card-header { display: flex; flex-wrap: nowrap !important; align-items: center; gap: 1rem !important; padding: 1.2rem 1.2rem .8rem; }
.com-users-methods-list-method-image { flex: none; display: grid; place-items: center; width: 7.5rem; height: 3.2rem; padding: .4rem .6rem !important; }
.com-users-methods-list-method-image img { max-width: 100%; max-height: 100%; width: auto; height: auto; border-radius: 0; }
.com-users-methods-list-method-title { min-width: 0; }
.prose .com-users-methods-list-method-title h2 { margin: 0 !important; padding: 0; font-size: 1.25rem; font-weight: 300; line-height: 1.25; }
.com-users-methods-list-method-info { color: var(--dim) !important; font-size: .92rem; }
.com-users-methods-list-method-addnew-container { margin-top: .8rem; padding-top: 1rem !important; border-top: 1px dotted var(--line-strong) !important; }
.prose .btn-outline-primary, .prose .btn-outline-secondary, .prose .btn-outline-info { color: var(--sun); border-color: rgba(var(--sun-rgb), .5); background: none; }
.prose .btn-outline-primary:hover, .prose .btn-outline-secondary:hover, .prose .btn-outline-info:hover { color: var(--ink); background: var(--sun); border-color: var(--sun); }
.prose .btn-sm { padding: .5rem .9rem; font-size: .84rem; }

/* ═════════ Formularfelder: EINE Gestaltung für die ganze Website ═════════
   Felder sind nicht hell, sondern eine Abdunklung der Fläche, auf der sie stehen: dunkler Grund, weicher Schatten nach innen,
   kein heller Rahmen. Nur das Feld, in dem man gerade schreibt, bekommt eine Linie in der Akzentfarbe.
   Ecken: überall dieselbe leichte Rundung (--radius) für alles, was man bedient: Felder, Auswahllisten, Knöpfe, Marken.
   Flächen und Kacheln bleiben eckig. „body“ und !important stehen davor, weil viele Erweiterungen eigene, später geladene
   Stylesheets mit weißen Feldern mitbringen. */
:root { --radius: 8px; --field-bg: rgba(0, 0, 0, .34); --field-bg-focus: rgba(0, 0, 0, .46); --field-shadow: inset 0 2px 5px rgba(0, 0, 0, .55), inset 0 0 0 1px rgba(0, 0, 0, .25); }

body :is(input:not([type="checkbox"], [type="radio"], [type="submit"], [type="button"], [type="reset"], [type="hidden"], [type="range"], [type="file"], [type="image"], [type="color"]), select, textarea),
body .form-control, body .form-select, body .choices__inner, body .chosen-container-single .chosen-single, body .chosen-container-multi .chosen-choices, body .inputbox {
  background-color: var(--field-bg) !important; border: 1px solid transparent !important; border-radius: var(--radius) !important; box-shadow: var(--field-shadow) !important;
  color: var(--ivory) !important; caret-color: var(--sun); transition: background-color .25s, border-color .25s, box-shadow .25s; }
body :is(input, select, textarea, .form-control, .form-select):focus, body .choices.is-focused .choices__inner, body .choices.is-open .choices__inner,
body .chosen-container-active .chosen-single, body .chosen-container-active .chosen-choices {
  background-color: var(--field-bg-focus) !important; border-color: rgba(var(--sun-rgb), .65) !important; outline: 0 !important;
  box-shadow: var(--field-shadow), 0 0 0 3px rgba(var(--sun-rgb), .14) !important; }
body :is(input, textarea)::placeholder { color: var(--faint) !important; opacity: 1; }
body :is(input, select, textarea):disabled, body :is(input, textarea)[readonly] { color: var(--faint) !important; background-color: rgba(0, 0, 0, .18) !important; }
body input:-webkit-autofill { -webkit-text-fill-color: var(--ivory); box-shadow: 0 0 0 100px #0a0f22 inset, var(--field-shadow) !important; }
body select option, body select optgroup { background: #0a1026; color: var(--ivory); }
/* Feld mit angesetztem Knopf (Auge beim Passwort, Lupe, Kalender): gemeinsame Außenform */
body .input-group > :not(:last-child) { border-top-right-radius: 0 !important; border-bottom-right-radius: 0 !important; }
body .input-group > :not(:first-child) { border-top-left-radius: 0 !important; border-bottom-left-radius: 0 !important; }
body .input-group > .btn { border: 1px solid transparent !important; background: rgba(0, 0, 0, .46) !important; box-shadow: var(--field-shadow) !important; color: var(--dim) !important; }
body .input-group > .btn:hover { color: var(--sun-hi) !important; background: rgba(0, 0, 0, .6) !important; }
/* Kästchen und Auswahlpunkte */
body input[type="checkbox"], body input[type="radio"], body .form-check-input { accent-color: var(--sun); background-color: var(--field-bg); border: 1px solid rgba(var(--sun-rgb), .4); box-shadow: var(--field-shadow); }
body .form-check-input:checked { background-color: var(--sun); border-color: var(--sun); box-shadow: none; }
/* Aufklappende Listen */
body .choices__list--dropdown, body .choices__list[aria-expanded], body .chosen-container .chosen-drop, body .head-lang .klang-list, body .knav .sub, body .dropdown-menu, body .awesomplete > ul {
  border: 1px solid rgba(var(--sun-rgb), .22) !important; border-radius: var(--radius) !important; background: #080d20 !important; color: var(--dim); box-shadow: 0 30px 60px -20px #000 !important; }
body .site-head.is-compact .knav .sub { border: 0 !important; background: none !important; box-shadow: none !important; }
body .awesomplete > ul > li { padding: .5rem .8rem; color: var(--dim); }
body .awesomplete > ul > li:hover, body .awesomplete > ul > li[aria-selected="true"] { background: rgba(var(--sun-rgb), .16); color: var(--ivory); }
body .awesomplete mark { background: none; color: var(--sun); }
body .dropdown-menu { --bs-dropdown-link-color: var(--dim); --bs-dropdown-link-hover-color: var(--ivory); --bs-dropdown-link-hover-bg: rgba(var(--sun-rgb), .14); padding: .4rem; }
body .dropdown-item { border-radius: 6px; }

/* Dieselbe Rundung für alles Bedienbare */
body .btn, body .kbtn, body .kbtn--quiet, body .kicon, body .klang-btn, body .chip, body .cookiesck_button, body #cookiesck .cookiesck_button, body .knav-toggle,
body .prose ul.tags a, body .badge, body .ktag, body .page-link, body .eb-event-price-container, body .speaker { border-radius: var(--radius) !important; }
body .klang-flag { border-radius: 50%; }
body .pagination { --bs-pagination-border-radius: var(--radius); gap: .3rem; }
body .page-link { width: auto; height: auto; min-width: 2.4rem; text-align: center; }

/* Texteditor (TinyMCE): Leisten dunkel, Schreibbereich über css/editor.css */
body .tox-tinymce { border: 0 !important; border-radius: var(--radius) !important; box-shadow: var(--field-shadow) !important; background: var(--field-bg) !important; }
body .tox :is(.tox-editor-header, .tox-menubar, .tox-toolbar, .tox-toolbar__primary, .tox-toolbar-overlord, .tox-toolbar__overflow, .tox-statusbar, .tox-edit-area, .tox-edit-area__iframe, .tox-sidebar-wrap) {
  background: #0a1024 !important; background-image: none !important; color: var(--dim) !important; border-color: rgba(var(--sun-rgb), .16) !important; box-shadow: none !important; }
body .tox :is(.tox-mbtn, .tox-tbtn, .tox-tbtn__select-label, .tox-statusbar__path-item, .tox-statusbar a, .tox-statusbar__wordcount) { color: var(--dim) !important; }
body .tox .tox-tbtn svg, body .tox .tox-statusbar__resize-handle svg { fill: currentColor !important; }
body .tox :is(.tox-mbtn, .tox-tbtn):hover, body .tox .tox-tbtn--enabled, body .tox .tox-mbtn--active { background: rgba(var(--sun-rgb), .16) !important; color: var(--ivory) !important; }
body .tox :is(.tox-menu, .tox-collection, .tox-dialog, .tox-dialog__header, .tox-dialog__footer, .tox-dialog__body) { background: #080d20 !important; color: var(--dim) !important; border-color: rgba(var(--sun-rgb), .22) !important; }
body .tox :is(.tox-collection__item, .tox-collection__item-label, .tox-label, .tox-dialog__title) { color: var(--dim) !important; }
body .tox .tox-collection__item--active, body .tox .tox-collection__item--enabled { background: rgba(var(--sun-rgb), .16) !important; color: var(--ivory) !important; }
body .tox .tox-toolbar__group { border-color: rgba(var(--sun-rgb), .16) !important; }

/* ═════════ Letzter Durchgang ═════════ */
/* Seitenspalte: freie Textmodule in ruhiger, einheitlicher Schrift, linksbündig (manche bringen eigene Größen und Zentrierung mit) */
.kside .mod-custom, .kside .mod-custom :is(p, div, section, article, span, strong, em, h1, h2, h3, h4, h5, h6), .kside .mod-body > :is(p, div, h1, h2, h3, h4, h5, h6):not([class]), .kside .mod-body > :is(p, div, h1, h2, h3, h4, h5, h6):not([class]) :is(p, div, span, strong, em, font) { font-family: var(--sans) !important; font-size: .95rem !important; line-height: 1.65 !important;
  font-weight: 400; text-align: left !important; letter-spacing: 0; }
.kside .mod-custom, .kside .mod-custom :is(p, div, span) { color: var(--dim); }
.kside .mod-custom p { margin: 0 0 .8em; }
.kside .mod-custom strong { font-weight: 700; color: var(--ivory); }
/* Kategorienbaum in der Seitenspalte: oberste Ebene betont, Unterpunkte eingerückt und ohne eigene Trennlinien */
.mod ul.mod-articlescategories, .mod ul.mod-articlescategories ul { list-style: none; margin: 0; padding: 0; }
.mod ul.mod-articlescategories > li { padding: .7rem 0; border-top: 1px dotted var(--line-strong); }
.mod ul.mod-articlescategories > li:first-child { border-top: 0; padding-top: 0; }
.mod ul.mod-articlescategories > li > :is(a, h4, h5) { font-weight: 700; color: var(--ivory); }
.mod ul.mod-articlescategories ul { margin: .4rem 0 0 .2rem; padding-left: .9rem; border-left: 1px dotted var(--line-strong); }
.mod ul.mod-articlescategories ul li { padding: .28rem 0; border: 0; }
.mod ul.mod-articlescategories ul li > :is(a, h4, h5) { font-weight: 400; color: var(--dim); font-size: .93rem; }
.mod ul.mod-articlescategories ul ul li > :is(a, h4, h5) { color: var(--faint); }
.mod ul.mod-articlescategories a:hover { color: var(--sun) !important; }
.mod ul.mod-articlescategories :is(h4, h5) { margin: 0; font-family: var(--sans); font-size: 1rem; }
/* Startseite: weniger Luft zwischen Toren und dem nächsten Abschnitt */
.is-home #tore { padding-bottom: clamp(1rem, 2vw, 2rem); }
.is-home .band-row, .is-home .page { padding-block: clamp(2rem, 4vw, 3.6rem); }
/* Tore auf schmalen Bildschirmen: volle Breite, bündig mit dem übrigen Inhalt */
@media (max-width: 900px) { .is-home .orb, .is-home .orb:first-child { max-width: none; margin: 0; width: 100%; } }
/* Zähler „Beitragsanzahl: 0“ hinter Unterkategorien: klein und unauffällig */
.prose :is(h2, h3, h4) .badge, .prose .com-content-category-blog__children .badge { font: 600 .66rem var(--sans); letter-spacing: .08em; text-transform: uppercase; vertical-align: middle; opacity: .7; }
.kside .mod-custom .alert { padding: 0; border: 0; background: none; color: var(--dim); }
