/* vhs Kempten - config.css (Stand 20.11.2026). Kaskade: index.css (System) > basis.css > config.css.
   Nur Palette des vhs-Farbsystems (Projektdokument). Keine Dekoration, kein JS. */

/* ---------- 1 Variablen ---------- */
:root
{
	color-scheme: only light;
	--blau: #00285A;
	--blau-75: #405E83;
	--blau-60: #647D9B;
	--blau-30: #B4BECD;
	--blau-5: #F2F4F7;
	--gelb: #FAB90F;
	--rot-d: #8C0A23;
	--Abstand: 1rem;
	--AbstandHalb: .5rem;
	--AbstandDoppelt: 2rem;
	--Radius: 1rem;
	--RadiusHalb: .5rem;
	--Dunkler: var(--blau-5);
	--LeichtesGrau: var(--blau-5);
	--Heller: #fff;
	--Grau: var(--blau-30);
	--LinkColor: var(--blau);
	--ButtonBackground: var(--blau);
	--ButtonColor: #fff;
	--Outline: 3px solid var(--blau);
	--Shadow: 0 1px 3px rgb(0 40 90 / .10), 0 4px 12px rgb(0 40 90 / .08);
	--HintergrundShadow: var(--Shadow);
	--HintergrundAufHintergrund: #fff;
	--Rauchglas: rgb(0 40 90 / .92);
	--WeissTransparent: #fff;
	--BackdropBlur: none;
	--Lesebreite: 45rem;
	--font-size: 1rem;
	--ikon-kalender: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M19 4h-1V2h-2v2H8V2H6v2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2m0 16H5V10h14zM5 8V6h14v2z'/%3E%3C/svg%3E");
	--ikon-ort: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5.25 7 13 7 13s7-7.75 7-13a7 7 0 0 0-7-7m0 9.5A2.5 2.5 0 1 1 14.5 9 2.5 2.5 0 0 1 12 11.5'/%3E%3C/svg%3E");
	--ikon-pfeil: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M8 12h8m-3-3 3 3-3 3'/%3E%3C/svg%3E");
	--ikon-plus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 8v8M8 12h8'/%3E%3C/svg%3E");
}

