/**
 * Elektro A–Z – Hauptstylesheet
 *
 * 1:1 aus dem Design (index.html, Version D) übernommen: Inline-Styles wurden in Klassen
 * überführt. Klassen mit „az-“ stammen aus dem Design, „eaz-“ sind Theme-Ergänzungen.
 *
 *  1. Grundlagen & Buttons
 *  2. Kopfbereich
 *  3. Startseiten-Abschnitte
 *  4. Formulare (Contact Form 7 / WPForms)
 *  5. Fußbereich & Unterseiten
 *  6. Animationen
 *  7. Responsive
 */

/* ---------------------------------------------------------------
 * 1. Grundlagen & Buttons
 * ------------------------------------------------------------- */

:root {
	--az-navy: #141B3D;
	--az-night: #0E1430;
	--az-blue: #5DADE2;
	--az-link: #2B6CB0;
	--az-text: #1D1D1F;
	--az-muted: #5E5E63;
	--az-soft: #C9CEDE;
	--az-light: #F5F5F7;
	--az-line: #E5E5EA;
	--glow: #5DADE2;
}

body {
	margin: 0;
	-webkit-font-smoothing: antialiased;
	overflow-x: clip;
}

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

section,
[id] {
	scroll-margin-top: 100px;
}

/* Abstände kommen ausschließlich aus den Klassen (blockGap ist in theme.json 0). */
.az-main > *,
.wp-site-blocks > * {
	margin-block: 0;
}

.az-section {
	position: relative;
	padding: 7.5rem 1.5rem;
	background: #FFFFFF;
}

.az-inner {
	position: relative;
	max-width: 1200px;
	margin: 0 auto;
}

.az-dark {
	background: var(--az-navy);
	color: #FFFFFF;
}

.az-grid-bg {
	position: relative;
	overflow: hidden;
}

.az-grid-bg::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
	background-size: 56px 56px;
	-webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
	mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
	pointer-events: none;
}

.az-intro {
	margin-bottom: 4rem;
}

.az-intro--lg {
	margin-bottom: 4.5rem;
}

.az-center {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

/* Linie mit Punkt über den Überschriften */
.az-linedot::before {
	content: "";
	display: block;
	width: 12px;
	height: 80px;
	margin-bottom: 2rem;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 80'%3E%3Cline x1='6' y1='0' x2='6' y2='68' stroke='%23141B3D' stroke-width='1.5'/%3E%3Ccircle cx='6' cy='73' r='5' fill='%235DADE2'/%3E%3C/svg%3E") center / contain no-repeat;
}

.az-kicker {
	margin: 0 0 1.25rem;
	font-size: 0.9375rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--az-link);
}

.az-dark .az-kicker {
	color: var(--az-blue);
}

.az-kicker--sm {
	margin: 0;
	font-size: 0.8125rem;
}

.az-h2 {
	margin: 0;
	font-size: clamp(2.5rem, 5vw, 4.25rem);
	line-height: 1.06;
	font-weight: 800;
	letter-spacing: -0.03em;
}

.az-lead {
	margin: 1.5rem auto 0;
	max-width: 44rem;
	font-size: 1.1875rem;
	line-height: 1.7;
	color: var(--az-muted);
}

.az-dark .az-lead {
	color: var(--az-soft);
}

.az-mw-18 { max-width: 18ch; }
.az-mw-20 { max-width: 20ch; margin-inline: auto; }
.az-mw-40 { max-width: 40rem; }
.az-mw-46 { max-width: 46rem; }

.az-card {
	transition: transform 0.5s cubic-bezier(.2,.7,.2,1), box-shadow 0.5s cubic-bezier(.2,.7,.2,1);
}

.az-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 28px 56px rgba(20,27,61,0.14);
}

/* Buttons */
.wp-block-buttons {
	gap: 1rem;
}

.wp-block-button .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	min-height: 44px;
	box-sizing: border-box;
	border: 0;
	border-radius: 999px;
	text-decoration: none;
	font-weight: 700;
	transition: transform 0.3s ease, filter 0.3s ease;
}

.wp-block-button .wp-block-button__link:hover {
	transform: translateY(-2px);
	filter: brightness(1.08);
}

.az-primary .wp-block-button__link {
	background: var(--az-blue);
	color: var(--az-navy);
}

.az-ghost .wp-block-button__link {
	background: transparent;
	color: #FFFFFF;
	border: 1px solid rgba(255,255,255,0.3);
	font-weight: 600;
}

.az-dark-btn .wp-block-button__link {
	background: var(--az-navy);
	color: #FFFFFF;
	padding: 0.85rem 1.4rem;
	font-size: 1rem;
}

.az-lg .wp-block-button__link {
	padding: 1rem 1.9rem;
	font-size: 1.0625rem;
}

.az-ghost.az-lg .wp-block-button__link {
	padding: 1rem 1.6rem;
}

.az-sm .wp-block-button__link {
	padding: 0.45rem 1rem;
	font-size: 0.875rem;
	font-weight: 600;
	white-space: nowrap;
}

.az-xl .wp-block-button__link {
	padding: 0.9rem 1.6rem;
	font-size: clamp(1.5rem, 2.6vw, 2rem);
	font-weight: 800;
	letter-spacing: -0.01em;
	gap: 0.75rem;
}

/* Telefon-Symbol vor dem Buttontext */
.az-icon-phone .wp-block-button__link::before {
	content: "";
	flex: none;
	width: 1.15em;
	height: 1.15em;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 3.5 H9 L10.5 7.5 L8.6 8.9 Q10 12.4 13.6 14.4 L15.1 12.5 L19 14 V16.5 Q19 18.5 17 18.5 Q11 18.2 7.2 14.3 Q3.6 10.6 3.5 6.6 Q3.5 3.5 6.6 3.5 Z' fill='none' stroke='%23141B3D' stroke-width='1.8' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.az-ghost.az-icon-phone .wp-block-button__link::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 3.5 H9 L10.5 7.5 L8.6 8.9 Q10 12.4 13.6 14.4 L15.1 12.5 L19 14 V16.5 Q19 18.5 17 18.5 Q11 18.2 7.2 14.3 Q3.6 10.6 3.5 6.6 Q3.5 3.5 6.6 3.5 Z' fill='none' stroke='%235DADE2' stroke-width='1.8' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.az-center-buttons {
	justify-content: center;
}

/* ---------------------------------------------------------------
 * 2. Kopfbereich – schwebende weiße Leiste (az-navwrap, az-bar)
 * ------------------------------------------------------------- */

.az-header-wrap {
	position: sticky;
	top: 0;
	z-index: 50;
}

/* Die Leiste schwebt über dem Inhalt: Ihre Höhe wird per negativem Abstand wieder
 * abgezogen. Nur im Frontend – im Editor bleibt sie über dem Hero stehen. */
.wp-site-blocks > .az-header-wrap {
	height: 92px;
	margin-block-end: -92px;
	pointer-events: none;
}

.admin-bar .az-header-wrap {
	top: var(--wp-admin--admin-bar--height, 32px);
}

.az-navwrap {
	box-sizing: border-box;
	padding: 14px 1.25rem 0;
}

.az-bar {
	pointer-events: auto;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.25rem;
	box-sizing: border-box;
	max-width: 1200px;
	height: 66px;
	margin: 0 auto;
	padding: 0 9px 0 20px;
	border: 1px solid rgba(255,255,255,0.75);
	border-radius: 20px;
	background: rgba(255,255,255,0.97);
	-webkit-backdrop-filter: saturate(180%) blur(24px);
	backdrop-filter: saturate(180%) blur(24px);
	box-shadow: inset 0 1px 0 rgba(255,255,255,0.95), 0 18px 48px rgba(6,10,28,0.30), 0 2px 8px rgba(6,10,28,0.14);
}

/* Fortschrittslinie unten in der Leiste */
.az-bar__progress {
	position: absolute;
	left: 20px;
	right: 20px;
	bottom: 0;
	height: 2px;
	border-radius: 2px;
	overflow: hidden;
	pointer-events: none;
}

.az-progress {
	height: 100%;
	background: linear-gradient(90deg, var(--az-navy), var(--az-blue));
	box-shadow: 0 0 10px var(--az-blue);
	transform: scaleX(0);
	transform-origin: left center;
}

/* Logo (Block „Logo“) */
.az-logo {
	flex: none;
}

.az-logo,
.az-logo a {
	display: flex;
	align-items: center;
}

.az-bar .az-logo img {
	display: block;
	width: auto;
	height: 48px;
	border-radius: 0;
	transition: transform 0.4s cubic-bezier(.2,.7,.2,1);
}

.az-bar .az-logo:hover img {
	transform: scale(1.03);
}

/* Menü (Block „Navigation“) – im Design „az-links“ mit Menüpunkten „az-link“ */
.az-bar .az-links {
	gap: 0.25rem;
	color: #3A3F55;
	font-size: 0.9rem;
	font-weight: 500;
}

.az-bar .az-links .wp-block-navigation__container {
	gap: 0.25rem;
}

.az-bar .az-links .wp-block-navigation-item__content {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.55rem 0.8rem;
	border-radius: 10px;
	line-height: normal;
	text-decoration: none;
	white-space: nowrap;
	transition: color 0.25s ease, background 0.25s ease;
}

.az-bar .az-links .wp-block-navigation-item__label {
	white-space: nowrap;
}

.az-bar .az-links .wp-block-navigation-item__content:hover {
	color: var(--az-navy);
	background: rgba(20,27,61,0.05);
}

.az-bar .az-links .wp-block-navigation-item__content::after {
	content: "";
	position: absolute;
	left: 0.8rem;
	right: 0.8rem;
	bottom: 0.3rem;
	height: 2px;
	border-radius: 2px;
	background: var(--az-blue);
	box-shadow: 0 0 8px var(--az-blue);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.35s cubic-bezier(.2,.7,.2,1);
}

.az-bar .az-links .wp-block-navigation-item__content:hover::after {
	transform: scaleX(1);
}

/* Leuchtender Punkt hinter dem Menüpunkt mit der Zusatzklasse „az-jobdot“ (Karriere) */
.az-bar .az-jobdot > .wp-block-navigation-item__content::before {
	content: "";
	order: 1;
	flex: none;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--az-blue);
	box-shadow: 0 0 0 3px rgba(93,173,226,0.22);
}

