/*
Theme Name: Fuchs Werkbank
Theme URI: https://zahnarzt-forchtenberg.de/
Description: Child-Theme fuer die Zahnarztpraxis Dr. med. dent. Larissa Fuchs. Designsystem "Die Werkbank": die Welt des zahntechnischen Labors, getragen von Material und Fotografie. Farbe kommt aus dem Logo: Anthrazit als Schrift, Hellblau als einzige Signalfarbe.
Author: EUMi media
Author URI: https://eumi-media.de
Template: hello-elementor
Version: 2.0.0
Text Domain: fuchs-werkbank
*/

/* ---------------------------------------------------------------
   Schriften, lokal ausgeliefert (keine Google-Requests, DSGVO)
   --------------------------------------------------------------- */

@font-face {
	font-family: 'Archivo';
	src: url('fonts/archivo-var-latin.woff2') format('woff2-variations');
	font-weight: 400 800;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F, U+2074, U+20AC, U+2122, U+2212;
}

@font-face {
	font-family: 'Atkinson Hyperlegible';
	src: url('fonts/atkinson-400-latin.woff2') format('woff2');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F, U+2074, U+20AC, U+2122, U+2212;
}

@font-face {
	font-family: 'Atkinson Hyperlegible';
	src: url('fonts/atkinson-700-latin.woff2') format('woff2');
	font-weight: 700;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F, U+2074, U+20AC, U+2122, U+2212;
}

/* ---------------------------------------------------------------
   Material

   Die Farbe kommt aus dem Logo, nicht aus einer Stimmung:
   Anthrazit #222222 ist der Schriftzug, Hellblau #6EC1E4 der Zahn.
   Hellblau traegt als FLAECHE, nie als Schrift auf hellem Grund
   (dort nur 2,0:1). Fuer blaue Schrift die abgedunkelte Fassung.

   Geprueft: Text auf Papier 14,5:1 / weicher Text 5,7:1 /
   Anthrazit auf Signalblau 7,9:1 / blaue Schrift 5,6:1 /
   Papier auf Dunkel 14,3:1 / Signalblau auf Dunkel 7,8:1.
   --------------------------------------------------------------- */

:root {
	--wb-paper:       #F2F5F6;
	--wb-paper-shade: #E6EBED;
	--wb-card:        #FFFFFF;

	--wb-ink:         #222222;
	--wb-ink-soft:    #5A6167;

	--wb-signal:      #6EC1E4;
	--wb-signal-deep: #17698C;
	--wb-signal-dark: #4EAED7;

	--wb-steel:       #8C9296;
	--wb-dark:        #1F2426;
	--wb-dark-soft:   #2C3335;

	--wb-on-dark:      #F2F5F6;
	--wb-on-dark-soft: #B9C2C6;

	/* Das sichtbare Mass: zehn Teilungen, jede bedeutet etwas.
	   Eine Teilung skaliert mit dem Viewport, die Verhaeltnisse bleiben. */
	--m: clamp(0.75rem, 0.62rem + 0.42vw, 1.05rem);
	--m1: var(--m);
	--m2: calc(var(--m) * 2);
	--m3: calc(var(--m) * 3);
	--m4: calc(var(--m) * 4);
	--m5: calc(var(--m) * 5);
	--m6: calc(var(--m) * 6);
	--m8: calc(var(--m) * 8);
	--m10: calc(var(--m) * 10);

	--wb-measure: 68ch;
	--wb-edge: 8px;
	--wb-radius-action: 10px;
	--wb-radius-field: 8px;

	/* Tiefe: Versatz und weiche Streuung. Die Platte liegt auf der Flaeche. */
	--wb-shadow:      0 1px 2px rgba(31, 36, 38, .07), 0 10px 26px rgba(31, 36, 38, .09);
	--wb-shadow-lift: 0 2px 5px rgba(31, 36, 38, .10), 0 20px 44px rgba(31, 36, 38, .14);

	--wb-ease: cubic-bezier(.16, 1, .3, 1);

	--font-display: 'Archivo', ui-sans-serif, system-ui, sans-serif;
	--font-text: 'Atkinson Hyperlegible', ui-sans-serif, system-ui, sans-serif;
}

