/* LZ - Technik e.U. — site template.
   Navy + signal red from the logo and the old site, condensed Archivo for headings, hairline grids
   like a workshop spec sheet. Every page opens dark over the workshop photo. No external resources. */

@font-face {
	font-family: "Archivo";
	font-style: normal;
	font-display: swap;
	font-weight: 100 900;
	font-stretch: 62% 125%;
	src: url("../fonts/archivo-latin-wdth-normal.woff2") format("woff2");
}

:root {
	--navy-950: #040d16;
	--navy-900: #06131f;
	--navy-800: #0a1c2f;
	--navy: #0a223d;
	--navy-600: #173a61;
	--red: #a31f26;
	--red-600: #87181e;
	--red-bright: #ef4b40;
	--paper: #f3f4f1;
	--paper-2: #e9ebe7;
	--white: #fff;
	--ink: #0d1b2a;
	--ink-mute: #4f5b68;
	--line: #d3d8dd;
	--line-dark: rgba(255, 255, 255, .14);
	--on-dark: #e8edf2;
	--on-dark-mute: #a9bccf;


	--wrap: 1320px;
	--gutter: clamp(20px, 4vw, 48px);
	--header-h: 84px;
	--radius: 4px;
	--ease: cubic-bezier(.2, .7, .2, 1);

	--f-body: "Archivo", "Helvetica Neue", Arial, sans-serif;
	--step--1: .875rem;
	--step-0: 1.0625rem;
	--step-1: clamp(1.2rem, 1.1rem + .4vw, 1.4rem);
	--step-2: clamp(1.5rem, 1.3rem + .9vw, 2rem);
	--step-3: clamp(2.2rem, 1.6rem + 2.6vw, 3.9rem);
	--step-4: clamp(2.8rem, 1.6rem + 5.4vw, 6.4rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (min-width: 3200px) { html { font-size: 112.5%; } }
body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--f-body);
	font-size: var(--step-0);
	line-height: 1.6;
	font-stretch: 100%;
	font-variation-settings: normal;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; line-height: 1.1; text-wrap: balance; }
:focus-visible { outline: 3px solid var(--red-bright); outline-offset: 3px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
@media (min-width: 2000px) { :root { --wrap: 1520px; } }

.visually-hidden {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip-link {
	position: absolute; left: 12px; top: -60px; z-index: 100;
	background: var(--red); color: var(--white); padding: 10px 16px; border-radius: var(--radius);
}
.skip-link:focus { top: 12px; }

/* ---------- type */
.display {
	font-stretch: 72%;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: -.005em;
	line-height: .94;
}
.h2 { font-size: var(--step-3); }
.lead { font-size: var(--step-1); line-height: 1.5; color: var(--ink-mute); max-width: 60ch; }
.label {
	display: inline-flex; align-items: center; gap: .7em;
	margin: 0;
	font-size: .78rem; font-weight: 650; letter-spacing: .16em; text-transform: uppercase;
	color: var(--ink-mute);
}
.label--rule::before { content: ""; width: 28px; height: 2px; background: var(--red); }
.num { font-variant-numeric: tabular-nums; color: var(--red); }

/* ---------- buttons */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .6em;
	min-height: 52px; padding: .8em 1.5em;
	border: 2px solid currentColor; border-radius: var(--radius);
	font: inherit; font-weight: 700; font-stretch: 88%; letter-spacing: .06em; text-transform: uppercase; font-size: .95rem;
	text-decoration: none; cursor: pointer;
	transition: background-color .2s, border-color .2s, color .2s, transform .2s var(--ease);
}
.btn svg { width: 1.1em; height: 1.1em; fill: currentColor; }
.btn:hover { transform: translateY(-1px); }
.btn--red { background: var(--red); border-color: var(--red); color: var(--white); }
.btn--red:hover { background: var(--red-600); border-color: var(--red-600); }
.btn--ghost { color: var(--white); border-color: rgba(255, 255, 255, .55); }
.btn--ghost:hover { border-color: var(--white); background: rgba(255, 255, 255, .08); }
.btn--navy { background: var(--navy); border-color: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--navy-600); border-color: var(--navy-600); }
.link-arrow { font-weight: 650; text-decoration: none; border-bottom: 2px solid var(--red); padding-bottom: 1px; }
.link-arrow::after { content: " →"; }
.link-arrow:hover { color: var(--red); }

