/* vhs Kempten – config.css | Abweichungen zur basis.css
   Nur Farben, Layout und Abstände; keine Typografie (Schrift kommt aus der basis.css).
   Design-System wie kvhs Ahrweiler, Veranstaltungsteaser wie Kempten, WCAG 2.2 AA.
   Hinweis: Reihenfolge ist Teil der Kaskade – Abschnitte nicht umsortieren. */

/* ===== Variablen ===== */
:root {
  --Abstand: 1rem;
  --AbstandHalb: .5rem;
  --AbstandDoppelt: 2rem;
  --Lesebreite: 60ch;
  --Heller: #fff;
  --Grau: var(--blau-30);
  --LinkColor: var(--ink);
  --ButtonColor: var(--auf-knopf);
  --ButtonBackground: var(--knopf);
  --Outline: 3px solid var(--ink);
  --BackdropBlur: none;
  --link_backdrop: none;
  --Shadow: var(--s2);
  --shadow: var(--s2);
  --HintergrundShadow: var(--s2);
  --text-2: var(--blau-75);
  --ease: cubic-bezier(.2,.7,.2,1);
  --ink: var(--blau);
  --db-rgb: 30 54 95;
  --hb-rgb: 234 239 248;
  --flaeche: #fff;
  --flaeche-rgb: 255 255 255;
  --knopf: var(--blau);
  --knopf-h: var(--verlauf-bh);
  --auf-knopf: #fff;
  --i-kal: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M19 19H5V8H19M16 1V3H8V1H6V3H5C3.89 3 3 3.89 3 5V19A2 2 0 0 0 5 21H19A2 2 0 0 0 21 19V5C21 3.89 20.1 3 19 3H18V1M17 12H12V17H17V12Z'/%3E%3C/svg%3E");
  --i-uhr: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 20A8 8 0 0 0 20 12A8 8 0 0 0 12 4A8 8 0 0 0 4 12A8 8 0 0 0 12 20M12 2A10 10 0 0 1 22 12A10 10 0 0 1 12 22C6.47 22 2 17.5 2 12A10 10 0 0 1 12 2M12.5 7V12.25L17 14.92L16.25 16.15L11 13V7H12.5Z'/%3E%3C/svg%3E");
  --i-ort: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 11.5A2.5 2.5 0 0 1 9.5 9A2.5 2.5 0 0 1 12 6.5A2.5 2.5 0 0 1 14.5 9A2.5 2.5 0 0 1 12 11.5M12 2A7 7 0 0 0 5 9C5 14.25 12 22 12 22C12 22 19 14.25 19 9A7 7 0 0 0 12 2Z'/%3E%3C/svg%3E");
  --i-pfeil: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 11V13H16L10.5 18.5L11.92 19.92L19.84 12L11.92 4.08L10.5 5.5L16 11H4Z'/%3E%3C/svg%3E");
  --i-runter: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7.41 8.58L12 13.17L16.59 8.58L18 10L12 16L6 10L7.41 8.58Z'/%3E%3C/svg%3E");
  --i-weiter: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8.59 16.58L13.17 12L8.59 7.41L10 6L16 12L10 18L8.59 16.58Z'/%3E%3C/svg%3E");
  --dunkelblau: #1e365f;
  --hellblau: #eaeff8;
  --creme: #fff;
  --anthrazit: #131a2c;
  --blau: var(--dunkelblau);
  --blau-75: rgb(var(--db-rgb) / .88);
  --blau-60: rgb(var(--db-rgb) / .6);
  --blau-30: rgb(var(--db-rgb) / .3);
  --blau-10: rgb(var(--db-rgb) / .12);
  --blau-5: rgb(var(--hb-rgb) / .34);
  --hellblau-d: var(--dunkelblau);
  --grund: var(--creme);
  --text: var(--anthrazit);
  --rim: #ffffffb8;
  --glas: linear-gradient(#fff,#fff);
  --glas-stark: linear-gradient(#fff,#fff);
  --glas-hell: linear-gradient(#fff,#fff);
  --blur: none;
  --blur-s: none;
  --btn: var(--dunkelblau);
  --verlauf-bh: var(--btn);
  --s1: 0 0 0 1px rgb(var(--db-rgb)/.18);
  --s2: 0 0 0 1px rgb(var(--db-rgb)/.2),0 2px 2px rgb(var(--db-rgb)/.16);
  --s3: 0 0 0 1px rgb(var(--db-rgb)/.4),0 4px 10px -2px rgb(var(--db-rgb)/.25);
  --Radius: 8px;
  --RadiusHalb: 6px;
  --Dunkler: var(--creme);
  --LeichtesGrau: var(--creme);
  --HintergrundAufHintergrund: #ffffffb3;
  --Rauchglas: rgb(var(--db-rgb) / .9);
  --WeissTransparent: #ffffffeb;
  color-scheme: light;
  --i-suche: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%2314213D' d='M9.5 3A6.5 6.5 0 0 1 16 9.5C16 11.11 15.41 12.59 14.44 13.73L14.71 14H15.5L20.5 19L19 20.5L14 15.5V14.71L13.73 14.44C12.59 15.41 11.11 16 9.5 16A6.5 6.5 0 0 1 3 9.5A6.5 6.5 0 0 1 9.5 3M9.5 5C7 5 5 7 5 9.5C5 12 7 14 9.5 14C12 14 14 12 14 9.5C14 7 12 5 9.5 5Z'/%3E%3C/svg%3E");
}

/* ===== Allgemein ===== */
main {
  --rand: 0px;
}
@media only screen and (width <= 1200px) {
  main {
    --rand: calc(2 * var(--Abstand));
  }
}
@media only screen and (width <= 1199px) {
  html {
    --breite_layout: 100%;
  }
}
html {
  scroll-padding-block: 1rem 5.5rem;
}
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}
body {
  color: var(--text);
  gap: 0;
}
body > main {
  gap: 2.5rem 1.25rem;
  min-width: 0;
  padding-top: 2rem;
  padding-bottom: 2rem;
}

/* ===== Inhalte & Artikel ===== */
main, article.Artikel, .Liste, .ArtikelContainer, main > .Programm, main > section {
  grid-template-columns: repeat(12, minmax(0, 1fr));
}
:where(main, article.Artikel, .Liste, .ArtikelContainer, main > .Programm, main > section) > * {
  grid-column: 1 / -1;
  min-width: 0;
}
:where(main, article.Artikel, .Liste, .ArtikelContainer) > :is(.Button, button) {
  justify-self: start;
}
::selection {
  color: var(--blau);
  background: var(--hellblau);
}
a, a:link, a:visited {
  color: var(--ink);
}
.Text a, .Text a:link, .Text a:visited, .ArtikelContainer p a {
  text-decoration: underline;
  transition: color .2s, text-decoration-thickness .2s;
}
.Text a:hover, .ArtikelContainer p a:hover {
  background: rgb(var(--hb-rgb) / .75);
  border-radius: 4px;
}

/* ===== Allgemein ===== */
h1, h2, h3, h4 {
  color: var(--ink);
  overflow-wrap: break-word;
}
nav a:before {
  content: none;
}
img:not(.icon, .Logo) {
  border-radius: var(--RadiusHalb);
}
.Button, button, input[type="submit"], input[type="button"] {
  min-height: 2.75rem;
  color: var(--auf-knopf);
  background: var(--knopf);
  border-radius: var(--RadiusHalb);
  box-shadow: none;
  border: 0;
  justify-content: center;
  align-items: center;
  gap: .5rem;
  padding: .7rem 1.6rem;
  text-decoration: none;
  transition: background .25s, color .25s, box-shadow .25s;
  display: inline-flex;
  position: relative;
}
a.Button:link, a.Button:visited {
  color: var(--auf-knopf);
}
.Button:hover, button:hover, input[type="submit"]:hover, input[type="button"]:hover {
  background: var(--knopf);
  box-shadow: var(--s1);
}
.Button:active, button:active, input[type="submit"]:active {
  box-shadow: 0 1px 2px rgb(var(--db-rgb) / .2),inset 0 1px 0 #ffffff4d;
}
a.hervorheben {
  min-height: 2.75rem;
  color: var(--ink);
  background: var(--flaeche);
  border: 2px solid var(--ink);
  box-shadow: none;
  justify-content: center;
  align-items: center;
  padding: .6rem 1.6rem;
  text-decoration: none;
  transition: background .25s, color .25s;
  display: inline-flex;
  position: relative;
}
a.hervorheben:hover {
  color: var(--auf-knopf);
  background: var(--knopf);
  box-shadow: none;
}
a.hervorheben:hover span {
  color: #fff;
}

/* ===== Formulare ===== */
:is(input[type="text"], input[type="date"], input[type="time"], input[type="email"], input[type="password"], input[type="search"], input[type="tel"], input[type="number"], input[type="url"], select, textarea) {
  min-height: 2.75rem;
  color: var(--text);
  background-color: rgb(var(--flaeche-rgb) / .72);
  border: 1.5px solid var(--blau-60);
  border-radius: var(--RadiusHalb);
  box-shadow: inset 0 1px 2px rgb(var(--db-rgb) / .1);
  padding: .7rem 1rem;
  transition: border-color .2s, box-shadow .2s;
}
:is(input, select, textarea):hover {
  border-color: var(--blau-75);
}
:is(input, select, textarea):focus {
  border-color: var(--ink);
  box-shadow: inset 0 1px 2px rgb(var(--db-rgb) / .1);
}
:is(input:not([type="checkbox"], [type="radio"]), select, textarea):focus {
  outline-offset: -3px;
}
input[type="checkbox"], input[type="radio"] {
  accent-color: var(--ink);
}
label, legend {
  color: var(--ink);
}
.RadioUndLabel {
  background: rgb(var(--flaeche-rgb) / .6);
  border: 1.5px solid var(--blau-30);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.RadioUndLabel:hover {
  border-color: var(--blau-60);
  box-shadow: var(--s1);
}
.RadioUndLabel:has(input:checked) {
  background: var(--hellblau);
  border-color: var(--blau);
}
.Errorbox, .Achtung, .Fehlermeldung {
  color: var(--anthrazit);
  background: rgb(var(--flaeche-rgb) / .85);
  border: 2px solid var(--anthrazit);
  border-radius: var(--RadiusHalb);
  border-left-width: 8px;
  padding: .85rem 1.1rem;
}
.Text ul, .Text ol {
  padding-left: 1.6rem;
}
.Text li::marker {
  color: var(--hellblau-d);
}

/* ===== Allgemein ===== */
blockquote {
  color: var(--blau-75);
  border-left: 3px solid var(--blau-30);
  margin: 1rem 0;
  padding: .25rem 0 .25rem 1.25rem;
}
figure img {
  border-radius: var(--Radius);
  box-shadow: var(--s1);
}
figcaption {
  color: var(--blau-75);
  background: none;
  padding: .5rem 0 0;
}
figure:has(figcaption) img {
  border-radius: var(--Radius);
}

/* ===== Tabellen ===== */
table.standard, .Tabelle table {
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--rim);
  border-radius: var(--RadiusHalb);
  width: 100%;
  box-shadow: 0 0 0 1px rgb(var(--db-rgb) / .08);
  background: #ffffff80;
  overflow: hidden;
}
table.standard th, .Tabelle th {
  color: var(--ink);
  background: var(--blau-5);
  border-bottom: 1px solid var(--blau-30);
  padding: .7rem 1rem;
}
table.standard td, .Tabelle td {
  border-top: 0;
  border-left: 0;
  border-right: 0;
  border-bottom: 1px solid var(--blau-10);
  padding: .7rem 1rem;
}
table.standard tr:last-child td, .Tabelle tr:last-child td {
  border-bottom: 0;
}
table.standard tbody tr:hover td {
  background: var(--blau-5);
}
details {
  transition: background .3s, box-shadow .3s;
}

/* ===== Barrierefreiheitsleiste ===== */
#barrierefreiheit_leiste {
  padding: 0 max(var(--Abstand),calc((100% - var(--breite_layout)) / 2));
  background: var(--dunkelblau);
  justify-content: flex-start;
  display: flex;
}
#barrierefreiheit_leiste a, #barrierefreiheit_leiste a:link, #barrierefreiheit_leiste a:visited {
  color: #fff;
}
#barrierefreiheit_leiste svg {
  fill: currentColor;
}
#barrierefreiheit_leiste :focus-visible {
  outline-color: var(--hellblau);
  outline-offset: -3px;
  box-shadow: none;
}
#barrierefreiheit_leiste ul {
  gap: 0 var(--AbstandDoppelt);
  flex-wrap: wrap;
}
#barrierefreiheit_leiste li {
  flex: 0 auto;
  min-width: 0;
}
#barrierefreiheit_leiste a {
  align-items: center;
  gap: var(--AbstandHalb);
  min-height: 2.75rem;
  padding: 0;
  text-decoration: none;
  display: flex;
}
#barrierefreiheit_leiste a:hover div {
  text-decoration: underline;
}
#barrierefreiheit_leiste a div {
  display: block;
}
#barrierefreiheit_leiste a span {
  display: flex;
}
#barrierefreiheit_leiste svg {
  width: auto;
  height: 1.5rem;
  padding: 0;
}

/* ===== Kopfbereich & Navigation ===== */
header {
  z-index: 1000;
  isolation: isolate;
  background: none;
  border: 0;
  position: relative;
}
header:before {
  content: "";
  z-index: -1;
  backdrop-filter: var(--blur);
  position: absolute;
  inset: 0;
}
#header {
  padding: .5rem 0;
}
#header_logo img, #header_logo_darkmode img {
  object-fit: contain;
  width: auto;
  max-width: 40vw;
  height: 3.25rem;
}
#header_text, #header_text h3 {
  color: var(--ink);
}
#header_text {
  min-width: 0;
  max-width: 14em;
  margin: 0;
}
#LogoUndText {
  flex-wrap: wrap;
  align-items: center;
  min-width: 0;
  max-width: 100%;
  text-decoration: none;
}
#header nav#header_navi a {
  min-width: 4.25rem;
  color: var(--ink);
  align-items: center;
  padding: .25rem;
  text-decoration: none;
}
#header_navi a span {
  width: 2.75rem;
  height: 2.75rem;
  box-shadow: none;
  background: none;
  border: 0;
  place-items: center;
  display: grid;
}
#header_navi svg {
  width: 1.5rem;
}
#header_navi li.Warenkorb a {
  position: relative;
}
#header_navi a span.WarenkorbAnzahl, #header_navi a:hover span.WarenkorbAnzahl {
  text-align: center;
  color: #fff;
  width: auto;
  min-width: 1.5rem;
  height: auto;
  box-shadow: none;
  background: #a02018;
  border: 2px solid #fff;
  border-radius: 999px;
  padding: 0 .375rem;
  display: block;
  position: absolute;
  top: .1rem;
  left: calc(50% + .3rem);
}
#header_navi li {
  flex: none;
}
@media only screen and (width <= 1199.98px) {
  body:not(.Veranstaltung):not(.Programmbereich) #header nav#header_navi ul {
    grid-template-columns: repeat(auto-fit, minmax(5.5rem, 1fr));
    gap: .5rem;
    display: grid;
  }

  body:not(.Veranstaltung):not(.Programmbereich) #header nav#header_navi li {
    min-width: 0;
  }

  body:not(.Veranstaltung):not(.Programmbereich) #header nav#header_navi :is(a:link, a:visited, a:active) {
    text-align: center;
    background: none;
    flex-direction: column;
    justify-content: flex-start;
    height: 100%;
  }
}
.burger a {
  color: var(--ink);
  text-decoration: none;
}

/* ===== Suche ===== */
#suche #suchformular fieldset {
  gap: var(--Abstand);
  min-width: 0;
  min-inline-size: 0;
  border: 0;
  grid-template-columns: minmax(0, 1fr) auto;
  max-width: none;
  margin: 0;
  padding: 0;
}
#suchbutton.Button {
  min-width: 8.5rem;
  min-height: 3.5rem;
  color: var(--auf-knopf);
  background: var(--knopf);
  border-radius: var(--RadiusHalb);
  box-shadow: none;
  border: 0;
  transition: background .25s, color .25s, box-shadow .25s;
}
#suchbutton.Button:hover {
  color: var(--auf-knopf);
  background: var(--knopf);
  box-shadow: none;
}
#suchbox {
  background: var(--i-suche) no-repeat 1.1rem center / 1.375rem,rgb(var(--flaeche-rgb) / .74);
  border-radius: var(--RadiusHalb);
  min-height: 3.5rem;
  padding: 0 1.25rem 0 3.25rem;
}
#suchbutton {
  width: auto;
  min-height: 3.5rem;
  padding: 0 2.5rem;
  position: relative;
  overflow: hidden;
}
#suche #erweitert {
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 1.25rem 2.5rem;
  min-width: 0;
  margin-top: .25rem;
  display: flex;
}
#suche #erweitert > * {
  backdrop-filter: none;
  background: none;
  border-radius: 0;
  padding: 0;
}
#suche #erweitert > :is(.Tageszeiten, .Wochentage) {
  flex: 0 auto;
  min-width: 0;
}
#suche #erweitert h2 {
  color: var(--blau-75);
  margin: 0 0 .5rem;
  display: block;
}
#suche #erweitert :is(.Tageszeiten, .Wochentage) ul {
  background: var(--flaeche);
  border: 1px solid var(--blau-30);
  border-radius: var(--RadiusHalb);
  flex-wrap: nowrap;
  gap: 0;
  max-width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  display: inline-flex;
  overflow: hidden;
}
#suche #erweitert :is(.Tageszeiten, .Wochentage) li {
  white-space: nowrap;
  background: none;
  border: 0;
  border-radius: 0;
  flex: auto;
  min-width: 0;
  min-height: 0;
  padding: 0;
  display: block;
  position: relative;
}
#suche #erweitert :is(.Tageszeiten, .Wochentage) li + li {
  border-left: 1px solid var(--blau-30);
}
#suche #erweitert :is(.Tageszeiten, .Wochentage) li input {
  opacity: 0;
  pointer-events: none;
  width: 1px;
  height: 1px;
  margin: 0;
  position: absolute;
}
#suche #erweitert :is(.Tageszeiten, .Wochentage) li label {
  min-height: 2.75rem;
  color: var(--ink);
  cursor: pointer;
  justify-content: center;
  align-items: center;
  padding: 0 1rem;
  transition: background-color .2s, color .2s;
  display: flex;
}
#suche #erweitert .Wochentage li label {
  min-width: 2.75rem;
  padding-inline: .7rem;
}
#suche #erweitert :is(.Tageszeiten, .Wochentage) li:not(:has(input:checked)) label:hover {
  background: var(--blau-5);
}
#suche #erweitert :is(.Tageszeiten, .Wochentage) li:has(input:checked) {
  background: var(--knopf);
}
#suche #erweitert :is(.Tageszeiten, .Wochentage) li:has(input:checked) label {
  color: var(--auf-knopf);
}
#suche #erweitert :is(.Tageszeiten, .Wochentage) li:has(input:checked) label:before {
  content: "✓" / "";
  margin-right: .4rem;
}
#suche #erweitert :is(.Tageszeiten, .Wochentage) li:has(input:focus-visible) {
  z-index: 1;
  outline: 3px solid var(--ink);
  outline-offset: 2px;
}
#suche #erweitert > .Orte {
  background: var(--flaeche);
  border: 1px solid var(--blau-10);
  border-radius: var(--RadiusHalb);
  flex: 100%;
  min-width: 0;
}
#suche #erweitert .Orte summary {
  min-height: 2.75rem;
}
#suche #erweitert .Orte ul {
  overscroll-behavior: contain;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 12rem), 1fr));
  gap: 0 1rem;
  max-height: min(45vh, 14rem);
  margin: 0 .5rem .75rem 0;
  padding: .25rem .75rem .25rem 1.5rem;
  list-style: none;
  display: grid;
  overflow-y: auto;
}
#suche #erweitert .Orte li {
  white-space: normal;
  border-top: 0;
  border-left: 0;
  border-right: 0;
  border-bottom: 1px solid var(--blau-10);
  background: none;
  border-radius: 0;
  align-items: center;
  gap: .75rem;
  min-width: 0;
  min-height: 2.375rem;
  padding: 0;
  display: flex;
}
#suche #erweitert .Orte li input {
  flex: none;
  width: 1.25rem;
  height: 1.25rem;
  margin: 0;
}
#suche #erweitert .Orte li label {
  overflow-wrap: anywhere;
  cursor: pointer;
  flex: 1;
  align-self: stretch;
  align-items: center;
  padding: .4rem 0;
  display: flex;
}
@media only screen and (width <= 480px) {
  #suche #erweitert :is(.Tageszeiten, .Wochentage) {
    flex: 100%;
  }

  #suche #erweitert :is(.Tageszeiten, .Wochentage) ul {
    width: 100%;
    display: flex;
  }

  #suche #erweitert .Tageszeiten ul {
    flex-direction: column;
    align-items: stretch;
  }

  #suche #erweitert .Tageszeiten li + li {
    border-left: 0;
    border-top: 1px solid var(--blau-30);
  }

  #suche #erweitert .Wochentage li label {
    min-width: 0;
    padding-inline: 0;
  }

  #suche #erweitert .Wochentage li:has(input:checked) label:before {
    content: none;
  }
}

