/* ==========================================================================
   adam — zemla · Theme-Styles (Editorial)
   Ruhiges, typografisches Layout in Aspekta. White/Black-Darstellung über
   [data-theme] auf <html>, Markenrot nur für Handlungsaufforderungen.
   ========================================================================== */

@font-face {
	font-family: "Aspekta";
	src: url("../fonts/AspektaVF.woff2") format("woff2");
	font-weight: 50 1000;
	font-style: normal;
	font-display: swap;
}

/* ---------- Tokens ---------- */
:root,
[data-theme="light"] {
	--azt-bg: #ffffff;
	--azt-surface: #f3f3f3;
	--azt-surface-2: #e9e9e9;
	--azt-fg: #0a0a0a;
	--azt-muted: #5c5c5c;
	--azt-line: rgba(10, 10, 10, 0.12);
	--azt-line-strong: rgba(10, 10, 10, 0.45);
	--azt-field: #ffffff;
	--azt-inv-bg: #0a0a0a;
	--azt-inv-fg: #ffffff;
	--azt-inv-muted: #a8a8a8;
	--azt-shadow: 0 24px 64px rgba(10, 10, 10, 0.14);
	color-scheme: light;
}
[data-theme="dark"] {
	--azt-bg: #0a0a0a;
	--azt-surface: #161616;
	--azt-surface-2: #202020;
	--azt-fg: #ffffff;
	--azt-muted: #a8a8a8;
	--azt-line: rgba(255, 255, 255, 0.14);
	--azt-line-strong: rgba(255, 255, 255, 0.5);
	--azt-field: #0a0a0a;
	--azt-inv-bg: #ffffff;
	--azt-inv-fg: #0a0a0a;
	--azt-inv-muted: #555555;
	--azt-shadow: 0 24px 64px rgba(0, 0, 0, 0.6);
	color-scheme: dark;
}
:root {
	--azt-accent: #e30613;
	--azt-on-accent: #ffffff;
	--azt-sans: "Aspekta", "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
	--azt-radius: 10px;
	--azt-serif: var(--azt-sans);
	--azt-gutter: clamp(16px, 2.2vw, 32px);
	--azt-max: 1920px;
	--azt-section: clamp(64px, 7.5vw, 112px);
	--azt-ease: cubic-bezier(0.22, 1, 0.36, 1);
	--azt-header-h: 100px;
}
@media (max-width: 860px) { :root { --azt-header-h: 76px; } }

/* ---------- Reset & Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: var(--azt-header-h);
	background: var(--azt-bg);
}

body {
	margin: 0;
	background: var(--azt-bg);
	color: var(--azt-fg);
	font-family: var(--azt-sans);
	font-size: 18px;
	line-height: 1.5;
	font-weight: 400;
	letter-spacing: -0.01em;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
	transition: background-color 0.4s ease, color 0.4s ease;
}

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

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: inherit; }

:focus-visible { outline: 2px solid var(--azt-accent); outline-offset: 4px; border-radius: 2px; }

h1, h2, h3, h4, h5, h6, p, ul, ol, dl, dd, figure { margin: 0; }
h1, h2, h3, h4, h5, h6 { font-weight: 500; }
ul, ol { padding: 0; list-style: none; }

button { font: inherit; color: inherit; letter-spacing: inherit; }

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

.azt-sr,
.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0);
	white-space: nowrap; border: 0;
}

.azt-skip {
	position: absolute; left: 16px; top: -100px; z-index: 100;
	padding: 12px 20px; background: var(--azt-fg); color: var(--azt-bg);
	border-radius: 999px; text-decoration: none;
}
.azt-skip:focus { top: 16px; color: var(--azt-bg); }

.azt-main { outline: none; }

/* ---------- Layout ---------- */
.azt-wrap { width: 100%; max-width: var(--azt-max); margin-inline: auto; padding-inline: var(--azt-gutter); }
.azt-wrap--narrow { max-width: 1100px; }
.azt-wrap--text { max-width: 860px; }
.azt-center { text-align: center; }
.azt-section { padding-top: var(--azt-section); }
.azt-section--tight { padding-top: clamp(40px, 5vw, 72px); }
/* Projektübersicht: Raster direkt unter den Filtern */
.azt-filter + .azt-band { margin-top: clamp(24px, 3vw, 40px); padding-top: clamp(40px, 5vw, 72px); }

/* Zweispaltig: Überschrift links, Inhalt rechts */
.azt-split {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
	gap: 24px clamp(32px, 4.5vw, 64px);
	align-items: start;
}
@media (max-width: 860px) {
	.azt-split { grid-template-columns: minmax(0, 1fr); }
}

.azt-section__head {
	display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 24px;
	margin-bottom: clamp(32px, 4vw, 48px);
}
.azt-section__head .azt-link { font-size: 16px; }

/* Graue Fläche über die volle Breite (Inhalt bleibt im Raster) */
.azt-band {
	position: relative;
	background: var(--azt-surface);
	box-shadow: 0 0 0 100vmax var(--azt-surface);
	clip-path: inset(0 -100vmax);
	margin-top: var(--azt-section);
	padding-top: var(--azt-section);
	padding-bottom: var(--azt-section);
}
.azt-band + .azt-band { margin-top: 0; }
.azt-band + .azt-band::before { content: ""; position: absolute; top: 0; left: var(--azt-gutter); right: var(--azt-gutter); height: 1px; background: var(--azt-line); }
/* Karten auf grauer Fläche werden weiß bzw. schwarz */
.azt-band > * { --azt-surface: var(--azt-bg); --azt-surface-2: var(--azt-card-hover); }
:root, [data-theme="light"] { --azt-card-hover: #fafafa; }
[data-theme="dark"] { --azt-card-hover: #111111; }
.azt-band + .azt-footer, .azt-band:last-child { margin-bottom: 0; }

/* Kompakte Fläche (z. B. Kunden) */
.azt-band--compact { padding-top: clamp(36px, 4vw, 56px); padding-bottom: clamp(36px, 4vw, 56px); }
.azt-clients { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: 16px 40px; align-items: baseline; }
.azt-clients__title { font-size: 18px; font-weight: 500; letter-spacing: -0.01em; }
.azt-clients__list { display: flex; flex-wrap: wrap; gap: 8px; }
.azt-clients__list li {
	display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px;
	background: var(--azt-surface); border-radius: 999px;
	font-size: 15px; line-height: 1.2;
}
.azt-clients__list li:last-child { background: transparent; padding: 0 4px; }
@media (max-width: 760px) { .azt-clients { grid-template-columns: minmax(0, 1fr); } }
.azt-clients__count { margin-top: 12px; font-size: 16px; }
.azt-clients__list--lg { gap: 8px; }
.azt-clients__list--lg li, .azt-clients__list--lg li:last-child { min-height: 44px; padding: 0 18px; background: var(--azt-surface); font-size: 16px; }
.azt-cards.azt-cards--roles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.azt-cards--roles .azt-card { min-height: clamp(180px, 15vw, 230px); }
@media (max-width: 1100px) { .azt-cards.azt-cards--roles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .azt-cards.azt-cards--roles { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Typo ---------- */
.azt-display,
.azt-h2 {
	font-family: var(--azt-sans);
	font-weight: 500;
	letter-spacing: -0.035em;
	line-height: 1.05;
}
.azt-h2 { font-size: clamp(32px, 3.2vw, 46px); }
.azt-display em, .azt-h2 em, .azt-display .azt-accent, .azt-h2 .azt-accent { font-style: normal; color: inherit; }

.azt-kicker { font-size: 16px; margin-bottom: 16px; }

.azt-label {
	font-family: var(--azt-sans);
	font-size: 15px;
	font-weight: 400;
	line-height: 1.45;
	letter-spacing: -0.01em;
	text-transform: none;
}
.azt-muted { color: var(--azt-muted); }
.azt-accent { color: var(--azt-accent); }
.azt-small { font-size: 14px; }

.azt-lead { font-size: clamp(21px, 1.9vw, 27px); line-height: 1.36; letter-spacing: -0.02em; }

.azt-section-title { font-size: clamp(32px, 3.2vw, 46px); margin-bottom: clamp(32px, 4vw, 48px); }

/* ---------- Links ---------- */
.azt-link { text-decoration: none; transition: opacity 0.18s ease; }
.azt-link:hover { opacity: 0.6; }
.azt-arrow-txt { display: inline-block; transition: transform 0.24s var(--azt-ease); }
.azt-link:hover .azt-arrow-txt, .azt-work:hover .azt-arrow-txt { transform: translateX(6px); }
.azt-link:hover .azt-arrow-txt:only-child { transform: none; }

.azt-jump { display: flex; flex-wrap: wrap; gap: 8px 32px; margin-top: clamp(32px, 4vw, 48px); font-size: 17px; }

/* ---------- Buttons ---------- */
.azt-btn,
.azt-pill {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 48px; padding: 0 24px;
	border: 1px solid var(--azt-fg); border-radius: 999px;
	background: transparent; color: var(--azt-fg);
	font-family: var(--azt-sans); font-size: 16px; font-weight: 500; line-height: 1.2;
	letter-spacing: -0.01em; text-transform: none; text-decoration: none;
	cursor: pointer; white-space: nowrap;
	transition: transform 0.14s var(--azt-ease), opacity 0.18s ease, background-color 0.2s ease, color 0.2s ease;
}
.azt-btn:hover, .azt-pill:hover { opacity: 0.88; color: var(--azt-fg); }
.azt-btn:active, .azt-pill:active { transform: scale(0.97); }
.azt-btn--accent, .azt-pill--accent { background: var(--azt-accent); border-color: var(--azt-accent); color: var(--azt-on-accent); }
.azt-btn--accent:hover, .azt-pill--accent:hover { color: var(--azt-on-accent); }
/* Schwarzer Button (im Black-Modus/auf dunklem Grund automatisch weiß) */
.azt-btn--ink { background: var(--azt-fg); border-color: var(--azt-fg); color: var(--azt-ink-on, var(--azt-bg)); }
.azt-btn--ink:hover { color: var(--azt-ink-on, var(--azt-bg)); }
.azt-pill--ghost { border-color: transparent; }
.azt-pill[disabled], .azt-btn[disabled] { opacity: 0.5; pointer-events: none; }
.azt-dot { display: none; }
.azt-arrow { flex: none; }

/* ---------- Header ---------- */
.azt-header {
	position: sticky; top: 0; z-index: 40;
	transition: transform 0.4s var(--azt-ease);
}
.azt-header::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: color-mix(in srgb, var(--azt-bg) 90%, transparent);
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
}
.admin-bar .azt-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .azt-header { top: 46px; } }
.azt-header.is-hidden { transform: translateY(-100%); }

.azt-header__inner {
	display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
	align-items: center; gap: 16px;
	min-height: var(--azt-header-h);
}
.azt-header__brand { justify-self: start; position: relative; z-index: 60; }
.azt-brand, .custom-logo-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--azt-fg); }
.azt-brand:hover { color: var(--azt-fg); opacity: 0.7; }
.azt-logo { width: 46px; height: auto; }
.custom-logo { max-height: 36px; width: auto; }
@media (min-width: 961px) { .azt-header .azt-logo { width: 58px; } .azt-header .custom-logo { max-height: 44px; } }
.azt-header__actions { justify-self: end; display: flex; align-items: center; gap: 12px; position: relative; z-index: 60; }
.azt-header__cta { min-height: 44px; padding: 0 22px; }

