/* DB Automobile – visual language matched to the previous theme, cleaned up */

:root {
	--primary: #007aff;
	--primary-dark: #0062cc;
	--primary-light: rgba(0, 122, 255, 0.1);
	--secondary: #333333;
	--light: #f8f9fa;
	--dark: #212529;
	--gray: #e9ecef;
	--card-bg: #ffffff;
	--muted: #6c757d;
	--header-height: 80px;
	--wrap: 1200px;
	--radius: 8px;
	--font: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--mono: ui-monospace, "Cascadia Mono", "Segoe UI Mono", Menlo, Consolas, monospace;
}

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

html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-height) + 1rem); }

body {
	margin: 0;
	font-family: var(--font);
	font-size: 1rem;
	line-height: 1.6;
	color: var(--dark);
	background: var(--light);
	padding-top: var(--header-height);
}

img, svg, video, iframe { display: block; max-width: 100%; height: auto; }
a { color: var(--primary); text-decoration: none; transition: color .2s, background .2s, opacity .2s; }
a:hover { color: var(--primary-dark); }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; }

h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 .75rem; color: var(--secondary); font-weight: 700; }
h1 { font-size: clamp(1.9rem, 3.5vw, 2.6rem); }
h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
h3 { font-size: 1.15rem; }
p, ul, ol, dl, table, blockquote { margin: 0 0 1rem; }
code, .mono { font-family: var(--mono); font-size: .92em; }

