/* Gestaltung der Praxis-Blöcke (Design D). Grundbausteine wie .tap-karte und .tap-knopf kommen aus dem Theme. */

/* ---------- Heute geöffnet ---------- */

.tap-heute {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.tap-heute__kopf {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: baseline;
	gap: 4px 12px;
}

.tap-heute__titel {
	margin: 0;
	font-size: var(--wp--preset--font-size--titel-s);
}

.tap-heute__ort {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding-top: 14px;
	border-top: 1px solid var(--wp--preset--color--rand);
}

.tap-heute__zeile {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 2px 12px;
}

.tap-heute__name {
	font-weight: 700;
}

.tap-heute__text {
	font-weight: 600;
	color: var(--wp--preset--color--gold);
}

.tap-heute__jetzt,
.tap-heute__neben {
	margin: 0;
	font-size: 14px;
}

.tap-heute__jetzt:empty {
	display: none;
}

.tap-heute__neben {
	list-style: none;
	padding: 0;
}

.tap-heute__mehr {
	margin: 4px 0 0;
	font-weight: 600;
}

/* ---------- Notdienst ---------- */

.tap-notdienst {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.tap-notdienst__titel {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0;
}

.tap-notdienst__punkt {
	width: 12px;
	height: 12px;
	border-radius: 999px;
	background: var(--wp--preset--color--notfall);
	flex-shrink: 0;
}

.tap-notdienst__karten {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
	gap: 16px;
}

.tap-notdienst__karte {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.tap-notdienst__karte p {
	margin: 0;
	font-size: 14px;
}

.tap-notdienst__ueberschrift {
	margin: 0;
	font-family: var(--wp--preset--font-family--text);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.35;
}

.tap-notdienst__frage .tap-notdienst__ueberschrift,
.tap-notdienst__kosten .tap-notdienst__ueberschrift {
	font-family: var(--wp--preset--font-family--ueberschrift);
	font-size: var(--wp--preset--font-size--titel-s);
}

.tap-notdienst__kopf {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 10px;
}

.tap-notdienst__kopf .tap-abzeichen {
	flex-shrink: 0;
}

.tap-notdienst__karte .tap-knopf {
	width: 100%;
	box-sizing: border-box;
	margin-top: auto;
}

.tap-notdienst__kammer {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin-top: auto;
}

.tap-notdienst__preis {
	font-size: 13px !important;
	color: var(--wp--preset--color--zweittext);
}

.tap-notdienst__link a {
	font-weight: 600;
}

.tap-notdienst__sprechzeit {
	margin: 0;
	font-size: 14px;
}

.tap-notdienst__frage {
	border: 1px solid var(--wp--preset--color--rand);
	border-radius: 18px;
	padding: clamp(18px, 3vw, 24px);
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.tap-notdienst__spalten {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
	gap: 12px 28px;
}

.tap-notdienst__spalten p {
	margin: 0;
	font-size: 14px;
}

.tap-notdienst__fett {
	font-weight: 700;
	margin-bottom: 4px !important;
}

.tap-notdienst__einleitung {
	margin: 0;
	color: var(--wp--preset--color--zweittext);
}

/* ---------- Zahlung ---------- */

.tap-zahlung {
	display: flex;
	gap: 16px;
	align-items: flex-start;
	padding: clamp(16px, 3vw, 22px);
	border: 1px solid #5a4d36;
	border-radius: 18px;
}

.tap-zahlung__symbol {
	color: var(--wp--preset--color--gold);
	flex-shrink: 0;
}

.tap-zahlung p {
	margin: 0;
}

.tap-zahlung__titel {
	font-weight: 700;
	margin-bottom: 4px !important;
}

p.tap-zahlung {
	border: 0;
	padding: 0;
	color: var(--wp--preset--color--zweittext);
}

/* ---------- Postfiliale ---------- */

.tap-post-kasten {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.tap-post-kasten p {
	margin: 0;
}

.tap-post-kasten__kopf {
	display: flex;
	align-items: center;
	gap: 10px;
}

.tap-post-kasten__symbol {
	width: 36px;
	height: 36px;
	border-radius: 999px;
	background: var(--wp--preset--color--grund);
	color: var(--wp--preset--color--postgelb);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.tap-post-kasten__titel {
	margin: 0;
	font-family: var(--wp--preset--font-family--ueberschrift);
	font-size: var(--wp--preset--font-size--titel-s);
	font-weight: 700;
	line-height: 1.1;
	color: var(--wp--preset--color--grund);
	flex: 1;
}

.tap-post-kasten__abzeichen {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 6px;
}

.tap-post-kasten__status,
.tap-post-kasten__jetzt {
	font-size: 12px;
	font-weight: 700;
	color: var(--wp--preset--color--postgelb);
	background: var(--wp--preset--color--grund);
	padding: 4px 10px;
	border-radius: 999px;
	white-space: nowrap;
}

/* „Jetzt“-Abzeichen: gleiche Farben, aber eckiger und mit Punkt, damit man es von „Heute geöffnet“ unterscheidet. */
.tap-post-kasten__jetzt {
	display: inline-block;
	padding-left: 22px;
	border-radius: 6px;
	/* Punkt als Hintergrund statt ::before, damit ::first-letter den ersten Buchstaben großschreibt. */
	background-image: radial-gradient(circle, currentColor 0 3px, transparent 3.5px);
	background-repeat: no-repeat;
	background-size: 8px 8px;
	background-position: 9px center;
}

.tap-post-kasten__jetzt::first-letter {
	text-transform: uppercase;
}

.tap-post-kasten__jetzt:empty {
	display: none;
}

.tap-post-kasten__zeit {
	font-weight: 700;
}

.tap-post-kasten__ort {
	font-size: 14px;
	font-weight: 600;
	color: var(--wp--preset--color--grund);
}

.tap-post-kasten__hinweis {
	font-size: 14px;
	color: var(--wp--preset--color--post-zweittext);
}

.tap-post-kasten__link {
	font-weight: 700;
	color: var(--wp--preset--color--grund) !important;
}

.tap-post-bereich h2 {
	margin-top: var(--wp--preset--spacing--50);
}

.tap-liste-haken {
	list-style: none;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.tap-liste-haken li {
	padding-left: 30px;
	position: relative;
}

.tap-liste-haken li::before {
	content: "";
	position: absolute;
	left: 4px;
	top: 0.35em;
	width: 12px;
	height: 7px;
	border-left: 2px solid var(--wp--preset--color--gold);
	border-bottom: 2px solid var(--wp--preset--color--gold);
	transform: rotate(-45deg);
}

.tap-hinweiskasten {
	border: 1px solid #5a4d36;
	border-radius: 14px;
	padding: 14px 16px;
	color: var(--wp--preset--color--zweittext);
}

/* ---------- Öffnungszeiten (Woche) ---------- */

.tap-zeiten__titel {
	margin-top: 0;
	font-size: var(--wp--preset--font-size--titel-s);
}

.tap-zeiten__tabelle {
	width: 100%;
	border-collapse: collapse;
	margin: 8px 0;
}

.tap-zeiten__tabelle th,
.tap-zeiten__tabelle td {
	padding: 10px 0;
	border-top: 1px solid var(--wp--preset--color--rand);
	vertical-align: top;
	text-align: left;
}

.tap-zeiten__tabelle th {
	font-weight: 700;
	padding-right: 16px;
	width: 40%;
}

.tap-zeiten__tabelle td {
	text-align: right;
}

.tap-zeiten__haupt,
.tap-zeiten__neben {
	display: block;
}

.tap-zeiten__neben {
	font-size: 14px;
}

.tap-zeiten__hinweis,
.tap-zeiten__notdienst {
	font-size: 14px;
	margin-bottom: 0;
}

/* ---------- Sprechzeiten des Monats ---------- */

.tap-monate {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.tap-monat {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.tap-monat p {
	margin: 0;
}

.tap-monat__kopf {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 10px;
}

.tap-monat__kopf .tap-label {
	margin: 0;
	font-family: var(--wp--preset--font-family--text);
	font-size: 12px;
}

.tap-monat__tipp {
	font-size: 14px;
}

.tap-monat__plaene {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.tap-monat__plan {
	display: flex;
	flex-direction: column;
	gap: 6px;
	color: var(--wp--preset--color--text);
	text-decoration: none;
	font-size: 13px;
	font-weight: 600;
}

.tap-monat__vorschau {
	width: 100%;
	height: 120px;
	object-fit: cover;
	object-position: top;
	border-radius: 10px;
	background: var(--wp--preset--color--weiss);
}

.tap-monat__naechste {
	font-size: 14px;
	color: var(--wp--preset--color--zweittext);
	padding-top: 10px;
	border-top: 1px solid var(--wp--preset--color--rand);
}

.tap-monat__naechste-titel {
	font-weight: 700;
	color: var(--wp--preset--color--text);
}

.tap-monat__listentitel {
	margin: 8px 0 0;
	font-size: var(--wp--preset--font-size--gross);
	font-family: var(--wp--preset--font-family--text);
}

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

.tap-monat__zeile {
	display: flex;
	gap: 12px;
	padding: 10px 0;
	border-top: 1px solid var(--wp--preset--color--rand);
	font-size: 14px;
}

.tap-monat__zeile--vorbei {
	color: var(--wp--preset--color--zweittext);
}

.tap-monat__datum {
	flex: 0 0 76px;
	font-weight: 700;
}

@media (min-width: 900px) {
	.tap-monat__vorschau {
		height: 160px;
	}
}

/* ---------- Meldungen (Aktuelles und Archiv) ---------- */

.tap-meldungen {
	display: flex;
	flex-direction: column;
}

.tap-meldung {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 16px 0;
	border-bottom: 1px solid var(--wp--preset--color--rand);
	color: var(--wp--preset--color--text);
	text-decoration: none;
}

.tap-meldungen .tap-meldung:first-child {
	border-top: 1px solid var(--wp--preset--color--rand);
}

.tap-meldung:hover .tap-meldung__titel {
	color: var(--wp--preset--color--gold);
}

.tap-meldung__kopf {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 10px;
	font-size: 13px;
}

.tap-meldung__titel {
	font-size: 17px;
	font-weight: 600;
	line-height: 1.4;
}

.tap-meldung__anhang {
	font-size: 13px;
}

.tap-abzeichen--aktuell {
	background: var(--wp--preset--color--gold);
	border-color: var(--wp--preset--color--gold);
	color: var(--wp--preset--color--grund);
}

.tap-aktuelles__archiv {
	margin: 14px 0 0;
	font-weight: 600;
}

.tap-archiv__suche {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin-bottom: 16px;
}

.tap-archiv__suche label {
	font-size: 14px;
	font-weight: 600;
}

.tap-archiv__feld {
	display: flex;
	gap: 8px;
}

.tap-archiv__feld input {
	flex: 1;
	min-width: 0;
	min-height: 48px;
	padding: 0 18px;
	border-radius: 999px;
	border: 1px solid #5a5247;
	background: var(--wp--preset--color--flaeche);
	color: var(--wp--preset--color--text);
	font: inherit;
}

.tap-archiv__feld input::placeholder {
	color: #9a9182;
}

.tap-archiv__feld button {
	cursor: pointer;
}

.tap-archiv__themen {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 12px;
}

.tap-archiv__thema {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 0 16px;
	border-radius: 999px;
	border: 1px solid #5a5247;
	color: var(--wp--preset--color--text);
	text-decoration: none;
	font-size: 14px;
	font-weight: 600;
}

.tap-archiv__thema--aktiv {
	background: var(--wp--preset--color--gold);
	border-color: var(--wp--preset--color--gold);
	color: var(--wp--preset--color--grund);
}

.tap-archiv__anzahl {
	font-size: 14px;
}

.tap-archiv__jahr {
	margin: 24px 0 6px;
	color: var(--wp--preset--color--gold);
	font-size: var(--wp--preset--font-size--titel-s);
}

.tap-archiv__seiten {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	margin-top: 20px;
	font-weight: 600;
}

/* ---------- Team ---------- */

/* ---------- Google-Bewertungen ---------- */

.tap-bewertungen {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.tap-bewertungen p {
	margin: 0;
}

.tap-bewertungen__kopf {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 20px;
}

.tap-bewertungen__titel {
	margin: 0;
	flex: 1 1 100%;
}

.tap-bewertungen__gesamt {
	flex: 1 1 auto;
}

.tap-bewertungen__knoepfe {
	display: flex;
	gap: 8px;
}

.tap-bewertungen__knoepfe[hidden] {
	display: none;
}

.tap-bewertungen__knopf {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid var(--wp--preset--color--rand);
	border-radius: 999px;
	background: transparent;
	color: var(--wp--preset--color--gold);
	cursor: pointer;
}

.tap-bewertungen__knopf:hover {
	border-color: var(--wp--preset--color--gold);
}

.tap-bewertungen__leiste {
	/* Bezugsrahmen für die versteckten Screenreader-Texte, sonst ragen sie aus der Leiste und verbreitern die Seite. */
	position: relative;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-padding-inline: 2px;
	padding-bottom: 10px;
	scrollbar-color: var(--wp--preset--color--rand) transparent;
}

.tap-bewertungen__liste {
	list-style: none;
	margin: 0;
	padding: 2px;
	display: flex;
	gap: 16px;
}

.tap-bewertung {
	flex: 0 0 min(85%, 340px);
	scroll-snap-align: start;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.tap-bewertung__text {
	margin: 0;
	flex: 1;
	padding: 0;
	border: 0;
	font-size: 15px;
	line-height: 1.6;
}

.tap-bewertung__name {
	font-weight: 700;
	font-size: 14px;
}

.tap-sterne {
	color: var(--wp--preset--color--rand);
	letter-spacing: 2px;
}

.tap-sterne__voll {
	color: var(--wp--preset--color--gold);
}

/* Gesamtnote: goldene Sterne über grauen, auf die Note gekürzt. */
.tap-sterne--anteil {
	position: relative;
	display: inline-block;
	white-space: nowrap;
}

.tap-sterne--anteil .tap-sterne__voll {
	position: absolute;
	inset: 0 auto 0 0;
	overflow: hidden;
}

.tap-bewertungen__hinweis {
	font-size: 13px;
}

/* ---------- Zurück zur Übersicht ---------- */

.tap-zurueck {
	margin: 0 0 12px;
}

.tap-zurueck__link {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 44px;
	font-size: 15px;
	font-weight: 600;
	color: var(--wp--preset--color--text);
	text-decoration: none;
}

.tap-zurueck__pfeil {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	flex-shrink: 0;
	border: 1px solid var(--wp--preset--color--rand);
	border-radius: 999px;
	color: var(--wp--preset--color--gold);
}

.tap-zurueck__link:hover {
	color: var(--wp--preset--color--gold);
}

.tap-zurueck__link:hover .tap-zurueck__pfeil {
	border-color: var(--wp--preset--color--gold);
}

/* ---------- Team ---------- */

.tap-team {
	display: flex;
	flex-direction: column;
	gap: 40px;
}

.tap-team__ueberschrift {
	margin: 0 0 16px;
}

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

.tap-team__person {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.tap-team__foto {
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
	border-radius: 12px;
	margin-bottom: 8px;
}

.tap-team__foto--leer {
	display: flex;
	align-items: center;
	justify-content: center;
	background: #2b2723;
	color: var(--wp--preset--color--gold);
	font-family: var(--wp--preset--font-family--ueberschrift);
	font-size: 48px;
	font-weight: 700;
}

.tap-team__name {
	margin: 0;
	font-size: var(--wp--preset--font-size--titel-s);
}

.tap-team__funktion {
	margin: 0;
	font-size: 14px;
}

.tap-team__zitat {
	margin: 8px 0 0;
	padding: 0;
	font-size: 14px;
	font-style: italic;
	color: var(--wp--preset--color--zweittext);
}

.tap-datei-groesse {
	font-weight: 400;
	opacity: 0.85;
}

/* ---------- Zufriedenheitsumfrage ---------- */

.tap-rueckmeldung p {
	margin: 0;
}

.tap-rueckmeldung__formular,
.tap-rueckmeldung__danke {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.tap-rueckmeldung__danke h2 {
	margin: 0;
}

.tap-rueckmeldung__noten {
	border: 0;
	margin: 0;
	padding: 0;
	min-width: 0;
}

.tap-rueckmeldung__noten legend {
	padding: 0;
	margin-bottom: 14px;
	font-weight: 700;
	font-size: 1.125rem;
}

.tap-rueckmeldung__noten legend .tap-zweittext {
	display: block;
	margin-top: 4px;
	font-weight: 400;
	font-size: 15px;
}

/* Fünf Noten je Zeile auf dem Handy (große Tippflächen), alle zehn in einer Zeile ab Tablet. */
.tap-rueckmeldung__skala {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 8px;
}

.tap-rueckmeldung__note {
	position: relative;
}

.tap-rueckmeldung__note input {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	opacity: 0;
	cursor: pointer;
}

.tap-rueckmeldung__note span {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	border: 1px solid #5a5247;
	border-radius: 12px;
	background: var(--wp--preset--color--grund);
	font-weight: 700;
	font-size: 18px;
}

.tap-rueckmeldung__note:hover span {
	border-color: var(--wp--preset--color--gold);
}

.tap-rueckmeldung__note input:checked + span {
	background: var(--wp--preset--color--gold);
	border-color: var(--wp--preset--color--gold);
	color: var(--wp--preset--color--grund);
}

.tap-rueckmeldung__note input:focus-visible + span {
	outline: 3px solid var(--wp--preset--color--gold);
	outline-offset: 2px;
}

/* Bedeutung von 1 und 10 über den Kästchen (links über der 1, rechts über der 10). */
.tap-rueckmeldung__enden {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 8px;
	font-size: 14px;
}

.tap-rueckmeldung__enden span:last-child {
	text-align: right;
}

@media (min-width: 600px) {
	.tap-rueckmeldung__skala {
		grid-template-columns: repeat(10, minmax(0, 1fr));
	}
}

.tap-rueckmeldung__feld label {
	display: block;
	margin-bottom: 8px;
	font-weight: 700;
}

.tap-rueckmeldung__feld textarea {
	display: block;
	box-sizing: border-box;
	width: 100%;
	min-height: 130px;
	padding: 12px 14px;
	border: 1px solid #5a5247;
	border-radius: 12px;
	background: var(--wp--preset--color--grund);
	color: var(--wp--preset--color--text);
	font: inherit;
	resize: vertical;
}

.tap-rueckmeldung__feld > .tap-zweittext {
	display: block;
	margin-top: 8px;
	font-size: 14px;
}

.tap-rueckmeldung__falle {
	position: absolute;
	left: -10000px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.tap-rueckmeldung__fehler {
	margin-bottom: 16px !important;
	padding: 12px 16px;
	border-left: 4px solid var(--wp--preset--color--notfall);
	border-radius: 8px;
	background: var(--wp--preset--color--flaeche);
}

.tap-rueckmeldung__einladung {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px 32px;
}

.tap-rueckmeldung__einladung h2 {
	margin: 0 0 6px;
}

.tap-rueckmeldung__einladung p {
	color: var(--wp--preset--color--zweittext);
	max-width: 60ch;
}