/* ---------------------------------------------------------------
   Grundlage
   --------------------------------------------------------------- */

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	/* Sprungmarken landen nicht unter dem sticky Kopf. */
	scroll-padding-top: calc(var(--wb-header-h, 76px) + var(--m2));
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
}

body {
	background: var(--wb-paper);
	color: var(--wb-ink);
	font-family: var(--font-text);
	font-size: 1.0625rem;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

h1, h2, h3, h4,
.wb-display {
	font-family: var(--font-display);
	font-weight: 700;
	line-height: 1.08;
	letter-spacing: -0.022em;
	text-wrap: balance;
	color: var(--wb-ink);
	margin-block: var(--m3) var(--m1);
}

h1 { font-size: clamp(2.2rem, 1.5rem + 3.4vw, 4.4rem); letter-spacing: -0.032em; }
h2 { font-size: clamp(1.7rem, 1.25rem + 2.1vw, 3rem); letter-spacing: -0.026em; }
h3 { font-size: clamp(1.25rem, 1.1rem + 0.8vw, 1.6rem); }

h1:first-child, h2:first-child, h3:first-child { margin-block-start: 0; }

p, li { max-width: var(--wb-measure); }
p { margin-block: 0 var(--m2); }

strong, b { font-weight: 700; }

/* Betonung laeuft ueber Groesse und Gewicht, nie ueber Farbe allein. */
.wb-emphasis { font-weight: 700; font-size: 1.12em; }

/* Zahlen in Tabellen und Zeiten laufen in gleicher Breite. */
table, .wb-hours, .wb-figures {
	font-variant-numeric: tabular-nums;
	font-feature-settings: 'tnum' 1;
}

/* ---------------------------------------------------------------
   Browser-Oberflaechen: die Teile, die man nicht selbst zeichnet,
   tragen sonst die Voreinstellung eines fremden Systems.
   --------------------------------------------------------------- */

::selection {
	background: var(--wb-signal);
	color: var(--wb-ink);
}

:where(a, button, input, textarea, select, summary, [tabindex]):focus-visible {
	outline: 3px solid var(--wb-signal-deep);
	outline-offset: 3px;
	border-radius: var(--wb-radius-field);
}

/* Auf dunklen Flaechen traegt das tiefe Blau zu wenig: dort das helle. */
.wb-dark :where(a, button, [tabindex]):focus-visible {
	outline-color: var(--wb-signal);
}

input, textarea, select {
	caret-color: var(--wb-signal-deep);
	font-family: inherit;
	font-size: 1rem;
}

::placeholder { color: var(--wb-ink-soft); opacity: 1; }

* {
	scrollbar-width: thin;
	scrollbar-color: var(--wb-steel) var(--wb-paper-shade);
}

::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--wb-paper-shade); }
::-webkit-scrollbar-thumb {
	background: var(--wb-steel);
	border: 3px solid var(--wb-paper-shade);
	border-radius: 99px;
}
::-webkit-scrollbar-thumb:hover { background: var(--wb-ink-soft); }

a {
	color: inherit;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.22em;
	text-decoration-color: color-mix(in srgb, currentColor 42%, transparent);
	transition: text-decoration-color .18s var(--wb-ease), color .18s var(--wb-ease);
}

a:hover { text-decoration-color: currentColor; }

.wb-link { color: var(--wb-signal-deep); font-weight: 700; }
.wb-dark .wb-link { color: var(--wb-signal); }

/* ---------------------------------------------------------------
   Flaechen
   --------------------------------------------------------------- */

/* Dunkle Bank: sparsam eingesetzt, dort wo Fotos aus dem Labor stehen. */
.wb-dark {
	background: var(--wb-dark);
	color: var(--wb-on-dark);
}

.wb-dark :where(h1, h2, h3, h4) { color: var(--wb-on-dark); }
.wb-dark .wb-lede,
.wb-dark .wb-note { color: var(--wb-on-dark-soft); }

