/*
Theme Name:   Skylith Child
Theme URI:    https://1.envato.market/skylithwpinfo
Author:       nK
Template:     skylith
Author URI:   https://nkdev.info/
Description:  Skylith Child Theme
Version: 1.1.2
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  skylith-child
Tags:
*/


/* Theme customization starts here
-------------------------------------------------------------- */


/* ===== Unterseiten (Schwerpunkte) ===== */
#ps-sub {
--ps-navy: #0f1520;
--ps-navy-soft: #182231;
--ps-blue: #105682;
--ps-blue-light: #2380b8;
--ps-green: #4a5240;
--ps-green-light: #9caf88;
--ps-white: #ffffff;
--ps-off: #f4f6f9;
--ps-off-2: #e7ebf1;
--ps-text: #30394a;
--ps-muted: #667188;
--ps-border: rgba(15, 21, 32, 0.12);
--ps-radius: 20px;
--ps-container: 1220px;
--ps-font-head: "Rajdhani", Arial, sans-serif;
--ps-font-body: "Inter", Arial, sans-serif;
position: relative;
width: 100%;
overflow: clip;
background: var(--ps-white);
color: var(--ps-text);
font-family: var(--ps-font-body);
font-size: 16px;
line-height: 1.6;
-webkit-font-smoothing: antialiased;
}
#ps-sub *,
#ps-sub *::before,
#ps-sub *::after { box-sizing: border-box; }
#ps-sub p { margin: 0; }
#ps-sub h1, #ps-sub h2, #ps-sub h3 {
margin: 0;
color: var(--ps-navy);
font-family: var(--ps-font-head);
font-weight: 800;
letter-spacing: -0.035em;
line-height: 1.02;
hyphens: auto;
-webkit-hyphens: auto;
}
#ps-sub .ps-container { width: min(var(--ps-container), calc(100% - 40px)); margin-inline: auto; }
#ps-sub .ps-eyebrow {
display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px;
color: var(--ps-blue); font-family: var(--ps-font-head); font-size: 0.76rem;
font-weight: 800; letter-spacing: 0.15em; line-height: 1.2; text-transform: uppercase;
}
#ps-sub .ps-eyebrow::before { width: 22px; height: 3px; border-radius: 999px; background: var(--ps-green); content: ""; flex: 0 0 auto; }
#ps-sub .ps-eyebrow--light { color: var(--ps-green-light); }
#ps-sub .ps-eyebrow--light::before { background: var(--ps-blue-light); }
#ps-sub .ps-btn {
display: inline-flex; align-items: center; justify-content: center; gap: 10px;
min-height: 52px; padding: 0 26px; border: 1px solid transparent; border-radius: 999px;
font-family: var(--ps-font-head); font-size: 0.95rem; font-weight: 700;
letter-spacing: 0.01em; text-decoration: none; cursor: pointer;
transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
#ps-sub .ps-btn:hover { transform: translateY(-2px); }
#ps-sub .ps-btn--primary { background: var(--ps-blue); color: var(--ps-white); box-shadow: 0 14px 32px rgba(16,86,130,.24); }
#ps-sub .ps-btn--primary:hover { background: var(--ps-blue-light); color: var(--ps-white); }
#ps-sub .ps-btn--outline { border-color: rgba(16,86,130,.28); background: var(--ps-white); color: var(--ps-blue); }
#ps-sub .ps-btn--outline:hover { border-color: var(--ps-blue); background: var(--ps-blue); color: var(--ps-white); }
#ps-sub .ps-btn--light { border-color: rgba(255,255,255,.34); background: rgba(255,255,255,.08); color: var(--ps-white); }
#ps-sub .ps-btn--light:hover { border-color: var(--ps-white); background: var(--ps-white); color: var(--ps-navy); }
#ps-sub .ps-sub-hero { position: relative; padding-block: clamp(56px, 7vw, 96px) clamp(48px, 6vw, 82px); background: linear-gradient(180deg, var(--ps-off) 0%, var(--ps-white) 100%); }
#ps-sub .ps-sub-hero__inner { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 4vw, 64px); align-items: start; }
#ps-sub .ps-sub-hero h1 { max-width: 720px; font-size: clamp(2.4rem, 4.4vw, 3.9rem); line-height: .96; }
#ps-sub .ps-sub-hero h1 span { display: block; margin-top: 10px; color: var(--ps-blue); }
#ps-sub .ps-sub-hero__lead { max-width: 640px; margin-top: 22px; color: var(--ps-muted); font-size: 1.05rem; }
#ps-sub .ps-sub-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
#ps-sub .ps-sub-hero__note { margin-top: 18px; color: var(--ps-muted); font-size: .8rem; line-height: 1.6; }
#ps-sub .ps-facts { padding: 26px 26px 8px; border: 1px solid var(--ps-border); border-radius: var(--ps-radius); background: var(--ps-white); box-shadow: 0 24px 70px rgba(15,21,32,.09); }
#ps-sub .ps-facts h2 { font-size: 1.15rem; letter-spacing: -.01em; }
#ps-sub .ps-facts dl { margin: 18px 0 0; }
#ps-sub .ps-facts div { padding: 14px 0; border-top: 1px solid var(--ps-off-2); }
#ps-sub .ps-facts div:first-of-type { border-top: 0; padding-top: 0; }
#ps-sub .ps-facts dt { color: var(--ps-navy); font-family: var(--ps-font-head); font-size: .82rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
#ps-sub .ps-facts dd { margin: 6px 0 0; color: var(--ps-muted); font-size: .9rem; line-height: 1.6; }
#ps-sub .ps-sec { padding-block: clamp(54px, 6vw, 88px); }
#ps-sub .ps-sec--off { background: var(--ps-off); }
#ps-sub .ps-sec__head { max-width: 780px; }
#ps-sub .ps-sec__head h2 { font-size: clamp(1.85rem, 3.2vw, 2.85rem); }
#ps-sub .ps-sec__head > p { margin-top: 16px; color: var(--ps-muted); }
#ps-sub .ps-prose { max-width: 780px; }
#ps-sub .ps-prose p { margin-top: 16px; color: var(--ps-text); }
#ps-sub .ps-prose h3 { margin-top: 30px; font-size: 1.2rem; }
#ps-sub .ps-prose ul { margin: 16px 0 0; padding-left: 0; list-style: none; }
#ps-sub .ps-prose li { position: relative; margin-top: 10px; padding-left: 26px; color: var(--ps-text); }
#ps-sub .ps-prose li::before { position: absolute; top: .62em; left: 4px; width: 8px; height: 8px; border-radius: 50%; background: var(--ps-green-light); content: ""; }
#ps-sub .ps-prose strong { color: var(--ps-navy); }
#ps-sub .ps-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 36px; }
#ps-sub .ps-cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
#ps-sub .ps-card { padding: 26px; border: 1px solid var(--ps-border); border-radius: var(--ps-radius); background: var(--ps-white); }
#ps-sub .ps-sec--off .ps-card { box-shadow: 0 14px 40px rgba(15,21,32,.06); }
#ps-sub .ps-card h3 { font-size: 1.12rem; }
#ps-sub .ps-card p { margin-top: 10px; color: var(--ps-muted); font-size: .92rem; }
#ps-sub .ps-card__num { display: block; margin-bottom: 12px; color: var(--ps-blue-light); font-family: var(--ps-font-head); font-size: 1.5rem; font-weight: 800; }
#ps-sub .ps-law { margin-top: 30px; padding: 24px 26px; border-left: 4px solid var(--ps-blue); border-radius: 0 14px 14px 0; background: var(--ps-off); }
#ps-sub .ps-law h3 { font-size: 1.02rem; }
#ps-sub .ps-law p { margin-top: 12px; color: var(--ps-muted); font-size: .9rem; line-height: 1.7; }
#ps-sub .ps-law p + p { margin-top: 10px; }
#ps-sub .ps-faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: 1100px; margin: 36px auto 0; }
#ps-sub .ps-faq details { overflow: hidden; border: 1px solid var(--ps-border); border-radius: 16px; background: var(--ps-white); }
#ps-sub .ps-faq details[open] { border-color: rgba(16,86,130,.3); }
#ps-sub .ps-faq summary { display: flex; min-height: 66px; align-items: center; justify-content: space-between; gap: 18px; padding: 16px 20px; color: var(--ps-navy); cursor: pointer; font-family: var(--ps-font-head); font-size: 1rem; font-weight: 800; list-style: none; }
#ps-sub .ps-faq summary::-webkit-details-marker { display: none; }
#ps-sub .ps-faq summary::after { display: grid; width: 26px; height: 26px; place-items: center; border: 1px solid rgba(16,86,130,.25); border-radius: 50%; color: var(--ps-blue); content: "+"; font-family: var(--ps-font-body); font-size: 1.1rem; line-height: 1; flex: 0 0 auto; }
#ps-sub .ps-faq details[open] summary::after { content: "\2013"; }
#ps-sub .ps-faq details > div { padding: 0 20px 20px; }
#ps-sub .ps-faq details > div p { padding-top: 16px; border-top: 1px solid var(--ps-off-2); color: var(--ps-muted); font-size: .88rem; line-height: 1.72; }
#ps-sub .ps-cta { padding-block: clamp(56px, 6vw, 92px); background: var(--ps-navy); color: var(--ps-white); }
#ps-sub .ps-cta__inner { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(28px, 4vw, 60px); align-items: center; }
#ps-sub .ps-cta h2 { color: var(--ps-white); font-size: clamp(1.9rem, 3.4vw, 3rem); }
#ps-sub .ps-cta p { margin-top: 16px; color: rgba(255,255,255,.72); }
#ps-sub .ps-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }
#ps-sub .ps-cta__note { margin-top: 18px; color: rgba(255,255,255,.55); font-size: .78rem; line-height: 1.6; }
#ps-sub .ps-more { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 34px; }
#ps-sub .ps-more a { display: block; padding: 20px; border: 1px solid var(--ps-border); border-radius: 16px; background: var(--ps-white); color: var(--ps-navy); text-decoration: none; transition: border-color .2s ease, transform .2s ease; }
#ps-sub .ps-more a:hover { border-color: var(--ps-blue); transform: translateY(-2px); }
#ps-sub .ps-more strong { display: block; font-family: var(--ps-font-head); font-size: 1.02rem; }
#ps-sub .ps-more span { display: block; margin-top: 6px; color: var(--ps-muted); font-size: .84rem; }
@media (max-width: 980px) {
#ps-sub .ps-sub-hero__inner,
#ps-sub .ps-cta__inner { grid-template-columns: 1fr; }
#ps-sub .ps-cards,
#ps-sub .ps-more { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
#ps-sub .ps-container { width: min(100% - 28px, var(--ps-container)); }
#ps-sub .ps-cards,
#ps-sub .ps-cards--2,
#ps-sub .ps-more,
#ps-sub .ps-faq { grid-template-columns: 1fr; }
#ps-sub .ps-btn { width: 100%; }
}

