/*
Theme Name: Die Saubermänner
Theme URI: https://saubermaenner-hessen.de
Author: Oneday-Marketing – Jan Schneider
Author URI: https://oneday-marketing.de
Description: Klassisches WordPress-Theme für die Gebäudereinigung Die Saubermänner in Flörsheim am Main. Enthält 13 Leistungsseiten, 10 Ortsseiten für Local SEO, Kontaktformular, SEO-Metadaten, JSON-LD-Schema und Customizer – ohne Plugin-Abhängigkeit und ohne externe Requests.
Version: 1.6.0
Requires at least: 6.0
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: saubermaenner
Tags: business, custom-logo, custom-menu, featured-images, translation-ready, two-columns, right-sidebar
*/

/* =========================================================================
   1. Tokens
   ====================================================================== */

:root {
	--sm-primary: #0B57D0;
	--sm-primary-dark: #08419E;
	--sm-dark: #0F1E3D;
	--sm-tint: #E8F1FF;
	--sm-tint-deep: #D4E5FF;
	--sm-accent: #16A34A;
	--sm-text: #1F2937;
	--sm-muted: #4B5563;
	--sm-grey: #6B7280;
	--sm-line: #E5E7EB;
	--sm-white: #FFFFFF;
	--sm-bg: #FFFFFF;

	--sm-font: Inter, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

	--sm-wrap: 1440px;
	--sm-gutter: clamp(20px, 4vw, 48px);
	--sm-header-h: 64px;

	--sm-r-sm: 8px;
	--sm-r: 12px;
	--sm-r-lg: 16px;

	--sm-shadow: 0 1px 2px rgba(15, 30, 61, .06);
	--sm-shadow-hover: 0 10px 28px rgba(15, 30, 61, .12);
	--sm-shadow-header: 0 2px 14px rgba(15, 30, 61, .10);

	--sm-space: 24px;
	--sm-section: clamp(4rem, 8vw, 7rem);
}

/* =========================================================================
   2. Reset / Grundlagen
   ====================================================================== */

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--sm-bg);
	color: var(--sm-text);
	font-family: var(--sm-font);
	font-size: 1.0625rem;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	overflow-wrap: break-word;
}

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

img {
	height: auto;
	display: block;
}

a {
	color: var(--sm-primary);
	text-decoration-thickness: 1px;
	text-underline-offset: 2px;
}

a:hover {
	color: var(--sm-primary-dark);
}

h1, h2, h3, h4 {
	color: var(--sm-dark);
	font-weight: 800;
	line-height: 1.18;
	letter-spacing: -.01em;
	margin: 0 0 .6em;
}

h1 {
	font-size: clamp(2rem, 5.2vw, 3.5rem);
}

h2 {
	font-size: clamp(1.875rem, 3vw, 2.5rem);
}

h3 {
	font-size: clamp(1.125rem, 2vw, 1.3125rem);
}

h4 {
	font-size: 1.0625rem;
}

p {
	margin: 0 0 1.1em;
}

ul, ol {
	padding-left: 1.2em;
}

button {
	font: inherit;
	color: inherit;
}

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

.sm-icon {
	flex: 0 0 auto;
	vertical-align: middle;
}

/* Fehler 2: Icons duerfen nie in den Textfluss rutschen.
   Jede Flaeche, die Icon und Text kombiniert, ist ein Flex-Container mit
   Gap; das SVG bekommt eine feste Groesse und darf nicht schrumpfen. */
.sm-btn,
.sm-header__phone,
.sm-textlink,
.sm-stickybar__item,
.sm-badge,
.sm-ctabox__hours,
.sm-footer__rating {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	white-space: nowrap;
}

.sm-btn > .sm-icon,
.sm-header__phone > .sm-icon,
.sm-textlink > .sm-icon,
.sm-stickybar__item > .sm-icon,
.sm-badge > .sm-icon,
.sm-ctabox__hours > .sm-icon {
	width: 1.125rem;
	height: 1.125rem;
	flex: 0 0 auto;
	position: static;
}

/* Der Text im Button darf umbrechen, das Icon nicht mitwandern. */
.sm-btn > span,
.sm-stickybar__item > span {
	white-space: normal;
}

/* Hilfsklassen */

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

.sm-center {
	text-align: center;
}

/* -------------------------------------------------------------------------
   Reveal beim Scrollen
   Nur aktiv, wenn JavaScript laeuft (html.js). Ohne JS bleibt "no-js"
   stehen und alle Inhalte sind sofort sichtbar. Es werden ausschliesslich
   opacity und transform animiert - der Platz ist immer reserviert, damit
   kein Layoutsprung entsteht (CLS bleibt 0).
   ---------------------------------------------------------------------- */

.js .reveal {
	opacity: 0;
	transform: translateY(18px);
}

.js .reveal.is-visible {
	opacity: 1;
	transform: none;
	transition: opacity .6s ease-out, transform .6s cubic-bezier(.2, .7, .2, 1);
	transition-delay: var(--reveal-delay, 0ms);
}

.sm-mt {
	margin-top: 28px;
}

.sm-mt-s {
	margin: 12px 0 0;
}

.sm-skiplink {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 999;
	padding: 12px 18px;
	background: var(--sm-dark);
	color: #fff;
	font-weight: 700;
	text-decoration: none;
	border-radius: 0 0 var(--sm-r) 0;
}

.sm-skiplink:focus {
	left: 0;
	color: #fff;
}

/* =========================================================================
   3. Layout
   ====================================================================== */

.sm-wrap {
	width: 100%;
	max-width: var(--sm-wrap);
	margin-inline: auto;
	padding-inline: var(--sm-gutter);
}

/* Header und Footer nutzen dieselbe .sm-wrap, damit Wortmarke links und
   Button rechts exakt mit den Inhaltsraendern fluchten. */

.sm-wrap--narrow {
	max-width: 820px;
}

.sm-section {
	padding-block: var(--sm-section);
}

.sm-section--tint {
	background: var(--sm-tint);
}

.sm-section--tint .sm-sectionhead__text,
.sm-section--tint .sm-tile__text,
.sm-section--tint p {
	color: var(--sm-muted);
}

.sm-sectionhead {
	margin-bottom: 40px;
}

.sm-sectionhead h2,
.sm-sectionhead h3 {
	max-width: 40ch;
}

.sm-sectionhead__text {
	color: var(--sm-muted);
	font-size: 1.125rem;
	margin-bottom: 0;
	max-width: 60ch;
}

.sm-overline {
	margin: 0 0 .7em;
	color: var(--sm-primary);
	font-size: .8125rem;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
}

.sm-lead {
	font-size: 1.25rem;
	color: var(--sm-muted);
	max-width: 68ch;
}

.sm-note {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	padding: 14px 16px;
	background: var(--sm-tint);
	border-radius: var(--sm-r);
	color: var(--sm-muted);
	font-size: .9375rem;
}

.sm-note .sm-icon {
	color: var(--sm-primary);
	margin-top: 3px;
}

/* =========================================================================
   4. Buttons
   ====================================================================== */

.sm-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	padding: 13px 22px;
	border: 2px solid transparent;
	border-radius: var(--sm-r);
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}

.sm-btn--primary {
	background: var(--sm-primary);
	border-color: var(--sm-primary);
	color: #fff;
}

.sm-btn--primary:hover {
	background: var(--sm-primary-dark);
	border-color: var(--sm-primary-dark);
	color: #fff;
}

.sm-btn--secondary {
	background: #fff;
	border-color: var(--sm-primary);
	color: var(--sm-primary);
}