.wb-plate {
	background: var(--wb-card);
	color: var(--wb-ink);
	border-radius: var(--wb-edge);
	box-shadow: var(--wb-shadow);
	padding: var(--m4);
}

.wb-plate--tight { padding: var(--m3); }
.wb-shade { background: var(--wb-paper-shade); }

.wb-lede {
	font-size: clamp(1.1rem, 1.02rem + 0.42vw, 1.35rem);
	line-height: 1.5;
	color: var(--wb-ink-soft);
	max-width: 58ch;
}

/* ---------------------------------------------------------------
   Handlung. Genau eine Signalfarbe, nirgends dekorativ.
   Hellblau traegt als Flaeche, die Beschriftung darauf ist Anthrazit.
   --------------------------------------------------------------- */

.wb-action {
	display: inline-flex;
	align-items: center;
	gap: var(--m1);
	background: var(--wb-signal);
	color: var(--wb-ink);
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 1.0625rem;
	letter-spacing: -0.01em;
	line-height: 1;
	padding: calc(var(--m1) * 1.15) var(--m2);
	border: 0;
	border-radius: var(--wb-radius-action);
	text-decoration: none;
	cursor: pointer;
	/* Mindestens 48px Trefferflaeche, auch fuer unsichere Hand. */
	min-height: 48px;
	box-shadow: 0 1px 2px rgba(31, 36, 38, .12), 0 8px 18px rgba(23, 105, 140, .18);
	transition: background .18s var(--wb-ease), box-shadow .18s var(--wb-ease), transform .18s var(--wb-ease);
}

.wb-action:hover {
	background: var(--wb-signal-dark);
	box-shadow: 0 2px 4px rgba(31, 36, 38, .16), 0 14px 26px rgba(23, 105, 140, .24);
	transform: translateY(-1px);
}

.wb-action:active { transform: translateY(0); }

.wb-action[aria-disabled='true'],
.wb-action:disabled {
	background: var(--wb-paper-shade);
	color: var(--wb-ink-soft);
	box-shadow: none;
	cursor: not-allowed;
	transform: none;
}

/* Zweitrangige Handlung: gleiche Flaeche, ohne Signalfarbe. */
.wb-action--quiet {
	background: transparent;
	color: var(--wb-ink);
	box-shadow: inset 0 0 0 1px var(--wb-steel);
}

.wb-dark .wb-action--quiet {
	color: var(--wb-on-dark);
	box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--wb-on-dark) 45%, transparent);
}

.wb-action--quiet:hover {
	background: color-mix(in srgb, var(--wb-steel) 14%, transparent);
	box-shadow: inset 0 0 0 1px currentColor;
	transform: none;
}

/* ---------------------------------------------------------------
   Arbeitsschritte: das Labor wird in Schritten gezeigt, nicht als
   fertiges Ergebnis behauptet. Das ist der eine gestaltete Moment.
   --------------------------------------------------------------- */

.wb-steps {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: var(--m1);
	counter-reset: wb-step;
}

.wb-step {
	position: relative;
	max-width: none;
	display: grid;
	grid-template-columns: auto 1fr;
	gap: var(--m2);
	align-items: start;
	padding: var(--m2) 0;
	border-block-end: 1px solid color-mix(in srgb, var(--wb-steel) 34%, transparent);
}

.wb-step:last-child { border-block-end: 0; }

.wb-step::before {
	counter-increment: wb-step;
	content: counter(wb-step);
	font-family: var(--font-display);
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	font-size: 0.9rem;
	line-height: 1;
	color: var(--wb-ink-soft);
	padding: 0.55em 0 0;
	min-width: 1.6ch;
}

.wb-dark .wb-step::before { color: var(--wb-on-dark-soft); }
.wb-dark .wb-step { border-block-end-color: color-mix(in srgb, var(--wb-on-dark) 18%, transparent); }

.wb-step h3 { margin-block: 0 0.35em; }
.wb-step p { margin-block-end: 0; }

/* Der Moment: die Schritte legen sich nacheinander an, einmal.
   Nur wenn JavaScript laeuft. Ohne JS steht der Inhalt sofort da. */
