/* Praxis Leunert & Lober: Stile für die CSS-Klassen pz-... (Website). */

/* Grundschrift und große Schrift (Knopf pz-schrift). Alle Maße der Seite in rem folgen mit. */
html { font-size: 18px; -webkit-text-size-adjust: 100%; }
html.gross { font-size: 21px; }
@media (max-width: 640px) {
	html { font-size: 17px; }
	html.gross { font-size: 20px; }
}

/* Sprunganker unter fester Kopfzeile */
html { scroll-padding-top: 96px; }
@media (prefers-reduced-motion: no-preference) {
	html { scroll-behavior: smooth; }
}

[hidden].pz-banner,
[hidden].pz-heute-zusatz { display: none !important; }

/* pz-druck: Druck-Rückmeldung für Knöpfe */
.pz-druck a,
.pz-druck button,
a.pz-druck,
button.pz-druck {
	transition: transform 160ms cubic-bezier(.2, .7, .2, 1), background-color 160ms ease, color 160ms ease;
}
.pz-druck a:active,
.pz-druck button:active,
a.pz-druck:active,
button.pz-druck:active { transform: scale(.985); }

/* pz-zeiten: Tabelle der Sprechzeiten (vom Tag praxis-sprechzeiten-tabelle) */
.pz-zeiten table { width: 100%; border-collapse: collapse; }
.pz-zeiten th,
.pz-zeiten td { text-align: left; vertical-align: top; }
.pz-zeiten .vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pz-zeiten .sub { display: block; font-weight: 700; }
.pz-zeiten .heute-marke,
.pz-zeiten .zu-marke { display: none; margin-left: .6em; font-size: .8em; font-weight: 700; padding: 2px 8px; border-radius: 3px; vertical-align: 2px; }
.pz-zeiten .heute-marke { background: var(--pz-marke-bg, #14210F); color: var(--pz-marke-fg, #fff); }
.pz-zeiten .zu-marke { background: var(--pz-zu-bg, #FDF1F0); color: var(--pz-zu-fg, #B3261E); }
.pz-zeiten tr.ist-heute { background: var(--pz-heute-bg, #E4EDCB); box-shadow: inset 8px 0 0 var(--pz-heute-kante, #6F982B); }
.pz-zeiten tr.ist-heute .heute-marke { display: inline-block; }
.pz-zeiten tr.ist-geschlossen .zu-marke { display: inline-block; }
.pz-zeiten tr.ist-geschlossen td { color: var(--pz-zu-text, #6C7B5C); text-decoration: line-through; text-decoration-thickness: 1px; }
@media (max-width: 640px) {
	.pz-zeiten tr.ist-heute { box-shadow: inset 6px 0 0 var(--pz-heute-kante, #6F982B); }
}

/* pz-banner: Hinweiskasten (Abwesenheit, Feiertag, Vorankündigung) */
.pz-hinweis { margin: 0 0 12px; padding: 12px 14px; border-left: 6px solid var(--pz-hinweis-kante, #C7CF4E); background: var(--pz-hinweis-bg, #F4F8EA); }
.pz-hinweis--vorab { border-left-color: #E3B84A; background: #FFF9E6; }
.pz-hinweis p { margin: 0 0 4px; }
.pz-hinweis__titel { font-weight: 700; }

/* pz-samedi: Zwei-Klick-Fläche für den Terminkalender (Tag praxis-samedi) */
.pz-samedi { border: 2px solid var(--pz-samedi-kante, #14210F); border-radius: 6px; background: var(--pz-samedi-bg, #F4F8EA); padding: 24px; }
.pz-samedi__titel { margin: 0 0 .5em; font-size: 1.4rem; line-height: 1.2; }
.pz-samedi__vor p { margin: 0 0 .8em; max-width: 46em; }
.pz-samedi__merken label { display: inline-flex; align-items: center; gap: 12px; min-height: 48px; cursor: pointer; }
.pz-samedi__merken input { width: 24px; height: 24px; accent-color: var(--pz-samedi-akzent, #3A5510); }
.pz-samedi button.pz-samedi__laden { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 10px 26px; border: 2px solid var(--pz-samedi-akzent, #3A5510); border-radius: 6px; background: var(--pz-samedi-akzent, #3A5510); color: #fff; font: inherit; font-weight: 700; cursor: pointer; transition: transform 160ms cubic-bezier(.2, .7, .2, 1), background-color 160ms ease; }
.pz-samedi button.pz-samedi__laden:hover { background: var(--pz-samedi-kante, #14210F); border-color: var(--pz-samedi-kante, #14210F); }
.pz-samedi button.pz-samedi__laden:active { transform: scale(.985); }
.pz-samedi button.pz-samedi__laden:focus-visible { outline: 3px solid #14210F; outline-offset: 3px; box-shadow: 0 0 0 6px #C7CF4E; }
.pz-samedi__laden[hidden],
.pz-samedi__merken[hidden],
.pz-samedi__vor[hidden] { display: none !important; }
.pz-samedi__rahmen:empty { display: none; }
.pz-samedi__frame { display: block; width: 100%; height: var(--pz-samedi-h, 1600px); border: 0; background: #fff; border-radius: 4px; }
.pz-samedi__extern { margin: 16px 0 0; }
.pz-samedi__extern a { display: inline-flex; align-items: center; min-height: 48px; font-weight: 700; }
.pz-samedi__vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pz-samedi.ist-geladen { padding: 0; border: 0; background: transparent; }
.pz-samedi.ist-geladen .pz-samedi__extern { margin-top: 12px; }
@media (max-width: 700px) {
	.pz-samedi { padding: 18px; }
	.pz-samedi__frame { height: calc(var(--pz-samedi-h, 1600px) * 1.25); }
}

/* pz-wegweiser: Winkel-Linie zwischen aktivem Reiter und Inhalt (nur transform) */
.pz-wegweiser { position: relative; }
.pz-linie { position: absolute; display: none; background: var(--pz-linie, #6F982B); pointer-events: none; z-index: 2; }
.pz-linie--a,
.pz-linie--c { height: 4px; transform-origin: left center; }
.pz-linie--b { width: 4px; transform-origin: center top; }
@media (min-width: 981px) {
	.pz-linie { transition: transform 260ms cubic-bezier(.2, .7, .2, 1); }
	.pz-linie--b { transition-delay: 200ms; }
	.pz-linie--c { transition-delay: 440ms; }
}
@media (max-width: 980px) {
	.pz-linie { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
	.pz-linie,
	.pz-druck a,
	.pz-druck button,
	a.pz-druck,
	button.pz-druck { transition: none !important; animation: none !important; }
}

/* Hinweiskasten in den Formularen (Formular "Rezept und Krankschreibung") */
.plz-hinweis { margin: 0 0 12px; padding: 12px 14px; border-left: 6px solid var(--pz-hinweis-kante, #C7CF4E); background: var(--pz-hinweis-bg, #F4F8EA); }
.plz-hinweis--stopp { border-left-color: #B3261E; background: #FDF1F0; }
.plz-hinweis p { margin: 0 0 4px; }


/* Kontrast (Knopf pz-kontrast): Schwarz auf Weiß, dunkle Knöpfe, Rahmen statt heller Flächen, Links unterstrichen. */
html.kontrast body,
html.kontrast [class*="elementor-kit-"] {
	--e-global-color-text: #000000;
	--e-global-color-ink2: #000000;
	--e-global-color-secondary: #1E2E06;
	--e-global-color-primary: #2B420A;
	--e-global-color-weissgr: #FFFFFF;
	--e-global-color-hellgr: #FFFFFF;
	--e-global-color-linie: #000000;
	color: #000000;
	background-color: #FFFFFF;
}
html.kontrast .elementor * { text-shadow: none !important; }
html.kontrast .elementor p,
html.kontrast .elementor li,
html.kontrast .elementor td,
html.kontrast .elementor th,
html.kontrast .elementor .elementor-heading-title { color: #000000 !important; }
/* Nur das Linienraster abschalten, Fotos als Hintergrund bleiben. */
html.kontrast .op-raster { background-image: none !important; }
html.kontrast .elementor a:not(.elementor-button):not(.e-n-tab-title) { color: #1E2E06 !important; text-decoration: underline !important; text-decoration-thickness: 2px !important; text-underline-offset: 3px; }
html.kontrast .elementor .elementor-button { border-width: 2px !important; border-style: solid !important; border-color: #000000 !important; }
html.kontrast :focus-visible { outline: 4px solid #000000 !important; outline-offset: 3px !important; box-shadow: 0 0 0 7px #FFE600 !important; }
html.kontrast .elementor img { filter: none; }
html.kontrast .gform_wrapper input,
html.kontrast .gform_wrapper textarea,
html.kontrast .gform_wrapper select { border: 2px solid #000000 !important; color: #000000 !important; background: #FFFFFF !important; }
