/* ==========================================================================
   Autolack Müller – „Showroom bei Nacht“
   Globale Styles. Farben/Schriften/Größen kommen als Tokens aus theme.json.
   Block-spezifische Styles (Vorher/Nachher, Formular, Galerie) liegen in blocks/<name>/style.css
   und werden nur geladen, wenn der Block auf der Seite ist.
   ========================================================================== */

:root {
	--alm-bg: var(--wp--preset--color--bg, #0A0A0B);
	--alm-bg-alt: var(--wp--preset--color--bg-alt, #141416);
	--alm-surface: var(--wp--preset--color--surface, #1C1C1F);
	--alm-border: var(--wp--preset--color--border, rgba(255,255,255,.08));
	--alm-text: var(--wp--preset--color--text, #F2F2F2);
	--alm-muted: var(--wp--preset--color--text-muted, #A1A1AA);
	--alm-accent: var(--wp--preset--color--accent, #E10600);
	--alm-accent-light: var(--wp--preset--color--accent-light, #FF3B30);
	--alm-chrome: linear-gradient(135deg, #E5E5E5 0%, #8A8A8F 50%, #F5F5F5 100%);
	--alm-glass: rgba(28, 28, 31, .55);
	--alm-glass-border: rgba(255, 255, 255, .14);
	--alm-radius: 14px;
	--alm-radius-sm: 6px;
	--alm-section: clamp(5rem, 10vw, 9rem);
	--alm-content: 1240px;
	--alm-ease: cubic-bezier(.2, .7, .2, 1);
	--alm-header-h: 76px;
	--alm-display: var(--wp--preset--font-family--display, "Sora", system-ui, sans-serif);
	--alm-body: var(--wp--preset--font-family--body, "Inter", system-ui, sans-serif);
}

/* ---------- Basis ---------------------------------------------------------- */

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

html { scroll-padding-top: calc(var(--alm-header-h) + 24px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
	background: var(--alm-bg);
	color: var(--alm-text);
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

/* Feines Grain-Overlay über allen dunklen Flächen (SVG-Rauschen, sehr dezent). */
body::after {
	content: "";
	position: fixed;
	inset: 0;
	z-index: 9998;
	pointer-events: none;
	opacity: .045;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .6 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection { background: var(--alm-accent); color: #fff; }

img, svg, video { max-width: 100%; height: auto; }

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
	outline: 2px solid var(--alm-accent-light);
	outline-offset: 3px;
	border-radius: 4px;
}

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; margin: -1px; overflow: hidden; padding: 0;
	position: absolute !important; width: 1px; word-wrap: normal !important;
}

.skip-link.screen-reader-text:focus {
	clip: auto; clip-path: none; height: auto; width: auto; margin: 0;
	top: 12px; left: 12px; z-index: 100000; padding: 12px 20px;
	background: var(--alm-accent); color: #fff; border-radius: var(--alm-radius-sm);
	text-decoration: none; font-weight: 600;
}

.alm-main { margin-block: 0 !important; }
.alm-main > .wp-block-post-content > *,
.alm-main > * { margin-block-start: 0; }
.alm-header-part, .alm-footer-part, .alm-cta-part { margin: 0 !important; }
:where(.wp-site-blocks) > * { margin-block-start: 0; }

/* ---------- Typografie ----------------------------------------------------- */

h1, h2, h3, h4, h5, h6 { text-wrap: balance; overflow-wrap: break-word; hyphens: auto; }
.alm-ph { overflow-wrap: anywhere; }
p { text-wrap: pretty; }

h1 strong, h2 strong, h3 strong { color: var(--alm-accent); font-weight: inherit; }
h1 em, h2 em, h3 em,
.wp-block-heading.is-style-chrome {
	font-style: normal;
	background: var(--alm-chrome);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.alm-h3 { font-size: var(--wp--preset--font-size--h-3) !important; }

.alm-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: .85rem;
	margin: 0 0 1rem !important;
	font-family: var(--alm-body);
	font-size: .78rem !important;
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: var(--alm-accent-light);
}
.alm-eyebrow::before {
	content: "";
	width: 32px;
	height: 2px;
	flex: none;
	background: var(--alm-accent);
}
.alm-section-head--center .alm-eyebrow { justify-content: center; }

.alm-lead {
	font-size: var(--wp--preset--font-size--lead) !important;
	line-height: 1.6;
	color: var(--alm-muted);
}

.alm-muted, .alm-note { color: var(--alm-muted); }
.alm-note { font-size: .875rem; line-height: 1.55; }

.alm-quote {
	font-family: var(--alm-display);
	font-size: clamp(1.35rem, 2.4vw, 2rem) !important;
	line-height: 1.35;
	font-weight: 400;
	color: var(--alm-text);
	padding-left: 1.5rem;
	border-left: 2px solid var(--alm-accent);
}

/* Links im Fließtext */
.alm-section p a:not(.wp-element-button),
.alm-section li a:not(.wp-element-button),
.alm-prose a {
	color: var(--alm-accent-light);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
	transition: color .2s;
}
.alm-section p a:not(.wp-element-button):hover,
.alm-section li a:not(.wp-element-button):hover,
.alm-prose a:hover { color: var(--alm-text); }

/* ---------- Sektionen ------------------------------------------------------ */

.alm-section {
	position: relative;
	padding-block: var(--alm-section) !important;
	background: var(--alm-bg);
	isolation: isolate;
}
.alm-section--alt { background: var(--alm-bg-alt); }
.alm-section--tight { padding-block: clamp(3.5rem, 7vw, 6rem) !important; }
.alm-section--glow::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		radial-gradient(60% 55% at 50% 0%, rgba(225, 6, 0, .16), transparent 70%),
		radial-gradient(40% 40% at 90% 100%, rgba(255, 255, 255, .05), transparent 70%);
	pointer-events: none;
}
.alm-section + .alm-section:not(.alm-section--alt):not(.alm-section--glow) { border-top: 1px solid var(--alm-border); }

.alm-section > * + * { margin-block-start: clamp(2.5rem, 5vw, 4rem); }

.alm-section-head { margin-bottom: 0; }
.alm-section-head > .wp-block-heading { margin-block: 0 1rem; }
.alm-section-head > .alm-lead { margin: 0; }
.alm-section-head--center { text-align: center; }
.alm-section-head--center > * { margin-inline: auto !important; }

.alm-section-cta { margin-block-start: clamp(2.5rem, 4vw, 3.5rem) !important; gap: 1rem; }
.alm-section-cta--center { justify-content: center; }

/* ---------- Buttons -------------------------------------------------------- */

.wp-element-button,
.wp-block-button__link {
	position: relative;
	overflow: hidden;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .55rem;
	min-height: 48px;
	border-radius: 6px;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .25s, color .25s, border-color .25s, transform .25s var(--alm-ease), box-shadow .25s;
	isolation: isolate;
	border: 0;
}
.wp-element-button:hover { transform: translateY(-1px); box-shadow: 0 10px 30px -10px rgba(225, 6, 0, .55); }
.wp-element-button:active { transform: translateY(0); }

/* Lack-Glanz-Sweep: diagonaler Lichtreflex bei Hover */
.wp-element-button::after,
.alm-card::after {
	content: "";
	position: absolute;
	inset: -50% auto -50% -60%;
	width: 45%;
	z-index: 1;
	pointer-events: none;
	background: linear-gradient(105deg, transparent 0%, rgba(255, 255, 255, .0) 30%, rgba(255, 255, 255, .28) 50%, rgba(255, 255, 255, 0) 70%, transparent 100%);
	transform: skewX(-20deg) translateX(0);
	opacity: 0;
}
.wp-element-button:hover::after,
.alm-card:hover::after {
	animation: alm-sweep .9s var(--alm-ease);
}
@keyframes alm-sweep {
	0% { opacity: 0; transform: skewX(-20deg) translateX(0); }
	15% { opacity: 1; }
	100% { opacity: 0; transform: skewX(-20deg) translateX(420%); }
}

.wp-block-button.is-style-chrome .wp-block-button__link,
.wp-block-button.is-style-outline .wp-block-button__link,
.alm-btn-secondary.wp-element-button {
	background: rgba(255, 255, 255, .03) !important;
	color: var(--alm-text) !important;
	border: 0 !important;
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
}
/* Chrom-Rahmen als Verlauf (Maske lässt nur 1 px Rand stehen) */
.wp-block-button.is-style-chrome .wp-block-button__link::before,
.wp-block-button.is-style-outline .wp-block-button__link::before,
.alm-btn-secondary.wp-element-button::before {
	content: "";
	position: absolute;
	inset: 0;
	padding: 1px;
	border-radius: inherit;
	background: var(--alm-chrome);
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	-webkit-mask-composite: xor;
	mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
	pointer-events: none;
}
.wp-block-button.is-style-chrome .wp-block-button__link:hover,
.wp-block-button.is-style-outline .wp-block-button__link:hover,
.alm-btn-secondary.wp-element-button:hover { background: rgba(255, 255, 255, .08) !important; box-shadow: 0 10px 30px -12px rgba(255, 255, 255, .25); }

.wp-block-button.is-style-ghost .wp-block-button__link {
	background: transparent !important;
	color: var(--alm-text) !important;
	padding-inline: 0 !important;
	min-height: 0;
	font-weight: 600;
	box-shadow: none !important;
}
.wp-block-button.is-style-ghost .wp-block-button__link::after { display: none; }
.wp-block-button.is-style-ghost .wp-block-button__link::before {
	content: "→";
	order: 2;
	color: var(--alm-accent-light);
	transition: transform .25s var(--alm-ease);
}
.wp-block-button.is-style-ghost .wp-block-button__link:hover { transform: none; color: var(--alm-accent-light) !important; }
.wp-block-button.is-style-ghost .wp-block-button__link:hover::before { transform: translateX(4px); }

.wp-block-buttons { gap: .9rem; }

/* ---------- Karten --------------------------------------------------------- */

.alm-card {
	position: relative;
	overflow: hidden;
	padding: clamp(1.5rem, 2.5vw, 2.25rem);
	background: var(--alm-surface);
	border: 1px solid var(--alm-border);
	border-radius: var(--alm-radius);
	transition: transform .4s var(--alm-ease), border-color .4s, box-shadow .4s;
}
.alm-card > * { position: relative; z-index: 2; margin-block: 0; }
.alm-card > * + * { margin-block-start: .85rem; }
.alm-card > .wp-block-heading { margin-block-start: 1.1rem; }
.alm-card > .alm-icon + .wp-block-heading { margin-block-start: 1.25rem; }
.alm-card > .wp-block-buttons { margin-block-start: 1.4rem; }
.alm-card p { color: var(--alm-muted); }
.alm-card .alm-eyebrow + .wp-block-heading { margin-block-start: 0; }
.alm-card:hover {
	transform: translateY(-4px);
	border-color: rgba(255, 255, 255, .16);
	box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(225, 6, 0, .08);
}

.alm-card.is-style-glass,
.wp-block-group.is-style-glass {
	background: var(--alm-glass);
	backdrop-filter: blur(16px) saturate(1.2);
	-webkit-backdrop-filter: blur(16px) saturate(1.2);
	border: 1px solid rgba(255, 255, 255, .06);
	box-shadow: inset 0 1px 0 var(--alm-glass-border);
}

.alm-card--accent { border-top: 2px solid var(--alm-accent); }

.alm-card--image { padding: 0; }
.alm-card--image > *:not(.alm-img):not(.wp-block-image) { margin-inline: clamp(1.5rem, 2.5vw, 2.25rem); }
.alm-card--image > *:last-child { margin-block-end: clamp(1.5rem, 2.5vw, 2.25rem); }
.alm-card--image > .wp-block-image { margin: 0 0 .5rem; }
.alm-card--image > .wp-block-image img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.alm-card--image > .alm-icon { margin-block-start: -2.4rem; }

/* Bild als Hintergrund der Kachel (Leistungs-Bento) */
.alm-card--cover {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: 360px;
	padding: clamp(1.5rem, 2.5vw, 2.25rem) !important;
}
.alm-card--cover > * { margin-inline: 0 !important; }
.alm-card--cover > .wp-block-image {
	position: absolute !important;
	inset: 0;
	z-index: 0 !important;
	margin: 0 !important;
}
.alm-card--cover > .wp-block-image img {
	width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover;
	transition: transform 1.2s var(--alm-ease), filter .6s;
	filter: saturate(.85) brightness(.8);
}
.alm-card--cover:hover > .wp-block-image img { transform: scale(1.06); filter: saturate(1) brightness(.9); }
.alm-card--cover::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(180deg, rgba(10, 10, 11, .05) 0%, rgba(10, 10, 11, .55) 45%, rgba(10, 10, 11, .96) 100%);
}
.alm-card--cover p { color: #d4d4d8; }
.alm-card--cover > .alm-icon { margin-block-start: 0; }

/* ---------- Icons ---------------------------------------------------------- */

.alm-icon {
	display: inline-grid;
	place-items: center;
	width: 56px;
	height: 56px;
	border-radius: 12px;
	color: var(--alm-text);
	background: linear-gradient(145deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .02));
	border: 1px solid rgba(255, 255, 255, .1);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12);
}
.alm-icon .alm-svg-icon { width: 26px; height: 26px; }
.alm-card:hover .alm-icon { color: var(--alm-accent-light); }
.alm-svg-icon { flex: none; vertical-align: middle; }

/* ---------- Raster --------------------------------------------------------- */

.alm-grid.alm-grid,
.alm-bento.alm-bento,
.alm-related.alm-related,
.alm-ba-grid.alm-ba-grid,
.alm-stats.alm-stats,
.alm-logos.alm-logos,
.alm-team.alm-team,
.alm-contact-grid.alm-contact-grid {
	display: grid;
	gap: clamp(1rem, 2vw, 1.5rem);
}
.alm-grid > *, .alm-bento > *, .alm-related > *, .alm-ba-grid > *, .alm-stats > *, .alm-logos > *, .alm-team > *, .alm-contact-grid > * { margin: 0 !important; }

.alm-grid--1 { grid-template-columns: 1fr; }
.alm-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.alm-grid--3, .alm-related, .alm-team, .alm-contact-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.alm-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.alm-ba-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }

.alm-bento { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(220px, auto); }
.alm-tile--wide { grid-column: span 2; }
.alm-tile--tall { grid-row: span 2; }
.alm-tile--lg { grid-column: span 2; grid-row: span 2; }
.alm-bento--usp { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: auto; }
.alm-bento--usp > .alm-tile--wide:last-child { grid-column: 1 / -1; }
.alm-bento--leistungen { grid-auto-rows: minmax(300px, auto); }
.alm-bento--leistungen .alm-tile--lg { min-height: 640px; }
.alm-bento--leistungen .alm-tile--lg .wp-block-heading { font-size: clamp(1.75rem, 3vw, 2.6rem); }

/* Werkstatt-Galerie: Bilder direkt im Raster */
.alm-grid > .wp-block-image img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--alm-radius); display: block; }
.alm-grid > .wp-block-image figcaption { margin-top: .6rem; text-align: left; }

/* ---------- Bilder --------------------------------------------------------- */

.alm-img { margin: 0; }
.alm-img img { display: block; width: 100%; border-radius: var(--alm-radius); object-fit: cover; }
.alm-img--43 img { aspect-ratio: 4 / 3; }
.alm-img--169 img { aspect-ratio: 16 / 9; }
.alm-img--portrait img { aspect-ratio: 4 / 5; }
.wp-block-image.is-style-vignette { position: relative; }
.wp-block-image.is-style-vignette::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: var(--alm-radius);
	pointer-events: none;
	box-shadow: inset 0 0 120px 20px rgba(0, 0, 0, .65);
}
.wp-block-image.is-style-vignette img { filter: contrast(1.08) saturate(.9); }

/* ---------- Hero ----------------------------------------------------------- */

.alm-hero,
.alm-page-hero {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	overflow: hidden;
	isolation: isolate;
	background: var(--alm-bg);
}
.alm-hero { min-height: 100vh; min-height: 100svh; padding-block: calc(var(--alm-header-h) + 4rem) clamp(3rem, 6vw, 5rem) !important; }
.alm-page-hero { min-height: min(78vh, 760px); padding-block: calc(var(--alm-header-h) + 5rem) clamp(3rem, 6vw, 5rem) !important; }
.alm-page-hero--small { min-height: 0; padding-block: calc(var(--alm-header-h) + 4rem) clamp(2.5rem, 5vw, 4rem) !important; background: radial-gradient(70% 120% at 85% 0%, rgba(225, 6, 0, .14), transparent 60%), var(--alm-bg-alt); }

.alm-hero-bg {
	position: absolute !important;
	inset: 0;
	transform: translate3d(0, var(--alm-parallax, 0px), 0);
	z-index: -2;
	margin: 0 !important;
	max-width: none !important;
	width: 100% !important;
}
.alm-hero-bg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 0 !important;
	transform-origin: 60% 40%;
	will-change: transform;
}
@media (prefers-reduced-motion: no-preference) {
	.alm-hero-bg img { animation: alm-kenburns 28s ease-in-out infinite alternate; }
}
@keyframes alm-kenburns {
	from { transform: scale(1.04); }
	to { transform: scale(1.14) translate3d(-1.5%, 0, 0); }
}
.alm-hero::before,
.alm-page-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(180deg, rgba(10, 10, 11, .55) 0%, rgba(10, 10, 11, .15) 30%, rgba(10, 10, 11, .75) 75%, var(--alm-bg) 100%),
		linear-gradient(90deg, rgba(10, 10, 11, .85) 0%, rgba(10, 10, 11, .25) 60%, transparent 100%),
		radial-gradient(50% 60% at 80% 30%, rgba(225, 6, 0, .18), transparent 70%);
}
.alm-page-hero--small::before { display: none; }

.alm-hero__content { position: relative; z-index: 1; width: 100%; }
.alm-hero__content > * { margin-block: 0; }
.alm-hero__content > * + * { margin-block-start: 1.4rem; }
.alm-hero__content h1 { margin-block-start: .4rem; }
.alm-page-hero .alm-hero__content > h1 { font-size: clamp(2.4rem, 5.2vw, 4.6rem); max-width: 1100px !important; }
.alm-page-hero--small .alm-hero__content > h1 { font-size: clamp(2.2rem, 4.4vw, 3.8rem); }
.alm-hero__content .alm-lead { max-width: 640px; color: #d4d4d8; }
.alm-hero__content .wp-block-buttons { margin-block-start: 2rem; }

.alm-hero__facts { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; margin-block-start: 1.75rem !important; }
.alm-fact {
	margin: 0 !important;
	padding: .6rem 1rem;
	border-radius: 999px;
	background: rgba(255, 255, 255, .05);
	border: 1px solid var(--alm-border);
	font-size: .9rem;
	color: #d4d4d8;
}
.alm-fact:empty { display: none; }
.alm-fact strong { color: var(--alm-text); }

.alm-trust {
	display: flex;
	flex-wrap: wrap;
	gap: .75rem;
	margin-block-start: clamp(2.5rem, 5vw, 4rem) !important;
	padding-block-start: 1.5rem;
	border-top: 1px solid rgba(255, 255, 255, .12);
	max-width: 980px;
}
.alm-trust__item {
	margin: 0 !important;
	display: inline-flex;
	align-items: center;
	gap: .45rem;
	padding: .55rem 1rem;
	font-size: .9rem;
	color: #d4d4d8;
	background: rgba(20, 20, 22, .55);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, .08);
	border-radius: 999px;
}
.alm-trust__item strong { color: var(--alm-text); font-weight: 600; }
.alm-trust__item--stars strong { color: #ffc24b; }

.alm-scroll {
	position: absolute;
	left: 50%;
	bottom: 1.5rem;
	transform: translateX(-50%);
	margin: 0 !important;
	z-index: 2;
}
.alm-scroll a {
	display: block;
	width: 26px;
	height: 42px;
	border: 1.5px solid rgba(255, 255, 255, .45);
	border-radius: 14px;
	font-size: 0;
	position: relative;
}
.alm-scroll a::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 8px;
	width: 3px;
	height: 8px;
	margin-left: -1.5px;
	border-radius: 2px;
	background: var(--alm-accent);
}
@media (prefers-reduced-motion: no-preference) {
	.alm-scroll a::after { animation: alm-scroll 1.8s var(--alm-ease) infinite; }
}
@keyframes alm-scroll { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- Header --------------------------------------------------------- */

.alm-header {
	position: fixed;
	inset: 0 0 auto 0;
	z-index: 1000;
	transition: background-color .35s, backdrop-filter .35s, border-color .35s, transform .35s var(--alm-ease);
	border-bottom: 1px solid transparent;
}
.admin-bar .alm-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .alm-header { top: 46px; } }
.alm-header.is-scrolled,
.alm-header.is-open {
	background: rgba(10, 10, 11, .72);
	backdrop-filter: blur(18px) saturate(1.4);
	-webkit-backdrop-filter: blur(18px) saturate(1.4);
	border-bottom-color: var(--alm-border);
}
.alm-header__inner {
	max-width: 1440px;
	margin: 0 auto;
	height: var(--alm-header-h);
	padding-inline: clamp(1rem, 3vw, 2.5rem);
	display: flex;
	align-items: center;
	gap: 1.5rem;
}

.alm-brand { display: inline-flex; align-items: center; gap: .7rem; color: var(--alm-text); text-decoration: none; flex: none; }
.alm-brand__img { max-height: 44px; width: auto; }
.alm-brand__text { display: flex; flex-direction: column; line-height: 1; font-family: var(--alm-display); }
.alm-brand__name { font-size: 1.05rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.alm-brand__sub { font-size: .72rem; font-weight: 500; letter-spacing: .42em; text-transform: uppercase; color: var(--alm-muted); margin-top: .3rem; }

.alm-nav { margin-left: auto; }
.alm-nav__list { display: flex; align-items: center; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.alm-nav__link {
	display: inline-flex;
	align-items: center;
	gap: .3rem;
	padding: .6rem .8rem;
	font: 500 .95rem/1 var(--alm-body);
	color: #d4d4d8;
	text-decoration: none;
	background: none;
	border: 0;
	border-radius: 6px;
	cursor: pointer;
	position: relative;
}
.alm-nav__link::after {
	content: "";
	position: absolute;
	left: .8rem;
	right: .8rem;
	bottom: .2rem;
	height: 2px;
	background: var(--alm-accent);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .3s var(--alm-ease);
}
.alm-nav__link:hover, .alm-nav__link.is-current, .alm-nav__link[aria-expanded="true"] { color: var(--alm-text); }
.alm-nav__link:hover::after, .alm-nav__link.is-current::after, .alm-nav__link[aria-expanded="true"]::after { transform: scaleX(1); }
.alm-nav__chev { transition: transform .3s; }
.alm-nav__link[aria-expanded="true"] .alm-nav__chev { transform: rotate(180deg); }

.alm-header__actions { display: flex; align-items: center; gap: 1rem; }
.alm-header__phone { display: inline-flex; align-items: center; gap: .45rem; color: var(--alm-text); text-decoration: none; font-weight: 600; font-size: .95rem; white-space: nowrap; }
.alm-header__phone .alm-svg-icon { color: var(--alm-accent-light); }
.alm-header__phone:hover { color: var(--alm-accent-light); }
.alm-header__cta.wp-element-button { padding: .75rem 1.2rem; min-height: 44px; font-size: .95rem; white-space: nowrap; }

/* Mega-Menü */
.alm-nav__item--mega { position: static; }
.alm-mega {
	position: absolute;
	left: 0;
	right: 0;
	top: 100%;
	padding: 0 clamp(1rem, 3vw, 2.5rem) 2rem;
	background: rgba(12, 12, 13, .97);
	backdrop-filter: blur(22px) saturate(1.3);
	-webkit-backdrop-filter: blur(22px) saturate(1.3);
	border-bottom: 1px solid var(--alm-border);
	box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .9);
	opacity: 0;
	transform: translateY(-8px);
	transition: opacity .25s, transform .3s var(--alm-ease);
}
.alm-mega.is-open { opacity: 1; transform: none; }
.alm-mega[hidden] { display: none; }
.alm-mega__inner { max-width: 1240px; margin: 0 auto; padding-top: 1.5rem; }
.alm-mega__grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; list-style: none; margin: 0; padding: 0; }
.alm-mega__card {
	display: flex;
	flex-direction: column;
	height: 100%;
	padding: .75rem .75rem 1.1rem;
	border-radius: 12px;
	border: 1px solid var(--alm-border);
	background: var(--alm-surface);
	color: var(--alm-text);
	text-decoration: none;
	position: relative;
	transition: border-color .3s, transform .3s var(--alm-ease), background .3s;
}
.alm-mega__card:hover, .alm-mega__card:focus-visible { border-color: rgba(225, 6, 0, .5); transform: translateY(-3px); background: #222226; }
.alm-mega__img { display: block; border-radius: 8px; overflow: hidden; aspect-ratio: 16 / 10; }
.alm-mega__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--alm-ease); }
.alm-mega__card:hover .alm-mega__img img { transform: scale(1.06); }
.alm-mega__icon { display: inline-grid; place-items: center; width: 40px; height: 40px; margin: -20px 0 0 .5rem; position: relative; border-radius: 10px; background: var(--alm-accent); color: #fff; box-shadow: 0 8px 20px -6px rgba(225, 6, 0, .6); }
.alm-mega__title { display: block; margin: .8rem .5rem .35rem; font: 600 1rem/1.25 var(--alm-display); }
.alm-mega__text { display: block; margin: 0 .5rem; font-size: .85rem; line-height: 1.5; color: var(--alm-muted); }
.alm-mega__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem; margin-top: 1.25rem; padding-top: 1.1rem; border-top: 1px solid var(--alm-border); font-size: .9rem; }
.alm-mega__foot a { color: var(--alm-text); font-weight: 600; text-decoration: none; display: inline-flex; gap: .4rem; align-items: center; }
.alm-mega__foot a:hover { color: var(--alm-accent-light); }
.alm-mega__claim { margin-left: auto; color: var(--alm-muted); }

