/*
Theme Name: Praxis Reith
Description: Kindgerechtes Theme in den Farben des Praxis-Logos für die Praxis für Kinder- und Jugendmedizin Dr. Andrea Reith in Krefeld. Mit Sprechzeiten-Übersicht, „Jetzt geöffnet“-Anzeige, Hinweis-Balken für Urlaub und Vertretung, Leistungen, Team und einem Dokumentenbereich für Infopakete und Merkblätter. Schriften und Symbole liegen im Theme – es werden keine fremden Server kontaktiert.
Version: 1.4.0
Requires at least: 6.2
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: praxis-reith
*/

/* ==========================================================================
   Schriften (liegen im Theme, SIL Open Font License)
   ========================================================================== */

@font-face {
	font-family: "Shantell Sans";
	src: url("assets/fonts/shantell-sans.woff2") format("woff2");
	font-weight: 400 800;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Figtree";
	src: url("assets/fonts/figtree.woff2") format("woff2");
	font-weight: 400 700;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Figtree";
	src: url("assets/fonts/figtree-italic.woff2") format("woff2");
	font-weight: 400 700;
	font-style: italic;
	font-display: swap;
}

/* ==========================================================================
   Farben und Maße
   ========================================================================== */

:root {
	/* Farben aus dem Praxis-Logo */
	--gelb: #EDC30D;        /* Hintergrund des Logos */
	--gelb-hell: #FBF0BD;
	--blau: #06778E;        /* Ring des Logos: Knöpfe, Balken, farbige Flächen */
	--tinte: #0A3A46;       /* dunkles Petrol: Text */
	--tinte-tief: #062A33;
	--eis: #E3F1F4;         /* heller Hintergrund */
	--eis-2: #C3DFE6;
	--koralle: #E2583E;     /* Lippenrot: Zeiger „jetzt“ */
	--pfirsich: #FDE2B9;    /* Kittel */
	--minze: #1E9A84;
	--minze-hell: #CDEBE4;
	--weiss: #fff;
	--leise: #47646E;       /* Nebentext */
	--leise-dunkel: #C9E3E9; /* Nebentext auf Dunkel */

	--schrift: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--schrift-titel: "Shantell Sans", ui-rounded, "Arial Rounded MT Bold", "Trebuchet MS", sans-serif;

	--rand: clamp(18px, 4vw, 40px);
	--breit: 1160px;
	--abstand: clamp(56px, 8vw, 104px);
}

/* ==========================================================================
   Grundlagen
   ========================================================================== */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: 24px;
}

body {
	margin: 0;
	background: var(--weiss);
	color: var(--tinte);
	font-family: var(--schrift);
	font-size: 1.0625rem;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
	margin: 0 0 .5em;
	font-family: var(--schrift-titel);
	font-weight: 700;
	line-height: 1.15;
	text-wrap: balance;
}

p {
	margin: 0 0 1.1em;
}

a {
	color: inherit;
	text-decoration-thickness: .08em;
	text-underline-offset: .18em;
}

a:hover {
	text-decoration-thickness: .16em;
}

img,
svg {
	max-width: 100%;
	height: auto;
}

address {
	font-style: normal;
}

:focus-visible {
	outline: 3px solid var(--tinte);
	outline-offset: 3px;
	border-radius: 4px;
}

.wrap {
	width: 100%;
	max-width: calc(var(--breit) + 2 * var(--rand));
	margin-inline: auto;
	padding-inline: var(--rand);
}

.icon {
	flex: none;
	width: 1.35em;
	height: 1.35em;
}

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

.skip-link {
	position: absolute;
	top: -100px;
	left: 12px;
	z-index: 100;
	padding: 12px 18px;
	border-radius: 0 0 12px 12px;
	background: var(--tinte);
	color: var(--weiss);
	font-weight: 700;
}

.skip-link:focus {
	top: 0;
}

/* Knöpfe */

.knopf {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 50px;
	padding: 12px 24px;
	border: 2px solid var(--tinte);
	border-radius: 999px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .15s, color .15s;
}

.knopf--voll,
.knopf--tel {
	border-color: var(--blau);
	background: var(--blau);
	color: var(--weiss);
}

.knopf--voll:hover,
.knopf--tel:hover {
	border-color: var(--tinte);
	background: var(--tinte);
}

