/* ==========================================================================
   E-Service Ueckert
   Inhalt: 1 Schriften · 2 Grundlagen · 3 Bausteine · 4 Seitenkopf · 5 Startseite
           6 Seitenfuß · 6b Seite „Unternehmen“ · 6c Seite „Partner“ · 6d Seite „Leistungen“ · 6e Leistungs-Unterseiten · 6f Seite „Qualifikation“ · 6g Zeilenliste · 6h Seite „Karriere“ · 6i Seite „Kontakt“ · 6j Waben und Netzmuster · 6k Info-Banner, Siegel, Feinschliff · 7 Unterseiten · 8 Bewegung reduzieren
   ========================================================================== */

/* 1 Schriften – lokal eingebunden, keine Verbindung zu Google
   ========================================================================== */

@font-face {
	font-family: "Sofia Sans";
	font-style: normal;
	font-weight: 1 1000;
	font-display: swap;
	src: url("../fonts/sofia-sans-latin-ext-wght-normal.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, 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;
}

@font-face {
	font-family: "Sofia Sans";
	font-style: normal;
	font-weight: 1 1000;
	font-display: swap;
	src: url("../fonts/sofia-sans-latin-wght-normal.woff2") format("woff2");
	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: "Sofia Sans Condensed";
	font-style: normal;
	font-weight: 1 1000;
	font-display: swap;
	src: url("../fonts/sofia-sans-condensed-latin-ext-wght-normal.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, 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;
}

@font-face {
	font-family: "Sofia Sans Condensed";
	font-style: normal;
	font-weight: 1 1000;
	font-display: swap;
	src: url("../fonts/sofia-sans-condensed-latin-wght-normal.woff2") format("woff2");
	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: "Sofia Sans Extra Condensed";
	font-style: normal;
	font-weight: 1 1000;
	font-display: swap;
	src: url("../fonts/sofia-sans-extra-condensed-latin-ext-wght-normal.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, 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;
}

@font-face {
	font-family: "Sofia Sans Extra Condensed";
	font-style: normal;
	font-weight: 1 1000;
	font-display: swap;
	src: url("../fonts/sofia-sans-extra-condensed-latin-wght-normal.woff2") format("woff2");
	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;
}

/* 2 Grundlagen
   ========================================================================== */

:root {
	/* Farben: Schwarz und Signalrot aus dem Logo, dazu Weiß und kühle Grautöne. */
	--black: #000;
	--coal: #111212;
	--coal-line: #2b2c2d;
	--red: #e63323;
	--white: #fff;
	--mist: #eceeef;
	--line: #d3d6d8;
	--steel: #5d6266;
	--on-dark: #c6c9cc;

	--font-body: "Sofia Sans", "Helvetica Neue", Arial, sans-serif;
	--font-cond: "Sofia Sans Condensed", "Arial Narrow", Arial, sans-serif;
	--font-display: "Sofia Sans Extra Condensed", "Arial Narrow", Impact, sans-serif;

	--gutter: clamp(20px, 5vw, 64px);
	--max: 1320px;
	--section: clamp(72px, 10vw, 152px);
	--header-h: 68px;
	/* Höhe des Info-Banners im festen Seitenkopf (misst main.js genau nach) und Gesamthöhe des festen Kopfs. */
	--bar-h: 0px;
	--sticky-h: calc(var(--header-h) + var(--bar-h));
	--radius: 4px;
	--ease: cubic-bezier(0.22, 0.8, 0.24, 1);
}

@media (min-width: 900px) {
	:root {
		--header-h: 84px;
	}
}

/* Schätzwert, solange das Skript die Bannerhöhe noch nicht gemessen hat. */
html[data-infobar] {
	--bar-h: 47px;
}

@media (min-width: 560px) {
	html[data-infobar] {
		--bar-h: 52px;
	}
}

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

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: var(--sticky-h);
}

body {
	margin: 0;
	background: var(--white);
	color: var(--black);
	font-family: var(--font-body);
	font-size: 1.0625rem;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

body.menu-open {
	overflow: hidden;
}

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

img {
	height: auto;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
figure,
address,
blockquote {
	margin: 0;
}

address {
	font-style: normal;
}

a {
	color: inherit;
}

button,
input,
select,
textarea {
	font: inherit;
	color: inherit;
}

button {
	cursor: pointer;
}

:focus-visible {
	outline: 3px solid var(--red);
	outline-offset: 3px;
}

::selection {
	background: var(--red);
	color: var(--white);
}

[hidden] {
	display: none !important;
}

.wrap {
	width: min(100% - 2 * var(--gutter), var(--max));
	margin-inline: auto;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skip-link {
	position: fixed;
	top: 8px;
	left: 8px;
	z-index: 200;
	padding: 0.75rem 1rem;
	background: var(--black);
	color: var(--white);
	font-weight: 700;
	transform: translateY(-200%);
}

.skip-link:focus {
	transform: none;
}

/* 3 Bausteine
   ========================================================================== */

/* Überschriften: eng laufende Versalien, angelehnt an technische Beschilderung. */
.display {
	font-family: var(--font-display);
	font-weight: 800;
	font-size: clamp(2.75rem, 1.55rem + 5.2vw, 5.75rem);
	line-height: 0.92;
	letter-spacing: 0.005em;
	text-transform: uppercase;
	text-wrap: balance;
	overflow-wrap: break-word;
	hyphens: manual;
}

.display--medium {
	font-size: clamp(2.35rem, 1.5rem + 3.3vw, 4.25rem);
	line-height: 0.95;
}

.lead {
	font-size: clamp(1.2rem, 1.05rem + 0.6vw, 1.45rem);
	font-weight: 600;
	line-height: 1.35;
}

.section-head {
	margin-bottom: clamp(32px, 5vw, 64px);
}

.section-head--split {
	display: grid;
	gap: 20px 48px;
}

.section-head__side {
	display: grid;
	gap: 16px;
	justify-items: start;
	max-width: 46ch;
}

@media (min-width: 900px) {
	.section-head--split {
		grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
		align-items: end;
	}
}

/* Schaltfläche: Der rote Punkt wandert beim Darüberfahren von links nach rechts –
   wie der Punkt auf der Schiene im Logo. */
.btn {
	--btn-bg: var(--black);
	--btn-fg: var(--white);
	--btn-dot: var(--red);
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 0.8rem 2.75rem;
	border: 2px solid var(--btn-bg);
	border-radius: 2px;
	background: var(--btn-bg);
	color: var(--btn-fg);
	font-family: var(--font-body);
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0.01em;
	text-align: center;
	text-decoration: none;
	transition: background-color 0.25s, color 0.25s, border-color 0.25s;
}

.btn::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 1.15rem;
	width: 10px;
	height: 10px;
	margin-top: -5px;
	border-radius: 50%;
	background: var(--btn-dot);
	transition: left 0.45s var(--ease);
}

.btn:hover::before,
.btn:focus-visible::before {
	left: calc(100% - 1.15rem - 10px);
}

.btn--small {
	min-height: 44px;
	padding-block: 0.5rem;
	font-size: 0.95rem;
}

.btn--large {
	min-height: 62px;
	padding: 1rem 3.25rem;
	font-size: 1.125rem;
}

.btn--large::before {
	left: 1.4rem;
	width: 12px;
	height: 12px;
	margin-top: -6px;
}

.btn--large:hover::before,
.btn--large:focus-visible::before {
	left: calc(100% - 1.4rem - 12px);
}

.btn--line {
	--btn-fg: var(--black);
	background: transparent;
}

.btn--line:hover {
	background: var(--black);
	color: var(--white);
}

.btn--light {
	--btn-bg: var(--white);
	--btn-fg: var(--black);
}

.btn--red {
	--btn-bg: var(--red);
	--btn-fg: var(--white);
	--btn-dot: var(--white);
}

.btn--red:hover {
	--btn-bg: var(--white);
	--btn-fg: var(--black);
	--btn-dot: var(--red);
}

.text-link {
	display: inline-block;
	padding-bottom: 2px;
	font-weight: 700;
	text-decoration: none;
	background: linear-gradient(var(--red), var(--red)) left bottom / 100% 2px no-repeat;
	transition: background-size 0.3s var(--ease);
}

.text-link:hover {
	background-size: 0 2px;
	background-position: right bottom;
}

.round-btn {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border: 2px solid var(--black);
	border-radius: 50%;
	background: transparent;
	transition: background-color 0.2s, color 0.2s, opacity 0.2s;
}

.round-btn:hover:not(:disabled) {
	background: var(--black);
	color: var(--white);
}

.round-btn:disabled {
	opacity: 0.3;
	cursor: default;
}

/* 4 Seitenkopf
   ========================================================================== */

.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--white);
}

.admin-bar .site-header {
	top: 32px;
}

@media (max-width: 782px) {
	.admin-bar .site-header {
		top: 46px;
	}
}

@media (max-width: 600px) {
	.admin-bar .site-header {
		top: 0;
	}
}

.site-header__inner {
	display: flex;
	align-items: center;
	gap: 24px;
	height: var(--header-h);
}

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

.logo__img {
	width: auto;
	height: 34px;
}

.logo__text {
	font-family: var(--font-cond);
	font-size: 1.5rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.logo__text span {
	color: var(--red);
	font-weight: 500;
}

@media (min-width: 900px) {
	.logo__img {
		height: 46px;
	}
}

.nav {
	display: none;
	margin-left: auto;
}

.nav__list {
	display: flex;
	gap: clamp(14px, 1.7vw, 30px);
	padding: 0;
	list-style: none;
}

.nav__list > li {
	position: relative;
}

.nav__list a {
	display: block;
	padding: 0.5rem 0;
	font-size: 1rem;
	font-weight: 650;
	text-decoration: none;
	white-space: nowrap;
	background: linear-gradient(var(--red), var(--red)) left calc(100% - 2px) / 0 2px no-repeat;
	transition: background-size 0.3s var(--ease);
}

.nav__list a:hover,
.nav__list .current-menu-item > a,
.nav__list .current_page_item > a,
.nav__list .current-menu-ancestor > a {
	background-size: 100% 2px;
}

.nav__list .sub-menu {
	position: absolute;
	top: 100%;
	left: -1rem;
	display: grid;
	min-width: 220px;
	padding: 0.5rem 1rem;
	list-style: none;
	background: var(--white);
	border-top: 2px solid var(--black);
	box-shadow: 0 18px 30px -18px rgba(0, 0, 0, 0.35);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.2s, visibility 0.2s;
}

.nav__list li:hover > .sub-menu,
.nav__list li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
}

.site-header__actions {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-left: auto;
}

.site-header__cta {
	display: none;
}

@media (min-width: 520px) {
	.site-header__cta {
		display: inline-flex;
	}
}

@media (min-width: 1180px) {
	.nav {
		display: block;
	}

	.site-header__actions {
		margin-left: clamp(8px, 1.5vw, 28px);
	}

	.burger {
		display: none !important;
	}
}

/* Menüknopf: zwei Balken wie im Logo, die sich zum Kreuz schließen. */
.burger {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	margin-right: -10px;
	padding: 0;
	border: 0;
	background: none;
}

.burger__box {
	position: relative;
	width: 28px;
	height: 14px;
}

.burger__box span {
	position: absolute;
	left: 0;
	width: 100%;
	height: 3px;
	background: var(--black);
	transition: transform 0.35s var(--ease), top 0.35s var(--ease);
}

.burger__box span:first-child {
	top: 0;
}

.burger__box span:last-child {
	top: 11px;
}

.burger[aria-expanded="true"] .burger__box span:first-child {
	top: 5.5px;
	transform: rotate(45deg);
}

.burger[aria-expanded="true"] .burger__box span:last-child {
	top: 5.5px;
	transform: rotate(-45deg);
}

/* Lesefortschritt: schwarze Schiene mit rotem Punkt. */
.progress {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	height: 2px;
	background: var(--black);
}

.progress__dot {
	position: absolute;
	top: -4px;
	left: 0;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--red);
	transform: translateX(calc(var(--scroll, 0) * (100vw - 10px)));
	will-change: transform;
}

.mobile-menu {
	position: fixed;
	inset: var(--sticky-h) 0 0 0;
	z-index: 90;
	overflow-y: auto;
	overscroll-behavior: contain;
	background: var(--white);
	animation: menu-in 0.3s var(--ease);
}

.admin-bar .mobile-menu {
	top: calc(var(--sticky-h) + 32px);
}

@media (max-width: 782px) {
	.admin-bar .mobile-menu {
		top: calc(var(--sticky-h) + 46px);
	}
}

@keyframes menu-in {
	from {
		opacity: 0;
		transform: translateY(-12px);
	}
}

.mobile-menu__inner {
	display: grid;
	gap: 40px;
	padding-block: 28px 48px;
}

.mobile-menu__list {
	padding: 0;
	list-style: none;
}

.mobile-menu__list > li {
	border-bottom: 2px solid var(--black);
}

.mobile-menu__list a {
	display: block;
	padding: 0.7rem 0;
	font-family: var(--font-display);
	font-size: clamp(2rem, 9vw, 3rem);
	font-weight: 800;
	line-height: 1;
	text-decoration: none;
	text-transform: uppercase;
}

.mobile-menu__list .current-menu-item > a {
	color: var(--red);
}

.mobile-menu__list .sub-menu {
	padding: 0 0 0.75rem;
	list-style: none;
}

.mobile-menu__list .sub-menu a {
	padding: 0.35rem 0;
	font-family: var(--font-body);
	font-size: 1.1rem;
	font-weight: 600;
	text-transform: none;
}

.mobile-menu__contact {
	display: grid;
	gap: 4px;
	color: var(--steel);
}

.mobile-menu__contact a {
	color: var(--black);
	font-weight: 600;
}

.mobile-menu__phone {
	font-family: var(--font-cond);
	font-size: 1.75rem;
	font-weight: 800 !important;
	text-decoration: none;
}

/* 5 Startseite
   ========================================================================== */

/* Sprungziele beginnen direkt unter dem festen Kopf (Abstand kommt aus scroll-padding-top am html). */
section[id] {
	scroll-margin-top: 0;
}

/* 5.1 Kopfbereich ---------------------------------------------------------- */

.hero {
	position: relative;
	display: flex;
	flex-direction: column;
	background: var(--white);
}

/* Die Bühne läuft nach unten weich aus. So fällt es nicht auf, falls das Weiß des Videos
   nicht exakt dem Weiß der Seite entspricht. */
.hero__stage {
	position: relative;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: var(--white);
	-webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent);
	mask-image: linear-gradient(to bottom, #000 72%, transparent);
}

@media (min-width: 600px) {
	.hero__stage {
		aspect-ratio: 16 / 9;
	}
}

.hero__still {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	transition: opacity 0.5s;
}

/* Mit Video steht die Bühne zunächst weiß – die Animation baut das Logo selbst auf. Das Logo als Bild
   erscheint nur, wenn das Video nicht startet (Stromsparmodus, Fehler, „Bewegung reduzieren“). */
.js .hero__stage.has-video .hero__still {
	opacity: 0;
}

.js .hero__stage.has-video.is-fallback .hero__still {
	opacity: 1;
}

.hero__still img {
	width: min(70%, 560px);
}

.hero__video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0;
	transition: opacity 0.5s;
}

/* Das Video wird erst eingeblendet, wenn es wirklich läuft. */
.hero__stage.is-playing .hero__video {
	opacity: 1;
}

/* Vor einer Wiederholung blendet das fertige Logo weich aus. */
.hero__stage.is-playing.is-resetting .hero__video {
	opacity: 0;
}

.no-js .hero__video {
	opacity: 1;
}

.hero__content {
	position: relative;
	z-index: 1;
	display: grid;
	gap: 32px;
	padding-block: 8px clamp(40px, 6vw, 64px);
}

.hero__title {
	font-family: var(--font-display);
	font-weight: 800;
	font-size: clamp(2.7rem, 0.9rem + 7.6vw, 7rem);
	line-height: 0.9;
	letter-spacing: 0.004em;
	text-transform: uppercase;
	overflow-wrap: break-word;
}

.hero__title span {
	display: block;
}

/* „Sicherheitslösungen“ steht groß, die beiden Zeilen darüber und darunter deutlich kleiner. */
.hero__kicker,
.hero__rest {
	font-size: clamp(1.15rem, 0.8rem + 1.6vw, 2.1rem);
	line-height: 1.05;
}

.hero__title .hero__kicker {
	display: flex;
	align-items: center;
	gap: 0.55em;
	margin-bottom: 0.2em;
	color: var(--red);
	letter-spacing: 0.06em;
}

.hero__kicker::before {
	content: "";
	width: 1.6em;
	height: 3px;
	background: currentColor;
}

.hero__key {
	font-size: min(calc((100vw - 2 * var(--gutter)) / 7.9), 7.6rem);
	line-height: 0.88;
}

.hero__rest {
	margin-top: 0.3em;
}

.hero__buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: clamp(24px, 3vw, 36px);
}

.hero__facts {
	display: grid;
	padding: 0;
	list-style: none;
	font-size: 0.98rem;
	font-weight: 600;
	line-height: 1.3;
}

.hero__facts li {
	position: relative;
	padding: 0.75rem 0 0.75rem 1.5rem;
	border-top: 2px solid var(--black);
}

