/*
Theme Name: STEINMARK
Theme URI: https://steinmark.ch
Author: Steinmark GmbH
Author URI: https://steinmark.ch
Description: Premium-Theme für die Steinmark GmbH — Schweizer Baurealisierung: vom einzelnen Gewerk bis zur schlüsselfertigen Gesamtsanierung. Klares Schweizer Design, Anthrazit & Tannengrün, vollständig über den Customizer pflegbar.
Version: 7.8.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: Proprietary
Text Domain: steinmark
Tags: business, custom-logo, custom-menu, featured-images, portfolio
*/

/* =====================================================
   0 · SCHRIFTEN (lokal gehostet — kein Google-Abruf)
   sm-fontface-start
   ===================================================== */
@font-face {
	font-family: "Inter"; font-style: normal; font-weight: 300; font-display: swap;
	src: url("assets/fonts/inter-latin-300-normal.woff2") format("woff2");
}
@font-face {
	font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap;
	src: url("assets/fonts/inter-latin-400-normal.woff2") format("woff2");
}
@font-face {
	font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap;
	src: url("assets/fonts/inter-latin-500-normal.woff2") format("woff2");
}
@font-face {
	font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap;
	src: url("assets/fonts/inter-latin-600-normal.woff2") format("woff2");
}
@font-face {
	font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap;
	src: url("assets/fonts/inter-latin-700-normal.woff2") format("woff2");
}
/* sm-fontface-end */

/* =====================================================
   1 · DESIGN TOKENS
   ===================================================== */
:root {
	/* Farben — abgeleitet aus der Wortmarke */
	--sm-ink:        #14191A;   /* Anthrazit (Logo) */
	--sm-ink-deep:   #0E1213;   /* dunkelste Flächen */
	--sm-green:      #5F705A;   /* Tannengrün (Logo) */
	--sm-green-deep: #46543F;   /* Grün für Text auf hell */
	--sm-green-pale: #B8C9AC;   /* Salbei (Logo hell) */
	--sm-paper:      #F6F4EF;   /* warmes Off-White */
	--sm-stone:      #EAE6DD;   /* Naturstein / Beige */
	--sm-line:       #E1DDD3;   /* Linien auf hell */
	--sm-line-dark:  rgba(255,255,255,.14);
	--sm-white:      #FFFFFF;
	--sm-text:       #22272A;
	--sm-muted:      #6C7370;
	--sm-muted-dark: #A6ADA9;   /* gedämpfter Text auf dunkel */

	/* Typografie */
	--sm-font: "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;

	/* Geometrie */
	--sm-radius: 2px;
	--sm-container: 1240px;
	--sm-gutter: clamp(20px, 4vw, 48px);
	--sm-section: clamp(84px, 11vw, 150px);
	--sm-ease: cubic-bezier(.22,.61,.36,1);
}

/* =====================================================
   2 · BASIS
   ===================================================== */
*, *::before, *::after { box-sizing: border-box; }

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

body {
	margin: 0;
	font-family: var(--sm-font);
	font-size: 17px;
	line-height: 1.65;
	color: var(--sm-text);
	background: var(--sm-white);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; transition: color .25s var(--sm-ease); }
p a, li a { text-decoration: underline; text-decoration-color: var(--sm-green); text-underline-offset: 3px; }
p a:hover, li a:hover { color: var(--sm-green-deep); }

/* Navigations- und UI-Links: keine Unterstreichung (überschreibt li a) */
.nav-menu a, .mobile-menu a, .footer-menu a, .sm-mobile-bar a,
.sm-arrow, .btn, .sm-logo, .sm-nav-phone {
	text-decoration: none;
}

h1, h2, h3, h4 {
	margin: 0 0 .5em;
	font-weight: 600;
	line-height: 1.12;
	letter-spacing: -0.022em;
	color: var(--sm-ink);
	text-wrap: balance;
}