/* ===== Startseite ===== */
body.Homepage main {
  --band: radial-gradient(38rem 20rem at 100% 105%,rgb(var(--hb-rgb) / .14),transparent 68%),var(--dunkelblau);
  isolation: isolate;
}
body.Homepage main > article.Artikel.Detail {
  isolation: isolate;
  color: #fff;
  box-shadow: none;
  background: none;
  border: 0;
  border-radius: 0;
  grid-column: 1 / -1;
  display: block;
  position: relative;
  overflow: visible;
}
body.Homepage main > article.Artikel.Detail > .HintergrundContainer {
  z-index: -1;
  box-shadow: var(--s3);
  border-radius: 0;
  inset: 0 calc(50% - 50vw);
  background: var(--band) !important;
}
body.Homepage main > article.Artikel.Detail .ArtikelContainer {
  border: 0;
  max-width: none;
}
body.Homepage main > article.Artikel.Detail .ArtikelContainer > * {
  min-width: 0;
  margin: 0;
}
body.Homepage main > article.Artikel.Detail .ArtikelContainer > .Suche {
  order: 3;
}
body.Homepage main > article.Artikel.Detail h1 {
  color: #fff;
  max-width: 20em;
}
body.Homepage main > article.Artikel.Detail .Text :is(p, div), body.Homepage main > article.Artikel.Detail .Text a {
  color: #fff;
}
body.Homepage main > article.Artikel.Detail .Text :focus-visible {
  box-shadow: none;
  outline-color: #fff;
}
body.Homepage main > article.Artikel.Detail .Bild.Detail :is(figure, picture) {
  width: 100%;
  margin: 0;
  display: block;
}
body.Homepage main > article.Artikel.Detail .Bild.Detail img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  width: 100%;
  height: auto;
  box-shadow: var(--s3);
  display: block;
}
@media only screen and (width >= 900px) {
  body.Homepage main > article.Artikel.Detail .ArtikelContainer {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }

  body.Homepage main > article.Artikel.Detail .ArtikelContainer > .Text {
    grid-column: 1 / 8;
  }

  body.Homepage main > article.Artikel.Detail .ArtikelContainer > .Bild.Detail {
    grid-area: 1 / 8 / 3 / -1;
    align-self: center;
  }

  body.Homepage main > article.Artikel.Detail .Bild.Detail img {
    aspect-ratio: 4 / 3;
  }
}
body.Homepage {
  overflow-x: clip;
}
body, body > main {
  align-content: start;
}
body:has( > nav#barrierefreiheit_leiste + header + main + footer) {
  grid-template-rows: auto auto 1fr auto;
  align-content: normal;
}
header {
  padding-block: 0;
}
form, form fieldset {
  box-sizing: border-box;
  min-width: 0;
  max-width: 100%;
}

/* ===== Formulare ===== */
form :is(div, label, p, li, td, th, span) {
  min-width: 0;
}
form :is(input:not([type="checkbox"], [type="radio"], [type="range"], [type="color"]), select, textarea) {
  box-sizing: border-box;
  max-width: 100%;
}
form :is(input, select, textarea, div, table, img)[style*="width"] {
  max-width: 100% !important;
}
form table {
  max-width: 100%;
}
form :is(label, legend, .Hinweis, .Fehler) {
  overflow-wrap: anywhere;
}

/* ===== Programmbereiche ===== */
.Programm.Detail, .Programmbereiche {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr));
  justify-content: stretch;
  align-items: stretch;
  gap: 1.25rem;
  display: grid;
}
.Programm.Detail > .Programmbereich.Teaser, .Programmbereiche > .Programmbereich.Teaser {
  flex: none;
  grid-column: auto;
  width: auto;
  min-width: 0;
  max-width: none;
  margin: 0;
}
.Programm.Detail, .Programmbereiche {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}
main > .Programmbereich.Teaser {
  grid-column: span 12;
}
.Programmbereich.Teaser.ProgrammbereichMitHintergrund, a.Artikel.Teaser.Hintergrund.HintergrundBild.positioniert {
  isolation: isolate;
  border-radius: var(--Radius);
  box-shadow: var(--s2);
  filter: none;
  border: 0;
  position: relative;
  overflow: hidden;
}
.Programmbereich.Teaser.ProgrammbereichMitHintergrund:hover, a.Artikel.Teaser.Hintergrund.HintergrundBild.positioniert:hover {
  box-shadow: var(--s2);
  filter: none;
}
.Teaser.ProgrammbereichMitHintergrund a {
  min-width: 0;
  min-height: 14rem;
  box-shadow: none;
  background: none;
  border-radius: 0;
  align-items: flex-end;
  text-decoration: none;
  display: flex;
}
.Teaser.ProgrammbereichMitHintergrund a > div {
  text-align: left;
  text-overflow: clip;
  white-space: normal;
  background: var(--glas-hell);
  border: 1px solid var(--rim);
  border-radius: calc(var(--Radius) - 8px);
  max-width: none;
  box-shadow: var(--s1);
  backdrop-filter: var(--blur-s);
  flex: 1;
  margin: .75rem;
  padding: .8rem 1.1rem;
  overflow: visible;
}

/* ===== Inhalte & Artikel ===== */
a.Artikel.Teaser.Hintergrund.positioniert {
  align-items: flex-end;
  min-height: 14rem;
  padding: 0;
  text-decoration: none;
  display: flex;
}
a.Artikel.Teaser.breite_12.Hintergrund.positioniert {
  min-height: 16rem;
}
a.Artikel.Teaser.Hintergrund.positioniert > .Inhalt {
  box-shadow: none;
  background: none;
  border: 0;
  border-radius: 0;
  flex: 1;
  align-self: stretch;
  align-items: flex-end;
  margin: 0;
  padding: .75rem;
  display: flex;
}
a.Artikel.Teaser.Hintergrund.HintergrundBild.positioniert > .Inhalt {
  background: linear-gradient(to top,rgb(var(--db-rgb)/.44) 0%,rgb(var(--db-rgb)/.16) 38%,rgb(var(--db-rgb)/0) 70%);
  border-radius: inherit;
  box-shadow: inset 0 1px #ffffff80, inset 0 0 0 1px #fff3;
}
.Teaser.ProgrammbereichMitHintergrund a > div span, a.Artikel.Teaser.Hintergrund.positioniert h2 {
  color: var(--ink);
  text-align: left;
  overflow-wrap: anywhere;
  margin: 0;
}
a.Artikel.Teaser.Hintergrund.positioniert h2 {
  background: var(--glas-hell);
  border: 1px solid var(--rim);
  border-radius: calc(var(--Radius) - 8px);
  max-width: 100%;
  box-shadow: var(--s1);
  backdrop-filter: var(--blur-s);
  flex: 0 auto;
  padding: .55rem .9rem;
}

/* ===== Programmbereiche ===== */
.Teaser.ProgrammbereichMitHintergrund a > div span:after, a.Artikel.Teaser.Hintergrund.positioniert h2:after {
  content: "";
  vertical-align: -.2em;
  width: 1.15em;
  height: 1.15em;
  mask: var(--i-pfeil) center / contain no-repeat;
  opacity: 0;
  background: currentColor;
  margin-left: .5rem;
  display: inline-block;
}
:is(.Teaser.ProgrammbereichMitHintergrund, a.Artikel.Teaser.Hintergrund.positioniert):is(:hover, :focus-within) :is(span, h2):after {
  opacity: 1;
}
.Teaser.ProgrammbereichMitHintergrund a:focus-visible, a.Artikel.Teaser.Hintergrund.positioniert:focus-visible {
  outline-offset: -6px;
  box-shadow: inset 0 0 0 6px var(--dunkelblau);
  outline: 3px solid #fff;
}
@media (hover: none) {
  .Teaser.ProgrammbereichMitHintergrund a > div span:after, a.Artikel.Teaser.Hintergrund.positioniert h2:after {
    opacity: 1;
  }
}
.Programmbereich.Teaser.ProgrammbereichMitHintergrund a {
  align-items: stretch;
  min-height: 15rem;
}
.Programmbereich.Teaser.ProgrammbereichMitHintergrund a > div {
  box-shadow: none;
  backdrop-filter: none;
  background: none;
  border: 0;
  border-radius: 0;
  margin: 0;
  padding: 1.25rem 1.35rem;
  display: flex;
}
.Programmbereich.Teaser.ProgrammbereichMitHintergrund a > div span {
  color: #fff;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
  gap: 1rem;
  display: flex;
}
.Programmbereich.Teaser.ProgrammbereichMitHintergrund a > div span:after {
  opacity: 1;
  background: var(--hellblau);
  width: 2.25rem;
  height: 2.25rem;
  margin: 0;
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .Programmbereich.Teaser.ProgrammbereichMitHintergrund:is(:hover, :focus-within) {
    box-shadow: 0 0 0 3px var(--hellblau),var(--s3);
  }

  .Programmbereich.Teaser.ProgrammbereichMitHintergrund:is(:hover, :focus-within) a > div span:after {
    background: var(--flaeche);
  }
}
@media only screen and (width >= 600px) {
  main > .Programmbereich.Teaser {
    grid-column: span 6;
  }
}
@media only screen and (width >= 900px) {
  .Programm.Detail {
    grid-template-columns: repeat(3, 1fr);
  }

  main > .Programmbereich.Teaser {
    grid-column: span 4;
  }
}

/* ===== Journal & News ===== */
.Journal.Teaser .Inhalt {
  gap: 1.5rem;
}
.JournalVorschauliste {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr));
  gap: 1.5rem;
  display: grid;
}
.JournalVorschauliste a.Journaleintrag.Teaser {
  min-width: 0;
  color: var(--ink);
  border: 1px solid var(--rim);
  border-radius: var(--Radius);
  gap: 0;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}
.JournalVorschauliste a.Journaleintrag figure {
  background: var(--blau-10);
  overflow: hidden;
}
.JournalVorschauliste a.Journaleintrag img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center center;
  width: 100%;
  height: auto;
  max-height: none;
  box-shadow: none;
  border-radius: 0;
}
body.Homepage .Journal.Teaser {
  isolation: isolate;
  padding-block: clamp(2rem, 5vw, 3.5rem);
  position: relative;
}
.JournalVorschauliste a.Journaleintrag.Teaser {
  background: var(--flaeche);
  border-color: var(--blau-10);
  backdrop-filter: none;
  flex-direction: column;
  display: flex;
}
.JournalVorschauliste figure {
  margin: 0;
}
.JournalVorschauliste .Kopf {
  flex-direction: column;
  align-items: flex-start;
  gap: .75rem;
  padding: 1.25rem 1.5rem 1.5rem;
  display: flex;
}
.JournalVorschauliste .Kopf:before {
  content: "Neuigkeit";
  color: var(--blau);
  background: var(--hellblau);
  border-radius: 999px;
  padding: .2rem .7rem;
}
.JournalVorschauliste h3 {
  overflow-wrap: anywhere;
  margin: 0;
  overflow: hidden;
}
.JournalVorschauliste .Kopf:after {
  color: var(--ink);
  margin-top: auto;
  padding-top: .5rem;
}
.JournalVorschauliste a.Journaleintrag, .JournalVorschauliste a.Journaleintrag:hover h3 {
  text-decoration: none;
}
.JournalVorschauliste .Metadaten {
  padding: 0 1.25rem 1.25rem;
}

/* ===== Veranstaltungen ===== */
.Veranstaltungskalender h2 {
  margin-bottom: 1rem;
}
.Veranstaltungskalender {
  width: 100%;
  min-width: 0;
}
.Veranstaltungskalender .Tag {
  align-content: flex-start;
  align-items: stretch;
  gap: .75rem;
  width: 100%;
  max-height: none;
  padding: 0;
  flex-flow: column !important;
  flex: none !important;
  justify-content: flex-start !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 0 1.5rem !important;
  display: flex !important;
}
.Veranstaltungskalender .Tag:last-child {
  margin-bottom: 0 !important;
}
.Veranstaltungskalender .Tag > h3 {
  flex: none;
  width: 100%;
  margin: 0;
}
.Veranstaltungskalender .Tag > ol {
  grid-auto-rows: auto;
  align-content: start;
  width: 100%;
  padding: 0;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
}
.Veranstaltungskalender .Tag > ol > li {
  height: auto;
  min-height: 0;
  margin: 0;
}
.Veranstaltungskalender h3.Flex {
  align-items: baseline;
  gap: .5rem;
}
.Veranstaltungskalender h3.Flex > span + span {
  color: var(--blau-75);
}
.Veranstaltungskalender .Tag > ol {
  flex: none;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, max(27rem, 50% - .625rem)), 1fr));
  align-items: stretch;
  gap: 1.25rem;
  display: grid;
}
ol:has( > .Veranstaltung.Teaser), ul:has( > .Veranstaltung.Teaser) {
  flex: none;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, max(27rem, 50% - .625rem)), 1fr));
  align-items: stretch;
  gap: 1.25rem;
  min-width: 0;
  max-width: 100%;
  display: grid;
}

/* ===== Programmbereiche ===== */
main .BereichInProgrammheft .ProgrammheftInhalt > ul {
  flex: none;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: stretch;
  gap: 1.25rem;
  min-width: 0;
  max-width: 100%;
  display: grid;
}
main .BereichInProgrammheft .ProgrammheftInhalt > ul > li {
  flex: none;
  grid-column: 1 / -1;
  justify-self: stretch;
  width: auto;
  min-width: 0;
  max-width: none;
  margin: 0;
}
main .BereichInProgrammheft .ProgrammheftInhalt > ul > .Veranstaltung.Teaser {
  grid-column: span 4;
}
main .BereichInProgrammheft .ProgrammheftInhalt > ul > li.Programmbereich.Teaser {
  grid-column: span 4;
}
main .BereichInProgrammheft .ProgrammheftInhalt > ul > li.Programmbereich.Teaser > a {
  min-width: 0;
}
main .BereichInProgrammheft .ProgrammheftInhalt > ul > li.Programmbereich.Teaser.ProgrammbereichMitHintergrund {
  width: 100%;
  max-width: none;
  margin: 0;
}
main .BereichInProgrammheft:not(.ManuellSortiert) .ProgrammheftInhalt > ul:after {
  content: "";
  grid-column: 1 / -1;
  height: 0;
}
.Programmheft {
  padding-bottom: 3rem;
}
@media (width <= 56.25em) {
  main .BereichInProgrammheft .ProgrammheftInhalt > ul > .Veranstaltung.Teaser {
    grid-column: 1 / -1;
  }

  main .BereichInProgrammheft .ProgrammheftInhalt > ul > li.Programmbereich.Teaser {
    grid-column: span 6;
  }
}
@media (width <= 32.5em) {
  main .BereichInProgrammheft .ProgrammheftInhalt > ul > li.Programmbereich.Teaser {
    grid-column: 1 / -1;
  }
}