.hero__facts li::before {
	content: "";
	position: absolute;
	top: 1.05rem;
	left: 0;
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: var(--red);
}

@media (max-width: 519px) {
	.hero__buttons .btn {
		flex: 1 1 100%;
	}
}

@media (min-width: 900px) {
	.hero {
		min-height: max(600px, calc(100svh - var(--sticky-h)));
	}

	.hero__stage {
		position: absolute;
		inset: 0 0 clamp(240px, 33vh, 330px) 0;
		aspect-ratio: auto;
	}

	.hero__content {
		grid-template-columns: auto minmax(0, 1fr);
		align-items: start;
		gap: clamp(28px, 3vw, 40px) clamp(40px, 6vw, 96px);
		margin-top: auto;
		padding-top: 0;
	}

	.hero__lead {
		display: contents;
	}

	.hero__title {
		grid-column: 1 / -1;
	}

	/* So bemessen, dass „Sicherheitslösungen“ gut zwei Drittel der Inhaltsbreite füllt. */
	.hero__key {
		font-size: calc(min(100vw - 2 * var(--gutter), var(--max)) / 10);
	}

	.hero__kicker,
	.hero__rest {
		font-size: calc(min(100vw - 2 * var(--gutter), var(--max)) / 34);
	}

	.hero__buttons {
		grid-column: 1 / -1;
		margin-top: 0;
	}

	.hero__facts {
		grid-column: 1 / -1;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 0 24px;
	}
}

@media (min-width: 1240px) {
	.hero__buttons {
		grid-column: 1;
	}

	.hero__facts {
		grid-column: 2;
		justify-self: end;
		width: 100%;
		max-width: 780px;
	}
}

@media (prefers-reduced-motion: no-preference) {
	.hero__title span,
	.hero__buttons,
	.hero__facts {
		animation: hero-rise 0.9s var(--ease) backwards;
	}

	.hero__title span:nth-child(2) {
		animation-delay: 0.1s;
	}

	.hero__title span:nth-child(3) {
		animation-delay: 0.18s;
	}

	.hero__buttons {
		animation-delay: 0.22s;
	}

	.hero__facts {
		animation-delay: 0.32s;
	}
}

@keyframes hero-rise {
	from {
		opacity: 0;
		transform: translateY(28px);
	}
}

/* 5.2 Leistungen ----------------------------------------------------------- */

.services {
	padding-block: var(--section);
	background: var(--black);
	color: var(--white);
}

.services .section-head__side p {
	color: var(--on-dark);
}

.tiles {
	display: grid;
	gap: 14px;
	padding: 0;
	list-style: none;
}

.tiles__item {
	display: flex;
}

/* Aufbau: links Titel, Erklärung und „Mehr erfahren“, rechts die Zeichnung.
   Der Platz für die Erklärung ist immer reserviert – beim Einblenden springt nichts. */
.tile {
	position: relative;
	display: flex;
	flex: 1;
	flex-direction: column;
	overflow: hidden;
	padding: 24px;
	border: 1px solid var(--coal-line);
	border-radius: var(--radius);
	background: var(--coal);
	color: var(--white);
	text-decoration: none;
	transition: border-color 0.35s, background-color 0.35s;
}

/* Rote Schiene am oberen Rand. */
.tile::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	z-index: 2;
	width: 100%;
	height: 3px;
	background: var(--red);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.6s var(--ease);
}

.tile__art {
	width: 136px;
	margin: -2px 0 22px -6px;
}

.tile__body {
	position: relative;
	z-index: 1;
	display: flex;
	flex: 1;
	min-width: 0;
	flex-direction: column;
	align-items: flex-start;
}

.tile__title {
	font-family: var(--font-cond);
	font-size: clamp(1.75rem, 1.25rem + 1.5vw, 2.5rem);
	font-weight: 750;
	line-height: 1.04;
	letter-spacing: 0.005em;
	overflow-wrap: break-word;
	hyphens: manual;
}

.tile__reveal {
	display: flex;
	flex: 1;
	flex-direction: column;
	align-items: flex-start;
}

.tile__reveal-inner {
	display: contents;
}

.tile__text {
	max-width: 46ch;
	margin-bottom: 1.4rem;
	padding-top: 0.9rem;
	color: var(--on-dark);
	font-size: 1rem;
	line-height: 1.55;
}

.tile__more {
	position: relative;
	margin-top: auto;
	padding: 0 0 3px 1.35rem;
	font-weight: 700;
	background: linear-gradient(var(--white), var(--white)) 1.35rem 100% / calc(100% - 1.35rem) 2px no-repeat;
}

.tile__more::before {
	content: "";
	position: absolute;
	top: 0.5em;
	left: 0;
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: var(--red);
}

/* Strichzeichnungen */
.ill {
	width: 100%;
	height: auto;
	overflow: visible;
}

.ill * {
	vector-effect: non-scaling-stroke;
}

.ill__dim {
	opacity: 0.45;
}

.ill__led {
	fill: var(--red);
	stroke: none;
}

.ill__wave {
	opacity: 0.45;
}

.ill__beam {
	fill: rgba(255, 255, 255, 0.07);
	stroke-opacity: 0.4;
}

.ill__cone {
	transform-box: view-box;
	transform-origin: 112px 104px;
}

.ill__card {
	transition: transform 0.6s var(--ease);
}

/* Foto-Variante, falls im Customizer ein Bild hinterlegt ist. */
.tile--photo {
	min-height: 340px;
}

.tile--photo .tile__body {
	justify-content: flex-end;
}

.tile--photo .tile__reveal {
	flex: none;
}

.tile__photo {
	position: absolute;
	inset: 0;
}

.tile__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.9s var(--ease);
}

.tile__photo::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.94) 18%, rgba(0, 0, 0, 0.5) 62%, rgba(0, 0, 0, 0.2));
}

@media (min-width: 680px) {
	.tiles {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.tile {
		padding: clamp(24px, 2.6vw, 38px);
	}
}

@media (min-width: 1040px) {
	.tiles {
		grid-template-columns: repeat(12, minmax(0, 1fr));
		gap: 16px;
	}

	.tiles__item--brand,
	.tiles__item--zutritt {
		grid-column: span 7;
	}

	.tiles__item--einbruch,
	.tiles__item--video {
		grid-column: span 5;
	}

	.tile {
		flex-direction: row-reverse;
		align-items: stretch;
		gap: clamp(16px, 2vw, 32px);
		min-height: 430px;
	}

	.tile__art {
		flex: none;
		align-self: center;
		width: clamp(170px, 15vw, 215px);
		margin: 0;
	}

	.tiles__item--brand .tile__art,
	.tiles__item--zutritt .tile__art {
		width: clamp(230px, 23vw, 330px);
	}

	.tile__text {
		font-size: 0.98rem;
	}
}

/* Mit Maus oder Trackpad: Erklärung erscheint beim Darüberfahren und beim Tastaturfokus.
   Auf Touch-Geräten bleibt sie dauerhaft sichtbar. */
@media (hover: hover) {
	.tile__text {
		opacity: 0;
		transform: translateY(10px);
		transition: opacity 0.4s, transform 0.5s var(--ease);
	}

	.ill__led {
		fill: #5a5c5e;
		transition: fill 0.3s;
	}

	.ill__wave {
		opacity: 0.22;
	}

	.tile:hover,
	.tile:focus-visible {
		border-color: #4a4b4c;
		background: #161717;
	}

	.tile:hover::before,
	.tile:focus-visible::before {
		transform: scaleX(1);
	}

	.tile:hover .tile__text,
	.tile:focus-visible .tile__text {
		opacity: 1;
		transform: none;
	}

	.tile:hover .ill__led,
	.tile:focus-visible .ill__led {
		fill: var(--red);
		filter: drop-shadow(0 0 6px var(--red));
	}

	.tile:hover .ill__wave,
	.tile:focus-visible .ill__wave {
		animation: ill-wave 1.8s ease-in-out infinite;
	}

	.tile:hover .ill__wave--2,
	.tile:focus-visible .ill__wave--2 {
		animation-delay: 0.22s;
	}

	.tile:hover .ill__wave--3,
	.tile:focus-visible .ill__wave--3 {
		animation-delay: 0.44s;
	}

	.tile:hover .ill__cone,
	.tile:focus-visible .ill__cone {
		animation: ill-sweep 3.4s ease-in-out infinite alternate;
	}

	.tile:hover .ill__card,
	.tile:focus-visible .ill__card {
		transform: translateX(12px);
	}

	.tile:hover .tile__photo img,
	.tile:focus-visible .tile__photo img {
		transform: scale(1.05);
	}
}

@keyframes ill-wave {
	0%,
	100% {
		opacity: 0.18;
	}

	35% {
		opacity: 1;
	}
}

@keyframes ill-sweep {
	from {
		transform: rotate(-13deg);
	}

	to {
		transform: rotate(13deg);
	}
}

/* 5.3 Über uns ------------------------------------------------------------- */

.about {
	padding-block: var(--section);
	background: var(--white);
}

.about__grid {
	display: grid;
	gap: clamp(36px, 6vw, 96px);
	align-items: center;
}

.about__figure {
	position: relative;
	overflow: hidden;
	border-radius: var(--radius);
	aspect-ratio: 4 / 5;
	background: var(--mist);
}

.about__figure img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 60% 30%;
}

.about__caption {
	position: absolute;
	bottom: 0;
	left: 0;
	display: grid;
	padding: 0.85rem 1.4rem 0.85rem 2.4rem;
	background: var(--white);
	line-height: 1.25;
}

.about__caption::before {
	content: "";
	position: absolute;
	top: 1.3rem;
	left: 1.1rem;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--red);
}

.about__caption strong {
	font-family: var(--font-cond);
	font-size: 1.35rem;
	font-weight: 800;
	letter-spacing: 0.01em;
}

.about__caption span {
	color: var(--steel);
	font-size: 0.95rem;
}

.about__text > * + * {
	margin-top: 1.25rem;
}

.about__text > .display {
	margin-bottom: clamp(24px, 3vw, 40px);
}

.about__text p {
	max-width: 62ch;
}

.about__text p:not(.lead):not(.about__action) {
	color: #2c2e30;
}

.about__text p a {
	font-weight: 700;
	text-decoration-color: var(--red);
	text-decoration-thickness: 2px;
	text-underline-offset: 4px;
}

.about__text .about__action {
	margin-top: clamp(28px, 3vw, 40px);
}

@media (min-width: 900px) {
	.about__grid {
		grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
	}
}

/* 5.4 Ajax-Konfigurator ---------------------------------------------------- */

.ajax {
	padding-bottom: var(--section);
	background: var(--white);
}

.ajax--spaced {
	padding-top: var(--section);
}

.ajax__card {
	display: grid;
	overflow: hidden;
	border-radius: 6px;
	background: var(--black);
	color: var(--white);
}

.ajax__text {
	display: grid;
	align-content: center;
	justify-items: start;
	gap: 24px;
	padding: clamp(28px, 5.5vw, 80px);
}

.ajax__partner {
	position: relative;
	padding-left: 1.5rem;
	color: var(--on-dark);
	font-weight: 600;
}

.ajax__partner::before {
	content: "";
	position: absolute;
	top: 0.5em;
	left: 0;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--red);
	box-shadow: 0 0 0 0 rgba(230, 51, 35, 0.7);
	animation: led-pulse 2.2s ease-out infinite;
}

@keyframes led-pulse {
	70%,
	100% {
		box-shadow: 0 0 0 10px rgba(230, 51, 35, 0);
	}
}

.ajax__intro {
	max-width: 50ch;
	color: var(--on-dark);
	font-size: 1.125rem;
}

.ajax__steps {
	display: grid;
	gap: 0;
	width: 100%;
	margin-block: 4px 12px;
	padding: 0;
	list-style: none;
	counter-reset: schritt;
}

.ajax__steps li {
	display: flex;
	align-items: baseline;
	gap: 0.9rem;
	padding: 0.8rem 0;
	border-top: 1px solid #3a3b3c;
	font-weight: 600;
	line-height: 1.3;
	counter-increment: schritt;
}

.ajax__steps li::before {
	content: counter(schritt);
	flex: none;
	font-family: var(--font-display);
	font-size: 1.9rem;
	font-weight: 800;
	line-height: 0.8;
	color: var(--red);
}

.ajax__visual {
	position: relative;
	min-height: 240px;
	overflow: hidden;
	order: -1;
	background: var(--black);
}

.ajax__image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	mix-blend-mode: screen;
}

/* Signalringe hinter dem Ajax-Schriftzug. */
.ajax__pulse {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
}

.ajax__pulse i {
	position: absolute;
	width: min(78%, 420px);
	aspect-ratio: 1;
	border: 1.5px solid var(--red);
	border-radius: 50%;
	opacity: 0;
	animation: ajax-ring 4.5s linear infinite;
}

.ajax__pulse i:nth-child(2) {
	animation-delay: 1.5s;
}

.ajax__pulse i:nth-child(3) {
	animation-delay: 3s;
}

@keyframes ajax-ring {
	0% {
		opacity: 0;
		transform: scale(0.25);
	}

	15% {
		opacity: 0.9;
	}

	100% {
		opacity: 0;
		transform: scale(1.55);
	}
}

@media (min-width: 720px) {
	.ajax__steps {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 20px;
	}

	.ajax__steps li {
		flex-direction: column;
		gap: 0.7rem;
		padding-top: 1rem;
	}
}

@media (min-width: 1000px) {
	.ajax__card {
		grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
		min-height: 560px;
	}

	.ajax__visual {
		order: 0;
	}
}

/* 5.5 Kennzahlen ----------------------------------------------------------- */

.stats {
	padding-top: var(--section);
	background: var(--black);
	color: var(--white);
	overflow: hidden;
}

.stats__list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(36px, 5vw, 56px) clamp(20px, 3.4vw, 56px);
	padding: 0;
	list-style: none;
}

.stat__value {
	display: flex;
	align-items: baseline;
	font-family: var(--font-display);
	font-size: clamp(4.75rem, 1.6rem + 11vw, 11.5rem);
	font-weight: 800;
	line-height: 0.82;
}

.stat__number {
	font-variant-numeric: tabular-nums;
}

.stat__unit {
	margin-left: 0.14em;
	font-family: var(--font-cond);
	font-size: max(0.24em, 1.5rem);
	font-weight: 700;
	line-height: 1;
}

/* Schiene mit rotem Punkt: Der Punkt fährt beim Zählen auf seinen Wert. */
.stat__bar {
	position: relative;
	height: 2px;
	margin: clamp(18px, 2vw, 28px) 0 14px;
	background: #3a3b3c;
}

.stat__bar::before {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--white);
	transform: scaleX(var(--p, var(--fill)));
	transform-origin: left;
}

.stat__dot {
	position: absolute;
	top: -5px;
	left: calc(var(--p, var(--fill)) * (100% - 12px));
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: var(--red);
}

.stat__label {
	color: var(--on-dark);
	font-size: clamp(0.98rem, 0.9rem + 0.3vw, 1.15rem);
	font-weight: 600;
	line-height: 1.3;
}

@media (min-width: 900px) {
	.stats__list {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

/* Der Satz wird beim Scrollen von links nach rechts „angeleuchtet“. */
.statement {
	padding-block: clamp(72px, 11vw, 168px) var(--section);
}

.statement__text {
	--edge: calc(var(--shine, 1) * 150% - 30%);
	margin-bottom: clamp(28px, 4vw, 48px);
	font-family: var(--font-display);
	font-size: clamp(3.6rem, 0.4rem + 15.2vw, 15.5rem);
	font-weight: 900;
	line-height: 0.84;
	letter-spacing: 0.002em;
	text-transform: uppercase;
	text-wrap: balance;
	color: var(--white);
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
	.statement__text {
		background: linear-gradient(100deg, #fff 0%, #fff calc(var(--edge) - 8%), #8a8c8e var(--edge), #2a2b2c calc(var(--edge) + 14%), #2a2b2c 100%);
		-webkit-background-clip: text;
		background-clip: text;
		color: transparent;
		-webkit-text-fill-color: transparent;
	}
}

/* 5.6 Zertifikate ---------------------------------------------------------- */

.certs {
	padding-top: var(--section);
	background: var(--mist);
}

.certs__nav {
	display: flex;
	gap: 10px;
}

.certs__scroller {
	overflow-x: auto;
	padding: 8px max(var(--gutter), calc((100vw - var(--max)) / 2)) 40px;
	scroll-snap-type: x mandatory;
	scroll-padding-inline: max(var(--gutter), calc((100vw - var(--max)) / 2));
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}

.certs__scroller::-webkit-scrollbar {
	display: none;
}

.certs__list {
	display: flex;
	gap: 20px;
	width: max-content;
	padding: 0;
	list-style: none;
}

.cert {
	flex: none;
	width: clamp(210px, 64vw, 248px);
	scroll-snap-align: start;
}

/* Ab dieser Breite passen alle fünf Dokumente nebeneinander. */
@media (min-width: 1240px) {
	.cert {
		width: calc((min(100vw - 2 * var(--gutter), var(--max)) - 80px) / 5);
	}
}

.cert__link {
	display: block;
	text-decoration: none;
}

.cert__sheet {
	display: block;
	overflow: hidden;
	aspect-ratio: 1200 / 1697;
	background: var(--white);
	box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06), 0 22px 32px -22px rgba(0, 0, 0, 0.45);
	transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.cert__sheet img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top;
}

.cert__link:hover .cert__sheet {
	transform: translateY(-8px);
	box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06), 0 34px 36px -24px rgba(0, 0, 0, 0.5);
}

.cert__label {
	display: block;
	margin-top: 16px;
	padding-top: 12px;
	border-top: 2px solid var(--black);
	font-weight: 650;
	line-height: 1.3;
}

.badges {
	margin-top: clamp(32px, 5vw, 72px);
	padding-block: clamp(40px, 6vw, 80px);
	background: var(--black);
}


/* 5.7 Häufige Fragen ------------------------------------------------------- */

.faq {
	padding-block: var(--section);
	background: var(--white);
}

.faq__grid {
	display: grid;
	gap: clamp(32px, 6vw, 96px);
}

.faq__head {
	display: grid;
	gap: 24px;
	align-content: start;
}

.faq__head p {
	color: var(--steel);
}

.faq__phone {
	color: var(--black);
	font-family: var(--font-cond);
	font-size: 1.9rem;
	font-weight: 800;
	text-decoration: none;
	background: linear-gradient(var(--red), var(--red)) left bottom / 100% 2px no-repeat;
}

.faq__item {
	border-top: 2px solid var(--black);
}

.faq__item:last-child {
	border-bottom: 2px solid var(--black);
}

.faq__button {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	width: 100%;
	padding: clamp(20px, 2.4vw, 30px) 0;
	border: 0;
	background: none;
	font-family: var(--font-cond);
	font-size: clamp(1.4rem, 1.05rem + 1.2vw, 2rem);
	font-weight: 750;
	line-height: 1.12;
	text-align: left;
}

/* Plus, das sich zum Minus dreht. */
.faq__icon {
	position: relative;
	flex: none;
	width: 26px;
	height: 26px;
}

.faq__icon::before,
.faq__icon::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 0;
	width: 100%;
	height: 3px;
	margin-top: -1.5px;
	background: var(--black);
	transition: transform 0.45s var(--ease), background-color 0.3s;
}

