/* ==========================================================================
   Sewing Druck – Design-System „Monochrom Druckhaus"
   Handschrift: Weiße Seite, große abgerundete Schwarz-Weiß-Bildflächen,
   ruhige Serifen-Headlines mit Kursiv-Akzent, Sewing-Blau als einzige Farbe.
   Einziger Farbmoment der Seite: der Humorkalender.
   ========================================================================== */

/* ---------- Schriften (selbst gehostet) ---------- */
@font-face {
	font-family: "Manrope Variable";
	src: url("../fonts/manrope-latin-wght-normal.woff2") format("woff2");
	font-weight: 200 800;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Instrument Serif";
	src: url("../fonts/instrument-serif-latin-400-normal.woff2") format("woff2");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Instrument Serif";
	src: url("../fonts/instrument-serif-latin-400-italic.woff2") format("woff2");
	font-weight: 400;
	font-style: italic;
	font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
	/* Farbe – 60 % Neutral · 30 % Ink · ≤10 % Marke */
	--papier: #ffffff;
	--flaeche: #f4f3f0;          /* warmes Papiergrau */
	--flaeche-tief: #e9e7e2;
	--ink: #0f1217;              /* Fundament, dunkle Sektionen */
	--ink-2: #1a1f28;
	--text: #16191f;             /* 17,6:1 auf Weiß */
	--text-leise: #585d67;       /* 6,6:1 auf Weiß, 6,0:1 auf --flaeche */
	--marke: #284793;            /* Sewing-Blau aus dem Logo, 8,9:1 auf Weiß */
	--marke-tief: #1c3373;
	--marke-hell: #e8ecf6;
	--gruen: #02a984;            /* nur Erfolgszustände – als Text zu schwach (3,0:1) */
	--gruen-text: #00745a;       /* 5,6:1 auf Weiß */
	--fehler: #b42318;
	--linie: rgba(15, 18, 23, .12);
	--linie-stark: rgba(15, 18, 23, .22);
	--linie-hell: rgba(255, 255, 255, .16);
	--text-auf-dunkel: #f4f3f0;
	--text-auf-dunkel-leise: rgba(244, 243, 240, .72);

	/* Typo */
	--font-display: "Instrument Serif", "Iowan Old Style", "Times New Roman", serif;
	--font-text: "Manrope Variable", "Manrope", "Segoe UI", system-ui, sans-serif;
	--fs-display: clamp(3rem, 1.75rem + 5.6vw, 7rem);      /* 48 → 112 */
	--fs-h1: clamp(2.75rem, 1.9rem + 3.9vw, 5.5rem);         /* 44 → 88  */
	--fs-h2: clamp(2.25rem, 1.7rem + 2.3vw, 3.875rem);       /* 36 → 62  */
	--fs-h3: clamp(1.25rem, 1.15rem + .45vw, 1.5rem);        /* 20 → 24  */
	--fs-lead: clamp(1.125rem, 1.06rem + .3vw, 1.3125rem);   /* 18 → 21  */
	--fs-text: clamp(1rem, .98rem + .1vw, 1.0625rem);        /* 16 → 17  */
	--fs-klein: .875rem;
	--fs-mini: .8125rem;

	/* Raster */
	--wrap: 1280px;
	--wrap-text: 720px;
	--rand: clamp(20px, 4vw, 48px);
	--sek-k: clamp(56px, 6vw, 88px);
	--sek: clamp(72px, 9vw, 136px);
	--sek-g: clamp(96px, 12vw, 176px);
	--abstand-1: 8px;
	--abstand-2: 16px;
	--abstand-3: 24px;
	--abstand-4: 32px;
	--abstand-5: 48px;
	--abstand-6: 64px;

	/* Form */
	--r-s: 10px;
	--r-m: 20px;
	--r-l: 32px;
	--r-pill: 999px;
	--schatten-ruhe: 0 4px 12px rgba(15, 18, 23, .06);
	--schatten-hover: 0 14px 36px rgba(15, 18, 23, .14);
	--fokus: 0 0 0 3px var(--papier), 0 0 0 5px var(--marke);

	/* Motion */
	--dur-micro: 180ms;
	--dur-ui: 320ms;
	--dur-reveal: 680ms;
	--ease-out: cubic-bezier(.22, 1, .36, 1);

	--kopf-hoehe: 100px;
}

/* ---------- Reset & Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--kopf-hoehe) + 16px); }
body {
	margin: 0;
	background: var(--papier);
	color: var(--text);
	font-family: var(--font-text);
	font-size: var(--fs-text);
	line-height: 1.7;
	font-weight: 450;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	overflow-x: clip;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--marke); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: none; box-shadow: var(--fokus); border-radius: 6px; }
::selection { background: var(--marke); color: #fff; }
.sd-main:focus { outline: none; }
.screen-reader-text, .sd-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.sd-skip {
	position: fixed; left: 16px; top: -60px; z-index: 1000;
	background: var(--ink); color: #fff; padding: 12px 18px; border-radius: var(--r-pill);
	text-decoration: none; font-weight: 600; transition: top var(--dur-micro) var(--ease-out);
}
.sd-skip:focus { top: 16px; color: #fff; }

/* ---------- Elementor neutralisieren (nur innerhalb unseres Designs) ---------- */
.sd .e-con {
	--padding-top: 0; --padding-right: 0; --padding-bottom: 0; --padding-left: 0;
	--gap: 0px; --row-gap: 0px; --column-gap: 0px;
	--container-default-padding-top: 0; --container-default-padding-right: 0;
	--container-default-padding-bottom: 0; --container-default-padding-left: 0;
	--widgets-spacing: 0px; --widgets-spacing-row: 0px; --widgets-spacing-column: 0px;
	--kit-widget-spacing: 0px;
}
.sd .elementor-widget:not(:last-child) { margin-block-end: 0; }
.sd .elementor-widget-text-editor, .sd .elementor-widget-heading .elementor-heading-title { color: inherit; font-family: inherit; }
.sd .elementor-widget-text-editor p:last-child { margin-bottom: 0; }
.sd .elementor-widget-image img { width: 100%; }
.sd .elementor-page .page-header, .sd .page-header .entry-title { display: none; }
.sd .elementor-widget-shortcode, .sd .elementor-shortcode { width: 100%; }

/* ---------- Layout ---------- */
.sd .sd-wrap, .sd-wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--rand)); margin-inline: auto; padding-inline: var(--rand); }
.sd .sd-sek { padding-block: var(--sek); }
.sd .sd-sek--k { padding-block: var(--sek-k); }
.sd .sd-sek--g { padding-block: var(--sek-g); }
.sd .sd-sek--flaeche { background: var(--flaeche); }
.sd .sd-sek--dunkel { background: var(--ink); color: var(--text-auf-dunkel); }
.sd .sd-sek--ohne-oben { padding-top: 0; }