/* ===== Bewertungen, eigene Darstellung (ohne externe Aufrufe) ===== */
.pal-reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 8px; }
.pal-review { display: flex; flex-direction: column; padding: 24px; border: 1px solid rgba(255,255,255,.16); border-radius: 18px; background: rgba(255,255,255,.06); backdrop-filter: blur(8px); }
.pal-review__head { display: flex; align-items: center; gap: 12px; }
.pal-review__initial { display: grid; width: 42px; height: 42px; flex: 0 0 auto; place-items: center; border-radius: 50%; background: rgba(255,255,255,.16); color: #fff; font-family: "Rajdhani", Arial, sans-serif; font-size: 1.05rem; font-weight: 800; line-height: 1; }
.pal-review__who { min-width: 0; }
.pal-review__name { color: #fff; font-family: "Rajdhani", Arial, sans-serif; font-size: 1.05rem; font-weight: 800; line-height: 1.2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pal-review__meta { margin-top: 2px; color: rgba(255,255,255,.6); font-size: .76rem; }
.pal-review__stars { margin-top: 14px; color: #f5b93a; font-size: .95rem; letter-spacing: .12em; }
.pal-review__stars span { color: rgba(255,255,255,.28); }
.pal-review__text { margin-top: 12px; color: rgba(255,255,255,.82); font-size: .9rem; line-height: 1.68; white-space: pre-line; overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 7; }
.pal-review.is-open .pal-review__text { -webkit-line-clamp: unset; display: block; }
.pal-review__more { align-self: flex-start; margin-top: 10px; padding: 0; border: 0; background: none; color: #9ecbe8; cursor: pointer; font-family: "Rajdhani", Arial, sans-serif; font-size: .86rem; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.pal-review__more:hover { color: #fff; }
.pal-review__quelle { margin-top: auto; padding-top: 14px; color: rgba(255,255,255,.45); font-size: .72rem; }
@media (max-width: 980px) { .pal-reviews { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .pal-reviews { grid-template-columns: 1fr; } }

/* Floating-Side-Tab: der Absende-Button kommt tuerkis (#2fd1c7) aus dem Plugin-Template.
   CI paladinum ist Petrol #245375, im Hover Navy #182036. */
.fstp-form-submit {
	background-color: #245375 !important;
	border-color: #245375 !important;
}

.fstp-form-submit:hover,
.fstp-form-submit:focus {
	background-color: #182036 !important;
	border-color: #182036 !important;
}

/* ================================================================
   Bildzone der Unterseiten
   Behandlung bewusst identisch zu den Teaser-Karten der Startseite
   (#ps-home-v3 .ps-service__media): formatfuellender Zuschnitt,
   32-px-Radius, dezenter Diagonalverlauf, sanfter Zoom beim Hover.
   Werte von dort uebernommen, damit Start- und Unterseiten nicht
   auseinanderlaufen. --ps-radius-lg und --ps-shadow gibt es unter
   #ps-sub nicht, deshalb hier als Zahlenwert.
================================================================ */
#ps-sub .ps-figure-sec {
	padding-block: 0 clamp(10px, 2vw, 26px);
}

#ps-sub .ps-figure {
	position: relative;
	margin: 0;
	overflow: hidden;
	border: 1px solid var(--ps-border);
	border-radius: 32px;
	box-shadow: 0 24px 70px rgba(15, 21, 32, 0.12);
}

#ps-sub .ps-figure::after {
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, transparent 55%, rgba(15, 21, 32, 0.17));
	content: "";
	pointer-events: none;
}

#ps-sub .ps-figure img {
	display: block;
	width: 100%;
	height: clamp(240px, 32vw, 440px);
	object-fit: cover;
	transition: transform 500ms ease;
}