.sm-btn--secondary:hover {
	background: var(--sm-tint);
	color: var(--sm-primary-dark);
}

.sm-btn--ghost {
	background: transparent;
	border-color: rgba(255, 255, 255, .45);
	color: #fff;
}

.sm-btn--ghost:hover {
	background: rgba(255, 255, 255, .12);
	border-color: #fff;
	color: #fff;
}

.sm-btn--invert {
	background: #fff;
	border-color: #fff;
	color: var(--sm-primary);
}

.sm-btn--invert:hover {
	background: var(--sm-tint);
	border-color: var(--sm-tint);
	color: var(--sm-primary-dark);
}

.sm-btn--block {
	width: 100%;
}

.sm-textlink {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-weight: 700;
	text-decoration: none;
}

.sm-textlink:hover {
	text-decoration: underline;
}

/* =========================================================================
   5. Header & Navigation
   ====================================================================== */

.sm-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: #fff;
	border-bottom: 1px solid var(--sm-line);
	transition: box-shadow .2s ease;
}

.sm-header.is-scrolled {
	box-shadow: var(--sm-shadow-header);
}

/* Dreispaltiges Grid: Wortmarke | Navigation | Telefon + CTA */
.sm-header__inner {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: stretch;
	gap: 0;
	min-height: var(--sm-header-h);
}

.sm-header__brand {
	display: flex;
	align-items: center;
	justify-self: start;
}

/* Wortmarke */

.sm-logo {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	text-decoration: none;
	flex: none;
}

/* Feste Hoehe, Breite aus dem Seitenverhaeltnis - zusammen mit den
   width/height-Attributen im Markup gibt es keinen Layoutsprung. */
.sm-logo__mark {
	height: 38px;
	width: auto;
	flex: 0 0 auto;
}

/* Footer: Bildmarke ueber der Wortmarke. */
.sm-logo--stacked {
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
}

.sm-logo--stacked .sm-logo__mark {
	height: 44px;
}

.sm-wordmark {
	display: flex;
	flex-direction: column;
	line-height: 1.1;
}

.sm-wordmark__name {
	font-size: clamp(1.1875rem, 3.4vw, 1.5rem);
	font-weight: 800;
	letter-spacing: -.02em;
}

.sm-wordmark__tagline {
	margin-top: 3px;
	font-size: .5625rem;
	font-weight: 600;
	letter-spacing: .12em;
	text-transform: uppercase;
}

/* Aktionen rechts */

.sm-header__actions {
	display: flex;
	align-items: center;
	gap: 12px;
	justify-self: end;
	grid-column: 3;
}

/* Telefonnummer: einzeilig, Icon links vom Text, kein Button-Hintergrund. */
.sm-header__phone {
	display: none;
	color: var(--sm-dark);
	font-weight: 700;
	font-size: 1rem;
	text-decoration: none;
	line-height: 1;
}

.sm-header__phone > .sm-icon {
	color: var(--sm-primary);
}

.sm-header__phone:hover {
	color: var(--sm-primary);
}

.sm-header__cta {
	display: none;
}

/* Burger */

.sm-burger {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	padding: 0;
	background: var(--sm-tint);
	border: 0;
	border-radius: var(--sm-r-sm);
	color: var(--sm-dark);
	cursor: pointer;
}

.sm-burger__close {
	display: none;
}

.sm-burger[aria-expanded="true"] .sm-burger__open {
	display: none;
}

.sm-burger[aria-expanded="true"] .sm-burger__close {
	display: block;
}

/* Navigation: mobil als Panel */

.sm-nav {
	position: fixed;
	inset: var(--sm-header-h) 0 0 0;
	z-index: 99;
	display: none;
	overflow-y: auto;
	padding: 8px var(--sm-gutter) 40px;
	background: #fff;
	border-top: 1px solid var(--sm-line);
}

.sm-nav.is-open {
	display: block;
}

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

.sm-menu li {
	position: relative;
}

.sm-menu a {
	display: block;
	padding: 13px 2px;
	color: var(--sm-dark);
	font-weight: 600;
	text-decoration: none;
	border-bottom: 1px solid var(--sm-line);
}

.sm-menu a:hover,
.sm-menu .current-menu-item > a,
.sm-menu .current_page_item > a {
	color: var(--sm-primary);
}

.sm-menu .sub-menu {
	display: none;
	margin: 0 0 8px;
	padding: 0 0 0 14px;
	list-style: none;
	border-left: 2px solid var(--sm-tint-deep);
}

/* Fehler 1: Zustaende sauber getrennt.
   .is-open  = per Klick geoeffnet (bleibt offen)
   .is-hover = per Maus geoeffnet, mit 150 ms Schliessverzoegerung via JS
   :hover / :focus-within = greifen auch ohne JavaScript */
.sm-menu li.is-open > .sub-menu,
.sm-menu li.is-hover > .sub-menu,
.sm-menu li:focus-within > .sub-menu {
	display: block;
}

.sm-menu .sub-menu a {
	padding: 10px 2px;
	font-weight: 500;
	font-size: .9375rem;
	color: var(--sm-muted);
	border-bottom: 0;
}

.sm-sub-toggle {
	position: absolute;
	top: 4px;
	right: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	background: transparent;
	border: 0;
	color: var(--sm-dark);
	cursor: pointer;
}

.sm-sub-toggle .sm-icon {
	transition: transform .2s ease;
}

.sm-sub-toggle[aria-expanded="true"] .sm-icon {
	transform: rotate(180deg);
}

.sm-nav-cta > a {
	margin-top: 16px;
	padding: 14px 20px !important;
	background: var(--sm-primary);
	color: #fff !important;
	text-align: center;
	border-radius: var(--sm-r);
	border-bottom: 0 !important;
}

.sm-nav-cta > a:hover {
	background: var(--sm-primary-dark);
}

/* =========================================================================
   6. Hero
   ====================================================================== */

.sm-hero {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	padding-block: 36px 44px;
}

/* Ebenen von hinten nach vorn: Bild, Farbverlauf, Partikel, Inhalt. */
.sm-hero__bg {
	position: absolute;
	inset: -60px 0;
	z-index: -3;
	background-image: var(--hero-img);
	background-size: cover;
	background-position: var(--hero-pos, center);
	will-change: transform;
}

