/* ###################### Slot "Modische Brillen" ######################## */
/* Eigenstaendiges Modul, alles unter .mb-slot gescoped.
   Farben pro Betrieb nur ueber die Variablen anpassen (am besten in der
   style_<betrieb>.css per  .mb-slot { --mb-bg: ...; }  ueberschreiben). */
@import url('/wp-content/themes/assan-child/fonts-new-style/fonts-new-style.css');
.mb-slot {
	--mb-bg: #024593;          /* Textflaeche, weisser Text: Kontrast ca. 9:1 */
	--mb-text: #fff;
	--mb-accent: #AFCA0B;      /* Eyebrow + Zitat-Linie, auf #024593 ca. 5:1 */
	--mb-pad-y: clamp(48px, 7vw, 110px);
	--mb-pad-x: clamp(24px, 5vw, 80px);
	--mb-measure: 62ch;

	display: grid;
	grid-template-columns: minmax(0, 1fr);
	width: 100%;
	margin: 0;
	padding: 0;
	background: var(--mb-bg);
	color: var(--mb-text);
	font-family: 'Poppins', sans-serif;
	overflow: hidden;
}
.mb-slot *, .mb-slot *::before, .mb-slot *::after { box-sizing: border-box; }

/* Bild: mobil unter dem Text, ab 992px rechts ueber die volle Hoehe */
.mb-slot__media {
	position: relative;
	margin: 0;
	min-height: 260px;
	aspect-ratio: 16 / 9;
}
.mb-slot__media img {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	max-width: none;
	height: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	object-fit: cover;
	object-position: 50% 70%;
}

.mb-slot__content {
	padding: var(--mb-pad-y) var(--mb-pad-x);
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.mb-slot__inner { max-width: var(--mb-measure); }

.mb-slot__eyebrow {
	display: block;
	margin: 0 0 16px;
	color: var(--mb-accent);
	font-size: 16px;
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: .14em;
	text-transform: uppercase;
}
.mb-slot__title {
	margin: 0 0 clamp(24px, 3vw, 40px);
	padding: 0;
	color: var(--mb-text);
	font-family: 'Poppins', sans-serif;
	font-size: clamp(28px, calc(19px + 2.2vw), 48px);
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: -.01em;
	text-align: left;
	text-transform: none;
	text-wrap: balance;
}

/* Zitat als Aufhaenger statt Fettdruck im Fliesstext */
.mb-slot__quote {
	margin: 0 0 clamp(24px, 3vw, 36px);
	padding: 0 0 0 20px;
	border: 0;
	border-left: 3px solid var(--mb-accent);
	color: var(--mb-text);
	font-size: clamp(18px, calc(16px + .6vw), 24px);
	font-weight: 400;
	font-style: normal;
	line-height: 1.45;
}
.mb-slot__quote cite {
	display: block;
	margin-top: 6px;
	font-size: 14px;
	font-style: normal;
	opacity: .85;
}

.mb-slot p {
	margin: 0 0 1.1em;
	color: var(--mb-text);
	font-size: clamp(16px, calc(15px + .2vw), 17px);
	font-weight: 400;
	line-height: 1.7;
	text-align: left;
}
.mb-slot p:last-child { margin-bottom: 0; }

/* Zweiter/dritter Absatz mobil einklappen, wie im Original (visible-md/lg) */
@media (max-width: 991px) {
	.mb-slot__more { display: none; }
}

@media (min-width: 992px) {
	.mb-slot { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
	.mb-slot__media { aspect-ratio: auto; min-height: 100%; }
	.mb-slot__content { justify-content: center; }
}

@media (min-width: 1600px) {
	/* Spalten bleiben 50/50, damit alle Text+Bild-Slots (Willkommen, Brillen, Marken) buendig untereinander liegen */
	.mb-slot__content { padding-left: max(var(--mb-pad-x), 6vw); }
}

@media (prefers-reduced-motion: no-preference) {
	.mb-slot__media img { transition: transform 1.2s cubic-bezier(.2, .6, .2, 1); }
	.mb-slot:hover .mb-slot__media img { transform: scale(1.03); }
}
/* Variante "grau": dunkles Blaugrau passend zum Markenblau (weisse Schrift ca. 9:1, Gruen-Akzent ca. 4,7:1) */
.mb-slot--grau {
	--mb-bg: #3f4a5a;
	--mb-text: #fff;
	--mb-accent: #AFCA0B;
}

/* Varianten des Text+Bild-Moduls: helle Flaeche und Bild links (z. B. Slot "Brillen") */
.mb-slot--light {
	--mb-bg: #fff;
	--mb-text: #1c2b3a;
	--mb-accent: #024593;
}
.mb-slot--light .mb-slot__title { color: var(--mb-accent); }
/* Theme setzt strong/b auf eigene Schrift: im Fliesstext alles erben, nur Gewicht anheben */
.mb-slot p strong, .mk-slot p strong { font: inherit; font-weight: 500; }
@media (min-width: 992px) {
	.mb-slot--reverse .mb-slot__media { order: -1; }
}
/* Variante "tint": Akzentflaeche (Kinderbrillen), Titel in Markenblau, Text dunkel */
.mb-slot--tint {
	--mb-bg: #AFCA0B;
	--mb-text: #1c2b3a;
	--mb-accent: #024593;
}
.mb-slot--tint .mb-slot__title { color: var(--mb-accent); }

/* Listen und Zwischenueberschriften im Text+Bild-Modul */
.mb-slot__subhead {
	position: relative;
	margin: calc(-1 * clamp(8px, 1.5vw, 18px)) 0 clamp(22px, 2.6vw, 32px);
	padding: 0 0 18px;
	color: var(--mb-accent);
	font-family: 'Poppins', sans-serif;
	font-size: clamp(19px, calc(15px + .9vw), 26px);
	font-weight: 500;
	line-height: 1.35;
	letter-spacing: -.005em;
	text-align: left;
	text-transform: none;
	text-wrap: balance;
}
.mb-slot__subhead::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: 0;
	width: 56px;
	height: 3px;
	background: currentColor;
	opacity: .55;
}
.mb-slot__list { margin: 0 0 1.1em; padding: 0; list-style: none; }
.mb-slot__list li {
	position: relative;
	margin: 0 0 .5em;
	padding-left: 22px;
	color: var(--mb-text);
	font-size: clamp(16px, calc(15px + .2vw), 17px);
	font-weight: 400;
	line-height: 1.6;
}
.mb-slot__list li::before {
	content: '';
	position: absolute;
	left: 0;
	top: .6em;
	width: 8px;
	height: 8px;
	background: var(--mb-accent);
}
.mb-slot--tint .mb-slot__list li::before { background: var(--mb-accent); }
.mb-slot__brands { margin: 0; padding: 0; list-style: none; }
.mb-slot__brands li {
	display: inline;
	color: var(--mb-text);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.9;
}
.mb-slot__brands li:not(:last-child)::after { content: ' \00b7 '; margin: 0 .2em; opacity: .6; }
/* ###################### End Slot "Modische Brillen" ######################## */


/* ###################### Header + Navigation (Stil wie Optik Schiller) ######################## */
/* Farbige Leiste, weisse Links ohne Versalien, schrumpfendes Logo beim Sticky.
   Das Logo ist blau: per Filter weiss gefaerbt, damit kein zweites Bild noetig ist. */
.navbar-default {
	background: rgba(2, 69, 147, 1);
	box-shadow: none;
	margin-bottom: 0;
	border: 0;
}
.is-sticky .navbar-default { background: rgba(2, 69, 147, .92); }
#undefined-sticky-wrapper { margin-bottom: 0; }

.navbar-default .navbar-nav > li > a,
.navbar-default .navbar-nav > li > a:focus {
	color: #fff;
	font-family: 'Poppins', sans-serif;
	font-weight: 300;
	text-transform: none;
	transition: color .2s ease;
}
.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .open > a,
.navbar-default .navbar-nav > .open > a:hover,
.navbar-default .navbar-nav > .open > a:focus {
	color: #AFCA0B;
	background: transparent;
}
.navbar-default .navbar-toggle { border-color: transparent; }
.navbar-default .navbar-toggle .icon-bar { background-color: #fff; }
.navbar-default .navbar-toggle:focus,
.navbar-default .navbar-toggle:hover { background-color: transparent; }

.navbar-brand img {
	max-height: 60px;
	margin-top: -7px;
	filter: brightness(0) invert(1);
	transition: all .27s cubic-bezier(0, 0, .58, 1) 0s;
}
.is-sticky .navbar-brand img { max-height: 55px; margin-top: 0; }

.container.corona, .navbar-default > .container { width: auto; max-width: none; }

@media (max-width: 1199px) {
	.navbar-default .navbar-nav > li > a { font-size: 17px; padding: 8px 8px; text-align: center; }
	.navbar-brand img { margin-top: 0; }
	.navbar-default .navbar-collapse,
	.navbar-default .navbar-form { border-color: transparent; }
	.navbar-header, .navbar-left, .navbar-right { float: none !important; }
	.navbar-toggle { display: block; }
	.navbar-collapse { border-top: 1px solid transparent; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1); }
	.navbar-collapse.collapse { display: none !important; }
	.collapse.in { display: block !important; }
	.navbar-nav { float: none !important; margin-top: 7.5px; }
	.navbar-nav > li { float: none; }
	.navbar-nav > li > a { padding-top: 10px; padding-bottom: 10px; }
}
@media (max-width: 991px) {
	.navbar-brand img { max-height: 45px; max-width: 200px; }
	.is-sticky .navbar-brand img { max-height: 45px; }
}
@media (min-width: 1200px) {
	.navbar-brand img { margin-left: 30px; max-width: 220px; margin-top: 0; }
	.navbar-default .navbar-nav > li > a { font-size: 17px; }
	@supports (-moz-appearance: none) {
		.navbar-default { position: fixed; top: 0; }
		body.admin-bar .navbar-default { top: 32px; }
	}
}
@media (max-width: 1300px) {
	.navbar-brand img { max-width: 200px; margin-top: 2px; }
}
/* ###################### End Header + Navigation ######################## */


/* ###################### Abstand Slider -> erster Slot ######################## */
/* Das Parent-/Child-Theme schiebt #willkommen per Negativ-Margin nach oben und gibt ihm
   120px padding-top (Platz fuer die ueberlappende Leiste). Hier liegt die Leiste nicht
   mehr ueber dem Inhalt, der Slot schliesst buendig an den Slider an. */
#slider { margin-bottom: 0; }
#willkommen {
	margin-top: 0;
	margin-bottom: 0;
	padding-top: 0 !important;
	padding-bottom: 0;
}
/* ###################### End Abstand ######################## */