#ps-sub .ps-figure:hover img {
	transform: scale(1.025);
}

@media (max-width: 640px) {
	#ps-sub .ps-figure {
		border-radius: 22px;
	}

	#ps-sub .ps-figure img {
		height: clamp(200px, 52vw, 280px);
	}
}

/* ================================================================
   Kontaktformular (Contact Form 7)
   Vorbild ist die Kontaktkarte der Gewerbe-Academy-Seite: helle Karte,
   grosser Radius, Zweispalten-Raster, kraeftiger Schatten, feine
   Verlaufslinie oben. Die Farben sind paladinum -- Seitenblau #105682
   wie die ps-btn--primary der Unterseiten. KEIN Gold, das ist GA-CI.

   Die Kontaktseite ist mit Gutenberg-Bloecken gebaut und liegt nicht
   unter #ps-sub, deshalb bringt .wpcf7 seine Tokens selbst mit.
================================================================ */
.wpcf7 {
	--f-blue: #105682;
	--f-blue-light: #2380b8;
	--f-text: #30394a;
	--f-muted: #667188;
	--f-border: rgba(15, 21, 32, 0.14);

	position: relative;
	margin-top: 28px;
	padding: clamp(24px, 4vw, 44px);
	overflow: hidden;
	border: 1px solid rgba(15, 21, 32, 0.08);
	border-radius: 28px;
	background: #fff;
	box-shadow: 0 24px 70px rgba(15, 21, 32, 0.12);
	color: var(--f-text);
}