/* ---------- 2 Grundlagen ---------- */
html 				{scroll-padding: 7rem 0 6rem;}
body
{
	font: 1.0625rem/1.6 Arial, "Helvetica Neue", Helvetica, "Liberation Sans", sans-serif;
	color: var(--blau);
	background: #fff;
	overflow-wrap: break-word;
}
h1, h2, h3, h4, h5, h6 	{line-height: 1.2; text-wrap: balance;}
h1 *, h2 * 				{font-size: inherit;}
h1 						{font-size: clamp(1.75rem, 4.5vw, 2.5rem);}
h2 						{font-size: clamp(1.375rem, 3vw, 1.75rem);}
h3 						{font-size: 1.25rem;}
h2:empty, h3:empty 		{display: none;}
a, a:link, a:visited 	{color: var(--blau);}
a:hover 				{color: var(--blau-75);}
.Text a, p a 			{text-underline-offset: .15em;}
img:not(.icon, .Logo) 	{border-radius: var(--RadiusHalb);}
:focus-visible 			{outline: var(--Outline); outline-offset: 2px; box-shadow: 0 0 0 2px #fff;}
a:focus, input:focus, button:focus, summary:focus {outline: var(--Outline);}
::selection 			{background: var(--blau); color: #fff;}
.Datum, .Uhrzeit 		{white-space: nowrap;}
.HintergrundContainer, .startStop 	{display: none;}
nav a::before 			{display: none;}
.Hintergrund 			{background: none;}
.Tageszeiten h2, .Wochentage h2, #suche #erweitert h2 {font-size: 1rem;}

/* ---------- 3 Buttons und Formulare ---------- */
.Button
, button
{
	min-height: 2.75rem;
	padding: .65rem 1.25rem;
	border-radius: 2rem;
	font: inherit;
	font-weight: bold;
	transition: background-color .2s;
}
.Button:hover, button:hover 			{background: var(--blau-75);}
a.hervorheben, a.hervorheben:link, a.hervorheben:visited
{
	display: inline-block;
	padding: .65rem 1.25rem;
	border-radius: 2rem;
	background: var(--gelb);
	color: #000;
	font-weight: bold;
	text-align: center;
	text-decoration: none;
	transition: background-color .2s;
}
a.hervorheben:hover 					{background: #fff; box-shadow: inset 0 0 0 2px var(--gelb);}
input[type=text], input[type=date], input[type=time], input[type=email], input[type=password], input[type=number], input[type=tel], select, textarea
{
	min-height: 2.75rem;
	border: 1px solid var(--blau-60);
	border-radius: var(--RadiusHalb);
	background: #fff;
	color: var(--blau);
	font: inherit;
}
input[type=checkbox], input[type=radio] 	{accent-color: var(--blau);}
label 									{font-weight: bold;}
input[type=checkbox] + label, input[type=radio] + label, .RadioUndLabel label, #suche #erweitert li label {font-weight: normal;}
legend 									{font-weight: bold; font-size: 1.125rem; margin-bottom: var(--AbstandHalb);}
fieldset 								{min-width: 0;}
::placeholder 							{color: var(--blau-75); opacity: 1;}
details
, article > details
{
	border: 1px solid var(--blau-30);
	border-radius: var(--Radius);
	background: var(--blau-5);
}
summary 								{font-weight: bold;}
table.standard th 						{background: var(--blau-5); white-space: normal;}
table.standard td 						{border-bottom: 1px solid var(--blau-30);}
table.standard th, table.standard td 	{padding: .5rem .75rem;}
.RadioUndLabel 							{border: 1px solid var(--blau-30); background: #fff;}

/* ---------- 4 Kopf ---------- */
#barrierefreiheit_leiste
{
	background: var(--blau);
	color: #fff;
	padding: 0 var(--Abstand);
}
#barrierefreiheit_leiste ul 			{gap: var(--Abstand);}
#barrierefreiheit_leiste a, #barrierefreiheit_leiste a:link, #barrierefreiheit_leiste a:visited
{
	display: flex;
	align-items: center;
	gap: var(--AbstandHalb);
	padding: .35rem var(--AbstandHalb);
	color: #fff;
	font-size: .875rem;
}
#barrierefreiheit_leiste a div 			{display: block;}
#barrierefreiheit_leiste svg 			{height: 1.25rem; width: 1.25rem; padding: 0;}
#barrierefreiheit_leiste a:hover 		{background: rgb(255 255 255 / .12);}
#barrierefreiheit_leiste :focus-visible, footer :focus-visible, .Rauchglas :focus-visible {outline-color: var(--gelb); box-shadow: none;}
header
{
	background: #fff;
	border-bottom: 1px solid var(--blau-30);
}
#header_logo img 						{max-width: min(14rem, 60vw); border-radius: 0;}
#header nav ul 							{gap: var(--AbstandHalb);}
header nav a, header nav a:link, header nav a:visited
{
	min-width: 0;
	min-height: 3.5rem;
	flex-direction: column;
	gap: .15rem;
	justify-content: center;
	padding: .35rem .25rem;
	background: none;
	border-radius: var(--RadiusHalb);
	color: var(--blau);
	font-size: .875rem;
	text-decoration: none;
	transition: background-color .2s;
}
header nav a:hover 						{background: var(--blau-5);}
header nav .label 						{font-weight: bold; text-align: center;}
header nav svg 							{width: 1.75rem; height: 1.75rem;}
header nav ul
{
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--AbstandHalb);
}
#header_text, #header_text h3 			{color: var(--blau);}
.burger a, .burger a:link 				{background: var(--blau); color: #fff; border-radius: 2rem; flex-direction: row;}
.burger a:hover 						{background: var(--blau-75);}
:is(.Veranstaltung, .Programmbereich) header:not(.Viewport) .burger a
{
	background: var(--blau);
	border-radius: 2rem 0 0 2rem;
	box-shadow: var(--Shadow);
	backdrop-filter: none;
}
:is(.Veranstaltung, .Programmbereich) header:not(.Viewport) #header_navi
{
	background: #fff;
	border-top: 1px solid var(--blau-30);
	box-shadow: 0 -4px 12px rgb(0 40 90 / .10);
	backdrop-filter: none;
}
:is(.Veranstaltung, .Programmbereich) header:not(.Viewport) #header_navi :is(a:link, a:hover, a:visited) {background: none;}

/* ---------- 5 Suche ---------- */
#suche
{
	background: var(--blau);
	color: #fff;
	border-radius: var(--Radius);
}
#suche #suchformular fieldset
{
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--AbstandHalb) var(--Abstand);
	max-width: none;
	margin: 0;
	padding: var(--AbstandDoppelt) var(--Abstand);
}
#suche label[for=suchbox] 				{grid-column: 1 / -1; font-size: 1.25rem; color: #fff;}
#suche #suchbox 						{flex-basis: auto; border-color: #fff;}
#suche #suchbutton
{
	flex-basis: auto;
	background: var(--gelb);
	color: #000;
}
#suche #suchbutton:hover 				{background: #fff;}
#suche #erweitert
{
	grid-column: 1 / -1;
	color: var(--blau);
}
#suche :focus-visible 					{outline-color: var(--gelb); box-shadow: none;}
#suche #erweitert :focus-visible 		{outline-color: var(--blau); box-shadow: 0 0 0 2px #fff;}
#suche #erweitert > *
{
	border: 1px solid var(--blau-30);
	background: #fff;
}
#suche #erweitert summary, #suche #erweitert summary:focus {color: var(--blau);}
#suche #erweitert h2 					{display: block;}
fieldset .Tageszeiten, fieldset .Wochentage {flex: 1;}

/* ---------- 6 Startseite ---------- */
.Text.h1 h1
{
	padding-top: var(--AbstandDoppelt);
	font-size: clamp(1.875rem, 5vw, 2.75rem);
}
.Text.p p + p 							{padding-top: var(--Abstand);}
.Liste.fensterbreit.Hintergrund
{
	min-height: 0 !important;
	background: var(--blau-5);
	border-block: 1px solid var(--blau-30);
}
.Liste.Teaser.fensterbreit 				{padding-block: var(--AbstandDoppelt);}
.Hauptbereich, .fensterbreit > .Hauptbereich
{
	flex: 1 1 100%;
	max-width: var(--breite_layout);
}
.Hauptbereich ol
, ol.Hauptbereich
{
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 9.5rem), 1fr));
	gap: var(--Abstand);
	max-width: none;
	padding: 0;
	background: none;
	box-shadow: none;
}
.Hintergrund .Hauptbereich ol, .Hintergrund > div.Hauptbereich ol 		{padding: 0; background: none; box-shadow: none; gap: var(--Abstand);}
.Hauptbereich li 						{flex: none; min-width: 0;}
.Hauptbereich li a
, .Hintergrund .Hauptbereich li a
{
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: var(--AbstandHalb);
	height: 100%;
	min-height: 10rem;
	padding: var(--Abstand);
	border: 1px solid var(--blau-30);
	background: #fff;
	text-decoration: none;
	transition: transform .2s, box-shadow .2s, border-color .2s;
}
.Hauptbereich li a:hover
, .Hintergrund .Hauptbereich li a:hover
{
	border-color: var(--blau-60);
	box-shadow: var(--Shadow);
	outline: 0;
	transform: translateY(-2px);
}
.Hauptbereich li picture 				{display: flex; justify-content: center; background: #fff;}
.Hauptbereich li img, .Hauptbereich .Programmbereich.Teaser img
{
	width: 64px;
	height: 64px;
	margin: 0;
	object-fit: contain;
	background: #fff;
	border-radius: 0;
}
.Hauptbereich li h2, .Hintergrund .Hauptbereich li h2 {font-size: 1rem; text-align: center; hyphens: auto; overflow-wrap: anywhere;}

a.Artikel.Teaser
, a.Artikel.Teaser:link
{
	display: flex;
	border: 1px solid var(--blau-30);
	border-radius: var(--Radius);
	background: #fff;
	box-shadow: var(--Shadow);
	text-decoration: none;
	transition: transform .2s, box-shadow .2s, border-color .2s;
}
a.Artikel.Teaser:hover
{
	border-color: var(--blau-60);
	box-shadow: 0 2px 4px rgb(0 40 90 / .10), 0 8px 20px rgb(0 40 90 / .12);
	transform: translateY(-2px);
}
.Artikel.Teaser.standard img:not(.Grafik, .Logo) 	{height: 14rem; border-radius: 0;}
.Artikel.Teaser.standard img.Grafik, .Artikel.Teaser.standard img.Logo {height: 14rem; object-fit: contain;}
.Artikel.Teaser.standard figure 			{background: var(--blau-5);}
.standard > article 						{background: #fff;}
.ArtikelTeaserText 						{padding: var(--Abstand) 1.25rem 1.25rem;}
.ArtikelTeaserText h2, .standard > article h2 {font-size: 1.25rem; padding-bottom: var(--AbstandHalb);}

.Journal.Teaser > .Inhalt 				{gap: var(--Abstand);}
.JournalVorschauliste
{
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr));
	gap: var(--Abstand);
}
.JournalVorschauliste .Journaleintrag, .JournalVorschauliste a.Journaleintrag:not(.Link) {min-width: 0;}
a.Journaleintrag, a.Journaleintrag:link
{
	gap: var(--AbstandHalb);
	padding: var(--Abstand);
	border: 1px solid var(--blau-30);
	border-radius: var(--Radius);
	background: #fff;
	text-decoration: none;
	transition: transform .2s, box-shadow .2s, border-color .2s;
}
a.Journaleintrag:hover 					{border-color: var(--blau-60); box-shadow: var(--Shadow); transform: translateY(-2px);}
.JournalVorschauliste .Journaleintrag img {height: 11rem;}
.Journaleintrag h3 						{font-size: 1.125rem;}
.Journaleintrag .Metadaten 				{color: var(--blau-75); font-size: .9375rem;}
.Journal a.hervorheben 					{align-self: flex-start; min-width: 12rem;}

