/* ==========================================================================
   profrie dive – Theme-Styles
   Farben: Navy #1F3366 · Tiefblau #142A55 · Blau #3A5BA5 · Hellblau #86CEE4
   ========================================================================== */

:root {
	--pd-navy: #1F3366;
	--pd-tief: #142A55;
	--pd-blau: #3A5BA5;
	--pd-hell: #86CEE4;
	--pd-eis: #EAF5FA;
	--pd-grund: #F5F9FB;
	--pd-linie: #D3E2EA;
	--pd-text: #44597A;
	--pd-text-hell: #D2E2F0;
	--pd-rot: #E3000B;
	--pd-breit: 1560px;
	--pd-rand: clamp(16px, 4vw, 32px);
	--pd-sektion: clamp(56px, 7vw, 96px);
	--pd-schatten: 0 20px 50px rgba(31, 51, 102, 0.08);
	--pd-welle: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 140' preserveAspectRatio='none'%3E%3Cpath d='M0,70 C260,20 520,110 780,70 C1040,30 1240,40 1440,80 L1440,140 L0,140 Z' fill='%2386CEE4'/%3E%3Cpath d='M0,100 C300,60 560,130 860,100 C1100,76 1280,90 1440,110 L1440,140 L0,140 Z' fill='%23F5F9FB'/%3E%3C/svg%3E");
}