.sm-hero__overlay {
	position: absolute;
	inset: 0;
	z-index: -2;
	background: linear-gradient(180deg, var(--sm-tint) 0%, #fff 100%);
	opacity: var(--hero-overlay, 1);
}

.sm-hero__particles {
	position: absolute;
	inset: 0;
	z-index: -1;
	overflow: hidden;
	pointer-events: none;
}

.sm-hero__particles span {
	position: absolute;
	left: var(--x);
	top: 100%;
	width: var(--size);
	height: var(--size);
	animation: sm-rise var(--dur) linear var(--delay) infinite;
	will-change: transform;
}

.sm-hero__particles i {
	display: block;
	width: 100%;
	height: 100%;
	border-radius: 50%;
	background: radial-gradient(circle at 35% 35%, rgba(255, 255, 255, .95) 0%, rgba(120, 170, 255, .5) 60%, rgba(11, 87, 208, .2) 100%);
	opacity: var(--op);
	filter: blur(var(--blur));
	animation: sm-drift calc(var(--dur) / 3) ease-in-out var(--delay) infinite alternate;
	will-change: transform;
}

@keyframes sm-rise {
	to {
		transform: translateY(-150vh);
	}
}

@keyframes sm-drift {
	from {
		transform: translateX(calc(var(--drift) * -1));
	}

	to {
		transform: translateX(var(--drift));
	}
}

/* Gestaffelte Einblendung beim Laden (nur Startseite). */
@keyframes sm-fade {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

@keyframes sm-fadeup {
	from {
		opacity: 0;
		transform: translateY(14px);
	}

	to {
		opacity: 1;
		transform: none;
	}
}

@keyframes sm-zoom {
	from {
		opacity: 0;
		transform: scale(1.04);
	}

	to {
		opacity: 1;
		transform: none;
	}
}

.js .sm-hero--decor .sm-overline {
	animation: sm-fade .5s both;
}

.js .sm-hero--decor .sm-hero__rest {
	animation: sm-fade .6s .15s both;
}

.js .sm-hero--decor .sm-hero__lead {
	animation: sm-fadeup .6s .27s both;
}

.js .sm-hero--decor .sm-hero__actions {
	animation: sm-fadeup .6s .39s both;
}

.js .sm-hero--decor .sm-trustline {
	animation: sm-fadeup .6s .51s both;
}

.js .sm-hero--decor .sm-hero__media {
	animation: sm-zoom .9s .2s both;
}

/* "Sauber." wird von links freigelegt, danach laeuft alle 9 s ein
   heller Streifen darueber. background-clip: text funktioniert in
   Chrome, Firefox und WebKit identisch. */
.sm-hero__shine {
	display: inline-block;
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
	.js .sm-hero--decor .sm-hero__shine {
		background-image: linear-gradient(100deg,
			var(--sm-dark) 0%, var(--sm-dark) 40%,
			#2f6fd0 45%, #7db0f0 50%, #2f6fd0 55%,
			var(--sm-dark) 60%, var(--sm-dark) 100%);
		/* Der Verlauf muss den Textkasten immer voll abdecken: bei
		   background-size 300% liegt der gueltige Bereich zwischen 0% und
		   100%. Werte ausserhalb liessen Buchstaben ungefuellt. */
		background-size: 300% 100%;
		background-position: 100% 0;
		background-repeat: no-repeat;
		-webkit-background-clip: text;
		background-clip: text;
		color: transparent;
		-webkit-text-fill-color: transparent;
		will-change: background-position;
		animation: sm-wipe .7s cubic-bezier(.2, .7, .2, 1) both,
			sm-shine 9s 1.2s infinite;
	}
}

@keyframes sm-wipe {
	from {
		clip-path: inset(0 100% 0 0);
	}

	to {
		clip-path: inset(0 0 0 0);
	}
}

/* 100% -> 0% laesst den hellen Streifen von links nach rechts wandern. */
@keyframes sm-shine {
	0% {
		background-position: 100% 0;
	}

	12% {
		background-position: 0% 0;
	}

	100% {
		background-position: 0% 0;
	}
}

.sm-hero__inner {
	display: grid;
	gap: 32px;
	text-align: left;
}

.sm-hero__title {
	margin-bottom: .5em;
}

.sm-hero__lead {
	font-size: 1.0625rem;
	color: var(--sm-muted);
	max-width: 56ch;
}

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

.sm-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 1em;
	padding: 7px 14px;
	background: #fff;
	border: 1px solid var(--sm-tint-deep);
	border-radius: 999px;
	color: var(--sm-dark);
	font-size: .875rem;
	font-weight: 600;
}

.sm-badge .sm-icon {
	color: var(--sm-primary);
}

/* Trust-Zeile */

.sm-trustline {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 24px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: .9375rem;
	color: var(--sm-muted);
}

.sm-trustline li {
	display: flex;
	align-items: center;
	gap: 8px;
}

.sm-trustline .sm-icon {
	color: var(--sm-accent);
}

.sm-trustline strong {
	color: var(--sm-dark);
}

/* Sterne */

.sm-stars {
	display: inline-flex;
	align-items: center;
	gap: 1px;
	color: #F59E0B;
}

.sm-star--empty {
	color: #D1D5DB;
}

/* =========================================================================
   7. Bild-Slots
   ====================================================================== */

.sm-imgslot {
	margin: 0;
	width: 100%;
	border-radius: var(--sm-r-lg);
	overflow: hidden;
}

.sm-imgslot--filled .sm-imgslot__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Ohne Bild bleibt eine ruhige getoente Flaeche - ohne Text, ohne Icon. */
.sm-imgslot--empty {
	background: var(--sm-tint);
	border-radius: var(--sm-r-lg);
}

/* =========================================================================
   8. Raster, Karten, Kacheln
   ====================================================================== */

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

.sm-card {
	background: #fff;
	border: 1px solid var(--sm-line);
	border-radius: var(--sm-r-lg);
	box-shadow: var(--sm-shadow);
	transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}

.sm-card:hover {
	border-color: var(--sm-tint-deep);
	box-shadow: var(--sm-shadow-hover);
	transform: translateY(-2px);
}

.sm-card__link {
	display: flex;
	flex-direction: column;
	height: 100%;
	padding: 22px;
	color: inherit;
	text-decoration: none;
}

.sm-card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 50px;
	height: 50px;
	margin-bottom: 14px;
	background: var(--sm-tint);
	border-radius: var(--sm-r);
	color: var(--sm-primary);
}

.sm-card__thumb {
	display: block;
	margin: -22px -22px 16px;
	border-radius: var(--sm-r-lg) var(--sm-r-lg) 0 0;
	overflow: hidden;
}

.sm-card__title {
	margin: 0 0 8px;
	font-size: 1.125rem;
}

.sm-card__text {
	display: block;
	margin-bottom: 16px;
	color: var(--sm-muted);
	font-size: .9375rem;
	flex: 1;
}

.sm-card__more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--sm-primary);
	font-weight: 700;
	font-size: .9375rem;
}

.sm-card:hover .sm-card__more .sm-icon {
	transform: translateX(3px);
}

.sm-card__more .sm-icon {
	transition: transform .2s ease;
}

/* Kacheln ohne Link */

.sm-tile {
	padding: 24px;
	background: #fff;
	border: 1px solid var(--sm-line);
	border-radius: var(--sm-r-lg);
}

.sm-tile--plain {
	background: transparent;
	border: 0;
	padding: 0;
}

.sm-tile__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	margin-bottom: 14px;
	background: var(--sm-tint);
	border-radius: var(--sm-r);
	color: var(--sm-primary);
}

.sm-tile--plain .sm-tile__icon {
	background: var(--sm-tint);
}

.sm-tile__title {
	margin: 0 0 8px;
	font-size: 1.125rem;
}

.sm-tile__text {
	margin: 0;
	color: var(--sm-muted);
	font-size: .9375rem;
}

.sm-tile__link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 12px;
	font-size: .875rem;
	font-weight: 700;
	text-decoration: none;
}

.sm-tile__link:hover {
	text-decoration: underline;
}

/* =========================================================================
   9. Ablauf-Schritte
   ====================================================================== */

.sm-steps {
	display: grid;
	gap: 22px;
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: step;
}

.sm-step {
	position: relative;
	padding: 24px;
	background: #fff;
	border: 1px solid var(--sm-line);
	border-radius: var(--sm-r-lg);
}

.sm-step__num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	margin-bottom: 12px;
	background: var(--sm-primary);
	border-radius: 50%;
	color: #fff;
	font-weight: 800;
}

.sm-step__title {
	margin: 0 0 6px;
	font-size: 1.0625rem;
}