/* Burger + mobile Navigation */
.alm-burger {
	display: none;
	width: 48px;
	height: 48px;
	border: 1px solid var(--alm-border);
	border-radius: 10px;
	background: rgba(255, 255, 255, .04);
	color: var(--alm-text);
	cursor: pointer;
	place-items: center;
}
.alm-burger__lines { display: grid; gap: 5px; width: 20px; }
.alm-burger__lines span { display: block; height: 2px; background: currentColor; border-radius: 2px; }
.alm-burger__lines span:last-child { width: 65%; justify-self: end; }

.alm-mobile-nav {
	position: fixed;
	inset: 0;
	z-index: 1001;
	display: flex;
	flex-direction: column;
	padding: 1rem clamp(1rem, 5vw, 2rem) 2rem;
	overflow-y: auto;
	background: radial-gradient(80% 50% at 100% 0%, rgba(225, 6, 0, .2), transparent 60%), var(--alm-bg);
	opacity: 0;
	transform: translateY(-12px);
	transition: opacity .3s, transform .35s var(--alm-ease);
}
.alm-mobile-nav[hidden] { display: none; }
.admin-bar .alm-mobile-nav { top: 46px; }
.alm-mobile-nav.is-open { opacity: 1; transform: none; }
.alm-mobile-nav__top { display: flex; align-items: center; justify-content: space-between; min-height: 60px; }
.alm-mobile-nav__close { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid var(--alm-border); background: rgba(255, 255, 255, .04); color: var(--alm-text); border-radius: 10px; cursor: pointer; }
.alm-mobile-nav__label { margin: 1.5rem 0 .5rem; font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--alm-accent-light); font-weight: 600; }
.alm-mobile-nav ul { list-style: none; margin: 0; padding: 0; }
.alm-mobile-nav__services a {
	display: flex; align-items: center; gap: .8rem;
	padding: .8rem 0;
	color: var(--alm-text);
	text-decoration: none;
	font: 600 1.05rem/1.3 var(--alm-display);
	border-bottom: 1px solid var(--alm-border);
}
.alm-mobile-nav__services .alm-svg-icon { color: var(--alm-accent-light); }
.alm-mobile-nav__main { margin-top: 1.25rem !important; }
.alm-mobile-nav__main a {
	display: block;
	padding: .45rem 0;
	color: var(--alm-text);
	text-decoration: none;
	font: 600 clamp(1.6rem, 7vw, 2.2rem)/1.2 var(--alm-display);
	letter-spacing: -.02em;
}
.alm-mobile-nav__main a:hover, .alm-mobile-nav__services a:hover { color: var(--alm-accent-light); }
.alm-mobile-nav__actions { display: grid; gap: .75rem; margin-top: auto; padding-top: 2rem; }
.alm-mobile-nav__actions .wp-element-button { width: 100%; }
html.alm-no-scroll, html.alm-no-scroll body { overflow: hidden; }