/* ===== Warenkorb ===== */
.Veranstaltung.Teaser, .WarenkorbGrid .Veranstaltung.Teaser {
  border-radius: var(--Radius);
  min-width: 0;
  backdrop-filter: var(--blur-s);
  flex-direction: row;
  gap: 0;
  display: flex;
  position: relative;
  overflow: hidden;
}
.Veranstaltung.Teaser > a, .WarenkorbGrid .Veranstaltung.Teaser > a {
  min-width: 0;
  color: inherit;
  flex: 100%;
  text-decoration: none;
  display: flex;
}
.Veranstaltung.Teaser > a:focus-visible, .WarenkorbGrid .Veranstaltung.Teaser > a:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: -3px;
  box-shadow: inset 0 0 0 6px #fff;
}
.Veranstaltung.Teaser > a > .Inhalt, .WarenkorbGrid .Veranstaltung.Teaser > a > .Inhalt {
  background: none;
  flex-flow: row;
  flex: 1;
  justify-content: flex-start;
  align-items: stretch;
  gap: 0;
  min-width: 0;
  padding: 0;
  display: flex;
}
.Veranstaltung.Teaser > a > .Inhalt > picture.Thumbnail, .WarenkorbGrid .Veranstaltung.Teaser > a > .Inhalt > picture.Thumbnail {
  background: var(--blau-10);
  border-radius: calc(var(--Radius) - .5rem);
  flex: none;
  align-self: stretch;
  width: 9rem;
  height: 9rem;
  min-height: 0;
  margin: .5rem;
  padding: 0;
  display: block;
  position: relative;
  overflow: hidden;
}
.Veranstaltung.Teaser > a > .Inhalt > picture.Thumbnail > img.Bild, .WarenkorbGrid .Veranstaltung.Teaser > a > .Inhalt > picture.Thumbnail > img.Bild {
  object-fit: cover;
  object-position: 50% 30%;
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  box-shadow: none;
  background: none;
  border-radius: 0;
  margin: 0;
  position: absolute;
  inset: 0;
}
.Veranstaltung.Teaser > a > .Inhalt > picture.Thumbnail > img:is(.Logo, .Grafik, [src$=".png" i], [src$=".svg" i]), .WarenkorbGrid .Veranstaltung.Teaser > a > .Inhalt > picture.Thumbnail > img:is(.Logo, .Grafik, [src$=".png" i], [src$=".svg" i]) {
  object-fit: contain;
  background: var(--flaeche);
  padding: .75rem;
}
.Veranstaltung.Teaser.KeineFreienPlaetze > a > .Inhalt > picture.Thumbnail > img, .WarenkorbGrid .Veranstaltung.Teaser.KeineFreienPlaetze > a > .Inhalt > picture.Thumbnail > img {
  filter: grayscale(.9);
  opacity: .85;
}
.Veranstaltung.Teaser .VeranstaltungTeaserInhalt, .WarenkorbGrid .Veranstaltung.Teaser .VeranstaltungTeaserInhalt {
  flex-flow: column;
  flex: 1;
  justify-content: flex-start;
  gap: .4rem;
  min-width: 0;
  padding: 1.1rem 1.25rem;
  display: flex;
}
.Veranstaltung.Teaser > a > .Inhalt > .VeranstaltungTeaserInhalt > .Titel, .WarenkorbGrid .Veranstaltung.Teaser > a > .Inhalt > .VeranstaltungTeaserInhalt > .Titel {
  text-align: left;
  flex-direction: column;
  flex: none;
  grid-column: auto;
  justify-content: flex-start;
  align-items: flex-start;
  gap: .1rem;
  margin: 0;
  display: flex;
}
.Veranstaltung.Teaser .Name, .WarenkorbGrid .Veranstaltung.Teaser .Name {
  color: var(--ink);
  text-overflow: clip;
  overflow-wrap: anywhere;
  overflow: visible;
}
.Veranstaltung.Teaser .Inhalt .Nummer, .WarenkorbGrid .Veranstaltung.Teaser .Inhalt .Nummer {
  color: var(--blau-75);
  flex-grow: 0;
  order: 1;
}
.Veranstaltung.Teaser .Inhalt .Nummer:before, .WarenkorbGrid .Veranstaltung.Teaser .Inhalt .Nummer:before {
  content: "Kursnr. ";
}
.Veranstaltung.Teaser .Inhalt .Nummer:after, .WarenkorbGrid .Veranstaltung.Teaser .Inhalt .Nummer:after {
  content: none;
}
.Veranstaltung.Teaser .Inhalt .Untertitel, .WarenkorbGrid .Veranstaltung.Teaser .Inhalt .Untertitel {
  color: var(--blau-75);
  order: 1;
  grid-column: auto;
}
.Veranstaltung.Teaser .Inhalt .Zeit, .WarenkorbGrid .Veranstaltung.Teaser .Inhalt .Zeit {
  text-align: left;
  order: 2;
  grid-column: auto;
  margin: .15rem 0 0;
  display: block;
}
.Veranstaltung.Teaser .Inhalt .Ort, .WarenkorbGrid .Veranstaltung.Teaser .Inhalt .Ort {
  text-align: left;
  order: 3;
  grid-column: auto;
  justify-content: flex-start;
  display: flex;
  overflow: visible;
}
.Veranstaltung.Teaser .Zeit > span, .WarenkorbGrid .Veranstaltung.Teaser .Zeit > span {
  display: block;
}
.Veranstaltung.Teaser .AnzahlTermine, .WarenkorbGrid .Veranstaltung.Teaser .AnzahlTermine {
  margin-right: .5rem;
}
.Veranstaltung.Teaser .Uhrzeit, .WarenkorbGrid .Veranstaltung.Teaser .Uhrzeit {
  display: inline-block;
}
.Veranstaltung.Teaser .Ort > div:empty, .WarenkorbGrid .Veranstaltung.Teaser .Ort > div:empty {
  display: none;
}
.Veranstaltung.Teaser :is(.Datum, .Uhrzeit, .Ort > div:not(:empty)):before, .WarenkorbGrid .Veranstaltung.Teaser :is(.Datum, .Uhrzeit, .Ort > div:not(:empty)):before {
  content: "";
  vertical-align: -.2em;
  background: var(--blau-75);
  width: 1.05rem;
  height: 1.05rem;
  mask: var(--m) center / contain no-repeat;
  margin-right: .4rem;
  display: inline-block;
}
.Veranstaltung.Teaser .Datum:before, .WarenkorbGrid .Veranstaltung.Teaser .Datum:before {
  --m: var(--i-kal);
}
.Veranstaltung.Teaser .Uhrzeit:before, .WarenkorbGrid .Veranstaltung.Teaser .Uhrzeit:before {
  --m: var(--i-uhr);
}
.Veranstaltung.Teaser .Ort > div:before, .WarenkorbGrid .Veranstaltung.Teaser .Ort > div:before {
  --m: var(--i-ort);
}
.Veranstaltung.Teaser .neu_teaser:before, .Veranstaltung.Teaser .neu_teaser:after, .WarenkorbGrid .Veranstaltung.Teaser .neu_teaser:before, .WarenkorbGrid .Veranstaltung.Teaser .neu_teaser:after {
  content: none;
}
.Veranstaltung.Teaser .neu_teaser, .WarenkorbGrid .Veranstaltung.Teaser .neu_teaser {
  color: #fff;
  background: var(--dunkelblau);
  box-shadow: none;
  border: 0;
  border-radius: 999px;
  order: -1;
  margin: 0 0 .3rem;
  padding: .15rem .7rem;
  position: static;
}
.Veranstaltung.Teaser .Inhalt .Ampelanzeige, .WarenkorbGrid .Veranstaltung.Teaser .Inhalt .Ampelanzeige {
  text-align: left;
  order: 4;
  grid-area: auto;
  align-items: center;
  min-height: 2.75rem;
  margin-top: auto;
  padding-right: 3.5rem;
  display: flex;
}
.Veranstaltung.Teaser .Ampelanzeige > div, .WarenkorbGrid .Veranstaltung.Teaser .Ampelanzeige > div {
  display: flex;
}
.Veranstaltung.Teaser .Ampelanzeige span[title], .WarenkorbGrid .Veranstaltung.Teaser .Ampelanzeige span[title], .Ampelbar span[title] {
  color: #fff;
  background: #2e7d32;
  border: 1px solid #2e7d32;
  border-radius: 999px;
  align-items: center;
  gap: .5rem;
  padding: .2rem .9rem .2rem .7rem;
  display: inline-flex;
}
.Veranstaltung.Teaser .Ampelanzeige span[title]:before, .WarenkorbGrid .Veranstaltung.Teaser .Ampelanzeige span[title]:before, .Ampelbar span[title]:before {
  content: "";
  background: var(--flaeche);
  border-radius: 50%;
  flex: none;
  width: .6rem;
  height: .6rem;
}
.Veranstaltung.Teaser .Ampelanzeige span[title]:after, .WarenkorbGrid .Veranstaltung.Teaser .Ampelanzeige span[title]:after, .Ampelbar span[title]:after {
  content: attr(title) / "";
}
.Veranstaltung.Teaser .Ampelanzeige span[title] img, .WarenkorbGrid .Veranstaltung.Teaser .Ampelanzeige span[title] img, .Ampelbar span[title] img {
  clip-path: inset(50%);
  width: 1px;
  height: 1px;
  position: absolute;
  overflow: hidden;
}
.Veranstaltung.Teaser .Ampelanzeige span[title^="keine"]:after, .WarenkorbGrid .Veranstaltung.Teaser .Ampelanzeige span[title^="keine"]:after, .Ampelbar span[title^="keine"]:after {
  content: "Ausgebucht" / "";
}
.Veranstaltung.Teaser .Ampelanzeige span[title^="noch"], .WarenkorbGrid .Veranstaltung.Teaser .Ampelanzeige span[title^="noch"], .Ampelbar span[title^="noch"] {
  color: #14213d;
  background: #f2b705;
  border-color: #f2b705;
}
.Veranstaltung.Teaser .Ampelanzeige span[title^="noch"]:before, .WarenkorbGrid .Veranstaltung.Teaser .Ampelanzeige span[title^="noch"]:before, .Ampelbar span[title^="noch"]:before {
  background: linear-gradient(90deg, #14213d 50%, #0000 50%);
  box-shadow: inset 0 0 0 1.5px #14213d;
}
.Veranstaltung.Teaser .Ampelanzeige span[title^="keine"], .WarenkorbGrid .Veranstaltung.Teaser .Ampelanzeige span[title^="keine"], .Ampelbar span[title^="keine"] {
  color: #fff;
  background: #b3261e;
  border-color: #b3261e;
}
.Veranstaltung.Teaser .Ampelanzeige span[title^="keine"]:before, .WarenkorbGrid .Veranstaltung.Teaser .Ampelanzeige span[title^="keine"]:before, .Ampelbar span[title^="keine"]:before {
  background: none;
  box-shadow: inset 0 0 0 2px #fff;
}
.Veranstaltung.Teaser .merkenInTeaser, .WarenkorbGrid .Veranstaltung.Teaser .merkenInTeaser {
  z-index: 2;
  padding: 0;
  position: absolute;
  bottom: 1.1rem;
  right: 1.1rem;
}
.Veranstaltung.Teaser .merkenInTeaser a.Anmeldelink, .WarenkorbGrid .Veranstaltung.Teaser .merkenInTeaser a.Anmeldelink {
  width: 2.75rem;
  height: 2.75rem;
  min-height: 0;
  color: var(--ink);
  background: var(--flaeche);
  border: 2px solid var(--ink);
  box-shadow: none;
  border-radius: 50%;
  place-items: center;
  padding: 0;
  transition: background .25s, color .25s, border-color .25s;
  display: grid;
}
.Veranstaltung.Teaser .merkenInTeaser a.Anmeldelink:hover, .WarenkorbGrid .Veranstaltung.Teaser .merkenInTeaser a.Anmeldelink:hover {
  color: var(--auf-knopf);
  background: var(--knopf);
  border-color: var(--ink);
  box-shadow: none;
}
.Veranstaltung.Teaser .merkenInTeaser svg, .WarenkorbGrid .Veranstaltung.Teaser .merkenInTeaser svg {
  width: 1.375rem;
  height: 1.375rem;
}
.Veranstaltung.Teaser, .WarenkorbGrid .Veranstaltung.Teaser {
  flex-wrap: wrap;
}
.Veranstaltung.Teaser .merkenInTeaser:has(strong), .WarenkorbGrid .Veranstaltung.Teaser .merkenInTeaser:has(strong) {
  border-top: 1px solid var(--blau-10);
  flex: 0 0 100%;
  padding: .65rem 1.1rem;
  position: static;
}
.Veranstaltung.Teaser .merkenInTeaser:has(strong) .cmx_ajaxcontainer, .WarenkorbGrid .Veranstaltung.Teaser .merkenInTeaser:has(strong) .cmx_ajaxcontainer {
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: .5rem 1rem;
  display: flex;
}
.Veranstaltung.Teaser .merkenInTeaser strong, .WarenkorbGrid .Veranstaltung.Teaser .merkenInTeaser strong {
  color: var(--ink);
  order: -1;
  align-items: center;
  gap: .4rem;
  display: inline-flex;
}
.Veranstaltung.Teaser .merkenInTeaser strong:before, .WarenkorbGrid .Veranstaltung.Teaser .merkenInTeaser strong:before {
  content: "✓" / "";
}
.Veranstaltung.Teaser .merkenInTeaser strong br, .WarenkorbGrid .Veranstaltung.Teaser .merkenInTeaser strong br {
  display: none;
}
.Veranstaltung.Teaser .merkenInTeaser a.Anmeldelink:not(:has(svg)), .WarenkorbGrid .Veranstaltung.Teaser .merkenInTeaser a.Anmeldelink:not(:has(svg)) {
  width: auto;
  height: auto;
  min-height: 2.75rem;
  color: var(--auf-knopf);
  background: var(--knopf);
  border-radius: var(--RadiusHalb);
  box-shadow: none;
  border: 0;
  padding: .5rem 1.25rem;
  transition: background .25s, color .25s, box-shadow .25s;
  display: inline-flex;
}
.Veranstaltung.Teaser .merkenInTeaser a.Anmeldelink:not(:has(svg)):hover, .WarenkorbGrid .Veranstaltung.Teaser .merkenInTeaser a.Anmeldelink:not(:has(svg)):hover {
  color: var(--blau);
  background: var(--hellblau);
  box-shadow: inset 0 0 0 2px var(--ink);
}
@media only screen and (width <= 575px) {
  .Veranstaltung.Teaser > a > .Inhalt, .WarenkorbGrid .Veranstaltung.Teaser > a > .Inhalt {
    grid-template-columns: 5.5rem minmax(0, 1fr);
    align-content: start;
    align-items: start;
    gap: .4rem 1rem;
    padding: 1rem;
    display: grid;
  }

  .Veranstaltung.Teaser > a > .Inhalt > picture.Thumbnail, .WarenkorbGrid .Veranstaltung.Teaser > a > .Inhalt > picture.Thumbnail {
    border-radius: var(--RadiusHalb);
    flex: none;
    grid-area: 1 / 1;
    width: 5.5rem;
    height: 5.5rem;
    min-height: 0;
    margin: 0;
  }

  .Veranstaltung.Teaser .VeranstaltungTeaserInhalt, .WarenkorbGrid .Veranstaltung.Teaser .VeranstaltungTeaserInhalt {
    display: contents;
  }

  .Veranstaltung.Teaser > a > .Inhalt > .VeranstaltungTeaserInhalt > .Titel, .WarenkorbGrid .Veranstaltung.Teaser > a > .Inhalt > .VeranstaltungTeaserInhalt > .Titel {
    grid-area: 1 / 2;
    align-self: start;
  }

  .Veranstaltung.Teaser .Inhalt :is(.Untertitel, .Zeit, .Ort, .Ampelanzeige), .WarenkorbGrid .Veranstaltung.Teaser .Inhalt :is(.Untertitel, .Zeit, .Ort, .Ampelanzeige) {
    grid-column: 1 / -1;
  }

  .Veranstaltung.Teaser .Inhalt .Ampelanzeige, .WarenkorbGrid .Veranstaltung.Teaser .Inhalt .Ampelanzeige {
    margin-top: .15rem;
  }
}
@media only screen and (width <= 380px) {
  .Veranstaltung.Teaser > a > .Inhalt, .WarenkorbGrid .Veranstaltung.Teaser > a > .Inhalt {
    grid-template-columns: 4.5rem minmax(0, 1fr);
    gap: .4rem .85rem;
  }

  .Veranstaltung.Teaser > a > .Inhalt > picture.Thumbnail, .WarenkorbGrid .Veranstaltung.Teaser > a > .Inhalt > picture.Thumbnail {
    width: 4.5rem;
    height: 4.5rem;
  }
}
.Flex.WarenkorbListe {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, max(30rem, 50% - .625rem)), 1fr));
  grid-auto-rows: 1fr;
  align-items: stretch;
  gap: 1.25rem;
  display: grid;
}
.WarenkorbListe > * {
  grid-column: auto;
  min-width: 0;
}
.WarenkorbListe > .cmx_ajaxcontainer, .WarenkorbListe > .cmx_ajaxcontainer > .cmx_ajaxcontainer, .WarenkorbListe .merken {
  flex-direction: column;
  flex: auto;
  margin: 0;
  display: flex;
}
.WarenkorbListe .WarenkorbGrid {
  flex: auto;
}
.WarenkorbListe .WarenkorbAnmeldung, .WarenkorbListe .Anmeldung.Teaser {
  flex-direction: column;
  flex: auto;
  display: flex;
}
.WarenkorbListe .Spaltenanzahl_2 {
  flex: auto;
  align-content: start;
}
main > .Weitermeldungen:empty {
  position: absolute;
}
body:has(#einkaufsposition_zu_anmeldung) footer {
  margin-top: 1.5rem;
}
.WarenkorbGrid {
  gap: .75rem;
  padding: 1rem;
}
.WarenkorbGrid .Anmeldung.Teaser {
  box-shadow: none;
  backdrop-filter: none;
  background: none;
  border: 0;
  gap: .75rem;
  padding: 0;
}
.WarenkorbGrid .Spaltenanzahl_2 {
  border-radius: var(--RadiusHalb);
  grid-template-columns: max-content minmax(0, 1fr);
  gap: .4rem 1.5rem;
  padding: 1rem;
  display: grid;
}
.WarenkorbGrid .Spaltenanzahl_2 > div {
  margin: 0;
  padding: 0;
}
.WarenkorbGrid .Spaltenanzahl_2 label {
  color: var(--ink);
}
.WarenkorbGrid .Spaltenanzahl_2 > div[style*="nowrap"] {
  border-top: 1px solid var(--blau-10);
  grid-column: 1 / -1;
  margin-top: .4rem;
}
.WarenkorbGrid .Spaltenanzahl_2 .Ansprechpartner {
  grid-column: 1 / -1;
  margin: 0;
}
.WarenkorbGrid .Ansprechpartner a {
  color: var(--ink);
  align-items: center;
  min-height: 2.75rem;
  margin-block: -.5rem;
  text-decoration: underline;
  display: inline-flex;
}
.WarenkorbGrid .Ansprechpartner table {
  border-collapse: collapse;
  margin: .25rem 0 0;
}
.WarenkorbGrid .Ansprechpartner td {
  vertical-align: baseline;
}
.WarenkorbGrid .Spaltenanzahl_2 td label:after {
  content: none;
}
.WarenkorbGrid .Spaltenanzahl_2 > div[style*="nowrap"] {
  padding-top: .9rem;
}
.WarenkorbGrid .Spaltenanzahl_2 .Ansprechpartner {
  background: var(--glas-stark);
  border: 1px solid var(--blau-10);
  border-radius: var(--Radius);
  box-shadow: var(--s1);
  flex-direction: column;
  align-items: flex-start;
  gap: .5rem;
  padding: 1.25rem;
  transition: box-shadow .3s;
  display: flex;
}
.WarenkorbGrid .Spaltenanzahl_2 .Ansprechpartner:hover {
  box-shadow: var(--s2);
}
.WarenkorbGrid .Ansprechpartner > a {
  margin: 0;
  text-decoration: none;
}
.WarenkorbGrid .Spaltenanzahl_2 .Ansprechpartner {
  backdrop-filter: var(--blur-s);
  border-color: var(--rim);
}
.WarenkorbGrid .Ansprechpartner > a:hover {
  text-decoration: underline;
}
.WarenkorbGrid .Ansprechpartner :is(table, tbody) {
  flex-wrap: wrap;
  gap: .5rem;
  margin: 0;
  display: flex;
}
.WarenkorbGrid .Ansprechpartner tr {
  display: block;
}
.WarenkorbGrid .Ansprechpartner td {
  padding: 0;
  display: block;
}
.WarenkorbGrid .Ansprechpartner td:has( > label), .WarenkorbGrid .Ansprechpartner td:not(:has(a)) {
  display: none;
}
.WarenkorbGrid .Ansprechpartner td a {
  overflow-wrap: anywhere;
  background: var(--blau-5);
  border-radius: 999px;
  gap: .5rem;
  min-height: 2.75rem;
  margin: 0;
  padding: .35rem 1rem .35rem .85rem;
  text-decoration: none;
}
.WarenkorbGrid .Ansprechpartner td a:hover {
  background: var(--hellblau);
  text-decoration: none;
}
.WarenkorbGrid .Ansprechpartner td a:empty {
  display: none;
}
.WarenkorbGrid .Ansprechpartner td a:before {
  content: "";
  background: currentColor;
  flex: none;
  width: 1.125rem;
  height: 1.125rem;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15 15 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.25 11.4 11.4 0 0 0 3.6.57 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.57 3.57a1 1 0 0 1-.25 1z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.WarenkorbGrid .Ansprechpartner td a.eMailadresseLink:before {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 4H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2zm0 4-8 5-8-5V6l8 5 8-5z'/%3E%3C/svg%3E");
}
.WarenkorbGrid > div:has( > a.entfernen) {
  justify-content: flex-end;
  margin-top: auto;
  display: flex;
}
.WarenkorbGrid a.entfernen.Button {
  min-height: 2.75rem;
  color: var(--ink);
  background: var(--flaeche);
  border: 2px solid var(--ink);
  border-radius: var(--RadiusHalb);
  box-shadow: none;
  flex: none;
  align-items: center;
  gap: .5rem;
  padding: .5rem 1.1rem;
  text-decoration: none;
  transition: background .25s, color .25s;
  display: inline-flex;
}
.WarenkorbGrid a.entfernen.Button:before {
  content: "";
  background: currentColor;
  flex: none;
  width: 1.2rem;
  height: 1.2rem;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M19 4h-3.5l-1-1h-5l-1 1H5v2h14V4zM6 19a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V7H6v12z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.WarenkorbGrid a.entfernen.Button:hover {
  color: var(--auf-knopf);
  background: var(--knopf);
}
html:has(#einkaufsposition_zu_anmeldung) {
  scroll-padding-bottom: 6rem;
}
#einkaufsposition_zu_anmeldung {
  z-index: 20;
  background: rgb(var(--flaeche-rgb) / .96);
  border: 1px solid var(--blau-10);
  border-radius: var(--Radius);
  width: fit-content;
  box-shadow: var(--s2);
  margin: 1rem 0 0 auto;
  padding: .5rem;
  position: sticky;
  bottom: .75rem;
}

/* ===== Allgemein ===== */
a.benutzerfuehrung, .benutzerfuehrung a {
  width: auto;
  max-width: 100%;
  min-height: 3rem;
  color: var(--auf-knopf);
  background: var(--knopf);
  border-radius: var(--RadiusHalb);
  box-shadow: none;
  justify-content: center;
  align-items: center;
  gap: .6rem;
  padding: .75rem 1.5rem;
  text-decoration: none;
  transition: background .25s, color .25s;
  display: inline-flex;
}
a.benutzerfuehrung:after, .benutzerfuehrung a:after {
  content: "";
  width: 1.25rem;
  height: 1.25rem;
  mask: var(--i-weiter) center / contain no-repeat;
  background: currentColor;
  flex: none;
}
a.benutzerfuehrung:hover, .benutzerfuehrung a:hover {
  color: var(--blau);
  background: var(--hellblau);
  box-shadow: inset 0 0 0 2px var(--ink);
}

/* ===== Mein Kontakt ===== */
.MeinKontakt.Flex.Spalte:has( > h1) {
  background: var(--flaeche);
  border: 1px solid var(--blau-10);
  border-radius: var(--Radius);
  box-shadow: var(--s2);
  gap: 1rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  display: grid;
}
.MeinKontakt > h1 {
  grid-column: 1 / -1;
  margin: 0 0 .25rem;
}
.MeinKontakt > :is(.Channels:has(ul:empty), div:empty) {
  display: none;
}

/* ===== Veranstaltungen ===== */
.MeinKontakt > .MeineVeranstaltungen:has(.Anmeldung) {
  grid-column: 1 / -1;
}
.MeinKontakt :is(a.profillink, a.meineVeranstaltungenLink) {
  border-radius: var(--RadiusHalb);
  min-height: 3.25rem;
  color: var(--ink);
  border: 2px solid var(--ink);
  background: none;
  justify-content: space-between;
  align-items: center;
  gap: .75rem;
  padding: .75rem 1.25rem;
  text-decoration: none;
  transition: background-color .25s, border-color .25s, color .25s;
  display: flex;
}
.MeinKontakt :is(a.profillink, a.meineVeranstaltungenLink):after {
  content: "";
  width: 1.25rem;
  height: 1.25rem;
  mask: var(--i-weiter) center / contain no-repeat;
  background: currentColor;
  flex: none;
}
.MeinKontakt :is(a.profillink, a.meineVeranstaltungenLink):hover {
  background: var(--hellblau);
}
.MeinKontakt.Flex.Spalte:has( > h1) {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  align-items: stretch;
}
.MeinKontakt:has( > h1) > :is(div:has( > a.profillink), .MeineVeranstaltungen:not(:has(.Anmeldung)), #meineVertraege) {
  flex-direction: column;
  display: flex;
}
.MeinKontakt:has( > h1) :is(.MeineVeranstaltungenLink, #meineVertraege div, #meineVertraege .cmx_ajaxcontainer) {
  display: contents;
}
.MeinKontakt:has( > h1) > :is(div:has( > a.profillink), .MeineVeranstaltungen, #meineVertraege) a {
  flex: 1;
}

/* ===== Mein Kontakt ===== */
.MeinKontakt:has( > h1) #meineVertraege a {
  min-height: 3.25rem;
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: var(--RadiusHalb);
  background: none;
  justify-content: space-between;
  align-items: center;
  gap: .75rem;
  padding: .75rem 1.25rem;
  text-decoration: none;
  transition: background-color .25s, border-color .25s;
  display: flex;
}
.MeinKontakt:has( > h1) #meineVertraege a:after {
  content: "";
  width: 1.25rem;
  height: 1.25rem;
  mask: var(--i-weiter) center / contain no-repeat;
  background: currentColor;
  flex: none;
}
.MeinKontakt:has( > h1) #meineVertraege a:hover {
  background: var(--hellblau);
}
.MeinKontakt:has( > h1) > .Channels {
  border-top: 1px solid var(--blau-10);
  grid-column: 1 / -1;
  padding-top: 1.25rem;
}
.MeinKontakt:has( > h1) .Channels > div {
  gap: .75rem;
}
.MeinKontakt:has( > h1) .Channels h2 {
  margin: 0;
}
.MeinKontakt:has( > h1) .Channels ul {
  flex-wrap: wrap;
  gap: .5rem;
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
}
.MeinKontakt:has( > h1) .Channels li a {
  min-height: 2.75rem;
  color: var(--ink);
  background: var(--blau-5);
  border: 1px solid var(--blau-10);
  border-radius: 999px;
  align-items: center;
  padding: .5rem 1.1rem;
  text-decoration: none;
  transition: background-color .25s;
  display: inline-flex;
}
.MeinKontakt:has( > h1) .Channels li a:hover {
  background: var(--hellblau);
}

/* ===== Suche ===== */
:is(body:has(.MeinKontakt) main > .Applikationsreferenz.Suche, :is(.Mitarbeiter, .Honorarkraft, .Geschaeftsstelle, .Vhs, .Organisation) ~ .Applikationsreferenz.Suche) #suche {
  box-shadow: none;
  backdrop-filter: none;
  background: none;
  border: 0;
  padding: 0;
}
:is(body:has(.MeinKontakt) .Suche, :is(.Mitarbeiter, .Honorarkraft, .Geschaeftsstelle, .Vhs, .Organisation) ~ .Suche, body.Suche) .ergebnis :is(.Monat:not(:has(h2)):has( > div > div:empty), .Monat:empty) {
  display: none;
}
:is(body:has(.MeinKontakt) .Suche, :is(.Mitarbeiter, .Honorarkraft, .Geschaeftsstelle, .Vhs, .Organisation) ~ .Suche, body.Suche) .ergebnis h2 {
  margin: 0;
}
:is(body:has(.MeinKontakt) .Suche, :is(.Mitarbeiter, .Honorarkraft, .Geschaeftsstelle, .Vhs, .Organisation) ~ .Suche, body.Suche) .ergebnis ul {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, max(24rem, 50% - .625rem)), 1fr));
  gap: 1.25rem;
  margin: 0;
  list-style: none;
  display: grid;
  padding: 0 !important;
}
/* ===== Kontakte ===== */
:is(.Mitarbeiter, .Honorarkraft, .Geschaeftsstelle, .Vhs, .Organisation) article.Artikel .ArtikelContainer {
  row-gap: 0;
}
:is(.Mitarbeiter, .Honorarkraft, .Geschaeftsstelle, .Vhs, .Organisation) article.Artikel .Text.h2 > div {
  max-width: 60rem;
}
:is(.Mitarbeiter, .Honorarkraft, .Geschaeftsstelle, .Vhs, .Organisation) article.Artikel .Text h2 {
  margin: 1.5rem 0 .5rem;
}
:is(.Mitarbeiter, .Honorarkraft, .Geschaeftsstelle, .Vhs, .Organisation) article.Artikel .Text p {
  margin: 0 0 .75rem;
}