/* ---------- 7 Veranstaltungsteaser (kompakte Karte wie bisher, ein Aufbau fuer alle Listen) ---------- */
.Veranstaltung.Teaser
, .Kachel .Veranstaltung.Teaser:not(.begonnen, .beendet)
, .Kachel.Veranstaltung.Teaser:not(.begonnen, .beendet)
{
	display: flex;
	flex-direction: column;
	flex-basis: auto;
	max-width: none;
	overflow: hidden;
	border: 1px solid var(--blau-30);
	border-radius: var(--Radius);
	background: #fff;
	box-shadow: var(--Shadow);
	transition: transform .2s, box-shadow .2s, border-color .2s;
}
.Veranstaltung.Teaser:hover 			{border-color: var(--blau-60); box-shadow: 0 2px 4px rgb(0 40 90 / .10), 0 8px 20px rgb(0 40 90 / .12); transform: translateY(-2px);}
.Veranstaltung.Teaser > a
, .Veranstaltung.Teaser > a:link
{
	display: flex;
	flex: 1;
	min-width: 0;
	color: var(--blau);
	text-decoration: none;
}
.Veranstaltung.Teaser .Inhalt
, .Kachel .Veranstaltung.Teaser:not(.begonnen, .beendet) .Inhalt
, .Kachel.Veranstaltung.Teaser:not(.begonnen, .beendet) .Inhalt
{
	display: flex;
	flex-direction: column;
	flex: 1;
	align-items: stretch;
	justify-content: flex-start;
	gap: 0;
	padding: 0;
	background: none;
}
.Veranstaltung.Teaser > a > .Inhalt > picture
, .Kachel .Veranstaltung.Teaser > a > .Inhalt > picture
, .Kachel.Veranstaltung.Teaser > a > .Inhalt > picture
{
	display: flex;
	flex: none;
	width: 100%;
	max-width: none;
	align-self: stretch;
}
.Veranstaltung.Teaser img.Bild:not(.Logo)
, .Kachel .Veranstaltung.Teaser img.Bild
, .Kachel.Veranstaltung.Teaser img.Bild
{
	width: 100%;
	max-width: none;
	height: 9rem;
	margin: 0;
	object-fit: cover;
	border-radius: 0;
	background: var(--blau-5);
}
.Veranstaltung.Teaser > a > .Inhalt > picture:has(.Logo, .Grafik) 	{padding: var(--Abstand); background: var(--blau-5);}
.Veranstaltung.Teaser :where(img.Logo, img.Grafik) 				{max-height: 9rem; object-fit: contain;}
.VeranstaltungTeaserInhalt
{
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	align-content: start;
	gap: .3rem;
	flex: 1;
	padding: var(--Abstand) 1.25rem;
}
.Veranstaltung.Teaser .Inhalt .Titel
, [class*=breite_] .Veranstaltung.Teaser .Inhalt .Titel
{
	display: block;
	margin: 0;
	text-align: left;
}
.Veranstaltung.Teaser .Name
, .Veranstaltung.Teaser .Name span 		{display: inline; overflow: visible; font-size: 1.125rem; line-height: 1.3; hyphens: auto;}
.Veranstaltung.Teaser .Inhalt .Nummer
{
	display: block;
	color: var(--blau-75);
	font-size: .875rem;
	font-weight: normal;
}
.Veranstaltung.Teaser .Inhalt .Nummer::before, .Veranstaltung.Teaser .Inhalt .Nummer::after {content: none;}
.Veranstaltung.Teaser .Untertitel 		{color: var(--blau-75); font-size: .9375rem;}
.Veranstaltung.Teaser .neu_teaser
{
	display: inline-block;
	margin-top: .25rem;
	padding: 0 .6rem;
	border-radius: 1rem;
	background: var(--gelb);
	color: #000;
	font-size: .875rem;
	font-weight: bold;
}
.neu_teaser::before, .neu_teaser::after, .VeranstaltungNeu::before, .VeranstaltungNeu::after {content: none;}
.Veranstaltung.Teaser .Inhalt .Zeit
, .Veranstaltung.Teaser .Inhalt .Ort
, [class*=breite_] .Veranstaltung.Teaser .Inhalt .Zeit
, [class*=breite_] .Veranstaltung.Teaser .Inhalt .Ort
{
	display: block;
	grid-column: 1;
	justify-content: flex-start;
	text-align: left;
	overflow: visible;
	font-size: .9375rem;
}
.Veranstaltung.Teaser .Zeit::before
, .Veranstaltung.Teaser .Ort::before
{
	content: "";
	display: inline-block;
	width: 1.125rem;
	height: 1.125rem;
	margin-right: .4rem;
	vertical-align: -.2rem;
	background: var(--blau-75);
	-webkit-mask: var(--ikon-kalender) center / contain no-repeat;
	mask: var(--ikon-kalender) center / contain no-repeat;
}
.Veranstaltung.Teaser .Ort::before 		{-webkit-mask-image: var(--ikon-ort); mask-image: var(--ikon-ort);}
.Veranstaltung.Teaser .Ort > div 		{display: inline;}
.Veranstaltung.Teaser .Inhalt .Ampelanzeige
{
	grid-column: 1;
	grid-row: auto;
	order: 5;
	text-align: left;
}
.Veranstaltung.Teaser .Ampelanzeige > div 	{display: flex; align-items: center; gap: var(--AbstandHalb);}
.Veranstaltung.Teaser .Ampeltext 			{display: block; font-size: .875rem;}
.Veranstaltung.Teaser .merkenInTeaser, .merkenInTeaser
{
	display: flex;
	flex: none;
	justify-content: flex-end;
	padding: 0 var(--Abstand) var(--Abstand);
}
.merkenInTeaser div 					{flex: none;}
.Veranstaltung.Teaser a.Anmeldelink.Button
, .Veranstaltung.Teaser a.Anmeldelink.Button:link
, .Veranstaltung.Teaser a.Anmeldelink.Button:visited
{
	display: grid;
	place-items: center;
	width: 3rem;
	height: 3rem;
	min-height: 3rem;
	padding: 0;
	border-radius: 50%;
	color: #fff;
}
.Anmeldelink svg 						{width: 1.5rem; height: 1.5rem;}
.Veranstaltung.Teaser .Anmeldelink span
{
	display: block;
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}
.Veranstaltung.begonnen.Teaser .Titel::after
, .Veranstaltung.beendet.Teaser .Titel::after
{
	display: inline-block;
	margin-left: var(--AbstandHalb);
	color: var(--rot-d);
	font-size: .875rem;
	font-weight: bold;
}
.Veranstaltung.beendet 					{opacity: 1;}
.Veranstaltung.begonnen.Teaser .Titel::after 	{content: "begonnen";}
.Veranstaltung.beendet.Teaser .Titel::after 	{content: "beendet";}