/* ###################### Slot "Standorte" (Stil wie Optik Schiller) ######################## */
/* Weisse Flaeche, Headline mit durchlaufender Linie, Foto-Kacheln mit farbiger Caption-Leiste.
   Gescoped unter .st-slot, px statt rem (Theme: html 10px). */
.st-slot {
	--st-bg: #fff;
	--st-ink: #1c2b3a;
	--st-brand: #024593;
	--st-accent: #AFCA0B;
	--st-caption: rgba(175, 202, 11, .88);
	--st-gap: 30px;
	--st-pad-y: clamp(48px, 6vw, 90px);
	--st-pad-x: clamp(24px, 4vw, 60px);

	padding: var(--st-pad-y) var(--st-pad-x);
	background: var(--st-bg);
	color: var(--st-ink);
	font-family: 'Poppins', sans-serif;
}
.st-slot *, .st-slot *::before, .st-slot *::after { box-sizing: border-box; }

.st-slot__head {
	display: flex;
	align-items: center;
	gap: 24px;
	max-width: 1400px;
	margin: 0 auto clamp(28px, 4vw, 48px);
}
.st-slot__title {
	flex: 0 1 auto;
	margin: 0;
	padding: 0;
	color: var(--st-brand);
	font-family: 'Poppins', sans-serif;
	font-size: clamp(24px, calc(18px + 1.2vw), 32px);
	font-weight: 300;
	line-height: 1.3;
	text-align: left;
	text-transform: none;
}
.st-slot__head::after {
	content: '';
	flex: 1 1 auto;
	height: 1px;
	background: var(--st-accent);
}

.st-slot__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--st-gap);
	max-width: 1400px;
	margin: 0 auto;
	padding: 0;
	list-style: none;
}
.st-card { display: flex; flex-direction: column; margin: 0; padding: 0; }

/* Foto-Kachel mit Caption-Leiste. Ohne Bild bleibt eine Markenfarb-Kachel. */
.st-card__media {
	position: relative;
	margin: 0 0 20px;
	height: 240px;
	overflow: hidden;
	background: var(--st-brand);
}
.st-card__media img {
	display: block;
	width: 100%;
	max-width: none;
	height: 100%;
	margin: 0;
	border: 0;
	border-radius: 0;
	object-fit: cover;
	transition: opacity .3s ease, transform .6s ease;
}
.st-card__caption {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	margin: 0;
	padding: 10px 12px;
	background: var(--st-caption);
	color: var(--st-ink);
	font-family: 'Poppins', sans-serif;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.3;
	text-align: center;
}
.st-card:hover .st-card__media img { opacity: .85; transform: scale(1.03); }
/* Platzhalter: gleiches Bild, pro Karte anderer Ausschnitt. Entfaellt mit echten Fotos. */
.st-card:nth-child(1) .st-card__media img { object-position: 15% 50%; }
.st-card:nth-child(2) .st-card__media img { object-position: 38% 50%; }
.st-card:nth-child(3) .st-card__media img { object-position: 60% 50%; }
.st-card:nth-child(4) .st-card__media img { object-position: 80% 50%; }
.st-card:nth-child(5) .st-card__media img { object-position: 50% 50%; }

.st-card__address {
	margin: 0 0 14px;
	color: var(--st-ink);
	font-size: 16px;
	font-style: normal;
	font-weight: 300;
	line-height: 1.7;
}
.st-card__contact { margin: 0 0 18px; padding: 0; }
.st-card__contact > div { display: flex; gap: 12px; margin: 0; font-size: 16px; font-weight: 300; line-height: 1.7; }
.st-card__contact dt { flex: 0 0 36px; margin: 0; color: var(--st-brand); font-weight: 500; }
.st-card__contact dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.st-slot a { color: var(--st-brand); text-decoration: none; }
.st-card__contact a:hover, .st-card__contact a:focus { text-decoration: underline; text-underline-offset: 3px; }
.st-card__route {
	align-self: flex-start;
	margin-top: auto;
	padding: 9px 16px;
	border: 1px solid var(--st-brand);
	font-size: 14px;
	font-weight: 400;
	line-height: 1.2;
	transition: background .2s ease, color .2s ease;
}
.st-slot a.st-card__route:hover, .st-slot a.st-card__route:focus { background: var(--st-brand); color: #fff; text-decoration: none; }
.st-slot a:focus-visible { outline: 3px solid var(--st-accent); outline-offset: 2px; }

@media (min-width: 600px) {
	/* Alle Kacheln gleich gross; eine unvollstaendige letzte Reihe steht mittig */
	.st-slot__grid { display: flex; flex-wrap: wrap; justify-content: center; }
	.st-card { flex: 0 0 calc((100% - var(--st-gap)) / 2); }
}
@media (min-width: 992px) {
	.st-card { flex-basis: calc((100% - 2 * var(--st-gap)) / 3); }
	.st-card__media { height: 280px; }
}
@media (min-width: 992px) {
	/* Variante auf den Standortseiten ("Unsere weiteren Standorte", 4 Karten): 2 pro Zeile, ueberall gleich gross */
	.st-slot--zwei .st-slot__grid { max-width: 1000px; }
	.st-slot--zwei .st-card { flex-basis: calc((100% - var(--st-gap)) / 2); }
}
@media (prefers-reduced-motion: reduce) {
	.st-card__media img, .st-card__route { transition: none; }
	.st-card:hover .st-card__media img { transform: none; }
}
/* ###################### End Slot "Standorte" ######################## */


/* ###################### Slot "Kontakt" (Stil wie Optik Schiller) ######################## */
/* Pro Standort eine Zeile: Name | Adresse + Kontakt | Oeffnungszeiten. Gescoped unter .kt-slot. */
.kt-slot {
	--kt-bg: #fff;
	--kt-ink: #1c2b3a;
	--kt-brand: #024593;
	--kt-accent: #AFCA0B;
	--kt-line: #d5dde8;
	--kt-pad-y: clamp(48px, 6vw, 90px);
	--kt-pad-x: clamp(24px, 4vw, 60px);

	padding: var(--kt-pad-y) var(--kt-pad-x);
	background: var(--kt-bg);
	color: var(--kt-ink);
	font-family: 'Poppins', sans-serif;
}
.kt-slot *, .kt-slot *::before, .kt-slot *::after { box-sizing: border-box; }

.kt-slot__head {
	display: flex;
	align-items: center;
	gap: 24px;
	max-width: 1400px;
	margin: 0 auto clamp(20px, 3vw, 36px);
}
.kt-slot__head::after { content: ''; flex: 1 1 auto; height: 1px; background: var(--kt-accent); }
.kt-slot__title {
	flex: 0 1 auto;
	margin: 0;
	padding: 0;
	color: var(--kt-brand);
	font-family: 'Poppins', sans-serif;
	font-size: clamp(24px, calc(18px + 1.2vw), 32px);
	font-weight: 300;
	line-height: 1.3;
	text-align: left;
	text-transform: none;
}

.kt-slot__list { max-width: 1400px; margin: 0 auto; padding: 0; list-style: none; }
.kt-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 14px 40px;
	margin: 0;
	padding: 28px 0;
	border-bottom: 1px solid var(--kt-line);
}
.kt-row:last-child { border-bottom: 0; }
.kt-row__name {
	margin: 0;
	padding: 0;
	color: var(--kt-brand);
	font-family: 'Poppins', sans-serif;
	font-size: 20px;
	font-weight: 600;
	line-height: 1.3;
	text-align: left;
	text-transform: none;
}
.kt-row__name span { display: block; color: var(--kt-ink); font-size: 15px; font-weight: 400; }