.screen-reader-text, .sr-only {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link:focus {
	position: fixed; left: 1rem; top: 1rem; z-index: 2000; width: auto; height: auto;
	clip: auto; padding: .6rem 1rem; background: #fff; color: var(--dark);
}

.wrap, .container { width: 90%; max-width: var(--wrap); margin-inline: auto; }
.icon { flex: none; vertical-align: middle; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
	padding: .9rem 1.6rem; border-radius: 4px; font-weight: 600; font-family: inherit;
	font-size: 1rem; border: 2px solid transparent; cursor: pointer; text-decoration: none;
	transition: background .2s, color .2s, border-color .2s, transform .15s;
}
.btn:hover { text-decoration: none; }
.btn-primary, .btn.primary, .btn-blue {
	background: var(--primary); color: #fff; border-color: var(--primary);
}
.btn-primary:hover, .btn.primary:hover, .btn-blue:hover {
	background: var(--primary-dark); border-color: var(--primary-dark); color: #fff;
}
.btn-secondary, .btn.secondary {
	background: transparent; color: #fff; border-color: #fff;
}
.btn-secondary:hover, .btn.secondary:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn-line {
	background: #fff; color: var(--primary); border-color: var(--primary);
}
.btn-line:hover { background: var(--primary); color: #fff; }
.btn-light { background: #fff; color: var(--secondary); border-color: #fff; }
.btn-light:hover { background: #f0f0f0; color: var(--secondary); }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }
.link-arrow { font-weight: 600; color: var(--primary); display: inline-flex; align-items: center; gap: .3rem; }
.link-arrow:hover { color: var(--primary-dark); }

/* ---------- Header (old blue bar) ---------- */
.topbar { display: none; } /* old site had no topbar; phone lives in header/footer */

.site-header {
	position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
	background: var(--primary);
	box-shadow: 0 2px 15px rgba(0,0,0,.12);
	height: var(--header-height);
}
.site-header .wrap {
	display: flex; align-items: center; justify-content: space-between;
	height: 100%; gap: 1rem;
}

.brand {
	display: flex; align-items: center; gap: .75rem;
	color: #fff; text-decoration: none; flex: none; height: 100%;
}
.brand:hover { color: #fff; opacity: .95; }
.brand img, .brand-logo {
	height: 64px; width: auto;
	filter: brightness(0) invert(1);
}
.brand svg { width: 56px; height: auto; color: #fff; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong {
	font-size: 1.35rem; font-weight: 700; letter-spacing: .5px;
	text-shadow: 1px 1px 3px rgba(0,0,0,.35);
}
.brand-text span { font-size: .78rem; color: rgba(255,255,255,.85); font-weight: 500; }

.nav { margin-left: auto; height: 100%; }
.nav > .menu {
	list-style: none; margin: 0; padding: 0;
	display: flex; align-items: stretch; height: 100%; gap: 0;
}
.nav > .menu > li {
	position: relative; display: flex; align-items: stretch; height: 100%;
}
.nav > .menu > li > a {
	display: flex; align-items: center; height: 100%;
	padding: 0 1.15rem; color: #fff; font-weight: 500; text-decoration: none;
	font-size: 1rem; white-space: nowrap;
}
.nav > .menu > li > a:hover {
	background: rgba(255,255,255,.2); color: #fff;
}
.nav > .menu > .current-menu-item > a,
.nav > .menu > .current-menu-ancestor > a,
.nav > .menu > .current_page_item > a,
.nav > .menu > .current_page_parent > a,
.nav > .menu > li > a[aria-current="page"] {
	background: rgba(255,255,255,.2);
	font-weight: 600;
	box-shadow: inset 0 -3px 0 #fff;
}
.nav > .menu > .menu-item-has-children > a::after {
	content: "";
	width: 0; height: 0; margin-left: .4rem;
	border-left: 4px solid transparent;
	border-right: 4px solid transparent;
	border-top: 5px solid rgba(255,255,255,.9);
}

/* Dropdowns (old white panels) */
.nav .sub-menu {
	display: none;
	position: absolute; top: 100%; left: 0;
	min-width: 220px; margin: 0; padding: .35rem 0;
	list-style: none;
	background: #fff;
	border-radius: 0 0 8px 8px;
	box-shadow: 0 10px 28px rgba(0,0,0,.18);
	z-index: 1200;
}
.nav > .menu > li:hover > .sub-menu,
.nav > .menu > li:focus-within > .sub-menu,
.nav > .menu > li.is-open > .sub-menu {
	display: block;
}
.nav .sub-menu li { margin: 0; }
.nav .sub-menu a {
	display: block; height: auto;
	padding: .8rem 1.15rem;
	color: var(--secondary); font-weight: 500;
	text-decoration: none; white-space: nowrap;
	box-shadow: none !important; background: transparent;
}
.nav .sub-menu a:hover {
	background: var(--light); color: var(--primary);
}
.nav .sub-menu .current-menu-item > a,
.nav .sub-menu a[aria-current="page"] {
	color: var(--primary); font-weight: 600;
	background: var(--primary-light);
	box-shadow: none !important;
}

/* Shop like the old SHOP button */
.nav .menu-shop {
	align-items: center; margin-left: .35rem;
}
.nav > .menu > .menu-shop > a {
	height: auto !important; align-self: center;
	margin: 0 .35rem;
	padding: .45rem 1rem !important;
	border: 1px solid #fff;
	border-radius: 4px;
	background: #fff; color: var(--primary);
	font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
	box-shadow: none !important;
}
.nav > .menu > .menu-shop > a:hover {
	background: var(--light); color: var(--primary-dark);
}
.nav .menu-shop > a::after { content: none; }

.a11y-dialog {
	border: 0; border-radius: 10px; padding: 1.25rem 1.3rem 1.15rem;
	width: min(24rem, calc(100% - 2rem));
	box-shadow: 0 18px 40px rgba(0,0,0,.28); color: var(--dark);
}
.a11y-dialog::backdrop { background: rgba(8, 20, 40, .45); }
.a11y-dialog h2 { margin: 0 0 .85rem; font-size: 1.25rem; }
.a11y-options { display: grid; gap: .35rem; }
.a11y-options label {
	display: flex; align-items: center; gap: .7rem;
	min-height: 44px; padding: .2rem .15rem; cursor: pointer;
	font-size: 1rem; font-weight: 600;
}
.a11y-options input { width: 1.15rem; height: 1.15rem; accent-color: var(--primary); }
.a11y-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1rem; }
.a11y-actions .btn { padding: .55rem 1rem; font-size: .95rem; }
.footer-bottom .a11y-open,
.footer-bottom .cookie-open {
	background: none; border: 0; padding: 0; color: inherit;
	font: inherit; cursor: pointer;
}
.footer-bottom .a11y-open:hover,
.footer-bottom .cookie-open:hover { color: #fff; text-decoration: underline; }

.cookie-bar {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 1000;
	background: #fff; color: var(--dark);
	box-shadow: 0 -8px 28px rgba(0,0,0,.18);
	padding: 1rem 1.25rem 1rem 1.25rem;
}
.cookie-bar[hidden] { display: none !important; }
.cookie-bar-inner {
	width: min(1180px, 100%); margin: 0 auto;
	display: flex; align-items: center; gap: 1.25rem;
	padding-right: 4.5rem;
}
.cookie-bar p { margin: 0; flex: 1; font-size: .95rem; line-height: 1.45; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: .5rem; flex: none; }
.cookie-actions .btn { padding: .55rem 1rem; font-size: .95rem; }
.cookie-dialog {
	border: 0; border-radius: 10px; padding: 1.25rem 1.3rem 1.15rem;
	width: min(32rem, calc(100% - 2rem));
	box-shadow: 0 18px 40px rgba(0,0,0,.28); color: var(--dark);
}
.cookie-dialog::backdrop { background: rgba(8, 20, 40, .45); }
.cookie-dialog h2 { margin: 0 0 .6rem; font-size: 1.25rem; }
.cookie-dialog > p { margin: 0 0 .85rem; }
.cookie-choice {
	display: flex; align-items: flex-start; gap: .7rem;
	padding: .45rem 0; cursor: pointer;
}
.cookie-choice input { width: 1.15rem; height: 1.15rem; margin-top: .2rem; accent-color: var(--primary); flex: none; }
.cookie-choice span { font-size: .95rem; line-height: 1.4; }
.cookie-choice strong { font-weight: 700; }
.cookie-dialog .cookie-actions { margin-top: 1rem; }
body.has-cookie-bar { padding-bottom: 8rem; }
body.has-cookie-bar .whatsapp-float { bottom: 8.5rem; }
@media (max-width: 800px) {
	.cookie-bar-inner { flex-direction: column; align-items: stretch; padding-right: 0; }
	.cookie-actions .btn { flex: 1 1 auto; }
	body.has-cookie-bar { padding-bottom: 16rem; }
	body.has-cookie-bar .whatsapp-float { bottom: 16rem; }
}

html.a11y-text { font-size: 118%; }
html.a11y-links a:not(.btn):not(.brand):not(.whatsapp-float) {
	text-decoration: underline; text-underline-offset: .16em;
}
html.a11y-contrast { --muted: #222; --dark: #000; --secondary: #000; }
html.a11y-contrast body { color: #000; }
html.a11y-contrast :focus-visible { outline: 3px solid #ffe14a; outline-offset: 2px; }
html.a11y-motion *, html.a11y-motion *::before, html.a11y-motion *::after {
	animation: none !important; transition: none !important; scroll-behavior: auto !important;
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

.lang-switch { position: relative; flex: none; }
.lang-switch-btn {
	display: inline-flex; align-items: center; gap: .35rem;
	background: rgba(255,255,255,.12); color: #fff;
	border: 1px solid rgba(255,255,255,.65); border-radius: 4px;
	padding: .45rem .7rem; cursor: pointer;
	font: 700 .82rem var(--font); letter-spacing: .04em;
}
.lang-switch-btn::after {
	content: "";
	border-left: 4px solid transparent;
	border-right: 4px solid transparent;
	border-top: 5px solid currentColor;
}
.lang-switch-btn:hover,
.lang-switch.is-open .lang-switch-btn { background: #fff; color: var(--primary); }
.lang-name { font-weight: 600; letter-spacing: 0; text-transform: none; }
.lang-menu {
	display: none;
	position: absolute; top: calc(100% + .45rem); right: 0;
	width: 220px; max-height: min(70vh, 420px); overflow: auto;
	margin: 0; padding: .35rem 0; list-style: none;
	background: #fff; border-radius: 0 0 8px 8px;
	box-shadow: 0 10px 28px rgba(0,0,0,.18); z-index: 1300;
}
.lang-switch.is-open .lang-menu { display: block; }
.lang-menu button {
	display: block; width: 100%; text-align: left;
	background: none; border: 0; cursor: pointer;
	padding: .55rem 1rem; color: var(--secondary);
	font: 500 .95rem var(--font);
}
.lang-menu button:hover { background: var(--light); color: var(--primary); }
.lang-menu button[aria-selected="true"] {
	color: var(--primary); font-weight: 700; background: var(--primary-light);
}
#google_translate_element { position: absolute; width: 1px; height: 1px; overflow: hidden; }
iframe.skiptranslate, .goog-te-banner-frame, #goog-gt-tt, .goog-te-balloon-frame { display: none !important; }
body { top: 0 !important; }
.goog-text-highlight { background: none !important; box-shadow: none !important; }

.menu-toggle {
	display: none; background: none; border: 1px solid rgba(255,255,255,.45);
	color: #fff; width: 44px; height: 44px; padding: 0; border-radius: 8px;
	cursor: pointer; align-items: center; justify-content: center;
	font: 600 .95rem var(--font);
}
.menu-toggle .icon { stroke: #fff; }
.menu-toggle .icon-x { display: none; }
.nav-open .menu-toggle { background: #fff; border-color: #fff; color: var(--primary); }
.nav-open .menu-toggle .icon-menu { display: none; }
.nav-open .menu-toggle .icon-x { display: block; stroke: var(--primary); }
.submenu-toggle {
	display: none; background: none; border: 0; color: #fff;
	padding: .75rem; cursor: pointer; margin-left: auto;
}
.submenu-toggle::before {
	content: ""; display: block;
	border-left: 5px solid transparent;
	border-right: 5px solid transparent;
	border-top: 6px solid #fff;
	transition: transform .2s;
}
.is-open > .submenu-toggle::before { transform: rotate(180deg); }

@media (max-width: 1100px) {
	.lang-name { display: none; }
	.brand-text span { display: none; }
	.nav > .menu > li > a { padding: 0 .85rem; font-size: .95rem; }
}
@media (max-width: 920px) {
	:root { --header-height: 64px; }
	.brand img, .brand-logo { height: 52px; }
	.brand-text strong { font-size: 1.1rem; }
	.brand { order: 1; }
	.lang-switch { order: 2; margin-left: auto; }
	.lang-switch-btn { padding: .4rem .55rem; }
	.site-header .wrap { position: relative; }
	.menu-toggle { display: inline-flex; order: 3; margin-left: .35rem; }
	.menu-toggle span {
		position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
		overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
	}
	.nav {
		position: absolute; top: calc(100% + .45rem); right: 0; left: auto;
		width: min(17.5rem, calc(100vw - 1.75rem));
		max-height: min(70vh, 28rem);
		background: #fff; color: var(--secondary);
		padding: .35rem 0 .45rem; margin: 0;
		overflow-y: auto; display: none; height: auto;
		border-radius: 12px;
		box-shadow: 0 16px 40px rgba(8, 20, 40, .22);
	}
	.nav-open .nav { display: block; }
	.nav > .menu { flex-direction: column; height: auto; align-items: stretch; }
	.nav > .menu > li {
		flex-wrap: wrap; height: auto; border-bottom: 1px solid #eef0f3;
	}
	.nav > .menu > li:last-child { border-bottom: 0; }
	.nav > .menu > li > a {
		height: auto; padding: .8rem 1rem; flex: 1;
		color: var(--secondary); font-weight: 600;
		box-shadow: none !important;
	}
	.nav > .menu > li > a:hover { background: var(--light); color: var(--primary); }
	.nav > .menu > .current-menu-item > a,
	.nav > .menu > .current-menu-ancestor > a,
	.nav > .menu > li > a[aria-current="page"] {
		background: var(--primary-light); color: var(--primary);
		box-shadow: none !important;
	}
	.nav > .menu > .menu-item-has-children > a::after { display: none; }
	.submenu-toggle {
		display: inline-flex; align-items: center; justify-content: center;
		min-width: 44px; min-height: 44px; color: var(--secondary);
	}
	.submenu-toggle::before { border-top-color: currentColor; }
	.nav > .menu > li:hover > .sub-menu,
	.nav > .menu > li:focus-within > .sub-menu { display: none; }
	.nav .sub-menu {
		position: static; display: none; width: 100%; min-width: 0;
		background: #f4f7fb; box-shadow: none;
		border-radius: 0; padding: .15rem 0;
	}
	.nav > .menu > li.is-open > .sub-menu { display: block; }
	.nav .sub-menu a {
		color: var(--secondary); padding: .7rem 1rem .7rem 1.35rem;
		border-bottom: 0; white-space: normal; font-weight: 500;
	}
	.nav .sub-menu a:hover,
	.nav .sub-menu .current-menu-item > a,
	.nav .sub-menu a[aria-current="page"] {
		background: transparent; color: var(--primary);
	}
	.nav .menu-shop {
		margin: .45rem .75rem .15rem; border-bottom: 0; height: auto;
	}
	.nav .menu-shop > a {
		width: 100%; justify-content: center; margin: 0;
		border-color: var(--primary);
	}
	.nav-mobile-extra {
		display: block; margin: .15rem 0 0; padding: .7rem 1rem .35rem;
		border-top: 1px solid #eef0f3;
	}
	.nav-mobile-extra .btn {
		width: auto; justify-content: flex-start;
		padding: 0; border: 0; background: none;
		color: var(--primary); font-weight: 600;
	}
	.nav-mobile-extra .btn:hover { background: none; color: var(--primary-dark); }
	.nav-mobile-extra .icon { stroke: currentColor; }
}
@media (min-width: 921px) {
	.nav-mobile-extra, .submenu-toggle { display: none; }
}

/* ---------- Sections ---------- */
.section { padding: 4rem 0; }
.section-tight { padding: 3rem 0; }
/* Dark panels so the page isn’t flat white */
.section-white {
	background: #1f2833;
	color: rgba(255, 255, 255, .88);
}
.section-white h2,
.section-white h3 { color: #fff; }
.section-white .section-head {
	background: rgba(255, 255, 255, .08);
	border-color: rgba(255, 255, 255, .12);
	border-top-color: var(--primary);
	box-shadow: none;
}
.section-white .section-head h2 { color: #fff; }
.section-white .section-head p { color: rgba(255, 255, 255, .75); }
.section-white .section-head h2::after {
	background: linear-gradient(90deg, transparent, #7eb6ff, transparent);
}
.section-white .steps h3 { color: #fff; }
.section-white .steps p { color: rgba(255, 255, 255, .72); }
.section-white .services-more .link-arrow { color: #9cc8ff; }
.section-white .services-more .link-arrow:hover { color: #fff; }
.section-white .label { color: #9cc8ff; }
.section-white .machine h3 { color: #fff; }
.section-white .machine p { color: rgba(255, 255, 255, .72); }
.section-white .values { border-top-color: rgba(255, 255, 255, .25); }
.section-white .values div { border-bottom-color: rgba(255, 255, 255, .12); }
.section-white .values h3 { color: #fff; }
.section-white .values p { color: rgba(255, 255, 255, .72); }

.section-dark, .cta-section {
	background: var(--secondary); color: #fff;
}
.section-dark h2, .section-dark h3,
.cta-section h2, .cta-section h3 { color: #fff; }
.section-blue, .standort-section {
	background: var(--primary); color: #fff;
}
.section-blue h2, .standort-section h2 { color: #fff; }

/* Section title panel – matches card language */
.section-head {
	text-align: center;
	max-width: 760px;
	margin: 0 auto 2.75rem;
	background: #fff;
	border-radius: 10px;
	padding: 1.55rem 2rem 1.65rem;
	box-shadow: 0 2px 12px rgba(0, 0, 0, .08);
	border: 1px solid rgba(0, 0, 0, .06);
	border-top: 5px solid var(--primary);
}
.specialized-section .section-head {
	background: #fff;
	box-shadow: 0 2px 12px rgba(0, 0, 0, .08);
}
.section-head h2 {
	margin: 0 0 .55rem;
	display: inline-block;
	position: relative;
	padding-bottom: .65rem;
}
.section-head h2::after {
	content: "";
	display: block;
	position: absolute;
	left: 50%;
	bottom: 0;
	transform: translateX(-50%);
	width: 72px;
	height: 3px;
	border-radius: 2px;
	background: linear-gradient(90deg, transparent, var(--primary), transparent);
}
.section-head p {
	color: var(--muted);
	margin: .85rem auto 0;
	max-width: 54ch;
	font-size: 1.02rem;
}
.section-blue .section-head,
.standort-section .section-head {
	background: rgba(255, 255, 255, .14);
	border-top-color: #fff;
	box-shadow: none;
}
.section-blue .section-head h2,
.standort-section .section-head h2 { color: #fff; }
.section-blue .section-head h2::after,
.standort-section .section-head h2::after {
	background: linear-gradient(90deg, transparent, #fff, transparent);
}
.section-blue .section-head p,
.standort-section .section-head p { color: rgba(255, 255, 255, .9); }

.section-head-split {
	display: flex; justify-content: space-between; align-items: end;
	gap: 1.5rem; text-align: left; max-width: none; flex-wrap: wrap;
	padding: 1.35rem 1.6rem;
}
.section-head-split h2 {
	display: block;
	padding-bottom: .55rem;
}
.section-head-split h2::after {
	left: 0; transform: none; width: 56px;
	background: var(--primary);
}
.section-head-split > div { max-width: 640px; }
.section-head-split > div p { margin-left: 0; }

@media (max-width: 560px) {
	.section-head { padding: 1.25rem 1.15rem 1.35rem; border-radius: 10px; }
}

.label {
	display: inline-block; font-size: .8rem; font-weight: 600;
	text-transform: uppercase; letter-spacing: .04em; color: var(--primary); margin-bottom: .5rem;
}
.label-blue { color: var(--primary); }
.section-blue .label, .standort-section .label, .hero .label { color: rgba(255,255,255,.85); }

/* ---------- Home hero ---------- */
.hero, .hero-section {
	background: linear-gradient(180deg, var(--primary) 0%, #001a33 100%);
	color: #fff; padding: 5.5rem 0 4.5rem; text-align: center;
}
.hero .wrap { display: block; }
.hero h1, .hero-section h1 {
	color: #fff; font-size: clamp(2rem, 4.5vw, 2.8rem); margin-bottom: 1.25rem;
}
.hero h1 em { font-style: normal; color: #fff; }
.hero .lead, .hero-content p {
	font-size: 1.15rem; max-width: 700px; margin: 0 auto 1.75rem;
	color: rgba(255,255,255,.92);
}
.hero .btn-row, .hero-buttons {
	display: flex; justify-content: center; flex-wrap: wrap; gap: 1rem; margin: 1.5rem 0 0;
}
.hero-media { display: none; } /* old home was text-only hero */

@media (max-width: 560px) {
	.hero, .hero-section { padding: 3.5rem 0 3rem; }
}

/* ---------- Quick links (old style) ---------- */
.quick-links-section { background: var(--light); padding: 2.5rem 0 3rem; }
.quick-links-grid {
	display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem;
	max-width: 1000px; margin: 0 auto;
}
.quick-link-btn {
	display: flex; align-items: center; gap: 1rem;
	padding: 1rem 1.35rem;
	background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
	border-radius: 10px; color: #fff; text-decoration: none;
	box-shadow: 0 4px 15px rgba(0, 122, 255, .28);
	transition: transform .2s, box-shadow .2s;
}
.quick-link-btn:hover {
	transform: translateY(-2px); color: #fff;
	box-shadow: 0 6px 20px rgba(0, 122, 255, .4);
}
.quick-link-icon {
	width: 42px; height: 42px; border-radius: 8px;
	background: rgba(255,255,255,.18); display: grid; place-items: center;
	flex: none; color: #fff;
}
.quick-link-icon .icon {
	width: 24px; height: 24px; stroke: #fff; color: #fff;
}
.quick-link-text h3 {
	margin: 0 0 .15rem; font-size: .95rem; color: #fff;
	text-transform: uppercase; letter-spacing: .4px; font-weight: 700;
}
.quick-link-text p { margin: 0; font-size: .85rem; color: rgba(255,255,255,.88); font-weight: 400; }
@media (max-width: 800px) { .quick-links-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .quick-links-grid { grid-template-columns: 1fr; } }

/* ---------- Service cards ---------- */
.services-grid {
	display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}
.service-card {
	background: var(--card-bg); border-radius: var(--radius); overflow: hidden;
	box-shadow: 0 2px 12px rgba(0,0,0,.08); display: flex; flex-direction: column;
	transition: transform .2s, box-shadow .2s;
}
.service-card:hover {
	transform: translateY(-3px); box-shadow: 0 8px 22px rgba(0,0,0,.12);
}
.service-card a.card-link { color: inherit; text-decoration: none; display: flex; flex-direction: column; height: 100%; }
.service-image { aspect-ratio: 16 / 10; overflow: hidden; background: var(--gray); }
.service-image img { width: 100%; height: 100%; object-fit: cover; }
.service-image--contain img { object-fit: contain; padding: .75rem; }
.service-image--studio { background: #fff; }
.service-content { padding: 1.25rem 1.35rem 1.5rem; flex: 1; display: flex; flex-direction: column; }
.service-content h3 { margin-bottom: .5rem; color: var(--secondary); }
.service-content p { color: var(--muted); font-size: .95rem; flex: 1; }
.service-btn {
	display: inline-block; margin-top: .75rem; color: var(--primary); font-weight: 600; font-size: .95rem;
}
.service-card:hover .service-btn { color: var(--primary-dark); }
.services-more { text-align: center; margin: 2rem 0 0; }
@media (max-width: 900px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .services-grid { grid-template-columns: 1fr; } }

/* Specialized services */
.specialized-section { background: var(--light); }
.specialized-grid {
	display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}
.specialized-card {
	background: #fff; border-radius: var(--radius); overflow: hidden;
	box-shadow: 0 2px 12px rgba(0,0,0,.08);
	transition: transform .2s, box-shadow .2s;
}
.specialized-card:hover {
	transform: translateY(-3px); box-shadow: 0 8px 22px rgba(0,0,0,.12);
}
.specialized-card a.card-link {
	color: inherit; text-decoration: none; display: flex; flex-direction: column; height: 100%;
}
.specialized-image {
	aspect-ratio: 16 / 10; overflow: hidden; background: #fff;
	display: grid; place-items: center; padding: 1rem;
}
.specialized-image img { max-height: 100%; width: auto; object-fit: contain; }
.specialized-content { padding: 1.25rem 1.35rem 1.5rem; flex: 1; display: flex; flex-direction: column; }
.specialized-content h3 { margin-bottom: .5rem; }
.specialized-content p { color: var(--muted); font-size: .95rem; flex: 1; }
@media (max-width: 900px) { .specialized-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; } }

/* Home service list fallback (if used) */
.service-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 2rem; border-top: 2px solid var(--secondary); }
.service-list li { border-bottom: 1px solid var(--gray); }
.service-list a {
	display: grid; grid-template-columns: 2.4rem 1fr auto; gap: .35rem .9rem;
	padding: 1rem 0; text-decoration: none; color: var(--dark); align-items: baseline;
}
.service-list .num { font-family: var(--mono); font-size: .8rem; color: var(--muted); }
.service-list strong { font-size: 1.05rem; }
.service-list p { grid-column: 2; margin: 0; color: var(--muted); font-size: .93rem; }
.service-list a:hover strong { color: var(--primary); }
.more-services { margin-top: 1.4rem; color: var(--muted); font-size: .95rem; display: flex; flex-wrap: wrap; gap: .4rem 1rem; }
.more-services a { color: var(--secondary); font-weight: 600; }
@media (max-width: 700px) { .service-list { grid-template-columns: 1fr; } }

/* ---------- Process steps ---------- */
.steps, .process-steps {
	list-style: none; margin: 0; padding: 0;
	display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
}
.steps li, .process-step { text-align: center; padding: .5rem; }
.steps li::before, .step-number {
	counter-increment: none;
	content: none;
}
.steps li {
	position: relative; padding-top: 0;
}
.steps .step-num, .step-number {
	background: var(--primary); color: #fff; width: 40px; height: 40px;
	border-radius: 50%; display: flex; align-items: center; justify-content: center;
	margin: 0 auto 1rem; font-weight: 700;
}
.steps h3, .process-step h3 { color: var(--secondary); margin-bottom: .5rem; font-size: 1.1rem; }
.steps p, .process-step p { color: var(--muted); margin: 0; font-size: .95rem; }
@media (max-width: 900px) { .steps, .process-steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .steps, .process-steps { grid-template-columns: 1fr; } }

/* ---------- Einsenden / photo / wissen ---------- */
.einsenden {
	display: grid; grid-template-columns: 1.1fr .9fr; gap: 2.5rem; align-items: center;
}
.einsenden figure { margin: 0; }
.einsenden img { border-radius: var(--radius); width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.einsenden ol { padding-left: 1.2rem; }
.einsenden ol li { margin-bottom: .45rem; }
.einsenden-actions { margin-top: 1.5rem; }
@media (max-width: 800px) { .einsenden { grid-template-columns: 1fr; } }

.photo-strip {
	display: grid; grid-template-columns: repeat(4, 1fr); gap: .75rem;
}
.photo-strip figure:first-child { grid-column: span 2; grid-row: span 2; }
.photo-strip img { width: 100%; height: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); }
@media (max-width: 700px) { .photo-strip { grid-template-columns: repeat(2, 1fr); } }

.photo { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius); background: var(--gray); }
.photo a { display: block; height: 100%; }
.photo img { transition: transform .35s ease; width: 100%; }
.photo a:hover img { transform: scale(1.03); }
.photo figcaption {
	position: absolute; inset: auto 0 0 0; padding: 1.4rem .75rem .55rem;
	background: linear-gradient(transparent, rgba(0,0,0,.75));
	color: #fff; font-size: .85rem; pointer-events: none;
}

.wissen-grid {
	display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 2rem;
}
.wissen-grid h3 {
	font-size: .85rem; text-transform: uppercase; letter-spacing: .04em;
	color: var(--primary); border-bottom: 2px solid var(--primary); padding-bottom: .5rem; margin-bottom: .25rem;
}
.wissen-grid ul { list-style: none; margin: 0 0 1rem; padding: 0; }
.wissen-grid li a {
	display: flex; justify-content: space-between; gap: .75rem;
	padding: .55rem 0; border-bottom: 1px solid var(--gray);
	color: var(--dark); font-weight: 500;
}
.wissen-grid li a:hover { color: var(--primary); }
.wissen-grid li a code { color: var(--muted); font-size: .78rem; font-weight: 400; }
.marken { display: flex; flex-wrap: wrap; gap: .45rem; padding-top: .75rem; }
.marken a {
	border: 1px solid var(--gray); border-radius: 4px; padding: .35rem .65rem;
	background: #fff; color: var(--secondary); font-weight: 600; font-size: .9rem;
}
.marken a:hover { border-color: var(--primary); color: var(--primary); }
@media (max-width: 900px) { .wissen-grid { grid-template-columns: 1fr; } }

/* Standort / map on blue */
.standort {
	display: grid; grid-template-columns: 1fr 1.3fr; gap: 2rem; align-items: start;
}
.standort address { font-style: normal; font-size: 1.1rem; margin-bottom: 1rem; color: #fff; }
.standort dl { display: grid; grid-template-columns: max-content 1fr; gap: .25rem 1.25rem; margin: 0 0 1.25rem; }
.standort dt { color: rgba(255,255,255,.75); }
.standort dd { margin: 0; color: #fff; }
.standort p { color: rgba(255,255,255,.9); }
@media (max-width: 800px) { .standort { grid-template-columns: 1fr; } }

.map {
	position: relative; min-height: 300px; border-radius: var(--radius); overflow: hidden;
	background: #003d7a url("../img/map-bg.jpg") center / cover;
}
.map::before { content: ""; position: absolute; inset: 0; background: rgba(0,40,80,.55); }
.map-consent {
	position: relative; min-height: 300px; display: grid; place-content: center;
	text-align: center; color: #fff; padding: 2rem; gap: .85rem; z-index: 1;
}
.map-consent p { margin: 0 auto; max-width: 36ch; font-size: .95rem; }
.map-consent .btn { justify-self: center; }
.map-consent a { color: #fff; text-decoration: underline; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 2; }

.trust {
	display: grid; grid-template-columns: auto 1fr; gap: 1.5rem; align-items: center;
	background: #fff; border-radius: var(--radius); padding: 1.5rem;
	box-shadow: 0 2px 10px rgba(0,0,0,.06);
}
.trust img { width: 72px; }
.trust p { margin: 0; color: var(--muted); }
.trust strong { color: var(--secondary); }

/* CTA band */
.kontakt-band, .cta-section { background: var(--secondary); color: #fff; }
.kontakt-band .wrap, .cta-content {
	display: grid; gap: 1.25rem; padding-block: 2.75rem; text-align: center;
	justify-items: center; max-width: 720px; margin: 0 auto;
}
.kontakt-band h2, .cta-content h2 { color: #fff; margin: 0; }
.kontakt-band p, .cta-content p { color: rgba(255,255,255,.9); margin: 0; }
.kontakt-band .btn-row, .cta-section .btn-row { justify-content: center; }
.kontakt-band .btn-line, .cta-section .btn-line {
	background: transparent; color: #fff; border-color: #fff;
}
.kontakt-band .btn-line:hover, .cta-section .btn-line:hover {
	background: rgba(255,255,255,.12); color: #fff;
}

/* ---------- Page heads ---------- */
.breadcrumbs { font-size: .88rem; color: var(--muted); margin-bottom: 1rem; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .3rem; margin: 0; padding: 0; }
.breadcrumbs li + li::before { content: "/"; margin-right: .3rem; color: #adb5bd; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--primary); }

.page-head {
	background: linear-gradient(165deg, var(--primary) 0%, #0051b3 48%, #001a33 100%);
	color: #fff;
	padding: 2.6rem 0 2.35rem;
	border: 0;
	margin: 0;
}
.page-head + .wrap { padding-top: 1.85rem; }
.page-head .breadcrumbs,
.page-head .breadcrumbs a { color: rgba(255,255,255,.78); }
.page-head .breadcrumbs a:hover { color: #fff; }
.page-head .breadcrumbs li + li::before { color: rgba(255,255,255,.45); }
.page-head .label {
	color: #fff;
	background: rgba(255,255,255,.14);
	border: 1px solid rgba(255,255,255,.22);
	border-radius: 999px;
	padding: .3rem .75rem;
	margin-bottom: .85rem;
}
.page-head h1 {
	color: #fff;
	max-width: none;
	font-size: clamp(2rem, 4vw, 2.75rem);
	margin: 0 0 .8rem;
}
.page-head .lead { font-size: 1.12rem; color: rgba(255,255,255,.92); max-width: 68ch; margin: 0; }
.page-head-media {
	display: grid; grid-template-columns: 1.15fr .85fr; gap: 2rem; align-items: end;
}
.page-head-media figure { margin: 0; }
.page-head-media img {
	width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius);
	box-shadow: 0 4px 14px rgba(0,0,0,.1);
}
.page-head-media figcaption { margin-top: .4rem; font-size: .8rem; color: var(--muted); }
@media (max-width: 800px) { .page-head-media { grid-template-columns: 1fr; } }

/* ---------- Article / leistung pages ---------- */
.article-hero {
	background: linear-gradient(165deg, var(--primary) 0%, #0051b3 48%, #001a33 100%);
	color: #fff;
	padding: 2.75rem 0 3rem;
	position: relative;
	overflow: hidden;
}
.article-hero::before {
	content: "";
	position: absolute; inset: auto -10% -40% 40%;
	height: 120%;
	background: radial-gradient(circle at center, rgba(255,255,255,.12), transparent 60%);
	pointer-events: none;
}
.article-hero-grid {
	position: relative; z-index: 1;
	display: grid; grid-template-columns: 1.15fr .95fr;
	gap: 2.5rem; align-items: center;
}
.article-hero-grid--solo { grid-template-columns: 1fr; max-width: 760px; }
.article-hero .breadcrumbs,
.article-hero .breadcrumbs a { color: rgba(255,255,255,.78); }
.article-hero .breadcrumbs a:hover { color: #fff; }
.article-hero .breadcrumbs li + li::before { color: rgba(255,255,255,.45); }
.article-kicker {
	display: inline-block;
	margin: .35rem 0 .75rem;
	padding: .35rem .75rem;
	border-radius: 999px;
	background: rgba(255,255,255,.14);
	border: 1px solid rgba(255,255,255,.22);
	font-size: .78rem; font-weight: 700;
	letter-spacing: .04em; text-transform: uppercase;
	color: #fff;
}
.article-hero h1 {
	color: #fff; max-width: 16ch;
	font-size: clamp(2rem, 4vw, 2.85rem);
	margin: 0 0 1rem;
	text-shadow: 0 2px 18px rgba(0,0,0,.25);
}
.article-hero .lead {
	color: rgba(255,255,255,.92);
	font-size: 1.12rem; max-width: 42ch; margin: 0 0 1.4rem;
}
.article-meta { color: rgba(255,255,255,.75); font-size: .92rem; margin: 0 0 1rem; }
.article-hero-actions { margin-top: .25rem; }
.article-hero-media {
	margin: 0; position: relative;
	border-radius: 14px; overflow: hidden;
	box-shadow: 0 18px 40px rgba(0,0,0,.35);
	border: 1px solid rgba(255,255,255,.18);
	background: #0b1c33;
	transform: rotate(-1.25deg);
}
.article-hero-media img {
	width: 100%; aspect-ratio: 4/3; object-fit: cover;
	display: block;
}
.article-hero-media--plain { background: #fff; }
.article-hero-media--plain img { object-fit: contain; background: #fff; padding: .85rem; }
.article-hero-media--contain img { object-fit: contain; background: #0b1c33; }
.article-hero-media figcaption {
	position: absolute; left: 0; right: 0; bottom: 0;
	padding: 1.5rem .9rem .65rem;
	background: linear-gradient(transparent, rgba(0,0,0,.7));
	color: #fff; font-size: .82rem;
}
@media (max-width: 900px) {
	.article-hero-grid { grid-template-columns: 1fr; gap: 1.75rem; }
	.article-hero-media { transform: none; max-width: 520px; }
	.article-hero h1 { max-width: none; }
}

.article-shell {
	background: linear-gradient(180deg, #eef1f5 0%, var(--light) 220px);
	padding: 1.75rem 0 2.5rem;
}
.article-layout {
	display: grid; grid-template-columns: 1fr;
	gap: 2rem; padding: 2rem 0 3.25rem;
}
.article-side { display: none; }
.sidebar-sticky { display: grid; gap: 1.25rem; }
@media (min-width: 901px) {
	.article-read {
		display: grid;
		grid-template-columns: minmax(0, 1fr) 320px;
		gap: 1.5rem;
		align-items: start;
	}
	.article-read > .prose { max-width: none; }
	.article-side {
		display: block;
		position: sticky;
		top: 1.25rem;
	}
	.article-hero--ratgeber ~ .related-cards-section,
	.article-hero--getriebe ~ .related-cards-section,
	.article-hero--leistung ~ .related-cards-section { display: none; }
	.article-hero--ratgeber .article-hero-grid--solo,
	.article-hero--getriebe .article-hero-grid--solo,
	.article-hero--leistung .article-hero-grid--solo { max-width: var(--wrap); }
	.article-hero--ratgeber h1,
	.article-hero--getriebe h1,
	.article-hero--leistung h1 { max-width: none; }
	.article-hero--ratgeber .lead,
	.article-hero--getriebe .lead,
	.article-hero--leistung .lead { max-width: 68ch; }
	.article-side .side-links a { display: grid; gap: .15rem; }
	.article-side .side-links small { font-weight: 500; color: var(--muted); font-size: .82rem; }
}

.article-panel {
	background: #fff;
	border-radius: 12px;
	padding: clamp(1.4rem, 3vw, 2.25rem);
	box-shadow: 0 8px 28px rgba(15, 23, 42, .08);
	border: 1px solid rgba(15, 23, 42, .06);
	max-width: none;
}
.article-panel--wide {
	width: 100%;
	max-width: none;
	font-size: 1.05rem;
	line-height: 1.65;
}
.article-panel--wide p,
.article-panel--wide ul,
.article-panel--wide ol {
	max-width: none;
	margin-bottom: .85rem;
}
.article-panel h2 {
	margin-top: 1.5em;
	padding-bottom: .45rem;
	border-bottom: 2px solid var(--primary-light);
}
.article-panel h2:first-child { margin-top: 0; }
.repair-ask {
	margin-top: 1.4rem;
	padding: 1.15rem 1.2rem;
	background: #f2f7ff;
	border: 1px solid rgba(0, 122, 255, .22);
	border-radius: 10px;
}
.repair-ask h2 {
	margin: 0 0 .35rem;
	padding: 0;
	border: 0;
	font-size: 1.2rem;
}
.repair-ask p { margin: 0 0 .9rem; }
.article-panel h3 {
	margin-top: 1.15em;
	padding-left: .85rem;
	border-left: 3px solid var(--primary);
}
.service-groups {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: .15rem 1.75rem;
	margin: .2rem 0 1.15rem;
}
.service-groups h3 { margin-top: .85rem; }
.service-notes {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: .85rem;
	margin: .5rem 0 1.2rem;
}
.service-notes > div {
	background: #f4f7fb;
	border-radius: 8px;
	padding: .95rem 1.05rem .15rem;
}
.service-notes h3 {
	margin-top: 0;
	padding-left: 0;
	border-left: 0;
	font-size: 1.05rem;
}
.service-notes p { margin: 0 0 .85rem; color: var(--muted); }
@media (max-width: 800px) {
	.service-groups,
	.service-notes { grid-template-columns: 1fr; }
}

.side-links {
	background: #fff; border-radius: var(--radius); padding: 1.1rem 1.25rem;
	box-shadow: 0 2px 10px rgba(0,0,0,.06); border-top: 4px solid var(--primary);
}
.side-links h2 {
	font-size: .8rem; text-transform: uppercase; letter-spacing: .04em;
	color: var(--primary); margin: 0 0 .55rem; font-weight: 700;
}
.side-links ul { list-style: none; margin: 0; padding: 0; }
.side-links a {
	display: flex; align-items: center; gap: .5rem;
	padding: .55rem 0; border-bottom: 1px solid var(--gray);
	color: var(--secondary); font-weight: 600;
}
.side-links a:hover { color: var(--primary); }
.side-links li:last-child a { border-bottom: 0; }

.related-cards-section { background: #fff; }
.related-cards {
	display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem;
}
.related-card {
	display: flex; flex-direction: column;
	background: var(--card-bg); border-radius: var(--radius); overflow: hidden;
	box-shadow: 0 2px 12px rgba(0,0,0,.08);
	color: inherit; text-decoration: none;
	transition: transform .2s, box-shadow .2s;
}
.related-card:hover {
	transform: translateY(-3px); box-shadow: 0 8px 22px rgba(0,0,0,.12); color: inherit;
}
.related-card-media { aspect-ratio: 16/10; background: var(--gray); overflow: hidden; }
.related-card-media img { width: 100%; height: 100%; object-fit: cover; }
.related-card-body { padding: 1rem 1.15rem 1.25rem; display: grid; gap: .35rem; }
.related-card-body strong { color: var(--secondary); }
.related-card-body span { color: var(--muted); font-size: .92rem; }
.related-card:hover strong { color: var(--primary); }
@media (max-width: 900px) { .related-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .related-cards { grid-template-columns: 1fr; } }

.prose { max-width: 70ch; }
.prose--full { max-width: none; }
.prose > :first-child { margin-top: 0; }
.prose h2 { margin-top: 2em; color: var(--secondary); }
.prose h3 { margin-top: 1.5em; }
.prose ul, .prose ol { padding-left: 1.25rem; }
.prose li { margin-bottom: .3em; }
.prose a { font-weight: 600; }
.prose img {
	border-radius: var(--radius);
	box-shadow: 0 4px 16px rgba(0,0,0,.08);
}
.prose figure { margin: 1.4rem 0 1.6rem; }
.prose figure img { width: 100%; height: auto; display: block; }
.prose figcaption { margin-top: .45rem; font-size: .9rem; color: var(--muted); }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; display: block; overflow-x: auto; }
@media (min-width: 700px) { .prose table { display: table; } }
.prose th, .prose td { padding: .55rem .7rem .55rem 0; border-bottom: 1px solid var(--gray); text-align: left; vertical-align: top; }
.prose thead th { border-bottom: 2px solid var(--secondary); }

.hinweis, .prose aside.hinweis {
	margin: 1.5em 0; padding: 1rem 1.15rem;
	background: var(--primary-light); border-left: 4px solid var(--primary);
	border-radius: 0 4px 4px 0;
}
.hinweis p:last-child { margin-bottom: 0; }

dl.eckdaten, .prose dl.eckdaten {
	display: grid; grid-template-columns: max-content 1fr; gap: 0;
	margin: 1.4em 0 1.8em; border-top: 2px solid var(--secondary); font-size: .95rem;
}
dl.eckdaten dt, dl.eckdaten dd { padding: .5rem 0; border-bottom: 1px solid var(--gray); margin: 0; }
dl.eckdaten dt {
	font-size: .8rem; text-transform: uppercase; letter-spacing: .03em;
	color: var(--muted); padding-right: 1.25rem; font-weight: 600;
}
@media (max-width: 520px) {
	dl.eckdaten { grid-template-columns: 1fr; }
	dl.eckdaten dt { border-bottom: 0; padding-bottom: 0; }
}

.kontaktbox {
	background: #fff; border-radius: var(--radius); padding: 1.35rem;
	box-shadow: 0 2px 12px rgba(0,0,0,.08); border-top: 4px solid var(--primary);
}
.kontaktbox h2, .kontaktbox h3 { font-size: 1.1rem; margin-bottom: .4rem; }
.kontaktbox p { color: var(--muted); font-size: .95rem; }
.kontaktbox .tel {
	display: flex; align-items: center; gap: .45rem;
	font-size: 1.3rem; font-weight: 700; color: var(--secondary); margin: .35rem 0 .15rem;
}
.kontaktbox .tel:hover { color: var(--primary); }
.kontaktbox .zeiten { font-size: .85rem; margin-bottom: 1rem; }
.kontaktbox .btn-row { flex-direction: column; }
.kontaktbox .btn { width: 100%; justify-content: center; }

.related { background: #fff; border-radius: var(--radius); padding: 1.1rem 1.25rem; box-shadow: 0 2px 10px rgba(0,0,0,.06); }
.related h2, .related h3 {
	font-size: .8rem; text-transform: uppercase; letter-spacing: .04em;
	color: var(--primary); margin: 0 0 .5rem; font-weight: 700;
}
.related ul { list-style: none; margin: 0; padding: 0; }
.related li a {
	display: block; padding: .5rem 0; border-bottom: 1px solid var(--gray);
	color: var(--secondary); font-weight: 600; font-size: .95rem;
}
.related li a:hover { color: var(--primary); }
.related li a span { display: block; font-family: var(--mono); font-size: .75rem; color: var(--muted); font-weight: 400; }

/* Index pages */
.index-group {
	display: grid; grid-template-columns: 200px 1fr; gap: 1rem 2rem;
	padding: 1.75rem 0; border-top: 1px solid var(--gray);
}
.index-group:first-of-type { border-top: 2px solid var(--secondary); }
.index-group > h2 { font-size: 1.05rem; margin: .2rem 0 0; }
.index-group > h2 small { display: block; font-size: .75rem; color: var(--muted); font-weight: 500; margin-top: .25rem; }
.index-items { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 2rem; }
.index-items li { border-bottom: 1px solid var(--gray); }
.index-items a { display: block; padding: .8rem 0; color: var(--dark); }
.index-items a strong { display: block; }
.index-items a span { display: block; font-size: .9rem; color: var(--muted); margin-top: .15rem; }
.index-items a .code { font-family: var(--mono); font-size: .75rem; color: var(--primary); }
.index-items a:hover strong { color: var(--primary); }
.index-search { display: flex; gap: .6rem; margin-bottom: 1.5rem; max-width: 760px; flex-wrap: wrap; }
.index-search input { flex: 1 1 240px; min-width: 0; }
.index-search select { flex: 1 1 220px; width: auto; max-width: 100%; }
.index-search-empty { color: var(--muted); }
.index-group[hidden], .index-items li[hidden] { display: none !important; }
@media (max-width: 800px) {
	.index-group { grid-template-columns: 1fr; }
	.index-items { grid-template-columns: 1fr; }
}

.page-head-row { display: flex; align-items: center; gap: 1.15rem; }
.page-head-logo { width: 76px; height: auto; flex: none; border-radius: 3px; }
.luk-verweis { margin: .2rem 0 1.3rem; }
.luk-verweis a {
	display: inline-flex; align-items: center; gap: .8rem;
	max-width: 100%; padding: .45rem .85rem .45rem .45rem;
	background: #fff; border: 1px solid #e2e2e2; border-radius: 4px;
	color: var(--secondary); text-decoration: none; font-weight: 500;
}
.prose .luk-verweis a { font-weight: 500; }
.prose .luk-verweis img {
	width: 64px; height: auto; flex: none;
	border-radius: 2px; box-shadow: none;
}
.luk-verweis strong { display: block; font-size: .98rem; line-height: 1.2; }
.luk-verweis a > span > span { display: block; color: var(--muted); font-size: .86rem; font-weight: 400; }
.luk-verweis a::after { content: "→"; margin-left: .35rem; color: var(--primary); font-weight: 600; }
.luk-verweis a:hover { border-color: var(--primary); color: var(--secondary); }
@media (max-width: 640px) {
	.page-head-row { align-items: flex-start; }
	.page-head-logo { width: 56px; margin-top: .15rem; }
}

.teile-shop { margin: 1.5rem 0 3rem; }
.teile-shop h2 { margin: 1.6rem 0 .8rem; }
.luk-bar {
	display: flex; align-items: flex-end; justify-content: flex-end; gap: 2rem;
	margin: 0 0 1.3rem;
}
.luk-bar .prose { flex: 1 1 auto; margin: 0; }
.luk-suche {
	display: flex; align-items: flex-end; gap: .5rem;
	flex: 0 1 34rem; margin: 0 0 0 auto;
}
.luk-suche label {
	display: grid; gap: .3rem; flex: 1 1 auto; min-width: 0;
	font-size: .85rem; font-weight: 700;
}
.luk-suche input {
	width: 100%; height: 48px; box-sizing: border-box;
	padding: 0 1rem; border: 1px solid #ccc; border-radius: 4px;
	font: inherit; font-weight: 600;
}
.luk-suche .btn {
	height: 48px; box-sizing: border-box; padding: 0 1.25rem; flex: none;
}
@media (max-width: 800px) {
	.luk-bar { flex-direction: column; align-items: stretch; }
	.luk-suche { flex-basis: auto; width: 100%; margin-left: 0; }
}
.teile-grid {
	display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px;
}
.teil-card {
	display: flex; flex-direction: column; align-items: stretch; gap: .35rem;
	background: #fff; border: 1px solid #e2e2e2; border-radius: 2px;
	padding: .55rem .6rem .65rem;
}
.teil-card-link { color: inherit; text-decoration: none; display: grid; gap: .3rem; }
.teil-card-link:hover { color: inherit; }
.teil-card-link:hover h3 { color: var(--primary); }
.teil-card img {
	width: 100%; height: 88px; object-fit: contain; background: #fff;
	border-radius: 0; box-shadow: none;
}
.teil-card h3 {
	margin: 0; font-size: 1rem; line-height: 1.2; font-weight: 700;
	font-variant-numeric: tabular-nums; letter-spacing: .02em;
}
.teil-card .teil-text {
	margin: 0; color: var(--muted); font-size: .75rem; line-height: 1.3; font-weight: 400;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.teil-actions { display: flex; gap: .35rem; }
.teil-actions .btn { flex: 1; padding: .4rem .35rem; font-size: .78rem; }
.btn-wa { background: #25d366; color: #fff; border-color: #25d366; }
.btn-wa:hover { background: #1da851; border-color: #1da851; color: #fff; }
.katalog-pager {
	display: flex; flex-wrap: wrap; align-items: center; gap: .45rem;
	margin: 1.4rem 0 2rem;
}
.katalog-pager a, .katalog-pager-nums span {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 2.1rem; padding: .35rem .55rem;
	border: 1px solid #e2e2e2; background: #fff; border-radius: 4px;
	color: var(--secondary); font-weight: 600; text-decoration: none;
}
.katalog-pager a:hover { border-color: var(--primary); color: var(--primary); }
.katalog-pager [aria-current="page"] { background: var(--primary); color: #fff; border-color: var(--primary); }
.katalog-pager-nums { display: inline-flex; gap: .45rem; }
.luk-back { margin: 0 0 1rem; }
.luk-sheet {
	display: grid; grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
	gap: 1.75rem; align-items: start;
	background: #fff; border: 1px solid #e2e2e2; border-radius: 8px;
	padding: 1.25rem; margin: 0 0 1.15rem;
}
.luk-photo {
	display: flex; align-items: center; justify-content: center;
	min-height: 240px; padding: 1rem;
	background: #fff; border: 1px solid #ececec; border-radius: 6px;
}
.luk-photo img {
	width: 100%; height: auto; max-height: 280px; object-fit: contain;
	border: 0; background: transparent;
}
.luk-kicker {
	margin: 0 0 .35rem; font-size: .75rem; font-weight: 700;
	letter-spacing: .07em; text-transform: uppercase; color: var(--primary);
}
.luk-name {
	margin: 0 0 .9rem; font-size: 1.2rem; line-height: 1.4; font-weight: 700;
	color: var(--secondary);
}
.luk-specs {
	display: flex; flex-wrap: wrap; gap: .45rem;
	margin: 0 0 1rem; padding: 0; list-style: none;
}
.luk-specs li {
	display: flex; align-items: baseline; gap: .4rem;
	margin: 0; padding: .28rem .7rem;
	background: var(--light); border: 1px solid #e2e2e2; border-radius: 4px;
	font-variant-numeric: tabular-nums; font-weight: 600; letter-spacing: .02em;
}
.luk-specs span {
	font-size: .68rem; font-weight: 700; letter-spacing: .05em;
	text-transform: uppercase; color: var(--muted);
}
.luk-offer {
	background: #f3f8ff; border: 1px solid #d5e4fb; border-radius: 6px;
	padding: .95rem 1.05rem .9rem;
}
.luk-offer strong { display: block; margin: 0 0 .2rem; color: var(--secondary); }
.luk-offer p { margin: 0 0 .75rem; color: var(--muted); font-size: .92rem; }
.luk-offer .teil-actions { margin: 0; }
.luk-offer .teil-actions .btn {
	flex: 0 1 auto; min-width: 9rem; padding: .55rem 1.1rem; font-size: .95rem;
}
.manufacturer-box {
	background: #fff; border: 1px solid #e2e2e2; border-radius: 8px;
	padding: 1.15rem 1.3rem 1rem; margin: 0 0 2rem;
}
.manufacturer-box h2 { margin: 0 0 .15rem; font-size: 1.15rem; }
.manufacturer-box .manufacturer-lead { margin: 0 0 .35rem; font-weight: 600; color: var(--secondary); }
.manufacturer-box p { margin: 0 0 .5rem; color: var(--muted); }
.manufacturer-box p:last-child { margin-bottom: 0; }
.manufacturer-box a { font-weight: 600; }
@media (max-width: 1100px) {
	.teile-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 800px) {
	.teile-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
	.teile-grid { grid-template-columns: 1fr; }
	.luk-sheet { grid-template-columns: 1fr; }
}

.leistung-list {
	display: grid; gap: 12px; margin: 0 0 3rem;
}
.leistung-card {
	position: relative;
	display: flex; flex-direction: column; align-items: flex-start;
	min-height: 168px;
	padding: 1.2rem 1.4rem 1.1rem 32%;
	background: #fff;
	border: 1px solid #e2e2e2;
	border-radius: 2px;
	text-decoration: none;
	color: var(--dark);
	overflow: hidden;
	transition: background .18s, border-color .18s, color .18s;
}
.leistung-card:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.leistung-card:hover .leistung-title,
.leistung-card:hover .leistung-text,
.leistung-card:hover .leistung-go { color: #fff; }
.leistung-photo {
	position: absolute; top: 12px; bottom: 12px; left: 12px; width: 26%;
	display: flex; align-items: center; justify-content: center;
	background: #fff;
}
.leistung-photo img {
	width: 100%; height: 100%; object-fit: contain; background: transparent;
}
.leistung-title { margin: 0; font-size: 1.15rem; font-weight: 700; align-self: flex-start; }
.leistung-text { margin: .35rem 0 0; color: var(--muted); font-size: .95rem; line-height: 1.45; max-width: 78ch; }
.leistung-go { display: flex; margin-top: auto; padding-top: .7rem; color: #222; }
@media (max-width: 700px) {
	.leistung-card { padding: 1.1rem 1.1rem 1rem 40%; min-height: 150px; }
	.leistung-photo { width: 34%; left: 8px; }
}
.post-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 1.75rem; }
.post-list li { border-top: 1px solid var(--gray); }
.post-list a { display: block; padding: 1rem 0 1.25rem; color: var(--dark); }
.post-list .label { margin-bottom: .3rem; }
.post-list strong { display: block; font-size: 1.05rem; margin-bottom: .3rem; }
.post-list span.excerpt { display: block; font-size: .92rem; color: var(--muted); }
.post-list a:hover strong { color: var(--primary); }
@media (max-width: 900px) { .post-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .post-list { grid-template-columns: 1fr; } }

.cat-nav { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.75rem; padding: 0; list-style: none; }
.cat-nav a {
	border: 1px solid var(--gray); border-radius: 99px; padding: .4rem .9rem;
	color: var(--secondary); font-weight: 600; font-size: .9rem; background: #fff;
}
.cat-nav a:hover, .cat-nav a[aria-current="page"] {
	background: var(--primary); border-color: var(--primary); color: #fff;
}

/* Gallery */
.gallery-filter { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.5rem; }
.gallery-filter button {
	border: 1px solid var(--gray); background: #fff; color: var(--secondary);
	padding: .45rem .9rem; border-radius: 99px; font: 600 .9rem var(--font); cursor: pointer;
}
.gallery-filter button:hover { border-color: var(--primary); color: var(--primary); }
.gallery-filter button[aria-pressed="true"] { background: var(--primary); border-color: var(--primary); color: #fff; }
.gallery-filter .count { font-size: .75rem; opacity: .75; margin-left: .2rem; }
.gallery { columns: 3 260px; column-gap: .85rem; }
.gallery .photo { break-inside: avoid; margin-bottom: .85rem; }
.gallery .photo[hidden] { display: none; }

.lightbox {
	position: fixed; inset: 0; z-index: 2000; background: rgba(0,0,0,.92);
	display: none; align-items: center; justify-content: center; padding: 3rem 1rem 4rem;
}
.lightbox.is-open { display: flex; }
.lightbox img { max-height: 100%; max-width: 100%; object-fit: contain; }
.lightbox-caption { position: absolute; bottom: 1.1rem; left: 0; right: 0; text-align: center; color: #eee; }
.lightbox button {
	position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0;
	width: 44px; height: 44px; border-radius: 50%; cursor: pointer; font-size: 1.35rem;
}
.lightbox .lb-close { top: 1rem; right: 1rem; }
.lightbox .lb-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 1rem; top: 50%; transform: translateY(-50%); }

.video {
	position: relative; aspect-ratio: 16/9; background: #111; border-radius: var(--radius); overflow: hidden;
}
.video img { width: 100%; height: 100%; object-fit: cover; opacity: .7; }
.video img:not([src]) { display: none; }
.video button {
	position: absolute; inset: 0; display: grid; place-items: center; align-content: center;
	gap: .7rem; background: none; border: 0; color: #fff; cursor: pointer; font: 600 .95rem var(--font);
}
.video button .play {
	width: 68px; height: 68px; border-radius: 50%; background: var(--primary);
	display: grid; place-items: center;
}
.video button .play svg { width: 28px; height: 28px; margin-left: 3px; }
.video button small { font-size: .8rem; opacity: .85; max-width: 36ch; text-align: center; font-weight: 400; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Forms */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.15rem; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: grid; gap: .3rem; }
.field label, .field legend { font-weight: 600; font-size: .95rem; }
.field .hint { font-size: .85rem; color: var(--muted); }
.req { color: var(--primary); }
input[type="text"], input[type="email"], input[type="tel"], input[type="date"],
input[type="number"], input[type="search"], select, textarea {
	width: 100%; font: inherit; color: var(--dark); background: #fff;
	border: 1px solid #ddd; border-radius: 4px; padding: .75rem .85rem;
}
textarea { min-height: 140px; resize: vertical; }
input:focus, select:focus, textarea:focus {
	outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-light);
}
.field-error input, .field-error textarea, .field-error select { border-color: #c0392b; }
.check { display: flex; gap: .6rem; align-items: flex-start; font-size: .95rem; }
.check input { margin-top: .3rem; width: 17px; height: 17px; accent-color: var(--primary); flex: none; }
.choices { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; border: 0; padding: 0; margin: 0; }
.choices legend { margin-bottom: .4rem; padding: 0; font-weight: 600; }
.choices label { display: inline-flex; gap: .4rem; align-items: center; font-weight: 400; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { padding: 1rem 1.15rem; border-radius: 4px; margin-bottom: 1.25rem; border-left: 4px solid; }
.notice p { margin: 0; }
.notice-ok { background: #e8f6ee; border-color: #1f7a46; }
.notice-warn { background: #fff4e8; border-color: #c46a0a; }

.contact-page { padding: 3.5rem 0 4.5rem; }
.contact-header { text-align: center; margin-bottom: 2.75rem; }
.contact-header h1 { margin: 0 0 .7rem; font-size: clamp(2rem, 4vw, 2.5rem); color: var(--primary); }
.contact-header p { margin: 0; font-size: 1.15rem; color: var(--secondary); }
.contact-info-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.5rem;
}
.contact-card {
	background: #fff;
	border-radius: 12px;
	padding: 2rem 1.25rem 1.75rem;
	box-shadow: 0 4px 12px rgba(0, 0, 0, .1);
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	transition: transform .2s, box-shadow .2s;
}
.contact-card:hover { transform: translateY(-4px); box-shadow: 0 8px 20px rgba(0, 0, 0, .12); }
.contact-icon { margin-bottom: .85rem; line-height: 0; }
.contact-icon .icon { width: 2.5rem; height: 2.5rem; }
.contact-icon--pin { color: #e23b3b; }
.contact-icon--phone { color: #222; }
.contact-icon--mail,
.contact-icon--clock { color: #6b7280; }
.contact-card h2 { margin: 0 0 .55rem; color: var(--primary); font-size: 1.25rem; font-weight: 600; }
.contact-card p { margin: .2rem 0; color: var(--secondary); font-size: .95rem; line-height: 1.55; }
.contact-link { color: var(--primary); font-weight: 600; }
.contact-link:hover { text-decoration: underline; }
.contact-card p.contact-hours { color: #666; font-size: .9rem; }
.contact-card .opening-hours { font-size: .95rem; }
.contact-card .hours-group + .hours-group { margin-top: .85rem; }
.contact-card .hours-days { font-weight: 700; color: var(--secondary); }
.contact-card .hours-time,
.contact-card .hours-break { color: #555; }
.contact-card .hours-break { font-size: .85rem; margin-top: .15rem; }
.contact-page .map--sketch {
	margin-top: 2.75rem;
	height: 450px;
	min-height: 450px;
	border-radius: 12px;
	background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
	border: 2px dashed #ccc;
	box-shadow: none;
}
.contact-page .map--sketch:has(iframe) {
	border: 0;
	background: #e5e5e5;
}
.contact-page .map--sketch .map-consent {
	min-height: 450px;
	color: #555;
}
.contact-page .map--sketch .map-note {
	max-width: 42ch;
	font-size: .85rem;
	color: #777;
}
.contact-page .map--sketch .map-note a { color: var(--primary); }
.contact-form-section { margin: 2.75rem 0 0; }
.contact-form-box {
	background: #fff;
	border: 1px solid var(--gray);
	border-radius: 8px;
	padding: 2rem;
	box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
}
.contact-form-title {
	margin: 0 0 1.4rem;
	padding-bottom: .75rem;
	border-bottom: 2px solid var(--primary);
	font-size: 1.35rem;
	font-weight: 600;
	color: var(--dark);
}
@media (max-width: 1100px) {
	.contact-info-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
	.contact-page { padding: 2rem 0 3rem; }
	.contact-info-grid { grid-template-columns: 1fr; }
	.contact-page .map--sketch,
	.contact-page .map--sketch .map-consent { height: auto; min-height: 320px; }
	.contact-form-box { padding: 1.35rem; }
}

/* Print forms */
.print-form {
	background: #fff; border-radius: var(--radius); padding: clamp(1.2rem, 3vw, 2rem);
	box-shadow: 0 2px 12px rgba(0,0,0,.08);
}
.print-form-head {
	display: flex; justify-content: space-between; gap: 1.5rem;
	border-bottom: 2px solid var(--secondary); padding-bottom: 1rem; margin-bottom: 1.4rem;
}
.print-form-head h2 { margin: 0; }
.print-form-head address { font-style: normal; font-size: .85rem; color: var(--muted); text-align: right; }
.print-form-head img { height: 48px; margin-left: auto; margin-bottom: .35rem; filter: none; }
.print-form fieldset { border: 0; padding: 0; margin: 0 0 1.6rem; }
.print-form fieldset > legend {
	font-size: .8rem; text-transform: uppercase; letter-spacing: .04em;
	color: var(--primary); font-weight: 700; margin-bottom: .8rem; padding: 0;
}
.print-form .form-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
@media (max-width: 700px) { .print-form .form-grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .print-form .form-grid-3 { grid-template-columns: 1fr; } }
.print-form .unterschrift { display: grid; grid-template-columns: 1fr 1fr 1.4fr; gap: 1.1rem; margin-top: 1.75rem; }
.print-form .unterschrift .line { border-bottom: 1.5px solid var(--secondary); min-height: 2.4rem; }
.print-form .unterschrift small { color: var(--muted); }
.print-only { display: none; }
.print-actions { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; margin: 1.1rem 0 1.4rem; }
.print-actions small { color: var(--muted); }

/* About */
.about-page { padding: 3.5rem 0 1rem; }
.about-header { text-align: center; margin-bottom: 2.5rem; }
.about-header h1 { margin: 0 0 .6rem; font-size: clamp(2rem, 4vw, 2.5rem); color: var(--secondary); }
.about-header p { margin: 0; font-size: 1.05rem; color: var(--secondary); }
.about-address {
	background: #f8f9fb;
	border: 1px solid #e8eaed;
	border-radius: 8px;
	padding: 1.4rem 1.75rem;
	margin-bottom: 2.5rem;
}
.about-address h2 { margin: 0 0 .4rem; font-size: 1.15rem; }
.about-address p { margin: 0 0 .85rem; color: #555; font-size: .95rem; }
.about-address address { font-style: normal; line-height: 1.55; color: #333; }
.about-split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 1.5rem; align-items: start; margin-bottom: 3rem; }
.about-copy { display: grid; gap: 1rem; }
.about-story {
	background: #fff;
	border: 1px solid #e8eaed;
	border-radius: 10px;
	padding: 1.35rem 1.4rem 1.45rem;
	box-shadow: 0 4px 14px rgba(0, 0, 0, .06);
}
.about-story h2 { margin: 0 0 .55rem; color: var(--primary); font-size: 1.65rem; }
.about-story p { margin: 0; font-size: 1.12rem; line-height: 1.65; color: var(--dark); }
.about-photos { display: grid; gap: 1rem; align-content: start; }
.about-photos img { width: 100%; height: auto; border-radius: 8px; box-shadow: 0 4px 12px rgba(0,0,0,.1); }
.about-machines { background: #eef1f4; padding: 4rem 0; }
.about-values { padding: 4rem 0 4.5rem; }
.about-section-title { text-align: center; margin-bottom: 2.5rem; }
.about-section-title h2 {
	position: relative; display: inline-block; margin: 0 0 1.15rem;
	font-size: clamp(1.7rem, 3vw, 2.15rem); color: var(--secondary);
}
.about-section-title h2::after {
	content: ""; position: absolute; left: 50%; bottom: -.55rem; transform: translateX(-50%);
	width: 4.75rem; height: 3px; background: var(--primary); border-radius: 2px;
}
.about-section-title p { margin: .35rem 0 0; color: var(--muted); }
.about-machine-grid, .about-value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.35rem; }
.about-machine, .about-value {
	background: #fff; border-radius: 8px; box-shadow: 0 4px 10px rgba(0,0,0,.08); text-align: center;
}
.about-machine { padding: 1.1rem 1rem 1.25rem; }
.about-machine img { width: 100%; height: 190px; object-fit: contain; }
.about-machine h3 { margin: .85rem 0 0; color: var(--primary); font-size: 1.02rem; font-weight: 600; line-height: 1.35; }
.about-value {
	display: flex; flex-direction: column; align-items: center; text-align: center;
	padding: 1.75rem 1.2rem 1.55rem;
}
.about-value-icon {
	display: flex; align-items: center; justify-content: center;
	width: 4.25rem; height: 4.25rem; margin: 0 auto 1rem;
	color: #6b7280;
}
.about-value-icon svg,
.about-value-icon .icon { width: 2.85rem; height: 2.85rem; display: block; }
.about-value-icon--blue { color: var(--primary); }
.about-value-icon--gold { color: #e0a106; }
.about-value h3 { margin: 0 0 .45rem; font-size: 1.05rem; }
.about-value p { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.45; }
@media (max-width: 1000px) {
	.about-split, .about-machine-grid, .about-value-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
	.about-page { padding-top: 2rem; }
	.about-split, .about-machine-grid, .about-value-grid { grid-template-columns: 1fr; }
	.about-machine img { height: 220px; }
}

.jobs { border-top: 2px solid var(--secondary); }
.job {
	display: grid; grid-template-columns: 1fr auto; gap: 1rem 1.5rem;
	padding: 1.4rem 0; border-bottom: 1px solid var(--gray); align-items: start;
	background: #fff;
}
.job h3 { margin-bottom: .3rem; }
.job p { margin: 0 0 .35rem; color: var(--muted); }
.job ul { margin: .35rem 0 0; padding-left: 1.15rem; color: var(--muted); }
@media (max-width: 640px) { .job { grid-template-columns: 1fr; } }

.notfound { padding: 4rem 0 5rem; }
.notfound .label { display: block; margin-bottom: .75rem; }

/* ---------- Footer ---------- */
.site-footer {
	background: var(--secondary); color: #c8ccd0; font-size: .95rem;
}
.site-footer a { color: #e8eaed; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-main {
	display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem;
	padding: 3.25rem 0 2.25rem;
}
.footer-main h2 {
	font-size: .95rem; color: #fff; margin-bottom: 1rem; font-weight: 700;
}
.footer-main h2::after {
	content: ""; display: block; width: 36px; height: 2px;
	background: var(--primary); margin-top: .45rem;
}
.footer-main ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem; }
.footer-brand img, .footer-brand .brand-logo {
	height: 56px; width: auto; filter: brightness(0) invert(1); margin-bottom: .85rem;
}
.footer-brand svg { width: 64px; color: #fff; margin-bottom: .85rem; }
.footer-brand address { font-style: normal; line-height: 1.7; margin-bottom: .85rem; }
.footer-brand .tel { font-size: 1.15rem; font-weight: 700; color: #fff; }
.footer-zeiten { display: grid; grid-template-columns: auto 1fr; gap: .2rem 1rem; margin: 0; }
.footer-zeiten dd { margin: 0; color: #e8eaed; }
.footer-cert { display: flex; gap: .8rem; align-items: center; margin-top: 1.2rem; }
.footer-cert img { width: 48px; border-radius: 2px; }
.footer-cert span { font-size: .82rem; line-height: 1.4; }
.footer-bottom { border-top: 1px solid #444; }
.footer-bottom .wrap {
	display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
	padding: 1.1rem 0; font-size: .85rem;
}
.footer-bottom ul { list-style: none; display: flex; flex-wrap: wrap; gap: 1.1rem; margin: 0; padding: 0; }
@media (max-width: 900px) { .footer-main { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-main { grid-template-columns: 1fr; } }

/* Below the hero and quick links the homepage is a light sheet, not more navy. */
body.home { background: #fff; }
body.home .quick-links-section { background: #001a33; }
body.home .cta-section {
	background: linear-gradient(180deg, var(--primary) 0%, #001a33 100%);
}

.home-sheet { background: #fff; color: var(--dark); padding: 4.25rem 0; }
.home-sheet--list { background: #f2f3f5; padding: 2.25rem 0 4rem; }
.home-lead { max-width: 40rem; margin: 0 0 1.5rem; }
.home-lead h2 { margin: 0 0 .45rem; }
.home-lead p { margin: 0; color: var(--muted); font-size: 1.05rem; }
.home-lead-split {
	max-width: none;
	display: flex; justify-content: space-between; align-items: flex-start; gap: 1.5rem;
}
.home-lead-split .link-arrow,
.home-lead-split .home-all-services { flex: none; margin-top: .35rem; white-space: nowrap; }
.home-lead-split .home-all-services {
	align-self: center;
	margin-top: 0;
	padding: .4rem .85rem;
	font-size: .95rem;
	line-height: 1.2;
	border-width: 1px;
}
.home-lead-split .home-all-services .icon { width: 1em; height: 1em; }
.home-divider {
	display: flex; align-items: center; gap: 1.35rem;
	margin: 2.6rem 0 1.85rem;
}
.home-divider::before,
.home-divider::after {
	content: "";
	flex: 1 1 auto;
	height: 3px;
	background: var(--primary);
}
.home-divider-mark {
	flex: none;
	width: 4.6rem;
	aspect-ratio: 853 / 672;
	background: var(--primary);
	-webkit-mask: url("../img/logo.svg") center / contain no-repeat;
	mask: url("../img/logo.svg") center / contain no-repeat;
}
.home-lead-next {
	margin-top: 0;
	padding-top: 0;
	border-top: 0;
}
.home-list {
	list-style: none; margin: 0; padding: 0;
	display: grid; grid-template-columns: 1fr;
}
.home-list a {
	display: grid;
	grid-template-columns: 240px 1fr auto;
	grid-template-areas: "photo title go" "photo text go";
	column-gap: 1.35rem; row-gap: .3rem;
	padding: 1.1rem 0; border-bottom: 1px solid #e4e9f0;
	text-decoration: none; color: inherit; align-items: center;
}
.home-list-title { align-self: end; }
.home-list-text { align-self: start; }
.home-list a:hover .home-list-title { color: var(--primary); }
.home-photo {
	grid-area: photo; aspect-ratio: 3 / 2; border-radius: 8px; overflow: hidden;
	background: #e8edf3;
}
.home-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.home-photo--studio { background: #fff; }
.home-photo--studio img { object-fit: contain; padding: .45rem; }
.home-photo--plain { background: #f4f7fb; }
.home-photo--plain img { object-fit: contain; padding: .55rem; }
.home-list-title { grid-area: title; font-weight: 600; font-size: 1.15rem; }
.home-list-text { grid-area: text; color: var(--muted); font-size: 1rem; }
.home-list-go { grid-area: go; justify-self: end; color: var(--primary); }
.home-list-go .icon { width: 1.1rem; height: 1.1rem; }
.home-more { margin: 1.35rem 0 0; }
#leistungen.home-sheet { background: #f2f3f5; }
.home-services {
	grid-template-columns: repeat(3, 1fr);
	gap: 12px;
	align-items: stretch;
}
.home-services li { display: flex; min-width: 0; }
.home-services a {
	position: relative;
	display: flex; flex-direction: column; align-items: flex-start;
	flex: 1 1 auto; width: 100%;
	height: auto; min-height: 230px;
	padding: 1.2rem 50% 1.15rem 1.2rem;
	border: 1px solid #e2e2e2; border-radius: 2px;
	background: #fff; overflow: hidden;
	transition: background .18s, border-color .18s, color .18s;
}
.home-services a:not(:has(.home-photo)) { padding-right: 1.2rem; }
.home-services a:hover {
	background: var(--primary); border-color: var(--primary); color: #fff;
}
.home-services a:hover .home-list-title,
.home-services a:hover .home-list-text,
.home-services a:hover .home-list-go { color: #fff; }
.home-services .home-photo,
.home-services .home-photo--studio,
.home-services .home-photo--plain {
	position: absolute; top: 8px; right: 10px; bottom: 8px; width: 44%;
	height: auto; aspect-ratio: auto; background: transparent; border: 0; border-radius: 0;
}
.home-services .home-photo img { object-fit: cover; width: 100%; height: 100%; padding: 0; }
.home-services .home-photo--studio img,
.home-services .home-photo--plain img { object-fit: contain; padding: .25rem; }
.home-services .home-list-title {
	margin: 0; padding: 0; min-width: 0; max-width: 100%;
	align-self: flex-start; text-align: left;
	font-size: 1rem; font-weight: 700; overflow-wrap: break-word;
}
.home-services .home-list-text {
	margin: .35rem 0 0; padding: 0; min-width: 0; max-width: 100%;
	font-size: .86rem; line-height: 1.35;
}
.home-services .home-list-go {
	display: flex; color: #222; margin-top: auto; padding-top: .85rem;
}
.home-services.home-services--row { grid-template-columns: 1fr; }
.home-services.home-services--row a {
	height: auto; min-height: 156px;
	padding: 1.15rem 1.35rem 1.05rem 34%;
}
.home-services.home-services--row .home-photo,
.home-services.home-services--row .home-photo--studio,
.home-services.home-services--row .home-photo--plain {
	width: 30%; left: 14px; right: auto; top: 14px; bottom: 14px;
}
.home-services.home-services--row .home-photo--studio img,
.home-services.home-services--row .home-photo--plain img { padding: .65rem; }
.home-services.home-services--row .home-list-title { font-size: 1.15rem; align-self: flex-start; }
.home-services.home-services--row .home-list-text { font-size: .95rem; max-width: 62ch; }
.home-process {
	background: var(--primary);
	color: #fff;
	padding: 4.25rem 0;
}
.home-process .home-lead {
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}
.home-process .home-lead h2,
.home-process .steps h3 { color: #fff; }
.home-process .home-lead p,
.home-process .steps p { color: rgba(255, 255, 255, .86); }
.home-process .steps .step-num { background: #fff; color: var(--primary); }
.home-place {
	display: grid; grid-template-columns: 1fr 1.25fr; gap: 2.5rem; align-items: start;
}
.home-place h2 { margin-top: 0; }
.home-place address { font-style: normal; font-size: 1.1rem; margin-bottom: 1rem; }
.home-place dl {
	display: grid; grid-template-columns: max-content 1fr; gap: .25rem 1.25rem; margin: 0 0 1.25rem;
}
.home-place dt { color: var(--muted); }
.home-place dd { margin: 0; }
.home-place p { color: var(--muted); }
.home-ship {
	background: #fff; padding: 3.5rem 0 4.25rem;
	border-top: 1px solid var(--gray);
}
.home-ship-grid {
	display: grid; grid-template-columns: 1.05fr .95fr; gap: 2.5rem; align-items: center;
}
.home-ship h2 { margin-top: 0; }
.home-ship p { color: var(--muted); }
.home-ship ol { padding-left: 1.2rem; }
.home-ship li { margin-bottom: .4rem; }
.home-ship .btn-row { margin-top: 1.5rem; }
.home-ship figure { margin: 0; }
.home-ship img {
	width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; border-radius: 8px;
}
@media (max-width: 1200px) {
	.home-services { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 800px) {
	.home-list a {
		grid-template-columns: 1fr auto;
		grid-template-areas: "photo photo" "title go" "text go";
	}
	.home-photo { aspect-ratio: 16 / 9; }
	.home-list-title, .home-list-text { align-self: start; }
	.home-lead-split { align-items: start; flex-direction: column; gap: .85rem; }
	.home-services a { min-height: 200px; }
	.home-place, .home-ship-grid { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
	.home-services.home-services--row a { padding-left: 42%; padding-right: 1.15rem; }
	.home-services.home-services--row .home-photo,
	.home-services.home-services--row .home-photo--studio,
	.home-services.home-services--row .home-photo--plain { width: 36%; left: 8px; right: auto; }
}
@media (max-width: 560px) {
	.home-services { grid-template-columns: 1fr; }
}

.whatsapp-float {
	position: fixed; right: 25px; bottom: 25px; z-index: 998;
	width: 70px; height: 70px;
	display: flex; align-items: center; justify-content: center;
	background: linear-gradient(135deg, #25d366 0%, #20ba5a 100%);
	color: #fff; border-radius: 50%; text-decoration: none;
	border: 2px solid rgba(255,255,255,.2); cursor: pointer;
	box-shadow: 0 4px 16px rgba(37,211,102,.3), 0 2px 8px rgba(0,0,0,.15);
	transition: .3s cubic-bezier(.4,0,.2,1);
}
.whatsapp-float::before {
	content: ""; position: absolute; inset: 0; border-radius: 50%;
	background: rgba(255,255,255,.1); opacity: 0; transition: opacity .3s;
}
.whatsapp-float:hover {
	transform: translateY(-3px) scale(1.05);
	background: linear-gradient(135deg, #20ba5a 0%, #1da851 100%);
	box-shadow: 0 8px 24px rgba(37,211,102,.4), 0 4px 12px rgba(0,0,0,.2);
	color: #fff;
}
.whatsapp-float:hover::before { opacity: 1; }
.whatsapp-float:active { transform: translateY(-1px) scale(1.02); }
.whatsapp-float svg {
	width: 40px; height: 40px; fill: #fff; position: relative; z-index: 1;
	filter: drop-shadow(0 1px 2px rgba(0,0,0,.1));
}
.whatsapp-float::after {
	content: "WhatsApp";
	position: absolute; right: 80px; top: 50%;
	transform: translateY(-50%) translateX(-10px);
	background: rgba(0,0,0,.9); color: #fff;
	padding: 10px 16px; border-radius: 8px;
	font: 500 13px var(--font); white-space: nowrap;
	opacity: 0; pointer-events: none;
	transition: opacity .3s, transform .3s cubic-bezier(.4,0,.2,1);
	box-shadow: 0 4px 12px rgba(0,0,0,.3);
}
.whatsapp-float:hover::after { opacity: 1; transform: translateY(-50%) translateX(0); }
@media (max-width: 768px) {
	.whatsapp-float { width: 64px; height: 64px; }
	.whatsapp-float svg { width: 36px; height: 36px; }
	.whatsapp-float::after { display: none; }
}
@media (max-width: 480px) {
	.whatsapp-float { width: 60px; height: 60px; }
	.whatsapp-float svg { width: 34px; height: 34px; }
}

@media print {
	@page { margin: 14mm; }
	body { background: #fff; padding-top: 0; }
	.site-header, .site-footer, .breadcrumbs, .no-print, .kontakt-band, .print-actions, .skip-link, .topbar, .whatsapp-float, .cookie-bar, .cookie-dialog { display: none !important; }
	.page-head { padding: 0; border: 0; background: none; color: inherit; }
	.page-head h1 { display: none; color: inherit; }
	.print-only { display: block; }
	.print-form { box-shadow: none; padding: 0; }
	.wrap { width: 100%; max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; }
}