.wpcf7::before {
	position: absolute;
	inset-inline: clamp(24px, 4vw, 44px);
	top: 0;
	height: 2px;
	background: linear-gradient(90deg, transparent, #105682, #2380b8, transparent);
	content: "";
}

.wpcf7-form {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px 22px;
}

.wpcf7-form > .hidden-fields-container,
.wpcf7-form > p:empty {
	display: none;
}

.wpcf7-form > p {
	margin: 0;
}

/* Nachricht, Einwilligung, Absenden und Meldungen ueber die ganze Breite */
.wpcf7-form > p:has(textarea),
.wpcf7-form > p:has(.wpcf7-acceptance),
.wpcf7-form > p:has(.wpcf7-submit),
.wpcf7-form > .wpcf7-response-output {
	grid-column: 1 / -1;
}

/* Feldbeschriftung im Stil der ps-eyebrow */
.wpcf7-form > p > label {
	display: block;
	color: var(--f-blue);
	font-family: "Rajdhani", Arial, sans-serif;
	font-size: 0.76rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	line-height: 1.2;
	text-transform: uppercase;
}

.wpcf7-form > p > label br {
	display: none;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form select,
.wpcf7-form textarea {
	display: block;
	width: 100%;
	margin-top: 9px;
	padding: 14px 16px;
	border: 1px solid var(--f-border);
	border-radius: 14px;
	background: #fff;
	color: var(--f-text);
	font-family: "Inter", Arial, sans-serif;
	font-size: 1rem;
	font-weight: 400;
	letter-spacing: 0;
	line-height: 1.5;
	text-transform: none;
	transition: border-color .2s ease, box-shadow .2s ease;
	appearance: none;
	-webkit-appearance: none;
}

.wpcf7-form input::placeholder,
.wpcf7-form textarea::placeholder {
	color: var(--f-muted);
}

.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form input[type="tel"]:focus,
.wpcf7-form select:focus,
.wpcf7-form textarea:focus {
	border-color: var(--f-blue);
	box-shadow: 0 0 0 4px rgba(16, 86, 130, .14);
	outline: none;
}

.wpcf7-form select {
	padding-right: 44px;
	background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath fill='none' stroke='%23667188' stroke-width='2' d='M1 1l6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 17px center;
	cursor: pointer;
}

.wpcf7-form textarea {
	min-height: 168px;
	resize: vertical;
}

/* Datenschutz-Einwilligung: eigene Zeile, Text in Normalschrift */
.wpcf7-form .wpcf7-acceptance .wpcf7-list-item {
	margin: 0;
}

.wpcf7-form .wpcf7-acceptance label {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	color: var(--f-muted);
	font-family: "Inter", Arial, sans-serif;
	font-size: .9rem;
	font-weight: 400;
	letter-spacing: 0;
	line-height: 1.55;
	text-transform: none;
	cursor: pointer;
}

.wpcf7-form .wpcf7-acceptance input[type="checkbox"] {
	flex: 0 0 auto;
	width: 20px;
	height: 20px;
	margin-top: 1px;
	accent-color: var(--f-blue);
	cursor: pointer;
}

.wpcf7-form .wpcf7-acceptance a {
	color: var(--f-blue);
	text-decoration: underline;
	text-underline-offset: 2px;
}

/* Absenden im Stil der ps-btn--primary */
.wpcf7-form input[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 0 30px;
	border: 1px solid transparent;
	border-radius: 999px;
	background: var(--f-blue);
	box-shadow: 0 14px 32px rgba(16, 86, 130, .24);
	color: #fff;
	font-family: "Rajdhani", Arial, sans-serif;
	font-size: .95rem;
	font-weight: 700;
	letter-spacing: .01em;
	text-transform: none;
	cursor: pointer;
	transition: transform .2s ease, background .2s ease;
	appearance: none;
	-webkit-appearance: none;
}

.wpcf7-form input[type="submit"]:hover {
	transform: translateY(-2px);
	background: var(--f-blue-light);
}

.wpcf7-form input[type="submit"]:disabled {
	transform: none;
	box-shadow: none;
	background: rgba(15, 21, 32, .18);
	cursor: not-allowed;
}

/* Fehlerzustaende */
.wpcf7-form .wpcf7-not-valid {
	border-color: #b3261e;
	box-shadow: 0 0 0 4px rgba(179, 38, 30, .1);
}

.wpcf7-form .wpcf7-not-valid-tip {
	margin-top: 7px;
	color: #b3261e;
	font-family: "Inter", Arial, sans-serif;
	font-size: .82rem;
	font-weight: 500;
	letter-spacing: 0;
	text-transform: none;
}

.wpcf7-form .wpcf7-response-output {
	margin: 4px 0 0;
	padding: 14px 18px;
	border: 1px solid var(--f-border);
	border-radius: 14px;
	background: #f4f6f9;
	font-family: "Inter", Arial, sans-serif;
	font-size: .92rem;
	line-height: 1.55;
}

.wpcf7-form.invalid .wpcf7-response-output,
.wpcf7-form.unaccepted .wpcf7-response-output,
.wpcf7-form.failed .wpcf7-response-output {
	border-color: rgba(179, 38, 30, .4);
	background: rgba(179, 38, 30, .06);
	color: #8c1d18;
}

.wpcf7-form.sent .wpcf7-response-output {
	border-color: rgba(16, 86, 130, .35);
	background: rgba(16, 86, 130, .07);
	color: #0d4467;
}

@media (max-width: 640px) {
	.wpcf7 {
		border-radius: 22px;
	}

	.wpcf7-form {
		grid-template-columns: 1fr;
	}
}

/* ================================================================
   Porträt-Erzählblock (Über uns)
   Zweispaltige Karte, Aufbau und Werte wie die Teaser-Karten der
   Startseite (#ps-home-v3 .ps-service), damit nichts auseinanderläuft.
================================================================ */
#ps-sub .ps-story {
	display: grid;
	grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
	min-height: 420px;
	overflow: hidden;
	border: 1px solid var(--ps-border);
	border-radius: 32px;
	background: var(--ps-white);
	box-shadow: 0 24px 70px rgba(15, 21, 32, 0.12);
}

#ps-sub .ps-story__media {
	position: relative;
	min-height: 360px;
	overflow: hidden;
}

