/* ==========================================================
   Prime Dach GmbH
   Farben und Schriften aus dem bisherigen Elementor Kit (Archivo, Open Sans, Gold)
   ========================================================== */

:root {
	--ink: #24262b;
	--box: #292b30;
	--box-line: #484b52;
	--gold: #febd57;
	--gold-dark: #e9a63b;
	--blue: #33b6fa;
	--text: #5e636f;
	--muted-light: #aba8a1;
	--sand: #f5f0eb;
	--stone: #e1deda;
	--white: #fff;
	--pad: max(20px, calc((100vw - 1240px) / 2));
	--space: clamp(72px, 8vw, 120px);
	--radius: 16px;
	--shadow: 0 2px 6px rgba(36, 38, 43, .05), 0 12px 32px rgba(36, 38, 43, .08);
	--head: "Archivo", system-ui, sans-serif;
	--body: "Open Sans", system-ui, sans-serif;
	--h1: clamp(36px, 4.6vw, 62px);
	--h2: clamp(30px, 3.6vw, 50px);
	--h3: clamp(20px, 1.7vw, 24px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html, body { overflow-x: clip; }
body { margin: 0; font: 400 16px/1.7 var(--body); color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--head); font-weight: 800; color: var(--ink); text-wrap: balance; }
h1 { font-size: var(--h1); line-height: 1.1; letter-spacing: -.01em; }
h2 { font-size: var(--h2); line-height: 1.12; letter-spacing: -.01em; }
h3 { font-size: var(--h3); line-height: 1.25; font-weight: 700; }
.pd-hl { color: var(--gold); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
figure { margin: 0; }
.pd-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pd-skip { position: absolute; left: -9999px; top: 8px; z-index: 200; background: var(--white); padding: 8px 14px; }
.pd-skip:focus { left: 8px; }
.wp-block-group.pd-center { display: flex; justify-content: center; margin-top: clamp(36px, 4vw, 52px); }

/* WordPress Block-Grundlagen neutralisieren */
.pd-page > * { margin-top: 0; margin-bottom: 0; }
.wp-block-columns { display: flex; gap: 0; margin: 0; flex-wrap: nowrap; align-items: stretch; }
.wp-block-column { flex: 1 1 0; min-width: 0; }
.wp-block-group { margin: 0; }
.wp-block-group__inner-container { display: contents; }
.wp-block-image { margin: 0; }
.wp-block-image img { height: auto; max-width: 100%; vertical-align: bottom; }
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }
.wp-block-list { margin: 0; }

/* ---------- Buttons ---------- */
.pd-btn,
.wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 50px;
	padding: 12px 28px;
	font: 600 14px/1.2 var(--head);
	letter-spacing: .06em;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--ink);
	background: var(--white);
	border: 1px solid var(--gold);
	border-radius: 6px;
	cursor: pointer;
	transition: background-color .25s, color .25s, border-color .25s;
}
.pd-btn:hover,
.wp-block-button__link:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.is-style-blue .wp-block-button__link { background: var(--blue); border-color: var(--blue); color: var(--white); }
.is-style-blue .wp-block-button__link:hover { background: var(--white); border-color: var(--white); color: var(--ink); }
.is-style-line-light .wp-block-button__link { background: transparent; color: var(--white); border-color: var(--gold); }
.is-style-line-light .wp-block-button__link:hover { background: var(--gold); color: var(--ink); }
.pd-btn--primary { background: var(--gold); }
.pd-btn--primary:hover { background: var(--gold-dark); }
.pd-btn--ghost { background: var(--white); border-color: var(--ink); }

.pd-more { margin-top: 28px; }
.pd-more a { display: inline-flex; align-items: center; gap: 10px; font: 600 15px/1 var(--head); color: inherit; text-decoration: none; }
.pd-more a::after { content: ""; width: 18px; height: 18px; background: url("../icons/ui/arrow.svg") center / contain no-repeat; filter: invert(1); transition: transform .25s; }
.pd-more a:hover::after { transform: translateX(4px); }

