/*
Theme Name: Ackermann
Theme URI: https://steuerberatung-ackermann.de
Author: Merguet Werbeagentur GmbH
Author URI: https://www.merguet.de
Description: Block-Theme für Steuerberatung Ackermann, Spiesen-Elversberg. Gestaltung nach Layout „Dunkelblau“.
Version: 1.5.0
Requires at least: 6.6
Tested up to: 7.1
Requires PHP: 8.1
License: Proprietär – Merguet Werbeagentur GmbH
Text Domain: ackermann
*/

/* ---------- Grundlagen ---------- */
:root {
	--ack-navy: var(--wp--preset--color--navy);
	--ack-rot: var(--wp--preset--color--rot);
	--ack-signal: var(--wp--preset--color--signal);
	--ack-anthrazit: var(--wp--preset--color--anthrazit);
	--ack-grau: var(--wp--preset--color--grau);
	--ack-linie: var(--wp--preset--color--grau-2);
	--ack-hell: var(--wp--preset--color--hellblau);
	--ack-section: clamp(56px, 8vw, 96px);
}

body { -webkit-font-smoothing: antialiased; }
img { height: auto; }
:where(.wp-site-blocks) > * { margin-block-start: 0; }
.ack-main { margin-top: 0; }
.ack-main > * { margin-block-start: 0 !important; }

/* Dachzeile */
.is-style-dachzeile {
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--ack-rot);
	margin-bottom: 14px !important;
}
.is-style-dachzeile a { color: inherit; }

/* Roter Punkt hinter Überschriften */
.is-style-punkt::after {
	content: ".";
	font-family: Georgia, "Times New Roman", serif;
	font-weight: 700;
	font-size: 1.12em;
	line-height: 0;
	color: var(--ack-rot);
	margin-left: .02em;
}

/* Liste mit roten Punkten */
.is-style-punkte { list-style: none; padding-left: 0; }
.is-style-punkte li {
	position: relative;
	padding: 12px 0 12px 24px;
	border-bottom: 1px solid var(--ack-linie);
	color: var(--ack-anthrazit);
}
.is-style-punkte li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 22px;
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: var(--ack-signal);
}

/* Karte */
.is-style-karte { background: var(--ack-grau); padding: 34px; }
.is-style-karte > * { margin-block: 0; }
.is-style-karte h3 { margin: 16px 0 10px; }
.is-style-karte .is-style-mehr-link { margin-top: 14px; }

/* Mehr-Link mit Pfeil */
.is-style-mehr-link a { font-weight: 700; color: var(--ack-anthrazit); }
.is-style-mehr-link a::after { content: " →"; color: var(--ack-rot); }
.is-style-mehr-link a:hover { color: var(--ack-rot); }

/* Buttons */
.wp-block-button.is-style-outline > .wp-block-button__link {
	background: transparent;
	color: var(--ack-anthrazit);
	border: 1.5px solid currentColor;
	padding: 13.5px 26.5px;
}
.wp-block-button.is-style-outline > .wp-block-button__link:hover { color: var(--ack-rot); }

/* Fotos */
.ack-photo { margin: 0; }
.ack-photo img { width: 100%; object-fit: cover; display: block; }

/* Abschnitte */
.ack-section { padding-top: var(--ack-section); padding-bottom: var(--ack-section); }
.ack-section--flush-top { padding-top: 0; }
.ack-section--grau { background: var(--ack-grau); }
.ack-section h2 { margin: 0 0 20px; }

