/*
Theme Name: AndersAndenken
Theme URI: https://www.andersandenken.de/
Author: AndersAndenken
Description: Block-Theme für den Relaunch (Phase 5, Prototyp). Design-Tokens in theme.json.
Version: 0.54.2
Requires at least: 6.6
Requires PHP: 8.1
License: GNU General Public License v2 or later
Text Domain: andersandenken
*/

/* Ergänzungen, die theme.json nicht abdeckt */

:where(body) {
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

/* Text nie unter 17 px (Zielgruppe überwiegend 45+) */
:where(p, li, dd, td, label, input, select, textarea) {
	font-size: max(1em, 17px);
}

:where(a, button, input, select, textarea, summary):focus-visible {
	outline: 2px solid var(--wp--preset--color--text);
	outline-offset: 3px;
}

/* Platzhalter für offene Angaben (siehe INPUT_OFFEN.md) */
.aa-offen {
	display: inline-block;
	padding: 0 6px;
	border: 1px dashed #8a6d00;
	background: #fff4c2;
	color: #3d3000;
	font-family: var(--wp--preset--font-family--sans);
	font-size: 0.9375rem;
	line-height: 1.6;
}

/* Kopfbereich (konzept/06_DESIGNREGELN.md §2): ruhig, ohne Zeilenumbrüche */
.aa-kopf {
	background: var(--wp--preset--color--hintergrund);
	border-bottom: 1px solid var(--wp--preset--color--linie);
}
.admin-bar .aa-kopf {
	top: var(--wp-admin--admin-bar--height, 0);
}
.aa-kopf .wp-block-site-title a {
	text-decoration: none;
	white-space: nowrap;
}
.aa-kopf .wp-block-navigation {
	gap: 28px;
}
.aa-kopf .wp-block-navigation a {
	text-decoration: none;
	white-space: nowrap;
}
.aa-kopf .wp-block-navigation a:hover {
	text-decoration: underline;
	text-underline-offset: 6px;
}
.aa-kopf .aa-telefon {
	color: var(--wp--preset--color--text-gedaempft);
	text-decoration: none;
	white-space: nowrap;
}
.aa-kopf .wp-block-button__link {
	white-space: nowrap;
	padding: 10px 20px;
}
@media (max-width: 1100px) {
	.aa-kopf .aa-telefon {
		display: none;
	}
}

/* Mobile Navigation als ruhige Vollbild-Ebene */
.wp-block-navigation__responsive-container.is-menu-open {
	padding: 24px 20px 112px;
	background: var(--wp--preset--color--hintergrund);
	color: var(--wp--preset--color--text);
	overflow-y: auto;
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content,
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container,
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item {
	align-items: flex-start !important;
	text-align: left;
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
	gap: 4px;
	width: 100%;
	font-family: var(--wp--preset--font-family--serif);
	font-size: 1.625rem;
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container > .wp-block-navigation-item {
	width: 100%;
	padding-bottom: 8px;
	border-bottom: 1px solid var(--wp--preset--color--linie);
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
	padding: 10px 0;
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container {
	font-family: var(--wp--preset--font-family--sans);
	font-size: 1.0625rem;
	padding-left: 12px !important;
}

/* Überzeile über Abschnittsüberschriften */
.aa-ueberzeile {
	margin-bottom: 8px;
	color: var(--wp--preset--color--text-gedaempft);
	font-family: var(--wp--preset--font-family--sans);
	font-size: 0.9375rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}
.aa-vertrauen {
	color: var(--wp--preset--color--text-gedaempft);
	font-size: 0.9375rem;
}

/* Nebenaktion: hell umrandet */
.wp-block-button.is-style-outline > .wp-block-button__link {
	border: 1px solid var(--wp--preset--color--text);
	background: transparent;
	color: var(--wp--preset--color--text);
}

/* Modellkarten: gerade Kanten, Produktname in DM Sans (V9 §16) */
.aa-karte {
	text-decoration: none;
}
.aa-karte .wp-block-post-featured-image {
	aspect-ratio: 4 / 5;
	background: var(--wp--preset--color--bildgrund);
	overflow: hidden;
}
.aa-karte .wp-block-post-featured-image img {
	height: 100%;
	object-fit: cover;
	transition: transform 400ms cubic-bezier(0.4, 0, 0.2, 1);
}
.aa-karte:hover .wp-block-post-featured-image img {
	transform: scale(1.02);
}
.aa-karte:not(:has(.wp-block-post-featured-image))::before {
	content: "";
	display: block;
	aspect-ratio: 4 / 5;
	background: var(--wp--preset--color--bildgrund);
}
.aa-karte .wp-block-post-title {
	margin-top: 16px;
	font-family: var(--wp--preset--font-family--sans);
	font-size: 1.125rem;
	font-weight: 500;
	line-height: 1.3;
}
.aa-karte .wp-block-post-title a {
	text-decoration: none;
}
.aa-karte .aa-preis {
	margin-top: 4px;
	color: var(--wp--preset--color--text-gedaempft);
}
.aa-preis {
	font-variant-numeric: tabular-nums;
}
.aa-badge {
	display: inline-block;
	padding: 2px 10px;
	background: var(--wp--preset--color--badge);
	color: #3e403c;
	font-size: 0.9375rem;
	border-radius: 2px;
}

/* Variantentabelle auf der Modellseite */
.aa-varianten {
	width: 100%;
	border-collapse: collapse;
}
.aa-varianten th,
.aa-varianten td {
	padding: 12px 8px;
	text-align: left;
	border-bottom: 1px solid var(--wp--preset--color--linie);
}
.aa-varianten th {
	font-weight: 500;
	color: var(--wp--preset--color--text-gedaempft);
}

/* Mobile Kontaktleiste: Anrufen / WhatsApp / Anfragen */
.aa-mobilleiste {
	display: none;
}
@media (max-width: 781px) {
	.aa-mobilleiste {
		position: fixed;
		inset: auto 0 0 0;
		z-index: 50;
		display: grid;
		gap: 8px;
		padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
		background: rgba(255, 255, 255, 0.96);
		border-top: 1px solid var(--wp--preset--color--linie);
		box-shadow: 0 -4px 16px rgba(41, 42, 40, 0.06);
	}
	.aa-mobilleiste a {
		display: flex;
		align-items: center;
		justify-content: center;
		min-height: 48px;
		border: 1px solid var(--wp--preset--color--linie);
		border-radius: 9999px;
		text-decoration: none;
		font-weight: 500;
	}
	.aa-mobilleiste a:last-child {
		border-color: var(--wp--preset--color--akzent);
	}
	body {
		padding-bottom: 80px;
	}
}

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

/* Hinweise auf Modellseiten */
.aa-aufpreise,
.aa-quellhinweis {
	color: var(--wp--preset--color--text-gedaempft);
	font-size: 0.9375rem;
}
.aa-quellhinweis {
	margin-top: var(--wp--preset--spacing--50);
	padding-top: 16px;
	border-top: 1px solid var(--wp--preset--color--linie);
}

/* Landingpages: Fakten-Box „Auf einen Blick“ */
.aa-blick {
	padding: var(--wp--preset--spacing--40);
	background: var(--wp--preset--color--flaeche);
}
.aa-blick dl {
	margin: 0;
}
.aa-blick dl > div {
	display: grid;
	grid-template-columns: minmax(110px, 40%) 1fr;
	gap: 12px;
	padding: 10px 0;
	border-top: 1px solid var(--wp--preset--color--linie);
}
.aa-blick dt {
	color: var(--wp--preset--color--text-gedaempft);
}
.aa-blick dd {
	margin: 0;
}

/* Entwurfs- und Quellenhinweise */
.aa-entwurf {
	display: inline-block;
	padding: 4px 12px;
	background: #fff4c2;
	color: #3d3000;
	font-size: 0.9375rem;
}
.aa-quellen {
	margin-top: var(--wp--preset--spacing--50);
	color: var(--wp--preset--color--text-gedaempft);
	font-size: 0.9375rem;
}
.aa-quellen summary {
	cursor: pointer;
	font-weight: 500;
	color: var(--wp--preset--color--text);
}

/* Ratgeber */
.aa-artikel-meta {
	gap: 16px;
	color: var(--wp--preset--color--text-gedaempft);
	font-size: 0.9375rem;
}
.aa-artikel-meta .aa-stand::before {
	content: "Stand: ";
}
.aa-vergleich table {
	border-collapse: collapse;
}
.aa-vergleich th,
.aa-vergleich td {
	padding: 12px 10px;
	border: 0;
	border-bottom: 1px solid var(--wp--preset--color--linie);
	text-align: left;
	vertical-align: top;
}
.aa-vergleich thead th {
	color: var(--wp--preset--color--text-gedaempft);
	font-weight: 500;
}
.aa-ratgeber-eintrag {
	padding: var(--wp--preset--spacing--30) 0;
	border-bottom: 1px solid var(--wp--preset--color--linie);
}
.aa-ratgeber-eintrag .wp-block-post-title a {
	text-decoration: none;
}

/* Logo im Kopf */
.aa-kopf .aa-logo img {
	width: 220px;
	height: auto;
}
@media (max-width: 781px) {
	.aa-kopf .aa-logo img {
		width: 170px;
	}
}

/* Produktbilder: Freisteller auf Bildhintergrund (V9 §16) */
.wp-block-post-featured-image img {
	background: var(--wp--preset--color--bildgrund);
}
.aa-galerie {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
	gap: 8px;
	margin: 8px 0 0;
	padding: 0;
	list-style: none;
}
.aa-galerie img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1;
	object-fit: cover;
	background: var(--wp--preset--color--bildgrund);
}

/* Spruchlisten im Ratgeber: ruhig, in Newsreader */
.aa-sprueche {
	padding-left: 0;
	list-style: none;
	font-family: var(--wp--preset--font-family--serif);
	font-size: 1.25rem;
}
.aa-sprueche li {
	padding: 10px 0;
	border-bottom: 1px solid var(--wp--preset--color--linie);
}

/* Barrierefreiheit: gedämpfter Text auf warmweißen Flächen etwas dunkler (Kontrast ≥ 4,5:1, Lighthouse 27.10.2026) */
.has-flaeche-background-color .aa-ueberzeile,
.has-flaeche-background-color .aa-lead,
.has-akzent-hell-background-color .aa-optional,
.has-akzent-hell-background-color .aa-lead,
.has-flaeche-background-color .aa-hinweis,
.aa-konf-zeichnung .aa-hinweis,
.aa-blick dt,
.aa-blick .aa-ueberzeile,
footer .has-text-gedaempft-color {
	color: #5f605c;
}

/* ---------- Design-Durchgang 27.10.2026 (Muster aus Gemini-Prototyp, Inhalte belegt) ---------- */

/* Einstieg */
.aa-display {
	font-size: clamp(2.5rem, 4.6vw, 4.25rem) !important;
	font-weight: 330;
	line-height: 1.06;
	letter-spacing: -0.02em;
}
.aa-lead {
	max-width: 34em;
	color: var(--wp--preset--color--text-gedaempft);
	font-size: 1.1875rem;
	line-height: 1.65;
}
.has-text-align-center.aa-lead {
	margin-inline: auto;
}

/* Vertrauensleiste */
.aa-leiste p {
	margin: 0;
	color: #5f605c;
	font-size: 0.9375rem;
	line-height: 1.5;
}
.aa-leiste strong {
	color: var(--wp--preset--color--text);
	font-weight: 500;
}

/* Etikett (klein, Versalien) – z. B. „Warme Patina“ */
.aa-etikett {
	margin: 0;
	color: #5f605c;
	font-size: 0.8125rem !important;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}
.aa-karten-kopf {
	align-items: baseline;
	margin-top: 20px;
}
.aa-karten-kopf h3,
.aa-werkgruppe h3 {
	margin: 0;
	font-size: 1.625rem;
}
.aa-karten-kopf h3 a,
.aa-werkgruppe h3 a,
.aa-ratgeber-links a {
	text-decoration: none;
}
.aa-materialwelten .wp-block-image img,
.aa-werkgruppe .wp-block-image img,
.aa-bild-freisteller img {
	width: 100%;
	background: var(--wp--preset--color--bildgrund);
	transition: transform 500ms cubic-bezier(0.4, 0, 0.2, 1);
}
.aa-materialwelten .wp-block-image,
.aa-werkgruppe .wp-block-image {
	overflow: hidden;
	margin-bottom: 0;
}
.aa-materialwelten .wp-block-image:hover img,
.aa-werkgruppe .wp-block-image:hover img {
	transform: scale(1.02);
}
.has-flaeche-background-color .aa-bild-freisteller img,
.has-flaeche-background-color .aa-werkgruppe img {
	background: var(--wp--preset--color--hintergrund);
}
.aa-werkgruppe h3 {
	margin-top: 16px;
	font-family: var(--wp--preset--font-family--sans);
	font-size: 1.125rem;
	font-weight: 500;
}

/* Ablauf als nummerierte Schritte */
.aa-schritte {
	counter-reset: schritt;
	margin: 0;
	padding: 0;
	list-style: none;
}
.aa-schritte li {
	counter-increment: schritt;
	position: relative;
	padding: 18px 0 18px 56px;
	border-top: 1px solid var(--wp--preset--color--linie);
}
.aa-schritte li::before {
	content: counter(schritt, decimal-leading-zero);
	position: absolute;
	left: 0;
	top: 14px;
	color: #5f605c;
	font-family: var(--wp--preset--font-family--serif);
	font-size: 1.375rem;
}

/* Ratgeber-Links */
.aa-ratgeber-links {
	margin: 0;
	padding: 0;
	list-style: none;
	font-family: var(--wp--preset--font-family--serif);
	font-size: 1.5rem;
}
.aa-ratgeber-links li {
	padding: 16px 0;
	border-bottom: 1px solid var(--wp--preset--color--linie);
}
.aa-ratgeber-links a::after {
	content: " →";
	color: #5f605c;
}

/* Modellkarten: Freisteller auf Bildgrund, nicht beschnitten */
.aa-karte .wp-block-post-featured-image img {
	object-fit: contain !important;
}

/* ===================== Gestaltung (nach Wix-Studio-Entwurf, seit 02.11.2026) ===================== */

/* Kopf B: Logo + Claim + Kontakt-Pillen links, Navigation rechts */

/* Akzent-Knöpfe */
.aa-anfrage .aa-absenden button,
.aa-mobilleiste a:last-child {
	background: var(--wp--preset--color--akzent) !important;
	color: #1d1d1b !important;
}
.aa-anfrage .aa-absenden button:hover {
	background: #f7a955 !important;
}

/* Einstieg: Foto mit Glas-Karte */

/* Vertrauensleiste */

.aa-b-service h3::before {
	content: "✓";
	display: inline-grid;
	place-items: center;
	width: 1.4em;
	height: 1.4em;
	margin-right: 8px;
	border-radius: 50%;
	background: var(--wp--preset--color--akzent);
	color: #1d1d1b;
	font-size: 0.8em;
	font-weight: 700;
}

/* Kategorie-Chips mit Bild */

/* Zitat */
.aa-b-zitat {
	margin: 0;
	padding: 0;
	border: 0;
	font-family: var(--wp--preset--font-family--serif);
	font-size: clamp(1.25rem, 2vw, 1.625rem);
	line-height: 1.5;
}
.aa-b-zitat cite {
	display: block;
	margin-top: 16px;
	font-family: var(--wp--preset--font-family--sans);
	font-size: 1rem;
	font-style: normal;
	font-weight: 600;
}

/* Galerie und Service */
.aa-b-galerie img {
	border-radius: 18px;
}
.aa-b-service h3 {
	display: flex;
	align-items: center;
}

/* Sortiment mit Filter */
.aa-filter {
	display: grid;
	gap: 8px;
	margin-top: var(--wp--preset--spacing--40);
}
.aa-filter-titel {
	margin: 8px 0 0;
	color: #5f605c;
	font-size: 0.8125rem !important;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}
.aa-chips-zeile {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.aa-chip {
	padding: 9px 16px;
	border: 1px solid var(--wp--preset--color--linie);
	border-radius: 9999px;
	background: #fff;
	color: var(--wp--preset--color--text);
	font: inherit;
	font-size: 0.9375rem;
	cursor: pointer;
}
.aa-chip[aria-pressed="true"] {
	background: var(--wp--preset--color--akzent);
	border-color: var(--wp--preset--color--akzent);
}
.aa-chip-zahl {
	color: #5f605c;
	font-size: 0.8125rem;
}
.aa-sort-status {
	margin: var(--wp--preset--spacing--40) 0 var(--wp--preset--spacing--30);
	color: #5f605c;
}
.aa-sort-raster {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 28px 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.aa-sort-karte a {
	display: grid;
	gap: 4px;
	color: var(--wp--preset--color--text);
	text-decoration: none;
}
.aa-sort-karte img,
.aa-sort-ohnebild {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 5;
	object-fit: contain;
	border-radius: 14px;
	background: var(--wp--preset--color--bildgrund);
	transition: transform 300ms;
}
.aa-sort-karte a:hover img {
	transform: translateY(-3px);
}
.aa-sort-titel {
	margin-top: 10px;
	font-weight: 500;
}
.aa-sort-karte .aa-preis {
	color: #5f605c;
	font-size: 0.9375rem;
}
@media (max-width: 600px) {
	.aa-sort-raster {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 20px 12px;
	}
	.aa-chip {
		padding: 7px 12px;
		font-size: 0.875rem;
	}
}

/* Bildplatzhalter (bis Fotos vorliegen) */
.aa-bild-platzhalter {
	aspect-ratio: 4 / 5;
	border-radius: 18px;
	background: var(--wp--preset--color--bildgrund);
}

/* Prüfkasten auf Entwürfen (Rechtstexte): fällt auf, solange die Prüfung aussteht */
.aa-entwurf {
	margin-bottom: var(--wp--preset--spacing--50);
	padding: var(--wp--preset--spacing--30) var(--wp--preset--spacing--40);
	border: 2px dashed #8a6d00;
	border-radius: 6px;
	background: #fff4c2;
	color: #3d3000;
	font-size: var(--wp--preset--font-size--klein);
}
.aa-entwurf ul { margin: 0; padding-left: 1.2em; }

/* Häufige Fragen: aufklappbare Antworten */
.wp-block-details {
	border-bottom: 1px solid var(--wp--preset--color--linie, #dcdad4);
	padding: var(--wp--preset--spacing--20) 0;
}
.wp-block-details summary {
	cursor: pointer;
	font-weight: 600;
	padding: 0.4em 0;
}
.wp-block-details[open] summary { margin-bottom: 0.4em; }
.wp-block-table:not(.aa-vergleich) td:last-child { white-space: nowrap; } /* Preise nicht umbrechen; Vergleichstabellen frei */

/* ---------- Über uns, Showroom (Phase 6) ---------- */
.aa-foto-gross img,
.aa-foto-rund img,
.aa-mt .wp-block-media-text__media img {
	border-radius: 22px;
	width: 100%;
	height: auto;
	object-fit: cover;
}
.aa-foto-gross img { aspect-ratio: 16 / 11; }
.aa-foto-rund img { aspect-ratio: 4 / 3; }
.aa-foto-gross figcaption,
.aa-showroom-bilder figcaption {
	margin-top: 10px;
	color: var(--wp--preset--color--text-gedaempft);
	font-size: 0.875rem;
	text-align: left;
}
.aa-showroom-bilder.wp-block-gallery figure.wp-block-image figcaption {
	position: static;
	padding: 10px 2px 0;
	background: none;
	color: var(--wp--preset--color--text-gedaempft);
	font-size: 0.875rem;
	text-align: left;
	text-shadow: none;
}
.aa-showroom-bilder { margin-top: 0; margin-bottom: var(--wp--preset--spacing--60); }

/* Faktenleiste: vier Kennzeichen unter der Einleitung */
.aa-fakten-leiste {
	padding: var(--wp--preset--spacing--50) clamp(20px, 5vw, 72px);
	border-top: 1px solid var(--wp--preset--color--linie);
	border-bottom: 1px solid var(--wp--preset--color--linie);
}
.aa-fakten-leiste .wp-block-columns { gap: var(--wp--preset--spacing--40); margin: 0; }
.aa-fakten-leiste .wp-block-column { border-left: 2px solid var(--wp--preset--color--akzent); padding-left: 18px; }
.aa-fakten-leiste p { margin: 0; color: var(--wp--preset--color--text-gedaempft); font-size: 0.9375rem; line-height: 1.45; }
.aa-fakten-leiste .aa-fakt-zahl {
	margin-bottom: 4px;
	color: var(--wp--preset--color--text);
	font-family: var(--wp--preset--font-family--serif);
	font-size: clamp(1.5rem, 2.4vw, 1.875rem);
	line-height: 1.15;
}

/* Bild-Text-Wechsel */
.aa-mt {
	margin-top: var(--wp--preset--spacing--80) !important;
	margin-bottom: 0 !important;
	gap: 0;
}
.aa-mt .wp-block-media-text__content { padding: 0 clamp(24px, 5vw, 72px); }
.aa-mt .wp-block-media-text__content > :first-child { margin-top: 0; }
.aa-mt h2 { margin-top: 4px; text-wrap: balance; }
.aa-mt .wp-block-media-text__media img { aspect-ratio: 4 / 3; }
@media (max-width: 600px) {
	.aa-mt { margin-top: var(--wp--preset--spacing--60) !important; }
	.aa-mt .wp-block-media-text__content { padding: var(--wp--preset--spacing--30) 0 0; }
}

/* Presse als ruhige Karten */
.aa-presse {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 16px;
	margin: var(--wp--preset--spacing--40) 0 0;
	padding: 0;
	list-style: none;
}
.aa-presse li {
	display: flex;
	padding: 22px 24px;
	border: 1px solid var(--wp--preset--color--linie);
	border-radius: 18px;
	background: var(--wp--preset--color--hintergrund);
	color: var(--wp--preset--color--text-gedaempft);
	font-size: 0.9375rem;
}
.aa-presse li > a { display: block; color: inherit; text-decoration: none; }
.aa-presse li > a:hover strong, .aa-presse li > a:focus-visible strong { text-decoration: underline; text-decoration-color: var(--wp--preset--color--akzent); text-underline-offset: 4px; }
.aa-presse strong {
	display: block;
	margin-bottom: 10px;
	color: var(--wp--preset--color--text);
	font-family: var(--wp--preset--font-family--serif);
	font-size: 1.1875rem;
	font-weight: 500;
	line-height: 1.3;
}

/* Einladung nach Weinstadt mit Kontaktkarte */
.aa-kontaktkarte {
	padding: var(--wp--preset--spacing--40);
	border-radius: 22px;
	background: var(--wp--preset--color--hintergrund);
	box-shadow: 0 10px 30px rgba(29, 29, 27, 0.06);
}
.aa-kontaktkarte p { margin: 0 0 10px; }
.aa-kontaktkarte .aa-kontaktblock a { text-decoration-color: var(--wp--preset--color--akzent); text-underline-offset: 3px; }
.aa-foto-gross { background: none; }
.aa-foto-gross figcaption { background: none; padding: 0; }
.aa-presse li { display: block; }
/* Fotos mit Bildunterschrift unter dem Bild: kein WordPress-Verlauf, kein Bildgrund */
.aa-showroom-bilder.wp-block-gallery figure.wp-block-image { background: none; flex-direction: column; }
.aa-showroom-bilder.wp-block-gallery figure.wp-block-image:has(figcaption)::before { display: none; }
.aa-showroom-bilder.wp-block-gallery figure.wp-block-image img { flex: 0 0 auto !important; width: 100%; height: auto !important; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 18px; } /* !important: WordPress-Regel mit :not(#…) ist spezifischer und drückt nachgeladene Bilder sonst auf Höhe 0 */

/* ---------- Übersicht Grabeinfassungen: alles nach Maß ---------- */
.aa-ef-schritte {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
	margin: var(--wp--preset--spacing--60) 0 0;
	padding: 0;
	list-style: none;
	counter-reset: ef;
}
.aa-ef-schritte li {
	counter-increment: ef;
	display: grid;
	grid-template-columns: auto 1fr;
	column-gap: 14px;
	align-items: start;
	padding: 18px 20px;
	border-radius: 18px;
	background: var(--wp--preset--color--flaeche);
	color: var(--wp--preset--color--text-gedaempft);
	font-size: 0.9375rem;
	line-height: 1.45;
}
.aa-ef-schritte li::before {
	content: counter(ef);
	grid-row: span 2;
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: var(--wp--preset--color--akzent);
	color: #1d1d1b;
	font-weight: 650;
}
.aa-ef-schritte strong { display: block; color: var(--wp--preset--color--text); font-size: 1.0625rem; }
@media (max-width: 760px) { .aa-ef-schritte { grid-template-columns: 1fr; } }

.aa-ef-karten { margin-top: var(--wp--preset--spacing--50); }
.aa-ef-karten .wp-block-post-template { gap: 24px; }
.aa-ef-karte { padding-bottom: 24px; }
.aa-ef-karte .wp-block-post-excerpt { margin: 6px 0 0; color: var(--wp--preset--color--text-gedaempft); }
.aa-ef-karte .wp-block-post-excerpt__excerpt { margin: 0; }
.aa-nach-mass { font-weight: 500; }
.aa-ef-karte .aa-nach-mass {
	display: inline-block;
	margin-top: 16px;
	padding: 12px 22px;
	border-radius: 999px;
	background: var(--wp--preset--color--akzent);
	color: #1d1d1b;
	font-size: 1rem;
}
.aa-ef-karte .aa-nach-mass { text-decoration: none; cursor: pointer; }
.aa-ef-karte .aa-nach-mass:hover, .aa-ef-karte .aa-nach-mass:focus-visible { background: #f7a955; }
.aa-ef-karte .wp-block-post-featured-image img { border-radius: 22px; }
.aa-ef-karte .wp-block-post-featured-image { background: none; }
.aa-ef-karte .wp-block-post-featured-image img { width: 100% !important; height: 100% !important; object-fit: cover !important; padding: 0 !important; }
@media (min-width: 900px) { .aa-ef-karten .wp-block-post-template { max-width: 1080px; margin-inline: auto; } }

/* ---------- Grundgestaltung (body.aa-site) ---------- */

.aa-site h1, .aa-site h2, .aa-site h3, .aa-site .wp-block-post-title {
	font-family: var(--wp--preset--font-family--serif);
	font-weight: 350;
	letter-spacing: -0.01em;
	line-height: 1.12;
}
.aa-site h1 { font-size: var(--wp--preset--font-size--display); letter-spacing: -0.02em; line-height: 1.06; }
.aa-site h2 { font-size: var(--wp--preset--font-size--xxxl); }
.aa-site h3 { font-size: var(--wp--preset--font-size--xl); line-height: 1.3; }
.aa-site .wp-element-button,
.aa-site .wp-block-button__link,
.aa-site .aa-anfrage .aa-absenden button,
.aa-site .aa-mobilleiste a:last-child {
	background: var(--wp--preset--color--text) !important;
	border-color: var(--wp--preset--color--text) !important;
	color: var(--wp--preset--color--hintergrund) !important;
}
.aa-site .is-style-outline .wp-block-button__link { background: transparent !important; color: var(--wp--preset--color--text) !important; }
.aa-site .aa-infoleiste {
	gap: 28px;
	padding: 8px 20px;
	background: var(--wp--preset--color--flaeche);
	border-bottom: 1px solid var(--wp--preset--color--linie);
	color: #5f605c;
	font-size: 0.8125rem;
	letter-spacing: 0.02em;
}
.aa-site .aa-infoleiste p, .aa-site .aa-infoleiste a { margin: 0; font-size: 0.8125rem !important; color: inherit; text-decoration: none; }
@media (max-width: 599px) { .aa-site .aa-infoleiste { display: none !important; } }
@media (max-width: 781px) { .aa-site .aa-infoleiste .aa-kontakt-leiste a[href^="mailto:"] { display: none; } }

/* ---------- Shop (WooCommerce): Inschrift, Hinweis an der Kasse ---------- */
.aa-inschrift-feld { display: grid; gap: 6px; margin: 0 0 16px; }
.aa-inschrift-feld label { font-weight: 600; }
.aa-inschrift-feld textarea { width: 100%; padding: 12px; border: 1px solid var(--wp--preset--color--linie); border-radius: 12px; font: inherit; }
.aa-inschrift-feld small, .aa-kasse-hinweis { color: var(--wp--preset--color--text-gedaempft); font-size: 0.875rem; }
.aa-kasse-hinweis { margin: 12px 0; }

/* ---------- Review 03.11.2026: Produktbilder einheitlich ----------
   Die Modellbilder aus der Modellübersicht haben weißen Hintergrund; auf grauem Bildgrund entstanden Streifen.
   Daher: weißer Grund mit feinem Rahmen und gleichen Ecken für Karten, Modellseite, Galerie und „Alle Modelle“. */
.aa-karte .wp-block-post-featured-image,
.wp-block-post-featured-image img,
.aa-galerie img,
.aa-sort-karte img {
	background: #fff;
}
.aa-karte .wp-block-post-featured-image,
.aa-sort-karte img,
.single-aa_modell .wp-block-post-featured-image {
	border: 1px solid var(--wp--preset--color--linie-zart, #ecebe7);
	border-radius: 14px;
	overflow: hidden;
}
.aa-galerie img { border: 1px solid var(--wp--preset--color--linie-zart, #ecebe7); border-radius: 10px; }
.aa-ef-karte .wp-block-post-featured-image { border: 0; }

/* Einleitung in schmalen Inhaltsspalten nicht einrücken (Constrained-Layout zentriert schmalere Absätze) */
.is-layout-constrained > .aa-lead:not(.has-text-align-center) { max-width: var(--wp--style--global--content-size, 720px); }
/* Shop-Produktseite: interne Kategorie-/Artikelangaben ausblenden */
.single-product .wp-block-woocommerce-product-meta, .single-product .product_meta { display: none; }

/* Mehrere Knöpfe nebeneinander (Konfigurator, Grabtafel): Hauptaktion gefüllt, Nebenaktion Umriss */
.aa-knoepfe { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.aa-knoepfe .wp-block-button__link { display: inline-block; }
.aa-knoepfe [hidden] { display: none; }
@media (max-width: 480px) {
	.aa-knoepfe .wp-block-button { width: 100%; }
	.aa-knoepfe .wp-block-button__link { display: block; text-align: center; }
}

/* Übersicht Grabeinfassungen: Fotos zuerst, Text als Glas-Karte auf dem Bild */
.aa-ef-kopf { margin-bottom: var(--wp--preset--spacing--40); }
.aa-ef-kopf h1 { margin-bottom: 8px; }
.aa-ef-kopf .aa-lead { margin: 0; max-width: 40em; }
.aa-ef-karten { margin-top: 0; }
.aa-ef-karten .wp-block-post-template { max-width: none; }
.aa-ef-karte { position: relative; padding-bottom: 0; }
.aa-ef-glas {
	position: absolute;
	left: 16px;
	right: 16px;
	bottom: 16px;
	padding: 20px 22px;
	border: 1px solid rgba(255, 255, 255, 0.55);
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.78);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
}
.aa-ef-glas .wp-block-post-title { margin: 0; }
.aa-ef-glas .wp-block-post-title a { text-decoration: none; }
.aa-ef-glas .wp-block-post-excerpt { margin: 4px 0 0; color: #3a3b38; font-size: 0.9375rem; }
.aa-ef-glas .aa-preis { margin: 12px 0 0; }
.aa-ef-glas .aa-nach-mass { margin-top: 0; padding: 10px 20px; }
.aa-ef-karten + .aa-ef-schritte { margin-top: var(--wp--preset--spacing--50); }
@media (min-width: 900px) {
	/* beide Karten möglichst im ersten Blick: Bildhöhe am Fenster ausrichten */
	.aa-ef-karte .wp-block-post-featured-image { aspect-ratio: auto !important; height: min(52vh, 560px); }
	.aa-ef-karte .wp-block-post-featured-image img { object-position: 50% 8%; } /* Rahmenecken oben im Bild halten */
}

/* Schritte über den Bildern: flach, damit die Fotos im ersten Blick bleiben */
.aa-ef-kopf + .aa-ef-schritte { margin: 0 0 var(--wp--preset--spacing--30); gap: 12px; }
.aa-ef-kopf + .aa-ef-schritte li { padding: 12px 16px; column-gap: 12px; align-items: center; line-height: 1.35; font-size: 0.875rem; }
.aa-ef-kopf + .aa-ef-schritte li::before { width: 30px; height: 30px; }
.aa-ef-kopf + .aa-ef-schritte strong { font-size: 1rem; }

/* Modellseite: Versprechen und Zusage rund um den Entwurfs-Knopf */
.aa-entwurf-versprechen { margin: 0 0 4px; font-size: 1.0625rem; line-height: 1.5; }
.aa-entwurf-zusage { margin: 10px 0 0; color: var(--wp--preset--color--text-gedaempft); font-size: 0.875rem; }
.aa-entwurf-versprechen { margin-top: 20px; }
/* Bestätigung: Einleitung des Formulars ausblenden */
.wp-block-post-content:has(.aa-anfrage-danke:not(.aa-kontakt-danke)) > p { display: none; }

/* Übersicht Grabanlagen: vier Wege als Bildkacheln */
.aa-hub { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.aa-hub p { margin: 0; }
.aa-hub a { display: flex; flex-direction: column; height: 100%; color: var(--wp--preset--color--text); text-decoration: none; }
.aa-hub img { width: 100%; aspect-ratio: 1; object-fit: contain; border: 1px solid var(--wp--preset--color--linie-zart, #ecebe7); border-radius: 18px; background: #fff; transition: transform 300ms; }
.aa-hub a:hover img { transform: translateY(-3px); }
.aa-hub strong { margin-top: 14px; font-size: 1.25rem; font-weight: 650; }
.aa-hub a:hover strong { text-decoration: underline; text-decoration-color: var(--wp--preset--color--akzent); text-underline-offset: 4px; }
.aa-hub span { margin-top: 4px; color: var(--wp--preset--color--text-gedaempft); font-size: 0.9375rem; line-height: 1.45; }
@media (max-width: 960px) { .aa-hub { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .aa-hub { gap: 14px; } .aa-hub strong { font-size: 1.0625rem; } }

/* Kacheln auf der Startseite (8 Wege), Material-Zeile, Kategorie-Leiste auf Übersichten */
.aa-hub-material { margin-top: var(--wp--preset--spacing--40); color: var(--wp--preset--color--text-gedaempft); }
.aa-hub-material a { color: var(--wp--preset--color--text); text-decoration-color: var(--wp--preset--color--akzent); text-underline-offset: 3px; }
.has-text-align-center + .aa-hub { margin-top: var(--wp--preset--spacing--50); }
.aa-hub { text-align: left; }
.aa-katleiste { display: flex; flex-wrap: wrap; gap: 8px; margin-top: var(--wp--preset--spacing--50); margin-bottom: var(--wp--preset--spacing--40); }
.aa-katleiste a { padding: 8px 16px; border: 1px solid var(--wp--preset--color--linie); border-radius: 999px; color: var(--wp--preset--color--text); font-size: 0.9375rem; text-decoration: none; white-space: nowrap; }
.aa-katleiste a:hover { background: var(--wp--preset--color--akzent-hell); }
.aa-katleiste a[aria-current] { border-color: var(--wp--preset--color--akzent); background: var(--wp--preset--color--akzent); color: #1d1d1b; font-weight: 500; }
@media (max-width: 781px) {
	.aa-katleiste { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 4px; }
}
/* Einstieg B: beide Knöpfe nebeneinander; Kopf A: Telefon steht in der Infoleiste, Menü bleibt einzeilig */

/* Startseite: Kategorien als kompakte Karten (kleines Bild, Name, ein Satz) – 4 × 2, ruhig im Layout */
.aa-hub { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.aa-hub a {
	display: grid;
	grid-template-columns: 64px minmax(0, 1fr);
	grid-template-rows: auto 1fr;
	column-gap: 12px;
	align-items: start;
	height: 100%;
	padding: 10px 12px 10px 10px;
	border: 1px solid var(--wp--preset--color--linie);
	border-radius: 14px;
	background: var(--wp--preset--color--hintergrund);
	transition: border-color 200ms, background 200ms;
}
.aa-hub a:hover { border-color: var(--wp--preset--color--akzent); background: var(--wp--preset--color--akzent-hell); }
.aa-hub img { grid-row: 1 / span 2; width: 64px; height: 64px; aspect-ratio: auto; object-fit: cover; border: 0; border-radius: 10px; }
.aa-hub a:hover img { transform: none; }
.aa-hub strong { margin-top: 2px; font-size: 1rem; font-weight: 600; line-height: 1.25; }
.aa-hub a:hover strong { text-decoration: none; }
.aa-hub span { margin-top: 2px; font-size: 0.8125rem; line-height: 1.35; }
@media (max-width: 1100px) { .aa-hub { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .aa-hub { grid-template-columns: minmax(0, 1fr); } }

/* Übersichten: Modelle sofort sichtbar */
.aa-uebersicht .aa-karte .wp-block-post-title { font-size: 1.0625rem !important; margin-top: 12px; }
.aa-uebersicht .aa-preis { margin-top: 2px; font-size: 0.9375rem; }
.aa-katleiste { margin-top: var(--wp--preset--spacing--30); }
.aa-hub p { display: flex; }
.aa-hub a { width: 100%; height: auto; box-sizing: border-box; }
@media (max-width: 600px) {
	.aa-uebersicht .wp-block-post-template { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 14px; }
	.aa-uebersicht .aa-karte .wp-block-post-title { font-size: 0.9375rem !important; }
}

/* ===================== Kopfbereich: feste Stufen je Fensterbreite (A und B) =====================
   Das Logo schrumpft nie. Passt das Menü nicht mehr, kommt das Burger-Menü (statt Umbruch oder Überlauf).
   Stufen: breit = alles in einer Zeile; darunter Menü in eigener Zeile; bis 860 px Burger-Menü mit Beschriftung. */
.aa-kopf .aa-logo, .aa-kopf .wp-block-site-logo { flex: 0 0 auto; min-width: 0; }
.aa-kopf .aa-logo img, .aa-kopf .custom-logo { width: 220px !important; max-width: none; height: auto; }

.aa-kopf .wp-block-navigation { flex: 0 1 auto; min-width: 0; }
@media (max-width: 599px) { .aa-kopf .aa-logo img, .aa-kopf .custom-logo { width: 170px !important; } }

/* Burger-Menü geöffnet: auch oberhalb von 600 px vollständig bedienbar */
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close { display: flex !important; }
.wp-block-navigation__responsive-container.is-menu-open { display: flex !important; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-submenu__toggle { display: none; }

@media (max-width: 900px) {
	.aa-kopf .wp-block-navigation__responsive-container-open { display: inline-flex !important; }
	.aa-kopf .wp-block-navigation__responsive-container:not(.is-menu-open) { display: none !important; }
}
/* Burger deutlich erkennbar: umrandet und beschriftet */
.aa-kopf .wp-block-navigation__responsive-container-open {
	align-items: center;
	gap: 8px;
	padding: 9px 14px;
	border: 1px solid var(--wp--preset--color--text);
	border-radius: 999px;
	color: var(--wp--preset--color--text);
}
.aa-kopf .wp-block-navigation__responsive-container-open::after { content: "Menü"; font-size: 0.9375rem; font-weight: 500; }
.aa-kopf .wp-block-navigation__responsive-container-open svg { width: 20px; height: 20px; }

/* Logo und Menü in einer Zeile; wird es eng, rückt das Menü zusammen, dann in eine eigene Zeile */
@media (min-width: 1020px) and (max-width: 1179px) {
	.aa-site .aa-kopf .wp-block-navigation__container { gap: 16px; }
	.aa-site .aa-kopf .wp-block-navigation-item__content { font-size: 0.9375rem; }
}
@media (min-width: 901px) and (max-width: 1019px) {
	.aa-site .aa-kopf > .wp-block-group { flex-wrap: wrap; row-gap: 8px; }
	.aa-site .aa-kopf .wp-block-navigation { flex: 1 1 100%; }
	.aa-site .aa-kopf .wp-block-navigation__container { justify-content: flex-start; }
}

/* Kontakt immer sichtbar in der Infoleiste */
.aa-kontakt-leiste { display: flex; align-items: center; gap: 20px; margin-left: auto !important; }
/* Obere Zeile bündig mit Logo und Menü: gleiche Ränder wie der Kopf */
.aa-site .aa-infoleiste { justify-content: flex-start !important; align-items: center; flex-wrap: nowrap; padding: 7px max(5%, calc((100% - 1440px) / 2)); }

.aa-site .aa-infoleiste .aa-kontakt-leiste a { color: var(--wp--preset--color--text); font-weight: 500; text-decoration: underline; text-decoration-color: #b9b9b2; text-underline-offset: 3px; }
.aa-site .aa-infoleiste .aa-kontakt-leiste a:hover { text-decoration-color: var(--wp--preset--color--text); }
/* Obere Zeile bleibt einzeilig: Hinweise treten zurück, Kontakt und Knopf bleiben */
.aa-site .aa-infoleiste p { white-space: nowrap; }
.aa-site .aa-infoleiste .aa-kontakt-leiste { flex: 0 0 auto; }
@media (max-width: 1240px) { .aa-site .aa-infoleiste > p:not(.aa-kontakt-leiste):not(:first-child) { display: none; } }
@media (max-width: 900px) { .aa-site .aa-infoleiste > p:not(.aa-kontakt-leiste) { display: none; } }

/* ===================== Startseite ===================== */
.aa-a-einstieg { padding: var(--wp--preset--spacing--70) max(5vw, calc((100vw - 1440px) / 2)); } /* vw: bündig mit Logo und oberer Zeile */
.aa-a-einstieg .wp-block-cover__background { background: linear-gradient(90deg, rgba(24, 23, 20, 0.74) 0%, rgba(24, 23, 20, 0.52) 42%, rgba(24, 23, 20, 0.06) 78%) !important; opacity: 1 !important; }
.aa-a-einstieg .wp-block-cover__inner-container { width: 100%; max-width: none; }
.aa-a-einstieg-text { max-width: min(640px, 46vw); color: #fff; }
.aa-a-einstieg-text h1, .aa-a-einstieg-text p { color: #fff; }
.aa-a-einstieg-text .aa-lead { margin-top: 18px; }
.aa-a-einstieg-text .wp-block-buttons { margin-top: 28px; gap: 12px 20px; align-items: center; }
.aa-site .aa-knopf-hell .wp-block-button__link { background: #fff !important; border-color: #fff !important; color: var(--wp--preset--color--text) !important; }
.aa-site .aa-knopf-hell .wp-block-button__link:hover { background: var(--wp--preset--color--flaeche) !important; }
.aa-site .aa-knopf-text .wp-block-button__link { padding-inline: 4px; background: transparent !important; border-color: transparent !important; color: #fff !important; text-decoration: underline; text-underline-offset: 4px; }
/* Stele nach rechts rücken, damit die Überschrift sie nicht überdeckt */
@media (min-width: 782px) { .aa-a-einstieg .wp-block-cover__image-background { transform: scale(1.25); transform-origin: 0% 62%; } }
/* Handy: Foto oben frei, Text darunter auf dunklem Grund */
@media (max-width: 781px) {
	.aa-a-einstieg { min-height: 0 !important; align-items: flex-end; padding: 300px 20px 36px; background: #23211d; }
	.aa-a-einstieg .wp-block-cover__image-background { inset: 0 0 auto 0; height: 340px; }
	.aa-a-einstieg .wp-block-cover__background { background: linear-gradient(180deg, rgba(35, 33, 29, 0) 190px, #23211d 340px) !important; }
	.aa-a-einstieg-text { max-width: none; }
}
/* Sektionen schließen ohne weiße Fugen aneinander an */
.aa-site.home main { margin-top: 0 !important; }
.aa-site.home .wp-block-post-content > * { margin-block: 0; }
/* Einleitung bündig zur Spalte. In breiten Sektionen die Spaltenbreite über .aa-spalte-breit angeben, sonst rutscht der Text auf großen Monitoren an den Rand. */
.aa-spalte-breit { --aa-spalte: 1440px; }
.aa-site .is-layout-constrained > .aa-lead:not(.has-text-align-center) { margin-left: max(0px, calc((100% - var(--aa-spalte, 100%)) / 2)) !important; }
.aa-site .aa-hub-material a { text-decoration-color: #b9b9b2; }
.aa-site .aa-b-zitat { margin-top: var(--wp--preset--spacing--30); }

/* Kategorien: kompakt */
.aa-site .aa-hub a { grid-template-columns: 96px minmax(0, 1fr); }
.aa-site .aa-hub img { width: 96px; height: 96px; }
@media (max-width: 1280px) { .aa-site .aa-hub { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
	.aa-site .aa-hub { grid-template-columns: minmax(0, 1fr); }
	.aa-site .aa-hub a { grid-template-columns: 76px minmax(0, 1fr); }
	.aa-site .aa-hub img { width: 76px; height: 76px; }
}

/* Konfigurator-Teaser: Draufsicht statt eines zweiten Fotos */
.aa-massbild { display: block; max-width: min(640px, 100%); margin-inline: auto; color: var(--wp--preset--color--text); }
.aa-massbild svg { display: block; width: 100%; height: auto; }
.aa-massbild text { fill: var(--wp--preset--color--text-gedaempft); font-size: 15px; }
.aa-massbild-wange { fill: #8f5a3c; }
.aa-massbild-flaeche { fill: var(--wp--preset--color--flaeche); }
.aa-massbild-griff { fill: var(--wp--preset--color--hintergrund); stroke: var(--wp--preset--color--text); stroke-width: 2; }
.aa-massbild-linie { fill: none; stroke: #9a9a93; stroke-width: 1; }

/* Abschluss-Link einer Sektion */
.aa-weiter { margin-top: var(--wp--preset--spacing--40); }
.aa-weiter a { color: var(--wp--preset--color--text); font-weight: 500; text-underline-offset: 4px; }

/* Ablauf in vier Schritten */
.aa-ablauf { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; margin-top: var(--wp--preset--spacing--50); }
.aa-ablauf li { padding: 16px 0 0; }
.aa-ablauf li::before { position: static; display: block; margin-bottom: 8px; }
.aa-ablauf li strong { display: block; margin-bottom: 4px; font-size: 1.125rem; font-weight: 600; }
@media (max-width: 960px) { .aa-ablauf { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .aa-ablauf { grid-template-columns: minmax(0, 1fr); gap: 20px; } }

.aa-bewertung { margin-top: var(--wp--preset--spacing--40); }
.aa-bewertung::before { content: "★ "; color: #b7791f; }
.aa-bewertung a { color: inherit; }
.aa-stimmen { display: grid; gap: var(--wp--preset--spacing--30); margin-top: var(--wp--preset--spacing--30); }
.aa-stimme { margin: 0; padding: 0 0 0 16px; border: 0; border-left: 2px solid #b7791f; font-size: 1rem; line-height: 1.55; }
.aa-stimme p { margin: 0; }
.aa-stimme cite { display: block; margin-top: 6px; font-size: 0.875rem; font-style: normal; font-weight: 600; }
.aa-stimmen-hinweis { margin-top: var(--wp--preset--spacing--30); font-size: 0.8125rem; color: #5f5f5f; }

/* Startseite, kleine Fenster: Vorteile und Modelle zweispaltig statt endlos untereinander */
@media (max-width: 781px) {
	.aa-site .aa-leiste .wp-block-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
	.aa-site .aa-leiste .wp-block-column { margin: 0; }
	.aa-site.home .wp-block-post-template { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 14px; }
	.aa-site.home .aa-karte .wp-block-post-title { font-size: 1rem !important; }
}

/* Breite Monitore: Höhe wächst mit, sonst schneidet das 16:9-Bild das Grabmal oben ab */
@media (min-width: 1600px) {
	.aa-a-einstieg { min-height: max(640px, min(32vw, 80vh)) !important; }
	.aa-a-einstieg .wp-block-cover__image-background { transform: scale(1.12); }
}
a[href^="tel:"] { white-space: nowrap; }

.aa-anfrage { scroll-margin-top: 24px; }

/* Fokus auf dunklem Grund sichtbar */
.aa-a-einstieg a:focus-visible { outline-color: #fff; }

/* Aufklappmenüs im Kopf: Name mit Kurzbeschreibung. Texte stehen in parts/header*.html */
@media (min-width: 901px) {
	header .wp-block-navigation .has-child > .wp-block-navigation__submenu-container {
		min-width: 290px !important;
		padding: 8px;
		border: 1px solid var(--wp--preset--color--linie-zart);
		border-radius: 14px;
		background: var(--wp--preset--color--hintergrund);
		box-shadow: 0 14px 34px rgba(24, 23, 20, 0.12);
		font-size: 0.9375rem;
		transform: translateY(6px);
		transition: opacity 0.16s ease, transform 0.16s ease;
	}
	header .wp-block-navigation .has-child:hover > .wp-block-navigation__submenu-container,
	header .wp-block-navigation .has-child:focus-within > .wp-block-navigation__submenu-container {
		transform: translateY(0);
	}
	/* Unsichtbare Brücke, damit das Menü beim Weg dorthin offen bleibt */
	header .wp-block-navigation .has-child > .wp-block-navigation__submenu-container::before {
		content: "";
		position: absolute;
		inset: -12px 0 auto;
		height: 12px;
	}
	/* Immer vom Menüpunkt aus nach rechts öffnen, nur das letzte Menü nach links. WordPress verankert sie in rechtsbündigen Leisten sonst alle rechts. */
	header .wp-block-navigation__container > .has-child > .wp-block-navigation__submenu-container {
		left: 0 !important;
		right: auto !important;
	}
	header .wp-block-navigation__container > .has-child:last-child > .wp-block-navigation__submenu-container {
		left: auto !important;
		right: 0 !important;
	}
	header .wp-block-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
		position: relative;
		display: flex !important;
		flex-direction: column;
		align-items: flex-start;
		width: 100%;
		white-space: normal;
		padding: 8px 36px 8px 12px;
		border-radius: 9px;
		line-height: 1.3;
		text-decoration: none;
		transition: background-color 0.12s ease;
	}
	header .wp-block-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item__content::after {
		content: "\2192";
		position: absolute;
		top: 50%;
		right: 12px;
		opacity: 0;
		transform: translate(-4px, -50%);
		transition: opacity 0.12s ease, transform 0.12s ease;
	}
	header .wp-block-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover,
	header .wp-block-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item__content:focus-visible,
	header .wp-block-navigation .wp-block-navigation__submenu-container .current-menu-item > .wp-block-navigation-item__content {
		background: var(--wp--preset--color--flaeche);
	}
	header .wp-block-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover::after,
	header .wp-block-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item__content:focus-visible::after {
		opacity: 1;
		transform: translate(0, -50%);
	}
	header .wp-block-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item__content:focus-visible {
		outline: 2px solid var(--wp--preset--color--text);
		outline-offset: -2px;
	}
	header .wp-block-navigation .wp-block-navigation-item__description {
		display: block !important;
		margin-top: 2px;
		color: var(--wp--preset--color--text-gedaempft);
		font-size: 0.8125rem;
	}
	header .wp-block-navigation .aa-menue-abschluss {
		margin-top: 6px;
		padding-top: 6px;
		border-top: 1px solid var(--wp--preset--color--linie-zart);
		font-weight: 600;
	}
}
@media (prefers-reduced-motion: reduce) {
	header .wp-block-navigation .wp-block-navigation__submenu-container,
	header .wp-block-navigation .wp-block-navigation__submenu-container * { transition: none !important; }
}
/* Vollbild-Menü bleibt schlicht */
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__description { display: none !important; }

/* Modellkarte: nennt das abgebildete Material, wenn es nicht das des Ab-Preises ist */
.aa-karte-material { margin: 0; padding: 8px 0 0; font-size: 0.8125rem; color: var(--wp--preset--color--text-gedaempft); }

/* Handy: längere Überzeile im Hero ausgleichen, Bedienelemente mindestens 44 px hoch */
.wp-block-details summary { padding: 0.65em 0; }
@media (max-width: 781px) {
	.aa-a-einstieg { padding-top: 250px; }
	.aa-a-einstieg .wp-block-cover__image-background { height: 290px; }
	.aa-a-einstieg .wp-block-cover__background { background: linear-gradient(180deg, rgba(35, 33, 29, 0) 140px, #23211d 290px) !important; }
	.aa-a-einstieg-text .aa-ueberzeile { font-size: 0.75rem; letter-spacing: 0.05em; line-height: 1.5; }
	.aa-kopf .wp-block-navigation__responsive-container-open { min-height: 44px; }
	.aa-kopf .custom-logo-link { display: inline-flex; align-items: center; min-height: 44px; }
	.aa-karte .wp-block-post-title a,
	.aa-weiter a,
	.aa-hub-material a,
	.aa-materialwelten h3 a,
	.aa-ratgeber-links a,
	footer a,
	.aa-einw-link { display: inline-flex; align-items: center; min-height: 44px; }
	.aa-check label { display: flex; align-items: center; gap: 10px; min-height: 44px; }
	.aa-check input { flex: none; width: 22px; height: 22px; margin: 0; }
}

/* Kasse: Es gibt nur Gastbestellung, der Hinweis „Sie bestellen gerade als Gast“ deutet sonst ein Konto an (29.11.2026) */
.wc-block-checkout__guest-checkout-notice { display: none; }
/* Warenkorb: Symbol im Kopf (nur mit Inhalt), Entfernen mit Text statt nur Symbol */
.aa-kopf-warenkorb { position: relative; }
/* Desktop: Zahl etwas größer, damit sie neben dem Knopf nicht untergeht */
@media (min-width: 901px) { .aa-kopf-zahl { min-width: 22px; height: 22px; font-size: 0.8125rem; } }
/* Mit Warenkorb ist der Kopf breiter: Menü wie in der kompakten Stufe, damit es in einer Zeile bleibt */
@media (min-width: 1340px) and (max-width: 1479px) {
	.aa-site .aa-kopf:has(.aa-kopf-warenkorb) .wp-block-navigation__container { gap: 16px; }
	.aa-site .aa-kopf:has(.aa-kopf-warenkorb) .wp-block-navigation-item__content { font-size: 0.9375rem; }
}
/* Schmale Handys: mit Warenkorb-Symbol wird es eng; Kontakt steht im Menü und in der Leiste unten */
@media (max-width: 479px) { .aa-kopf-aktionen:has(.aa-kopf-warenkorb) .aa-kopf-kontakt:not(.aa-kopf-warenkorb) { display: none; } }
.aa-kopf-zahl {
	position: absolute;
	top: -4px;
	right: -4px;
	display: inline-grid;
	place-items: center;
	min-width: 20px;
	height: 20px;
	padding: 0 5px;
	box-sizing: border-box;
	border-radius: 9999px;
	background: var(--wp--preset--color--text);
	color: var(--wp--preset--color--hintergrund);
	font-size: 0.75rem;
	font-weight: 600;
	line-height: 1;
}
.wc-block-cart-item__remove-link {
	display: inline-flex !important;
	align-items: center;
	gap: 4px;
	width: auto !important;
	height: auto !important;
	min-height: 44px;
	cursor: pointer;
}
.wc-block-cart-item__remove-link::after { content: "Entfernen"; font-size: 0.875rem; text-decoration: underline; }
.aa-kasse-zurueck, .aa-warenkorb-weiter { margin: 0 0 12px; font-size: 0.9375rem; }
.aa-warenkorb-weiter { margin-top: 16px; }
.aa-kasse-zurueck a, .aa-warenkorb-weiter a { display: inline-flex; align-items: center; min-height: 44px; }
.aa-warenkorb-tipp { margin: 16px 0 12px; padding: 0 16px; border: 1px solid var(--wp--preset--color--linie, #ddd); border-radius: 4px; font-size: 0.9375rem; }
.aa-warenkorb-tipp summary { display: flex; align-items: center; min-height: 48px; cursor: pointer; font-weight: 600; }
.aa-warenkorb-tipp p { margin: 0 0 12px; }
.aa-warenkorb-tipp a { display: inline-flex; align-items: center; min-height: 44px; }
@media (max-width: 781px) {
}

/* Ratgeber: Titelbild */
.aa-artikelbild img, .post-type-archive-aa_ratgeber .wp-block-post-featured-image img { border-radius: 12px; }

/* ===================== Kopf: Logo, Menü, Knopf; Hauptzeile bleibt beim Scrollen stehen =====================
   Stufen: ab 1400 px Logo, Menü, Knopf in einer Zeile; 1280–1399 px Menü kompakt;
   901–1279 px Menü in eigener Zeile (mit Warenkorb-Symbol: bis 1339 px eigene Zeile, bis 1479 px kompakt); bis 900 px Burger; unter 600 px Knopf nur im Burger-Menü. */
.aa-kopf .aa-menue-cta { display: none; }
/* Sticky am Wrapper: dessen Eltern sind seitenhoch. Die Infoleiste (37 px) scrollt heraus, die Hauptzeile bleibt. */
.aa-site .wp-block-template-part:has(> .aa-kopf) { position: sticky; top: -37px; z-index: 60; }
.aa-site .aa-infoleiste { height: 37px; box-sizing: border-box; padding-block: 0; }

.aa-site .aa-kopf { padding-block: 14px !important; background: var(--wp--preset--color--hintergrund); border-bottom: 1px solid rgba(0, 0, 0, 0.06); }
.aa-site .aa-kopf > .wp-block-group { align-items: center; gap: 12px 24px; }
.aa-site .aa-kopf .aa-logo img, .aa-site .aa-kopf .custom-logo { width: auto !important; height: 31px; }
.aa-site .aa-kopf .wp-block-navigation__container { gap: 26px; }
.aa-kopf-cta, .aa-kopf-aktionen { flex: 0 0 auto; }
.aa-kopf-cta .wp-block-button__link { display: inline-flex; align-items: center; min-height: 48px; padding: 0 22px; font-size: 0.9375rem; white-space: nowrap; }
.aa-site .aa-anfrage { scroll-margin-top: 100px; }
@media (max-width: 1399px) {
	.aa-site .aa-kopf .wp-block-navigation__container { gap: 16px; }
	.aa-site .aa-kopf .wp-block-navigation-item__content { font-size: 0.9375rem; }
}
@media (min-width: 901px) and (max-width: 1279px) {
	.aa-site .aa-kopf > .wp-block-group { flex-wrap: wrap; }
	.aa-site .aa-kopf .aa-kopf-aktionen { order: 2; margin-left: auto; }
	.aa-site .aa-kopf .wp-block-navigation { order: 3; flex: 1 1 100%; }
	.aa-site .aa-kopf .wp-block-navigation__container { justify-content: flex-start; gap: 20px; }
}
/* Mit Warenkorb-Symbol braucht der Kopf mehr Platz (gemessen 29.11.2026) */
@media (min-width: 1280px) and (max-width: 1339px) {
	.aa-site .aa-kopf:has(.aa-kopf-warenkorb) > .wp-block-group { flex-wrap: wrap; }
	.aa-site .aa-kopf:has(.aa-kopf-warenkorb) .aa-kopf-aktionen { order: 2; margin-left: auto; }
	.aa-site .aa-kopf:has(.aa-kopf-warenkorb) .wp-block-navigation { order: 3; flex: 1 1 100%; }
	.aa-site .aa-kopf:has(.aa-kopf-warenkorb) .wp-block-navigation__container { justify-content: flex-start; gap: 20px; }
}
@media (max-width: 900px) {
	.aa-site .aa-kopf .aa-kopf-aktionen { margin-left: auto; }
	.aa-site .aa-kopf .wp-block-navigation { margin-left: 0; }
}
@media (max-width: 781px) {
	.aa-site .aa-kopf .aa-kopf-cta { display: none; }
	.aa-site .aa-kopf .aa-logo img, .aa-site .aa-kopf .custom-logo { height: 25px; }
	.aa-site .aa-infoleiste { display: flex !important; justify-content: center; }
	.aa-site .aa-infoleiste .aa-kontakt-leiste { margin-left: 0 !important; }
}
.wp-block-navigation__responsive-container.is-menu-open .aa-menue-cta { display: block; order: 99; margin-top: 8px; border: 0; }
.wp-block-navigation__responsive-container.is-menu-open .aa-menue-cta .wp-block-navigation-item__content { display: block; padding: 15px 22px; border-radius: 999px; background: var(--wp--preset--color--text); color: var(--wp--preset--color--hintergrund) !important; font-family: var(--wp--preset--font-family--sans); font-size: 1.0625rem; font-weight: 500; text-align: center; }

/* Brotkrumen, bündig mit Logo und Menü */
.aa-brotkrumen { padding: 14px max(5vw, calc((100vw - 1440px) / 2)) 0; color: var(--wp--preset--color--text-gedaempft); font-size: 0.8125rem; }
.aa-brotkrumen ol { display: flex; flex-wrap: wrap; gap: 2px 0; margin: 0; padding: 0; list-style: none; }
.aa-brotkrumen li + li::before { content: "›"; margin: 0 8px; }
.aa-brotkrumen a { color: inherit; text-underline-offset: 3px; }
.aa-brotkrumen a:hover { color: var(--wp--preset--color--text); }
/* Handy: lange Artikeltitel nicht doppelt, die Überschrift folgt direkt darunter */
@media (max-width: 600px) { .aa-brotkrumen li[aria-current] { display: none; } }

/* Symbole bei WhatsApp und Instagram */
.aa-symbol-link { display: inline-flex; align-items: center; gap: 7px; }
.aa-symbol { flex: 0 0 auto; width: 18px; height: 18px; }
.aa-infoleiste .aa-symbol { width: 15px; height: 15px; }
.aa-infoleiste .aa-symbol-link { gap: 5px; }

/* Seitenfuß: Service-Liste bündig mit der Überschrift, gleiche Zeilen wie der Kontaktblock */
footer .wp-block-list { margin: 24px 0 0; padding-left: 0; list-style: none; }
footer .wp-block-list li { margin: 0; }
.aa-kontaktblock .aa-symbol-link { vertical-align: top; }
.aa-standort strong { font-weight: 600; }

/* Audit 06.11.: Ausführung, Modell-Fakten, Alternativen, Einleitung der Übersichten */
.aa-varianten .ist-gewaehlt td { background: var(--wp--preset--color--base-2, #f4f1ec); font-weight: 600; }
.aa-modell-fakten { margin: 24px 0 0; display: grid; gap: 8px; }
.aa-modell-fakten > div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding-bottom: 8px; border-bottom: 1px solid rgba(0, 0, 0, .1); }
.aa-modell-fakten dt { font-weight: 600; }
.aa-modell-fakten dd { margin: 0; }
.aa-alternativen ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 24px; }
.aa-alternativen img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: contain; display: block; }
.aa-ef-kopf .wp-block-term-description { max-width: 720px; margin-top: 16px; }
.aa-lp-inhalt details { border-bottom: 1px solid rgba(0, 0, 0, .1); padding: 12px 0; }
.aa-lp-inhalt summary { font-weight: 600; cursor: pointer; min-height: 44px; display: flex; align-items: center; }
.aa-lp-inhalt table { border-collapse: collapse; width: 100%; }
.aa-lp-inhalt th, .aa-lp-inhalt td { border-bottom: 1px solid rgba(0, 0, 0, .1); padding: 8px 12px 8px 0; text-align: left; vertical-align: top; }
.aa-anfrage-danke:focus { outline: none; }

/* ===================== Handy bis 480 px: verdichtet, Desktop unverändert ===================== */
@media (max-width: 480px) {
	/* Kopf: ohne Kontaktzeile (steht in der Leiste unten), flacher, beim Runterscrollen weg */
	.aa-site .aa-infoleiste { display: none !important; }
	.aa-site .wp-block-template-part:has(> .aa-kopf) { top: 0; transition: transform 250ms ease; }
	.aa-kopf-weg .wp-block-template-part:has(> .aa-kopf) { transform: translateY(-100%); }
	.aa-site .aa-kopf { padding-block: 8px !important; }
	.aa-site .aa-kopf .aa-logo img, .aa-site .aa-kopf .custom-logo { height: 22px; }
	.aa-kopf .wp-block-navigation__responsive-container-open { min-height: 44px; padding: 6px 14px; }

	/* Aktionsleiste: deckend, flacher, auf der Startseite erst nach dem Hero */
	.aa-mobilleiste { gap: 6px !important; padding: 6px 10px calc(6px + env(safe-area-inset-bottom)) !important; background: var(--wp--preset--color--hintergrund) !important; transition: transform 250ms ease; }
	.aa-mobilleiste a { min-height: 44px; padding-block: 0 !important; font-size: 0.9375rem; }
	.aa-leiste-wartet .aa-mobilleiste { transform: translateY(110%); }
	body { padding-bottom: 72px !important; }

	/* Abstände und Schrift der Startseite */
	body.home { --wp--preset--spacing--80: 44px; --wp--preset--spacing--70: 36px; --wp--preset--spacing--60: 28px; --wp--preset--spacing--50: 22px; --wp--preset--spacing--40: 18px; }
	.home .aa-lead { font-size: 1.0625rem; }
	.home h2.wp-block-heading { font-size: 1.75rem; }

	/* Hero: Bild flacher, ohne Überzeile, damit Überschrift und Knopf ohne Scrollen sichtbar sind */
	/* Bildhöhe mit der Displayhöhe (mind. 240 px, höchstens 380 px), damit die Stele groß genug ist (Mobil-Review 26.11.2026) */
	.aa-a-einstieg { --aa-hero-bild: clamp(240px, 45svh, 380px); padding: calc(var(--aa-hero-bild) - 40px) 20px 28px !important; }
	.aa-a-einstieg .wp-block-cover__image-background { height: var(--aa-hero-bild) !important; object-position: 50% 55% !important; }
	.aa-a-einstieg .wp-block-cover__background { background: linear-gradient(180deg, rgba(35, 33, 29, 0) calc(var(--aa-hero-bild) - 110px), #23211d var(--aa-hero-bild)) !important; }
	/* Überzeile wieder sichtbar (Vertrauenssignal); Knopf bleibt bei 390 × 844 ohne Scrollen sichtbar (Mobil-Review 26.11.2026) */
	.aa-a-einstieg .aa-ueberzeile { margin-bottom: 10px; font-size: 0.75rem; letter-spacing: 0.06em; line-height: 1.4; }
	.aa-a-einstieg h1 { font-size: 2.125rem; }
	.aa-a-einstieg-text .aa-lead { margin-top: 12px; font-size: 1rem; }
	.aa-a-einstieg-text .wp-block-buttons { margin-top: 18px; }

	/* Vorteile: nur die Überschriften, zwei Spalten */
	.home .aa-leiste p { font-size: 0; line-height: 0; }
	.home .aa-leiste p strong { font-size: 0.9375rem; line-height: 1.35; }

	/* Kategorien: zwei Spalten, kleines Bild und Titel */
	.home .aa-hub { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 8px !important; }
	.home .aa-hub a { grid-template-columns: 44px minmax(0, 1fr) !important; column-gap: 8px; align-items: center; min-height: 60px; padding: 8px !important; }
	.home .aa-hub img { width: 44px !important; height: 44px !important; grid-row: auto; }
	.home .aa-hub strong { margin: 0; font-size: 0.875rem; line-height: 1.25; }
	.home .aa-hub span { display: none; }

	.home .aa-materialwelten p { font-size: 0.9375rem; }

	/* Konfigurator: Zeichnung kleiner */
	.home .aa-massbild { max-width: 230px; }

	/* Modelle: vier zeigen, Preis kompakt */
	.home .wp-block-post-template > li:nth-child(n+5) { display: none; }
	.home .aa-karte .aa-preis { font-weight: 600; line-height: 1.3; }
	.home .aa-karte .aa-preis small { display: block; font-weight: 400; font-size: 0.75rem; }
	.home .aa-karte-material { display: none; }

	/* Ablauf: vier Schritte als 2 × 2 */
	.home .aa-ablauf { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 16px 14px !important; }
	.home .aa-ablauf li { font-size: 0.9375rem; line-height: 1.45; }

	/* Über uns: Foto flacher, Kundenstimmen zum Wischen */
	.home .aa-foto-rund img { aspect-ratio: 16 / 9; }
	.home .aa-stimmen { display: flex !important; gap: 12px; margin-right: -20px; padding-right: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
	.home .aa-stimme { flex: 0 0 85%; scroll-snap-align: start; }
	.home .aa-b-zitat p { font-size: 1.125rem !important; }
}
@media (max-width: 480px) and (prefers-reduced-motion: reduce) {
	.aa-site .wp-block-template-part:has(> .aa-kopf), .aa-mobilleiste { transition: none; }
}
@media (max-width: 480px) {
	/* weiter verdichten: Zeichnung im Konfigurator-Teaser entfällt (der Knopf führt hin), Zitat kleiner, Service-Liste zweispaltig */
	.home .aa-massbild { display: none; }
	.home .aa-b-zitat p { font-size: 1rem !important; line-height: 1.55; }
}
@media (max-width: 480px) {
	/* Häufige Fragen und Ratgeber: kompaktere Zeilen, Tippfläche bleibt 44 px */
	.home .aa-start-faq details { margin: 0 !important; padding: 4px 0 !important; }
	.home .aa-start-faq summary { display: list-item; padding: 12px 0 !important; font-size: 0.9375rem; line-height: 1.4; }
	.home .aa-ratgeber-links a { padding-block: 10px !important; font-size: 1.125rem !important; line-height: 1.35; }
}

/* Startseite: Hintergrund je Abschnitt abwechselnd, bei schmalen Blöcken bis an den Rand */
.aa-grund-weiss { background-color: var(--wp--preset--color--hintergrund) !important; box-shadow: 0 0 0 100vmax var(--wp--preset--color--hintergrund); clip-path: inset(0 -100vmax); }
.aa-grund-grau { background-color: var(--wp--preset--color--flaeche) !important; box-shadow: 0 0 0 100vmax var(--wp--preset--color--flaeche); clip-path: inset(0 -100vmax); }

/* ===================== Einheitliches Erscheinungsbild (UX-Durchsicht 08.11.2026) ===================== */
/* Schrift: Serifen nur für Überschriften ab 24 px, sonst DM Sans in drei Gewichten (400, 500, 600) */
.aa-site .aa-karte .wp-block-post-title, .aa-site .aa-karte .wp-block-post-title a { font-family: var(--wp--preset--font-family--sans) !important; font-size: 1rem !important; font-weight: 600 !important; letter-spacing: 0; line-height: 1.3; }
.aa-site .aa-ratgeber-links a { font-family: var(--wp--preset--font-family--sans); font-size: 1.125rem; font-weight: 500; }
.aa-site .aa-presse strong { font-family: var(--wp--preset--font-family--sans); font-size: 1.0625rem; font-weight: 600; }
.aa-site .aa-fakt-zahl, .aa-site .aa-b-zitat p { font-weight: 350; }
.aa-site strong, .aa-site b, .aa-site th, .aa-site .aa-konfigurator legend, .aa-site .aa-ef-schritte li::before { font-weight: 600; }

/* Farbe: Entwurf A ist schwarz-weiß; aktive Auswahl schwarz, Linien und Hover grau */
.aa-site .aa-katleiste a[aria-current], .aa-site .aa-chip[aria-pressed="true"], .aa-site .aa-wahl label:has(input:checked) { border-color: var(--wp--preset--color--text) !important; background: var(--wp--preset--color--text) !important; color: var(--wp--preset--color--hintergrund) !important; }
.aa-site .aa-katleiste a:hover:not([aria-current]), .aa-site .aa-hub a:hover { border-color: var(--wp--preset--color--text); background: var(--wp--preset--color--flaeche); }
.aa-site .aa-ef-schritte li::before, .aa-site .aa-b-service h3::before { background: var(--wp--preset--color--text); color: var(--wp--preset--color--hintergrund); }
.aa-site .aa-ef-karte .aa-nach-mass { background: var(--wp--preset--color--text); color: var(--wp--preset--color--hintergrund); }
.aa-site .aa-ef-karte .aa-nach-mass:hover, .aa-site .aa-ef-karte .aa-nach-mass:focus-visible { background: #000; }
.aa-site .aa-hub a:hover strong, .aa-site .aa-presse li > a:hover strong, .aa-site .aa-kontaktkarte .aa-kontaktblock a { text-decoration-color: currentColor; }
.aa-site .aa-fakten-leiste .wp-block-column, .aa-site .aa-stimme { border-left-color: #b9b9b2; }
.aa-site .aa-mobilleiste a:last-child { border-color: var(--wp--preset--color--text); }

/* Knöpfe: zwei Größen. Normal 48 px, Hauptaktion 54 px */
.aa-site .wp-block-button__link, .aa-site .wp-element-button { display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; min-height: 48px; line-height: 1.2; }
.aa-site .aa-knopf-hell .wp-block-button__link, .aa-site .aa-anfrage .aa-absenden button, .aa-site .aa-konfigurator .wp-block-button__link, .aa-site .wc-block-cart__submit-button, .aa-site .wc-block-components-checkout-place-order-button { min-height: 54px; }
.aa-site #aa-einwilligung button:not(.aa-einw-link) { min-height: 48px; }

/* Wo bin ich: aktiver Menüpunkt unterstrichen, im Untermenü fett */
.aa-kopf .wp-block-navigation__container > .aa-aktiv > .wp-block-navigation-item__content,
.aa-kopf .wp-block-navigation__container > .aa-aktiv-zweig > .wp-block-navigation-item__content { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 8px; }
.aa-kopf .wp-block-navigation__submenu-container .aa-aktiv > .wp-block-navigation-item__content .wp-block-navigation-item__label { font-weight: 600; }

@media (max-width: 480px) {
	/* Materialien: untereinander, volle Breite, Bilder flacher */
	.home .aa-materialwelten > .wp-block-column { margin-bottom: 28px !important; }
	.home .aa-materialwelten > .wp-block-column:last-child { margin-bottom: 0 !important; }
	.home .aa-materialwelten img { aspect-ratio: 16 / 9 !important; }

	/* Kundenstimmen: Karussell mit Vorschau der nächsten Karte und Punkten */
	.home .aa-stimme { flex: 0 0 85%; }
	.aa-punkte { display: flex !important; justify-content: center; gap: 4px; margin-top: 8px; }
	.aa-punkte button { display: grid; place-items: center; width: 28px; height: 28px; padding: 0; border: 0; background: none; cursor: pointer; }
	.aa-punkte button::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #c9c8c2; }
	.aa-punkte button[aria-current="true"]::before { background: var(--wp--preset--color--text); }

	/* Material-Links als tippbare Chips, „Alle Modelle“ darunter */
	.home .aa-hub-material { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 0; font-size: 0 !important; }
	.home .aa-hub-material::before { content: "Oder nach Material"; flex-basis: 100%; margin-bottom: 2px; color: var(--wp--preset--color--text-gedaempft); font-size: 0.9375rem; text-align: center; }
	.home .aa-hub-material a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--wp--preset--color--linie); border-radius: 999px; background: var(--wp--preset--color--hintergrund); color: var(--wp--preset--color--text); font-size: 0.9375rem; text-decoration: none; }

	/* Aktionsleiste: Anrufen und WhatsApp als Symbole, Entwurf als Hauptknopf; kompakter */
	.aa-mobilleiste { grid-template-columns: 48px 48px minmax(0, 1fr) !important; gap: 8px !important; padding: 6px 12px calc(6px + env(safe-area-inset-bottom)) !important; }
	.aa-mobilleiste a { min-height: 44px; }
	.aa-mobilleiste .aa-ml-symbol { padding: 0 !important; }
	.aa-mobilleiste .aa-ml-symbol .aa-symbol { width: 20px; height: 20px; }
	.aa-ml-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
	.aa-mobilleiste .aa-ml-entwurf { font-weight: 600; }
	body { padding-bottom: calc(68px + env(safe-area-inset-bottom)) !important; }
	:target, .aa-anfrage { scroll-margin-top: 16px; scroll-margin-bottom: 72px; }
}

/* Punkte unter den Kundenstimmen nur auf dem Handy (dort ist es ein Karussell) */
.aa-punkte { display: none; }

/* Seitenfuß: Überschriften der aufklappbaren Spalten sehen auf dem Desktop aus wie die übrigen */
footer .aa-fuss-klappe { margin: 0; }
footer .aa-fuss-klappe > summary { display: block; margin-bottom: var(--wp--style--block-gap, 24px); padding: 0; border: 0; font-family: var(--wp--preset--font-family--serif); font-size: var(--wp--preset--font-size--xl); font-weight: 350; line-height: 1.3; list-style: none; cursor: default; }
footer .aa-fuss-klappe > summary::-webkit-details-marker { display: none; }
footer .aa-fuss-klappe > summary::marker { content: ""; }
@media (max-width: 480px) {
	footer.wp-block-group { padding-top: 32px !important; }
	footer .wp-block-columns { gap: 0 !important; }
	/* Kontakt: Telefon und Zeiten in einer Zeile, darunter E-Mail, WhatsApp und Instagram als Symbol-Knöpfe */
	footer .aa-kontaktblock { display: flex; flex-wrap: wrap; align-items: center; gap: 0 14px; margin-bottom: 20px; }
	footer .aa-kontaktblock br { display: none; }
	footer .aa-kontaktblock a[href^="mailto:"] { flex-basis: 100%; }
	footer .aa-kontaktblock .aa-symbol-link { justify-content: center; width: 44px; height: 44px; margin: 6px 0 0; border: 1px solid var(--wp--preset--color--linie); border-radius: 50%; font-size: 0; gap: 0; }
	footer .aa-kontaktblock .aa-symbol-link + .aa-symbol-link { margin-left: -4px; }
	footer .aa-kontaktblock .aa-symbol { width: 20px; height: 20px; }
	/* Standorte und Service zum Aufklappen */
	footer .aa-fuss-klappe { border-top: 1px solid var(--wp--preset--color--linie); }
	footer .aa-fuss-klappe:last-of-type { border-bottom: 1px solid var(--wp--preset--color--linie); }
	footer .wp-block-column:last-child .aa-fuss-klappe { border-bottom: 1px solid var(--wp--preset--color--linie); }
	footer .aa-fuss-klappe > summary { display: flex; align-items: center; justify-content: space-between; min-height: 52px; margin: 0; font-size: 1.25rem; cursor: pointer; }
	footer .aa-fuss-klappe > summary::after { content: ""; width: 9px; height: 9px; margin-right: 4px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translate(-2px, -2px); transition: transform 200ms; }
	footer .aa-fuss-klappe[open] > summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
	footer .aa-fuss-klappe[open] { padding-bottom: 16px; }
	footer .aa-fuss-klappe .aa-standort { margin: 0 0 12px; }
	footer .wp-block-separator { margin-block: 24px !important; }
}
@media (min-width: 481px) {
	/* Desktop: aufklappbare Spalten ohne Linien und Abstände der allgemeinen Aufklapp-Regeln, bündig mit der ersten Spalte */
	footer .aa-fuss-klappe { margin: 0 !important; padding: 0 !important; border: 0 !important; }
	footer .aa-fuss-klappe > summary { margin: 0 0 var(--wp--style--block-gap, 24px) !important; padding: 0 !important; border: 0 !important; }
	footer .aa-fuss-klappe > summary::after { display: none; }
}

/* ===================== Startseite, Sortiment: gleiche Formensprache wie die Modellkarten ===================== */
/* Bildrahmen wie .aa-karte (weiß, zarte Linie, 14 px Radius), Name und eine Zeile darunter, linksbündig wie die übrigen Abschnitte.
   Ersetzt die früheren Kompaktkarten; die !important-Angaben übersteuern die älteren Handyregeln weiter oben. */
.aa-site .aa-hub { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: 36px 24px !important; margin-top: var(--wp--preset--spacing--50); }
.aa-site .aa-hub p, .aa-site .aa-hub-eintrag { display: block; margin: 0; }
.aa-site .aa-hub a { display: flex !important; flex-direction: column; align-items: stretch !important; height: 100%; min-height: 0; padding: 0 !important; border: 0; border-radius: 0; background: none; color: var(--wp--preset--color--text); text-decoration: none; }
.aa-site .aa-hub a:hover { border-color: transparent; background: none; }
.aa-site .aa-hub .aa-hub-bild { position: relative; display: block !important; overflow: hidden; margin: 0; aspect-ratio: 1 / 1; border: 1px solid var(--wp--preset--color--linie-zart, #ebebe7); border-radius: 14px; background: #fff; }
.aa-site .aa-hub .aa-hub-bild img { position: absolute; top: 9%; left: 9%; width: 82% !important; height: 82% !important; object-fit: contain; border: 0; border-radius: 0; transition: transform 400ms cubic-bezier(0.4, 0, 0.2, 1); }
.aa-site .aa-hub a:hover .aa-hub-bild img { transform: scale(1.03); }
.aa-site .aa-hub .aa-hub-frei { display: grid !important; place-items: center; border-color: transparent; background: var(--wp--preset--color--text); color: #fff; transition: background 300ms; }
.aa-site .aa-hub a:hover .aa-hub-frei { background: #3a3b38; }
/* Kategoriename: H3 in der Serifenschrift wie die Materialien (Cortenstahl, Edelstahl …), eine Stufe über den Modellnamen (16 px, Sans) */
.aa-site .aa-hub .aa-hub-name { margin: 18px 0 0; font-family: var(--wp--preset--font-family--serif); font-size: var(--wp--preset--font-size--xl); font-weight: 350; line-height: 1.2; letter-spacing: -0.01em; }
.aa-site .aa-hub a:hover .aa-hub-name { text-decoration: underline; text-decoration-color: currentColor; text-underline-offset: 4px; }
.aa-site .aa-hub .aa-hub-text { display: block !important; margin-top: 6px; color: var(--wp--preset--color--text-gedaempft); font-size: 0.9375rem; line-height: 1.45; }
.aa-site .aa-hub-material { margin-top: var(--wp--preset--spacing--50); text-align: left; }
@media (max-width: 781px) {
	.aa-site .aa-hub { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 28px 14px !important; }
}
@media (max-width: 600px) {
	.aa-site .aa-hub .aa-hub-name { margin-top: 12px; font-size: 1.1875rem; }
	.aa-site .aa-hub .aa-hub-text { font-size: 0.8125rem; line-height: 1.4; }
	.aa-site .aa-hub .aa-hub-frei svg { width: 40px; height: 40px; }
	.aa-site.home .aa-hub-material { justify-content: flex-start; }
	.aa-site.home .aa-hub-material::before { text-align: left; }
}

/* Modellseite: Material wählen, Galerie zeigt nur dieses Material */
.aa-material-wahl { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 4px; }
.aa-material-wahl a {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 0 16px;
	border: 1px solid var(--wp--preset--color--linie);
	border-radius: 9999px;
	color: var(--wp--preset--color--text);
	font-size: 0.9375rem;
	text-decoration: none;
}
.aa-material-wahl a:hover { border-color: var(--wp--preset--color--text); }
.aa-material-wahl a[aria-current] { border-color: var(--wp--preset--color--text); background: var(--wp--preset--color--text); color: var(--wp--preset--color--hintergrund); }
.aa-galerie a[aria-current] img { border-color: var(--wp--preset--color--text); }
main[aria-busy="true"] .wp-block-post-featured-image, main[aria-busy="true"] .aa-galerie { opacity: 0.6; transition: opacity 0.15s; }
@media (max-width: 781px) { .aa-material-wahl a { min-height: 44px; } }

/* Modellseite: Bild, Materialwahl und Ansichten passen zusammen in die erste Bildschirmhöhe */
@media (min-width: 782px) {
	.single-aa_modell main .wp-block-columns > .wp-block-column:first-child .wp-block-post-featured-image {
		aspect-ratio: auto !important;
		height: clamp(300px, calc(100vh - 440px), 640px);
	}
	.single-aa_modell main .wp-block-columns > .wp-block-column:first-child .wp-block-post-featured-image img {
		width: 100%;
		height: 100% !important;
		object-fit: contain;
	}
	.single-aa_modell .aa-material-wahl { margin-top: 12px; }
	.single-aa_modell .aa-galerie { grid-template-columns: repeat(auto-fill, minmax(72px, 88px)); }
}

/* ===================== Anmerkungen Startseite (24.11.2026) ===================== */
/* Kopf: Kontakt als Symbol neben dem Hauptknopf, im Burger-Menü als eigener Eintrag */
.aa-kopf-aktionen { gap: 10px; align-items: center; }
.aa-kopf-kontakt { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border: 1px solid var(--wp--preset--color--linie); border-radius: 50%; color: var(--wp--preset--color--text); }
.aa-kopf-kontakt:hover { border-color: var(--wp--preset--color--text); }
.aa-kopf-kontakt:focus-visible { outline: 2px solid var(--wp--preset--color--text); outline-offset: 2px; }
.aa-kopf .aa-menue-kontakt { display: none; }
.wp-block-navigation__responsive-container.is-menu-open .aa-menue-kontakt { display: block; }
@media (max-width: 599px) { .aa-kopf-kontakt { width: 44px; height: 44px; } }
@media (max-width: 900px) {
	/* Burger ganz rechts, Kontakt davor */
	.aa-site .aa-kopf .wp-block-navigation { order: 3; }
	.aa-site .aa-kopf .aa-kopf-aktionen { order: 2; }
}

/* Infoleiste: Symbole vor allen Kontaktwegen */
.aa-site .aa-infoleiste .aa-kontakt-leiste a.aa-symbol-link { display: inline-flex; }

/* Vertrauensleiste: Überschrift und Text je eine Zeile */
@media (min-width: 1100px) {
	.aa-site .aa-leiste p { white-space: nowrap; }
	.aa-site .aa-leiste p br { display: block; }
	.aa-site .aa-leiste .wp-block-column { min-width: 0; }
}

/* Sortiment: „Alle Modelle“ als Hauptknopf unter Überschrift und Text */
.aa-sortiment-knopf { margin: 4px 0 var(--wp--preset--spacing--50); }
.aa-site .aa-hub-material { margin-top: var(--wp--preset--spacing--40); }

/* Großes Bild mit Bewertung und Stimmen zwischen Sortiment und Modellen */
.aa-eindruck { padding: 0 !important; background: #23211d; color: #fff; }
.aa-eindruck-raster { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: stretch; max-width: none !important; }
.aa-eindruck-bild { margin: 0; min-height: 520px; }
.aa-eindruck-bild img { display: block; width: 100%; height: 100%; object-fit: cover; }
.aa-eindruck-text { align-self: center; padding: var(--wp--preset--spacing--70) max(5vw, calc((100vw - 1440px) / 2)) var(--wp--preset--spacing--70) var(--wp--preset--spacing--70); }
.aa-eindruck .aa-ueberzeile { color: rgba(255, 255, 255, 0.72); }
.aa-eindruck-wert { margin: 0 0 22px; font-size: 1rem; }
.aa-eindruck-wert a { color: #fff; text-underline-offset: 3px; }
.aa-sterne { margin-right: 6px; color: var(--wp--preset--color--akzent); letter-spacing: 2px; }
.aa-eindruck-zitat { margin: 0; padding: 0; border: 0; }
.aa-eindruck-zitat p { margin: 0; font-family: var(--wp--preset--font-family--serif); font-size: clamp(1.375rem, 1.9vw, 1.875rem); line-height: 1.3; color: #fff; }
.aa-eindruck cite { display: block; margin-top: 12px; color: rgba(255, 255, 255, 0.72); font-size: 0.875rem; font-style: normal; }
.aa-eindruck-stimmen { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 32px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.18); }
.aa-eindruck-stimmen blockquote { margin: 0; padding: 0; border: 0; }
.aa-eindruck-stimmen p { margin: 0; color: rgba(255, 255, 255, 0.88); font-size: 0.9375rem; line-height: 1.55; }
.aa-eindruck .aa-stimmen-hinweis { margin-top: 24px; color: rgba(255, 255, 255, 0.6); }
@media (max-width: 900px) {
	.aa-eindruck-raster { grid-template-columns: minmax(0, 1fr); }
	.aa-eindruck-bild { min-height: 0; aspect-ratio: 4 / 3; }
	.aa-eindruck-text { padding: var(--wp--preset--spacing--60) 20px; }
	.aa-eindruck-stimmen { grid-template-columns: minmax(0, 1fr); }
}

/* Modellkarten der Startseite: vier je Reihe, quadratische Bilder */
.home .aa-start-karten { gap: 20px; }
.home .aa-start-karten .wp-block-post-featured-image, .home .aa-start-karten .wp-block-post-featured-image img { aspect-ratio: 1 !important; }
@media (max-width: 1100px) { .home .aa-start-karten { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; } }
@media (max-width: 781px) { .home .aa-start-karten { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 14px; } }

/* FAQ: Stichwort vor der Frage */
.aa-faq-thema { display: inline-block; min-width: 108px; margin-right: 10px; color: var(--wp--preset--color--text-gedaempft); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
@media (max-width: 600px) { .aa-faq-thema { display: block; min-width: 0; margin: 0 0 2px; } }

/* Ratgeber: Link unter der Überschrift, Artikel als Bildkarten */
.aa-start-ratgeber .aa-weiter { margin-top: 0; margin-bottom: var(--wp--preset--spacing--50); }
.aa-ratgeber-karten { gap: 24px; }
.aa-ratgeber-karte .wp-block-post-featured-image { margin: 0; overflow: hidden; border-radius: 12px; }
.aa-ratgeber-karte .wp-block-post-featured-image img { transition: transform 300ms; }
.aa-ratgeber-karte:hover .wp-block-post-featured-image img { transform: scale(1.03); }
.aa-ratgeber-karte .wp-block-post-title { margin-top: 14px; font-size: 1.25rem !important; line-height: 1.3; }
.aa-ratgeber-karte .wp-block-post-title a { color: var(--wp--preset--color--text); text-decoration: none; }
.aa-ratgeber-karte:hover .wp-block-post-title a { text-decoration: underline; text-decoration-color: var(--wp--preset--color--akzent); text-underline-offset: 4px; }

/* Seitenfuß: Adressen führen zu Google Maps */
.aa-standort .aa-adresse { color: inherit; text-decoration: underline; text-decoration-color: #b9b9b2; text-underline-offset: 3px; }
.aa-standort .aa-adresse:hover { text-decoration-color: currentColor; }

/* Menü: Strich-Icons vor den Kategorien (Variante A, nur Desktop; das Vollbild-Menü am Handy bleibt schlicht) */
@media (min-width: 901px) {
	header .wp-block-navigation .has-child .wp-block-navigation__submenu-container > .aa-mi > .wp-block-navigation-item__content { justify-content: center; min-height: 52px; padding-left: 60px; }
	header .wp-block-navigation .has-child > .wp-block-navigation__submenu-container:has(.aa-mi) { min-width: 340px !important; }
	header .wp-block-navigation .aa-mi > .wp-block-navigation-item__content::before {
		content: "";
		position: absolute;
		top: 50%;
		left: 12px;
		width: 36px;
		height: 36px;
		border-radius: 9px;
		background: var(--wp--preset--color--flaeche) center / 22px 22px no-repeat;
		transform: translateY(-50%);
		transition: background-color 0.12s ease;
	}
	header .wp-block-navigation .aa-mi > .wp-block-navigation-item__content:hover::before { background-color: var(--wp--preset--color--akzent-hell); }
	header .wp-block-navigation .aa-mi-stehend > .wp-block-navigation-item__content::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23292A28' stroke-width='1.5' stroke-linejoin='round' stroke-linecap='round'%3E%3Crect x='8' y='3.5' width='8' height='14' rx='1'/%3E%3Cpath d='M5 20.5h14M6.5 17.5h11v3h-11z'/%3E%3C/svg%3E"); }
	header .wp-block-navigation .aa-mi-liegend > .wp-block-navigation-item__content::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23292A28' stroke-width='1.5' stroke-linejoin='round' stroke-linecap='round'%3E%3Cpath d='M3.5 15.5l5-6h12l-5 6z'/%3E%3Cpath d='M3.5 15.5v2h12v-2M15.5 17.5l5-6v-2'/%3E%3C/svg%3E"); }
	header .wp-block-navigation .aa-mi-kissen > .wp-block-navigation-item__content::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23292A28' stroke-width='1.5' stroke-linejoin='round' stroke-linecap='round'%3E%3Cpath d='M5 16.5l2.5-7a2 2 0 0 1 1.9-1.4h5.2a2 2 0 0 1 1.9 1.4l2.5 7z'/%3E%3Cpath d='M3.5 19.5h17'/%3E%3C/svg%3E"); }
	header .wp-block-navigation .aa-mi-individuell > .wp-block-navigation-item__content::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23292A28' stroke-width='1.5' stroke-linejoin='round' stroke-linecap='round'%3E%3Cpath d='M5 19l1.2-4.2L16 5a2 2 0 0 1 2.8 0l.2.2a2 2 0 0 1 0 2.8L9.2 17.8z'/%3E%3Cpath d='M14.5 6.5l3 3'/%3E%3C/svg%3E"); }
	header .wp-block-navigation .aa-mi-urnengrab > .wp-block-navigation-item__content::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23292A28' stroke-width='1.5' stroke-linejoin='round' stroke-linecap='round'%3E%3Crect x='3.5' y='6.5' width='17' height='12' rx='1'/%3E%3Crect x='9' y='9.5' width='6' height='6'/%3E%3C/svg%3E"); }
}

/* ===================== Modellseite nach Konzept (docs/KONZEPT_MODELLSEITE.md, 25.11.2026) ===================== */
/* Kaufbox: Ausführung wählen, Preis, Hinweise */
.aa-kaufbox .wp-block-post-excerpt { margin-top: 12px; }
.aa-ausfuehrung { margin-top: var(--wp--preset--spacing--40); }
.aa-ausfuehrung-titel { margin: 0 0 10px; font-weight: 600; font-size: 1rem; }
.aa-kaufbox .aa-material-wahl { margin: 0 0 20px; gap: 10px; }
.aa-kaufbox .aa-material-wahl a {
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	min-height: 56px;
	min-width: 0;
	flex: 1 1 0;
	padding: 8px 16px;
	border-radius: 10px;
	font-size: 1rem;
	line-height: 1.3;
}
.aa-kaufbox .aa-material-wahl .aa-wahl-name { font-weight: 500; }
.aa-kaufbox .aa-material-wahl .aa-wahl-preis { font-size: 0.9375rem; color: var(--wp--preset--color--text-gedaempft); font-variant-numeric: tabular-nums; }
.aa-kaufbox .aa-material-wahl a[aria-current] .aa-wahl-preis { color: inherit; opacity: 0.85; }
.aa-preis-gross { margin: 0; font-size: var(--wp--preset--font-size--xl); font-weight: 600; line-height: 1.2; }
.aa-preis-gross small { font-size: 1rem; font-weight: 400; color: var(--wp--preset--color--text-gedaempft); }
.aa-groessen-hinweis { margin: 8px 0 0; font-size: 1rem; line-height: 1.5; }
.aa-ausfuehrungen { list-style: none; margin: 12px 0 0; padding: 0; }
.aa-ausfuehrungen li { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-bottom: 1px solid var(--wp--preset--color--linie-zart); }
.aa-kaufbox .aa-aufpreise { margin: 8px 0 0; font-size: 1rem; line-height: 1.5; }

/* Entwurf-Block: stärkstes Argument der Seite, abgesetzt */
.aa-entwurf-block {
	margin-top: var(--wp--preset--spacing--40);
	padding: 24px;
	background: var(--wp--preset--color--akzent-hell);
	border-radius: 14px;
}
.aa-site .aa-entwurf-block .aa-entwurf-titel {
	margin: 0 0 8px;
	font-family: var(--wp--preset--font-family--sans);
	font-weight: 600;
	font-size: 1.25rem;
	line-height: 1.3;
	letter-spacing: 0;
}
.aa-entwurf-block .aa-entwurf-versprechen { margin: 0 0 16px; }
.aa-entwurf-block .aa-entwurf-zusage { margin: 10px 0 0; font-size: 1rem; }
.aa-entwurf-kontakt { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; margin: 16px 0 0; padding-top: 14px; border-top: 1px solid rgba(41, 42, 40, .12); font-size: 1rem; }
.aa-entwurf-kontakt .aa-symbol-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--wp--preset--color--text); }

/* Lesespalte unter dem Kopfbereich, Abschnitte durch Linien getrennt */
.aa-modell-lesen { margin-top: var(--wp--preset--spacing--70) !important; padding-top: var(--wp--preset--spacing--60); border-top: 1px solid var(--wp--preset--color--linie-zart); }
.aa-modell-lesen > h2:first-child { margin-top: 0; }
.aa-modell-lesen h2 { margin-bottom: var(--wp--preset--spacing--30); }
.aa-modell-text h2,
.aa-gut-zu-wissen h2 { margin-top: var(--wp--preset--spacing--60); padding-top: var(--wp--preset--spacing--50); border-top: 1px solid var(--wp--preset--color--linie-zart); }
.aa-modell-text > .has-gross-font-size { line-height: 1.55; }
.aa-modell-text > p:not(.has-gross-font-size) { font-size: var(--wp--preset--font-size--basis); }
/* Maße und Angaben als ruhige Zeilen statt Aufzählung */
.aa-modell-text ul.wp-block-list { list-style: none; padding: 0; margin: 0; }
.aa-modell-text ul.wp-block-list li { padding: 10px 0; border-bottom: 1px solid var(--wp--preset--color--linie-zart); }
.aa-modell-text ul.wp-block-list li:first-child { border-top: 1px solid var(--wp--preset--color--linie-zart); }

/* Gut zu wissen: Begriff, Wert, Mehr erfahren */
.aa-gut-zu-wissen .aa-modell-fakten { margin: 0; gap: 0; }
.aa-gut-zu-wissen .aa-modell-fakten > div { grid-template-columns: 140px 1fr; padding: 12px 0; border-bottom: 1px solid var(--wp--preset--color--linie-zart); }
.aa-gut-zu-wissen .aa-modell-fakten > div:first-child { border-top: 1px solid var(--wp--preset--color--linie-zart); }
.aa-mehr-link { white-space: nowrap; margin-left: 4px; }

/* Häufige Fragen auf eigener Fläche */
.aa-modell-fragen {
	margin-top: var(--wp--preset--spacing--70) !important;
	padding: var(--wp--preset--spacing--70) var(--wp--style--root--padding-right, 16px) var(--wp--preset--spacing--70) var(--wp--style--root--padding-left, 16px);
	background: var(--wp--preset--color--flaeche);
}
.aa-modell-fragen-innen { max-width: 720px; margin: 0 auto; }
.aa-modell-fragen-innen > h2 { margin-top: 0; margin-bottom: var(--wp--preset--spacing--30); }
.aa-modell-fragen .wp-block-details summary { font-family: var(--wp--preset--font-family--sans); font-weight: 600; font-size: 1.125rem; color: var(--wp--preset--color--text); min-height: 44px; display: flex; align-items: center; }
.aa-modell-fragen .wp-block-details p { margin: 0 0 8px; }

/* Passende Alternativen: Karten wie auf der Startseite, ganze Karte klickbar */
.aa-modell-weiter { margin-top: var(--wp--preset--spacing--70) !important; margin-bottom: var(--wp--preset--spacing--70); }
.aa-alternativen ul { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.aa-alternativen li a { display: block; color: var(--wp--preset--color--text); text-decoration: none; }
.aa-alternativen img { aspect-ratio: 1; object-fit: contain; background: #fff; border: 1px solid var(--wp--preset--color--linie-zart); border-radius: 14px; transition: border-color .15s; }
.aa-alternativen li a:hover img { border-color: var(--wp--preset--color--text); }
.aa-alternativen .aa-sort-titel { display: block; margin-top: 12px; font-weight: 500; font-size: 1.125rem; }
.aa-alternativen li a:hover .aa-sort-titel { text-decoration: underline; text-underline-offset: 3px; }
.aa-alternativen .aa-preis { margin: 2px 0 0; color: var(--wp--preset--color--text-gedaempft); font-size: 1rem; }
.aa-alternativen .aa-preis small { font-size: inherit; }
.aa-alternativen > .aa-aufpreise { margin-top: 16px; font-size: 1rem; }
@media (max-width: 900px) { .aa-alternativen ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } }

/* Fokus sichtbar */
.aa-modell a:focus-visible { outline: 2px solid var(--wp--preset--color--text); outline-offset: 2px; }

/* Mobil: Titel vor dem Bild, dann Ausführung, Preis, Entwurf */
@media (max-width: 781px) {
	.aa-modell-kopf { display: flex; flex-direction: column; }
	.aa-modell-kopf > .aa-kaufbox { display: contents; }
	.aa-kaufbox > .aa-badge,
	.aa-kaufbox > .wp-block-post-title,
	.aa-kaufbox > .wp-block-post-excerpt { order: -1; margin-top: 0; margin-bottom: 0; }
	.aa-kaufbox > .wp-block-post-title { font-size: 2.25rem !important; }
	.aa-kaufbox .aa-material-wahl a { box-sizing: border-box; min-width: 0; flex: 1 1 calc(50% - 5px); }
	.aa-modell-kopf { gap: 16px !important; }
	.aa-kaufbox > .aa-badge { align-self: flex-start; }
	.aa-modell-bild { margin-top: 8px; }
	/* Spalte so hoch wie ihr Inhalt (sonst gilt flex-basis 58 % als Höhe und die Vorschaubilder überlappen die Materialwahl) */
	.wp-block-columns.aa-modell-kopf > .wp-block-column.aa-modell-bild { flex: 0 0 auto !important; }
	.aa-entwurf-block { padding: 20px 16px; }
	.aa-gut-zu-wissen .aa-modell-fakten > div { grid-template-columns: 1fr; gap: 2px; }
	.aa-modell-lesen { margin-top: var(--wp--preset--spacing--60) !important; padding-top: var(--wp--preset--spacing--50); }
}

/* ===================== Modellseite, Review 2 (25.11.2026): eine Flächenlogik ===================== */
/* Hero: Weiß + ein Bildgrund. Freisteller auf Weiß verschmelzen per multiply mit dem Bildgrund, kein Rahmen */
.single-aa_modell .aa-modell-bild .wp-block-post-featured-image { background: var(--wp--preset--color--bildgrund); border: 0; border-radius: 6px; }
.single-aa_modell .aa-modell-bild .wp-block-post-featured-image img { background: transparent; }
.aa-hauptbild-freisteller img,
.aa-galerie img.aa-freisteller { mix-blend-mode: multiply; }
.single-aa_modell .aa-galerie { grid-template-columns: repeat(auto-fill, 96px); gap: 10px; margin-top: 10px; }
.single-aa_modell .aa-galerie img { width: 96px; height: 96px; background: var(--wp--preset--color--bildgrund); border: 1px solid transparent; border-radius: 6px; }
.single-aa_modell .aa-galerie a[aria-current] img { border-color: var(--wp--preset--color--text); }
@media (min-width: 782px) {
	/* Bild bleibt beim Scrollen neben der Kaufbox stehen, statt eine Leerfläche zu lassen */
	.aa-modell-kopf > .aa-modell-bild { position: sticky; top: 96px; align-self: flex-start; }
}

/* Material-Karten: gewählt = schwarzer Rahmen, Off-White, Häkchen; gleiche Ecken wie Bild */
.aa-kaufbox .aa-material-wahl a { position: relative; border-radius: 6px; }
.aa-kaufbox .aa-material-wahl a[aria-current] {
	background: var(--wp--preset--color--flaeche);
	color: var(--wp--preset--color--text);
	border-color: var(--wp--preset--color--text);
	box-shadow: inset 0 0 0 0.5px var(--wp--preset--color--text);
}
.aa-kaufbox .aa-material-wahl a[aria-current] .aa-wahl-preis { color: var(--wp--preset--color--text); opacity: 1; }
.aa-kaufbox .aa-material-wahl a[aria-current]::after { content: "✓"; position: absolute; top: 6px; right: 10px; font-size: 0.875rem; line-height: 1; }
.aa-kaufbox .aa-groessen-hinweis { margin-top: 0; }

/* Entwurf-Block A: kein Kasten, nur Haarlinien und Abstand; der schwarze Knopf trägt die Betonung */
.aa-entwurf-block {
	margin-top: var(--wp--preset--spacing--40);
	padding: 28px 0;
	background: none;
	border-top: 1px solid var(--wp--preset--color--linie);
	border-bottom: 1px solid var(--wp--preset--color--linie);
	border-radius: 0;
}
.aa-entwurf-block .aa-entwurf-versprechen { font-size: 1.125rem; line-height: 1.5; margin: 0 0 18px; }
.aa-entwurf-kontakt { border-top-color: var(--wp--preset--color--linie-zart); }

/* Eine einzelne Frage ist eine normale Zeile in „Gut zu wissen“: Frage über der Antwort, volle Breite */
.aa-gut-zu-wissen .aa-modell-fakten > .aa-fakt-frage { grid-template-columns: 1fr; gap: 4px; }
.aa-fakt-frage dd p { margin: 0; }

/* Alternativen im selben Rhythmus wie die Lesespalte */
.aa-modell-weiter { padding-top: var(--wp--preset--spacing--60); border-top: 1px solid var(--wp--preset--color--linie-zart); }
.aa-modell-fragen + .aa-modell-weiter { border-top: 0; padding-top: 0; }
.aa-alternativen h2 { margin-top: 0; margin-bottom: var(--wp--preset--spacing--30); }

/* Mobil: Material als Liste (Name links, Preis rechts), nichts bricht um */
@media (max-width: 781px) {
	.aa-kaufbox .aa-material-wahl { flex-direction: column; gap: 8px; }
	.aa-kaufbox .aa-material-wahl a { flex: none; flex-direction: row; align-items: center; justify-content: space-between; min-height: 52px; padding: 8px 40px 8px 16px; }
	.aa-kaufbox .aa-material-wahl a[aria-current]::after { top: 50%; transform: translateY(-50%); right: 14px; }
	.aa-entwurf-block { padding: 24px 0; }
	.single-aa_modell .aa-galerie { grid-template-columns: repeat(auto-fill, 80px); }
	.single-aa_modell .aa-galerie img { width: 80px; height: 80px; }
}
/* multiply braucht den Bildgrund unter dem Bild, nicht am Bild selbst */
.single-aa_modell .aa-galerie a { display: block; background: var(--wp--preset--color--bildgrund); border-radius: 6px; }
.single-aa_modell .aa-galerie img { background: transparent; }
.aa-entwurf-block .aa-entwurf-kontakt { border-top: 0; padding-top: 0; margin-top: 12px; }

/* ===================== Materialfilter und Materialpunkte (25.11.2026) ===================== */
/* Filter über den Karten einer Produktform: wie die Chips im Sortiment, als Links */
.aa-materialfilter { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: var(--wp--preset--spacing--40) !important; margin-bottom: var(--wp--preset--spacing--40) !important; }
.aa-materialfilter .aa-filter-titel { margin: 0; font-weight: 600; font-size: 1rem; }
.aa-materialfilter .aa-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; box-sizing: border-box; text-decoration: none; font-size: 1rem; }
.aa-materialfilter .aa-chip:hover { border-color: var(--wp--preset--color--text); }
.aa-site .aa-materialfilter .aa-chip[aria-current] { border-color: var(--wp--preset--color--text); background: var(--wp--preset--color--text); color: var(--wp--preset--color--hintergrund); }
.aa-site .aa-materialfilter .aa-chip[aria-current] .aa-chip-zahl { color: inherit; opacity: .8; }
.aa-materialfilter .aa-chip:focus-visible,
.aa-punkt:focus-visible { outline: 2px solid var(--wp--preset--color--text); outline-offset: 2px; }
main[aria-busy="true"] .aa-uebersicht { opacity: .6; transition: opacity .15s; }

/* Materialpunkte unter dem Namen: 14 px sichtbar, 24 px Klickfläche */
.aa-punkte { display: flex; gap: 2px; margin: 4px 0 0 -5px; }
.aa-punkt { position: relative; display: inline-block; width: 24px; height: 24px; border-radius: 50%; }
.aa-punkt::before { content: ""; position: absolute; inset: 5px; border-radius: 50%; border: 1px solid rgba(41, 42, 40, .25); background: var(--aa-punkt-farbe, #ccc); }
.aa-punkt[aria-current]::before { box-shadow: 0 0 0 1.5px #fff, 0 0 0 2.5px var(--wp--preset--color--text); }
.aa-punkt-cortenstahl { --aa-punkt-farbe: #9a4b26; }
.aa-punkt-edelstahl { --aa-punkt-farbe: linear-gradient(135deg, #e3e5e7, #9da1a5); }
.aa-punkt-farbig { --aa-punkt-farbe: conic-gradient(#5b6b55, #b9a27a, #c4572c, #7d8a96, #3d4446, #5b6b55); } /* wie der RAL-Farbkreis */
.aa-punkt-naturstein { --aa-punkt-farbe: #b3aa9b; }
.aa-punkt-glaskeramik { --aa-punkt-farbe: linear-gradient(135deg, #14264d, #2f5fa8 45%, #9cc3ee 60%, #2f5fa8 75%, #14264d); } /* blau schimmernd wie im Logo */
.aa-punkt-recycling { --aa-punkt-farbe: #6f7d6a; }
/* Sortiment: Punkte stehen unter dem Kartenlink (kein Link im Link) */
.aa-sort-karte .aa-punkte { margin-top: 2px; }

/* Kartenraster der Übersichten (Block aa/modell-karten): eine Karte je Ausführung in „Alle“ */
.aa-karten-raster { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--wp--preset--spacing--40) 24px; margin: 0; padding: 0; list-style: none; }
@media (max-width: 1100px) { .aa-karten-raster { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 781px) { .aa-karten-raster { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; } }
.aa-karten-raster .aa-karte .wp-block-post-title { margin: 12px 0 0; }
.aa-karten-raster .aa-karte .aa-preis { margin: 2px 0 0; }

/* ===================== Vollbildansicht der Modellbilder (25.11.2026) ===================== */
.aa-hauptbild { position: relative; cursor: zoom-in; }
.aa-zoom-knopf {
	position: absolute; right: 12px; bottom: 12px;
	display: inline-flex; align-items: center; justify-content: center;
	width: 44px; height: 44px; padding: 0;
	background: rgba(255, 255, 255, .92); color: var(--wp--preset--color--text);
	border: 1px solid var(--wp--preset--color--linie); border-radius: 50%; cursor: pointer;
}
.aa-zoom-knopf:hover { border-color: var(--wp--preset--color--text); }
.aa-zoom-knopf:focus-visible { outline: 2px solid var(--wp--preset--color--text); outline-offset: 2px; }
.aa-zoom-knopf[hidden] { display: none; }

html.aa-lb-offen { overflow: hidden; }
.aa-lightbox {
	width: 100vw; height: 100dvh; max-width: none; max-height: none;
	margin: 0; padding: 0; border: 0;
	background: #fff; color: var(--wp--preset--color--text);
}
.aa-lightbox::backdrop { background: rgba(255, 255, 255, .96); }
.aa-lb-buehne { position: absolute; inset: 64px 72px 56px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.aa-lb-buehne img { max-width: 100%; max-height: 100%; object-fit: contain; cursor: zoom-in; user-select: none; }
.aa-lightbox.ist-gross .aa-lb-buehne { inset: 0; overflow: auto; display: block; }
.aa-lightbox.ist-gross .aa-lb-buehne img { max-width: none; max-height: none; cursor: zoom-out; }
.aa-lb-zu, .aa-lb-zurueck, .aa-lb-weiter {
	position: absolute; z-index: 2;
	display: inline-flex; align-items: center; justify-content: center;
	width: 48px; height: 48px; padding: 0;
	background: #fff; color: var(--wp--preset--color--text);
	border: 1px solid var(--wp--preset--color--linie); border-radius: 50%;
	font: 300 1.75rem/1 var(--wp--preset--font-family--sans); cursor: pointer;
}
.aa-lb-zu:hover, .aa-lb-zurueck:hover, .aa-lb-weiter:hover { border-color: var(--wp--preset--color--text); }
.aa-lb-zu:focus-visible, .aa-lb-zurueck:focus-visible, .aa-lb-weiter:focus-visible { outline: 2px solid var(--wp--preset--color--text); outline-offset: 2px; }
.aa-lb-zu { top: 12px; right: 12px; }
.aa-lb-zurueck { left: 12px; top: 50%; transform: translateY(-50%); }
.aa-lb-weiter { right: 12px; top: 50%; transform: translateY(-50%); }
.aa-lb-zahl { position: absolute; left: 0; right: 0; bottom: 16px; margin: 0; text-align: center; font-size: 1rem; color: var(--wp--preset--color--text-gedaempft); }
.aa-lightbox.ist-einzeln .aa-lb-zurueck, .aa-lightbox.ist-einzeln .aa-lb-weiter { display: none; }
.aa-lightbox.ist-gross .aa-lb-zurueck, .aa-lightbox.ist-gross .aa-lb-weiter, .aa-lightbox.ist-gross .aa-lb-zahl { display: none; }
@media (max-width: 781px) {
	.aa-lb-buehne { inset: 64px 8px 64px; }
	.aa-lb-zurueck, .aa-lb-weiter { top: auto; bottom: 8px; transform: none; }
	.aa-lb-zahl { bottom: 22px; }
}

/* Foto (Landschaft) im Hauptbild: ganz zeigen, frei auf Weiß statt auf der grauen Bildfläche (kein Beschnitt, keine Streifen) */
.single-aa_modell .aa-modell-bild .aa-hauptbild.aa-hauptbild-foto { background: transparent; }
.aa-hauptbild.aa-hauptbild-foto img { object-fit: contain !important; border-radius: 6px; }
/* Hauptbild der Modellseiten: quadratische Bildfläche wie die Bilder selbst (Nutzer 27.11.2026). Nichts wird beschnitten,
   das Bild passt in die erste Bildschirmhöhe. Grabtafeln: Maßstab-Foto füllt die Fläche. */
.single-aa_modell main .wp-block-columns > .wp-block-column:first-child .wp-block-post-featured-image.aa-hauptbild { aspect-ratio: auto !important; width: 100% !important; max-width: calc(100vh - 260px) !important; height: auto !important; max-height: none !important; margin-inline: auto; overflow: hidden; }
.single-aa_modell main .wp-block-columns > .wp-block-column:first-child .wp-block-post-featured-image.aa-hauptbild img { position: static; display: block; width: 100% !important; height: auto !important; aspect-ratio: 1 / 1 !important; max-height: none !important; object-fit: contain !important; }
.single-aa_modell main .wp-block-columns > .wp-block-column:first-child .wp-block-post-featured-image.aa-hauptbild-tafel img { object-fit: cover !important; border-radius: inherit; }
/* Konfigurator: Produktfoto unter der Zeichnung */
.aa-konf-foto { margin: 24px 0 0; }
.aa-konf-foto img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 6px; background: var(--wp--preset--color--bildgrund); }
.aa-konf-foto figcaption { margin-top: 8px; color: var(--wp--preset--color--text-gedaempft); font-size: 0.8125rem; }
/* Hinweis zu den RAL-Farbtönen unter der Materialwahl */
.aa-ral-hinweis { display: flex; align-items: flex-start; gap: 10px; margin: 12px 0 4px; padding: 12px 14px; border-radius: 6px; background: var(--wp--preset--color--flaeche); color: var(--wp--preset--color--text); font-size: 0.9375rem; line-height: 1.45; }
.aa-ral-hinweis strong { font-weight: 600; }
.aa-ral-kreis { flex: 0 0 18px; width: 18px; height: 18px; margin-top: 1px; border-radius: 50%; background: conic-gradient(#5b6b55, #b9a27a, #c4572c, #7d8a96, #3d4446, #5b6b55); }

/* Materialfilter: Überschrift über den Chips, Chips bündig und gleich groß wie die Kategorie-Leiste darüber */
.aa-materialfilter { display: block; }
.aa-materialfilter .aa-filter-titel { display: block; margin: 0 0 8px; }
.aa-materialfilter .aa-chips-zeile { display: flex; flex-wrap: wrap; gap: 8px; }
.aa-materialfilter .aa-chip { min-height: 40px; padding: 8px 16px; font-size: 0.9375rem; }

/* Bilder im Materialton füllen die Karte (eigener Hintergrund, sonst Quadrat mit weißen Rändern in der Hochformat-Karte) */
.aa-karte img.aa-bild-farbe,
.aa-sort-karte img.aa-bild-farbe,
.aa-alternativen img.aa-bild-farbe { object-fit: cover !important; }

/* Startseite: sechs Kategorien in 3 + 3, „Ganz individuell“ als dunkles Band darunter (26.11.2026) */
@media (min-width: 782px) { .aa-site .aa-hub { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 40px 28px !important; } }
.aa-hub-band { box-sizing: border-box; display: flex; align-items: center; gap: 20px; margin-top: var(--wp--preset--spacing--50); padding: 22px 28px; border-radius: 14px; background: var(--wp--preset--color--text); color: #fff !important; text-decoration: none !important; transition: background 300ms; }
.aa-hub-band:hover { background: #3a3b38; }
.aa-hub-band-symbol { display: grid; flex: none; place-items: center; width: 52px; height: 52px; border: 1px solid rgba(255, 255, 255, 0.35); border-radius: 50%; }
.aa-hub-band-text { display: flex; flex: 1; flex-direction: column; gap: 2px; min-width: 0; }
.aa-hub-band-text strong { font-family: var(--wp--preset--font-family--serif); font-size: var(--wp--preset--font-size--xl); font-weight: 350; line-height: 1.2; }
.aa-hub-band-text span { color: rgba(255, 255, 255, 0.75); font-size: 0.9375rem; line-height: 1.45; }
.aa-hub-band-knopf { box-sizing: border-box; flex: none; padding: 12px 22px; border-radius: 999px; background: #fff; color: var(--wp--preset--color--text); font-weight: 500; white-space: nowrap; }
@media (max-width: 781px) {
	.aa-hub-band { flex-wrap: wrap; gap: 14px; padding: 20px; }
	.aa-hub-band-symbol { width: 44px; height: 44px; }
	.aa-hub-band-text { flex-basis: calc(100% - 64px); }
	.aa-hub-band-knopf { flex-basis: 100%; text-align: center; }
}

/* Überschriften-Hierarchie (26.11.2026): Footer- und Cookie-Titel sind keine h2 mehr, sehen aber gleich aus */
.aa-fuss-titel { margin: 0; font-family: var(--wp--preset--font-family--serif); font-weight: 350; line-height: 1.12; letter-spacing: -0.01em; }
.aa-einw-titel { letter-spacing: -0.01em; }

/* ---------- Mobiler Feinschliff (Review 26.11.2026), nur Handy ---------- */
.aa-nur-mobil { display: none; }
@media (max-width: 767px) {
	.aa-nur-mobil { display: block; }

	/* A3: Vorteile unter dem Hero gleichmäßig – alle Titel zweizeilig ausgeglichen */
	/* einzeilig unmöglich (223 px Text, 165 px Spalte): ausgeglichen umbrechen und die Untertitel der ersten Reihe bündig halten */
	.aa-leiste strong { display: inline-block; text-wrap: balance; }
	.aa-leiste .wp-block-column:nth-child(-n+2) strong { min-height: 2.7em; min-height: 2lh; }

	/* A4: Sortiment-Kacheln: Titel reservieren zwei Zeilen, Untertitel stehen auf gleicher Höhe */
	.aa-site .aa-hub .aa-hub-name { min-height: 2.4em; }

	/* A5: Chips 2 × 2, gleich breit (die Trennpunkte zwischen den Links haben Schriftgröße 0) */
	.home .aa-hub-material a { flex: 0 0 calc(50% - 5px); justify-content: center; box-sizing: border-box; }
	.home .aa-hub-material a:nth-of-type(odd) { margin-right: 10px; }

	/* A6: „Alle Modelle ansehen“ im Sortiment als Textlink unter dem Raster, wie bei „Ausgewählte Modelle“ */
	.aa-start-sortiment .wp-block-buttons { display: none; }

	/* A7: Stele vor dem Baum nicht am Rand anschneiden */
	.aa-eindruck-bild img { object-position: 30% center; }

	/* A8: „19 Google-Rezensionen“ nicht am Bindestrich trennen */
	.aa-eindruck-wert a { white-space: nowrap; }

	/* A9: Einfassung: Abstand zwischen gestapelten Spalten */
	.aa-site .aa-start-einfassung.wp-block-columns { row-gap: 28px; }

	/* A10: Ratgeber-Teaser: dritte Karte über die ganze Breite */
	.aa-ratgeber-karten > li:last-child:nth-child(odd) { grid-column: 1 / -1; }

	/* A11: Häufige Fragen: eigener Pfeil rechts, Trennlinien, 48 px Tippfläche */
	.wp-block-details { border-bottom: 1px solid var(--wp--preset--color--linie, #dcdad4); }
	.wp-block-details summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 48px; list-style: none; cursor: pointer; }
	.wp-block-details summary::-webkit-details-marker { display: none; }
	.wp-block-details summary::marker { content: ""; }
	.wp-block-details summary::after { content: ""; flex: none; width: 8px; height: 8px; margin-right: 4px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translate(-2px, -2px); transition: transform 200ms; }
	.wp-block-details[open] > summary::after { transform: rotate(-135deg) translate(-2px, -2px); }

	/* C1: Materialpunkte: Tippfläche 44 px, Optik unverändert */
	.aa-punkt::after { content: ""; position: absolute; inset: -10px; }

	/* C2: Preiszeile: Zusatz („in Cortenstahl, inkl. MwSt.“) in eigener Zeile */
	.aa-karte .aa-preis small { display: block; }

	/* C3: Karten ohne Materialpunkte: gleicher Abstand Titel → Preis wie mit Punkten (4 px + 24 px) */
	.aa-karte .wp-block-post-title + .aa-preis { margin-top: 30px; }

	/* C4: Ganze Karte klickbar über den Titel-Link; Materialpunkte bleiben einzeln tippbar */
	.aa-karten-raster .aa-karte { position: relative; }
	.aa-karten-raster .aa-karte .wp-block-post-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
	.aa-karten-raster .aa-karte .aa-punkte { position: relative; z-index: 2; }

	/* C6: Grabtafeln: Maßstab-Foto enger auf die Tafel */
	.term-grabtafeln .aa-karte .wp-block-post-featured-image { overflow: hidden; }
	.term-grabtafeln .aa-karte .wp-block-post-featured-image img { transform: scale(1.45); transform-origin: 50% 55%; }

	/* C7: Urnengrab: Namenspräfix „Urnengrabanlage“ nur optisch ausblenden (bleibt für Screenreader) */
	.term-urnengrab .aa-titel-praefix { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

	/* C8: Einfassungen: Abstand nach der Kategorie-Zeile auf das Sektionsmaß */
	/* Abstand steht als Inline-Stil (var(--wp--preset--spacing--70)): die Variable an dieser Stelle auf das Sektionsmaß setzen */
	.term-grabeinfassungen .aa-katleiste + .wp-block-columns { --wp--preset--spacing--70: 48px; }

	/* C9: Chipzeilen: Verlauf rechts als Hinweis, dass man wischen kann */
	.aa-katleiste { -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 24px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 24px), transparent); }

	/* D1: Über uns: Lücke zwischen Bildunterschrift und Faktenliste */
	.aa-ueber-einstieg + .aa-fakten-leiste { margin-top: -48px; padding-top: 24px; }

	/* D2: Kontakt: Telefon, E-Mail, WhatsApp, Instagram mit 44 px Tippfläche */
	.aa-kontaktblock a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; }

	/* D4: Ablauf: Trennlinie und Luft vor jedem Schritt */
	.aa-schritt-titel { margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--wp--preset--color--linie, #dcdad4); }
}

/* ---------- Handy-Menü (Mobil-Review Block B, 26.11.2026): Akkordeon, Entwurf und Kontakt oben ---------- */
.aa-menue-kontaktzeile { display: none; }
.aa-kopf .is-menu-open .wp-block-navigation__container { display: flex; flex-direction: column; }
.aa-kopf .is-menu-open .aa-menue-cta { order: -2; margin-bottom: 4px; }
.aa-kopf .is-menu-open .aa-menue-kontaktzeile { order: -1; display: flex; gap: 20px; margin-bottom: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--wp--preset--color--linie, #dcdad4); }
/* Spezifisch genug für die Regel des Navigationsblocks (Einträge im Overlay untereinander) */
.aa-kopf .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__container li.aa-menue-kontaktzeile { flex-direction: row; align-items: center; gap: 24px; }
.aa-kopf .is-menu-open .aa-menue-kontaktzeile a { display: inline-flex; align-items: center; min-height: 44px; padding: 0; color: inherit; font-family: var(--wp--preset--font-family--sans); font-size: 0.9375rem; font-weight: 500; text-decoration: underline; text-underline-offset: 4px; }
.aa-kopf .is-menu-open .aa-menue-doppelt { display: none; }
.aa-kopf .is-menu-open .wp-block-navigation-submenu > .wp-block-navigation-item__content { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 48px; }
.aa-kopf .is-menu-open .wp-block-navigation-submenu > .wp-block-navigation-item__content::after { content: ""; flex: none; width: 9px; height: 9px; margin-right: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translate(-2px, -2px); transition: transform 200ms; }
.aa-kopf .is-menu-open .wp-block-navigation-submenu.aa-auf > .wp-block-navigation-item__content::after { transform: rotate(-135deg) translate(-2px, -2px); }
.aa-kopf .is-menu-open .wp-block-navigation-submenu:not(.aa-auf) > .wp-block-navigation__submenu-container { display: none; }
/* B3: Fokusrahmen rund und mit Abstand */
/* Beim Öffnen setzt WordPress den Fokus per Skript: ohne Tastatur kein Rahmen, mit Tastatur rund und mit Abstand */
.aa-kopf .is-menu-open a:focus:not(:focus-visible), .aa-kopf .is-menu-open button:focus:not(:focus-visible) { outline: none; }
.aa-kopf .is-menu-open a:focus-visible, .aa-kopf .is-menu-open button:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; border-radius: 8px; }

/* ===================== Logo: „ANDERS“ in der Materialfarbe der Seite (Entscheidung 27.11.2026) ===================== */
.aa-logo-svg { display: block; }
.aa-logo-anders { fill: var(--aa-logo-anders, #929292); transition: fill 300ms ease; }
.aa-logo-farbe.aa-material-cortenstahl { --aa-logo-anders: #9a4b26; }
.aa-logo-farbe.aa-material-edelstahl { --aa-logo-anders: #8a8f94; }
.aa-logo-farbe.aa-material-glaskeramik { --aa-logo-anders: url(#aa-logo-glas); }
.aa-logo-farbe.aa-material-naturstein { --aa-logo-anders: #a89d8b; }
.aa-logo-farbe.aa-material-farbig { --aa-logo-anders: url(#aa-logo-verlauf); }
@media (prefers-reduced-motion: reduce) { .aa-logo-anders { transition: none; } }

/* ===================== Filter mit Symbolen (Test 27.11.2026) ===================== */
/* Produktart: dieselben Strich-Icons wie im Aufklappmenü; Material: Kreise wie die Materialpunkte auf den Karten */
.aa-chip[data-gruppe="art"][data-wert]:not([data-wert=""]), .aa-chip[data-gruppe="material"][data-wert]:not([data-wert=""]),
.aa-katleiste a:not([href$="/modelle/"]), .aa-materialfilter a.aa-chip[href*="material="] { display: inline-flex; align-items: center; gap: 8px; }
.aa-chip[data-gruppe="art"][data-wert]:not([data-wert=""])::before, .aa-katleiste a:not([href$="/modelle/"])::before { content: ""; flex: 0 0 18px; width: 18px; height: 18px; background-position: center; background-size: 18px 18px; background-repeat: no-repeat; }
.aa-chip[data-gruppe="art"][aria-pressed="true"]::before, .aa-katleiste a[aria-current]::before { filter: invert(1); }
.aa-chip[data-gruppe="material"][data-wert]:not([data-wert=""])::before, .aa-materialfilter a.aa-chip[href*="material="]::before { content: ""; flex: 0 0 12px; width: 12px; height: 12px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12); }
.aa-chip[data-gruppe="material"][aria-pressed="true"]::before, .aa-materialfilter a.aa-chip[aria-current]::before { box-shadow: 0 0 0 1.5px var(--wp--preset--color--hintergrund); }
.aa-chip[data-gruppe="art"][data-wert="grabmale"]::before, .aa-katleiste a[href$="/grabmale/"]::before, .aa-badge a[href$="/grabmale/"]::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23292A28' stroke-width='1.5' stroke-linejoin='round' stroke-linecap='round'%3E%3Crect x='8' y='3.5' width='8' height='14' rx='1'/%3E%3Cpath d='M5 20.5h14M6.5 17.5h11v3h-11z'/%3E%3C/svg%3E"); }
.aa-chip[data-gruppe="art"][data-wert="grababdeckungen"]::before, .aa-katleiste a[href$="/grababdeckungen/"]::before, .aa-badge a[href$="/grababdeckungen/"]::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23292A28' stroke-width='1.5' stroke-linejoin='round' stroke-linecap='round'%3E%3Cpath d='M3.5 15.5l5-6h12l-5 6z'/%3E%3Cpath d='M3.5 15.5v2h12v-2M15.5 17.5l5-6v-2'/%3E%3C/svg%3E"); }
.aa-chip[data-gruppe="art"][data-wert="grabkissen"]::before, .aa-katleiste a[href$="/grabkissen/"]::before, .aa-badge a[href$="/grabkissen/"]::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23292A28' stroke-width='1.5' stroke-linejoin='round' stroke-linecap='round'%3E%3Cpath d='M5 16.5l2.5-7a2 2 0 0 1 1.9-1.4h5.2a2 2 0 0 1 1.9 1.4l2.5 7z'/%3E%3Cpath d='M3.5 19.5h17'/%3E%3C/svg%3E"); }
.aa-chip[data-gruppe="art"][data-wert="urnengrab"]::before, .aa-katleiste a[href$="/urnengrab/"]::before, .aa-badge a[href$="/urnengrab/"]::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23292A28' stroke-width='1.5' stroke-linejoin='round' stroke-linecap='round'%3E%3Crect x='3.5' y='6.5' width='17' height='12' rx='1'/%3E%3Crect x='9' y='9.5' width='6' height='6'/%3E%3C/svg%3E"); }
.aa-chip[data-gruppe="art"][data-wert="grabeinfassungen"]::before, .aa-katleiste a[href$="/grabeinfassungen/"]::before, .aa-badge a[href$="/grabeinfassungen/"]::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23292A28' stroke-width='1.5' stroke-linejoin='round' stroke-linecap='round'%3E%3Crect x='3.5' y='5.5' width='17' height='13' rx='1'/%3E%3Crect x='6' y='8' width='12' height='8' rx='0.5'/%3E%3C/svg%3E"); }
.aa-chip[data-gruppe="art"][data-wert="grabtafeln"]::before, .aa-katleiste a[href$="/grabtafeln/"]::before, .aa-badge a[href$="/grabtafeln/"]::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23292A28' stroke-width='1.5' stroke-linejoin='round' stroke-linecap='round'%3E%3Crect x='10' y='3.5' width='4' height='12' rx='0.8'/%3E%3Cpath d='M12 15.5v4.5M8 20.5h8'/%3E%3C/svg%3E"); }
.aa-chip[data-gruppe="material"][data-wert="cortenstahl"]::before, .aa-materialfilter a.aa-chip[href*="material=cortenstahl"]::before { background: #9a4b26; }
.aa-chip[data-gruppe="material"][data-wert="edelstahl"]::before, .aa-materialfilter a.aa-chip[href*="material=edelstahl"]::before { background: linear-gradient(135deg, #e3e5e7, #9da1a5); }
.aa-chip[data-gruppe="material"][data-wert="farbig"]::before, .aa-materialfilter a.aa-chip[href*="material=farbig"]::before { background: conic-gradient(#5b6b55, #b9a27a, #c4572c, #7d8a96, #3d4446, #5b6b55); }
.aa-chip[data-gruppe="material"][data-wert="glaskeramik"]::before, .aa-materialfilter a.aa-chip[href*="material=glaskeramik"]::before { background: linear-gradient(135deg, #14264d, #2f5fa8 45%, #9cc3ee 60%, #2f5fa8 75%, #14264d); }
.aa-chip[data-gruppe="material"][data-wert="naturstein"]::before, .aa-materialfilter a.aa-chip[href*="material=naturstein"]::before { background: #b3aa9b; }

/* Materialseiten: Leiste mit denselben Materialkreisen wie der Filter auf „Alle Modelle“ (28.11.2026) */
.aa-katleiste a[href*="/material/"]::before { flex: 0 0 12px; width: 12px; height: 12px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12); filter: none !important; }
.aa-katleiste a[href*="/material/"][aria-current]::before { box-shadow: 0 0 0 1.5px var(--wp--preset--color--hintergrund); }
.aa-katleiste a[href*="/material/cortenstahl/"]::before { background: #9a4b26; }
.aa-katleiste a[href*="/material/edelstahl/"]::before { background: linear-gradient(135deg, #e3e5e7, #9da1a5); }
.aa-katleiste a[href*="/material/farbig/"]::before { background: conic-gradient(#5b6b55, #b9a27a, #c4572c, #7d8a96, #3d4446, #5b6b55); }
.aa-katleiste a[href*="/material/glaskeramik/"]::before { background: linear-gradient(135deg, #14264d, #2f5fa8 45%, #9cc3ee 60%, #2f5fa8 75%, #14264d); }
.aa-katleiste a[href*="/material/naturstein/"]::before { background: #b3aa9b; }

/* ===================== Eigenes Handy-Menü (inc/menue-mobil.php, assets/menue-mobil.js) ===================== */
.aa-mm { position: fixed; inset: 0; z-index: 100000; display: flex; flex-direction: column; height: 100vh; height: 100dvh; background: var(--wp--preset--color--hintergrund); color: var(--wp--preset--color--text); opacity: 0; transform: translateY(-8px); transition: opacity 200ms ease, transform 200ms ease; }
.aa-mm[hidden] { display: none; }
.aa-mm.ist-offen { opacity: 1; transform: none; }
html.aa-mm-offen, html.aa-mm-offen body { overflow: hidden; }
/* Solange das Menü offen ist: keine Kontaktleiste, kein Warenkorb-Link */
html.aa-mm-offen .aa-mobilleiste { display: none !important; }
/* Kopf: gleiche Höhe wie der Seitenkopf */
.aa-mm-kopf { flex: 0 0 auto; display: flex; align-items: center; justify-content: space-between; min-height: 63px; padding: 0 var(--wp--style--root--padding-right, 20px) 0 var(--wp--style--root--padding-left, 20px); border-bottom: 1px solid var(--wp--preset--color--linie-zart); box-sizing: border-box; }
.aa-mm-logo { display: inline-flex; align-items: center; min-height: 44px; }
.aa-mm-logo .custom-logo { display: block; max-width: none; }
.aa-mm-zu { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-right: -10px; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--wp--preset--color--text); cursor: pointer; }
/* Navigation scrollt, Kopf und Fuß bleiben stehen */
.aa-mm-nav { flex: 1 1 auto; overflow-y: auto; overscroll-behavior: contain; padding: 8px var(--wp--style--root--padding-right, 20px) 24px var(--wp--style--root--padding-left, 20px); }
.aa-mm-nav ul { margin: 0; padding: 0; list-style: none; }
.aa-mm-haupt > li { border-bottom: 1px solid var(--wp--preset--color--linie); }
.aa-mm-zeile { display: flex; align-items: center; justify-content: space-between; gap: 12px; box-sizing: border-box; width: 100%; min-height: 56px; margin: 0; padding: 0; border: 0; background: none; color: var(--wp--preset--color--text); font-family: var(--wp--preset--font-family--serif); font-size: 1.3125rem; font-weight: 400; line-height: 1.2; letter-spacing: 0; text-align: left; text-decoration: none; cursor: pointer; }
.aa-mm-chevron { flex: 0 0 20px; transition: transform 200ms ease; }
.aa-mm-zeile[aria-expanded="true"] .aa-mm-chevron { transform: rotate(180deg); }
/* Unterpunkte: kleiner, eingerückt, ohne eigene Linien */
.aa-mm-unter { padding: 0 0 12px 16px !important; }
.aa-mm-unter a { display: flex; align-items: center; gap: 8px; min-height: 44px; color: var(--wp--preset--color--text); font-family: var(--wp--preset--font-family--sans); font-size: 1rem; text-decoration: none; }
.aa-mm-alle a { font-weight: 600; }
.aa-mm-pfeil { font-weight: 400; }
/* Nebengruppe */
.aa-mm-neben { margin-top: 20px !important; padding-top: 8px !important; }
.aa-mm-neben a { display: flex; align-items: center; gap: 8px; min-height: 44px; color: var(--wp--preset--color--text-gedaempft); font-family: var(--wp--preset--font-family--sans); font-size: 1rem; text-decoration: none; }
/* Aktuelle Seite: kleiner Punkt links */
.aa-mm a.aa-mm-aktuell::before { content: ""; flex: 0 0 6px; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.aa-mm .aa-mm-zeile.aa-mm-aktuell { justify-content: flex-start; gap: 10px; }
.aa-mm-neben a.aa-mm-aktuell { color: var(--wp--preset--color--text); }
.aa-mm a:focus-visible, .aa-mm button:focus-visible { outline: 2px solid var(--wp--preset--color--text); outline-offset: 2px; border-radius: 4px; }
/* Fester Fuß: Entwurf in voller Breite, darunter Anrufen und WhatsApp */
.aa-mm-fuss { flex: 0 0 auto; display: grid; gap: 10px; padding: 12px var(--wp--style--root--padding-right, 20px) calc(12px + env(safe-area-inset-bottom, 0px)) var(--wp--style--root--padding-left, 20px); border-top: 1px solid var(--wp--preset--color--linie); background: var(--wp--preset--color--hintergrund); }
.aa-mm-fuss .wp-block-button { margin: 0; }
.aa-mm-fuss .wp-block-button__link { display: flex; align-items: center; justify-content: center; gap: 8px; box-sizing: border-box; width: 100%; min-height: 48px; }
.aa-mm-cta .wp-block-button__link { min-height: 52px; }
.aa-mm-wege { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.aa-mm-wege .aa-symbol { width: 18px; height: 18px; }
.aa-mm-wege .wp-block-button__link { padding-left: 12px !important; padding-right: 12px !important; white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { .aa-mm, .aa-mm-chevron { transition: none; } }
@media (min-width: 901px) { .aa-mm { display: none !important; } }

/* Vorteile unter dem Hero auf dem Handy: graues Band entfällt, Häkchen im dunklen Hero, „Modelle ansehen“ als Umriss-Knopf
   (Entscheidung 27.11.2026 aus vier Varianten; Desktop zeigt weiter das Band) */
.aa-hero-haken { display: none; }
@media (max-width: 781px) {
	.home .aa-leiste { display: none; }
	.aa-a-einstieg-text .wp-block-buttons { flex-direction: column; align-items: stretch; gap: 10px; }
	.aa-a-einstieg-text .wp-block-button { width: 100%; }
	.aa-a-einstieg-text .wp-block-button__link { display: block; width: 100%; text-align: center; }
	.aa-site .aa-a-einstieg-text .aa-knopf-text .wp-block-button__link { padding-inline: 16px; border: 1px solid rgba(255, 255, 255, 0.55) !important; text-decoration: none; }
	.aa-hero-haken { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 18px 0 0; padding: 0; list-style: none; color: rgba(255, 255, 255, 0.88); font-size: 0.8125rem; line-height: 1.3; }
	.aa-hero-haken li { display: flex; gap: 6px; align-items: center; white-space: nowrap; }
	.aa-hero-haken li::before { content: ""; flex: 0 0 15px; height: 15px; background: var(--wp--preset--color--akzent-hell, #d9a066); -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2024%2024'%20fill%3D'none'%20stroke%3D'black'%20stroke-width%3D'1.6'%20stroke-linecap%3D'round'%20stroke-linejoin%3D'round'%3E%3Cpath%20d%3D'M5%2012.5l4.5%204.5L19%207'%2F%3E%3C%2Fsvg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2024%2024'%20fill%3D'none'%20stroke%3D'black'%20stroke-width%3D'1.6'%20stroke-linecap%3D'round'%20stroke-linejoin%3D'round'%3E%3Cpath%20d%3D'M5%2012.5l4.5%204.5L19%207'%2F%3E%3C%2Fsvg%3E") center / contain no-repeat; }
}

/* ===================== Screenshot-Runde 28.11.2026 (Branch screenshot-runde), Paket 1 ===================== */
/* S1 Vorteilsleiste (Desktop): Häkchen vor jedem Vorteil */
@media (min-width: 782px) {
	.aa-leiste .wp-block-column { position: relative; padding-left: 34px; }
	.aa-leiste .wp-block-column::before { content: ""; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; background: var(--wp--preset--color--text); }
	.aa-leiste .wp-block-column::after { content: ""; position: absolute; left: 5px; top: 6px; width: 12px; height: 12px; background: #fff; -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2024%2024'%20fill%3D'none'%20stroke%3D'black'%20stroke-width%3D'2.2'%20stroke-linecap%3D'round'%20stroke-linejoin%3D'round'%3E%3Cpath%20d%3D'M5%2012.5l4.5%204.5L19%207'%2F%3E%3C%2Fsvg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2024%2024'%20fill%3D'none'%20stroke%3D'black'%20stroke-width%3D'2.2'%20stroke-linecap%3D'round'%20stroke-linejoin%3D'round'%3E%3Cpath%20d%3D'M5%2012.5l4.5%204.5L19%207'%2F%3E%3C%2Fsvg%3E") center / contain no-repeat; }
}
/* M2 Kategorie-Etikett der Modellseite mit dem Symbol aus dem Menü */
.aa-badge a { display: inline-flex; align-items: center; gap: 6px; }
.aa-badge a::before { content: ""; flex: 0 0 14px; width: 14px; height: 14px; background-position: center; background-size: 14px 14px; background-repeat: no-repeat; }
/* K3 Nach oben */
.aa-nach-oben { position: fixed; z-index: 55; right: 16px; bottom: 24px; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--wp--preset--color--linie); border-radius: 50%; background: var(--wp--preset--color--hintergrund); color: var(--wp--preset--color--text); box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12); cursor: pointer; }
.aa-nach-oben[hidden] { display: none; }
.aa-nach-oben:hover { background: var(--wp--preset--color--flaeche); }
@media (max-width: 900px) { .aa-nach-oben { bottom: calc(76px + env(safe-area-inset-bottom)); right: 12px; } }
body:has(.aa-modell-leiste.ist-sichtbar) .aa-nach-oben { bottom: 92px; }
@media (max-width: 900px) {
}
/* M1 Pfeile am Hauptbild */
.aa-hauptbild { position: relative; }
.aa-bild-pfeil { position: absolute; top: 50%; z-index: 2; display: none; align-items: center; justify-content: center; width: 40px; height: 40px; margin-top: -20px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.85); color: var(--wp--preset--color--text); box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12); cursor: pointer; opacity: 0.75; transition: opacity 150ms ease; }
.aa-bild-zurueck { left: 10px; }
.aa-bild-weiter { right: 10px; }
.aa-hauptbild.hat-pfeile .aa-bild-pfeil { display: inline-flex; }
.aa-hauptbild:hover .aa-bild-pfeil, .aa-bild-pfeil:focus-visible { opacity: 1; }
/* M7 Mitlaufende Entwurfsleiste (Desktop; auf dem Handy übernimmt die Aktionsleiste unten) */
.aa-modell-leiste { display: none; }
@media (min-width: 901px) {
	.aa-modell-leiste { position: fixed; z-index: 58; left: 50%; bottom: 16px; display: flex; align-items: center; gap: 14px; max-width: min(720px, calc(100vw - 32px)); padding: 8px 8px 8px 10px; border: 1px solid var(--wp--preset--color--linie); border-radius: 999px; background: var(--wp--preset--color--hintergrund); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.14); transform: translate(-50%, 140%); transition: transform 250ms ease; }
	.aa-modell-leiste.ist-sichtbar { transform: translate(-50%, 0); }
	.aa-modell-leiste img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; background: var(--wp--preset--color--bildgrund, #f3f2ef); }
	.aa-ml-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
	.aa-ml-text strong { font-weight: 500; }
	.aa-ml-text span { color: var(--wp--preset--color--text-gedaempft, #6b6b67); font-size: 0.8125rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
	.aa-ml-knopf { flex: 0 0 auto; padding: 10px 18px; border-radius: 999px; background: var(--wp--preset--color--text); color: #fff; font-size: 0.875rem; text-decoration: none; white-space: nowrap; }
	.aa-ml-knopf:hover { opacity: 0.9; }
}
@media (prefers-reduced-motion: reduce) { .aa-modell-leiste { transition: none; } }
/* W1 Showroom: Termin-Knöpfe */
.aa-termin-knoepfe { display: flex; flex-wrap: wrap; gap: 10px; margin-top: var(--wp--preset--spacing--40); }
.aa-termin-knoepfe .wp-block-button__link { display: inline-flex; align-items: center; gap: 8px; }
.aa-termin-knoepfe .aa-symbol { width: 18px; height: 18px; }
/* K1 Handy: Filter immer einzeilig und waagerecht wischbar (nicht die halbe Seite), ohne Zwischentitel (Wunsch 28.11.2026) */
@media (max-width: 900px) {
	main .aa-katleiste, main .aa-materialfilter .aa-chips-zeile, .aa-sortiment .aa-filter .aa-chips-zeile { flex-wrap: nowrap !important; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
	main .aa-katleiste::-webkit-scrollbar, main .aa-chips-zeile::-webkit-scrollbar, .aa-sortiment .aa-filter .aa-chips-zeile::-webkit-scrollbar { display: none; }
	main .aa-chip, main .aa-katleiste a, .aa-sortiment .aa-filter .aa-chip { flex: 0 0 auto; white-space: nowrap; min-height: 0 !important; padding-top: 7px !important; padding-bottom: 7px !important; font-size: 0.875rem !important; line-height: 1.3 !important; }
	main .aa-filter-titel, .aa-sortiment .aa-filter .aa-filter-titel { display: none !important; }
		.aa-sortiment .aa-filter { display: flex; flex-direction: column; gap: 6px; padding-block: 6px; }
	.aa-sortiment .aa-filter > * { margin: 0 !important; }
}

/* K6 FAQ-Stichwort auf dem Handy über der Frage, nie mitten im Wort umbrechen */
.aa-faq-thema { white-space: nowrap; }
@media (max-width: 600px) { .wp-block-details summary:has(.aa-faq-thema) { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 16px; row-gap: 2px; } .wp-block-details summary .aa-faq-thema { display: block; grid-column: 1 / -1; min-width: 0; margin: 0; } }

/* ===================== Screenshot-Runde 28.11.2026, Paket 2 ===================== */
/* S4 „Ganz individuell“: Band mit Foto (Variante „Foto“ gewählt am 28.11.2026) */
.aa-hub-band { min-height: 150px; padding: 32px 36px; background: linear-gradient(90deg, rgba(35, 33, 29, 0.94) 30%, rgba(35, 33, 29, 0.45)), var(--aa-band-foto) center / cover no-repeat, #23211d; }
.aa-hub-band:hover { background: linear-gradient(90deg, rgba(35, 33, 29, 0.9) 30%, rgba(35, 33, 29, 0.3)), var(--aa-band-foto) center / cover no-repeat, #23211d; }
.aa-hub-band-text strong { font-size: 1.75rem; }
@media (max-width: 600px) { .aa-hub-band { padding: 24px 20px; background: linear-gradient(180deg, rgba(35, 33, 29, 0.9), rgba(35, 33, 29, 0.6)), var(--aa-band-foto) center / cover no-repeat, #23211d; } }

/* S5 Modellraster: Knopf darunter, Ansehen beim Darüberfahren */
.aa-raster-knopf { margin-top: var(--wp--preset--spacing--50) !important; gap: 10px; }
.aa-start-karten .wp-block-post-featured-image { position: relative; }
@media (hover: hover) {
	.aa-start-karten .wp-block-post-featured-image a::after { content: "Ansehen \2192"; position: absolute; left: 50%; bottom: 14px; padding: 7px 14px; border-radius: 999px; background: var(--wp--preset--color--text); color: #fff; font-size: 0.8125rem; white-space: nowrap; opacity: 0; transform: translate(-50%, 6px); transition: opacity 200ms ease, transform 200ms ease; pointer-events: none; }
	.aa-start-karten .aa-karte:hover .wp-block-post-featured-image a::after { opacity: 1; transform: translate(-50%, 0); }
}

/* S6 Ablauf auf der Startseite: vier Karten mit Bild und Nummer (Handy: wischbar) */
.aa-ablauf-karten { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin: var(--wp--preset--spacing--50) 0 0; padding: 0; list-style: none; }
.aa-ablauf-karte { position: relative; display: flex; flex-direction: column; gap: 6px; }
.aa-ablauf-karte figure { margin: 0 0 10px; overflow: hidden; border-radius: 14px; aspect-ratio: 4 / 3; background: var(--wp--preset--color--flaeche); }
.aa-ablauf-karte img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms ease; }
.aa-ablauf-karte:hover img { transform: scale(1.04); }
.aa-ablauf-nr { position: relative; z-index: 1; display: inline-grid; place-items: center; width: 36px; height: 36px; margin-top: -32px; margin-left: 14px; border: 3px solid var(--wp--preset--color--hintergrund); border-radius: 50%; background: var(--wp--preset--color--text); color: #fff; font-size: 0.875rem; font-weight: 600; }
.aa-ablauf-karte strong { margin-top: 4px; font-family: var(--wp--preset--font-family--serif); font-size: var(--wp--preset--font-size--xl); font-weight: 350; line-height: 1.2; }
.aa-ablauf-karte > span:last-child { color: var(--wp--preset--color--text-gedaempft); font-size: 0.9375rem; line-height: 1.5; }
@media (max-width: 900px) {
	.aa-ablauf-karten { display: flex; gap: 14px; margin-inline: calc(-1 * var(--wp--style--root--padding-left, 20px)); padding: 0 var(--wp--style--root--padding-left, 20px) 6px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
	.aa-ablauf-karten::-webkit-scrollbar { display: none; }
	.aa-ablauf-karte { flex: 0 0 78%; scroll-snap-align: start; }
}

/* A1 So entsteht Ihr Grabmal: Zeitleiste mit Bild, Dauer und Schritt */
.aa-ablauf-ueberblick { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: var(--wp--preset--spacing--50) 0 var(--wp--preset--spacing--60); padding: 0; list-style: none; }
.aa-ablauf-ueberblick li { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; border-radius: 12px; background: var(--wp--preset--color--flaeche); }
.aa-ablauf-ueberblick strong { font-size: 0.875rem; font-weight: 600; }
.aa-ablauf-ueberblick span { color: var(--wp--preset--color--text-gedaempft); font-size: 0.8125rem; line-height: 1.4; }
.aa-zeitschritt { position: relative; display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 32px; align-items: start; margin: 0 !important; padding: 0 0 36px; }
.aa-zeitschritt::before { content: ""; position: absolute; top: 0; bottom: 0; left: 216px; width: 1px; background: var(--wp--preset--color--linie); }
.aa-zeitschritt:last-of-type::before { bottom: auto; height: 12px; }
.aa-zeitschritt-bild { margin: 0 !important; overflow: hidden; border-radius: 14px; aspect-ratio: 4 / 3; }
.aa-zeitschritt-bild img { width: 100%; height: 100%; object-fit: cover; }
.aa-zeitschritt-text { position: relative; margin: 0 !important; }
.aa-zeitschritt-text::before { content: ""; position: absolute; left: -22px; top: 6px; width: 11px; height: 11px; border: 2px solid var(--wp--preset--color--hintergrund); border-radius: 50%; background: var(--wp--preset--color--text); }
.aa-zeitschritt-dauer { display: inline-block; margin: 0 0 6px !important; padding: 3px 10px; border-radius: 999px; background: var(--wp--preset--color--flaeche); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.02em; }
.aa-zeitschritt .aa-schritt-titel { margin: 0 0 8px !important; }
.aa-zeitschritt-text p:last-child { margin: 0; }
.aa-ablauf-schluss { margin-top: var(--wp--preset--spacing--50) !important; padding: 28px; border-radius: 16px; background: var(--wp--preset--color--flaeche); }
.aa-ablauf-schluss h3 { margin-top: 0; }
@media (max-width: 700px) {
	.aa-ablauf-ueberblick { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.aa-zeitschritt { grid-template-columns: minmax(0, 1fr); gap: 14px; padding-left: 24px; }
	.aa-zeitschritt::before { left: 5px; }
	.aa-zeitschritt-bild { aspect-ratio: 16 / 9; }
	.aa-zeitschritt-text::before { left: -24px; }
}

/* K1 neu (Wunsch 28.11.2026): nur die Materialauswahl läuft mit, beim Runterscrollen weg, beim Hochscrollen wieder da */
.aa-mat-fix { position: fixed; z-index: 45; left: 0; right: 0; padding: 8px max(20px, calc((100vw - 1296px) / 2)); background: var(--wp--preset--color--hintergrund); box-shadow: 0 8px 12px -10px rgba(0, 0, 0, 0.25); transform: translateY(-130%); transition: transform 220ms ease, top 220ms ease; }
.aa-mat-fix.ist-sichtbar { transform: none; }
.aa-mat-fix .aa-filter-titel { display: none !important; }
.aa-mat-fix .aa-chips-zeile, .aa-mat-fix.aa-chips-zeile { flex-wrap: nowrap !important; overflow-x: auto; scrollbar-width: none; }
.aa-mat-fix .aa-chip { flex: 0 0 auto; white-space: nowrap; min-height: 0 !important; padding-top: 6px !important; padding-bottom: 6px !important; font-size: 0.875rem !important; line-height: 1.3 !important; }
.aa-mat-fix.aa-materialfilter { margin: 0 !important; }
@media (prefers-reduced-motion: reduce) { .aa-mat-fix { transition: none; } }

/* K5 Kategorieseiten: Sprungleiste, Abschnitte, Akkordeons; „Auf einen Blick“ läuft mit und hat einen Knopf */
.aa-lp-abschnitt { margin-bottom: var(--wp--preset--spacing--50); }
.aa-lp-abschnitt > h2, .aa-lp-inhalt h2 { scroll-margin-top: 140px; }
.aa-lp-klappe { scroll-margin-top: 140px; margin: 0 !important; border-top: 1px solid var(--wp--preset--color--linie); }
.aa-lp-klappe:last-of-type { border-bottom: 1px solid var(--wp--preset--color--linie); }
.aa-lp-klappe > summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; cursor: pointer; list-style: none; }
.aa-lp-klappe > summary::-webkit-details-marker { display: none; }
.aa-lp-klappe > summary::marker { content: ""; }
.aa-lp-klappe > summary h2 { margin: 0 !important; font-size: var(--wp--preset--font-size--xl, 1.5rem); }
.aa-lp-klappe > summary::after { content: ""; flex: none; width: 34px; height: 34px; border: 1px solid var(--wp--preset--color--linie); border-radius: 50%; background: no-repeat center / 14px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23292A28' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E"); transition: transform 200ms ease; }
.aa-lp-klappe[open] > summary::after { transform: rotate(45deg); }
.aa-lp-klappe > summary:hover h2 { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.aa-lp-klappe-inhalt { padding: 0 0 24px; }
.aa-lp-klappe-inhalt > :first-child { margin-top: 0; }
.aa-lp-klappe + .wp-block-group.has-background, .aa-lp-klappe + section { margin-top: var(--wp--preset--spacing--60) !important; }
.aa-blick-knopf { margin: 18px 0 0 !important; }
.aa-blick-knopf .wp-block-button__link { display: block; width: 100%; box-sizing: border-box; text-align: center; }
.aa-blick-zusage { margin: 8px 0 0 !important; color: var(--wp--preset--color--text-gedaempft); font-size: 0.8125rem; text-align: center; }
@media (min-width: 782px) { .aa-blick { position: sticky; top: 110px; } }
@media (max-width: 781px) {
	.aa-lp-klappe > summary h2 { font-size: 1.25rem; }
}

/* M5 Modellseite: Abschnitte als Akkordeon */
.aa-modell-lesen > h2:first-child { margin-top: 0; }
.aa-modell-text .aa-lp-klappe:first-of-type { margin-top: var(--wp--preset--spacing--40) !important; }
.aa-gut-zu-wissen.aa-lp-klappe { margin-top: var(--wp--preset--spacing--60) !important; border-top: 1px solid var(--wp--preset--color--linie); }
.aa-lp-klappe > summary h2 { padding-top: 0 !important; border-top: 0 !important; }
/* M1 Bildpfeile: kleiner, mit Maus erst beim Darüberfahren sichtbar (Wunsch 28.11.2026) */
.aa-bild-pfeil { width: 32px; height: 32px; margin-top: -16px; }
.aa-bild-pfeil svg { width: 16px; height: 16px; }
.aa-bild-zurueck { left: 8px; }
.aa-bild-weiter { right: 8px; }
@media (hover: hover) { .aa-bild-pfeil { opacity: 0; } .aa-hauptbild:hover .aa-bild-pfeil, .aa-bild-pfeil:focus-visible { opacity: 0.9; } }
@media (hover: none) { .aa-bild-pfeil { opacity: 0.7; } }
.aa-modell-lesen > .aa-gut-zu-wissen.aa-lp-klappe { box-sizing: border-box; width: 100%; max-width: var(--wp--style--global--content-size, 720px); margin-left: auto !important; margin-right: auto !important; margin-top: 0 !important; border-top: 0 !important; }
.aa-modell-text { margin-bottom: 0 !important; }

/* Konfigurator, Handy: Preisleiste unten (assets/einfassung.js), ersetzt dort die Aktionsleiste */
.aa-konf-leiste { display: none; }
@media (max-width: 781px) {
	.aa-mit-konf-leiste .aa-mobilleiste { display: none !important; }
	.aa-konf-leiste { position: fixed; z-index: 58; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); border-top: 1px solid var(--wp--preset--color--linie); background: var(--wp--preset--color--hintergrund); box-shadow: 0 -6px 16px rgba(0, 0, 0, 0.08); transition: transform 200ms ease; }
	.aa-konf-leiste[hidden], .aa-konf-leiste.ist-verdeckt { transform: translateY(110%); }
	.aa-konf-leiste[hidden] { display: flex; }
	.aa-konf-leiste-preis { display: flex; flex-direction: column; line-height: 1.2; }
	.aa-konf-leiste-preis small { color: var(--wp--preset--color--text-gedaempft); font-size: 0.75rem; }
	.aa-konf-leiste-preis strong { font-size: 1.25rem; font-weight: 600; }
	.aa-konf-leiste-knopf { padding: 12px 20px; border-radius: 999px; background: var(--wp--preset--color--text); color: #fff !important; font-weight: 500; text-decoration: none; white-space: nowrap; }
	.aa-mit-konf-leiste .aa-nach-oben { bottom: calc(80px + env(safe-area-inset-bottom)); }
}
/* Konfigurator, Handy: weniger Luft zwischen Brotkrumen und Überschrift (Wunsch 28.11.2026) */
@media (max-width: 781px) {
	main .wp-block-group:has(> .wp-block-aa-einfassung-konfigurator, > .aa-konfigurator) { padding-top: 8px !important; }
	main:has(.aa-konfigurator) { margin-top: 12px !important; }
}

/* Konfigurator: Foto in den Wangen-Knöpfen (Handy), großes Beispielfoto nur auf dem Desktop */
.aa-wange-foto { display: none; }
@media (max-width: 781px) {
	.aa-konf-foto { display: none !important; }
	.aa-konfigurator label:has(> .aa-wange-foto) { display: inline-flex !important; flex-direction: column; align-items: stretch; gap: 8px; padding: 8px 8px 10px !important; border-radius: 14px !important; text-align: center; }
	.aa-wange-foto { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 9px; order: -1; }
	.aa-konfigurator .aa-konf-auswahl fieldset:has(.aa-wange-foto) > div, .aa-konfigurator div:has(> label > .aa-wange-foto) { display: grid !important; grid-template-columns: 1fr 1fr; gap: 10px; }
}
/* Konfigurator, Desktop: rechte Spalte kompakter und mitlaufend, damit der Preis ohne Scrollen sichtbar ist (Wunsch 28.11.2026) */
@media (min-width: 961px) {
	.aa-konfigurator .aa-konf-auswahl { position: sticky; top: 96px; align-self: start; }
	.aa-konfigurator fieldset { margin-bottom: 18px !important; }
	.aa-konfigurator legend { margin-bottom: 8px !important; font-size: 1rem !important; }
	.aa-konfigurator .aa-masse input { padding: 9px 12px !important; }
	.aa-konfigurator .aa-wahl label { padding: 9px 18px !important; font-size: 0.9375rem; }
	.aa-konfigurator .aa-konf-auswahl p { margin-top: 6px; margin-bottom: 0; font-size: 0.875rem; }
	.aa-konfigurator .aa-konf-ergebnis { padding-top: 16px !important; }
	.aa-konfigurator .aa-konf-preis { font-size: 1.75rem !important; }
}
/* Konfigurator, Desktop: kein großes Beispielfoto mehr (zu unscharf), stattdessen kleines Vorschaubild im Wangen-Knopf (Wunsch 28.11.2026) */
.aa-konf-foto { display: none !important; }
@media (min-width: 782px) {
	.aa-konfigurator label:has(> .aa-wange-foto) { display: inline-flex !important; flex-direction: row; align-items: center; gap: 10px; padding: 5px 16px 5px 5px !important; }
	.aa-wange-foto { display: block; width: 40px; height: 40px; object-fit: cover; border-radius: 50%; order: -1; }
}
@media (min-width: 782px) {
	main .wp-block-group:has(> .wp-block-aa-einfassung-konfigurator, > .aa-konfigurator) { padding-top: 0 !important; }
	main:has(.aa-konfigurator) { margin-top: 16px !important; }
	main .wp-block-group:has(> .aa-konfigurator) > .aa-lead { margin-bottom: 20px; }
	main .wp-block-group:has(> .aa-konfigurator) > h1 { margin-top: 6px; margin-bottom: 10px; }
}

/* Konfigurator: Beispielfoto groß */
.aa-wange-gross { display: inline-block; margin-top: 10px; padding: 0; border: 0; background: none; color: var(--wp--preset--color--text); font: inherit; font-size: 0.875rem; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.aa-wange-fenster { max-width: min(92vw, 1000px); padding: 0; border: 0; border-radius: 14px; background: var(--wp--preset--color--hintergrund); overflow: hidden; }
.aa-wange-fenster::backdrop { background: rgba(20, 19, 17, 0.7); }
.aa-wange-fenster img { display: block; max-width: 100%; max-height: 80vh; width: auto; height: auto; margin: 0 auto; }
.aa-wange-fenster p { margin: 0; padding: 10px 16px 14px; color: var(--wp--preset--color--text-gedaempft); font-size: 0.8125rem; }
.aa-wange-zu { position: absolute; top: 8px; right: 8px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.9); font-size: 1.375rem; line-height: 1; cursor: pointer; }

/* ===================== Screenshot-Runde 28.11.2026, Ratgeber (R1–R4) ===================== */
/* Übersicht: Karten im Raster mit eigenem Bild, Thema und Lesezeit */
.aa-ratgeber-liste { gap: 40px 28px !important; margin-top: var(--wp--preset--spacing--50); }
.aa-ratgeber-liste .aa-ratgeber-eintrag { display: flex; flex-direction: column; height: 100%; padding: 0; border: 0; }
.aa-ratgeber-liste .wp-block-post-featured-image { margin: 0 0 14px; overflow: hidden; border-radius: 12px; }
.aa-ratgeber-liste .wp-block-post-featured-image img { transition: transform 400ms ease; }
.aa-ratgeber-liste .aa-ratgeber-eintrag:hover .wp-block-post-featured-image img { transform: scale(1.03); }
.aa-ratgeber-liste .wp-block-post-title { margin: 6px 0 8px; font-size: 1.375rem !important; line-height: 1.3; }
.aa-ratgeber-liste .wp-block-post-title a { color: var(--wp--preset--color--text); }
.aa-ratgeber-liste .aa-ratgeber-eintrag:hover .wp-block-post-title a { text-decoration: underline; text-decoration-color: var(--wp--preset--color--akzent); text-underline-offset: 4px; }
.aa-ratgeber-liste .wp-block-post-excerpt { margin: 0; color: var(--wp--preset--color--text-gedaempft); font-size: 0.9375rem; line-height: 1.55; }
.aa-ratgeber-liste .wp-block-post-excerpt__excerpt { margin: 0; }
.aa-ratgeber-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 0; color: var(--wp--preset--color--text-gedaempft); font-size: 0.8125rem; }
.aa-ratgeber-thema { padding: 3px 10px; border-radius: 999px; background: var(--wp--preset--color--flaeche); color: var(--wp--preset--color--text); font-weight: 600; letter-spacing: 0.02em; }
.aa-ratgeber-zeit::before { content: "\25F7"; margin-right: 5px; }
@media (max-width: 1000px) { .aa-ratgeber-liste { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
@media (max-width: 600px) { .aa-ratgeber-liste { grid-template-columns: minmax(0, 1fr) !important; gap: 32px !important; } }

/* Artikel: Inhaltsverzeichnis (Desktop links mitlaufend), Teilen, Drucken */
.single-aa_ratgeber main > .aa-ratgeber-meta { margin-bottom: 10px; }
.aa-artikel-raster { display: block; }
.aa-artikel-seite { margin: 0 0 var(--wp--preset--spacing--50); }
.aa-toc details { padding: 16px 20px; border-radius: 14px; background: var(--wp--preset--color--flaeche); }
.aa-toc summary { cursor: pointer; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; list-style: none; }
.aa-toc summary::-webkit-details-marker { display: none; }
.aa-toc summary::after { content: "+"; float: right; font-weight: 400; }
.aa-toc details[open] summary::after { content: "\2212"; }
.aa-toc ol { margin: 10px 0 0; padding-left: 1.2em; font-size: 0.9375rem; line-height: 1.45; }
.aa-toc li { margin: 6px 0; }
.aa-toc a { color: var(--wp--preset--color--text); text-decoration: none; }
.aa-toc a:hover, .aa-toc a[aria-current] { text-decoration: underline; text-decoration-color: var(--wp--preset--color--akzent); text-underline-offset: 3px; }
.aa-toc a[aria-current] { font-weight: 600; }
.aa-artikel-aktionen { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.aa-artikel-aktionen[hidden] { display: none; }
.aa-aktion { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border: 1px solid var(--wp--preset--color--linie); border-radius: 999px; background: transparent; color: var(--wp--preset--color--text); font: inherit; font-size: 0.875rem; cursor: pointer; }
.aa-aktion:hover { background: var(--wp--preset--color--flaeche); }
.aa-artikel-text h2 { scroll-margin-top: 110px; }
@media (min-width: 1200px) {
	.aa-artikel-raster { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 720px) minmax(0, 1fr); column-gap: 48px; align-items: start; }
	.aa-artikel-seite { grid-column: 1; justify-self: end; position: sticky; top: 110px; width: 100%; max-width: 270px; margin: 0; }
	.aa-artikel-text { grid-column: 2; }
	.aa-toc details { padding: 0; background: transparent; }
	.aa-toc summary { pointer-events: none; }
	.aa-toc summary::after { display: none; }
	.aa-toc ol { padding-left: 0; border-left: 1px solid var(--wp--preset--color--linie); list-style: none; }
	.aa-toc li { margin: 0; }
	.aa-toc a { display: block; margin-left: -1px; padding: 5px 0 5px 14px; border-left: 2px solid transparent; color: var(--wp--preset--color--text-gedaempft); }
	.aa-toc a[aria-current] { border-left-color: var(--wp--preset--color--text); color: var(--wp--preset--color--text); text-decoration: none; }
	.aa-artikel-aktionen { margin-top: 22px; flex-direction: column; align-items: flex-start; }
}
.aa-hinweis-kopiert { position: fixed; z-index: 60; left: 50%; bottom: 24px; padding: 10px 18px; border-radius: 999px; background: var(--wp--preset--color--text); color: #fff; font-size: 0.875rem; transform: translateX(-50%); }

/* Druckansicht / PDF: nur der Artikel */
@media print {
	header, footer, .wp-block-template-part, .aa-artikel-seite, .aa-nach-oben, .aa-aktionsleiste, #aa-einwilligung, .aa-brotkrumen, .aa-mat-fix { display: none !important; }
	body { background: #fff; color: #000; font-size: 11pt; }
	main { margin: 0 !important; }
	.aa-artikel-raster { display: block !important; }
	.aa-artikel-text a { color: #000; text-decoration: underline; }
	.aa-artikel-text a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 0.8em; word-break: break-all; }
	.single-aa_ratgeber main::after { content: "AndersAndenken · andersandenken.de"; display: block; margin-top: 2em; font-size: 9pt; }
	img { max-width: 100% !important; break-inside: avoid; }
	h2, h3 { break-after: avoid; }
}
.aa-ratgeber-lead { max-width: 720px; }

/* ===================== Screenshot-Runde 28.11.2026, Über uns (U1–U3) ===================== */
/* U2: Texte neben den Bildern bündig mit Einstieg und Presse (nur zum Bild hin Abstand) */
@media (min-width: 601px) {
	.page .aa-mt.has-media-on-the-right .wp-block-media-text__content { padding-left: 0; }
	.page .aa-mt:not(.has-media-on-the-right) .wp-block-media-text__content { padding-right: 0; }
}
/* U1: Presse als Zitat-Karten (ohne Sterne): Medium oben, Zitat groß, verlinkte mit „Beitrag lesen“ */
.aa-site .aa-presse { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.aa-site .aa-presse li { position: relative; display: flex; flex-direction: column; padding: 22px; border-radius: 16px; background: var(--wp--preset--color--flaeche); border-color: transparent; }
.aa-site .aa-presse li > a { display: flex; flex-direction: column; flex: 1; }
/* Presse (30.11.2026): Medium als Absender oben, Zitat groß, großes Anführungszeichen als Akzent – Vertrauen auf den ersten Blick */
.aa-site .aa-presse li { overflow: hidden; }
.aa-site .aa-presse li::after { content: "“"; position: absolute; top: 6px; right: 16px; color: var(--wp--preset--color--akzent); font-family: var(--wp--preset--font-family--serif); font-size: 5.5rem; line-height: 0.8; opacity: 0.4; pointer-events: none; }
.aa-presse-medium { position: relative; z-index: 1; order: 0; display: block; margin: 0 0 16px; padding-bottom: 12px; border-bottom: 1px solid var(--wp--preset--color--linie, #dcdad4); color: var(--wp--preset--color--text); font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.aa-site .aa-presse strong { position: relative; z-index: 1; order: 1; margin: 0 0 18px; font-family: var(--wp--preset--font-family--serif); font-size: 1.3125rem; font-weight: 400; line-height: 1.3; }
.aa-presse-mehr { order: 3; margin-top: auto; color: var(--wp--preset--color--text-gedaempft); font-size: 0.8125rem; }
.aa-site .aa-presse li > a:hover .aa-presse-mehr { color: var(--wp--preset--color--text); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1100px) { .aa-site .aa-presse { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .aa-site .aa-presse { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .aa-site .aa-presse { grid-template-columns: minmax(0, 1fr); } }
/* U3: Kontaktkarte mit Studio-Foto */
.aa-kontaktkarte-foto { margin: calc(-1 * var(--wp--preset--spacing--40)) calc(-1 * var(--wp--preset--spacing--40)) var(--wp--preset--spacing--30) !important; overflow: hidden; border-radius: 22px 22px 0 0; }
.aa-kontaktkarte-foto img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.aa-kontaktkarte { overflow: hidden; }

/* ===================== Screenshot-Runde 28.11.2026, Abstände (S2) =====================
   Einheitlicher Rhythmus: Überzeile → Überschrift 12 px, Überschrift → Text 24 px, Text → Knopf 32 px */
main .aa-ueberzeile + :is(h1, h2) { margin-top: 12px !important; }
main h2.wp-block-heading:not(.wp-block-post-title) { margin-bottom: 0; }
main h2.wp-block-heading:not(.wp-block-post-title) + :is(p, ul, ol, figure, .wp-block-group, .wp-block-columns, details) { margin-top: var(--wp--preset--spacing--30) !important; }
main :is(p, ul, ol, dl) + .wp-block-buttons { margin-top: 32px !important; }
main .aa-zeitschritt h2.aa-schritt-titel + p { margin-top: 8px !important; } /* Zeitleiste bleibt kompakt */

/* Kontaktformular und Datei-Upload (29.11.2026) */
.aa-kontaktformular { max-width: 720px; }
.aa-dateien input[type="file"] { width: 100%; padding: 12px; border: 1px dashed var(--wp--preset--color--linie); border-radius: 12px; background: var(--wp--preset--color--flaeche); font: inherit; font-size: 0.9375rem; }

/* Social-Media-Profile mit Logos: Kontaktblock (Fußzeile, Kontaktseite) und Über uns (29.11.2026) */
.aa-social { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 0; padding: 0; list-style: none; }
.aa-social a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px 0 12px; border: 1px solid var(--wp--preset--color--linie); border-radius: 9999px; background: var(--wp--preset--color--hintergrund); color: var(--wp--preset--color--text); font-size: 0.9375rem; text-decoration: none; }
.aa-social a:hover { border-color: var(--wp--preset--color--text); }
.aa-social a:focus-visible { outline: 2px solid var(--wp--preset--color--text); outline-offset: 2px; }
.aa-social .aa-symbol { width: 20px; height: 20px; }
.aa-social-hinweis { margin-top: var(--wp--preset--spacing--50) !important; }
.aa-social-hinweis + .aa-social { justify-content: center; }

/* Startseite: Kategorien als Fotokarten (Test 29.11.2026). Verlauf im Farbton des Fotos (--aa-ton); bewusst ohne Preise und Merkmale (Preise stehen gleich darunter bei den Modellen). */
.aa-kat-karten { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: var(--wp--preset--spacing--50); }
.aa-kat-karte > a { position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 5; border-radius: 24px; color: #fff; text-decoration: none; box-shadow: 0 14px 34px rgba(24, 23, 20, 0.14); isolation: isolate; }
.aa-kat-karte img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; transition: transform 600ms ease; z-index: -2; }
.aa-kat-karte > a::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, var(--aa-ton, #222) 0%, color-mix(in srgb, var(--aa-ton, #222) 85%, transparent) 22%, color-mix(in srgb, var(--aa-ton, #222) 30%, transparent) 42%, transparent 58%); }
.aa-kat-karte > a:hover img { transform: scale(1.04); }
.aa-kat-karte > a:focus-visible { outline: 3px solid var(--wp--preset--color--text); outline-offset: 3px; }
.aa-kat-inhalt { position: absolute; inset: auto 0 0 0; display: flex; flex-direction: column; gap: 6px; padding: 20px; }
.aa-site .aa-kat-karte h3.aa-kat-name { margin: 0 !important; color: #fff; font-size: 1.5rem; line-height: 1.2; }
.aa-kat-text { color: rgba(255, 255, 255, 0.84); font-size: 0.9375rem; line-height: 1.45; }
.aa-kat-knopf { display: flex; align-items: center; justify-content: center; min-height: 46px; margin-top: 6px; border-radius: 9999px; background: #fff; color: var(--wp--preset--color--text); font-size: 0.9375rem; font-weight: 600; transition: background 200ms; }
.aa-kat-karte > a:hover .aa-kat-knopf { background: var(--wp--preset--color--akzent-hell, #f3efe8); }
@media (max-width: 1180px) {
	.aa-kat-karte > a { aspect-ratio: 3 / 4; }
}
/* Handy: zwei Karten nebeneinander mit Titel und kurzer Zeile, ohne Knopf (Entscheidung 29.11.2026, statt seitlich wischen) */
@media (max-width: 700px) {
	.aa-kat-karten { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.aa-kat-karte > a { aspect-ratio: 4 / 5; border-radius: 16px; box-shadow: 0 6px 16px rgba(24, 23, 20, 0.12); }
	.aa-kat-karte > a::before { background: linear-gradient(to top, var(--aa-ton, #222) 0%, color-mix(in srgb, var(--aa-ton, #222) 70%, transparent) 25%, transparent 55%); }
	.aa-kat-inhalt { padding: 12px; gap: 2px; }
	.aa-site .aa-kat-karte h3.aa-kat-name { font-size: 1.0625rem; line-height: 1.2; hyphens: auto; }
	.aa-kat-text { font-size: 0.75rem; line-height: 1.35; }
	.aa-kat-knopf { display: none; }
}
@media (prefers-reduced-motion: reduce) { .aa-kat-karte img { transition: none; } }

/* Warenkorb: Stückpreis unter dem Namen nicht zusätzlich zur Zeilensumme rechts (wirkte doppelt, 30.11.2026) */
.aa-site table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__prices { display: none; }
/* Warenkorb mobil: Tabelle nicht breiter als der Inhalt (Summe rechts wurde abgeschnitten) */
.aa-site table.wc-block-cart-items { width: 100%; max-width: 100%; table-layout: fixed; }
.aa-site table.wc-block-cart-items .wc-block-cart-item__product { min-width: 0; overflow-wrap: anywhere; }
