/*
Theme Name: Bekirov Gebäudereinigung
Theme URI: https://bekirov-bau.de/
Author: Bekirov Bau GmbH
Description: Eigenständiges WordPress-Block-Theme für den Reinigungsservice der Bekirov Bau GmbH.
Version: 1.0.14
Requires at least: 6.6
Tested up to: 6.8
Requires PHP: 8.1
Text Domain: bekirov-gebaeudereinigung
*/

:root {
	--br-shadow: 0 16px 44px rgba(4, 60, 53, 0.11);
	--br-section-space: clamp(4.5rem, 9vw, 8rem);
	--br-header-height: 82px;
}

html {
	scroll-behavior: smooth;
}

body {
	overflow-x: clip;
}

body.admin-bar header.wp-block-template-part {
	top: 32px;
}

main:focus {
	outline: 0;
}

a,
button,
.wp-element-button {
	text-underline-offset: 0.2em;
}

a:focus-visible,
button:focus-visible,
.wp-element-button:focus-visible,
.wp-block-navigation__responsive-container-open:focus-visible,
.wp-block-navigation__responsive-container-close:focus-visible {
	outline: 3px solid #ffffff;
	box-shadow: 0 0 0 6px #075b51;
	outline-offset: 2px;
}

.wp-block-button__link {
	box-shadow: none;
	transition: background-color 180ms ease, color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.wp-block-button__link:hover {
	transform: translateY(-1px);
	box-shadow: 0 9px 24px rgba(163, 0, 0, 0.22);
}

.has-red-background-color.wp-block-button__link:hover,
.br-button--primary .wp-block-button__link:hover {
	background: #a30000 !important;
}

.br-link-button .wp-block-button__link {
	background: transparent !important;
	border: 0;
	border-bottom: 1px solid currentColor;
	border-radius: 0;
	box-shadow: none;
	color: inherit !important;
	padding: 0.35rem 0;
}

.br-link-button .wp-block-button__link:hover {
	box-shadow: none;
	color: #39c9a5 !important;
}

[id] {
	scroll-margin-top: calc(var(--br-header-height) + 24px);
}

.br-site-header {
	background: rgba(255, 255, 255, 0.97);
	border-bottom: 1px solid rgba(4, 60, 53, 0.11);
	box-shadow: 0 5px 22px rgba(10, 21, 32, 0.05);
	position: relative;
	z-index: 1;
}

header.wp-block-template-part {
	position: sticky;
	top: 0;
	z-index: 1000;
}

.br-site-header__inner {
	min-height: var(--br-header-height);
}

.br-logo-lockup {
	flex: 0 0 auto;
	gap: 0.05rem !important;
}

.br-wordmark {
	align-items: baseline;
	display: inline-flex;
	font-family: Arial Black, Arial, sans-serif;
	font-size: 1.68rem;
	font-weight: 900;
	letter-spacing: -0.075em;
	line-height: 0.86;
	text-decoration: none;
}

.br-wordmark__name {
	color: #0a0a0a;
}

.br-wordmark__accent {
	color: #cc0000;
}

.br-logo-lockup__tagline {
	color: #53635f;
	font-size: 0.58rem;
	font-weight: 700;
	letter-spacing: 0.36em;
	line-height: 1;
	margin: 0 0 0 0.16rem;
	text-transform: uppercase;
}

.br-site-header .wp-block-navigation-item__content {
	color: #0a1520;
	text-decoration: none;
}

.br-site-header .wp-block-navigation-item__content:hover {
	color: #075b51;
}

.br-site-header__cta .wp-block-button__link {
	white-space: nowrap;
}

.br-hero {
	background: #043c35;
	color: #ffffff;
	min-height: 610px;
	overflow: hidden;
	position: relative;
}

.br-hero__media,
.br-hero__media::after {
	inset: 0;
	position: absolute;
}

.br-hero__media {
	height: 100%;
	margin: 0;
	width: 100%;
}

.br-hero__media::after {
	background: linear-gradient(90deg, rgba(2, 46, 41, 0.97) 0%, rgba(2, 46, 41, 0.84) 36%, rgba(2, 46, 41, 0.24) 70%, rgba(2, 46, 41, 0.08) 100%);
	content: "";
}

.br-hero__media img {
	height: 100%;
	object-fit: cover;
	object-position: center;
	width: 100%;
}

.br-hero__grid {
	display: grid;
	gap: clamp(2rem, 5vw, 5rem);
	grid-template-columns: minmax(0, 1.25fr) minmax(310px, 0.75fr);
	min-height: 610px;
	padding-bottom: 2rem;
	position: relative;
	z-index: 2;
}

.br-hero__content {
	max-width: 720px;
}

.br-eyebrow {
	color: #8fe3cf;
	font-size: 0.72rem;
	font-weight: 750;
	letter-spacing: 0.18em;
	margin: 0 0 1rem;
	text-transform: uppercase;
}

.br-hero h1 {
	color: #ffffff;
	font-size: clamp(2.65rem, 4vw, 4.15rem);
	max-width: 820px;
}

.br-hero__lead {
	font-size: clamp(1.15rem, 2vw, 1.65rem);
	line-height: 1.35;
	max-width: 650px;
}

.br-hero__body {
	color: rgba(255, 255, 255, 0.84);
	max-width: 620px;
}

.br-plan-card {
	background: rgba(255, 255, 255, 0.96);
	border: 1px solid rgba(255, 255, 255, 0.75);
	border-radius: 12px;
	box-shadow: 0 24px 70px rgba(1, 26, 23, 0.34);
	color: #0a1520;
	padding: clamp(1.35rem, 3vw, 2rem);
}

.br-plan-card__title {
	color: #075b51;
	font-size: 0.73rem;
	font-weight: 800;
	letter-spacing: 0.05em;
	margin: 0 0 1rem;
	text-transform: uppercase;
}

.br-plan-card__row {
	align-items: center;
	border-top: 1px solid #d8e5e2;
	display: grid;
	font-size: 0.83rem;
	gap: 0.65rem;
	grid-template-columns: 24px minmax(0, 1fr) auto;
	padding: 0.76rem 0;
}

.br-plan-card__status {
	color: #53635f;
	font-size: 0.75rem;
	white-space: nowrap;
}

.br-check,
.br-open {
	align-items: center;
	border-radius: 50%;
	display: inline-flex;
	height: 20px;
	justify-content: center;
	width: 20px;
}

.br-check {
	background: #39c9a5;
	color: #043c35;
	font-weight: 900;
}

.br-open {
	border: 1.5px solid #075b51;
}

.br-plan-card__note {
	align-items: flex-start;
	background: #eaf7f4;
	border-radius: 8px;
	display: flex;
	font-size: 0.78rem;
	gap: 0.65rem;
	line-height: 1.45;
	margin: 0.8rem 0 0;
	padding: 0.8rem;
}

.br-plan-card__note strong {
	color: #043c35;
}

.br-trust-bar {
	background: linear-gradient(135deg, #075b51 0%, #043c35 100%);
	color: #ffffff;
}

.br-trust-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.br-trust-item {
	align-items: center;
	border-right: 1px solid rgba(143, 227, 207, 0.42);
	display: grid;
	gap: 1rem;
	grid-template-columns: 68px minmax(0, 1fr);
	padding: 2.2rem clamp(1.2rem, 3vw, 2.4rem);
}

.br-trust-item:last-child {
	border-right: 0;
}

.br-icon-ring {
	align-items: center;
	border: 1px solid #39c9a5;
	border-radius: 50%;
	color: #8fe3cf;
	display: inline-flex;
	height: 62px;
	justify-content: center;
	width: 62px;
}

.br-icon-ring svg,
.br-card-icon svg {
	height: 30px;
	width: 30px;
}

.br-trust-item h2 {
	color: #ffffff;
	font-size: 1rem;
	margin: 0 0 0.35rem;
}

.br-trust-item p {
	color: rgba(255, 255, 255, 0.78);
	font-size: 0.86rem;
	line-height: 1.45;
	margin: 0;
}

.br-section {
	padding-bottom: var(--br-section-space);
	padding-top: var(--br-section-space);
}

.br-section--tint {
	background: linear-gradient(110deg, #f5f9f8 0%, #eaf7f4 100%);
}

.br-section-heading {
	margin-bottom: clamp(2rem, 4vw, 3.25rem);
	max-width: 780px;
}

.br-section-heading h2 {
	font-size: var(--wp--preset--font-size--x-large);
	margin: 0;
}

.br-section-heading .br-eyebrow {
	color: #075b51;
	margin-bottom: 0.45rem;
}

.br-service-grid {
	display: grid;
	gap: clamp(1rem, 2.2vw, 1.5rem);
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.br-service-card {
	background: #ffffff;
	border: 1px solid #d8e5e2;
	border-radius: 10px;
	box-shadow: 0 10px 28px rgba(4, 60, 53, 0.06);
	overflow: hidden;
	position: relative;
	transition: transform 180ms ease, box-shadow 180ms ease;
}

.br-service-card:hover {
	box-shadow: var(--br-shadow);
	transform: translateY(-3px);
}

.br-service-card .wp-block-image {
	margin: 0;
}

.br-service-card img {
	aspect-ratio: 4 / 2.15;
	display: block;
	object-fit: cover;
	width: 100%;
}

.br-service-card__body {
	display: grid;
	gap: 1rem;
	grid-template-columns: 42px minmax(0, 1fr);
	padding: 1.35rem;
}

.br-card-icon {
	color: #075b51;
	display: inline-flex;
}

.br-service-card h3,
.br-target-card h3 {
	font-size: 1.05rem;
	margin: 0 0 0.35rem;
}

.br-service-card p,
.br-target-card p {
	color: #53635f;
	font-size: 0.9rem;
	line-height: 1.5;
	margin: 0;
}

.br-card-link::after {
	content: "";
	inset: 0;
	position: absolute;
}

.br-card-link {
	color: #0a1520;
	text-decoration: none;
}

.br-card-link:focus-visible::after {
	box-shadow: inset 0 0 0 4px #075b51;
}

.br-secondary-links {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 0.8rem 2rem;
	justify-content: center;
	margin-top: 2rem;
}

.br-secondary-links a {
	font-size: 0.9rem;
	font-weight: 700;
	text-decoration-thickness: 1px;
}

.br-target-grid {
	display: grid;
	gap: 1.5rem;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.br-target-card {
	background: #ffffff;
	border: 1px solid #d8e5e2;
	border-radius: 10px;
	display: grid;
	grid-template-columns: minmax(180px, 0.9fr) minmax(220px, 1.1fr);
	overflow: hidden;
	position: relative;
}

.br-target-card .wp-block-image {
	height: 100%;
	margin: 0;
}

.br-target-card img {
	height: 100%;
	min-height: 210px;
	object-fit: cover;
	width: 100%;
}

.br-target-card__body {
	align-items: flex-start;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: clamp(1.4rem, 3vw, 2.2rem);
}

.br-process-grid {
	display: grid;
	gap: 0;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.br-process-step {
	display: grid;
	gap: 1rem;
	grid-template-columns: 58px minmax(0, 1fr);
	padding: 0 2rem;
	position: relative;
}

.br-process-step:first-child {
	padding-left: 0;
}

.br-process-step:last-child {
	padding-right: 0;
}

.br-process-step:not(:last-child)::after {
	background: #39c9a5;
	content: "";
	height: 1px;
	position: absolute;
	right: -18px;
	top: 28px;
	width: 36px;
}

.br-process-number {
	align-items: center;
	background: #eaf7f4;
	border-radius: 50%;
	color: #075b51;
	display: flex;
	font-size: 1.2rem;
	font-weight: 800;
	height: 54px;
	justify-content: center;
	width: 54px;
}

.br-process-step h3 {
	font-size: 1rem;
	margin: 0 0 0.4rem;
}

.br-process-step p {
	color: #53635f;
	font-size: 0.88rem;
	line-height: 1.5;
	margin: 0;
}

.br-proof {
	background: linear-gradient(135deg, #043c35 0%, #022d28 100%);
	color: #ffffff;
	padding-bottom: var(--br-section-space);
	padding-top: var(--br-section-space);
}

.br-proof h2 {
	color: #ffffff;
}

.br-proof .br-eyebrow {
	color: #8fe3cf;
}

.br-proof-grid {
	display: grid;
	gap: 1.5rem;
	grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
}

.br-proof-media,
.br-proof-quote {
	background: rgba(255, 255, 255, 0.96);
	border-radius: 10px;
	color: #0a1520;
	min-height: 285px;
	overflow: hidden;
	position: relative;
}

.br-proof-media img {
	height: 100%;
	min-height: 285px;
	object-fit: cover;
	width: 100%;
}

.br-proof-label {
	background: rgba(255, 255, 255, 0.94);
	border-radius: 8px;
	box-shadow: var(--br-shadow);
	font-weight: 650;
	left: 50%;
	margin: 0;
	padding: 1.1rem 2.2rem;
	position: absolute;
	top: 50%;
	transform: translate(-50%, -50%);
	white-space: nowrap;
}

.br-proof-quote {
	align-items: center;
	display: flex;
	justify-content: center;
	padding: clamp(2rem, 5vw, 4rem);
	text-align: center;
}

.br-proof-quote::before {
	color: #bcd4cf;
	content: "“";
	font-size: 5rem;
	font-weight: 800;
	left: 2rem;
	line-height: 1;
	position: absolute;
	top: 1rem;
}

.br-proof-quote p {
	font-size: clamp(1.05rem, 2vw, 1.25rem);
	margin: 0;
}

.br-contact {
	background: #ffffff;
	padding: clamp(3.5rem, 7vw, 5.5rem) 0;
}

.br-contact__grid {
	align-items: center;
	display: grid;
	gap: 2rem;
	grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
	padding-inline: clamp(1rem, 2.5vw, 2rem);
}

.br-contact h2 {
	font-size: var(--wp--preset--font-size--x-large);
	margin-bottom: 0.65rem;
}

.br-contact__actions {
	align-items: stretch;
	display: flex;
	flex-direction: column;
	gap: 0.9rem;
}

.br-contact__actions .wp-block-buttons,
.br-contact__actions .wp-block-button,
.br-contact__actions .wp-block-button__link {
	width: 100%;
}

.br-contact__details {
	display: flex;
	flex-wrap: wrap;
	font-size: 0.9rem;
	gap: 0.4rem 0.9rem;
	justify-content: center;
	margin: 0;
}

.br-footer {
	background: #f5f9f8;
	border-top: 1px solid #d8e5e2;
	color: #53635f;
	font-size: 0.78rem;
	padding: 2.2rem 0;
}

.br-footer__inner {
	display: grid;
	gap: 1.5rem;
	grid-template-columns: auto 1fr auto;
	padding-inline: clamp(1rem, 2.5vw, 2rem);
}

.br-footer .br-wordmark {
	font-size: 1.58rem;
}

.br-footer__contact {
	text-align: center;
}

.br-footer__legal {
	display: flex;
	gap: 1.2rem;
	justify-content: flex-end;
}

.br-footer a {
	color: #0a1520;
}

.br-content-shell {
	padding-bottom: var(--br-section-space);
	padding-top: clamp(3rem, 7vw, 6rem);
}

.br-content-shell .wp-block-post-title {
	font-size: var(--wp--preset--font-size--x-large);
}

@media (max-width: 1080px) {
	:root {
		--br-header-height: 74px;
	}

	.br-site-header__nav {
		margin-left: auto;
		order: 3;
	}

	.br-site-header__cta {
		flex: 0 0 auto;
	}

	.br-site-header .wp-block-navigation__responsive-container:not(.is-menu-open) {
		display: none;
	}

	.br-site-header .wp-block-navigation__responsive-container-open,
	.br-site-header .wp-block-navigation__responsive-container-close {
		align-items: center;
		display: flex;
		gap: 0;
		height: 44px;
		justify-content: center;
		padding: 0;
		width: 44px;
	}

	.br-site-header .wp-block-navigation__responsive-container-open svg,
	.br-site-header .wp-block-navigation__responsive-container-close svg {
		display: block;
		height: 24px;
		margin: 0;
		width: 24px;
	}

	.br-hero__grid {
		gap: 2rem;
		grid-template-columns: minmax(0, 1fr) 330px;
	}

	.br-trust-item {
		grid-template-columns: 52px minmax(0, 1fr);
		padding-left: 1.25rem;
		padding-right: 1.25rem;
	}

	.br-icon-ring {
		height: 48px;
		width: 48px;
	}

	.br-icon-ring svg {
		height: 24px;
		width: 24px;
	}
}

@media (max-width: 900px) {
	.br-wordmark {
		font-size: 1.42rem;
	}

	.br-logo-lockup__tagline {
		font-size: 0.48rem;
	}

	.br-hero__grid {
		grid-template-columns: 1fr;
		padding-bottom: 3rem;
		padding-top: 4rem;
	}

	.br-hero__media::after {
		background: linear-gradient(90deg, rgba(2, 46, 41, 0.98) 0%, rgba(2, 46, 41, 0.82) 54%, rgba(2, 46, 41, 0.5) 100%);
	}

	.br-plan-card {
		max-width: 620px;
	}

	.br-service-grid,
	.br-process-grid {
		grid-template-columns: 1fr;
	}

	.br-service-grid {
		max-width: 650px;
	}

	.br-target-grid,
	.br-proof-grid,
	.br-contact__grid {
		grid-template-columns: 1fr;
	}

	.br-process-step {
		padding: 0 0 2rem;
	}

	.br-process-step:not(:last-child)::after {
		bottom: 0.45rem;
		height: 1.15rem;
		left: 26px;
		right: auto;
		top: auto;
		width: 1px;
	}

	.br-contact__actions {
		max-width: 480px;
	}

	.br-footer__inner {
		grid-template-columns: 1fr;
		justify-items: center;
		text-align: center;
	}

	.br-footer__legal {
		justify-content: center;
	}
}

@media (max-width: 782px) {
	body.admin-bar header.wp-block-template-part {
		top: 46px;
	}
}

@media (max-width: 700px) {
	:root {
		--br-section-space: clamp(3.5rem, 15vw, 5rem);
	}

	.br-contact__grid {
		padding-inline: clamp(1rem, 5vw, 1.5rem);
	}

	.br-footer__inner {
		padding-inline: clamp(1rem, 5vw, 1.5rem);
	}

	.br-site-header__inner {
		min-height: 68px;
	}

	.br-hero {
		min-height: auto;
	}

	.br-hero__grid {
		min-height: auto;
	}

	.br-hero__media img {
		object-position: 62% center;
	}

	.br-hero h1 {
		font-size: clamp(2.35rem, 11vw, 3.75rem);
	}

	.br-hero__buttons {
		align-items: stretch;
		flex-direction: column;
	}

	.br-hero__buttons .wp-block-button,
	.br-hero__buttons .wp-block-button__link {
		width: 100%;
	}

	.br-trust-grid {
		grid-template-columns: 1fr;
		padding: 0.5rem 0;
	}

	.br-trust-item {
		border-bottom: 1px solid rgba(143, 227, 207, 0.3);
		border-right: 0;
		padding: 1.35rem 0;
	}

	.br-trust-item:last-child {
		border-bottom: 0;
	}

	.br-target-card {
		grid-template-columns: 1fr;
	}

	.br-target-card img {
		min-height: 190px;
	}

	.br-proof-media,
	.br-proof-media img,
	.br-proof-quote {
		min-height: 240px;
	}

	.br-proof-label {
		max-width: calc(100% - 2rem);
		padding-left: 1.2rem;
		padding-right: 1.2rem;
		white-space: normal;
	}

	.br-contact__details {
		align-items: center;
		flex-direction: column;
	}

	.br-contact__details span {
		display: none;
	}

	.br-footer__legal {
		flex-wrap: wrap;
	}
}

@media (max-width: 600px) {
	body.admin-bar header.wp-block-template-part {
		top: 0;
	}
}

@media (max-width: 560px) {
	.br-site-header .br-site-header__cta.wp-block-buttons {
		display: none;
	}
}

@media (max-width: 360px) {
	.br-wordmark {
		font-size: 1.24rem;
	}

	.br-logo-lockup__tagline {
		letter-spacing: 0.25em;
	}

	.br-plan-card__status {
		display: none;
	}

	.br-plan-card__row {
		grid-template-columns: 24px minmax(0, 1fr);
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}