.knopf--rand {
	background: transparent;
	color: var(--tinte);
}

.knopf--rand:hover {
	background: var(--tinte);
	color: var(--weiss);
}

.knopfreihe {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

/* Das Maßband: Bodenlinie und Trenner */

.massband {
	--strich: var(--gelb);
	height: 24px;
	background-color: var(--blau);
	background-image:
		repeating-linear-gradient(90deg, var(--strich) 0 2px, transparent 2px 80px),
		repeating-linear-gradient(90deg, var(--strich) 0 2px, transparent 2px 16px);
	background-size: 100% 15px, 100% 8px;
	background-repeat: no-repeat;
}

.massband--trenner {
	--strich: var(--tinte);
	height: 15px;
	margin-bottom: clamp(40px, 6vw, 72px);
	background-color: transparent;
	opacity: .22;
}

/* Hinweis für die Redaktion (nur angemeldet sichtbar) */

.redaktion__knopf {
	margin-left: 6px;
	padding: 6px 16px;
	border: 2px solid currentColor;
	border-radius: 999px;
	background: var(--weiss);
	color: var(--tinte);
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}

.redaktion__knopf:hover {
	background: var(--gelb);
}

.redaktion {
	max-width: 46rem;
	padding: 16px 20px;
	border: 2px dashed currentColor;
	border-radius: 14px;
	font-size: .9375rem;
}

/* ==========================================================================
   Aktueller Hinweis
   ========================================================================== */

.hinweis {
	background: var(--tinte);
	color: var(--weiss);
}

.hinweis__symbol {
	color: var(--gelb);
}

.hinweis :focus-visible {
	outline-color: var(--gelb);
}

.hinweis__inner {
	display: flex;
	gap: 14px;
	padding-block: 14px;
}

.hinweis__symbol {
	display: flex;
	flex: none;
	padding-top: 2px;
}

.hinweis__text p {
	margin: 0;
	max-width: 62rem;
}

.hinweis__titel {
	font-family: var(--schrift-titel);
	font-size: 1.1875rem;
	font-weight: 700;
}

/* ==========================================================================
   Kopfzeile
   ========================================================================== */

.kopf {
	position: relative;
	z-index: 20;
	background: var(--gelb);
}

.kopf__inner {
	display: flex;
	align-items: center;
	gap: 20px;
	padding-block: 16px;
}

.marke {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-right: auto;
	text-decoration: none;
}

.marke__logo {
	flex: none;
	width: auto;
	height: 60px;
}

.marke__text {
	display: flex;
	flex-direction: column;
	line-height: 1.2;
}

.marke__name {
	white-space: nowrap;
	font-family: var(--schrift-titel);
	font-size: 1.25rem;
	font-weight: 700;
}

.marke__zusatz {
	font-size: .875rem;
}

.menue,
.menue ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.menue {
	display: flex;
	align-items: center;
	gap: 2px;
}

.menue li {
	position: relative;
}

.menue a {
	display: block;
	padding: 10px 14px;
	border-radius: 999px;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
}

.menue a:hover,
.menue .current-menu-item > a,
.menue .current_page_item > a {
	background: var(--weiss);
}

.menue .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	display: none;
	min-width: 220px;
	padding: 8px;
	border-radius: 18px;
	background: var(--weiss);
	box-shadow: 0 12px 32px rgba(10, 58, 70, .18);
}

.menue li:hover > .sub-menu,
.menue li:focus-within > .sub-menu {
	display: block;
}

.menue .sub-menu a:hover {
	background: var(--eis);
}

.knopf--tel {
	flex: none;
	min-height: 46px;
	padding: 10px 20px;
	white-space: nowrap;
}

@media (max-width: 1240px) {
	.menue a {
		padding-inline: 11px;
	}
}

.knopf--tel__kurz {
	display: none;
}

.kopf__toggle {
	display: none;
	align-items: center;
	gap: 8px;
	min-height: 46px;
	padding: 8px 16px;
	border: 2px solid var(--tinte);
	border-radius: 999px;
	background: transparent;
	color: var(--tinte);
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}

.kopf__toggle-zu,
.kopf__toggle[aria-expanded="true"] .kopf__toggle-auf {
	display: none;
}

.kopf__toggle[aria-expanded="true"] .kopf__toggle-zu {
	display: block;
}

