/* ==========================================================================
   Berliner Webdesign Child - Barrierefreiheit & Kontrast-Overrides
   Geladen NACH app.css. Wo die spaeter geladene Customizer-CSS mit !important
   konkurriert, wird hier hoehere Spezifitaet (Vorfahr-Selektor) genutzt.
   ========================================================================== */

/* --- Skip-Link (WCAG 2.4.1). Das Theme-.screen-reader-text blendet den Link
       hier NICHT zuverlaessig aus -> der crimson Text lag sichtbar oben links
       unter dem Header und wurde vom Frosted-Glass zu einem rosa Schleier
       verwischt. Daher explizit ausblenden, solange nicht fokussiert. -------- */
.bwd-skip-link:not(:focus) {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	clip-path: inset(50%) !important;
	white-space: nowrap !important;
	border: 0 !important;
}
.bwd-skip-link:focus {
	position: fixed !important;
	top: 10px;
	left: 10px;
	z-index: 100000;
	width: auto !important;
	height: auto !important;
	margin: 0 !important;
	padding: 12px 20px;
	background: #1a1a1a;
	color: #fff !important;
	border-radius: 6px;
	font: 600 15px/1.2 Montserrat, system-ui, -apple-system, sans-serif;
	text-decoration: none;
	clip: auto !important;
	clip-path: none !important;
	-webkit-clip-path: none !important;
}

/* --- Sichtbarer Tastatur-Fokus (WCAG 2.4.7). Theme setzt outline:none. ------ */
a:focus-visible,
button:focus-visible,
[role="button"]:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.button:focus-visible,
.btn:focus-visible,
.bwd-filter__btn:focus-visible,
.jdt-card--linked:focus-visible,
.wpcf7-form input:focus-visible,
.wpcf7-form textarea:focus-visible,
.wpcf7-form .wpcf7-submit:focus-visible {
	outline: 3px solid #1e73be !important;
	outline-offset: 2px !important;
	border-radius: 2px;
}

/* --- Kontrast: CTA-Buttons (WCAG 1.4.3) ------------------------------------
   Weiss auf Orange #ff9900 = 2.14:1 (fail). Markenorange bleibt, Text wird
   dunkel (#1a1a1a auf #ff9900 ~ 9:1). ------------------------------------- */
a.bwd-cs__btn,
a.bwd-std__btn,
.bwd-cs__btn,
.bwd-std__btn,
.bwd-home-cta a.bwd-cs__btn {
	color: #1a1a1a !important;
}

/* --- Kontrast: Portfolio-Card-Tags / Subtitles (#667085 -> #4b5563) -------- */
.jdt-card__tag,
.jdt-card__tags,
.jdt-card__subtitle {
	color: #4b5563 !important;
}

/* --- Kontrast: Case-Study-Eyebrow / Fakten-Labels (#98a2b3 -> #5a6473) ----- */
.bwd-cs__cat,
.bwd-cs__facts h3,
.bwd-cs__aside h3 {
	color: #5a6473 !important;
}

/* --- Kontrast: Standard-Karten-Text + Footer-Beschreibung (#777 -> #595959) - */
.bwd-std__card p,
.bwd-footer .bwd-footer__desc {
	color: #595959 !important;
}

/* ==========================================================================
   Hero umgestaltet: Holz-Brandenburger-Tor (statisches <img>) oben, Typo
   darunter. Kein JS-Parallax mehr -> das vorgeladene Bild malt sofort -> LCP.
   ========================================================================== */
.bwd-hero {
	max-width: 1080px;
	margin: 0 auto;
	/* Oben genug Abstand, damit das Hero-Bild nicht hinter dem fixen Header
	   (80px Desktop / 61px Mobil) verschwindet. */
	padding: 92px 20px 4px;
	text-align: center;
}
/* Weißen Kasten hinter "Leistungsspektrum" entfernen (WPBakery row-has-fill)
   + Abstaende straffen (war 100px oben/unten -> wirkte zerrissen). */