.faq__icon::after {
	transform: rotate(90deg);
}

.faq__button[aria-expanded="true"] .faq__icon::before {
	background: var(--red);
}

.faq__button[aria-expanded="true"] .faq__icon::after {
	transform: rotate(0deg);
	background: var(--red);
}

.faq__panel-inner p {
	max-width: 62ch;
	padding-bottom: clamp(22px, 2.6vw, 34px);
	color: #2c2e30;
}

.js .faq__panel {
	display: grid;
	grid-template-rows: 0fr;
	visibility: hidden;
	transition: grid-template-rows 0.5s var(--ease), visibility 0s 0.5s;
}

.js .faq__panel.is-open {
	grid-template-rows: 1fr;
	visibility: visible;
	transition: grid-template-rows 0.5s var(--ease), visibility 0s;
}

.js .faq__panel-inner {
	min-height: 0;
	overflow: hidden;
}

.no-js .faq__icon {
	display: none;
}

@media (min-width: 900px) {
	.faq__grid {
		grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
	}

	.faq__head {
		position: sticky;
		top: calc(var(--sticky-h) + 32px);
		align-self: start;
	}
}

/* 5.8 Kontakt -------------------------------------------------------------- */

.contact {
	padding-block: var(--section);
	background: var(--black);
	color: var(--white);
}

.contact__grid {
	display: grid;
	gap: clamp(40px, 6vw, 96px);
}

.contact__intro {
	display: grid;
	gap: 24px;
	align-content: start;
}

.contact__intro > p {
	max-width: 40ch;
	color: var(--on-dark);
	font-size: 1.125rem;
}

.contact__direct {
	display: grid;
	gap: 0;
	margin-top: 8px;
	padding: 0;
	list-style: none;
}

.contact__direct li {
	display: grid;
	gap: 2px;
	padding: 16px 0;
	border-top: 1px solid #3a3b3c;
}

.contact__key {
	color: #9a9da0;
	font-size: 0.95rem;
	font-weight: 600;
}

.contact__big {
	justify-self: start;
	font-family: var(--font-cond);
	font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem);
	font-weight: 750;
	line-height: 1.15;
	text-decoration: none;
	overflow-wrap: anywhere;
	background: linear-gradient(var(--red), var(--red)) left bottom / 0 2px no-repeat;
	transition: background-size 0.3s var(--ease);
}

.contact__big:hover {
	background-size: 100% 2px;
}

.form {
	display: grid;
	gap: 22px;
	align-content: start;
}

.form__row {
	display: grid;
	gap: 22px;
}

@media (min-width: 640px) {
	.form__row {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.field {
	display: grid;
	gap: 8px;
	align-content: start;
}

.field label {
	font-weight: 650;
}

.field__optional {
	margin-left: 0.4em;
	color: #9a9da0;
	font-weight: 400;
}

.field input:not([type="checkbox"]),
.field select,
.field textarea {
	width: 100%;
	min-height: 56px;
	padding: 0.9rem 1rem;
	border: 1px solid #55585a;
	border-radius: 3px;
	background: #121313;
	color: var(--white);
	font-size: 1.0625rem;
	line-height: 1.4;
	transition: border-color 0.2s, background-color 0.2s;
	appearance: none;
	-webkit-appearance: none;
}

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

.field ::placeholder {
	color: #8b8e91;
	opacity: 1;
}

.field select {
	padding-right: 3rem;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2'%3E%3Cpath d='M5 9l7 7 7-7'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 1rem center;
	background-size: 20px;
}

.field select:invalid {
	color: #8b8e91;
}

.field select option {
	background: #121313;
	color: var(--white);
}

.field input:not([type="checkbox"]):hover,
.field select:hover,
.field textarea:hover {
	border-color: #8b8e91;
}

.field input:not([type="checkbox"]):focus,
.field select:focus,
.field textarea:focus {
	border-color: var(--white);
	background-color: #1a1b1b;
	outline: 2px solid var(--white);
	outline-offset: 0;
}

.field.has-error input:not([type="checkbox"]),
.field.has-error select,
.field.has-error textarea {
	border-color: #ff6a5c;
}

.field__error {
	color: #ff8a7e;
	font-size: 0.95rem;
	font-weight: 600;
}

.field--trap {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

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

.field--check input {
	width: 24px;
	height: 24px;
	margin: 2px 0 0;
	border: 1px solid #8b8e91;
	border-radius: 3px;
	background: #121313;
	appearance: none;
	-webkit-appearance: none;
	cursor: pointer;
}

.field--check input:checked {
	border-color: var(--white);
	background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.2'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 18px no-repeat;
}

.field--check label {
	color: var(--on-dark);
	font-size: 0.98rem;
	font-weight: 400;
	line-height: 1.45;
}

.field--check label a {
	color: var(--white);
	font-weight: 650;
}

.field--check .field__error {
	grid-column: 2;
}

.form__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px 28px;
	margin-top: 6px;
}

.form__note {
	flex: 1 1 240px;
	color: #9a9da0;
	font-size: 0.95rem;
	line-height: 1.4;
}

.btn[disabled] {
	opacity: 0.6;
	cursor: progress;
}

.form__status {
	display: none;
	padding: 1rem 1.25rem 1rem 2.75rem;
	position: relative;
	border: 1px solid var(--white);
	border-radius: 3px;
	font-weight: 650;
}

.form__status::before {
	content: "";
	position: absolute;
	top: 1.45rem;
	left: 1.2rem;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--white);
}

.form__status.is-visible {
	display: block;
}

.form__status.is-error {
	border-color: #ff6a5c;
}

/* Erfolg: grüner Rahmen, damit die Bestätigung sofort auffällt. */
.form__status.is-success {
	border: 2px solid #2fbf71;
	background: rgba(47, 191, 113, 0.12);
}

.form__status.is-success::before {
	background: #2fbf71;
	box-shadow: 0 0 0 4px rgba(47, 191, 113, 0.25);
}

.form__status.is-error::before {
	background: var(--red);
}

@media (min-width: 1000px) {
	.contact__grid {
		grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
	}
}

/* 6 Seitenfuß
   ========================================================================== */

.footer {
	padding-top: clamp(56px, 7vw, 104px);
	background: var(--white);
	font-size: 1rem;
}

.footer__grid {
	display: grid;
	gap: 40px 48px;
	padding-bottom: clamp(48px, 6vw, 80px);
}

.footer__brand {
	display: grid;
	gap: 20px;
	justify-items: start;
	align-content: start;
}

.footer__brand p {
	max-width: 44ch;
	color: #2c2e30;
}

.footer__logo .logo__img {
	height: 48px;
}

.footer__social {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-weight: 650;
	text-underline-offset: 4px;
}

.footer__title {
	margin-bottom: 14px;
	padding-top: 14px;
	border-top: 2px solid var(--black);
	font-family: var(--font-cond);
	font-size: 1.3rem;
	font-weight: 800;
	letter-spacing: 0.01em;
}

.footer__address {
	margin-bottom: 12px;
}

.footer__list {
	display: grid;
	gap: 6px;
	padding: 0;
	list-style: none;
}

.footer__list--pages {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 6px 20px;
}

.footer__list a {
	text-decoration: none;
	background: linear-gradient(var(--red), var(--red)) left bottom / 0 2px no-repeat;
	transition: background-size 0.3s var(--ease);
}

.footer__list a:hover {
	background-size: 100% 2px;
}

.footer__key {
	display: inline-block;
	min-width: 4.4em;
	color: var(--steel);
}

.footer__bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 8px 24px;
	padding-block: 20px calc(20px + env(safe-area-inset-bottom));
	border-top: 2px solid var(--black);
	font-size: 0.95rem;
}

.footer__top {
	font-weight: 650;
	text-underline-offset: 4px;
}

@media (min-width: 700px) {
	.footer__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1100px) {
	.footer__grid {
		grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
	}
}

/* Zertifikat in voller Größe */
.lightbox {
	width: min(96vw, 860px);
	max-width: none;
	max-height: 94vh;
	max-height: 94dvh;
	padding: 0;
	border: 0;
	background: var(--white);
	color: var(--black);
}

.lightbox[open] {
	display: flex;
	flex-direction: column;
}

.lightbox::backdrop {
	background: rgba(0, 0, 0, 0.86);
}

.lightbox__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 10px 10px 10px 18px;
	border-bottom: 2px solid var(--black);
}

.lightbox__caption {
	font-weight: 650;
	line-height: 1.3;
}

.lightbox__close {
	flex: none;
	min-height: 44px;
	padding: 0 1.1rem;
	border: 0;
	border-radius: 2px;
	background: var(--black);
	color: var(--white);
	font-weight: 700;
}

.lightbox__stage {
	overflow: auto;
	overscroll-behavior: contain;
}

.lightbox__stage img {
	width: 100%;
}

/* 6b Seite „Unternehmen“
   ========================================================================== */

/* Kopfbereich: Das Teamfoto ragt aus dem schwarzen Kopf in den hellen Abschnitt. */
.uhero {
	--overlap: clamp(48px, 9vw, 150px);
	padding-block: clamp(44px, 7vw, 104px);
	background: var(--black);
	color: var(--white);
}

.uhero.has-photo {
	padding-bottom: 0;
	background: linear-gradient(to bottom, var(--black) calc(100% - var(--overlap)), var(--white) 0);
}

.uhero__head {
	display: grid;
	gap: 24px;
}

.uhero.has-photo .uhero__head {
	padding-bottom: clamp(32px, 5vw, 72px);
}

.uhero__title {
	font-family: var(--font-display);
	font-size: clamp(3.3rem, 0.9rem + 9.6vw, 9rem);
	font-weight: 800;
	line-height: 0.86;
	letter-spacing: 0.004em;
	text-transform: uppercase;
	text-wrap: balance;
	overflow-wrap: break-word;
}

.uhero__lead {
	position: relative;
	max-width: 34ch;
	padding: 14px 0 0 1.5rem;
	border-top: 2px solid var(--white);
	color: var(--on-dark);
	font-size: clamp(1.05rem, 0.98rem + 0.4vw, 1.25rem);
	font-weight: 600;
	line-height: 1.4;
}

.uhero__lead::before {
	content: "";
	position: absolute;
	top: calc(14px + 0.5em);
	left: 0;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--red);
}

.uhero__figure {
	position: relative;
}

.uhero__frame {
	overflow: hidden;
	aspect-ratio: 3 / 2;
	border-radius: var(--radius);
	background: var(--coal);
	clip-path: inset(var(--clip, 0%) round var(--radius));
	will-change: clip-path;
}

.uhero__frame img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 70%;
	transform: scale(var(--zoom, 1));
	will-change: transform;
}

.uhero__caption {
	position: absolute;
	bottom: var(--clip, 0%);
	left: var(--clip, 0%);
	padding: 0.7rem 1.2rem 0.7rem 2.2rem;
	background: var(--white);
	color: var(--black);
	font-family: var(--font-cond);
	font-size: clamp(1rem, 0.9rem + 0.5vw, 1.25rem);
	font-weight: 750;
	line-height: 1.2;
}

.uhero__caption::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 0.95rem;
	width: 10px;
	height: 10px;
	margin-top: -5px;
	border-radius: 50%;
	background: var(--red);
}

@media (min-width: 900px) {
	.uhero__head {
		grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
		align-items: end;
		gap: 48px;
	}

	.uhero__lead {
		margin-bottom: 0.6rem;
	}

	.uhero__frame {
		aspect-ratio: 16 / 9;
	}
}

@media (prefers-reduced-motion: no-preference) {
	.uhero__title,
	.uhero__lead {
		animation: hero-rise 0.9s var(--ease) backwards;
	}

	.uhero__lead {
		animation-delay: 0.15s;
	}
}

/* Unser Ansatz */
.approach {
	padding-block: clamp(56px, 8vw, 128px) var(--section);
	background: var(--white);
}

.approach__grid {
	display: grid;
	gap: clamp(28px, 6vw, 96px);
}

.approach__text > * + * {
	margin-top: 1.25rem;
}

.approach__text p {
	max-width: 62ch;
}

.approach__text p:not(.lead):not(.approach__action) {
	color: #2c2e30;
}

.approach__text p a:not(.btn) {
	font-weight: 700;
	text-decoration-color: var(--red);
	text-decoration-thickness: 2px;
	text-underline-offset: 4px;
}

.approach__text .approach__action {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: clamp(28px, 3vw, 40px);
}

@media (min-width: 900px) {
	.approach__grid {
		grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
		align-items: start;
	}

	.approach__title {
		position: sticky;
		top: calc(var(--sticky-h) + 40px);
	}
}

/* So arbeiten wir: Schiene mit wanderndem Punkt */
.process {
	padding-block: var(--section);
	background: var(--mist);
}

.process__track {
	--gap: 12px;
	position: relative;
	padding-left: 30px;
}

.process__rail {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 6px;
	width: 2px;
	background: #b4b9bc;
}

.process__rail::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: var(--y, 0px);
	background: var(--black);
	transition: height 0.6s var(--ease);
}

.process__dot {
	position: absolute;
	top: var(--y, 0px);
	left: -6px;
	width: 14px;
	height: 14px;
	margin-top: -7px;
	border-radius: 50%;
	background: var(--red);
	box-shadow: 0 0 0 5px var(--mist);
	transition: top 0.6s var(--ease), left 0.6s var(--ease);
}

.process__steps {
	display: grid;
	gap: var(--gap);
	padding: 0;
	list-style: none;
}

.pstep {
	padding: 22px;
	border-radius: var(--radius);
	transition: background-color 0.45s, color 0.45s;
}

.pstep__num {
	display: block;
	font-family: var(--font-display);
	font-size: clamp(4.5rem, 2.2rem + 7.4vw, 9.5rem);
	font-weight: 900;
	line-height: 0.8;
	color: #b4b9bc;
	transition: color 0.45s, -webkit-text-stroke-color 0.45s;
}

@supports (-webkit-text-stroke: 1px black) {
	.pstep__num {
		color: transparent;
		-webkit-text-stroke: 1.5px #8d9397;
	}
}

.pstep__title {
	margin-top: clamp(16px, 2vw, 28px);
	font-family: var(--font-cond);
	font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem);
	font-weight: 750;
	line-height: 1.08;
}

.pstep__text {
	max-width: 42ch;
	margin-top: 0.7rem;
	color: #3d4144;
	transition: color 0.45s;
}

.pstep.is-active {
	background: var(--black);
	color: var(--white);
}

.pstep.is-active .pstep__num {
	color: var(--white);
	-webkit-text-stroke-color: var(--white);
}

.pstep.is-active .pstep__text {
	color: var(--on-dark);
}