#ps-sub .ps-story__media::after {
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, transparent 55%, rgba(15, 21, 32, 0.17));
	content: "";
	pointer-events: none;
}

#ps-sub .ps-story__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 28%;
	transition: transform 500ms ease;
}

#ps-sub .ps-story:hover .ps-story__media img {
	transform: scale(1.025);
}

#ps-sub .ps-story__body {
	align-self: center;
	padding: clamp(26px, 3.2vw, 46px);
}

#ps-sub .ps-story__body h2 {
	font-size: clamp(1.55rem, 2.3vw, 2.2rem);
	line-height: 1.1;
}

#ps-sub .ps-story__body p {
	margin-top: 16px;
	color: var(--ps-muted);
	font-size: 1rem;
	line-height: 1.7;
}

#ps-sub .ps-story blockquote {
	margin: 24px 0 0;
	padding-left: 20px;
	border-left: 3px solid var(--ps-blue);
	color: var(--ps-navy);
	font-family: var(--ps-font-head);
	font-size: 1.2rem;
	font-weight: 700;
	line-height: 1.3;
}

#ps-sub .ps-story__quelle {
	margin-top: 24px;
	color: var(--ps-muted);
	font-size: 0.82rem;
	line-height: 1.6;
}

#ps-sub .ps-story__quelle a {
	color: var(--ps-blue);
	text-decoration: underline;
	text-underline-offset: 2px;
}

