/**
 * Akustik im Büro (/akustik-im-buero/ und Unterseiten), OpenProject #2029.
 *
 * Komponenten, die Elementor nicht selbst gestaltet. Helle Fassung von Florians Agenturvorlage
 * (09.11.2026), Farben und Schrift aus dem Elementor-Kit wie /vela-trippelstuhl/:
 * Akzent #697787, Creme #F5F3F1, Salbei #D5D9DE, DM Sans, Versalien-Überschriften.
 * Alle Regeln hängen an .ps-ak (Klasse der Abschnitte), nichts wirkt außerhalb.
 * Erzeugt mit ci/akustik-20261112/seite.py, geladen über mu-plugins/ds-akustik.php.
 */

.ps-ak {
	--ps-akzent: var(--e-global-color-accent, #697787);
	--ps-creme: var(--e-global-color-secondary, #F5F3F1);
	--ps-salbei: #D5D9DE;
	--ps-linie: #C9CED4;
	/* Kleine Schrift auf hellem Grund: Akzent schafft auf Creme nur 4,1 : 1, Schiefer 5,3 bis 7,5 : 1 */
	--ps-schiefer: #4A5663;
}

/* ---------- Grundlagen ---------- */

.ps-ak .elementor-widget-text-editor p:last-child,
.ps-ak .elementor-widget-text-editor ul:last-child,
.ps-ak .elementor-widget-text-editor ol:last-child {
	margin-bottom: 0;
}

.ps-ak .ps-eyebrow p {
	margin: 0;
}

.ps-ak .ps-klein p {
	margin: 0 0 .7em;
}

.ps-ak a:focus-visible,
.ps-ak summary:focus-visible,
.ps-ak input:focus-visible + span {
	outline: 2px solid var(--ps-akzent);
	outline-offset: 3px;
}

.ps-ak .elementor-widget-text-editor a,
.ps-ak .ps-klein a {
	color: #000;
	font-size: inherit;
	line-height: inherit;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: .2em;
}

.ps-ak .elementor-widget-text-editor a:hover,
.ps-ak .elementor-widget-text-editor a:focus {
	color: var(--ps-schiefer);
}

/* Keine automatische Silbentrennung im Fließtext; sehr lange Wörter brechen nur im Notfall um */
.ps-ak .elementor-heading-title,
.ps-ak .elementor-widget-text-editor {
	overflow-wrap: break-word;
}

/* Lange Wörter wie "Schallübertragung" in Versalien-Überschriften schmaler Karten trennen, nur auf dem Handy */
@media (max-width: 767px) {
	.ps-ak .ps-karte .elementor-heading-title {
		hyphens: auto;
		-webkit-hyphens: auto;
		hyphenate-limit-chars: 12 5 5;
	}
}

.ps-ak .ps-h1-zusatz {
	display: block;
	margin-top: .25em;
	color: var(--ps-akzent);
	font-size: .72em;
	line-height: 1.2;
}

/* ---------- Brotkrümel ---------- */

.ps-ak-krumen ol {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 0;
	margin: 0;
	padding: 0;
	list-style: none;
	color: var(--ps-schiefer);
	font-size: 14px;
	line-height: 1.4;
}

.ps-ak-krumen li + li::before {
	content: "/";
	margin: 0 10px;
	color: var(--ps-linie);
}

.ps-ak-krumen a {
	color: var(--ps-schiefer);
	font-size: inherit;
	font-weight: inherit;
	text-decoration: underline;
	text-underline-offset: .2em;
}

.ps-ak-krumen a:hover,
.ps-ak-krumen a:focus {
	color: #000;
}

/* ---------- Einstieg ---------- */

.ps-ak .ps-ak-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 4px 0 0;
	padding: 0;
	list-style: none;
}

.ps-ak .ps-ak-chips li {
	padding: 7px 14px;
	border: 1px solid var(--ps-linie);
	border-radius: 999px;
	background: #fff;
	color: #000;
	font-size: 14px;
	line-height: 1.3;
}

.ps-ak .ps-bild-mit-karte {
	position: relative;
}

.ps-ak .ps-bild-mit-karte > .ps-bildkarte-wrap {
	position: absolute;
	bottom: 22px;
	left: 22px;
	width: auto;
	max-width: min(360px, calc(100% - 44px));
	margin: 0;
}

/* KI-Label steht hier in der Karte */
.ps-ak .ps-bild-mit-karte .ps-ak-ki figcaption {
	display: none;
}

.ps-ak .ps-bildkarte {
	margin: 0;
	padding: 16px 20px;
	border-radius: 6px;
	background: #fff;
	box-shadow: 0 6px 18px rgba(0, 0, 0, .12);
	color: #000;
	font-size: 15px;
	line-height: 1.5;
}

.ps-ak .ps-bildkarte strong {
	display: block;
	margin-bottom: 4px;
	font-size: 16px;
	font-weight: 700;
}

.ps-ak .ps-ak-ki-text {
	display: block;
	margin-top: 8px;
	color: var(--ps-schiefer);
	font-size: 12px;
	letter-spacing: .02em;
}

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

.ps-ak .ps-ak-bild img {
	display: block;
	width: 100%;
	border-radius: 10px;
}

.ps-ak .ps-ak-bild figure {
	position: relative;
	margin: 0;
}

/* Verlinkte Bilder (Teaser) füllen die Karte, Elementor setzt den Link sonst inline-block */
.ps-ak .ps-ak-bild a {
	display: block;
}

/* Listenpfeil bei mehrzeiligen Punkten oben an der ersten Zeile */
.ps-ak .ps-liste .elementor-icon-list-item {
	align-items: flex-start !important;
}

.ps-ak .ps-liste .elementor-icon-list-icon {
	margin-top: .35em;
}

/* Kennzeichnung der KI-Konzeptbilder, klein am unteren Bildrand (Vorgabe Agenturübergabe) */
.ps-ak .ps-ak-ki figcaption.widget-image-caption {
	position: absolute;
	right: 10px;
	bottom: 10px;
	margin: 0;
	padding: 3px 8px;
	border-radius: 4px;
	background: rgba(255, 255, 255, .88);
	color: #2B3238;
	font-size: 11px;
	font-weight: 500;
	line-height: 1.35;
	letter-spacing: .02em;
	text-align: right;
	pointer-events: none;
}

.ps-ak .ps-ak-unterschrift p {
	margin: 0;
	font-size: 14px;
	line-height: 1.5;
}

/* ---------- Hinweise und Merksätze ---------- */

.ps-ak .ps-ak-hinweis p {
	margin: 0;
	padding: 14px 18px;
	border-left: 3px solid var(--ps-akzent);
	background: var(--ps-creme);
	color: #000;
	font-size: 14px;
	line-height: 1.55;
}

.ps-ak .ps-ak-merk,
.ps-ak .ps-ak-kurz {
	border-left: 4px solid var(--ps-akzent) !important;
	border-top-left-radius: 0 !important;
	border-bottom-left-radius: 0 !important;
}

/* ---------- Kurzantwort ---------- */

.ps-ak .ps-ak-fakten {
	margin-top: 6px;
}

.ps-ak .ps-ak-fakt {
	display: flex;
	flex-direction: column;
	gap: 4px;
	height: 100%;
	margin: 0;
	padding: 16px 20px 16px 0;
	border-top: 1px solid var(--ps-linie);
	font-size: 15px;
	line-height: 1.5;
}

.ps-ak .ps-ak-fakt strong {
	color: var(--ps-schiefer);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.ps-ak .ps-ak-themen-titel {
	margin: 6px 0 10px;
	color: var(--ps-schiefer);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.ps-ak .ps-ak-themen {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ps-ak .ps-ak-themen a {
	display: inline-block;
	padding: 8px 14px;
	border: 1px solid var(--ps-linie);
	border-radius: 6px;
	background: #fff;
	color: #000;
	font-size: 15px;
	line-height: 1.3;
	text-decoration: none;
	transition: background-color .2s, border-color .2s;
}

.ps-ak .ps-ak-themen a:hover,
.ps-ak .ps-ak-themen a:focus {
	border-color: var(--ps-akzent);
	background: var(--ps-salbei);
	color: #000;
}

/* ---------- Nummern ---------- */

.ps-ak .ps-ak-nr {
	display: inline-block;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: #000;
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	line-height: 38px;
	text-align: center;
}

.ps-ak .ps-ak-nummer > .ps-ak-nr-wrap {
	flex: 0 0 auto;
	width: auto;
}

.ps-ak .ps-ak-nummer > .ps-ak-nr-text {
	flex: 1 1 0;
	min-width: 0;
}

.ps-ak .ps-ak-schritt .ps-ak-nr {
	width: auto;
	height: auto;
	padding: 0;
	border-radius: 0;
	background: none;
	color: var(--ps-akzent);
	font-size: 15px;
	line-height: 1;
	letter-spacing: .08em;
}

.ps-ak .ps-ak-schritt .ps-ak-nr::after {
	content: "";
	display: inline-block;
	width: 28px;
	height: 1px;
	margin-left: 10px;
	background: var(--ps-akzent);
	vertical-align: middle;
}

/* ---------- Anzeichen ---------- */

.ps-ak .ps-ak-symptom {
	padding: 22px 26px 26px 0;
	border-top: 1px solid #000;
}

.ps-ak .ps-ak-symptom p {
	margin: 0;
	font-size: 17px;
	line-height: 1.55;
}

.ps-ak .ps-ak-symptom .ps-ak-symptom-kopf {
	margin-bottom: 10px;
	color: var(--ps-schiefer);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .1em;
}

/* ---------- Bildband ---------- */

.ps-ak .ps-ak-zitat {
	margin: 0;
	font-size: 28px;
	font-weight: 400;
	line-height: 1.35;
}

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

.ps-ak .ps-karte {
	overflow: hidden;
}

.ps-ak .ps-ak-raum .ps-liste,
.ps-ak .ps-ak-raum .elementor-icon-list-text {
	font-weight: 500;
}

.ps-ak .ps-ak-loesung .ps-ak-bild img,
.ps-ak .ps-ak-teaser .ps-ak-bild img {
	border-radius: 0;
}

.ps-ak .ps-ak-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 4px 0 0;
	padding: 0;
	list-style: none;
}

.ps-ak .ps-ak-tags li {
	padding: 4px 10px;
	border-radius: 4px;
	background: var(--ps-creme);
	color: #000;
	font-size: 13px;
	line-height: 1.4;
}

.ps-ak .ps-ak-irrtum {
	font-size: 20px;
	font-weight: 600;
	line-height: 1.35;
}

.ps-ak .ps-ak-teaser .elementor-heading-title a,
.ps-ak .ps-ak-loesung .elementor-heading-title a {
	color: #000;
}

.ps-ak .ps-ak-loesung .elementor-heading-title a::after {
	content: " →";
	color: var(--ps-akzent);
}

.ps-ak .ps-ak-teaser .elementor-heading-title a:hover,
.ps-ak .ps-ak-teaser .elementor-heading-title a:focus,
.ps-ak .ps-ak-loesung .elementor-heading-title a:hover,
.ps-ak .ps-ak-loesung .elementor-heading-title a:focus {
	color: var(--ps-schiefer);
	text-decoration: underline;
	text-underline-offset: .2em;
}

.ps-ak .ps-ak-mehrlink a,
.ps-ak .ps-ak-herstellerlink a {
	font-weight: 600;
	text-decoration: none;
}

.ps-ak .ps-ak-mehrlink a::after,
.ps-ak .ps-ak-herstellerlink a::after {
	content: " →";
}

.ps-ak .ps-ak-mehrlink a:hover,
.ps-ak .ps-ak-herstellerlink a:hover {
	text-decoration: underline;
}

.ps-ak .ps-ak-herstellerlink a::after {
	content: " ↗";
}

.ps-ak .ps-ak-marke {
	height: 100%;
}

.ps-ak .ps-ak-marke > .elementor-widget:last-child {
	margin-top: auto;
}

/* ---------- Tabellen ---------- */

.ps-ak .ps-ak-tabelle {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.ps-ak .ps-ak-tabelle table {
	width: 100%;
	margin: 0;
	border-collapse: collapse;
	border: 0;
	background: #fff;
	font-size: 15px;
	line-height: 1.5;
}

.ps-ak .ps-ak-tabelle caption {
	padding: 0 0 12px;
	color: var(--ps-schiefer);
	font-size: 14px;
	font-weight: 700;
	text-align: left;
}

.ps-ak .ps-ak-tabelle th,
.ps-ak .ps-ak-tabelle td {
	padding: 14px 16px;
	border: 0;
	border-bottom: 1px solid var(--ps-salbei);
	background: #fff;
	text-align: left;
	vertical-align: top;
}

.ps-ak .ps-ak-tabelle thead th {
	background: var(--ps-akzent);
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
}

.ps-ak .ps-ak-tabelle tbody th,
.ps-ak .ps-ak-tabelle tbody td:first-child {
	font-weight: 700;
}

.ps-ak .ps-ak-tabelle tbody tr:nth-child(even) > * {
	background: #FAFAF9;
}

@media (max-width: 767px) {
	.ps-ak .ps-ak-tabelle {
		overflow: visible;
	}

	.ps-ak .ps-ak-tabelle table,
	.ps-ak .ps-ak-tabelle tbody,
	.ps-ak .ps-ak-tabelle tr,
	.ps-ak .ps-ak-tabelle th,
	.ps-ak .ps-ak-tabelle td {
		display: block;
		width: 100%;
	}

	.ps-ak .ps-ak-tabelle table {
		background: transparent;
	}

	.ps-ak .ps-ak-tabelle caption {
		display: block;
	}

	.ps-ak .ps-ak-tabelle thead {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0 0 0 0);
		white-space: nowrap;
	}

	.ps-ak .ps-ak-tabelle tbody tr {
		margin-bottom: 14px;
		overflow: hidden;
		border: 1px solid var(--ps-salbei);
		border-radius: 8px;
		background: #fff;
	}

	.ps-ak .ps-ak-tabelle tbody tr > * {
		padding: 10px 16px;
		border-bottom: 1px solid #EEF0F2;
		background: #fff !important;
	}

	.ps-ak .ps-ak-tabelle tbody tr > *:first-child {
		background: var(--ps-salbei) !important;
	}

	.ps-ak .ps-ak-tabelle tbody tr > *:last-child {
		border-bottom: 0;
	}

	.ps-ak .ps-ak-tabelle tbody tr > *:not(:first-child)::before {
		content: attr(data-label);
		display: block;
		margin-bottom: 2px;
		color: var(--ps-schiefer);
		font-size: 12px;
		font-weight: 700;
		letter-spacing: .06em;
		text-transform: uppercase;
	}

	.ps-ak .ps-ak-tabelle tbody tr > *:not(:first-child) {
		font-weight: 500;
	}
}

/* ---------- Aufklappbereich Objektakustik ---------- */
/* Nur die äußere Ebene, die darin verschachtelten Objekt-FAQ bleiben im FAQ-Stil */

.ps-ak .ps-ak-mehr > .e-n-accordion > .e-n-accordion-item {
	overflow: hidden;
	border: 1px solid var(--ps-linie);
	border-radius: 10px;
	background: #fff;
}

.ps-ak .ps-ak-mehr > .e-n-accordion > .e-n-accordion-item > .e-n-accordion-item-title {
	padding: 22px 26px;
	border: 0;
	background: #fff;
}

.ps-ak .ps-ak-mehr > .e-n-accordion > .e-n-accordion-item > .e-n-accordion-item-title .e-n-accordion-item-title-text {
	color: #000;
	font-family: "DM Sans", sans-serif;
	font-size: 19px;
	font-weight: 600;
	line-height: 1.4;
}

.ps-ak .ps-ak-mehr > .e-n-accordion > .e-n-accordion-item > .e-n-accordion-item-title:hover {
	background: var(--ps-salbei);
}

.ps-ak .ps-ak-mehr > .e-n-accordion > .e-n-accordion-item > .e-n-accordion-item-title .e-n-accordion-item-title-icon i,
.ps-ak .ps-ak-mehr > .e-n-accordion > .e-n-accordion-item > .e-n-accordion-item-title .e-n-accordion-item-title-icon svg {
	color: var(--ps-akzent);
	fill: var(--ps-akzent);
}

.ps-ak .ps-ak-mehr > .e-n-accordion > .e-n-accordion-item > .e-con {
	padding: 8px 26px 30px;
	border: 0;
}

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

.ps-ak .ps-faq .e-n-accordion-item {
	border-bottom: 1px solid var(--ps-linie);
}

.ps-ak .ps-faq .e-n-accordion-item:first-child {
	border-top: 1px solid var(--ps-linie);
}

.ps-ak .ps-faq .e-n-accordion-item-title {
	padding: 18px 4px 18px 0;
	border: 0;
	background: transparent;
}

.ps-ak .ps-faq .e-n-accordion-item-title-text {
	color: #000;
	font-family: "DM Sans", sans-serif;
	font-size: 18px;
	font-weight: 600;
	line-height: 1.4;
	text-transform: none;
}

.ps-ak .ps-faq .e-n-accordion-item-title:hover .e-n-accordion-item-title-text,
.ps-ak .ps-faq .e-n-accordion-item[open] .e-n-accordion-item-title-text {
	color: var(--ps-schiefer);
}

.ps-ak .ps-faq .e-n-accordion-item-title-icon i,
.ps-ak .ps-faq .e-n-accordion-item-title-icon svg {
	color: var(--ps-akzent);
	fill: var(--ps-akzent);
}

.ps-ak .ps-faq .e-n-accordion-item > .e-con {
	padding: 0 0 22px;
	border: 0;
}

.ps-ak .ps-ak-faq-gruppe .elementor-heading-title {
	color: var(--ps-schiefer);
}

/* ---------- Schnellcheck ---------- */

.ps-ak .ps-ak-check fieldset {
	margin: 0;
	padding: 0;
	border: 0;
}

.ps-ak .ps-ak-check legend {
	margin-bottom: 12px;
	padding: 0;
	color: var(--ps-schiefer);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.ps-ak .ps-ak-check__punkt {
	display: flex;
	gap: 14px;
	align-items: flex-start;
	margin: 0 0 8px;
	padding: 14px 16px;
	border: 1px solid var(--ps-linie);
	border-radius: 8px;
	background: #fff;
	color: #000;
	font-size: 16px;
	line-height: 1.5;
	cursor: pointer;
	transition: border-color .2s, background-color .2s;
}

.ps-ak .ps-ak-check__punkt:hover {
	border-color: var(--ps-akzent);
}

.ps-ak .ps-ak-check__punkt input {
	flex: 0 0 auto;
	width: 20px;
	height: 20px;
	margin: 2px 0 0;
	accent-color: var(--ps-akzent);
	cursor: pointer;
}

.ps-ak .ps-ak-check__punkt:has(input:checked) {
	border-color: var(--ps-akzent);
	background: var(--ps-creme);
}

.ps-ak .ps-ak-check__ergebnis {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin-top: 16px;
	padding: 18px 20px;
	border-left: 4px solid var(--ps-akzent);
	background: #fff;
	color: #000;
	font-size: 16px;
	line-height: 1.5;
}

.ps-ak .ps-ak-check__ergebnis strong {
	font-size: 18px;
}

.ps-ak .ps-ak-check__ergebnis[data-stufe="3"] {
	border-left-color: #000;
}

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

.ps-ak .ps-portrait img {
	display: block;
	border-radius: 0;
}

.ps-ak .ps-kontaktwege {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin: 0;
}

.ps-ak .ps-kontaktwege a {
	color: #000;
	font-weight: 600;
	text-decoration: none;
}

.ps-ak .ps-kontaktwege a:hover,
.ps-ak .ps-kontaktwege a:focus {
	color: var(--ps-schiefer);
	text-decoration: underline;
	text-underline-offset: .25em;
}

/* ---------- Linklisten (Weiterlesen, Objektbereiche, Unterseiten) ---------- */

.ps-ak .ps-ak-links {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ps-ak .ps-ak-links a {
	display: flex;
	gap: 12px;
	align-items: center;
	justify-content: space-between;
	height: 100%;
	padding: 16px 18px;
	border: 1px solid var(--ps-linie);
	border-radius: 8px;
	background: #fff;
	color: #000;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.35;
	text-decoration: none;
	transition: border-color .2s, background-color .2s;
}

.ps-ak .ps-ak-links a::after {
	content: "→";
	flex: 0 0 auto;
	color: var(--ps-akzent);
}

.ps-ak .ps-ak-links a:hover,
.ps-ak .ps-ak-links a:focus {
	border-color: var(--ps-akzent);
	background: var(--ps-salbei);
	color: #000;
}

.ps-ak .ps-ak-quellen {
	padding-top: 18px;
	border-top: 1px solid var(--ps-linie);
}

/* ---------- Tablet ---------- */

@media (min-width: 768px) and (max-width: 1024px) {
	.ps-ak .ps-ak-marken > .e-con:last-child {
		grid-column: span 2;
	}
}

@media (min-width: 1025px) and (max-width: 1240px) {
	.ps-ak .ps-ak-marken {
		--e-con-grid-template-columns: repeat(3, 1fr);
		grid-template-columns: repeat(3, 1fr) !important;
	}
}

/* ---------- Kleine Bildschirme ---------- */

@media (max-width: 767px) {
	.ps-ak .ps-bild-mit-karte > .ps-bildkarte-wrap {
		position: static;
		max-width: none;
		margin-top: -12px;
	}

	.ps-ak .ps-bildkarte {
		padding: 14px 16px;
		border-radius: 0 0 10px 10px;
		box-shadow: none;
		font-size: 14px;
	}

	.ps-ak .ps-bild-mit-karte .ps-ak-bild img {
		border-radius: 10px 10px 0 0;
	}

	.ps-ak .ps-ak-zitat {
		font-size: 22px;
	}

	.ps-ak .ps-ak-symptom {
		padding-right: 0;
	}

	.ps-ak .ps-ak-fakt {
		padding-right: 0;
	}

	.ps-ak .ps-ak-mehr > .e-n-accordion > .e-n-accordion-item > .e-n-accordion-item-title {
		padding: 18px;
	}

	.ps-ak .ps-ak-mehr > .e-n-accordion > .e-n-accordion-item > .e-n-accordion-item-title .e-n-accordion-item-title-text {
		font-size: 17px;
	}

	.ps-ak .ps-ak-mehr > .e-n-accordion > .e-n-accordion-item > .e-con {
		padding: 4px 16px 22px;
	}

	.ps-ak .ps-faq .e-n-accordion-item-title-text {
		font-size: 17px;
	}

	.ps-ak .ps-ak-links {
		grid-template-columns: 1fr;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ps-ak * {
		transition: none !important;
		scroll-behavior: auto !important;
	}
}