@media (min-width: 900px) {
	.process__track {
		--gap: clamp(14px, 1.6vw, 24px);
		padding-left: 0;
	}

	.process__rail {
		position: relative;
		top: auto;
		bottom: auto;
		left: auto;
		width: auto;
		height: 2px;
		margin-bottom: 30px;
	}

	.process__rail::before {
		width: calc(var(--i) * ((100% + var(--gap)) / var(--n)));
		height: 100%;
		transition: width 0.6s var(--ease);
	}

	.process__dot {
		top: 50%;
		left: calc(var(--i) * ((100% + var(--gap)) / var(--n)));
	}

	.process__steps {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.pstep {
		padding: clamp(24px, 2.6vw, 40px);
		cursor: default;
	}
}

/* Team */
.statement--plain {
	padding-bottom: clamp(36px, 5vw, 64px);
}

.statement--plain .statement__text {
	margin-bottom: 0;
}

.roster {
	padding-bottom: var(--section);
	background: var(--black);
	color: var(--white);
}

.roster__cols {
	display: grid;
	column-gap: clamp(28px, 5vw, 80px);
}

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

.person {
	display: flex;
	align-items: center;
	gap: 18px;
	padding: 16px 0;
	border-top: 1px solid #3a3b3c;
}

.person__photo {
	flex: none;
	display: grid;
	place-items: center;
	overflow: hidden;
	width: 72px;
	aspect-ratio: 411 / 484;
	border-radius: var(--radius);
	background: #1b1c1c;
}

/* Grauer Kopf, solange kein Porträt vorliegt. */
.person__photo--empty {
	place-items: end center;
	background: linear-gradient(#2a2b2c, #1d1e1f);
}

.person__avatar {
	width: 82%;
	height: auto;
	fill: #6b6e71;
}

.person__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 20%;
}

.person__initials {
	color: #8b8e91;
	font-family: var(--font-cond);
	font-size: 1.35rem;
	font-weight: 800;
	letter-spacing: 0.04em;
}

.person__text {
	display: grid;
	gap: 2px;
	min-width: 0;
}

.person__name {
	font-family: var(--font-cond);
	font-size: clamp(1.35rem, 1.15rem + 0.7vw, 1.75rem);
	font-weight: 750;
	line-height: 1.1;
}

.person__role {
	color: var(--on-dark);
	font-size: 0.98rem;
	line-height: 1.35;
}

@media (min-width: 760px) {
	.roster__cols {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		align-items: start;
	}

	.person__photo {
		width: 92px;
	}
}

/* Kundenstimmen */
.voices {
	padding-block: var(--section);
	background: var(--mist);
}

.voices__grid {
	display: grid;
	gap: clamp(28px, 6vw, 96px);
}

.voices__list {
	display: grid;
	gap: clamp(40px, 5vw, 64px);
	padding: 0;
	list-style: none;
}

.voice__stars {
	display: flex;
	gap: 4px;
	margin-bottom: 20px;
}

.voice__stars svg {
	fill: #b4b9bc;
}

.voice__stars svg.is-on {
	fill: var(--red);
}

.voice__quote {
	margin: 0;
}

.voice__quote p {
	max-width: 30em;
	font-family: var(--font-cond);
	font-size: clamp(1.5rem, 1.1rem + 1.7vw, 2.5rem);
	font-weight: 600;
	line-height: 1.2;
	text-indent: -0.42em;
}

.voice__quote p::before {
	content: "„";
}

.voice__quote p::after {
	content: "“";
}

.voice__by {
	display: grid;
	gap: 2px;
	margin-top: clamp(20px, 2.4vw, 32px);
	padding-top: 14px;
	border-top: 2px solid var(--black);
}

.voice__by strong {
	font-family: var(--font-cond);
	font-size: 1.4rem;
	font-weight: 800;
	line-height: 1.15;
}

.voice__by span {
	color: var(--steel);
}

@media (min-width: 900px) {
	.voices__grid {
		grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
	}

	.voices__head {
		position: sticky;
		top: calc(var(--sticky-h) + 32px);
		align-self: start;
	}
}

/* Abschluss */
.closing {
	padding-block: clamp(64px, 9vw, 136px);
	background: var(--black);
	color: var(--white);
}

.closing__grid {
	display: grid;
	gap: clamp(24px, 5vw, 80px);
}

.closing__side p {
	max-width: 40ch;
	color: var(--on-dark);
	font-size: 1.125rem;
}

.closing__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 18px 32px;
	margin-top: 28px;
}

.closing__phone {
	font-family: var(--font-cond);
	font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem);
	font-weight: 750;
	text-decoration: none;
	background: linear-gradient(var(--red), var(--red)) left bottom / 100% 2px no-repeat;
}

@media (min-width: 900px) {
	.closing__grid {
		grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
		align-items: end;
	}
}

/* 6c Seite „Partner“
   ========================================================================== */

/* Kopfbereich: Namen aller Partner an einer Schiene, ein Lauflicht geht reihum. */
.phero {
	padding-block: clamp(44px, 7vw, 104px) clamp(48px, 7vw, 96px);
	background: var(--black);
	color: var(--white);
}

.phero__head {
	display: grid;
	gap: 24px;
	padding-bottom: clamp(40px, 6vw, 88px);
}

.phero__title {
	font-family: var(--font-display);
	font-size: clamp(3.3rem, 0.9rem + 9.6vw, 9rem);
	font-weight: 800;
	line-height: 0.86;
	letter-spacing: 0.004em;
	text-transform: uppercase;
	text-wrap: balance;
	overflow-wrap: break-word;
}

.phero__lead {
	position: relative;
	max-width: 36ch;
	padding: 14px 0 0 1.5rem;
	border-top: 2px solid var(--white);
	color: var(--on-dark);
	font-size: clamp(1.05rem, 0.98rem + 0.4vw, 1.25rem);
	font-weight: 600;
	line-height: 1.4;
}

.phero__lead::before {
	content: "";
	position: absolute;
	top: calc(14px + 0.5em);
	left: 0;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--red);
}

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

.phero__bus li {
	position: relative;
	padding: 16px 0 18px 22px;
	border-top: 2px solid #3a3b3c;
	color: #8b8e91;
	font-family: var(--font-cond);
	font-size: clamp(1.05rem, 0.95rem + 0.5vw, 1.35rem);
	font-weight: 700;
	line-height: 1.15;
}

.phero__bus li::before {
	content: "";
	position: absolute;
	top: -6px;
	left: 0;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #5a5c5e;
	box-shadow: 0 0 0 4px var(--black);
}

@media (prefers-reduced-motion: no-preference) {
	.phero__bus li,
	.phero__bus li::before {
		animation: bus-on calc(var(--n) * 0.8s) linear infinite;
		animation-delay: calc(var(--i) * 0.8s);
	}

	.phero__bus li::before {
		animation-name: bus-dot;
	}

	.phero__title,
	.phero__lead {
		animation: hero-rise 0.9s var(--ease) backwards;
	}

	.phero__lead {
		animation-delay: 0.15s;
	}
}

@keyframes bus-on {
	0%,
	14% {
		border-top-color: var(--white);
		color: var(--white);
	}

	22%,
	100% {
		border-top-color: #3a3b3c;
		color: #8b8e91;
	}
}

@keyframes bus-dot {
	0%,
	14% {
		background: var(--red);
		box-shadow: 0 0 0 4px var(--black), 0 0 14px 4px rgba(230, 51, 35, 0.7);
	}

	22%,
	100% {
		background: #5a5c5e;
		box-shadow: 0 0 0 4px var(--black);
	}
}

@media (min-width: 640px) {
	.phero__bus {
		grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	}
}

@media (min-width: 900px) {
	.phero__head {
		grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
		align-items: end;
		gap: 48px;
	}

	.phero__lead {
		margin-bottom: 0.6rem;
	}
}

@media (min-width: 1200px) {
	.phero__bus {
		grid-template-columns: repeat(5, minmax(0, 1fr));
	}
}

/* Logo-Kacheln */
.brands {
	padding-block: var(--section);
	background: var(--mist);
}

.brands__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	padding: 0;
	list-style: none;
}

.brand {
	display: flex;
}

.brand__link {
	position: relative;
	display: flex;
	flex: 1;
	flex-direction: column;
	overflow: hidden;
	min-height: 220px;
	padding: 16px;
	border-radius: var(--radius);
	background: var(--white);
	color: var(--black);
	text-decoration: none;
	box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06);
	transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

/* Rote Schiene am oberen Rand – wie bei den Leistungskacheln der Startseite. */
.brand__link::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	z-index: 2;
	width: 100%;
	height: 3px;
	background: var(--red);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.6s var(--ease);
}

.brand__logo {
	display: grid;
	flex: 1;
	place-items: center;
	padding: 12px 6% 20px;
}

.brand__logo img {
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: 76px;
	object-fit: contain;
	transition: transform 0.6s var(--ease), filter 0.4s, opacity 0.4s;
}

/* Alle Kacheln sind weiß. Logos, die für dunklen Grund gezeichnet sind (weiße Schrift),
   werden dafür dunkel eingefärbt; ein Logo auf schwarzer Fläche wird umgekehrt. */
.brand--dark:not(.brand--cover) .brand__logo img {
	filter: brightness(0);
}

.brand--dark.brand--cover .brand__logo img {
	filter: invert(1);
}

.brand__wordmark {
	font-family: var(--font-display);
	font-size: clamp(1.8rem, 1.2rem + 2vw, 2.8rem);
	font-weight: 800;
	line-height: 1;
	text-align: center;
	text-transform: uppercase;
}

.brand--cover .brand__link {
	justify-content: flex-end;
}

.brand--cover .brand__logo {
	position: absolute;
	inset: 0 0 22% 0;
	padding: 0;
}

.brand--cover .brand__logo img {
	width: 100%;
	height: 100%;
	max-height: none;
	object-fit: cover;
	transform: scale(1.5);
}

.brand__meta {
	position: relative;
	z-index: 1;
	display: grid;
	gap: 1px;
	padding-top: 12px;
	border-top: 1px solid rgba(0, 0, 0, 0.14);
}

.brand__name {
	font-family: var(--font-cond);
	font-size: clamp(1.1rem, 1rem + 0.5vw, 1.35rem);
	font-weight: 750;
	line-height: 1.15;
}

.brand__what {
	color: var(--steel);
	font-size: 0.92rem;
	line-height: 1.3;
}

.brand__go {
	position: absolute;
	top: 14px;
	right: 14px;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 0.9rem;
	font-weight: 700;
}

.brand__go > span:first-child {
	display: none;
}

.brands--coop {
	padding-top: var(--section);
}