@media (prefers-reduced-motion: no-preference) {
	.wb-js .wb-steps--reveal .wb-step {
		opacity: 0;
		transform: translateY(14px);
		filter: blur(3px);
	}

	.wb-js .wb-steps--reveal.is-revealed .wb-step {
		opacity: 1;
		transform: none;
		filter: blur(0);
		transition:
			opacity .62s var(--wb-ease) var(--wb-delay, 0ms),
			transform .62s var(--wb-ease) var(--wb-delay, 0ms),
			filter .62s var(--wb-ease) var(--wb-delay, 0ms);
	}
}

/* ---------------------------------------------------------------
   Sprechzeiten
   --------------------------------------------------------------- */

.wb-hours {
	width: 100%;
	border-collapse: collapse;
	text-align: start;
}

.wb-hours th,
.wb-hours td {
	padding: calc(var(--m1) * .8) var(--m1);
	border-block-end: 1px solid color-mix(in srgb, var(--wb-steel) 30%, transparent);
	vertical-align: baseline;
}

.wb-hours th { font-weight: 400; text-align: start; white-space: nowrap; }
.wb-hours td { text-align: end; font-variant-numeric: tabular-nums; }
.wb-hours tr:last-child :where(th, td) { border-block-end: 0; }

/* Geschlossen wird benannt, nicht kaschiert. */
.wb-hours .wb-closed { color: var(--wb-ink-soft); }

/* ---------------------------------------------------------------
   Kopf und Fuss
   --------------------------------------------------------------- */

.wb-header,
header.elementor-location-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: color-mix(in srgb, var(--wb-paper) 88%, transparent);
	color: var(--wb-ink);
	border-block-end: 1px solid transparent;
	transition: border-color .2s var(--wb-ease), box-shadow .2s var(--wb-ease), background .2s var(--wb-ease);
}

@supports (backdrop-filter: blur(8px)) {
	.wb-header,
	header.elementor-location-header { backdrop-filter: blur(10px) saturate(1.1); }
}

/* Erst beim Scrollen loest sich der Kopf sichtbar von der Seite ab. */
.wb-header.is-stuck,
header.elementor-location-header.is-stuck {
	background: color-mix(in srgb, var(--wb-paper) 94%, transparent);
	border-block-end-color: color-mix(in srgb, var(--wb-steel) 42%, transparent);
	box-shadow: 0 1px 2px rgba(31, 36, 38, .06), 0 8px 24px rgba(31, 36, 38, .09);
}

header.elementor-location-header .elementor-nav-menu .elementor-item {
	font-family: var(--font-display);
	font-weight: 500;
	/* Sieben Punkte, Logo und Schaltflaeche muessen in eine Zeile passen. */
	font-size: 0.95rem;
	letter-spacing: -0.008em;
	padding-inline: 0.62em;
	padding-block: 0.65em;
	white-space: nowrap;
	color: var(--wb-ink-soft);
	border-radius: var(--wb-radius-action);
	transition: color .16s var(--wb-ease), background-color .16s var(--wb-ease);
}

header.elementor-location-header .elementor-nav-menu--main { flex-wrap: nowrap; }

header.elementor-location-header .elementor-nav-menu .elementor-item:hover,
header.elementor-location-header .elementor-nav-menu .elementor-item:focus-visible,
header.elementor-location-header .elementor-nav-menu .elementor-item.elementor-item-active {
	color: var(--wb-ink);
	background-color: color-mix(in srgb, var(--wb-steel) 16%, transparent);
}

/* Aufklapp-Menue auf schmalen Schirmen. */
header.elementor-location-header .elementor-nav-menu--dropdown {
	background-color: var(--wb-card);
	box-shadow: var(--wb-shadow);
}

header.elementor-location-header .elementor-nav-menu--dropdown .elementor-item {
	color: var(--wb-ink);
	min-height: 48px;
	display: flex;
	align-items: center;
}

header.elementor-location-header div.elementor-menu-toggle {
	color: var(--wb-ink);
	background: transparent;
	min-width: 48px;
	min-height: 48px;
	justify-content: center;
}