.sm-step__text {
	margin: 0;
	color: var(--sm-muted);
	font-size: .9375rem;
}

/* =========================================================================
   10. Split-Layout
   ====================================================================== */

.sm-split {
	display: grid;
	gap: 32px;
	align-items: start;
}

/* Sticky-Seitenleiste auf Leistungs- und Ortsseiten */
.sm-split__side {
	display: grid;
	gap: 20px;
}

.sm-split__body {
	max-width: 72ch;
}

.sm-sidebox {
	padding: 22px;
	background: #fff;
	border: 1px solid var(--sm-line);
	border-radius: var(--sm-r-lg);
}

.sm-sidebox__title {
	margin: 0 0 12px;
	font-size: 1rem;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: var(--sm-muted);
}

.sm-sidebox ul {
	display: grid;
	gap: 2px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.sm-sidebox ul a {
	display: block;
	padding: 9px 10px;
	border-radius: var(--sm-r-sm);
	font-size: .9375rem;
	font-weight: 600;
	text-decoration: none;
}

.sm-sidebox ul a:hover {
	background: var(--sm-tint);
}

.sm-split__text > :last-child {
	margin-bottom: 0;
}

.sm-infobox {
	padding: 24px;
	background: var(--sm-tint);
	border-radius: var(--sm-r-lg);
}

.sm-infobox__title {
	margin-bottom: 8px;
	font-size: 1.125rem;
}

.sm-infobox p {
	color: var(--sm-muted);
	font-size: .9375rem;
}

.sm-infobox__list {
	margin: 0 0 18px;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 10px;
	font-size: .9375rem;
}

.sm-infobox__list li {
	display: flex;
	align-items: center;
	gap: 10px;
}

.sm-infobox__list .sm-icon {
	color: var(--sm-primary);
}

.sm-infobox__list a {
	font-weight: 700;
	text-decoration: none;
}

.sm-infobox__list a:hover {
	text-decoration: underline;
}

/* =========================================================================
   11. Listen: Häkchen, Chips, Links
   ====================================================================== */

.sm-checklist {
	display: grid;
	gap: 12px;
	margin: 0 0 1.2em;
	padding: 0;
	list-style: none;
}

.sm-checklist li {
	display: flex;
	align-items: flex-start;
	gap: 11px;
}

.sm-checklist .sm-icon {
	margin-top: 3px;
	color: var(--sm-accent);
}

.sm-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 1.2em;
	padding: 0;
	list-style: none;
}

.sm-chips li {
	padding: 7px 14px;
	background: #fff;
	border: 1px solid var(--sm-line);
	border-radius: 999px;
	font-size: .875rem;
	font-weight: 600;
	color: var(--sm-dark);
}

.sm-section--tint .sm-chips li {
	border-color: var(--sm-tint-deep);
}

.sm-linklist {
	display: grid;
	gap: 6px;
	margin: 0 0 1.2em;
	padding: 0;
	list-style: none;
}

.sm-linklist a {
	display: flex;
	align-items: center;
	gap: 9px;
	padding: 10px 0;
	font-weight: 600;
	text-decoration: none;
	border-bottom: 1px solid var(--sm-line);
}

.sm-linklist a:hover {
	text-decoration: underline;
}

/* =========================================================================
   12. Kennzahlen
   ====================================================================== */

.sm-stats {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 18px;
	margin: 0 0 1.4em;
	padding: 22px;
	background: var(--sm-tint);
	border-radius: var(--sm-r-lg);
	list-style: none;
}

.sm-stats__value {
	display: block;
	color: var(--sm-dark);
	font-size: 1.375rem;
	font-weight: 800;
	line-height: 1.2;
}

.sm-stats__label {
	display: block;
	color: var(--sm-muted);
	font-size: .8125rem;
}

/* =========================================================================
   13. Bewertungen
   ====================================================================== */

.sm-reviews {
	display: grid;
	gap: 26px;
}

.sm-reviews__score {
	padding: 26px;
	background: #fff;
	border: 1px solid var(--sm-tint-deep);
	border-radius: var(--sm-r-lg);
	text-align: center;
}

.sm-reviews__value {
	margin: 0;
	color: var(--sm-dark);
	font-size: 3rem;
	font-weight: 800;
	line-height: 1;
}

.sm-reviews__count {
	margin: 10px 0 18px;
	color: var(--sm-muted);
	font-size: .9375rem;
}