/* Aufklapp-Menü, falls im Navigation-Block „Overlay-Menü: Mobil“ gewählt ist */
.az-bar .az-links .wp-block-navigation__responsive-container-open,
.az-bar .az-links .wp-block-navigation__responsive-container-close {
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: #EEF1F7;
	color: var(--az-navy);
}

.az-bar .az-links .wp-block-navigation__responsive-container-close {
	display: flex;
}

.az-bar .az-links .wp-block-navigation__responsive-container.is-menu-open.is-menu-open {
	--navigation-layout-justification-setting: flex-start;
	padding: 18px 1.5rem 2rem;
	background: #FFFFFF;
	color: var(--az-navy);
}

.az-bar .az-links .is-menu-open .wp-block-navigation__container {
	--navigation-layout-justification-setting: flex-start;
	--navigation-layout-justify: flex-start;
	gap: 0.25rem;
}

.az-bar .az-links .is-menu-open .wp-block-navigation-item__content {
	padding: 0.6rem 0;
	color: var(--az-navy);
	font-size: 1.5rem;
	font-weight: 700;
}

.az-bar .az-links .is-menu-open .wp-block-navigation-item__content::after {
	left: 0;
	right: 0;
}

/* Der Unschärfe-Filter der Leiste würde das geöffnete Menü auf die Leiste begrenzen. */
html.has-modal-open .az-bar {
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
}

html.has-modal-open .az-floatcall {
	display: none;
}

/* Rechte Seite: Telefon und „Anfrage stellen“ (Buttons-Block) */
.az-bar .wp-block-buttons.az-bar__actions {
	flex: none;
	flex-wrap: nowrap;
	gap: 0.5rem;
}

/* Telefon: Kreis mit Symbol, daneben „Direkt anrufen“ und die Nummer (fett gesetzt) */
.az-bar .az-tel .wp-block-button__link {
	position: relative;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	gap: 0;
	min-height: 48px;
	padding: 0 0.5rem 0 calc(36px + 1.1rem);
	border-radius: 0;
	background: transparent;
	color: #6B7085;
	font-size: 0.6875rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	line-height: 1.15;
	text-transform: uppercase;
}

.az-bar .az-tel .wp-block-button__link:hover {
	transform: none;
	filter: none;
}

.az-bar .az-tel br {
	display: none;
}

.az-bar .az-tel strong {
	color: var(--az-navy);
	font-size: 0.9375rem;
	font-weight: 700;
	letter-spacing: 0;
	text-transform: none;
	white-space: nowrap;
}

.az-bar .az-tel .wp-block-button__link::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 0.5rem;
	width: 36px;
	height: 36px;
	margin-top: -18px;
	border-radius: 50%;
	background: #EEF1F7 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 3.5 H9 L10.5 7.5 L8.6 8.9 Q10 12.4 13.6 14.4 L15.1 12.5 L19 14 V16.5 Q19 18.5 17 18.5 Q11 18.2 7.2 14.3 Q3.6 10.6 3.5 6.6 Q3.5 3.5 6.6 3.5 Z' fill='none' stroke='%23141B3D' stroke-width='1.8' stroke-linejoin='round'/%3E%3C/svg%3E") center / 17px no-repeat;
}

.az-bar .az-tel .wp-block-button__link:hover::before {
	background-color: #E1E7F2;
}

/* Anfrage stellen */
.az-bar .az-cta .wp-block-button__link {
	gap: 0.5rem;
	min-height: 48px;
	padding: 0 1.15rem;
	border-radius: 14px;
	background: var(--az-navy);
	color: #FFFFFF;
	font-size: 0.9rem;
	font-weight: 600;
	white-space: nowrap;
	box-shadow: inset 0 1px 0 rgba(255,255,255,0.12), 0 6px 16px rgba(20,27,61,0.28);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.az-bar .az-cta .wp-block-button__link:hover {
	transform: translateY(-1px);
	filter: none;
	box-shadow: inset 0 1px 0 rgba(255,255,255,0.12), 0 10px 24px rgba(20,27,61,0.36), 0 0 0 4px rgba(93,173,226,0.25);
}

.az-bar .az-cta .wp-block-button__link::after {
	content: "";
	flex: none;
	width: 14px;
	height: 14px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8 H13 M9 4 L13 8 L9 12' fill='none' stroke='%235DADE2' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
	transition: transform 0.3s ease;
}

.az-bar .az-cta .wp-block-button__link:hover::after {
	transform: translateX(3px);
}

/* ---------------------------------------------------------------
 * 3. Startseiten-Abschnitte
 * ------------------------------------------------------------- */

/* Hero */
.az-hero {
	position: relative;
	overflow: hidden;
	background: var(--az-navy);
	color: #FFFFFF;
	padding: 4.75rem 1.5rem 4rem;
}

.az-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
	background-size: 56px 56px;
	-webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 55%, #000 20%, transparent 75%);
	mask-image: radial-gradient(ellipse 70% 60% at 50% 55%, #000 20%, transparent 75%);
	pointer-events: none;
}

.az-hero::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 52%;
	width: 60rem;
	height: 60rem;
	transform: translate(-50%, -30%);
	background: radial-gradient(circle, #5DADE240 0%, #5DADE214 35%, transparent 65%);
	pointer-events: none;
}

.az-sparks {
	position: absolute;
	inset: 0;
	pointer-events: none;
}

.az-spark {
	position: absolute;
	border-radius: 50%;
	background: var(--az-blue);
	box-shadow: 0 0 10px var(--az-blue);
	opacity: 0;
}

.az-hero .az-inner {
	z-index: 1;
}

.az-hero__content {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: 6rem 0 2.5rem;
}

.az-hero__pill {
	margin: 0 0 2rem;
	justify-content: center;
}

.az-jobpill .wp-block-button__link {
	gap: 0.6rem;
	padding: 0.5rem 0.6rem 0.5rem 1rem;
	border: 1px solid rgba(255,255,255,0.22);
	background: rgba(255,255,255,0.06);
	color: #FFFFFF;
	font-size: 0.9375rem;
	font-weight: 500;
}

.az-jobpill .wp-block-button__link::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 999px;
	background: var(--az-blue);
	box-shadow: 0 0 12px var(--az-blue);
}