header.elementor-location-header div.elementor-menu-toggle svg {
	fill: currentColor;
	width: 26px;
	height: 26px;
}

.wb-footer,
footer.elementor-location-footer {
	background: var(--wb-paper-shade);
	color: var(--wb-ink);
	border-block-start: 1px solid color-mix(in srgb, var(--wb-steel) 34%, transparent);
}

footer.elementor-location-footer :where(h2, h3) {
	color: var(--wb-ink);
	font-size: 1.05rem;
	letter-spacing: 0.01em;
	margin-block: 0 var(--m1);
}

footer.elementor-location-footer a { color: var(--wb-ink); }
footer.elementor-location-footer .wb-note,
footer.elementor-location-footer .wb-hours .wb-closed { color: var(--wb-ink-soft); }

.wb-footer-abschluss {
	border-block-start: 1px solid color-mix(in srgb, var(--wb-steel) 34%, transparent);
}

footer.elementor-location-footer .elementor-nav-menu .elementor-item {
	font-family: var(--font-text);
	font-size: 0.9rem;
	color: var(--wb-ink-soft);
	padding-inline: 0;
	padding-block: 0.4em;
	margin-inline-end: var(--m2);
}

footer.elementor-location-footer .elementor-nav-menu .elementor-item:hover { color: var(--wb-ink); }

/* Handlungsgruppe rechts im Kopf: Telefon und Instagram. */
.wb-headbar {
	display: flex;
	align-items: center;
	gap: var(--m1);
}

.wb-headbar .wb-action { font-variant-numeric: tabular-nums; white-space: nowrap; }

.wb-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: var(--wb-radius-action);
	color: var(--wb-ink-soft);
	text-decoration: none;
	transition: color .16s var(--wb-ease), background-color .16s var(--wb-ease);
}

.wb-icon:hover {
	color: var(--wb-ink);
	background-color: color-mix(in srgb, var(--wb-steel) 16%, transparent);
}

/* Ein Strichgewicht fuer alle Symbole. */
.wb-icon svg,
.wb-action svg {
	width: 22px;
	height: 22px;
	stroke: currentColor;
	stroke-width: 1.75;
	fill: none;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.wb-action svg { width: 19px; height: 19px; }

/* Sprungmarke fuer Tastatur- und Screenreader-Nutzung. */
.wb-skip {
	position: absolute;
	left: var(--m1);
	top: var(--m1);
	z-index: 200;
	transform: translateY(-200%);
	transition: transform .16s var(--wb-ease);
}

.wb-skip:focus-visible { transform: translateY(0); }

@media (max-width: 767px) {
	/* Auf dem Telefon zaehlt die Nummer, nicht ihre Beschriftung. */
	.wb-headbar .wb-action .wb-action__label { display: none; }
	.wb-headbar .wb-action { padding-inline: calc(var(--m1) * 1.1); }

	/* Logo links, alles Bedienbare rechts als eine Gruppe. */
	header.elementor-location-header .e-con-inner { --justify-content: flex-start; }
	header.elementor-location-header .e-con-inner > .elementor-widget-nav-menu { margin-inline-start: auto; }
}

/* ---------------------------------------------------------------
   Startseite
   --------------------------------------------------------------- */

.wb-hero-claim {
	font-size: clamp(1.05rem, 0.98rem + 0.4vw, 1.3rem);
	line-height: 1.55;
	color: var(--wb-ink-soft);
	max-width: 48ch;
	margin-block: 0 var(--m3);
}

.wb-dark .wb-hero-claim { color: var(--wb-on-dark-soft); }

/* Der Beleg steht immer bei der Gesamtwertung, nie ohne. */
.wb-proof {
	display: flex;
	align-items: baseline;
	gap: 0.5em;
	flex-wrap: wrap;
	font-size: 0.95rem;
	color: var(--wb-ink-soft);
	margin-block: var(--m2) 0;
	max-width: none;
}

.wb-proof__score {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 1.5rem;
	color: var(--wb-ink);
	font-variant-numeric: tabular-nums;
}

.wb-dark .wb-proof { color: var(--wb-on-dark-soft); }
.wb-dark .wb-proof__score { color: var(--wb-on-dark); }

.wb-quote { border: 0; margin: 0; padding: 0; }
.wb-quote p { font-size: 1.05rem; line-height: 1.6; margin-block-end: var(--m1); }
.wb-quote cite { font-style: normal; font-size: 0.9rem; color: var(--wb-ink-soft); }

/* Leistungen als gegliederte Liste, nicht als Kachelraster. */
.wb-services {
	display: grid;
	gap: var(--m4);
	grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
	margin: 0;
	padding: 0;
}

.wb-services h3 {
	font-size: 0.95rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--wb-ink-soft);
	margin-block: 0 var(--m1);
	padding-block-end: 0.5em;
	border-block-end: 1px solid color-mix(in srgb, var(--wb-steel) 40%, transparent);
}