@media (max-width: 860px) {
	#ps-sub .ps-story {
		grid-template-columns: 1fr;
		border-radius: 22px;
	}

	#ps-sub .ps-story__media {
		min-height: 300px;
	}
}

/* ================================================================
   Personenkarten mit Gesicht + Quellenzeile unter dem Zitat
================================================================ */
#ps-sub .ps-story__zitatquelle {
	margin-top: 10px;
	color: var(--ps-muted);
	font-family: var(--ps-font-body);
	font-size: 0.86rem;
	font-style: normal;
	font-weight: 500;
	letter-spacing: 0.01em;
}

#ps-sub .ps-card__foto {
	display: block;
	width: 92px;
	height: 92px;
	margin-bottom: 18px;
	overflow: hidden;
	border: 1px solid var(--ps-border);
	border-radius: 999px;
	background: var(--ps-off);
}

#ps-sub .ps-card__foto img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Wo noch kein Foto vorliegt: Monogramm statt Platzhaltergrafik.
   Ehrlicher als ein fremdes Gesicht und haelt das Raster ruhig. */
#ps-sub .ps-card__foto--initialen {
	display: flex;
	align-items: center;
	justify-content: center;
	border-color: transparent;
	background: linear-gradient(140deg, var(--ps-blue) 0%, var(--ps-navy) 100%);
	color: var(--ps-white);
	font-family: var(--ps-font-head);
	font-size: 1.7rem;
	font-weight: 800;
	letter-spacing: 0.04em;
	line-height: 1;
}

/* ================================================================
   Kopfnavigation
   Aus acht gleichrangigen Punkten wurden vier: Home, Leistungen
   (aufklappbar, fuenf Themenseiten), Ueber uns, Kontakt. Das
   Aufklappmenue des Themes kommt dunkelgrau ohne Radius und Schatten
   -- hier auf die helle Formensprache der Seite gebracht: weisse
   Flaeche, 18-px-Radius, weicher Schatten, Blau #105682 im Hover.
================================================================ */
.nk-header .nk-nav .sub-menu {
	min-width: 292px;
	padding: 10px !important;
	border: 1px solid rgba(15, 21, 32, 0.10);
	border-radius: 18px;
	background: #ffffff !important;
	box-shadow: 0 24px 70px rgba(15, 21, 32, 0.16);
}

.nk-header .nk-nav .sub-menu > li > a {
	padding: 11px 18px !important;
	border-radius: 12px;
	color: #30394a !important;
	font-size: 0.95rem;
	white-space: nowrap;
	transition: background-color .18s ease, color .18s ease;
}