.sm-reviews__quotes {
	display: grid;
	gap: 18px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.sm-quote {
	padding: 22px;
	background: #fff;
	border: 1px solid var(--sm-line);
	border-radius: var(--sm-r-lg);
}

.sm-quote__mark {
	display: block;
	margin-bottom: 8px;
	color: var(--sm-tint-deep);
}

.sm-quote blockquote {
	margin: 0;
}

.sm-quote blockquote p {
	margin: 0 0 12px;
	color: var(--sm-text);
	font-size: .9375rem;
}

.sm-quote__name {
	margin: 0;
	color: var(--sm-muted);
	font-size: .875rem;
	font-weight: 700;
}

/* =========================================================================
   13b. Referenzgalerie und Lightbox
   ====================================================================== */

.sm-gallery {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.sm-gallery__cell {
	margin: 0;
}

.sm-gallery__item {
	display: block;
	width: 100%;
	padding: 0;
	background: var(--sm-tint);
	border: 0;
	border-radius: 12px;
	overflow: hidden;
	cursor: zoom-in;
	aspect-ratio: 4 / 3;
	transition: transform .18s ease, box-shadow .18s ease;
}

.sm-gallery__item:hover {
	box-shadow: var(--sm-shadow-hover);
	transform: translateY(-2px);
}

.sm-gallery__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* ---------------- Lightbox ---------------- */

/* Das hidden-Attribut muss die display-Regel schlagen, sonst waere die
   Lightbox schon beim Seitenaufruf sichtbar. */
.sm-lightbox[hidden] {
	display: none;
}

.sm-lightbox {
	position: fixed;
	inset: 0;
	z-index: 200;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 20px;
	background: rgba(15, 30, 61, .92);
}

body.sm-lb-open {
	overflow: hidden;
}

/* Schwebende Elemente stoeren die Grossansicht - waehrend die Lightbox
   offen ist, werden sie ausgeblendet. */
body.sm-lb-open .sm-whatsapp,
body.sm-lb-open .sm-stickybar {
	display: none;
}

.sm-lightbox__figure {
	margin: 0;
	max-width: min(1200px, 100%);
	max-height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.sm-lightbox__img {
	max-width: 100%;
	max-height: calc(100vh - 40px);
	width: auto;
	height: auto;
	border-radius: 12px;
	object-fit: contain;
}

.sm-lightbox__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	flex: 0 0 auto;
	padding: 0;
	background: rgba(255, 255, 255, .12);
	border: 0;
	border-radius: 50%;
	color: #fff;
	cursor: pointer;
	transition: background-color .18s ease;
}

.sm-lightbox__btn:hover {
	background: rgba(255, 255, 255, .26);
}

.sm-lightbox__btn:focus-visible {
	outline: 3px solid #fff;
	outline-offset: 2px;
}

.sm-lightbox__close {
	position: absolute;
	top: 16px;
	right: 16px;
}

/* =========================================================================
   14. Einsatzgebiet
   ====================================================================== */

.sm-areas {
	display: grid;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.sm-area a {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 16px 18px;
	background: #fff;
	border: 1px solid var(--sm-line);
	border-radius: var(--sm-r);
	color: inherit;
	text-decoration: none;
	transition: border-color .18s ease, box-shadow .18s ease;
}

.sm-area a:hover {
	border-color: var(--sm-primary);
	box-shadow: var(--sm-shadow);
}

.sm-area--current a {
	background: var(--sm-tint);
	border-color: var(--sm-tint-deep);
}

.sm-area__icon {
	display: inline-flex;
	color: var(--sm-primary);
}

.sm-area__body {
	display: flex;
	flex-direction: column;
}

.sm-area__name {
	color: var(--sm-dark);
	font-weight: 700;
}

.sm-area__meta {
	color: var(--sm-muted);
	font-size: .8125rem;
}

/* Tabelle Einsatzgebiet */

.sm-areatable {
	overflow-x: auto;
	border: 1px solid var(--sm-line);
	border-radius: var(--sm-r-lg);
}

.sm-areatable table {
	width: 100%;
	min-width: 640px;
	border-collapse: collapse;
	font-size: .9375rem;
}

.sm-areatable th,
.sm-areatable td {
	padding: 13px 16px;
	text-align: left;
	border-bottom: 1px solid var(--sm-line);
	vertical-align: top;
}

.sm-areatable thead th {
	background: var(--sm-tint);
	color: var(--sm-dark);
	font-size: .8125rem;
	letter-spacing: .04em;
	text-transform: uppercase;
	white-space: nowrap;
}

.sm-areatable tbody tr:last-child th,
.sm-areatable tbody tr:last-child td {
	border-bottom: 0;
}

.sm-areatable tbody th {
	font-weight: 700;
	white-space: nowrap;
}

.sm-areatable td {
	color: var(--sm-muted);
}

/* =========================================================================
   15. FAQ
   ====================================================================== */

.sm-faq {
	display: grid;
	gap: 12px;
}

.sm-faq__item {
	background: #fff;
	border: 1px solid var(--sm-line);
	border-radius: var(--sm-r);
}

.sm-faq__item summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	padding: 17px 20px;
	color: var(--sm-dark);
	font-weight: 700;
	cursor: pointer;
	list-style: none;
}

.sm-faq__item summary::-webkit-details-marker {
	display: none;
}

.sm-faq__item summary:hover {
	color: var(--sm-primary);
}

.sm-faq__chevron {
	color: var(--sm-primary);
	transition: transform .2s ease;
}

.sm-faq__item[open] .sm-faq__chevron {
	transform: rotate(180deg);
}

.sm-faq__answer {
	padding: 0 20px 18px;
	color: var(--sm-muted);
}

.sm-faq__answer p {
	margin: 0;
}

/* =========================================================================
   16. CTA-Box
   ====================================================================== */

.sm-section--cta {
	padding-block: var(--sm-section);
	background: var(--sm-tint);
}

.sm-ctabox {
	max-width: 960px;
	margin-inline: auto;
	padding: clamp(2rem, 5vw, 4rem);
	background: #fff;
	border-radius: 20px;
	box-shadow: 0 12px 40px rgba(15, 30, 61, .10);
	text-align: center;
}

.sm-ctabox .sm-overline {
	margin-bottom: .8em;
}

.sm-ctabox__title {
	margin-bottom: .5em;
}

.sm-ctabox__text {
	max-width: 60ch;
	margin-inline: auto;
	margin-bottom: 0;
	color: var(--sm-muted);
	font-size: 1.125rem;
}

.sm-ctabox__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
	margin-top: 28px;
}

.sm-ctabox__trust {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px 26px;
	margin: 26px 0 0;
	padding: 0;
	list-style: none;
	color: var(--sm-muted);
	font-size: .9375rem;
}

.sm-ctabox__trust li {
	display: flex;
	align-items: center;
	gap: 8px;
}

.sm-ctabox__trust .sm-icon {
	color: var(--sm-accent);
	flex: 0 0 auto;
}

/* Mobil: Buttons untereinander ueber die volle Breite. */
@media (max-width: 559px) {
	.sm-ctabox__actions {
		flex-direction: column;
	}

	.sm-ctabox__actions .sm-btn {
		width: 100%;
	}

	.sm-ctabox__trust {
		flex-direction: column;
		align-items: center;
	}
}

/* =========================================================================
   17. Breadcrumb, Seitenkopf, Textseiten
   ====================================================================== */

.sm-breadcrumb {
	padding-block: 14px;
	border-bottom: 1px solid var(--sm-line);
	font-size: .875rem;
}

.sm-breadcrumb ol {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
	color: var(--sm-muted);
}

.sm-breadcrumb li + li::before {
	content: "/";
	margin-right: 6px;
	color: var(--sm-grey);
}

.sm-breadcrumb a {
	text-decoration: none;
}

.sm-breadcrumb a:hover {
	text-decoration: underline;
}

.sm-pagehead {
	padding-block: 40px 30px;
	background: linear-gradient(180deg, var(--sm-tint) 0%, #fff 100%);
}

.sm-pagehead__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 22px;
}

.sm-pagetitle {
	margin-bottom: 1em;
}

.sm-prose > :last-child {
	margin-bottom: 0;
}

.sm-prose h2 {
	margin-top: 1.8em;
	font-size: clamp(1.3125rem, 2.4vw, 1.625rem);
}

.sm-prose h3 {
	margin-top: 1.6em;
}

.sm-prose ul,
.sm-prose ol {
	margin-bottom: 1.2em;
}

.sm-prose li {
	margin-bottom: .4em;
}

.sm-prose a {
	font-weight: 600;
}

.sm-prose img {
	border-radius: var(--sm-r);
}

.sm-prose blockquote {
	margin: 1.5em 0;
	padding: 18px 22px;
	background: var(--sm-tint);
	border-left: 4px solid var(--sm-primary);
	border-radius: 0 var(--sm-r) var(--sm-r) 0;
}

.sm-prose blockquote p:last-child {
	margin-bottom: 0;
}

.sm-legalnote {
	margin-top: 2.4em;
	padding: 18px 20px;
	background: #FEF3C7;
	border-radius: var(--sm-r);
	color: #78350F;
	font-size: .9375rem;
}

.sm-legalnote p {
	margin: 0;
}

/* Beiträge */

.sm-postmeta {
	display: flex;
	align-items: center;
	gap: 8px;
	color: var(--sm-muted);
	font-size: .875rem;
}

.sm-postthumb {
	margin: 0 0 1.6em;
	border-radius: var(--sm-r-lg);
	overflow: hidden;
}

.sm-postnav {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 14px;
	margin-top: 2.4em;
	padding-top: 1.6em;
	border-top: 1px solid var(--sm-line);
	font-weight: 700;
}

.sm-pagination {
	margin-top: 34px;
}

.sm-pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: center;
}

.sm-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	padding: 0 12px;
	border: 1px solid var(--sm-line);
	border-radius: var(--sm-r-sm);
	text-decoration: none;
	font-weight: 600;
}

.sm-pagination .page-numbers.current {
	background: var(--sm-primary);
	border-color: var(--sm-primary);
	color: #fff;
}

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

.sm-result {
	padding-block: 22px;
	border-bottom: 1px solid var(--sm-line);
}

.sm-result h2 {
	font-size: 1.25rem;
	margin-bottom: .4em;
}

.sm-result p {
	margin: 0;
	color: var(--sm-muted);
}

.sm-searchbox {
	margin-top: 22px;
	max-width: 440px;
}

.sm-searchbox form {
	display: flex;
	gap: 8px;
}

.sm-searchbox label {
	flex: 1;
}