.kt-slot address, .kt-slot p, .kt-slot dl {
	margin: 0;
	color: var(--kt-ink);
	font-size: 16px;
	font-style: normal;
	font-weight: 300;
	line-height: 1.7;
	text-align: left;
}
.kt-row__contact address { margin-bottom: 10px; }
.kt-slot a { color: var(--kt-brand); text-decoration: none; overflow-wrap: anywhere; }
.kt-slot a:hover, .kt-slot a:focus { text-decoration: underline; text-underline-offset: 3px; }
.kt-slot a:focus-visible { outline: 3px solid var(--kt-accent); outline-offset: 2px; }

.kt-row__hours h4 {
	margin: 0 0 4px;
	padding: 0;
	color: var(--kt-brand);
	font-family: 'Poppins', sans-serif;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: .08em;
	line-height: 1.4;
	text-transform: uppercase;
}
.kt-row__hours dl > div { display: flex; gap: 16px; }
.kt-row__hours dt { flex: 0 0 56px; margin: 0; font-weight: 500; }
.kt-row__hours dd { margin: 0; }
.kt-row__hours small { display: block; font-size: 14px; font-weight: 300; line-height: 1.5; opacity: .85; }

@media (min-width: 992px) {
	.kt-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) minmax(0, 1.5fr); align-items: start; padding: 32px 0; }
}
/* ###################### End Slot "Kontakt" ######################## */


/* ###################### Slot "Service" (Stil wie Optik Schiller) ######################## */
/* Flaechiger Farbton, zwei Spalten, pro Eintrag ein quadratisches Outline-Icon links, Text rechts.
   Mobil nur der Kurztext (.sv-item__short), ab 768px der Volltext.
   Icons: Font Awesome 4 (fa fa-...). Gescoped unter .sv-slot. */
.sv-slot {
	--sv-bg: #dce7f4;
	--sv-ink: #1c2b3a;
	--sv-brand: #024593;
	--sv-accent: #AFCA0B;
	--sv-icon: 85px;
	--sv-pad-y: clamp(48px, 6vw, 100px);
	--sv-pad-x: clamp(24px, 4vw, 60px);

	padding: var(--sv-pad-y) var(--sv-pad-x);
	background: var(--sv-bg);
	color: var(--sv-ink);
	font-family: 'Poppins', sans-serif;
}
.sv-slot *, .sv-slot *::before, .sv-slot *::after { box-sizing: border-box; }

.sv-slot__head { display: flex; align-items: center; gap: 24px; max-width: 1400px; margin: 0 auto 16px; }
.sv-slot__head::after { content: ''; flex: 1 1 auto; height: 1px; background: var(--sv-brand); opacity: .55; }
.sv-slot__title {
	flex: 0 1 auto;
	margin: 0;
	padding: 0;
	color: var(--sv-brand);
	font-family: 'Poppins', sans-serif;
	font-size: clamp(24px, calc(18px + 1.2vw), 32px);
	font-weight: 300;
	line-height: 1.3;
	text-align: left;
	text-transform: none;
}
.sv-slot__lead {
	max-width: 1400px;
	margin: 0 auto clamp(32px, 5vw, 56px);
	color: var(--sv-ink);
	font-size: clamp(20px, calc(15px + 1.4vw), 38px);
	font-weight: 300;
	line-height: 1.25;
	text-align: left;
}