.nk-header .nk-nav .sub-menu > li > a:hover,
.nk-header .nk-nav .sub-menu > li > a:focus-visible,
.nk-header .nk-nav .sub-menu > li.current-menu-item > a {
	background-color: rgba(16, 86, 130, 0.08) !important;
	color: #105682 !important;
}

/* Aufklapp-Hinweis am Elternpunkt: ohne Pfeil raet der Besucher */
.nk-header .nk-nav > li.menu-item-has-children > a::after {
	display: inline-block;
	width: 6px;
	height: 6px;
	margin-left: 9px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	content: "";
	transform: translateY(-2px) rotate(45deg);
	transition: transform .2s ease;
}

.nk-header .nk-nav > li.menu-item-has-children:hover > a::after {
	transform: translateY(1px) rotate(225deg);
}

/* Kontakt als Handlungsknopf -- gibt der Leiste eine Hierarchie.
   Die Nummer ist die Menue-Eintrags-ID des Punktes "Kontakt". */
.nk-header .nk-nav > li.menu-item-4225 > a {
	margin-left: 8px;
	padding: 9px 22px !important;
	border-radius: 999px;
	background: #105682;
	color: #ffffff !important;
	transition: background-color .2s ease, transform .2s ease;
}

.nk-header .nk-nav > li.menu-item-4225 > a:hover {
	background: #2380b8;
	color: #ffffff !important;
	transform: translateY(-1px);
}

/* ================================================================
   Floating-Tab: Farben der Seite statt Schwarz
================================================================ */
.fstp-tab-link,
.fstp-tab-name {
	color: #182036 !important;
}

.fstp-tab:hover .fstp-tab-link,
.fstp-tab:hover .fstp-tab-name {
	color: #105682 !important;
}

.fstp-form-submit {
	background-color: #105682 !important;
	border-color: #105682 !important;
}

.fstp-form-submit:hover,
.fstp-form-submit:focus {
	background-color: #2380b8 !important;
	border-color: #2380b8 !important;
}

/* ================================================================
   Worttrennung in Überschriften
   Befund vom 10.08.2026: Die Überschrift im wecoya-Abschnitt hatte
   `hyphens: manual` zusammen mit `overflow-wrap: break-word`.
   Trennung also verboten, hartes Umbrechen erlaubt -- Ergebnis war
   "Versicherungsmana | ger." ohne Trennstrich.
   Deutsche Komposita brauchen genau das Gegenteil: Trennung erlaubt
   (mit Trennstrich, html lang="de" liefert das Wörterbuch), hartes
   Brechen verboten. `text-wrap: balance` hält die Zeilen gleich lang
   -- dieselbe Lösung wie auf der Gewerbe-Academy-Seite (text-balance).
================================================================ */
#ps-home-v3 h1,
#ps-home-v3 h2,
#ps-home-v3 h3,
#ps-home-v3 .ps-eyebrow,
#ps-sub h1,
#ps-sub h2,
#ps-sub h3,
#ps-sub .ps-eyebrow,
.entry-content .wp-block-heading,
.nk-header .nk-nav > li > a {
	-webkit-hyphens: auto;
	hyphens: auto;
	overflow-wrap: normal;
	word-wrap: normal;
	word-break: normal;
	text-wrap: balance;
}

/* Navigation nie trennen -- ein getrennter Menüpunkt liest sich als Fehler */
.nk-header .nk-nav > li > a,
.nk-header .nk-nav .sub-menu > li > a,
.fstp-tab-name {
	-webkit-hyphens: manual;
	hyphens: manual;
	white-space: nowrap;
}

/* Fließtext: Trennung ja; hartes Brechen bleibt als letzte Rettung für
   überlange Zeichenketten wie Adressen und Aktenzeichen erlaubt. */
#ps-home-v3 p,
#ps-home-v3 li,
#ps-home-v3 dd,
#ps-sub p,
#ps-sub li,
#ps-sub dd,
.entry-content > p,
.wpcf7-form .wpcf7-acceptance label {
	-webkit-hyphens: auto;
	hyphens: auto;
	overflow-wrap: break-word;
	text-wrap: pretty;
}

/* Knöpfe und Beschriftungen bleiben ungetrennt und einzeilig */
#ps-home-v3 .ps-btn,
#ps-sub .ps-btn,
.wpcf7-form input[type="submit"],
.fstp-form-submit {
	-webkit-hyphens: manual;
	hyphens: manual;
	white-space: nowrap;
}