/* ---------- Marquee -------------------------------------------------------- */

.alm-marquee-band {
	padding-block: 1.4rem !important;
	background: var(--alm-bg-alt);
	border-block: 1px solid var(--alm-border);
	overflow: hidden;
	margin: 0 !important;
}
.alm-marquee {
	display: flex !important;
	gap: 0 !important;
	width: max-content;
	max-width: none !important;
}
.alm-marquee.is-ready { animation: alm-marquee var(--alm-marquee-duration, 40s) linear infinite; }
.alm-marquee-band:hover .alm-marquee,
.alm-marquee-band:focus-within .alm-marquee { animation-play-state: paused; }
.alm-marquee__item {
	margin: 0 !important;
	display: inline-flex;
	align-items: center;
	white-space: nowrap;
	font: 600 clamp(1.1rem, 2.2vw, 1.6rem)/1 var(--alm-display);
	letter-spacing: -.01em;
	color: var(--alm-text);
	padding-inline: clamp(1.25rem, 2.5vw, 2rem);
}
.alm-marquee__item:nth-child(even) { color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .45); }
.alm-marquee__item::after {
	content: "";
	width: 8px;
	height: 8px;
	margin-left: clamp(1.25rem, 2.5vw, 2rem);
	margin-right: calc(-1 * clamp(1.25rem, 2.5vw, 2rem));
	background: var(--alm-accent);
	transform: rotate(45deg);
	flex: none;
}
@keyframes alm-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Ablauf / Timeline --------------------------------------------- */