/* ===== Suche ===== */
:is(:is(.Mitarbeiter, .Honorarkraft, .Geschaeftsstelle, .Vhs, .Organisation) ~ .Suche, body.Suche) .ergebnis div:is(.Monat, .Flex.Spalte) {
  flex-direction: column;
  gap: 1rem;
  min-width: 0;
  display: flex;
}
:is(:is(.Mitarbeiter, .Honorarkraft, .Geschaeftsstelle, .Vhs, .Organisation) ~ .Suche, body.Suche) .ergebnis :is(.Monat, .Flex.Spalte):has( > h2) .Monat {
  margin-top: 1rem;
}
:is(:is(.Mitarbeiter, .Honorarkraft, .Geschaeftsstelle, .Vhs, .Organisation) ~ .Suche, body.Suche) .ergebnis .Monat > div:not([class]), :is(:is(.Mitarbeiter, .Honorarkraft, .Geschaeftsstelle, .Vhs, .Organisation) ~ .Suche, body.Suche) .ergebnis .Monat > div:not([class]) > div:not([class]), :is(:is(.Mitarbeiter, .Honorarkraft, .Geschaeftsstelle, .Vhs, .Organisation) ~ .Suche, body.Suche) .ergebnis .Monat.Monat:not(:has( > h2)) {
  display: contents;
}
:is(:is(.Mitarbeiter, .Honorarkraft, .Geschaeftsstelle, .Vhs, .Organisation) ~ .Suche, body.Suche) .ergebnis .Monat > div:not([class]):has( > div:empty:only-child), :is(:is(.Mitarbeiter, .Honorarkraft, .Geschaeftsstelle, .Vhs, .Organisation) ~ .Suche, body.Suche) .ergebnis .Monat > div:not([class]) > div:empty {
  display: none;
}
:is(:is(.Mitarbeiter, .Honorarkraft, .Geschaeftsstelle, .Vhs, .Organisation) ~ .Suche, body.Suche) .ergebnis h2 {
  margin: 0;
}
:is(:is(.Mitarbeiter, .Honorarkraft, .Geschaeftsstelle, .Vhs, .Organisation) ~ .Suche, body.Suche) .ergebnis .begonnene_umschalten h2 {
  margin-top: .5rem;
}
:is(:is(.Mitarbeiter, .Honorarkraft, .Geschaeftsstelle, .Vhs, .Organisation) ~ .Suche, body.Suche) .ergebnis #begonnene h2 {
  color: var(--blau-75);
}
:is(:is(.Mitarbeiter, .Honorarkraft, .Geschaeftsstelle, .Vhs, .Organisation) ~ .Suche, body.Suche) .ergebnis .Monat > .cmx_ajaxcontainer:empty {
  display: none;
}
:is(:is(.Mitarbeiter, .Honorarkraft, .Geschaeftsstelle, .Vhs, .Organisation) ~ .Suche, body.Suche) .ergebnis :is(.Monat > span, h2 + ul ~ span) {
  color: var(--blau-75);
}
:is(:is(.Mitarbeiter, .Honorarkraft, .Geschaeftsstelle, .Vhs, .Organisation) ~ .Suche, body.Suche) .ergebnis p:has( > a[role="button"]) {
  margin: 0;
}
:is(:is(.Mitarbeiter, .Honorarkraft, .Geschaeftsstelle, .Vhs, .Organisation) ~ .Suche, body.Suche) .ergebnis .Monat > span {
  margin-top: .5rem;
}
:is(:is(.Mitarbeiter, .Honorarkraft, .Geschaeftsstelle, .Vhs, .Organisation) ~ .Suche, body.Suche) .ergebnis p > a[role="button"] {
  min-height: 2.75rem;
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: var(--RadiusHalb);
  align-items: center;
  padding: .5rem 1.25rem;
  text-decoration: none;
  transition: background-color .25s;
  display: inline-flex;
}
:is(:is(.Mitarbeiter, .Honorarkraft, .Geschaeftsstelle, .Vhs, .Organisation) ~ .Suche, body.Suche) .ergebnis p > a[role="button"]:hover {
  background: var(--hellblau);
}
.Veranstaltung.begonnen.Teaser .Titel:after {
  color: #9b1c16;
}
main > .Applikationsreferenz:empty {
  display: none !important;
}
#CMXOptionen {
  z-index: 1000;
  background: var(--flaeche);
  max-width: 100%;
  color: var(--text, #14213d);
  border: 1px solid var(--blau, #003e7e);
  border-radius: var(--RadiusHalb, .5rem) 0 0 0;
  box-shadow: var(--s2, 0 2px 8px #0003);
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: .25rem .75rem;
  margin: 0;
  padding: .375rem .75rem;
  display: flex;
  position: fixed;
  inset: auto 0 0 auto;
}
body.Kontakt > main {
  padding-bottom: clamp(1.5rem, 4vw, 3rem);
}

/* ===== Mein Kontakt ===== */
.MeinKontakt:has( > #meineVertraege):not(:has( > h1)) #meineVertraege > .cmx_ajaxcontainer > .Flex.Spalte {
  background: var(--flaeche);
  border: 1px solid var(--blau-10);
  border-radius: var(--Radius);
  box-shadow: var(--s1);
  padding: clamp(1.25rem, 3vw, 2rem);
}
.MeinKontakt:has( > #meineVertraege):not(:has( > h1)) #meineVertraege .Flex.Spalte {
  flex-direction: column;
  gap: 1rem;
  display: flex;
}
.MeinKontakt:has( > #meineVertraege):not(:has( > h1)) #meineVertraege h2 {
  margin: 0;
}
.MeinKontakt:has( > #meineVertraege):not(:has( > h1)) #meineVertraege h3 {
  color: var(--blau-75);
  margin: .75rem 0 0;
}
.MeinKontakt:has( > #meineVertraege):not(:has( > h1)) #meineVertraege h2 + h3 {
  margin-top: 0;
}
.MeinKontakt:has( > #meineVertraege):not(:has( > h1)) #meineVertraege .Flex.Spalte > div > a {
  min-height: 2.75rem;
  color: var(--ink);
  overflow-wrap: anywhere;
  background: var(--blau-5);
  border: 1px solid var(--blau-10);
  border-radius: var(--RadiusHalb);
  padding: .75rem 1.25rem;
  text-decoration: none;
  transition: background-color .25s;
  display: block;
}
.MeinKontakt:has( > #meineVertraege):not(:has( > h1)) #meineVertraege .Flex.Spalte > div > a:hover {
  background: var(--hellblau);
}
.WarenkorbGrid .Veranstaltung.Teaser {
  min-height: 19rem;
}
.WarenkorbGrid .Veranstaltung.Teaser .Titel .Name {
  overflow: hidden;
}
.MeinKontakt .Box.Flex.Spalte {
  background: var(--flaeche);
  border: 1px solid var(--blau-10);
  border-radius: var(--Radius);
  box-shadow: var(--s1);
  gap: 1rem;
  margin: 0 0 1.25rem;
  padding: clamp(1.25rem, 3vw, 2rem);
}
.MeinKontakt .Box :is(h2, .form) {
  margin: 0;
}
.MeinKontakt .Box .Flex.Spalte {
  gap: 1rem;
  min-width: 0;
}
.MeinKontakt .Box .Flex.Spaltenanzahl_2 {
  grid-template-columns: minmax(9rem, 16rem) minmax(0, 1fr);
  align-items: center;
  gap: .75rem 1.5rem;
  width: 100%;
  display: grid;
}
.MeinKontakt .Box .Spaltenanzahl_2 > div {
  overflow-wrap: anywhere;
  min-width: 0;
  margin: 0;
}
.MeinKontakt .Box label {
  color: var(--ink);
}
.MeinKontakt .Box :is(input:not([type="hidden"], [type="checkbox"], [type="radio"]), select, textarea) {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
}
.MeinKontakt .Box input[readonly] {
  background: var(--blau-5);
  color: var(--ink) !important;
  opacity: 1 !important;
}
.MeinKontakt .Box button[type="submit"] {
  justify-self: start;
  width: auto;
  min-width: 12rem;
}
.MeinKontakt .Box .textright {
  justify-content: flex-end;
  margin: 0;
  display: flex;
}
.MeinKontakt .Box a.aendern {
  min-height: 2.75rem;
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: var(--RadiusHalb);
  align-items: center;
  gap: .5rem;
  padding: .5rem 1.1rem;
  text-decoration: none;
  transition: background-color .25s;
  display: inline-flex;
}
.MeinKontakt .Box a.aendern:hover {
  background: var(--hellblau);
}
@media only screen and (width <= 575px) {
  .MeinKontakt .Box .Flex.Spaltenanzahl_2 {
    grid-template-columns: minmax(0, 1fr);
    gap: .25rem;
  }

  .MeinKontakt .Box .Spaltenanzahl_2 > div:nth-child(2n) {
    margin-bottom: .75rem;
  }

  .MeinKontakt .Box .textright a.aendern {
    justify-content: center;
    width: 100%;
  }

  .WarenkorbGrid {
    padding: .75rem;
  }

  .WarenkorbGrid a.entfernen.Button {
    flex: 1;
  }

  #einkaufsposition_zu_anmeldung {
    width: auto;
    margin-left: 0;
  }

  #einkaufsposition_zu_anmeldung a {
    width: 100%;
  }
}

/* ===== Aufklappbereiche ===== */
main details:not([x]) {
  background: var(--glas-stark);
  border: 1px solid var(--rim);
  border-radius: var(--Radius);
  backdrop-filter: var(--blur-s);
  transition: box-shadow .35s var(--ease);
}
main details:not([x]) + details {
  margin-top: .75rem;
}
main details > summary:first-of-type, main details[open] > summary:first-of-type {
  min-height: 3.25rem;
  color: var(--ink);
  cursor: pointer;
  background: none;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  list-style: none;
  display: flex;
}
main details > summary:first-of-type::-webkit-details-marker {
  display: none;
}
main details > summary:first-of-type::marker {
  content: "";
}
main details > summary:first-of-type:after {
  content: "";
  background: var(--ink);
  width: 1.75rem;
  height: 1.75rem;
  mask: var(--i-runter) center / contain no-repeat;
  flex: none;
}
main details[open] > summary:first-of-type:after {
  transform: rotate(180deg);
}
main details > summary:first-of-type :is(h2, h3, h4, h5, p) {
  color: inherit;
  margin: 0;
  display: inline;
}

/* ===== Veranstaltungen ===== */
.Veranstaltung main details:not([x]), .Veranstaltung main details:not([x]):hover {
  box-shadow: none;
  backdrop-filter: none;
  background: none;
  border: 0;
  border-radius: 0;
}
.Veranstaltung main details > summary:first-of-type, .Veranstaltung main details[open] > summary:first-of-type {
  background: rgb(var(--flaeche-rgb) / .75);
  border: 1px solid var(--blau-30);
  cursor: pointer;
  border-radius: 999px;
  justify-content: flex-start;
  gap: .5rem;
  min-height: 2.75rem;
  padding: .5rem .5rem .5rem 1rem;
  transition: background-color .25s, border-color .25s;
  display: inline-flex;
}
.Veranstaltung main details > summary:first-of-type:hover {
  background: var(--flaeche);
  border-color: var(--blau-60);
}
.Veranstaltung main details > summary:first-of-type:after {
  width: 1.5rem;
  height: 1.5rem;
}
.Veranstaltung main details table.standard {
  width: 100%;
  box-shadow: none;
  background: none;
  border: 0;
  margin: .5rem 0 0;
  display: block;
}
.Veranstaltung main details table.standard :is(tbody, tr) {
  display: block;
}
.Veranstaltung main details table.standard tr {
  border-top: 1px solid var(--blau-30);
  padding: .75rem 0;
}
.Veranstaltung main details table.standard td {
  text-align: left;
  background: none;
  border: 0;
  width: auto;
  padding: 0;
  display: block;
}
.Veranstaltung main details table.standard td:first-child {
  margin-bottom: .25rem;
}
.Veranstaltung main details:after {
  content: none;
}
.Veranstaltung main details td {
  overflow-wrap: normal;
}

/* ===== Footer ===== */
footer {
  color: #fff;
  background: var(--dunkelblau);
  border-radius: 0;
  min-height: 0;
  box-shadow: none;
  margin: 0;
  padding: 0;
  display: block;
}
footer:has(#footer:empty) {
  display: none;
}
footer a, footer a:link, footer a:visited {
  color: #fff;
  text-decoration: none;
  transition: color .2s;
}
footer a:hover {
  text-decoration: underline;
}
footer :focus-visible {
  outline-color: var(--hellblau);
  box-shadow: none;
}
footer #footer {
  width: 100%;
  max-width: var(--breite_layout);
  padding: 2rem var(--Abstand) 1rem;
  place-items: start stretch;
  gap: 1rem 3rem;
  margin: 0 auto;
  display: grid;
}
footer #footer:before {
  content: "";
  background: #ffffff29;
  grid-area: 2 / 1 / auto / -1;
  height: 1px;
}
footer .KontaktHauptgeschaeftstelle {
  text-align: left;
  grid-area: 1 / 1 / auto / -1;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
  justify-content: stretch;
  align-items: start;
  gap: 1rem 3rem;
  height: auto;
  display: grid;
}
footer .KontaktHauptgeschaeftsstelleText {
  text-align: left;
  height: auto;
  display: block;
}
footer .KontaktHauptgeschaeftsstelleText h2 {
  color: #fff;
  margin: 0 0 .5rem;
}
footer address {
  flex-flow: wrap;
  display: flex;
}
footer address p {
  color: #fff;
  margin: 0;
}
footer address > div {
  flex: 0 0 100%;
}
footer address > div:not(.Oeffnungszeiten) {
  margin-top: .5rem;
}
footer .Oeffnungszeiten {
  color: var(--hellblau);
}
footer .KontaktHauptgeschaeftstelleLinks {
  grid-area: 1 / 2;
}
footer .KontaktHauptgeschaeftstelleLinks ul {
  flex-direction: column;
  justify-content: flex-start;
  justify-self: start;
  gap: .1rem;
  padding: 0;
}
footer .KontaktHauptgeschaeftstelleLinks li {
  flex: none;
}
footer .KontaktHauptgeschaeftstelleLinks a {
  align-items: center;
  min-height: 2.75rem;
  padding: 0;
  display: inline-flex;
}
footer .SocialMediaLeiste {
  flex-wrap: wrap;
  grid-area: 3 / 1;
  gap: 1rem;
  padding: 0;
  display: flex;
}
footer .SocialMediaLeiste a {
  background: var(--flaeche);
  border-radius: var(--RadiusHalb);
  width: 3.25rem;
  height: 3.25rem;
  box-shadow: none;
  border: 0;
  transition: background .25s;
  display: block;
  position: relative;
  overflow: hidden;
}
footer .SocialMediaLeiste a:hover {
  background: var(--hellblau);
  text-decoration: none;
}
footer .SocialMediaLeiste svg {
  width: 5.25rem;
  height: 5.25rem;
  fill: var(--ink);
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
}
footer .hervorheben {
  width: auto;
  min-height: 0;
  box-shadow: none;
  filter: none;
  background: none;
  border: 0;
  grid-area: 3 / 2;
  justify-self: end;
  padding: 0;
  display: block;
}
footer .hervorheben:before, footer .hervorheben:after {
  content: none;
}
footer .hervorheben a {
  min-height: 2.75rem;
  box-shadow: none;
  background: none;
  border: 1.5px solid #ffffff8c;
  align-items: center;
  padding: .5rem 1.25rem;
  transition: background .25s, color .25s;
  display: inline-flex;
}
footer .hervorheben a:hover {
  color: var(--ink);
  background: var(--flaeche);
  text-decoration: none;
}
footer .hervorheben, footer .hervorheben a, footer .hervorheben:before, footer .hervorheben a:before {
  border-radius: 0 !important;
}
@media only screen and (width >= 1200px) {
  footer #footer {
    padding-inline: 0;
  }
}
@media only screen and (width <= 699px) {
  footer #footer, footer .KontaktHauptgeschaeftstelle {
    grid-template-columns: 1fr;
  }

  footer #footer {
    gap: 1rem;
  }

  footer #footer:before {
    order: 1;
    grid-row: auto;
  }

  footer .KontaktHauptgeschaeftstelle, footer .KontaktHauptgeschaeftstelleLinks, footer .SocialMediaLeiste, footer .hervorheben {
    grid-area: auto / 1;
  }

  footer .SocialMediaLeiste, footer .hervorheben {
    order: 2;
  }

  footer .hervorheben {
    justify-self: start;
  }
}
body:not(.Homepage) main > .Text, body:not(.Homepage) main > article.Artikel.Detail, main > .Journal:not(.Teaser), .DokumentDarstellung, .Fehler404 {
  background: var(--glas-stark);
  border: 1px solid var(--rim);
  border-radius: var(--Radius);
  box-shadow: var(--s1);
  backdrop-filter: var(--blur-s);
  padding: clamp(1.25rem, 3.5vw, 2.5rem);
}
.DokumentDarstellung {
  display: block;
}
.DokumentDarstellung:not(body.Hintergrund .DokumentDarstellung) {
  overflow-wrap: break-word;
  box-shadow: var(--s1);
  margin-top: 0;
  padding: clamp(1.25rem, 3.5vw, 3rem);
}

/* ===== Journal & News ===== */
.Journal:not(body, .Teaser) {
  gap: 1.5rem;
  max-width: none;
}
.Journaleintrag.Detail, .Journaleintrag.Detail:first-child {
  padding: 0;
  display: block;
}
.Journaleintrag.Detail > * {
  margin-top: 0;
  margin-bottom: 1.25rem;
}
.Journaleintrag .Metadaten {
  color: var(--blau-75);
}
.Fehler404 :is(h1, h2, p) {
  text-align: center;
}
.Fehler404 p {
  margin: .5rem auto 1.25rem;
}

/* ===== Startseite ===== */
body:not(.Homepage) main > :is(article.Artikel.Detail, .Journal:not(.Teaser), .DokumentDarstellung) {
  width: min(calc(100% - var(--rand)),62rem);
  justify-self: center;
}
body:not(.Homepage) main > .Fehler404 {
  width: min(calc(100% - var(--rand)),40rem);
  text-align: center;
  justify-self: center;
}
body:not(.Homepage) h1 {
  margin-bottom: .5rem;
}

/* ===== Journal & News ===== */
:is(.Text, .DokumentDarstellung, .JournalText, .Journaleintrag.Detail) :is(h2, h3, h4) {
  margin: 1.75em 0 .5em;
}
:is(.Text, .DokumentDarstellung, .JournalText, .Journaleintrag.Detail) :is(h2, h3, h4):first-child {
  margin-top: 0;
}
:is(.Text, .DokumentDarstellung, .JournalText, .Journaleintrag.Detail) p {
  margin: 0 0 1em;
}
:is(.Text, .DokumentDarstellung, .JournalText, .Journaleintrag.Detail) ul {
  margin: .25em 0 1.25em;
  padding: 0 0 0 1.6rem;
  list-style: outside;
}
:is(.Text, .DokumentDarstellung, .JournalText, .Journaleintrag.Detail) ol {
  margin: .25em 0 1.25em;
  padding: 0 0 0 1.6rem;
  list-style: decimal;
}
:is(.Text, .DokumentDarstellung, .JournalText, .Journaleintrag.Detail) li {
  margin: 0 0 .4em;
}
:is(.Text, .DokumentDarstellung, .JournalText, .Journaleintrag.Detail) :is(table, blockquote) {
  margin-block: 1.25em 1.5em;
}
:is(.Text, .DokumentDarstellung, .JournalText) > div > :last-child {
  margin-bottom: 0;
}
.Text [align="justify"] {
  text-align: left;
  margin: 0 0 1em;
}
.Text > div > :is(span[style*="font-weight:bold"], span[style*="font-weight:bold"]) {
  color: var(--ink);
  margin: 0 0 .75em;
}

/* ===== Tabellen ===== */
.layoutgrid table.standard {
  background: none;
  border: 0;
  border-radius: 0;
  margin: .25rem 0 .5rem;
}
.layoutgrid table.standard td {
  border-bottom: 1px dashed var(--blau-10);
  padding: .4rem 1rem .4rem 0;
}
.layoutgrid table.standard tbody tr:hover td {
  background: none;
}
.Text a.Button, .Text a.Button:link, .Text a.Button:visited, .Text a.hervorheben, .Text a.hervorheben:link {
  text-decoration: none;
  display: inline-flex;
}
.Text :is(table:not(.layoutgrid), .Tabelle table) :is(td, th) {
  overflow-wrap: anywhere;
}

