@charset "UTF-8";

@font-face {
	font-family: 'JetBrains Mono';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('/fonts/latin-400.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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: 'JetBrains Mono';
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url('/fonts/latin-700.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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: 'JetBrains Mono';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('/fonts/latin-ext-400.woff2') format('woff2');
	unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: 'JetBrains Mono';
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url('/fonts/latin-ext-700.woff2') format('woff2');
	unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
	--blue: #009EE0;
	--text: #484A4D;
	--border-light: #ebebeb;
	--container-max: 900px;
	--box-max: 500px;
	--h1-max: 900px;
}

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

html, body, h1, h2, h3, h4, h5, h6, p, ul, ol, li, div, span, a, img {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}

ul, ol { list-style: none; }

html {
	font-size: 13px;
	font-family: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
	font-weight: 400;
	-webkit-text-size-adjust: 100%;
}

body {
	background: #ffffff url(../images/bg.png) repeat;
	color: var(--text);
	line-height: 1;
}

.container {
	max-width: var(--container-max);
	margin: 0 auto;
	padding: 0 10px;
}

/* SKIP TO CONTENT — visually hidden until focused */

.skip-to-content {
	position: absolute;
	top: -80px;
	left: 10px;
	background: var(--blue);
	color: white;
	padding: 10px 16px;
	text-decoration: none;
	font-weight: 700;
	z-index: 200;
	transition: top 0.15s ease;
}

.skip-to-content:focus {
	top: 10px;
	outline: 2px solid white;
	outline-offset: 2px;
}

/* HEADER / MENU */

.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: #ffffff url(../images/bg.png) repeat;
	padding: 28px 0;
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 16px;
	flex-wrap: wrap;
}

.site-header::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 1px;
	background: repeating-linear-gradient(
		to right,
		#bcbcbc 0,
		#bcbcbc 6px,
		transparent 6px,
		transparent 12px
	);
}

.main-nav ul {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 25px;
}

.main-nav li {
	text-transform: uppercase;
}

.main-nav a {
	background-color: white;
	color: var(--text);
	text-decoration: none;
	padding: 7px 18px;
	line-height: 1.3;
	border: 1px solid var(--border-light);
	display: inline-block;
	transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
	background-color: var(--blue);
	color: white;
	border-color: var(--blue);
	outline: none;
}

.main-nav li.current a {
	background-color: var(--blue);
	color: white;
	border-color: var(--blue);
}

.nav-toggle {
	display: none;
}

.site-logo {
	text-decoration: none;
}

.site-logo svg {
	display: block;
	width: 33px;
	height: 33px;
}

.site-logo .bg,
.site-logo .lines,
.site-logo .frame {
	transition: fill 0.15s ease, stroke 0.15s ease;
}