.sm-searchbox input[type="search"] {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid var(--sm-line);
	border-radius: var(--sm-r-sm);
	font: inherit;
}

.sm-searchbox input[type="submit"] {
	padding: 12px 18px;
	background: var(--sm-primary);
	border: 0;
	border-radius: var(--sm-r-sm);
	color: #fff;
	font-weight: 700;
	cursor: pointer;
}

/* =========================================================================
   18. Referenzen
   ====================================================================== */

.sm-ref {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--sm-line);
	border-radius: var(--sm-r-lg);
	overflow: hidden;
}

.sm-ref .sm-imgslot {
	border-radius: 0;
}

.sm-ref__body {
	padding: 22px;
}

.sm-ref__client {
	display: flex;
	align-items: center;
	gap: 7px;
	margin: 0 0 .6em;
	color: var(--sm-primary);
	font-size: .8125rem;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
}

.sm-ref__title {
	margin: 0 0 .6em;
	font-size: 1.125rem;
}

.sm-ref__text {
	margin: 0;
	color: var(--sm-muted);
	font-size: .9375rem;
}

/* =========================================================================
   19. Kontakt & Formular
   ====================================================================== */

.sm-contact {
	display: grid;
	gap: 34px;
	align-items: start;
}

.sm-contact__card {
	padding: 26px;
	background: var(--sm-tint);
	border-radius: var(--sm-r-lg);
}

.sm-contact__card h2 {
	font-size: 1.25rem;
}

.sm-contact__address {
	margin: 0 0 18px;
	font-style: normal;
	line-height: 1.6;
}

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

.sm-contact__list li {
	display: flex;
	align-items: flex-start;
	gap: 12px;
}

.sm-contact__list .sm-icon {
	margin-top: 3px;
	color: var(--sm-primary);
}

.sm-contact__list small {
	display: block;
	color: var(--sm-muted);
	font-size: .75rem;
	text-transform: uppercase;
	letter-spacing: .05em;
}

.sm-contact__list a {
	font-weight: 700;
	text-decoration: none;
}

.sm-contact__list a:hover {
	text-decoration: underline;
}

.sm-contact__img {
	margin-top: 4px;
}

/* Formular */

.sm-form__fields {
	display: grid;
	gap: 4px;
}

.sm-form__row {
	display: grid;
	gap: 4px;
}

.sm-field {
	display: grid;
	gap: 6px;
	margin: 0 0 16px;
}

.sm-field label {
	font-size: .9375rem;
	font-weight: 600;
	color: var(--sm-dark);
}

.sm-field input[type="text"],
.sm-field input[type="email"],
.sm-field input[type="tel"],
.sm-field select,
.sm-field textarea {
	width: 100%;
	padding: 12px 14px;
	background: #fff;
	border: 1px solid #CBD5E1;
	border-radius: var(--sm-r-sm);
	font: inherit;
	color: var(--sm-text);
}

.sm-field textarea {
	resize: vertical;
	min-height: 130px;
}

.sm-field input:focus,
.sm-field select:focus,
.sm-field textarea:focus {
	border-color: var(--sm-primary);
	outline: 2px solid var(--sm-primary);
	outline-offset: 0;
}

.sm-field--error input,
.sm-field--error select,
.sm-field--error textarea {
	border-color: #B91C1C;
	background: #FEF2F2;
}

.sm-field__error {
	color: #B91C1C;
	font-size: .875rem;
	font-weight: 600;
}

.sm-field--check {
	grid-template-columns: auto 1fr;
	align-items: start;
	gap: 11px;
	margin-top: 6px;
}

.sm-field--check input {
	width: 22px;
	height: 22px;
	margin: 2px 0 0;
	accent-color: var(--sm-primary);
}

.sm-field--check label {
	font-weight: 400;
	font-size: .9375rem;
	color: var(--sm-muted);
	line-height: 1.55;
}

.sm-field--check .sm-field__error {
	grid-column: 1 / -1;
}

.sm-select {
	position: relative;
	display: block;
}

.sm-select select {
	appearance: none;
	padding-right: 44px;
}

.sm-select .sm-icon {
	position: absolute;
	top: 50%;
	right: 14px;
	transform: translateY(-50%);
	color: var(--sm-primary);
	pointer-events: none;
}

/* Honeypot: fuer Menschen und Screenreader unsichtbar */
.sm-form__hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.sm-form__submit {
	display: grid;
	gap: 12px;
	margin: 8px 0 0;
}

.sm-form__hint {
	color: var(--sm-muted);
	font-size: .8125rem;
}

.sm-notice {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin-bottom: 24px;
	padding: 18px 20px;
	border-radius: var(--sm-r);
	border: 1px solid;
}

.sm-notice p {
	margin: 6px 0 0;
	font-size: .9375rem;
}

.sm-notice--ok {
	background: #ECFDF5;
	border-color: #A7F3D0;
	color: #065F46;
}

.sm-notice--ok .sm-icon {
	color: var(--sm-accent);
	margin-top: 3px;
}

.sm-notice--error {
	background: #FEF2F2;
	border-color: #FECACA;
	color: #991B1B;
}

/* Zwei-Klick-Karte */

.sm-map {
	position: relative;
	border-radius: var(--sm-r-lg);
	overflow: hidden;
	background: var(--sm-tint);
	border: 1px solid var(--sm-tint-deep);
}

.sm-map__consent {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	padding: 40px 22px;
	text-align: center;
}

.sm-map__icon {
	color: var(--sm-primary);
	opacity: .7;
}

.sm-map__consent h3 {
	margin: 0;
	font-size: 1.125rem;
}

.sm-map__consent p {
	max-width: 52ch;
	margin: 0;
	color: var(--sm-muted);
	font-size: .9375rem;
}

.sm-map__btn {
	margin-top: 6px;
}

.sm-map__links {
	font-size: .875rem;
}

.sm-map iframe {
	display: block;
	width: 100%;
	height: 420px;
	border: 0;
}

/* =========================================================================
   20. Footer
   ====================================================================== */

.sm-footer {
	margin-top: 0;
	padding-block: 48px 26px;
	background: var(--sm-dark);
	color: rgba(255, 255, 255, .80);
	font-size: .9375rem;
}

.sm-footer__grid {
	display: grid;
	gap: 34px;
}

.sm-footer .sm-logo {
	margin-bottom: 16px;
}

.sm-footer__text {
	color: rgba(255, 255, 255, .74);
}

.sm-footer__rating {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 9px;
	margin: 0;
	font-size: .875rem;
}