.alm-steps {
	position: relative;
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(1rem, 2vw, 1.5rem) !important;
	counter-reset: step;
}
.alm-steps > * { margin: 0 !important; }
.alm-step {
	position: relative;
	padding: clamp(1.5rem, 2.5vw, 2rem);
	padding-top: 3.25rem;
	border-radius: var(--alm-radius);
	background: var(--alm-surface);
	border: 1px solid var(--alm-border);
	overflow: hidden;
}
.alm-section--alt .alm-step { background: #1a1a1d; }
.alm-step::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	height: 2px;
	width: 100%;
	background: linear-gradient(90deg, var(--alm-accent), transparent);
	transform: scaleX(var(--alm-progress, 0));
	transform-origin: left;
	transition: transform 1.1s var(--alm-ease);
}
.alm-step.is-visible::before { --alm-progress: 1; }
.alm-step > * { margin-block: 0; }
.alm-step > * + * { margin-block-start: .7rem; }
.alm-step p:not(.alm-step__num) { color: var(--alm-muted); }
.alm-step__num {
	position: absolute;
	top: 1.1rem;
	right: 1.4rem;
	margin: 0 !important;
	font: 700 3.6rem/1 var(--alm-display);
	letter-spacing: -.04em;
	color: transparent;
	-webkit-text-stroke: 1px rgba(255, 255, 255, .18);
	transition: -webkit-text-stroke-color .4s, color .4s;
}
.alm-step:hover .alm-step__num { -webkit-text-stroke-color: var(--alm-accent); }
.alm-step__num + .wp-block-heading { margin-block-start: 0 !important; padding-right: 4rem; }

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