.pd-eyebrow { margin: 0 0 14px; font: 600 15px/1.3 var(--head); letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }
.pd-lead { font-size: clamp(16px, 1.2vw, 17.5px); }
.pd-label { margin: 22px 0 10px; font: 700 16px/1.3 var(--head); color: var(--ink); }
.pd-num { display: grid; place-items: center; flex: none; width: 46px; height: 46px; margin: 0; border-radius: 50%; background: var(--white); box-shadow: var(--shadow); font: 500 18px/1 var(--head); color: var(--ink); }
.pd-rounded img { width: 100%; border-radius: var(--radius); object-fit: cover; }

/* Haken-Liste */
.pd-checks { list-style: none; padding: 0; display: grid; gap: 8px; }
.pd-checks li { position: relative; padding-left: 30px; }
.pd-checks li::before { content: ""; position: absolute; left: 0; top: .2em; width: 20px; height: 20px; background: url("../icons/ui/check.svg") center / contain no-repeat; }

/* Icons in Kreisen */
.pd-ico::before { content: ""; display: block; width: 64px; height: 64px; margin: 0 auto 20px; border-radius: 50%; border: 1px solid var(--gold); background: var(--white) no-repeat center / 30px; }
.pd-ico--anfrage::before { background-image: url("../icons/ui/anfrage.png"); }
.pd-ico--beratung::before { background-image: url("../icons/ui/beratung.png"); }
.pd-ico--umsetzung::before { background-image: url("../icons/ui/umsetzung.png"); }
.pd-ico--innovation::before { background-image: url("../icons/ui/innovation.png"); }
.pd-ico--qualitaet::before { background-image: url("../icons/ui/qualitaet.png"); }
.pd-ico--betreuung::before { background-image: url("../icons/ui/betreuung.png"); }
.pd-ico--projekte::before { background-image: url("../icons/ui/projekte.png"); }
.pd-ico--kunden::before { background-image: url("../icons/ui/kunden.png"); }
.pd-ico--telefon::before { background-image: url("../icons/ui/phone.svg"); background-size: 22px; }
.pd-ico--mail::before { background-image: url("../icons/ui/mail.svg"); background-size: 22px; }
.pd-ico--standort::before { background-image: url("../icons/ui/pin.svg"); background-size: 22px; }

/* ---------- Topbar und Header ---------- */
.pd-topbar { background: var(--ink); color: var(--white); font-size: 13px; }
.pd-topbar__inner { display: flex; align-items: center; gap: 24px; min-height: 40px; padding: 6px var(--pad); }
.pd-topbar__item { display: flex; align-items: center; gap: 8px; margin: 0; }
.pd-topbar__item::before { content: ""; width: 15px; height: 15px; background: center / contain no-repeat; }
.pd-topbar__item--a::before { background-image: url("../icons/ui/send.svg"); }
.pd-topbar__item--b { margin-left: auto; }
.pd-topbar__item--b::before { background-image: url("../icons/ui/handshake.svg"); }
.pd-social { display: flex; gap: 10px; margin: 0; padding: 0; list-style: none; }
.pd-social a { display: block; width: 30px; height: 30px; border-radius: 50%; background: var(--gold) center / 16px no-repeat; transition: background-color .2s, transform .2s; }
.pd-social a:hover { background-color: var(--white); transform: translateY(-2px); }
.pd-footer .pd-social a { width: 36px; height: 36px; background-size: 18px; }
.pd-footer .pd-social a:hover { background-color: var(--ink); }
.pd-footer .pd-social a.pd-social__instagram:hover { background-image: url("../icons/ui/instagram.svg"); }
.pd-footer .pd-social a.pd-social__tiktok:hover { background-image: url("../icons/ui/tiktok.svg"); }
.pd-social a.pd-social__instagram { background-image: url("../icons/ui/instagram-dark.svg"); }
.pd-social a.pd-social__tiktok { background-image: url("../icons/ui/tiktok-dark.svg"); }