/* Listen: nie mehr als zwei Karten nebeneinander, mobil eine Spalte */
.HeuteBeginnendeVeranstaltungen > .Flex
, .KurspusherPanel > .Flex
, .Veranstaltungskalender ul
, .ergebnis ul
, .BereichInProgrammheft ul
, .Zufallskurse .Inhalt
, .WeitereKursedesKursleiters ol ol
, .WarenkorbListe
{
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, max(24rem, calc(50% - .5rem))), 1fr));
	align-items: stretch;
	gap: var(--Abstand);
}
.HeuteBeginnendeVeranstaltungen > .Flex > h2 	{grid-column: 1 / -1;}
.KurspusherPanel h2, .HeuteBeginnendeVeranstaltungen h2 {padding-bottom: var(--AbstandHalb);}
.ergebnis ul > li, .BereichInProgrammheft ul > li {flex-basis: auto; min-width: 0;}
.ergebnis article.Inhalt
{
	background: #fff;
	border: 1px solid var(--blau-30);
	box-shadow: var(--Shadow);
}
.HeuteBeginnendeVeranstaltungen 		{padding-top: var(--AbstandDoppelt);}
@media only screen and (min-width: 40rem)
{
	.Veranstaltung.Teaser .Inhalt
	, .Kachel .Veranstaltung.Teaser:not(.begonnen, .beendet) .Inhalt
	, .Kachel.Veranstaltung.Teaser:not(.begonnen, .beendet) .Inhalt
	{
		flex-direction: row;
	}
	.Veranstaltung.Teaser > a > .Inhalt > picture
	, .Kachel .Veranstaltung.Teaser > a > .Inhalt > picture
	, .Kachel.Veranstaltung.Teaser > a > .Inhalt > picture
	{
		width: 9rem;
	}
	.Veranstaltung.Teaser img.Bild:not(.Logo)
	, .Kachel .Veranstaltung.Teaser img.Bild
	, .Kachel.Veranstaltung.Teaser img.Bild
	{
		height: 100%;
		min-height: 9rem;
	}
	.Veranstaltung.Teaser
	, .Kachel .Veranstaltung.Teaser:not(.begonnen, .beendet)
	, .Kachel.Veranstaltung.Teaser:not(.begonnen, .beendet)
	{
		flex-direction: row;
	}
	.Veranstaltung.Teaser .merkenInTeaser 	{align-self: flex-end; padding: 0 var(--Abstand) var(--Abstand) 0;}
}