.az-jobpill .wp-block-button__link::after {
	content: "Jobs ›";
	padding: 0.25rem 0.7rem;
	border-radius: 999px;
	background: var(--az-blue);
	color: var(--az-navy);
	font-weight: 700;
	font-size: 0.8125rem;
	white-space: nowrap;
}

.az-hero .az-kicker {
	margin-bottom: 1.5rem;
	color: var(--az-blue);
}

.az-hero__title {
	margin: 0 auto;
	max-width: 14ch;
	font-size: clamp(3rem, 7vw, 6.25rem);
	line-height: 1.02;
	font-weight: 800;
	letter-spacing: -0.035em;
	color: #FFFFFF;
}

.az-hero__lead {
	margin: 2rem auto 0;
	max-width: 44rem;
	font-size: 1.3125rem;
	line-height: 1.6;
	font-weight: 400;
	color: var(--az-soft);
	animation-delay: 0.3s;
}

.az-hero__buttons {
	justify-content: center;
	gap: 1.5rem;
	margin-top: 2.75rem;
	animation-delay: 0.45s;
}

.az-heroout {
	display: block;
	width: 100%;
	max-width: 1100px;
	height: auto;
	margin: 0 auto;
}

.az-hero__facts {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 1rem 3rem;
	margin-top: 3rem;
	font-size: 0.9375rem;
	color: #AEB5CC;
}

.az-hero__facts p {
	margin: 0;
}

/* Laufband */
.az-marquee {
	overflow: hidden;
	padding: 1.4rem 0;
	background: var(--az-night);
	color: #8F98B8;
	border-top: 1px solid rgba(255,255,255,0.06);
}

.az-marquee__track {
	display: flex;
	width: max-content;
	gap: 3rem;
	font-size: 1.125rem;
	font-weight: 500;
	letter-spacing: 0.02em;
	white-space: nowrap;
}

.az-marquee__track p {
	display: flex;
	gap: 3rem;
	margin: 0;
}

.az-marquee__track p::after {
	content: "·";
	color: var(--az-blue);
}

/* Unser Anspruch */
.az-claim {
	overflow: hidden;
}

.az-claim::before {
	content: "A–Z";
	position: absolute;
	right: -2rem;
	top: 50%;
	transform: translateY(-50%);
	font-size: clamp(14rem, 28vw, 26rem);
	font-weight: 800;
	letter-spacing: -0.06em;
	line-height: 1;
	color: #F2F3F7;
	pointer-events: none;
}

.az-claim .az-intro {
	margin-bottom: 0;
}

.az-claim__title {
	margin: 0;
	max-width: 16ch;
	font-size: clamp(2.5rem, 5.5vw, 4.75rem);
	line-height: 1.04;
	font-weight: 800;
	letter-spacing: -0.03em;
}

.az-claim__cols {
	display: flex;
	flex-wrap: wrap;
	gap: 2.5rem 4rem;
	margin-top: 3rem;
	max-width: 62rem;
}

.az-claim__cols p {
	flex: 1 1 320px;
	margin: 0;
	font-size: 1.1875rem;
	line-height: 1.7;
	color: var(--az-muted);
}

/* Auftraggeber */
.az-clients {
	background: var(--az-light);
}

.az-clients__grid {
	display: flex;
	flex-wrap: wrap;
	gap: 1.25rem;
	align-items: stretch;
}

.az-client {
	position: relative;
	overflow: hidden;
	flex: 1 1 320px;
	display: flex;
	flex-direction: column;
	gap: 1.1rem;
	padding: clamp(2rem, 3.5vw, 2.75rem);
	border-radius: 32px;
	background: #FFFFFF;
}

.az-client:nth-child(1) { animation-range: entry 0% entry 70%; }
.az-client:nth-child(2) { animation-range: entry 10% entry 80%; }
.az-client:nth-child(3) { animation-range: entry 20% entry 90%; }

.az-client.az-dark::before {
	content: "";
	position: absolute;
	right: -6rem;
	top: -6rem;
	width: 22rem;
	height: 22rem;
	background: radial-gradient(circle, #5DADE233, transparent 65%);
	pointer-events: none;
}

.az-client > * {
	position: relative;
	margin: 0;
}

.az-client__title {
	font-size: clamp(1.625rem, 2.4vw, 2rem);
	line-height: 1.15;
	letter-spacing: -0.02em;
}

.az-client__text {
	font-size: 1.0625rem;
	line-height: 1.7;
	color: var(--az-muted);
}

.az-dark .az-client__text {
	color: var(--az-soft);
}

.az-dotlist {
	display: flex;
	flex-direction: column;
	gap: 0.8rem;
	margin-top: auto !important;
	padding: 1.5rem 0 0;
	list-style: none;
	border-top: 1px solid var(--az-line);
	font-size: 1rem;
}

.az-dark .az-dotlist {
	border-top-color: rgba(255,255,255,0.14);
}

.az-dotlist li {
	display: flex;
	gap: 0.75rem;
	align-items: center;
}

.az-dotlist li::before {
	content: "";
	flex: none;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--az-navy);
}

.az-dark .az-dotlist li::before {
	background: var(--az-blue);
}

/* A–Z-Leistungen */
.az-services {
	overflow: hidden;
	background: #E9EBF1;
}

.az-bigaz {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: clamp(1rem, 3vw, 2.5rem);
	margin: 0 0 2.5rem;
	font-size: clamp(7rem, 16vw, 15rem);
	line-height: 0.9;
	font-weight: 800;
	letter-spacing: -0.05em;
	color: var(--az-navy);
}

.az-dash {
	display: block;
	width: clamp(4rem, 10vw, 9rem);
	height: clamp(0.6rem, 1.4vw, 1.25rem);
	border-radius: 999px;
	background: var(--az-blue);
}

.az-services__grid {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
}

.az-service {
	flex: 1 1 240px;
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	min-height: 10.5rem;
	box-sizing: border-box;
	padding: 1.75rem;
	border-radius: 24px;
	background: #FFFFFF;
}

.az-service:nth-child(4n+1) { animation-range: entry 0% entry 68%; }
.az-service:nth-child(4n+2) { animation-range: entry 8% entry 76%; }
.az-service:nth-child(4n+3) { animation-range: entry 16% entry 84%; }
.az-service:nth-child(4n+4) { animation-range: entry 24% entry 92%; }

.az-service p {
	margin: 0;
}

.az-service__letter {
	margin-bottom: auto !important;
	font-size: 3.5rem;
	line-height: 1;
	font-weight: 800;
	letter-spacing: -0.04em;
	color: var(--az-navy);
}

.az-dark .az-service__letter {
	color: var(--az-blue);
}

.az-service__title {
	margin-top: 1.25rem !important;
	font-size: 1.125rem;
	font-weight: 700;
}

.az-service__text {
	font-size: 0.9375rem;
	color: var(--az-muted);
}

.az-dark .az-service__text {
	color: var(--az-soft);
}

/* Hover-Effekt der A–Z-Karten */
.az-az {
	position: relative;
	isolation: isolate;
}

.az-az > :first-child {
	display: inline-block;
	align-self: flex-start;
	transform-origin: left bottom;
	transition: transform 0.5s cubic-bezier(.2,.7,.2,1), color 0.4s ease, text-shadow 0.4s ease;
}

.az-az:hover > :first-child {
	transform: scale(1.18);
	color: var(--glow) !important;
	text-shadow: 0 0 24px var(--glow);
}