.site-logo .bg { fill: var(--blue); }
.site-logo .lines { fill: #ffffff; }
.site-logo .frame { stroke: transparent; }

.site-logo:hover .bg,
.site-logo:focus-visible .bg { fill: #ffffff; }
.site-logo:hover .lines,
.site-logo:focus-visible .lines { fill: var(--blue); }
.site-logo:hover .frame,
.site-logo:focus-visible .frame { stroke: var(--border-light); }

.site-logo:focus-visible { outline: none; }

/* CONTENT */

.content {
	padding-top: 24px;
	line-height: 1.15;
}

.content > :first-child {
	margin-top: 0;
}

.content h1 {
	max-width: var(--h1-max);
	color: white;
	margin: 10px 0;
	text-transform: uppercase;
	font-weight: 700;
	background-color: var(--blue);
	border: 1px solid var(--blue);
	padding: 8px 14px;
	line-height: 1.3;
	display: flex;
	align-items: center;
	gap: 10px;
}

.content h1 svg {
	width: 20px;
	height: 20px;
	flex-shrink: 0;
	stroke: currentColor;
}

.whitebox {
	max-width: var(--box-max);
	background-color: white;
	border: 1px solid var(--border-light);
	padding: 0 14px;
	margin-bottom: 10px;
}

.whitebox p,
.content > p {
	color: var(--text);
	padding: 7px 0;
	line-height: 1.55;
}

.content > p {
	max-width: var(--box-max);
	background-color: white;
	border: 1px solid var(--border-light);
	padding: 7px 14px;
	margin-bottom: 10px;
}

.whitebox ul {
	list-style-image: url(../images/li.jpg);
	margin: 0 0 0 14px;
	padding: 7px 0;
}

.whitebox ul li {
	line-height: 1.55;
	padding: 1px 0;
}

.info-modal .modal-body ul {
	list-style: disc;
	padding-left: 22px;
}

.whitebox ol {
	list-style: decimal;
	margin: 0 0 0 22px;
	padding: 7px 0;
}

.whitebox ol li {
	line-height: 1.55;
	padding: 2px 0;
}

/* DOWNLOAD BUTTONS (Fernwartung) */

.download-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 14px;
	margin: 14px 0 10px;
}

.download-button {
	display: flex;
	align-items: center;
	gap: 14px;
	background: white;
	border: 1px solid var(--border-light);
	padding: 16px 18px;
	text-decoration: none;
	color: var(--text);
	transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.download-button:hover,
.download-button:focus-visible {
	background-color: var(--blue);
	color: white;
	border-color: var(--blue);
	outline: none;
}

.download-button svg {
	width: 28px;
	height: 28px;
	flex-shrink: 0;
}

.download-button .label {
	display: block;
	font-weight: 700;
	font-size: 13px;
	line-height: 1.3;
}

.download-button .sub {
	display: block;
	font-size: 11px;
	opacity: 0.7;
	margin-top: 2px;
}

.download-columns {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
	margin: 14px 0 10px;
}

.download-group {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.download-group h2 {
	background: var(--blue);
	border: 1px solid var(--blue);
	color: white;
	text-transform: uppercase;
	font-weight: 700;
	font-size: 13px;
	line-height: 1.3;
	padding: 8px 14px;
	margin: 0;
	display: flex;
	align-items: center;
	gap: 8px;
}

.download-group h2 svg {
	width: 18px;
	height: 18px;
	flex-shrink: 0;
	stroke: currentColor;
}

@media (max-width: 768px) {
	.download-columns {
		grid-template-columns: 1fr;
	}
}


.whitebox a,
.content > p a {
	color: var(--text);
	text-decoration: none;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.whitebox a:hover,
.whitebox a:focus-visible,
.content > p a:hover,
.content > p a:focus-visible {
	background-color: var(--blue);
	color: white;
	text-decoration: none;
	font-weight: 700;
	padding: 0 3px;
	outline: none;
}

.whitebox a.plain-link,
.content > p a.plain-link,
.site-footer a.plain-link {
	color: inherit;
	text-decoration: none;
}

.whitebox a.plain-link:hover,
.whitebox a.plain-link:focus-visible,
.content > p a.plain-link:hover,
.content > p a.plain-link:focus-visible,
.site-footer a.plain-link:hover,
.site-footer a.plain-link:focus-visible {
	background: transparent;
	color: inherit;
	font-weight: inherit;
	padding: 0;
}

.bold, b, strong {
	font-weight: 700;
}

.italic, em, i {
	font-style: italic;
}

/* REFERENZEN GRID */

.referenzen {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 10px;
	margin-top: 13px;
	max-width: 100%;
}

.referenzen > * {
	display: block;
	line-height: 0;
	background: white;
	border: 1px solid #f3f3f3;
	opacity: 0;
	transition: opacity 0.45s ease, transform 0.2s ease;
}

.referenzen > *.visible {
	opacity: 1;
}

/* REDUCED MOTION — respect user preference */

@media (prefers-reduced-motion: reduce) {
	.reveal,
	.referenzen > * {
		opacity: 1 !important;
		transform: none !important;
		transition: none !important;
	}

	.key-point p,
	.key-point ul,
	.referenzen > *,
	.main-nav,
	.main-nav ul,
	.nav-toggle .bar,
	.section-divider {
		transition: none !important;
	}

	.key-point p:hover,
	.key-point ul:hover,
	.referenzen a:hover,
	.referenzen a:focus-visible {
		transform: none !important;
	}
}

/* Disable transitions during browser resize to prevent menu flicker */

.resizing .site-header,
.resizing .main-nav,
.resizing .main-nav *,
.resizing .nav-toggle * {
	transition: none !important;
}

/* INFO MODAL (dialog) */

.info-modal {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 1000;
	background: rgba(20, 25, 35, 0.5);
	-webkit-backdrop-filter: blur(2px);
	backdrop-filter: blur(2px);
	align-items: center;
	justify-content: center;
	padding: 20px;
	box-sizing: border-box;
	overflow-y: auto;
}

.info-modal.is-open {
	display: flex;
}

.info-modal-panel {
	max-width: 600px;
	width: 100%;
	border: 1px solid var(--border-light);
	background: white;
	position: relative;
	max-height: calc(100vh - 40px);
	overflow-y: auto;
}

.info-modal h2 {
	background: var(--blue);
	color: white;
	text-transform: uppercase;
	font-weight: 700;
	font-size: 14px;
	line-height: 1.3;
	padding: 14px 22px;
	border-bottom: 1px solid var(--blue);
	margin: 0;
	display: flex;
	align-items: center;
	gap: 10px;
}

.info-modal h2 svg {
	width: 20px;
	height: 20px;
	flex-shrink: 0;
	stroke: currentColor;
}

.info-modal .modal-body {
	padding: 18px 22px;
	color: var(--text);
	line-height: 1.6;
	font-size: 13px;
}

.info-modal .modal-body p + p,
.info-modal .modal-body p + ul,
.info-modal .modal-body ul + p {
	margin-top: 10px;
}



.modal-close {
	position: absolute;
	top: 8px;
	right: 10px;
	background: transparent;
	border: 0;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
	color: white;
	padding: 4px 10px;
	font-family: inherit;
	transition: color 0.15s ease;
}

.modal-close:hover {
	color: var(--text);
}

/* Page-wide reveal animation */

.reveal {
	opacity: 0;
	transform: translateY(10px);
	transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
	opacity: 1;
	transform: translateY(0);
}

.referenzen > .new {
	border-color: #D5D5D5;
}

.referenzen > .new img {
	padding: 14px;
}

.referenzen a:hover,
.referenzen a:focus-visible {
	outline: none;
	transform: scale(1.10);
	position: relative;
	z-index: 1;
}

.referenzen img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 186 / 116;
	object-fit: contain;
	background: white;
}

/* SECTION DIVIDER */

.section-divider {
	height: 1px;
	background: repeating-linear-gradient(
		to right,
		#bcbcbc 0,
		#bcbcbc 6px,
		transparent 6px,
		transparent 12px
	);
	margin: 24px 0;
	border: 0;
}

/* KEY POINTS — 3 column grid (intro spans 2 of these) */

.intro-row {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-auto-flow: row dense;
	gap: 8px 14px;
	margin-bottom: 14px;
}

.intro-row > h1 {
	grid-column: 1 / span 2;
	grid-row: 1;
	margin: 0;
	max-width: none;
	align-self: start;
}

.intro-row > .whitebox {
	grid-column: 1 / span 2;
	grid-row: 2;
	max-width: none;
	margin-bottom: 0;
}

.intro-row > h2 {
	grid-column: 3;
	grid-row: 1;
	background: var(--blue);
	border: 1px solid var(--blue);
	color: white;
	text-transform: uppercase;
	font-weight: 700;
	font-size: 13px;
	line-height: 1.3;
	padding: 8px 14px;
	margin: 0;
	display: flex;
	align-items: center;
	gap: 8px;
	align-self: start;
}

.intro-row > h2 svg {
	width: 18px;
	height: 18px;
	flex-shrink: 0;
	stroke: currentColor;
}

.intro-row > .fern-body {
	grid-column: 3;
	grid-row: 2;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.intro-row > .fern-body > p {
	background: white;
	border: 1px solid var(--border-light);
	color: var(--text);
	line-height: 1.55;
	padding: 10px 14px;
	margin: 0;
	flex-grow: 1;
}

.intro-split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
	margin-bottom: 14px;
}

.intro-split-col {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.intro-split-col > h1 {
	margin: 0;
	max-width: none;
}

.intro-split-col > .whitebox {
	max-width: none;
	margin-bottom: 0;
	flex-grow: 1;
}

.key-points {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 14px;
	margin: 0 0 10px;
}

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

.key-point {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.key-point h2 {
	background: var(--blue);
	border: 1px solid var(--blue);
	color: white;
	text-transform: uppercase;
	font-weight: 700;
	font-size: 13px;
	line-height: 1.3;
	padding: 8px 14px;
	display: flex;
	align-items: center;
	gap: 8px;
}

.key-point h2 svg {
	width: 18px;
	height: 18px;
	flex-shrink: 0;
	stroke: currentColor;
}

.key-point p,
.key-point ul {
	background: white;
	border: 1px solid var(--border-light);
	color: var(--text);
	line-height: 1.55;
	padding: 10px 14px;
	margin: 0;
	flex-grow: 1;
	transition: transform 0.25s ease;
}

.key-point p:hover,
.key-point ul:hover {
	transform: scale(1.03);
	position: relative;
	z-index: 1;
}

.more-link {
	background: white;
	border: 1px solid var(--border-light);
	color: var(--blue);
	text-transform: uppercase;
	font-weight: 700;
	font-size: 12px;
	line-height: 1.3;
	letter-spacing: 0.3px;
	padding: 8px 14px;
	text-decoration: none;
	text-align: center;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.more-link:hover,
.more-link:focus-visible {
	background-color: var(--blue);
	color: white;
	outline: none;
}

.key-point ul {
	list-style-image: url(/images/li.jpg);
	padding-left: 28px;
}

.key-point ul li {
	line-height: 1.55;
	padding: 1px 0;
}

/* MAP */

.map-embed {
	width: 100%;
	aspect-ratio: 5 / 3;
	border: 1px solid var(--border-light);
	margin: 10px 0 14px;
}

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

/* FOOTER */

.site-footer {
	margin: 0 0 24px;
	padding: 12px 14px;
	font-size: 11px;
	color: #999;
	line-height: 1.5;
	background: rgba(255, 255, 255, 0.75);
	border: 1px solid var(--border-light);
	text-align: center;
}

.site-footer .footer-copy,
.site-footer .footer-links {
	display: block;
}

.site-footer .footer-copy::first-line {
	font-weight: 700;
}


.site-footer a {
	color: inherit;
	text-decoration: none;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.site-footer a:not(.plain-link):hover,
.site-footer a:not(.plain-link):focus-visible {
	background-color: var(--blue);
	color: white;
	text-decoration: none;
	font-weight: 700;
	padding: 0 3px;
	outline: none;
}

.site-footer .sep {
	margin: 0 8px;
	color: var(--border-light);
}

/* MOBILE */

@media (max-width: 768px) {
	.container {
		padding: 0 14px;
	}

	.site-header {
		padding: 24px 0 12px;
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		gap: 0 12px;
	}


	.nav-toggle {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 4px;
		background: white;
		border: 1px solid var(--border-light);
		cursor: pointer;
		width: 42px;
		height: 42px;
		padding: 0;
		order: 2;
	}

	.nav-toggle .bar {
		display: block;
		width: 20px;
		height: 2px;
		background: var(--text);
		transition: transform 0.3s ease, opacity 0.2s ease;
		transform-origin: center;
	}

	.nav-toggle[aria-expanded="true"] .bar:nth-child(1) {
		transform: translateY(6px) rotate(45deg);
	}

	.nav-toggle[aria-expanded="true"] .bar:nth-child(2) {
		opacity: 0;
	}

	.nav-toggle[aria-expanded="true"] .bar:nth-child(3) {
		transform: translateY(-6px) rotate(-45deg);
	}

	.site-logo {
		order: 1;
	}

	.site-logo svg {
		width: 42px;
		height: 42px;
	}

	.content {
		padding-top: 20px;
	}

	.nav-toggle {
		position: relative;
		z-index: 101;
	}

	.main-nav {
		position: fixed;
		inset: 0;
		background: rgba(20, 25, 35, 0.5);
		-webkit-backdrop-filter: blur(2px);
		backdrop-filter: blur(2px);
		display: flex;
		align-items: center;
		justify-content: center;
		opacity: 0;
		visibility: hidden;
		pointer-events: none;
		transition: opacity 0.25s ease, visibility 0s linear 0.25s;
		z-index: 100;
	}

	.nav-open .main-nav {
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
		transition: opacity 0.25s ease, visibility 0s linear 0s;
	}

	.main-nav ul {
		background: white;
		border: 1px solid var(--border-light);
		box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
		padding: 14px;
		width: 80%;
		max-width: 320px;
		flex-direction: column;
		gap: 5px;
		transform: scale(0.96);
		transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
	}

	.nav-open .main-nav ul {
		transform: scale(1);
	}

	.main-nav li {
		width: 100%;
	}

	.main-nav a {
		display: block;
		padding: 10px 14px;
		border: 0;
		text-align: center;
	}

	.content h1 {
		max-width: 100%;
		font-size: 14px;
		line-height: 1.35;
	}

	.whitebox,
	.content > p {
		max-width: 100%;
	}

	.referenzen {
		grid-template-columns: repeat(3, 1fr);
		gap: 8px;
	}

	.key-points,
	.intro-row {
		grid-template-columns: 1fr;
		gap: 10px;
	}

	.intro-row > .whitebox,
	.intro-row > .map-embed {
		grid-column: auto;
	}

	.intro-row > h2,
	.intro-row > .fern-body {
		display: none;
	}

	.intro-split {
		grid-template-columns: 1fr;
		gap: 10px;
	}

	.more-link {
		width: 50%;
		align-self: flex-end;
	}

	.map-embed {
		max-width: 100%;
		aspect-ratio: 4 / 3;
	}
}

@media (max-width: 400px) {
	.referenzen {
		grid-template-columns: repeat(2, 1fr);
	}
}


.key-points.rotating > .key-point:nth-child(n+4) {
	display: none;
}
