/* ==========================================================================
   Jendrock Elektrotechnik – Stile
   Aufbau wie Sattlerei Eckardt: hell, sehr große Überschriften, Bento-Raster,
   schwebende Navigation, dunkler Fußbereich. Farben aus dem Logo: Schwarz + Signalrot.
   Keine externen Schriften, keine externen Dateien.
   ========================================================================== */

/* DM Sans (variabel, 100–1000), lokal abgelegt – kein Aufruf bei Google Fonts. Lizenz: SIL Open Font License */
@font-face { font-family: "DM Sans"; src: url("../fonts/dm-sans-latin.woff2") format("woff2"); font-weight: 100 1000; font-style: normal; font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "DM Sans"; src: url("../fonts/dm-sans-latin-ext.woff2") format("woff2"); font-weight: 100 1000; font-style: normal; font-display: swap;
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
	--rot: #cc071e;
	--rot-dunkel: #a50518;
	--graphit: #17191f;
	--anthrazit: #262a33;
	--hell: #f3f4f6;
	--rose: #fbeef0;
	--tinte: #0b0d12;
	--grau: #5b6271;
	--linie: #e5e7eb;
	--text: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
	--titel: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
	--breite: 1400px; /* maximale Inhaltsbreite: Navigation, Inhalt und Fuß stehen bündig darin */
	--rand: clamp(16px, 3.5vw, 56px);
	--abstand: clamp(72px, 10vw, 140px);
	--radius: 24px;
	--radius-gross: 32px;
	--kopf: 76px;
	--haken: url("data:image/svg+xml;charset=UTF-8,%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%3Cpolyline points='5 12 10 17 19 7'/%3E%3C/svg%3E");
	--pfeil: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7M8 7h9v9'/%3E%3C/svg%3E");
	--telefon: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 3.5 9 3l1.7 4.2-2.1 1.5a12 12 0 0 0 6.7 6.7l1.5-2.1L21 15l-.5 2.4a2.5 2.5 0 0 1-2.6 2C10.2 18.9 5.1 13.8 4.6 6.1a2.5 2.5 0 0 1 2-2.6Z'/%3E%3C/svg%3E");
}