::selection { background: var(--sm-green); color: #fff; }

.sm-container {
	max-width: var(--sm-container);
	margin: 0 auto;
	padding-left: var(--sm-gutter);
	padding-right: var(--sm-gutter);
}

/* Accessibility */
.screen-reader-text {
	clip: rect(1px,1px,1px,1px); clip-path: inset(50%);
	height: 1px; width: 1px; overflow: hidden; position: absolute !important;
}
.skip-link:focus {
	clip: auto !important; clip-path: none; width: auto; height: auto;
	position: fixed; top: 12px; left: 12px; z-index: 9999;
	padding: 12px 20px; background: var(--sm-ink); color: var(--sm-paper);
	border: 1px solid var(--sm-green); border-radius: var(--sm-radius); font-size: 14px;
}
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible, summary:focus-visible {
	outline: 2px solid var(--sm-green); outline-offset: 3px; border-radius: var(--sm-radius);
}

/* WP Admin-Bar */
.admin-bar .sm-nav { top: 32px; }
@media (max-width: 782px) { .admin-bar .sm-nav { top: 46px; } }

/* =====================================================
   3 · TYPO-BAUSTEINE
   ===================================================== */
.sm-eyebrow {
	display: inline-flex; align-items: center; gap: 12px;
	margin: 0 0 20px; font-size: 13px; font-weight: 600;
	letter-spacing: .16em; text-transform: uppercase; color: var(--sm-green-deep);
}
.sm-eyebrow::before {
	content: ""; width: 28px; height: 2px; background: var(--sm-green); flex: none;
}
.sm-eyebrow-light { color: var(--sm-green-pale); }

.sm-title { font-size: clamp(30px, 4.4vw, 48px); max-width: 22ch; }
.sm-head.center { text-align: center; }
.sm-head.center .sm-title, .sm-head.center .sm-lead { margin-left: auto; margin-right: auto; }
.sm-head.center .sm-eyebrow { justify-content: center; }

.sm-lead {
	font-size: clamp(17px, 1.6vw, 20px); line-height: 1.7;
	color: var(--sm-muted); max-width: 62ch; margin: 0;
}
.sm-head { margin-bottom: clamp(40px, 6vw, 72px); }

.sm-meta {
	font-size: 13px; letter-spacing: .12em; text-transform: uppercase;
	color: var(--sm-muted); margin: 0 0 10px;
}

/* Listen mit Logo-Dreieck als Marker */
.sm-list { list-style: none; margin: 24px 0 0; padding: 0; }
.sm-list li {
	position: relative; padding: 10px 0 10px 30px;
	border-bottom: 1px solid var(--sm-line);
}
.sm-list li::before {
	content: "▲"; position: absolute; left: 2px; top: 12px;
	font-size: 10px; color: var(--sm-green);
}

/* =====================================================
   4 · BUTTONS
   ===================================================== */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	padding: 15px 32px; border: 1px solid transparent; border-radius: var(--sm-radius);
	font-family: var(--sm-font); font-size: 15px; font-weight: 500; line-height: 1;
	letter-spacing: .01em; cursor: pointer; text-decoration: none;
	transition: background .25s var(--sm-ease), color .25s var(--sm-ease),
	            border-color .25s var(--sm-ease), transform .25s var(--sm-ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-dark  { background: var(--sm-ink); color: #fff; }
.btn-dark:hover { background: var(--sm-green-deep); color: #fff; }

.btn-green { background: var(--sm-green); color: #fff; }
.btn-green:hover { background: var(--sm-green-deep); color: #fff; }

.btn-light { background: #fff; color: var(--sm-ink); }
.btn-light:hover { background: var(--sm-stone); }

.btn-ghost { background: transparent; color: var(--sm-ink); border-color: var(--sm-ink); }
.btn-ghost:hover { background: var(--sm-ink); color: #fff; }

.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn-ghost-light:hover { border-color: #fff; background: rgba(255,255,255,.08); color: #fff; }

.btn-sm { padding: 11px 22px; font-size: 14px; }
.btn-lg { padding: 18px 40px; font-size: 16px; }

/* Textlink mit Pfeil */
.sm-arrow {
	display: inline-flex; align-items: center; gap: 8px;
	font-weight: 600; font-size: 15px; color: var(--sm-ink);
}
.sm-arrow::after { content: "→"; transition: transform .25s var(--sm-ease); color: var(--sm-green); }
.sm-arrow:hover::after { transform: translateX(5px); }

/* =====================================================
   5 · NAVIGATION (Sticky)
   ===================================================== */
.sm-nav {
	position: fixed; top: 0; left: 0; right: 0; z-index: 900;
	background: rgba(255,255,255,.92);
	-webkit-backdrop-filter: saturate(160%) blur(14px);
	backdrop-filter: saturate(160%) blur(14px);
	border-bottom: 1px solid transparent;
	transition: border-color .3s var(--sm-ease), box-shadow .3s var(--sm-ease);
}
.sm-nav.is-scrolled { border-bottom-color: var(--sm-line); }

.sm-nav-inner {
	display: flex; align-items: center; justify-content: space-between;
	gap: 20px; height: 76px;
	transition: height .3s var(--sm-ease);
}
.sm-nav.is-scrolled .sm-nav-inner { height: 62px; }
.sm-nav-actions .btn, .sm-nav-phone { white-space: nowrap; }
.sm-logo img, .custom-logo { width: auto; height: 44px; max-width: min(60vw, 300px); object-fit: contain; transition: height .3s var(--sm-ease); }
.sm-nav.is-scrolled .sm-logo img, .sm-nav.is-scrolled .custom-logo { height: 36px; }
@media (max-width: 700px) { .sm-logo img, .custom-logo { height: 36px; } .sm-nav.is-scrolled .sm-logo img, .sm-nav.is-scrolled .custom-logo { height: 32px; } }

/* Anker landen nicht unter dem Sticky-Header */
[id] { scroll-margin-top: 96px; }

.nav-menu { display: flex; list-style: none; margin: 0; padding: 0; gap: 2px; }
.nav-menu > li { position: relative; }
.nav-menu > li > a {
	display: block; padding: 10px 11px; font-size: 14.5px; font-weight: 500;
	color: var(--sm-ink); border-radius: var(--sm-radius); white-space: nowrap;
}
.nav-menu > li > a:hover { color: var(--sm-green-deep); }
.nav-menu > li.current-menu-item > a,
.nav-menu > li.current-menu-ancestor > a { box-shadow: inset 0 -2px 0 var(--sm-green); }

/* Mega-Dropdown (2. Ebene) — zweispaltiges Panel */
.nav-menu li ul {
	position: absolute; top: calc(100% + 14px); left: -10px;
	display: grid; grid-template-columns: repeat(2, minmax(230px, 1fr)); gap: 2px;
	list-style: none; margin: 0; padding: 14px;
	background: #fff; border: 1px solid var(--sm-line); border-radius: 6px;
	box-shadow: 0 30px 70px -24px rgba(20,25,26,.3);
	opacity: 0; visibility: hidden; transform: translateY(10px);
	transition: opacity .25s var(--sm-ease), transform .25s var(--sm-ease), visibility .25s;
}
.nav-menu li ul::before {
	content: ""; position: absolute; top: -14px; left: 0; right: 0; height: 14px;
}
.nav-menu li:hover > ul, .nav-menu li:focus-within > ul {
	opacity: 1; visibility: visible; transform: translateY(0);
}
.nav-menu li ul a {
	display: block; padding: 11px 14px; font-size: 14.5px; font-weight: 500;
	border-radius: 3px; border-left: 2px solid transparent;
}
.nav-menu li ul a:hover {
	background: var(--sm-paper); color: var(--sm-green-deep);
	border-left-color: var(--sm-green);
}
.nav-menu li ul li:last-child a { color: var(--sm-green-deep); }

.sm-nav-actions { display: flex; align-items: center; gap: 20px; }
.sm-nav-phone { font-size: 15px; font-weight: 600; color: var(--sm-ink); white-space: nowrap; }
.sm-nav-phone:hover { color: var(--sm-green-deep); }

/* Burger */
.sm-burger {
	display: none; flex-direction: column; justify-content: center; gap: 5px;
	width: 44px; height: 44px; padding: 10px; background: none; border: 0; cursor: pointer;
}
.sm-burger span {
	display: block; height: 2px; background: var(--sm-ink);
	transition: transform .3s var(--sm-ease), opacity .3s var(--sm-ease);
}
.sm-burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.sm-burger.is-open span:nth-child(2) { opacity: 0; }
.sm-burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Overlay */
.sm-mobile[hidden] { display: none !important; }
.sm-mobile {
	position: fixed; inset: 0; z-index: 890; padding: 110px var(--sm-gutter) 40px;
	background: var(--sm-ink-deep); color: #fff;
	display: flex; flex-direction: column; justify-content: space-between;
	overflow-y: auto;
}
.mobile-menu { list-style: none; margin: 0; padding: 0; }
.mobile-menu a {
	display: block; padding: 16px 0; font-size: clamp(24px, 6vw, 32px);
	font-weight: 600; letter-spacing: -0.02em; color: #fff;
	border-bottom: 1px solid var(--sm-line-dark);
}
.mobile-menu a:hover { color: var(--sm-green-pale); }
.sm-mobile-contact { display: grid; gap: 12px; margin-top: 40px; }

/* =====================================================
   6 · SEKTIONEN
   ===================================================== */
.sm-section { padding: var(--sm-section) 0; }
.sm-section-paper { background: var(--sm-paper); }
.sm-section-stone { background: var(--sm-stone); }
.sm-section-dark, .sm-section-darkest { background: var(--sm-ink); color: var(--sm-muted-dark); }
.sm-section-darkest { background: var(--sm-ink-deep); }

.sm-section-dark h1, .sm-section-dark h2, .sm-section-dark h3, .sm-section-dark h4,
.sm-section-darkest h1, .sm-section-darkest h2, .sm-section-darkest h3, .sm-section-darkest h4 { color: #fff; }
.sm-section-dark .sm-lead, .sm-section-darkest .sm-lead { color: var(--sm-muted-dark); }
.sm-section-dark .sm-eyebrow, .sm-section-darkest .sm-eyebrow { color: var(--sm-green-pale); }
.sm-section-dark .sm-list li, .sm-section-darkest .sm-list li { border-color: var(--sm-line-dark); }

/* =====================================================
   7 · HERO
   ===================================================== */
.sm-hero {
	position: relative; min-height: 100svh;
	display: flex; align-items: flex-end;
	background: var(--sm-ink-deep); color: #fff;
	padding: 180px 0 clamp(64px, 9vh, 110px);
	overflow: hidden;
}
.sm-hero-bg {
	position: absolute; inset: 0; z-index: 0;
	background-size: cover; background-position: center;
}
.sm-hero-bg img { width: 100%; height: 100%; object-fit: cover; }

/* Ohne Hero-Bild: edler dunkler Verlauf mit Grün-Schimmer statt Platzhalterfläche */
.sm-hero-bg-default {
	background:
		radial-gradient(1200px 600px at 85% 10%, rgba(95,112,90,.22) 0%, transparent 60%),
		radial-gradient(900px 500px at 10% 90%, rgba(184,201,172,.08) 0%, transparent 55%),
		linear-gradient(160deg, #171D1E 0%, #0E1213 70%);
}
.sm-hero-hint {
	position: absolute; left: var(--sm-gutter); top: 100px; z-index: 3;
	font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
	color: rgba(255,255,255,.45); border: 1px dashed rgba(255,255,255,.25);
	border-radius: 100px; padding: 7px 14px;
}
.sm-hero::after {
	content: ""; position: absolute; inset: 0; z-index: 1;
	background: linear-gradient(180deg, rgba(14,18,19,.35) 0%, rgba(14,18,19,.55) 55%, rgba(14,18,19,.9) 100%);
}
.sm-hero-inner { position: relative; z-index: 2; width: 100%; }

.sm-hero h1 {
	font-size: clamp(42px, 7.2vw, 84px); font-weight: 650;
	letter-spacing: -0.032em; line-height: 1.04; color: #fff;
	max-width: 15ch; margin-bottom: 28px; white-space: pre-line;
}
.sm-hero .sm-lead { color: rgba(255,255,255,.82); max-width: 56ch; font-size: clamp(17px,1.8vw,21px); }
.sm-hero-cta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 44px; }

.sm-hero-badges {
	display: flex; flex-wrap: wrap; gap: 10px 36px; margin-top: 56px;
	padding-top: 28px; border-top: 1px solid var(--sm-line-dark);
	font-size: 14px; color: rgba(255,255,255,.72); letter-spacing: .02em;
}
.sm-hero-badges span { display: inline-flex; align-items: center; gap: 10px; }
.sm-hero-badges span::before { content: "▲"; font-size: 8px; color: var(--sm-green-pale); }

.sm-scroll-hint {
	position: absolute; right: var(--sm-gutter); bottom: 40px; z-index: 2;
	width: 1px; height: 72px; background: rgba(255,255,255,.35); overflow: hidden;
}
.sm-scroll-hint::after {
	content: ""; position: absolute; top: -40%; left: 0; width: 100%; height: 40%;
	background: #fff; animation: sm-scroll 2.2s var(--sm-ease) infinite;
}
@keyframes sm-scroll { 0% { top: -40%; } 100% { top: 110%; } }

/* =====================================================
   8 · KARTEN & GRIDS
   ===================================================== */
.sm-grid { display: grid; gap: 28px; }
.sm-grid-2 { grid-template-columns: repeat(2, 1fr); }
.sm-grid-3 { grid-template-columns: repeat(3, 1fr); }
.sm-grid-4 { grid-template-columns: repeat(4, 1fr); }

.sm-card {
	display: flex; flex-direction: column;
	background: #fff; border: 1px solid var(--sm-line); border-radius: 4px;
	overflow: hidden;
	transition: transform .35s var(--sm-ease), border-color .35s var(--sm-ease), box-shadow .35s var(--sm-ease);
}
.sm-card:hover {
	transform: translateY(-6px); border-color: var(--sm-green);
	box-shadow: 0 30px 60px -30px rgba(20,25,26,.28);
}
.sm-card-media { aspect-ratio: 4 / 3; overflow: hidden; }
.sm-card-media img, .sm-card-media .sm-ph { width: 100%; height: 100%; object-fit: cover; }
.sm-card-media img { transition: transform .6s var(--sm-ease); }
.sm-card:hover .sm-card-media img { transform: scale(1.045); }

.sm-card-body { padding: 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.sm-card-body h3 { font-size: 21px; margin: 0; }
.sm-card-body p { margin: 0; color: var(--sm-muted); font-size: 15.5px; }
.sm-card-body .sm-arrow { margin-top: auto; padding-top: 16px; }

/* dunkle Karten */
.sm-section-dark .sm-card, .sm-section-darkest .sm-card {
	background: rgba(255,255,255,.03); border-color: var(--sm-line-dark);
}
.sm-section-dark .sm-card-body p { color: var(--sm-muted-dark); }
.sm-section-dark .sm-card-body h3 { color: #fff; }
.sm-section-dark .sm-arrow { color: #fff; }

/* =====================================================
   9 · BILD-PLATZHALTER
   ===================================================== */
.sm-ph {
	display: flex; flex-direction: column; align-items: center; justify-content: center;
	gap: 12px; aspect-ratio: 4 / 3; width: 100%;
	background:
		linear-gradient(135deg, var(--sm-stone) 0%, var(--sm-paper) 100%);
	border: 1px dashed #C9C3B5; border-radius: 4px;
	color: var(--sm-muted); text-align: center; padding: 20px;
}
.sm-ph-mark { font-size: 20px; color: var(--sm-green); opacity: .75; }
.sm-ph-hint { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.sm-ph-wide { aspect-ratio: 16 / 9; }
.sm-ph-tall { aspect-ratio: 3 / 4; }
.sm-img { border-radius: 4px; }

/* Admin: Platzhalter ist klickbar und führt zum Customizer */
.sm-ph-link { display: block; text-decoration: none; }
.sm-ph-link .sm-ph { transition: border-color .25s var(--sm-ease), background .25s var(--sm-ease); }
.sm-ph-link:hover .sm-ph { border-color: var(--sm-green); }
.sm-ph-hint em { display: inline-block; margin-top: 6px; font-style: normal; color: var(--sm-green-deep); text-transform: none; letter-spacing: .02em; }

/* =====================================================
   10 · KENNZAHLEN
   ===================================================== */
.sm-stats {
	display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px;
	margin-top: clamp(40px, 6vw, 72px);
}
.sm-stat { border-top: 2px solid var(--sm-green); padding-top: 22px; }
.sm-stat-num {
	display: block; font-size: clamp(40px, 4.6vw, 62px);
	font-weight: 300; letter-spacing: -0.03em; line-height: 1; color: var(--sm-ink);
}
.sm-section-dark .sm-stat-num, .sm-section-darkest .sm-stat-num { color: #fff; }
.sm-stat-label {
	display: block; margin-top: 12px; font-size: 14.5px; color: var(--sm-muted);
}
.sm-section-dark .sm-stat-label, .sm-section-darkest .sm-stat-label { color: var(--sm-muted-dark); }

/* =====================================================
   11 · ABLAUF / TIMELINE
   ===================================================== */
.sm-timeline { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.sm-timeline li {
	position: relative; display: grid;
	grid-template-columns: 96px 1fr; gap: 28px;
	padding: 34px 0; border-bottom: 1px solid var(--sm-line);
	counter-increment: step;
}
.sm-timeline li::before {
	content: counter(step, decimal-leading-zero);
	font-size: 34px; font-weight: 300; letter-spacing: -0.02em;
	color: var(--sm-green-deep); line-height: 1.1;
}
.sm-timeline h3 { font-size: 20px; margin-bottom: 6px; }
.sm-timeline p { margin: 0; color: var(--sm-muted); max-width: 66ch; }

/* =====================================================
   12 · REFERENZEN
   ===================================================== */
.sm-filter { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 44px; }
.sm-filter button {
	padding: 10px 20px; font-family: var(--sm-font); font-size: 14px; font-weight: 500;
	background: transparent; color: var(--sm-ink);
	border: 1px solid var(--sm-line); border-radius: 100px; cursor: pointer;
	transition: all .25s var(--sm-ease);
}
.sm-filter button:hover { border-color: var(--sm-green); color: var(--sm-green-deep); }
.sm-filter button.is-active { background: var(--sm-ink); border-color: var(--sm-ink); color: #fff; }

.sm-projekt-hero { padding-top: 150px; }
.sm-specs {
	display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 0; border: 1px solid var(--sm-line); border-radius: 4px; overflow: hidden;
	margin: 40px 0;
}
.sm-spec { padding: 24px 28px; background: #fff; border-right: 1px solid var(--sm-line); }
.sm-spec:last-child { border-right: 0; }
.sm-spec dt { font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--sm-muted); margin-bottom: 6px; }
.sm-spec dd { margin: 0; font-size: 17px; font-weight: 600; color: var(--sm-ink); }

.sm-two-col { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 6vw, 88px); align-items: start; }

/* =====================================================
   12b · ZIELGRUPPEN («Für wen wir bauen»)
   ===================================================== */
.sm-aud { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--sm-line); }
.sm-aud-item {
	padding: 34px 28px 34px 0; border-bottom: 1px solid var(--sm-line);
	position: relative;
}
.sm-aud-item::before {
	content: "▲"; font-size: 9px; color: var(--sm-green);
	display: block; margin-bottom: 14px;
	transition: transform .3s var(--sm-ease);
}
.sm-aud-item:hover::before { transform: translateX(6px); }
.sm-aud-item h3 { font-size: 18px; margin-bottom: 8px; }
.sm-aud-item p { margin: 0; font-size: 15px; color: var(--sm-muted); line-height: 1.65; }

/* =====================================================
   12c · VORHER / NACHHER SLIDER
   ===================================================== */
.sm-ba {
	position: relative; aspect-ratio: 16 / 10; overflow: hidden;
	border-radius: 4px; user-select: none;
	--ba: 50%;
}
.sm-ba > img, .sm-ba > .sm-ph {
	position: absolute; inset: 0; width: 100%; height: 100%;
	object-fit: cover; aspect-ratio: auto; margin: 0;
}
.sm-ba-after { clip-path: inset(0 0 0 var(--ba)); }
.sm-ba-handle {
	position: absolute; top: 0; bottom: 0; left: var(--ba); width: 2px;
	background: #fff; z-index: 3; pointer-events: none;
	box-shadow: 0 0 0 1px rgba(20,25,26,.15);
}
.sm-ba-handle::after {
	content: "◂ ▸"; position: absolute; top: 50%; left: 50%;
	transform: translate(-50%,-50%);
	display: flex; align-items: center; justify-content: center;
	width: 46px; height: 46px; border-radius: 50%;
	background: #fff; color: var(--sm-ink); font-size: 12px; letter-spacing: 1px;
	box-shadow: 0 8px 24px -6px rgba(20,25,26,.4);
}
.sm-ba-label {
	position: absolute; top: 16px; z-index: 2;
	padding: 6px 12px; border-radius: 100px;
	background: rgba(14,18,19,.72); color: #fff;
	font-size: 12px; letter-spacing: .1em; text-transform: uppercase;
	-webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.sm-ba-label-vorher { left: 16px; }
.sm-ba-label-nachher { right: 16px; z-index: 4; }
/* Platzhalter-Hinweise in die jeweilige Bildhälfte rücken */
.sm-ba > .sm-ph:not(.sm-ba-after) { padding-right: 54%; }
.sm-ba > .sm-ph.sm-ba-after { padding-left: 54%; }

.sm-ba input[type="range"] {
	position: absolute; inset: 0; z-index: 5; width: 100%; height: 100%;
	margin: 0; opacity: 0; cursor: ew-resize;
	-webkit-appearance: none; appearance: none;
}

/* =====================================================
   12d · KOSTENRECHNER
   ===================================================== */
.sm-calc-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(32px, 5vw, 64px); align-items: start; }

.sm-calc-controls h3 {
	display: flex; align-items: center; gap: 14px;
	font-size: 19px; margin: 44px 0 18px;
}
.sm-calc-controls h3:first-child { margin-top: 0; }
.sm-calc-controls h3 span {
	display: inline-flex; align-items: center; justify-content: center; flex: none;
	width: 32px; height: 32px; border-radius: 50%;
	background: var(--sm-green); color: #fff; font-size: 15px; font-weight: 600;
}

.sm-calc-opts { display: flex; flex-wrap: wrap; gap: 10px; }
.sm-calc-cat-label { margin: 16px 0 8px; font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sm-muted); }


/* Mobile: Referenz-Galerie als Swipe-Strecke (Scroll-Snap) */
@media (max-width: 700px) {
	.sm-ref-gallery { display: flex !important; grid-template-columns: none; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; padding-bottom: 8px; -webkit-overflow-scrolling: touch; }
	.sm-ref-gallery > * { flex: 0 0 84%; scroll-snap-align: start; }
}

/* 3D-Tilt: weicher Rücklauf */
.sm-card { transition: transform .45s var(--sm-ease), box-shadow .45s var(--sm-ease); }
.sm-card:hover { box-shadow: 0 24px 48px rgba(20, 25, 26, 0.14); }

/* Rückruf-Zeile im Kontaktformular */
.sm-callback { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; padding: 14px 16px; background: var(--sm-paper, #F7F6F3); border: 1px solid rgba(20, 25, 26, 0.08); border-radius: 10px; }
.sm-callback-zeit { display: flex; align-items: center; gap: 10px; font-size: 14px; margin: 0 !important; }
.sm-callback-zeit select { padding: 8px 12px; }

/* Kundenzitat auf Referenzseiten */
.sm-ref-quote { max-width: 760px; margin: 56px 0 0; padding: 28px 32px; border-left: 3px solid var(--sm-green); background: var(--sm-paper, #F7F6F3); border-radius: 0 10px 10px 0; }
.sm-ref-quote p { font-size: 21px; line-height: 1.5; font-weight: 500; margin: 0; }
.sm-ref-quote cite { display: block; margin-top: 12px; font-style: normal; font-size: 14px; color: var(--sm-muted); }
.sm-calc-opts button {
	display: flex; flex-direction: column; gap: 3px; text-align: left;
	padding: 13px 20px; font-family: var(--sm-font); font-size: 15px; font-weight: 600;
	color: var(--sm-ink); background: #fff;
	border: 1px solid var(--sm-line); border-radius: 4px; cursor: pointer;
	transition: all .22s var(--sm-ease);
}
.sm-calc-opts button small { font-size: 12.5px; font-weight: 400; color: var(--sm-muted); }
.sm-calc-opts button:hover { border-color: var(--sm-green); transform: translateY(-2px); }
.sm-calc-opts button.is-active { background: var(--sm-ink); border-color: var(--sm-ink); color: #fff; }
.sm-calc-opts button.is-active small { color: var(--sm-muted-dark); }

.sm-calc-size-row { font-size: 15.5px; color: var(--sm-muted); margin: 0 0 10px; }
.sm-calc-size-row strong { color: var(--sm-ink); font-size: 18px; }
#sm-calc-size {
	width: 100%; margin: 4px 0 2px; accent-color: var(--sm-green); cursor: ew-resize;
	height: 32px;
}
.sm-calc-scale {
	display: flex; justify-content: space-between;
	font-size: 12.5px; color: var(--sm-muted); margin-bottom: 8px;
}

.sm-calc-result {
	position: sticky; top: 110px;
	display: flex; flex-direction: column; gap: 16px;
	background: var(--sm-ink-deep); color: var(--sm-muted-dark);
	padding: 36px; border-radius: 6px;
}
.sm-calc-eyebrow {
	margin: 0; font-size: 12.5px; font-weight: 600;
	letter-spacing: .15em; text-transform: uppercase; color: var(--sm-green-pale);
}
.sm-calc-range {
	margin: 0; font-size: clamp(28px, 3.2vw, 42px); font-weight: 300;
	letter-spacing: -0.02em; color: #fff; line-height: 1.1; min-height: 1.1em;
}
.sm-calc-summary { margin: 0; font-size: 14.5px; color: #fff; }
.sm-calc-bkp {
	margin: 0; font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
	color: var(--sm-green-pale);
}
.sm-calc-bkp:empty { display: none; }
.sm-calc-note { margin: 0; font-size: 13.5px; line-height: 1.6; }
.sm-calc-result .btn { width: 100%; }

.sm-calc-dauer {
	margin: 0; font-size: 14.5px; color: var(--sm-muted-dark);
	padding-bottom: 4px; border-bottom: 1px solid var(--sm-line-dark);
}
.sm-calc-dauer strong { color: #fff; font-weight: 600; }

.sm-calc-print {
	background: none; border: 0; cursor: pointer; padding: 4px 0;
	font-family: var(--sm-font); font-size: 13px; color: var(--sm-muted-dark);
	text-decoration: underline; text-underline-offset: 3px;
	transition: color .2s var(--sm-ease);
}
.sm-calc-print:hover { color: #fff; }

.sm-print-only { display: none; }

/* FAQ-Suche */
.sm-faq-searchbar { margin-bottom: 36px; }
.sm-faq-searchbar input {
	width: 100%; padding: 16px 20px; font-family: var(--sm-font); font-size: 16.5px;
	color: var(--sm-text); background: #fff;
	border: 1px solid var(--sm-line); border-radius: 4px;
	transition: border-color .25s var(--sm-ease);
}
.sm-faq-searchbar input:focus { border-color: var(--sm-green); outline: none; }
.sm-faq-searchbar p { margin: 14px 0 0; color: var(--sm-muted); font-size: 15px; }

.sm-calc-h-note { font-size: 13px; font-weight: 400; color: var(--sm-muted); }
.sm-calc-noopts { margin: 0; font-size: 14px; color: var(--sm-muted); }

/* Förder-/Steuer-Zeilen im Resultat */
.sm-calc-extra {
	font-size: 13.5px; color: var(--sm-muted-dark); line-height: 1.5;
	padding-bottom: 6px; border-bottom: 1px solid var(--sm-line-dark);
}
.sm-calc-extra strong { color: var(--sm-green-pale); font-weight: 600; }
.sm-calc-extra select {
	background: transparent; color: #fff; border: 1px solid var(--sm-line-dark);
	border-radius: 3px; padding: 2px 4px; font-family: var(--sm-font); font-size: 13px;
	cursor: pointer;
}

/* E-Mail-Zustellung */
.sm-calc-mail { display: flex; gap: 8px; }
.sm-calc-mail input[type="email"] {
	flex: 1; min-width: 0; padding: 12px 14px;
	font-family: var(--sm-font); font-size: 14.5px;
	background: rgba(255,255,255,.06); color: #fff;
	border: 1px solid var(--sm-line-dark); border-radius: var(--sm-radius);
}
.sm-calc-mail input[type="email"]::placeholder { color: var(--sm-muted-dark); }
.sm-calc-mail input[type="email"]:focus { border-color: var(--sm-green-pale); outline: none; }
.sm-calc-mail .btn { width: auto; padding: 12px 18px; font-size: 14px; }
.sm-calc-mailok {
	margin: 0; padding: 10px 14px; font-size: 14px;
	background: rgba(184,201,172,.15); border-left: 2px solid var(--sm-green-pale);
	border-radius: 0 3px 3px 0; color: #fff;
}

/* Projektliste */
.sm-calc-cart {
	margin-top: 28px; padding: 28px 32px;
	background: #fff; border: 1px solid var(--sm-line); border-radius: 6px;
}
.sm-calc-cart h3 { font-size: 20px; margin-bottom: 16px; }
.sm-calc-cart ul { list-style: none; margin: 0 0 16px; padding: 0; }
.sm-calc-cart li {
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
	padding: 12px 0; border-bottom: 1px solid var(--sm-line);
	font-size: 14.5px; color: var(--sm-text);
}
.sm-calc-cart-rm {
	flex: none; width: 28px; height: 28px; border-radius: 50%;
	background: var(--sm-paper); border: 1px solid var(--sm-line);
	font-size: 16px; line-height: 1; color: var(--sm-muted); cursor: pointer;
	transition: all .2s var(--sm-ease);
}
.sm-calc-cart-rm:hover { border-color: #B08968; color: #7A5C3E; }
.sm-calc-cart-total { font-size: 17px; color: var(--sm-ink); margin: 0 0 6px; }
.sm-calc-cart-total strong { font-size: 22px; letter-spacing: -0.01em; }
.sm-calc-cart-note { font-size: 13.5px; color: var(--sm-green-deep); margin: 0 0 18px; }

/* Preisband: Auswahl zwischen Standard und Premium */
.sm-calc-band-wrap { padding-bottom: 6px; border-bottom: 1px solid var(--sm-line-dark); }
.sm-calc-band {
	position: relative; height: 6px; border-radius: 3px;
	background: rgba(255,255,255,.14);
}
.sm-calc-band-fill {
	position: absolute; top: 0; bottom: 0; border-radius: 3px;
	background: var(--sm-green-pale);
	transition: left .4s var(--sm-ease), width .4s var(--sm-ease);
}
.sm-calc-band-labels {
	display: flex; justify-content: space-between; margin-top: 7px;
	font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
	color: var(--sm-muted-dark);
}
.sm-calc-band-labels span:nth-child(2) { color: var(--sm-green-pale); }

/* Kostenaufteilung */
.sm-calc-split-wrap { padding-bottom: 6px; border-bottom: 1px solid var(--sm-line-dark); }
.sm-calc-split { display: flex; height: 8px; border-radius: 3px; overflow: hidden; }
.sm-calc-split span { transition: width .4s var(--sm-ease); }
.sm-calc-split span:nth-child(1) { background: var(--sm-green-pale); }
.sm-calc-split span:nth-child(2) { background: var(--sm-green); }
.sm-calc-split span:nth-child(3) { background: rgba(255,255,255,.3); }
.sm-calc-split-legend {
	display: flex; gap: 14px; margin: 7px 0 0;
	font-size: 11px; letter-spacing: .06em; text-transform: uppercase;
	color: var(--sm-muted-dark);
}
.sm-calc-split-legend span { display: inline-flex; align-items: center; gap: 5px; }
.sm-calc-split-legend span::before { content: ""; width: 8px; height: 8px; border-radius: 2px; }
.sm-calc-split-legend span:nth-child(1)::before { background: var(--sm-green-pale); }
.sm-calc-split-legend span:nth-child(2)::before { background: var(--sm-green); }
.sm-calc-split-legend span:nth-child(3)::before { background: rgba(255,255,255,.3); }

/* «So geht's weiter» */
.sm-calc-steps {
	display: flex; gap: 8px; list-style: none; margin: 0; padding: 0;
	counter-reset: cstep;
}
.sm-calc-steps li {
	flex: 1; display: flex; align-items: center; gap: 7px;
	font-size: 11.5px; line-height: 1.35; color: var(--sm-muted-dark);
	counter-increment: cstep;
}
.sm-calc-steps li::before {
	content: counter(cstep); flex: none;
	display: inline-flex; align-items: center; justify-content: center;
	width: 20px; height: 20px; border-radius: 50%;
	border: 1px solid var(--sm-green-pale); color: var(--sm-green-pale);
	font-size: 11px; font-weight: 600;
}

/* Richtwert-Pulse bei Neuberechnung */
@keyframes sm-pulse { 0% { opacity: .35; } 100% { opacity: 1; } }
.sm-calc-range.pulse { animation: sm-pulse .4s var(--sm-ease); }

.sm-calc-hints { display: grid; gap: 8px; }
.sm-calc-hints:empty { display: none; }
.sm-calc-hints p {
	margin: 0; padding: 11px 14px; font-size: 13px; line-height: 1.55;
	background: rgba(255,255,255,.05); border-left: 2px solid var(--sm-green-pale);
	border-radius: 0 3px 3px 0; color: var(--sm-muted-dark);
}

/* =====================================================
   13 · TESTIMONIALS
   ===================================================== */
.sm-quote {
	background: #fff; border: 1px solid var(--sm-line); border-radius: 4px;
	padding: 36px; display: flex; flex-direction: column; gap: 20px;
}
.sm-quote blockquote { margin: 0; font-size: 17.5px; line-height: 1.7; color: var(--sm-text); }
.sm-quote blockquote::before { content: "«"; color: var(--sm-green); font-size: 40px; line-height: 0; display: block; margin-bottom: 18px; }
.sm-quote cite { font-style: normal; font-size: 14.5px; color: var(--sm-muted); }
.sm-quote cite strong { display: block; color: var(--sm-ink); font-size: 15px; }

/* =====================================================
   14 · FAQ (details/summary)
   ===================================================== */
.sm-faq details {
	border-bottom: 1px solid var(--sm-line); background: transparent;
}
.sm-faq summary {
	list-style: none; cursor: pointer; position: relative;
	padding: 24px 56px 24px 0; font-size: 18px; font-weight: 600; color: var(--sm-ink);
	transition: color .25s var(--sm-ease);
}
.sm-faq summary::-webkit-details-marker { display: none; }
.sm-faq summary::after {
	content: "+"; position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
	font-size: 26px; font-weight: 300; color: var(--sm-green);
	transition: transform .3s var(--sm-ease);
}
.sm-faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.sm-faq summary:hover { color: var(--sm-green-deep); }
.sm-faq details > *:not(summary) { max-width: 72ch; }
.sm-faq details p { margin: 0 0 24px; color: var(--sm-muted); }

/* =====================================================
   15 · FORMULAR
   ===================================================== */
.sm-form { display: grid; gap: 22px; }
.sm-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.sm-form label { display: grid; gap: 8px; font-size: 14.5px; font-weight: 600; color: var(--sm-ink); }
.sm-form input[type="text"], .sm-form input[type="email"], .sm-form input[type="tel"],
.sm-form select, .sm-form textarea {
	width: 100%; padding: 14px 16px; font-family: var(--sm-font); font-size: 16px;
	color: var(--sm-text); background: #fff;
	border: 1px solid var(--sm-line); border-radius: var(--sm-radius);
	transition: border-color .25s var(--sm-ease);
}
.sm-form input:focus, .sm-form select:focus, .sm-form textarea:focus {
	border-color: var(--sm-green); outline: none;
}
.sm-form textarea { resize: vertical; }
.sm-file-label input { padding: 12px 0; font-weight: 400; }
.sm-consent { display: flex !important; gap: 12px; align-items: flex-start; font-weight: 400 !important; color: var(--sm-muted) !important; font-size: 14px !important; }
.sm-consent input { margin-top: 3px; accent-color: var(--sm-green); }
.sm-hp { position: absolute !important; left: -9999px; opacity: 0; height: 0; overflow: hidden; margin: 0; }

.sm-notice { padding: 18px 22px; border-radius: 4px; margin-bottom: 28px; font-size: 15.5px; }
.sm-notice-ok  { background: #EEF3EA; border: 1px solid var(--sm-green); color: var(--sm-green-deep); }
.sm-notice-err { background: #F6EFEA; border: 1px solid #B08968; color: #7A5C3E; }

/* =====================================================
   16 · CTA-BANNER
   ===================================================== */
.sm-cta-banner { background: var(--sm-ink-deep); color: var(--sm-muted-dark); }
.sm-cta-inner {
	display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center;
}
.sm-cta-banner .sm-title { color: #fff; }
.sm-cta-banner .sm-lead { color: var(--sm-muted-dark); }
.sm-cta-actions { display: flex; flex-direction: column; gap: 14px; align-items: stretch; }

/* =====================================================
   17 · FOOTER
   ===================================================== */
.sm-footer {
	background: var(--sm-ink-deep); color: var(--sm-muted-dark);
	padding: clamp(64px, 8vw, 100px) 0 0; font-size: 15px;
}
.sm-footer-grid {
	display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr;
	gap: 48px; padding-bottom: 64px;
}
.sm-footer-brand p { max-width: 40ch; margin: 24px 0 0; line-height: 1.7; }
.sm-footer-h {
	font-size: 13px; letter-spacing: .14em; text-transform: uppercase;
	color: #fff; margin-bottom: 20px; font-weight: 600;
}
.sm-footer address { font-style: normal; line-height: 1.8; margin-bottom: 14px; }
.sm-footer a { color: var(--sm-muted-dark); }
.sm-footer a:hover { color: var(--sm-green-pale); }
.footer-menu { list-style: none; margin: 0; padding: 0; }
.footer-menu li { padding: 6px 0; }
.sm-footer-hours { font-size: 14px; }
.sm-footer-link { color: var(--sm-green-pale) !important; }

.sm-footer-bottom {
	display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
	padding: 26px 0; border-top: 1px solid var(--sm-line-dark); font-size: 13.5px;
}
.sm-footer-bottom p { margin: 0; }

/* =====================================================
   18 · FLOATING ELEMENTS
   ===================================================== */
.sm-wa {
	position: fixed; right: 22px; bottom: 22px; z-index: 850;
	display: flex; align-items: center; justify-content: center;
	width: 56px; height: 56px; border-radius: 50%;
	background: var(--sm-green); color: #fff;
	box-shadow: 0 12px 30px -8px rgba(20,25,26,.4);
	transition: transform .25s var(--sm-ease), background .25s var(--sm-ease);
}
.sm-wa:hover { transform: translateY(-3px) scale(1.05); background: var(--sm-green-deep); color: #fff; }

/* Mobile-Mini-Richtwert (Kostenrechner) */
.sm-calc-mini {
	display: none; position: fixed; left: 12px; right: 12px; bottom: 62px; z-index: 855;
	align-items: center; gap: 12px;
	padding: 12px 16px; border: 0; border-radius: 6px; cursor: pointer;
	background: var(--sm-ink-deep); color: #fff;
	font-family: var(--sm-font); text-align: left;
	box-shadow: 0 14px 34px -10px rgba(20,25,26,.5);
}
.sm-calc-mini-label {
	font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
	color: var(--sm-green-pale);
}
.sm-calc-mini strong { flex: 1; font-size: 16.5px; font-weight: 600; letter-spacing: -0.01em; }
.sm-calc-mini-go { font-size: 12.5px; color: var(--sm-muted-dark); white-space: nowrap; }
@media (max-width: 1080px) {
	.sm-calc-mini:not([hidden]) { display: flex; }
}

/* Back-to-top */
.sm-top {
	position: fixed; left: 22px; bottom: 22px; z-index: 840;
	width: 46px; height: 46px; border-radius: 50%;
	background: var(--sm-ink); color: #fff; border: 0; cursor: pointer;
	font-size: 18px; line-height: 1;
	opacity: 0; visibility: hidden; transform: translateY(8px);
	transition: opacity .3s var(--sm-ease), transform .3s var(--sm-ease), visibility .3s;
	box-shadow: 0 10px 26px -8px rgba(20,25,26,.35);
}
.sm-top.show { opacity: 1; visibility: visible; transform: none; }
.sm-top:hover { background: var(--sm-green-deep); }

.sm-mobile-bar {
	display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 860;
	grid-template-columns: 1fr 1fr 1.2fr;
	background: var(--sm-ink-deep); border-top: 1px solid var(--sm-line-dark);
	padding-bottom: env(safe-area-inset-bottom);
}
.sm-mobile-bar a {
	padding: 16px 8px; text-align: center; font-size: 14.5px; font-weight: 600; color: #fff;
}
.sm-mobile-bar a.is-primary { background: var(--sm-green); }

/* =====================================================
   19 · CONTENT / EDITOR-INHALTE
   ===================================================== */
.sm-content { max-width: 760px; }
.sm-content h2 { font-size: 28px; margin-top: 1.6em; }
.sm-content h3 { font-size: 21px; margin-top: 1.4em; }
.sm-content ul, .sm-content ol { padding-left: 22px; color: var(--sm-text); }
.sm-content li { margin-bottom: .4em; }
.sm-content img { border-radius: 4px; margin: 1.5em 0; }
.sm-content blockquote {
	margin: 1.6em 0; padding: 4px 0 4px 24px;
	border-left: 2px solid var(--sm-green); color: var(--sm-muted); font-size: 18px;
}
.alignwide { margin-left: calc(50% - min(50vw, 620px)); margin-right: calc(50% - min(50vw, 620px)); max-width: none; }

/* Seiten-Hero (Unterseiten) */
.sm-page-hero { padding: 190px 0 90px; background: var(--sm-ink); color: var(--sm-muted-dark); }
.sm-page-hero h1 {
	color: #fff; font-size: clamp(36px, 5.4vw, 62px);
	letter-spacing: -0.03em; max-width: 18ch; margin-bottom: 20px;
}
.sm-page-hero .sm-lead { color: var(--sm-muted-dark); }

/* Breadcrumb-artige Zurück-Links */
.sm-back { font-size: 14px; color: var(--sm-muted-dark); display: inline-block; margin-bottom: 28px; }
.sm-back:hover { color: #fff; }

/* =====================================================
   20 · ANIMATIONEN (Scroll Reveal, Page-Fade, Parallax)
   ===================================================== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--sm-ease), transform .8s var(--sm-ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; }
.reveal-d2 { transition-delay: .16s; }
.reveal-d3 { transition-delay: .24s; }

/* Sanfte Seitentransition beim Laden */
@keyframes sm-page-in { from { opacity: 0; } to { opacity: 1; } }
main { animation: sm-page-in .55s var(--sm-ease) both; }

/* Parallax: Bild etwas grösser, damit die Verschiebung nie Ränder zeigt */
.sm-hero-bg img { will-change: transform; transform: translateY(0) scale(1.08); }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.reveal { opacity: 1; transform: none; transition: none; }
	.sm-scroll-hint { display: none; }
	main { animation: none; }
	.sm-hero-bg img { transform: none; }
	*, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* =====================================================
   21 · RESPONSIVE
   ===================================================== */
@media (max-width: 1200px) {
	.sm-nav-phone { display: none; }
}

@media (max-width: 1080px) {
	.sm-nav-menu { display: none; }
	.sm-burger { display: flex; }
	.sm-nav-phone { display: none; }
	.sm-grid-4 { grid-template-columns: repeat(2, 1fr); }
	.sm-grid-3 { grid-template-columns: repeat(2, 1fr); }
	.sm-footer-grid { grid-template-columns: 1fr 1fr; }
	.sm-cta-inner { grid-template-columns: 1fr; }
	.sm-cta-actions { flex-direction: row; flex-wrap: wrap; }
	.sm-two-col { grid-template-columns: 1fr; }
}

@media (max-width: 1080px) and (min-width: 721px) {
	.sm-aud { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
	body { font-size: 16px; padding-bottom: 54px; }
	.sm-grid-2, .sm-grid-3, .sm-grid-4 { grid-template-columns: 1fr; }
	.sm-aud { grid-template-columns: 1fr; }
	.sm-aud-item { padding: 26px 0; }
	.sm-calc-grid { grid-template-columns: 1fr; }
	.sm-calc-result { position: static; }
	.sm-stats { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
	.sm-form-grid { grid-template-columns: 1fr; }
	.sm-footer-grid { grid-template-columns: 1fr; gap: 36px; }
	.sm-timeline li { grid-template-columns: 64px 1fr; gap: 18px; padding: 26px 0; }
	.sm-timeline li::before { font-size: 26px; }
	.sm-mobile-bar { display: grid; }
	.sm-wa { bottom: 76px; right: 16px; width: 50px; height: 50px; }
	.sm-top { left: 16px; bottom: 76px; width: 42px; height: 42px; }
	.sm-hero { padding-top: 140px; }
	.sm-hero-cta .btn { width: 100%; }
	.sm-nav-actions .btn { display: none; }
	.sm-scroll-hint { display: none; }
	.sm-specs { grid-template-columns: 1fr 1fr; }
	.sm-spec { border-bottom: 1px solid var(--sm-line); }
	.btn-lg { padding: 17px 28px; }
}

/* Druck */
@media print {
	.sm-nav, .sm-wa, .sm-mobile-bar, .sm-cta-banner, .sm-scroll-hint,
	.sm-mobile, .sm-footer, .skip-link { display: none !important; }
	body { padding-bottom: 0; }

	/* Kostenrechner: nur das Resultat drucken, sauber in Schwarz/Weiss */
	.sm-page-hero, .sm-calc-controls, .sm-faq-searchbar, .sm-faq,
	.sm-calc .btn, .sm-calc-print, .sm-section-paper { display: none !important; }
	.sm-calc-result {
		position: static !important; background: #fff !important;
		color: #000 !important; border: 1px solid #000; border-radius: 0;
	}
	.sm-calc-range, .sm-calc-summary, .sm-calc-dauer strong { color: #000 !important; }
	.sm-calc-eyebrow { color: #000 !important; }
	.sm-calc-note, .sm-calc-dauer { color: #333 !important; }
	.sm-calc-hints p { background: #fff !important; color: #333 !important; border-left-color: #000; }
	.sm-print-only {
		display: block !important; color: #000; font-weight: 600;
		font-size: 14px; margin: 0 0 8px; letter-spacing: .02em;
	}
	.reveal { opacity: 1 !important; transform: none !important; }
}