.az-az::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	padding: 2px;
	background: conic-gradient(from var(--az-a), transparent 0 65%, var(--glow) 85%, transparent 100%);
	-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);
	opacity: 0;
	transition: opacity 0.4s ease;
	pointer-events: none;
}

.az-az:hover::before {
	opacity: 1;
}

/* Elektroüberprüfung */
.az-checks {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	/* Oben ausrichten: Gebäude stehen auf einer Linie, auch wenn ein Text eine Zeile länger ist. */
	align-items: flex-start;
	gap: 2.5rem 1.5rem;
}

/* Bodenlinie auf Höhe der Gebäudeschatten (150 px hohe Bühne, Schatten ca. 10 px über dem Boden). */
.az-checks::before {
	content: "";
	position: absolute;
	left: 12%;
	right: 12%;
	top: 139px;
	height: 2px;
	background: linear-gradient(90deg, transparent, var(--az-blue) 10%, var(--az-blue) 90%, transparent);
	opacity: 0.6;
	transform-origin: left center;
}

.az-checkitem {
	position: relative;
	flex: 1 1 220px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.75rem;
	text-align: center;
}

.az-checkitem p {
	margin: 0;
}

.az-building {
	position: relative;
	max-width: 100%;
	height: 150px;
	display: flex;
	align-items: flex-end;
	justify-content: center;
}

.az-building .az-scene {
	width: 100%;
	height: auto;
}

.az-building .az-check {
	position: absolute;
	right: -6px;
	top: 0;
	width: 30px;
	height: 30px;
}

.az-checkitem__title {
	margin-top: 0.5rem !important;
	font-size: 1.1875rem;
	font-weight: 700;
}

.az-checkitem__text {
	max-width: 16rem;
	font-size: 0.9375rem;
	line-height: 1.55;
	color: var(--az-muted);
}

/* Ablauf */
.az-steps {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	gap: 2.5rem 1.5rem;
	counter-reset: az-step;
}

.az-steps::before {
	content: "";
	position: absolute;
	left: 2%;
	right: 2%;
	top: 27px;
	height: 2px;
	background: linear-gradient(90deg, transparent, var(--az-blue) 12%, var(--az-blue) 88%, transparent);
	opacity: 0.55;
	transform-origin: left center;
}

.az-step {
	position: relative;
	flex: 1 1 220px;
	display: flex;
	flex-direction: column;
	gap: 1rem;
	counter-increment: az-step;
}

.az-step::before {
	content: counter(az-step);
	display: flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	box-sizing: border-box;
	border-radius: 999px;
	background: var(--az-navy);
	border: 2px solid var(--az-blue);
	color: var(--az-blue);
	font-weight: 700;
	font-size: 1.125rem;
}

.az-step:last-child::before {
	background: var(--az-blue);
	color: var(--az-navy);
}

.az-step__title {
	margin: 0.5rem 0 0;
	font-size: 1.3125rem;
	font-weight: 700;
	letter-spacing: normal;
	line-height: 1.3;
}

.az-step__text {
	margin: 0;
	font-size: 1rem;
	line-height: 1.65;
	color: var(--az-soft);
}

/* Einsatzbereiche */
.az-areas__grid {
	display: flex;
	flex-wrap: wrap;
	gap: 2.5rem 1.25rem;
}

.az-area {
	flex: 1 1 340px;
	display: flex;
	flex-direction: column;
	gap: 0.9rem;
}

.az-area p {
	margin: 0;
}

.az-scenecard {
	position: relative;
	overflow: hidden;
	height: 16rem;
	border-radius: 28px;
	background: var(--az-navy);
}