.pd-header { position: sticky; top: 0; z-index: 99; background: var(--white); transition: box-shadow .3s; }
.pd-header.is-scrolled { box-shadow: 0 6px 24px rgba(36, 38, 43, .1); }
.pd-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 92px; padding: 10px var(--pad); }
.pd-header__logo img { width: 92px; height: auto; transition: width .3s; }
.pd-header.is-scrolled .pd-header__logo img { width: 76px; }
.pd-nav { display: flex; align-items: center; gap: 28px; }
.pd-nav__list { display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; }
.pd-nav__list a { display: block; padding: 10px 14px; font: 600 16px/1.2 var(--head); color: var(--ink); text-decoration: none; border-radius: 6px; transition: background-color .2s; }
.pd-nav__list a:hover { background: var(--sand); }
.pd-nav__list .current-menu-item > a { color: var(--gold-dark); }
.pd-nav__contact { display: grid; grid-template-columns: 38px auto; column-gap: 10px; align-items: center; font: 700 15px/1.25 var(--head); color: var(--ink); text-decoration: none; }
.pd-nav__contact span { grid-column: 2; font: 400 12px/1.2 var(--body); color: var(--text); }
.pd-nav__contact::before { content: ""; grid-row: span 2; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--gold); background: center / 18px no-repeat; }
.pd-nav__contact--mail::before { background-image: url("../icons/ui/mail.svg"); }
.pd-nav__contact--phone::before { background-image: url("../icons/ui/phone.svg"); }
.pd-header__toggle { display: none; }

/* ---------- Hero und Seitenkopf ---------- */
.pd-hero, .pd-pagehead { position: relative; isolation: isolate; overflow: hidden; color: var(--white); }
.pd-hero { display: flex; align-items: center; min-height: clamp(520px, 78vh, 760px); padding: 90px var(--pad); }
.pd-hero__bg, .pd-pagehead__bg { position: absolute !important; inset: 0; z-index: -2; }
.pd-hero .pd-hero__bg img, .pd-pagehead .pd-pagehead__bg img { width: 100%; height: 100%; object-fit: cover; }
.pd-hero::after, .pd-pagehead::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(36, 38, 43, .78), rgba(36, 38, 43, .45)); }
.pd-hero__content { max-width: 640px; }
.pd-hero h1 { color: var(--white); margin-bottom: 22px; }
.pd-hero .pd-lead { color: rgba(255, 255, 255, .9); margin-bottom: 32px; }
.pd-pagehead { display: grid; place-items: center; min-height: clamp(260px, 30vw, 380px); padding: 60px var(--pad); text-align: center; }
.pd-pagehead::after { background: rgba(36, 38, 43, .6); }
.pd-pagehead h1 { color: var(--white); }
.pd-crumbs { margin-top: 12px; font: 600 13px/1 var(--head); letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .85); }
.pd-crumbs a { color: var(--gold); text-decoration: none; }
.pd-pagehead--plain { display: block; min-height: 0; padding: clamp(48px, 6vw, 80px) var(--pad) 16px; text-align: left; color: var(--ink); }
.pd-pagehead--plain::after { display: none; }
.pd-pagehead--plain h1 { color: var(--ink); }

/* ---------- Sektionen ---------- */
.pd-section { padding: var(--space) var(--pad); }
.pd-section--sand { background: var(--sand); }
.pd-section--stone { background: var(--stone); }
.pd-section--dark { background: var(--ink); color: var(--muted-light); }
.pd-section--dark h2, .pd-section--dark h3 { color: var(--white); }
.pd-section--circles { background: var(--sand) url("../img/bg-circles.png") center / cover no-repeat; }
.pd-head { max-width: 640px; margin: 0 auto clamp(40px, 5vw, 64px); text-align: center; }
.pd-head h2 + .pd-lead { margin-top: 20px; }

/* Über uns (Home): zwei Bildkarten */
.pd-features { gap: clamp(24px, 4vw, 64px); align-items: flex-start; }
.pd-feature--wide { flex: 1.35 1 0; }
.pd-feature:not(.pd-feature--wide) { margin-top: 0; }
.pd-feature .pd-rounded img { aspect-ratio: 4 / 3; }
.pd-feature--wide .pd-rounded img { aspect-ratio: 5 / 4; }
.pd-feature h3 { margin: 22px 0 8px; }