/* ---------- header */
.site-header {
	position: fixed; inset: 0 0 auto; z-index: 50;
	height: var(--header-h);
	color: var(--white);
	transition: background-color .3s, box-shadow .3s, color .3s, height .3s;
}
.site-header::before {
	content: ""; position: absolute; inset: 0 0 -40px; z-index: -1; pointer-events: none;
	background: linear-gradient(rgba(4, 13, 22, .55), transparent);
	transition: opacity .3s;
}
.site-header.is-scrolled { background: rgba(255, 255, 255, .97); color: var(--navy); box-shadow: 0 1px 0 var(--line), 0 8px 24px rgba(6, 19, 31, .06); --header-h: 68px; }
.site-header.is-scrolled::before { opacity: 0; }
.site-header__inner { height: 100%; display: flex; align-items: center; gap: 24px; }

.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; margin-right: auto; }
.brand__logo { width: auto; height: 46px; filter: brightness(0) invert(1); transition: filter .3s, height .3s; }
.is-scrolled .brand__logo { filter: none; height: 40px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; padding-left: 14px; border-left: 1px solid currentColor; border-color: rgba(255, 255, 255, .35); }
.is-scrolled .brand__text { border-color: var(--line); }
.brand__name { font-weight: 800; font-stretch: 80%; text-transform: uppercase; letter-spacing: .04em; font-size: 1.02rem; }
.brand__tag { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; opacity: .75; }

.site-nav { display: flex; align-items: center; gap: 8px; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.site-nav li a {
	display: block; padding: 10px 14px;
	font-weight: 600; font-stretch: 90%; letter-spacing: .08em; text-transform: uppercase; font-size: .86rem;
	text-decoration: none; position: relative;
}
.site-nav li a::after {
	content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px;
	background: var(--red-bright); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.is-scrolled .site-nav li a::after { background: var(--red); }
.site-nav li a:hover::after, .site-nav li.current > a::after, .site-nav li.active > a::after { transform: scaleX(1); }
.site-nav__phone {
	display: inline-flex; align-items: center; gap: 10px; margin-left: 12px;
	padding: 10px 18px; border-radius: var(--radius);
	background: var(--red); color: var(--white); text-decoration: none;
	font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: .02em; white-space: nowrap;
	transition: background-color .2s;
}
.site-nav__phone:hover { background: var(--red-600); }
.site-nav__phone svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }

.nav-toggle { display: none; }

@media (max-width: 980px) {
	.brand__text { display: none; }
	.nav-toggle {
		display: grid; place-items: center; width: 48px; height: 48px; margin-right: -8px;
		background: none; border: 0; color: inherit; cursor: pointer; position: relative; z-index: 2;
	}
	.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
		display: block; width: 24px; height: 2px; background: currentColor; transition: transform .25s var(--ease), opacity .2s;
	}
	.nav-toggle__bars { position: relative; }
	.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
	.nav-toggle__bars::before { top: -7px; }
	.nav-toggle__bars::after { top: 7px; }
	.nav-open .nav-toggle { color: var(--white); }
	.nav-open .nav-toggle__bars { background: transparent; }
	.nav-open .nav-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
	.nav-open .nav-toggle__bars::after { transform: translateY(-7px) rotate(-45deg); }

	.site-nav {
		position: fixed; inset: 0; z-index: 1;
		flex-direction: column; align-items: stretch; justify-content: center; gap: 28px;
		padding: calc(var(--header-h) + 20px) var(--gutter) 40px;
		background: var(--navy-900); color: var(--white);
		opacity: 0; visibility: hidden; transition: opacity .25s, visibility 0s .25s;
	}
	.nav-open .site-nav { opacity: 1; visibility: visible; transition: opacity .25s; }
	.site-nav ul { flex-direction: column; gap: 0; }
	.site-nav li a { font-size: 2rem; font-weight: 800; font-stretch: 72%; padding: 12px 0; border-bottom: 1px solid var(--line-dark); }
	.site-nav li a::after { display: none; }
	.site-nav__phone { margin: 0; justify-content: center; min-height: 56px; font-size: 1.1rem; }
	.nav-open .site-header { background: transparent; box-shadow: none; }
	.nav-open .brand__logo { filter: brightness(0) invert(1); }
}