/* ===== Inhalte & Artikel ===== */
.Brotkrumennavigation {
  color: var(--blau-75);
  flex-flow: wrap;
  align-items: center;
  gap: .25rem .5rem;
}
.Brotkrumennavigation :is(ol, ul) {
  flex-flow: wrap;
  justify-content: flex-start;
  align-items: center;
  gap: 0 .25rem;
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
}
.Brotkrumennavigation li {
  flex: none;
  align-items: center;
  gap: .25rem;
  display: flex;
}
.Brotkrumennavigation li + li:before {
  content: "";
  background: var(--blau-60);
  width: 1.125rem;
  height: 1.125rem;
  mask: var(--i-weiter) center / contain no-repeat;
}
.Brotkrumennavigation a, .BereichInProgrammheft .ElternProgrammbereich a {
  align-items: center;
  min-height: 2.75rem;
  text-decoration: underline;
  display: inline-flex;
}
.BildProgrammbereich {
  width: auto;
  height: clamp(9rem, 22vw, 16rem);
  box-shadow: var(--s1);
  justify-self: stretch;
  margin-inline: 0;
}
.ergebnis article.Inhalt, .Kontaktdaten, .Person, .anmeldungsliste .box {
  background: var(--glas-stark);
  border: 1px solid var(--rim);
  border-radius: var(--Radius);
  box-shadow: var(--s1);
  backdrop-filter: var(--blur-s);
}

/* ===== Allgemein ===== */
.ergebnis {
  flex-direction: column;
  gap: 1.25rem;
  display: flex;
}
.ergebnis article.Inhalt {
  padding: 1.25rem 1.5rem;
}
.ergebnis article.Inhalt h2 a {
  text-decoration: none;
}
.ergebnis article.Inhalt h2 a:hover {
  text-decoration: underline;
}
.ergebnis article.Inhalt:hover {
  box-shadow: var(--s2);
}
.Hauptbereich li a {
  color: var(--ink);
  background: var(--glas-stark);
  border: 1px solid var(--rim);
  border-radius: var(--Radius);
  box-shadow: var(--s1);
  backdrop-filter: var(--blur-s);
  text-decoration: none;
}
.Hauptbereich li a:hover {
  box-shadow: var(--s2);
}
.Kontakt.Teaser, .Produkt.Teaser:not(.Kontakt .WarenkorbAnmeldung > .Produkt), .Produktgruppe.Teaser, .Kooperation.Teaser a {
  background: var(--glas-stark);
  border: 1px solid var(--rim);
  box-shadow: var(--s1);
  backdrop-filter: var(--blur-s);
}

/* ===== Kontakte ===== */
.Kontakt.Teaser {
  border-radius: var(--Radius);
  overflow: hidden;
}
.Kontakt.Teaser:hover {
  box-shadow: var(--s2);
}
.Kontakt.Teaser .Inhalt, .Kontakt.Teaser.modern .Inhalt {
  background: none;
  flex-flow: row;
  align-items: stretch;
  height: auto;
  display: flex;
}
.Kontakt.Teaser .KontaktTeaserBild {
  flex: 0 0 9rem;
  order: 0;
  min-height: 9rem;
  display: block;
  position: relative;
}
.Kontakt.Teaser .KontaktTeaserBild > picture {
  height: 100%;
  display: block;
}
.Kontakt.Teaser .KontaktTeaserBild > picture > img, .Kontakt.Teaser.modern .KontaktTeaserBild > picture > img {
  object-fit: cover;
  object-position: 50% 25%;
  border-radius: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: none;
  position: absolute;
  inset: 0;
}
.Kontakt.Teaser .Inhalt > .KontaktText, .Kontakt.Teaser.modern .KontaktText {
  min-width: 0;
  color: var(--text);
  background: none;
  border-radius: 0;
  flex: 1;
  order: 1;
  align-self: center;
  margin: 0;
  padding: 1.1rem 1.25rem;
}
.Kontakt.Teaser .KontaktText > div, .Kontakt.Teaser:is(.breite_4, .breite_6) .Inhalt > .KontaktText > div {
  white-space: normal;
  overflow-wrap: anywhere;
  width: auto;
  max-height: none;
  overflow: visible;
}
.Kontakt.Teaser .KontaktText :is(h2, h3, strong) {
  color: var(--ink);
  margin: 0 0 .25rem;
}
.Kontaktdaten .Webadresse {
  grid-column: 1 / -1;
}
.Kontaktdaten :is(.Adresse, .Emailadresse) {
  white-space: normal;
  overflow-wrap: anywhere;
}
main > article.Artikel.Detail:has(.Liste ul > li.Kontakt.Teaser) {
  width: min(calc(100% - var(--rand)),75rem);
  box-shadow: none;
  backdrop-filter: none;
  background: none;
  border: 0;
  padding: 0;
}
article.Artikel:has(.Liste ul > li.Kontakt.Teaser) > .ArtikelContainer {
  max-width: none;
  padding: 0;
}
.Liste ul:has( > li.Kontakt.Teaser) {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr));
  align-items: stretch;
  gap: 1rem 1.25rem;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
}
.Liste ul > li.Kontakt.Teaser {
  --kf: 6.5rem;
  backdrop-filter: none;
  --i-person: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%2314213D' fill-opacity='.5' d='M12 4A4 4 0 0 1 16 8A4 4 0 0 1 12 12A4 4 0 0 1 8 8A4 4 0 0 1 12 4M12 14C16.42 14 20 15.79 20 18V20H4V18C4 15.79 7.58 14 12 14Z'/%3E%3C/svg%3E");
  flex: none;
  width: auto;
  min-width: 0;
  max-width: none;
  margin: 0;
  transition: border-color .25s, box-shadow .25s;
}
.Liste ul > li.Kontakt.Teaser:hover {
  border-color: var(--blau-60);
}
.Liste ul > li.Kontakt.Teaser > a {
  min-width: 0;
  color: inherit;
  flex: 1;
  text-decoration: none;
  display: flex;
}
.Liste ul > li.Kontakt.Teaser > a:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: -3px;
  box-shadow: inset 0 0 0 6px #fff;
}
.Liste ul > li.Kontakt.Teaser .Inhalt {
  flex-direction: row;
  flex: 1;
  align-items: center;
  gap: 1rem;
  min-width: 0;
  padding: .75rem 1rem .75rem .75rem;
}
.Liste ul > li.Kontakt.Teaser .KontaktTeaserBild {
  width: var(--kf);
  height: var(--kf);
  background: var(--blau-10);
  border-radius: var(--RadiusHalb);
  flex: none;
  order: 0;
  min-height: 0;
  overflow: hidden;
}
.Liste ul > li.Kontakt.Teaser .Inhalt:not(:has(.KontaktTeaserBild)):before {
  content: "";
  width: var(--kf);
  height: var(--kf);
  background: var(--i-person) center / 58% no-repeat,var(--blau-10);
  border-radius: var(--RadiusHalb);
  flex: none;
  order: 0;
}
.Liste ul > li.Kontakt.Teaser .KontaktText {
  flex: 1;
  order: 1;
  min-width: 0;
  padding: 0;
}
.Liste ul > li.Kontakt.Teaser .KontaktText b {
  color: var(--ink);
  overflow-wrap: break-word;
  display: block;
}
.Liste ul > li.Kontakt.Teaser .KontaktText b > span:has( > br) {
  color: var(--blau-75);
  margin-top: .25rem;
  display: block;
}
.Liste ul > li.Kontakt.Teaser .KontaktText b br {
  display: none;
}
.Liste ul > li.Kontakt.Teaser .KontaktText > div {
  color: var(--blau-75);
  margin-top: .4rem;
}
.Liste ul > li.Kontakt.Teaser:hover .KontaktText b > span:not(:has( > br)) {
  text-decoration: underline;
}
.Liste ul > li.Kontakt.Teaser .Inhalt:after {
  content: "";
  background: var(--blau-60);
  width: 1.5rem;
  height: 1.5rem;
  mask: var(--i-weiter) center / contain no-repeat;
  flex: none;
  order: 2;
}
.Liste ul > li.Kontakt.Teaser:hover .Inhalt:after {
  background: var(--knopf);
}
@media only screen and (width <= 599px) {
  .Liste ul > li.Kontakt.Teaser {
    --kf: 5rem;
  }

  .Liste ul > li.Kontakt.Teaser .Inhalt {
    gap: .75rem;
    padding-right: .75rem;
  }

  .Liste ul > li.Kontakt.Teaser .Inhalt:after {
    width: 1.25rem;
    height: 1.25rem;
  }

  .Liste ul:has( > li.Kontakt.Teaser) {
    gap: .75rem;
  }
}
@media only screen and (width <= 380px) {
  .Liste ul > li.Kontakt.Teaser {
    --kf: 4.25rem;
  }

  .Liste ul > li.Kontakt.Teaser .Inhalt:after {
    display: none;
  }
}
:is(.Mitarbeiter, .Honorarkraft, .Geschaeftsstelle, .Vhs, .Organisation), :is(.Mitarbeiter, .Honorarkraft, .Geschaeftsstelle, .Vhs, .Organisation) .Kopf {
  text-align: left;
  align-items: stretch;
  gap: 1.25rem;
  width: auto;
  min-width: 0;
  margin: 0;
}
:is(.Mitarbeiter, .Honorarkraft, .Geschaeftsstelle, .Vhs, .Organisation) .Kopf {
  grid-template-columns: minmax(0, 1fr);
  align-content: center;
  gap: .5rem 2rem;
  margin: 0;
  display: grid;
}
:is(.Mitarbeiter, .Honorarkraft, .Geschaeftsstelle, .Vhs, .Organisation) .Kopf h1 {
  text-align: left;
  overflow-wrap: anywhere;
  grid-column: 1;
  margin: 0;
}
:is(.Mitarbeiter, .Honorarkraft, .Geschaeftsstelle, .Vhs, .Organisation) .Kopf .Bild {
  grid-area: 1 / 1;
  width: 100%;
  max-width: 15rem;
  margin: 0 0 .5rem;
}
:is(.Mitarbeiter, .Honorarkraft, .Geschaeftsstelle, .Vhs, .Organisation) .Kopf .Bild :is(figure, a, picture) {
  width: 100%;
  display: block;
}
:is(.Mitarbeiter, .Honorarkraft, .Geschaeftsstelle, .Vhs, .Organisation) .Kopf .Bild img {
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--Radius);
  width: 100%;
  height: auto;
  max-height: none;
  display: block;
}
:is(.Mitarbeiter, .Honorarkraft, .Geschaeftsstelle, .Vhs, .Organisation) .Aufgabenbereich {
  color: var(--blau-75);
  text-align: left;
  grid-column: 1;
}
.Kontaktdaten {
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: .15rem 1.5rem;
  padding: 1.25rem 1.5rem;
}
.Kontaktdaten > div:nth-child(odd) {
  color: var(--blau-75);
}
.Kontaktdaten > div:nth-child(2n) {
  margin-bottom: .75rem;
}
.Kontaktdaten > div:last-child {
  margin-bottom: 0;
}
.Kontaktdaten .Flex {
  flex-flow: wrap;
  align-items: center;
  gap: .25rem 1rem;
}
.Kontaktdaten a {
  align-items: center;
  min-height: 2.75rem;
  display: inline-flex;
}
.Kontaktdaten a.Nachricht {
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: var(--RadiusHalb);
  padding: 0 1.1rem;
  text-decoration: none;
}
.Kontaktdaten a.Nachricht:hover {
  color: var(--auf-knopf);
  background: var(--knopf);
}
:is(.Mitarbeiter, .Honorarkraft, .Geschaeftsstelle, .Vhs, .Organisation) > a.Ort.Teaser {
  min-height: 2.75rem;
  color: var(--ink);
  background: var(--flaeche);
  border: 2px solid var(--ink);
  border-radius: var(--RadiusHalb);
  align-self: flex-start;
  align-items: center;
  padding: .5rem 1.25rem;
  text-decoration: none;
  transition: background .25s, color .25s;
  display: inline-flex;
}
:is(.Mitarbeiter, .Honorarkraft, .Geschaeftsstelle, .Vhs, .Organisation) > a.Ort.Teaser:hover {
  color: var(--auf-knopf);
  background: var(--knopf);
}
:is(.Mitarbeiter, .Honorarkraft, .Geschaeftsstelle, .Vhs, .Organisation) ~ .Applikationsreferenz.Suche:not(:has(a, article, p)) {
  display: none;
}
@media only screen and (width >= 700px) {
  :is(.Mitarbeiter, .Honorarkraft, .Geschaeftsstelle, .Vhs, .Organisation) .Kopf:has( > .Bild) {
    grid-template-columns: 15rem minmax(0, 1fr);
  }

  :is(.Mitarbeiter, .Honorarkraft, .Geschaeftsstelle, .Vhs, .Organisation) .Kopf:has( > .Bild) > :is(h1, .Aufgabenbereich) {
    grid-column: 2;
  }

  :is(.Mitarbeiter, .Honorarkraft, .Geschaeftsstelle, .Vhs, .Organisation) .Kopf .Bild {
    grid-row: 1 / span 3;
    margin: 0;
  }

  .Kontaktdaten {
    grid-template-columns: max-content minmax(0, 1fr);
  }

  :is(.Mitarbeiter, .Honorarkraft, .Geschaeftsstelle, .Vhs, .Organisation) .Kopf:has( > .Bild):not(:has( > .Aufgabenbereich)) > h1 {
    grid-row: 1 / span 3;
    align-self: center;
  }

  .Kontaktdaten > div:nth-child(2n) {
    margin-bottom: 0;
  }
}
.WarenkorbGrid, .Anmeldung.Teaser, .Honorarvertrag.Teaser {
  background: var(--glas-stark);
  border: 1px solid var(--rim);
  border-radius: var(--Radius);
  box-shadow: var(--s1);
  backdrop-filter: var(--blur-s);
}
.Anmeldung.Teaser .Spaltenanzahl_2, .Honorarvertrag.Teaser > .Honorarvertraege {
  background: var(--blau-5);
}

/* ===== Formulare ===== */
.Formular.Detail {
  background: var(--glas-stark);
  border: 1px solid var(--rim);
  border-radius: var(--Radius);
  box-shadow: var(--s1);
  backdrop-filter: var(--blur-s);
  padding: clamp(1.25rem, 3.5vw, 2.5rem);
}
article.Artikel .Formular {
  box-shadow: none;
  backdrop-filter: none;
  background: none;
  border: 0;
  padding: 0;
}
.Formular fieldset {
  border: 0;
  flex-direction: column;
  gap: 1.1rem;
  min-width: 0;
  margin: 0;
  padding: 0;
  display: flex;
}
.Formular legend {
  overflow-wrap: anywhere;
  color: var(--ink);
  margin: 0 0 .5rem;
  padding: 0;
}
.Formular :is(.Beschriftungsspalte, .Wertspalte) {
  flex: 100%;
  min-width: 0;
}
.Formular :is(input[type="text"], input[type="email"], input[type="password"], input[type="tel"], input[type="number"], input[type="date"], input[type="time"], select, textarea) {
  width: 100%;
  max-width: 100%;
}
.Formular textarea {
  resize: vertical;
  min-height: 9rem;
}
.Formular .Flex:has( > .Beschriftungsspalte) {
  grid-template-columns: 1fr;
  align-items: start;
  gap: .4rem 1.5rem;
  display: grid;
}
.Formular .RadioUndLabel {
  min-width: 0;
}
.Formular .Flex.Checkbox:has( > .Beschriftungsspalte) {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 0 .75rem;
}
.Formular .Flex.Checkbox .Beschriftungsspalte {
  padding-top: 0;
}
.Formular input[type="file"] {
  border: 1.5px dashed var(--blau-60);
  border-radius: var(--RadiusHalb);
  width: 100%;
  padding: .5rem;
}
.Formular input[type="file"]::file-selector-button {
  min-height: 2.75rem;
  color: var(--auf-knopf);
  background: var(--knopf);
  border-radius: var(--RadiusHalb);
  cursor: pointer;
  border: 0;
  margin-right: .75rem;
  padding: 0 1.25rem;
}
.Formular :is(input[type="radio"], input[type="checkbox"]) {
  flex: none;
  width: 1.5rem;
  height: 1.5rem;
  margin: 0;
  padding: 0;
}
.Formular :is(#Senden, button[type="submit"]) {
  align-self: flex-start;
  width: auto;
  min-width: 12rem;
}
#loginform {
  background: var(--glas-stark);
  border: 1px solid var(--rim);
  border-radius: var(--Radius);
  width: 100%;
  box-shadow: var(--s2);
  backdrop-filter: var(--blur-s);
  margin: 1rem auto;
}
#loginform fieldset {
  border: 0;
  flex-direction: column;
  gap: .5rem;
  min-width: 0;
  margin: 0;
  padding: 0;
  display: flex;
}
#loginform :is(input[type="text"], input[type="password"], input[type="email"]) {
  width: 100%;
  max-width: 100%;
}
#loginform h1 {
  margin-bottom: 1rem;
}
#loginform button {
  width: 100%;
  margin-top: 1rem;
}
#loginform a {
  align-items: center;
  min-height: 2.75rem;
  display: inline-flex;
}
#loginform {
  max-width: 36rem;
  padding: clamp(1.5rem, 5vw, 3rem);
}
#loginform .Spaltenanzahl_3 {
  flex-direction: column;
  align-items: stretch;
  gap: .5rem;
  display: flex;
}
#loginform .Spaltenanzahl_3 > div:empty {
  display: none;
}
#loginform .Spaltenanzahl_3 > label[for="Benutzer"] {
  order: 1;
  margin-top: 1rem;
}
#loginform .Spaltenanzahl_3 > #Benutzer {
  order: 2;
}
#loginform .Spaltenanzahl_3 > label[for="Kennwort"] {
  order: 3;
  margin-top: .75rem;
}
#loginform .Spaltenanzahl_3 > #Kennwort {
  order: 4;
}
#loginform .Spaltenanzahl_3 > div:has(#stay) {
  order: 5;
  align-items: center;
  gap: .75rem;
  min-height: 2.75rem;
  margin-top: .5rem;
  display: flex;
}
#loginform .Spaltenanzahl_3 > #Anmelden {
  order: 6;
  min-height: 3.25rem;
  margin-top: .75rem;
}
#loginform .Spaltenanzahl_3 > a {
  order: 7;
  justify-content: center;
  margin-top: .25rem;
}
#loginform :is(input[type="text"], input[type="password"], input[type="email"]) {
  min-height: 3.25rem;
}
#loginform input[type="checkbox"] {
  flex: none;
  width: 1.5rem;
  height: 1.5rem;
  margin: 0;
}
#loginform label {
  margin-top: 0;
}
@media (width >= 700px) {
  #loginform {
    max-width: none;
    margin: 1rem 0 2rem;
    padding: clamp(2rem, 4vw, 3rem);
  }

  #loginform .Spaltenanzahl_3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: .5rem 2rem;
    display: grid;
  }

  #loginform .Spaltenanzahl_3 > label {
    margin: 0;
  }

  #loginform .Spaltenanzahl_3 > label[for="Benutzer"] {
    grid-area: 1 / 1;
    margin-top: 0;
  }

  #loginform .Spaltenanzahl_3 > label[for="Kennwort"] {
    grid-area: 1 / 2;
    margin-top: 0;
  }

  #loginform .Spaltenanzahl_3 > #Benutzer {
    grid-area: 2 / 1;
  }

  #loginform .Spaltenanzahl_3 > #Kennwort {
    grid-area: 2 / 2;
  }

  #loginform .Spaltenanzahl_3 > div:has(#stay) {
    grid-area: 3 / 1;
    margin: .5rem 0 0;
  }

  #loginform .Spaltenanzahl_3 > a {
    grid-area: 4 / 1;
    justify-content: flex-start;
    margin: 0;
  }

  #loginform .Spaltenanzahl_3 > #Anmelden {
    grid-area: 3 / 2 / span 2;
    align-self: start;
    margin: .5rem 0 0;
  }
}
@media only screen and (width >= 700px) {
  .Formular .Flex:has( > .Beschriftungsspalte) {
    grid-template-columns: minmax(9rem, 13rem) minmax(0, 1fr);
  }

  .Formular .Beschriftungsspalte {
    padding-top: .7rem;
  }

  .Formular .Flex > .Feldtext {
    grid-column: 2;
  }
}

/* ===== Veranstaltungen ===== */
body.Veranstaltung > main {
  row-gap: 1.5rem;
}
body.Veranstaltung main > .Text h1 {
  max-width: none;
}
body.Veranstaltung main > .Text figure img {
  width: 100%;
}

/* ===== Tabellen ===== */
.layoutgrid {
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--rim);
  border-radius: var(--RadiusHalb);
  width: 100%;
  box-shadow: 0 0 0 1px rgb(var(--db-rgb) / .08);
  background: #ffffff80;
  margin: 1rem 0;
  overflow: hidden;
}
.layoutgrid > tbody > tr > td {
  border-bottom: 1px solid var(--blau-10);
  padding: .75rem 1rem;
  border-radius: 0 !important;
}
.layoutgrid > tbody > tr:last-child > td {
  border-bottom: 0;
}
.layoutgrid > tbody > tr > td:first-child {
  width: 11rem;
  min-width: 7rem;
  color: var(--ink);
  text-align: left;
  vertical-align: top;
  background: var(--blau-5);
  border-right: 1px solid var(--blau-10);
}

/* ===== Veranstaltungen ===== */
.WebAnmeldung > * {
  background: var(--glas-stark);
  border: 1px solid var(--rim);
  border-radius: calc(var(--Radius) + 2px);
  box-shadow: var(--s2);
  backdrop-filter: var(--blur-s);
  padding: 1.5rem;
}
.WebAnmeldung .Ampelbar {
  flex-direction: column;
  align-items: stretch;
  gap: 1rem;
  display: flex;
}
.WebAnmeldung .Ampelbar > span[title] {
  order: -1;
  align-self: flex-start;
}
.WebAnmeldung .Ampelbar > :is(.Ampeltext, .Restbreite) {
  display: none;
}
.WebAnmeldung .Ampelbar > div:not([class]) {
  clip-path: inset(50%);
  white-space: nowrap;
  width: 1px;
  height: 1px;
  position: absolute;
  overflow: hidden;
}
.WebAnmeldung .AnmeldeButton p {
  color: var(--blau-75);
  text-align: center;
  margin: .6rem 0 0;
}
.WebAnmeldung .WarenkorbButton [style*="min-width"] {
  text-align: left !important;
  min-width: 0 !important;
}
.WebAnmeldung .Anmeldebuttons {
  flex-direction: column;
  gap: .75rem;
  display: flex;
}
.WebAnmeldung .AnmeldeButton a.Anmeldelink {
  min-height: 3.25rem;
  color: var(--auf-knopf);
  background: var(--knopf);
  border-radius: var(--RadiusHalb);
  box-shadow: none;
  border: 0;
  justify-content: center;
  align-items: center;
  padding: .75rem 1.5rem;
  text-decoration: none;
  transition: background .25s, color .25s;
  display: flex;
}
.WebAnmeldung .AnmeldeButton a.Anmeldelink:hover {
  background: var(--knopf);
  box-shadow: var(--s1);
}