/* ---------- 8 Veranstaltung (Detailseite) ---------- */
.Veranstaltung .Text h1 				{padding-bottom: var(--Abstand);}
.Veranstaltung .Text figure 			{margin-bottom: var(--Abstand);}
figcaption 								{background: var(--blau-5); color: var(--blau-75); font-size: .875rem;}
.layoutgrid 							{width: 100%; margin: var(--Abstand) 0; border-spacing: 0 var(--AbstandHalb);}
.layoutgrid > tbody > tr > td:first-child
{
	width: 7rem;
	background: var(--blau-5);
	text-align: left;
	vertical-align: top;
	border-radius: var(--RadiusHalb) 0 0 var(--RadiusHalb);
}
.layoutgrid > tbody > tr > td 			{padding: .6rem var(--Abstand); border-bottom: 1px solid var(--blau-30);}
.layoutgrid label 						{font-size: .9375rem;}
.Veranstaltung .Text details 			{margin: .25rem 0;}
.WebAnmeldung > .cmx_ajaxcontainer > .cmx_ajaxcontainer, .WebAnmeldung > div > div
{
	padding: var(--Abstand);
	border: 1px solid var(--blau-30);
	border-radius: var(--Radius);
	background: #fff;
	box-shadow: var(--Shadow);
}
.Ampelbar 								{gap: var(--Abstand); align-items: center;}
.Anmeldebuttons 						{display: grid; gap: var(--AbstandHalb); flex-basis: 100%;}
.Anmeldebuttons .Button 				{display: flex; justify-content: center; align-items: center; gap: var(--AbstandHalb); width: 100%;}
.AnmeldeButton a.hervorheben, .Anmeldelink.hervorheben {display: block; width: 100%; padding: .85rem 1.25rem;}
.Warnung, .Rot.Warnung, .Errorbox 		{padding: var(--Abstand); border: 2px solid var(--rot-d); border-radius: var(--RadiusHalb); background: #fff; color: var(--rot-d); font-weight: bold;}
.Termine_speichern a.Button, .TermineSpeichern a 	{width: max-content;}
.WeitereKursedesKursleiters h2 			{font-size: 1.5rem;}
.WeitereKursedesKursleiters h2 a 		{text-decoration-thickness: 1px;}

/* Empfehlungen in der Veranstaltung: Karte mit Beziehungs-Label und Symbol, ganze Karte klickbar */
.empfehlungen .Empfehlung
{
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	column-gap: .3em;
	position: relative;
	margin-bottom: var(--AbstandHalb);
	padding: var(--Abstand);
	border-radius: var(--Radius);
	background: var(--Dunkler);
	--Icon: var(--ikon-pfeil);
}
.empfehlungen .Empfehlung.Ergaenzung 	{--Icon: var(--ikon-plus);}
.empfehlungen .Empfehlung a 			{font-weight: bold;}
.empfehlungen .Empfehlung a::after 		{content: ""; position: absolute; inset: 0; border-radius: var(--Radius);}
.empfehlungen .Empfehlung:focus-within 	{outline: var(--Outline);}
.empfehlungen .Empfehlung a:focus-visible {outline: none; box-shadow: none;}
.empfehlungen .Empfehlung > span:first-child + span
, .empfehlungen .Empfehlung > a:first-child + span + span
{
	order: -1;
	width: 100%;
	margin-bottom: var(--AbstandHalb);
	font-size: 1.1em;
	font-weight: bold;
}
.empfehlungen .Empfehlung > span:first-child + span::before
, .empfehlungen .Empfehlung > a:first-child + span + span::before
{
	content: "";
	display: inline-block;
	width: 1.5em;
	height: 1.5em;
	margin-right: .4em;
	vertical-align: -.4em;
	background: var(--blau);
	-webkit-mask: var(--Icon) center / contain no-repeat;
	mask: var(--Icon) center / contain no-repeat;
}
.empfehlungen .Empfehlung > span:nth-child(5) 	{margin-left: -.3em;}

main, footer, article.Artikel, .Liste, .ArtikelContainer, main > .Programm, main > section
{
	grid-template-columns: repeat(12, minmax(0, 1fr));
}
.layoutgrid td, .layoutgrid th, table.standard td, table.standard th {overflow-wrap: anywhere;}
/* ---------- 9 Programmbereiche, Programmheft, Artikel, Journal ---------- */
.Programm.Detail 		{flex-wrap: wrap;}
.Programmbereiche, .ProgrammheftInhalt ul
{
	flex: 1 1 100%;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 14rem), 1fr));
	gap: var(--Abstand);
}
.Programmbereiche > *, .Programmbereiche > .Programmbereich.Teaser[class*=breite_], .ProgrammheftInhalt .ProgrammbereichMitHintergrund.Programmbereich.Teaser:not(.ArtikelContainer > .ProgrammbereichMitHintergrund.Programmbereich.Teaser)
{
	grid-column: auto;
	flex-basis: auto;
	width: 100%;
	min-width: 0;
	max-width: none;
	margin: 0;
}
.Teaser.ProgrammbereichMitHintergrund a
{
	min-width: 0;
	min-height: 14rem;
	box-shadow: var(--Shadow);
	text-decoration: none;
	transition: transform .2s, box-shadow .2s;
}
.Teaser.ProgrammbereichMitHintergrund a:hover 	{transform: translateY(-2px);}
.Teaser.ProgrammbereichMitHintergrund a > div
{
	background: #fff;
	color: var(--blau);
	white-space: normal;
	box-shadow: none;
	border-top: 1px solid var(--blau-30);
}
.BildProgrammbereich 					{height: 12rem;}
.BereichInProgrammheft .ElternProgrammbereich 	{color: var(--blau-75); font-size: .9375rem;}
.Brotkrumennavigation 					{font-size: .9375rem;}
.Brotkrumennavigation a 				{text-decoration: underline;}
.Journaleintrag.Detail 					{padding: var(--AbstandDoppelt) 0;}
.Journaleintrag.Detail:first-child 		{padding-top: 0;}
.Text.Hintergrund 						{box-shadow: var(--Shadow); border: 1px solid var(--blau-30); background: #fff;}
.Artikel.Detail h1, .Text.Detail h1 	{padding-bottom: var(--Abstand);}
article.Artikel .Text p 				{max-width: var(--Lesebreite);}
.Text ul, .Text ol 						{max-width: var(--Lesebreite);}
.Text blockquote 						{margin: var(--Abstand) 0; padding: var(--Abstand) 1.25rem; border-radius: var(--Radius); background: var(--blau-5);}
.Tabelle table, .Tabelle td 			{border-color: var(--blau-60);}
.Tabelle th 							{background: var(--blau-5);}
.Logo 									{border: 1px solid var(--blau-30);}

/* ---------- 10 Kontakt, Honorarkraefte, Einkauf, Anmeldung, Warenkorb ---------- */
.Kontakt.Teaser
{
	overflow: hidden;
	border: 1px solid var(--blau-30);
	border-radius: var(--Radius);
	background: #fff;
	box-shadow: var(--Shadow);
	transition: transform .2s, box-shadow .2s, border-color .2s;
}
.Kontakt.Teaser:hover 					{border-color: var(--blau-60); transform: translateY(-2px);}
.Kontakt.Teaser a 						{text-decoration: none;}
.Kontakt.Teaser .KontaktText 			{font-size: 1rem;}
.Kontakt.Teaser img 					{border-radius: 0;}
.Kontakt.Teaser.modern .KontaktText 	{background: var(--Rauchglas);}
.Kontakt.Teaser.modern .KontaktText a 	{color: #fff;}
.Kontaktdaten 							{border: 1px solid var(--blau-30);}
.Person, .Produkt.Teaser, .Produktgruppe.Teaser, .Kooperation.Teaser a
{
	border: 1px solid var(--blau-30);
	border-radius: var(--Radius);
	background: #fff;
}
.Produkt.Teaser, .Produktgruppe.Teaser 	{color: var(--blau);}
.ProduktText 							{color: var(--blau);}
.WarenkorbGrid
, .anmeldungsliste .box
{
	border: 1px solid var(--blau-30);
	background: var(--blau-5);
}
.WarenkorbGrid .Veranstaltung.Teaser .Inhalt 	{background: none;}
.Anmeldung.Teaser, .Honorarvertrag.Teaser {border-color: var(--blau-30); background: #fff;}
.Anmeldung.Teaser .Spaltenanzahl_2, .Honorarvertrag.Teaser > .Honorarvertraege {background: var(--blau-5);}
.Spaltenanzahl_2 label 					{color: var(--blau);}
.WarenkorbAnzahl
{
	background: var(--gelb);
	color: #000;
	border-radius: 1rem;
	min-width: 1.5rem;
	padding: 0 .4rem;
	text-align: center;
	font-size: .875rem;
}
.benutzerfuehrung a, a.benutzerfuehrung {background: var(--blau-5); color: var(--blau); border: 1px solid var(--blau-30);}
#barrierefreiheit_leiste .check 		{color: var(--blau);}
.EinkaufspositionAnzahl 				{border: 1px solid var(--blau-60);}
.EinkaufspositionAnzahl a.Button:link 	{color: var(--blau);}
.Anwesenheit.teilgenommen 				{border: 2px solid var(--blau);}
.Anwesenheit.nichtTeilgenommen 			{border: 2px dashed var(--rot-d);}
.flexcolumn.stornierteVeranstaltung .Anmeldung.Teaser .Spaltenanzahl_2 {background: var(--blau-5); text-decoration: line-through;}
.Fehler404 								{padding: var(--AbstandDoppelt) 0; text-align: center;}
.DokumentDarstellung:not(body.Hintergrund .DokumentDarstellung) {box-shadow: var(--Shadow); border: 1px solid var(--blau-30);}
.DokumentDarstellung table.standard tr th {background: var(--blau-5);}
@media only screen and (max-width: 810px)
{
	.Spaltenanzahl_2 > div:nth-child(odd) label 	{padding-bottom: .25rem;}
}

/* ---------- 11 Fuss ---------- */
footer
{
	min-height: 0;
	margin: var(--AbstandDoppelt) 0 0;
	padding: var(--AbstandDoppelt) var(--Abstand);
	background: var(--blau);
	color: #fff;
	align-items: start;
}
footer a, footer a:link, footer a:visited 	{color: #fff;}
footer a:hover 							{color: var(--blau-30);}
#footer
{
	display: flex;
	flex-flow: row wrap;
	justify-content: center;
	align-items: center;
	gap: var(--Abstand) var(--AbstandDoppelt);
	max-width: var(--breite_layout);
}
#footer > .Bild
{
	flex: none;
	width: 8.5rem;
	height: 5rem;
	display: grid;
	place-items: center;
	border-radius: var(--RadiusHalb);
	background: #fff;
}
#footer > .Bild figure, #footer > .Bild picture {display: grid; place-items: center; width: 100%; height: 100%;}
footer img, #footer .Bild img
{
	width: 100%;
	height: 100%;
	max-height: 5rem;
	padding: .6rem;
	object-fit: contain;
	border-radius: var(--RadiusHalb);
}
#footer > :is(.SocialMediaLeiste, .KontaktHauptgeschaeftstelle, .Artikel) {flex-basis: 100%;}
.SocialMediaLeiste 						{justify-content: center; padding-top: 0;}
.SocialMediaLeiste a 					{display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border: 2px solid #fff; border-radius: 50%;}
.SocialMediaLeiste svg 					{width: 1.5rem; height: 1.5rem; fill: #fff;}
.KontaktHauptgeschaeftstelle, .KontaktHauptgeschaeftsstelleText
{
	height: auto;
	padding-top: var(--Abstand);
	border-top: 1px solid var(--blau-75);
}
.KontaktHauptgeschaeftstelleLinks ul 	{flex-direction: row; gap: var(--Abstand) var(--AbstandDoppelt); padding: 0;}
.KontaktHauptgeschaeftstelleLinks a 	{display: inline-block; padding: .5rem 0;}
footer .Artikel.hervorheben 			{text-align: center;}
footer .Artikel.hervorheben a 			{display: inline-block; padding: .5rem 0;}

/* ---------- 12 Hochkontrast, Bewegung, Druck ---------- */
@media (prefers-reduced-motion: reduce)
{
	*, *::before, *::after {animation: none !important; transition: none !important; scroll-behavior: auto !important;}
	.Veranstaltung.Teaser:hover, a.Artikel.Teaser:hover, a.Journaleintrag:hover, .Hauptbereich li a:hover, .Kontakt.Teaser:hover, .Teaser.ProgrammbereichMitHintergrund a:hover {transform: none;}
}
@media (forced-colors: active)
{
	.Veranstaltung.Teaser, a.Artikel.Teaser, a.Journaleintrag, .Hauptbereich li a, .Kontakt.Teaser, .empfehlungen .Empfehlung, #suche {border: 1px solid CanvasText;}
	#footer > .Bild {border: 1px solid CanvasText;}
	.empfehlungen .Empfehlung > span:first-child + span::before, .empfehlungen .Empfehlung > a:first-child + span + span::before, .Veranstaltung.Teaser .Zeit::before, .Veranstaltung.Teaser .Ort::before {background: CanvasText;}
}
@media print
{
	#barrierefreiheit_leiste, header nav, #suche, .merkenInTeaser, footer .Bild {display: none;}
	footer {background: none; color: #000;}
	footer a {color: #000;}
}

/* ---------- 13 Breite Ansicht ---------- */
@media only screen and (min-width: 1200px)
{
	#header, #footer 						{width: min(var(--breite_layout), 100%); margin-inline: auto;}
	.ProgrammheftInhalt 					{width: auto;}
	body:not(.Hintergrund) 					{column-gap: 0; grid-template-columns: minmax(0, 1fr) var(--breite_layout) minmax(0, 1fr);}
	header nav ul 							{display: flex; justify-content: flex-end;}
	#header_logo img, #header_logo_darkmode img {max-width: 14rem;}
	#suche #suchformular fieldset 			{grid-template-columns: minmax(0, 1fr) auto; padding: var(--AbstandDoppelt);}
	#suche #suchbox 						{flex-basis: auto;}
	#suche #erweitert 						{flex-direction: row;}
	.Hauptbereich ol, .fensterbreit .Hauptbereich ol {grid-template-columns: repeat(auto-fill, minmax(min(100%, 9.5rem), 1fr));}
	footer 									{padding: calc(var(--AbstandDoppelt) * 1.5) var(--Abstand);}
}