body { -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { overflow-wrap: break-word; }
img { max-width: 100%; height: auto; }
:where(.pd-main) :where(p, li) { color: var(--pd-text); }
:where(.pd-main) :where(strong) { color: var(--pd-navy); }
.screen-reader-text:focus { background: #fff; color: var(--pd-navy); }
:focus-visible { outline: 3px solid var(--pd-hell); outline-offset: 2px; }

/* ---------- Kopfbereich -------------------------------------------------- */

.pd-site-header { position: absolute; top: 0; left: 0; right: 0; z-index: 50; }
.admin-bar .pd-site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .pd-site-header { top: 46px; } }

.pd-header-inner { max-width: calc(var(--pd-breit) + 2 * var(--pd-rand)); margin: 0 auto; padding: 0 var(--pd-rand); box-sizing: border-box; gap: 12px 32px; }

.pd-logo-tab { flex: 0 0 auto; background: #fff; padding: 12px 14px 10px; border-radius: 0 0 18px 18px; box-shadow: 0 12px 30px rgba(10, 20, 45, 0.35); line-height: 0; }
.pd-logo-tab img { height: 66px !important; width: auto !important; max-width: none; border-radius: 6px; }
.pd-logo-tab a { display: block; }

.pd-nav { padding-top: 30px; font-weight: 600; font-size: 17px; }
.pd-nav .wp-block-navigation__container { gap: 4px; }
.pd-nav .wp-block-navigation-item__content { color: #fff; padding: 10px 18px; border-radius: 999px; text-decoration: none; transition: background .15s; }
.pd-nav .wp-block-navigation-item > .wp-block-navigation-item__content:hover,
.pd-nav .current-menu-item > .wp-block-navigation-item__content,
.pd-nav .current-menu-ancestor > .wp-block-navigation-item__content { background: rgba(255, 255, 255, 0.14); }
.pd-nav .pd-nav-kontakt > .wp-block-navigation-item__content { border: 1px solid rgba(255, 255, 255, 0.6); padding: 9px 22px; margin-left: 8px; }
.pd-nav .wp-block-navigation__submenu-icon { color: #fff; margin-left: -12px; margin-right: 10px; }
.pd-nav .wp-block-navigation-item.has-child > .wp-block-navigation-item__content { padding-right: 12px; }

/* Mega-Menü „Ausbildung“ (Desktop) */
.pd-header-inner { position: relative; }
@media (min-width: 1080px) {
	.pd-nav .wp-block-navigation__responsive-container-open { display: none !important; }
	.pd-nav .wp-block-navigation__responsive-container:not(.is-menu-open) { display: block !important; width: auto; height: auto; background: none !important; padding: 0 !important; z-index: auto; overflow: visible; }
	.pd-nav .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__responsive-container-content { display: flex; padding: 0 !important; }
	.pd-nav .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__responsive-container-close { display: none !important; }
	.pd-nav, .pd-nav .wp-block-navigation__container, .pd-nav .wp-block-navigation__responsive-container:not(.is-menu-open),
	.pd-nav .wp-block-navigation__responsive-close, .pd-nav .wp-block-navigation__responsive-dialog,
	.pd-nav .wp-block-navigation__responsive-container-content, .pd-nav li.pd-mega { position: static !important; }
	.pd-nav li.pd-mega > ul.wp-block-navigation__submenu-container {
		position: absolute !important; left: var(--pd-rand) !important; right: var(--pd-rand) !important; top: calc(100% + 6px) !important;
		width: auto !important; min-width: 0 !important; height: auto !important;
		display: grid !important; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px 28px; align-items: start;
		padding: 28px 32px !important; background: #fff !important; border: 0 !important; border-radius: 24px;
		box-shadow: 0 30px 60px rgba(10, 20, 45, 0.35); max-height: none; overflow: visible !important; z-index: 60;
	}
	.pd-nav li.pd-mega:hover > ul.wp-block-navigation__submenu-container::before { content: ""; position: fixed; }
	.pd-nav li.pd-mega > a::after { content: ""; position: absolute; left: 0; right: 0; height: 40px; top: 100%; }
	.pd-nav li.pd-mega > a { position: relative; }
	.pd-nav li.pd-mega > ul > li { display: block !important; width: auto; }
	.pd-nav li.pd-mega > ul > li > a.wp-block-navigation-item__content {
		color: var(--pd-blau) !important; font-size: 13px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
		padding: 4px 0 8px !important; border-bottom: 1px solid var(--pd-linie); border-radius: 0; background: none !important; pointer-events: none; display: block;
	}
	.pd-nav li.pd-mega > ul > li > .wp-block-navigation__submenu-icon { display: none !important; }
	.pd-nav li.pd-mega > ul > li > ul.wp-block-navigation__submenu-container {
		position: static !important; visibility: inherit !important; opacity: 1 !important; width: auto !important; height: auto !important;
		min-width: 0 !important; border: 0 !important; padding: 6px 0 0 !important; box-shadow: none !important; background: transparent !important;
		overflow: visible !important; display: block !important; left: auto !important; top: auto !important;
	}
	.pd-nav li.pd-mega > ul > li > ul > li > a.wp-block-navigation-item__content {
		color: var(--pd-navy) !important; font-size: 15px; font-weight: 600; padding: 5px 8px !important; margin: 0 -8px; border-radius: 8px; background: none; display: block;
	}
	.pd-nav li.pd-mega > ul > li > ul > li > a.wp-block-navigation-item__content:hover { background: var(--pd-eis) !important; }
}

/* Mobiles Menü */
.pd-nav .wp-block-navigation__responsive-container-open {
	width: 50px; height: 50px; margin-top: -16px; border-radius: 999px; background: rgba(20, 42, 85, 0.55);
	border: 1px solid rgba(255, 255, 255, 0.45); color: #fff; align-items: center; justify-content: center;
}
@media (max-width: 1079px) { .pd-nav .wp-block-navigation__responsive-container-open { display: flex !important; } .pd-nav { padding-top: 28px; } }
.pd-nav .wp-block-navigation__responsive-container.is-menu-open { background: var(--pd-navy) !important; color: #fff !important; padding: 24px var(--pd-rand); }
.pd-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content { padding-top: 64px; align-items: stretch; }
.pd-nav .is-menu-open .wp-block-navigation__container { gap: 4px !important; align-items: stretch !important; width: 100%; }
.pd-nav .is-menu-open .wp-block-navigation-item { width: 100%; }
.pd-nav .is-menu-open .wp-block-navigation-item__content { font-size: 20px; padding: 14px 18px !important; border-radius: 14px; width: 100%; box-sizing: border-box; }
.pd-nav .is-menu-open .pd-nav-kontakt > .wp-block-navigation-item__content { background: var(--pd-hell); color: var(--pd-navy) !important; border: 0; margin: 12px 0 0; justify-content: center; text-align: center; }
.pd-nav .is-menu-open .pd-mega .wp-block-navigation__submenu-container,
.pd-nav .is-menu-open .pd-mega .wp-block-navigation__submenu-icon { display: none !important; }
.pd-nav .wp-block-navigation__responsive-container-close { color: #fff; top: 8px; right: 8px; }

/* Untermenü „Ausbildung“ per Touch (ab 1.0.15) */
.pd-mega-schalter { display: none; }
.pd-nav li.pd-mega > ul > li.pd-mega-uebersicht { display: none !important; }
/* Tablet quer / Touch-Bildschirm: Mega-Menü per Tipp geöffnet */
@media (min-width: 1080px) {
	.pd-nav li.pd-mega.pd-offen > ul.wp-block-navigation__submenu-container { visibility: visible !important; opacity: 1 !important; }
}
/* Handy und Tablet hochkant: Akkordeon im aufgeklappten Menü */
.pd-nav .is-menu-open li.pd-mega { display: flex !important; flex-direction: row !important; flex-wrap: wrap; align-items: center !important; justify-content: space-between; }
.pd-nav .is-menu-open li.pd-mega > a.wp-block-navigation-item__content { flex: 1 1 0; width: auto !important; }
.pd-nav .is-menu-open .pd-mega-schalter {
	display: flex; flex: 0 0 52px; width: 52px; height: 52px; margin-left: 6px; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; cursor: pointer;
	background: rgba(255,255,255,.08) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center / 22px no-repeat;
	transition: transform .2s, background-color .2s;
}
.pd-nav .is-menu-open li.pd-mega.pd-offen > .pd-mega-schalter { transform: rotate(180deg); background-color: rgba(134,206,228,.25); }
.pd-nav .is-menu-open li.pd-mega.pd-offen > ul.wp-block-navigation__submenu-container {
	display: block !important; flex: 0 0 100%; width: 100% !important; margin: 8px 0 6px !important; padding: 8px !important;
	background: rgba(255,255,255,.06) !important; border: 0 !important; border-radius: 16px; box-sizing: border-box;
}
.pd-nav .is-menu-open li.pd-mega.pd-offen > ul > li { display: block !important; width: 100%; }
.pd-nav .is-menu-open li.pd-mega > ul > li.pd-mega-uebersicht { display: block !important; }
.pd-nav .is-menu-open li.pd-mega > ul > li.pd-mega-uebersicht > a { color: var(--pd-hell) !important; font-weight: 700; font-size: 18px; }
.pd-nav .is-menu-open li.pd-mega > ul > li.has-child > a.wp-block-navigation-item__content {
	font-size: 18px; padding: 12px 52px 12px 14px !important; position: relative; cursor: pointer;
}
.pd-nav .is-menu-open li.pd-mega > ul > li.has-child > a.wp-block-navigation-item__content::after {
	content: ""; position: absolute; right: 16px; top: 50%; width: 18px; height: 18px; margin-top: -9px; transition: transform .2s;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2386CEE4' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / contain no-repeat;
}
.pd-nav .is-menu-open li.pd-mega > ul > li.has-child.pd-offen > a.wp-block-navigation-item__content::after { transform: rotate(45deg); }
.pd-nav .is-menu-open li.pd-mega > ul > li.has-child.pd-offen > ul.wp-block-navigation__submenu-container {
	display: block !important; padding: 0 0 8px 14px !important; margin: 0 !important; background: none !important; border: 0 !important;
}
.pd-nav .is-menu-open li.pd-mega > ul > li > ul > li > a.wp-block-navigation-item__content { font-size: 16px; font-weight: 500; padding: 9px 14px !important; color: var(--pd-text-hell) !important; }
.pd-nav .is-menu-open li.pd-mega > ul > li > .wp-block-navigation__submenu-icon { display: none !important; }

@media (max-width: 599px) {
	.pd-logo-tab img { height: 52px !important; }
	.pd-nav { padding-top: 28px; }
}

/* ---------- Kopfbild (Hero) ---------------------------------------------- */

.pd-hero { position: relative; background-color: var(--pd-tief); color: #fff; overflow: hidden; padding: 200px var(--pd-rand) 150px !important; align-items: flex-end; }
.pd-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 90px; background: var(--pd-welle) center bottom / 100% 100% no-repeat; z-index: 2; pointer-events: none; }
.pd-hero .wp-block-cover__inner-container { max-width: var(--pd-breit); width: 100%; margin: 0 auto; position: relative; z-index: 3; }
.pd-hero .wp-block-cover__inner-container > * { margin-left: 0 !important; margin-right: 0 !important; max-width: 46rem; }
.pd-hero .wp-block-cover__inner-container > * + * { margin-top: 20px; }
.pd-hero h1, .pd-hero .wp-block-post-title, .pd-hero .wp-block-query-title { color: #fff; margin: 0; font-size: clamp(32px, 5.5vw, 58px); line-height: 1; }
.pd-hero p, .pd-hero .pd-hero-text, .pd-hero .wp-block-post-excerpt__excerpt, .pd-hero .wp-block-term-description p { color: var(--pd-text-hell); font-size: 21px; line-height: 1.5; max-width: 36em; }
.pd-hero .wp-block-post-excerpt__more-text { display: none; }
.pd-hero-start { min-height: 840px !important; padding-bottom: 170px !important; }
.pd-hero-start::after { height: 120px; }
.pd-hero-start h1 { display: flex; flex-direction: column; gap: 28px; max-width: none; }
.pd-hero-titel { display: block; font-size: clamp(36px, 5.6vw, 68px); line-height: .95; letter-spacing: -0.025em; max-width: 11em; }
.pd-hero-pille { align-self: flex-start; padding: 8px 16px; border: 1px solid rgba(134, 206, 228, .55); border-radius: 999px; font-size: 14px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--pd-hell); line-height: 1.4; }
.pd-hero-kompakt { min-height: 460px !important; padding-top: 180px !important; padding-bottom: 130px !important; }
.pd-hero-schmal { min-height: 280px !important; padding-top: 160px !important; padding-bottom: 80px !important; }
.pd-hero-schmal::after { height: 60px; }
.pd-hero .wp-block-buttons { margin-top: 32px; }
.pd-hero .pd-anker .wp-block-button__link { padding: 10px 20px; font-size: 16px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.45); color: #fff; }
.pd-hero .pd-anker .wp-block-button__link:hover { background: rgba(255,255,255,.2); }
@media (max-width: 599px) {
	.pd-hero { padding-top: 150px !important; padding-bottom: 120px !important; }
	.pd-hero-start { min-height: 0 !important; padding-top: 170px !important; }
	.pd-hero::after { height: 60px; }
}

/* Brotkrumen */
.pd-brotkrumen { font-size: 15px; color: #B8CDE0; display: flex; flex-wrap: wrap; gap: 4px 8px; margin: 0; }
.pd-brotkrumen a { color: #B8CDE0; }
.pd-brotkrumen a:hover { color: #fff; }

/* ---------- Abschnitte --------------------------------------------------- */

.pd-main { padding-bottom: var(--pd-sektion); }
.pd-main-standard, .pd-main-produkt { padding-top: clamp(40px, 5vw, 64px); }
.pd-main .wp-block-post-content > .pd-hero:first-child { margin-top: 0; }
.pd-sektion { margin-top: var(--pd-sektion) !important; }
.pd-sektion-eng { margin-top: clamp(32px, 4vw, 48px) !important; }
.pd-kopfzeile { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 24px; margin-bottom: 8px; }
.pd-kopfzeile > * { margin: 0 !important; }
.pd-kopfzeile h2 { margin-top: 10px !important; }
.pd-text-spalte { max-width: 820px; }

/* ---------- Absatz-Stile ------------------------------------------------- */

p.is-style-pd-dachzeile { font-size: 14px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--pd-blau) !important; margin-bottom: 10px; }
p.is-style-pd-pille { width: fit-content; padding: 8px 16px; background: var(--pd-eis); color: var(--pd-blau) !important; border-radius: 999px; font-size: 14px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; line-height: 1.3; }
p.is-style-pd-pille-rot { width: fit-content; padding: 6px 14px; background: var(--pd-rot); color: #fff !important; border-radius: 999px; font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; line-height: 1.3; }
p.is-style-pd-einleitung { font-size: 21px; line-height: 1.55; }
.pd-nummer { font-size: 15px !important; font-weight: 800; color: var(--pd-blau) !important; letter-spacing: .1em; margin: 0 !important; }
.pd-zitat { font-weight: 700; font-size: clamp(22px, 3.2vw, 34px) !important; line-height: 1.2; letter-spacing: -0.01em; color: var(--pd-navy) !important; }

/* ---------- Buttons ------------------------------------------------------ */

.wp-block-button__link { transition: background .15s, color .15s, border-color .15s; }
.is-style-pd-hell .wp-block-button__link { background: var(--pd-hell); color: var(--pd-navy); }
.is-style-pd-hell .wp-block-button__link:hover { background: #fff; color: var(--pd-navy); }
.is-style-pd-umriss .wp-block-button__link { background: transparent; color: var(--pd-navy); border: 1px solid var(--pd-navy); padding: 15px 27px; }
.is-style-pd-umriss .wp-block-button__link:hover { background: var(--pd-navy); color: #fff; }
.is-style-pd-umriss-hell .wp-block-button__link { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.6); padding: 15px 27px; }
.is-style-pd-umriss-hell .wp-block-button__link:hover { background: rgba(255,255,255,.14); color: #fff; }
.is-style-pd-textlink .wp-block-button__link { background: none; color: var(--pd-blau); padding: 0; font-size: 17px; }
.is-style-pd-textlink .wp-block-button__link:hover { background: none; color: var(--pd-navy); text-decoration: underline; }
.pd-klein .wp-block-button__link { padding: 12px 22px; font-size: 16px; }
.pd-klein.is-style-pd-umriss .wp-block-button__link, .pd-klein .is-style-pd-umriss .wp-block-button__link { padding: 11px 21px; }

/* ---------- Gruppen-Stile ------------------------------------------------ */

.is-style-pd-karte { background: #fff; border: 1px solid var(--pd-linie); border-radius: 24px; padding: clamp(24px, 3vw, 32px); box-sizing: border-box; }
.is-style-pd-karte-blau { background: #fff; border: 4px solid var(--pd-blau); border-radius: 24px; padding: 24px; box-sizing: border-box; }
.is-style-pd-panel-navy { background: var(--pd-navy); color: #fff; border-radius: 32px; padding: clamp(32px, 5vw, 72px); box-sizing: border-box; }
.is-style-pd-panel-navy :where(h1, h2, h3, h4, strong) { color: #fff; }
.is-style-pd-panel-navy :where(p, li) { color: var(--pd-text-hell); }
.is-style-pd-panel-navy p.is-style-pd-dachzeile { color: var(--pd-hell) !important; }
.is-style-pd-panel-navy a:where(:not(.wp-block-button__link)) { color: var(--pd-hell); }
.is-style-pd-panel-hell { position: relative; overflow: hidden; background: var(--pd-hell); color: var(--pd-navy); border-radius: 32px; padding: clamp(32px, 5vw, 72px) !important; box-sizing: border-box; gap: 28px; }
.is-style-pd-panel-hell::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 70px; pointer-events: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M0,60 C220,20 460,100 700,60 C900,30 1060,40 1200,70 L1200,120 L0,120 Z' fill='%233A5BA5' fill-opacity='0.35'/%3E%3C/svg%3E") bottom / 100% 100% no-repeat; }
.is-style-pd-panel-hell > * { position: relative; z-index: 1; }
.is-style-pd-panel-hell :where(p, li, h2, h3) { color: var(--pd-navy) !important; }
.pd-cta-text { max-width: 640px; }
.pd-cta-text > * { margin: 0; }
.pd-cta-text > * + * { margin-top: 12px; }
.pd-cta h2 { font-size: clamp(27px, 4vw, 45px); line-height: 1; }

.pd-raster-2, .pd-raster-3, .pd-raster-4 { display: grid !important; gap: 20px; }
.pd-raster-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.pd-raster-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.pd-raster-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.pd-raster-2 > *, .pd-raster-3 > *, .pd-raster-4 > * { margin: 0 !important; }
/* Kurs-Kacheln: 4 nebeneinander, darunter 2, auf dem Handy 1 */
.pd-raster-2:has(> .pd-kurs) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .pd-raster-2:has(> .pd-kurs) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .pd-raster-2:has(> .pd-kurs) { grid-template-columns: 1fr; } }
@media (min-width: 1101px) { .pd-raster-2 > .pd-kurs { padding: 28px 24px !important; } .pd-raster-2 > .pd-kurs h3 { font-size: 19px; } }
.pd-karten-inhalt > * { margin: 0; }
.pd-karten-inhalt > * + * { margin-top: 10px; }
.pd-karten-inhalt h3 { font-size: 19px; line-height: 1.15; }

/* ---------- Listen-Stile ------------------------------------------------- */

ul.is-style-pd-haken { list-style: none; padding: 0; margin-left: 0; display: grid; gap: 14px; }
ul.is-style-pd-haken > li { position: relative; padding-left: 46px; min-height: 34px; line-height: 1.4; padding-top: 6px; box-sizing: border-box; }
ul.is-style-pd-haken > li::before { content: ""; position: absolute; left: 0; top: 0; width: 34px; height: 34px; border-radius: 999px; background: var(--pd-blau) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 18px no-repeat; }
.is-style-pd-panel-navy ul.is-style-pd-haken > li::before { background-color: var(--pd-hell); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F3366' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E"); }
ul.is-style-pd-haken.pd-spalten { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
ul.is-style-pd-punkte { list-style: none; padding: 0; margin-left: 0; display: grid; gap: 8px; }
ul.is-style-pd-punkte > li { position: relative; padding-left: 22px; }
ul.is-style-pd-punkte > li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 9px; height: 9px; border-radius: 99px; background: var(--pd-hell); }
ul.is-style-pd-chips { list-style: none; padding: 0; margin-left: 0; display: flex; flex-wrap: wrap; gap: 10px; }
ul.is-style-pd-chips > li { padding: 8px 16px; border: 1px solid var(--pd-linie); background: #fff; border-radius: 999px; font-size: 16px; color: var(--pd-navy); }
.is-style-pd-panel-navy ul.is-style-pd-chips > li { background: transparent; border-color: rgba(134,206,228,.5); color: #fff; }

/* Nummernliste (Ausbildung) */
ul.pd-nummern { list-style: none; padding: 0; margin: 0; counter-reset: pdnr; }
ul.pd-nummern > li { counter-increment: pdnr; border-bottom: 1px solid rgba(255,255,255,.18); }
ul.pd-nummern > li:last-child { border-bottom: 0; }
ul.pd-nummern > li > a { display: flex; align-items: center; gap: 24px; padding: 24px 0; color: #fff !important; text-decoration: none; font-size: clamp(18px, 2.4vw, 22px); font-weight: 700; }
ul.pd-nummern > li > a::before { content: counter(pdnr, decimal-leading-zero); font-size: 15px; color: var(--pd-hell); width: 28px; flex: 0 0 auto; }
ul.pd-nummern > li > a::after { content: "→"; margin-left: auto; color: var(--pd-hell); font-size: 19px; transition: transform .15s; }
ul.pd-nummern > li > a:hover::after { transform: translateX(4px); }

/* ---------- Bilder & Bildnachweis --------------------------------------- */

.wp-block-image { position: relative; }
.wp-block-image.is-style-pd-abgerundet img, .pd-abgerundet img { border-radius: 24px; }
.wp-block-image.is-style-pd-freisteller img { background: #fff; border: 4px solid var(--pd-blau); border-radius: 24px; padding: 16px; box-sizing: border-box; object-fit: contain; }
.wp-block-image figcaption { margin-top: 10px; }
.pd-credit { position: absolute; top: 14px; right: 16px; z-index: 6; font-size: 12px; line-height: 1; letter-spacing: .02em; pointer-events: none; color: rgba(255,255,255,.5); text-shadow: 0 1px 2px rgba(0,0,0,.35); font-style: normal; }
.pd-credit.is-dunkel { color: rgba(31,51,102,.5); text-shadow: none; }
.wp-block-image.is-style-pd-freisteller .pd-credit { top: 18px; right: 20px; }
/* In Kacheln sitzt der Bildnachweis in der Kachel-Ecke oben rechts */
.pd-kachel .wp-block-image { position: static !important; }
.pd-kachel .wp-block-image .pd-credit { top: 14px; right: 18px; }
.pd-hero > .pd-credit { top: auto; bottom: 100px; right: 24px; z-index: 4; }
.pd-hero-start > .pd-credit { bottom: 130px; }
.pd-hero-schmal > .pd-credit { bottom: 70px; }
.wp-block-cover > .pd-credit { z-index: 4; }

/* ---------- Startseite --------------------------------------------------- */

.pd-teaser { background: #fff; border: 1px solid var(--pd-linie); border-radius: 32px; overflow: hidden; box-shadow: var(--pd-schatten); gap: 0 !important; }
.pd-teaser > .wp-block-column { margin: 0 !important; }
.pd-teaser-bild { min-height: 520px !important; height: 100%; border-radius: 0; }
.pd-teaser-bild .wp-block-cover__inner-container { position: absolute; left: 24px; bottom: 24px; width: auto; }
.pd-teaser-bild p.pd-plakette { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 10px 16px; background: rgba(255,255,255,.92); color: var(--pd-navy) !important; border-radius: 999px; font-size: 15px; font-weight: 700; }
.pd-teaser-bild p.pd-plakette::before { content: ""; width: 18px; height: 18px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233A5BA5' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='9' r='6'/%3E%3Cpath d='M8.5 14L7 22l5-3 5 3-1.5-8'/%3E%3C/svg%3E") center / contain no-repeat; }
.pd-teaser-text { padding: clamp(32px, 5vw, 64px) !important; display: flex; flex-direction: column; justify-content: center; }
.pd-teaser-text > * { margin: 0 !important; }
.pd-teaser-text > * + * { margin-top: 22px !important; }
.pd-teaser-text h2 { font-size: clamp(27px, 4vw, 43px); line-height: 1; }
@media (max-width: 781px) { .pd-teaser-bild { min-height: 320px !important; } }

/* Bento-Kacheln */
.pd-bento { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 300px; gap: 20px; }
.pd-bento > * { margin: 0 !important; }
.pd-bento-gross { grid-column: span 2; grid-row: span 2; }
.pd-bento-breit { grid-column: span 2; }
@media (max-width: 900px) { .pd-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .pd-bento { grid-template-columns: minmax(0, 1fr); grid-auto-rows: auto; } .pd-bento-gross, .pd-bento-breit { grid-column: auto; grid-row: auto; } .pd-bento-gross { min-height: 380px !important; } }
.pd-kachel { position: relative; border-radius: 24px; overflow: hidden; transition: transform .2s, box-shadow .2s; }
.pd-kachel:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(31,51,102,.16); }
.pd-kachel h3 a, .pd-kachel h2 a { color: inherit; text-decoration: none; }
.pd-kachel h3 a::after, .pd-kachel h2 a::after { content: ""; position: absolute; inset: 0; z-index: 5; }
.pd-kachel::before { content: ""; position: absolute; top: auto; bottom: 16px; right: 16px; z-index: 4; width: 44px; height: 44px; border-radius: 999px; background: var(--pd-blau) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17L17 7M9 7h8v8'/%3E%3C/svg%3E") center / 20px no-repeat; }
.pd-kachel.wp-block-cover::before { background-color: var(--pd-hell); width: 52px; height: 52px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F3366' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17L17 7M9 7h8v8'/%3E%3C/svg%3E"); top: auto; bottom: 24px; right: 24px; }
.pd-kachel.wp-block-cover { padding: 32px !important; align-items: flex-end; }
.pd-kachel.wp-block-cover .wp-block-cover__inner-container > * { margin: 0; }
.pd-kachel.wp-block-cover .wp-block-cover__inner-container > * + * { margin-top: 10px; }
.pd-kachel.wp-block-cover h3 { font-size: 35px; line-height: 1; color: #fff; }
.pd-kachel.wp-block-cover p { color: var(--pd-text-hell); max-width: 26em; }
.pd-kachel.is-style-pd-karte-blau { display: flex; flex-direction: column; padding: 24px; }
.pd-kachel.is-style-pd-karte-blau .wp-block-image { flex: 1 1 0; min-height: 0; margin: 0 0 14px; }
.pd-kachel.is-style-pd-karte-blau .wp-block-image img { width: 100%; height: 100%; object-fit: contain; }
.pd-kachel.is-style-pd-karte-blau h3 { margin: 0; font-size: 22px; }
.pd-kachel.is-style-pd-karte-blau p { margin: 6px 0 0; font-size: 16px; line-height: 1.45; }
.pd-bento-breit.pd-kachel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); grid-template-rows: 1fr auto auto; column-gap: 20px; }
.pd-bento-breit.pd-kachel::before { left: auto; right: 24px; top: auto; bottom: 24px; }
/* Platz für das Pfeil-Symbol unten rechts, Bildnachweis bleibt oben rechts frei */
.pd-kachel.is-style-pd-karte-blau h3, .pd-kachel.is-style-pd-karte-blau p { padding-right: 52px; }
.pd-kachel.wp-block-cover .wp-block-cover__inner-container { padding-right: 68px; box-sizing: border-box; }
.pd-bento-breit.pd-kachel .wp-block-image { grid-column: 2; grid-row: 1 / span 3; margin: 0 56px 0 0; height: 100%; min-height: 0; }
.pd-bento-breit.pd-kachel .wp-block-image img { height: 100%; }
.pd-bento-breit.pd-kachel h3 { grid-column: 1; grid-row: 2; align-self: end; }
.pd-bento-breit.pd-kachel p { grid-column: 1; grid-row: 3; }
@media (max-width: 600px) {
	.pd-kachel.is-style-pd-karte-blau .wp-block-image { flex: 0 0 auto; height: 170px; }
	.pd-bento-breit.pd-kachel { display: flex; }
	.pd-bento-breit.pd-kachel::before { left: auto; right: 16px; }
}

/* Verbandskarte und Logos */
.pd-verband { gap: 32px 48px !important; }
.pd-verband > * { margin: 0 !important; }
.pd-verband-links { flex: 0 1 auto; }
.pd-verband-text { flex: 1 1 420px; min-width: 0; }
.pd-verband-text h2 { font-size: clamp(22px, 3vw, 32px); line-height: 1.1; }
.pd-logos { display: flex !important; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.pd-logos > * { margin: 0 !important; }
.pd-logos .wp-block-image + .wp-block-image { padding-left: 24px; border-left: 1px solid #C9D8E3; }
.pd-logos .wp-block-image img { display: block; height: 76px; width: auto; max-width: 140px; object-fit: contain; }
.pd-logos-weiss { background: #fff; border-radius: 20px; padding: 18px; width: fit-content; max-width: 100%; box-sizing: border-box; }
.pd-verband-links { display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; gap: 20px; }

/* Verbandskarte plakativ (ab 1.0.9) */
.is-style-pd-karte.pd-verband { position: relative; overflow: hidden; background: linear-gradient(120deg, var(--pd-eis) 0%, #D6EEF7 55%, #BFE4F2 100%); border: 0; border-radius: 32px; padding: clamp(32px, 5vw, 64px) !important; display: grid !important; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: center; gap: 40px clamp(32px, 5vw, 72px) !important; box-shadow: var(--pd-schatten); }
.is-style-pd-karte.pd-verband::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 8px; background: linear-gradient(var(--pd-blau), var(--pd-hell)); }
.is-style-pd-karte.pd-verband::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 70px; background: var(--pd-welle) bottom / 100% 100% no-repeat; opacity: .35; pointer-events: none; }
.pd-verband > * { position: relative; z-index: 1; }
.pd-verband .pd-verband-text { order: -1; }
.pd-verband .pd-verband-text h2 { font-size: clamp(30px, 3.4vw, 46px) !important; line-height: 1.05; margin: 10px 0 18px !important; color: var(--pd-navy); }
.pd-verband .pd-verband-text p:not(.is-style-pd-dachzeile) { font-size: 18px; line-height: 1.65; color: var(--pd-navy); max-width: 40em; }
.pd-verband .pd-verband-links { align-items: stretch; gap: 24px; }
.pd-verband .pd-logos { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pd-verband .pd-logos .wp-block-image { background: #fff; border: 0 !important; padding: 22px 16px !important; border-radius: 22px; box-shadow: 0 14px 34px rgba(31, 51, 102, 0.12); display: flex; align-items: center; justify-content: center; aspect-ratio: 1 / 1; transition: transform .2s; }
.pd-verband .pd-logos .wp-block-image:hover { transform: translateY(-4px); }
.pd-verband .pd-logos .wp-block-image img { height: auto; max-height: 120px; width: 100%; max-width: 150px; }
.pd-verband .wp-block-buttons { justify-content: center; }
.pd-verband .wp-block-button.is-style-pd-umriss .wp-block-button__link { background: var(--pd-navy); color: #fff; border-color: var(--pd-navy); }
.pd-verband .wp-block-button.is-style-pd-umriss .wp-block-button__link:hover { background: var(--pd-blau); border-color: var(--pd-blau); }
@media (max-width: 960px) {
	.is-style-pd-karte.pd-verband { grid-template-columns: 1fr; }
	.pd-verband .pd-logos .wp-block-image { padding: 14px 10px !important; border-radius: 16px; }
	.pd-verband .wp-block-buttons { justify-content: flex-start; }
}

/* Ausbildungs-Panel */
.pd-ausbildung-panel { gap: 56px !important; }
.pd-ausbildung-panel h2 { font-size: clamp(29px, 4.5vw, 48px); line-height: 1; }
.pd-ausbildung-panel .pd-lead img { width: 190px; }
.pd-taucher-grafik { margin-top: 32px !important; display: flex; justify-content: flex-end; }
.pd-taucher-grafik img { max-width: 340px; width: 100%; }

/* Über mich (Startseite) */
.pd-person { gap: 72px !important; align-items: center !important; }
@media (min-width: 782px) { .pd-person > .wp-block-column:first-child { flex: 0 0 34% !important; max-width: 480px; } .pd-person > .wp-block-column:last-child { flex: 1 1 0 !important; } }
.pd-portrait img { width: 100%; height: 400px; object-fit: cover; object-position: 50% 25%; border-radius: 28px; }
@media (max-width: 781px) { .pd-portrait img { height: 340px; } }
.pd-person .pd-zitat { margin-bottom: 18px !important; max-width: 30em; }
.pd-person-name { margin: 0 !important; }
.pd-person-name strong { font-size: 20px; }

/* ---------- Tauchausrüstung --------------------------------------------- */

.pd-bereich { gap: 48px !important; align-items: center !important; }
.pd-bereich .wp-block-image img { width: 100%; height: 380px; object-fit: cover; border-radius: 24px; }
.pd-bereich .wp-block-image.is-style-pd-freisteller img { object-fit: contain; }
.pd-bereich h2 { margin-top: 6px; }
/* Bereichs-Kacheln Tauchausrüstung: 2 nebeneinander (ab 1.0.10) */
.pd-bereiche { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.pd-bereiche > .pd-bereich { margin: 0 !important; flex-direction: column; flex-wrap: nowrap !important; align-items: stretch !important; gap: 0 !important; background: #fff; border: 1px solid var(--pd-linie); border-radius: 28px; overflow: hidden; box-shadow: var(--pd-schatten); transition: transform .2s, box-shadow .2s; }
.pd-bereiche > .pd-bereich:hover { transform: translateY(-4px); box-shadow: 0 26px 60px rgba(31, 51, 102, 0.14); }
.pd-bereiche > .pd-bereich > .wp-block-column { flex: 0 0 auto !important; width: 100% !important; margin: 0 !important; }
.pd-bereiche > .pd-bereich > .wp-block-column:has(> .wp-block-image) { order: -1; }
.pd-bereiche > .pd-bereich > .wp-block-column:not(:has(> .wp-block-image)) { flex: 1 1 auto !important; display: flex; flex-direction: column; padding: 28px clamp(24px, 3vw, 36px) 32px; box-sizing: border-box; }
.pd-bereiche > .pd-bereich > .wp-block-column:not(:has(> .wp-block-image)) > * { margin-top: 0; margin-bottom: 0; }
.pd-bereiche > .pd-bereich > .wp-block-column:not(:has(> .wp-block-image)) > * + * { margin-top: 14px; }
.pd-bereiche .pd-bereich .wp-block-buttons { margin-top: auto !important; padding-top: 20px; }
.pd-bereiche .pd-bereich .wp-block-image { margin: 0; }
.pd-bereiche .pd-bereich .wp-block-image img { height: 300px; border-radius: 0; }
.pd-bereiche .pd-bereich .wp-block-image.is-style-pd-freisteller img { border: 0; border-radius: 0; padding: 24px; background: #fff; border-bottom: 1px solid var(--pd-linie); }
.pd-bereiche .pd-bereich h2 { font-size: clamp(26px, 2.4vw, 34px); margin-top: 4px !important; }
@media (max-width: 860px) { .pd-bereiche { grid-template-columns: 1fr; } .pd-bereiche .pd-bereich .wp-block-image img { height: 240px; } }
.pd-kategorien-nav { gap: 10px !important; }
.pd-kategorien-nav .wp-block-button__link { padding: 11px 20px; font-size: 16px; background: #fff; color: var(--pd-navy); border: 1px solid var(--pd-linie); }
.pd-kategorien-nav .wp-block-button__link:hover, .pd-kategorien-nav .pd-aktiv .wp-block-button__link { background: var(--pd-navy); color: #fff; border-color: var(--pd-navy); }

/* Vorteils-Karten */
.pd-vorteil h3 { font-size: 18px; margin: 0 0 6px; display: flex; align-items: center; gap: 12px; }
.pd-vorteil h3::before { content: ""; flex: 0 0 auto; width: 34px; height: 34px; border-radius: 999px; background: var(--pd-eis) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233A5BA5' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 18px no-repeat; }
.pd-vorteil p { margin: 0; font-size: 17px; line-height: 1.55; }
.pd-hinweis-navy { display: flex; flex-direction: column; justify-content: center; }

/* Downloads */
.pd-download { position: relative; display: flex; flex-direction: column; gap: 4px; padding-right: 72px !important; }
.pd-download::after { content: "PDF"; position: absolute; right: 24px; top: 50%; transform: translateY(-50%); padding: 6px 10px; border-radius: 8px; background: var(--pd-eis); color: var(--pd-blau); font-size: 13px; font-weight: 800; }
.pd-download h3 { font-size: 20px; margin: 0; }
.pd-download h3 a { color: var(--pd-navy); text-decoration: none; }
.pd-download h3 a::after { content: ""; position: absolute; inset: 0; }
.pd-download p { margin: 0; font-size: 16px; }

/* ---------- Produkte (Plugin-Ausgabe) ------------------------------------ */

.pd-produkte { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); gap: 20px; margin-top: 28px; }
.pd-produkt-karte { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--pd-linie); border-radius: 24px; overflow: hidden; text-decoration: none; color: var(--pd-navy); transition: transform .2s, box-shadow .2s, border-color .2s; }
.pd-produkt-karte:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(31,51,102,.12); border-color: var(--pd-blau); color: var(--pd-navy); }
.pd-produkt-bild { position: relative; background: #fff; border-bottom: 1px solid var(--pd-linie); }
.pd-produkt-bild img { display: block; width: 100%; height: 210px; object-fit: contain; padding: 16px; box-sizing: border-box; }
.pd-produkt-bild.is-foto img { object-fit: cover; padding: 0; }
.pd-foto-folgt { position: absolute; left: 12px; top: 12px; padding: 4px 10px; background: rgba(255,255,255,.92); border: 1px solid var(--pd-linie); border-radius: 999px; font-size: 12px; font-weight: 700; color: var(--pd-text); }
.pd-produkt-text { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.pd-produkt-marke { font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--pd-blau); }
.pd-produkt-karte h3 { margin: 0; font-size: 21px; line-height: 1.2; letter-spacing: -0.005em; }
.pd-produkt-karte p { margin: 0; font-size: 16px; line-height: 1.5; color: var(--pd-text); }
.pd-produkt-mehr { margin-top: auto; padding-top: 10px; font-weight: 700; font-size: 16px; color: var(--pd-blau); }
.pd-produkte.is-kompakt { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.pd-produkte.is-kompakt .pd-produkt-bild { display: none; }
.pd-leer { padding: 24px; border: 1px dashed var(--pd-linie); border-radius: 16px; color: var(--pd-text); }

/* Kategorie-Kacheln */
.pd-kacheln { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 24px; margin-top: 28px; }
.pd-kat-kachel { display: flex; flex-direction: column; background: #fff; border: 4px solid var(--pd-blau); border-radius: 24px; overflow: hidden; text-decoration: none; color: var(--pd-navy); transition: transform .2s, box-shadow .2s; }
.pd-kat-kachel:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(31,51,102,.14); color: var(--pd-navy); }
.pd-kat-kachel .pd-kat-bild { position: relative; }
.pd-kat-kachel img { display: block; width: 100%; height: 220px; object-fit: contain; padding: 18px; box-sizing: border-box; background: #fff; }
.pd-kat-kachel .is-foto img { object-fit: cover; padding: 0; }
.pd-kat-text { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.pd-kat-nr { font-size: 14px; font-weight: 800; color: var(--pd-blau); letter-spacing: .1em; }
.pd-kat-kachel h3 { margin: 0; font-size: 21px; line-height: 1.1; }
.pd-kat-kachel p { margin: 0; color: var(--pd-text); font-size: 17px; }
.pd-kat-mehr { margin-top: auto; padding-top: 8px; font-weight: 700; color: var(--pd-blau); }

/* Produktdetail */
.pd-produkt-kopf { display: grid; grid-template-columns: minmax(0, 480px) minmax(0, 1fr); gap: clamp(32px, 4vw, 56px); align-items: start; }
@media (max-width: 860px) { .pd-produkt-kopf { grid-template-columns: minmax(0, 1fr); } }
.pd-produkt-galerie .pd-produkt-hauptbild { position: relative; background: #fff; border: 1px solid var(--pd-linie); border-radius: 24px; overflow: hidden; }
.pd-produkt-galerie .pd-produkt-hauptbild img { display: block; width: 100%; height: clamp(260px, 30vw, 380px); object-fit: contain; padding: 20px; box-sizing: border-box; }
.pd-produkt-galerie .pd-produkt-hauptbild.is-foto img { object-fit: cover; padding: 0; }
.pd-thumbs { display: grid; grid-template-columns: repeat(auto-fill, 72px); gap: 8px; margin-top: 10px; }
.pd-thumb { display: block; padding: 0; margin: 0; border: 2px solid var(--pd-linie); border-radius: 12px; background: #fff; overflow: hidden; cursor: pointer; aspect-ratio: 1 / 1; transition: border-color .15s, transform .15s; }
.pd-thumb:hover { border-color: var(--pd-hell); transform: translateY(-2px); }
.pd-thumb.is-aktiv { border-color: var(--pd-blau); }
.pd-thumb img { display: block; width: 100%; height: 100%; object-fit: contain; padding: 6px; box-sizing: border-box; }
.pd-produkt-hauptbild.pd-zoom { cursor: zoom-in; }
.pd-produkt-hauptbild.pd-zoom::after { content: ""; position: absolute; right: 16px; bottom: 16px; width: 42px; height: 42px; border-radius: 999px; opacity: .9; background: var(--pd-navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='6.5'/%3E%3Cpath d='M16 16l4.5 4.5M11 8.5v5M8.5 11h5'/%3E%3C/svg%3E") center / 20px no-repeat; }
.pd-lightbox { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center; padding: 64px 84px; box-sizing: border-box; background: rgba(10, 20, 45, 0.93); }
.pd-lightbox[hidden] { display: none; }
.pd-lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; background: #fff; border-radius: 16px; padding: 16px; box-sizing: border-box; }
.pd-lightbox button { position: absolute; width: 52px; height: 52px; padding: 0; border: 0; border-radius: 999px; background: rgba(255, 255, 255, 0.14); color: #fff; font-size: 32px; line-height: 1; cursor: pointer; }
.pd-lightbox button:hover, .pd-lightbox button:focus-visible { background: rgba(255, 255, 255, 0.28); }
.pd-lb-zu { top: 16px; right: 16px; }
.pd-lb-zur { left: 16px; top: 50%; transform: translateY(-50%); }
.pd-lb-vor { right: 16px; top: 50%; transform: translateY(-50%); }
.pd-lightbox.is-einzeln .pd-lb-zur, .pd-lightbox.is-einzeln .pd-lb-vor { display: none; }
.pd-lb-zahl { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); color: #fff; font-size: 15px; }
html.pd-lb-offen { overflow: hidden; }
@media (max-width: 600px) { .pd-lightbox { padding: 72px 12px 84px; } .pd-lb-zur, .pd-lb-vor { top: auto; bottom: 16px; transform: none; } .pd-lb-zur { left: 24px; } .pd-lb-vor { right: 24px; } }
.pd-produkt-infos { display: flex; flex-direction: column; gap: 18px; }
.pd-produkt-infos h1 { margin: 0; font-size: clamp(27px, 4vw, 42px); }
.pd-produkt-infos .pd-produkt-marke { font-size: 14px; }
.pd-produkt-infos p { margin: 0; color: var(--pd-text); font-size: 19px; }
.pd-preiszeile { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding: 20px 0; border-top: 1px solid var(--pd-linie); border-bottom: 1px solid var(--pd-linie); }
.pd-preis { font-size: 24px; font-weight: 700; color: var(--pd-navy); }
.pd-verfuegbar { font-size: 15px; color: var(--pd-text); }
.pd-knopfreihe { display: flex; flex-wrap: wrap; gap: 12px; }
.pd-knopf { display: inline-flex; align-items: center; gap: 8px; padding: 16px 28px; border-radius: 999px; background: var(--pd-navy); color: #fff !important; font-weight: 700; font-size: 18px; text-decoration: none; border: 1px solid var(--pd-navy); }
.pd-knopf:hover { background: var(--pd-blau); border-color: var(--pd-blau); }
.pd-knopf.is-umriss { background: transparent; color: var(--pd-navy) !important; }
.pd-knopf.is-umriss:hover { background: var(--pd-navy); color: #fff !important; }
.pd-knopf.is-hell { background: var(--pd-hell); border-color: var(--pd-hell); color: var(--pd-navy) !important; }
.pd-agb-hinweis { font-size: 15px !important; color: var(--pd-text); }
.pd-produkt-inhalt { margin-top: clamp(40px, 5vw, 64px) !important; }
/* Beschreibung links, Technische Daten rechts (ab 1.0.19) */
@media (min-width: 900px) {
	.pd-produkt-inhalt { display: grid !important; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(32px, 4vw, 56px); row-gap: 0; grid-auto-flow: row dense; align-items: start; }
	.pd-produkt-inhalt > * { grid-column: 1; max-width: none !important; margin: 0 0 1.1em !important; }
	.pd-produkt-inhalt > .wp-block-heading:has(+ .wp-block-table) { grid-column: 2; grid-row: 1; margin-top: 0 !important; }
	.pd-produkt-inhalt > .wp-block-heading + .wp-block-table { grid-column: 2; grid-row: 2 / span 40; }
}
.pd-produkt-inhalt table { background: #fff; border-radius: 16px; overflow: hidden; }
.pd-produkt-inhalt .wp-block-table td, .pd-produkt-inhalt .wp-block-table th { border-color: var(--pd-linie); padding: 14px 18px; }
.pd-merkmale { margin: 0; }
/* Merkmale auf der Produktseite: dezente, kleine Haken (ab 1.0.20) */
ul.is-style-pd-haken.pd-merkmale { gap: 8px; }
ul.is-style-pd-haken.pd-merkmale > li { padding: 0 0 0 30px; min-height: 0; font-size: 16px; line-height: 1.5; color: var(--pd-text); }
ul.is-style-pd-haken.pd-merkmale > li::before { top: 3px; width: 18px; height: 18px; background: var(--pd-eis) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233A5BA5' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 11px no-repeat; box-shadow: inset 0 0 0 1px #C9DDEA; }

/* ---------- News (Plugin-Ausgabe) --------------------------------------- */

.pd-news { display: flex; flex-direction: column; gap: 24px; margin-top: 28px; }
.pd-news-gross { overflow: hidden; background: var(--pd-navy); color: #fff; border-radius: 32px; display: flex; flex-direction: column; }
.pd-news-gross .pd-news-bild { position: relative; line-height: 0; }
.pd-news-gross .pd-news-bild img { width: 100%; height: auto; display: block; }
.pd-news-gross-text { padding: clamp(24px, 3.5vw, 40px) clamp(24px, 4vw, 48px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; }
.pd-news-gross-text > div:first-child { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.pd-news-meta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.pd-news-badge, .pd-news-badge a { display: inline-block; padding: 6px 14px; background: var(--pd-rot); color: #fff !important; border-radius: 999px; font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; line-height: 1.3; }
.pd-news-zusatz { font-size: 16px; font-weight: 700; color: var(--pd-hell); }
.pd-news-gross h3 { margin: 0; color: #fff; font-size: clamp(22px, 3.2vw, 34px); }
.pd-news-gross p { margin: 0; color: var(--pd-text-hell); font-size: 18px; max-width: 40em; }
.pd-news-karten { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 24px; }
.pd-news-karte { background: #fff; border: 1px solid var(--pd-linie); border-radius: 24px; padding: 26px 28px; display: flex; flex-direction: column; gap: 10px; }
.pd-news-karte .pd-news-badge, .pd-news-karte .pd-news-badge a { background: var(--pd-eis); color: var(--pd-blau) !important; letter-spacing: .1em; padding: 5px 12px; }
.pd-news-karte h3 { margin: 0; font-size: 19px; line-height: 1.15; }
.pd-news-karte h3 a { color: var(--pd-navy); text-decoration: none; }
.pd-news-karte p { margin: 0; font-size: 17px; color: var(--pd-text); }
.pd-news-karte .pd-news-link { margin-top: auto; font-weight: 700; text-decoration: none; }
.pd-news-archiv .wp-block-post-featured-image img { border-radius: 16px; }
.pd-news-archiv .wp-block-post-template { gap: 24px; }
.pd-zurueck { margin-top: 48px; font-weight: 700; }

/* ---------- Ausbildung --------------------------------------------------- */

.pd-kurs { border-top: 4px solid var(--pd-hell) !important; display: flex; flex-direction: column; }
.pd-kurs > * { margin: 0 !important; }
.pd-kurs > * + * { margin-top: 12px !important; }
.pd-kurs h3 { font-size: 22px; }
.pd-kurs .pd-kurs-links { margin-top: auto !important; padding-top: 12px; display: flex; flex-direction: column; gap: 6px; }
.pd-kurs-links p { margin: 0; font-size: 16px; }
.pd-kurs-links a { font-weight: 700; text-decoration: none; }
.pd-kurs-links p + p a { font-weight: 600; text-decoration: underline; font-size: 15px; color: var(--pd-text); }

.pd-psd { display: grid !important; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: 380px 260px; gap: 12px; border-radius: 32px; overflow: hidden; }
.pd-psd > * { margin: 0 !important; }
.pd-psd .wp-block-cover { grid-row: span 2; min-height: 0 !important; height: 100%; padding: clamp(24px, 3.5vw, 40px) !important; align-items: flex-end; }
.pd-psd .wp-block-cover .wp-block-cover__inner-container > * { margin: 0; }
.pd-psd .wp-block-cover .wp-block-cover__inner-container > * + * { margin-top: 10px; }
.pd-psd .wp-block-cover h2 { color: #fff; font-size: clamp(24px, 3.6vw, 40px); line-height: 1; }
.pd-psd .wp-block-cover p { color: var(--pd-text-hell); font-size: 18px; max-width: 34em; }
.pd-psd .wp-block-image { position: relative; height: 100%; background: var(--pd-tief); }
.pd-psd .wp-block-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pd-psd .wp-block-image figcaption { position: absolute; left: 14px; bottom: 14px; margin: 0; max-width: calc(100% - 28px); padding: 6px 12px; background: rgba(255,255,255,.92); color: var(--pd-navy); border-radius: 999px; font-size: 14px; font-weight: 700; line-height: 1.3; }
.pd-psd .pd-psd-breit { grid-column: span 2; }
@media (max-width: 760px) {
	.pd-psd { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto; }
	.pd-psd .wp-block-cover { grid-column: span 2; grid-row: auto; min-height: 380px !important; }
	.pd-psd .wp-block-image { aspect-ratio: 3 / 4; }
	.pd-psd .pd-psd-breit { aspect-ratio: auto; height: 220px; }
	.pd-psd .wp-block-image figcaption { font-size: 13px; }
}
.pd-crossover > * { margin: 0 !important; }
.pd-crossover > * + * { margin-top: 14px !important; }
.pd-crossover h3 { font-size: clamp(22px, 3vw, 29px); }

/* ---------- Über mich ---------------------------------------------------- */

.pd-ueber { gap: clamp(40px, 5vw, 80px) !important; align-items: flex-start !important; justify-content: center; }
@media (min-width: 782px) { .pd-ueber > .wp-block-column:first-child { flex: 0 0 30% !important; max-width: 400px; position: sticky; top: 110px; } .pd-ueber > .wp-block-column:last-child { flex: 1 1 0 !important; max-width: 880px; } }
.pd-ueber .pd-portrait img { height: 460px; border-radius: 28px; box-shadow: var(--pd-schatten); }
@media (max-width: 781px) { .pd-ueber .pd-portrait img { height: 340px; } }
.pd-ueber h1 { font-size: clamp(32px, 3vw, 40px); margin: 0; }
.pd-film { position: relative; background: var(--pd-navy); color: #fff; padding-top: 130px !important; padding-bottom: 100px !important; }
.pd-film::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 60px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 90' preserveAspectRatio='none'%3E%3Cpath d='M0,0 L1440,0 L1440,30 C1200,70 960,10 720,40 C480,70 240,20 0,50 Z' fill='%23F5F9FB'/%3E%3C/svg%3E") top / 100% 100% no-repeat; }
.pd-film :where(h2, h3, strong) { color: #fff; }
.pd-film :where(p, li, figcaption) { color: var(--pd-text-hell); }
.pd-film p.is-style-pd-pille { background: var(--pd-hell); color: var(--pd-navy) !important; }
.pd-film-karte { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16); border-radius: 24px; padding: 28px; }
.pd-film-karte h3 { font-size: 19px; }
.pd-film .wp-block-image img { aspect-ratio: 4 / 3; object-fit: cover; border-radius: 20px; width: 100%; }
.pd-film .wp-block-image figcaption { color: #B8CDE0; font-size: 16px; }
.pd-partner { background: #fff; color: var(--pd-navy); border-radius: 24px; padding: 24px 28px !important; }
.pd-partner :where(p) { color: var(--pd-text) !important; margin: 0; }
.pd-partner p.is-style-pd-dachzeile { color: var(--pd-blau) !important; margin: 0; }
.pd-partner .pd-partner-name { font-weight: 800; font-size: 19px; color: var(--pd-navy) !important; }
.pd-trennlinie { border-top: 1px solid rgba(255,255,255,.16); padding-top: 36px; }

/* ---------- Kontakt ------------------------------------------------------ */

.pd-kontakt { gap: 32px !important; align-items: flex-start !important; }
.pd-kontaktbox { background: var(--pd-navy); color: #fff; border-radius: 24px; padding: 32px !important; }
.pd-kontaktbox :where(h2, h3, strong) { color: #fff; }
.pd-kontaktbox :where(p) { color: var(--pd-text-hell); }
.pd-kontaktbox a { color: #fff; }
.pd-kontaktbox h2 { font-size: 22px; }

.pd-formular { display: grid; gap: 18px; }
.pd-formular .pd-zeile { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 18px; }
.pd-formular label { display: block; font-weight: 700; font-size: 16px; margin-bottom: 6px; color: var(--pd-navy); }
.pd-formular input[type=text], .pd-formular input[type=email], .pd-formular input[type=tel], .pd-formular select, .pd-formular textarea {
	width: 100%; box-sizing: border-box; font: inherit; font-size: 17px; color: var(--pd-navy); padding: 13px 16px; border: 1px solid #B9CBD8; border-radius: 12px; background: #fff;
}
.pd-formular textarea { min-height: 160px; resize: vertical; }
.pd-formular input:focus, .pd-formular select:focus, .pd-formular textarea:focus { outline: 3px solid var(--pd-hell); border-color: var(--pd-blau); }
.pd-formular .pd-check { display: flex; gap: 12px; align-items: flex-start; }
.pd-formular .pd-check input { width: 22px; height: 22px; margin-top: 2px; flex: 0 0 auto; accent-color: var(--pd-blau); }
.pd-formular .pd-check label { font-weight: 400; color: var(--pd-text); line-height: 1.5; }
.pd-formular .pd-honig { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.pd-formular button { justify-self: start; font: inherit; font-weight: 700; font-size: 18px; padding: 16px 32px; border: 0; border-radius: 999px; background: var(--pd-blau); color: #fff; cursor: pointer; }
.pd-formular button:hover { background: var(--pd-navy); }
.pd-formular .pd-hinweis { font-size: 14px; color: var(--pd-text); margin: 0; }
.pd-meldung { padding: 16px 20px; border-radius: 14px; font-weight: 600; margin-bottom: 18px; }
.pd-meldung.is-ok { background: #E4F6EA; color: #13612E; border: 1px solid #A9DDBA; }
.pd-meldung.is-fehler { background: #FDECEC; color: #8A1C1C; border: 1px solid #F2B8B8; }

/* ---------- Rechtstexte -------------------------------------------------- */

.pd-rechtstext { background: #fff; border: 1px solid var(--pd-linie); border-radius: 24px; padding: clamp(24px, 4vw, 56px) !important; box-sizing: border-box; }
.pd-rechtstext h2 { margin: 40px 0 10px; font-size: 21px; line-height: 1.2; }
.pd-rechtstext > h2:first-child { margin-top: 0; }
.pd-rechtstext h3 { margin: 24px 0 6px; font-size: 19px; }
.pd-rechtstext :where(p, li) { font-size: 17px; line-height: 1.7; color: #2E446B; }
.pd-rechtstext p { margin: 0 0 12px; }
.pd-rechtstext .pd-box { background: var(--pd-eis); border: 1px solid var(--pd-linie); border-radius: 16px; padding: 20px 24px; margin: 12px 0 16px; }
.pd-rechtstext .pd-box > :last-child { margin-bottom: 0; }
.pd-sprungmarken { list-style: none; padding: 0; margin: 0 0 8px; display: flex; flex-wrap: wrap; gap: 8px; }
.pd-sprungmarken a { display: block; padding: 6px 14px; border: 1px solid var(--pd-linie); border-radius: 999px; font-size: 15px; text-decoration: none; }
.pd-platzhalter { background: #FFF4CC; color: #5A4500; padding: 0 4px; border-radius: 4px; }
.pd-bildnachweise { padding-left: 22px; }

/* ---------- Fußbereich --------------------------------------------------- */

/* ---------- Logo-Slider Herstellerlogos (ab 1.0.22) ---------------------- */
.pd-logoslider { --pd-pro-seite: 8; background: #fff; border-top: 1px solid var(--pd-linie); padding: 32px 0 28px; }
.pd-logoslider-inner { max-width: calc(var(--pd-breit) + 2 * var(--pd-rand)); margin: 0 auto; padding: 0 var(--pd-rand); box-sizing: border-box; }
.pd-logoslider-titel { margin: 0 0 20px; text-align: center; font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--pd-blau); }
.pd-logoslider-fenster { overflow: hidden; }
.pd-logoslider-band { display: flex; flex-wrap: nowrap; margin: 0; padding: 0; list-style: none; transition: transform .8s cubic-bezier(.45, 0, .2, 1); will-change: transform; }
.pd-logoslider.is-statisch .pd-logoslider-band { justify-content: center; }
.pd-logo { flex: 0 0 calc(100% / var(--pd-pro-seite)); margin: 0; padding: 0 clamp(10px, 1.6vw, 24px); box-sizing: border-box; display: flex; align-items: center; justify-content: center; height: 72px; }
.pd-logo a { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.pd-logo img { display: block; max-height: 56px; max-width: 100%; width: auto; height: auto; object-fit: contain; filter: grayscale(1); opacity: .6; transition: filter .25s, opacity .25s; }
.pd-logo:hover img, .pd-logo a:focus-visible img { filter: none; opacity: 1; }
.pd-logoslider.is-farbig .pd-logo img { filter: none; opacity: 1; }
.pd-logoslider-punkte { display: flex; justify-content: center; gap: 8px; margin-top: 18px; min-height: 10px; }
.pd-logoslider-punkte button { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 999px; background: var(--pd-linie); cursor: pointer; transition: background .2s, width .2s; }
.pd-logoslider-punkte button[aria-current="true"] { width: 26px; background: var(--pd-blau); }
@media (max-width: 600px) { .pd-logo { height: 60px; } .pd-logo img { max-height: 44px; } }
@media (prefers-reduced-motion: reduce) { .pd-logoslider-band { transition: none; } }
/* Variante Laufband */
.pd-logoslider.is-laufband .pd-logoslider-fenster { display: flex; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.pd-logoslider.is-laufband .pd-logoslider-band { flex: none; align-items: center; gap: 64px; padding: 0 32px; transition: none; animation: pd-logolauf var(--pd-dauer, 40s) linear infinite; }
.pd-logoslider.is-laufband .pd-logoslider-fenster:hover .pd-logoslider-band, .pd-logoslider.is-laufband .pd-logoslider-fenster:focus-within .pd-logoslider-band { animation-play-state: paused; }
.pd-logoslider.is-laufband .pd-logo { flex: none; padding: 0; height: 72px; }
.pd-logoslider.is-laufband .pd-logo a { width: auto; }
.pd-logoslider.is-laufband .pd-logo img { height: 56px; max-height: none; width: auto; max-width: 170px; }
@keyframes pd-logolauf { to { transform: translateX(-100%); } }
@media (max-width: 600px) { .pd-logoslider.is-laufband .pd-logoslider-band { gap: 40px; padding: 0 20px; } .pd-logoslider.is-laufband .pd-logo img { height: 44px; max-width: 130px; } }
@media (prefers-reduced-motion: reduce) { .pd-logoslider.is-laufband .pd-logoslider-band { animation-duration: calc(var(--pd-dauer, 40s) * 3); } }
.pd-site-footer { background: var(--pd-navy); color: var(--pd-text-hell); margin-top: 0; }
.pd-footer-inner { max-width: calc(var(--pd-breit) + 2 * var(--pd-rand)); margin: 0 auto; padding: 72px var(--pd-rand) 32px; box-sizing: border-box; }
.pd-footer-cols { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; }
.pd-footer-cols > * { margin: 0 !important; }
.pd-footer-col + .pd-footer-col { border-left: 1px solid rgba(255,255,255,.2); padding-left: 32px; }
.pd-footer-col p { margin: 0 0 10px; font-size: 16px; line-height: 1.6; color: var(--pd-text-hell); }
.pd-footer-title { font-weight: 700; color: #fff !important; }
.pd-footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; font-size: 16px; }
.pd-footer-links a { color: var(--pd-text-hell); text-decoration: none; }
.pd-footer-links a:hover { color: #fff; text-decoration: underline; }
.pd-footer-links .pd-footer-cta a { color: var(--pd-hell); font-weight: 700; }
.pd-footer-bottom { border-top: 1px solid rgba(255,255,255,.16); margin-top: 48px !important; padding-top: 24px; font-size: 15px; color: #B8CDE0; gap: 12px; }
.pd-footer-bottom p { margin: 0; color: #B8CDE0; }
.pd-footer-legal { display: flex; gap: 20px; }
.pd-footer-legal a { color: #B8CDE0; }
.pd-footer-legal a:hover { color: #fff; }
@media (max-width: 900px) {
	.pd-footer-col + .pd-footer-col { border-left: 0; padding-left: 0; border-top: 1px solid rgba(255,255,255,.2); padding-top: 24px; }
	.pd-footer-links a { display: inline-block; padding: 6px 0; }
}

/* ---------- Editor-Anpassungen ------------------------------------------ */

.editor-styles-wrapper .pd-site-header { position: relative; background: var(--pd-tief); }
.editor-styles-wrapper .pd-kachel h3 a::after, .editor-styles-wrapper .pd-download h3 a::after { display: none; }

.pd-hero p.pd-hero-gross { font-weight: 800; font-size: clamp(32px, 5.5vw, 58px); line-height: 1; letter-spacing: -0.02em; color: #fff; }
.pd-klein-text { font-size: 15px !important; }
.pd-kopfzeile-links > * { margin: 0 !important; }
.pd-kopfzeile-links h2 { margin-top: 10px !important; }
.pd-taucher-kontakt { margin-top: 24px !important; text-align: center; }
.pd-taucher-kontakt img { max-width: 300px; width: 100%; }
.pd-knopf.is-umriss.is-umriss-hell { color: #fff !important; border-color: rgba(255,255,255,.6); }
.pd-knopf.is-umriss.is-umriss-hell:hover { background: rgba(255,255,255,.14); }
.wp-site-blocks > * + * { margin-block-start: 0; }
.pd-nav .wp-block-navigation-item__content, .pd-nav .wp-block-navigation-item__content:visited { color: #fff !important; }
.pd-nav .pd-nav-kontakt > .wp-block-navigation-item__content:hover { background: #fff; color: var(--pd-navy) !important; }
.pd-main:has(.wp-block-post-content > .pd-film:last-child) { padding-bottom: 0; }
.pd-main:has(.wp-block-post-content > .pd-film:last-child) + .pd-site-footer { border-top: 1px solid rgba(255,255,255,.16); }

/* Vorteils-Raster: immer 4 Kacheln pro Reihe, der Hinweis füllt den Rest der letzten Reihe */
:is(.pd-raster-3, .pd-raster-4):has(> .pd-hinweis-navy) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pd-raster-3 > .pd-hinweis-navy, .pd-raster-4 > .pd-hinweis-navy {
	grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; align-items: center; align-content: center; justify-content: space-between;
	gap: 12px 40px; padding: 28px clamp(24px, 3vw, 40px) !important; border-radius: 24px;
}
.pd-hinweis-navy > p { margin: 0 !important; }
.pd-hinweis-navy > p.is-style-pd-dachzeile { flex: 0 0 auto; }
.pd-hinweis-navy > p:not(.is-style-pd-dachzeile):not(:last-child) { flex: 1 1 320px; font-size: 18px; line-height: 1.5; color: #fff !important; }
.pd-hinweis-navy > p:last-child { flex: 0 0 auto; padding: 10px 18px; border: 1px solid rgba(134,206,228,.55); border-radius: 999px; font-size: 16px; line-height: 1.3; }
@media (min-width: 1001px) {
	:is(.pd-raster-3, .pd-raster-4):has(> .pd-vorteil:nth-child(4n+1 of .pd-vorteil):nth-last-child(1 of .pd-vorteil)) > .pd-hinweis-navy { grid-column: 2 / -1; }
	:is(.pd-raster-3, .pd-raster-4):has(> .pd-vorteil:nth-child(4n+2 of .pd-vorteil):nth-last-child(1 of .pd-vorteil)) > .pd-hinweis-navy { grid-column: 3 / -1; }
	:is(.pd-raster-3, .pd-raster-4):has(> .pd-vorteil:nth-child(4n+3 of .pd-vorteil):nth-last-child(1 of .pd-vorteil)) > .pd-hinweis-navy { grid-column: 4 / -1; flex-direction: column; flex-wrap: nowrap; align-items: flex-start; justify-content: center; gap: 12px; }
	:is(.pd-raster-3, .pd-raster-4):has(> .pd-vorteil:nth-child(4n+3 of .pd-vorteil):nth-last-child(1 of .pd-vorteil)) > .pd-hinweis-navy > p { flex: 0 0 auto; }
}
@media (max-width: 1000px) { :is(.pd-raster-3, .pd-raster-4):has(> .pd-hinweis-navy) { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
@media (max-width: 600px) { :is(.pd-raster-3, .pd-raster-4):has(> .pd-hinweis-navy) { grid-template-columns: minmax(0, 1fr) !important; } }
.pd-vorteil { display: flex; flex-direction: column; gap: 8px; }