/* Ablauf */
.pd-steps { gap: 24px; }
.pd-step { padding: clamp(32px, 3vw, 44px) 28px; text-align: center; background: var(--white); border: 1px solid var(--gold); border-radius: var(--radius); }
.pd-step h3 { margin-bottom: 12px; }
.pd-step--dark { background: var(--ink); color: var(--muted-light); border-color: var(--ink); }
.pd-step--dark h3 { color: var(--white); }
.pd-step--dark .pd-ico::before, .pd-why--dark .pd-ico::before { background-color: var(--ink); filter: invert(1) hue-rotate(180deg); }

/* Leistungen (Home) */
.pd-leistungen { gap: clamp(28px, 5vw, 80px); align-items: flex-start; }
.pd-leistungen + .pd-leistungen { margin-top: clamp(40px, 5vw, 64px); }
.pd-leistungen > .pd-leistung:first-child { flex: 1.35 1 0; }
.pd-leistungen--flip > .pd-leistung:first-child { flex: 1 1 0; }
.pd-leistungen--flip > .pd-leistung:last-child { flex: 1.35 1 0; }
.pd-leistungen--single { justify-content: center; }
.pd-leistungen--single > .pd-leistung { flex: 0 1 620px !important; }
.pd-leistung__head { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 22px; }
.pd-leistung__head > .wp-block-group__inner-container { display: flex; gap: 18px; align-items: flex-start; }
.pd-leistung__text h3 { margin-bottom: 4px; }
.pd-leistung__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }

/* Warum */
.pd-whys { gap: 18px; }
.pd-why { display: flex; align-items: center; justify-content: center; padding: 36px 22px; text-align: center; background: var(--white); border: 1px solid var(--gold); border-radius: var(--radius); }
.pd-why h3 { font-size: 18px; }
.pd-why--dark { background: var(--ink); border-color: var(--ink); }
.pd-why--dark h3 { color: var(--white); }

/* FAQ */
.pd-faq { gap: clamp(36px, 6vw, 96px); align-items: flex-start; }
.pd-faq__head { flex: .85 1 0; }
.pd-faq__head h2 { margin-bottom: 24px; }
.pd-faq__head .pd-more a { color: var(--white); }
.pd-faq__list { flex: 1.15 1 0; }
.pd-faq__item { border-bottom: 1px solid var(--box-line); }
.pd-faq__item summary { position: relative; padding: 18px 44px 18px 0; font: 700 16.5px/1.4 var(--head); color: var(--white); cursor: pointer; list-style: none; }
.pd-faq__item summary::-webkit-details-marker { display: none; }
.pd-faq__item summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font: 400 26px/1 var(--body); color: var(--gold); transition: transform .25s; }
.pd-faq__item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.pd-faq__item > p { margin: 0; padding: 0 0 20px; }

/* Dienstleistungen */
.pd-split { gap: clamp(36px, 6vw, 88px); align-items: center; }
.pd-section--services .pd-split + .pd-split { margin-top: clamp(56px, 7vw, 96px); }
.pd-split--reverse .pd-split__media { order: -1; }
.pd-split__text .pd-num { margin-bottom: 18px; }
.pd-split__text h2 { margin-bottom: 18px; }
.pd-section--services h2 { font-size: clamp(26px, 2.6vw, 36px); text-transform: uppercase; }
.pd-split__text .wp-block-buttons { margin-top: 26px; }
.pd-split__media .pd-rounded img { aspect-ratio: 4 / 3; }

/* Zahlen */
.pd-stats { gap: 20px; }
.pd-stat { padding: 32px 20px; text-align: center; background: var(--box); border: 1px solid var(--box-line); border-radius: var(--radius); }
.pd-stat__value { margin: 0 0 8px; font: 800 clamp(30px, 3vw, 40px)/1.1 var(--head); color: var(--white); }
.pd-stat__value::before { background-color: var(--box); filter: invert(1) hue-rotate(180deg); }
.pd-stat__label { margin: 0; font: 600 13px/1.4 var(--head); letter-spacing: .08em; text-transform: uppercase; }