.sv-slot__list {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 36px 70px;
	max-width: 1400px;
	margin: 0 auto;
	padding: 0;
	list-style: none;
}
.sv-item {
	display: grid;
	grid-template-columns: var(--sv-icon) minmax(0, 1fr);
	column-gap: 20px;
	align-content: start;
	margin: 0;
	padding: 0;
}
.sv-item__icon {
	grid-column: 1;
	grid-row: 1 / span 2;
	display: flex;
	align-items: center;
	justify-content: center;
	width: var(--sv-icon);
	height: var(--sv-icon);
	border: 2px solid var(--sv-brand);
	color: var(--sv-brand);
	font-size: 30px;
	transition: background .25s ease, color .25s ease;
}
.sv-item:hover .sv-item__icon { background: var(--sv-brand); color: #fff; }
.sv-item__title {
	grid-column: 2;
	margin: 0 0 6px;
	padding: 0;
	color: var(--sv-brand);
	font-family: 'Poppins', sans-serif;
	font-size: 20px;
	font-weight: 600;
	line-height: 1.3;
	text-align: left;
	text-transform: none;
}
.sv-slot .sv-item p {
	grid-column: 2;
	margin: 0;
	color: var(--sv-ink);
	font-size: 16px;
	font-weight: 300;
	line-height: 1.7;
	text-align: left;
	text-wrap: pretty;
}
.sv-slot .sv-item strong { font: inherit; font-weight: 500; }
.sv-item__note { white-space: nowrap; }

/* Mobil: Kurztext + kleineres Icon */
.sv-slot .sv-item__text { display: none; }
@media (max-width: 767px) {
	.sv-slot { --sv-icon: 56px; }
	.sv-item__icon { font-size: 22px; }
	.sv-item__title { font-size: 18px; }
	.sv-item { align-items: center; }
	.sv-item__icon { grid-row: 1 / span 2; }
}
@media (min-width: 768px) {
	.sv-slot .sv-item__short { display: none; }
	.sv-slot .sv-item__text { display: block; }
}
@media (min-width: 992px) {
	.sv-slot__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) { .sv-item__icon { transition: none; } }
/* ###################### End Slot "Service" ######################## */


/* ###################### Slot "Marken" (Stil wie Optik Schiller) ######################## */
/* Links Text auf Weiss, rechts blaue Flaeche mit Logo-Raster (weisse Logos mit Rahmen).
   Mobil: Text oben, Logos darunter. Gescoped unter .mk-slot. */
.mk-slot {
	--mk-bg: #fff;
	--mk-ink: #1c2b3a;
	--mk-brand: #024593;
	--mk-panel: #024593;
	--mk-pad-y: clamp(48px, 7vw, 100px);
	--mk-pad-x: clamp(24px, 5vw, 80px);

	display: grid;
	grid-template-columns: minmax(0, 1fr);
	width: 100%;
	background: var(--mk-bg);
	color: var(--mk-ink);
	font-family: 'Poppins', sans-serif;
}
.mk-slot *, .mk-slot *::before, .mk-slot *::after { box-sizing: border-box; }

.mk-slot__content { padding: var(--mk-pad-y) var(--mk-pad-x); display: flex; flex-direction: column; justify-content: center; }
.mk-slot__inner { max-width: 62ch; }
.mk-slot__eyebrow {
	display: block;
	margin: 0 0 16px;
	color: var(--mk-brand);
	font-size: 16px;
	font-weight: 600;
	letter-spacing: .14em;
	line-height: 1.3;
	text-transform: uppercase;
}
.mk-slot__title {
	margin: 0 0 clamp(24px, 3vw, 40px);
	padding: 0;
	color: var(--mk-brand);
	font-family: 'Poppins', sans-serif;
	font-size: clamp(28px, calc(19px + 2.2vw), 48px);
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: -.01em;
	text-align: left;
	text-transform: none;
	text-wrap: balance;
}
.mk-slot__subhead {
	margin: 0 0 1em;
	padding: 0;
	color: var(--mk-ink);
	font-family: 'Poppins', sans-serif;
	font-size: 17px;
	font-weight: 600;
	line-height: 1.4;
	text-align: left;
	text-transform: none;
}
.mk-slot__inner p {
	margin: 0 0 1.1em;
	color: var(--mk-ink);
	font-size: clamp(16px, calc(15px + .2vw), 17px);
	font-weight: 400;
	line-height: 1.7;
	text-align: left;
}
.mk-slot__inner p:last-child { margin-bottom: 0; }

.mk-slot__panel {
	padding: clamp(32px, 5vw, 60px) clamp(24px, 4vw, 60px);
	background: var(--mk-panel);
	color: #fff;
}
.mk-logos {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	margin: 0 0 36px;
	padding: 0;
	list-style: none;
}
.mk-logos li { margin: 0; padding: 0; }
.mk-logos img {
	display: block;
	width: 100%;
	max-width: none;
	height: auto;
	aspect-ratio: 1;
	margin: 0;
	padding: 10px;
	border: 1px solid rgba(255, 255, 255, .55);
	border-radius: 0;
	object-fit: contain;
	transition: background .2s ease, border-color .2s ease;
}
.mk-logos li:hover img { background: rgba(255, 255, 255, .1); border-color: #fff; }

.mk-more__group { margin: 0 0 24px; }
.mk-more__group:last-child { margin-bottom: 0; }
.mk-more h3 {
	margin: 0 0 6px;
	padding: 0;
	color: #AFCA0B;
	font-family: 'Poppins', sans-serif;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.4;
	text-align: left;
	text-transform: none;
}
.mk-more ul { margin: 0; padding: 0; list-style: none; }
.mk-more li {
	display: inline;
	color: #fff;
	font-size: 15px;
	font-weight: 300;
	line-height: 1.9;
}
.mk-more li:not(:last-child)::after { content: ' \00b7 '; margin: 0 .2em; color: rgba(255, 255, 255, .6); }

@media (min-width: 560px) { .mk-logos { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 992px) {
	.mk-slot { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (min-width: 1300px) { .mk-logos { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
@media (prefers-reduced-motion: reduce) { .mk-logos img { transition: none; } }
/* ###################### End Slot "Marken" ######################## */


/* ###################### Abstaende zwischen den Slots ######################## */
/* Das Child-Theme schiebt einige Sections per Negativ-Margin ineinander (z. B.
   #marken-designer-2 { margin-bottom: -50px }) und gibt ihnen Zusatz-Padding.
   Die Slots haben ihren Abstand selbst, daher hier zuruecksetzen. */
#willkommen, #standorte, #service, #kontakt, #marken-designer-2, #marken, #kinderbrillen, #kontaktlinsen, #lupen-mehr, #karriere, #team, #technik, #anfahrt, #start {
	margin-top: 0 !important;
	margin-bottom: 0 !important;
}
#standorte, #service, #kontakt, #marken-designer-2, #marken, #kinderbrillen, #kontaktlinsen, #lupen-mehr, #karriere, #team, #technik, #anfahrt, #start { padding-top: 0 !important; padding-bottom: 0 !important; }
/* ###################### End Abstaende ######################## */


/* ###################### Logo in der Navigation ######################## */
/* Das Logo (inkl. Zeile "augenoptik · kontaktlinsen") ragte unten aus der Leiste, weil das Theme
   .navbar-brand Padding/Hoehe mitgibt. Jetzt: Brand wird zentriert in der Leiste, Logo skaliert
   per Hoehe, nichts wird mehr per margin-top verschoben. */
.navbar-default .navbar-brand {
	display: flex;
	align-items: center;
	height: auto;
	margin: 0;
	padding: 12px 0;
}
.navbar-default .navbar-brand img {
	width: auto;
	height: auto;
	max-width: 240px;
	max-height: 52px;
	margin: 0 0 0 30px;
	transition: max-height .27s ease;
}
.is-sticky .navbar-default .navbar-brand img { max-height: 46px; margin-top: 0; }
@media (max-width: 1199px) {
	.navbar-default .navbar-brand img { margin-left: 15px; max-height: 46px; max-width: 200px; }
}
@media (max-width: 991px) {
	.navbar-default .navbar-brand { padding: 10px 0; }
	.navbar-default .navbar-brand img { max-height: 40px; max-width: 180px; }
	.is-sticky .navbar-default .navbar-brand img { max-height: 40px; }
}
/* ###################### End Logo ######################## */


/* ###################### Navigation: Abstand rechts ######################## */
/* Bootstrap gibt .navbar-right margin-right: -15px, dadurch klebt der letzte Link am Rand.
   Rechts gleich viel Luft wie links beim Logo (30px). */
@media (min-width: 1200px) {
	.navbar-default .navbar-nav.navbar-right { margin-right: 30px; }
}
/* ###################### End Navigation Abstand ######################## */


/* ###################### Stellenangebote im Karriere-Slot ######################## */
/* Liste wird von jobs-hammer.js befuellt. Passt zu .mb-slot (blaue Variante). */
.mb-jobs { margin-top: 32px; padding: 24px 24px 20px; border: 1px solid rgba(255, 255, 255, .55); }
.mb-jobs__title {
	margin: 0 0 12px;
	padding: 0;
	color: var(--mb-accent);
	font-family: 'Poppins', sans-serif;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.4;
	text-align: left;
	text-transform: none;
}
.mb-jobs__list { margin: 0; padding: 0; list-style: none; }
.mb-jobs__item {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px 20px;
	margin: 0;
	padding: 14px 0;
	border-top: 1px solid rgba(255, 255, 255, .25);
}
.mb-jobs__item:first-child { border-top: 0; padding-top: 0; }
.mb-jobs__name { color: var(--mb-text); font-size: 16px; font-weight: 500; line-height: 1.4; }
.mb-jobs__office { display: block; font-size: 14px; font-weight: 300; opacity: .85; }
.mb-slot a.mb-jobs__link {
	padding: 8px 16px;
	border: 1px solid currentColor;
	color: var(--mb-text);
	font-size: 14px;
	line-height: 1.2;
	text-decoration: none;
	transition: background .2s ease, color .2s ease;
}
.mb-slot a.mb-jobs__link:hover, .mb-slot a.mb-jobs__link:focus { background: var(--mb-text); color: var(--mb-bg); }
.mb-slot .mb-jobs__empty { margin: 0; font-size: 16px; font-weight: 300; }
.mb-jobs__empty[hidden] { display: none; }
/* ###################### End Stellenangebote ######################## */


/* ###################### Streifen zwischen Navigation und Slider ######################## */
/* Das Sticky-Plugin setzt dem Wrapper eine feste Pixel-Hoehe (gemessen beim Laden). Aendert sich die
   Leistenhoehe danach (Logo laedt, Breakpoint), bleibt unter der Leiste ein weisser Streifen.
   Solange die Leiste nicht klebt (.is-sticky), darf der Wrapper deshalb seine Hoehe selbst bestimmen;
   beim Kleben bleibt die Platzhalter-Hoehe, damit die Seite nicht springt. */
.sticky-wrapper:not(.is-sticky),
#undefined-sticky-wrapper:not(.is-sticky) { height: auto !important; }
.navbar-default { margin-bottom: 0 !important; }
/* ###################### End Streifen ######################## */


/* ###################### Footer ######################## */
/* Oberer Footer (.foot-global, leeres Widget) ausblenden; untere Leiste in Markenfarben. */
.foot-global, #footer { display: none !important; }

.footer-finish {
	background: #024593;
	color: #fff;
	font-family: 'Poppins', sans-serif;
	font-size: 15px;
	font-weight: 300;
	line-height: 1.6;
	padding: 18px 0;
}
.footer-finish a { color: #fff; text-decoration: none; }
.footer-finish a:hover, .footer-finish a:focus { color: #AFCA0B; text-decoration: underline; text-underline-offset: 3px; }
.footer-finish a:focus-visible { outline: 2px solid #AFCA0B; outline-offset: 2px; }
@media (min-width: 768px) { .footer-finish .footer-imprint { text-align: right; } }
/* ###################### End Footer ######################## */


/* ###################### Breadcrumb ausblenden ######################## */
.breadcrumb-wrap { display: none !important; }
/* ###################### End Breadcrumb ######################## */


/* ###################### Impressum / Datenschutz: Adressen ######################## */
body.page-template-imprint address, body.page-template-ds address { margin: 0 0 1.2em; font-style: normal; font-weight: 300; line-height: 1.7; }
/* ###################### End Impressum Adressen ######################## */


/* ###################### Slot "Team" (Stil wie Optik Schiller) ######################## */
/* Farbige Flaeche, Motto-Headline, Standort-Tabs (team-tabs.js), Foto-Raster 3 Spalten.
   Ohne JS sind alle Standorte sichtbar. Gescoped unter .tm-slot. */
.tm-slot {
	--tm-bg: #024593;
	--tm-ink: #fff;
	--tm-accent: #AFCA0B;
	--tm-card: rgba(255, 255, 255, .08);
	--tm-pad-y: clamp(48px, 6vw, 90px);
	--tm-pad-x: clamp(24px, 4vw, 60px);

	padding: var(--tm-pad-y) var(--tm-pad-x);
	background: var(--tm-bg);
	color: var(--tm-ink);
	font-family: 'Poppins', sans-serif;
}
.tm-slot *, .tm-slot *::before, .tm-slot *::after { box-sizing: border-box; }
.tm-slot__head, .tm-slot__body { max-width: 1400px; margin: 0 auto; }
.tm-slot__head { margin-bottom: clamp(28px, 4vw, 48px); }
.tm-slot__eyebrow {
	display: block;
	margin: 0 0 14px;
	color: var(--tm-accent);
	font-size: 16px;
	font-weight: 600;
	letter-spacing: .14em;
	line-height: 1.3;
	text-transform: uppercase;
}
.tm-slot__title {
	margin: 0;
	padding: 0;
	color: var(--tm-ink);
	font-family: 'Poppins', sans-serif;
	font-size: clamp(26px, calc(18px + 2.2vw), 44px);
	font-weight: 600;
	line-height: 1.2;
	text-align: left;
	text-transform: none;
	text-wrap: balance;
}

.tm-tabs { display: none; flex-wrap: wrap; gap: 8px; margin: 0 0 clamp(24px, 3vw, 36px); }
.tm-slot.is-tabs .tm-tabs { display: flex; }
.tm-tab {
	margin: 0;
	padding: 10px 18px;
	border: 1px solid rgba(255, 255, 255, .55);
	background: transparent;
	color: var(--tm-ink);
	font-family: 'Poppins', sans-serif;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.2;
	cursor: pointer;
	transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.tm-tab:hover { background: rgba(255, 255, 255, .12); }
.tm-tab[aria-selected="true"] { background: var(--tm-accent); border-color: var(--tm-accent); color: #1c2b3a; font-weight: 500; }
.tm-tab:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }

.tm-panel { margin: 0 0 clamp(36px, 5vw, 60px); }
.tm-panel:last-child { margin-bottom: 0; }
.tm-slot.is-tabs .tm-panel { margin-bottom: 0; }
.tm-panel[hidden] { display: none; }
.tm-panel__title {
	margin: 0 0 20px;
	padding: 0;
	color: var(--tm-accent);
	font-family: 'Poppins', sans-serif;
	font-size: clamp(18px, calc(14px + .8vw), 24px);
	font-weight: 300;
	line-height: 1.3;
	text-align: left;
	text-transform: none;
}

/* FooGallery-Thema "light" legt hinter jede Kachel Weiss (.fg-light .fg-item-inner { background/border: #fff }).
   Ist das Bild einen Bruchteil eines Pixels kleiner als die Kachel, blitzt unten ein weisser Streifen auf.
   Im Team-Slot Hintergrund und Rand transparent: dahinter liegt die blaue Flaeche. */
.tm-slot .foogallery .fg-item-inner,
.tm-slot .foogallery.fg-light .fg-item-inner { background-color: transparent; border-color: transparent; }
.tm-slot .foogallery .fg-image-wrap { background-color: transparent; }
.tm-slot .foogallery .fg-image { width: 100%; }

/* FooGallery im Panel: Bildunterschrift (team-name / team-job) in Markenfarben */
.tm-panel .foogallery { margin: 0; }
.tm-panel .foogallery .fg-caption { background: rgba(2, 69, 147, .88); color: #fff; text-align: left; }
.tm-panel .foogallery .fg-caption-title, .tm-panel .foogallery .fg-caption-desc { color: #fff; font-family: 'Poppins', sans-serif; text-align: left; }
.tm-panel .foogallery .team-name { display: block; font-size: 19px; font-weight: 600; line-height: 1.3; }
.tm-panel .foogallery .team-job { display: block; font-size: 16px; font-weight: 300; line-height: 1.4; }

@media (prefers-reduced-motion: reduce) { .tm-tab { transition: none; } }
/* ###################### End Slot "Team" ######################## */


/* ###################### Team: Galerie linksbuendig ######################## */
/* FooGallery zentriert die Kacheln (fg-center); im Team-Slot sollen sie buendig zur Ueberschrift links beginnen. */
.tm-panel .foogallery, .tm-panel .foogallery.fg-center { justify-content: flex-start !important; text-align: left; }
/* ###################### End Team Galerie ######################## */


/* ###################### FooBox-Lightbox: Caption + Description ######################## */
/* Gilt global (Lightbox liegt ausserhalb des Slots). Titel = Name, Description = Beruf.
   FooBox gibt Titel und Description je 15px Padding (und der Description margin-top -30px): hier auf 0,
   der Abstand kommt nur noch von der Leiste selbst. */
body .fbx-caption {
	padding: 12px 56px 12px 18px;
	background: linear-gradient(to top, rgba(2, 69, 147, .96), rgba(2, 69, 147, .82)) !important;
	color: #fff !important;
	font-family: 'Poppins', sans-serif;
	text-align: left !important;
	border-radius: 0;
}
body .fbx-caption-title {
	margin: 0;
	padding: 0;
	color: #fff !important;
	font-family: 'Poppins', sans-serif;
	font-size: clamp(20px, 1.6vw + 12px, 26px);
	font-weight: 600;
	line-height: 1.25;
	text-align: left;
}
body .fbx-caption-title .team-name,
body .fbx-caption-title .team-job { display: block; }
body .fbx-caption-title .team-job { margin-top: 2px; font-size: clamp(16px, .8vw + 11px, 20px); font-weight: 300; }
body .fbx-caption-desc {
	display: block !important;
	margin: 2px 0 0;
	padding: 0;
	color: rgba(255, 255, 255, .92) !important;
	font-family: 'Poppins', sans-serif;
	font-size: clamp(16px, .8vw + 11px, 20px);
	font-weight: 300;
	line-height: 1.35;
	text-align: left;
}
body .fbx-caption-desc a { color: #AFCA0B !important; }
/* ###################### End FooBox ######################## */


/* ###################### FooGallery global: Thumbnail-Captions ######################## */
/* Gleiche Optik fuer alle Galerien der Seite (nicht nur im Team-Slot). */
.foogallery .fg-caption { background: rgba(2, 69, 147, .88); color: #fff; }
.foogallery .fg-caption-title,
.foogallery .fg-caption-desc { color: #fff; font-family: 'Poppins', sans-serif; }
.foogallery .fg-caption-title .team-name,
.foogallery .fg-caption-title .team-job { display: block; }
.foogallery .fg-caption-title .team-name { font-size: 19px; font-weight: 600; line-height: 1.3; }
.foogallery .fg-caption-title .team-job { font-size: 16px; font-weight: 300; line-height: 1.4; }
/* ###################### End FooGallery global ######################## */


/* ###################### Bewertungsseite ######################## */
/* Theme-Kopf, Breadcrumb und Footer nur auf Seiten mit .rv-page ausblenden (wie bei den bisherigen Bewertungsseite) */
body:has(.rv-page) .navbar-default,
body:has(.rv-page) .sticky-wrapper,
body:has(.rv-page) .breadcrumb-wrap,
body:has(.rv-page) .top-bar-light,
body:has(.rv-page) .footer-finish,
body:has(.rv-page) #footer,
body:has(.rv-page) .divide80 { display: none !important; }
.rv-page {
	--rv-bg: #024593;
	--rv-ink: #1c2b3a;
	--rv-card: #fff;
	--rv-accent: #AFCA0B;

	display: flex;
	flex-direction: column;
	min-height: 100vh;
	margin: 0;
	background: var(--rv-bg);
	color: #fff;
	font-family: 'Poppins', sans-serif;
}
.rv-page *, .rv-page *::before, .rv-page *::after { box-sizing: border-box; }

.rv-logo { padding: 20px 24px; text-align: center; background: rgba(0, 0, 0, .12); }
.rv-logo a { display: inline-block; }
.rv-logo img { filter: brightness(0) invert(1); display: block; width: auto; max-width: 260px; max-height: 56px; margin: 0 auto; }

.rv-main { flex: 1 0 auto; width: 100%; max-width: 1240px; margin: 0 auto; padding: clamp(32px, 6vw, 72px) 24px; text-align: center; }
.rv-title {
	margin: 0 0 10px;
	padding: 0;
	color: #fff;
	font-family: 'Poppins', sans-serif;
	font-size: clamp(28px, calc(18px + 2.6vw), 48px);
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	text-transform: none;
	text-wrap: balance;
}
.rv-sub { margin: 0 0 8px; color: #fff; font-size: clamp(18px, calc(14px + 1vw), 26px); font-weight: 300; line-height: 1.4; text-align: center; }
.rv-hint { margin: 0 0 clamp(28px, 4vw, 48px); color: #fff; font-size: 16px; font-weight: 300; text-align: center; opacity: .9; }

.rv-list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;   /* 5 in einer Reihe, sonst 3 + 2 mittig */
	gap: 20px;
	margin: 0 0 clamp(32px, 5vw, 56px);
	padding: 0;
	list-style: none;
}
.rv-list li { flex: 0 1 200px; min-width: 160px; margin: 0; padding: 0; }
@media (max-width: 479px) { .rv-list li { flex-basis: 100%; } }
@media (min-width: 992px) {
	/* Desktop: alle fuenf nebeneinander, gleich breit */
	.rv-list { flex-wrap: nowrap; }
	.rv-list li { flex: 1 1 0; min-width: 0; }
}
.rv-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	height: 100%;
	padding: 28px 20px 24px;
	background: var(--rv-card);
	color: var(--rv-ink);
	text-decoration: none;
	box-shadow: 0 8px 24px -12px rgba(0, 0, 0, .35);
	transition: transform .2s ease, box-shadow .2s ease;
}
.rv-card:hover, .rv-card:focus-visible { transform: translateY(-3px); box-shadow: 0 16px 32px -14px rgba(0, 0, 0, .45); color: var(--rv-ink); text-decoration: none; }
.rv-card:focus-visible { outline: 3px solid var(--rv-accent); outline-offset: 3px; }
.rv-card__logo { display: block; width: 72px; height: 72px; margin: 0 0 16px; }
.rv-card__name { margin: 0 0 4px; color: var(--rv-ink); font-size: 19px; font-weight: 600; line-height: 1.3; }
.rv-card__address { margin: 0 0 18px; color: var(--rv-ink); font-size: 15px; font-weight: 300; line-height: 1.5; }
.rv-card__cta {
	margin-top: auto;
	padding: 9px 18px;
	border: 1px solid var(--rv-bg);
	color: var(--rv-bg);
	font-size: 15px;
	font-weight: 500;
	line-height: 1.2;
	transition: background .2s ease, color .2s ease;
}
.rv-card:hover .rv-card__cta, .rv-card:focus-visible .rv-card__cta { background: var(--rv-bg); color: #fff; }

.rv-thanks { margin: 0; color: #fff; font-family: 'Poppins', sans-serif; font-size: clamp(24px, calc(16px + 1.6vw), 36px); font-weight: 600; line-height: 1.2; text-align: center; }

.rv-foot { flex-shrink: 0; padding: 22px 24px; background: rgba(0, 0, 0, .12); text-align: center; }
.rv-foot__inner { display: inline-flex; align-items: center; gap: 14px; }
.rv-foot__label { margin: 0; color: #fff; font-size: 17px; font-weight: 300; }
.rv-foot a { display: block; }
.rv-foot img { display: block; width: 36px; height: 36px; margin: 0; }
.rv-foot a:focus-visible { outline: 3px solid var(--rv-accent); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) { .rv-card, .rv-card__cta { transition: none; } .rv-card:hover { transform: none; } }
.rv-card__logo { object-fit: contain; }
.rv-list--single { max-width: 260px; margin-left: auto; margin-right: auto; }
@media (min-width: 992px) { .rv-list--single li { flex: 1 1 0; } }
/* ###################### End Bewertungsseite ######################## */


/* ###################### Navigation: vertikal mittig ######################## */
/* Desktop: Logo und Menue als Flex-Zeile, beides mittig in der Leiste.
   Tablet/Handy: Logo und Burger-Button mittig auf einer Linie. */
@media (min-width: 1200px) {
	.navbar-default > .container { display: flex; align-items: center; justify-content: space-between; }
	.navbar-default > .container::before,
	.navbar-default > .container::after { display: none; }
	.navbar-default .navbar-header { float: none; flex: 0 0 auto; }
	.navbar-default .navbar-collapse.collapse {
		display: flex !important;
		flex: 1 1 auto;
		align-items: center;
		justify-content: flex-end;
		margin-top: 0 !important;
		padding-top: 0;
		padding-bottom: 0;
	}
	.navbar-default .navbar-nav { float: none; margin-top: 0; margin-bottom: 0; }
	.navbar-default .navbar-nav > li > a { padding-top: 10px; padding-bottom: 10px; line-height: 1.3; }
}
@media (max-width: 1199px) {
	.navbar-default .navbar-header { display: flex; align-items: center; justify-content: space-between; }
	.navbar-default .navbar-header::before,
	.navbar-default .navbar-header::after { display: none; }
	.navbar-default .navbar-toggle { float: none; margin-top: 0; margin-bottom: 0; order: 2; }
}
/* ###################### End Navigation vertikal ######################## */


/* ###################### Anker-Sprung (Menue -> Sektion) ######################## */
/* Die Menuelinks springen per scrollIntoView() zur Sektion; die klebende Navigation (~80px) deckte den
   Anfang (Ueberschrift) ab. scroll-margin-top haelt den Zielpunkt unter der Leiste frei. */
section[id] { scroll-margin-top: 110px; }
body.admin-bar section[id] { scroll-margin-top: 142px; }   /* eingeloggt: WP-Adminleiste 32px */
@media (max-width: 782px) { body.admin-bar section[id] { scroll-margin-top: 156px; } }   /* Adminleiste mobil 46px */
/* ###################### End Anker-Sprung ######################## */


/* ###################### Aktiver Menuepunkt (onepage-nav.js) ######################## */
/* Das Theme faerbt Eintraege mit der WP-Klasse current-menu-item/-parent grau (.navbar-default .navbar-nav > .current-menu-item > a).
   Auf Standortseiten tragen alle Anker-Links diese Klasse -> hier wieder weiss; gruen wird nur der aktive Punkt (.active). */
.navbar-default .navbar-nav > .current-menu-item > a,
.navbar-default .navbar-nav > .current-menu-item > a:focus,
.navbar-default .navbar-nav > .current-menu-parent > a,
.navbar-default .navbar-nav > .current-menu-parent > a:focus {
	color: #fff;
	background: transparent;
}
.navbar-default .navbar-nav > .current-menu-item > a:hover,
.navbar-default .navbar-nav > .current-menu-parent > a:hover { color: #AFCA0B; background: transparent; }
.navbar-default .navbar-nav > li.active > a,
.navbar-default .navbar-nav > li.active > a:hover,
.navbar-default .navbar-nav > li.active > a:focus,
.navbar-default .navbar-nav a[aria-current="true"] {
	color: #AFCA0B;
	background: transparent;
}
/* ###################### End Aktiver Menuepunkt ######################## */


/* ###################### Scroll-to-top ######################## */
#back-to-top a {
	background-color: #AFCA0B;
	border: 2px solid #fff;
	color: #024593;
	box-shadow: 0 4px 14px -4px rgba(2, 69, 147, .45);
	transition: background-color .2s ease, color .2s ease, transform .2s ease;
}
#back-to-top a:hover, #back-to-top a:focus {
	background-color: #024593;
	color: #AFCA0B;
	transform: translateY(-2px);
}
#back-to-top a:focus-visible { outline: 3px solid #024593; outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { #back-to-top a { transition: none; } #back-to-top a:hover { transform: none; } }
/* ###################### End Scroll-to-top ######################## */


/* ###################### Kontaktzahlen besser lesbar ######################## */
/* Poppins 300 wirkt bei Ziffern auf kleinen Bildschirmen duenn/"abgeschnitten". Etwas kraeftiger, gleich hohe Ziffern. */
.st-card__contact dd,
.kt-row__contact p,
.kt-row__hours dd {
	font-weight: 400;
	font-variant-numeric: lining-nums tabular-nums;
	line-height: 1.7;
}
.st-card__contact > div { min-height: 1.7em; }
/* ###################### End Kontaktzahlen ######################## */


/* ###################### Kontakt: Social-Icons ######################## */
.kt-social { display: flex; gap: 12px; max-width: 1400px; margin: 0 auto 8px; padding: 0; list-style: none; }
.kt-social li { margin: 0; padding: 0; }
.kt-slot a.kt-social__link {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border: 2px solid var(--kt-brand);
	color: var(--kt-brand);
	font-size: 22px;
	line-height: 1;
	text-decoration: none;
	transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.kt-slot a.kt-social__link:hover,
.kt-slot a.kt-social__link:focus-visible { background: var(--kt-brand); border-color: var(--kt-brand); color: var(--kt-accent); text-decoration: none; }
@media (prefers-reduced-motion: reduce) { .kt-slot a.kt-social__link { transition: none; } }
/* ###################### End Kontakt Social ######################## */


/* Social-Icons: das Plugin "Ditty News Ticker" laedt Font Awesome 6, dessen ".fa" die Schrift auf "Font Awesome 6 Free"
   (nur Solid-Icons) stellt. Facebook/Instagram sind dort "Brands" und erscheinen als Kaestchen mit Hex-Code.
   Hier explizit Font Awesome 4 verwenden (Theme-Schrift, enthaelt beide Icons). */
.kt-social__link .fa {
	font-family: 'FontAwesome' !important;
	font-weight: 400 !important;
	font-style: normal;
}


/* ###################### Standortseiten: Buttons im Hero + Team-Text ######################## */
.mb-slot__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.mb-slot a.mb-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 12px 22px;
	border: 2px solid var(--mb-text);
	color: var(--mb-text);
	font-size: 16px;
	font-weight: 500;
	line-height: 1.2;
	text-decoration: none;
	transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.mb-slot a.mb-btn:hover, .mb-slot a.mb-btn:focus-visible { background: var(--mb-text); color: var(--mb-bg); text-decoration: none; }
.mb-slot a.mb-btn--solid { background: var(--mb-accent); border-color: var(--mb-accent); color: #1c2b3a; }
.mb-slot--light a.mb-btn--solid { color: #fff; }
.mb-slot a.mb-btn--solid:hover, .mb-slot a.mb-btn--solid:focus-visible { background: transparent; color: var(--mb-text); border-color: var(--mb-text); }
.mb-slot a.mb-btn:focus-visible { outline: 3px solid var(--mb-accent); outline-offset: 2px; }

.tm-slot .tm-slot__text {
	max-width: 70ch;
	margin: clamp(24px, 3vw, 40px) 0 0;
	color: var(--tm-ink);
	font-size: 17px;
	font-weight: 400;
	line-height: 1.7;
	text-align: left;
}
.tm-slot .tm-slot__text strong { font: inherit; font-weight: 600; }
/* ###################### End Standortseiten ######################## */


/* ###################### Standortseite: divide80 weg, Karte ######################## */
/* Der Theme-Abstandshalter .divide80 (80px) entfaellt auf der ganzen Seite (auch Impressum/Datenschutz). */
.divide80 { display: none !important; }
/* Unsichtbare H1 (nur fuer Suchmaschinen und Screenreader): sichtbar bleibt der Slider */
.sp-h1 {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}
/* Infofenster der Google-Karte in Markenfarben (Theme: #4B6482) */
#gmap .infowin a, #gmap .infowin a:hover { background: #024593; color: #fff; }
.map-wrap { margin-bottom: 0; }
/* ###################### End Standortseite ######################## */


/* Standorte: Bild als Link zur Standortseite. Die Beschriftung liegt darueber, Klicks gehen durch. */
.st-card__media > a.st-card__imglink { display: block; width: 100%; height: 100%; }
.st-card__caption { pointer-events: none; }
.st-card__media > a.st-card__imglink:focus-visible { outline: 3px solid var(--st-accent); outline-offset: -3px; }


/* ###################### Impressum / Datenschutz: Menue nur "Home" ######################## */
/* Beide Seiten haben dasselbe Menue wie die Maximilianstrasse-Seite (menu-maxi: Home, Team, Karriere).
   Die Anker (#team, #karriere) gibt es dort nicht, daher alles ausser Home ausblenden.
   Sauberer waere ein eigenes Menue "Home" in WordPress (Design > Menues) fuer diese Seitenvorlagen. */
body.page-template-imprint .navbar-nav > li:not(.menu-item-home),
body.page-template-ds .navbar-nav > li:not(.menu-item-home) { display: none; }
/* ###################### End Impressum Menue ######################## */

/* Social-Media-Icons (Facebook/Instagram) vorlaeufig ausgeblendet: diesen Block entfernen, um sie wieder anzuzeigen */
.kt-social { display: none; }

/* ###################### Ticker-Leiste (Ditty) zwischen Menue und Slider ######################## */
/* Nutzung im Seiteninhalt vor dem Slider: <div class="hammer-ticker">[ditty id=210]</div> */
.hammer-ticker { background: #AFCA0B; color: #1c2b3a; font-size: 16px; line-height: 1.4; padding: 10px 0; overflow: hidden; }
.hammer-ticker .ditty, .hammer-ticker .ditty a { color: #1c2b3a; }
.hammer-ticker .ditty a { text-decoration: underline; }
.hammer-ticker .ditty a:hover { color: #024593; }
/* ###################### End Ticker ######################## */

/* ###################### Mobile Navigation: Panel faehrt von rechts ein ######################## */
/* Unter 1200px ersetzt ein Seitenpanel das Bootstrap-Aufklappmenue. Das Panel ist immer im Layout (display:block),
   geschlossen nur nach rechts aus dem Bild geschoben und unsichtbar. Der Start der Animation haengt am
   aria-expanded des Burger-Buttons (:has), weil Bootstrap die Klasse .in erst nach 350ms setzt;
   ohne :has-Unterstuetzung faehrt das Panel verzoegert ueber .in ein. Logo und Burger bleiben darueber sichtbar. */
@media (max-width: 1199px) {
	.navbar-default .navbar-header { position: relative; z-index: 3; }
	.navbar-default .navbar-collapse,
	.navbar-default .navbar-collapse.collapse,
	.navbar-default .navbar-collapse.collapsing,
	.navbar-default .navbar-collapse.collapse.in {
		display: block !important;
		position: fixed;
		z-index: 2;
		top: 0;
		right: 0;
		bottom: 0;
		left: auto;
		width: min(300px, calc(100vw - 180px));   /* Logo (ca. 155px breit + 15px Rand) bleibt frei */
		height: auto !important;
		max-height: none !important;
		margin: 0;
		padding: 92px 0 28px;
		overflow-x: hidden;
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
		background: #024593;
		border: 0;
		box-shadow: none;
		visibility: hidden;
		transform: translateX(100%);
		transition: transform .32s cubic-bezier(.3, .7, .2, 1), visibility 0s linear .32s, box-shadow .32s ease;
	}
	.navbar-default .navbar-collapse.in,
	.navbar-default .navbar-collapse.collapse.in,
	.navbar-default .navbar-header:has(.navbar-toggle[aria-expanded="true"]) ~ .navbar-collapse {
		visibility: visible;
		transform: none;
		box-shadow: -14px 0 32px -12px rgba(0, 0, 0, .45);
		transition: transform .32s cubic-bezier(.3, .7, .2, 1), visibility 0s, box-shadow .32s ease;
	}
	body.admin-bar .navbar-default .navbar-collapse { top: 32px; }
	.navbar-default .navbar-collapse .navbar-nav { margin: 0; }
	.navbar-default .navbar-collapse .navbar-nav > li { border-bottom: 1px solid rgba(255, 255, 255, .14); }
	.navbar-default .navbar-collapse .navbar-nav > li:first-child { border-top: 1px solid rgba(255, 255, 255, .14); }
	.navbar-default .navbar-collapse .navbar-nav > li > a { padding: 14px 22px; text-align: left; font-size: 17px; }
}
@media (max-width: 782px) {
	body.admin-bar .navbar-default .navbar-collapse { top: 46px; }
}
@media (prefers-reduced-motion: reduce) {
	.navbar-default .navbar-collapse,
	.navbar-default .navbar-collapse.collapse,
	.navbar-default .navbar-collapse.collapsing,
	.navbar-default .navbar-collapse.collapse.in { transition: none; }
}
/* ###################### End Mobile Navigation ######################## */

/* ###################### Slot Bewertungen ("Das sagen unsere Kunden ueber uns") ######################## */
/* Gleicher Kopf wie der Standorte-Slot (Titel + gruene Linie); der Inhalt kommt per Review-Shortcode. */
.rw-slot {
	--rw-bg: #f4f6f8;
	--rw-brand: #024593;
	--rw-accent: #AFCA0B;
	--rw-pad-y: clamp(48px, 6vw, 90px);
	--rw-pad-x: clamp(24px, 4vw, 60px);

	padding: var(--rw-pad-y) var(--rw-pad-x);
	background: var(--rw-bg);
	color: #1c2b3a;
	font-family: 'Poppins', sans-serif;
}
.rw-slot *, .rw-slot *::before, .rw-slot *::after { box-sizing: border-box; }
.rw-slot__head {
	display: flex;
	align-items: center;
	gap: 24px;
	max-width: 1400px;
	margin: 0 auto clamp(28px, 4vw, 48px);
}
.rw-slot__title {
	flex: 0 1 auto;
	margin: 0;
	padding: 0;
	color: var(--rw-brand);
	font-family: 'Poppins', sans-serif;
	font-size: clamp(24px, calc(18px + 1.2vw), 32px);
	font-weight: 300;
	line-height: 1.3;
	text-align: left;
	text-transform: none;
}
.rw-slot__head::after { content: ''; flex: 1 1 auto; height: 1px; background: var(--rw-accent); }
.rw-slot__body { max-width: 1400px; margin: 0 auto; }
.rw-slot__cta { max-width: 1400px; margin: clamp(28px, 4vw, 44px) auto 0; padding: 0; text-align: center; }
.rw-slot a.rw-btn {
	display: inline-block;
	padding: 13px 30px;
	border: 1px solid var(--rw-brand);
	background: var(--rw-brand);
	color: #fff;
	font-family: 'Poppins', sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.2;
	text-decoration: none;
	transition: background .2s ease, color .2s ease;
}
.rw-slot a.rw-btn:hover, .rw-slot a.rw-btn:focus { background: #fff; color: var(--rw-brand); text-decoration: none; }
.rw-slot a.rw-btn:focus-visible { outline: 3px solid var(--rw-accent); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .rw-slot a.rw-btn { transition: none; } }
/* "mehr lesen" / "weniger lesen" klebte direkt am Text: Abstand nach oben */
.wprevpro-shortcode-wrapper .divwprsrdmore { margin-top: 14px; }
/* Slider-Punkte des Review-Plugins: Standard ist ein 6px-Punkt in Gruen bei 25 % Deckkraft (per #wprev-slider-N gesetzt, daher !important) */
.wprevpro-shortcode-wrapper .slickwprev-dots li button::before {
	content: "" !important;
	top: 5px !important;
	left: 5px !important;
	width: 10px !important;
	height: 10px !important;
	border-radius: 50%;
	background: #024593 !important;
	opacity: .25 !important;
	transition: opacity .2s ease;
}
.wprevpro-shortcode-wrapper .slickwprev-dots li button:hover::before,
.wprevpro-shortcode-wrapper .slickwprev-dots li.slickwprev-active button::before { opacity: 1 !important; }
.wprevpro-shortcode-wrapper .slickwprev-dots li button:focus-visible::before { outline: 2px solid #024593; outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .wprevpro-shortcode-wrapper .slickwprev-dots li button::before { transition: none; } }
/* ###################### End Slot Bewertungen ######################## */

/* ###################### Bild-Wechsler (Ueberblendung) im Text+Bild-Modul ######################## */
/* Alle Bilder liegen uebereinander (absolut, wie .mb-slot__media img); aktiv ist das mit .is-active.
   Ohne JavaScript bleibt das erste Bild stehen. Umschalten macht der Inline-Skript im Slot. */
.mb-fade img { opacity: 0; object-position: 50% 50%; transition: opacity 1.2s ease; }
.mb-fade img.is-active { opacity: 1; }
.mb-slot:hover .mb-fade img { transform: none; }   /* kein Zoom beim Ueberfahren (gilt fuer die anderen Slots weiter) */
/* Pfeile links/rechts (vom Skript im Slot eingefuegt) */
.mb-fade__btn {
	position: absolute;
	top: 50%;
	z-index: 2;
	width: 44px;
	height: 44px;
	margin: -22px 0 0;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 0;
	border-radius: 50%;
	background: rgba(2, 69, 147, .75);
	color: #fff;
	cursor: pointer;
	transition: background .2s ease;
}
.mb-fade__btn--prev { left: 12px; transform: scaleX(-1); }
.mb-fade__btn--next { right: 12px; }
.mb-fade__btn:hover { background: #024593; }
@media (prefers-reduced-motion: reduce) { .mb-fade__btn { transition: none; } }
/* Mobil hoeher (4:3 statt 16:9), passt besser zu den Hochformat-nahen Fotos */
@media (max-width: 991px) { .mb-slot__media.mb-fade { aspect-ratio: 4 / 3; } }
@media (prefers-reduced-motion: reduce) { .mb-fade img { transition: none; } }
/* ###################### End Bild-Wechsler ######################## */

/* ###################### Fokus-Stile (Tastatursteuerung) ######################## */
/* Sichtbarer Fokus nur bei Tastaturbedienung (:focus-visible); per Maus kein Rahmen.
   Farbe je Untergrund: Gruen auf Blau/Grau, Blau auf hellen Flaechen. */

/* Navigation (blaue Leiste, auch das Seitenpanel mobil) */
.navbar-default .navbar-nav > li > a:focus { outline: none; }
.navbar-default .navbar-nav > li > a:focus-visible {
	outline: 2px solid #AFCA0B;
	outline-offset: -4px;
	color: #AFCA0B;
	background: transparent;
}
.navbar-default .navbar-brand:focus { outline: none; }
.navbar-default .navbar-brand:focus-visible { outline: 2px solid #AFCA0B; outline-offset: 4px; }
.navbar-default .navbar-toggle:focus { outline: none; }
.navbar-default .navbar-toggle:focus-visible { outline: 2px solid #AFCA0B; outline-offset: 2px; }

/* Links und Buttons in den Text+Bild-Slots (Akzentfarbe je Variante) */
.mb-slot a:focus-visible,
.mb-slot button:focus-visible { outline: 3px solid var(--mb-accent); outline-offset: 2px; }
.mb-slot a.mb-jobs__link:focus-visible { background: var(--mb-text); color: var(--mb-bg); }

/* Marken- und Service-Slot (helle Flaeche: Blau), Team (blaue Flaeche: Gruen), Bewertungs-Slot */
.mk-slot a:focus-visible, .sv-slot a:focus-visible { outline: 3px solid #024593; outline-offset: 2px; }
.tm-slot a:focus-visible, .tm-slot button:focus-visible { outline: 3px solid #AFCA0B; outline-offset: 2px; }
.rw-slot a:focus-visible { outline: 3px solid var(--rw-brand); outline-offset: 3px; }

/* Standorte: Karten-Buttons zusaetzlich gefuellt, damit der Fokus auch ohne Rahmen auffaellt */
.st-slot a.st-card__route:focus-visible { background: var(--st-brand); color: #fff; }

/* Aktive Tastaturnutzer: Anker-Ziele (tabindex=-1) ohne Rahmen */
section[id]:focus, .mb-slot:focus, [tabindex="-1"]:focus { outline: none; }
/* ###################### End Fokus-Stile ######################## */