.az-scenecard__glow {
	position: absolute;
	left: 50%;
	top: 50%;
	width: 22rem;
	height: 22rem;
	transform: translate(-50%, -50%);
	background: radial-gradient(circle, #5DADE226, transparent 65%);
}

.az-zoom,
.az-scenecard .az-scene {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.az-area__title {
	margin-top: 0.25rem !important;
	font-size: 1.1875rem;
	font-weight: 700;
}

.az-area__text {
	font-size: 0.9375rem;
	line-height: 1.6;
	color: var(--az-muted);
}

/* Bewertung */
.az-review {
	background: var(--az-light);
}

.az-review__inner {
	max-width: 900px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1.5rem;
	text-align: center;
}

.az-review__inner p {
	margin: 0;
}

.az-stars {
	display: flex;
	gap: 0.35rem;
}

.az-stars svg {
	width: 34px;
	height: 34px;
}

.az-review__score {
	font-size: clamp(4rem, 9vw, 7rem);
	line-height: 1;
	font-weight: 800;
	letter-spacing: -0.04em;
	color: var(--az-navy);
}

.az-review__text {
	max-width: 34rem;
	font-size: 1.1875rem;
	line-height: 1.6;
	color: var(--az-muted);
}

.az-review__link a {
	font-size: 1.0625rem;
	font-weight: 600;
	text-decoration: none;
}

/* Über uns */
.az-about__grid {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4rem;
}

.az-about__media {
	position: relative;
	flex: 1 1 400px;
}

.az-about__scene {
	position: relative;
	overflow: hidden;
	height: 36rem;
	border-radius: 28px;
	background: #141B48;
}

.az-about__scene .az-scene {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.az-about__badge {
	position: absolute;
	right: -1rem;
	bottom: -1.5rem;
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
	padding: 1.4rem 1.6rem;
	border-radius: 22px;
	background: var(--az-navy);
	color: #FFFFFF;
	box-shadow: 0 24px 48px rgba(20,27,61,0.25);
}

.az-about__badge p {
	margin: 0;
}

.az-about__badgenum {
	font-size: 2.25rem;
	font-weight: 800;
	color: var(--az-blue);
}

.az-about__badgetext {
	font-size: 0.9375rem;
	color: var(--az-soft);
}

.az-about__text {
	flex: 1 1 400px;
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.az-about__text > p:not(.az-kicker) {
	margin: 0;
	font-size: 1.1875rem;
	line-height: 1.7;
	color: var(--az-muted);
}

.az-about__text .az-kicker {
	margin: 0;
}

.az-about__title {
	margin: 0;
	font-size: clamp(2.5rem, 4.5vw, 3.75rem);
}

.az-stats {
	display: flex;
	flex-wrap: wrap;
	gap: 2.5rem;
	margin-top: 0.5rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--az-line);
}

.az-stat {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
}

.az-stat p {
	margin: 0;
}

.az-stat__num {
	font-size: 2.5rem;
	font-weight: 800;
	color: var(--az-navy);
	line-height: 1.2;
}

.az-stat__label {
	font-size: 0.9375rem;
	color: var(--az-muted);
}

/* Karriere */
.az-jobs {
	padding-block: 8rem;
}

.az-jobs::before {
	-webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 20%, #000 10%, transparent 75%);
	mask-image: radial-gradient(ellipse 80% 60% at 50% 20%, #000 10%, transparent 75%);
}

.az-jobs::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 0;
	width: 60rem;
	height: 60rem;
	transform: translate(-50%, -45%);
	background: radial-gradient(circle, #5DADE240 0%, transparent 60%);
	pointer-events: none;
}

.az-jobs .az-inner {
	z-index: 1;
}

.az-jobs__intro {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1.5rem;
	margin-bottom: 5rem;
	text-align: center;
}

.az-jobs__intro > * {
	margin: 0;
}

.az-jobs__badge {
	padding: 0.55rem 1.1rem;
	border-radius: 999px;
	background: var(--az-blue);
	color: var(--az-navy);
	font-size: 0.9375rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.az-jobs__title {
	max-width: 15ch;
	font-size: clamp(3rem, 7vw, 6rem);
	line-height: 1.02;
	letter-spacing: -0.035em;
}

.az-jobs__lead {
	max-width: 42rem;
	font-size: 1.3125rem;
	line-height: 1.6;
	color: var(--az-soft);
}

.az-jobs .az-center-buttons {
	margin-top: 0.75rem;
}

.az-benefits {
	display: flex;
	flex-wrap: wrap;
	gap: 2.5rem 2rem;
	padding: 3rem 0;
	border-top: 1px solid rgba(255,255,255,0.12);
	border-bottom: 1px solid rgba(255,255,255,0.12);
}

.az-benefit {
	flex: 1 1 240px;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.az-benefit::before {
	content: "";
	width: 28px;
	height: 28px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28'%3E%3Ccircle cx='14' cy='14' r='13' fill='%235DADE2'/%3E%3Cpath d='M8 14.5 L12.2 18.5 L20 10' fill='none' stroke='%23141B3D' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.az-benefit__title {
	margin: 0.25rem 0 0;
	font-size: 1.25rem;
	font-weight: 700;
	letter-spacing: normal;
	line-height: 1.3;
}

.az-benefit__text {
	margin: 0;
	font-size: 1rem;
	line-height: 1.65;
	color: var(--az-soft);
}

.az-openings {
	margin-top: 4rem;
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.az-openings__title {
	margin: 0;
	font-size: clamp(1.75rem, 3vw, 2.5rem);
	letter-spacing: -0.02em;
}

.az-openings__grid {
	display: flex;
	flex-wrap: wrap;
	gap: 1.25rem;
}

.az-job {
	flex: 1 1 340px;
	display: flex;
	flex-direction: column;
	gap: 0.9rem;
	padding: 2rem 2.25rem;
	border-radius: 28px;
	background: #FFFFFF;
	color: var(--az-text);
}

.az-job > * {
	margin: 0;
}

.az-job__badge {
	align-self: flex-start;
	padding: 0.35rem 0.75rem;
	border-radius: 999px;
	background: #E4EEF8;
	color: var(--az-navy);
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.az-job__title {
	margin-top: 0.25rem;
	font-size: 1.5rem;
	line-height: 1.2;
	letter-spacing: -0.01em;
	color: var(--az-text);
}

.az-job__text {
	font-size: 1rem;
	line-height: 1.6;
	color: var(--az-muted);
}

.az-job__meta {
	font-size: 0.9375rem;
	color: var(--az-muted);
}

.az-job__buttons {
	margin-top: 0.5rem;
}

.az-openings__note {
	margin: 0.5rem 0 0;
	font-size: 1.0625rem;
	line-height: 1.6;
	color: var(--az-soft);
}

.az-openings__note a {
	color: var(--az-blue);
	font-weight: 600;
	text-decoration: none;
}

/* Standort */
.az-location {
	padding-bottom: 0;
}

.az-location__grid {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	gap: 1.25rem;
}

.az-map {
	position: relative;
	overflow: hidden;
	flex: 1.4 1 420px;
	min-height: 26rem;
	border-radius: 32px;
	background: #101741;
}

.az-map .az-scene,
.az-map iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.az-map__actions {
	position: absolute;
	left: 1.5rem;
	bottom: 1.5rem;
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
	z-index: 2;
}

.az-map__pill {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	min-height: 44px;
	box-sizing: border-box;
	padding: 0.65rem 1.1rem;
	border: 0;
	border-radius: 999px;
	background: rgba(255,255,255,0.95);
	color: var(--az-text);
	font: inherit;
	font-size: 0.9375rem;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
}

.az-map__load {
	background: var(--az-blue);
	color: var(--az-navy);
}

.az-map__note {
	position: absolute;
	left: 1.5rem;
	top: 1.25rem;
	right: 1.5rem;
	margin: 0;
	font-size: 0.75rem;
	color: #AEB5CC;
	z-index: 2;
}

.az-map__note a {
	color: #DDE4F5;
}

.az-map.is-loaded .az-scene,
.az-map.is-loaded .az-map__load,
.az-map.is-loaded .az-map__note {
	display: none;
}

.az-location__info {
	flex: 1 1 340px;
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
	padding: clamp(2rem, 4vw, 3rem);
	border-radius: 32px;
	background: var(--az-light);
}

.az-location__info > * {
	margin: 0;
}

.az-location__title {
	font-size: clamp(2rem, 3.5vw, 2.75rem);
	line-height: 1.1;
	letter-spacing: -0.02em;
}

.az-location__address {
	font-size: 1.125rem;
	line-height: 1.6;
}

.az-location__text {
	font-size: 1rem;
	line-height: 1.65;
	color: var(--az-muted);
}

.az-location__buttons {
	gap: 0.75rem;
	margin-top: auto !important;
	padding-top: 0.5rem;
}

.az-location__buttons .wp-block-button__link {
	padding: 0.9rem 1.4rem;
	font-size: 1rem;
}

/* Kontakt */
.az-contact__box {
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	flex-wrap: wrap;
	gap: 4rem;
	box-sizing: border-box;
	padding: clamp(2rem, 5vw, 4.5rem);
	border-radius: 36px;
	background: var(--az-navy);
	color: #FFFFFF;
}

.az-contact__box::before {
	-webkit-mask-image: radial-gradient(ellipse at 20% 30%, #000, transparent 70%);
	mask-image: radial-gradient(ellipse at 20% 30%, #000, transparent 70%);
}

.az-contact__info {
	position: relative;
	flex: 1 1 360px;
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.az-contact__info > * {
	margin: 0;
}

.az-contact .az-kicker {
	margin: 0;
	color: var(--az-blue);
}

.az-contact__title {
	font-size: clamp(2.5rem, 5vw, 4rem);
	color: #FFFFFF;
}

.az-contact__text {
	font-size: 1.1875rem;
	line-height: 1.7;
	color: var(--az-soft);
}

.az-contact__item {
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
}

.az-contact__item:first-of-type {
	padding-top: 0.75rem;
}

.az-contact__item p {
	margin: 0;
}

.az-contact__label {
	font-size: 0.9375rem;
	color: var(--az-soft);
}

.az-contact__mail a {
	color: var(--az-blue);
	font-size: 1.25rem;
	font-weight: 600;
	text-decoration: none;
}

.az-contact__form {
	position: relative;
	flex: 1 1 360px;
	display: flex;
	flex-direction: column;
	gap: 1.1rem;
	padding: 2.25rem;
	border: 1px solid rgba(255,255,255,0.12);
	border-radius: 24px;
	background: rgba(255,255,255,0.06);
}

/* Schwebender Anruf-Button */
.az-floatcall {
	position: fixed;
	right: 1.5rem;
	bottom: 1.5rem;
	z-index: 60;
	margin: 0 !important;
}

.az-floatcall .wp-block-button__link {
	padding: 0.95rem 1.4rem;
	font-size: 1rem;
	box-shadow: 0 12px 30px rgba(14,20,48,0.35);
}

/* Am Handy erst nach dem Startbereich einblenden (main.js), damit der Button dort
 * nicht über „Anfrage stellen“ liegt. Ohne JavaScript bleibt er immer sichtbar. */
@media (max-width: 900px) {
	.eaz-js .az-floatcall:not(.is-visible) {
		opacity: 0;
		visibility: hidden;
		transform: translateY(1rem);
		pointer-events: none;
	}
}

@media (prefers-reduced-motion: no-preference) {
	.az-floatcall {
		transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
	}
}

/* ---------------------------------------------------------------
 * 4. Formulare (Contact Form 7 / WPForms) – Glas-Optik aus dem Design
 * ------------------------------------------------------------- */

.eaz-form .wpcf7-form p,
.eaz-form .wpforms-field {
	margin: 0 0 1.1rem;
	padding: 0;
}

.eaz-form label,
.eaz-form .wpforms-field-label {
	display: block;
	font-size: 0.9375rem;
	font-weight: 400;
	color: #D4D8E6;
}

.eaz-form .wpcf7-form-control-wrap {
	display: block;
	margin-top: 0.5rem;
}

.eaz-form input[type="text"],
.eaz-form input[type="email"],
.eaz-form input[type="tel"],
.eaz-form input[type="url"],
.eaz-form input[type="number"],
.eaz-form select,
.eaz-form textarea {
	box-sizing: border-box;
	width: 100%;
	min-height: 44px;
	padding: 0.9rem 1rem;
	border: 1px solid #3A4472;
	border-radius: 12px;
	background: rgba(10,14,34,0.6);
	color: #FFFFFF;
	font-family: inherit;
	font-size: 1rem;
}

.eaz-form textarea {
	resize: vertical;
	min-height: 8rem;
}

/* Auswahlfeld: eigene Optik, sonst zeigt Safari ein helles Systemfeld mit kaum lesbarem Text. */
.eaz-form select {
	-webkit-appearance: none;
	appearance: none;
	padding-right: 2.75rem;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6 L8 10 L12 6' fill='none' stroke='%23B8BED3' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-position: right 1rem center;
	background-repeat: no-repeat;
	background-size: 16px;
}

.eaz-form select option {
	background: #FFFFFF;
	color: var(--az-text);
}

.eaz-form input:focus,
.eaz-form select:focus,
.eaz-form textarea:focus {
	outline: 2px solid var(--az-blue);
	outline-offset: 1px;
}

.eaz-form .wpcf7-list-item {
	margin: 0;
}

.eaz-form .wpcf7-acceptance label {
	display: flex;
	gap: 0.6rem;
	align-items: flex-start;
}

.eaz-form input[type="checkbox"] {
	width: 1.15rem;
	height: 1.15rem;
	margin-top: 0.15rem;
	accent-color: var(--az-blue);
}

.eaz-form input[type="submit"],
.eaz-form button[type="submit"],
.eaz-form .wpforms-submit {
	width: 100%;
	min-height: 44px;
	margin-top: 0.5rem;
	padding: 1rem 1.5rem !important;
	border: none !important;
	border-radius: 999px !important;
	background: var(--az-blue) !important;
	color: var(--az-navy) !important;
	font-family: inherit;
	font-size: 1.0625rem;
	font-weight: 700;
	cursor: pointer;
	transition: transform 0.3s ease, filter 0.3s ease;
}

.eaz-form input[type="submit"]:hover,
.eaz-form button[type="submit"]:hover,
.eaz-form .wpforms-submit:hover {
	transform: translateY(-2px);
	filter: brightness(1.08);
}

.eaz-form .wpcf7-not-valid-tip,
.eaz-form .wpforms-error {
	margin-top: 0.35rem;
	font-size: 0.8125rem;
	color: #FFB4A8;
}

.eaz-form .wpcf7 form .wpcf7-response-output {
	margin: 1rem 0 0;
	padding: 0.85rem 1rem;
	border-radius: 12px;
	color: #FFFFFF;
}

.eaz-form-row {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 1rem;
}

.eaz-form__placeholder {
	color: #D4D8E6;
	font-size: 1.0625rem;
	line-height: 1.6;
}

.eaz-form__placeholder p {
	margin: 0 0 1rem;
}

.eaz-form__placeholder a {
	color: var(--az-blue);
	font-weight: 700;
	text-decoration: none;
}

/* ---------------------------------------------------------------
 * 5. Fußbereich & Unterseiten
 * ------------------------------------------------------------- */

.az-footer {
	/* Unten mehr Platz, damit der schwebende Anruf-Button die Links „Impressum“ und „Datenschutz“ nicht verdeckt. */
	padding: 4rem 1.5rem 6.5rem;
	background: var(--az-night);
	color: #B8BED3;
}

.az-footer a {
	color: #B8BED3;
	text-decoration: none;
}

.az-footer a:hover {
	color: #FFFFFF;
}

.az-footer__inner {
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: 3rem;
}

.az-footer__top {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 2.5rem;
}

.az-footer__brand {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 1rem;
	max-width: 22rem;
}

.az-footer__brand p {
	margin: 0;
	font-size: 0.9375rem;
	line-height: 1.6;
}

/* Logo im Fußbereich (Bild-Block) im weißen Feld */
.az-footer__logo {
	margin: 0;
}

.az-footer__logo a {
	display: inline-flex;
	align-items: center;
	padding: 4px 8px;
	border-radius: 12px;
	background: #FFFFFF;
	box-shadow: 0 1px 2px rgba(0,0,0,0.12);
}

.az-footer__logo img {
	display: block;
	width: 158px;
	height: auto;
	aspect-ratio: 760 / 265;
	border-radius: 0;
}

.az-footer__cols {
	display: flex;
	flex-wrap: wrap;
	gap: 3.5rem;
	font-size: 0.9375rem;
}

.az-footer__col {
	display: flex;
	flex-direction: column;
	gap: 0.7rem;
}

.az-footer__col p {
	margin: 0;
}

.az-footer__title {
	color: #FFFFFF;
	font-weight: 600;
}

.az-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 1rem;
	padding-top: 1.5rem;
	border-top: 1px solid rgba(255,255,255,0.08);
	font-size: 0.875rem;
}

.az-footer__bottom p {
	margin: 0;
}

.az-footer__legal {
	display: flex;
	flex-wrap: wrap;
	gap: 1.5rem;
}

.wp-site-blocks {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

.wp-site-blocks > main {
	flex: 1 0 auto;
}

.eaz-page {
	box-sizing: border-box;
	padding: clamp(2.5rem, 6vw, 5rem) 1.5rem 7.5rem;
}

/* Platz für die schwebende Kopfleiste */
.wp-site-blocks > .eaz-page {
	padding-top: calc(92px + clamp(2.5rem, 6vw, 5rem));
}

.eaz-page > * + *,
.eaz-page .wp-block-post-content > * + * {
	margin-block-start: 1.25rem;
}

.eaz-page__title {
	margin-top: 0;
	font-size: clamp(2rem, 1rem + 5vw, 4.25rem);
}

/* Lange Wörter wie „Datenschutzerklärung“ am Handy mit Trennstrich umbrechen
 * (Sprache kommt aus den WordPress-Einstellungen, z. B. Deutsch (Österreich)). */
.eaz-page__title,
.eaz-page .wp-block-post-content h2,
.eaz-page .wp-block-post-content h3 {
	-webkit-hyphens: auto;
	hyphens: auto;
	overflow-wrap: break-word;
}

/* Zwischenüberschriften auf Unterseiten (z. B. Impressum, Datenschutz) */
.eaz-page .wp-block-post-content h2 {
	margin-top: 2.75rem;
	font-size: clamp(1.375rem, 2.6vw, 1.75rem);
	line-height: 1.2;
	letter-spacing: -0.02em;
}

.eaz-page .wp-block-post-content h3 {
	margin-top: 2rem;
	font-size: 1.25rem;
	line-height: 1.25;
}

/* Gelber Hinweis für Redakteure in den Vorlagen für Impressum und Datenschutz */
.eaz-note {
	padding: 1rem 1.25rem;
	border-left: 4px solid #E0A100;
	border-radius: 8px;
	background: #FFF6DB;
	color: #5C4500;
}

.eaz-posts {
	display: grid;
	gap: 1.25rem;
	padding: 0;
	list-style: none;
}

.eaz-post {
	padding: 2rem;
	border-radius: 28px;
	background: var(--az-light);
}

/* Optionaler Abschnitt „Reparieren statt entsorgen“ */
.az-repair__box {
	padding: clamp(2rem, 5vw, 4.5rem);
	border-radius: 36px;
	background: var(--az-light);
	text-align: center;
}

.az-repair__box .wp-block-buttons {
	margin-top: 2rem;
}

/* ---------------------------------------------------------------
 * 6. Animationen (aus dem Design übernommen)
 * Grundzustand ist immer sichtbar – Scroll-Animationen nur, wenn der Browser
 * animation-timeline kann (Chrome/Edge). Safari/Firefox zeigen alles sofort.
 * ------------------------------------------------------------- */

@keyframes azRise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes azDraw { to { stroke-dashoffset: 0; } }
@keyframes azPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.78; } }
@keyframes azMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes azReveal { from { opacity: 0; transform: translateY(40px); filter: blur(8px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes azShine { from { background-position: 100% 0; } to { background-position: 0 0; } }
@keyframes azHeroOut { to { opacity: 0.12; transform: scale(.9) translateY(-40px); } }
@keyframes azWord { from { opacity: 0.14; } to { opacity: 1; } }
@keyframes azFromLeft { from { opacity: 0; transform: translateX(-35vw); } to { opacity: 1; transform: none; } }
@keyframes azFromRight { from { opacity: 0; transform: translateX(35vw); } to { opacity: 1; transform: none; } }
@keyframes azDash { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes azLine { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes azZoom { from { opacity: 0.5; transform: scale(1.18); } to { opacity: 1; transform: none; } }
@keyframes azRing { 0% { box-shadow: 0 0 0 0 rgba(93,173,226,.55); } 70% { box-shadow: 0 0 0 18px rgba(93,173,226,0); } 100% { box-shadow: 0 0 0 0 rgba(93,173,226,0); } }
@keyframes azSlide { from { opacity: 0; transform: translateX(60px); } to { opacity: 1; transform: none; } }
@keyframes azFlicker { 0% { opacity: 0; } 8% { opacity: .9; } 11% { opacity: .08; } 19% { opacity: 1; } 22% { opacity: .25; } 30% { opacity: 1; } 100% { opacity: 1; } }
@keyframes azFlow { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes azOn { from { opacity: 0; } }
@keyframes azFloat { 0% { transform: translateY(0); opacity: 0; } 15% { opacity: .85; } 100% { transform: translateY(-320px); opacity: 0; } }
@keyframes azConeIn { from { transform: scaleY(0); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes azBlink { 0%, 100% { opacity: 1; } 50% { opacity: .12; } }
@keyframes azTwinkle { 0%, 100% { opacity: .12; } 50% { opacity: 1; } }
@keyframes azWave { 0% { opacity: 0; } 30% { opacity: 1; } 100% { opacity: 0; } }
@keyframes azCurrent { to { stroke-dashoffset: -40; } }
@keyframes azCharge { 0%, 15% { opacity: .15; } 35%, 85% { opacity: 1; } 100% { opacity: .15; } }
@keyframes azSwing { from { transform: rotate(-2.2deg); } to { transform: rotate(2.2deg); } }
@keyframes azDrop { 0% { transform: translateY(-140px); opacity: 0; } 55% { transform: translateY(6px); opacity: 1; } 75% { transform: translateY(-8px); } 100% { transform: none; opacity: 1; } }
@keyframes azRipple { from { transform: scale(.4); opacity: .9; } to { transform: scale(2.6); opacity: 0; } }
@keyframes azDrive { from { transform: translateX(-110%); } to { transform: none; } }
@keyframes azFlip { from { opacity: 0; transform: perspective(900px) rotateX(-65deg) translateY(30px); } to { opacity: 1; transform: none; } }
@keyframes azSpin { to { --az-a: 360deg; } }
@keyframes azCount { from { --n: var(--from, 0); --n2: 0; } }
@keyframes azProgress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes azJob { 0%, 100% { box-shadow: 0 0 0 3px rgba(93,173,226,.22); } 50% { box-shadow: 0 0 0 6px rgba(93,173,226,0); } }
@keyframes azBar { to { height: 58px; box-shadow: inset 0 1px 0 rgba(255,255,255,.95), 0 22px 56px rgba(6,10,28,.36), 0 2px 8px rgba(6,10,28,.16); } }

@property --az-a { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@property --n { syntax: '<integer>'; inherits: false; initial-value: 0; }
@property --n2 { syntax: '<integer>'; inherits: false; initial-value: 0; }

/* Zahlen: ohne Animation steht die echte Zahl im Text. */
.az-cnt .az-sr {
	position: static;
}

@media (prefers-reduced-motion: no-preference) {
	html { scroll-behavior: smooth; }

	.az-rise { animation: azRise 1.1s cubic-bezier(.2,.7,.2,1) both; }
	.az-draw { stroke-dasharray: 1; stroke-dashoffset: 1; animation: azDraw 2.6s cubic-bezier(.6,0,.3,1) .5s forwards; }
	.az-glowpulse { animation: azPulse 6s ease-in-out infinite; }
	.az-ring .wp-block-button__link { animation: azRing 2.8s ease-out 2s infinite; }
	.az-marquee.is-ready .az-marquee__track { animation: azMarquee 45s linear infinite; }
	.az-flicker { opacity: 0; animation: azFlicker 1.8s linear 3s forwards, azPulse 5s ease-in-out 5s infinite; }
	.az-logotext { animation: azRise 1s cubic-bezier(.2,.7,.2,1) 3s both; }
	.az-logotext--claim { animation-delay: 3.5s; }
	.az-flow { stroke-dasharray: .06 .94; stroke-dashoffset: 1; opacity: 0; animation: azOn .6s ease 3.8s forwards, azFlow 3.4s linear 3.8s infinite; }
	.az-win { animation: azOn .5s ease both; }
	.az-spark { animation: azFloat 8s linear infinite; }
	.az-blink { animation: azBlink 1.6s ease-in-out infinite; }
	.az-twinkle { animation: azTwinkle 3s ease-in-out infinite; }
	.az-wave { animation: azWave 2.2s ease-out infinite; }
	.az-current { stroke-dasharray: 6 16; animation: azCurrent .9s linear infinite; }
	.az-charge { animation: azCharge 2.4s ease-in-out infinite; }
	.az-swing { transform-box: view-box; animation: azSwing 3.8s ease-in-out infinite alternate; }
	.az-ripple { transform-box: fill-box; transform-origin: center; animation: azRipple 2.7s ease-out infinite; }
	.az-az:hover::before { animation: azSpin 2.2s linear infinite; }
	.az-bar .az-jobdot > .wp-block-navigation-item__content::before { animation: azJob 2.4s ease-in-out infinite; }

	@supports ((-webkit-background-clip: text) or (background-clip: text)) {
		.az-shine {
			background: linear-gradient(110deg, #FFFFFF 0%, #FFFFFF 40%, var(--glow) 50%, #FFFFFF 60%, #FFFFFF 100%);
			background-size: 250% 100%;
			background-position: 100% 0;
			-webkit-background-clip: text;
			background-clip: text;
			color: transparent !important;
			/* Platz für Unterlängen (g, p), sonst schneidet background-clip sie ab. */
			padding-bottom: 0.24em;
			margin-bottom: -0.24em !important;
			animation: azRise 1.1s cubic-bezier(.2,.7,.2,1) .15s both, azShine 3.4s cubic-bezier(.4,0,.2,1) 1.4s both;
		}
	}

	@supports (animation-timeline: scroll()) {
		.az-progress { animation: azProgress linear both; animation-timeline: scroll(root); }
		/* Leiste wird beim Scrollen etwas flacher (nicht am Handy). */
		@media (min-width: 481px) {
			.az-bar { animation: azBar linear both; animation-timeline: scroll(root); animation-range: 0 240px; }
		}
	}

	@supports (animation-timeline: view()) {
		.az-reveal { animation: azReveal linear both; animation-timeline: view(); animation-range: entry 0% entry 85%; }
		.az-heroout { animation: azHeroOut linear both; animation-timeline: view(); animation-range: exit 0% exit 100%; }
		.az-word { animation: azWord linear both; animation-timeline: view(); }
		.az-from-left { animation: azFromLeft linear both; animation-timeline: view(); animation-range: entry 0% cover 35%; }
		.az-from-right { animation: azFromRight linear both; animation-timeline: view(); animation-range: entry 0% cover 35%; }
		.az-dash { transform-origin: center; animation: azDash linear both; animation-timeline: view(); animation-range: entry 30% cover 40%; }
		.az-checks::before,
		.az-steps::before { animation: azLine linear both; animation-timeline: view(); animation-range: entry 0% entry 100%; }
		.az-zoom { animation: azZoom linear both; animation-timeline: view(); animation-range: entry 0% entry 100%; }
		.az-slide { animation: azSlide linear both; animation-timeline: view(); animation-range: entry 0% entry 100%; }
		.az-scene { view-timeline-name: --sc; }
		.az-cone { transform-box: fill-box; transform-origin: 50% 0; animation: azConeIn linear both; animation-timeline: --sc; }
		.az-winon { animation: azOn linear both; animation-timeline: --sc; }
		.az-drive { animation: azDrive linear both; animation-timeline: --sc; animation-range: entry 10% cover 50%; }
		.az-pin { transform-box: fill-box; transform-origin: 50% 100%; animation: azDrop linear both; animation-timeline: --sc; animation-range: entry 30% cover 50%; }
		.az-flip { animation: azFlip linear both; animation-timeline: view(); animation-range: entry 0% entry 90%; }
		.az-cnt { --n: var(--to); --n2: var(--to2, 0); counter-reset: azc var(--n) azd var(--n2); animation: azCount cubic-bezier(.2,.7,.2,1) both; animation-timeline: view(); animation-range: entry 10% entry 90%; }
		.az-cnt .az-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
		.az-cnt::after { content: counter(azc); }
		.az-dec::after { content: counter(azc) "," counter(azd); }
		.az-plus::after { content: counter(azc) "+"; }
		/* Safari (WebKit) zeigt während des Hochzählens „0“ – dort die echte Zahl ohne Animation (siehe main.js). */
		.eaz-no-count .az-cnt { animation: none; }
		.eaz-no-count .az-cnt::after { content: none; }
		.eaz-no-count .az-cnt .az-sr { position: static; width: auto; height: auto; overflow: visible; clip: auto; clip-path: none; white-space: normal; }
		/* Kartenreihen behalten ihre gestaffelten Bereiche (siehe Abschnitt 3). */
		.az-client.az-reveal,
		.az-service.az-flip { animation-timeline: view(); }
	}
}

/* ---------------------------------------------------------------
 * 7. Responsive
 * ------------------------------------------------------------- */

/* Kopfleiste: unter 1100 px nur das Telefon-Symbol (Text bleibt für Screenreader lesbar). */
@media (max-width: 1100px) {
	.az-bar .az-tel .wp-block-button__link {
		min-width: calc(36px + 1rem);
		padding: 0 0.5rem;
	}

	.az-bar .az-tel .wp-block-button__link,
	.az-bar .az-tel strong {
		font-size: 0;
	}
}

@media (max-width: 900px) {
	/* Wie im Design: Menüpunkte ausblenden (Overlay-Menü „Aus“). */
	.az-bar .az-links:not(.is-responsive) {
		display: none;
	}

	/* Overlay-Menü „Mobil“: Menü-Knopf ganz rechts, Telefon und Anfrage direkt daneben. */
	.az-bar .az-links.is-responsive {
		order: 3;
	}

	.az-bar .wp-block-buttons.az-bar__actions {
		margin-left: auto;
	}
}

/* WordPress zeigt den Menü-Knopf erst unter 600 px – hier schon unter 900 px. */
@media (min-width: 600px) and (max-width: 900px) {
	.az-bar .az-links .wp-block-navigation__responsive-container-open:not(.always-shown) {
		display: flex;
	}

	.az-bar .az-links .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
		display: none;
	}
}

@media (max-width: 480px) {
	.az-navwrap {
		padding: 10px 0.75rem 0;
	}

	.az-bar {
		gap: 0.4rem;
		height: 60px;
		padding: 0 6px 0 12px;
		border-radius: 16px;
	}

	.az-bar .az-logo img {
		height: 36px;
	}

	.az-bar .az-tel .wp-block-button__link {
		min-width: 36px;
		padding: 0;
	}

	.az-bar .az-tel .wp-block-button__link::before {
		left: 0;
	}

	.az-bar .az-cta .wp-block-button__link {
		min-height: 44px;
		padding: 0 0.85rem;
		border-radius: 12px;
		font-size: 0.85rem;
	}

	.az-bar .az-cta .wp-block-button__link::after {
		display: none;
	}
}

/* Overlay-Menü „Mobil“ auf schmalen Handys: etwas Platz für den Menü-Knopf schaffen. */
@media (max-width: 400px) {
	.az-bar:has(.az-links.is-responsive) {
		gap: 0.25rem;
	}

	.az-bar:has(.az-links.is-responsive) .az-logo img {
		height: 32px;
	}

	.az-bar .az-links .wp-block-navigation__responsive-container-open {
		width: 40px;
		height: 40px;
	}
}

@media (max-width: 600px) {
	.az-floatcall {
		right: 1rem;
		bottom: 1rem;
	}

	.az-about__badge {
		right: 0.5rem;
	}

	.eaz-form-row {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* Dunkle Kartenvarianten (müssen nach den Kartenstilen stehen) */
.az-client.az-dark,
.az-service.az-dark {
	background: var(--az-navy);
	color: #FFFFFF;
}

.az-client.az-dark .az-client__title {
	color: #FFFFFF;
}

@media (max-width: 600px) {
	.az-xl .wp-block-button__link {
		font-size: 1.3rem;
		white-space: nowrap;
	}
}

.az-about {
	overflow-x: clip;
}

/* ---------------------------------------------------------------
 * 7. Cookie-Hinweis (Plugin „Cookie Notice“ der alten Homepage)
 * Als kleine Karte unten links statt einer Leiste über die ganze Breite,
 * damit „Jetzt anrufen“ frei bleibt. Gilt nur, falls das Plugin aktiv ist.
 * ------------------------------------------------------------- */

#cookie-notice.cn-position-bottom,
#cookie-notice {
	position: fixed !important;
	top: auto !important;
	left: 1.5rem !important;
	right: auto !important;
	bottom: 1.5rem !important;
	width: min(24rem, calc(100vw - 3rem)) !important;
	min-height: 0 !important;
	padding: 0 !important;
	border-radius: 20px !important;
	background: #FFFFFF !important;
	color: var(--az-navy) !important;
	box-shadow: 0 18px 50px rgba(14, 20, 48, 0.28), 0 0 0 1px rgba(14, 20, 48, 0.06) !important;
	font-family: inherit !important;
	z-index: 70 !important;
}

#cookie-notice .cookie-notice-container {
	display: flex !important;
	flex-direction: column;
	align-items: stretch !important;
	gap: 1rem;
	padding: 1.25rem 1.4rem 1.3rem !important;
	color: var(--az-navy) !important;
	text-align: left !important;
}

#cookie-notice #cn-notice-text {
	display: block;
	font-size: 0.9375rem !important;
	line-height: 1.55 !important;
	color: var(--az-navy) !important;
}

#cookie-notice #cn-notice-buttons {
	display: flex !important;
	flex-wrap: wrap;
	gap: 0.6rem;
	align-items: center;
}

#cookie-notice .cn-button {
	display: inline-block;
	margin: 0 !important;
	padding: 0.65rem 1.2rem !important;
	border: 0 !important;
	border-radius: 999px !important;
	font-size: 0.9375rem !important;
	font-weight: 700 !important;
	line-height: 1.2 !important;
	text-decoration: none !important;
	text-shadow: none !important;
	box-shadow: none !important;
	transition: background-color 0.2s ease;
}

#cookie-notice #cn-accept-cookie {
	background: var(--az-navy) !important;
	color: #FFFFFF !important;
}

#cookie-notice #cn-accept-cookie:hover {
	background: #1f2a5c !important;
}

#cookie-notice #cn-more-info {
	background: transparent !important;
	color: var(--az-navy) !important;
	box-shadow: inset 0 0 0 1.5px rgba(20, 27, 61, 0.28) !important;
}

#cookie-notice #cn-more-info:hover {
	background: rgba(20, 27, 61, 0.06) !important;
}

#cookie-notice #cn-close-notice {
	color: var(--az-navy) !important;
}

/* Handy: Karte über die Breite, „Jetzt anrufen“ rutscht darüber, solange sie sichtbar ist. */
@media (max-width: 600px) {
	#cookie-notice {
		left: 0.75rem !important;
		bottom: 0.75rem !important;
		width: calc(100vw - 1.5rem) !important;
	}

	/* Anruf-Button über die Karte heben; main.js misst die Höhe (--eaz-cookie-lift). */
	body:has(#cookie-notice.cookie-notice-visible) .az-floatcall {
		bottom: calc(var(--eaz-cookie-lift, 13rem) + 0.75rem);
	}
}