@media (min-width: 760px) {
	.brands__grid {
		gap: 16px;
	}

	.brands__grid--wide {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.brand__link {
		min-height: 260px;
		padding: 22px;
	}

	.brand__logo img {
		max-height: 96px;
	}

	.brands__grid--wide .brand__link {
		min-height: 320px;
	}

	.brands__grid--wide .brand__logo img {
		max-height: 130px;
	}

	.brand__go > span:first-child {
		display: inline;
	}
}

@media (min-width: 960px) {
	.brands__grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.brands__grid--wide {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* Mit Maus: Logos ruhen in Grau und bekommen beim Darüberfahren Farbe, die Kachel hebt sich. */
@media (hover: hover) {
	.brand--light:not(.brand--cover) .brand__logo img {
		filter: grayscale(1);
		opacity: 0.72;
	}

	.brand--dark:not(.brand--cover) .brand__logo img {
		opacity: 0.72;
	}

	.brand__go {
		opacity: 0;
		transform: translate(-8px, 8px);
		transition: opacity 0.35s, transform 0.45s var(--ease);
	}

	.brand__link:hover,
	.brand__link:focus-visible {
		transform: translateY(-8px);
		box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06), 0 30px 36px -24px rgba(0, 0, 0, 0.5);
	}

	.brand__link:hover::before,
	.brand__link:focus-visible::before {
		transform: scaleX(1);
	}

	.brand__link:hover .brand__logo img,
	.brand__link:focus-visible .brand__logo img {
		filter: none;
		opacity: 1;
		transform: scale(1.07);
	}

	.brand--dark:not(.brand--cover) .brand__link:hover .brand__logo img,
	.brand--dark:not(.brand--cover) .brand__link:focus-visible .brand__logo img {
		filter: brightness(0);
	}

	.brand--dark.brand--cover .brand__link:hover .brand__logo img,
	.brand--dark.brand--cover .brand__link:focus-visible .brand__logo img {
		filter: invert(1);
	}

	.brand--cover .brand__link:hover .brand__logo img,
	.brand--cover .brand__link:focus-visible .brand__logo img {
		transform: scale(1.62);
	}

	.brand__link:hover .brand__go,
	.brand__link:focus-visible .brand__go {
		opacity: 1;
		transform: none;
	}
}

/* Ajax */
.pajax {
	position: relative;
	overflow: hidden;
	padding-block: var(--section);
	background: var(--black);
	color: var(--white);
}

.pajax__ghost {
	position: absolute;
	top: clamp(-20px, -1.5vw, -8px);
	right: -0.04em;
	font-family: var(--font-display);
	font-size: clamp(9rem, 34vw, 34rem);
	font-weight: 900;
	line-height: 0.8;
	text-transform: uppercase;
	color: #151616;
	pointer-events: none;
	user-select: none;
}

@supports (-webkit-text-stroke: 1px black) {
	.pajax__ghost {
		color: transparent;
		-webkit-text-stroke: 1.5px #2b2c2d;
	}
}

.pajax__grid {
	position: relative;
	display: grid;
	gap: clamp(36px, 6vw, 96px);
	align-items: start;
}

.pajax__figure {
	position: relative;
	aspect-ratio: 4 / 5;
	border-radius: var(--radius);
}

.pajax__figure img {
	position: relative;
	width: 100%;
	height: 100%;
	border-radius: var(--radius);
	object-fit: cover;
	object-position: 60% 30%;
}

.pajax__figure .about__caption {
	z-index: 1;
	color: var(--black);
	border-radius: 0 0 0 var(--radius);
}

/* Signalringe gehen vom Melder im Bild aus. */
.pajax__rings {
	position: absolute;
	top: 62%;
	left: 22%;
	z-index: 1;
	width: 0;
	height: 0;
	pointer-events: none;
}

.pajax__rings i {
	position: absolute;
	top: -90px;
	left: -90px;
	width: 180px;
	height: 180px;
	border: 2px solid var(--red);
	border-radius: 50%;
	opacity: 0;
	animation: ajax-ring 4.5s linear infinite;
}

.pajax__rings i:nth-child(2) {
	animation-delay: 1.5s;
}

.pajax__rings i:nth-child(3) {
	animation-delay: 3s;
}

.pajax__text > * + * {
	margin-top: 1.25rem;
}

.pajax__text > .display {
	margin-bottom: clamp(20px, 2.6vw, 36px);
}

.pajax__text p {
	max-width: 62ch;
	color: var(--on-dark);
}

.pajax__text p a:not(.btn) {
	color: var(--white);
	font-weight: 700;
	text-decoration-color: var(--red);
	text-decoration-thickness: 2px;
	text-underline-offset: 4px;
}

.pajax__range {
	display: grid;
	margin-block: clamp(24px, 3vw, 36px);
	padding: 0;
	list-style: none;
}

.pajax__range li {
	position: relative;
	display: grid;
	gap: 2px 20px;
	padding: 14px 0 14px 1.6rem;
	border-top: 1px solid #3a3b3c;
}

.pajax__range li:last-child {
	border-bottom: 1px solid #3a3b3c;
}

.pajax__range li::before {
	content: "";
	position: absolute;
	top: 1.5rem;
	left: 0;
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: var(--red);
}

.pajax__range strong {
	font-family: var(--font-cond);
	font-size: clamp(1.2rem, 1.05rem + 0.6vw, 1.5rem);
	font-weight: 750;
	line-height: 1.15;
}

.pajax__range span {
	color: var(--on-dark);
}

.pajax__text .pajax__action {
	margin-top: clamp(28px, 3vw, 40px);
}

@media (min-width: 640px) {
	.pajax__range li {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		align-items: baseline;
	}
}

@media (min-width: 900px) {
	.pajax__grid {
		grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	}
}

/* Loxone */
.loxone {
	--loxone: #5fae2e;
	padding-block: var(--section);
	background: var(--white);
}

.loxone__grid {
	display: grid;
	gap: clamp(36px, 6vw, 96px);
}

.loxone__logo {
	width: auto;
	height: 38px;
	margin-bottom: clamp(20px, 2.4vw, 32px);
}

.loxone__text > * + * {
	margin-top: 1.25rem;
}

.loxone__text > .display {
	margin-bottom: clamp(20px, 2.6vw, 36px);
}

.loxone__text p {
	max-width: 60ch;
}

.loxone__text p:not(.lead):not(.loxone__action) {
	color: #2c2e30;
}

.loxone__text .loxone__goal {
	margin-block: clamp(24px, 3vw, 36px);
	padding-left: 1.25rem;
	border-left: 3px solid var(--loxone);
}

.loxone__text .loxone__action {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px 28px;
	margin-top: clamp(28px, 3vw, 40px);
}

.loxone__action .text-link {
	background-image: linear-gradient(var(--loxone), var(--loxone));
}

.loxone__board-title {
	max-width: 30ch;
	margin-bottom: 20px;
	font-family: var(--font-cond);
	font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.7rem);
	font-weight: 750;
	line-height: 1.15;
}

/* Schaltfeld: Jede Kachel ist ein Schalter, der sich umlegt. */
.switches {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	padding: 0;
	list-style: none;
}

.switch {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 22px;
	min-height: 138px;
	padding: 16px;
	border-radius: var(--radius);
	background: var(--black);
	color: var(--white);
	transition: background-color 0.5s, color 0.5s;
}

.switch__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.switch .icon {
	color: var(--loxone);
	transition: color 0.5s;
}

.switch__toggle {
	position: relative;
	flex: none;
	width: 40px;
	height: 22px;
	border-radius: 11px;
	background: var(--loxone);
	transition: background-color 0.5s;
}

.switch__toggle::after {
	content: "";
	position: absolute;
	top: 3px;
	left: 3px;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: var(--white);
	transform: translateX(18px);
	transition: transform 0.5s var(--ease);
}

.switch__label {
	font-family: var(--font-cond);
	font-size: clamp(1.02rem, 0.95rem + 0.4vw, 1.25rem);
	font-weight: 700;
	line-height: 1.15;
	overflow-wrap: break-word;
	hyphens: manual;
}

/* Ausgangszustand mit Skript: aus. Beim Sichtkontakt schaltet eine Kachel nach der anderen ein. */
.js .switches:not(.is-on) .switch {
	background: var(--mist);
	color: var(--black);
}

.js .switches:not(.is-on) .switch .icon {
	color: var(--steel);
}

.js .switches:not(.is-on) .switch__toggle {
	background: #b4b9bc;
}

.js .switches:not(.is-on) .switch__toggle::after {
	transform: none;
}

.js .switches .switch,
.js .switches .switch .icon,
.js .switches .switch__toggle,
.js .switches .switch__toggle::after {
	transition-delay: calc(var(--i) * 0.13s);
}

@media (min-width: 900px) {
	.loxone__grid {
		grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
		align-items: start;
	}

	.loxone__board {
		position: sticky;
		top: calc(var(--sticky-h) + 32px);
	}

	.switch {
		min-height: 150px;
		padding: 20px;
	}
}

/* Projekt im Kopf: Erfassungsfeld folgt dem Mauszeiger */
@property --mx {
	syntax: "<percentage>";
	inherits: true;
	initial-value: 72%;
}

@property --my {
	syntax: "<percentage>";
	inherits: true;
	initial-value: 50%;
}

.spot {
	--mx: 72%;
	--my: 50%;
	position: relative;
	overflow: hidden;
	padding-block: clamp(80px, 12vw, 190px);
	background: var(--black);
	color: var(--white);
}

@media (prefers-reduced-motion: no-preference) {
	.spot:not(.is-tracking) {
		animation: spot-drift 14s ease-in-out infinite alternate;
	}
}

@keyframes spot-drift {
	0% {
		--mx: 18%;
		--my: 30%;
	}

	50% {
		--mx: 78%;
		--my: 68%;
	}

	100% {
		--mx: 52%;
		--my: 24%;
	}
}

.spot__field {
	position: absolute;
	inset: 0;
	background:
		radial-gradient(circle at var(--mx) var(--my), rgba(230, 51, 35, 0.34), rgba(230, 51, 35, 0) 300px),
		radial-gradient(rgba(255, 255, 255, 0.5) 1px, transparent 1.6px) 0 0 / 22px 22px;
	-webkit-mask-image: radial-gradient(circle 340px at var(--mx) var(--my), #000 0, rgba(0, 0, 0, 0.5) 45%, transparent 100%);
	mask-image: radial-gradient(circle 340px at var(--mx) var(--my), #000 0, rgba(0, 0, 0, 0.5) 45%, transparent 100%);
	pointer-events: none;
}

.spot__ring {
	position: absolute;
	top: var(--my);
	left: var(--mx);
	width: 0;
	height: 0;
	pointer-events: none;
}

.spot__ring i {
	position: absolute;
	top: -70px;
	left: -70px;
	width: 140px;
	height: 140px;
	border: 1.5px solid rgba(230, 51, 35, 0.9);
	border-radius: 50%;
	opacity: 0;
	animation: ajax-ring 3.6s linear infinite;
}

.spot__ring i:nth-child(2) {
	animation-delay: 1.8s;
}

.spot__ring::after {
	content: "";
	position: absolute;
	top: -5px;
	left: -5px;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--red);
	box-shadow: 0 0 16px 4px rgba(230, 51, 35, 0.8);
}

.spot__grid {
	position: relative;
	display: grid;
	gap: clamp(24px, 5vw, 80px);
}

.spot__title {
	font-family: var(--font-display);
	font-size: clamp(3.2rem, 1.2rem + 8.4vw, 9rem);
	font-weight: 800;
	line-height: 0.88;
	text-transform: uppercase;
	text-wrap: balance;
}

.spot__side {
	display: grid;
	gap: 28px;
	justify-items: start;
}

.spot__side p {
	max-width: 38ch;
	color: var(--on-dark);
	font-size: 1.125rem;
}

@media (min-width: 900px) {
	.spot__grid {
		grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
		align-items: end;
	}
}

/* 6d Seite „Leistungen“
   ========================================================================== */

.lhero {
	padding-block: clamp(44px, 7vw, 104px) clamp(32px, 4vw, 56px);
	background: var(--black);
	color: var(--white);
}

.lhero__head {
	display: grid;
	gap: 24px;
	padding-bottom: clamp(40px, 6vw, 88px);
}

.lhero__title {
	font-family: var(--font-display);
	font-size: clamp(2.6rem, 0.9rem + 7.4vw, 7.25rem);
	font-weight: 800;
	line-height: 0.86;
	letter-spacing: 0.004em;
	text-transform: uppercase;
	text-wrap: balance;
	overflow-wrap: break-word;
}

.lhero__lead {
	position: relative;
	max-width: 36ch;
	padding: 14px 0 0 1.5rem;
	border-top: 2px solid var(--white);
	color: var(--on-dark);
	font-size: clamp(1.05rem, 0.98rem + 0.4vw, 1.25rem);
	font-weight: 600;
	line-height: 1.4;
}

.lhero__lead::before {
	content: "";
	position: absolute;
	top: calc(14px + 0.5em);
	left: 0;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--red);
}

@media (min-width: 900px) {
	.lhero__head {
		grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
		align-items: end;
		gap: 48px;
	}

	.lhero__lead {
		margin-bottom: 0.6rem;
	}
}

@media (prefers-reduced-motion: no-preference) {
	.lhero__title,
	.lhero__lead {
		animation: hero-rise 0.9s var(--ease) backwards;
	}

	.lhero__lead {
		animation-delay: 0.15s;
	}
}

/* Sprungliste: die neun Bereiche als ruhige Zeilen, jede führt zu ihrer Kachel. */
.lhero__index {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 16px;
	padding: 0;
	list-style: none;
}

.lhero__index a {
	position: relative;
	display: block;
	padding: 13px 0 13px 20px;
	border-top: 1px solid #3a3b3c;
	color: var(--on-dark);
	font-size: 0.98rem;
	font-weight: 600;
	line-height: 1.25;
	text-decoration: none;
	transition: color 0.25s, border-color 0.25s;
}

.lhero__index a::before {
	content: "";
	position: absolute;
	top: 1.3em;
	left: 0;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #5a5c5e;
	transition: background-color 0.25s;
}

.lhero__index a:hover,
.lhero__index a:focus-visible {
	border-top-color: var(--white);
	color: var(--white);
}

.lhero__index a:hover::before,
.lhero__index a:focus-visible::before {
	background: var(--red);
}

.tiles__item[id] {
	scroll-margin-top: 16px;
}

@media (min-width: 760px) {
	.lhero__index {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 0 24px;
	}
}

/* Neun Kacheln im gleichmäßigen Raster; der Text ist hier immer sichtbar. */
.tiles--grid .tile {
	flex-direction: column;
	align-items: stretch;
	gap: 0;
	min-height: 0;
}

.tiles--grid .tile__art {
	flex: none;
	align-self: flex-start;
	width: clamp(128px, 12vw, 164px);
	margin: -2px 0 clamp(20px, 2.4vw, 32px) -6px;
}

.tiles--grid .tile__text {
	opacity: 1;
	transform: none;
}

.ill__nudge {
	transition: transform 0.6s var(--ease);
}

@media (min-width: 1040px) {
	.tiles--grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (hover: hover) {
	.tile:hover .ill__nudge,
	.tile:focus-visible .ill__nudge {
		animation: ill-nudge 1.2s var(--ease) infinite;
	}
}

@keyframes ill-nudge {
	0%,
	100% {
		transform: translateX(6px);
	}

	50% {
		transform: translateX(-8px);
	}
}

/* 6e Leistungs-Unterseiten
   ========================================================================== */

/* Leistungs-Navigation: bleibt unter dem Seitenkopf stehen, auf dem Handy seitlich wischbar. */
.snav {
	position: sticky;
	top: var(--sticky-h);
	z-index: 80;
	border-bottom: 1px solid var(--coal-line);
	background: var(--black);
}

.admin-bar .snav {
	top: calc(var(--sticky-h) + 32px);
}

@media (max-width: 782px) {
	.admin-bar .snav {
		top: calc(var(--sticky-h) + 46px);
	}
}

@media (max-width: 600px) {
	.admin-bar .snav {
		top: var(--sticky-h);
	}
}

.snav__list {
	display: flex;
	margin: 0;
	padding: 0 max(var(--gutter), calc((100vw - var(--max)) / 2));
	overflow-x: auto;
	list-style: none;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
	-webkit-mask-image: linear-gradient(to right, #000 calc(100% - 56px), transparent);
	mask-image: linear-gradient(to right, #000 calc(100% - 56px), transparent);
}

.snav__list::after {
	content: "";
	flex: none;
	width: 40px;
}

.snav__list::-webkit-scrollbar {
	display: none;
}

.snav a {
	position: relative;
	display: block;
	padding: 15px 10px;
	color: var(--on-dark);
	font-size: 0.92rem;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	white-space: nowrap;
	transition: color 0.2s;
}

.snav li:first-child a {
	padding-left: 0;
}

.snav a::after {
	content: "";
	position: absolute;
	right: 10px;
	bottom: 0;
	left: 10px;
	height: 3px;
	background: var(--red);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.35s var(--ease);
}

.snav li:first-child a::after {
	left: 0;
}

.snav a:hover,
.snav a[aria-current="page"] {
	color: var(--white);
}

.snav a[aria-current="page"]::after {
	transform: scaleX(1);
}

.snav__all {
	margin-right: 10px;
	padding-right: 20px !important;
	border-right: 1px solid var(--coal-line);
}

/* Kopfbereich */
.shero {
	padding-block: clamp(36px, 5vw, 72px) clamp(56px, 7vw, 104px);
	background: var(--black);
	color: var(--white);
}

.shero__title {
	margin-bottom: clamp(28px, 4vw, 56px);
	font-family: var(--font-display);
	font-size: clamp(2.6rem, 0.8rem + 7.6vw, 8rem);
	font-weight: 800;
	line-height: 0.88;
	letter-spacing: 0.004em;
	text-transform: uppercase;
	text-wrap: balance;
	overflow-wrap: break-word;
}

.shero__grid {
	display: grid;
	gap: clamp(32px, 5vw, 80px);
}

.shero__text > * + * {
	margin-top: 1.1rem;
}

.shero__text p {
	max-width: 60ch;
	color: var(--on-dark);
}

.shero__text .lead {
	color: var(--white);
}

.shero__text p a:not(.btn) {
	color: var(--white);
	font-weight: 700;
	text-decoration-color: var(--red);
	text-decoration-thickness: 2px;
	text-underline-offset: 4px;
}

.shero__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 1.6rem;
	padding: 0;
	list-style: none;
}

.shero__tags li {
	padding: 0.4rem 0.8rem;
	border: 1px solid #55585a;
	border-radius: 2px;
	font-size: 0.92rem;
	font-weight: 600;
	line-height: 1.2;
}

.shero__text .shero__action {
	margin-top: clamp(24px, 3vw, 36px);
}

@media (min-width: 1000px) {
	.shero__grid {
		grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
		align-items: start;
	}
}

@media (prefers-reduced-motion: no-preference) {
	.shero__title {
		animation: hero-rise 0.9s var(--ease) backwards;
	}
}

/* Interaktive Szene */
.demo {
	--go: #3fae5a;
	overflow: hidden;
	border: 1px solid var(--coal-line);
	border-radius: 6px;
	background: var(--coal);
	color: var(--white);
}

.demo__scene {
	padding: clamp(8px, 2vw, 24px);
	cursor: pointer;
}

.demo__scene svg {
	width: 100%;
	height: auto;
	overflow: visible;
}

.demo__bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 20px;
	padding: 14px 18px;
	border-top: 1px solid var(--coal-line);
}

.demo__status {
	display: flex;
	flex: 1 1 220px;
	align-items: baseline;
	gap: 10px;
	font-size: 0.98rem;
	font-weight: 600;
	line-height: 1.3;
}

.demo__dot {
	flex: none;
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: #5a5c5e;
	transition: background-color 0.3s, box-shadow 0.3s;
}

.demo.is-on .demo__dot {
	background: var(--red);
	box-shadow: 0 0 10px 2px rgba(230, 51, 35, 0.7);
}

.no-js .demo__btn {
	display: none;
}

.demo text {
	fill: currentColor;
	stroke: none;
	font-family: var(--font-cond);
	font-size: 17px;
	font-weight: 700;
	letter-spacing: 0.06em;
}

.demo .d-dim {
	opacity: 0.4;
}

.demo .d-red {
	stroke: var(--red);
}

.demo .d-go {
	stroke: var(--go);
}

.demo .d-on {
	opacity: 0;
	transition: opacity 0.5s;
	transition-delay: var(--d, 0s);
}

.demo.is-on .d-on {
	opacity: 1;
}

.demo .d-off {
	transition: opacity 0.3s;
}

.demo.is-on .d-off {
	opacity: 0;
}

.demo.is-on .d-pulse {
	animation: ill-wave 1.6s ease-in-out infinite;
	animation-delay: var(--d, 0s);
}

.demo .d-flow {
	stroke-dasharray: 6 8;
}

.demo.is-on .d-flow {
	animation: d-dash 0.9s linear infinite;
}

@keyframes d-dash {
	to {
		stroke-dashoffset: -28;
	}
}

.demo .d-move {
	transform: var(--from, none);
	transition: transform 0.9s var(--ease), opacity 0.5s;
	transition-delay: var(--d, 0s);
}

.demo.is-on .d-move {
	transform: var(--to, none);
}

.demo .d-led {
	fill: #5a5c5e;
	stroke: none;
	transition: fill 0.3s;
}

.demo.is-on .d-led {
	fill: var(--red);
	filter: drop-shadow(0 0 6px var(--red));
}

.demo .d-led--lock {
	fill: var(--red);
}

.demo.is-on .d-led--go,
.demo.is-on .d-led--lock {
	fill: var(--go);
	filter: drop-shadow(0 0 6px var(--go));
}

/* Einzelne Szenen */
.demo .sc-puff {
	fill: rgba(255, 255, 255, 0.1);
	stroke-opacity: 0.55;
}

.demo.is-on .sc-puff {
	animation: d-puff 2.6s ease-in-out infinite alternate;
	animation-delay: var(--d, 0s);
}

@keyframes d-puff {
	from {
		transform: translateY(5px);
	}

	to {
		transform: translateY(-7px);
	}
}

.demo .sc-sign {
	transition: stroke 0.4s, filter 0.4s;
}

.demo.is-on .sc-sign {
	stroke: var(--go);
	filter: drop-shadow(0 0 6px var(--go));
}

.demo .sc-glow {
	fill: rgba(255, 255, 255, 0.13);
	stroke: none;
}

.demo .sc-glow--go {
	fill: rgba(63, 174, 90, 0.22);
}

.demo .sc-contact {
	transition: fill 0.3s, stroke 0.3s;
}

.demo.is-on .sc-contact {
	fill: var(--red);
	stroke: var(--red);
}

.demo .sc-note {
	fill: var(--red);
	stroke: none;
}

.demo .sc-beam {
	fill: rgba(255, 255, 255, 0.07);
	stroke-opacity: 0.4;
}

.demo .sc-rec {
	fill: #5a5c5e;
	stroke: none;
}

.demo.is-on .sc-rec {
	fill: var(--red);
	animation: ill-wave 1.1s steps(2, jump-none) infinite;
}

.demo .sc-fiber {
	stroke-dasharray: 9 91;
	opacity: 0.75;
	animation: d-fiber 3.4s linear infinite;
	animation-delay: var(--d, 0s);
}

.demo.is-on .sc-fiber {
	opacity: 1;
	animation-duration: 0.95s;
	filter: drop-shadow(0 0 4px var(--white));
}

@keyframes d-fiber {
	from {
		stroke-dashoffset: 100;
	}

	to {
		stroke-dashoffset: 0;
	}
}

.demo .sc-bulb {
	transition: fill 0.4s, filter 0.4s;
	transition-delay: var(--d, 0s);
}

.demo.is-on .sc-bulb {
	fill: var(--white);
	filter: drop-shadow(0 0 8px var(--white));
}

.demo .sc-bolt {
	transition: fill 0.3s, stroke 0.3s;
}

.demo.is-on .sc-bolt {
	fill: var(--red);
	stroke: var(--red);
}

.demo .sc-draw {
	stroke-dasharray: 100;
	stroke-dashoffset: 100;
	transition: stroke-dashoffset 0.3s;
}

.demo.is-on .sc-draw {
	stroke-dashoffset: 0;
	transition: stroke-dashoffset 1s ease-in-out 1s;
}

.demo .sc-scan {
	opacity: 0;
}

.demo.is-on .sc-scan {
	opacity: 1;
	animation: d-scan 2.2s ease-in-out infinite alternate;
}

@keyframes d-scan {
	to {
		transform: translateX(310px);
	}
}

@media (prefers-reduced-motion: no-preference) {
	.demo .sc-sweep {
		animation: d-sweep 4.5s ease-in-out infinite alternate;
	}
}

@keyframes d-sweep {
	from {
		transform: rotate(-5deg);
	}

	to {
		transform: rotate(6deg);
	}
}

/* Leistungsumfang: Überschrift oben, Punkte darunter in zwei gleich breiten Spalten. */
.sscope {
	padding-block: clamp(48px, 6vw, 88px);
	background: var(--white);
}

.sscope__grid > .display {
	margin-bottom: clamp(20px, 2.6vw, 36px);
}

.sscope__list {
	display: grid;
	column-gap: clamp(28px, 5vw, 80px);
	padding: 0;
	list-style: none;
}

.sscope__list li {
	position: relative;
	display: grid;
	gap: 2px;
	align-content: start;
	padding: 16px 0 16px 1.9rem;
	border-bottom: 2px solid var(--black);
}

.sscope__list li:first-child {
	border-top: 2px solid var(--black);
}

.sscope__list li::before {
	content: "";
	position: absolute;
	top: calc(16px + 0.68em);
	left: 0;
	width: 11px;
	height: 11px;
	border-radius: 50%;
	background: var(--red);
}

.sscope__list strong {
	font-family: var(--font-cond);
	font-size: clamp(1.3rem, 1.1rem + 0.9vw, 1.75rem);
	font-weight: 750;
	line-height: 1.12;
	overflow-wrap: break-word;
	hyphens: manual;
}

.sscope__list span {
	color: var(--steel);
	font-weight: 600;
}

@media (min-width: 760px) {
	.sscope__list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.sscope__list li:nth-child(2) {
		border-top: 2px solid var(--black);
	}
}

/* Ausführlicher Text */
.sdetail {
	padding-block: clamp(56px, 7vw, 112px);
	background: var(--mist);
}

.sdetail__grid {
	display: grid;
	gap: clamp(28px, 6vw, 96px);
}

.sdetail__text > * + * {
	margin-top: 1.25rem;
}

.sdetail__text p {
	max-width: 64ch;
}

.sdetail__text p:not(.lead) {
	color: #2c2e30;
}

@media (min-width: 900px) {
	.sdetail__grid {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		align-items: start;
	}

	.sdetail__title {
		position: sticky;
		top: calc(var(--sticky-h) + 84px);
	}
}

/* Weitere Leistungen */
.smore {
	padding-block: var(--section);
	background: var(--white);
}

.tile__kicker {
	margin-bottom: 6px;
	color: var(--on-dark);
	font-size: 0.95rem;
	font-weight: 600;
}

@media (min-width: 1040px) {
	.tiles--pair {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* 6f Seite „Qualifikation“
   ========================================================================== */

.qhero__seals {
	padding-top: clamp(28px, 4vw, 48px);
	border-top: 1px solid #3a3b3c;
}

/* Dokumentenwand: Die Blätter liegen leicht schräg und richten sich beim Darüberfahren auf. */
.qwall {
	padding-block: var(--section);
	background: var(--mist);
	overflow: hidden;
}

.qwall__list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: clamp(28px, 4vw, 56px) clamp(20px, 3vw, 44px);
	padding: 0;
	list-style: none;
}

.qcert {
	flex: 0 1 calc(50% - 12px);
	min-width: 0;
}

@media (min-width: 640px) {
	.qcert {
		flex-basis: min(100%, 340px);
	}
}

.qcert__link {
	display: block;
	text-decoration: none;
}

.qcert__sheet {
	position: relative;
	display: block;
	overflow: hidden;
	aspect-ratio: 1200 / 1697;
	background: var(--white);
	box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06), 0 26px 36px -24px rgba(0, 0, 0, 0.5);
	transform: rotate(var(--tilt, 0deg));
	transition: transform 0.55s var(--ease), box-shadow 0.55s var(--ease);
}

.qcert:nth-child(3n + 1) {
	--tilt: -1.6deg;
}

.qcert:nth-child(3n + 2) {
	--tilt: 1.1deg;
}

.qcert:nth-child(3n) {
	--tilt: -0.7deg;
}

.qcert__sheet img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top;
}

.qcert__open {
	position: absolute;
	right: 12px;
	bottom: 12px;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 0.5rem 0.85rem;
	border-radius: 2px;
	background: var(--black);
	color: var(--white);
	font-size: 0.92rem;
	font-weight: 700;
}

.qcert__label {
	position: relative;
	display: block;
	margin-top: 22px;
	padding: 12px 0 0 1.5rem;
	border-top: 2px solid var(--black);
	font-family: var(--font-cond);
	font-size: clamp(1.15rem, 1.05rem + 0.5vw, 1.4rem);
	font-weight: 750;
	line-height: 1.18;
}

.qcert__label::before {
	content: "";
	position: absolute;
	top: calc(12px + 0.42em);
	left: 0;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--red);
}