/* ===== Warenkorb ===== */
.WebAnmeldung .WarenkorbButton a.Anmeldelink {
  min-height: 3rem;
  color: var(--ink);
  background: var(--flaeche);
  border: 2px solid var(--ink);
  border-radius: var(--RadiusHalb);
  box-shadow: none;
  justify-content: center;
  align-items: center;
  gap: .5rem;
  padding: .6rem 1.25rem;
  display: flex;
}
.WebAnmeldung .WarenkorbButton a.Anmeldelink:hover {
  color: var(--auf-knopf);
  background: var(--knopf);
}
.WebAnmeldung:not(:has(a.Anmeldelink, span[title])), .WebAnmeldung .WarenkorbButton:not(:has(a)), .WebAnmeldung .AnmeldeButton:not(:has(a)) {
  display: none;
}

/* ===== Veranstaltungen ===== */
body.Veranstaltung > main > .Verantwortlicher {
  max-width: 44rem;
}
body.Veranstaltung > main > .Verantwortlicher > h2 {
  margin: 0 0 .75rem;
  padding: 0;
}
body.Veranstaltung > main > .Verantwortlicher a.KontaktTeaser {
  color: var(--ink);
  text-decoration: none;
  display: block;
}
body.Veranstaltung > main > .Verantwortlicher .Inhalt {
  background: var(--glas-stark);
  border: 1px solid var(--blau-10);
  border-radius: var(--Radius);
  box-shadow: var(--s1);
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem;
  transition: box-shadow .3s;
  display: flex;
}
body.Veranstaltung > main > .Verantwortlicher a:hover .Inhalt {
  box-shadow: var(--s2);
}
body.Veranstaltung > main > .Verantwortlicher .KontaktTeaserBild {
  flex: none;
  order: -1;
}
body.Veranstaltung > main > .Verantwortlicher .KontaktTeaserBild :is(picture, img) {
  object-fit: cover;
  width: 5.5rem;
  height: 5.5rem;
  min-height: 0;
  box-shadow: none;
  border-radius: 50%;
  display: block;
}
body.Veranstaltung > main > .Verantwortlicher .KontaktText {
  min-width: 0;
  color: var(--blau-75);
}
body.Veranstaltung > main > .Verantwortlicher .KontaktText b {
  color: var(--ink);
  margin-bottom: .25rem;
  display: block;
}
body.Veranstaltung > main > .Verantwortlicher .Inhalt {
  backdrop-filter: var(--blur-s);
  border-color: var(--rim);
}

/* ===== Kopfbereich & Navigation ===== */
:is(.Veranstaltung, .Programmbereich) header:not(.Viewport) .burger a {
  color: var(--auf-knopf);
  background: var(--knopf);
  box-shadow: none;
  backdrop-filter: none;
}
@media only screen and (width <= 1199.98px) {
  :is(.Veranstaltung, .Programmbereich) header:not(.Viewport) #header_navi {
    background: var(--dunkelblau);
    box-shadow: 0 -2px 10px rgb(var(--db-rgb) / .25);
  }

  :is(.Veranstaltung, .Programmbereich) header:not(.Viewport) #header_navi :is(a:link, a:hover, a:visited) {
    background: rgb(var(--flaeche-rgb) / .94);
    border-radius: 18px;
  }
}
@media only screen and (width >= 1200px) {
  :is(.Veranstaltung, .Programmbereich) header:not(.Viewport) #header_navi :is(a:link, a:hover, a:visited) {
    background: none;
  }
}
@media only screen and (width <= 1199.98px) {
  html:root:root:root #barrierefreiheit_leiste {
    padding: 0 var(--Abstand);
  }

  html:root:root:root #barrierefreiheit_leiste ul {
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0 .75rem;
  }

  html:root:root:root #barrierefreiheit_leiste li {
    flex: auto;
    min-width: 0;
  }

  html:root:root:root #barrierefreiheit_leiste li:first-child {
    flex: 0 0 0;
    min-width: 0;
  }

  html:root:root:root #barrierefreiheit_leiste li:first-child a:not(:focus) {
    clip-path: inset(50%);
    width: 1px;
    height: 1px;
    padding: 0;
    position: absolute;
    overflow: hidden;
  }

  html:root:root:root #barrierefreiheit_leiste li:first-child a:focus {
    z-index: 1100;
    background: var(--knopf);
    border-radius: 0 0 var(--RadiusHalb) 0;
    padding: .25rem 1rem;
    position: absolute;
    top: 0;
    left: 0;
  }

  html:root:root:root #barrierefreiheit_leiste li:not(:first-child) a {
    text-align: center;
    overflow-wrap: break-word;
    flex-direction: column;
    justify-content: center;
    gap: .125rem;
    min-width: 0;
    min-height: 2.75rem;
    padding: .375rem 0;
  }

  html:root:root:root #barrierefreiheit_leiste li:not(:first-child) svg {
    flex: none;
    width: auto;
    max-width: 2rem;
    height: 1.25rem;
  }

  html:root:root:root header #header {
    z-index: 60;
    padding: .75rem var(--Abstand);
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem 1rem;
    display: flex;
    position: relative;
  }

  html:root:root:root header #LogoUndText {
    text-align: left;
    flex-flow: row;
    flex: 1 1 0;
    justify-content: flex-start;
    align-items: center;
    gap: .75rem;
    min-width: 0;
    margin: 0;
    display: flex;
  }

  html:root:root:root #header_logo {
    flex: none;
  }

  html:root:root:root #header_logo img {
    width: auto;
    max-width: 3.5rem;
    height: 2.75rem;
  }

  html:root:root:root #header_text {
    text-align: left;
    flex: 1 1 0;
    min-width: 0;
    margin: 0;
  }

  html:root:root:root #header_text h3, html:root:root:root #header_text span {
    margin: 0;
  }

  html:root:root:root header #header nav.burger {
    flex: none;
    width: auto;
    margin: 0;
    display: block;
    position: static;
  }

  html:root:root:root header #header nav.burger ul {
    margin: 0;
    display: block;
  }

  html:root:root:root header #header nav.burger a {
    min-width: 8rem;
    min-height: 2.75rem;
    color: var(--auf-knopf);
    background: var(--knopf);
    border-radius: var(--RadiusHalb);
    box-shadow: none;
    backdrop-filter: none;
    cursor: pointer;
    align-items: center;
    gap: .5rem;
    padding: .5rem 1rem;
    transition: background .25s, color .25s;
    display: flex;
  }

  html:root:root:root header #header nav.burger a:hover {
    color: var(--blau);
    background: var(--hellblau);
  }

  html:root:root:root header #header nav.burger .label {
    display: block;
  }

  html:root:root:root header #header nav.burger svg {
    fill: currentColor;
    width: 1.5rem;
    height: 1.5rem;
  }

  html:root:root:root header #header nav#header_navi {
    top: 100%;
    left: var(--Abstand);
    right: var(--Abstand);
    z-index: 60;
    visibility: hidden;
    opacity: 0;
    border-radius: var(--Radius);
    box-shadow: var(--s2);
    backdrop-filter: none;
    background: #fff;
    border: 0;
    margin: 0;
    padding: .75rem;
    transition: visibility .2s linear, opacity .2s;
    display: block;
    position: absolute;
  }

  html:root:root:root header #header nav.burger:is(:hover, :focus-within) ~ nav#header_navi, html:root:root:root header #header nav#header_navi:is(:hover, :focus-within) {
    visibility: visible;
    opacity: 1;
    transition-delay: 0s;
  }

  html:root:root:root header #header nav#header_navi ul {
    grid-template-columns: repeat(auto-fit, minmax(5.5rem, 1fr));
    gap: .5rem;
    margin: 0;
    display: grid;
  }

  html:root:root:root header #header nav#header_navi li {
    min-width: 0;
    margin: auto;
  }

  html:root:root:root header #header nav#header_navi a:is(:link, :visited, :hover) {
    text-align: center;
    border-radius: var(--RadiusHalb);
    background: none;
    flex-direction: column;
    justify-content: flex-start;
    height: 100%;
    padding: .25rem 0;
  }

  main > .Programm.Detail {
    width: auto;
    margin: 0 var(--Abstand);
  }
}
@media only screen and (width <= 599px) {
  footer address {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  footer address a {
    padding-block: .6rem;
  }

  footer .KontaktHauptgeschaeftstelleLinks ul {
    flex-flow: wrap;
    gap: 0 1.5rem;
    display: flex;
  }

  footer .KontaktHauptgeschaeftstelleLinks a {
    padding-block: .6rem;
    display: block;
  }
}
@media only screen and (width >= 1200px) and (width <= 1232px) {
  header {
    padding-inline: 0;
  }

  header #header {
    box-sizing: border-box;
    padding-inline: var(--Abstand);
  }

  footer #footer {
    padding-inline: var(--Abstand);
  }
}
@media only screen and (width <= 599px) {
  body > main {
    row-gap: 1.75rem;
    padding-top: 1.25rem;
  }

  #suche {
    padding: var(--Abstand);
  }

  #suche #suchformular fieldset {
    grid-template-columns: minmax(0, 1fr);
  }

  #suchbutton {
    width: 100%;
  }

  .Teaser.ProgrammbereichMitHintergrund a, a.Artikel.Teaser.Hintergrund.positioniert {
    min-height: 12rem;
  }

  .layoutgrid > tbody > tr > td:first-child {
    width: auto;
  }

  .layoutgrid, .layoutgrid > tbody, .layoutgrid > tbody > tr, .layoutgrid > tbody > tr > td {
    width: auto;
    display: block;
  }

  .layoutgrid > tbody > tr > td:first-child {
    border-bottom: 0;
    border-right: 0;
    padding-bottom: .25rem;
  }

  .layoutgrid [style*="nowrap"] {
    white-space: normal !important;
  }

  .layoutgrid > tbody > tr > td:first-child:has( > br:only-child) {
    display: none;
  }

  body.Veranstaltung main > .Text figure img {
    object-fit: cover;
    max-height: 18rem;
  }

  .Kontakt.Teaser .Inhalt, .Kontakt.Teaser.modern .Inhalt {
    flex-direction: column;
  }

  .Kontakt.Teaser .KontaktTeaserBild {
    flex: none;
    width: 100%;
    min-height: 11rem;
  }
}
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  :root {
    --glas: linear-gradient(#fffffff0,#fffffff0);
    --glas-stark: linear-gradient(#fffffff5,#fffffff5);
    --glas-hell: linear-gradient(#fffffff5,#fffffff5);
    --blur: none;
    --blur-s: none;
  }
}
@media (prefers-reduced-transparency: reduce), (prefers-contrast: more) {
  :root {
    --glas: linear-gradient(#fff,#fff);
    --glas-stark: linear-gradient(#fff,#fff);
    --glas-hell: linear-gradient(#fff,#fff);
    --rim: var(--blau-60);
    --blur: none;
    --blur-s: none;
  }

  body:before {
    display: none;
  }
}

footer a {
  align-items: center;
  min-width: 2.75rem;
  min-height: 2.75rem;
  display: inline-flex;
}
footer .hervorheben a:focus-visible {
  outline-offset: -5px;
  box-shadow: none;
}
:is(input[type="checkbox"], input[type="radio"]) + label {
  align-items: center;
  min-height: 2.75rem;
  padding-inline: .25rem;
  display: inline-flex;
}
:is(.Text > div:not(:has(table, figure)), .Text > div > div, main p, main dd, main blockquote) {
  max-width: var(--Lesebreite);
}
::placeholder {
  color: var(--blau-75);
  opacity: 1;
}
@media screen and (prefers-color-scheme: dark) and (forced-colors: none) {
  :root {
    color-scheme: dark;
    --dunkelblau: #1c1c1c;
    --hellblau: #d6d6d6;
    --creme: #f2f2f2;
    --anthrazit: #111;
    --blau: #1c1c1c;
    --hellblau-d: #8a8a8a;
    --db-rgb: 28 28 28;
    --hb-rgb: 214 214 214;
    --ink: #d6d6d6;
    --text: #f2f2f2;
    --grund: #111;
    --flaeche: #1c1c1c;
    --flaeche-rgb: 28 28 28;
    --knopf: #e6e6e6;
    --knopf-h: #fff;
    --auf-knopf: #111;
    --blau-75: #f2f2f2cc;
    --blau-60: #ffffff8c;
    --blau-30: #ffffff4d;
    --blau-10: #ffffff29;
    --blau-5: #ffffff12;
    --rim: #ffffff38;
    --glas: linear-gradient(140deg,#1c1c1cf0,#1c1c1cdb);
    --glas-stark: linear-gradient(140deg,#1c1c1cf5,#1c1c1ce6);
    --glas-hell: linear-gradient(140deg,#1c1c1cf5,#1c1c1ceb);
    --Dunkler: #1c1c1c;
    --LeichtesGrau: #1c1c1c;
    --HintergrundAufHintergrund: #1c1c1cb3;
    --WeissTransparent: #1c1c1cf0;
    --Rauchglas: #000000e6;
    --i-suche: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23D6D6D6' d='M9.5 3A6.5 6.5 0 0 1 16 9.5C16 11.11 15.41 12.59 14.44 13.73L14.71 14H15.5L20.5 19L19 20.5L14 15.5V14.71L13.73 14.44C12.59 15.41 11.11 16 9.5 16A6.5 6.5 0 0 1 3 9.5A6.5 6.5 0 0 1 9.5 3M9.5 5C7 5 5 7 5 9.5C5 12 7 14 9.5 14C12 14 14 12 14 9.5C14 7 12 5 9.5 5Z'/%3E%3C/svg%3E");
  }

  body:before {
    background: radial-gradient(56rem 42rem at 2% -4%, #282828, #0000 66%), radial-gradient(48rem 38rem at 104% 12%, #222c, #0000 66%), #111;
  }

  body.Homepage main {
    --band: radial-gradient(38rem 20rem at 100% 105%,#ffffff0f,transparent 68%),linear-gradient(120deg,#0d0d0d 0%,#1c1c1c 52%,#2a2a2a 100%);
  }

  .Veranstaltung.Teaser .Ampelanzeige span[title], .WarenkorbGrid .Veranstaltung.Teaser .Ampelanzeige span[title], .Ampelbar span[title] {
    color: #111;
    background: #e6e6e6;
    border-color: #e6e6e6;
  }

  .Veranstaltung.Teaser .Ampelanzeige span[title]:before, .WarenkorbGrid .Veranstaltung.Teaser .Ampelanzeige span[title]:before, .Ampelbar span[title]:before {
    box-shadow: none;
    background: #111;
  }

  .Veranstaltung.Teaser .Ampelanzeige span[title^="noch"], .WarenkorbGrid .Veranstaltung.Teaser .Ampelanzeige span[title^="noch"], .Ampelbar span[title^="noch"] {
    color: #111;
    background: #a3a3a3;
    border-color: #a3a3a3;
  }

  .Veranstaltung.Teaser .Ampelanzeige span[title^="noch"]:before, .WarenkorbGrid .Veranstaltung.Teaser .Ampelanzeige span[title^="noch"]:before, .Ampelbar span[title^="noch"]:before {
    background: linear-gradient(90deg, #111 50%, #0000 50%);
    box-shadow: inset 0 0 0 1.5px #111;
  }

  .Veranstaltung.Teaser .Ampelanzeige span[title^="keine"], .WarenkorbGrid .Veranstaltung.Teaser .Ampelanzeige span[title^="keine"], .Ampelbar span[title^="keine"] {
    color: #fff;
    background: #4a4a4a;
    border-color: #a3a3a3;
  }

  .Veranstaltung.Teaser .Ampelanzeige span[title^="keine"]:before, .WarenkorbGrid .Veranstaltung.Teaser .Ampelanzeige span[title^="keine"]:before, .Ampelbar span[title^="keine"]:before {
    background: none;
    box-shadow: inset 0 0 0 2px #fff;
  }

  #header_navi a span.WarenkorbAnzahl, #header_navi a:hover span.WarenkorbAnzahl {
    color: #111;
    background: #e6e6e6;
  }

  .Veranstaltung.begonnen.Teaser .Titel:after {
    color: #d6d6d6;
  }

  .Liste ul > li.Kontakt.Teaser {
    --i-person: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23BDBDBD' fill-opacity='.5' d='M12 4A4 4 0 0 1 16 8A4 4 0 0 1 12 12A4 4 0 0 1 8 8A4 4 0 0 1 12 4M12 14C16.42 14 20 15.79 20 18V20H4V18C4 15.79 7.58 14 12 14Z'/%3E%3C/svg%3E");
  }

  #header_navi svg, nav.burger svg {
    fill: currentColor;
  }

  #header_navi a:hover span {
    box-shadow: inset 0 0 0 1px #ffffff47;
  }

  html:root:root:root header #header nav.burger a:hover {
    color: var(--text);
    background: #ffffff24;
  }

  img, picture {
    filter: brightness(.92);
  }

  #header_logo img, #header_logo_darkmode img {
    filter: none;
  }

  .layoutgrid > tbody > tr > td:first-child, .layoutgrid > tbody > tr > td {
    color: #fff;
    background: var(--Dunkler);
  }
}
@media screen and (prefers-color-scheme: dark) and (forced-colors: none) and ((prefers-reduced-transparency: reduce) or (prefers-contrast: more)) {
  :root {
    --glas: linear-gradient(#1c1c1c,#1c1c1c);
    --glas-stark: var(--glas);
    --glas-hell: var(--glas);
    --blur: none;
    --blur-s: none;
  }
}

/* ===== Suche ===== */
.Suche .ergebnis {
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
  gap: 1.25rem;
  display: grid;
}
.Suche .ergebnis > * {
  grid-column: 1 / -1;
  min-width: 0;
}
.Suche .ergebnis > h2 {
  margin: 0;
}
.Suche .ergebnis > .Programmbereich.Teaser, .Suche .ergebnis > .ArtikelTeaser {
  grid-column: auto;
}
.Suche .ergebnis > .Programmbereich.Teaser {
  width: auto;
  min-height: 10rem;
  margin: 0;
}
.Suche .ergebnis > .Programmbereich.Teaser:not(.ProgrammbereichMitHintergrund) {
  border: 1px solid rgb(var(--db-rgb)/.22);
  box-shadow: 0 2px 2px rgb(var(--db-rgb)/.14);
  background: #fff;
}
.Suche .ergebnis > .Programmbereich.Teaser:not(.ProgrammbereichMitHintergrund) a {
  height: 100%;
  display: block;
}
.Suche .ergebnis > .Programmbereich.Teaser:not(.ProgrammbereichMitHintergrund) a > div {
  padding: 1.25rem 1.35rem;
}
@media only screen and (width >= 36rem) {
  .Suche .ergebnis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media only screen and (width >= 56rem) {
  .Suche .ergebnis {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.Suche .ergebnis ul > a.Kontakt {
  box-sizing: border-box;
  min-height: 3.5rem;
  color: var(--ink, #14213d);
  background: var(--flaeche, #fff);
  border: 1px solid rgb(var(--db-rgb, 20 33 61) / .25);
  border-radius: .75rem;
  padding: 1rem 3rem 1rem 1.25rem;
  text-decoration: none;
  transition: border-color .2s;
  display: block;
  position: relative;
}
.Suche .ergebnis ul > a.Kontakt:after {
  content: "";
  border: 2px solid;
  border-width: 2px 2px 0 0;
  width: .5rem;
  height: .5rem;
  position: absolute;
  top: 50%;
  right: 1.25rem;
  transform: translateY(-50%) rotate(45deg);
}
.Suche .ergebnis ul > a.Kontakt:hover {
  border-color: var(--ink, #14213d);
}
.Suche .ergebnis > a.ArtikelTeaser {
  color: var(--ink, #14213d);
  background: var(--flaeche, #fff);
  border: 1px solid rgb(var(--db-rgb, 20 33 61) / .25);
  border-radius: .75rem;
  text-decoration: none;
  transition: border-color .2s;
  display: block;
  overflow: hidden;
}
.Suche .ergebnis > a.ArtikelTeaser:hover {
  border-color: var(--ink, #14213d);
}
.Suche .ergebnis > a.ArtikelTeaser > .Inhalt {
  background: none;
  border: 0;
  flex-direction: column;
  height: 100%;
  margin: 0;
  padding: 0;
  display: flex;
}
.Suche .ergebnis > a.ArtikelTeaser figure {
  margin: 0;
}
.Suche .ergebnis > a.ArtikelTeaser picture, .Suche .ergebnis > a.ArtikelTeaser img {
  width: 100%;
  display: block;
}
.Suche .ergebnis > a.ArtikelTeaser img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  height: auto;
}
.Suche .ergebnis > a.ArtikelTeaser .ArtikelTeaserText {
  flex-direction: column;
  gap: .5rem;
  padding: 1rem 1.25rem 1.25rem;
  display: flex;
}
.Suche .ergebnis > a.ArtikelTeaser .ArtikelTeaserText h1, .Suche .ergebnis > a.ArtikelTeaser .ArtikelTeaserText h2 {
  color: inherit;
  margin: 0;
}
.Suche .ergebnis > a.ArtikelTeaser .ArtikelTeaserText h2:empty {
  display: none;
}
.Suche .ergebnis > a.ArtikelTeaser .ArtikelTeaserText p {
  margin: 0;
}
.Suche .ergebnis > a.ArtikelTeaser:hover .ArtikelTeaserText h1, .Suche .ergebnis > a.ArtikelTeaser:hover .ArtikelTeaserText h2 {
  text-decoration: underline;
}

/* ===== Veranstaltungen ===== */
.Veranstaltung.Teaser .Teaserbild.Logo {
  box-sizing: border-box;
  object-fit: contain;
  background: #fff;
  padding: .75rem;
}
.Veranstaltung.Teaser :is(.Untertitel, .Zeit, .Ampelanzeige):empty, .Veranstaltung.Teaser .Ort:has( > div:empty) {
  display: none;
}
.Veranstaltung.Teaser .merkenInTeaser a.Anmeldelink:has(svg) > span, .Veranstaltung.Teaser .Ampelanzeige .Ampeltext {
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  position: absolute;
  overflow: hidden;
}

/* ===== Suche ===== */
#suche {
  min-width: 0;
  max-width: 100%;
  overflow-x: clip;
}
#suche :is(form, fieldset, div, ul, li, a, span, strong, p, h2, details, summary, label, picture, figure, input, select, button) {
  min-width: 0;
  max-width: 100%;
}
#suche :is(img, picture, figure, video) {
  max-width: 100%;
}
#suche :is(.Inhalt, .Titel, .Name, .Untertitel, .Zeit, .Ort, .Nummer, .Datum, .Uhrzeit, label, summary, h2, p) {
  overflow-wrap: anywhere;
  white-space: normal;
}
#suche .ergebnis li.Veranstaltung {
  min-width: 0;
  max-width: 100%;
}
#suche #suchbutton.Button {
  min-width: min(8.5rem, 100%);
}
#suche #erweitert :is(.Tageszeiten, .Wochentage) {
  max-width: 100%;
}
@media only screen and (width >= 1200px) {
  .ergebnis > * > * {
    flex-basis: unset;
  }
}
#header_text {
  display: none;
}
#header_logo {
  flex: none;
}
#LogoUndText {
  flex: 0 auto;
}
html:root:root:root :is(#header_logo, #header_logo_darkmode) img {
  width: auto;
  max-width: none;
  height: clamp(3rem, 10vw, 6.25rem);
}
body > nav#barrierefreiheit_leiste {
  border-radius: 0;
  justify-self: stretch;
  width: 100%;
}
body.Hintergrund {
  border-radius: 0;
}
body.Hintergrund > :is(header, footer) {
  border-radius: 0;
  grid-column: 1 / -1;
}
main a, main td, main li {
  overflow-wrap: anywhere;
}
main {
  overflow-wrap: break-word;
}

/* ===== Startseite ===== */
body.Homepage main > article.Artikel.Detail {
  margin: 0;
  padding: 0;
}
body.Homepage main > article.Artikel.Detail .ArtikelContainer {
  gap: var(--AbstandDoppelt);
  grid-template-columns: minmax(0, 1fr);
  padding: clamp(1.5rem, 4vw, 3rem);
  display: grid;
}
body.Homepage main > article.Artikel.Detail .ArtikelContainer > * {
  grid-area: auto / 1 / auto / -1;
}
body.Homepage main > article.Artikel.Detail .ArtikelContainer > .Text {
  max-width: 48rem;
}
body.Homepage main > article.Artikel.Detail .ArtikelContainer > .Text, body.Homepage main > article.Artikel.Detail .ArtikelContainer > .Bild.Detail {
  grid-area: auto / 1 / auto / -1;
}
main > .ProgrammheftInhalt.Teaser {
  grid-column: 1 / -1;
  width: 100%;
  max-width: 100%;
  margin: 0;
}
body.Homepage .ProgrammheftInhalt {
  width: 100%;
  min-width: 0;
  max-width: 100%;
}
body.Homepage .ProgrammheftInhalt > ul {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr));
  gap: 1rem;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  margin: 0;
  padding: 0;
  display: grid;
}
body.Homepage .ProgrammheftInhalt .Programmbereich.Teaser {
  width: 100%;
  min-width: 0;
  max-width: none;
  box-shadow: 0 0 0 1px #ffffff2e,var(--s2);
  flex: none;
  justify-self: stretch;
  margin: 0;
}
.Programmbereich.Teaser.ProgrammbereichMitHintergrund a > div span {
  overflow-wrap: break-word;
}
.Programm.Detail:has( > div > ul.Programmbereiche) {
  display: block;
}
:is(div, ol, ul):has( > .Veranstaltung.Teaser) {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 26rem), 1fr));
  align-items: stretch;
  gap: 1.25rem;
  display: grid;
}
:is(div, ol, ul):has( > .Veranstaltung.Teaser) > :not(.Veranstaltung) {
  grid-column: 1 / -1;
}
main > .Internetauftritt.Detail {
  width: min(100%, 62rem);
  box-shadow: none;
  background: none;
  border: 0;
  justify-self: center;
  padding: 0;
}