.azt-menu { display: flex; gap: 32px; }
.azt-menu a {
	display: inline-flex; align-items: center; min-height: 44px;
	font-size: 16px; text-decoration: none; color: var(--azt-fg);
	transition: opacity 0.18s ease;
}
.azt-menu a:hover { opacity: 0.6; }
.azt-menu .current-menu-item > a,
.azt-menu .current_page_item > a { text-decoration: underline; text-underline-offset: 6px; }

/* Black/White-Schalter */
.azt-mode {
	display: inline-flex; padding: 4px; border-radius: 999px;
	background: var(--azt-surface);
}
.azt-mode__btn {
	min-height: 36px; padding: 0 14px; border: 0; border-radius: 999px;
	background: transparent; color: var(--azt-fg); cursor: pointer;
	font-size: 14px; line-height: 1;
	transition: background-color 0.25s ease, color 0.25s ease;
}
.azt-mode__btn[aria-pressed="true"] { background: var(--azt-fg); color: var(--azt-bg); }
.azt-mode__btn:focus-visible { outline-offset: 2px; }

.azt-nav__mobile-extra { display: none; }
.azt-nav__ticker { display: none; }

.azt-burger {
	display: none;
	width: 44px; height: 44px; border-radius: 50%;
	border: 1px solid var(--azt-line-strong); background: transparent;
	cursor: pointer; position: relative;
}
.azt-burger span {
	position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--azt-fg);
	transition: transform 0.35s var(--azt-ease), top 0.35s var(--azt-ease);
}
.azt-burger span:first-child { top: 17px; }
.azt-burger span:last-child { top: 25px; }
.azt-menu-open .azt-burger span:first-child { top: 21px; transform: rotate(45deg); }
.azt-menu-open .azt-burger span:last-child { top: 21px; transform: rotate(-45deg); }

@media (max-width: 1080px) {
	.azt-menu { gap: 22px; }
}
@media (max-width: 960px) {
	.azt-header__inner { grid-template-columns: auto minmax(0, 1fr); }
	.azt-header__cta { display: none; }
	.azt-burger { display: block; }
	.azt-nav {
		position: fixed; inset: 0; z-index: 50;
		background: var(--azt-bg);
		display: flex; flex-direction: column; justify-content: flex-start;
		padding: calc(var(--azt-header-h) + 24px) var(--azt-gutter) calc(24px + env(safe-area-inset-bottom));
		overflow-y: auto; overscroll-behavior: contain;
		opacity: 0; visibility: hidden;
		transition: opacity 0.35s ease, visibility 0.35s;
	}
	.azt-menu-open .azt-nav { opacity: 1; visibility: visible; }
	.azt-menu-open { overflow: hidden; }
	.azt-nav .azt-menu { flex-direction: column; gap: 0; margin-top: clamp(8px, 4vh, 40px); }
	.azt-nav .azt-menu a { font-size: clamp(36px, 10vw, 56px); font-weight: 500; letter-spacing: -0.04em; line-height: 1.2; }
	.azt-nav__mobile-extra { display: flex; flex-direction: column; align-items: stretch; gap: 14px; margin-top: auto; padding-top: 32px; }
	.azt-nav__mail { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; font-size: 16px; color: var(--azt-muted); text-decoration: none; }
	.azt-nav__mail:hover, .azt-nav__mail:focus-visible { color: var(--azt-fg); }
	.azt-nav__buttons { display: flex; flex-wrap: wrap; gap: 10px; width: 100%; }
	.azt-nav__buttons .azt-btn { min-height: 52px; flex: 1 1 160px; }
	.azt-btn--phone { gap: 8px; }
	.azt-nav__ticker {
		display: block; margin: 0 calc(var(--azt-gutter) * -1); padding-top: 20px; overflow: hidden;
		-webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
		mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
	}
	.azt-nav__ticker-track { display: flex; width: max-content; animation: azt-ticker 32s linear infinite; }
	.azt-nav__ticker-list { display: flex; gap: 8px; margin: 0; padding: 0 8px 0 0; list-style: none; }
	.azt-nav__ticker-list li { flex: none; padding: 7px 14px; border: 1px solid var(--azt-line); border-radius: 999px; font-size: 14px; color: var(--azt-muted); white-space: nowrap; }
}
@media (max-width: 380px) {
	.azt-mode__btn { padding: 0 10px; }
}