@media (hover: hover) {
	.qcert__open {
		opacity: 0;
		transform: translateY(8px);
		transition: opacity 0.3s, transform 0.4s var(--ease);
	}

	.qcert__link:hover .qcert__sheet,
	.qcert__link:focus-visible .qcert__sheet {
		transform: rotate(0deg) translateY(-12px) scale(1.03);
		box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06), 0 44px 44px -28px rgba(0, 0, 0, 0.55);
	}

	.qcert__link:hover .qcert__open,
	.qcert__link:focus-visible .qcert__open {
		opacity: 1;
		transform: none;
	}
}

@media (max-width: 639px) {
	.qcert__open {
		right: 6px;
		bottom: 6px;
		padding: 0.35rem 0.55rem;
		font-size: 0.8rem;
	}

	.qcert__label {
		margin-top: 14px;
		padding-left: 1.1rem;
		font-size: 1rem;
		overflow-wrap: anywhere;
		hyphens: manual;
	}

	.qcert__label::before {
		width: 8px;
		height: 8px;
	}
}

.qnote {
	padding-block: clamp(56px, 7vw, 112px);
	background: var(--white);
}

.qnote__grid {
	display: grid;
	gap: clamp(24px, 6vw, 96px);
}

.qnote__text > * + * {
	margin-top: 1.1rem;
}

.qnote__text p {
	max-width: 56ch;
}

.qnote__text .qnote__action {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: clamp(24px, 3vw, 36px);
}

@media (min-width: 900px) {
	.qnote__grid {
		grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
		align-items: start;
	}
}

/* 6g Zeilenliste (Karriere: Einstiegsmöglichkeiten) und Einblenden beim Scrollen
   ========================================================================== */

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

.ref {
	position: relative;
	break-inside: avoid;
}

/* Die Trennlinie zeichnet sich von links, sobald die Zeile ins Bild kommt. */
.ref::after {
	content: "";
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	height: 2px;
	background: var(--black);
	transform-origin: left;
}

.ref__row {
	position: relative;
	z-index: 0;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 2px 16px;
	align-items: baseline;
	padding: 18px 14px 18px 30px;
	color: var(--black);
	text-decoration: none;
}

/* Schwarze Fläche, die beim Darüberfahren von links einläuft. */
.ref__row::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: var(--black);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.5s var(--ease);
}

.ref__row::after {
	content: "";
	position: absolute;
	top: calc(18px + 0.62em);
	left: 4px;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--line);
	transition: background-color 0.3s, transform 0.5s var(--ease);
}

a.ref__row::after {
	background: var(--red);
}

.ref__name {
	grid-column: 1;
	font-family: var(--font-cond);
	font-size: clamp(1.3rem, 1.1rem + 0.9vw, 1.75rem);
	font-weight: 750;
	line-height: 1.12;
	overflow-wrap: break-word;
	transition: transform 0.5s var(--ease);
}

.ref__place {
	grid-column: 1;
	color: var(--steel);
	font-weight: 600;
	transition: color 0.3s, transform 0.5s var(--ease);
}

.ref__go {
	grid-column: 2;
	grid-row: 1 / span 2;
	align-self: center;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 0.92rem;
	font-weight: 700;
}

.ref__go > span:first-child {
	display: none;
}

@media (min-width: 900px) {
	.refs__list {
		columns: 2;
		column-gap: clamp(40px, 6vw, 96px);
	}
}

@media (hover: hover) {
	.ref__go > span:first-child {
		display: inline;
	}

	.ref__go {
		opacity: 0.35;
		transition: opacity 0.3s;
	}

	.ref__go > span:first-child {
		opacity: 0;
		transition: opacity 0.3s;
	}

	a.ref__row:hover,
	a.ref__row:focus-visible {
		color: var(--white);
	}

	a.ref__row:hover::before,
	a.ref__row:focus-visible::before {
		transform: scaleX(1);
	}

	a.ref__row:hover::after,
	a.ref__row:focus-visible::after {
		transform: translateX(10px);
	}

	a.ref__row:hover .ref__name,
	a.ref__row:hover .ref__place,
	a.ref__row:focus-visible .ref__name,
	a.ref__row:focus-visible .ref__place {
		transform: translateX(12px);
	}

	a.ref__row:hover .ref__place,
	a.ref__row:focus-visible .ref__place {
		color: var(--on-dark);
	}

	a.ref__row:hover .ref__go,
	a.ref__row:hover .ref__go > span:first-child,
	a.ref__row:focus-visible .ref__go,
	a.ref__row:focus-visible .ref__go > span:first-child {
		opacity: 1;
	}
}

/* Zeilen blenden beim Scrollen nacheinander ein. Ohne Skript sind sie sofort sichtbar. */
@media (prefers-reduced-motion: no-preference) {
	.js [data-reveal] > * {
		opacity: 0;
		transform: translateY(18px);
		transition: opacity 0.6s, transform 0.7s var(--ease);
		transition-delay: var(--rd, 0s);
	}

	.js [data-reveal] > .ref::after {
		transform: scaleX(0);
		transition: transform 0.9s var(--ease);
		transition-delay: var(--rd, 0s);
	}

	.js [data-reveal] > .is-in {
		opacity: 1;
		transform: none;
	}

	.js [data-reveal] > .ref.is-in::after {
		transform: scaleX(1);
	}
}

/* 6h Seite „Karriere“
   ========================================================================== */

.khero__side {
	display: grid;
	gap: 24px;
	justify-items: start;
}

.kintro {
	padding-block: var(--section) clamp(56px, 7vw, 112px);
	background: var(--white);
}

.kintro__grid {
	display: grid;
	gap: clamp(32px, 6vw, 96px);
	align-items: center;
}

.kintro__figure {
	overflow: hidden;
	border-radius: var(--radius);
	aspect-ratio: 3 / 2;
	background: var(--mist);
}

.kintro__figure img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 60%;
}

.kintro__text > * + * {
	margin-top: 1.25rem;
}

.kintro__text > .display {
	margin-bottom: clamp(20px, 2.6vw, 36px);
}

.kintro__text p {
	max-width: 60ch;
}

@media (min-width: 900px) {
	.kintro__grid {
		grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
	}
}

.kjobs {
	padding-block: clamp(56px, 7vw, 112px);
	background: var(--mist);
}

.kjobs__title {
	max-width: 18ch;
	margin-bottom: clamp(28px, 4vw, 56px);
}

.kjobs .kjobs__list {
	columns: auto;
}

.kjobs .ref:first-child {
	border-top: 2px solid var(--black);
}

.kjobs .ref__row {
	padding-block: clamp(20px, 2.6vw, 34px);
}

.kjobs .ref__row::after {
	top: calc(clamp(20px, 2.6vw, 34px) + 0.75em);
}

.kjobs .ref__name {
	font-size: clamp(1.5rem, 1.1rem + 1.9vw, 2.75rem);
	line-height: 1.05;
}

.kjobs .ref__place {
	font-size: 1.0625rem;
}

/* Ausbildung und Studium: Flyer als leicht gedrehtes Plakat neben dem Text. */
.kprog {
	padding-block: var(--section);
	background: var(--white);
	overflow: hidden;
}

.kprog--alt {
	background: var(--mist);
}

.kprog__grid {
	display: grid;
	gap: clamp(40px, 6vw, 96px);
	align-items: start;
}

.kposter {
	position: relative;
	display: block;
	justify-self: center;
	width: min(100%, 520px);
	background: var(--white);
	box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06), 0 34px 44px -28px rgba(0, 0, 0, 0.55);
	transform: rotate(-1.8deg);
	transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease);
}

.kprog--alt .kposter {
	transform: rotate(1.6deg);
}

.kposter img {
	width: 100%;
	height: auto;
}

.kprog__kicker {
	margin-bottom: 14px;
	color: var(--steel);
	font-family: var(--font-cond);
	font-size: clamp(1.2rem, 1.05rem + 0.6vw, 1.5rem);
	font-weight: 700;
}

.kprog__text > * + * {
	margin-top: 1.1rem;
}

.kprog__text > .display {
	margin-top: 0;
	margin-bottom: clamp(20px, 2.6vw, 32px);
}

.kprog__text p {
	max-width: 60ch;
}

.kprog__text p:not(.lead):not(.kprog__kicker):not(.kprog__action) {
	color: #2c2e30;
}

.kprog__text .kprog__sub {
	margin-top: clamp(28px, 3vw, 40px);
	font-family: var(--font-cond);
	font-size: clamp(1.3rem, 1.15rem + 0.7vw, 1.65rem);
	font-weight: 800;
	line-height: 1.1;
}

.kprog__list {
	display: grid;
	margin-top: 14px;
	padding: 0;
	list-style: none;
}

.kprog__list li {
	position: relative;
	padding: 13px 0 13px 1.8rem;
	border-top: 2px solid var(--black);
	font-family: var(--font-cond);
	font-size: clamp(1.15rem, 1.05rem + 0.5vw, 1.4rem);
	font-weight: 700;
	line-height: 1.2;
}

.kprog__list li:last-child {
	border-bottom: 2px solid var(--black);
}

.kprog__list li::before {
	content: "";
	position: absolute;
	top: calc(13px + 0.42em);
	left: 0;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--red);
}

.kprog__facts {
	display: flex;
	flex-wrap: wrap;
	gap: 16px clamp(24px, 4vw, 56px);
	margin: clamp(24px, 3vw, 36px) 0 0;
}

.kprog__facts dt {
	color: var(--steel);
	font-size: 0.95rem;
	font-weight: 600;
}

.kprog__facts dd {
	margin: 2px 0 0;
	font-family: var(--font-cond);
	font-size: clamp(1.3rem, 1.15rem + 0.7vw, 1.65rem);
	font-weight: 800;
	line-height: 1.1;
}

.kprog__text .kprog__action {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px 28px;
	margin-top: clamp(28px, 3vw, 40px);
}

@media (min-width: 900px) {
	.kprog__grid {
		grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
	}

	.kprog--alt .kposter {
		order: 2;
	}

	.kprog--alt .kprog__grid {
		grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
	}

	.kposter {
		position: sticky;
		top: calc(var(--sticky-h) + 40px);
	}
}

@media (hover: hover) {
	.kposter:hover,
	.kposter:focus-visible,
	.kprog--alt .kposter:hover,
	.kprog--alt .kposter:focus-visible {
		transform: rotate(0deg) translateY(-10px) scale(1.02);
		box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06), 0 50px 50px -30px rgba(0, 0, 0, 0.6);
	}

	.kposter:hover .qcert__open,
	.kposter:focus-visible .qcert__open {
		opacity: 1;
		transform: none;
	}
}

/* 6i Seite „Kontakt“
   ========================================================================== */

/* Drei Wege zum Kontakt: große Zeilen an einer Schiene, die sich beim Darüberfahren weiß füllen. */
.cways {
	display: grid;
	gap: 0 clamp(16px, 2vw, 28px);
	padding: 0;
	list-style: none;
}

.cway {
	position: relative;
	z-index: 0;
	display: grid;
	gap: 6px;
	align-content: start;
	height: 100%;
	padding: 22px 16px 24px 30px;
	border-top: 2px solid #55585a;
	color: var(--white);
	text-decoration: none;
	transition: color 0.35s, border-color 0.35s;
}

.cway::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: var(--white);
	transform: scaleY(0);
	transform-origin: top;
	transition: transform 0.5s var(--ease);
}

.cway::after {
	content: "";
	position: absolute;
	top: -7px;
	left: 0;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: var(--red);
	box-shadow: 0 0 0 4px var(--black);
}

.cway__key {
	color: var(--on-dark);
	font-weight: 600;
	transition: color 0.35s;
}

.cway__value {
	font-family: var(--font-display);
	font-size: clamp(2rem, 1.3rem + 2.6vw, 3.4rem);
	font-weight: 800;
	line-height: 0.98;
	overflow-wrap: anywhere;
}

.cway__do {
	margin-top: 8px;
	justify-self: start;
	padding-bottom: 2px;
	font-weight: 700;
	background: linear-gradient(var(--red), var(--red)) left bottom / 100% 2px no-repeat;
}