@media (max-width: 1199px) {
	.kopf__inner {
		flex-wrap: wrap;
		gap: 10px;
	}

	.kopf__toggle {
		display: inline-flex;
		order: 3;
	}

	.knopf--tel {
		order: 2;
	}

	.kopf__nav {
		display: none;
		order: 4;
		width: 100%;
		padding: 8px;
		border-radius: 22px;
		background: var(--weiss);
	}

	.kopf__nav.ist-offen {
		display: block;
	}

	.menue {
		flex-direction: column;
		align-items: stretch;
	}

	.menue a {
		padding: 13px 16px;
		white-space: normal;
	}

	.menue a:hover,
	.menue .current-menu-item > a,
	.menue .current_page_item > a {
		background: var(--eis);
	}

	.menue .sub-menu {
		position: static;
		display: block;
		padding: 0 0 0 16px;
		box-shadow: none;
	}
}

@media (max-width: 620px) {
	.marke__zusatz {
		display: none;
	}

	.marke__logo {
		height: 50px;
	}

	.marke__name {
		font-size: 1.0625rem;
	}

	.knopf--tel__nummer,
	.kopf__toggle span {
		display: none;
	}

	.knopf--tel__kurz {
		display: inline;
	}

	.kopf__toggle {
		padding-inline: 12px;
	}
}

@media (max-width: 460px) {
	.knopf--tel {
		width: 46px;
		padding: 0;
	}

	.knopf--tel__kurz {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0, 0, 0, 0);
		white-space: nowrap;
	}
}

/* ==========================================================================
   Startseite: Begrüßung
   ========================================================================== */

.hero {
	overflow: hidden;
	background: var(--gelb);
}

.hero__inner {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
	align-items: end;
	gap: clamp(24px, 4vw, 64px);
	padding-top: clamp(16px, 4vw, 56px);
}

.hero__text {
	align-self: center;
	padding-bottom: clamp(40px, 7vw, 96px);
}

.hero__titel {
	margin-bottom: .35em;
	font-size: clamp(2.5rem, 1.35rem + 5vw, 4.5rem);
	font-weight: 800;
	font-variation-settings: "BNCE" 22;
	line-height: 1.05;
	letter-spacing: -.01em;
}

.hero__lead {
	max-width: 34rem;
	margin-bottom: 1.5em;
	font-size: clamp(1.125rem, 1rem + .6vw, 1.375rem);
	line-height: 1.5;
}

.hero__knoepfe {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 22px;
}

.status {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	padding: 8px 16px 8px 12px;
	border-radius: 999px;
	background: var(--weiss);
	font-size: .9375rem;
	font-weight: 600;
}

.status[hidden] {
	display: none;
}

.status__punkt {
	flex: none;
	width: 12px;
	height: 12px;
	border: 3px solid var(--leise);
	border-radius: 50%;
}

.status--offen .status__punkt {
	border-color: var(--minze);
	background: var(--minze);
}

.hero__bild {
	justify-self: end;
	width: 100%;
	max-width: 440px;
}

.messlatte {
	display: block;
	width: 100%;
	overflow: hidden;
}

.messlatte__latte {
	fill: var(--weiss);
}

.messlatte__striche {
	stroke: var(--tinte);
}

.messlatte__zahlen {
	fill: var(--tinte);
}

.messung__balken {
	fill: var(--blau);
}

.messung__schild rect {
	fill: var(--weiss);
}

.messlatte__zahlen text {
	font: 700 13px var(--schrift);
}

.messung__schild text {
	fill: var(--tinte);
	font: 700 19px var(--schrift-titel);
}

@media (prefers-reduced-motion: no-preference) {
	/* Ein Ablauf beim Laden: Das Kind reckt sich, dann senkt sich der Schieber auf den Kopf. */
	.kind {
		transform-origin: 150px 462px;
		animation: recken .8s cubic-bezier(.3, 1.5, .5, 1) .25s both;
	}

	.kind__augen {
		transform-box: fill-box;
		transform-origin: center;
		animation: blinzeln 5.5s 3s infinite;
	}

	.messung {
		animation: messen .9s cubic-bezier(.3, 1.45, .5, 1) 1s both;
	}

	.messung__schild {
		animation: schild .35s ease-out 1.85s both;
	}
}

@keyframes recken {
	from {
		transform: scale(1.05, .88);
	}
}