/* ---------- Kopfbereich ---------- */
.ack-site-header { position: relative; z-index: 20; }
.ack-header { background: var(--ack-navy); color: #fff; }
.ack-header__inner { min-height: 110px; gap: 24px; }
.ack-logo { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.ack-logo__signet { height: 54px; width: auto; }
.ack-logo__text { height: 46px; width: auto; }
.ack-nav { color: #fff; }
.ack-nav .wp-block-navigation__container { gap: 30px; }
.ack-nav a { color: #fff; }
.ack-nav a:hover,
.ack-nav .current-menu-item > a { color: var(--wp--preset--color--rosa); }
.ack-nav .wp-block-navigation__submenu-container {
	background: var(--ack-navy) !important;
	border: 0 !important;
	padding: 10px 0;
	min-width: 240px !important;
	box-shadow: 0 12px 30px rgba(0, 0, 0, .25);
}
.ack-nav .wp-block-navigation__submenu-container a { padding: 8px 20px !important; }
.ack-call {
	flex-shrink: 0;
	color: #fff;
	font-weight: 600;
	padding: 10px 18px;
	border: 1px solid rgba(255, 255, 255, .35);
	white-space: nowrap;
}
.ack-call:hover { color: #fff; border-color: #fff; }

/* ---------- Startseite: Begrüßung ---------- */
.ack-hero {
	background: var(--ack-navy) url(assets/img/signet-watermark.png) no-repeat -80px calc(100% + 140px) / auto 520px;
	color: var(--ack-hell);
	padding-top: 56px;
	padding-bottom: 100px;
}
.ack-hero__cols { gap: 64px; }
.ack-hero .is-style-dachzeile { color: var(--wp--preset--color--rosa); }
.ack-hero h1 { color: #fff; margin: 0 0 24px; }
.ack-hero .is-style-punkt::after { color: var(--ack-signal); }
.ack-lead { font-size: var(--wp--preset--font-size--large); margin-bottom: 34px !important; }
.ack-hero .wp-block-button.is-style-outline > .wp-block-button__link { color: #fff; }
.ack-hero .wp-block-button.is-style-outline > .wp-block-button__link:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.ack-photo--hero img { height: 470px; }

/* Infoleiste */
.ack-bar { background: var(--ack-signal); color: #fff; font-weight: 600; }
.ack-bar__inner { min-height: 76px; gap: 8px 32px; padding-block: 14px; }
.ack-bar p { margin: 0; }
.ack-bar a { color: #fff; }
.ack-bar a:hover { color: #fff; text-decoration: underline; }

/* Leistungen */
.ack-split { gap: 72px; }
.ack-cards { gap: 24px; margin-top: 44px !important; }
.ack-num { font-size: 15px; font-weight: 700; color: var(--ack-rot); }

/* Generationen */
.ack-gens { gap: 24px; margin-top: 44px !important; text-align: center; }
.ack-gens .wp-block-column > * { margin-block: 0; }
.ack-photo--gen img { height: 260px; }
.ack-photo--gen { margin-bottom: 22px !important; }
.ack-year { color: var(--ack-rot); font-weight: 700; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; }
.ack-gens h3 { font-size: 24px; margin: 6px 0 !important; }

/* Karriere */
.ack-split--wide { gap: 72px; }
.ack-photo--jobs img { height: 380px; }
.ack-section--grau .is-style-punkte { margin: 8px 0 30px; }

/* Kontakt */
.ack-contact__grid {
	border-top: 1px solid var(--ack-linie);
	margin-top: 36px !important;
	padding-top: 28px;
	gap: 24px;
}
.ack-contact__grid strong { display: block; color: var(--ack-anthrazit); margin-bottom: 4px; }
.ack-contact__grid br { display: none; }
.ack-contact__grid a { color: inherit; }

/* ---------- Unterseiten ---------- */
.ack-pagetitle {
	background: var(--ack-navy);
	color: var(--ack-hell);
	padding-top: 40px;
	padding-bottom: 72px;
}
.ack-pagetitle h1 { color: #fff; margin: 0; font-size: clamp(34px, 5vw, 56px); }
.ack-pagetitle .is-style-punkt::after { color: var(--ack-signal); }
.ack-pagetitle .is-style-dachzeile { color: var(--wp--preset--color--rosa); }
.ack-content { padding-top: var(--ack-section); padding-bottom: var(--ack-section); }
.ack-content h2 { font-size: clamp(26px, 3vw, 32px); margin-top: 48px; }
.ack-content h3 { margin-top: 32px; }
.ack-content a:not(.wp-element-button) { color: var(--ack-rot); text-decoration: underline; text-underline-offset: 3px; }
.ack-content ul:not(.is-style-punkte) { padding-left: 1.2em; }
.ack-content ul:not(.is-style-punkte) li::marker { color: var(--ack-rot); }

/* Chronik (Kanzlei-Seite) */
.ack-chronik { border-left: 2px solid var(--ack-linie); padding-left: 32px; }
.ack-chronik > * { position: relative; margin: 0 0 24px; }
.ack-chronik > *::before {
	content: "";
	position: absolute;
	left: -41px;
	top: 6px;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: var(--ack-rot);
}
.ack-chronik strong { display: block; font-size: 22px; color: var(--ack-anthrazit); }

/* Team */
.ack-team .wp-block-post-template { gap: 32px 24px; }
.ack-team__foto { background: url(assets/img/platzhalter-portrait.svg) center / cover; margin-bottom: 16px; }
.ack-team__foto img { display: block; }
.ack-team__name { font-size: 20px; margin: 0 0 4px; }
.ack-team__name a { color: var(--ack-anthrazit); }
.ack-team__name a:hover { color: var(--ack-rot); }
.ack-team__funktion { font-size: 15px; color: var(--wp--preset--color--text); margin: 0; }
.ack-team__funktion p { margin: 0; }
.ack-profile { gap: 56px; }
.ack-profile__funktion { font-size: var(--wp--preset--font-size--large); color: var(--ack-anthrazit); font-weight: 600; }

/* ---------- Fußbereich ---------- */
.ack-footer { background: var(--ack-navy); color: #8E95AA; font-size: 14px; }
.ack-footer__inner { min-height: 68px; gap: 8px 32px; padding-block: 16px; }
.ack-footer p { margin: 0; }
.ack-footer__links { display: flex; flex-wrap: wrap; gap: 24px; }
.ack-footer__links a { color: var(--ack-hell); }
.ack-footer__links a:hover { color: #fff; }

/* ---------- Mobil ---------- */
@media (max-width: 1100px) {
	.ack-nav .wp-block-navigation__container { gap: 20px; }
	.ack-call { display: none; }
}
@media (max-width: 781px) {
	.ack-header__inner { min-height: 84px; }
	.ack-logo__signet { height: 44px; }
	.ack-logo__text { height: 36px; }
	.ack-hero { padding-top: 24px; padding-bottom: 56px; background-size: auto 320px; }
	.ack-hero__cols, .ack-split, .ack-split--wide, .ack-profile { gap: 32px; }
	.ack-photo--hero img, .ack-photo--jobs img { height: auto; aspect-ratio: 4 / 3; }
	.ack-photo--gen img { height: auto; aspect-ratio: 4 / 3; }
	.ack-cards, .ack-gens { margin-top: 28px !important; }
	.ack-contact__grid { gap: 16px; }
	.ack-team .wp-block-post-template { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 480px) {
	.ack-team .wp-block-post-template { grid-template-columns: 1fr !important; }
}

/* ---------- Inhalt bündig zum Raster (Kopf/Fuß) ---------- */
.ack-content .wp-block-post-content > :not(.alignwide):not(.alignfull) {
	max-width: 860px;
	margin-left: 0 !important;
	margin-right: auto !important;
}
.ack-content .wp-block-post-content > .alignwide { max-width: 1200px; margin-left: 0 !important; }

/* ---------- Formulare (Kontakt, Bewerbung, Mandanten-Mail) ---------- */
.ack-form, .wpcf7-form { max-width: 860px; }
.ack-form .ack-feld, .wpcf7-form > p, .wpcf7-form .ack-form-row > p { margin: 0 0 22px; }
.ack-form label, .wpcf7 label { display: block; font-weight: 600; color: var(--ack-anthrazit); font-size: 15px; }
.ack-form input[type="text"], .ack-form input[type="email"], .ack-form select,
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 input[type="tel"], .wpcf7 select, .wpcf7 textarea {
	box-sizing: border-box; width: 100%; margin-top: 8px; padding: 13px 14px;
	font: inherit; font-size: 16px; font-weight: 400; color: var(--wp--preset--color--text);
	border: 1px solid #CFCBC6; border-radius: 2px; background: #fff;
	transition: border-color .15s, box-shadow .15s;
}
.ack-form select, .wpcf7 select {
	appearance: none; -webkit-appearance: none; padding-right: 44px;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23AC1318' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 16px center;
}
.wpcf7 textarea { min-height: 170px; resize: vertical; }
.ack-form input:focus, .ack-form select:focus, .wpcf7 input:focus, .wpcf7 select:focus, .wpcf7 textarea:focus {
	outline: none; border-color: var(--ack-navy); box-shadow: 0 0 0 3px rgba(20, 28, 53, .15);
}
.wpcf7 .ack-form-row, .ack-form .ack-form-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 20px; }
.wpcf7 .ack-form-row > p { min-width: 0; }
.wpcf7 .wpcf7-form-control-wrap { display: block; }
.ack-form fieldset { border: 0; padding: 0; margin: 0 0 22px; }
.ack-form legend { font-weight: 600; color: var(--ack-anthrazit); font-size: 15px; margin-bottom: 10px; padding: 0; }
.ack-checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px 16px; }
.ack-checks label, .ack-check, .wpcf7 .wpcf7-list-item label {
	display: flex; align-items: flex-start; gap: 10px; font-weight: 400; color: var(--wp--preset--color--text); font-size: 15px; cursor: pointer;
}
.ack-checks label { border: 1px solid var(--ack-linie); padding: 11px 14px; background: #fff; }
.ack-checks label:has(input:checked) { border-color: var(--ack-navy); background: var(--ack-grau); }
.ack-form input[type="checkbox"], .wpcf7 input[type="checkbox"] { width: 18px; height: 18px; margin: 2px 0 0; flex-shrink: 0; accent-color: var(--ack-signal); }
.ack-einwilligung, .wpcf7 .wpcf7-acceptance {
	display: block; background: var(--ack-grau); padding: 16px 18px; font-size: 14px; line-height: 1.55;
}
.ack-einwilligung label, .wpcf7 .wpcf7-acceptance label { font-size: 14px; }
.wpcf7 .wpcf7-list-item { margin: 0; }
.ack-form button[type="submit"], .wpcf7 input[type="submit"] {
	background: var(--ack-signal); color: #fff; border: 0; padding: 15px 30px; font: inherit; font-size: 16px; font-weight: 600;
	border-radius: 2px; cursor: pointer; transition: background .15s;
}
.ack-form button[type="submit"]:hover, .wpcf7 input[type="submit"]:hover { background: var(--ack-rot); }
.wpcf7 input[type="file"] {
	display: block; width: 100%; box-sizing: border-box; margin-top: 8px; padding: 14px; font: inherit; font-size: 15px;
	border: 1.5px dashed #CFCBC6; background: var(--ack-grau); cursor: pointer;
}
.wpcf7 input[type="file"]::file-selector-button {
	margin-right: 14px; padding: 9px 16px; border: 0; background: var(--ack-navy); color: #fff; font: inherit; font-weight: 600; cursor: pointer;
}
.ack-hinweis { font-size: 14px; color: #6E6A6B; font-weight: 400; display: block; margin-top: 4px; }
.wpcf7 .wpcf7-not-valid-tip { font-size: 14px; color: var(--ack-rot); margin-top: 6px; }
.wpcf7 .wpcf7-not-valid { border-color: var(--ack-rot) !important; }
.wpcf7 form .wpcf7-response-output { margin: 20px 0 0; padding: 14px 18px; border-width: 1.5px; }
.ack-form .g-recaptcha { margin: 0 0 22px; }
@media (max-width: 600px) { .wpcf7 .ack-form-row, .ack-form .ack-form-row { grid-template-columns: 1fr; } }

/* ---------- Mandantenbrief (IWW) ---------- */
.ack-mb { hyphens: auto; overflow-wrap: break-word; display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 48px; align-items: start; }
.ack-mb:not(.is-ready) { display: block; }
.ack-mb__archiv { position: sticky; top: 24px; background: var(--ack-grau); padding: 22px 0 14px; }
.ack-mb__archiv-titel { margin: 0 22px 10px !important; font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ack-rot); }
.ack-mb__liste { list-style: none; margin: 0; padding: 0; }
.ack-mb__eintrag {
	display: block; width: 100%; text-align: left; background: none; border: 0; border-left: 3px solid transparent;
	padding: 10px 22px 10px 19px; font: inherit; cursor: pointer; color: var(--ack-anthrazit);
}
.ack-mb__eintrag:hover { background: rgba(20, 28, 53, .05); }
.ack-mb__eintrag.is-aktiv { border-left-color: var(--ack-rot); background: #fff; }
.ack-mb__eintrag .ack-mb__art { display: block; font-size: 12px; margin-bottom: 1px; }
.ack-mb__name { display: block; font-weight: 600; font-size: 15px; line-height: 1.35; }
.ack-mb__select { display: none; }
.ack-mb__art { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ack-rot); margin: 0; }
.ack-mb__kopf { border-bottom: 1px solid var(--ack-linie); padding-bottom: 18px; margin-bottom: 28px; }
.ack-mb__titel { margin: 6px 0 0 !important; font-size: clamp(26px, 3vw, 34px) !important; }
.ack-mb__termine { background: var(--ack-navy); color: var(--ack-hell); padding: 26px 30px; margin-bottom: 36px; }
.ack-mb__termine h3 { color: #fff; font-size: 20px; margin: 6px 0 12px; }
.ack-mb__termine .ack-mb__art { color: var(--wp--preset--color--rosa); }
.ack-mb__termine p, .ack-mb__termine li { font-size: 15px; }
.ack-mb__termine a { color: #fff; }
.ack-mb__termine table td, .ack-mb__termine table th { border-color: rgba(255,255,255,.2) !important; color: var(--ack-hell); }
.ack-mb__rubrik { font-size: 13px !important; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ack-rot) !important; margin: 34px 0 8px !important; }
.ack-mb__artikel { border-top: 1px solid var(--ack-linie); }
.ack-mb__artikel:last-of-type { border-bottom: 1px solid var(--ack-linie); }
.ack-mb__artikel summary {
	list-style: none; cursor: pointer; padding: 16px 44px 16px 0; position: relative;
	font-weight: 600; font-size: 17px; color: var(--ack-anthrazit); line-height: 1.4;
}
.ack-mb__artikel summary::-webkit-details-marker { display: none; }
.ack-mb__artikel summary::after {
	content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
	border-right: 2px solid var(--ack-rot); border-bottom: 2px solid var(--ack-rot); transform: rotate(45deg); transition: transform .2s;
}
.ack-mb__artikel[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.ack-mb__artikel summary:hover { color: var(--ack-rot); }
.ack-mb__text { padding: 0 0 22px; font-size: 16px; }
.ack-mb__text p { margin: 0 0 12px; }
.ack-mb__text ul { padding-left: 1.2em; margin: 0 0 12px; }
.ack-mb__text li { list-style: square; }
.ack-mb__text li::marker { color: var(--ack-rot); }
.ack-mb__text a { color: var(--ack-rot); text-decoration: underline; }
.ack-mb__table { overflow-x: auto; margin: 0 0 14px; }
.ack-mb__table table { border-collapse: collapse; width: 100%; font-size: 14px; }
.ack-mb__table td, .ack-mb__table th { border: 1px solid var(--ack-linie); padding: 8px 10px; vertical-align: top; }
.ack-mb__table p { margin: 0; }
.ack-mb__blaettern { display: flex; justify-content: space-between; gap: 16px; margin-top: 32px; }
.ack-mb__btn {
	background: none; border: 1.5px solid var(--ack-anthrazit); color: var(--ack-anthrazit); padding: 12px 22px;
	font: inherit; font-weight: 600; font-size: 15px; cursor: pointer; border-radius: 2px;
}
.ack-mb__btn:hover { border-color: var(--ack-rot); color: var(--ack-rot); }
.ack-mb__btn:only-child { margin-left: auto; }
.ack-mb__btn:first-child:only-child { margin-left: 0; }
.ack-mb__quelle { font-size: 13px; color: #8A8586; margin-top: 28px !important; }
.ack-mb__laden, .ack-mb__fehler { padding: 40px 0; color: #8A8586; }
@media (max-width: 900px) {
	.ack-mb { grid-template-columns: 1fr; gap: 24px; }
	.ack-mb__archiv { position: static; padding: 18px; }
	.ack-mb__archiv-titel { margin: 0 0 8px !important; }
	.ack-mb__liste { display: none; }
	.ack-mb__select { display: block; width: 100%; padding: 12px; font: inherit; border: 1px solid #CFCBC6; background: #fff; }
}

/* ---------- Karriere ---------- */
.ack-vorteile { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin: 28px 0 0; }
.ack-vorteile > * { background: var(--ack-grau); padding: 24px; margin: 0 !important; }
.ack-vorteile strong { display: block; color: var(--ack-anthrazit); font-size: 17px; margin-bottom: 6px; }
.ack-stellen { border: 1.5px solid var(--ack-linie); border-left: 4px solid var(--ack-rot); padding: 24px 28px; }
.ack-stellen > * { margin: 0 0 8px; }
.ack-stellen > *:last-child { margin-bottom: 0; }
.ack-stimmen { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 28px !important; }
.ack-stimme { margin: 0 !important; }
.ack-stimme img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 25%; display: block; margin-bottom: 18px; }
.ack-stimme blockquote { margin: 0 0 14px; padding: 0 0 0 16px; border-left: 3px solid var(--ack-rot); font-size: 17px; font-style: italic; color: var(--ack-anthrazit); }
.ack-stimme blockquote p { margin: 0; }
.ack-stimme cite, .ack-stimme .ack-stimme__name { font-style: normal; font-weight: 700; color: var(--ack-anthrazit); display: block; }
.ack-stimme .ack-stimme__info { font-size: 14px; margin: 0; }
.ack-schritte { list-style: none; padding: 0; margin: 28px 0 0 !important; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; counter-reset: schritt; }
.ack-schritte li { counter-increment: schritt; position: relative; padding: 58px 22px 22px; background: var(--ack-grau); font-size: 15px; }
.ack-schritte li::before {
	content: counter(schritt); position: absolute; left: 22px; top: 18px; width: 30px; height: 30px; border-radius: 50%;
	background: var(--ack-signal); color: #fff; font-weight: 700; font-size: 15px; display: flex; align-items: center; justify-content: center;
}
.ack-schritte strong { display: block; color: var(--ack-anthrazit); font-size: 17px; margin-bottom: 4px; }
.ack-platzhalter { background: #FFF6D6; outline: 1px dashed #D9B23A; }
@media (max-width: 900px) {
	.ack-vorteile, .ack-schritte { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ack-stimmen { grid-template-columns: 1fr; }
}
@media (max-width: 520px) { .ack-vorteile, .ack-schritte { grid-template-columns: 1fr; } }
.ack-link-pfeil { font-weight: 700; color: var(--ack-anthrazit) !important; text-decoration: none !important; }
.ack-link-pfeil:hover { color: var(--ack-rot) !important; }
.ack-content h2[id] { scroll-margin-top: 24px; }

/* ---------- Steuer-Tipp (Störer) ---------- */
.ack-tipp {
	position: relative; box-sizing: border-box; background: var(--ack-navy); color: var(--ack-hell);
	padding: 26px 30px 26px 30px; margin: 8px 0 36px; overflow: hidden;
	border-left: 5px solid var(--ack-signal);
}
.ack-tipp::after {
	content: ""; position: absolute; right: -30px; bottom: -40px; width: 190px; height: 190px;
	background: url(assets/img/signet-watermark.png) no-repeat center / contain; opacity: 1; pointer-events: none;
}
.ack-tipp > * { position: relative; z-index: 1; margin: 0; }
.ack-tipp__dach { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--wp--preset--color--rosa); margin-bottom: 8px !important; }
.ack-tipp__titel { font-size: 20px; font-weight: 700; color: #fff; line-height: 1.3; margin-bottom: 8px !important; letter-spacing: -.01em; }
.ack-tipp__text { font-size: 15px; margin-bottom: 14px !important; max-width: 62ch; }
.ack-content .ack-tipp a.ack-tipp__link, .ack-tipp__link { color: #fff !important; font-weight: 700; text-decoration: none !important; font-size: 15px; }
.ack-tipp__link:hover { color: var(--wp--preset--color--rosa) !important; }
.ack-section .ack-tipp { margin-top: 32px; margin-bottom: 0; }
.ack-tipp-sektion .ack-tipp { margin-top: 44px !important; }

/* Teamstimmen (dynamisch) */
.ack-stimme blockquote { font-style: normal; }
.ack-stimme .ack-stimme__info { display: block; font-size: 14px; }
.ack-stimme figcaption { margin: 0; }
.ack-form .ack-check { display: flex; align-items: flex-start; gap: 12px; font-weight: 400; font-size: 14px; color: var(--wp--preset--color--text); }
.ack-form .ack-check input { margin-top: 3px; }

/* ---------- Einwilligung (Cookie-Einstellungen) ---------- */
.ack-consent {
	position: fixed; z-index: 9999; left: 24px; bottom: 24px; width: min(440px, calc(100vw - 48px)); box-sizing: border-box;
	max-height: calc(100vh - 48px); overflow-y: auto;
	background: #fff; color: var(--wp--preset--color--text); padding: 24px 24px 18px; border-top: 4px solid var(--ack-signal);
	box-shadow: 0 2px 6px rgba(20, 28, 53, .08), 0 24px 60px rgba(20, 28, 53, .28); font-size: 14px; line-height: 1.55;
}
.ack-consent p { margin: 0; }
.ack-consent__titel { font-size: 18px; font-weight: 700; color: var(--ack-anthrazit); margin-bottom: 6px !important; letter-spacing: -.01em; }
.ack-consent__text { margin-bottom: 16px !important; }
.ack-consent__liste { display: none; gap: 8px; margin-bottom: 16px; }
.ack-consent.is-details .ack-consent__liste { display: grid; }
.ack-consent__dienst { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; padding: 11px 13px; background: var(--ack-grau); }
.ack-consent__dienst.is-fix { cursor: default; }
.ack-consent__dienst input { width: 18px; height: 18px; margin: 2px 0 0; flex: none; accent-color: var(--ack-signal); }
.ack-consent__dienst strong { display: block; color: var(--ack-anthrazit); font-size: 14px; }
.ack-consent__dienst span { font-size: 13px; }
.ack-consent__aktionen { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ack-consent__btn {
	font: inherit; font-size: 14px; font-weight: 600; padding: 12px 14px; cursor: pointer; border-radius: 2px;
	background: #fff; color: var(--ack-navy); border: 1.5px solid var(--ack-navy); transition: background .15s, color .15s, border-color .15s;
}
.ack-consent__btn:hover { background: var(--ack-navy); color: #fff; }
.ack-consent__btn.is-primaer { background: var(--ack-signal); border-color: var(--ack-signal); color: #fff; }
.ack-consent__btn.is-primaer:hover { background: var(--ack-rot); border-color: var(--ack-rot); }
.ack-consent__btn.is-auswahl { display: none; grid-column: 1 / -1; }
.ack-consent.is-details .ack-consent__btn.is-auswahl { display: block; }
.ack-consent__btn:focus-visible, .ack-consent__mehr:focus-visible { outline: 2px solid var(--ack-signal); outline-offset: 2px; }
.ack-consent__links { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; margin-top: 14px !important; font-size: 13px; }
.ack-consent__links a, .ack-consent__mehr { color: var(--wp--preset--color--text); text-decoration: underline; text-underline-offset: 3px; }
.ack-consent__links a:hover, .ack-consent__mehr:hover { color: var(--ack-rot); }
.ack-consent__mehr { font: inherit; font-size: 13px; font-weight: 600; background: none; border: 0; padding: 0; cursor: pointer; color: var(--ack-anthrazit); }
.ack-consent__mehr::after { content: " ▾"; font-size: 11px; }
.ack-consent.is-details .ack-consent__mehr::after { content: " ▴"; }
@media (max-width: 600px) {
	.ack-consent { left: 0; right: 0; bottom: 0; width: 100%; max-height: 85vh; padding: 20px 16px calc(14px + env(safe-area-inset-bottom)); box-shadow: 0 -10px 40px rgba(20, 28, 53, .25); }
	.ack-consent__text { font-size: 13.5px; }
}

/* Platzhalter für externe Inhalte vor der Einwilligung */
.ack-extern { background: var(--ack-grau); border: 1.5px dashed #CFCBC6; padding: 18px 20px; font-size: 14px; line-height: 1.55; }
.ack-extern p { margin: 0 0 12px !important; max-width: 70ch; }
.ack-extern__btn {
	font: inherit; font-size: 14px; font-weight: 600; padding: 10px 18px; cursor: pointer; border-radius: 2px;
	background: var(--ack-navy); color: #fff; border: 0; transition: background .15s;
}
.ack-extern__btn:hover { background: var(--ack-signal); }
.ack-turnstile { margin: 0 0 20px; }
.ack-turnstile.is-aktiv { min-height: 65px; }
.ack-recaptcha.is-hervorgehoben .ack-extern, .ack-turnstile.is-hervorgehoben .ack-extern { border-color: var(--ack-signal); background: #FBEFF1; }
.ack-tipp .ack-extern { background: transparent; border: 0; padding: 0; color: var(--ack-hell); }
.ack-tipp .ack-extern p { max-width: 62ch; }
.ack-tipp .ack-extern a { color: #fff !important; }
.ack-tipp .ack-extern__btn { background: var(--ack-signal); }
.ack-tipp .ack-extern__btn:hover { background: var(--ack-rot); }
.ack-mb .ack-extern { padding: 26px 28px; }
.ack-content mark { background: #FBE3E7; color: inherit; padding: 0 4px; }

/* ---------- Stellenangebote ---------- */
.ack-stellen-liste { display: grid; gap: 16px; margin-top: 8px; }
.ack-stelle-karte h3 { font-size: 24px; margin: 0 0 8px !important; }
.ack-stelle-karte h3 a, .ack-content .ack-stelle-karte h3 a { color: var(--ack-anthrazit) !important; text-decoration: none !important; }
.ack-content .ack-stelle-karte h3 a:hover { color: var(--ack-rot) !important; }
.ack-stelle-karte__fakten { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ack-rot); }
.ack-stelle-karte__links { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.ack-content .ack-stelle-karte__links a { text-decoration: none; }
.ack-stellen-initiativ { font-size: 15px; margin: 4px 0 0 !important; }
.ack-stelle-fakten { list-style: none; padding: 0 !important; margin: 0 0 32px !important; display: flex; flex-wrap: wrap; gap: 10px; }
.ack-stelle-fakten li::before { display: none !important; }
.ack-stelle-fakten li { margin: 0 !important; background: var(--ack-grau); padding: 8px 14px; font-size: 15px; font-weight: 600; color: var(--ack-anthrazit); border-left: 3px solid var(--ack-signal); }
.ack-stelle-cta { margin-top: 40px; padding: 28px 32px; background: var(--ack-navy); color: var(--ack-hell); }
.ack-stelle-cta p { margin: 0 0 18px !important; }
.ack-stelle-cta strong { color: #fff; }