@media (min-width: 900px) {
	.cways {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (hover: hover) {
	.cway:hover,
	.cway:focus-visible {
		border-top-color: var(--white);
		color: var(--black);
	}

	.cway:hover::before,
	.cway:focus-visible::before {
		transform: scaleY(1);
	}

	.cway:hover .cway__key,
	.cway:focus-visible .cway__key {
		color: var(--steel);
	}
}

/* Bürozeiten: Jeder Tag hat eine Schiene von 7 bis 17 Uhr, die geöffneten Zeiten sind schwarz.
   Am heutigen Tag zeigt der rote Punkt die aktuelle Uhrzeit. */
.hours {
	padding-block: var(--section);
	background: var(--white);
}

.hours__grid {
	display: grid;
	gap: clamp(36px, 6vw, 96px);
	align-items: center;
}

.hours__head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px 28px;
	margin-bottom: clamp(20px, 2.6vw, 36px);
}

.hours__status {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-weight: 700;
}

.hours__led {
	width: 11px;
	height: 11px;
	border-radius: 50%;
	background: var(--line);
}

.hours__status.is-open .hours__led {
	background: #2f9e4c;
	box-shadow: 0 0 0 0 rgba(47, 158, 76, 0.6);
	animation: led-open 2.2s ease-out infinite;
}

@keyframes led-open {
	70%,
	100% {
		box-shadow: 0 0 0 10px rgba(47, 158, 76, 0);
	}
}

.hours__list {
	display: grid;
	padding: 0;
	list-style: none;
}

.hday {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 6px 20px;
	align-items: baseline;
	padding: 18px 0 20px;
	border-top: 2px solid var(--black);
	color: var(--steel);
	transition: color 0.3s;
}

.hday:last-child {
	border-bottom: 2px solid var(--black);
}

.hday.is-today {
	color: var(--black);
}

.hday__name {
	color: var(--black);
	font-family: var(--font-cond);
	font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem);
	font-weight: 750;
	line-height: 1.1;
}

.hday__time {
	font-weight: 650;
	font-variant-numeric: tabular-nums;
	text-align: right;
}

.hday__rail {
	position: relative;
	grid-column: 1 / -1;
	height: 4px;
	margin-top: 6px;
	background: var(--mist);
}

.hday__rail i {
	position: absolute;
	top: 0;
	bottom: 0;
	background: #b4b9bc;
	transition: background-color 0.3s;
}

.hday.is-today .hday__rail i {
	background: var(--black);
}

.hday__now {
	position: absolute;
	top: 50%;
	width: 14px;
	height: 14px;
	margin: -7px 0 0 -7px;
	border-radius: 50%;
	background: var(--red);
	box-shadow: 0 0 0 4px var(--white);
}

.hours__figure {
	overflow: hidden;
	border-radius: var(--radius);
	aspect-ratio: 4 / 3;
	background: var(--mist);
}

.hours__figure img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 60%;
}

@media (max-width: 519px) {
	.hday {
		grid-template-columns: minmax(0, 1fr);
	}

	.hday__time {
		text-align: left;
	}
}

@media (min-width: 900px) {
	.hours__grid {
		grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
	}
}

/* Karte: lädt erst nach einem Klick. */
.cmap {
	padding-bottom: var(--section);
	background: var(--white);
}

.cmap__box {
	position: relative;
	display: grid;
	align-items: end;
	overflow: hidden;
	min-height: clamp(380px, 46vw, 560px);
	border-radius: 6px;
	background: var(--black);
	color: var(--white);
}