@keyframes blinzeln {
	0%,
	94%,
	100% {
		transform: scaleY(1);
	}

	97% {
		transform: scaleY(.1);
	}
}

@keyframes messen {
	from {
		transform: translateY(-110px);
	}
}

@keyframes schild {
	from {
		opacity: 0;
	}
}

@media (max-width: 820px) {
	.hero__inner {
		grid-template-columns: 1fr;
		gap: 0;
	}

	.hero__text {
		padding-bottom: 8px;
	}

	.hero__bild {
		max-width: 300px;
	}
}

/* ==========================================================================
   Abschnitte der Startseite
   ========================================================================== */

.abschnitt {
	padding-block: var(--abstand);
}

.abschnitt__titel {
	font-size: clamp(1.9rem, 1.3rem + 2.4vw, 2.75rem);
}

.abschnitt__titel--klein {
	font-size: clamp(1.6rem, 1.25rem + 1.4vw, 2.125rem);
}

.abschnitt__lead {
	max-width: 44rem;
	margin-bottom: 0;
	color: var(--leise);
	font-size: 1.1875rem;
}

/* Sprechzeiten */

.zeiten {
	padding-bottom: clamp(40px, 6vw, 72px);
}

.zeiten__inner {
	display: grid;
	grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
	align-items: start;
	gap: clamp(32px, 5vw, 72px);
}

.woche {
	margin-top: 28px;
}

.woche__tage {
	margin: 0;
	padding: 0;
	list-style: none;
}

.woche__skala,
.woche__tag {
	display: grid;
	grid-template-columns: 7.75rem minmax(0, 1fr) 11.5rem;
	grid-template-areas: "name spur zeit";
	align-items: center;
	gap: 18px;
	padding: 11px 16px;
}

.woche__skala {
	padding-block: 0 4px;
}

.woche__stunden {
	position: relative;
	grid-area: spur;
	height: 1.4rem;
	color: var(--leise);
	font-size: .8125rem;
	font-variant-numeric: tabular-nums;
}

.woche__stunden span {
	position: absolute;
	transform: translateX(-50%);
}

.woche__tag {
	border-radius: 16px;
}

.woche__name {
	grid-area: name;
	font-weight: 700;
}

.woche__zeit {
	grid-area: zeit;
	font-variant-numeric: tabular-nums;
}

.woche__spur {
	position: relative;
	grid-area: spur;
	height: 22px;
	border-right: 1px solid var(--eis-2);
	background: repeating-linear-gradient(90deg, var(--eis-2) 0 1px, transparent 1px calc(100% / var(--stunden, 9)));
}

.woche__balken {
	position: absolute;
	top: 0;
	bottom: 0;
	border-radius: 8px;
	background: var(--blau);
}

.woche__jetzt {
	position: absolute;
	top: -7px;
	bottom: -7px;
	display: none;
	width: 4px;
	margin-left: -2px;
	border-radius: 2px;
	background: var(--koralle);
	box-shadow: 0 0 0 2px var(--weiss);
}

.woche__tag.ist-heute {
	background: var(--gelb-hell);
}

.woche__tag.ist-heute .woche__name::after {
	content: "heute";
	margin-left: 8px;
	padding: 2px 9px;
	border-radius: 999px;
	background: var(--gelb);
	font-size: .75rem;
	vertical-align: 2px;
}

.zeiten__anmerkung {
	margin: 20px 16px 0;
	color: var(--leise);
}

.notfall {
	padding: clamp(24px, 3vw, 36px);
	border-radius: 28px;
	background: var(--tinte);
	color: var(--weiss);
}

.notfall__titel {
	font-size: 1.5rem;
}

.notfall p {
	color: var(--leise-dunkel);
}