.alm-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.alm-stat {
	text-align: center;
	padding: 2rem 1rem;
	border-radius: var(--alm-radius);
	border: 1px solid var(--alm-border);
	background: linear-gradient(180deg, rgba(255, 255, 255, .04), transparent);
}
.alm-stat > * { margin: 0; }
.alm-counter {
	font: 700 clamp(2.6rem, 5.5vw, 4.5rem)/1 var(--alm-display) !important;
	letter-spacing: -.04em;
	background: var(--alm-chrome);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	font-variant-numeric: tabular-nums;
	overflow-wrap: anywhere;
}
.alm-counter span { color: var(--alm-accent); -webkit-text-fill-color: var(--alm-accent); font-size: .55em; margin-left: .08em; vertical-align: .35em; }
.alm-counter .alm-ph { font-size: .32em; letter-spacing: 0; -webkit-text-fill-color: #a1a1aa; word-break: break-word; }
.alm-stat__label { margin-top: .75rem !important; color: var(--alm-muted); font-size: .95rem; }

/* ---------- Hinweis-Boxen -------------------------------------------------- */

.alm-alert {
	position: relative;
	padding: clamp(1.75rem, 4vw, 3.5rem);
	border-radius: calc(var(--alm-radius) + 4px);
	background:
		radial-gradient(70% 90% at 0% 0%, rgba(225, 6, 0, .28), transparent 60%),
		linear-gradient(160deg, #1d0f0f 0%, #141416 60%);
	border: 1px solid rgba(225, 6, 0, .45);
	box-shadow: 0 0 0 1px rgba(225, 6, 0, .1), 0 40px 80px -40px rgba(225, 6, 0, .45);
	overflow: hidden;
}
.alm-alert > * { margin-block: 0; position: relative; }
.alm-alert > * + * { margin-block-start: 1rem; }
.alm-alert .alm-icon { background: var(--alm-accent); border-color: transparent; color: #fff; }
.alm-alert .alm-icon + * { margin-block-start: 1.25rem; }
.alm-alert p { color: #e4e4e7; }
.alm-alert h2.wp-block-heading { font-size: clamp(1.75rem, 3vw, 2.6rem); }
.alm-alert h3.wp-block-heading { font-size: clamp(1.35rem, 2.2vw, 1.8rem); }
.alm-alert .wp-block-buttons { margin-block-start: 1.5rem; }
.alm-alert__cols { gap: clamp(2rem, 5vw, 4rem) !important; }
.alm-alert__cols > .wp-block-column > * { margin-block: 0; }
.alm-alert__cols > .wp-block-column > * + * { margin-block-start: 1rem; }
.alm-alert__phone { font: 600 clamp(1.2rem, 2vw, 1.5rem)/1.3 var(--alm-display); }
.alm-alert__phone a { color: var(--alm-text) !important; text-decoration-color: var(--alm-accent) !important; }

.alm-numbered { list-style: none; counter-reset: num; padding: 0 !important; margin: 0; display: grid; gap: 1rem; }
.alm-numbered > li {
	counter-increment: num;
	position: relative;
	padding: 1.1rem 1.25rem 1.1rem 4rem;
	border-radius: 12px;
	background: rgba(10, 10, 11, .45);
	border: 1px solid rgba(255, 255, 255, .07);
	color: #d4d4d8;
}
.alm-numbered > li::before {
	content: counter(num);
	position: absolute;
	left: 1.1rem;
	top: 1rem;
	width: 32px;
	height: 32px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: var(--alm-accent);
	color: #fff;
	font: 700 .95rem/1 var(--alm-display);
}
.alm-numbered strong { color: var(--alm-text); }

.alm-infobox {
	padding: 1.25rem 1.5rem 1.25rem 1.5rem;
	border-radius: 12px;
	background: var(--alm-surface);
	border: 1px solid var(--alm-border);
	border-left: 3px solid #8A8A8F;
}
.alm-infobox > * { margin-block: 0; }
.alm-infobox > * + * { margin-block-start: .6rem; }
.alm-infobox .wp-block-heading { font-size: 1.1rem !important; }
.alm-infobox--tip { border-left-color: #22c55e; background: linear-gradient(90deg, rgba(34, 197, 94, .08), transparent 60%), var(--alm-surface); }
.alm-infobox--warn { border-left-color: var(--alm-accent); background: linear-gradient(90deg, rgba(225, 6, 0, .1), transparent 60%), var(--alm-surface); }

/* ---------- Listen --------------------------------------------------------- */

.wp-block-list.is-style-check { list-style: none; padding-left: 0; }
.wp-block-list.is-style-check > li { position: relative; padding-left: 2rem; margin-block: .55rem; }
.wp-block-list.is-style-check > li::before {
	content: "";
	position: absolute;
	left: 0;
	top: .3em;
	width: 1.2rem;
	height: 1.2rem;
	border-radius: 50%;
	background: rgba(225, 6, 0, .15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FF3B30' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 60% no-repeat;
}
.alm-inline-list { display: flex; flex-wrap: wrap; gap: .5rem 1.75rem; }
.alm-inline-list > li { margin-block: 0 !important; }

/* ---------- Split-Layouts -------------------------------------------------- */

.alm-split { gap: clamp(2rem, 6vw, 5rem) !important; align-items: center !important; }
.alm-split > .wp-block-column > * { margin-block: 0; }
.alm-split > .wp-block-column > * + * { margin-block-start: 1.25rem; }
.alm-split > .wp-block-column > .wp-block-heading { margin-block-start: 0; }
.alm-split > .wp-block-column > .alm-eyebrow + .wp-block-heading { margin-block-start: 0; }
.alm-split > .wp-block-column > .wp-block-buttons { margin-block-start: 2rem; }
.alm-split--text, .alm-split--faq, .alm-split--contact { align-items: flex-start !important; }
.alm-split--faq > .wp-block-column:first-child { position: sticky; top: calc(var(--alm-header-h) + 2rem); }
@media (min-width: 782px) {
	.alm-split--reverse { flex-direction: row-reverse; }
}

.alm-split--tech { align-items: flex-start !important; }
.alm-split--tech .alm-image-stack { position: sticky; top: calc(var(--alm-header-h) + 2rem); }
.alm-image-stack { display: grid; gap: 1rem; grid-template-columns: 1fr .75fr; align-items: end; }
.alm-image-stack > * { margin: 0 !important; }
.alm-image-stack > :last-child { margin-bottom: 15% !important; }

.alm-tech-list { display: grid; gap: .25rem; margin-block-start: 2rem !important; }
.alm-tech-item {
	display: grid !important;
	grid-template-columns: 52px 1fr;
	column-gap: 1.1rem;
	padding: 1.1rem 0;
	border-top: 1px solid var(--alm-border);
}
.alm-tech-item > * { margin: 0 !important; }
.alm-tech-item > .alm-icon { grid-row: span 2; width: 52px; height: 52px; }
.alm-tech-item .wp-block-heading { font-size: 1.15rem !important; align-self: end; }
.alm-tech-item p { color: var(--alm-muted); margin-top: .35rem !important; font-size: .975rem; }

/* ---------- Feature -------------------------------------------------------- */

.alm-feature { position: relative; isolation: isolate; }
.alm-feature--full {
	min-height: min(92vh, 900px);
	display: flex;
	align-items: center;
	padding-block: var(--alm-section) !important;
	overflow: hidden;
}
.alm-feature__bg { position: absolute !important; inset: 0; z-index: -2; margin: 0 !important; max-width: none !important; width: 100% !important; }
.alm-feature__bg img { width: 100%; height: 100%; object-fit: cover; border-radius: 0 !important; transform: scale(1.08) translate3d(0, var(--alm-parallax, 0px), 0); }
.alm-feature--full::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(90deg, rgba(10, 10, 11, .1) 0%, rgba(10, 10, 11, .55) 45%, rgba(10, 10, 11, .92) 100%), linear-gradient(180deg, var(--alm-bg) 0%, transparent 18%, transparent 82%, var(--alm-bg) 100%);
}
.alm-feature__card { max-width: 620px !important; margin-left: auto !important; margin-right: 0 !important; }
.alm-feature__card p { color: #d4d4d8; }
.alm-feature .alm-card h2.wp-block-heading { font-size: clamp(1.9rem, 3.2vw, 2.9rem); }

/* Feature als Gruppe (Bild + Karte) innerhalb einer Sektion */
.alm-section .alm-feature:not(.alm-feature--full) { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 0; }
.alm-section .alm-feature:not(.alm-feature--full) > * { margin: 0 !important; }
.alm-section .alm-feature:not(.alm-feature--full) > .alm-card { margin-left: -12% !important; position: relative; z-index: 2; }

/* ---------- Bewertungen ---------------------------------------------------- */

.alm-reviews {
	display: grid !important;
	grid-auto-flow: column;
	grid-auto-columns: calc((100% - 3rem) / 3);
	gap: 1.5rem !important;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-padding-inline: 0;
	padding-bottom: 1rem;
	scrollbar-width: thin;
	scrollbar-color: var(--alm-accent) transparent;
	overscroll-behavior-x: contain;
}
.alm-reviews > * { margin: 0 !important; scroll-snap-align: start; }
.alm-reviews::-webkit-scrollbar { height: 4px; }
.alm-reviews::-webkit-scrollbar-thumb { background: var(--alm-accent); border-radius: 4px; }
.alm-review { display: flex; flex-direction: column; }
.alm-review::before {
	content: "„";
	position: absolute;
	right: 1.25rem;
	top: -.6rem;
	font: 700 7rem/1 var(--alm-display);
	color: rgba(225, 6, 0, .14);
	z-index: 0;
}
.alm-stars { color: #ffc24b !important; font-weight: 700; letter-spacing: .1em; }
.alm-stars::before { content: "★ "; }
.alm-review__text { flex: 1; color: var(--alm-text) !important; font-size: 1.05rem; line-height: 1.65; }
.alm-review__name { font-weight: 600; color: var(--alm-text) !important; margin-top: 1.4rem !important; }
.alm-review__car { font-size: .875rem; margin-top: .15rem !important; }
.alm-slider-nav { display: flex; gap: .6rem; justify-content: flex-end; margin-top: 1rem !important; }
.alm-slider-nav button {
	width: 48px; height: 48px; display: grid; place-items: center; cursor: pointer;
	border-radius: 50%; border: 1px solid var(--alm-border); background: var(--alm-surface); color: var(--alm-text);
	transition: border-color .25s, background .25s;
}
.alm-slider-nav button:hover { border-color: var(--alm-accent); background: #26262a; }
.alm-slider-nav button:disabled { opacity: .35; cursor: default; }

/* ---------- Logos ---------------------------------------------------------- */

.alm-logos { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.alm-logos__title { text-align: center; color: var(--alm-muted); font-size: .9rem; letter-spacing: .08em; }
.alm-logo {
	display: grid;
	place-items: center;
	min-height: 92px;
	padding: 1rem;
	text-align: center;
	border-radius: 12px;
	border: 1px solid var(--alm-border);
	background: rgba(255, 255, 255, .02);
	color: #8a8a8f;
	font: 600 1rem/1.2 var(--alm-display);
	letter-spacing: .02em;
	transition: color .3s, border-color .3s, background .3s;
}
.alm-logo:hover { color: var(--alm-text); border-color: rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .04); }
.alm-logo img { max-height: 44px; width: auto; filter: grayscale(1) brightness(1.6); opacity: .7; transition: filter .3s, opacity .3s; }
.alm-logo:hover img { filter: none; opacity: 1; }
.alm-logos--partner { margin-block-start: 1.25rem !important; }

/* ---------- FAQ / Accordion ----------------------------------------------- */

.alm-faq-list { display: grid; }
.alm-faq-list > * { margin: 0 !important; }
.wp-block-details {
	border-bottom: 1px solid var(--alm-border);
	padding-block: 0 !important;
}
.wp-block-details:first-child { border-top: 1px solid var(--alm-border); }
.wp-block-details summary {
	position: relative;
	list-style: none;
	cursor: pointer;
	padding: 1.35rem 3.5rem 1.35rem 0;
	font: 600 clamp(1.02rem, 1.5vw, 1.15rem)/1.4 var(--alm-display);
	color: var(--alm-text);
	transition: color .25s;
}
.wp-block-details summary::-webkit-details-marker { display: none; }
.wp-block-details summary::after {
	content: "";
	position: absolute;
	right: .25rem;
	top: 50%;
	width: 36px;
	height: 36px;
	margin-top: -18px;
	border-radius: 50%;
	border: 1px solid var(--alm-border);
	background:
		linear-gradient(var(--alm-text), var(--alm-text)) center / 12px 1.5px no-repeat,
		linear-gradient(var(--alm-text), var(--alm-text)) center / 1.5px 12px no-repeat;
	transition: transform .35s var(--alm-ease), background-color .25s, border-color .25s;
}
.wp-block-details[open] summary::after {
	transform: rotate(45deg);
	background-color: var(--alm-accent);
	border-color: var(--alm-accent);
}
.wp-block-details summary:hover { color: var(--alm-accent-light); }
.wp-block-details > :not(summary) { margin-block: 0 1.25rem; color: var(--alm-muted); max-width: 70ch; }
.wp-block-details > :not(summary) + :not(summary) { margin-block-start: -.4rem; }
.wp-block-details.is-animating { overflow: hidden; }

.alm-faq-group > * { margin-block: 0; }
.alm-faq-group > .wp-block-heading { margin-block: clamp(2.5rem, 5vw, 3.5rem) 1rem; font-size: var(--wp--preset--font-size--h-3) !important; }
.alm-faq-group[hidden] { display: none; }

.alm-faq-searchbox { position: relative; max-width: 640px; margin-bottom: 2rem; }
.alm-faq-searchbox input {
	width: 100%;
	min-height: 60px;
	padding: 1rem 1.25rem 1rem 3.4rem;
	border-radius: 999px;
	border: 1px solid var(--alm-border);
	background: var(--alm-surface);
	color: var(--alm-text);
	font: inherit;
	font-size: 1.05rem;
}
.alm-faq-searchbox input:focus { border-color: var(--alm-accent-light); outline: none; box-shadow: 0 0 0 4px rgba(255, 59, 48, .18); }
.alm-faq-searchbox .alm-svg-icon { position: absolute; left: 1.25rem; top: 50%; transform: translateY(-50%); color: var(--alm-muted); }
.alm-faq-searchbox__status { margin: .75rem 0 0 1.25rem; font-size: .9rem; color: var(--alm-muted); min-height: 1.4em; }
mark.alm-hit { background: rgba(225, 6, 0, .35); color: inherit; border-radius: 3px; padding: 0 .1em; }

/* ---------- CTA ------------------------------------------------------------ */

.alm-cta-big {
	display: grid !important;
	grid-template-columns: 1.15fr 1fr;
	gap: clamp(2rem, 5vw, 4.5rem) !important;
	align-items: center;
	padding: clamp(2rem, 5vw, 4.5rem);
	border-radius: 24px;
	border: 1px solid rgba(255, 255, 255, .1);
	background:
		radial-gradient(80% 120% at 0% 100%, rgba(225, 6, 0, .22), transparent 60%),
		linear-gradient(160deg, #1c1c1f, #0f0f10);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 60px 120px -60px rgba(0, 0, 0, .9);
}
.alm-cta-big > * { margin: 0 !important; }
.alm-cta-big__text > * { margin-block: 0; }
.alm-cta-big__text > * + * { margin-block-start: 1.1rem; }
.alm-cta-big__alt { margin-top: 1rem !important; text-align: center; color: var(--alm-muted); font-size: .95rem; }

.alm-mini-upload { display: grid; gap: .9rem; }
.alm-mini-upload__drop {
	position: relative;
	display: grid;
	justify-items: center;
	gap: .4rem;
	padding: 2.2rem 1.5rem;
	border: 1.5px dashed rgba(255, 255, 255, .25);
	border-radius: 16px;
	background: rgba(10, 10, 11, .5);
	text-align: center;
	cursor: pointer;
	transition: border-color .25s, background .25s;
}
.alm-mini-upload__drop:hover, .alm-mini-upload__drop.is-dragover, .alm-mini-upload__drop:focus-within { border-color: var(--alm-accent-light); background: rgba(225, 6, 0, .08); }
.alm-mini-upload__drop .alm-svg-icon { color: var(--alm-accent-light); }
.alm-mini-upload__title { font: 600 1.1rem/1.3 var(--alm-display); }
.alm-mini-upload__meta { font-size: .875rem; color: var(--alm-muted); }
.alm-mini-upload__input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.alm-mini-upload__go.wp-element-button { width: 100%; }
.alm-mini-upload .alm-note { text-align: center; margin: 0; }

.alm-cta-band {
	padding-block: clamp(3rem, 6vw, 5rem) !important;
	background:
		radial-gradient(60% 140% at 100% 50%, rgba(225, 6, 0, .35), transparent 60%),
		linear-gradient(90deg, #160707, #0A0A0B);
	border-top: 1px solid rgba(225, 6, 0, .3);
}
.alm-cta-band__inner { display: flex !important; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2rem; }
.alm-cta-band__inner > * { margin: 0 !important; }
.alm-cta-band__text > * { margin-block: 0; }
.alm-cta-band__text > * + * { margin-block-start: .6rem; }
.alm-cta-band__text p { color: #d4d4d8; }
.alm-cta-band .wp-block-heading { font-size: clamp(1.75rem, 3.2vw, 2.75rem) !important; }

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

.alm-contact-list { display: grid; gap: .25rem; margin-block-start: 2rem !important; }
.alm-contact-item {
	display: grid !important;
	grid-template-columns: 46px 1fr;
	gap: 1rem;
	align-items: start;
	padding: 1rem 0;
	border-top: 1px solid var(--alm-border);
}
.alm-contact-item > * { margin: 0 !important; }
.alm-contact-item .alm-icon { width: 46px; height: 46px; }
.alm-contact-item p { color: var(--alm-muted); }
.alm-contact-item strong { color: var(--alm-text); display: inline-block; margin-bottom: .15rem; }
.alm-contact-grid .alm-card .alm-icon + * { margin-top: 1rem; }

.alm-map {
	position: relative;
	border-radius: var(--alm-radius);
	overflow: hidden;
	border: 1px solid var(--alm-border);
	background:
		repeating-linear-gradient(0deg, rgba(255, 255, 255, .03) 0 1px, transparent 1px 48px),
		repeating-linear-gradient(90deg, rgba(255, 255, 255, .03) 0 1px, transparent 1px 48px),
		radial-gradient(60% 60% at 50% 45%, rgba(225, 6, 0, .14), transparent 70%),
		var(--alm-surface);
}
.alm-map__placeholder {
	min-height: 440px;
	display: grid;
	align-content: center;
	justify-items: center;
	gap: .9rem;
	padding: 2rem;
	text-align: center;
}
.alm-map__placeholder > .alm-svg-icon { color: var(--alm-accent-light); }
.alm-map__title { margin: 0; font: 600 1.35rem/1.2 var(--alm-display); }
.alm-map__text { margin: 0; max-width: 46ch; font-size: .925rem; color: var(--alm-muted); }
.alm-map__remember { display: inline-flex; align-items: center; gap: .5rem; font-size: .875rem; color: var(--alm-muted); cursor: pointer; }
.alm-map iframe { display: block; width: 100%; height: 440px; border: 0; filter: grayscale(.4) invert(.92) hue-rotate(180deg) contrast(.9); }
.alm-map__address { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; margin: 0; padding: 1rem 1.25rem; border-top: 1px solid var(--alm-border); background: var(--alm-bg-alt); font-size: .925rem; }
.alm-map__address .alm-svg-icon { color: var(--alm-accent-light); }
.alm-map__address a { margin-left: auto; color: var(--alm-accent-light); font-weight: 600; }

/* ---------- Footer --------------------------------------------------------- */

.alm-footer {
	position: relative;
	padding-block: clamp(4rem, 8vw, 6rem) 2rem !important;
	background: #070708;
	border-top: 1px solid var(--alm-border);
	margin: 0 !important;
}
.alm-footer::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	height: 1px;
	background: linear-gradient(90deg, transparent, var(--alm-accent), transparent);
	opacity: .7;
}
.alm-footer > * + * { margin-block-start: clamp(2.5rem, 5vw, 3.5rem); }
.alm-footer__top { display: flex !important; flex-wrap: wrap; align-items: center; gap: 1rem 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid var(--alm-border); }
.alm-footer__top > * { margin: 0 !important; }
.alm-footer__brand { font: 700 clamp(1.6rem, 3vw, 2.2rem)/1 var(--alm-display); letter-spacing: .1em; text-transform: uppercase; }
.alm-footer__brand span { color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .55); }
.alm-footer__claim { flex: 1 1 320px; color: var(--alm-muted); max-width: 52ch; }
.alm-footer__cols { gap: 2rem !important; }
.alm-footer__title.wp-block-heading { margin: 0 0 1.1rem; font: 600 .78rem/1.3 var(--alm-body) !important; letter-spacing: .2em; text-transform: uppercase; color: var(--alm-accent-light); }
.alm-footer__links { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.alm-footer__links a, .alm-footer__text a, .alm-footer__legal a, .alm-footer__social a { color: #d4d4d8; text-decoration: none; transition: color .2s; }
.alm-footer__links a:hover, .alm-footer__text a:hover, .alm-footer__legal a:hover, .alm-footer__social a:hover { color: var(--alm-accent-light); }
.alm-footer__text { color: #b4b4bb; font-size: .95rem; line-height: 1.75; margin-block: 0 1rem; }
.alm-footer__text.alm-muted { font-size: .875rem; line-height: 1.6; color: var(--alm-muted); }
.alm-footer__badges { display: flex !important; flex-wrap: wrap; gap: .75rem; align-items: center; }
.alm-footer__badges > * { margin: 0 !important; }
.alm-badge { padding: .5rem 1rem; border-radius: 999px; border: 1px solid var(--alm-border); font-size: .85rem; color: #b4b4bb; }
.alm-footer__social { margin-left: auto !important; display: flex; gap: 1.25rem; font-size: .9rem; }
.alm-footer__bottom { display: flex !important; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: 1.5rem; border-top: 1px solid var(--alm-border); font-size: .85rem; color: var(--alm-muted); }
.alm-footer__bottom > * { margin: 0 !important; }
.alm-footer__legal { display: flex; flex-wrap: wrap; gap: 1.5rem; }

a[data-alm-missing] { display: none !important; }
.alm-show-placeholders a[data-alm-missing] { display: inline !important; outline: 1px dashed #ffc24b; }

/* ---------- Preis, Tabelle ------------------------------------------------- */

.alm-price {
	padding: clamp(1.75rem, 3.5vw, 3rem);
	border-radius: calc(var(--alm-radius) + 4px);
	background: linear-gradient(160deg, #1d1d20, #141416);
	border: 1px solid var(--alm-border);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
}
.alm-price > * { margin-block: 0; }
.alm-price > * + * { margin-block-start: 1rem; }
.alm-price__value {
	font: 700 clamp(2.2rem, 5vw, 3.75rem)/1 var(--alm-display) !important;
	overflow-wrap: anywhere;
	letter-spacing: -.03em;
}
.alm-price__value strong { color: var(--alm-text); background: var(--alm-chrome); -webkit-background-clip: text; background-clip: text; color: transparent; }
.alm-price__value strong .alm-ph { -webkit-text-fill-color: #ffc24b; }

.wp-block-table.alm-table { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0; border-radius: var(--alm-radius); border: 1px solid var(--alm-border); }
.alm-table table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: .95rem; }
.alm-table th, .alm-table td { padding: 1rem 1.15rem; border: 0; border-bottom: 1px solid var(--alm-border); text-align: left; vertical-align: top; }
.alm-table thead th { background: var(--alm-surface); font: 600 .9rem/1.3 var(--alm-display); color: var(--alm-text); border-bottom: 2px solid var(--alm-accent); }
.alm-table tbody tr:nth-child(even) { background: rgba(255, 255, 255, .02); }
.alm-table tbody td:first-child, .alm-table tbody th { font-weight: 600; color: var(--alm-text); }
.alm-table td { color: #c4c4cc; }
.alm-table tbody tr:last-child td { border-bottom: 0; }

/* ---------- Zeitstrahl, Team ---------------------------------------------- */

.alm-timeline { position: relative; display: grid; gap: 1.5rem; padding-left: 2.5rem; max-width: 860px; }
.alm-timeline > * { margin: 0 !important; }
.alm-timeline::before { content: ""; position: absolute; left: 9px; top: .5rem; bottom: .5rem; width: 2px; background: linear-gradient(var(--alm-accent), rgba(225, 6, 0, .1)); }
.alm-milestone { position: relative; padding: 1.5rem 1.75rem; border-radius: var(--alm-radius); background: var(--alm-surface); border: 1px solid var(--alm-border); }
.alm-milestone::before { content: ""; position: absolute; left: calc(-2.5rem + 2px); top: 1.85rem; width: 16px; height: 16px; border-radius: 50%; background: var(--alm-bg); border: 3px solid var(--alm-accent); box-shadow: 0 0 0 6px rgba(225, 6, 0, .15); }
.alm-milestone > * { margin-block: 0; }
.alm-milestone > * + * { margin-block-start: .5rem; }
.alm-milestone__year { font: 700 1.5rem/1 var(--alm-display) !important; color: var(--alm-accent-light); }
.alm-milestone p:not(.alm-milestone__year) { color: var(--alm-muted); }

.alm-member > .wp-block-image img { aspect-ratio: 4 / 5 !important; filter: grayscale(.35) contrast(1.05); transition: filter .5s; }
.alm-member:hover > .wp-block-image img { filter: none; }
.alm-member .alm-eyebrow { margin-top: 1rem !important; }

/* ---------- Artikel / Ratgeber / Rechtliches ------------------------------ */

.alm-article { gap: clamp(2rem, 5vw, 4.5rem) !important; align-items: flex-start !important; }
.alm-toc { position: sticky; top: calc(var(--alm-header-h) + 1.5rem); flex-basis: 280px !important; flex-grow: 0 !important; max-height: calc(100vh - var(--alm-header-h) - 3rem); overflow-y: auto; padding: 1.5rem; border-radius: var(--alm-radius); background: var(--alm-surface); border: 1px solid var(--alm-border); }
.alm-toc > * { margin-block: 0; }
.alm-toc__title { font: 600 .78rem/1.3 var(--alm-body) !important; letter-spacing: .2em; text-transform: uppercase; color: var(--alm-accent-light); margin-bottom: 1rem !important; }
.alm-toc ul, .alm-toc ol { list-style: none; padding: 0; margin: 0; display: grid; gap: .15rem; counter-reset: toc; }
.alm-toc li { margin: 0; }
.alm-toc a { display: block; padding: .45rem .75rem; border-radius: 6px; border-left: 2px solid transparent; color: var(--alm-muted) !important; text-decoration: none !important; font-size: .925rem; line-height: 1.4; transition: color .2s, background .2s, border-color .2s; }
.alm-toc a:hover { color: var(--alm-text) !important; background: rgba(255, 255, 255, .04); }
.alm-toc a.is-active { color: var(--alm-text) !important; border-left-color: var(--alm-accent); background: rgba(225, 6, 0, .08); }
.alm-article > .wp-block-column:last-child > * { margin-block: 0; }
.alm-article > .wp-block-column:last-child > * + * { margin-block-start: 1.15rem; }
.alm-article > .wp-block-column:last-child > .wp-block-heading { margin-block-start: clamp(2.5rem, 5vw, 3.5rem); }
.alm-article > .wp-block-column:last-child > .wp-block-heading:first-child { margin-block-start: 0; }
.alm-article > .wp-block-column:last-child > h3.wp-block-heading { margin-block-start: 2rem; }
.alm-article > .wp-block-column:last-child p,
.alm-article > .wp-block-column:last-child li { color: #c9c9d0; }
.alm-article .alm-infobox { margin-block: 1.75rem !important; }

.alm-legal, .alm-prose { color: #c9c9d0; }
.alm-legal > * > *, .alm-prose > * { margin-block: 0; }
.alm-legal h2, .alm-prose h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem) !important; margin-block: 2.75rem 1rem !important; }
.alm-legal h3, .alm-prose h3 { font-size: 1.2rem !important; margin-block: 2rem .75rem !important; }
.alm-legal p, .alm-legal li, .alm-prose p, .alm-prose li { margin-block: 0 1rem; }
.alm-prose ul, .alm-legal ul { padding-left: 1.25rem; }

/* ---------- Brotkrumen ----------------------------------------------------- */

.alm-breadcrumb ol { display: flex; flex-wrap: wrap; gap: .25rem .5rem; list-style: none; margin: 0 0 1.25rem; padding: 0; font-size: .85rem; color: var(--alm-muted); }
.alm-breadcrumb li { display: inline-flex; align-items: center; gap: .5rem; }
.alm-breadcrumb li + li::before { content: "/"; color: rgba(255, 255, 255, .25); }
.alm-breadcrumb a { color: var(--alm-muted); text-decoration: none; }
.alm-breadcrumb a:hover { color: var(--alm-text); }
.alm-breadcrumb [aria-current] { color: #d4d4d8; }

/* ---------- Stellen -------------------------------------------------------- */

.alm-jobs { display: grid; gap: 1rem; }
.alm-job { display: grid !important; gap: .5rem; text-decoration: none; color: var(--alm-text); }
.alm-job__meta { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--alm-accent-light); font-weight: 600; }
.alm-job__title { font: 600 clamp(1.25rem, 2vw, 1.6rem)/1.25 var(--alm-display); }
.alm-job__excerpt { color: var(--alm-muted); }
.alm-job__more { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; margin-top: .5rem; }
.alm-job:hover .alm-job__more { color: var(--alm-accent-light); }
.alm-sticky { position: sticky; top: calc(var(--alm-header-h) + 1.5rem); }

/* Referenz-Einzelseite */
.alm-ref-single { gap: clamp(1.5rem, 4vw, 3rem) !important; align-items: flex-start !important; }
.alm-ref-facts > * { margin: 0 !important; }
.alm-ref-facts__label { font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; color: var(--alm-accent-light) !important; margin-top: 1.1rem !important; }
.alm-ref-facts__label:first-child { margin-top: 0 !important; }
.alm-ref-facts__value { color: var(--alm-text) !important; font-weight: 600; margin-top: .3rem !important; }
.alm-ref-facts .wp-block-buttons { margin-top: 1.75rem !important; }

/* ---------- 404 ------------------------------------------------------------ */

.alm-404 { min-height: 90vh; display: flex; flex-direction: column; justify-content: center; text-align: center; padding-top: calc(var(--alm-header-h) + 4rem) !important; background: radial-gradient(50% 50% at 50% 40%, rgba(225, 6, 0, .15), transparent 70%), var(--alm-bg) !important; }
.alm-404 > * { margin-inline: auto !important; }
.alm-404 .wp-block-buttons { justify-content: center; }
.alm-404__code {
	font: 800 clamp(7rem, 26vw, 18rem)/.85 var(--alm-display) !important;
	letter-spacing: -.06em;
	background: var(--alm-chrome);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	position: relative;
	display: inline-block;
}
.alm-404__links { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.5rem; list-style: none; padding: 0 !important; }
.alm-404__links li { margin: 0; }

/* ---------- Floating-Action-Buttons (mobil) ------------------------------- */

.alm-fab { display: none; }
@media (max-width: 781px) {
	.alm-fab {
		position: fixed;
		left: .75rem;
		right: .75rem;
		bottom: calc(.75rem + env(safe-area-inset-bottom));
		z-index: 900;
		display: grid;
		grid-template-columns: 1fr 1fr 1.4fr;
		gap: .5rem;
		padding: .5rem;
		border-radius: 18px;
		background: rgba(14, 14, 16, .82);
		backdrop-filter: blur(18px) saturate(1.4);
		-webkit-backdrop-filter: blur(18px) saturate(1.4);
		border: 1px solid rgba(255, 255, 255, .1);
		box-shadow: 0 20px 40px -10px rgba(0, 0, 0, .8);
		transform: translateY(140%);
		transition: transform .45s var(--alm-ease);
	}
	.alm-fab.is-visible { transform: none; }
	.alm-fab__btn {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: .2rem;
		min-height: 54px;
		border-radius: 12px;
		color: var(--alm-text);
		text-decoration: none;
		font-size: .75rem;
		font-weight: 600;
		background: rgba(255, 255, 255, .05);
	}
	.alm-fab__btn--primary { background: var(--alm-accent); color: #fff; flex-direction: row; gap: .5rem; font-size: .875rem; }
	body { padding-bottom: 92px; }
}

/* ---------- Cookie-Banner -------------------------------------------------- */

.alm-cookie {
	position: fixed;
	left: 1rem;
	bottom: 1rem;
	z-index: 10001;
	width: min(480px, calc(100vw - 2rem));
	padding: 1.5rem;
	border-radius: 18px;
	background: rgba(20, 20, 22, .94);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border: 1px solid rgba(255, 255, 255, .12);
	box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .9);
}
.alm-cookie[hidden] { display: none; }
.alm-cookie__title { display: flex; align-items: center; gap: .5rem; margin: 0 0 .5rem; font: 600 1.1rem/1.3 var(--alm-display); }
.alm-cookie__title .alm-svg-icon { color: var(--alm-accent-light); }
.alm-cookie__text { margin: 0; font-size: .875rem; line-height: 1.55; color: var(--alm-muted); }
.alm-cookie__text a { color: var(--alm-accent-light); }
.alm-cookie__options { border: 0; padding: 0; margin: 1rem 0; display: grid; gap: .5rem; }
.alm-cookie__actions { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.alm-cookie__actions .wp-element-button { min-height: 44px; padding: .65rem 1rem; font-size: .875rem; }
.alm-cookie__actions [data-consent="save"] { grid-column: 1 / -1; order: 3; }

.alm-check { display: inline-flex; align-items: flex-start; gap: .65rem; cursor: pointer; font-size: .925rem; line-height: 1.45; }
.alm-check input { width: 20px; height: 20px; margin: .1rem 0 0; accent-color: var(--alm-accent); flex: none; }

/* ---------- Custom Cursor (nur Desktop, abschaltbar) ---------------------- */

.alm-cursor {
	position: fixed;
	left: 0;
	top: 0;
	z-index: 10002;
	width: 34px;
	height: 34px;
	margin: -17px 0 0 -17px;
	border-radius: 50%;
	border: 1.5px solid rgba(255, 59, 48, .8);
	pointer-events: none;
	transition: width .25s, height .25s, margin .25s, background-color .25s, opacity .25s;
	mix-blend-mode: difference;
	opacity: 0;
}
.alm-cursor.is-active { opacity: 1; }
.alm-cursor.is-hover { width: 60px; height: 60px; margin: -30px 0 0 -30px; background: rgba(225, 6, 0, .25); }
.alm-cursor-dot { position: fixed; left: 0; top: 0; z-index: 10003; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: var(--alm-accent-light); pointer-events: none; opacity: 0; }
.alm-cursor-dot.is-active { opacity: 1; }

/* ---------- Scroll-Reveal -------------------------------------------------- */

html.js .alm-reveal { opacity: 0; transform: translate3d(0, 24px, 0); transition: opacity .8s var(--alm-ease), transform .8s var(--alm-ease); transition-delay: var(--alm-delay, 0ms); }
html.js .alm-reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Platzhalter-Markierung (nur für angemeldete Admins sichtbar) --- */

.alm-show-placeholders .alm-ph {
	outline: 1px dashed rgba(255, 194, 75, .8);
	outline-offset: 2px;
	background: rgba(255, 194, 75, .12);
	border-radius: 3px;
	-webkit-text-fill-color: #ffc24b;
}

/* ---------- Responsive ----------------------------------------------------- */

@media (max-width: 1279px) {
	.alm-nav__link { padding-inline: .55rem; font-size: .9rem; }
	.alm-header__phone span { display: none; }
	.alm-mega__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.alm-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.alm-bento--usp { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.alm-bento--usp .alm-tile--wide { grid-column: span 2; }
	.alm-bento--leistungen .alm-tile--lg { grid-column: span 2; grid-row: span 1; min-height: 460px; }
	.alm-logos { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.alm-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1023px) {
	.alm-nav, .alm-header__phone { display: none; }
	.alm-burger { display: grid; }
	.alm-header__actions { margin-left: auto; }
	.alm-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.alm-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.alm-grid--3, .alm-related, .alm-team, .alm-contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.alm-cta-big { grid-template-columns: 1fr; }
	.alm-reviews { grid-auto-columns: calc((100% - 1.5rem) / 2); }
	.alm-section .alm-feature:not(.alm-feature--full) { grid-template-columns: 1fr; }
	.alm-section .alm-feature:not(.alm-feature--full) > .alm-card { margin: -3rem 1rem 0 !important; }
	.alm-feature__card { margin-inline: auto !important; }
	.alm-split--faq > .wp-block-column:first-child { position: static; }
	.alm-split--tech .alm-image-stack { position: static; }
}

@media (max-width: 781px) {
	:root { --alm-header-h: 64px; }
	.alm-header__cta.wp-element-button { display: none; }
	.alm-bento, .alm-bento--usp, .alm-grid--2, .alm-grid--3, .alm-grid--4, .alm-related, .alm-team, .alm-contact-grid, .alm-steps { grid-template-columns: 1fr; }
	.alm-tile--wide, .alm-tile--lg, .alm-bento--usp .alm-tile--wide { grid-column: auto; grid-row: auto; }
	.alm-bento--leistungen .alm-tile--lg { min-height: 420px; }
	.alm-card--cover { min-height: 320px; }
	.alm-logos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.alm-logo { min-height: 72px; font-size: .85rem; }
	.alm-hero { min-height: 100svh; }
	.alm-hero::before { background: linear-gradient(180deg, rgba(10, 10, 11, .45) 0%, rgba(10, 10, 11, .35) 35%, rgba(10, 10, 11, .9) 75%, var(--alm-bg) 100%); }
	.alm-trust__item { font-size: .8rem; padding: .45rem .8rem; }
	.alm-scroll { display: none; }
	.alm-hero .wp-block-buttons, .alm-page-hero .wp-block-buttons { flex-direction: column; align-items: stretch; }
	.alm-hero .wp-block-button, .alm-page-hero .wp-block-button { width: 100%; }
	.alm-hero .wp-block-button__link, .alm-page-hero .wp-block-button__link { width: 100%; }
	.alm-image-stack { grid-template-columns: 1fr; }
	.alm-image-stack > :last-child { display: none; }
	.alm-toc { position: static; max-height: none; flex-basis: auto !important; }
	.alm-footer__social { margin-left: 0 !important; }
	.alm-feature--full { min-height: 0; }
	.alm-feature--full::before { background: linear-gradient(180deg, rgba(10, 10, 11, .3) 0%, rgba(10, 10, 11, .85) 45%, var(--alm-bg) 100%); }
	.alm-feature--full { align-items: flex-end; padding-top: 40vh !important; }
	.alm-cookie { left: .5rem; right: .5rem; bottom: .5rem; width: auto; }
	.alm-reviews { grid-auto-columns: 86%; }
	.alm-timeline { padding-left: 2rem; }
	.alm-milestone::before { left: calc(-2rem + 2px); }
	.alm-step__num { font-size: 3rem; }
	.alm-numbered > li { padding-left: 3.5rem; }
	.alm-numbered > li::before { left: .9rem; }
}

@media (max-width: 479px) {
	.alm-logos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.alm-stats { grid-template-columns: 1fr 1fr; gap: .75rem !important; }
	.alm-stat { padding: 1.5rem .5rem; }
	.alm-cookie__actions { grid-template-columns: 1fr; }
	.alm-brand__sub { letter-spacing: .3em; }
}

/* ---------- Reduzierte Bewegung ------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: .001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .001ms !important;
		scroll-behavior: auto !important;
	}
	html.js .alm-reveal { opacity: 1 !important; transform: none !important; }
	.alm-marquee.is-ready { animation: none !important; }
	.alm-marquee-band { overflow-x: auto; }
	.alm-cursor, .alm-cursor-dot { display: none !important; }
}

/* ---------- Druck ---------------------------------------------------------- */

@media print {
	body::after, .alm-header, .alm-fab, .alm-cookie, .alm-cursor, .alm-cursor-dot, .alm-marquee-band { display: none !important; }
	body { background: #fff; color: #000; }
}