.cmap__grid {
	position: absolute;
	inset: 0;
	background: radial-gradient(rgba(255, 255, 255, 0.28) 1px, transparent 1.6px) 0 0 / 22px 22px;
	-webkit-mask-image: radial-gradient(circle at 72% 42%, #000, transparent 62%);
	mask-image: radial-gradient(circle at 72% 42%, #000, transparent 62%);
}

.cmap__pin {
	position: absolute;
	top: 42%;
	left: 72%;
	width: 14px;
	height: 14px;
	margin: -7px 0 0 -7px;
	border-radius: 50%;
	background: var(--red);
	box-shadow: 0 0 18px 4px rgba(230, 51, 35, 0.8);
}

.cmap__pin i {
	position: absolute;
	top: -63px;
	left: -63px;
	width: 140px;
	height: 140px;
	border: 1.5px solid var(--red);
	border-radius: 50%;
	opacity: 0;
	animation: ajax-ring 3.6s linear infinite;
}

.cmap__pin i:nth-child(2) {
	animation-delay: 1.8s;
}

.cmap__text {
	position: relative;
	display: grid;
	gap: 18px;
	justify-items: start;
	padding: clamp(24px, 4vw, 56px);
}

.cmap__text address {
	color: var(--on-dark);
	font-size: 1.125rem;
}

.cmap__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.cmap__note {
	max-width: 46ch;
	color: #9a9da0;
	font-size: 0.92rem;
}

.cmap__box iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.cmap__box.is-loaded > :not(iframe) {
	display: none;
}

.no-js [data-map-load] {
	display: none;
}

/* 6j Wabenraster für Leistungen · Netzmuster auf dunklen Flächen
   ========================================================================== */

/* Netzmuster: rote Knoten und Linien, nach außen ausgeblendet.
   Variante a sitzt oben rechts, Variante b oben links – so wechseln sich aufeinanderfolgende
   dunkle Bereiche ab. */
.services,
.badges,
.uhero,
.closing,
.phero,
.spot,
.lhero,
.ajax__card,
.cmap__box {
	background-image: url("../img/plexus-a.svg?v=2.1.4");
	background-repeat: no-repeat;
	background-position: right top;
	background-size: max(100%, 1100px) auto;
}

.tile {
	background-image: url("../img/plexus-a.svg?v=2.1.4");
	background-repeat: no-repeat;
	background-position: right top;
	background-size: 900px auto;
}

.stats,
.contact,
.roster,
.pajax,
.shero {
	background-image: url("../img/plexus-b.svg?v=2.1.4");
	background-repeat: no-repeat;
	background-position: left top;
	background-size: max(100%, 1100px) auto;
}

/* Kopf mit Teamfoto: Muster nur im schwarzen Teil. */
.uhero.has-photo {
	background:
		url("../img/plexus-a.svg?v=2.1.4") right top / auto calc(100% - var(--overlap)) no-repeat,
		linear-gradient(to bottom, var(--black) calc(100% - var(--overlap)), var(--white) 0);
}

/* Hohe Wabenbereiche: oben rechts und unten links je ein Netz. */
.services--honey {
	overflow: hidden;
	background-image: url("../img/plexus-a.svg?v=2.1.4"), url("../img/plexus-b.svg?v=2.1.4");
	background-position: right top, left bottom;
	background-size: min(1700px, max(100%, 1100px)) auto, min(1500px, max(90%, 1000px)) auto;
}

/* Am Handy das Netz größer ziehen, damit die feinen Linien sichtbar bleiben. */
@media (max-width: 699px) {
	.services,
	.badges,
	.uhero,
	.closing,
	.phero,
	.spot,
	.lhero,
	.stats,
	.contact,
	.roster,
	.pajax,
	.shero {
		background-size: 1300px auto;
	}

	.services--honey {
		background-size: 1300px auto, 1200px auto;
	}
}

/* Wabenraster ----------------------------------------------------------------
   Bis 1179 px Waben im Wechsel 2/1 (am Handy klein, nur Zeichnung und Titel), ab 1180 px im Wechsel 3/2.
   Die Grundregeln direkt darunter (Liste) greifen nur, falls das Raster nicht dargestellt werden kann.
   Jede Wabe überspannt zwei Rasterspalten; die versetzte Reihe beginnt eine Spalte weiter.
   Der negative Abstand nach oben (in % der Wabenbreite) schiebt die Reihen ineinander. */
.honey {
	--g: 12px;
	display: grid;
	gap: var(--g);
	margin: 0;
	padding: 0;
	list-style: none;
}

.honey__cell {
	display: flex;
	min-width: 0;
}

.hex {
	position: relative;
	display: flex;
	flex: 1;
	min-width: 0;
	align-items: center;
	padding: 20px 20px 22px;
	border: 1px solid var(--coal-line);
	border-radius: var(--radius);
	background: rgba(17, 18, 18, 0.86);
	color: var(--white);
	text-decoration: none;
	transition: border-color 0.35s, background-color 0.35s;
}

.honey__defs {
	position: absolute;
	width: 0;
	height: 0;
	overflow: hidden;
}

.hex__shape,
.hex__spot {
	display: none;
}

.hex__body {
	position: relative;
	display: grid;
	flex: 1;
	min-width: 0;
	grid-template-columns: 74px minmax(0, 1fr);
	align-items: center;
	gap: 0 18px;
}

.hex__num {
	position: absolute;
	top: -8px;
	right: 0;
	color: var(--red);
	font-family: var(--font-cond);
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.14em;
}

.hex__fold {
	display: grid;
	grid-template-rows: 1fr;
	min-width: 0;
}

.hex__fold-in {
	min-height: 0;
	overflow: hidden;
}

.hex__fold--art {
	grid-row: 1 / span 2;
	align-self: start;
}

/* Zeichnung in einer kleinen Wabe (Listenansicht). */
.hex__art {
	display: grid;
	place-items: center;
	width: 74px;
	aspect-ratio: 866 / 1000;
	padding: 9px;
	clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
	background: #1d1e1f;
}

.hex__title {
	padding-right: 28px;
	font-family: var(--font-cond);
	font-size: clamp(1.3rem, 1.1rem + 1vw, 1.6rem);
	font-weight: 750;
	line-height: 1.06;
	letter-spacing: 0.005em;
	overflow-wrap: break-word;
	hyphens: manual;
}

.hex__fold--text {
	grid-column: 2;
}

.hex__text {
	margin: 0;
	padding-top: 0.55rem;
	color: var(--on-dark);
	font-size: 0.95rem;
	line-height: 1.5;
}

.hex__more {
	position: relative;
	display: inline-block;
	margin-top: 0.8rem;
	padding: 0 0 3px 1.2rem;
	font-size: 0.95rem;
	font-weight: 700;
	background: linear-gradient(var(--white), var(--white)) 1.2rem 100% / calc(100% - 1.2rem) 2px no-repeat;
}

.hex__more::before {
	content: "";
	position: absolute;
	top: 0.48em;
	left: 0;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--red);
}

/* Rote Wabe: Übersicht oder Anfrage. */
.hex--cta {
	border-color: var(--red);
	background: var(--red);
}

.hex--cta .hex__body {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 18px;
}

.hex__kicker {
	flex-basis: 100%;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	opacity: 0.88;
}

.hex--cta .hex__title {
	padding-right: 0;
}

.hex__arrow {
	display: block;
	width: 40px;
	transition: transform 0.5s var(--ease);
}

.hex__arrow svg {
	display: block;
	width: 100%;
	height: auto;
}

/* Wabenraster (alle Breiten) ------------------------------------------------- */
@media all {
	.honey {
		--g: 14px;
		grid-template-columns: repeat(4, minmax(0, 1fr));
		column-gap: var(--g);
		row-gap: 0;
		max-width: 840px;
		margin-inline: auto;
	}

	.honey__cell {
		display: block;
		grid-column: span 2;
		align-self: start;
		/* Reihen verschränken: ein Viertel der Wabenhöhe, abzüglich Fugenausgleich. */
		margin-top: calc(-28.8675% + var(--g) * 0.866);
	}

	.honey__cell:nth-child(-n + 2) {
		margin-top: 0;
	}

	.honey__cell:nth-child(3n) {
		grid-column: 2 / span 2;
	}

	.hex {
		display: grid;
		place-items: center;
		width: 100%;
		aspect-ratio: 866 / 1000;
		padding: 0;
		border: 0;
		border-radius: 0;
		background: none;
		container-type: inline-size;
		clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
		-webkit-backdrop-filter: blur(3px);
		backdrop-filter: blur(3px);
	}

	.hex__shape {
		position: absolute;
		inset: 0;
		display: block;
		width: 100%;
		height: 100%;
	}

	.hex__fill {
		fill: url("#esue-hex-fill");
	}

	.hex__glow {
		fill: url("#esue-hex-glow");
		opacity: 0;
		transition: opacity 0.6s;
	}

	/* Innere, gestrichelte Kontur mit sechs Knoten – greift das Netzmuster auf. */
	.hex__inner {
		fill: none;
		stroke: rgba(255, 255, 255, 0.08);
		stroke-width: 1px;
		stroke-dasharray: 2 7;
		vector-effect: non-scaling-stroke;
		transition: stroke 0.5s;
	}

	.hex__node {
		fill: #3a3c3e;
		transition: fill 0.3s;
	}

	.hex__node--1 {
		fill: var(--red);
		animation: hex-beat 2.8s ease-in-out infinite;
	}

	.hex__node--2 {
		transition-delay: 0.15s;
	}

	.hex__node--3 {
		transition-delay: 0.3s;
	}

	.hex__node--4 {
		transition-delay: 0.45s;
	}

	.hex__node--5 {
		transition-delay: 0.6s;
	}

	.hex__node--6 {
		transition-delay: 0.75s;
	}

	/* Lichtkegel, der dem Mauszeiger folgt (Position setzt main.js). */
	.hex__spot {
		position: absolute;
		inset: 0;
		display: block;
		background: radial-gradient(circle at var(--mx, 50%) var(--my, 30%), rgba(230, 51, 35, 0.2), rgba(230, 51, 35, 0) 46%);
		opacity: 0;
		transition: opacity 0.5s;
		pointer-events: none;
	}

	.hex__edge {
		fill: none;
		stroke: rgba(255, 255, 255, 0.17);
		stroke-width: 1.5px;
		vector-effect: non-scaling-stroke;
	}

	.hex__trace {
		fill: none;
		stroke: var(--red);
		stroke-width: 2.5px;
		stroke-dasharray: 100 100;
		stroke-dashoffset: 100;
		stroke-linejoin: round;
		transition: stroke-dashoffset 1.1s var(--ease);
	}

	.hex__body {
		display: flex;
		width: 72%;
		flex-direction: column;
		align-items: center;
		text-align: center;
	}

	.hex__num {
		position: static;
		margin-bottom: 3cqi;
		font-size: clamp(0.72rem, 3.2cqi, 0.95rem);
	}

	.hex__fold {
		width: 100%;
	}

	.hex__art {
		width: clamp(56px, 17cqi, 84px);
		margin: 0 auto 3cqi;
		padding: 0;
		clip-path: none;
		background: none;
		aspect-ratio: auto;
		transition: width 0.6s var(--ease), margin 0.6s var(--ease);
	}

	.hex__title {
		padding-right: 0;
		font-size: clamp(1.1rem, 7.2cqi, 2.1rem);
	}

	.hex__text {
		padding-top: 3cqi;
		font-size: clamp(0.78rem, 3.65cqi, 0.97rem);
		line-height: 1.45;
	}

	.hex__more {
		margin-top: 3cqi;
		font-size: clamp(0.78rem, 3.5cqi, 0.95rem);
	}

	.hex--cta .hex__fill {
		fill: url("#esue-hex-cta");
	}

	.hex--cta .hex__glow {
		display: none;
	}

	.hex--cta .hex__inner {
		stroke: rgba(255, 255, 255, 0.35);
	}

	.hex--cta .hex__node,
	.hex--cta .hex__node--1 {
		fill: rgba(255, 255, 255, 0.75);
		animation: none;
	}

	.hex--cta .hex__edge {
		stroke: none;
	}

	.hex--cta .hex__trace {
		stroke: var(--white);
	}

	.hex--cta .hex__body {
		flex-direction: column;
		flex-wrap: nowrap;
		gap: 0;
	}

	.hex__kicker {
		flex-basis: auto;
		margin-bottom: 3cqi;
		font-size: clamp(0.7rem, 3.2cqi, 0.9rem);
	}

	.hex--cta .hex__title {
		font-family: var(--font-display);
		font-size: clamp(1.8rem, 13cqi, 3.6rem);
		line-height: 0.95;
		text-transform: uppercase;
	}

	.hex__arrow {
		width: clamp(36px, 13cqi, 60px);
		margin-top: 5cqi;
	}

	.hex:focus-visible {
		outline: none;
	}

	.hex:hover .hex__trace,
	.hex:focus-visible .hex__trace {
		stroke-dashoffset: 0;
	}

	.hex {
		transition: transform 0.6s var(--ease);
	}

	.hex:hover,
	.hex:focus-visible {
		transform: translateY(-6px);
	}

	.hex:hover .hex__glow,
	.hex:focus-visible .hex__glow,
	.hex:hover .hex__spot,
	.hex:focus-visible .hex__spot {
		opacity: 1;
	}

	.hex:hover .hex__inner,
	.hex:focus-visible .hex__inner {
		stroke: rgba(230, 51, 35, 0.5);
		animation: hex-march 6s linear infinite;
	}

	.hex:hover .hex__node,
	.hex:focus-visible .hex__node {
		fill: var(--red);
		filter: url("#esue-hex-shine");
	}

	.hex--cta:hover .hex__inner,
	.hex--cta:focus-visible .hex__inner {
		stroke: rgba(255, 255, 255, 0.7);
	}

	.hex--cta:hover .hex__node,
	.hex--cta:focus-visible .hex__node {
		fill: var(--white);
	}

	.honey__cell {
		transition: filter 0.5s;
	}

	.honey__cell:hover,
	.honey__cell:focus-within {
		filter: drop-shadow(0 0 22px rgba(230, 51, 35, 0.35));
	}
}

/* Ab 1180 px: Wechsel 3/2. */
@media (min-width: 1180px) {
	.honey {
		--g: 16px;
		grid-template-columns: repeat(6, minmax(0, 1fr));
		max-width: none;
	}

	.honey__cell,
	.honey__cell:nth-child(-n + 2),
	.honey__cell:nth-child(3n) {
		grid-column: auto / span 2;
		margin-top: calc(-28.8675% + var(--g) * 0.866);
	}

	.honey__cell:nth-child(-n + 3) {
		margin-top: 0;
	}

	.honey__cell:nth-child(5n + 4) {
		grid-column: 2 / span 2;
	}

	.honey__cell:nth-child(5n + 5) {
		grid-column: 4 / span 2;
	}
}

/* Mit Maus: Text erscheint beim Darüberfahren, die Zeichnung wird kleiner und bewegt sich.
   Auf Touch-Geräten bleibt der Text sichtbar. */
@media (min-width: 700px) and (hover: hover) {
	.hex__art {
		width: clamp(96px, 36cqi, 180px);
		margin-bottom: 5cqi;
	}

	.hex__fold--text {
		grid-template-rows: 0fr;
		opacity: 0;
		transition: grid-template-rows 0.6s var(--ease), opacity 0.3s;
	}

	.hex:hover .hex__fold--text,
	.hex:focus-visible .hex__fold--text {
		grid-template-rows: 1fr;
		opacity: 1;
		transition: grid-template-rows 0.6s var(--ease), opacity 0.45s 0.15s;
	}

	.hex:hover .hex__art,
	.hex:focus-visible .hex__art {
		width: clamp(56px, 17cqi, 84px);
		margin-bottom: 3cqi;
	}
}

/* Handy: kleine Waben im Wechsel 2/1 mit Zeichnung und Titel; der Kurztext steht auf der Unterseite. */
@media (max-width: 699px) {
	.honey {
		--g: 8px;
	}

	.hex__body {
		width: 78%;
	}

	.hex__fold--text {
		display: none;
	}

	.hex__num {
		margin-bottom: 2cqi;
		font-size: 0.62rem;
	}

	.hex__art {
		width: 30cqi;
		margin-bottom: 4cqi;
	}

	.hex__title {
		font-size: clamp(0.9rem, 9cqi, 1.3rem);
	}

	.hex__kicker {
		font-size: 0.6rem;
	}

	.hex--cta .hex__title {
		font-size: clamp(1.2rem, 12.5cqi, 1.9rem);
	}

	.hex__arrow {
		width: 34px;
		margin-top: 4cqi;
	}
}

@media (hover: hover) {
	.hex:hover .hex__arrow,
	.hex:focus-visible .hex__arrow {
		transform: translateX(8px);
	}

	.hex:hover .ill__led,
	.hex:focus-visible .ill__led {
		fill: var(--red);
		filter: drop-shadow(0 0 6px var(--red));
	}

	.hex:hover .ill__wave,
	.hex:focus-visible .ill__wave {
		animation: ill-wave 1.8s ease-in-out infinite;
	}

	.hex:hover .ill__wave--2,
	.hex:focus-visible .ill__wave--2 {
		animation-delay: 0.22s;
	}

	.hex:hover .ill__wave--3,
	.hex:focus-visible .ill__wave--3 {
		animation-delay: 0.44s;
	}

	.hex:hover .ill__cone,
	.hex:focus-visible .ill__cone {
		animation: ill-sweep 3.4s ease-in-out infinite alternate;
	}

	.hex:hover .ill__card,
	.hex:focus-visible .ill__card {
		transform: translateX(12px);
	}

	.hex:hover .ill__nudge,
	.hex:focus-visible .ill__nudge {
		animation: ill-nudge 1.2s var(--ease) infinite;
	}
}

.honey__cell[id] {
	scroll-margin-top: 24px;
}

@keyframes hex-march {
	to {
		stroke-dashoffset: -90;
	}
}

@keyframes hex-beat {
	0%,
	100% {
		opacity: 1;
	}

	50% {
		opacity: 0.35;
	}
}

@media (prefers-reduced-motion: no-preference) {
	.js .honey[data-reveal] > .honey__cell {
		transform: translateY(26px) scale(0.96);
		transition: opacity 0.7s, transform 0.9s var(--ease), filter 0.5s;
		transition-delay: var(--rd, 0s), var(--rd, 0s), 0s;
	}

	.js .honey[data-reveal] > .honey__cell.is-in {
		transform: none;
	}
}

/* 6k Info-Banner · Siegelleiste · Startseiten-Waben · Feinschliff
   ========================================================================== */

/* Überschriften ohne Silbentrennung: Mit Skript werden zu lange Wörter durch Verkleinern eingepasst
   (main.js, initFit), ohne Skript bricht ein überlanges Wort notfalls um. */
.js :is(h1, h2, h3, .display, .hero__title span, .hex__title, .brand__wordmark, .person__name) {
	overflow-wrap: normal;
}

.nobr {
	white-space: nowrap;
}

/* Rasterzellen dürfen schmaler werden als ihr längstes Wort – sonst schöbe ein langes Wort die Spalte
   über den Rand, statt dass die Überschrift eingepasst wird. */
.qnote__grid > *,
.section-head--split > *,
.about__grid > *,
.contact__grid > * {
	min-width: 0;
}

/* Sprungliste im Leistungskopf: auf sehr schmalen Handys einspaltig, damit lange Namen nicht überstehen. */
@media (max-width: 379px) {
	.lhero__index {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* Info-Banner über dem Seitenkopf -------------------------------------------- */
.infobar {
	position: relative;
	z-index: 101;
	overflow: hidden;
	background: var(--red);
	color: var(--white);
	font-size: 0.95rem;
	line-height: 1.35;
	transition: height 0.32s var(--ease), opacity 0.25s;
}

.infobar.is-closing {
	height: 0 !important;
	opacity: 0;
}

.infobar__inner {
	display: flex;
	align-items: center;
	gap: 8px;
	min-height: 46px;
	padding-block: 8px;
}

.infobar__body {
	display: flex;
	flex: 1;
	align-items: center;
	justify-content: center;
	gap: 12px;
	min-width: 0;
	margin: 0;
	color: inherit;
	text-align: center;
	text-decoration: none;
}

.infobar__text {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 2px 14px;
}

.infobar__part strong {
	font-family: var(--font-cond);
	font-size: 1.06em;
	font-weight: 800;
	letter-spacing: 0.02em;
}

.infobar__sep {
	flex: none;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.75);
}

.infobar__pulse {
	flex: none;
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: var(--white);
	animation: infobar-pulse 2.2s ease-out infinite;
}

.infobar__arrow {
	flex: none;
	transition: transform 0.35s var(--ease);
}

.infobar__body--link:hover .infobar__arrow,
.infobar__body--link:focus-visible .infobar__arrow {
	transform: translateX(4px);
}

.infobar__body--link:focus-visible,
.infobar__close:focus-visible {
	outline: 2px solid var(--white);
	outline-offset: 2px;
}

.infobar__close {
	flex: none;
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	margin-right: -8px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: inherit;
	cursor: pointer;
	transition: background-color 0.25s;
}

.infobar__close:hover {
	background: rgba(0, 0, 0, 0.16);
}

@keyframes infobar-pulse {
	0% {
		box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
	}

	70%,
	100% {
		box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
	}
}

@media (max-width: 559px) {
	.infobar {
		font-size: 0.8rem;
		line-height: 1.3;
	}

	.infobar__inner {
		gap: 4px;
		min-height: 40px;
		padding-block: 6px;
	}

	.infobar__pulse {
		display: none;
	}

	.infobar__text {
		gap: 0 9px;
	}

	.infobar__close {
		width: 30px;
		height: 30px;
		margin-right: -6px;
	}
}

@media (min-width: 700px) {
	/* Gleicht den Schließen-Knopf aus, damit der Text optisch mittig steht. */
	.infobar__body {
		padding-left: 36px;
	}
}

/* Siegelleiste: BHE · VdS · K-EINBRUCH · ISO 9001 · BHE -------------------------
   Bis 1359 px drei Reihen (2 / K-EINBRUCH / 2), darüber eine Reihe. Die Siegel werden nur
   proportional skaliert – nie beschnitten, umgefärbt oder verzerrt. */
.seals {
	--seal-h: clamp(84px, 10vw, 104px);
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(22px, 4vw, 40px) clamp(14px, 4vw, 48px);
	align-items: center;
	justify-items: center;
	margin: 0;
	padding: 0;
	list-style: none;
}

.seals.qhero__seals {
	padding-top: clamp(28px, 4vw, 48px);
}

.seal {
	display: flex;
	justify-content: center;
	min-width: 0;
	max-width: 100%;
}

.seal--wide {
	grid-column: 1 / -1;
	width: 100%;
}

.seal__img {
	display: block;
	width: auto;
	max-width: 100%;
	height: var(--seal-h);
	object-fit: contain;
}

/* Siegel mit eigenem weißem Grund stehen auf einer weißen Karte – wie die BHE-Kacheln. */
.seal__card {
	display: block;
	max-width: 100%;
	padding: clamp(6px, 0.9vw, 10px);
	border-radius: 10px;
	background: var(--white);
}

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

.seal--iso .seal__card img {
	max-height: calc(var(--seal-h) * 0.62);
}

.seal--wide .seal__card {
	width: min(100%, 560px);
}

.seal--wide .seal__card img {
	width: 100%;
}

.seal__link {
	display: block;
	max-width: 100%;
	border-radius: 10px;
	color: inherit;
	transition: transform 0.35s var(--ease), box-shadow 0.35s;
}

.seal--wide .seal__link {
	display: flex;
	justify-content: center;
	width: 100%;
}

.seal__link:focus-visible {
	outline: 3px solid var(--red);
	outline-offset: 4px;
}

@media (hover: hover) {
	.seal__link:hover {
		transform: translateY(-4px);
	}

	.seal__link:hover .seal__card {
		box-shadow: 0 0 0 3px rgba(230, 51, 35, 0.55), 0 18px 30px -18px rgba(230, 51, 35, 0.8);
	}
}

@media (min-width: 1360px) {
	.seals {
		--seal-h: 100px;
		grid-template-columns: repeat(5, auto);
		justify-content: space-between;
		gap: 24px;
	}

	.seal--wide {
		grid-column: auto;
		width: auto;
	}

	/* Mindesthöhe laut Anwendungs-Manual: rund 3 cm = 114 px. */
	.seal--wide .seal__card {
		width: auto;
	}

	.seal--wide .seal__card img {
		width: auto;
		height: 114px;
	}
}

/* Startseite: fünf Leistungen plus rote Wabe. Ab 1320 px zwei versetzte Dreierreihen,
   darunter der Wechsel 2/1 (so bleibt jede Wabe groß genug für ihren Text). */
@media (min-width: 1180px) and (max-width: 1319px) {
	.honey--offset {
		--g: 14px;
		grid-template-columns: repeat(4, minmax(0, 1fr));
		max-width: 840px;
	}

	.honey--offset .honey__cell:nth-child(n) {
		grid-column: auto / span 2;
		margin-top: calc(-28.8675% + var(--g) * 0.866);
	}

	.honey--offset .honey__cell:nth-child(-n + 2) {
		margin-top: 0;
	}

	.honey--offset .honey__cell:nth-child(3n) {
		grid-column: 2 / span 2;
	}
}

@media (min-width: 1320px) {
	.honey--offset {
		--g: 16px;
		grid-template-columns: repeat(7, minmax(0, 1fr));
	}

	.honey--offset .honey__cell:nth-child(n) {
		grid-column: auto / span 2;
		margin-top: calc(-28.8675% + var(--g) * 0.866);
	}

	.honey--offset .honey__cell:nth-child(-n + 3) {
		margin-top: 0;
	}

	.honey--offset .honey__cell:nth-child(1) {
		grid-column: 1 / span 2;
	}

	.honey--offset .honey__cell:nth-child(2) {
		grid-column: 3 / span 2;
	}

	.honey--offset .honey__cell:nth-child(3) {
		grid-column: 5 / span 2;
	}

	.honey--offset .honey__cell:nth-child(4) {
		grid-column: 2 / span 2;
	}

	.honey--offset .honey__cell:nth-child(5) {
		grid-column: 4 / span 2;
	}

	.honey--offset .honey__cell:nth-child(6) {
		grid-column: 6 / span 2;
	}
}

/* Partner -------------------------------------------------------------------- */
.brand__wordmark {
	color: #2b2d2f;
	letter-spacing: 0.01em;
}

.brand__link--static {
	cursor: default;
}

@media (hover: hover) {
	.brand__link--static:hover {
		transform: none;
		box-shadow: none;
	}

	.brand__link--static:hover::before {
		transform: scaleX(0);
	}
}

/* Nur ein Kooperationspartner: Kachel über die volle Breite, ab 900 px Überschrift links, Kachel rechts. */
.brands--single .brands__grid {
	grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 900px) {
	.brands--single .wrap {
		display: grid;
		grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
		gap: clamp(32px, 5vw, 80px);
		align-items: center;
	}

	.brands--single .section-head {
		grid-template-columns: minmax(0, 1fr);
		margin-bottom: 0;
	}

	.brands--single .brands__grid {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* 7 Unterseiten
   ========================================================================== */

.page-head {
	padding-block: clamp(48px, 8vw, 120px) clamp(32px, 5vw, 64px);
	background: var(--mist);
}

.page-head .lead {
	max-width: 48ch;
	margin-top: 20px;
}

.page-head__meta {
	margin-bottom: 12px;
	color: var(--steel);
	font-weight: 600;
}

.page-head__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 32px;
}

.page-body {
	padding-block: clamp(40px, 6vw, 88px) var(--section);
}

.page-body__image {
	margin-bottom: clamp(32px, 5vw, 56px);
	overflow: hidden;
	border-radius: var(--radius);
}

.page-body__image img {
	width: 100%;
}

.prose {
	max-width: 74ch;
}

.prose > * + * {
	margin-top: 1.25em;
}

.prose h2,
.prose h3,
.prose h4 {
	margin-top: 2em;
	font-family: var(--font-cond);
	font-weight: 800;
	line-height: 1.1;
}

.prose h2 {
	font-size: clamp(1.9rem, 1.5rem + 1.6vw, 2.75rem);
}

.prose h3 {
	font-size: clamp(1.5rem, 1.3rem + 0.8vw, 1.9rem);
}

.prose h4 {
	font-size: 1.3rem;
}

.prose a {
	font-weight: 650;
	text-decoration-color: var(--red);
	text-decoration-thickness: 2px;
	text-underline-offset: 4px;
}

.prose ul,
.prose ol {
	padding-left: 1.3em;
}

.prose li + li {
	margin-top: 0.4em;
}

.prose blockquote {
	padding-left: 1.25rem;
	border-left: 3px solid var(--red);
	font-size: 1.2rem;
	font-weight: 600;
}

.prose table {
	width: 100%;
	border-collapse: collapse;
}

.prose th,
.prose td {
	padding: 0.7rem 0.75rem;
	border-bottom: 1px solid var(--line);
	text-align: left;
	vertical-align: top;
}

.prose th {
	border-bottom: 2px solid var(--black);
}

.prose img,
.prose figure {
	border-radius: var(--radius);
}

.prose figcaption {
	margin-top: 8px;
	color: var(--steel);
	font-size: 0.95rem;
}

.prose .alignwide,
.prose .alignfull {
	max-width: none;
	width: min(100vw - 2 * var(--gutter), var(--max));
}

.prose .wp-block-button__link {
	border-radius: 2px;
	background: var(--black);
	color: var(--white);
	font-weight: 700;
	text-decoration: none;
}

.post-list {
	display: grid;
	padding: 0;
	list-style: none;
}

.post-list__item {
	border-top: 2px solid var(--black);
}

.post-list__link {
	display: grid;
	gap: 8px;
	padding: 28px 0;
	text-decoration: none;
}

.post-list__link time {
	color: var(--steel);
	font-weight: 600;
}

.post-list__link h2 {
	font-family: var(--font-cond);
	font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.25rem);
	font-weight: 800;
	line-height: 1.1;
}

.post-list__link:hover h2 {
	color: var(--red);
}

.post-list__link p {
	max-width: 70ch;
	color: #2c2e30;
}

.pagination .nav-links,
.page-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 40px;
}

.pagination .page-numbers {
	display: grid;
	place-items: center;
	min-width: 44px;
	min-height: 44px;
	padding: 0 0.75rem;
	border: 2px solid var(--black);
	font-weight: 700;
	text-decoration: none;
}

.pagination .page-numbers.current {
	background: var(--black);
	color: var(--white);
}

/* 8 Bewegung reduzieren
   ========================================================================== */

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

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

	.ajax__pulse,
	.cmap__pin i,
	.pajax__rings,
	.spot__ring i {
		display: none;
	}

	.infobar__pulse {
		animation: none;
	}
}