.notfall__nummern {
	display: grid;
	gap: 14px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.notfall__nummern li {
	display: flex;
	flex-direction: column;
	line-height: 1.3;
}

.notfall__nummer {
	color: var(--gelb);
	font-family: var(--schrift-titel);
	font-size: 2rem;
	font-weight: 700;
}

.notfall a {
	align-self: flex-start;
	text-decoration: none;
}

.notfall a:hover {
	text-decoration: underline;
	text-decoration-color: var(--gelb);
}

.notfall :focus-visible {
	outline-color: var(--gelb);
}

@media (max-width: 960px) {
	.zeiten__inner {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 620px) {
	.woche__skala,
	.woche__tag {
		grid-template-columns: 1fr auto;
		grid-template-areas:
			"name zeit"
			"spur spur";
		gap: 8px 12px;
		padding-inline: 12px;
	}

	.woche__skala > span:first-child {
		display: none;
	}

	.woche__skala {
		grid-template-areas: "spur spur";
	}

	.zeiten__anmerkung {
		margin-inline: 12px;
	}
}

/* Leistungen */

.leistungen {
	padding-top: 0;
}

.leistungen__liste {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(290px, 100%), 1fr));
	gap: 40px clamp(28px, 4vw, 56px);
	margin: 44px 0 0;
	padding: 0;
	list-style: none;
}

.leistung {
	display: flex;
	gap: 18px;
}

.leistung__symbol {
	display: grid;
	flex: none;
	place-items: center;
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: var(--gelb);
}

.leistung:nth-child(4n + 2) .leistung__symbol {
	background: var(--minze-hell);
}

.leistung:nth-child(4n + 3) .leistung__symbol {
	background: var(--pfirsich);
}

.leistung:nth-child(4n + 4) .leistung__symbol {
	background: var(--eis-2);
}

.leistung__symbol .icon {
	width: 30px;
	height: 30px;
}

.leistung > div {
	min-width: 0;
}

.leistung__titel {
	overflow-wrap: break-word;
	hyphens: auto;
	margin: 8px 0 6px;
	font-size: 1.1875rem;
}

.leistung__text {
	margin: 0;
	color: var(--leise);
}

/* Praxis und Team */

.praxis {
	background: var(--blau);
	color: var(--weiss);
}

.praxis .abschnitt__lead {
	color: var(--weiss);
}

.praxis :focus-visible {
	outline-color: var(--gelb);
}

.praxis__kopf--bild {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: center;
	gap: clamp(28px, 5vw, 72px);
}

.praxis__bild {
	display: block;
	width: 100%;
	border-radius: 28px;
}

.team {
	margin-top: clamp(48px, 7vw, 88px);
}

.team__liste {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
	gap: 40px 28px;
	margin: 44px 0 0;
	padding: 0;
	list-style: none;
}

.person__foto {
	display: grid;
	place-items: center;
	width: 148px;
	height: 148px;
	margin-bottom: 16px;
	border: 5px solid var(--gelb);
	border-radius: 50%;
	object-fit: cover;
}

.person__foto--leer {
	background: var(--eis);
	color: var(--tinte);
	font-family: var(--schrift-titel);
	font-size: 2.75rem;
	font-weight: 700;
}

.person__name {
	margin-bottom: 4px;
	font-size: 1.25rem;
}

.person__rolle {
	margin: 0;
	font-size: .9375rem;
	line-height: 1.4;
}

@media (max-width: 760px) {
	.praxis__kopf--bild {
		grid-template-columns: 1fr;
	}

	.team__liste {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 32px 16px;
	}

	.person__foto {
		width: 116px;
		height: 116px;
	}

	.person__foto--leer {
		font-size: 2.125rem;
	}
}

/* Dokumente */

.doku {
	background: var(--eis);
}

.blaetter {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(270px, 100%), 1fr));
	gap: 16px;
	margin: 36px 0 0;
	padding: 0;
	list-style: none;
}

.blatt {
	display: flex;
}

.blatt__link {
	position: relative;
	display: flex;
	flex: 1;
	gap: 14px;
	padding: 20px 30px 20px 18px;
	border-radius: 12px;
	background: var(--weiss);
	text-decoration: none;
	/* umgeknickte Ecke */
	clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 0 100%);
}

.blatt__link::after {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	width: 24px;
	height: 24px;
	border-bottom-left-radius: 8px;
	background: var(--eis-2);
}

.blatt__link:focus-visible {
	outline-offset: -5px;
}

.blatt__symbol {
	display: grid;
	flex: none;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--eis);
	transition: background-color .15s;
}

.blatt__link:hover .blatt__symbol {
	background: var(--gelb);
}

.blatt__text {
	display: flex;
	flex-direction: column;
	gap: 3px;
	min-width: 0;
}

.blatt__titel {
	font-weight: 700;
	line-height: 1.3;
}

.blatt__link:hover .blatt__titel {
	text-decoration: underline;
	text-underline-offset: .18em;
}