/* Über uns */
.pd-benefits > .wp-block-group__inner-container { display: grid; gap: 22px; }
.pd-benefits { display: grid; gap: 22px; align-content: center; }
.pd-benefit { position: relative; padding-left: 38px; }
.pd-benefit::before { content: ""; position: absolute; left: 0; top: 2px; width: 24px; height: 24px; background: url("../icons/ui/check.svg") center / contain no-repeat; }
.pd-benefit h3 { font-size: 18px; margin-bottom: 4px; }
.pd-benefit p { margin: 0; font-size: 15px; }
.pd-tilt img { box-shadow: 0 20px 50px rgba(0, 0, 0, .35); }
.pd-framed img { padding: 8px; background: var(--white); box-shadow: var(--shadow); }
.pd-role { margin: 8px 0 22px; font: 700 18px/1.3 var(--head); color: var(--gold-dark); }
.pd-stack { position: relative; min-height: 420px; }
.pd-stack-a { width: 62%; margin-left: auto; }
.pd-stack-b { position: absolute !important; left: 0; bottom: 0; width: 52%; }
.pd-stack img { aspect-ratio: 1; box-shadow: var(--shadow); border: 6px solid var(--white); }
.pd-values { text-align: center; background: var(--ink) url("../img/value-shape.png") center / contain no-repeat; }
.pd-values h2 { margin-bottom: 18px; }
.pd-values .pd-lead { max-width: 680px; margin: 0 auto 30px; }
.pd-values .wp-block-buttons { justify-content: center; }

/* Projekte */
.pd-projects { gap: 24px; align-items: stretch; }
.pd-project { display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.pd-project__img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.pd-project__body { padding: 24px; }
.pd-project__body h3 { margin-bottom: 12px; font-size: 21px; }
.pd-project__place, .pd-project__tags { position: relative; margin: 0 0 6px; padding-left: 24px; font-size: 14px; }
.pd-project__place::before, .pd-project__tags::before { content: ""; position: absolute; left: 0; top: .25em; width: 16px; height: 16px; background: center / contain no-repeat; }
.pd-project__place::before { background-image: url("../icons/ui/pin.svg"); }
.pd-project__tags::before { background-image: url("../icons/ui/check.svg"); }
.pd-project__tags + p { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--stone); font-size: 15px; }
.pd-materials { gap: 12px; }
.pd-material__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; }
.pd-material__title { margin: 8px 0 0; font: 600 13px/1.35 var(--head); color: var(--ink); text-align: center; }

/* Kontakt */
.pd-contact { gap: 28px; align-items: flex-start; }
.pd-contact__form { flex: 1.5 1 0; padding: clamp(28px, 3.5vw, 48px); background: var(--ink); color: var(--muted-light); border-radius: var(--radius); }
.pd-contact__form h2 { color: var(--white); font-size: clamp(26px, 2.4vw, 34px); margin-bottom: 10px; }
.pd-contact__form > p { margin-bottom: 26px; }
.pd-contact__card { flex: 1 1 0; padding: clamp(28px, 3vw, 40px); text-align: center; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); }
.pd-contact__card h3 { font-size: clamp(22px, 2vw, 28px); margin-bottom: 10px; }
.pd-contactlist { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 22px; }
.pd-contactlist li { display: flex; flex-direction: column; align-items: center; gap: 4px; color: var(--ink); }
.pd-contactlist li::before { width: 48px; height: 48px; margin: 0 0 6px; }
.pd-contactlist__label { font: 700 12px/1.2 var(--head); letter-spacing: .08em; text-transform: uppercase; color: var(--text); }
.pd-contactlist a { color: var(--ink); text-decoration: none; font-weight: 600; }
.pd-contactlist a:hover { color: var(--gold-dark); }
.pd-section--map { padding-top: 0; background: var(--sand); }
.pd-map iframe { display: block; width: 100%; height: clamp(320px, 36vw, 440px); border: 0; border-radius: var(--radius); }