/* ---------- Typo-Rollen ---------- */
.sd .sd-display, .sd .sd-display :is(h1, h2, p) {
	font-family: var(--font-display); font-size: var(--fs-display); line-height: .96; letter-spacing: -.02em; font-weight: 400;
	text-wrap: balance;
}
.sd .sd-h1, .sd .sd-h1 :is(h1, h2, p) {
	font-family: var(--font-display); font-size: var(--fs-h1); line-height: .98; letter-spacing: -.02em; font-weight: 400; text-wrap: balance;
}
.sd .sd-h2, .sd .sd-h2 :is(h2, h3, p) {
	font-family: var(--font-display); font-size: var(--fs-h2); line-height: 1.02; letter-spacing: -.015em; font-weight: 400; text-wrap: balance;
}
.sd .sd-h3, .sd .sd-h3 :is(h3, h4, p) {
	font-family: var(--font-text); font-size: var(--fs-h3); line-height: 1.2; letter-spacing: -.015em; font-weight: 650;
}
:is(.sd-display, .sd-h1, .sd-h2) em { font-style: italic; color: var(--marke); }
.sd-sek--dunkel :is(.sd-display, .sd-h1, .sd-h2) em, .sd-hero :is(.sd-display, .sd-h1) em { color: inherit; }
.sd .sd-lead, .sd .sd-lead p { font-size: var(--fs-lead); line-height: 1.5; color: var(--text-leise); max-width: 58ch; }
.sd-sek--dunkel .sd-lead, .sd-sek--dunkel .sd-lead p { color: var(--text-auf-dunkel-leise); }
.sd .sd-text { max-width: 66ch; color: var(--text-leise); }
.sd .sd-text strong { color: var(--text); font-weight: 650; }
.sd-sek--dunkel .sd-text { color: var(--text-auf-dunkel-leise); }