/* ---------- Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
	margin: 0; background: #fff; color: var(--tinte); font-family: var(--text); font-size: 17px; line-height: 1.65;
	-webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--rot); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--rot-dunkel); }
::selection { background: var(--rot); color: #fff; }
:focus-visible { outline: 2px solid var(--rot); outline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--titel); font-weight: 600; line-height: 1.08; margin: 0 0 0.5em; letter-spacing: -0.035em; text-wrap: balance; color: var(--tinte); }
h2 { font-size: clamp(32px, 4vw, 60px); }
h3 { font-size: clamp(21px, 1.8vw, 26px); letter-spacing: -0.02em; line-height: 1.2; }
p { margin: 0 0 1.1em; }
p, li { text-wrap: pretty; }
strong { font-weight: 600; }

.sr-only { border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; white-space: nowrap; }
.skip-link { position: absolute; left: 8px; top: -100px; z-index: 1000; padding: 12px 18px; background: #fff; color: var(--tinte); border-radius: 999px; box-shadow: 0 8px 30px rgba(11, 13, 18, 0.15); }
.skip-link:focus { top: 8px; }

.wrap { max-width: calc(var(--breite) + 2 * var(--rand)); margin: 0 auto; padding-left: var(--rand); padding-right: var(--rand); }
.lesbar > * { max-width: 880px; }

/* ---------- Buttons ---------- */
.buttons { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 1.8rem; }
.btn {
	display: inline-flex; align-items: center; gap: 10px; padding: 15px 26px; border-radius: 999px; border: 0; cursor: pointer;
	background: var(--rot); color: #fff; text-decoration: none; font: 500 16px/1.2 var(--text); transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.btn::after { content: ""; width: 16px; height: 16px; background: currentColor; flex: none; -webkit-mask: var(--pfeil) center / contain no-repeat; mask: var(--pfeil) center / contain no-repeat; transition: transform 0.2s ease; }
.btn:hover { background: var(--rot-dunkel); color: #fff; }
.btn:hover::after { transform: translate(2px, -2px); }
.btn--hell { background: #fff; color: var(--tinte); }
.btn--hell:hover { background: var(--hell); color: var(--tinte); }
.btn--rand { background: transparent; color: var(--tinte); box-shadow: inset 0 0 0 1px rgba(11, 13, 18, 0.2); }
.btn--rand::after { display: none; }
.btn--rand:hover { background: transparent; color: var(--tinte); box-shadow: inset 0 0 0 1px currentColor; }
.btn--tel::after { display: none; }
.btn--tel::before { content: ""; width: 15px; height: 15px; background: currentColor; flex: none; -webkit-mask: var(--telefon) center / contain no-repeat; mask: var(--telefon) center / contain no-repeat; }
.dunkel .btn--rand, .karte-rot .btn--rand { color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4); }
.dunkel .btn--rand:hover, .karte-rot .btn--rand:hover { box-shadow: inset 0 0 0 1px #fff; }

/* Etikett über Überschriften */
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 12px; margin-bottom: 1.2rem; border-radius: 999px; background: var(--rose); color: var(--rot); font-size: 13.5px; font-weight: 500; }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.dunkel .badge, .karte-rot .badge { background: rgba(255, 255, 255, 0.12); color: #fff; }

/* ---------- Kopfleiste ---------- */
.site-header { position: sticky; top: 0; z-index: 100; transition: transform 0.35s ease; }
.site-header.is-versteckt { transform: translateY(-120%); }
.site-header__inner {
	position: relative; z-index: 2; min-height: var(--kopf); display: flex; align-items: center; gap: 20px;
	padding: 10px max(var(--rand), (100% - var(--breite)) / 2);
	background: rgba(255, 255, 255, 0.86); -webkit-backdrop-filter: saturate(1.6) blur(16px); backdrop-filter: saturate(1.6) blur(16px);
	border-bottom: 1px solid rgba(11, 13, 18, 0.07); transition: box-shadow 0.3s ease;
}
.site-header.is-scrolled .site-header__inner { box-shadow: 0 10px 40px -12px rgba(11, 13, 18, 0.18); }
.logo { display: block; flex: none; line-height: 0; }
.logo img { width: clamp(160px, 14vw, 200px); height: auto; }

.nav { margin: 0 4px 0 auto; }
.nav__liste, .nav__sub { list-style: none; margin: 0; padding: 0; }
.nav__liste { display: flex; align-items: center; gap: 2px; }
.nav__liste > li { position: relative; }
.nav a { display: block; color: var(--tinte); text-decoration: none; font-weight: 500; font-size: 15px; }
.nav__liste > li > a { padding: 10px 14px; border-radius: 999px; transition: background-color 0.2s ease; }
.nav__liste > li > a:hover, .nav__liste > li > a[aria-current], .nav__liste > li.ist-aktiv > a { background: var(--hell); }
.nav__hat-sub > a::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 8px; vertical-align: 3px; opacity: 0.5; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); }
.nav__sub {
	position: absolute; top: calc(100% + 12px); left: -8px; min-width: 290px; padding: 8px;
	background: #fff; border-radius: 20px; box-shadow: 0 24px 60px -20px rgba(11, 13, 18, 0.25); border: 1px solid rgba(11, 13, 18, 0.06);
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}
.nav__sub::before { content: ""; position: absolute; inset: -14px 0 auto; height: 14px; }
.nav li:hover > .nav__sub, .nav li:focus-within > .nav__sub { opacity: 1; visibility: visible; transform: none; }
.nav__sub a { padding: 10px 14px; border-radius: 12px; color: var(--grau); }
.nav__sub a:hover, .nav__sub a[aria-current] { background: var(--hell); color: var(--tinte); }
.kopf-aktionen { display: flex; align-items: center; gap: 6px; flex: none; }
.kopf-tel { padding: 12px 20px; font-size: 15px; }
.kopf-icons { display: none; gap: 6px; }
.icon-knopf { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; color: var(--tinte); background: var(--hell); }
.icon-knopf:hover { color: var(--rot); }
.icon-knopf svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Burger */
.burger { display: none; align-items: center; justify-content: center; width: 46px; height: 46px; padding: 0; border: 0; background: none; color: var(--tinte); cursor: pointer; flex: none; }
.burger__linien { position: relative; display: block; width: 28px; height: 10px; transition: height 0.7s cubic-bezier(0.65, 0, 0.35, 1); }
.burger__linien b { position: absolute; right: 0; width: 100%; height: 2px; border-radius: 2px; background: currentColor; transition: transform 0.7s cubic-bezier(0.65, 0, 0.35, 1), width 0.7s cubic-bezier(0.65, 0, 0.35, 1), top 0.7s cubic-bezier(0.65, 0, 0.35, 1); }
.burger__linien b:first-child { top: 0; }
.burger__linien b:last-child { top: calc(100% - 2px); width: 68%; }
[aria-expanded="true"] .burger__linien { height: 28px; }
[aria-expanded="true"] .burger__linien b { top: calc(50% - 1px); width: 100%; }
[aria-expanded="true"] .burger__linien b:first-child { transform: rotate(45deg); }
[aria-expanded="true"] .burger__linien b:last-child { transform: rotate(-45deg); }

/* Menü Handy */
.mnav {
	position: fixed; inset: 0; z-index: 1; height: 100vh; height: 100dvh; overflow-y: auto; overscroll-behavior: contain;
	padding: calc(var(--kopf) + 24px) var(--rand) 48px; background: #fff; color: var(--tinte);
	opacity: 0; visibility: hidden; transform: translateY(-1rem);
	transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), visibility 0s linear 0.6s;
}
.mnav.ist-offen { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mnav a { color: inherit; text-decoration: none; }
html.menue-offen { overflow: hidden; }
html.menue-offen .site-header__inner { background: #fff; border-bottom-color: transparent; box-shadow: none !important; }
.mnav__liste { margin: 0; padding: 0; list-style: none; }
.mnav__gruppe { border-bottom: 1px solid var(--linie); }
.mnav__gruppe:first-child { border-top: 1px solid var(--linie); }
.mnav__kopf { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.mnav__titel { display: block; flex: 1; padding: 16px 0 15px; font-family: var(--titel); font-size: 24px; font-weight: 600; line-height: 1.15; letter-spacing: -0.02em; }
.mnav__pfeil { position: relative; flex: none; width: 44px; height: 44px; margin-right: -10px; padding: 0; border: 0; background: none; color: inherit; cursor: pointer; }
.mnav__pfeil::before {
	content: ""; position: absolute; left: 50%; top: 42%; width: 10px; height: 10px;
	border: solid currentColor; border-width: 0 2px 2px 0; transform: translate(-50%, -50%) rotate(45deg);
	transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), top 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.mnav__gruppe.ist-offen .mnav__pfeil::before { top: 58%; transform: translate(-50%, -50%) rotate(-135deg); }
/* Unterpunkte klappen per max-height auf */
.mnav__sub { max-height: 0; margin: 0; padding: 0; overflow: hidden; list-style: none; transition: max-height 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
.mnav__gruppe.ist-offen .mnav__sub { max-height: 40rem; }
.mnav__sub > li:first-child { padding-top: 2px; }
.mnav__sub > li:last-child { padding-bottom: 16px; }
.mnav__link { display: inline-block; padding: 7px 0; font-size: 17px; line-height: 1.3; color: var(--grau) !important; }
.mnav [aria-current], .mnav .ist-aktiv { color: var(--rot) !important; }
/* Hauptpunkte beim Öffnen leicht versetzt einblenden */
.mnav__gruppe, .mnav__fuss { opacity: 0; transform: translateY(0.75rem); transition: opacity 0.6s ease, transform 0.6s ease; }
.mnav.ist-offen .mnav__gruppe, .mnav.ist-offen .mnav__fuss { opacity: 1; transform: none; transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1); }
.mnav.ist-offen .mnav__gruppe:nth-child(2) { transition-delay: 0.06s; }
.mnav.ist-offen .mnav__gruppe:nth-child(3) { transition-delay: 0.12s; }
.mnav.ist-offen .mnav__gruppe:nth-child(4) { transition-delay: 0.18s; }
.mnav.ist-offen .mnav__gruppe:nth-child(5) { transition-delay: 0.24s; }
.mnav.ist-offen .mnav__gruppe:nth-child(6) { transition-delay: 0.3s; }
.mnav.ist-offen .mnav__fuss { transition-delay: 0.36s; }
.mnav__fuss { margin-top: 36px; color: var(--grau); }
.mnav__fuss p { margin: 0 0 16px; }
.mnav__fuss a { color: var(--rot); font-weight: 500; }
.label { display: block; margin-bottom: 2px; font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--tinte); }

@media (min-width: 1080px) {
	.mnav { display: none; }
	.nav__liste > li:last-child > a { color: var(--grau); }
}
@media (max-width: 1079px) {
	.nav, .kopf-tel { display: none; }
	.kopf-icons, .burger { display: flex; }
	.kopf-aktionen { margin-left: auto; }
}
@media (max-width: 480px) {
	.logo img { width: 150px; }
	.site-header__inner { gap: 8px; }
	.icon-knopf { width: 42px; height: 42px; }
}

/* ---------- Abschnitte ---------- */
main { margin-top: calc(var(--kopf) * -1); }
.abschnitt { padding: var(--abstand) 0; }
.abschnitt--folge { padding-top: 0; }
.bg-hell { background: var(--hell); }
.dunkel { background: var(--graphit); color: rgba(255, 255, 255, 0.72); }
.dunkel h2, .dunkel h3 { color: #fff; }
.dunkel a:not(.btn) { color: #fff; }
.abschnitt-kopf { margin-bottom: clamp(36px, 5vw, 64px); }
.abschnitt-kopf > * { max-width: 980px; }
.abschnitt-kopf > :last-child { margin-bottom: 0; }
.abschnitt-kopf p, .einleitung { color: var(--grau); font-size: clamp(17px, 1.25vw, 19px); }
.dunkel .abschnitt-kopf p { color: rgba(255, 255, 255, 0.75); }

/* Raster */
.raster { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 40px clamp(24px, 4vw, 64px); align-items: center; }
.s-5 { grid-column: span 5; } .s-6 { grid-column: span 6; } .s-7 { grid-column: span 7; }
@media (max-width: 860px) { .raster > * { grid-column: 1 / -1; } .raster .bild-zuerst { order: -1; } }
.bild-rund { border-radius: var(--radius-gross); width: 100%; aspect-ratio: 4 / 3.3; object-fit: cover; }

/* Haken-Liste */
.haken { list-style: none; padding: 0; margin: 0 0 1.6rem; display: grid; gap: 12px; }
.haken li { position: relative; padding-left: 36px; font-weight: 500; color: var(--tinte); }
.haken li::before { content: ""; position: absolute; left: 0; top: 0.12em; width: 24px; height: 24px; border-radius: 50%; background: var(--haken) center / 13px no-repeat, var(--rot); }
.haken--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 32px; }
@media (max-width: 640px) { .haken--2 { grid-template-columns: 1fr; } }

/* ---------- Titelbereich Startseite ---------- */
.hero__inner { max-width: calc(var(--breite) + 2 * var(--rand)); margin: 0 auto; padding: calc(var(--kopf) + clamp(48px, 7vw, 104px)) var(--rand) clamp(48px, 6vw, 88px); }
.hero__kopf { margin-bottom: clamp(36px, 5vw, 64px); }
.hero__titel { font-family: var(--text); font-weight: 600; font-size: clamp(38px, 5.4vw, 112px); line-height: 1.02; letter-spacing: -0.04em; margin: 0; max-width: 15ch; }
.hero__titel span { color: var(--rot); }
.hero__unter { font-family: var(--text); font-weight: 500; font-size: clamp(20px, 2vw, 34px); line-height: 1.25; letter-spacing: -0.02em; margin: 0.6em 0 0; color: var(--grau); max-width: 36ch; }
.bento { display: grid; gap: clamp(10px, 1.2vw, 16px); grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: minmax(clamp(150px, 15vw, 210px), auto); }
.karte-rot {
	grid-column: 1 / 6; grid-row: 1 / 3; position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end;
	padding: clamp(24px, 3vw, 40px); border-radius: var(--radius-gross); background: var(--rot); color: rgba(255, 255, 255, 0.9);
}
.karte-rot > * { position: relative; }
.karte-rot p { font-size: clamp(17px, 1.3vw, 20px); margin: 0; max-width: 480px; }
.bento__bild { width: 100%; height: 0; min-height: 100%; object-fit: cover; border-radius: var(--radius-gross); }
.bento__bild--1 { grid-column: 6 / 10; grid-row: 1 / 3; }
.bento__bild--2 { grid-column: 10 / 13; grid-row: 1 / 2; }
.bento__bild--3 { grid-column: 10 / 13; grid-row: 2 / 3; }
.fakten { grid-column: 1 / -1; list-style: none; margin: clamp(20px, 3vw, 40px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-self: start; }
.fakten li { display: grid; gap: 4px; padding-top: 18px; border-top: 1px solid var(--linie); }
.fakten strong { font-family: var(--titel); font-size: clamp(26px, 2.8vw, 40px); font-weight: 600; letter-spacing: -0.03em; line-height: 1; }
.fakten span { font-size: 15px; color: var(--grau); }
@media (max-width: 899px) {
	.bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: auto; }
	.karte-rot { grid-column: 1 / -1; grid-row: auto; }
	.bento__bild { height: auto; min-height: 0; aspect-ratio: 1; }
	.bento__bild--1 { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 4 / 3; }
	.bento__bild--2, .bento__bild--3 { grid-column: auto; grid-row: auto; }
}
@media (max-width: 560px) { .fakten { grid-template-columns: 1fr; gap: 0; } .fakten li { padding: 14px 0; } }

/* ---------- Seitenkopf Unterseiten ---------- */
.seitenkopf { background: var(--graphit); color: #fff; position: relative; overflow: hidden; }
.seitenkopf__inner {
	position: relative; display: grid; gap: clamp(28px, 4vw, 64px); align-items: end;
	padding: calc(var(--kopf) + clamp(40px, 6vw, 96px)) max(var(--rand), (100% - var(--breite)) / 2) clamp(40px, 5vw, 80px);
}
.seitenkopf__inner > * { position: relative; }
.seitenkopf--bild .seitenkopf__inner { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
.seitenkopf h1 { font-size: clamp(38px, 5.6vw, 84px); line-height: 1.02; letter-spacing: -0.045em; color: #fff; margin-bottom: 0.35em; }
.seitenkopf__einleitung { font-size: clamp(17px, 1.35vw, 20px); color: rgba(255, 255, 255, 0.82); max-width: 640px; margin: 0; }
.seitenkopf__bild { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.seitenkopf .badge { background: rgba(204, 7, 30, 0.9); color: #fff; }
@media (max-width: 860px) { .seitenkopf--bild .seitenkopf__inner { grid-template-columns: 1fr; } }
.seitenkopf + .abschnitt { padding-top: clamp(48px, 6vw, 88px); }

.krumen { font-size: 14px; color: rgba(255, 255, 255, 0.6); margin: 0 0 1.4rem; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.krumen li + li::before { content: "/"; margin-right: 8px; opacity: 0.5; }
.krumen a { color: inherit; text-decoration: none; }
.krumen a:hover { color: #fff; text-decoration: underline; }
.krumen [aria-current] { color: #fff; }

/* ---------- Leistungsseite: Bereichsmenü + Text ---------- */
.leistung { display: grid; grid-template-columns: minmax(240px, 3fr) minmax(0, 9fr); gap: 40px clamp(24px, 4vw, 64px); align-items: start; }
.leistung__seite { position: sticky; top: 100px; display: grid; gap: 16px; }
.leistung__text > * { max-width: 880px; }
.leistung__text h2 { font-size: clamp(28px, 3vw, 44px); margin-top: 1.6em; }
.leistung__text h2:first-child { margin-top: 0; }
.leistung__text h3 { margin-top: 1.4em; }
.leistung__text p, .leistung__text li { color: #3b414d; font-size: clamp(17px, 1.2vw, 18.5px); }
.leistung__text .haken li { color: var(--tinte); }
.leistung__text figure { margin: 2.2rem 0; max-width: none; }
.leistung__text figure img { border-radius: var(--radius); width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.leistung__text figcaption { font-size: 14px; color: var(--grau); margin-top: 8px; }
.bereich { padding: 8px; background: var(--hell); border-radius: var(--radius); }
.bereich__titel { font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--grau); margin: 12px 14px 8px; }
.bereich ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.bereich a { display: block; padding: 10px 14px; border-radius: 14px; color: var(--tinte); text-decoration: none; font-size: 15.5px; hyphens: auto; transition: background-color 0.2s ease; }
.bereich a:hover { background: #fff; color: var(--tinte); }
.bereich a[aria-current] { background: var(--tinte); color: #fff; font-weight: 600; }
.seitenkarte { padding: 24px; border-radius: var(--radius); background: var(--rot); color: rgba(255, 255, 255, 0.88); font-size: 15.5px; }
.seitenkarte strong { display: block; color: #fff; font-family: var(--titel); font-size: 20px; letter-spacing: -0.02em; margin-bottom: 6px; }
.seitenkarte p { margin: 0 0 14px; }
.seitenkarte a:not(.btn) { color: #fff; font-weight: 600; text-decoration: none; }
.seitenkarte .btn { margin-top: 4px; padding: 12px 20px; font-size: 15px; }
@media (max-width: 860px) {
	.leistung { grid-template-columns: 1fr; }
	.leistung__seite { position: static; order: 2; }
}

/* Hinweis-Kasten im Text */
.kasten { padding: clamp(22px, 2.6vw, 32px); border-radius: var(--radius); background: var(--hell); margin: 2rem 0; }
.kasten > :last-child { margin-bottom: 0; }
.kasten h3 { margin-top: 0 !important; }

/* Fragen und Antworten */
.faq { border-top: 1px solid var(--linie); margin-top: 1.4rem; }
.faq details { border-bottom: 1px solid var(--linie); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; padding: 20px 0; font-family: var(--titel); font-weight: 600; font-size: clamp(18px, 1.4vw, 21px); letter-spacing: -0.015em; line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--hell); font-family: var(--text); font-weight: 400; font-size: 22px; line-height: 1; transition: transform 0.25s ease, background-color 0.25s ease; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--rose); color: var(--rot); }
.faq details > div { padding: 0 48px 18px 0; }

/* ---------- Karten ---------- */
.karten { display: grid; gap: clamp(10px, 1.2vw, 16px); grid-template-columns: repeat(3, minmax(0, 1fr)); }
.karten--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 999px) { .karten { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .karten, .karten--2 { grid-template-columns: 1fr; } }
.karte { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; min-height: clamp(320px, 28vw, 420px); border-radius: var(--radius); background: var(--graphit); color: #fff; }
/* Bildkarte: Foto oben, Text darunter auf einfarbigem Anthrazit (kein Verlauf über dem Bild) */
.karte--bild { justify-content: flex-start; background: var(--anthrazit); }
.karte__bildrahmen { position: relative; overflow: hidden; aspect-ratio: 16 / 10; flex: none; }
.karte__bild { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
.karte--bild .karte__inhalt { flex: 1; }
.karte__inhalt { position: relative; z-index: 1; padding: clamp(22px, 2.4vw, 32px); }
.karte h3 { color: #fff; margin-bottom: 0.4em; }
.karte h3 a { color: inherit; text-decoration: none; }
.karte h3 a::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.karte p { margin: 0; font-size: 16px; color: rgba(255, 255, 255, 0.78); }
.karte::before { content: ""; position: absolute; top: 16px; right: 16px; z-index: 1; width: 44px; height: 44px; border-radius: 50%; background: #fff var(--pfeil) center / 18px no-repeat; transition: transform 0.25s ease; }
.karte:hover::before { transform: rotate(45deg); }
.karte:hover .karte__bild { transform: scale(1.05); }
.karte:focus-within { outline: 2px solid var(--rot); outline-offset: 3px; }
.karte h3 a:focus-visible { outline: none; }
.karte--grafik { background: var(--anthrazit); }
.karte--grafik .karte__symbol { position: absolute; top: 28px; left: 28px; width: 64px; height: 64px; color: var(--rot); }
.karte--grafik .karte__symbol svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.karte--rot { background: var(--rot); }
.karte--rot::before { display: none; }
.karte--rot p { color: rgba(255, 255, 255, 0.9); }
.karte--rot .karte__aktion { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; position: relative; z-index: 3; }

/* ---------- Stärken mit großen Zahlen/Begriffen ---------- */
.staerken { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: clamp(24px, 3vw, 40px); }
.staerke { padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.22); }
.bg-hell .staerke, .abschnitt:not(.dunkel) .staerke { border-top-color: var(--linie); }
.staerke__wert { font-family: var(--titel); font-size: clamp(30px, 3vw, 46px); font-weight: 600; letter-spacing: -0.04em; line-height: 1; margin-bottom: 16px; color: #fff; }
.staerke__wert span { color: var(--rot); }
.abschnitt:not(.dunkel) .staerke__wert { color: var(--tinte); }
.staerke h3 { font-size: 18px; margin-bottom: 0.3em; letter-spacing: -0.01em; }
.staerke p:not(.staerke__wert) { font-size: 15.5px; margin: 0; }

/* Orte / Einsatzgebiet */
.orte { list-style: none; padding: 0; margin: 1.6rem 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.orte li { padding: 8px 16px; border-radius: 999px; background: #fff; font-size: 15px; font-weight: 500; }
.dunkel .orte li { background: rgba(255, 255, 255, 0.08); color: #fff; }

/* ---------- Aufruf ---------- */
.aufruf {
	display: flex; align-items: flex-end; justify-content: space-between; gap: 28px 64px; flex-wrap: wrap;
	padding: clamp(32px, 5vw, 72px); border-radius: var(--radius-gross); background: var(--rot); color: rgba(255, 255, 255, 0.88); position: relative; overflow: hidden;
}
.aufruf > * { position: relative; z-index: 1; }
.aufruf__text { flex: 1 1 460px; }
.aufruf h2 { color: #fff; margin-bottom: 0.35em; font-size: clamp(30px, 3.6vw, 52px); }
.aufruf p { margin: 0; max-width: 580px; font-size: clamp(16px, 1.2vw, 18px); }
.aufruf .buttons { margin-top: 0; }
.aufruf .btn--rand { color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45); }
.aufruf .btn--rand:hover { box-shadow: inset 0 0 0 1px #fff; }

/* ---------- Kontakt ---------- */
.kontaktkarte { background: var(--graphit); color: rgba(255, 255, 255, 0.75); border-radius: var(--radius-gross); padding: clamp(28px, 3.4vw, 44px); }
.kontaktkarte a:not(.btn) { color: #fff; }
.kontaktkarte__firma { font-family: var(--titel); font-size: 24px; font-weight: 600; letter-spacing: -0.02em; color: #fff; margin: 0 0 4px; }
.kontaktkarte__liste { list-style: none; padding: 0; margin: 1.4rem 0 0; }
.kontaktkarte__liste li { display: grid; grid-template-columns: 90px 1fr; gap: 8px; padding: 13px 0; border-top: 1px solid rgba(255, 255, 255, 0.16); }
.kontaktkarte__liste span { color: rgba(255, 255, 255, 0.55); font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; padding-top: 3px; }
.kontaktkarte__liste a { font-weight: 500; text-decoration: none; }
.kontaktkarte__liste a:hover { text-decoration: underline; }
.kontakt-wege { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin-top: 2rem; }
.kontakt-weg { display: block; padding: 24px; border-radius: var(--radius); background: var(--hell); color: var(--tinte); text-decoration: none; transition: background-color 0.2s ease; }
.kontakt-weg:hover { background: var(--rose); color: var(--tinte); }
.kontakt-weg strong { display: block; font-family: var(--titel); font-size: clamp(20px, 1.7vw, 24px); letter-spacing: -0.02em; margin-top: 4px; color: var(--tinte); }
.kontakt-weg span { font-size: 14px; color: var(--grau); }

/* ---------- Textseiten (Impressum, Datenschutz) ---------- */
.textseite { padding: calc(var(--kopf) + clamp(48px, 7vw, 96px)) 0 var(--abstand); }
.textseite .lesbar > * { max-width: 820px; }
.textseite h1 { font-size: clamp(40px, 5vw, 72px); letter-spacing: -0.045em; }
.textseite h2 { font-size: clamp(22px, 2vw, 28px); margin-top: 1.8em; letter-spacing: -0.02em; }
.textseite h3 { font-size: clamp(18px, 1.5vw, 21px); margin-top: 1.4em; }
.textseite p, .textseite li { color: #374151; }

/* ---------- Fußbereich ---------- */
.site-footer { background: var(--tinte); color: rgba(255, 255, 255, 0.62); font-size: 15.5px; }
.site-footer__inner { max-width: calc(var(--breite) + 2 * var(--rand)); margin: 0 auto; padding: clamp(72px, 9vw, 128px) var(--rand) 32px; }
.site-footer__eyebrow { color: rgba(255, 255, 255, 0.5); font-size: 14px; margin-bottom: 1rem; }
.site-footer__gross { font-family: var(--titel); font-size: clamp(36px, 5.4vw, 80px); font-weight: 600; line-height: 1.02; letter-spacing: -0.045em; color: #fff; margin: 0; max-width: 18ch; }
.site-footer__gross span { color: var(--rot); }
.site-footer__cta { padding-bottom: clamp(48px, 6vw, 88px); border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.site-footer__cta .btn--rand { color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28); }
.site-footer__cta .btn--rand:hover { box-shadow: inset 0 0 0 1px #fff; }
.site-footer__raster { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; padding: 48px 0; }
@media (max-width: 899px) { .site-footer__raster { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .site-footer__raster { grid-template-columns: 1fr; } }
.site-footer__titel { color: #fff; font-weight: 500; margin-bottom: 10px; }
.site-footer p { margin: 0; }
.site-footer a:not(.btn) { color: rgba(255, 255, 255, 0.85); text-decoration: none; }
.site-footer a:not(.btn):hover { color: #fff; }
.site-footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.site-footer__unten { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.site-footer__unten p { font-size: 13.5px; color: rgba(255, 255, 255, 0.45); }
.site-footer__logo { width: 170px; height: auto; opacity: 0.9; }

/* ---------- Einblenden ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1); }
.js .reveal.ist-sichtbar { opacity: 1; transform: none; }
/* Titelbereich ohne Einblend-Animation: Überschrift und Bilder sind sofort sichtbar (schneller LCP) */
@keyframes ein { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
	.js .reveal { opacity: 1; transform: none; }
	*, *::before, *::after { transition-duration: 0.01ms !important; }
}

/* ---------- Druck ---------- */
@media print {
	.site-header, .mnav, .site-footer__cta, .aufruf, .leistung__seite { display: none !important; }
	main { margin: 0; }
	.seitenkopf, .dunkel { background: none; color: #000; }
	.seitenkopf h1, .dunkel h2 { color: #000; }
}

/* Hilfsklassen (keine Inline-Styles wegen Content-Security-Policy) */
.mt { margin-top: 1.6em; }
.kleintext { margin: 14px 0 0; font-size: 13.5px; }
.karte-rot .badge, .karte .badge { align-self: flex-start; }
.kontakt-weg--mail strong { font-size: clamp(17px, 1.3vw, 20px); overflow-wrap: anywhere; }
.bereich__titel a:hover { color: var(--tinte); }
.bereich--andere a { font-size: 14.5px; color: var(--grau); }

/* ---------- Schwerpunkte (Startseite): großes Bild + Text mit Themenliste ---------- */
.schwerpunkt { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; border-radius: var(--radius-gross); overflow: hidden; background: #fff; }
.schwerpunkt + .schwerpunkt { margin-top: clamp(14px, 1.6vw, 20px); }
.schwerpunkt--rechts .schwerpunkt__bild { order: 2; }
.schwerpunkt__bild img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; }
.schwerpunkt__text { padding: clamp(28px, 4vw, 64px); display: flex; flex-direction: column; align-items: flex-start; }
.schwerpunkt__nr { font-family: var(--titel); font-weight: 600; color: var(--rot); margin-bottom: 0.4rem; }
.schwerpunkt h3 { font-size: clamp(32px, 3.6vw, 56px); letter-spacing: -0.04em; line-height: 1.02; margin-bottom: 0.45em; }
.schwerpunkt h3 a { color: inherit; text-decoration: none; }
.schwerpunkt h3 a:hover { color: var(--rot); }
.schwerpunkt__text > p:not(.schwerpunkt__nr) { color: var(--grau); font-size: clamp(16.5px, 1.2vw, 18.5px); max-width: 620px; }
.themen { list-style: none; padding: 0; margin: 0.4rem 0 1.8rem; display: flex; flex-wrap: wrap; gap: 8px; }
.themen a { display: inline-block; padding: 9px 16px; border-radius: 999px; background: var(--hell); color: var(--tinte); text-decoration: none; font-size: 15px; font-weight: 500; transition: background-color 0.2s ease, color 0.2s ease; }
.themen a:hover { background: var(--rose); color: var(--rot); }
@media (max-width: 860px) {
	.schwerpunkt { grid-template-columns: 1fr; }
	.schwerpunkt--rechts .schwerpunkt__bild { order: 0; }
	.schwerpunkt__bild img { min-height: 0; aspect-ratio: 16 / 10; }
}

/* Unterseiten-Kacheln auf den Übersichtsseiten */
.unterseiten { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; margin: 1.6rem 0 1rem; max-width: none !important; }
.unterseite { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 22px 64px 22px 22px; border-radius: 20px; background: var(--hell); color: var(--tinte); text-decoration: none; transition: background-color 0.2s ease; }
.unterseite::after { content: ""; position: absolute; top: 18px; right: 18px; width: 34px; height: 34px; border-radius: 50%; background: #fff var(--pfeil) center / 15px no-repeat; transition: transform 0.25s ease; }
.unterseite:hover { background: var(--rose); color: var(--tinte); }
.unterseite:hover::after { transform: rotate(45deg); }
.unterseite strong { font-family: var(--titel); font-size: 19px; letter-spacing: -0.015em; line-height: 1.2; }
.unterseite span { font-size: 15px; color: var(--grau); line-height: 1.5; }
.unterseite--rot { background: var(--rot); color: #fff; }
.unterseite--rot:hover { background: var(--rot-dunkel); color: #fff; }
.unterseite--rot span { color: rgba(255, 255, 255, 0.85); }

/* E-Mail-Adresse (per JS eingesetzt) übernimmt immer den Stil ihres Links, nie den von Beschriftungs-Spans */
span[data-m-text][data-m-text] { font: inherit; color: inherit; text-transform: none; letter-spacing: inherit; padding: 0; display: inline; }

/* Lange deutsche Wörter (z. B. „Gewerbespülmaschine“) auf schmalen Bildschirmen trennen statt abschneiden */
h1, h2, h3, .hero__titel { overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; hyphenate-limit-chars: 10 4 4; }
@media (max-width: 480px) {
	.seitenkopf h1 { font-size: 34px; }
}