/* ---------- Hero ---------- */
.azt-hero { padding-top: clamp(72px, 13vw, 200px); padding-bottom: clamp(56px, 9vw, 144px); }
.azt-hero__kicker { font-size: 16px; margin-bottom: clamp(20px, 2.4vw, 32px); }
.azt-hero__title {
	font-size: clamp(46px, 7.4vw, 106px);
	font-weight: 500; line-height: 0.98; letter-spacing: -0.04em;
}
.azt-mask { display: block; overflow: hidden; padding-bottom: 0.08em; }
.azt-mask > span { display: block; animation: azt-up 0.9s var(--azt-ease) both; }
.azt-mask--2 > span { animation-delay: 0.11s; }
.azt-rotator { display: inline-block; transition: opacity 0.35s ease, transform 0.35s var(--azt-ease); }
.azt-rotator.is-out { opacity: 0; transform: translateY(0.12em); }
.azt-hero__foot {
	display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px 48px;
	margin-top: clamp(32px, 4vw, 48px);
}
.azt-hero__text { max-width: 570px; font-size: clamp(18px, 1.4vw, 20px); line-height: 1.5; }
.azt-hero__scroll { font-size: 16px; display: inline-flex; gap: 6px; align-items: center; min-height: 44px; }
.azt-hero__scroll:hover .azt-arrow-txt { transform: translateY(4px); }
.azt-fade { animation: azt-fade 0.7s var(--azt-ease) 0.4s both; }
@keyframes azt-up { from { transform: translateY(105%); } to { transform: none; } }
@keyframes azt-fade { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* Hero zweispaltig: Text links, Projekt-Slider rechts */
.azt-hero__grid {
	display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 40px clamp(32px, 4vw, 64px); align-items: end;
}
.azt-hero:has(.azt-hero__grid) { padding-top: clamp(32px, 5vw, 80px); }
.azt-hero__grid .azt-hero__title { font-size: clamp(52px, 6.6vw, 116px); }
.azt-hero__grid .azt-hero__foot { flex-direction: column; align-items: flex-start; gap: 20px; }
@media (max-width: 960px) {
	.azt-hero__grid { grid-template-columns: minmax(0, 1fr); }
	.azt-hero__grid .azt-hero__title { font-size: clamp(44px, 11vw, 92px); }
}
/* Mobil: nur Headline und Slider */
@media (max-width: 760px) {
	.azt-hero__grid .azt-hero__foot { display: none; }
	.azt-hero__grid { gap: 24px; }
	.azt-hero:has(.azt-hero__grid) { padding-top: 56px; padding-bottom: 40px; }
}

/* ---------- Projekt-Slider ---------- */
.azt-slider { position: relative; }
.azt-slider__track {
	position: relative; aspect-ratio: 5 / 4; overflow: hidden;
	border-radius: var(--azt-radius); background: var(--azt-surface);
}
.azt-slide {
	position: absolute; inset: 0; display: block; color: #fff; text-decoration: none;
	opacity: 0; visibility: hidden;
	transition: opacity 0.8s var(--azt-ease), visibility 0.8s;
}
.azt-slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.azt-slide__media { position: absolute; inset: 0; }
.azt-slide__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 6s linear; }
.azt-slide.is-active .azt-slide__media img { transform: scale(1); }
.azt-slide__caption {
	position: absolute; left: 0; right: 0; bottom: 0;
	display: flex; flex-direction: column; gap: 4px;
	padding: 64px clamp(20px, 2.4vw, 32px) clamp(20px, 2.4vw, 28px);
	background: linear-gradient(to top, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.5) 60%, rgba(0, 0, 0, 0));
	text-shadow: 0 1px 12px rgba(0, 0, 0, 0.45);
}
.azt-slide__type { font-size: 15px; color: rgba(255, 255, 255, 0.85); }
.azt-slide__title { font-size: clamp(26px, 2.4vw, 37px); font-weight: 500; letter-spacing: -0.03em; line-height: 1.1; }
.azt-slide__more { font-size: 16px; margin-top: 6px; }
.azt-slide, .azt-slide:hover, .azt-slide:focus, .azt-slide:visited { color: #fff; }
.azt-slide:hover .azt-slide__media img, .azt-slide:focus-visible .azt-slide__media img { transform: scale(1.04); transition: transform 0.8s var(--azt-ease); }
.azt-slide:hover .azt-arrow-txt, .azt-slide:focus-visible .azt-arrow-txt { transform: translateX(6px); }
.azt-slide:focus-visible { outline-offset: -4px; outline-color: #fff; }

.azt-slider__bar { display: flex; align-items: center; gap: 16px; margin-top: 14px; }
.azt-slider__count { font-size: 15px; color: var(--azt-muted); font-variant-numeric: tabular-nums; min-width: 4.2em; }
.azt-slider__progress { flex: 1; height: 2px; background: var(--azt-line); border-radius: 2px; overflow: hidden; }
.azt-slider__progress span { display: block; height: 100%; width: 0; background: var(--azt-fg); }
.azt-slider__controls { display: flex; gap: 8px; }
.azt-slider__btn {
	width: 44px; height: 44px; border-radius: 50%;
	border: 1px solid var(--azt-line-strong); background: transparent; color: var(--azt-fg);
	display: inline-flex; align-items: center; justify-content: center; cursor: pointer; font-size: 18px;
	transition: background-color 0.2s ease, color 0.2s ease;
}
.azt-slider__btn:hover { background: var(--azt-fg); color: var(--azt-bg); }
.azt-slider__pause { width: 10px; height: 12px; position: relative; }
.azt-slider__pause::before, .azt-slider__pause::after { content: ""; position: absolute; top: 0; width: 3px; height: 12px; background: currentColor; border-radius: 1px; }
.azt-slider__pause::before { left: 0; }
.azt-slider__pause::after { right: 0; }
[data-azt-slider-pause][aria-pressed="true"] .azt-slider__pause::before { left: 2px; width: 0; height: 0; background: none; border-style: solid; border-width: 6px 0 6px 9px; border-color: transparent transparent transparent currentColor; border-radius: 0; }
[data-azt-slider-pause][aria-pressed="true"] .azt-slider__pause::after { display: none; }

/* Scroll-Einblendung (nur wo der Browser es nativ kann) */
@supports (animation-timeline: view()) {
	.azt-rise { animation: azt-fade linear both; animation-timeline: view(); animation-range: entry 0% entry 50%; }
}

/* ---------- Kennzahlen ---------- */
.azt-facts { padding-top: 0; }
.azt-facts__list {
	display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
	border-top: 1px solid var(--azt-line);
}
.azt-fact { padding: 28px 24px 0 0; }
.azt-fact__value { font-size: clamp(32px, 3.2vw, 46px); font-weight: 500; letter-spacing: -0.035em; line-height: 1.1; }
.azt-fact dd { margin-top: 6px; font-size: 16px; }
@media (max-width: 760px) { .azt-facts__list { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 8px; } }

/* ---------- Listen (Leistungen, Ablauf, Rollen …) ---------- */
.azt-list { display: flex; flex-direction: column; gap: clamp(20px, 2.4vw, 32px); }
.azt-split__body > .azt-lead + .azt-list { margin-top: clamp(32px, 4vw, 48px); }
.azt-list__item {
	display: grid; grid-template-columns: minmax(0, 36%) minmax(0, 1fr);
	gap: 6px 24px; align-items: baseline;
}
.azt-list__title { font-size: clamp(20px, 1.7vw, 24px); font-weight: 500; letter-spacing: -0.02em; line-height: 1.3; }
.azt-list__text { font-size: 18px; line-height: 1.5; }
.azt-list__no { font-size: 0.75em; font-weight: 400; margin-right: 6px; font-variant-numeric: tabular-nums; }
@media (max-width: 760px) { .azt-list__item { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Visualisierung: maßgeschneidertes Backend ---------- */
.azt-mock { margin: clamp(32px, 4vw, 48px) 0 0; }
.azt-mock__window {
	--m-bg: var(--azt-bg); --m-line: var(--azt-line); --m-soft: color-mix(in srgb, var(--azt-fg) 5%, var(--azt-bg));
	background: var(--m-bg); border-radius: var(--azt-radius); overflow: hidden;
	border: 1px solid var(--m-line);
	box-shadow: 0 30px 60px rgba(0, 0, 0, 0.10), 0 2px 6px rgba(0, 0, 0, 0.04);
	font-size: 12px; line-height: 1.3; letter-spacing: 0; user-select: none;
}
[data-theme="dark"] .azt-mock__window { box-shadow: 0 30px 60px rgba(0, 0, 0, 0.55); }
.azt-mock__bar { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--m-line); }
.azt-mock__dots { display: inline-flex; gap: 6px; }
.azt-mock__dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--azt-line-strong); opacity: 0.6; }
.azt-mock__url { flex: 1; max-width: 260px; margin-inline: auto; text-align: center; padding: 4px 12px; border-radius: 999px; background: var(--m-soft); color: var(--azt-muted); font-size: 11px; }
.azt-mock__body { display: grid; grid-template-columns: 132px minmax(0, 1fr); min-height: 340px; }
.azt-mock__side { display: flex; flex-direction: column; gap: 2px; padding: 14px 10px; background: var(--m-soft); border-right: 1px solid var(--m-line); }
.azt-mock__brand { display: inline-flex; color: var(--azt-fg); margin: 2px 6px 14px; }
.azt-mock__nav { display: flex; align-items: center; gap: 8px; padding: 7px 8px; border-radius: 6px; color: var(--azt-muted); }
.azt-mock__nav b { margin-left: auto; min-width: 18px; height: 18px; border-radius: 999px; background: var(--azt-accent); color: #fff; font-size: 10px; font-weight: 500; display: inline-flex; align-items: center; justify-content: center; }
.azt-mock__nav.is-active { background: var(--azt-fg); color: var(--azt-bg); }
.azt-mock__ico { width: 10px; height: 10px; border-radius: 3px; border: 1.5px solid currentColor; opacity: 0.8; flex: none; }
.azt-mock__main { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 12px; color: var(--azt-fg); }
.azt-mock__head { display: flex; justify-content: space-between; align-items: center; }
.azt-mock__title { font-size: 15px; font-weight: 500; letter-spacing: -0.01em; }
.azt-mock__save { padding: 6px 12px; border-radius: 999px; background: var(--azt-accent); color: #fff; font-size: 11px; font-weight: 500; }
.azt-mock__row { display: grid; grid-template-columns: 1.4fr 1fr; gap: 10px; }
.azt-mock__field { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.azt-mock__label { font-size: 10px; color: var(--azt-muted); }
.azt-mock__input { display: flex; align-items: center; min-height: 30px; padding: 0 10px; border-radius: 6px; border: 1px solid var(--m-line); background: var(--m-bg); white-space: nowrap; overflow: hidden; }
.azt-mock__field--full .azt-mock__input { border-color: var(--azt-fg); }
.azt-mock__caret { width: 1px; height: 14px; background: var(--azt-fg); margin-left: 2px; animation: azt-caret 1.1s steps(1) infinite; }
@keyframes azt-caret { 50% { opacity: 0; } }
.azt-mock__chips { display: flex; gap: 6px; flex-wrap: wrap; }
.azt-mock__chips span { padding: 5px 10px; border-radius: 999px; background: var(--m-soft); color: var(--azt-muted); }
.azt-mock__chips .is-on { background: var(--azt-fg); color: var(--azt-bg); }
.azt-mock__thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.azt-mock__thumbs i { aspect-ratio: 4 / 3; border-radius: 6px; background: linear-gradient(135deg, #e30613 0%, #7a0a12 55%, #1a1a1a 100%); }
.azt-mock__thumbs i:nth-child(2) { background: linear-gradient(135deg, #3a3a3a, #0a0a0a); }
.azt-mock__thumbs i:nth-child(3) { background: linear-gradient(135deg, #d9d9d9, #8a8a8a); }
.azt-mock__thumbs .azt-mock__add { background: transparent; border: 1px dashed var(--azt-line-strong); display: flex; align-items: center; justify-content: center; font-style: normal; font-size: 16px; color: var(--azt-muted); }
.azt-mock__toggles { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 2px; }
.azt-mock__toggle { display: inline-flex; align-items: center; gap: 8px; color: var(--azt-muted); }
.azt-mock__toggle i { position: relative; width: 26px; height: 15px; border-radius: 999px; background: var(--azt-line-strong); opacity: 0.7; }
.azt-mock__toggle i::after { content: ""; position: absolute; top: 2px; left: 2px; width: 11px; height: 11px; border-radius: 50%; background: #fff; }
.azt-mock__toggle.is-on { color: var(--azt-fg); }
.azt-mock__toggle.is-on i { background: var(--azt-accent); opacity: 1; }
.azt-mock__toggle.is-on i::after { left: 13px; }
.azt-mock__cap { margin-top: 12px; font-size: 14px; color: var(--azt-muted); }
@media (max-width: 480px) {
	.azt-mock__body { grid-template-columns: minmax(0, 1fr); }
	.azt-mock__side { flex-direction: row; overflow: hidden; border-right: 0; border-bottom: 1px solid var(--m-line); padding: 8px; }
	.azt-mock__brand, .azt-mock__nav:not(.is-active):nth-child(n+5) { display: none; }
	.azt-mock__nav { white-space: nowrap; }
}
@media (prefers-reduced-motion: reduce) { .azt-mock__caret { animation: none; } }

/* ---------- 404 ---------- */
.azt-404 {
	padding-top: clamp(40px, 6vw, 96px); padding-bottom: clamp(64px, 7.5vw, 112px);
}
.azt-404 + .azt-band { margin-top: 0; }
.azt-404__code {
	display: flex; align-items: center; gap: 0.02em;
	font-size: clamp(120px, 17vw, 260px); font-weight: 500; letter-spacing: -0.06em; line-height: 0.85;
	margin-bottom: clamp(20px, 3vw, 36px);
}
.azt-404__zero { position: relative; display: inline-block; width: 0.62em; height: 0.78em; margin: 0 0.04em; }
.azt-404__zero::before {
	content: ""; position: absolute; inset: 0; border-radius: 50%;
	border: 0.11em solid var(--azt-fg);
}
.azt-404__zero i {
	position: absolute; left: 50%; top: 50%; width: 0.16em; height: 0.16em; margin: -0.08em 0 0 -0.08em;
	border-radius: 50%; background: var(--azt-accent);
	animation: azt-orbit 3.2s linear infinite;
}
@keyframes azt-orbit {
	from { transform: rotate(0deg) translateY(-0.2em) rotate(0deg); }
	to { transform: rotate(360deg) translateY(-0.2em) rotate(-360deg); }
}
.azt-404__title { font-size: clamp(32px, 3.6vw, 52px); font-weight: 500; letter-spacing: -0.04em; line-height: 1.05; }
.azt-404__text { margin-top: 14px; max-width: 460px; font-size: 18px; line-height: 1.55; }
.azt-404 .azt-cta__actions { margin-top: 28px; }
.azt-404__jump { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 24px; margin-top: 28px; font-size: 16px; }
.azt-404__jump a { min-height: 32px; display: inline-flex; align-items: center; gap: 4px; }
.azt-404__mock { margin: 0; }
.azt-404__console {
	padding: 20px 22px 22px; min-height: 300px;
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 13px; line-height: 1.7;
	color: var(--azt-fg);
}
.azt-404__line { margin: 0; overflow-wrap: anywhere; }
.azt-404__muted { color: var(--azt-muted); }
.azt-404__err { display: inline-block; padding: 0 6px; border-radius: 4px; background: var(--azt-accent); color: #fff; }
.azt-404__links { display: flex; flex-direction: column; margin: 10px 0 12px; border: 1px solid var(--azt-line); border-radius: 8px; overflow: hidden; }
.azt-404__links a {
	display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px;
	text-decoration: none; font-family: var(--azt-sans); font-size: 15px;
	transition: background-color 0.2s ease;
}
.azt-404__links a + a { border-top: 1px solid var(--azt-line); }
.azt-404__links a:hover { background: color-mix(in srgb, var(--azt-fg) 5%, var(--azt-bg)); }
.azt-404__links a:hover .azt-arrow-txt { transform: translateX(6px); }
.azt-404__links .azt-arrow-txt { margin-left: auto; }
.azt-404__ok { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11px; padding: 1px 6px; border-radius: 4px; background: var(--azt-fg); color: var(--azt-bg); }
.azt-404__prompt { display: flex; align-items: center; gap: 6px; color: var(--azt-muted); }
@media (prefers-reduced-motion: reduce) { .azt-404__zero i { animation: none; transform: translateY(-0.2em); } }

/* ---------- Karten (Leistungen) ---------- */
.azt-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(8px, 1vw, 16px); }
@media (max-width: 1024px) { .azt-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .azt-cards { grid-template-columns: minmax(0, 1fr); } }
.azt-card {
	position: relative; display: flex; flex-direction: column;
	min-height: clamp(220px, 20vw, 300px);
	padding: clamp(24px, 2.4vw, 36px);
	background: var(--azt-surface); border-radius: var(--azt-radius);
	transition: transform 0.35s var(--azt-ease), box-shadow 0.35s var(--azt-ease);
}
.azt-card__line { display: block; height: 2px; width: 40px; border-radius: 2px; background: var(--azt-fg); transition: width 0.5s var(--azt-ease), background-color 0.3s ease; }
.azt-card__icon { position: absolute; top: clamp(20px, 2vw, 30px); right: clamp(20px, 2vw, 30px); width: 64px; height: 64px; color: var(--azt-fg); opacity: 0.9; transition: transform 0.5s var(--azt-ease); }
.azt-card__icon .a { stroke: var(--azt-accent); }
.azt-card__icon .f { fill: var(--azt-bg); }
.azt-card__icon .a.f { fill: var(--azt-accent); }
@media (max-width: 760px) { .azt-card__icon { top: 18px; right: 18px; width: 48px; height: 48px; } }
/* Mobil: nur die ersten zwei Leistungen, Rest per Button */
.azt-more-btn { display: none; }
@media (max-width: 640px) {
	.azt-js .azt-cards--services:not(.is-open) .azt-card--more { display: none; }
	.azt-more-btn { display: inline-flex; width: 100%; margin-top: 12px; min-height: 52px; gap: 8px; }
	.azt-more-btn__icon { transition: transform 0.3s var(--azt-ease); }
	.azt-more-btn[aria-expanded="true"] .azt-more-btn__icon { transform: rotate(180deg); }
}
.azt-card__title { margin-top: auto; padding-top: 40px; font-size: clamp(22px, 1.9vw, 28px); font-weight: 500; letter-spacing: -0.03em; line-height: 1.15; }
.azt-card__text { margin-top: 10px; font-size: 16px; line-height: 1.55; max-width: 42ch; }

/* ---------- Arbeiten (Zeilen) ---------- */
.azt-works { display: flex; flex-direction: column; gap: 8px; }
.azt-work {
	display: grid; grid-template-columns: 168px minmax(0, 1fr) 32px;
	align-items: center; gap: 12px 24px;
	padding: 16px 24px 16px 16px; background: var(--azt-surface); border-radius: var(--azt-radius);
	text-decoration: none; color: var(--azt-fg);
	transition: background-color 0.25s ease;
}
.azt-work:hover { background: var(--azt-surface-2); color: var(--azt-fg); }
.azt-work__type, .azt-work__info { font-size: 15px; line-height: 1.5; }
.azt-work__info { text-align: right; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.azt-work__name {
	font-size: clamp(26px, 2.6vw, 37px); font-weight: 500; letter-spacing: -0.03em; line-height: 1.1;
	transition: transform 0.3s var(--azt-ease);
}
.azt-work:hover .azt-work__name { transform: translateX(8px); }
.azt-work__arrow { font-size: 26px; justify-self: end; }
.azt-work__thumb {
	position: relative; display: grid; place-items: center; overflow: hidden;
	aspect-ratio: 16 / 10; border-radius: calc(var(--azt-radius) - 4px);
	background: linear-gradient(135deg, #3a3a3a, #0a0a0a); color: #fff; font-size: 28px; font-weight: 500;
}
.azt-work__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--azt-ease); }
.azt-work:hover .azt-work__img { transform: scale(1.05); }
@media (max-width: 860px) {
	.azt-work { grid-template-columns: 96px minmax(0, 1fr) 24px; gap: 4px 16px; padding: 12px 16px 12px 12px; }
	.azt-work__thumb { grid-column: 1; grid-row: 1 / span 2; align-self: center; aspect-ratio: 1; }
	.azt-work__name { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-size: clamp(20px, 5.4vw, 26px); }
	.azt-work__info { grid-column: 2; grid-row: 2; align-self: start; text-align: left; white-space: normal; font-size: 14px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
	.azt-work__arrow { grid-column: 3; grid-row: 1 / span 2; align-self: center; font-size: 22px; }
	.azt-work:hover .azt-work__name { transform: none; }
}
@media (prefers-reduced-motion: reduce) { .azt-work__img { transition: none; } .azt-work:hover .azt-work__img { transform: none; } }
.azt-more { margin-top: clamp(28px, 3vw, 40px); font-size: 17px; }

/* ---------- Projekt-Raster (Übersicht) ---------- */
.azt-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(40px, 4vw, 64px) clamp(16px, 1.6vw, 24px);
}
@media (max-width: 760px) { .azt-grid { grid-template-columns: minmax(0, 1fr); } }

.azt-tile[hidden] { display: none; }
.azt-tile { display: flex; flex-direction: column; }
.azt-tile__media-link { display: block; color: var(--azt-fg); }

.azt-media { position: relative; overflow: hidden; background: var(--azt-surface); border-radius: var(--azt-radius); }
.azt-media__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.azt-media--empty { display: flex; align-items: center; justify-content: center; color: var(--azt-muted); }
.azt-media--wide { aspect-ratio: 16 / 9; }

.azt-tile__media { aspect-ratio: 4 / 3; }
.azt-tile__media .azt-media__img { transform: scale(1.001); transition: transform 1s var(--azt-ease); }
.azt-tile:hover .azt-media__img,
.azt-tile:focus-within .azt-media__img { transform: scale(1.03); }

.azt-tile__caption { display: flex; justify-content: space-between; gap: 16px; padding-top: 18px; }
.azt-tile__title { font-size: clamp(22px, 2vw, 28px); font-weight: 500; letter-spacing: -0.03em; line-height: 1.15; }
.azt-tile__title a { text-decoration: none; }
.azt-tile__meta { color: var(--azt-muted); margin-top: 4px; font-size: 15px; }
.azt-tile__no { color: var(--azt-muted); font-size: 15px; font-variant-numeric: tabular-nums; }
.azt-tile__desc {
	margin-top: 10px; max-width: 560px;
	font-size: 16px; line-height: 1.55; color: var(--azt-muted);
	display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.azt-tile__links { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 24px; margin-top: 8px; font-size: 16px; }
.azt-tile__links a { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; text-decoration: none; transition: opacity 0.18s ease, gap 0.3s var(--azt-ease); }
.azt-tile__links a:hover { opacity: 0.6; }
.azt-tile__links .azt-arrow { width: 16px; height: 16px; }
.azt-tile__more:hover { gap: 10px; }
.azt-tile__live { color: var(--azt-muted); }

/* ---------- Alte Zeilen/Schritte (Archive, Blog) ---------- */
.azt-rows { border-top: 1px solid var(--azt-line); }
.azt-row {
	display: grid; grid-template-columns: 64px minmax(0, 1fr) minmax(0, 1fr);
	gap: 12px 24px; align-items: baseline;
	padding: 28px 0; border-bottom: 1px solid var(--azt-line);
}
.azt-row--two { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.azt-row--post { grid-template-columns: 120px minmax(0, 1fr) minmax(0, 1fr); }
.azt-row__title { font-size: clamp(22px, 2vw, 30px); font-weight: 500; letter-spacing: -0.03em; line-height: 1.15; }
.azt-row__title a { text-decoration: none; }
.azt-row__text { font-size: 16px; }
@media (max-width: 760px) { .azt-row, .azt-row--two, .azt-row--post { grid-template-columns: minmax(0, 1fr); gap: 8px; } }

/* ---------- Security-Check-Teaser (Look wie Backend-Visualisierung) ---------- */
.azt-secx { align-items: center; }
.azt-secx__text { margin-top: 18px; max-width: 520px; font-size: 18px; line-height: 1.55; }
.azt-secx__form { margin-top: clamp(24px, 3vw, 36px); max-width: 560px; }
.azt-secx__label { display: block; font-size: 15px; margin-bottom: 10px; color: var(--azt-muted); }
.azt-secx__field {
	display: flex; gap: 6px; padding: 6px;
	background: var(--azt-bg); border: 1px solid var(--azt-line); border-radius: 999px;
	transition: border-color 0.2s ease;
}
.azt-secx__field:focus-within { border-color: var(--azt-fg); }
.azt-secx__field .azt-input { flex: 1; min-width: 0; min-height: 48px; border: 0; background: transparent; padding: 0 16px; }
.azt-secx__field .azt-input:focus-visible { outline-offset: 0; border-radius: 999px; }
.azt-secx__field .azt-btn { min-height: 48px; flex: none; }
.azt-secx__facts { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 16px; font-size: 14px; }
.azt-secx__facts li { display: inline-flex; align-items: center; gap: 8px; }
.azt-secx__facts li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--azt-accent); }
@media (max-width: 480px) {
	.azt-secx__field { flex-direction: column; border-radius: var(--azt-radius); }
	.azt-secx__field .azt-btn { width: 100%; }
}
.azt-secx__mock { margin-top: 0; }
.azt-secx__body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 14px; color: var(--azt-fg); }
.azt-secx__badge { padding: 5px 10px; border-radius: 999px; background: var(--azt-mock-soft, color-mix(in srgb, var(--azt-fg) 6%, var(--azt-bg))); color: var(--azt-muted); font-size: 11px; }
.azt-secx__score { display: flex; align-items: center; gap: 18px; padding: 14px 16px; border: 1px solid var(--azt-line); border-radius: 8px; }
.azt-secx__grade { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 10px; background: var(--azt-fg); color: var(--azt-bg); font-size: 30px; font-weight: 500; letter-spacing: -0.04em; flex: none; }
.azt-secx__meter-wrap { flex: 1; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.azt-secx__meter { height: 6px; border-radius: 6px; background: var(--azt-line); overflow: hidden; }
.azt-secx__meter span { display: block; height: 100%; border-radius: 6px; background: var(--azt-accent); }
.azt-secx__list { border: 1px solid var(--azt-line); border-radius: 8px; overflow: hidden; }
.azt-secx__list li { display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 9px 12px; font-size: 12px; }
.azt-secx__list li + li { border-top: 1px solid var(--azt-line); }
.azt-secx__icon { display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; border-radius: 50%; font-size: 10px; }
.is-pass .azt-secx__icon { background: var(--azt-fg); color: var(--azt-bg); }
.is-fail .azt-secx__icon { background: var(--azt-accent); color: #fff; }
.azt-secx__name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.azt-secx__val { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 10.5px; color: var(--azt-muted); white-space: nowrap; }
.is-fail .azt-secx__val { color: var(--azt-accent); }
.azt-secx__foot { display: flex; justify-content: space-between; align-items: center; }
@media (max-width: 480px) { .azt-secx__val { display: none; } .azt-secx__list li { grid-template-columns: 20px minmax(0, 1fr); } }

/* ---------- Box ---------- */
.azt-box {
	display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px clamp(32px, 5vw, 96px);
	align-items: end;
	background: var(--azt-surface); padding: clamp(28px, 5vw, 72px); border-radius: var(--azt-radius);
}
.azt-box__head .azt-muted { margin-top: 16px; max-width: 490px; }
.azt-box__label { display: block; font-size: 15px; margin-bottom: 10px; }
@media (max-width: 860px) { .azt-box { grid-template-columns: minmax(0, 1fr); } }

.azt-inline-form { display: flex; flex-wrap: wrap; gap: 8px; }
.azt-inline-form .azt-input { flex: 1 1 240px; width: auto; }

.azt-input {
	width: 100%; min-height: 52px; padding: 0 22px;
	border: 1px solid var(--azt-line); border-radius: 999px;
	background: var(--azt-field); color: var(--azt-fg);
	font-family: var(--azt-sans); font-size: 17px;
	transition: border-color 0.25s ease;
}
.azt-input::placeholder { color: #8a8a8a; }
.azt-input:focus { outline: none; border-color: var(--azt-fg); }
.azt-input:focus-visible { outline: 2px solid var(--azt-accent); outline-offset: 2px; }
.azt-input.is-invalid { border-color: var(--azt-accent); }
.azt-textarea { min-height: 160px; padding: 16px 22px; border-radius: 22px; resize: vertical; line-height: 1.5; }
.azt-inline-form .azt-btn, .azt-inline-form .azt-pill { min-height: 52px; padding: 0 26px; }

/* ---------- Footer: kompakte, abgerundete Fläche (immer invertiert) ---------- */
.azt-footer { margin-top: var(--azt-section); }
/* Endet die Seite mit einer grauen Fläche, schließt der Footer direkt an */
.azt-main:has(> .azt-band:last-child) + .azt-footer { margin-top: 0; }
.azt-footer__panel {
	--azt-ink-on: var(--azt-inv-bg);
	--azt-fg: var(--azt-inv-fg);
	--azt-muted: var(--azt-inv-muted);
	--azt-line: color-mix(in srgb, var(--azt-inv-fg) 16%, transparent);
	--azt-line-strong: color-mix(in srgb, var(--azt-inv-fg) 50%, transparent);
	background: var(--azt-inv-bg); color: var(--azt-fg);
	padding: clamp(40px, 5vw, 72px) 0 clamp(20px, 2vw, 28px);
	border-radius: 20px 20px 0 0;
	transition: background-color 0.4s ease, color 0.4s ease;
}
/* Black-Modus: Footer bleibt schwarz (tiefer als die Seite), mit feiner Kante oben */
[data-theme="dark"] .azt-footer__panel {
	--azt-inv-bg: #000000; --azt-inv-fg: #ffffff; --azt-inv-muted: #a8a8a8;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.azt-cta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px 32px; }
.azt-cta__title { font-size: clamp(32px, 4.4vw, 64px); font-weight: 500; letter-spacing: -0.04em; line-height: 1.02; }
.azt-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.azt-cta__actions .azt-btn { min-height: 52px; padding: 0 26px; }

.azt-footer__cols {
	display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
	gap: 28px clamp(24px, 3vw, 48px);
	margin-top: clamp(32px, 4vw, 48px); padding-top: clamp(28px, 3vw, 40px);
	border-top: 1px solid var(--azt-line);
}
@media (max-width: 860px) { .azt-footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } .azt-footer__col--brand { grid-column: 1 / -1; } }
.azt-footer__logo { display: inline-flex; color: var(--azt-fg); min-height: 44px; align-items: center; }
.azt-footer__logo:hover { opacity: 0.7; }
.azt-footer__claim { margin-top: 10px; max-width: 300px; font-size: 15px; line-height: 1.5; color: var(--azt-muted); }
.azt-footer__head { font-size: 14px; color: var(--azt-muted); margin-bottom: 6px; }
.azt-footer__col ul, .azt-footer__menu { display: flex; flex-direction: column; gap: 0; }
.azt-footer__col li, .azt-footer__menu a, .azt-footer__col li > a, .azt-footer__col li > span { font-size: 15px; line-height: 1.5; }
.azt-footer__menu a { min-height: 30px; display: inline-flex; align-items: center; }
.azt-footer__col li > a, .azt-footer__col li > span { display: inline-flex; align-items: center; min-height: 30px; gap: 4px; text-decoration: none; }
.azt-footer__bottom {
	display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 24px;
	margin-top: clamp(28px, 3vw, 40px); padding-top: 16px; border-top: 1px solid var(--azt-line);
	font-size: 13px; color: var(--azt-muted);
}
.azt-footer__links, .azt-footer__legal { display: flex; flex-wrap: wrap; gap: 0 20px; align-items: center; }
.azt-footer__links a, .azt-footer__legal a, .azt-footer .azt-cookie-link { color: var(--azt-muted); text-decoration: none; display: inline-flex; min-height: 32px; align-items: center; font-size: 13px; transition: color 0.2s ease; }
.azt-footer__links a:hover, .azt-footer__legal a:hover, .azt-footer .azt-cookie-link:hover { color: var(--azt-fg); }
.azt-footer__panel :focus-visible { outline-color: var(--azt-accent); }

/* ---------- Seitenkopf ---------- */
.azt-page-hero { padding-top: clamp(64px, 10vw, 160px); padding-bottom: clamp(24px, 3vw, 40px); }
.azt-page-hero__row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 24px; }
.azt-page-hero__title { font-size: clamp(44px, 6.4vw, 96px); font-weight: 500; letter-spacing: -0.045em; line-height: 1; }
.azt-page-hero__title--sm { font-size: clamp(36px, 4.6vw, 64px); }
.azt-page-hero__title em, .azt-lead em, .azt-hero__title em { font-style: normal; color: inherit; }
.azt-page-hero__count { font-size: clamp(44px, 6.4vw, 96px); font-weight: 500; letter-spacing: -0.045em; line-height: 1; font-variant-numeric: tabular-nums; }
.azt-page-hero__text { max-width: 640px; margin-top: clamp(20px, 3vw, 32px); font-size: clamp(18px, 1.4vw, 20px); }

/* ---------- Filter ---------- */
.azt-filter { padding-top: 12px; }
.azt-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.azt-chip {
	min-height: 44px; padding: 0 18px; border-radius: 999px;
	border: 0; background: var(--azt-surface); color: var(--azt-fg);
	font-family: var(--azt-sans); font-size: 15px;
	cursor: pointer; transition: background-color 0.2s ease, color 0.2s ease;
}
.azt-chip:hover { background: var(--azt-surface-2); }
.azt-chip[aria-pressed="true"] { background: var(--azt-fg); color: var(--azt-bg); }
.azt-chip { display: inline-flex; align-items: center; gap: 8px; }
.azt-chip__n { font-size: 12px; line-height: 1; padding: 4px 7px; border-radius: 999px; background: color-mix(in srgb, var(--azt-fg) 8%, transparent); color: var(--azt-muted); font-variant-numeric: tabular-nums; transition: background-color 0.2s ease, color 0.2s ease; }
.azt-chip[aria-pressed="true"] .azt-chip__n { background: var(--azt-accent); color: #fff; }

/* Filter mobil: eine wischbare Zeile, die beim Scrollen oben andockt */
@media (max-width: 760px) {
	.azt-filter {
		position: sticky; top: var(--azt-header-h); z-index: 30;
		margin-inline: 0; padding: 10px 0;
		background: color-mix(in srgb, var(--azt-bg) 88%, transparent);
		-webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
		border-bottom: 1px solid var(--azt-line);
		transition: top 0.3s var(--azt-ease);
	}
	body:has(.azt-header.is-hidden) .azt-filter { top: 0; }
	.azt-chips {
		flex-wrap: nowrap; gap: 6px; overflow-x: auto; overscroll-behavior-x: contain;
		padding-inline: var(--azt-gutter); scroll-padding-inline: var(--azt-gutter);
		scroll-snap-type: x proximity; scrollbar-width: none;
		-webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 32px), transparent);
		mask-image: linear-gradient(90deg, #000 calc(100% - 32px), transparent);
	}
	.azt-chips::-webkit-scrollbar { display: none; }
	.azt-chip { flex: none; min-height: 40px; padding: 0 8px 0 16px; font-size: 14px; scroll-snap-align: start; white-space: nowrap; }
	.azt-chips > .azt-chip:last-child { margin-right: 24px; }
}

/* ---------- Case Study ---------- */
.azt-case__head { padding-top: clamp(40px, 6vw, 88px); }
.azt-back { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; text-decoration: none; font-size: 16px; }
.azt-back:hover { opacity: 0.6; color: var(--azt-muted); }
.azt-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: clamp(24px, 3vw, 40px) 0 24px; }
.azt-tag {
	display: inline-flex; align-items: center; min-height: 34px; padding: 0 14px;
	border-radius: 999px; background: var(--azt-surface);
	font-size: 14px; color: var(--azt-fg); text-decoration: none;
}
a.azt-tag:hover { background: var(--azt-surface-2); }
.azt-case__title { font-family: var(--azt-sans); font-weight: 500; letter-spacing: -0.045em; font-size: clamp(40px, 5.6vw, 84px); line-height: 1; max-width: 18ch; }
.azt-case__lead { max-width: 760px; margin-top: clamp(20px, 2.4vw, 32px); font-size: clamp(17px, 1.35vw, 20px); line-height: 1.5; letter-spacing: -0.01em; }

.azt-meta {
	display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
	margin-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--azt-line);
}
.azt-meta > div { padding: 20px 16px 20px 0; }
.azt-meta dt { font-size: 15px; color: var(--azt-muted); }
.azt-meta dd { margin-top: 4px; font-size: 18px; }
.azt-meta dd a { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.azt-meta dd a:hover { opacity: 0.6; }

.azt-case__hero { margin-top: clamp(24px, 3vw, 40px); }
.azt-case__body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 24px clamp(32px, 4.5vw, 64px); }
.azt-case__body > .azt-label { font-size: clamp(32px, 3.2vw, 46px); font-weight: 500; letter-spacing: -0.035em; line-height: 1.05; color: var(--azt-fg); }
@media (max-width: 860px) { .azt-case__body { grid-template-columns: minmax(0, 1fr); } }
.azt-case__video { margin-top: 16px; }

.azt-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.azt-gallery > figure { margin: 0; }
.azt-gallery .azt-media { aspect-ratio: 4 / 3; }
.azt-gallery .azt-gallery__wide { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
@media (max-width: 760px) { .azt-gallery { grid-template-columns: minmax(0, 1fr); } }

.azt-next { padding-top: var(--azt-section); }
.azt-next > .azt-label { color: var(--azt-muted); margin-bottom: 16px; font-size: 16px; }
.azt-next__link {
	display: flex; justify-content: space-between; align-items: center; gap: 24px;
	padding: 28px 24px; background: var(--azt-surface); border-radius: var(--azt-radius);
	text-decoration: none; transition: background-color 0.25s ease;
}
.azt-next__link .azt-display { font-weight: 500; letter-spacing: -0.03em; font-size: clamp(26px, 2.6vw, 37px); font-style: normal; transition: transform 0.3s var(--azt-ease); }
.azt-next__link .azt-arrow { width: 28px; height: 28px; transition: transform 0.24s var(--azt-ease); }
.azt-next__link:hover { background: var(--azt-surface-2); color: var(--azt-fg); }
.azt-next__link:hover .azt-display { transform: translateX(8px); }
.azt-next__link:hover .azt-arrow { transform: translateX(6px); }

/* ---------- Fließtext / Seiten ---------- */
.azt-prose { font-size: 18px; line-height: 1.65; }
.azt-prose > * + * { margin-top: 1.1em; }
.azt-prose h2, .azt-prose h3, .azt-prose h4 { font-family: var(--azt-sans); font-weight: 500; letter-spacing: -0.03em; line-height: 1.15; margin-top: 1.8em; }
.azt-prose h2 { font-size: clamp(26px, 2.4vw, 34px); }
.azt-prose h3 { font-size: clamp(21px, 1.8vw, 26px); }
.azt-prose h4 { font-size: 20px; }
.azt-prose a { color: var(--azt-fg); text-decoration: underline; }
.azt-prose a:hover { opacity: 0.6; }
.azt-prose ul { list-style: disc; padding-left: 1.2em; }
.azt-prose ol { list-style: decimal; padding-left: 1.2em; }
.azt-prose li + li { margin-top: 0.4em; }
.azt-prose strong { font-weight: 600; }
.azt-prose img { height: auto; }
.azt-prose blockquote { border-left: 2px solid var(--azt-accent); padding-left: 20px; font-size: clamp(21px, 1.9vw, 27px); line-height: 1.36; }
.azt-prose table { width: 100%; border-collapse: collapse; font-size: 16px; }
.azt-prose th, .azt-prose td { border-bottom: 1px solid var(--azt-line); padding: 10px 8px; text-align: left; }
.azt-wrap--text.azt-prose { padding-top: clamp(24px, 3vw, 40px); }
.azt-prose img, .azt-prose video, .azt-prose iframe { border-radius: var(--azt-radius); }

/* WPBakery-Grundraster, falls Seiten noch Page-Builder-Inhalte enthalten */
.azt-prose--builder .vc_row, .azt-prose--builder .wpb_row { display: flex; flex-wrap: wrap; margin-inline: -12px; }
.azt-prose--builder .vc_column_container, .azt-prose--builder .wpb_column { padding-inline: 12px; width: 100%; }
@media (min-width: 768px) {
	.azt-prose--builder .vc_col-sm-2 { width: 16.666%; }
	.azt-prose--builder .vc_col-sm-3 { width: 25%; }
	.azt-prose--builder .vc_col-sm-4 { width: 33.333%; }
	.azt-prose--builder .vc_col-sm-6 { width: 50%; }
	.azt-prose--builder .vc_col-sm-8 { width: 66.666%; }
	.azt-prose--builder .vc_col-sm-9 { width: 75%; }
	.azt-prose--builder .vc_col-sm-12 { width: 100%; }
}
.azt-prose--builder .row-bg-wrap, .azt-prose--builder .row-bg { display: none; }

/* Gutenberg-Grundlagen */
.alignwide { max-width: 1200px; margin-inline: auto; }
.alignfull { width: 100vw; max-width: none; margin-left: calc(50% - 50vw); }
.wp-block-image figcaption, .wp-caption-text { font-size: 14px; color: var(--azt-muted); margin-top: 8px; }
.wp-block-button__link { border-radius: 999px; background: var(--azt-accent); color: #fff; }

/* ---------- Profil ---------- */
.azt-profil__title { max-width: 16ch; }
.azt-profil__portrait { aspect-ratio: 4 / 5; width: 100%; max-width: 260px; }
.azt-profil__lead { margin-bottom: 24px; }
.azt-profil__body { font-size: 18px; line-height: 1.6; }
.azt-team {
	display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: clamp(20px, 2.4vw, 32px); align-items: start;
	margin-top: 32px; padding: clamp(24px, 2.6vw, 36px);
	background: var(--azt-surface); border-radius: var(--azt-radius);
}
.azt-team__graph { width: 104px; height: 104px; color: var(--azt-fg); }
.azt-team__graph .n { fill: var(--azt-bg); }
.azt-team__graph .c { fill: var(--azt-accent); stroke: var(--azt-accent); }
.azt-team__graph .r { stroke: var(--azt-accent); opacity: 0.35; }
.azt-team__title { font-size: clamp(20px, 1.7vw, 26px); font-weight: 500; letter-spacing: -0.02em; line-height: 1.2; }
.azt-team__text { margin-top: 10px; font-size: 17px; line-height: 1.6; max-width: 56ch; }
.azt-team__tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.azt-team__tags li { padding: 7px 14px; border: 1px solid color-mix(in srgb, var(--azt-fg) 18%, transparent); border-radius: 999px; font-size: 14px; line-height: 1.2; }
@media (max-width: 560px) {
	.azt-team { grid-template-columns: minmax(0, 1fr); }
	.azt-team__graph { width: 72px; height: 72px; }
}
.azt-profil__text .azt-tags { margin: 28px 0 0; }

.azt-certs { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.azt-cert { background: #fff; border-radius: var(--azt-radius); display: flex; align-items: center; justify-content: center; padding: 24px; aspect-ratio: 4 / 3; border: 1px solid var(--azt-line); }
.azt-cert img { max-height: 100%; width: auto; object-fit: contain; }

/* ---------- Paginierung ---------- */
.azt-pagination .nav-links { display: flex; gap: 8px; justify-content: center; margin-top: 48px; }
.azt-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; background: var(--azt-surface); border-radius: 999px; text-decoration: none; }
.azt-pagination .current { background: var(--azt-fg); color: var(--azt-bg); }

/* ---------- Dialoge ---------- */
.azt-modal {
	width: min(1040px, calc(100vw - 24px)); max-width: none;
	max-height: calc(100dvh - 24px);
	padding: 0; border: 0; border-radius: var(--azt-radius);
	background: var(--azt-bg); color: var(--azt-fg);
	box-shadow: var(--azt-shadow);
	overflow: auto;
}
.azt-modal::backdrop { background: rgba(10, 10, 10, 0.55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.azt-modal[open] { animation: azt-in 0.35s var(--azt-ease); }
@keyframes azt-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

.azt-modal__shell { position: relative; display: grid; grid-template-columns: minmax(0, 2fr) minmax(220px, 1fr); min-height: 560px; }
.azt-modal__shell--single { grid-template-columns: minmax(0, 1fr); min-height: 0; }
.azt-modal__main { padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; gap: 16px; }
.azt-modal__aside { padding: clamp(28px, 4vw, 56px) clamp(24px, 3vw, 40px); background: var(--azt-surface); }
@media (max-width: 760px) {
	.azt-modal__shell { grid-template-columns: minmax(0, 1fr); min-height: 0; }
	.azt-modal__aside { display: none; }
}
.azt-modal__close {
	position: absolute; top: 16px; right: 16px; z-index: 2;
	width: 44px; height: 44px; border-radius: 50%;
	border: 1px solid var(--azt-line-strong); background: var(--azt-bg); color: var(--azt-fg); cursor: pointer;
	display: flex; align-items: center; justify-content: center;
	transition: background-color 0.2s ease, color 0.2s ease;
}
.azt-modal__close:hover { background: var(--azt-fg); color: var(--azt-bg); }
.azt-modal__title { font-size: clamp(28px, 3vw, 42px); line-height: 1.08; padding: 0; margin: 4px 0; }
.azt-modal fieldset { border: 0; padding: 0; margin: 0; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.azt-modal fieldset[hidden], .azt-step-panel[hidden] { display: none; }
.azt-modal legend { padding: 0; }

.azt-progress { height: 2px; background: var(--azt-line); }
.azt-progress span { display: block; height: 100%; width: 0; background: var(--azt-accent); transition: width 0.4s var(--azt-ease); }

.azt-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
@media (max-width: 560px) { .azt-choices { grid-template-columns: minmax(0, 1fr); } }
.azt-choice { position: relative; display: block; cursor: pointer; }
.azt-choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.azt-choice span {
	display: flex; align-items: center; min-height: 60px; padding: 0 20px;
	background: var(--azt-surface); border-radius: var(--azt-radius); font-size: 17px;
	transition: background-color 0.2s ease, color 0.2s ease;
}
.azt-choice:hover span { background: var(--azt-surface-2); }
.azt-choice input:checked + span { background: var(--azt-fg); color: var(--azt-bg); }
.azt-choice input:focus-visible + span { outline: 2px solid var(--azt-accent); outline-offset: 2px; }

.azt-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 8px; }
@media (max-width: 560px) { .azt-fields { grid-template-columns: minmax(0, 1fr); } }
.azt-field { display: flex; flex-direction: column; gap: 6px; }
.azt-field > span { font-size: 15px; color: var(--azt-muted); }
.azt-modal .azt-input { background: var(--azt-surface); border-color: transparent; }
.azt-modal .azt-input:focus { border-color: var(--azt-fg); }
.azt-consent { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--azt-muted); margin-top: 8px; cursor: pointer; }
.azt-consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--azt-accent); flex: none; }
.azt-consent a { color: var(--azt-fg); }
.azt-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.azt-form-msg { min-height: 1.4em; font-size: 15px; color: var(--azt-accent); }
.azt-form-msg:empty { display: none; }

.azt-modal__nav { display: flex; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 16px; }
.azt-modal__nav [data-azt-next], .azt-modal__nav [data-azt-submit] { margin-left: auto; }
.azt-modal__nav [hidden] { display: none; }

.azt-summary { margin-top: 20px; }
.azt-summary > div { padding: 14px 0; border-bottom: 1px solid var(--azt-line); }
.azt-summary dt { font-size: 15px; color: var(--azt-muted); }
.azt-summary dd { margin-top: 2px; font-size: 20px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.25; }

.azt-done { align-items: flex-start; display: flex; flex-direction: column; gap: 16px; }
.azt-done__mark { width: 64px; height: 64px; border-radius: 50%; background: var(--azt-accent); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 28px; }

.azt-sec-result { border-top: 1px solid var(--azt-line); padding-top: 24px; margin-top: 8px; display: flex; flex-direction: column; gap: 20px; align-items: stretch; }
.azt-sec-result[hidden] { display: none; }
.azt-sec-result > .azt-pill { align-self: flex-start; }
.azt-sec-result__head {
	display: flex; align-items: center; gap: 20px;
	padding: 16px 18px; border: 1px solid var(--azt-line); border-radius: var(--azt-radius);
}
.azt-sec-result__head > div:last-child { min-width: 0; }
.azt-sec-grade {
	display: inline-flex; align-items: center; justify-content: center; flex: none;
	min-width: 84px; height: 84px; padding: 0 12px; border-radius: var(--azt-radius);
	background: var(--azt-accent); color: #fff;
	font-size: 44px; font-weight: 500; letter-spacing: -0.04em; line-height: 1;
}
.azt-sec-grade.is-good { background: var(--azt-fg); color: var(--azt-bg); }
.azt-sec-result__head .azt-label { font-size: 14px; }
.azt-sec-score { font-size: 22px; margin-top: 2px; letter-spacing: -0.02em; }
.azt-sec-score strong { font-weight: 500; }
[data-azt-sec-host] { font-size: 15px; overflow-wrap: anywhere; }
.azt-sec-list { width: 100%; border: 1px solid var(--azt-line); border-radius: var(--azt-radius); overflow: hidden; }
.azt-sec-list li {
	display: grid; grid-template-columns: 22px minmax(0, 1fr); column-gap: 12px; row-gap: 3px;
	align-items: start; padding: 12px 16px; font-size: 16px; line-height: 1.35;
}
.azt-sec-list li + li { border-top: 1px solid var(--azt-line); }
.azt-sec-list li > span:nth-child(2) { font-weight: 500; overflow-wrap: anywhere; }
.azt-sec-icon {
	grid-row: 1 / span 2; margin-top: 1px;
	display: inline-flex; align-items: center; justify-content: center;
	width: 22px; height: 22px; border-radius: 50%; font-size: 12px; line-height: 1;
}
.azt-sec-list .is-pass .azt-sec-icon { background: var(--azt-fg); color: var(--azt-bg); }
.azt-sec-list .is-fail .azt-sec-icon { background: var(--azt-accent); color: #fff; }
.azt-sec-list small {
	grid-column: 2; text-align: left; color: var(--azt-muted);
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12.5px; line-height: 1.45;
	overflow-wrap: anywhere; word-break: break-word;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.azt-sec-list small:empty { display: none; }
.azt-sec-list .is-fail small { color: var(--azt-accent); }
@media (max-width: 560px) {
	.azt-security .azt-modal__main { padding: 24px 18px; }
	.azt-security .azt-inline-form { flex-direction: column; }
	.azt-security .azt-inline-form .azt-input, .azt-security .azt-inline-form .azt-pill { width: 100%; flex: none; }
	.azt-sec-result__head { gap: 14px; padding: 14px; }
	.azt-sec-grade { min-width: 64px; height: 64px; font-size: 34px; }
	.azt-sec-score { font-size: 19px; }
	.azt-sec-list li { padding: 11px 12px; font-size: 15px; }
	.azt-modal__title { padding-right: 48px; }
}
/* Browser-Autofill nicht gelb einfärben */
.azt-input:-webkit-autofill, .azt-input:-webkit-autofill:hover, .azt-input:-webkit-autofill:focus {
	-webkit-text-fill-color: var(--azt-fg);
	-webkit-box-shadow: 0 0 0 100px var(--azt-surface) inset;
	transition: background-color 9999s ease-out;
}

.azt-security .azt-inline-form { justify-content: flex-start; margin: 8px 0 0; max-width: none; }
.azt-loading { position: relative; color: transparent !important; }
.azt-loading::after {
	content: ""; position: absolute; inset: 0; margin: auto; width: 18px; height: 18px;
	border: 2px solid #fff; border-color: #fff transparent #fff transparent; border-radius: 50%;
	animation: azt-spin 0.8s linear infinite;
}
@keyframes azt-spin { to { transform: rotate(360deg); } }

/* ---------- Scroll-Einblendung (JS) ---------- */
.azt-js .azt-reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.8s var(--azt-ease), transform 0.8s var(--azt-ease); }
.azt-js .azt-reveal.is-in { opacity: 1; transform: none; }

/* ---------- Cookie-Banner ---------- */
.azt-cc {
	position: fixed; right: 24px; bottom: 24px; z-index: 90;
	width: min(440px, calc(100vw - 48px));
	background: var(--azt-bg); color: var(--azt-fg);
	border: 1px solid var(--azt-line); border-radius: var(--azt-radius);
	padding: 26px 26px 20px;
	box-shadow: var(--azt-shadow);
	opacity: 0; transform: translateY(16px);
	transition: opacity 0.4s var(--azt-ease), transform 0.4s var(--azt-ease);
}
.azt-cc.is-in { opacity: 1; transform: none; }
.azt-cc[hidden] { display: none; }
.azt-cc .azt-label { font-size: 14px; }
.azt-cc__title { font-size: clamp(24px, 2.2vw, 30px); margin: 6px 0 10px; }
.azt-cc__text { font-size: 15px; line-height: 1.55; color: var(--azt-muted); }
.azt-cc__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 20px; }
.azt-cc__btn { min-height: 46px; padding: 0 14px; font-size: 15px; }
/* Beide Optionen bewusst gleichwertig gestaltet (DSGVO/TTDSG) */
.azt-cc__links { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 14px; font-size: 14px; }
.azt-cc__links a, .azt-cc__more { color: var(--azt-muted); text-decoration: none; background: none; border: 0; padding: 0; cursor: pointer; font: inherit; min-height: 32px; display: inline-flex; align-items: center; }
.azt-cc__more { color: var(--azt-fg); text-decoration: underline; text-underline-offset: 3px; }
.azt-cc__links a:hover, .azt-cc__more:hover { color: var(--azt-fg); }
@media (max-width: 560px) {
	.azt-cc {
		left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); width: auto;
		border: 1px solid var(--azt-line-strong); border-radius: 16px;
		padding: 22px 20px 14px;
		box-shadow: 0 0 0 100vmax rgba(10, 10, 10, 0.45), 0 20px 50px rgba(0, 0, 0, 0.35);
	}
	[data-theme="dark"] .azt-cc { background: var(--azt-surface); box-shadow: 0 0 0 100vmax rgba(0, 0, 0, 0.6), 0 20px 50px rgba(0, 0, 0, 0.6); }
	.azt-cc::before { content: ""; display: block; width: 36px; height: 4px; border-radius: 4px; background: var(--azt-accent); margin-bottom: 14px; }
	.azt-cc__actions { grid-template-columns: 1fr; }
}

.azt-cc-modal { width: min(640px, calc(100vw - 24px)); }
.azt-cc-cats { margin-top: 12px; border-top: 1px solid var(--azt-line); }
.azt-cc-cat { padding: 18px 0; border-bottom: 1px solid var(--azt-line); }
.azt-cc-cat__name { font-size: 22px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.2; flex: 1; }
.azt-cc-cat__text { font-size: 15px; margin-top: 6px; max-width: 520px; }
.azt-cc-cat__always { margin-left: 4px; font-size: 14px; }
.azt-cc-cat__details { margin-top: 10px; font-size: 15px; color: var(--azt-muted); }
.azt-cc-cat__details summary { cursor: pointer; font-size: 15px; color: var(--azt-fg); min-height: 32px; display: inline-flex; align-items: center; text-decoration: underline; text-underline-offset: 3px; }
.azt-cc-cat__details ul { list-style: disc; padding-left: 18px; margin-top: 6px; }
.azt-cc-cat__details li + li { margin-top: 4px; }
.azt-cc__actions--dialog { display: flex; flex-wrap: wrap; margin-top: 24px; }
.azt-cc__actions--dialog .azt-pill { flex: 1 1 auto; min-height: 48px; padding: 0 18px; justify-content: center; }
@media (max-width: 560px) { .azt-cc__actions--dialog .azt-pill { flex-basis: 100%; } }

/* Schalter */
.azt-switch { position: relative; display: flex; align-items: center; gap: 14px; cursor: pointer; min-height: 44px; }
.azt-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.azt-switch__track { position: relative; width: 48px; height: 28px; border-radius: 999px; background: var(--azt-surface-2); border: 1px solid var(--azt-line-strong); transition: background-color 0.25s ease; flex: none; }
.azt-switch__thumb { position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3); transition: transform 0.25s var(--azt-ease); }
.azt-switch input:checked + .azt-switch__track { background: var(--azt-accent); border-color: var(--azt-accent); }
.azt-switch input:checked + .azt-switch__track .azt-switch__thumb { transform: translateX(20px); }
.azt-switch input:disabled + .azt-switch__track { opacity: 0.55; }
.azt-switch input:focus-visible + .azt-switch__track { outline: 2px solid var(--azt-accent); outline-offset: 3px; }

/* Footer-Link Cookie-Einstellungen */
.azt-cookie-link { background: none; border: 0; padding: 0; cursor: pointer; font: inherit; color: var(--azt-muted); min-height: 32px; display: inline-flex; align-items: center; transition: color 0.2s ease; }
.azt-cookie-link:hover { color: var(--azt-fg); }

/* ---------- Bewegung reduzieren ---------- */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: 0.01ms !important; animation-delay: 0s !important; transition-duration: 0.01ms !important; }
	.azt-mask > span, .azt-fade, .azt-rise { animation: none !important; }
	.azt-js .azt-reveal { opacity: 1; transform: none; }
}

/* Nach-oben-Button (mobil) */
.azt-totop { display: none; }
@media (max-width: 860px) {
	.azt-totop {
		display: grid; place-items: center; position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 45;
		width: 48px; height: 48px; border-radius: 50%;
		background: var(--azt-fg); color: var(--azt-bg);
		box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
		opacity: 0; visibility: hidden; transform: translateY(12px);
		transition: opacity 0.3s ease, transform 0.3s var(--azt-ease), visibility 0s linear 0.3s;
	}
	.azt-totop.is-visible { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
	.azt-totop:hover, .azt-totop:focus-visible { color: var(--azt-bg); }
	.azt-totop:focus-visible { outline: 2px solid var(--azt-accent); outline-offset: 3px; }
	.azt-totop.is-on-footer, .azt-totop.is-on-footer:hover, .azt-totop.is-on-footer:focus-visible { background: #fff; color: #0a0a0a; }
	.azt-menu-open .azt-totop { display: none; }
}
[data-theme="dark"] .azt-totop { box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6); }

/* Security-Teaser mobil: Beispiel-Ergebnis per Button */
@media (max-width: 640px) {
	.azt-js .azt-secx__mock:not(.is-open) { display: none; }
	.azt-secx__more { margin-top: 0; }
	.azt-secx__mock.is-open { order: 3; }
}

@media (max-width: 640px) { .azt-hide-mobile { display: none !important; } }
.azt-nowrap { white-space: nowrap; }

/* Leistungen-Seite */
.azt-leist-hero__lead { margin-top: clamp(20px, 2.4vw, 32px); max-width: 760px; }
.azt-leist-hero__content { margin-top: 20px; max-width: 760px; }
.azt-leist__list { display: flex; flex-direction: column; }
.azt-leist__item {
	display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 5vw, 96px); align-items: center;
	padding: clamp(40px, 5vw, 80px) 0; border-top: 1px solid var(--azt-line);
	scroll-margin-top: calc(var(--azt-header-h) + 16px);
}
.azt-leist__item:first-child { border-top: 0; padding-top: 0; }
.azt-leist__item:last-child { padding-bottom: 0; }
.azt-leist__title { font-size: clamp(28px, 2.8vw, 44px); font-weight: 500; letter-spacing: -0.04em; line-height: 1.08; }
.azt-leist__lead { margin-top: 16px; font-size: clamp(18px, 1.4vw, 21px); line-height: 1.45; }
.azt-leist__text { margin-top: 12px; font-size: 16px; line-height: 1.65; max-width: 60ch; }
.azt-leist__points { margin-top: 24px; }
.azt-leist__label { font-size: 14px; font-weight: 400; margin-bottom: 10px; }
.azt-leist__points ul { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; border-top: 1px solid var(--azt-line); }
.azt-leist__points li { position: relative; padding: 10px 0 10px 18px; border-bottom: 1px solid var(--azt-line); font-size: 15px; line-height: 1.4; }
.azt-leist__points li::before { content: ""; position: absolute; left: 1px; top: 17px; width: 6px; height: 6px; border-radius: 50%; background: var(--azt-accent); }
.azt-leist .azt-sm { margin: 0; }
@media (max-width: 960px) {
	.azt-leist__item { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
	.azt-leist__points ul { grid-template-columns: minmax(0, 1fr); }
}

/* Leistungs-Visualisierungen */
.azt-sm .azt-mock__window { font-size: 11.5px; }
.azt-sm__body { min-height: 0; grid-template-columns: 118px minmax(0, 1fr); }
.azt-sm__blocks { display: flex; flex-direction: column; gap: 5px; }
.azt-sm__blocks i { font-style: normal; display: flex; align-items: center; gap: 8px; padding: 7px 10px; border: 1px solid var(--m-line); border-radius: 6px; background: var(--m-bg); }
.azt-sm__blocks i::before { content: "⋮⋮"; letter-spacing: -2px; color: var(--azt-muted); font-size: 10px; }
.azt-sm__blocks i.is-add { border-style: dashed; color: var(--azt-muted); justify-content: center; }
.azt-sm__blocks i.is-add::before { content: none; }

.azt-sm__site { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 14px; color: var(--azt-fg); }
.azt-sm__nav { display: flex; align-items: center; gap: 12px; }
.azt-sm__logo { width: 22px; height: 10px; border-radius: 3px; background: var(--azt-fg); }
.azt-sm__links { display: flex; gap: 8px; margin-inline: auto; }
.azt-sm__links i { width: 30px; height: 5px; border-radius: 3px; background: var(--azt-line-strong); opacity: 0.6; }
.azt-sm__cta { width: 44px; height: 14px; border-radius: 999px; background: var(--azt-fg); }
.azt-sm__hero { display: flex; flex-direction: column; gap: 8px; padding: 18px 16px; border-radius: 8px; background: var(--m-soft); }
.azt-sm__h { font-size: 22px; font-weight: 500; letter-spacing: -0.04em; line-height: 1; }
.azt-sm__line { height: 5px; width: 70%; border-radius: 3px; background: var(--azt-line-strong); opacity: 0.5; }
.azt-sm__line.is-short { width: 45%; }
.azt-sm__btn { align-self: flex-start; margin-top: 4px; padding: 6px 12px; border-radius: 999px; background: var(--azt-accent); color: #fff; font-size: 10.5px; }
.azt-sm__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.azt-sm__grid i { aspect-ratio: 4 / 3; border-radius: 6px; background: linear-gradient(135deg, #3a3a3a, #0a0a0a); }
.azt-sm__grid i:nth-child(2) { background: linear-gradient(135deg, #e30613 0%, #7a0a12 60%, #1a1a1a 100%); }
.azt-sm__grid i:nth-child(3) { background: linear-gradient(135deg, #d9d9d9, #8a8a8a); }
.azt-sm__devices, .azt-mock__chips { display: flex; gap: 6px; flex-wrap: wrap; }
.azt-sm__devices span { padding: 4px 10px; border-radius: 999px; background: var(--m-soft); color: var(--azt-muted); }
.azt-sm__devices .is-on { background: var(--azt-fg); color: var(--azt-bg); }

.azt-sm__split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); color: var(--azt-fg); }
.azt-sm__stage { position: relative; display: grid; place-items: center; min-height: 250px; background: var(--m-soft); border-right: 1px solid var(--m-line); }
.azt-sm__obj { width: 46%; aspect-ratio: 1; border-radius: 22% 22% 30% 30%; background: radial-gradient(circle at 32% 28%, #ff5a63 0%, #e30613 38%, #7a0a12 100%); box-shadow: 0 24px 30px -18px rgba(0, 0, 0, 0.5); transform: rotate(-8deg); }
.azt-sm__rot { position: absolute; left: 12px; bottom: 12px; padding: 3px 8px; border-radius: 999px; background: var(--m-bg); color: var(--azt-muted); font-size: 10px; }
.azt-sm__opts { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; padding: 16px; }
.azt-sm__swatches { display: flex; gap: 7px; }
.azt-sm__swatches i { width: 18px; height: 18px; border-radius: 50%; background: #0a0a0a; }
.azt-sm__swatches i:nth-child(1) { background: #e30613; box-shadow: 0 0 0 2px var(--m-bg), 0 0 0 3.5px var(--azt-fg); }
.azt-sm__swatches i:nth-child(3) { background: #b8b8b8; }
.azt-sm__swatches i:nth-child(4) { background: #f3f3f3; border: 1px solid var(--m-line); }
.azt-sm__price { align-self: stretch; display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 10px; border-top: 1px solid var(--m-line); }
.azt-sm__price b { font-size: 15px; font-weight: 500; }
.azt-sm__stage--shop { background: linear-gradient(150deg, #c98a5a 0%, #8a5230 55%, #3b2416 100%); }
.azt-sm__badge { position: absolute; left: 12px; top: 12px; padding: 3px 9px; border-radius: 999px; background: #fff; color: #0a0a0a; font-size: 10px; }
.azt-sm__crumb { color: var(--azt-muted); font-size: 10px; }
.azt-sm__amount { font-size: 16px; font-weight: 500; }
.azt-sm__buy { align-self: stretch; text-align: center; margin-top: 6px; padding: 9px 12px; border-radius: 999px; background: var(--azt-fg); color: var(--azt-bg); font-weight: 500; }
.azt-sm__note { color: var(--azt-muted); font-size: 10.5px; }

.azt-sm__brand { padding: 16px; display: flex; flex-direction: column; gap: 12px; color: var(--azt-fg); }
.azt-sm__colors { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.azt-sm__colors i { aspect-ratio: 1 / 0.8; border-radius: 8px; background: var(--c); display: flex; align-items: flex-end; padding: 8px; color: #fff; font-style: normal; }
.azt-sm__colors i.is-light { color: #0a0a0a; border: 1px solid var(--m-line); }
.azt-sm__colors b { font-weight: 400; font-size: 10px; }
.azt-sm__type { display: flex; align-items: center; gap: 18px; padding: 12px 14px; border: 1px solid var(--m-line); border-radius: 8px; }
.azt-sm__aa { font-size: 46px; font-weight: 500; letter-spacing: -0.05em; line-height: 1; }
.azt-sm__specs { display: grid; grid-template-columns: auto auto; gap: 3px 14px; }
.azt-sm__specs b { font-weight: 500; }
.azt-sm__specs span { color: var(--azt-muted); }
.azt-sm__marks { display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 8px; }
.azt-sm__mark { display: grid; place-items: center; height: 58px; border-radius: 8px; background: var(--m-soft); color: var(--azt-fg); }
.azt-sm__mark.is-inv { background: var(--azt-fg); color: var(--azt-bg); }
.azt-sm__grid12 { border-radius: 8px; border: 1px solid var(--m-line); background: repeating-linear-gradient(90deg, color-mix(in srgb, var(--azt-accent) 18%, transparent) 0 8px, transparent 8px 12px); background-clip: content-box; padding: 8px; }

.azt-sm__chat { padding: 16px; display: flex; flex-direction: column; gap: 10px; color: var(--azt-fg); }
.azt-sm__msg { max-width: 82%; padding: 9px 12px; border-radius: 12px 12px 12px 4px; background: var(--m-soft); line-height: 1.45; }
.azt-sm__msg.is-user { align-self: flex-end; border-radius: 12px 12px 4px 12px; background: var(--azt-fg); color: var(--azt-bg); }
.azt-sm__spark { color: var(--azt-accent); margin-right: 6px; font-weight: 400; }
.azt-sm__sugg { display: flex; gap: 6px; flex-wrap: wrap; }
.azt-sm__sugg i { font-style: normal; padding: 5px 10px; border: 1px solid var(--m-line); border-radius: 999px; color: var(--azt-muted); }
.azt-sm__msg.is-typing { display: inline-flex; gap: 4px; width: auto; align-self: flex-start; }
.azt-sm__msg.is-typing i { width: 5px; height: 5px; border-radius: 50%; background: var(--azt-muted); animation: azt-typing 1.2s infinite ease-in-out; }
.azt-sm__msg.is-typing i:nth-child(2) { animation-delay: 0.15s; }
.azt-sm__msg.is-typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes azt-typing { 0%, 60%, 100% { opacity: 0.3; transform: none; } 30% { opacity: 1; transform: translateY(-2px); } }
.azt-sm__input { display: flex; justify-content: space-between; align-items: center; margin-top: 4px; padding: 6px 6px 6px 12px; border: 1px solid var(--azt-fg); border-radius: 999px; color: var(--azt-muted); }
.azt-sm__input b { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--azt-accent); color: #fff; font-weight: 400; }
@media (max-width: 560px) {
	.azt-sm__split { grid-template-columns: minmax(0, 1fr); }
	.azt-sm__stage { min-height: 150px; border-right: 0; border-bottom: 1px solid var(--m-line); }
	.azt-sm__body { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) { .azt-sm__msg.is-typing i { animation: none; } }
.azt-steps { list-style: none; padding: 0; }
.azt-steps.azt-cards--roles .azt-card { min-height: clamp(180px, 14vw, 220px); }
[data-theme="dark"] .azt-sm__colors i, [data-theme="dark"] .azt-sm__swatches i:not(:first-child) { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22); }

@keyframes azt-ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 960px) {
	.azt-nav__ticker { margin-top: 0; }
	.azt-nav__mobile-extra:has(+ .azt-nav__ticker) { padding-bottom: 20px; border-bottom: 1px solid var(--azt-line); }
}
@media (prefers-reduced-motion: reduce) {
	.azt-nav__ticker-track { animation: none; width: auto; }
	.azt-nav__ticker-list { flex-wrap: wrap; padding: 0 var(--azt-gutter); }
	.azt-nav__ticker-list[aria-hidden="true"] { display: none; }
	.azt-nav__ticker { -webkit-mask-image: none; mask-image: none; }
}

/* Zertifikate / Credly-Badges */
.azt-certs__more { margin-top: 16px; font-size: 16px; }
.azt-badges { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: clamp(8px, 1vw, 16px); margin: 0; padding: 0; list-style: none; }
.azt-badge { display: flex; gap: 18px; align-items: flex-start; padding: clamp(20px, 2vw, 28px); background: var(--azt-surface); border-radius: var(--azt-radius); }
.azt-badge__icon { flex: none; width: 64px; height: 64px; color: var(--azt-fg); }
.azt-badge__icon img { width: 64px; height: 64px; object-fit: contain; }
.azt-badge__icon .a { stroke: var(--azt-accent); }
.azt-badge__body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.azt-badge__name { font-size: 18px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.25; }
.azt-badge__meta { font-size: 14px; }
.azt-badge__link { margin-top: 6px; font-size: 14px; color: var(--azt-fg); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.azt-badge__link:hover { color: var(--azt-accent); }
.azt-certs--after { margin-top: clamp(8px, 1vw, 16px); }

/* Rollen im Bereich „Über mich“ */
.azt-roles { margin-top: clamp(28px, 3.4vw, 48px); max-width: 440px; }
.azt-roles__title { font-size: 14px; font-weight: 400; margin-bottom: 8px; }
.azt-roles__list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--azt-line); }
.azt-roles__item { position: relative; display: flex; flex-direction: column; gap: 3px; padding: 14px 0 14px 18px; border-bottom: 1px solid var(--azt-line); }
.azt-roles__item::before { content: ""; position: absolute; left: 1px; top: 22px; width: 6px; height: 6px; border-radius: 50%; background: var(--azt-accent); }
.azt-roles__name { font-size: 18px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.3; }
.azt-roles__sub { font-size: 14px; line-height: 1.4; }
@media (max-width: 960px) { .azt-roles { max-width: none; margin-bottom: 8px; } }

/* Zertifikate als Laufband (gleich große Kacheln) */
.azt-certx__marquee {
	margin-inline: calc(var(--azt-gutter) * -1); overflow: hidden;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.azt-certx__track { display: flex; width: max-content; animation: azt-ticker var(--azt-dur, 40s) linear infinite; }
.azt-certx__marquee:hover .azt-certx__track, .azt-certx__marquee:focus-within .azt-certx__track { animation-play-state: paused; }
.azt-certx__set { display: flex; gap: clamp(8px, 1vw, 16px); margin: 0; padding: 0 clamp(8px, 1vw, 16px) 0 0; list-style: none; }
.azt-certx__tile {
	flex: none; width: clamp(260px, 22vw, 320px); height: 220px;
	display: flex; flex-direction: column; justify-content: space-between; gap: 14px;
	padding: 24px; background: var(--azt-surface); border-radius: var(--azt-radius); overflow: hidden;
}
.azt-certx__tile--att, .azt-certx__tile--url { align-items: center; justify-content: center; }
/* Weißer Bildhintergrund verschmilzt im hellen Modus mit der grauen Kachel */
:root:not([data-theme="dark"]) .azt-certx__tile--att .azt-certx__img,
:root:not([data-theme="dark"]) .azt-certx__tile--url .azt-certx__img { mix-blend-mode: multiply; }
[data-theme="dark"] .azt-certx__img { border-radius: 6px; }
.azt-certx__img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.azt-certx__text { display: flex; flex-direction: column; gap: 4px; margin-top: auto; }
.azt-certx .azt-badge__name { font-size: 17px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.azt-certx .azt-badge__link { margin-top: 0; align-self: flex-start; }
@media (prefers-reduced-motion: reduce) {
	.azt-certx__marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; padding-inline: var(--azt-gutter); }
	.azt-certx__track { animation: none; }
	.azt-certx__set[aria-hidden="true"], .azt-certx__tile[aria-hidden="true"] { display: none; }
}

/* Mux-Vorschau: <picture> verhält sich wie das Bild selbst */
.azt-mux { display: contents; }

/* Projektvideo (Mux): läuft stumm in Schleife */
.azt-case__video { margin-top: clamp(8px, 1vw, 16px); }
.azt-player { position: relative; background: #0a0a0a; }
.azt-player__video { position: absolute; inset: 0; object-fit: cover; opacity: 0; transition: opacity 0.6s ease; pointer-events: none; }
.azt-player.is-playing .azt-player__video { opacity: 1; }
.azt-privacy-mux { margin-top: 2em; }
.azt-privacy-mux > * + * { margin-top: 1em; }
.azt-privacy-mux h2 { margin-bottom: 0.2em; }

/* Kunden mobil: erst 10, Rest per Button */
@media (max-width: 640px) {
	.azt-js .azt-clients__list:not(.is-open) .azt-client--more { display: none; }
	.azt-clients__list + .azt-more-btn { margin-top: 16px; }
}