/* ================================================================
   Sprungmarke, Tastaturfokus, Bewegungsempfindlichkeit
   Von der Gewerbe-Academy-Seite übernommen, wo diese drei Dinge
   sitzen: eine Sprungmarke als erster Tabstopp, ein deutlich
   sichtbarer Fokusring und ein Rückzug aller Animationen, wenn das
   Betriebssystem weniger Bewegung verlangt.
================================================================ */
.ps-sprungmarke {
	position: absolute;
	top: -100px;
	left: 16px;
	z-index: 100000;
	padding: 12px 20px;
	border-radius: 999px;
	background: #105682;
	color: #ffffff;
	font-family: "Rajdhani", Arial, sans-serif;
	font-size: 0.95rem;
	font-weight: 700;
	text-decoration: none;
	transition: top .18s ease;
}

.ps-sprungmarke:focus {
	top: 16px;
	color: #ffffff;
	outline: 3px solid #2380b8;
	outline-offset: 2px;
}

/* Sichtbarer Fokus für alle bedienbaren Elemente */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
	outline: 3px solid #105682;
	outline-offset: 3px;
}

/* Wer weniger Bewegung verlangt, bekommt weniger Bewegung.
   Wichtig: die Einblend-Effekte von Ghost Kit setzen visibility auf
   hidden und blenden per Animation ein. Ohne die Freigabe unten
   bliebe der Inhalt bei abgeschalteten Animationen unsichtbar. */
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: .001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .001ms !important;
		scroll-behavior: auto !important;
	}

	.ghostkit-effects-enabled .ghostkit-effects-reveal,
	.ps-reveal {
		visibility: visible !important;
		opacity: 1 !important;
		transform: none !important;
		pointer-events: auto !important;
	}
}

/* ================================================================
   Porträt im Erzählblock: Vollhöhe wie die Teaser-Karten der
   Startseite (#ps-home-v3 .ps-service__media) -- kein festes
   Seitenverhältnis, das Bild füllt die Spalte von oben bis unten.
   Ausschnitt gemessen am Original (2560 x 1707): Gesichtsmitte
   waagerecht bei 56,3 %, die Person steht von 47 % bis 73 %.
   Bei diesem Zoom ist die rechte Schulter zwangsläufig
   angeschnitten -- das Gesicht mittig zu setzen hat Vorrang.
   Die Bildspalte ist rund 502 x 1156 px, also 0,43 hochkant; von
   der Querformat-Aufnahme (1,5) bleiben w = 0,43 / 1,5 = 29 % der
   Breite sichtbar. Damit der Punkt 56,3 % in der Rahmenmitte
   landet: x = (0,563 - 0,5 * 0,289) / (1 - 0,289) = 0,585.
   Am gerenderten Block nachgemessen: Spalte 502 x 1156 px,
   Gesichtsmitte danach bei 48 % der Rahmenbreite.
   Senkrecht ist die volle Bildhöhe sichtbar, y wirkt hier nicht.
================================================================ */
#ps-sub .ps-story__media img {
	object-position: 58.5% 50%;
}

@media (max-width: 860px) {
	/* Einspaltig gibt es keine Nachbarspalte, deren Höhe zu füllen
	   wäre -- deshalb wie auf der Startseite eine feste Mindesthöhe.
	   Gemessen: die Spalte ist dort 330 x 340 px, also fast 1:1;
	   sichtbar sind 65 % der Breite, das Gesicht liegt bei 50 %; wird der Rahmen breiter als 1,5
	   (Tablet quer), greift der y-Wert und hält den Kopf oben. */
	#ps-sub .ps-story__media {
		min-height: 340px;
	}

	#ps-sub .ps-story__media img {
		object-position: 68% 35%;
	}
}


/* ================================================================
   Menue-Nav-Schrift vereinheitlichen. Das Customizer-CSS aus dem
   skylith-Demo-Import gibt der Off-Canvas-Navigation die Heading-
   Schrift (Playfair Display, Serife). Das Desktop-Menue steht im
   System-Stack, das mobile Menue haengt aber unter nav.nk-navbar-full
   (ausserhalb .nk-header) und wurde nicht erfasst. Beide Ebenen jetzt
   auf denselben Stack; Customizer-Regel hat kein !important.
================================================================ */
.nk-navbar .nk-nav > li > a,
.nk-navbar .nk-nav .dropdown > li > a,
.nk-navbar .nk-nav .sub-menu > li > a {
	font-family: -apple-system, system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
}