/* ===== Footer ===== */
footer #footer {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}
footer .KontaktHauptgeschaeftstelle, footer #footer:before {
  grid-column: 1 / -1;
}
footer .SocialMediaLeiste {
  grid-area: 3 / 1;
}
footer #footer > .Bild.Detail {
  border-radius: var(--RadiusHalb);
  grid-area: 4;
  place-items: center;
  min-height: 5.5rem;
  margin: 0;
  padding: .75rem;
  display: grid;
}
footer #footer > .Bild.Detail img {
  object-fit: contain;
  width: 100%;
  max-width: 100%;
  height: 6rem;
}
footer .KontaktHauptgeschaeftstelleLinks .hervorheben {
  grid-area: auto;
  justify-self: start;
}
footer .KontaktHauptgeschaeftstelleLinks .hervorheben a {
  white-space: nowrap;
}
body.Hintergrund main#content {
  box-shadow: none;
  background: none;
  border: 0;
  border-radius: 0;
}

/* ===== Veranstaltungen ===== */
div.Empfehlung.Empfehlung {
  margin: 0 0 .5rem;
  display: block;
}
.Empfehlung > a.Veranstaltung.Teaser {
  min-width: 0;
  box-shadow: none;
  background: none;
  border: 0;
  border-radius: 0;
  padding: 0;
  text-decoration: underline;
  display: inline;
  overflow: visible;
}
.Empfehlung > a.Veranstaltung.Teaser:hover {
  box-shadow: none;
  background: var(--hellblau);
}
.Empfehlung > a.Veranstaltung.Teaser > span, .Empfehlung > span {
  display: inline;
}

/* ===== Allgemein ===== */
button.Button, .Button {
  white-space: normal;
  overflow-wrap: anywhere;
  height: auto;
  min-height: 2.75rem;
}
body {
  background: #fff;
}
body:before {
  background: none;
}
main h1 {
  display: block !important;
}
header {
  border-bottom: 1px solid rgb(var(--db-rgb)/.2);
  box-shadow: none;
}
header:before {
  background: #fff;
}
.Button, button, input[type="submit"], input[type="button"], a.hervorheben {
  border-radius: var(--Radius);
}
.Button:hover, button:hover, input[type="submit"]:hover, input[type="button"]:hover, a.Button:link:hover, a.Button:visited:hover {
  color: #fff;
  box-shadow: none;
  background: #2c4a7c;
}
#header_navi a span {
  border-radius: var(--Radius);
}
#header_navi a:hover span {
  color: var(--ink);
  background: var(--hellblau);
  box-shadow: none;
}

/* ===== Startseite ===== */
body.Homepage main > article.Artikel.Detail .ArtikelContainer {
  background: var(--dunkelblau);
  box-shadow: 0 0 0 100vmax var(--dunkelblau);
  clip-path: inset(0 -100vmax);
  border-radius: 0;
  padding-block: clamp(2rem, 5vw, 4rem);
}
body.Homepage main > article.Artikel.Detail .Bild.Detail img {
  border-radius: var(--Radius);
}
@media (width >= 75rem) {
  body.Homepage main > article.Artikel.Detail .ArtikelContainer {
    background: radial-gradient(circle at calc(100% - 17rem) 4rem,#7b5ea7 0 1.5rem,transparent calc(1.5rem + 1px)),radial-gradient(circle at calc(100% - 5rem) 3.5rem,#8dc63f 0 1rem,transparent calc(1rem + 1px)),radial-gradient(circle at calc(100% - 20rem) 9.5rem,#f28c00 0 .6rem,transparent calc(.6rem + 1px)),radial-gradient(circle at calc(100% - 7rem) 15rem,#12b5b0 0 1.1rem,transparent calc(1.1rem + 1px)),radial-gradient(circle at calc(100% - 15.5rem) 14rem,#e30613 0 .5rem,transparent calc(.5rem + 1px)),radial-gradient(circle at calc(100% - 1.5rem) 7.5rem,#ffc233 0 .45rem,transparent calc(.45rem + 1px)),radial-gradient(circle at calc(100% - 9rem) 6rem,#ffc233 0 2.25rem,transparent calc(2.25rem + 1px)),radial-gradient(circle at calc(100% - 3.5rem) 10.5rem,#ff7a4d 0 1.25rem,transparent calc(1.25rem + 1px)),radial-gradient(circle at calc(100% - 13rem) 11rem,#5bb5ff 0 .75rem,transparent calc(.75rem + 1px)),var(--dunkelblau);
  }
}
.Veranstaltung.Teaser, .WarenkorbGrid .Veranstaltung.Teaser {
  border: 1px solid rgb(var(--db-rgb)/.22);
  box-shadow: 0 2px 2px rgb(var(--db-rgb)/.14);
  background: #fff;
}
.Veranstaltung.Teaser:hover, .WarenkorbGrid .Veranstaltung.Teaser:hover {
  border-color: rgb(var(--db-rgb)/.5);
  box-shadow: 0 4px 10px -2px rgb(var(--db-rgb)/.25);
}

/* ===== Inhalte & Artikel ===== */
a.Artikel.Teaser.standard {
  transition: box-shadow .25s, border-color .25s;
  overflow: hidden;
}
a.Artikel.Teaser.standard:hover {
  border-color: rgb(var(--db-rgb)/.5);
}
.Liste.Teaser.fensterbreit.Hintergrund :is(.HintergrundFadeIn, .startStop), body.Hintergrund :is(.HintergrundFadeIn, .startStop) {
  display: none;
}
.Liste.Teaser.Hintergrund .Applikationsreferenz > ol {
  width: min(100%,var(--breite_layout));
  max-width: none;
  box-shadow: none;
  backdrop-filter: none;
  background: none;
  border-radius: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-inline: auto;
  padding: 0;
  display: grid;
}

/* ===== Programmbereiche ===== */
.Liste.Teaser.Hintergrund .Applikationsreferenz > ol > li.Programmbereich.Teaser {
  width: auto;
  min-width: 0;
  max-width: none;
  min-height: 0;
  box-shadow: none;
  aspect-ratio: auto;
  background: none;
  border: 0;
  margin: 0;
  padding: 0;
}
.Liste.Teaser.Hintergrund .Applikationsreferenz > ol > li.Programmbereich.Teaser > a {
  text-align: left;
  background: color-mix(in srgb,var(--c, #1e365f) var(--p, 24%),#fff);
  border: 1px solid color-mix(in srgb,var(--c, #1e365f) 35%,#fff);
  border-radius: var(--Radius);
  width: auto;
  height: 100%;
  min-height: 0;
  box-shadow: var(--s2);
  flex-direction: row;
  align-items: center;
  padding: 0;
  transition: border-color .2s, box-shadow .2s;
  display: flex;
  overflow: hidden;
}
.Liste.Teaser.Hintergrund .Applikationsreferenz > ol > li.Programmbereich.Teaser > a:hover {
  border-color: color-mix(in srgb,var(--c, #1e365f) 70%,#fff);
  box-shadow: var(--s3);
}
.Liste.Teaser.Hintergrund .Applikationsreferenz > ol > li.Programmbereich.Teaser > a picture {
  flex: 0 0 5rem;
  justify-content: center;
  align-self: stretch;
  align-items: center;
  min-height: 4.75rem;
  display: flex;
}
.Liste.Teaser.Hintergrund .Applikationsreferenz > ol > li.Programmbereich.Teaser > a img {
  object-fit: contain;
  width: 3rem;
  height: 3rem;
  box-shadow: none;
  background: none;
  border-radius: 0;
  margin: 0;
  padding: 0;
}
.Liste.Teaser.Hintergrund .Applikationsreferenz > ol > li.Programmbereich.Teaser > a[href*="cmx65bb620277e3d"] {
  --c: #e30613;
}
.Liste.Teaser.Hintergrund .Applikationsreferenz > ol > li.Programmbereich.Teaser > a[href*="gesundheit-kochen"] {
  --c: #8dc63f;
}
.Liste.Teaser.Hintergrund .Applikationsreferenz > ol > li.Programmbereich.Teaser > a[href*="deutsch-lernen"], .Liste.Teaser.Hintergrund .Applikationsreferenz > ol > li.Programmbereich.Teaser > a[href*="sprachkurse"] {
  --c: #7b5ea7;
}
.Liste.Teaser.Hintergrund .Applikationsreferenz > ol > li.Programmbereich.Teaser > a[href*="kultur-und-kreativ"] {
  --c: #e30613;
}
.Liste.Teaser.Hintergrund .Applikationsreferenz > ol > li.Programmbereich.Teaser > a[href*="kunstschule"] {
  --c: #e8452c;
}
.Liste.Teaser.Hintergrund .Applikationsreferenz > ol > li.Programmbereich.Teaser > a[href*="grundbildung"] {
  --c: #ffa800;
}
.Liste.Teaser.Hintergrund .Applikationsreferenz > ol > li.Programmbereich.Teaser > a[href*="gesellschaft-studium"] {
  --c: #f28c00;
}
.Liste.Teaser.Hintergrund .Applikationsreferenz > ol > li.Programmbereich.Teaser > a[href*="berufliche-weiterbildung"] {
  --c: #3fb1e3;
}
.Liste.Teaser.Hintergrund .Applikationsreferenz > ol > li.Programmbereich.Teaser > a[href*="edv-kurse"] {
  --c: #1e365f;
}
.Liste.Teaser.Hintergrund .Applikationsreferenz > ol > li.Programmbereich.Teaser > a[href*="vhs-online"] {
  --c: #12b5b0;
}
.Liste.Teaser.Hintergrund .Applikationsreferenz > ol > li.Programmbereich.Teaser > a[href*="junge-vhs"], .Liste.Teaser.Hintergrund .Applikationsreferenz > ol > li.Programmbereich.Teaser > a[href*="angebote-fuer-senioren"], .Liste.Teaser.Hintergrund .Applikationsreferenz > ol > li.Programmbereich.Teaser > a[href*="cmx63919bbadcdf4"] {
  --c: #1e365f;
}
.Liste.Teaser.Hintergrund .Applikationsreferenz > ol > li.Programmbereich.Teaser > a:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}
.Liste.Teaser.Hintergrund .Applikationsreferenz > ol > li.Programmbereich.Teaser > a h2 {
  text-align: left;
  color: #1e365f;
  overflow-wrap: anywhere;
  flex: 1;
  justify-content: space-between;
  align-items: center;
  gap: .5rem;
  min-height: 0;
  margin: 0;
  padding: .75rem .75rem .75rem 0;
  display: flex;
}
.Liste.Teaser.Hintergrund .Applikationsreferenz > ol > li.Programmbereich.Teaser > a h2 span {
  min-width: 0;
}
.Liste.Teaser.Hintergrund .Applikationsreferenz > ol > li.Programmbereich.Teaser > a h2:after {
  content: "";
  width: 1.25rem;
  height: 1.25rem;
  mask: var(--i-pfeil) center/contain no-repeat;
  background: #1e365f;
  flex: none;
}
body.Hintergrund main {
  box-shadow: none;
  backdrop-filter: none;
  background: none;
  border: 0;
  border-radius: 0;
}
body.Hintergrund main > article.Artikel.Detail {
  border: 1px solid rgb(var(--db-rgb)/.22);
  box-shadow: 0 2px 2px rgb(var(--db-rgb)/.14);
  background: #fff;
}
body.Homepage main > .Applikationsreferenz[class*="HeuteBeginnende"] {
  --b: color-mix(in srgb,var(--dunkelblau) 7%,var(--grund));
}
.Liste.Teaser.fensterbreit.Hintergrund {
  padding-block: clamp(1.5rem, 4vw, 2.5rem);
  height: auto !important;
  min-height: 0 !important;
}
body.Homepage main > .Liste.Teaser.fensterbreit.Hintergrund {
  margin-top: -2.5rem;
}
@media screen and (prefers-color-scheme: dark) and (forced-colors: none) {
  body {
    background: var(--grund);
  }

  header {
    border-color: var(--rim);
  }

  header:before {
    background: var(--grund);
  }

  .Veranstaltung.Teaser, .WarenkorbGrid .Veranstaltung.Teaser, a.Artikel.Teaser.standard, body.Hintergrund main > article.Artikel.Detail, .Suche .ergebnis > .Programmbereich.Teaser:not(.ProgrammbereichMitHintergrund) {
    background: var(--flaeche);
    border-color: var(--rim);
    box-shadow: none;
  }

  .Veranstaltung.Teaser:hover, .WarenkorbGrid .Veranstaltung.Teaser:hover, a.Artikel.Teaser.standard:hover {
    box-shadow: none;
    border-color: #ffffff80;
  }

  .Liste.Teaser.fensterbreit.Hintergrund > .HintergrundContainer {
    background: var(--flaeche);
  }

  #header_navi a:hover span, .Empfehlung > a.Veranstaltung.Teaser:hover {
    color: var(--text);
    background: #ffffff24;
  }

  .Button:hover, button:hover, input[type="submit"]:hover, input[type="button"]:hover, a.Button:link:hover, a.Button:visited:hover {
    color: var(--auf-knopf);
    background: var(--knopf-h);
  }

  #header_logo img {
    border-radius: var(--Radius);
    background: #fff;
    padding: .2rem .5rem;
  }

  .RadioUndLabel:has(input:checked) {
    background: #ffffff24;
  }
}
body .Programmbereich.Teaser.ProgrammbereichMitHintergrund:is(:hover, :focus-within) {
  border-color: rgb(var(--db-rgb)/.5);
  box-shadow: 0 4px 10px -2px rgb(var(--db-rgb)/.25);
}
body .Programmbereich.Teaser.ProgrammbereichMitHintergrund a {
  flex-direction: column;
  justify-content: flex-end;
  min-height: 16rem;
  display: flex;
}
body .Programmbereich.Teaser.ProgrammbereichMitHintergrund a > div {
  background: var(--flaeche);
  border-top: 1px solid rgb(var(--db-rgb)/.14);
  flex: none;
  align-items: center;
  min-height: 3rem;
  padding: .75rem;
  display: flex;
}
body .Programmbereich.Teaser.ProgrammbereichMitHintergrund a > div span {
  overflow-wrap: break-word;
  min-width: 0;
  color: var(--ink);
  flex-direction: row;
  flex: 1;
  justify-content: space-between;
  align-items: center;
  gap: .5rem;
}
body .Programmbereich.Teaser.ProgrammbereichMitHintergrund a > div span:after, body .Programmbereich.Teaser.ProgrammbereichMitHintergrund:is(:hover, :focus-within) a > div span:after {
  background: var(--ink);
  flex: none;
  width: 1.25rem;
  height: 1.25rem;
}
body .Programmbereich.Teaser.ProgrammbereichMitHintergrund a:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: -3px;
  box-shadow: inset 0 0 0 6px var(--flaeche);
}
.ProgrammheftInhalt:has(a[href$="cmx63919bbaf4050.html"]) .Programmbereich.Teaser.ProgrammbereichMitHintergrund {
  background-color: #fff;
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: contain;
  background-origin: content-box;
  padding: 1rem 1rem 5.25rem;
}
.ProgrammheftInhalt:has(a[href$="cmx63919bbaf4050.html"]) .Programmbereich.Teaser.ProgrammbereichMitHintergrund a {
  margin-bottom: -5.25rem;
}
main > .Artikel.Detail .ProgrammheftInhalt > ul {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  gap: .75rem;
  max-width: 44rem;
  margin-inline: 0;
}
main > .Artikel.Detail .ProgrammheftInhalt .Programmbereich.Teaser.ProgrammbereichMitHintergrund {
  background-color: var(--dunkelblau);
  box-shadow: none;
  background-position: .4rem;
  background-repeat: no-repeat;
  background-size: 3.2rem 3.2rem;
  border: 0;
  border-radius: 2.25rem;
}
main > .Artikel.Detail .ProgrammheftInhalt .Programmbereich.Teaser.ProgrammbereichMitHintergrund a {
  border-radius: inherit;
  background: radial-gradient(circle at 2rem 50%,transparent 1.5rem,color-mix(in srgb,#fff 12%,var(--dunkelblau)) calc(1.5rem + .5px));
  flex-direction: row;
  align-items: center;
  min-height: 4rem;
}
main > .Artikel.Detail .ProgrammheftInhalt .Programmbereich.Teaser.ProgrammbereichMitHintergrund:is(:hover, :focus-within) a {
  background: radial-gradient(circle at 2rem 50%,transparent 1.5rem,color-mix(in srgb,#fff 18%,var(--dunkelblau)) calc(1.5rem + .5px));
}
main > .Artikel.Detail .ProgrammheftInhalt .Programmbereich.Teaser.ProgrammbereichMitHintergrund a > div {
  background: none;
  border: 0;
  flex: 1;
  min-height: 0;
  padding: .5rem 1rem .5rem 4rem;
}
main > .Artikel.Detail .ProgrammheftInhalt .Programmbereich.Teaser.ProgrammbereichMitHintergrund a > div span {
  color: #fff;
  gap: .5rem;
}
main > .Artikel.Detail .ProgrammheftInhalt .Programmbereich.Teaser.ProgrammbereichMitHintergrund a > div span:after, main > .Artikel.Detail .ProgrammheftInhalt .Programmbereich.Teaser.ProgrammbereichMitHintergrund:is(:hover, :focus-within) a > div span:after {
  background: #fff;
  width: 1.25rem;
  height: 1.25rem;
}
main > .Artikel.Detail .ProgrammheftInhalt .Programmbereich.Teaser.ProgrammbereichMitHintergrund:is(:hover, :focus-within) {
  box-shadow: none;
}
main > .Artikel.Detail .ProgrammheftInhalt .Programmbereich.Teaser.ProgrammbereichMitHintergrund a:focus-visible {
  outline-offset: -3px;
  box-shadow: none;
  outline: 3px solid #fff;
}
main > .Artikel.Detail .ProgrammheftInhalt .Programmbereich.Teaser:not(.ProgrammbereichMitHintergrund) {
  box-shadow: none;
  background: none;
  border: 0;
  border-radius: 2.25rem;
}
main > .Artikel.Detail .ProgrammheftInhalt .Programmbereich.Teaser:not(.ProgrammbereichMitHintergrund) > a {
  background: color-mix(in srgb,#fff 12%,var(--dunkelblau));
  color: #fff;
  border-radius: 2.25rem;
  align-items: center;
  gap: 1rem;
  min-height: 4rem;
  padding: .5rem 1.25rem .5rem .5rem;
  text-decoration: none;
  display: flex;
}
main > .Artikel.Detail .ProgrammheftInhalt .Programmbereich.Teaser:not(.ProgrammbereichMitHintergrund) > a:hover {
  background: color-mix(in srgb,#fff 18%,var(--dunkelblau));
}
main > .Artikel.Detail .ProgrammheftInhalt .Programmbereich.Teaser:not(.ProgrammbereichMitHintergrund) > a:focus-visible {
  outline-offset: -3px;
  box-shadow: none;
  outline: 3px solid #fff;
}
main > .Artikel.Detail .ProgrammheftInhalt .Programmbereich.Teaser:not(.ProgrammbereichMitHintergrund) picture {
  flex: 0 0 3rem;
  width: 3rem;
  height: 3rem;
  display: block;
}
main > .Artikel.Detail .ProgrammheftInhalt .Programmbereich.Teaser:not(.ProgrammbereichMitHintergrund) img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  max-height: none;
  box-shadow: none;
  border-radius: 50%;
  display: block;
}
main > .Artikel.Detail .ProgrammheftInhalt .Programmbereich.Teaser:not(.ProgrammbereichMitHintergrund) h2 {
  text-align: left;
  overflow-wrap: break-word;
  color: #fff;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M4 11V13H16L10.5 18.5L11.92 19.92L19.84 12L11.92 4.08L10.5 5.5L16 11H4Z'/%3E%3C/svg%3E") 100% / 1.25rem no-repeat;
  flex: 1;
  min-width: 0;
  margin: 0;
  padding-right: 1.75rem;
}
main > .Artikel.Detail .ProgrammheftInhalt .Programmbereich.Teaser:not(.ProgrammbereichMitHintergrund) > a:hover h2 {
  background-position: right -.25rem center;
}
.Formular div:has( > input[type="checkbox"] + label) {
  align-items: center;
  gap: .75rem;
  display: flex;
}
.Formular input[type="checkbox"] + label {
  margin: 0;
}
:root {
  --leicht: #f3f6fb;
}
@media screen and (prefers-color-scheme: dark) and (forced-colors: none) {
  :root {
    --leicht: #262626;
  }
}

/* ===== Inhalte & Artikel ===== */
a.Artikel.Teaser.standard {
  background: var(--flaeche);
  box-shadow: var(--s2);
  border: 0;
  border-radius: 1.25rem;
}
a.Artikel.Teaser.standard:hover {
  box-shadow: var(--s3);
  border: 0;
}
a.Artikel.Teaser.standard:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}
a.Artikel.Teaser.standard figure {
  background: var(--hellblau);
  overflow: hidden;
}
a.Artikel.Teaser.standard figure img {
  box-shadow: none;
  border-radius: 0;
}
a.Artikel.Teaser.standard .ArtikelTeaserText {
  flex-direction: column;
  flex: 1;
  gap: .5rem;
  padding: 1.25rem 1.5rem 1.5rem;
  display: flex;
}
a.Artikel.Teaser.standard h2 {
  color: var(--ink);
  margin: 0;
}
a.Artikel.Teaser.standard h2:empty {
  display: none;
}
a.Artikel.Teaser.standard p {
  color: var(--blau-75);
  margin: 0;
  overflow: hidden;
}
a.Artikel.Teaser.standard .ArtikelTeaserText:after {
  content: "Mehr erfahren →"/"";
  background: var(--hellblau);
  color: var(--dunkelblau);
  border-radius: 999px;
  align-self: flex-start;
  margin-top: auto;
  padding: .55rem 1rem;
  transition: background .3s, color .3s;
}
a.Artikel.Teaser.standard:is(:hover, :focus-visible) .ArtikelTeaserText:after {
  background: var(--knopf);
  color: var(--auf-knopf);
}

/* ===== Suche ===== */
body.Homepage main > article.Artikel.Detail #suche #suchbox {
  background-color: #fff;
  border-color: #fff;
  box-shadow: 0 10px 24px -14px #0000008c;
}
body.Homepage main > article.Artikel.Detail #suche #suchbox:hover {
  border-color: #eaeff8;
}
body.Homepage main > article.Artikel.Detail #suche #suchbutton.Button {
  color: #1e365f;
  box-shadow: none;
  background: #fff;
}
body.Homepage main > article.Artikel.Detail #suche #suchbutton.Button:hover {
  background: #eaeff8;
}
body.Homepage main > article.Artikel.Detail #suche #suchbutton.Button:focus-visible {
  outline-offset: 3px;
  outline: 3px solid #fff;
}
li.Veranstaltung.Teaser, .WarenkorbGrid .Veranstaltung.Teaser {
  background: var(--leicht);
  box-shadow: var(--s2);
}

/* ===== Kontakte ===== */
.ArtikelContainer:has( > a.Kontakt.Teaser):not(:has(.KontaktTeaserBild)) {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr));
  gap: .75rem;
}
a.Kontakt.Teaser:not(:has(.KontaktTeaserBild)) {
  background: var(--flaeche);
  min-height: 3.5rem;
  box-shadow: var(--s2);
  backdrop-filter: none;
  border: 0;
  border-radius: 1rem;
  grid-column: auto;
  align-items: center;
  display: flex;
}
a.Kontakt.Teaser:not(:has(.KontaktTeaserBild)):hover {
  box-shadow: var(--s3);
}
a.Kontakt.Teaser:not(:has(.KontaktTeaserBild)):focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}
a.Kontakt.Teaser:not(:has(.KontaktTeaserBild)) .Inhalt {
  flex: 1;
  padding: .75rem 1rem .75rem 1.25rem;
}
a.Kontakt.Teaser:not(:has(.KontaktTeaserBild)):after {
  content: "→"/"";
  background: var(--hellblau);
  height: 2rem;
  color: var(--dunkelblau);
  border-radius: 50%;
  flex: 0 0 2rem;
  place-items: center;
  margin-right: .75rem;
  transition: background .3s, color .3s;
  display: grid;
}
a.Kontakt.Teaser:not(:has(.KontaktTeaserBild)):is(:hover, :focus-visible):after {
  background: var(--knopf);
  color: var(--auf-knopf);
}