.vc_custom_1604394387826 {
	background-color: transparent !important;
	padding-top: 58px !important;
	padding-bottom: 54px !important;
}
/* "Leistungsspektrum"-Ueberschrift: dunkler, enger, mit orangem Akzentstrich. */
.vc_custom_1765401691629 {
	color: #0d0f14 !important;
	letter-spacing: -.02em !important;
	margin-bottom: 12px !important;
}
.vc_custom_1765401691629::after {
	content: "";
	display: block;
	width: 56px;
	height: 4px;
	margin: 22px auto 0;
	background: #ff9900;
	border-radius: 2px;
}
.bwd-hero__visual {
	margin: 0 auto 32px;
	max-width: 900px;
	border-radius: 16px;
	overflow: hidden;
	background: #b9bacf; /* matcht den Bild-Hintergrund -> weicher Rand */
	box-shadow: 0 26px 60px -30px rgba(16, 24, 40, .4);
}
.bwd-hero__img {
	display: block;
	width: 100%;
	height: auto;
}
/* Eyebrow ueber dem Titel (Disziplinen) - typografische Hierarchie. */
.bwd-hero__body::before {
	content: "Web · Print · Motion";
	display: block;
	font-family: "Montserrat", system-ui, sans-serif;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: #667085;
	margin: 0 0 18px;
}
.bwd-hero__title {
	font-family: "Montserrat", system-ui, -apple-system, sans-serif;
	font-weight: 700;
	font-size: clamp(34px, 5.6vw, 56px);
	line-height: 1.04;
	letter-spacing: -.025em;
	color: #0d0f14;
	margin: 0 0 18px;
}
.bwd-hero__lead {
	font-size: clamp(16px, 2vw, 19px);
	line-height: 1.65;
	color: #4a5462 !important;
	max-width: 540px;
	margin: 0 auto 34px;
}
.bwd-hero__btn {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	background: #ff9900;
	color: #1a1a1a !important; /* schlaegt die globale a{color:crimson!important}-Regel */
	font-weight: 700;
	font-size: 16px;
	letter-spacing: .005em;
	padding: 15px 36px;
	border-radius: 10px;
	text-decoration: none !important;
	box-shadow: 0 14px 28px -12px rgba(255, 153, 0, .7);
	transition: background .16s ease, transform .16s ease, box-shadow .16s ease;
}
.bwd-hero__btn::after {
	content: "→";
	font-size: 18px;
	line-height: 1;
	transition: transform .16s ease;
}
.bwd-hero__btn:hover {
	background: #f08c00;
	transform: translateY(-2px);
	box-shadow: 0 18px 32px -12px rgba(255, 153, 0, .75);
}
.bwd-hero__btn:hover::after {
	transform: translateX(3px);
}
@media (max-width: 600px) {
	.bwd-hero { padding-top: 74px; }
	.bwd-hero__visual { margin-bottom: 22px; border-radius: 12px; }
}

/* ==========================================================================
   Frosted-Glass-Header: durchscheinender, weichgezeichneter fixer Header.
   Reine CSS-Loesung (keine zusaetzlichen Requests, kein Einfluss auf LCP/FCP).
   ========================================================================== */
.header {
	/* Frosted-Layer liegt auf ::before (z-index:-1), NICHT direkt auf .header.
	   Sonst rendert Chromium transparente Kind-Bilder (das Logo!) ueber dem
	   backdrop-filter schwarz. So bleibt das Logo ein normales Kind ueber der
	   Glas-Ebene. transform vom Theme entfernen (kollidiert mit backdrop-filter). */
	background: transparent !important;
	border-bottom: 1px solid rgba(15, 17, 23, .07);
	box-shadow: 0 1px 22px rgba(15, 17, 23, .05);
	-webkit-transform: none !important;
	transform: none !important;
}
.header::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: rgba(255, 255, 255, .62);
	-webkit-backdrop-filter: blur(16px) saturate(1.6);
	backdrop-filter: blur(16px) saturate(1.6);
	pointer-events: none;
}
/* Fallback ohne backdrop-filter: Glas-Effekt entfaellt, dafuer kraeftigeres
   Weiss direkt auf .header, damit der Menue-Text lesbar bleibt. */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
	.header {
		background: rgba(255, 255, 255, .95) !important;
	}
}

/* --- Kontrast: Footer (Theme nutzt #999/#777 mit !important -> hoehere
       Spezifitaet via .bwd-footer-Vorfahr). ----------------------------------- */
.bwd-footer .bwd-footer__legal a,
.bwd-footer .bwd-footer__copy,
.bwd-footer .bwd-footer__col a,
.bwd-footer .bwd-footer__brand-tag,
.bwd-footer .bwd-footer__tagline {
	color: #595959 !important;
}
.bwd-footer .bwd-footer__legal a:hover,
.bwd-footer .bwd-footer__legal a:focus-visible,
.bwd-footer .bwd-footer__col a:hover,
.bwd-footer .bwd-footer__col a:focus-visible {
	color: #1a1a1a !important;
}