.sm-footer__head {
	margin: 0 0 14px;
	color: #fff;
	font-size: .875rem;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.sm-footer__col ul {
	display: grid;
	gap: 9px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.sm-footer a {
	color: #AFCBFF;
	text-decoration: none;
}

.sm-footer a:hover {
	color: #fff;
	text-decoration: underline;
}

.sm-footer__address {
	margin: 0 0 18px;
	font-style: normal;
	line-height: 1.65;
	color: rgba(255, 255, 255, .80);
}

.sm-footer__address strong {
	color: #fff;
}

.sm-footer__contact {
	display: grid;
	gap: 11px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.sm-footer__contact li {
	display: flex;
	align-items: flex-start;
	gap: 11px;
}

.sm-footer__contact .sm-icon {
	margin-top: 3px;
	color: #AFCBFF;
}

.sm-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 24px;
	margin-top: 38px;
	padding-top: 22px;
	border-top: 1px solid rgba(255, 255, 255, .16);
	font-size: .875rem;
}

.sm-footer__copy,
.sm-footer__agency {
	margin: 0;
	color: rgba(255, 255, 255, .66);
}

.sm-footer__legal {
	display: flex;
	flex-wrap: wrap;
	gap: 18px;
	margin: 0;
	padding: 0;
	list-style: none;
}

/* Copyright linksbuendig, Rechtslinks rechtsbuendig */
@media (min-width: 700px) {
	.sm-footer__legal {
		margin-left: auto;
		order: 3;
	}

	.sm-footer__agency {
		order: 2;
	}
}

/* Wortmarke im Footer */

.sm-footer .sm-wordmark__name {
	color: #fff;
}

/* =========================================================================
   21. WhatsApp-Button & mobile CTA-Leiste
   ====================================================================== */

.sm-whatsapp {
	position: fixed;
	right: 16px;
	bottom: 80px;
	z-index: 95;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	background: #25D366;
	border-radius: 50%;
	color: #fff;
	box-shadow: 0 6px 20px rgba(15, 30, 61, .28);
	transition: transform .18s ease;
}

.sm-whatsapp:hover {
	color: #fff;
	transform: scale(1.06);
}

.sm-stickybar {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 96;
	display: grid;
	grid-template-columns: 1fr 1fr;
	background: #fff;
	border-top: 1px solid var(--sm-line);
	box-shadow: 0 -2px 14px rgba(15, 30, 61, .10);
}

.sm-stickybar__item {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 58px;
	color: var(--sm-dark);
	font-weight: 700;
	text-decoration: none;
}

.sm-stickybar__item .sm-icon {
	color: var(--sm-primary);
}

.sm-stickybar__item--cta {
	background: var(--sm-primary);
	color: #fff;
}

.sm-stickybar__item--cta .sm-icon {
	color: #fff;
}

.sm-stickybar__item--cta:hover {
	background: var(--sm-primary-dark);
	color: #fff;
}

body {
	padding-bottom: 58px;
}

/* =========================================================================
   22. WordPress-Standardklassen
   ====================================================================== */

.alignleft {
	float: left;
	margin: 0 1.5em 1em 0;
}

.alignright {
	float: right;
	margin: 0 0 1em 1.5em;
}

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

.wp-caption-text,
.sm-prose figcaption {
	color: var(--sm-muted);
	font-size: .875rem;
	text-align: center;
	margin-top: 8px;
}

.sm-pagelinks {
	margin-top: 1.6em;
	font-weight: 600;
}

/* =========================================================================
   23. Breakpoints
   ====================================================================== */

@media (min-width: 560px) {
	.sm-grid--2,
	.sm-grid--cards,
	.sm-steps,
	.sm-reviews__quotes {
		grid-template-columns: repeat(2, 1fr);
	}

	.sm-stats {
		grid-template-columns: repeat(4, 1fr);
	}

	.sm-form__row {
		grid-template-columns: repeat(2, 1fr);
		gap: 0 18px;
	}

	.sm-form__submit {
		grid-template-columns: auto 1fr;
		align-items: center;
		gap: 18px;
	}
}

@media (max-width: 767.98px) {
	.sm-hero__particles span:nth-child(n+9) {
		display: none;
	}
}

/* Unter 375 px reicht die Breite nicht fuer Bildmarke, Wortmarke mit
   Zusatzzeile und Menue-Button. Wie im Bereich 1024-1279 px entfaellt
   deshalb nur die Zusatzzeile - das Logo bleibt in Originalgroesse. */
@media (max-width: 374.98px) {
	.sm-header .sm-wordmark__tagline {
		display: none;
	}
}

@media (min-width: 768px) {
	.sm-gallery {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (min-width: 860px) {
	.sm-grid--3,
	.sm-grid--cards,
	.sm-reviews__quotes {
		grid-template-columns: repeat(3, 1fr);
	}

	.sm-grid--4 {
		grid-template-columns: repeat(4, 1fr);
	}

	.sm-steps {
		grid-template-columns: repeat(4, 1fr);
	}

	.sm-hero__inner {
		grid-template-columns: 1.05fr .95fr;
		align-items: center;
		gap: 44px;
	}

	.sm-split {
		grid-template-columns: 1fr 1fr;
		gap: 44px;
	}

	.sm-split--wide-text {
		grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
		gap: 48px;
	}

	.sm-reviews {
		grid-template-columns: 280px 1fr;
		align-items: start;
	}

	.sm-reviews__quotes {
		grid-template-columns: 1fr;
	}

	.sm-areas {
		grid-template-columns: repeat(2, 1fr);
	}

	.sm-ctabox {
		grid-template-columns: 1.4fr 1fr;
		gap: 40px;
		padding: 44px 40px;
		align-items: center;
	}

	.sm-contact {
		grid-template-columns: 1.25fr .75fr;
		gap: 44px;
	}

	.sm-footer__grid {
		grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
		gap: 40px;
	}

	.sm-hero {
		padding-block: 52px 64px;
	}

	.sm-pagehead {
		padding-block: 52px 40px;
	}
}

@media (min-width: 1024px) {
	/* -----------------------------------------------------------------
	 * Desktop-Navigation ab 1024 px.
	 * Zwischen 1024 und 1279 px zeigt der Header nur das Telefon-Icon,
	 * damit Wortmarke, Menue, Telefon und Button in eine Zeile passen.
	 * -------------------------------------------------------------- */

	:root {
		--sm-header-h: 80px;
	}

	.sm-burger,
	.sm-stickybar {
		display: none;
	}

	body {
		padding-bottom: 0;
	}

	.sm-whatsapp {
		bottom: 24px;
		right: 24px;
	}

	.sm-logo__mark {
		height: 48px;
	}

	.sm-wordmark__name {
		font-size: 1.5rem;
	}

	.sm-header__phone,
	.sm-header__cta {
		display: inline-flex;
	}

	/* Navigation linksbuendig an die Wortmarke anschliessen, nicht zentriert. */
	.sm-nav {
		position: static;
		inset: auto;
		display: flex;
		align-items: stretch;
		align-self: stretch;
		justify-self: start;
		grid-column: 2;
		margin-left: 2.5rem;
		min-width: 0;
		overflow: visible;
		padding: 0;
		background: transparent;
		border: 0;
	}

	/* Die Menuepunkte reichen ueber die volle Headerhoehe. Dadurch liegt
	   das Dropdown mit top:100% direkt an der Headerkante - ohne Luecke,
	   in der der Hover-Zustand verloren gehen koennte (Fehler 1). */
	.sm-menu {
		display: flex;
		flex-wrap: nowrap;
		align-items: stretch;
		justify-content: flex-start;
		gap: 0;
		height: 100%;
	}

	.sm-menu > li {
		display: flex;
		align-items: center;
	}

	.sm-menu > li > a {
		display: flex;
		align-items: center;
		padding: 9px 9px;
		border-bottom: 0;
		border-radius: var(--sm-r-sm);
		font-size: .9375rem;
		white-space: nowrap;
	}

	.sm-menu > li > a:hover {
		background: var(--sm-tint);
	}

	/* Der CTA-Button steckt im Header rechts, im Menue ist er überflüssig. */
	.sm-menu > li.sm-nav-cta {
		display: none;
	}

	/* Die Wortmarke ist der Link zur Startseite - der Menuepunkt spart Platz. */
	.sm-menu > li.menu-item-home {
		display: none;
	}

	.sm-menu > li.menu-item-has-children > a {
		padding-right: 30px;
	}

	.sm-sub-toggle {
		top: 50%;
		right: 2px;
		width: 26px;
		height: 26px;
		transform: translateY(-50%);
		color: var(--sm-primary);
	}

	/* ---------------- Dropdown-Panel ---------------- */

	.sm-menu .sub-menu {
		position: absolute;
		top: 100%;
		left: 0;
		z-index: 20;
		width: max-content;
		max-width: min(640px, calc(100vw - 2 * var(--sm-gutter)));
		grid-template-columns: repeat(2, minmax(190px, 1fr));
		gap: 2px 6px;
		margin: 0;
		padding: 10px;
		background: #fff;
		border: 1px solid var(--sm-line);
		border-radius: var(--sm-r);
		box-shadow: var(--sm-shadow-hover);
	}

	/* Unsichtbare Hover-Bruecke: faengt den Zeiger auf dem Weg vom
	   Menuepunkt ins Panel ab, auch bei Sub-Pixel-Rundung. */
	.sm-menu .sub-menu::before {
		content: "";
		position: absolute;
		top: -10px;
		left: 0;
		right: 0;
		height: 10px;
	}

	/* Am rechten Rand nach innen klappen, damit nichts abgeschnitten wird. */
	.sm-menu .sub-menu.sm-sub--right {
		left: auto;
		right: 0;
	}

	/* Per Klick, per Tastaturfokus oder per JS-Hover geoeffnet. */
	.sm-menu > li.is-open > .sub-menu,
	.sm-menu > li.is-hover > .sub-menu,
	.sm-menu > li:focus-within > .sub-menu {
		display: grid;
	}

	/* Reines CSS-Hover nur auf Geraeten mit echtem Mauszeiger. */
	@media (hover: hover) and (pointer: fine) {
		.sm-menu > li:hover > .sub-menu {
			display: grid;
		}
	}

	.sm-menu .sub-menu a {
		display: flex;
		align-items: center;
		min-height: 44px;
		padding: 0 12px;
		border-bottom: 0;
		border-radius: var(--sm-r-sm);
		font-size: .9375rem;
		font-weight: 500;
		color: var(--sm-text);
	}

	.sm-menu .sub-menu a:hover {
		background: var(--sm-tint);
		color: var(--sm-primary);
	}

}

@media (min-width: 1100px) {
	.sm-areas {
		grid-template-columns: repeat(3, 1fr);
	}

	/* Seitenleiste laeuft beim Scrollen mit. */
	.sm-split--wide-text .sm-split__side {
		position: sticky;
		top: calc(var(--sm-header-h) + 20px);
	}
}

/* Zwischen 1024 und 1279 px: Kompaktmodus im Header. */
@media (min-width: 1024px) and (max-width: 1279.98px) {
	.sm-header__phone-number {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip-path: inset(50%);
		white-space: nowrap;
	}

	.sm-header__phone {
		gap: 0;
		padding: 4px;
	}

	.sm-nav {
		margin-left: 1.25rem;
	}

	.sm-menu > li > a {
		padding: 9px 6px;
		font-size: .8125rem;
	}

	.sm-menu > li.menu-item-has-children > a {
		padding-right: 26px;
	}

	.sm-header__cta {
		padding: 13px 14px;
	}

	.sm-wordmark__name {
		font-size: 1.25rem;
	}

	/* Das Logo braucht rund 60 px zusaetzlich. In diesem Bereich entfaellt
	   deshalb die Zusatzzeile unter der Wortmarke - kein Menuepunkt wird
	   entfernt und das Logo bleibt in Originalgroesse. */
	.sm-header .sm-wordmark__tagline {
		display: none;
	}

	.sm-header__actions {
		gap: 8px;
	}
}

/* Zwischen 1280 und 1439 px: die Zusatzzeile und die Telefonnummer sind
   wieder vollstaendig sichtbar. Damit alles in eine Zeile passt, ruecken
   Navigation und Aktionen etwas zusammen - kein Menuepunkt entfaellt und
   das Logo behaelt seine Groesse. */
@media (min-width: 1280px) and (max-width: 1439.98px) {
	.sm-nav {
		margin-left: 1.5rem;
	}

	.sm-menu > li > a {
		padding: 9px 7px;
	}

	.sm-menu > li.menu-item-has-children > a {
		padding-right: 27px;
	}

	.sm-header__actions {
		gap: 10px;
	}
}

/* Ab 1280 px: breitere Raster und der grosse Hero. */
@media (min-width: 1280px) {
	.sm-grid--cards:not(.sm-grid--3) {
		grid-template-columns: repeat(4, 1fr);
	}

	.sm-gallery {
		grid-template-columns: repeat(4, 1fr);
	}

	.sm-hero {
		min-height: 70vh;
		display: flex;
		align-items: center;
		padding-block: 64px 72px;
	}

	/* fr statt Prozent: bei Prozentwerten kaeme der Gap oben drauf und die
	   rechte Spalte wuerde aus dem Viewport laufen. */
	.sm-hero__inner {
		grid-template-columns: minmax(0, 55fr) minmax(0, 45fr);
		gap: 56px;
		width: 100%;
	}

	.sm-hero__title {
		font-size: clamp(2.75rem, 4.5vw, 4rem);
	}
}

@media (min-width: 1440px) {
	.sm-menu > li > a {
		padding: 9px 12px;
		font-size: 1rem;
	}

	.sm-header__actions {
		gap: 16px;
	}

	.sm-areas {
		grid-template-columns: repeat(5, 1fr);
	}
}

/* =========================================================================
   24. Bewegung reduzieren
   ====================================================================== */

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

	/* Reveal: keine Verschiebung, nur ein sehr kurzes Aufblenden. */
	.js .reveal {
		transform: none;
	}

	/* Hero: alles sofort sichtbar, keine Partikelbewegung, kein Streifen. */
	.js .sm-hero--decor .sm-overline,
	.js .sm-hero--decor .sm-hero__rest,
	.js .sm-hero--decor .sm-hero__lead,
	.js .sm-hero--decor .sm-hero__actions,
	.js .sm-hero--decor .sm-trustline,
	.js .sm-hero--decor .sm-hero__media {
		animation: none;
		opacity: 1;
		transform: none;
	}

	.js .sm-hero--decor .sm-hero__shine {
		animation: none;
		background: none;
		color: var(--sm-dark);
		-webkit-text-fill-color: currentColor;
		clip-path: none;
	}

	.sm-hero__particles span,
	.sm-hero__particles i {
		animation: none;
	}

	.sm-hero__particles i {
		opacity: .2;
	}

	.sm-hero__bg {
		transform: none !important;
	}

	*,
	*::before,
	*::after {
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
	}

	.sm-card:hover {
		transform: none;
	}

	.sm-whatsapp:hover {
		transform: none;
	}

	/* Muss nach dem globalen Zuruecksetzen stehen, sonst bliebe das
	   Aufblenden bei 0,01 ms und der Inhalt wuerde hart aufpoppen. */
	.js .reveal.is-visible {
		transform: none;
		transition: opacity .2s linear !important;
		transition-delay: 0ms !important;
	}
}

/* =========================================================================
   25. Druck
   ====================================================================== */

@media print {
	.sm-header,
	.sm-footer,
	.sm-stickybar,
	.sm-whatsapp,
	.sm-section--cta,
	.sm-breadcrumb,
	.sm-map,
	.sm-lightbox {
		display: none !important;
	}

	body {
		padding-bottom: 0;
		color: #000;
	}

	.sm-section {
		padding-block: 16px;
	}
}