.wb-services ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55em; }
.wb-services li { max-width: none; line-height: 1.4; }

/* Notdienst: eine Nummer, die im Ernstfall sofort findbar sein muss. */
.wb-emergency { display: grid; gap: var(--m1); }

.wb-emergency__number {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: clamp(1.6rem, 1.3rem + 1.4vw, 2.4rem);
	font-variant-numeric: tabular-nums;
	letter-spacing: -0.02em;
	line-height: 1;
	text-decoration: none;
	display: inline-block;
	color: var(--wb-signal-deep);
}

.wb-dark .wb-emergency__number { color: var(--wb-signal); }

/* Foto als Platte auf der Flaeche. */
.wb-figure { margin: 0; display: grid; gap: var(--m1); }

.wb-figure img {
	display: block;
	width: 100%;
	border-radius: var(--wb-edge);
	box-shadow: var(--wb-shadow);
}

.wb-figure figcaption { font-size: 0.9rem; color: var(--wb-ink-soft); max-width: 44ch; }
.wb-dark .wb-figure figcaption { color: var(--wb-on-dark-soft); }

.wb-address { font-style: normal; line-height: 1.6; margin: 0; }

.wb-note {
	font-size: 0.95rem;
	line-height: 1.55;
	color: var(--wb-ink-soft);
	margin-block: var(--m1) 0;
	max-width: 40ch;
}

.wb-colophon {
	font-size: 0.9rem;
	margin: 0;
	color: var(--wb-ink-soft);
	max-width: none;
}

/* ---------------------------------------------------------------
   Bilder und Hilfsmittel
   --------------------------------------------------------------- */

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

.wb-sr {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

/* ---------------------------------------------------------------
   Nachtrag: Rundungen, Instagram, Formular
   --------------------------------------------------------------- */

/* Instagram traegt im Kopf mehr Gewicht: eigene Flaeche statt blasses Symbol. */
.wb-headbar .wb-icon {
	color: var(--wb-ink);
	box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--wb-steel) 55%, transparent);
	border-radius: var(--wb-radius-action);
}

.wb-headbar .wb-icon svg { width: 24px; height: 24px; stroke-width: 1.9; }

.wb-headbar .wb-icon:hover {
	color: var(--wb-ink);
	background-color: var(--wb-signal);
	box-shadow: inset 0 0 0 1px var(--wb-signal);
}

/* Kontaktformular in der Werkbank-Welt. */
.elementor-widget-form .elementor-field-group > label {
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 0.92rem;
	color: var(--wb-ink);
	margin-block-end: 0.4em;
}

.elementor-widget-form .elementor-field-group .elementor-field-required .elementor-mark-required,
.elementor-widget-form .elementor-mark-required { color: var(--wb-signal-deep); }

.elementor-widget-form :where(input[type='text'], input[type='email'], input[type='tel'], textarea, select) {
	background: var(--wb-card);
	color: var(--wb-ink);
	border: 1px solid color-mix(in srgb, var(--wb-steel) 55%, transparent);
	border-radius: var(--wb-radius-field);
	padding: 0.75em 0.85em;
	min-height: 48px;
	transition: border-color .16s var(--wb-ease), box-shadow .16s var(--wb-ease);
}