.blatt__info {
	color: var(--leise);
	font-size: .9375rem;
	line-height: 1.4;
}

.blatt__meta {
	color: var(--leise);
	font-size: .8125rem;
	font-variant-numeric: tabular-nums;
}

.doku__mehr {
	margin: 32px 0 0;
}

/* Dokumentenseite */

.themen {
	padding-block: clamp(32px, 5vw, 56px) var(--abstand);
}

.themen--eingebettet {
	padding-block: 0;
}

.themen--eingebettet .blatt__link {
	background: var(--eis);
}

.themen--eingebettet .blatt__link::after {
	background: var(--eis-2);
}

.themen--eingebettet .blatt__symbol {
	background: var(--weiss);
}

.themen__sprung {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 8px;
}

.themen__sprung a {
	padding: 8px 18px;
	border: 2px solid var(--tinte);
	border-radius: 999px;
	font-weight: 600;
	text-decoration: none;
}

.themen__sprung a:hover {
	background: var(--tinte);
	color: var(--weiss);
}

.themen__gruppe {
	margin-top: 40px;
	scroll-margin-top: 24px;
}

.themen__gruppe:first-child {
	margin-top: 0;
}

.themen__titel {
	margin-bottom: .3em;
	font-size: 1.75rem;
}

.themen__text {
	max-width: 44rem;
	margin: 0;
	color: var(--leise);
}

.themen .blaetter {
	margin-top: 20px;
}

.themen:not(.themen--eingebettet) .blatt__link {
	background: var(--eis);
}

.themen:not(.themen--eingebettet) .blatt__symbol {
	background: var(--weiss);
}

.themen__zurueck {
	margin: 48px 0 0;
}

/* Kontakt */

.kontakt__inner {
	margin-top: 36px;
}

.kontakt__inner--formular {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(32px, 5vw, 72px);
}

.kontakt__liste {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
	gap: 28px 32px;
	margin: 0 0 36px;
	padding: 0;
	list-style: none;
}

.kontakt__liste li {
	display: flex;
	gap: 16px;
}

.kontakt__liste .icon {
	box-sizing: content-box;
	width: 24px;
	height: 24px;
	padding: 12px;
	border-radius: 50%;
	background: var(--eis);
}

.kontakt__art {
	display: block;
	color: var(--leise);
	font-size: .875rem;
}

.kontakt__gross {
	font-family: var(--schrift-titel);
	font-size: 1.75rem;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	white-space: nowrap;
}

.kontakt__gross:hover {
	text-decoration: underline;
}