/* Formular (dunkel) */
.pd-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pd-form__row { margin: 0; display: flex; flex-direction: column; gap: 6px; }
.pd-form__row--full { grid-column: 1 / -1; }
.pd-form label { font: 600 13px/1.2 var(--head); letter-spacing: .04em; color: var(--white); }
.pd-form input::placeholder, .pd-form textarea::placeholder { color: #a9a6a0; opacity: 1; }
.pd-form input, .pd-form textarea { width: 100%; padding: 15px 16px; font: 400 16px/1.4 var(--body); color: var(--white); background: transparent; border: 1px solid #757272; border-radius: 6px; transition: border-color .2s; }
.pd-form textarea { resize: vertical; min-height: 150px; }
.pd-form input:focus, .pd-form textarea:focus { outline: none; border-color: var(--gold); }
.pd-form__submit { margin: 20px 0 0; }
.pd-form__submit .pd-btn { width: 100%; background: var(--white); }
.pd-form__submit .pd-btn:hover { background: var(--gold); }
.pd-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.pd-form__notice { padding: 14px 16px; margin-bottom: 18px; border-radius: 6px; font-weight: 600; }
.pd-form__notice--ok { background: #e3f1e1; color: #1f4d1a; }
.pd-form__notice--err { background: #fbe4e1; color: #7f1d12; }

/* Datenschutz */
.pd-prose { max-width: calc(820px + 2 * var(--pad)); padding: 0 var(--pad) var(--space); }
.pd-prose h3 { margin: 34px 0 10px; font-size: 20px; }

/* ---------- Footer ---------- */
.pd-footer { background: var(--stone); color: var(--ink); font-size: 15px; }
.pd-footer__top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; padding: clamp(56px, 6vw, 80px) var(--pad) 48px; }
.pd-footer__logo { display: inline-block; margin-bottom: 18px; }
.pd-footer__logo img { width: 150px; height: auto; }
.pd-footer__brand p { max-width: 300px; }
.pd-footer__heading { margin-bottom: 16px; font: 700 16px/1.2 var(--head); }
.pd-footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pd-footer a { color: var(--ink); text-decoration: none; transition: color .2s; }
.pd-footer a:hover { color: var(--gold-dark); }
.pd-footer__links .current-menu-item > a { color: var(--text); }
.pd-footer__hours::first-line { font-weight: 700; }
.pd-footer__contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.pd-fi { position: relative; padding-left: 28px; }
.pd-fi::before { content: ""; position: absolute; left: 0; top: .2em; width: 18px; height: 18px; background: center / contain no-repeat; }
.pd-fi--mail::before { background-image: url("../icons/ui/mail.svg"); }
.pd-fi--phone::before { background-image: url("../icons/ui/phone.svg"); }
.pd-fi--pin::before { background-image: url("../icons/ui/pin.svg"); }
.pd-footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 18px var(--pad); background: var(--sand); font-size: 13px; }
.pd-footer__bottom p { margin: 0; }
.pd-footer__bottom p a { margin-left: 10px; text-decoration: underline; }

.pd-mobilebar { display: none; }

/* 404 */
.error404 .pd-pagehead { min-height: 50vh; }

/* ---------- Animationen ---------- */
@keyframes pdFadeUp { from { opacity: 0; transform: translateY(44px); } to { opacity: 1; transform: none; } }
@keyframes pdFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes pdZoomIn { from { opacity: 0; transform: scale(.92); } to { opacity: 1; transform: none; } }
@keyframes pdSlideLeft { from { opacity: 0; transform: translateX(-60px); } to { opacity: 1; transform: none; } }
@keyframes pdSlideRight { from { opacity: 0; transform: translateX(60px); } to { opacity: 1; transform: none; } }
.pd-anim { opacity: 0; }
.pd-anim.is-in { animation: var(--anim) 1s cubic-bezier(.2, .7, .2, 1) var(--delay, 0ms) both; }

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 1180px) {
	.pd-nav__contact--mail { display: none; }
	.pd-nav__list a { padding: 10px; font-size: 15px; }
	.pd-whys, .pd-stats { flex-wrap: wrap !important; }
	.pd-whys > .wp-block-column, .pd-stats > .wp-block-column { flex: 1 1 calc(50% - 10px) !important; }
	.pd-footer__top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1023px) {
	.pd-topbar__item--a { display: none; }
	.pd-topbar__item--b { margin-left: 0; margin-right: auto; }
	.pd-header__inner { min-height: 76px; }
	.pd-header__logo img, .pd-header.is-scrolled .pd-header__logo img { width: 68px; }
	.pd-header__toggle { display: grid; place-items: center; width: 48px; height: 48px; padding: 0; background: var(--ink); border: 0; border-radius: 8px; cursor: pointer; }
	.pd-header__bar, .pd-header__bar::before, .pd-header__bar::after { content: ""; display: block; width: 22px; height: 2px; background: var(--white); transition: transform .25s, background-color .25s; }
	.pd-header__bar { position: relative; }
	.pd-header__bar::before { position: absolute; top: -7px; }
	.pd-header__bar::after { position: absolute; top: 7px; }
	[aria-expanded="true"] .pd-header__bar { background: transparent; }
	[aria-expanded="true"] .pd-header__bar::before { transform: translateY(7px) rotate(45deg); }
	[aria-expanded="true"] .pd-header__bar::after { transform: translateY(-7px) rotate(-45deg); }
	.pd-nav { position: fixed; inset: 76px 0 0; flex-direction: column; align-items: stretch; gap: 22px; padding: 20px 20px 40px; background: var(--white); overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s, transform .25s, visibility .25s; }
	.pd-nav.is-open { opacity: 1; visibility: visible; transform: none; }
	.pd-nav__list { flex-direction: column; gap: 0; }
	.pd-nav__list > li { border-bottom: 1px solid var(--stone); }
	.pd-nav__list a { padding: 16px 4px; font-size: 21px; border-radius: 0; }
	.pd-nav__list a:hover { background: none; }
	.pd-nav__list .current-menu-item > a { box-shadow: inset 4px 0 0 var(--gold); padding-left: 16px; color: var(--ink); }
	.pd-nav__contact--mail { display: grid; }
	html.pd-nav-open { overflow: hidden; }

	.pd-split, .pd-faq, .pd-contact, .pd-projects { flex-wrap: wrap !important; }
	.pd-split > .wp-block-column, .pd-faq > .wp-block-column, .pd-contact > .wp-block-column { flex: 1 1 100% !important; }
	.pd-leistungen > .wp-block-column, .pd-features > .wp-block-column { flex: 1 1 0 !important; }
	.pd-projects > .wp-block-column { flex: 1 1 calc(50% - 12px) !important; }
	.pd-split--reverse .pd-split__media { order: 0; }
	.pd-split__media { order: -1; max-width: 640px; }
	.pd-stack { min-height: 0; }
	.pd-stack-b { display: none; }
	.pd-stack-a { width: 100%; }
	.pd-steps { flex-wrap: wrap !important; justify-content: center; }
	.pd-steps > .wp-block-column { flex: 1 1 calc(50% - 12px) !important; max-width: 420px; }
	.pd-tilt img { transform: none; }
}

@media (max-width: 767px) {
	body { font-size: 16px; padding-bottom: 72px; }
	.pd-topbar { display: none; }
	.pd-nav { inset: 76px 0 0; }
	.pd-hero { min-height: clamp(480px, 82svh, 680px); padding: 64px 20px; }
	.pd-hero::after { background: linear-gradient(180deg, rgba(36, 38, 43, .55), rgba(36, 38, 43, .8)); }
	.pd-steps > .wp-block-column, .pd-whys > .wp-block-column, .pd-stats > .wp-block-column, .pd-projects > .wp-block-column { flex: 1 1 100% !important; max-width: none; }
	.pd-features, .pd-leistungen { flex-wrap: wrap !important; }
	.pd-features > .wp-block-column, .pd-leistungen > .wp-block-column { flex: 1 1 100% !important; }
	.pd-whys { gap: 12px; }
	.pd-form__grid { grid-template-columns: 1fr; }
	.pd-footer__top { grid-template-columns: 1fr; gap: 32px; }
	.pd-footer__bottom { flex-direction: column; align-items: flex-start; padding-bottom: 24px; }
	.pd-mobilebar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 98; display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: var(--white); box-shadow: 0 -6px 24px rgba(36, 38, 43, .12); }
	.pd-mobilebar .pd-btn { min-height: 48px; padding: 10px 14px; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; }
	.pd-anim.is-in { animation-duration: .6s; }
}