.elementor-widget-form :where(input, textarea, select):focus {
	border-color: var(--wb-signal-deep);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--wb-signal) 45%, transparent);
	outline: none;
}

.elementor-widget-form textarea { min-height: 8em; line-height: 1.5; }

.elementor-widget-form .elementor-button[type='submit'] {
	background: var(--wb-signal);
	color: var(--wb-ink);
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 1.0625rem;
	border: 0;
	border-radius: var(--wb-radius-action);
	min-height: 52px;
	padding-inline: var(--m3);
	box-shadow: 0 1px 2px rgba(31, 36, 38, .12), 0 8px 18px rgba(23, 105, 140, .18);
	transition: background .18s var(--wb-ease), box-shadow .18s var(--wb-ease), transform .18s var(--wb-ease);
}

.elementor-widget-form .elementor-button[type='submit']:hover {
	background: var(--wb-signal-dark);
	transform: translateY(-1px);
}

.elementor-widget-form .elementor-message {
	font-size: 1rem;
	line-height: 1.5;
	border-radius: var(--wb-radius-field);
	padding: var(--m1) var(--m2);
	margin-block-start: var(--m1);
}

.elementor-widget-form .elementor-message.elementor-message-success {
	background: color-mix(in srgb, var(--wb-signal) 22%, transparent);
	color: var(--wb-ink);
}

.elementor-widget-form .elementor-message.elementor-message-danger {
	background: color-mix(in srgb, #B3261E 12%, transparent);
	color: #7A1912;
}

/* Auswahl "bereits Patient" mit gleicher Trefferflaeche wie der Rest. */
.elementor-widget-form .elementor-field-type-select select { appearance: auto; }

/* ---------------------------------------------------------------
   Hero mit vollflaechigem Bild
   Die Abdunkelung ist kein Effekt, sondern Voraussetzung:
   Weiss auf dem hellen Blau des Fotos traegt sonst zu wenig Kontrast.
   --------------------------------------------------------------- */

.wb-hero {
	position: relative;
	isolation: isolate;
	overflow: hidden;
}

.wb-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(
		100deg,
		rgba(20, 26, 30, .84) 0%,
		rgba(20, 26, 30, .70) 42%,
		rgba(20, 26, 30, .34) 72%,
		rgba(20, 26, 30, .18) 100%
	);
}

.wb-hero :where(h1, h2) { color: #FFFFFF; }
.wb-hero .wb-hero-claim { color: rgba(255, 255, 255, .88); }
.wb-hero .wb-note { color: rgba(255, 255, 255, .78); max-width: 46ch; }
.wb-hero .wb-proof { color: rgba(255, 255, 255, .82); }
.wb-hero .wb-proof__score { color: #FFFFFF; }

.wb-hero :where(a, button):focus-visible { outline-color: #FFFFFF; }

.wb-hero .wb-action--quiet {
	color: #FFFFFF;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .55);
}

.wb-hero .wb-action--quiet:hover {
	background: rgba(255, 255, 255, .14);
	box-shadow: inset 0 0 0 1px #FFFFFF;
}

.wb-hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--m1);
	align-items: center;
	margin-block: var(--m2) 0;
}

@media (max-width: 767px) {
	/* Auf schmalen Schirmen deckt die Abdunkelung die ganze Flaeche,
	   sonst laeuft die Schrift ueber die hellste Stelle des Fotos. */
	.wb-hero::after {
		background: linear-gradient(
			180deg,
			rgba(20, 26, 30, .78) 0%,
			rgba(20, 26, 30, .72) 60%,
			rgba(20, 26, 30, .62) 100%
		);
	}
}

/* Leistungen mit den vorhandenen Praxis-Icons. */
.wb-services li {
	display: grid;
	grid-template-columns: 34px 1fr;
	gap: 0.75em;
	align-items: start;
}

.wb-services li img {
	width: 34px;
	height: 34px;
	object-fit: contain;
	margin-block-start: -0.15em;
}

.wb-service-link {
	display: inline-block;
	font-weight: 700;
	color: var(--wb-signal-deep);
	text-decoration-color: color-mix(in srgb, var(--wb-signal-deep) 40%, transparent);
}