.kontakt__knoepfe {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

@media (max-width: 860px) {
	.kontakt__inner--formular {
		grid-template-columns: 1fr;
	}
}

/* Kontaktformular */

.formular {
	padding: clamp(22px, 3vw, 34px);
	border-radius: 28px;
	background: var(--eis);
}

.formular p {
	margin: 0 0 16px;
}

.formular .formular__titel {
	margin: 0 0 .4em;
	font-size: 1.5rem;
}

.formular label span {
	color: var(--leise);
	font-weight: 400;
}

.formular textarea {
	display: block;
	resize: vertical;
}

.formular__hinweis,
.formular__datenschutz {
	color: var(--leise);
	font-size: .9375rem;
	line-height: 1.5;
}

.formular__falle {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.formular button[disabled] {
	opacity: .6;
	cursor: wait;
}

.formular .formular__meldung {
	margin: 0;
	padding: 12px 16px;
	border-radius: 12px;
	font-weight: 600;
}

.formular__meldung:empty {
	display: none;
}

.formular__meldung.ist-ok {
	background: var(--minze-hell);
}

.formular__meldung.ist-fehler {
	background: var(--pfirsich);
}

/* Sponsoring */

.sponsor {
	padding-block: clamp(40px, 6vw, 64px);
	background: var(--eis);
}

.sponsor__inner {
	display: flex;
	align-items: center;
	gap: clamp(24px, 4vw, 48px);
}

.sponsor__logo {
	display: grid;
	flex: none;
	place-items: center;
	width: clamp(120px, 16vw, 176px);
	aspect-ratio: 1;
	padding: 18px;
	border-radius: 28px;
	background: var(--weiss);
}

.sponsor__logo img {
	display: block;
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.sponsor__titel {
	margin-bottom: .35em;
	font-size: clamp(1.5rem, 1.2rem + 1.3vw, 2rem);
}

.sponsor__text p {
	max-width: 40rem;
	margin: 0 0 18px;
	color: var(--leise);
	font-size: 1.125rem;
}

@media (max-width: 560px) {
	.sponsor__inner {
		flex-direction: column;
		align-items: flex-start;
	}
}

/* ==========================================================================
   Unterseiten
   ========================================================================== */

.seitenkopf {
	background: var(--gelb);
}

.seitenkopf__inner {
	padding-block: clamp(28px, 5vw, 56px) clamp(32px, 5vw, 60px);
}

.seitenkopf__titel {
	max-width: 22ch;
	margin: 0;
	font-size: clamp(2rem, 1.2rem + 3.4vw, 3.25rem);
	font-weight: 800;
}

.seitenkopf__text {
	max-width: 44rem;
	margin: 14px 0 0;
	font-size: 1.1875rem;
}

.wrap.inhalt {
	padding-block: clamp(36px, 5vw, 64px) var(--abstand);
}

.inhalt > * {
	max-width: 46rem;
}

.inhalt > .alignwide,
.inhalt > .alignfull,
.inhalt > .themen,
.inhalt > .wp-block-columns,
.inhalt > .wp-block-table,
.inhalt > .wp-block-gallery {
	max-width: 100%;
}

.inhalt h2 {
	margin-top: 1.8em;
	font-size: 1.75rem;
}

.inhalt h3 {
	margin-top: 1.6em;
	font-size: 1.375rem;
}

.inhalt h4 {
	margin-top: 1.4em;
	font-family: var(--schrift);
	font-size: 1.0625rem;
}

.inhalt > :first-child {
	margin-top: 0;
}

.inhalt ul,
.inhalt ol {
	margin: 0 0 1.1em;
	padding-left: 1.4em;
}

.inhalt li {
	margin-bottom: .35em;
}

.inhalt li::marker {
	color: var(--blau);
	font-weight: 700;
}

.inhalt blockquote {
	margin: 1.6em 0;
	padding: 4px 0 4px 22px;
	border-left: 6px solid var(--gelb);
	font-size: 1.1875rem;
}

.inhalt hr,
.inhalt hr.wp-block-separator.wp-block-separator:not(.is-style-dots) {
	width: 100%;
	height: 15px;
	margin: 2.4em 0;
	border: 0;
	background-image:
		repeating-linear-gradient(90deg, var(--tinte) 0 2px, transparent 2px 80px),
		repeating-linear-gradient(90deg, var(--tinte) 0 2px, transparent 2px 16px);
	background-size: 100% 15px, 100% 8px;
	background-color: transparent;
	background-repeat: no-repeat;
	opacity: .22;
}

.inhalt .blaetter {
	margin: 20px 0 0;
	padding: 0;
}

.inhalt .blatt {
	margin: 0;
}

.inhalt table {
	width: 100%;
	border-collapse: collapse;
}

.inhalt th,
.inhalt td {
	padding: 10px 14px;
	border-bottom: 1px solid var(--eis-2);
	text-align: left;
	vertical-align: top;
}

.inhalt th {
	border-bottom: 2px solid var(--tinte);
}

.inhalt img,
.inhalt__bild {
	border-radius: 20px;
}

.inhalt__bild {
	display: block;
	margin-bottom: 32px;
}

.inhalt figcaption,
.wp-caption-text {
	margin-top: 8px;
	color: var(--leise);
	font-size: .875rem;
}

.alignleft {
	float: left;
	margin: 6px 28px 16px 0;
}

.alignright {
	float: right;
	margin: 6px 0 16px 28px;
}

.aligncenter {
	display: block;
	margin-inline: auto;
}

.download {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px;
	margin-bottom: 36px;
}

.download__groesse {
	color: var(--leise);
	font-size: .9375rem;
}

/* Blöcke aus dem Editor */

.inhalt .wp-block-button__link,
.inhalt .wp-block-file__button {
	display: inline-flex;
	align-items: center;
	min-height: 50px;
	padding: 12px 24px;
	border: 2px solid var(--blau);
	border-radius: 999px;
	background: var(--blau);
	color: var(--weiss);
	font-size: 1.0625rem;
	font-weight: 700;
	text-decoration: none;
}

.inhalt .wp-block-button__link:hover,
.inhalt .wp-block-file__button:hover {
	border-color: var(--tinte-tief);
	background: var(--tinte-tief);
}

.inhalt .is-style-outline .wp-block-button__link {
	background: transparent;
	color: var(--tinte);
}

.inhalt .is-style-outline .wp-block-button__link:hover {
	background: var(--tinte);
	color: var(--weiss);
}

.inhalt .wp-block-file {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 18px;
	padding: 18px 22px;
	border-radius: 16px;
	background: var(--eis);
}

.inhalt .wp-block-file a:first-child {
	font-weight: 700;
}

/* Formulare (z. B. Contact Form 7) */

.inhalt label {
	display: block;
	margin-bottom: 4px;
	font-weight: 600;
}

.inhalt input[type="text"],
.inhalt input[type="email"],
.inhalt input[type="tel"],
.inhalt input[type="url"],
.inhalt input[type="number"],
.inhalt input[type="date"],
.inhalt input[type="search"],
.inhalt select,
.inhalt textarea {
	width: 100%;
	max-width: 100%;
	padding: 12px 14px;
	border: 2px solid #7A9CA6;
	border-radius: 12px;
	background: var(--weiss);
	color: var(--tinte);
	font: inherit;
}

.inhalt input:focus,
.inhalt select:focus,
.inhalt textarea:focus {
	border-color: var(--tinte);
	outline: 3px solid var(--gelb);
	outline-offset: 0;
}

.inhalt input[type="submit"],
.inhalt button[type="submit"] {
	min-height: 50px;
	padding: 12px 28px;
	border: 2px solid var(--blau);
	border-radius: 999px;
	background: var(--blau);
	color: var(--weiss);
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}

.inhalt input[type="submit"]:hover,
.inhalt button[type="submit"]:hover {
	background: var(--tinte-tief);
}

/* Beitragsliste */

.beitraege {
	margin: 0;
	padding: 0;
	list-style: none;
}

.inhalt .beitrag {
	margin: 0;
	padding-block: 28px;
	border-bottom: 1px solid var(--eis-2);
}

.inhalt .beitrag:first-child {
	padding-top: 0;
}

.beitrag__datum {
	margin-bottom: 4px;
	color: var(--leise);
	font-size: .875rem;
}

.inhalt .beitrag__titel {
	margin: 0 0 .4em;
	font-size: 1.5rem;
}

.beitrag__titel a {
	text-decoration: none;
}

.beitrag__titel a:hover {
	text-decoration: underline;
}

.beitrag p:last-child {
	margin-bottom: 0;
}

.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 36px;
}

.pagination .page-numbers {
	display: grid;
	place-items: center;
	min-width: 46px;
	min-height: 46px;
	padding: 6px 14px;
	border: 2px solid var(--tinte);
	border-radius: 999px;
	font-weight: 700;
	text-decoration: none;
}

.pagination .page-numbers.current,
.pagination a.page-numbers:hover {
	background: var(--tinte);
	color: var(--weiss);
}

/* ==========================================================================
   Fußzeile
   ========================================================================== */

.fuss {
	background: var(--tinte-tief);
	color: var(--leise-dunkel);
	font-size: .9375rem;
}

.fuss :focus-visible {
	outline-color: var(--gelb);
}

.fuss__inner {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 32px 48px;
	padding-block: clamp(40px, 6vw, 64px) 32px;
}

.fuss p {
	margin: 0 0 4px;
}

.fuss a {
	color: var(--weiss);
}

.fuss__name {
	color: var(--weiss);
	font-family: var(--schrift-titel);
	font-size: 1.25rem;
	font-weight: 700;
}

.fuss__menue {
	display: grid;
	gap: 6px;
	margin: 0 0 16px;
	padding: 0;
	list-style: none;
}

.fuss__sozial {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.fuss__ende p {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 6px 24px;
	margin: 0;
	padding-block: 18px 28px;
	border-top: 1px solid rgba(255, 255, 255, .14);
}

/* ==========================================================================
   Druck
   ========================================================================== */

@media print {
	.kopf__toggle,
	.kopf__nav,
	.knopf,
	.hero__bild,
	.massband,
	.fuss__nav {
		display: none !important;
	}

	.praxis,
	.notfall,
	.fuss {
		background: none;
		color: #000;
	}
}