/* ---------- hero (start page) */
.hero {
	position: relative; isolation: isolate;
	min-height: max(640px, min(100svh, 1080px));
	display: flex; flex-direction: column; justify-content: flex-end;
	background: var(--navy-900); color: var(--white);
	overflow: hidden;
}
.hero__media { position: absolute; inset: 0; z-index: -2; margin: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 58%; }
.hero::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background:
		linear-gradient(90deg, rgba(6, 19, 31, .94) 0%, rgba(6, 19, 31, .82) 34%, rgba(6, 19, 31, .38) 66%, rgba(6, 19, 31, .18) 100%),
		linear-gradient(0deg, rgba(4, 13, 22, .92) 0%, rgba(4, 13, 22, 0) 42%);
}
.hero::after { /* measuring grid, fading out to the right */
	content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background-image:
		linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
	background-size: 88px 88px;
	-webkit-mask-image: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, .5) 45%, transparent 75%);
	mask-image: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, .5) 45%, transparent 75%);
}
.hero__content { padding-top: calc(var(--header-h) + clamp(48px, 10vh, 120px)); padding-bottom: clamp(40px, 7vh, 80px); }
.hero__content .label { color: var(--on-dark); }
.hero__title { font-size: var(--step-4); margin: .45em 0 .35em; }
.hero__title .rotator { display: block; color: var(--red-bright); min-height: 1em; }
.rotator__word { display: inline-block; }
.rotator__word.is-out { animation: rot-out .38s var(--ease) forwards; }
.rotator__word.is-in { animation: rot-in .5s var(--ease) both; }
@keyframes rot-out { to { opacity: 0; transform: translateY(-.25em); filter: blur(2px); } }
@keyframes rot-in { from { opacity: 0; transform: translateY(.3em); filter: blur(2px); } }
.hero__lead { font-size: var(--step-1); color: var(--on-dark); max-width: 54ch; margin-bottom: 1.8em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero__facts { border-top: 1px solid var(--line-dark); background: rgba(4, 13, 22, .55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.hero__facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { display: flex; flex-direction: column; gap: 6px; padding: 22px 24px 24px 0; }
.fact + .fact { padding-left: 24px; border-left: 1px solid var(--line-dark); }
.fact .label { color: var(--on-dark-mute); font-size: .7rem; }
.fact__value { font-weight: 600; color: var(--white); text-decoration: none; font-variant-numeric: tabular-nums; }
a.fact__value:hover { color: var(--red-bright); }
.fact .hours { color: var(--white); font-weight: 600; }
.fact .hours__row { gap: 10px; }
.fact .hours dt { min-width: 3.6em; font-weight: 600; color: var(--on-dark); }
.fact--status .fact__value { display: inline-flex; align-items: center; gap: 10px; }
.status-dot { width: 10px; height: 10px; border-radius: 50%; background: #8b97a3; box-shadow: 0 0 0 4px rgba(139, 151, 163, .2); }
.is-open .status-dot { background: #37c47a; box-shadow: 0 0 0 4px rgba(55, 196, 122, .22); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(55, 196, 122, .05); } }
.fact--status[hidden] { display: none; }
.fact--status[hidden] + .fact { padding-left: 0; border-left: 0; }

@media (max-width: 1100px) {
	.hero__facts-grid { grid-template-columns: repeat(2, 1fr); }
	.fact:nth-child(odd) { padding-left: 0; border-left: 0; }
	.fact:nth-child(n+3) { border-top: 1px solid var(--line-dark); }
	.fact--status[hidden] ~ .fact:nth-child(even) { padding-left: 0; border-left: 0; }
	.fact--status[hidden] ~ .fact:nth-child(odd) { padding-left: 24px; border-left: 1px solid var(--line-dark); }
}
@media (max-width: 640px) {
	/* phone: the photo gets its own band at the top (centred on the hall clock), the text sits below it on navy */
	.hero { display: block; min-height: 0; }
	.hero::before, .hero::after { display: none; }
	.hero__media { position: relative; z-index: 0; height: 52svh; min-height: 340px; max-height: 520px; }
	.hero__media img { object-position: 50% 32%; -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 97%); mask-image: linear-gradient(180deg, #000 55%, transparent 97%); }
	.hero__media::after { /* keeps the white logo readable on the bright roof */
		content: ""; position: absolute; inset: 0 0 auto; height: 30%;
		background: linear-gradient(180deg, rgba(4, 13, 22, .45), rgba(4, 13, 22, 0));
	}
	.hero__content { position: relative; margin-top: -56px; padding-top: 0; padding-bottom: 32px; }
	.hero__title { font-size: clamp(2.1rem, 9.6vw, 2.75rem); margin: .35em 0 .4em; }
	.hero__lead { font-size: 1.02rem; margin-bottom: 1.4em; }
	.hero__actions .btn { flex: 1 1 100%; min-height: 50px; }
	.hero__facts-grid { grid-template-columns: 1fr; }
	.fact, .fact + .fact, .fact:nth-child(odd), .fact--status[hidden] ~ .fact:nth-child(odd), .fact--status[hidden] ~ .fact:nth-child(even) { padding: 16px 0; border-left: 0; }
	.fact + .fact { border-top: 1px solid var(--line-dark); }
	.fact--status[hidden] + .fact { border-top: 0; }
}

/* ---------- inner page head */
.page-head {
	position: relative; isolation: isolate;
	background: var(--navy-900) var(--head-img, none) center 55% / cover no-repeat;
	color: var(--white);
	padding: calc(var(--header-h) + clamp(56px, 9vw, 120px)) 0 clamp(40px, 6vw, 72px);
}
.page-head::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: linear-gradient(90deg, rgba(6, 19, 31, .95), rgba(6, 19, 31, .78) 55%, rgba(6, 19, 31, .55));
}
.page-head .label { color: var(--on-dark); }
.page-head__title { font-size: var(--step-3); margin-top: .35em; }

/* ---------- page body */
.page-body { padding-block: clamp(48px, 7vw, 96px); }
.page-body--bare { padding: 0; }
.prose { max-width: 76ch; }
.prose h2, .prose h3 { font-stretch: 85%; font-weight: 750; margin: 1.8em 0 .6em; }
.prose h2 { font-size: var(--step-2); }
.prose h3 { font-size: var(--step-1); }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose a:not(.btn) { color: var(--red); text-underline-offset: 3px; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .3em; }
.prose strong { font-weight: 700; }

/* ---------- sections */
.section { padding-block: clamp(80px, 10vw, 150px); position: relative; }
.section--paper2 { background: var(--paper-2); }
.section--dark { background: var(--navy-900); color: var(--on-dark); }
.section--dark .label { color: var(--on-dark-mute); }
.section--dark .lead { color: var(--on-dark-mute); }
.section--dark h2, .section--dark h3 { color: var(--white); }
.section--white { background: var(--white); }

.section-head {
	display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 24px 64px; align-items: end;
	margin-bottom: clamp(40px, 5vw, 72px);
}
.section-head h2 { font-size: var(--step-3); margin-top: .4em; }
.section-head .lead { margin: 0; }
@media (max-width: 860px) { .section-head { grid-template-columns: 1fr; } }

/* services: hairline grid like a spec sheet */
.services {
	display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
	background: var(--line); border: 1px solid var(--line);
}
.service {
	position: relative; background: var(--paper); padding: clamp(28px, 3vw, 40px);
	display: flex; flex-direction: column; gap: 14px;
	transition: background-color .25s;
}
.service::before {
	content: ""; position: absolute; left: -1px; top: -1px; height: 3px; width: 0; background: var(--red);
	transition: width .35s var(--ease);
}
.service:hover { background: var(--white); }
.service:hover::before { width: calc(100% + 2px); }
.service__top { display: flex; }
.service h3 { font-size: var(--step-2); font-stretch: 78%; font-weight: 800; text-transform: uppercase; letter-spacing: .005em; }
.service p { margin: 0; color: var(--ink-mute); }
.service--wide { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: 0; padding: 0; }
.service--wide .service__body { padding: clamp(28px, 3vw, 40px); display: flex; flex-direction: column; gap: 14px; }
.service--wide figure { margin: 0; min-height: 280px; }
.service--wide figure img { width: 100%; height: 100%; object-fit: cover; }
.chips { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li {
	padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--white);
	font-size: .88rem; font-weight: 550;
}
.services-note { margin: 28px 0 0; color: var(--ink-mute); }
.services-note strong { color: var(--ink); }
@media (max-width: 1040px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) { .service--wide { grid-template-columns: 1fr; } .service--wide figure { order: -1; min-height: 0; aspect-ratio: 16 / 9; } }
@media (max-width: 620px) {
	.services { grid-template-columns: 1fr; }
	.service { display: grid; grid-template-columns: 40px 1fr; gap: 6px 16px; padding: 20px; }
	.service__top { grid-row: span 2; }
	.service__icon { width: 40px; height: 40px; }
	.service h3 { font-size: 1.25rem; align-self: center; }
	.service p { grid-column: 2; font-size: .95rem; }
	.service--wide { display: grid; grid-template-columns: 1fr; padding: 0; }
	.service--wide figure { aspect-ratio: 2 / 1; }
	.service--wide .service__body { display: grid; grid-template-columns: 40px 1fr; gap: 6px 16px; padding: 20px; }
	.service--wide .service__body > p, .service--wide .chips { grid-column: 1 / -1; }
	.chips li { font-size: .82rem; padding: 5px 10px; }
}

/* ICONS (generated by provision/make_icons.py) */
.service__icon { display: block; width: 52px; height: 52px; background: var(--navy); -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat; }
.icon-car { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 31v-8l5-9.5A3 3 0 0 1 13.7 12h20.6a3 3 0 0 1 2.7 1.5L42 23v8h-3M6 31h3m8 0h14M6 23h36'/%3E%3Ccircle cx='13' cy='31' r='4'/%3E%3Ccircle cx='35' cy='31' r='4'/%3E%3C/svg%3E"); }
.icon-tractor { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='14' cy='31' r='8'/%3E%3Ccircle cx='14' cy='31' r='2.5'/%3E%3Ccircle cx='37' cy='34' r='5'/%3E%3Cpath d='M8 23V10h11l3 10h14a3 3 0 0 1 3 3v6M22 31h10M6 10h13M19 10v10H8'/%3E%3C/svg%3E"); }
.icon-diag { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='6' y='8' width='36' height='24' rx='3'/%3E%3Cpath d='M12 21h6l3-6 5 12 3-6h7M18 40h12M24 32v8'/%3E%3C/svg%3E"); }
.icon-snow { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M24 5v38M7.5 14.5l33 19M7.5 33.5l33-19M19 8l5 5 5-5M19 40l5-5 5 5M8 21l7-1.5L13 13M40 27l-7 1.5L35 35M8 27l7 1.5L13 35M40 21l-7-1.5L35 13'/%3E%3C/svg%3E"); }
.icon-engine { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 18h5v-4h14v4h5l4 4h4v12h-4l-4 4H16l-4-4h-2zM4 22v10M10 26H4M19 14v-4h8v4'/%3E%3C/svg%3E"); }
.icon-key { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='15' cy='33' r='8'/%3E%3Ccircle cx='15' cy='33' r='2'/%3E%3Cpath d='M21 27L39 9M33 15l4 4M29 19l4 4'/%3E%3C/svg%3E"); }
.icon-tyre { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='24' cy='24' r='18'/%3E%3Ccircle cx='24' cy='24' r='8'/%3E%3Ccircle cx='24' cy='24' r='2'/%3E%3Cpath d='M24 6v6M24 36v6M6 24h6M36 24h6M11.3 11.3l4.2 4.2M32.5 32.5l4.2 4.2M11.3 36.7l4.2-4.2M32.5 15.5l4.2-4.2'/%3E%3C/svg%3E"); }
/* /ICONS */

/* workshop: equipment cards — a swipe row on phones (next card peeks in), a 3 × 2 grid from 700px */
.gear { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin: 0; padding: 0; list-style: none; }
.gear__card { margin: 0; }
.gear__card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); background: var(--navy-800); }
.gear__card h3 { margin: 16px 0 4px; font-size: 1.15rem; font-weight: 750; font-stretch: 90%; }
.gear__card p { margin: 0; color: var(--on-dark-mute); font-size: .95rem; }
.gear__card .label { display: block; margin-top: 14px; color: var(--red-bright); font-size: .68rem; }
.gear__card .label + h3 { margin-top: 4px; }
.gear-more { margin: clamp(32px, 4vw, 48px) 0 0; padding-top: 20px; border-top: 1px solid var(--line-dark); color: var(--on-dark); }
.gear-more strong { color: var(--white); margin-right: .4em; }
.gear-hint { display: none; }
@media (max-width: 1000px) { .gear { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 699px) {
	.gear {
		display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
		margin-inline: calc(-1 * var(--gutter)); padding: 0 var(--gutter) 6px; scroll-padding-inline: var(--gutter);
		scrollbar-width: none;
	}
	.gear::-webkit-scrollbar { display: none; }
	.gear > li { flex: 0 0 78%; scroll-snap-align: start; }
	.gear__card img { aspect-ratio: 4 / 4.4; }
	.gear-hint { display: flex; align-items: center; gap: 8px; margin: 14px 0 0; color: var(--on-dark-mute); font-size: .85rem; }
	.gear-hint::after { content: "→"; }
}

/* expertise split */
.split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.split__media { position: relative; margin: 0; }
.split__media img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; object-position: 60% 40%; border-radius: var(--radius); }
.split__media::before { /* red corner bracket */
	content: ""; position: absolute; left: -14px; top: -14px; width: 96px; height: 96px;
	border-left: 4px solid var(--red); border-top: 4px solid var(--red);
}
.split h2 { font-size: var(--step-3); margin: .4em 0 .5em; }
.split .lead { margin-bottom: 1.4em; }
.specs { margin: 0 0 32px; border-top: 1px solid var(--line); }
.specs div { display: grid; grid-template-columns: 11em 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.specs dt { font-size: .78rem; font-weight: 650; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-mute); padding-top: .2em; }
.specs dd { margin: 0; font-weight: 600; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split__media { margin-left: 14px; } }
@media (max-width: 480px) { .specs div { grid-template-columns: 1fr; gap: 2px; } }

/* visit band */
.section--visit { background: var(--navy-900) var(--visit-img, none) center / cover no-repeat; color: var(--on-dark); isolation: isolate; }
.section--visit::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(6, 19, 31, .88); }
.visit { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: end; }
.visit h2 { font-size: var(--step-3); color: var(--white); margin: .4em 0 .4em; }
.visit .label { color: var(--on-dark-mute); }
.visit .lead { color: var(--on-dark); }
.visit__phone {
	display: inline-block; margin: .2em 0 .6em;
	font-size: clamp(2rem, 1.2rem + 3.4vw, 4rem); font-weight: 800; font-stretch: 75%;
	color: var(--white); text-decoration: none; font-variant-numeric: tabular-nums; letter-spacing: .01em;
	border-bottom: 3px solid var(--red-bright); line-height: 1.1;
}
.visit__phone:hover { color: var(--red-bright); }
.visit__facts { display: grid; gap: 0; border-top: 1px solid var(--line-dark); }
.visit__facts > div { display: grid; grid-template-columns: 9.5em 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line-dark); }
.visit__facts .label { padding-top: .25em; }
.visit__facts p, .visit__facts .hours { margin: 0; color: var(--white); font-weight: 550; }
.visit__facts a { color: var(--white); }
.visit__facts a:hover { color: var(--red-bright); }
@media (max-width: 900px) { .visit { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .visit__facts > div { grid-template-columns: 1fr; gap: 4px; } }

.hours { margin: 0; display: grid; gap: 2px; }
.hours__row { display: flex; gap: 14px; }
.hours dt { min-width: 7.5em; font-weight: inherit; }
.hours dd { margin: 0; font-variant-numeric: tabular-nums; }

/* ---------- Anfahrt article */
.route { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.route .specs { margin-bottom: 24px; }
.route .specs dd a { color: var(--red); }
@media (max-width: 900px) { .route { grid-template-columns: 1fr; } }
.page-body .prose:has(.route) { max-width: none; }

.lz-map {
	position: relative; isolation: isolate; overflow: hidden;
	min-height: 420px; border-radius: var(--radius);
	background: var(--navy-900); color: var(--on-dark);
	display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 14px;
	padding: clamp(24px, 3vw, 40px);
}
.lz-map::before { /* stylised map grid, no third-party tiles before consent */
	content: ""; position: absolute; inset: 0; z-index: -1;
	background:
		radial-gradient(circle at 62% 38%, rgba(239, 75, 64, .9) 0 7px, rgba(239, 75, 64, .25) 8px 22px, transparent 23px),
		linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px) 0 0 / 24px 24px,
		linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px) 0 0 / 24px 24px,
		linear-gradient(160deg, var(--navy-600), var(--navy-900) 70%);
}
.lz-map p { margin: 0; max-width: 52ch; font-size: .95rem; color: var(--on-dark); }
.lz-map a:not(.btn), .prose .lz-map a:not(.btn) { color: var(--white); }
.lz-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.lz-map.is-loaded { padding: 0; }

/* ---------- footer */
.site-footer { background: var(--navy-950); color: var(--on-dark-mute); padding-top: clamp(56px, 7vw, 96px); font-size: .97rem; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 56px; }
.site-footer__logo { height: 64px; width: auto; filter: brightness(0) invert(1); margin-bottom: 18px; }
.site-footer .label { color: var(--white); margin-bottom: 14px; font-size: .72rem; }
.site-footer p { margin: 0 0 .6em; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.site-footer .link-arrow { border-color: var(--red-bright); }
.site-footer .hours dt { min-width: 8.5em; }
.site-footer__base {
	display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px;
	padding-block: 22px 28px; font-size: .88rem; position: relative;
}
.site-footer__base::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); height: 1px; background: var(--line-dark); }
.site-footer__base ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 24px; }
@media (max-width: 980px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer__grid { grid-template-columns: 1fr; } }

/* ---------- mobile action bar */
.action-bar { display: none; }
@media (max-width: 760px) {
	.action-bar {
		display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
		position: fixed; inset: auto 0 0; z-index: 40;
		padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
		background: rgba(4, 13, 22, .94); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
		transform: translateY(0); transition: transform .3s var(--ease);
	}
	.action-bar.is-hidden { transform: translateY(110%); }
	.action-bar a {
		display: flex; align-items: center; justify-content: center; min-height: 50px; border-radius: var(--radius);
		font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-size: .9rem; text-decoration: none; color: var(--white);
	}
	.action-bar__call { background: var(--red); }
	.action-bar__route { border: 2px solid rgba(255, 255, 255, .4); }
	.site-footer { padding-bottom: 80px; }
}

/* ---------- error page */
.error-page { min-height: 100svh; display: flex; align-items: center; background: var(--navy-900); color: var(--on-dark); }
.error-page .display { font-size: var(--step-3); color: var(--white); margin: .4em 0 .4em; max-width: 18ch; }
.error-page .lead { color: var(--on-dark-mute); }
.error-page .label { color: var(--on-dark-mute); }

/* ---------- system messages */
#system-message-container:not(:empty) { padding-top: calc(var(--header-h) + 24px); }
joomla-alert, .alert { display: block; padding: 14px 18px; border-left: 4px solid var(--red); background: var(--white); margin-bottom: 16px; }

/* ---------- reveal on scroll (only with JS and motion allowed) */
@media (prefers-reduced-motion: no-preference) {
	.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
	.js [data-reveal].is-visible { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

@media print {
	.site-header, .action-bar, .hero__media, .site-nav { display: none !important; }
	.hero, .page-head, .section--dark, .section--visit, .site-footer { background: none !important; color: #000 !important; }
}
