/* pksolutions – Theme-Styles
   Farben/Schriften kommen aus theme.json (CSS-Variablen --wp--preset--*). */

:root {
	--pk-saal: var(--wp--preset--color--saal, #0B0A0C);
	--pk-buehne: var(--wp--preset--color--buehne, #0F0D10);
	--pk-kulisse: var(--wp--preset--color--kulisse, #141215);
	--pk-linie: var(--wp--preset--color--linie, #2C282D);
	--pk-weiss: var(--wp--preset--color--warmweiss, #F4F1EE);
	--pk-nebel: var(--wp--preset--color--nebel, #B3AAA6);
	--pk-rose: var(--wp--preset--color--rose, #F2B8A8);
	--pk-rot: var(--wp--preset--color--signalrot, #E0212E);
	--pk-logorot: var(--wp--preset--color--logorot, #800000);
	--pk-breit: 1240px;
	--pk-radius: 20px;
	--pk-saira: var(--wp--preset--font-family--saira, Saira, sans-serif);
}

html { scroll-behavior: smooth; scroll-padding-top: 90px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
::selection { background: var(--pk-rot); color: #fff; }
img { height: auto; }
:where(.wp-site-blocks) > * { margin-block-start: 0; }
.pk-main { min-height: 50vh; }
.pk-main > .wp-block-post-content > :first-child { margin-top: 0; }

/* Überschriften im Bühnenlook */
h1, h2, .wp-block-post-title { font-stretch: 80%; letter-spacing: -0.005em; }
.pk-display {
	font-size: var(--wp--preset--font-size--display) !important;
	font-stretch: 72%; font-weight: 850; line-height: 0.92 !important; letter-spacing: -0.01em;
	margin: 0;
}
.pk-akzent, .pk-display em, h2 em { color: var(--pk-rot); font-style: normal; }

/* Überzeile */
.is-style-pk-ueberzeile, .pk-ueberzeile {
	margin-top: 0 !important; margin-bottom: 0.75rem !important;
	font-size: 0.875rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
	color: var(--pk-rose);
}
.pk-lead { font-size: var(--wp--preset--font-size--gross); line-height: 1.55; color: #E3DCD8; max-width: 640px; }
.pk-gedaempft, .pk-gedaempft p { color: var(--pk-nebel); }

/* Buttons */
.wp-element-button, .wp-block-button__link { transition: background-color .2s, color .2s, border-color .2s, transform .2s; text-decoration: none; }
.wp-block-button__link:hover { transform: translateY(-1px); }
.is-style-pk-kontur .wp-block-button__link {
	background: transparent !important; color: var(--pk-weiss) !important;
	border: 1px solid rgba(244, 241, 238, .4); padding: 14px 27px;
}
.is-style-pk-kontur .wp-block-button__link:hover { border-color: var(--pk-weiss); }
.is-style-pk-hell .wp-block-button__link { background: #fff !important; color: var(--pk-logorot) !important; font-weight: 700; }
.is-style-pk-hell .wp-block-button__link:hover { background: #FFE9E4 !important; }
.pk-btn-klein .wp-block-button__link { padding: 11px 20px; font-size: .9375rem; }
:focus-visible { outline: 2px solid var(--pk-weiss); outline-offset: 3px; }

/* ---------------------------------------------------------------- Kopf */
.pk-header-wrap { position: sticky; top: 0; z-index: 50; }
.admin-bar .pk-header-wrap { top: 32px; }
@media (max-width: 782px) { .admin-bar .pk-header-wrap { top: 0; } }
.pk-header {
	background: rgba(11, 10, 12, .86);
	-webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
	border-bottom: 1px solid #221F23;
}
.pk-header-inner { max-width: var(--pk-breit); margin: 0 auto; padding: 0 24px; min-height: 76px; gap: 24px; }
.pk-header-right { gap: 32px; }
.pk-logo { display: flex; align-items: center; }
.pk-logo img { height: 30px; width: auto; display: block; }
.pk-nav .wp-block-navigation-item__content { color: #D9D2CE; text-decoration: none; }
.pk-nav .wp-block-navigation-item__content:hover { color: #fff; }
.pk-nav .wp-block-navigation__container { gap: 32px; }
.pk-nav .wp-block-navigation__responsive-container-open {
	border: 1px solid #3A3439; border-radius: 10px; width: 44px; height: 44px;
	align-items: center; justify-content: center; color: var(--pk-weiss);
}
.pk-nav .wp-block-navigation__responsive-container-open:not(.always-shown) { display: none; }
@media (max-width: 599px) { .pk-nav .wp-block-navigation__responsive-container-open:not(.always-shown) { display: inline-flex; } }
.pk-header-right { flex-wrap: nowrap !important; }
.pk-nav { flex-wrap: nowrap; }
.pk-nav .wp-block-navigation__responsive-container.is-menu-open { padding: 24px; }
.pk-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { gap: 20px; font-family: var(--pk-saira); font-stretch: 80%; font-weight: 800; font-size: 2rem; text-transform: uppercase; }
@media (max-width: 880px) { .pk-header-cta { display: none !important; } }

/* -------------------------------------------------------------- Bühne/Hero */
.pk-hero { position: relative; overflow: hidden; isolation: isolate; }
.pk-hero.wp-block-cover { padding: 0 !important; min-height: min(92vh, 900px) !important; align-items: flex-end; }
.pk-hero .wp-block-cover__image-background { opacity: .38; object-position: center 40%; }
.pk-hero .wp-block-cover__background { background: linear-gradient(180deg, rgba(11,10,12,.8) 0%, rgba(11,10,12,.2) 35%, rgba(11,10,12,.72) 72%, #0B0A0C 100%) !important; opacity: 1 !important; }
.pk-hero .wp-block-cover__inner-container { width: 100%; max-width: var(--pk-breit) !important; margin: 0 auto; padding: 72px 24px 88px; box-sizing: border-box; color: var(--pk-weiss); }
.pk-hero-cols { gap: clamp(32px, 5vw, 64px) !important; align-items: center !important; }
.pk-hero-buttons { margin-top: 40px !important; gap: 14px; }
.pk-hero .pk-lead { margin-top: 28px; }
.pk-hero-kontakt { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 40px !important; font-size: .9375rem; color: var(--pk-nebel); }
.pk-hero-kontakt a { color: var(--pk-nebel); text-decoration: none; }
.pk-hero-kontakt a:hover { color: #fff; }

/* Video-„Bühne“ */
.pk-stage { position: relative; margin: 0 !important; border-radius: 18px; overflow: hidden; background: #000; border: 1px solid #2C282D;
	box-shadow: 0 0 0 1px rgba(255,255,255,.02), 0 30px 80px -20px rgba(224,33,46,.35), 0 0 120px -30px rgba(255,220,180,.25); }
.pk-stage video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.pk-stage::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; box-shadow: inset 0 0 60px rgba(0,0,0,.5); }
.pk-stage figcaption { display: none; }

/* Lichtkegel, Spotlicht und Bänder (per JS eingefügt) */
.pk-fx { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.pk-hero .wp-block-cover__inner-container { position: relative; z-index: 2; }
.pk-fx-beams { mix-blend-mode: screen; }
.pk-beam { position: absolute; top: -60px; transform-origin: 50% 0; clip-path: polygon(47% 0, 53% 0, 100% 100%, 0 100%); }
.pk-beam-a { left: 8%; width: 460px; height: 1000px; filter: blur(16px); background: linear-gradient(180deg, rgba(255,226,190,.5) 0%, rgba(255,226,190,.1) 55%, rgba(255,226,190,0) 85%); animation: pkSwayA 9s ease-in-out infinite; }
.pk-beam-b { right: 10%; width: 520px; height: 1000px; filter: blur(18px); background: linear-gradient(180deg, rgba(224,33,46,.6) 0%, rgba(224,33,46,.13) 55%, rgba(224,33,46,0) 88%); animation: pkSwayB 11s ease-in-out infinite; }
.pk-beam-c { left: 40%; width: 380px; height: 940px; filter: blur(14px); background: linear-gradient(180deg, rgba(255,255,255,.3) 0%, rgba(255,255,255,.06) 50%, rgba(255,255,255,0) 80%); animation: pkSwayC 13s ease-in-out infinite; }
.pk-spot { position: absolute; inset: 0; background: radial-gradient(520px circle at var(--mx, 70%) var(--my, 30%), rgba(255,220,180,.18), rgba(255,220,180,0) 62%); transition: background-position .2s; }
@keyframes pkSwayA { 0%, 100% { transform: rotate(-20deg); } 50% { transform: rotate(-12deg); } }
@keyframes pkSwayB { 0%, 100% { transform: rotate(16deg); } 50% { transform: rotate(24deg); } }
@keyframes pkSwayC { 0%, 100% { transform: rotate(-4deg); } 50% { transform: rotate(5deg); } }
.pk-fx-ribbons svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.pk-ribbon { stroke-dasharray: 2600; animation: pkDraw 2.8s cubic-bezier(.22,.8,.3,1) both; }
.pk-ribbon-2 { animation-delay: .35s; }
.pk-ribbon-3 { animation-delay: .7s; }
.pk-ribbon-glow { animation: pkShimmer 6s ease-in-out infinite; }
@keyframes pkDraw { from { stroke-dashoffset: 2600; } to { stroke-dashoffset: 0; } }
@keyframes pkShimmer { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
	.pk-beam, .pk-ribbon, .pk-ribbon-glow { animation: none !important; }
}
@media (max-width: 781px) {
	.pk-hero.wp-block-cover { min-height: 0 !important; }
	.pk-hero .wp-block-cover__inner-container { padding: 40px 20px 64px; }
	.pk-beam-a { left: -20%; } .pk-beam-b { right: -30%; } .pk-beam-c { display: none; }
	.pk-hero .pk-hero-cols > .wp-block-column:last-child { order: -1; }
	.pk-hero .pk-stage { border-radius: 14px; }
}

/* ------------------------------------------------------------- Abschnitte */
.pk-section { padding-top: var(--wp--preset--spacing--70) !important; padding-bottom: var(--wp--preset--spacing--70) !important; position: relative; isolation: isolate; }
.pk-section > * { position: relative; }
.is-style-pk-band, .pk-band { background: var(--pk-buehne); border-top: 1px solid #221F23; border-bottom: 1px solid #221F23; }
.pk-section h2 { margin-top: 0; }
.pk-kopfzeile { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 40px !important; }
.pk-kopfzeile h2 { margin: 0; }

/* Ablauf in Schritten */
.pk-schritte { gap: 20px !important; }
.pk-schritt { border-top: 2px solid var(--pk-rot); padding-top: 20px; }
.pk-schritt-nr { margin: 0 !important; font-family: var(--pk-saira); font-stretch: 70%; font-weight: 800; font-size: 2.75rem; line-height: 1; color: #3A3439; }
.pk-schritt h3 { margin: 12px 0 8px; font-size: 1.1875rem; }
.pk-schritt p:not(.pk-schritt-nr) { margin: 0; color: var(--pk-nebel); font-size: 1rem; }

/* Karten */
.is-style-pk-karte, .pk-karte {
	background: var(--pk-kulisse); border: 1px solid var(--pk-linie); border-radius: var(--pk-radius);
	padding: 36px !important;
}
.pk-karte h3 { margin: 20px 0 10px; font-size: 1.375rem; }
.pk-karte p { margin: 0; color: var(--pk-nebel); font-size: 1rem; }
.pk-karte-gestrichelt { border-style: dashed; border-color: #4A4248; }
.pk-karten { gap: 20px !important; }
.pk-karten > .wp-block-column { display: flex; }
.pk-karten > .wp-block-column > * { flex: 1; }

/* Icons über Karten (SVG als Maske, Farbe = Akzent) */
.pk-ico::before { content: ""; display: block; width: 36px; height: 36px; background: var(--pk-rot); -webkit-mask: var(--pk-ico) center / contain no-repeat; mask: var(--pk-ico) center / contain no-repeat; }
.pk-ico-ton { --pk-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='2' width='14' height='20' rx='2'/%3E%3Ccircle cx='12' cy='14' r='4'/%3E%3Ccircle cx='12' cy='6.5' r='1.5'/%3E%3C/svg%3E"); }
.pk-ico-buehne { --pk-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 10h18M5 10v10M19 10v10M3 20h18M4 10l2-6h12l2 6'/%3E%3C/svg%3E"); }
.pk-ico-akku { --pk-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='7' width='16' height='10' rx='2'/%3E%3Cpath d='M22 11v2M7 10v4M10 10v4'/%3E%3C/svg%3E"); }
.pk-ico-akku::before { background: var(--pk-rose); }

/* Licht-Karte (Cover) */
.pk-licht.wp-block-cover { border-radius: var(--pk-radius); border: 1px solid var(--pk-linie); overflow: hidden; min-height: 440px !important; padding: 48px !important; align-items: flex-end; }
.pk-licht .wp-block-cover__background { background: linear-gradient(90deg, rgba(11,10,12,.94) 0%, rgba(11,10,12,.72) 45%, rgba(11,10,12,.08) 100%) !important; opacity: 1 !important; }
.pk-licht .wp-block-cover__inner-container { max-width: 560px; margin-left: 0 !important; color: var(--pk-weiss); }
.pk-licht h3 { font-family: var(--pk-saira); font-stretch: 80%; font-weight: 800; font-size: 2.5rem; line-height: 1; text-transform: uppercase; margin: 18px 0 12px; }
.pk-licht p:not(.pk-badge) { color: #E3DCD8; margin: 0; }
.pk-badge { display: inline-block; margin: 0 !important; font-size: .8125rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; background: var(--pk-rot); color: #fff; padding: 5px 12px; border-radius: 999px; }
@media (max-width: 600px) { .pk-licht.wp-block-cover { padding: 28px !important; min-height: 380px !important; } .pk-licht .wp-block-cover__background { background: linear-gradient(0deg, rgba(11,10,12,.95) 0%, rgba(11,10,12,.6) 60%, rgba(11,10,12,.15) 100%) !important; } }

/* Vereine */
.pk-vereine { background: var(--pk-logorot) !important; overflow: hidden; }
.pk-vereine::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(900px 500px at 85% 0%, rgba(255,120,100,.35), rgba(128,0,0,0) 70%); }
.pk-vereine .is-style-pk-ueberzeile { color: #FFD6CC; }
.pk-vereine .pk-lead { color: #FFE9E4; }
.is-style-pk-haken { list-style: none; margin: 0; padding: 0 !important; display: flex; flex-direction: column; gap: 14px; }
.is-style-pk-haken li { position: relative; background: rgba(0,0,0,.22); border-radius: 14px; padding: 18px 20px 18px 56px; }
.is-style-pk-haken li::before { content: ""; position: absolute; left: 20px; top: 21px; width: 22px; height: 22px; background: #fff;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / contain no-repeat; }

/* Referenz-Kacheln (Startseite + Archiv) */
.pk-ref-grid { gap: 20px !important; }
.pk-ref-card { position: relative; height: 100%; display: flex; flex-direction: column; border-radius: 16px; overflow: hidden; background: var(--pk-kulisse); border: 1px solid var(--pk-linie); transition: border-color .2s, transform .2s; }
.pk-ref-card:hover { border-color: #4A4248; transform: translateY(-2px); }
.pk-ref-card .wp-block-post-featured-image { margin: 0; overflow: hidden; }
.pk-ref-card .wp-block-post-featured-image img { display: block; width: 100%; transition: transform .5s; }
.pk-ref-card:hover .wp-block-post-featured-image img { transform: scale(1.04); }
.pk-ref-card:not(:has(.wp-block-post-featured-image))::before { content: ""; display: block; aspect-ratio: 4 / 3;
	background: radial-gradient(60% 80% at 30% 0%, rgba(224,33,46,.45), rgba(20,18,21,0) 70%), radial-gradient(50% 70% at 80% 0%, rgba(255,220,180,.25), rgba(20,18,21,0) 70%), #1C191D; }
.pk-ref-card-body { padding: 18px 20px 22px; }
.pk-ref-card-meta { gap: 6px 10px !important; margin-bottom: 4px; }
.pk-ref-card-meta .wp-block-post-date, .pk-ref-card-meta .wp-block-post-terms { margin: 0; font-size: .8125rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--pk-rose); }
.pk-ref-card-meta .wp-block-post-terms a { color: var(--pk-rose); text-decoration: none; position: relative; z-index: 2; }
.pk-ref-card-title { margin: 0 !important; font-family: var(--wp--preset--font-family--inter) !important; font-size: 1.125rem !important; font-weight: 600 !important; line-height: 1.35 !important; text-transform: none !important; font-stretch: 100% !important; }
.pk-ref-card-title a { color: var(--pk-weiss); text-decoration: none; }
.pk-ref-card-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.pk-ref-card:focus-within { outline: 2px solid var(--pk-weiss); outline-offset: 2px; }

/* Team */
.pk-team::before { content: ""; position: absolute; left: -220px; bottom: -260px; width: 820px; height: 820px; background: url(../img/marke.png) center / contain no-repeat; opacity: .07; z-index: -1; pointer-events: none; }
.pk-person { padding: 0 !important; overflow: hidden; }
.pk-person-bild { height: 260px; margin: 0 !important; display: flex; align-items: center; justify-content: center; font-family: var(--pk-saira); font-weight: 800; font-size: 4.5rem; color: #4A4248; background: radial-gradient(260px 200px at 50% 0%, rgba(224,33,46,.35), #1C191D 70%); }
.pk-person-bild.pk-warm { background: radial-gradient(260px 200px at 50% 0%, rgba(255,220,180,.28), #1C191D 70%); }
.pk-person-bild img { width: 100%; height: 100%; object-fit: cover; }
.pk-person-text { padding: 20px 22px 24px; }
.pk-person-text p { margin: 0; }
.pk-person-name { font-weight: 600; font-size: 1.25rem; color: var(--pk-weiss) !important; }

/* Kontakt */
.pk-kontakt { overflow: hidden; }
.pk-kontakt::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(700px 420px at 10% 100%, rgba(128,0,0,.55), rgba(11,10,12,0) 70%); }
.pk-kontakt::after { content: ""; position: absolute; right: -260px; top: -120px; width: 900px; height: 900px; background: url(../img/marke.png) center / contain no-repeat; opacity: .06; z-index: -1; pointer-events: none; }
.pk-kontaktwege { display: flex; flex-direction: column; gap: 14px; font-size: 1.125rem; margin-top: 32px; }
.pk-kontaktwege p { margin: 0; display: flex; align-items: center; gap: 12px; }
.pk-kontaktwege a { font-weight: 600; text-decoration: none; }
.pk-kontaktwege .pk-k-ort { color: var(--pk-nebel); }
.pk-kontaktwege p::before { content: ""; flex: none; width: 22px; height: 22px; background: var(--pk-rot); -webkit-mask: var(--pk-ico) center / contain no-repeat; mask: var(--pk-ico) center / contain no-repeat; }
.pk-k-tel { --pk-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 4h4l2 5-2.5 1.5a11 11 0 0 0 5 5L15 13l5 2v4a2 2 0 0 1-2 2A16 16 0 0 1 3 6a2 2 0 0 1 2-2'/%3E%3C/svg%3E"); }
.pk-k-mail { --pk-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 7l9 6 9-6'/%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3C/svg%3E"); }
.pk-k-ort { --pk-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-6.2-7-11a7 7 0 0 1 14 0c0 4.8-7 11-7 11z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E"); }

/* Formular (Contact Form 7) */
.pk-formular { background: var(--pk-kulisse); border: 1px solid var(--pk-linie); border-radius: var(--pk-radius); padding: 32px !important; }
.wpcf7 form { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.wpcf7 .pk-f-voll, .wpcf7 .wpcf7-response-output, .wpcf7 .pk-f-hinweis, .wpcf7 .pk-f-senden { grid-column: 1 / -1; }
.wpcf7 label { display: flex; flex-direction: column; gap: 6px; font-size: .875rem; font-weight: 600; }
.wpcf7 .wpcf7-form-control-wrap { display: block; }
.wpcf7 input[type=text], .wpcf7 input[type=email], .wpcf7 input[type=tel], .wpcf7 textarea {
	width: 100%; box-sizing: border-box; background: var(--pk-saal); border: 1px solid #3A3439; border-radius: 8px;
	color: var(--pk-weiss); font: inherit; font-size: 1rem; font-weight: 400; padding: 12px 14px;
}
.wpcf7 textarea { min-height: 130px; resize: vertical; }
.wpcf7 input:focus, .wpcf7 textarea:focus { outline: 2px solid var(--pk-rot); outline-offset: 1px; border-color: transparent; }
.wpcf7 ::placeholder { color: #6E666B; }
.wpcf7 .pk-f-hinweis { margin: 0; font-size: .875rem; color: var(--pk-nebel); }
.wpcf7 .wpcf7-submit { background: var(--pk-rot); color: #fff; border: 0; font: inherit; font-weight: 600; font-size: 1.0625rem; padding: 16px 32px; border-radius: 999px; cursor: pointer; }
.wpcf7 .wpcf7-submit:hover { background: #F03340; }
.wpcf7 .wpcf7-not-valid-tip { color: #FF8A80; font-size: .8125rem; font-weight: 500; margin-top: 4px; }
.wpcf7 .wpcf7-response-output { margin: 0 !important; border-radius: 10px; padding: 12px 16px !important; border: 1px solid var(--pk-linie) !important; }
.wpcf7 form.sent .wpcf7-response-output { border-color: #3C8D5A !important; }
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.failed .wpcf7-response-output { border-color: var(--pk-rot) !important; }
.wpcf7 .wpcf7-spinner { margin-left: 12px; }
.wpcf7 .screen-reader-response { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.wpcf7 .hidden-fields-container, .wpcf7 form > div[style*="display: none"] { display: none !important; }
.wpcf7 .pk-f-hinweis a { color: var(--pk-weiss); }

/* ------------------------------------------------------------------ Fuß */
.pk-footer { background: #070607; border-top: 1px solid #221F23; }
.pk-footer-inner { max-width: var(--pk-breit); margin: 0 auto; padding: 48px 24px; gap: 24px; font-size: .9375rem; color: var(--pk-nebel); }
.pk-footer-brand { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.pk-footer-brand img { height: 24px; width: auto; display: block; }
.pk-footer-nav { display: flex; gap: 24px; flex-wrap: wrap; }
.pk-footer-nav a { color: #D9D2CE; }

/* ------------------------------------------------------- Seiten/Einzeln */
.pk-page-head { padding-top: var(--wp--preset--spacing--60); padding-bottom: var(--wp--preset--spacing--40); }
.pk-page-head .wp-block-post-title { margin: 0; }
.pk-page-content { padding-bottom: var(--wp--preset--spacing--70); }
.pk-page-content h2 { font-size: 2rem; margin-top: 2.5rem; }

.pk-single-hero.wp-block-cover { padding: 0 !important; min-height: 60vh; }
.pk-single-hero .wp-block-cover__background { background: linear-gradient(180deg, rgba(11,10,12,.35) 0%, rgba(11,10,12,.25) 40%, rgba(11,10,12,.92) 92%, #0B0A0C 100%) !important; opacity: 1 !important; }
.pk-single-hero .wp-block-cover__inner-container { padding: 0 24px 40px; box-sizing: border-box; color: var(--pk-weiss); }
.pk-single-hero:not(:has(img))::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 90% at 20% 0%, rgba(224,33,46,.35), rgba(11,10,12,0) 70%), radial-gradient(40% 80% at 80% 0%, rgba(255,220,180,.18), rgba(11,10,12,0) 70%); }
.pk-single-hero:not(:has(img)) { min-height: 42vh !important; }
.pk-single-title { margin: 8px 0 0 !important; font-size: clamp(2.25rem, 5vw, 4rem) !important; max-width: 900px; }
.pk-single-meta { gap: 6px 14px !important; }
.pk-single-meta > * { margin: 0 !important; }
.pk-terms, .pk-terms a { color: var(--pk-rose); font-size: .875rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; }
.pk-single-content { padding-top: var(--wp--preset--spacing--50); padding-bottom: var(--wp--preset--spacing--50); font-size: 1.125rem; }
.pk-single-content .pk-fakten { display: flex; flex-wrap: wrap; gap: 10px 28px; padding: 18px 22px !important; border-radius: 14px; background: var(--pk-kulisse); border: 1px solid var(--pk-linie); font-size: .9375rem; color: var(--pk-nebel); }
.pk-single-content .pk-fakten strong { color: var(--pk-weiss); font-weight: 600; }
.pk-single-content .wp-block-gallery { margin-top: 2.5rem; }
.wp-block-gallery.has-nested-images figure.wp-block-image img { border-radius: 10px; }
.pk-single-nav { padding-bottom: var(--wp--preset--spacing--70); }
.pk-single-nav-row { border-top: 1px solid var(--pk-linie); padding-top: 28px; margin-bottom: 32px; gap: 20px; }
.pk-single-nav-row a { text-decoration: none; font-weight: 600; }
.pk-single-nav-row .post-navigation-link__label { display: block; font-size: .8125rem; color: var(--pk-rose); letter-spacing: .08em; text-transform: uppercase; }
.pk-zurueck { gap: 14px; }

/* Archiv-Seite */
.pk-archiv-kopf { padding-top: var(--wp--preset--spacing--60); padding-bottom: var(--wp--preset--spacing--40); position: relative; isolation: isolate; overflow: hidden; }
.pk-archiv-kopf::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(700px 380px at 85% -10%, rgba(224,33,46,.28), rgba(11,10,12,0) 70%), radial-gradient(600px 300px at 15% -20%, rgba(255,220,180,.14), rgba(11,10,12,0) 70%); }
.pk-archiv-kopf h1 { margin: 0 0 16px; font-size: clamp(2.5rem, 6vw, 4.5rem); font-stretch: 75%; }
.pk-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; padding: 0 !important; margin: 28px 0 0 !important; }
.pk-chips li { margin: 0; }
.pk-chips a { display: inline-block; padding: 8px 16px; border: 1px solid #3A3439; border-radius: 999px; text-decoration: none; font-size: .9375rem; font-weight: 500; color: #D9D2CE; }
.pk-chips a:hover, .pk-chips .current-cat a { border-color: var(--pk-rot); color: #fff; background: rgba(224,33,46,.15); }
.pk-archiv-liste { padding-bottom: var(--wp--preset--spacing--70); }
.pk-pagination { margin-top: 48px; gap: 8px; font-weight: 600; }
.pk-pagination a, .pk-pagination span { text-decoration: none; padding: 8px 14px; border-radius: 10px; }
.pk-pagination .current { background: var(--pk-rot); color: #fff; }
.pk-404 { padding-top: var(--wp--preset--spacing--70); padding-bottom: var(--wp--preset--spacing--70); }

/* sanftes Einblenden beim Scrollen (nur mit JS, nur ohne reduzierte Bewegung) */
.pk-js .pk-reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s cubic-bezier(.22,.8,.3,1); }
.pk-js .pk-reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .pk-js .pk-reveal { opacity: 1; transform: none; transition: none; } }

/* 1.0.1 – Archiv: Chips und Einleitung bündig mit der Überschrift; Karten ohne Foto mit Marke */
.pk-archiv-kopf > .pk-chips { margin: 28px auto 0 !important; }
.pk-archiv-kopf { text-align: center; }
.pk-archiv-kopf > .pk-lead { max-width: 820px !important; margin-inline: auto !important; text-wrap: balance; }
.pk-archiv-kopf > .pk-chips { justify-content: center; }
.pk-ref-card:not(:has(.wp-block-post-featured-image))::after { content: ""; position: absolute; top: 0; left: 0; right: 0; aspect-ratio: 4 / 3; background: url(../img/marke.png) center / 72px no-repeat; opacity: .22; pointer-events: none; }
/* 1.0.1 – Einzelbeitrag: Titel im Fotokopf bündig mit dem Inhalt (1240 px + Rand) */
.pk-single-hero .wp-block-cover__inner-container { width: 100% !important; max-width: 1288px !important; margin-inline: auto !important; }
/* 1.0.2 – Teamfotos: feste Bildhöhe, Kopf im Ausschnitt halten */
.pk-person .wp-block-image.pk-person-bild { height: auto; margin: 0 !important; display: block; background: none; }
.pk-person .wp-block-image.pk-person-bild img { display: block; width: 100% !important; height: auto !important; aspect-ratio: 1 / 1; object-fit: cover; object-position: 50% 35%; }
.pk-person > .pk-person-text { margin-top: 0 !important; }
/* 1.0.2 – Startvideo: Schleife liegt deckungsgleich über dem Intro und wird nach dessen Ende sichtbar */
.pk-stage video.pk-schleife { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; pointer-events: none; }
.pk-stage.ist-schleife video.pk-schleife { opacity: 1; }

/* Leistungsseiten --------------------------------------------------------- */
.pk-ico-licht { --pk-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 3h6l2 7H7z'/%3E%3Cpath d='M12 10v3M8 21l4-8 4 8'/%3E%3Cpath d='M4 7.5 2 7M20 7.5l2-.5M5 3.5 3.5 2M19 3.5 20.5 2'/%3E%3C/svg%3E"); }
.pk-hero.pk-hero-klein.wp-block-cover { min-height: min(72vh, 680px) !important; }
.pk-hero-klein .pk-lead { max-width: 640px; }
.pk-hero-klein .pk-display { max-width: 14ch; }
.pk-leistung-cols { gap: clamp(32px, 5vw, 72px) !important; }
.pk-leistung-cols .is-style-pk-haken { margin-top: 0; }
.pk-leistung-galerie { margin-top: var(--wp--preset--spacing--60) !important; }
.pk-leistung-galerie.wp-block-gallery img { border-radius: 14px; aspect-ratio: 4 / 3; object-fit: cover; }
.pk-ref-links { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.pk-ref-links li { margin: 0; }
.pk-ref-links a { display: block; height: 100%; box-sizing: border-box; padding: 16px 20px; border: 1px solid var(--pk-linie); border-radius: 14px; background: var(--pk-kulisse); color: var(--pk-weiss); text-decoration: none; font-weight: 600; line-height: 1.35; transition: border-color .2s; }
.pk-ref-links a::after { content: " →"; color: var(--pk-rot); }
.pk-ref-links a:hover { border-color: var(--pk-rot); }
.pk-faq { max-width: none; }
.pk-faq-cols { gap: clamp(32px, 5vw, 72px) !important; }
.pk-faq-cols .pk-gedaempft a { color: var(--pk-weiss); }
.pk-faq-cols h2 { margin-bottom: 16px; }
.pk-faq .wp-block-details { border-bottom: 1px solid var(--pk-linie); padding: 18px 0; margin: 0; }
.pk-faq .wp-block-details:first-of-type { border-top: 1px solid var(--pk-linie); }
.pk-faq summary { cursor: pointer; font-weight: 700; font-size: 1.125rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.pk-faq summary::-webkit-details-marker { display: none; }
.pk-faq summary::after { content: "+"; color: var(--pk-rot); font-size: 1.5rem; line-height: 1; transition: transform .2s; }
.pk-faq details[open] summary::after { transform: rotate(45deg); }
.pk-faq details p { color: var(--pk-nebel); margin: 12px 0 0; }
.pk-weitere { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px !important; }
.pk-weitere a { padding: 8px 16px; border: 1px solid var(--pk-linie); border-radius: 999px; color: var(--pk-weiss); text-decoration: none; font-size: .9375rem; }
.pk-weitere a:hover { border-color: var(--pk-weiss); }
.pk-mehr { margin-top: 16px !important; font-weight: 600; }
.pk-mehr a { color: var(--pk-weiss); text-decoration: none; }
.pk-mehr a::after { content: " →"; color: var(--pk-rot); }
.pk-mehr a:hover { color: #fff; text-decoration: underline; }
.pk-weitere-titel { margin-top: 40px !important; margin-bottom: 0 !important; font-size: .875rem; text-transform: uppercase; letter-spacing: .08em; color: #FFD6CC; }
.pk-vereine .pk-weitere a { border-color: rgba(255,255,255,.35); }
.pk-vereine > .pk-lead { max-width: 760px !important; margin-left: max(0px, calc((100% - var(--pk-breit)) / 2)) !important; margin-right: auto !important; padding-right: 0 !important; }
.pk-person-text .pk-person-fach { margin-top: 10px !important; display: inline-block; padding: 4px 12px; border: 1px solid var(--pk-linie); border-radius: 999px; font-size: .875rem; color: var(--pk-rose); }