/* ===== Footer ===== */
footer #footer {
  padding-top: 3rem;
  padding-bottom: 2rem;
}
footer address {
  align-items: center;
  gap: .25rem .75rem;
}
footer address > :is(p, span) {
  flex: 0 0 100%;
}
footer address > span {
  margin-bottom: .5rem;
}
footer address a {
  border: 1px solid #ffffff59;
  border-radius: 999px;
  align-items: center;
  min-height: 2.75rem;
  padding: 0 1.25rem;
  transition: background .25s, border-color .25s;
  display: flex !important;
}
footer address a:hover {
  background: #ffffff1a;
  border-color: #fff;
  text-decoration: none;
}
footer #footer .SocialMediaLeiste a {
  border-radius: 1rem;
}
footer #footer .Artikel.Teaser.hervorheben a {
  white-space: nowrap;
  padding: .5rem 1.25rem;
  transition: background .25s, border-color .25s;
  border-radius: 999px !important;
}
footer #footer .Artikel.Teaser.hervorheben a:hover {
  color: #fff;
  background: #ffffff1a;
  border-color: #fff;
  text-decoration: none;
}
footer #footer .Bild.Detail {
  border-radius: 1rem;
}
@media (width <= 40rem) {
  footer #footer {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  footer #footer > :not(.Bild) {
    grid-column: 1 / -1;
  }

  footer #footer .Bild.Detail {
    order: 4;
    grid-area: auto;
  }

  footer #footer .KontaktHauptgeschaeftstelle {
    order: 1;
  }

  footer #footer:before {
    order: 2;
    grid-area: auto / 1 / auto / -1;
  }

  footer #footer :is(.SocialMediaLeiste, .hervorheben) {
    order: 3;
  }
}
:root {
  --seite: #f7f9fc;
}
@media not (prefers-color-scheme: dark) {
  body {
    background: var(--seite);
  }

  :root {
    --s1: 0 0 0 1px rgb(var(--db-rgb)/.18),0 2px 6px -1px rgb(var(--db-rgb)/.14);
    --s2: 0 0 0 1px rgb(var(--db-rgb)/.2),0 6px 16px -4px rgb(var(--db-rgb)/.24);
    --s3: 0 0 0 1px rgb(var(--db-rgb)/.3),0 14px 30px -8px rgb(var(--db-rgb)/.38);
  }
}
@media (width <= 40rem) {
  .Liste.Teaser.Hintergrund .Applikationsreferenz > ol {
    grid-template-columns: minmax(0, 1fr);
    gap: .75rem;
  }
}
a.Artikel.Teaser.standard.breite_0 figure img {
  object-position: center;
  height: auto;
  max-height: none;
}

/* ===== Journal & News ===== */
.JournalVorschauliste a.Journaleintrag.Teaser {
  box-shadow: var(--s2);
}
.JournalVorschauliste a.Journaleintrag.Teaser:hover {
  box-shadow: var(--s3);
}
.JournalVorschauliste .Kopf {
  flex: none;
  padding-bottom: 0;
}
.JournalVorschauliste .Kopf:after {
  content: none;
}
.JournalVorschauliste a.Journaleintrag > span {
  color: var(--blau-75);
  flex: none;
  padding: .75rem 1.5rem 0;
  overflow: hidden;
}
.JournalVorschauliste a.Journaleintrag:after {
  content: "Weiterlesen →"/"";
  background: var(--hellblau);
  color: var(--dunkelblau);
  border-radius: 999px;
  align-self: flex-start;
  margin: auto 1.5rem 1.5rem;
  padding: .55rem 1rem;
  transition: background .3s, color .3s;
}
.JournalVorschauliste a.Journaleintrag:is(:hover, :focus-visible):after {
  background: var(--knopf);
  color: var(--auf-knopf);
}
.Homepage main {
  padding-top: 0;
}

/* ===== Kontakte ===== */
a.Kontakt.Teaser {
  color: #131a2c;
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  background: linear-gradient(135deg, #ffffffb3, #969eaa2e);
  border: 1px solid #ffffffe6;
  border-radius: 20px;
  align-self: stretch;
  box-shadow: inset 0 1px #ffffffd9, inset 0 -1px #ffffff40, 0 0 0 1px #131a2c14, 0 8px 24px #131a2c1f;
}
@supports not (backdrop-filter: blur(1px)) {
  a.Kontakt.Teaser {
    background: #f1f2f4;
  }
}
a.Kontakt.Teaser:hover {
  background: linear-gradient(135deg, #ffffffd9, #969eaa42);
  box-shadow: inset 0 1px #ffffffe6, inset 0 -1px #ffffff4d, 0 0 0 1px #131a2c1a, 0 12px 30px #131a2c2e;
}
a.Kontakt.Teaser:focus-visible {
  outline-offset: 3px;
  outline: 3px solid #131a2c;
}
a.Kontakt.Teaser .Inhalt {
  border-radius: 20px;
  align-items: center;
  gap: 1.25rem;
  height: 100%;
  padding: 1rem;
}
a.Kontakt.Teaser .KontaktTeaserBild {
  border: 2px solid #fffc;
  border-radius: 14px;
  flex: 0 0 7rem;
  width: 7rem;
  height: 8.5rem;
  min-height: 0;
  max-height: none;
  display: flex;
  overflow: hidden;
  box-shadow: 0 4px 12px #131a2c38;
}
a.Kontakt.Teaser .KontaktTeaserBild picture {
  width: 100%;
  height: 100%;
  display: block;
}
a.Kontakt.Teaser .KontaktTeaserBild img {
  object-fit: cover;
  object-position: top;
  width: 100%;
  height: 100%;
  max-height: none;
  box-shadow: none;
  display: block;
}
a.Kontakt.Teaser .KontaktText {
  color: #131a2c;
  flex-direction: column;
  justify-content: center;
  gap: .4rem;
  padding: 0;
  display: flex;
}
a.Kontakt.Teaser .KontaktText > b {
  color: #131a2c;
  display: block;
}
a.Kontakt.Teaser .KontaktText > div {
  color: #131a2c;
}
@media (width >= 75rem) {
  body.Homepage main > article.Artikel.Detail .ArtikelContainer {
    background-image: none;
  }

  body.Homepage main > article.Artikel.Detail .ArtikelContainer .Text:has( > span > .wr) {
    position: static;
  }

  body.Homepage main > article.Artikel.Detail .ArtikelContainer .Text:has( > span > .wr) > span {
    width: 22rem;
    position: absolute;
    top: 4rem;
    right: 3rem;
  }
}

/* ===== Veranstaltungen ===== */
.WeitereKursedesKursleiters h2 {
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: .35em;
  display: flex;
}
.WeitereKursedesKursleiters h2 a.KontaktLink {
  flex-wrap: wrap;
  align-items: baseline;
  display: flex;
}
.WeitereKursedesKursleiters h2 a.KontaktLink br {
  display: none;
}
.WeitereKursedesKursleiters h2 a.KontaktLink > span:nth-last-child(2) {
  margin-left: .35em;
}

/* ===== Startseite ===== */
.Homepage main > .Journal.Teaser {
  clip-path: inset(0 -100vmax);
  background: #1e365f;
  box-shadow: 0 0 0 100vmax #1e365f;
}
.Homepage main > .Journal.Teaser > .Inhalt > h2 {
  color: #fff;
}
.Homepage main > a#cmx65478104c9e71, .Homepage main > a#cmx65478104c9e71:is(:hover, :focus-visible) {
  clip-path: inset(-3rem -100vmax);
  margin-block: 3rem;
  box-shadow: 0 0 0 3rem #1e365f, 0 0 0 100vmax #1e365f;
}

/* ===== Programmbereiche ===== */
body div.Applikationsreferenz.Hauptbereich.fensterbreit {
  justify-content: stretch;
  max-width: 100%;
  margin-inline: 0;
  padding: 0;
}
body div.Applikationsreferenz.Hauptbereich.fensterbreit > ol {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr));
  grid-auto-rows: auto;
  gap: 1rem;
  width: 100%;
}
body div.Applikationsreferenz.Hauptbereich.fensterbreit > ol > li.Programmbereich.Teaser {
  width: auto;
  height: auto;
  min-height: 0;
}
body div.Applikationsreferenz.Hauptbereich.fensterbreit > ol > li.Programmbereich.Teaser > a {
  align-items: center;
  height: auto;
  min-height: 3.5rem;
  padding: .75rem 1rem;
}
body div.Applikationsreferenz.Hauptbereich.fensterbreit > ol > li.Programmbereich.Teaser > a img {
  width: 36px;
  height: auto;
}
:is(input, button, a):focus:not(:focus-visible) {
  outline: unset;
}

/* ===== Startseite ===== */
body.Homepage main > article.Artikel.Detail .ArtikelContainer {
  row-gap: 2rem;
}
body.Homepage main > article.Artikel.Detail .ArtikelContainer h1 {
  max-width: none;
  margin: 0;
}
body.Homepage main > article.Artikel.Detail .ArtikelContainer > .Bild.Detail {
  order: 1;
}
body.Homepage main > article.Artikel.Detail .ArtikelContainer > .ProgrammheftInhalt {
  order: 2;
}
body.Homepage main > article.Artikel.Detail .ArtikelContainer > .ProgrammheftInhalt ul, body.Homepage main > article.Artikel.Detail #suche {
  max-width: none;
}
body.Homepage main > article.Artikel.Detail .ArtikelContainer > .Bild.Detail img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 12px;
  width: 100%;
  height: auto;
}
@media only screen and (width >= 960px) {
  body.Homepage main > article.Artikel.Detail .ArtikelContainer {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    align-items: center;
    column-gap: clamp(2rem, 5vw, 4rem);
    padding-inline: 0;
  }

  body.Homepage main > article.Artikel.Detail .ArtikelContainer > .Text {
    grid-column: 1 / 7;
    max-width: none;
  }

  body.Homepage main > article.Artikel.Detail .ArtikelContainer > .Text.h1 {
    grid-row: 1;
    align-self: end;
  }

  body.Homepage main > article.Artikel.Detail .ArtikelContainer > .Text.p {
    grid-row: 2;
    align-self: start;
  }

  body.Homepage main > article.Artikel.Detail .ArtikelContainer > .Bild.Detail {
    grid-area: 1 / 7 / 3 / -1;
    align-self: stretch;
  }

  body.Homepage main > article.Artikel.Detail .ArtikelContainer > .Bild.Detail figure {
    flex-direction: column;
    flex: 1;
    display: flex;
  }

  body.Homepage main > article.Artikel.Detail .ArtikelContainer > .Bild.Detail picture {
    flex: 1;
    min-height: 0;
    display: block;
  }

  body.Homepage main > article.Artikel.Detail .ArtikelContainer > .Bild.Detail img {
    aspect-ratio: auto;
    height: 100%;
  }

  body.Homepage main > article.Artikel.Detail .ArtikelContainer > .ProgrammheftInhalt {
    grid-area: 3 / 1 / 4 / -1;
  }

  body.Homepage main > article.Artikel.Detail .ArtikelContainer > .ProgrammheftInhalt ul {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body.Homepage main > article.Artikel.Detail .ArtikelContainer > .Applikationsreferenz {
    grid-area: 4 / 1 / 5 / -1;
  }
}

/* ===== Barrierefreiheit, Dark-Mode & Druck ===== */
@media (prefers-reduced-motion: reduce) {
  *, :before, :after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
@media print {
  *, :before, :after {
    transition: none !important;
  }

  body {
    background: var(--flaeche);
  }

  footer {
    color: var(--anthrazit);
    background: none;
  }

  footer a {
    color: var(--anthrazit);
  }

  body:before {
    display: none;
  }

  :root {
    --glas: linear-gradient(#fff,#fff);
    --glas-stark: linear-gradient(#fff,#fff);
    --glas-hell: linear-gradient(#fff,#fff);
    --blur: none;
    --blur-s: none;
  }
}
@media (forced-colors: active) {
  .Liste ul > li.Kontakt.Teaser, .Veranstaltung.Teaser, .JournalVorschauliste a.Journaleintrag.Teaser, .Programmbereich.Teaser.ProgrammbereichMitHintergrund, a.Artikel.Teaser.Hintergrund.positioniert {
    border: 1px solid canvastext;
  }

  .Button, button, a.hervorheben {
    border: 2px solid buttontext;
  }

  :root {
    --glas: linear-gradient(Canvas,Canvas);
    --glas-stark: linear-gradient(Canvas,Canvas);
    --glas-hell: linear-gradient(Canvas,Canvas);
    --blur: none;
    --blur-s: none;
  }

  body:before {
    display: none;
  }

  footer, body.Homepage main > article.Artikel.Detail {
    background-image: none;
    border: 1px solid canvastext;
  }

  #header_navi a span {
    border: 1px solid buttontext;
  }

  a.Artikel.Teaser.standard, a.Kontakt.Teaser:not(:has(.KontaktTeaserBild)) {
    border: 1px solid canvastext;
  }
}

/* ===== Hauptbereich: Überschriften 1rem ===== */
.Hauptbereich li h2,
.Hauptbereich li h2 span {
  font-size: 1rem;
}
.ergebnis .Flex.Spalte, .Kurspusher .KurspusherPanel {
  flex-wrap: nowrap;
}
body .Programmbereich.Teaser.ProgrammbereichMitHintergrund:not(.ProgrammheftInhalt *){--pb-label:5.25rem;container-type:inline-size;padding-bottom:var(--pb-label);background:var(--Hintergrundfarbe,#eef1f5) center/cover no-repeat content-box}
body .Programmbereich.Teaser.ProgrammbereichMitHintergrund:not(.ProgrammheftInhalt *)>a{min-height:calc(66.667cqi + var(--pb-label));margin-bottom:calc(-1*var(--pb-label))}
body .Programmbereich.Teaser.ProgrammbereichMitHintergrund:not(.ProgrammheftInhalt *)>a>div{min-height:var(--pb-label)}
@media (width > 56.25em){main .BereichInProgrammheft .ProgrammheftInhalt>ul>.Veranstaltung.Teaser{grid-column:span 6}}
.Programmbereich.Teaser h2 {text-align: unset;}
body, body.Hintergrund { color: var(--text); gap: 0; }
.Suche #suche { flex-wrap: nowrap; }