/* Label statt Versalien-Eyebrow: Nummer + Wort, ruhig, satzweise */
.sd .sd-label, .sd .sd-label p, .sd-label {
	display: inline-flex; align-items: center; gap: 10px;
	font-size: var(--fs-klein); line-height: 1.4; font-weight: 600; color: var(--marke); letter-spacing: 0;
	margin: 0;
}
.sd-label span, .sd .sd-label span {
	display: inline-grid; place-items: center; min-width: 30px; height: 30px; padding: 0 8px;
	border: 1px solid currentColor; border-radius: var(--r-pill); font-size: var(--fs-mini); font-weight: 700;
	font-variant-numeric: tabular-nums;
}
.sd-sek--dunkel .sd-label, .sd-sek--dunkel .sd-label p, .sd-hero .sd-label, .sd-hero .sd-label p { color: #fff; }

/* ---------- Buttons ---------- */
.sd-btn,
.sd .elementor-widget-button[class*="sd-b--"] .elementor-button {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 52px; padding: 0 26px; border-radius: var(--r-pill);
	font-family: var(--font-text); font-size: 1rem; font-weight: 650; line-height: 1; letter-spacing: -.005em;
	text-decoration: none; cursor: pointer; border: 1px solid transparent; border-style: solid; white-space: nowrap;
	background: var(--ink); color: #fff; fill: currentColor;
	transition: transform var(--dur-micro) var(--ease-out), background-color var(--dur-micro) var(--ease-out), color var(--dur-micro) var(--ease-out), box-shadow var(--dur-micro) var(--ease-out), border-color var(--dur-micro) var(--ease-out);
}
.sd-btn:hover, .sd .elementor-widget-button[class*="sd-b--"] .elementor-button:hover { transform: translateY(-2px); box-shadow: var(--schatten-hover); color: #fff; }
.sd-btn:active, .sd .elementor-widget-button[class*="sd-b--"] .elementor-button:active { transform: translateY(1px); box-shadow: none; }
.sd-btn--marke, .sd .elementor-widget-button.sd-b--marke .elementor-button { background: var(--marke); color: #fff; }
.sd-btn--marke:hover, .sd .elementor-widget-button.sd-b--marke .elementor-button:hover { background: var(--marke-tief); }
.sd-btn--dunkel, .sd .elementor-widget-button.sd-b--dunkel .elementor-button { background: var(--ink); color: #fff; }
.sd-btn--hell, .sd .elementor-widget-button.sd-b--hell .elementor-button { background: #fff; color: var(--ink); }
.sd-btn--hell:hover, .sd .elementor-widget-button.sd-b--hell .elementor-button:hover { background: #fff; color: var(--marke); }
.sd-btn--rand, .sd .elementor-widget-button.sd-b--rand .elementor-button { background: transparent; color: var(--ink); border-color: var(--linie-stark); }
.sd-btn--rand:hover, .sd .elementor-widget-button.sd-b--rand .elementor-button:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.sd-btn--glas, .sd .elementor-widget-button.sd-b--glas .elementor-button { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .4); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.sd-btn--glas:hover, .sd .elementor-widget-button.sd-b--glas .elementor-button:hover { background: #fff; color: var(--ink); }
.sd .elementor-button .elementor-button-content-wrapper { display: inline-flex; align-items: center; gap: 10px; }
.sd-pfeil::after, .sd .sd-b--pfeil .elementor-button-text::after {
	content: "→"; display: inline-block; margin-left: 10px; transition: transform var(--dur-micro) var(--ease-out);
}
.sd-btn:hover .sd-pfeil::after, .sd .sd-b--pfeil .elementor-button:hover .elementor-button-text::after, .sd-pfeil:hover::after { transform: translateX(4px); }

.sd .sd-knoepfe, .sd-knoepfe { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.sd .sd-knoepfe.e-con { flex-direction: row; --flex-direction: row; --flex-wrap: wrap; }
.sd .sd-knoepfe > .elementor-widget { width: auto; --container-widget-width: auto; flex: 0 0 auto; }

/* Textlink mit Pfeil */
.sd .sd-link a, .sd-link { font-weight: 650; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--linie-stark); padding-bottom: 2px; transition: color var(--dur-micro), border-color var(--dur-micro); }
.sd .sd-link a:hover, .sd-link:hover { color: var(--marke); border-color: var(--marke); }

/* ---------- Kopf ---------- */
.sd-kopf {
	position: sticky; top: 0; z-index: 100;
	background: rgba(255, 255, 255, .86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
	border-bottom: 1px solid transparent; transition: border-color var(--dur-ui) var(--ease-out), box-shadow var(--dur-ui) var(--ease-out);
}
.sd-kopf.ist-gescrollt { border-bottom-color: var(--linie); }
.admin-bar .sd-kopf { top: 32px; }
@media (max-width: 782px) { .admin-bar .sd-kopf { top: 0; } }
.sd-kopf__innen {
	max-width: calc(var(--wrap) + 2 * var(--rand)); margin: 0 auto; padding: 0 var(--rand);
	height: var(--kopf-hoehe); display: flex; align-items: center; gap: 32px;
}
.sd-kopf__logo { flex: 0 0 auto; display: block; }
.sd-kopf__logo img { width: 120px; height: auto; }
.sd-nav { margin-left: auto; }
.sd-nav__liste { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; }
.sd-nav__liste a {
	position: relative; display: inline-flex; align-items: center; height: 44px; padding: 0 16px; border-radius: var(--r-pill);
	text-decoration: none; font-weight: 600; font-size: .9375rem; color: var(--text);
	transition: background-color var(--dur-micro) var(--ease-out), color var(--dur-micro);
}
.sd-nav__liste a:hover { background: var(--flaeche); color: var(--text); }
.sd-nav__liste .current-menu-item > a, .sd-nav__liste .current_page_item > a { background: var(--flaeche); }
.sd-nav__extra { display: none; }
.sd-kopf__tel { min-height: 44px; padding: 0 20px; font-size: .9375rem; }
.sd-kopf__menue {
	display: none; margin-left: auto; align-items: center; gap: 10px; height: 44px; padding: 0 6px 0 18px;
	border: 1px solid var(--linie-stark); border-radius: var(--r-pill); background: #fff; cursor: pointer; font-weight: 650; font-size: .9375rem;
}
.sd-kopf__menue-icon { position: relative; width: 32px; height: 32px; border-radius: 50%; background: var(--ink); display: grid; place-items: center; }
.sd-kopf__menue-icon i { position: absolute; width: 14px; height: 1.5px; background: #fff; transition: transform var(--dur-ui) var(--ease-out); }
.sd-kopf__menue-icon i:first-child { transform: translateY(-3px); }
.sd-kopf__menue-icon i:last-child { transform: translateY(3px); }
.sd-kopf__menue[aria-expanded="true"] .sd-kopf__menue-icon i:first-child { transform: rotate(45deg); }
.sd-kopf__menue[aria-expanded="true"] .sd-kopf__menue-icon i:last-child { transform: rotate(-45deg); }

@media (max-width: 960px) {
	:root { --kopf-hoehe: 84px; }
	.sd-kopf__logo img { width: 99px; }
	.sd-kopf__tel { display: none; }
	.sd-kopf__menue { display: inline-flex; }
	.sd-nav {
		position: fixed; inset: var(--kopf-hoehe) 0 0 0; z-index: 99; margin: 0;
		background: var(--papier); padding: 24px var(--rand) 40px; overflow-y: auto;
		display: flex; flex-direction: column; justify-content: space-between;
		transform: translateX(102%); visibility: hidden;
		transition: transform var(--dur-ui) var(--ease-out), visibility 0s linear var(--dur-ui);
	}
	.admin-bar .sd-nav { top: calc(var(--kopf-hoehe) + 46px); }
	.sd-nav.ist-offen { transform: none; visibility: visible; transition: transform var(--dur-ui) var(--ease-out); }
	.sd-nav__liste { flex-direction: column; gap: 0; }
	.sd-nav__liste li { border-bottom: 1px solid var(--linie); }
	.sd-nav__liste a { height: auto; padding: 18px 0; border-radius: 0; font-family: var(--font-display); font-size: 2.5rem; font-weight: 400; letter-spacing: -.01em; }
	.sd-nav__liste a:hover, .sd-nav__liste .current-menu-item > a { background: none; color: var(--marke); }
	.sd-nav__extra { display: grid; gap: 8px; margin-top: 32px; }
	.sd-nav__tel { display: grid; text-decoration: none; font-size: 1.75rem; font-weight: 700; letter-spacing: -.02em; }
	.sd-nav__tel-label { font-size: var(--fs-klein); font-weight: 600; color: var(--text-leise); letter-spacing: 0; }
	.sd-nav__mail { color: var(--text-leise); }
	html.js .sd-nav.ist-offen .sd-nav__liste li { animation: sd-nav-rein var(--dur-ui) var(--ease-out) both; }
	html.js .sd-nav.ist-offen .sd-nav__liste li:nth-child(2) { animation-delay: 130ms; }
	html.js .sd-nav.ist-offen .sd-nav__liste li:nth-child(3) { animation-delay: 170ms; }
	html.js .sd-nav.ist-offen .sd-nav__liste li:nth-child(4) { animation-delay: 210ms; }
	html.js .sd-nav.ist-offen .sd-nav__liste li:nth-child(1) { animation-delay: 90ms; }
	body.sd-menue-offen { overflow: hidden; }
}
@keyframes sd-nav-rein { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }

/* ---------- Hero (Startseite & Unterseiten) ---------- */
.sd .sd-hero { padding: 8px var(--rand) 0; }
.sd .sd-hero__rahmen {
	position: relative; overflow: hidden; isolation: isolate;
	max-width: calc(var(--wrap) + 2 * var(--rand) + 80px); margin: 0 auto; width: 100%;
	border-radius: var(--r-l); background: var(--ink); color: #fff;
	min-height: clamp(560px, 84vh, 860px);
	display: flex; flex-direction: column; justify-content: flex-end;
}
.sd .sd-hero--klein .sd-hero__rahmen { min-height: clamp(440px, 62vh, 620px); }
.sd .sd-hero__bild { position: absolute; inset: 0; z-index: -2; }
.sd .sd-hero__bild img, .sd .sd-hero__bild picture { width: 100%; height: 100%; object-fit: cover; }
.sd .sd-hero__rahmen::after {
	content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background: linear-gradient(180deg, rgba(15, 18, 23, .10) 0%, rgba(15, 18, 23, .05) 35%, rgba(15, 18, 23, .78) 100%),
	            linear-gradient(90deg, rgba(15, 18, 23, .55) 0%, rgba(15, 18, 23, 0) 60%);
}
.sd .sd-hero__inhalt { padding: clamp(28px, 5vw, 72px); display: grid; gap: 22px; max-width: 980px; }
.sd .sd-hero__inhalt .sd-lead, .sd .sd-hero__inhalt .sd-lead p { color: rgba(255, 255, 255, .86); max-width: 54ch; }
.sd .sd-hero .sd-knoepfe { margin-top: 6px; }

/* ---------- Fakten-Leiste ---------- */
.sd .sd-fakten { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--linie); }
.sd-fakt { padding: 28px 24px 4px 0; display: grid; gap: 6px; align-content: start; }
.sd-fakt + .sd-fakt { padding-left: 24px; border-left: 1px solid var(--linie); }
.sd-fakt__zahl { font-family: var(--font-display); font-size: clamp(2.75rem, 2rem + 2.4vw, 4.25rem); line-height: 1; letter-spacing: -.02em; color: var(--ink); }
.sd-fakt__text { font-size: var(--fs-klein); color: var(--text-leise); line-height: 1.5; max-width: 26ch; }
@media (max-width: 860px) {
	.sd .sd-fakten { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.sd-fakt:nth-child(3) { padding-left: 0; border-left: 0; }
	.sd-fakt:nth-child(n+3) { border-top: 1px solid var(--linie); }
}

/* ---------- Statement mit versetzten Bildern ---------- */
.sd .sd-statement { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) minmax(0, 1fr); align-items: center; gap: clamp(24px, 4vw, 64px); }
.sd .sd-statement__bild img { aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-l); }
.sd .sd-statement__bild--links { margin-top: -40px; }
.sd .sd-statement__bild--rechts { margin-top: 120px; }
.sd .sd-statement__mitte { text-align: center; display: grid; gap: 22px; justify-items: center; }
.sd .sd-statement__mitte .sd-text { margin-inline: auto; }
@media (max-width: 960px) {
	.sd .sd-statement { grid-template-columns: 1fr 1fr; }
	.sd .sd-statement__mitte { grid-column: 1 / -1; order: -1; }
	.sd .sd-statement__bild--links, .sd .sd-statement__bild--rechts { margin-top: 0; }
	.sd .sd-statement__bild--rechts { margin-top: 48px; }
}

/* ---------- Sektionskopf ---------- */
.sd .sd-kopfzeile { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 24px 64px; align-items: end; margin-bottom: clamp(32px, 4vw, 56px); }
.sd .sd-kopfzeile__links { display: grid; gap: 18px; }
.sd .sd-kopfzeile--mitte { grid-template-columns: 1fr; justify-items: center; text-align: center; }
@media (max-width: 860px) { .sd .sd-kopfzeile { grid-template-columns: 1fr; } }

/* ---------- Leistungskarten (horizontal) ---------- */
.sd .sd-karten {
	display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, calc((100% - 3 * 20px) / 3.4)); gap: 20px;
	overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-width: thin;
	-webkit-overflow-scrolling: touch;
}
.sd-karte {
	scroll-snap-align: start; position: relative; display: grid; gap: 14px; text-decoration: none; color: var(--text);
}
.sd-karte__bild { position: relative; display: block; overflow: hidden; border-radius: var(--r-m); background: var(--flaeche-tief); aspect-ratio: 4 / 4.6; }
.sd .sd-karte__bild img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 560ms var(--ease-out); }
.sd-karte:hover .sd-karte__bild img { transform: scale(1.04); }
.sd-karte__titel { font-weight: 650; font-size: 1.0625rem; letter-spacing: -.01em; display: flex; justify-content: space-between; gap: 12px; }
.sd-karte__titel::after { content: "→"; transition: transform var(--dur-micro) var(--ease-out); }
.sd-karte:hover .sd-karte__titel::after { transform: translateX(4px); }
.sd-karte:hover { color: var(--text); }
.sd-karte__text { font-size: var(--fs-klein); color: var(--text-leise); line-height: 1.5; margin-top: -8px; }
.sd-karten-steuerung { display: flex; gap: 8px; }
.sd-karten-steuerung button {
	width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--linie-stark); background: #fff; cursor: pointer;
	display: grid; place-items: center; font-size: 1.125rem; transition: background-color var(--dur-micro), color var(--dur-micro), transform var(--dur-micro) var(--ease-out);
}
.sd-karten-steuerung button:hover { background: var(--ink); color: #fff; }
.sd-karten-steuerung button:active { transform: scale(.96); }
.sd-karten-steuerung button[disabled] { opacity: .35; pointer-events: none; }
@media (max-width: 640px) { .sd .sd-karten { grid-auto-columns: 78%; } }

/* ---------- Logoleiste ---------- */
.sd .sd-logos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.sd-logos__titel { grid-column: 1 / -1; font-size: var(--fs-klein); color: var(--text-leise); margin-bottom: 8px; }
.sd-logo-kachel { display: grid; place-items: center; background: var(--flaeche); border-radius: var(--r-m); height: 104px; padding: 18px 28px; }
.sd-logo-kachel img { max-height: 48px; width: auto; filter: grayscale(1); opacity: .62; mix-blend-mode: multiply; transition: opacity var(--dur-micro), filter var(--dur-micro); }
.sd-logo-kachel:hover img { opacity: 1; }
@media (max-width: 860px) { .sd .sd-logos { grid-template-columns: repeat(2, minmax(0, 1fr)); } .sd-logo-kachel { height: 88px; } }

/* ---------- Ablauf ---------- */
.sd .sd-ablauf { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.sd .sd-ablauf__links { display: grid; gap: 22px; position: sticky; top: calc(var(--kopf-hoehe) + 32px); }
.sd .sd-ablauf__bild { position: relative; margin-top: 18px; }
.sd .sd-ablauf__bild img { aspect-ratio: 4 / 4.4; object-fit: cover; border-radius: var(--r-l); }
.sd .sd-ablauf__bild { position: relative; }
.sd .sd-ablauf__bild > .elementor-widget-shortcode { position: absolute; right: -18px; top: -34px; width: auto; --container-widget-width: auto; z-index: 2; }
.sd-plakette {
	position: relative; width: 148px; height: 148px; border-radius: 50%;
	background: var(--marke); color: #fff; display: grid; place-content: center; text-align: center; padding: 18px;
	font-size: .875rem; line-height: 1.3; font-weight: 600; text-decoration: none; box-shadow: var(--schatten-hover);
	transition: transform var(--dur-micro) cubic-bezier(.34, 1.56, .64, 1);
}
.sd-plakette strong { display: block; font-size: 1.0625rem; font-weight: 750; letter-spacing: -.01em; margin-top: 4px; }
.sd-plakette:hover { color: #fff; transform: rotate(-6deg) scale(1.04); }
.sd-schritte { list-style: none; margin: 0; padding: 0; counter-reset: schritt; }
.sd-schritt { display: grid; grid-template-columns: 52px 1fr; gap: 6px 22px; padding: 26px 0; border-bottom: 1px solid var(--linie); counter-increment: schritt; }
.sd-schritt:first-child { padding-top: 0; }
.sd-schritt::before {
	content: counter(schritt, decimal-leading-zero); grid-row: span 2;
	width: 52px; height: 52px; border-radius: 50%; background: var(--ink); color: #fff;
	display: grid; place-items: center; font-weight: 700; font-size: .9375rem; font-variant-numeric: tabular-nums;
}
.sd-schritt__titel { font-weight: 650; font-size: 1.125rem; letter-spacing: -.01em; align-self: end; }
.sd-schritt__text { color: var(--text-leise); font-size: .9688rem; line-height: 1.6; }
@media (max-width: 960px) {
	.sd .sd-ablauf { grid-template-columns: 1fr; }
	.sd .sd-ablauf__links { position: static; }
	.sd .sd-ablauf__bild > .elementor-widget-shortcode { right: 12px; top: -28px; } .sd-plakette { width: 128px; height: 128px; }
}

/* ---------- Humorkalender-Teaser (der Farbmoment) ---------- */
.sd .sd-kalteaser { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.sd .sd-kalteaser__bilder { position: relative; padding: 24px 12% 48px 0; }
.sd .sd-kalteaser__bilder .sd-kal-blatt--1 { position: relative; z-index: 1; }
.sd-kal-blatt img, .sd .sd-kal-blatt img { border-radius: var(--r-s); box-shadow: 0 30px 60px -20px rgba(15, 18, 23, .35); background: #fff; }
.sd .sd-kal-blatt--1 { transform: rotate(-3deg); }
.sd .sd-kal-blatt--2 { position: absolute; z-index: 0; right: 0; bottom: 0; width: 58%; transform: rotate(5deg); }
.sd .sd-kalteaser__text { display: grid; gap: 22px; }
@media (max-width: 860px) { .sd .sd-kalteaser { grid-template-columns: 1fr; } }

/* ---------- Häkchenliste & Chips ---------- */
.sd-haken { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.sd-haken li { position: relative; padding-left: 30px; line-height: 1.5; }
.sd-haken li::before {
	content: ""; position: absolute; left: 0; top: .2em; width: 18px; height: 18px; border-radius: 50%;
	background: var(--marke) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.sd-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.sd-chips li { padding: 8px 14px; border-radius: var(--r-pill); background: var(--flaeche); font-size: var(--fs-klein); font-weight: 600; line-height: 1.2; }
.sd-sek--flaeche .sd-chips li { background: #fff; }

/* ---------- „Auf einen Blick" ---------- */
.sd-blick { background: var(--flaeche); border-radius: var(--r-l); padding: clamp(28px, 4vw, 48px); display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 2fr); gap: 24px 48px; }
.sd-blick__titel { font-family: var(--font-display); font-size: var(--fs-h3); font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.5rem); line-height: 1.05; }
.sd-blick dl { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 20px 32px; }
.sd-blick dt { font-size: var(--fs-mini); font-weight: 600; color: var(--text-leise); margin-bottom: 4px; }
.sd-blick dd { margin: 0; font-weight: 650; line-height: 1.4; }
@media (max-width: 760px) { .sd-blick { grid-template-columns: 1fr; } }

/* ---------- Leistungs-Zeilen ---------- */
.sd .sd-leistung { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; padding-block: clamp(40px, 5vw, 72px); border-top: 1px solid var(--linie); }
.sd .sd-leistung:first-child { border-top: 0; padding-top: 0; }
.sd .sd-leistung--gedreht .sd-leistung__bild { order: 2; }
.sd .sd-leistung__bild { position: relative; }
.sd .sd-leistung__bild img { aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--r-l); }
.sd .sd-leistung__bild .sd-leistung__bild2 { position: absolute; width: 38%; right: -6%; bottom: -10%; }
.sd .sd-leistung__bild .sd-leistung__bild2 img { aspect-ratio: 1; border-radius: var(--r-m); border: 6px solid #fff; }
.sd .sd-leistung__text { display: grid; gap: 20px; align-content: center; }
@media (max-width: 860px) {
	.sd .sd-leistung { grid-template-columns: 1fr; }
	.sd .sd-leistung--gedreht .sd-leistung__bild { order: 0; }
	.sd .sd-leistung__bild .sd-leistung__bild2 { right: 4%; }
}

/* ---------- FAQ ---------- */
.sd-faq { display: grid; gap: 0; border-top: 1px solid var(--linie); max-width: 920px; }
.sd-faq--mitte { margin-inline: auto; }
.sd-faq details { border-bottom: 1px solid var(--linie); }
.sd-faq summary {
	list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr 40px; gap: 24px; align-items: center;
	padding: 24px 0; font-weight: 650; font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); letter-spacing: -.01em; line-height: 1.35;
}
.sd-faq summary::-webkit-details-marker { display: none; }
.sd-faq summary::after {
	content: ""; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--linie-stark);
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f1217' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 16px no-repeat;
	transition: transform var(--dur-ui) var(--ease-out), background-color var(--dur-micro);
}
.sd-faq details[open] summary::after { transform: rotate(45deg); background-color: var(--flaeche); }
.sd-faq__antwort { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 400ms var(--ease-out); }
.sd-faq details[open] .sd-faq__antwort { grid-template-rows: 1fr; }
.sd-faq__antwort > div { overflow: hidden; }
.sd-faq__antwort p { color: var(--text-leise); max-width: 70ch; padding-bottom: 24px; margin: 0; }
.sd-faq__antwort strong { color: var(--text); }

/* ---------- Schluss-CTA (dunkel) ---------- */
.sd .sd-cta { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 40px 80px; align-items: end; }
.sd .sd-cta__links { display: grid; gap: 22px; }
.sd-cta__tel { font-family: var(--font-display); font-size: clamp(2.5rem, 1.8rem + 3vw, 4.75rem); line-height: 1; letter-spacing: -.02em; color: #fff; text-decoration: none; display: inline-block; }
.sd-cta__tel:hover { color: #fff; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .12em; }
.sd .sd-cta__rechts { display: grid; gap: 14px; justify-items: start; padding-bottom: 8px; }
.sd-cta__klein { font-size: var(--fs-klein); color: var(--text-auf-dunkel-leise); }
.sd-cta__klein a { color: #fff; }
@media (max-width: 860px) { .sd .sd-cta { grid-template-columns: 1fr; } }

/* ---------- Kontaktkarten ---------- */
.sd .sd-kontaktkarten { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.sd-kkarte { background: var(--flaeche); border-radius: var(--r-m); padding: 24px; display: grid; gap: 8px; align-content: start; text-decoration: none; color: var(--text); transition: transform var(--dur-micro) var(--ease-out), box-shadow var(--dur-micro) var(--ease-out), background-color var(--dur-micro); }
a.sd-kkarte:hover { transform: translateY(-3px); box-shadow: var(--schatten-hover); background: #fff; color: var(--text); }
.sd-kkarte__titel { font-size: var(--fs-mini); font-weight: 600; color: var(--text-leise); }
.sd-kkarte__wert { font-weight: 700; font-size: 1.0625rem; letter-spacing: -.01em; line-height: 1.4; overflow-wrap: anywhere; }
@media (max-width: 960px) { .sd .sd-kontaktkarten { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .sd .sd-kontaktkarten { grid-template-columns: 1fr; } }

/* Zweispalter generisch */
.sd .sd-zwei { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.sd .sd-zwei--5-7 { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.sd .sd-stapel { display: grid; gap: 22px; align-content: start; }
@media (max-width: 960px) { .sd .sd-zwei, .sd .sd-zwei--5-7 { grid-template-columns: 1fr; } }

/* ---------- Karte (Zwei-Klick) ---------- */
.sd-karte-gate { position: relative; border-radius: var(--r-l); overflow: hidden; background: var(--flaeche); min-height: 380px; display: grid; place-items: center; text-align: center; }
.sd-karte-gate__hinweis { max-width: 46ch; padding: 32px; display: grid; gap: 14px; justify-items: center; }
.sd-karte-gate__hinweis p { color: var(--text-leise); font-size: var(--fs-klein); }
.sd-karte-gate iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(1) contrast(1.05); }

/* ---------- Humorkalender-Seite ---------- */
.sd .sd-khero { padding: 8px var(--rand) 0; }
.sd .sd-khero__rahmen {
	max-width: calc(var(--wrap) + 2 * var(--rand) + 80px); margin: 0 auto; width: 100%;
	border-radius: var(--r-l); background: var(--flaeche); overflow: hidden;
	display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: 32px;
	padding: clamp(32px, 6vw, 88px);
}
.sd .sd-khero__text { display: grid; gap: 22px; }
.sd .sd-khero__bild { position: relative; }
.sd .sd-khero__bild .sd-kal-blatt--1 { transform: rotate(3deg); }
.sd .sd-khero__figur { position: absolute; left: -14%; bottom: -12%; width: 38%; z-index: 2; }
.sd .sd-khero__figur img { box-shadow: none; background: none; border-radius: 0; }
@media (max-width: 900px) {
	.sd .sd-khero__rahmen { grid-template-columns: 1fr; }
	.sd .sd-khero__figur { left: auto; right: -4%; width: 32%; }
}
.sd .sd-galerie { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.sd-blatt { margin: 0; display: grid; gap: 10px; cursor: zoom-in; }
.sd-blatt button { all: unset; cursor: zoom-in; display: block; border-radius: var(--r-s); }
.sd-blatt button:focus-visible { box-shadow: var(--fokus); }
.sd-blatt img { border-radius: var(--r-s); background: #fff; box-shadow: 0 1px 0 var(--linie), 0 14px 30px -18px rgba(15, 18, 23, .35); transition: transform var(--dur-ui) var(--ease-out), box-shadow var(--dur-ui) var(--ease-out); }
.sd-blatt:hover img { transform: translateY(-4px) rotate(-.6deg); box-shadow: 0 1px 0 var(--linie), 0 26px 40px -18px rgba(15, 18, 23, .45); }
.sd-blatt figcaption { font-size: var(--fs-mini); color: var(--text-leise); font-weight: 600; }
.sd-galerie__hinweis { grid-column: 1 / -1; font-size: var(--fs-klein); color: var(--text-leise); }
@media (max-width: 960px) { .sd .sd-galerie { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.sd-lightbox { border: 0; padding: 0; background: transparent; max-width: min(92vw, 980px); }
.sd-lightbox::backdrop { background: rgba(15, 18, 23, .82); backdrop-filter: blur(4px); }
.sd-lightbox img { border-radius: var(--r-s); max-height: 86vh; width: auto; margin: 0 auto; }
.sd-lightbox__zu { position: absolute; top: 10px; right: 10px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; cursor: pointer; font-size: 1.25rem; }

.sd .sd-wege { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
.sd-weg { border-radius: var(--r-l); padding: clamp(28px, 4vw, 48px); display: grid; gap: 18px; align-content: start; background: var(--flaeche); }
.sd-weg--dunkel { background: var(--ink); color: var(--text-auf-dunkel); }
.sd-weg__titel { font-family: var(--font-display); font-size: clamp(2rem, 1.6rem + 1.4vw, 3rem); line-height: 1.02; letter-spacing: -.015em; }
.sd-weg__titel em { color: var(--marke); }
.sd-weg--dunkel .sd-weg__titel em { color: #b8c5ec; }
.sd-weg p { color: var(--text-leise); }
.sd-weg--dunkel p { color: var(--text-auf-dunkel-leise); }
.sd-weg--dunkel .sd-haken li::before { background-color: #fff; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f1217' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
.sd-weg .sd-btn { justify-self: start; margin-top: 6px; }
@media (max-width: 860px) { .sd .sd-wege { grid-template-columns: 1fr; } }

.sd .sd-zeichner { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.sd .sd-zeichner__bild { display: grid; gap: 24px; justify-items: center; }
.sd .sd-zeichner__bild img { max-width: 360px; }
@media (max-width: 860px) { .sd .sd-zeichner { grid-template-columns: 1fr; } }

/* ---------- Formular (mehrstufig, klickbar) ---------- */
.sd-form { --form-r: var(--r-m); background: #fff; border-radius: var(--r-l); box-shadow: 0 1px 0 var(--linie), 0 30px 70px -40px rgba(15, 18, 23, .35); padding: clamp(24px, 4vw, 56px); max-width: 920px; margin-inline: auto; position: relative; }
.sd-sek--flaeche .sd-form { box-shadow: 0 30px 70px -40px rgba(15, 18, 23, .3); }
.sd-form__kopf { display: grid; gap: 16px; margin-bottom: 32px; }
.sd-form__fortschritt { display: none; gap: 10px; }
html.js .sd-form.ist-schrittweise .sd-form__fortschritt { display: grid; }
.sd-form__status { font-size: var(--fs-klein); font-weight: 600; color: var(--text-leise); display: flex; justify-content: space-between; gap: 12px; }
.sd-form__status strong { color: var(--text); }
.sd-form__balken { height: 4px; background: var(--flaeche-tief); border-radius: 4px; overflow: hidden; }
.sd-form__balken i { display: block; height: 100%; width: 0; background: var(--marke); border-radius: 4px; transition: width var(--dur-ui) var(--ease-out); transform-origin: left; }
.sd-form fieldset { border: 0; margin: 0 0 40px; padding: 0; min-width: 0; }
html.js .sd-form.ist-schrittweise fieldset { display: none; margin: 0; }
html.js .sd-form.ist-schrittweise fieldset.ist-aktiv { display: block; animation: sd-schritt-rein var(--dur-ui) var(--ease-out); }
@keyframes sd-schritt-rein { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: none; } }
.sd-form legend { font-family: var(--font-display); font-size: clamp(1.875rem, 1.5rem + 1.4vw, 2.75rem); line-height: 1.05; letter-spacing: -.015em; padding: 0; margin-bottom: 8px; }
.sd-form__hilfe { color: var(--text-leise); font-size: .9375rem; margin: 0 0 24px; }
.sd-form__gruppe { margin-bottom: 28px; }
.sd-form__gruppe:last-child { margin-bottom: 0; }
.sd-form__gruppentitel { display: block; font-weight: 650; margin-bottom: 12px; font-size: .9375rem; }

.sd-kacheln { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.sd-kacheln--klein { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.sd-kachel { position: relative; }
.sd-kachel input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; z-index: 1; }
.sd-kachel__flaeche {
	display: grid; gap: 6px; height: 100%; padding: 20px 20px 22px; border-radius: var(--form-r); border: 1.5px solid var(--linie-stark); background: #fff;
	transition: border-color var(--dur-micro), background-color var(--dur-micro), transform var(--dur-micro) var(--ease-out), box-shadow var(--dur-micro);
}
.sd-kachel__icon { font-size: 1.5rem; line-height: 1; margin-bottom: 6px; }
.sd-kachel__titel { font-weight: 700; letter-spacing: -.01em; line-height: 1.3; }
.sd-kachel__text { font-size: var(--fs-klein); color: var(--text-leise); line-height: 1.45; }
.sd-kachel:hover .sd-kachel__flaeche { border-color: var(--ink); transform: translateY(-2px); box-shadow: var(--schatten-ruhe); }
.sd-kachel input:checked + .sd-kachel__flaeche { border-color: var(--marke); background: var(--marke-hell); box-shadow: inset 0 0 0 1px var(--marke); }
.sd-kachel input:checked + .sd-kachel__flaeche::after {
	content: ""; position: absolute; top: 14px; right: 14px; width: 22px; height: 22px; border-radius: 50%;
	background: var(--marke) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.sd-kachel input:focus-visible + .sd-kachel__flaeche { box-shadow: var(--fokus); }

.sd-wahl { display: flex; flex-wrap: wrap; gap: 8px; }
.sd-wahl label { position: relative; }
.sd-wahl input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.sd-wahl span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: var(--r-pill); border: 1.5px solid var(--linie-stark); font-weight: 600; font-size: .9375rem; background: #fff; transition: all var(--dur-micro); }
.sd-wahl label:hover span { border-color: var(--ink); }
.sd-wahl input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.sd-wahl input:focus-visible + span { box-shadow: var(--fokus); }

.sd-zaehler { display: inline-flex; align-items: center; gap: 0; border: 1.5px solid var(--linie-stark); border-radius: var(--r-pill); background: #fff; }
.sd-zaehler button { width: 52px; height: 52px; border: 0; background: none; cursor: pointer; font-size: 1.375rem; border-radius: 50%; transition: background-color var(--dur-micro); }
.sd-zaehler button:hover { background: var(--flaeche); }
.sd-zaehler input { width: 96px; text-align: center; border: 0; font-size: 1.375rem; font-weight: 700; background: none; -moz-appearance: textfield; padding: 0; height: 52px; }
.sd-zaehler input::-webkit-outer-spin-button, .sd-zaehler input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.sd-zaehler__wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.sd-zaehler__einheit { color: var(--text-leise); font-weight: 600; }

.sd-felder { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; }
.sd-feld { display: grid; gap: 6px; }
.sd-feld--breit { grid-column: 1 / -1; }
.sd-feld label { font-weight: 650; font-size: .9375rem; }
.sd-feld label small { font-weight: 500; color: var(--text-leise); margin-left: 4px; }
.sd-feld input, .sd-feld textarea, .sd-feld select {
	width: 100%; min-height: 54px; padding: 14px 16px; border-radius: 14px; border: 1.5px solid var(--linie-stark); background: #fff; font-size: 1rem;
	transition: border-color var(--dur-micro), box-shadow var(--dur-micro);
}
.sd-feld textarea { min-height: 128px; resize: vertical; line-height: 1.5; }
.sd-feld input:hover, .sd-feld textarea:hover { border-color: var(--ink); }
.sd-feld input:focus, .sd-feld textarea:focus { outline: none; border-color: var(--marke); box-shadow: 0 0 0 3px var(--marke-hell); }
.sd-feld__hilfe { font-size: var(--fs-mini); color: var(--text-leise); }
.sd-feld.hat-fehler input, .sd-feld.hat-fehler textarea, .sd-form__gruppe.hat-fehler .sd-kachel__flaeche, .sd-form__gruppe.hat-fehler .sd-wahl span { border-color: var(--fehler); }
.sd-fehler { color: var(--fehler); font-size: var(--fs-klein); font-weight: 600; margin-top: 6px; display: none; }
.hat-fehler > .sd-fehler, .hat-fehler .sd-fehler { display: block; }
@media (max-width: 640px) { .sd-felder { grid-template-columns: 1fr; } }

.sd-check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-size: .9375rem; line-height: 1.5; }
.sd-check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--marke); flex: 0 0 auto; }

[data-sd-wenn] { }
html.js [data-sd-wenn].ist-versteckt { display: none !important; }

.sd-zusammenfassung { background: var(--flaeche); border-radius: var(--form-r); padding: 8px 24px; margin-bottom: 24px; }
.sd-zusammenfassung dl { margin: 0; display: grid; grid-template-columns: minmax(120px, .7fr) minmax(0, 1.3fr); }
.sd-zusammenfassung dt, .sd-zusammenfassung dd { padding: 14px 0; border-bottom: 1px solid var(--linie); margin: 0; }
.sd-zusammenfassung dt { color: var(--text-leise); font-size: .9375rem; }
.sd-zusammenfassung dd { font-weight: 650; overflow-wrap: anywhere; }
.sd-zusammenfassung dl > :nth-last-child(-n+2) { border-bottom: 0; }
.sd-zusammenfassung button { all: unset; cursor: pointer; color: var(--marke); font-size: var(--fs-mini); font-weight: 650; margin-left: 8px; text-decoration: underline; }
.sd-zusammenfassung--nojs { display: none; }
html.js .sd-zusammenfassung--nojs { display: block; }
.sd-datenschutz-hinweis { font-size: var(--fs-mini); color: var(--text-leise); line-height: 1.55; margin: 16px 0 0; }

.sd-form__nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--linie); }
.sd-form__nav .sd-btn[hidden] { display: none; }
.sd-form__zurueck { background: none; border: 0; cursor: pointer; font-weight: 650; color: var(--text-leise); padding: 12px 0; }
.sd-form__zurueck:hover { color: var(--ink); }
html:not(.js) .sd-form__weiter, html:not(.js) .sd-form__zurueck { display: none; }
.sd-form__senden[disabled] { opacity: .6; cursor: wait; }
.sd-form__melde { margin-top: 18px; padding: 14px 18px; border-radius: 14px; background: #fdecea; color: var(--fehler); font-weight: 600; display: none; }
.sd-form__melde.ist-sichtbar { display: block; }
.sd-honig { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* Danke */
.sd-danke { max-width: 920px; margin: 0 0 40px; display: grid; gap: 28px; }
.sd-danke__ref { display: inline-flex; gap: 10px; align-items: center; padding: 10px 18px; border-radius: var(--r-pill); background: var(--marke-hell); color: var(--marke-tief); font-weight: 700; font-variant-numeric: tabular-nums; justify-self: start; }
.sd-danke__schritte { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; counter-reset: d; }
.sd-danke__schritte li { background: var(--flaeche); border-radius: var(--r-m); padding: 24px; counter-increment: d; display: grid; gap: 6px; }
.sd-danke__schritte li::before { content: counter(d); width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 700; margin-bottom: 8px; }
.sd-danke__schritte strong { font-size: 1.0625rem; }
.sd-danke__schritte span { color: var(--text-leise); font-size: .9375rem; line-height: 1.5; }
@media (max-width: 760px) { .sd-danke__schritte { grid-template-columns: 1fr; } }

/* ---------- Rechtstexte ---------- */
.sd .sd-recht { max-width: var(--wrap-text); }
.sd-recht h2 { font-family: var(--font-display); font-size: clamp(1.75rem, 1.5rem + 1vw, 2.375rem); line-height: 1.1; margin: 56px 0 16px; letter-spacing: -.01em; }
.sd-recht h3 { font-weight: 700; font-size: 1.125rem; margin: 32px 0 10px; letter-spacing: -.01em; }
.sd-recht p, .sd-recht li { color: #3b3f47; }
.sd-recht ul { padding-left: 1.2em; }
.sd-recht table { width: 100%; border-collapse: collapse; margin: 16px 0 24px; font-size: .9375rem; }
.sd-recht th, .sd-recht td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--linie); vertical-align: top; }
.sd-recht th { font-weight: 700; background: var(--flaeche); }
.sd-recht a { color: var(--marke); overflow-wrap: anywhere; }
.sd-recht__stand { font-size: var(--fs-klein); color: var(--text-leise); }
@media (max-width: 640px) { .sd-recht table { display: block; overflow-x: auto; } }

/* ---------- Seiten-Kopf für Textseiten ---------- */
.sd .sd-seitenkopf { padding-top: clamp(48px, 7vw, 112px); padding-bottom: clamp(32px, 4vw, 56px); }
.sd .sd-seitenkopf__innen { display: grid; gap: 22px; }

/* ---------- 404 ---------- */
.sd-404 { padding: clamp(96px, 14vw, 200px) 0; }
.sd-404 .sd-wrap { display: grid; gap: 24px; justify-items: start; }
.sd-404__titel { font-family: var(--font-display); font-size: var(--fs-h1); line-height: .98; letter-spacing: -.02em; max-width: 16ch; }
.sd-404__titel em { color: var(--marke); }
.sd-404__links { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Fuß ---------- */
.sd-fuss { background: var(--ink-2); color: var(--text-auf-dunkel); padding: clamp(56px, 7vw, 96px) 0 28px; }
.sd-sek--dunkel + .sd-fuss, .sd .sd-sek--dunkel:last-child ~ .sd-fuss { border-top: 1px solid var(--linie-hell); }
.sd-fuss__innen { max-width: calc(var(--wrap) + 2 * var(--rand)); margin: 0 auto; padding: 0 var(--rand); display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.sd-fuss__name { font-family: var(--font-display); font-size: 2.5rem; line-height: 1; letter-spacing: -.01em; margin-bottom: 14px; }
.sd-fuss__name em { color: #b8c5ec; }
.sd-fuss__claim { color: var(--text-auf-dunkel-leise); font-size: .9375rem; max-width: 34ch; }
.sd-fuss__titel { font-size: var(--fs-mini); font-weight: 600; color: var(--text-auf-dunkel-leise); margin-bottom: 12px; }
.sd-fuss address { font-style: normal; line-height: 1.7; }
.sd-fuss a { color: var(--text-auf-dunkel); text-decoration: none; }
.sd-fuss a:hover { color: #fff; text-decoration: underline; }
.sd-fuss__liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.sd-fuss__unten { max-width: calc(var(--wrap) + 2 * var(--rand)); margin: 56px auto 0; padding: 24px var(--rand) 0; border-top: 1px solid var(--linie-hell); display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; font-size: var(--fs-klein); color: var(--text-auf-dunkel-leise); }
.sd-fuss__unten p { margin: 0; margin-right: auto; }
.sd-fuss__recht { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 20px; }
.sd-fuss__recht a { color: var(--text-auf-dunkel-leise); }
.sd-fuss__cookie { background: none; border: 0; color: var(--text-auf-dunkel-leise); cursor: pointer; padding: 0; font-size: inherit; text-decoration: underline; text-underline-offset: .2em; }
.sd-fuss__cookie:hover { color: #fff; }
@media (max-width: 960px) { .sd-fuss__innen { grid-template-columns: 1fr 1fr; } .sd-fuss__marke { grid-column: 1 / -1; } }
@media (max-width: 520px) { .sd-fuss__innen { grid-template-columns: 1fr; } }

/* ---------- Cookie-Hinweis ---------- */
.sd-consent {
	position: fixed; left: 16px; bottom: 16px; z-index: 900; width: min(440px, calc(100vw - 32px));
	background: #fff; color: var(--text); border-radius: var(--r-m); padding: 24px;
	box-shadow: 0 1px 0 var(--linie), 0 30px 60px -20px rgba(15, 18, 23, .45);
	display: none;
}
.sd-consent.ist-offen { display: block; animation: sd-consent-rein var(--dur-ui) var(--ease-out); }
@keyframes sd-consent-rein { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.sd-consent__titel { font-family: var(--font-display); font-size: 1.75rem; line-height: 1.05; margin: 0 0 10px; }
.sd-consent p { font-size: .875rem; line-height: 1.55; color: var(--text-leise); margin: 0 0 14px; }
.sd-consent a { color: var(--marke); }
.sd-consent__opt { border-top: 1px solid var(--linie); padding: 12px 0; display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center; font-size: .875rem; }
.sd-consent__opt strong { font-weight: 700; }
.sd-consent__opt small { grid-column: 1; color: var(--text-leise); line-height: 1.45; }
.sd-schalter { position: relative; width: 46px; height: 26px; grid-row: span 2; }
.sd-schalter input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; z-index: 1; }
.sd-schalter span { position: absolute; inset: 0; border-radius: 26px; background: var(--flaeche-tief); transition: background-color var(--dur-micro); }
.sd-schalter span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform var(--dur-micro) var(--ease-out); }
.sd-schalter input:checked + span { background: var(--marke); }
.sd-schalter input:checked + span::after { transform: translateX(20px); }
.sd-schalter input:disabled + span { background: var(--text-leise); opacity: .6; }
.sd-schalter input:focus-visible + span { box-shadow: var(--fokus); }
.sd-consent__knoepfe { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.sd-consent__knoepfe .sd-btn { min-height: 46px; padding: 0 14px; font-size: .875rem; }
.sd-consent__knoepfe .sd-btn:first-child { grid-column: 1 / -1; }
.sd-consent-icon {
	position: fixed; left: 16px; bottom: 16px; z-index: 800; width: 44px; height: 44px; border-radius: 50%;
	background: #fff; border: 1px solid var(--linie-stark); box-shadow: var(--schatten-ruhe); cursor: pointer; display: none; place-items: center;
}
.sd-consent-icon.ist-sichtbar { display: grid; }
.sd-consent-icon svg { width: 20px; height: 20px; }

/* ---------- Motion: Einblenden (nur mit JS + ohne reduzierte Bewegung) ---------- */
@media (prefers-reduced-motion: no-preference) {
	html.js [data-sd-reveal], html.js .sd-reveal {
		opacity: 0; transform: translateY(24px);
		transition: opacity var(--dur-reveal) var(--ease-out), transform var(--dur-reveal) var(--ease-out);
		transition-delay: var(--verzug, 0ms);
	}
	html.js [data-sd-reveal].ist-sichtbar, html.js .sd-reveal.ist-sichtbar { opacity: 1; transform: none; }

	/* Hero-Kaskade: Label 0 · Headline 120 · Vorspann 320 · Knöpfe 520 · Bild-Zoom 1400 */
	html.js .sd-hero__inhalt > * { opacity: 0; transform: translateY(20px); animation: sd-hero-rein var(--dur-reveal) var(--ease-out) forwards; }
	html.js .sd-hero__inhalt > :nth-child(1) { animation-delay: 70ms; }
	html.js .sd-hero__inhalt > :nth-child(2) { animation-delay: 190ms; }
	html.js .sd-hero__inhalt > :nth-child(3) { animation-delay: 390ms; }
	html.js .sd-hero__inhalt > :nth-child(4) { animation-delay: 590ms; }
	html.js .sd-hero__bild img { animation: sd-hero-zoom 1400ms var(--ease-out) both; }
}
@keyframes sd-hero-rein { to { opacity: 1; transform: none; } }
@keyframes sd-hero-zoom { from { transform: scale(1.07); } to { transform: scale(1); } }

/* ---------- Editor: Elementor-Vorschau zeigt alles ---------- */
.elementor-editor-active [data-sd-reveal], .elementor-editor-active .sd-reveal, .elementor-editor-active .sd-hero__inhalt > * { opacity: 1 !important; transform: none !important; animation: none !important; }

/* ---------- P4: Reduzierte Bewegung – alles auf Endzustand ---------- */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
	html { scroll-behavior: auto; }
	[data-sd-reveal], .sd-reveal, .sd-hero__inhalt > * { opacity: 1 !important; transform: none !important; }
	.sd-btn:hover, .sd-karte:hover .sd-karte__bild img, .sd-blatt:hover img, a.sd-kkarte:hover, .sd-kachel:hover .sd-kachel__flaeche { transform: none !important; }
}

/* ---------- Druck ---------- */
@media print {
	.sd-kopf, .sd-fuss, .sd-consent, .sd-consent-icon, .sd-form__nav { display: none !important; }
	body { color: #000; }
}

/* Nachträge */
.sd .sd-statement__mitte .sd-knoepfe { justify-content: center; }
.sd .sd-kopfzeile--mitte .sd-lead { margin-inline: auto; text-align: center; }
.sd-consent-icon { width: 38px; height: 38px; left: 12px; bottom: 12px; opacity: .9; }
@media (max-width: 640px) { .sd-consent-icon { width: 34px; height: 34px; left: 8px; bottom: 8px; } .sd-consent-icon svg { width: 16px; height: 16px; } }
