/*
Theme Name: Aschekies Clean
Theme URI: https://aschekies.de
Description: Schlankes Child-Theme für den Hausmeisterservice Aschekies.
Author: Aschekies
Template: twentytwentyfive
Version: 1.0.3
Text Domain: aschekies-clean
*/

:root {
	--ak-blue: #0e3d88;
	--ak-blue-dark: #08285c;
	--ak-blue-soft: #eaf1fb;
	--ak-gold: #f1b83b;
	--ak-ink: #172033;
	--ak-muted: #5e6878;
	--ak-line: #dce3ec;
	--ak-surface: #ffffff;
	--ak-radius: 18px;
	--ak-shadow: 0 18px 50px rgba(20, 42, 78, 0.11);
}

html {
	scroll-behavior: smooth;
}

body {
	background: #f7f9fc;
	color: var(--ak-ink);
}

a {
	text-underline-offset: 0.18em;
}

.ak-site-header {
	position: relative;
	z-index: 20;
	background: rgba(255, 255, 255, 0.97);
	border-bottom: 1px solid var(--ak-line);
	box-shadow: 0 6px 24px rgba(20, 42, 78, 0.06);
}

.ak-site-header__inner {
	min-height: 78px;
}

.ak-brand {
	display: flex;
	gap: 0.8rem;
	align-items: center;
	flex-shrink: 0;
}

.ak-brand__logo {
	display: flex;
	width: 52px;
	height: 62px;
	align-items: center;
	flex: 0 0 auto;
	justify-content: center;
	text-decoration: none;
}

.ak-brand__logo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.ak-brand__copy {
	gap: 0;
}

.ak-brand .wp-block-site-title {
	font-size: clamp(1.15rem, 2vw, 1.45rem);
	font-weight: 800;
	letter-spacing: -0.025em;
}

.ak-brand .wp-block-site-title a {
	color: var(--ak-blue-dark);
}

.ak-brand__tagline {
	color: var(--ak-muted);
	font-size: 0.78rem;
	margin-top: 0.15rem;
}

.ak-site-header .wp-block-navigation-item__content {
	font-weight: 650;
}

.ak-site-header .wp-block-navigation-item__content:hover,
.ak-site-header .current-menu-item > .wp-block-navigation-item__content {
	color: var(--ak-blue);
}

.ak-page {
	margin: 0;
}

.ak-shell {
	width: min(1160px, calc(100% - 40px));
	margin-inline: auto;
}

.ak-section {
	padding: clamp(3.5rem, 7vw, 6.5rem) 0;
}

.ak-section--compact {
	padding: clamp(2.5rem, 5vw, 4rem) 0;
}

.ak-section--white {
	background: var(--ak-surface);
}

.ak-section--soft {
	background: var(--ak-blue-soft);
}

.ak-hero {
	position: relative;
	isolation: isolate;
	min-height: min(680px, 76vh);
	display: grid;
	align-items: center;
	background-image: linear-gradient(90deg, rgba(7, 31, 72, 0.9) 0%, rgba(7, 31, 72, 0.68) 48%, rgba(7, 31, 72, 0.2) 100%), var(--ak-hero-image);
	background-position: center;
	background-size: cover;
	color: #fff;
}

.ak-hero--small {
	min-height: 400px;
}

.ak-hero__content {
	max-width: 760px;
	padding-block: 5rem;
}

.ak-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	margin: 0 0 1rem;
	color: var(--ak-blue);
	font-size: 0.82rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.ak-hero .ak-eyebrow {
	color: #ffcf68;
}

.ak-hero h1 {
	max-width: 14ch;
	margin: 0;
	color: #fff;
	font-size: clamp(2.6rem, 7vw, 5.7rem);
	line-height: 0.98;
	letter-spacing: -0.055em;
}

.ak-hero--small h1 {
	font-size: clamp(2.4rem, 6vw, 4.7rem);
}

.ak-hero__lead {
	max-width: 660px;
	margin: 1.5rem 0 0;
	font-size: clamp(1.05rem, 2vw, 1.3rem);
	line-height: 1.65;
}

.ak-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.8rem;
	margin-top: 2rem;
}

.ak-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 50px;
	padding: 0.72rem 1.25rem;
	border: 2px solid transparent;
	border-radius: 999px;
	background: var(--ak-gold);
	color: #15213a;
	font-weight: 800;
	text-decoration: none;
	transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.ak-button:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 24px rgba(0, 0, 0, 0.16);
}

.ak-button--outline {
	border-color: rgba(255, 255, 255, 0.75);
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
}

.ak-button--blue {
	background: var(--ak-blue);
	color: #fff;
}

.ak-section h2 {
	max-width: 18ch;
	margin: 0;
	font-size: clamp(2rem, 4.5vw, 3.7rem);
	line-height: 1.06;
	letter-spacing: -0.045em;
}

.ak-lead {
	color: var(--ak-muted);
	font-size: clamp(1.05rem, 1.7vw, 1.22rem);
	line-height: 1.75;
}

.ak-grid {
	display: grid;
	gap: 1.4rem;
}

.ak-grid--2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

.ak-split {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
	gap: clamp(2rem, 6vw, 5rem);
	align-items: center;
}

.ak-card {
	padding: clamp(1.4rem, 3vw, 2rem);
	border: 1px solid var(--ak-line);
	border-radius: var(--ak-radius);
	background: var(--ak-surface);
	box-shadow: 0 10px 30px rgba(20, 42, 78, 0.06);
}

.ak-card h3 {
	margin-top: 0;
	font-size: 1.35rem;
}

.ak-card p,
.ak-card li {
	color: var(--ak-muted);
	line-height: 1.65;
}

.ak-card ul {
	padding-left: 1.15rem;
}

.ak-reference-card {
	display: flex;
	flex-direction: column;
}

.ak-reference-card > p:last-child {
	margin-top: auto;
}

.ak-reference-logo {
	display: flex;
	min-height: 132px;
	margin: 0 0 1.5rem;
	padding: 1rem;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--ak-line);
	border-radius: 16px;
	background: #fff;
}

.ak-reference-logo img {
	display: block;
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: 92px;
	object-fit: contain;
}

.ak-reference-letter {
	display: grid;
	grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1.2fr);
	gap: clamp(2rem, 6vw, 5rem);
	margin-top: clamp(3rem, 7vw, 5.5rem);
	align-items: start;
}

.ak-reference-letter__copy {
	position: sticky;
	top: 2rem;
}

.ak-reference-letter h2 {
	max-width: 12ch;
}

.ak-reference-letter figure {
	margin: 0;
}

.ak-reference-letter figure img {
	display: block;
	width: 100%;
	height: auto;
	border: 1px solid var(--ak-line);
	border-radius: var(--ak-radius);
	background: #fff;
	box-shadow: var(--ak-shadow);
}

.ak-reference-letter figcaption {
	margin-top: 0.85rem;
	color: var(--ak-muted);
	font-size: 0.9rem;
	text-align: center;
}

.ak-icon {
	display: grid;
	width: 48px;
	height: 48px;
	margin-bottom: 1.1rem;
	place-items: center;
	border-radius: 14px;
	background: var(--ak-blue-soft);
	color: var(--ak-blue);
	font-size: 1.4rem;
	font-weight: 900;
}

.ak-photo {
	width: 100%;
	max-height: 640px;
	object-fit: cover;
	border-radius: 24px;
	box-shadow: var(--ak-shadow);
}

.ak-stats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1px;
	overflow: hidden;
	border-radius: var(--ak-radius);
	background: rgba(255, 255, 255, 0.2);
}

.ak-stat {
	padding: 1.45rem;
	background: var(--ak-blue-dark);
	color: #fff;
	text-align: center;
}

.ak-stat strong {
	display: block;
	color: #ffcf68;
	font-size: 1.8rem;
}

.ak-gallery-heading {
	display: flex;
	gap: 2rem;
	margin-bottom: clamp(2rem, 5vw, 3.5rem);
	align-items: end;
	justify-content: space-between;
}

.ak-gallery-heading h2,
.ak-gallery-heading p {
	margin-bottom: 0;
}

.ak-gallery-heading p {
	max-width: 40ch;
}

.ak-gallery {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(1rem, 2vw, 1.4rem);
}

.ak-gallery figure {
	margin: 0;
	overflow: hidden;
	border: 1px solid var(--ak-line);
	border-radius: var(--ak-radius);
	background: #e8edf4;
	box-shadow: 0 12px 30px rgba(20, 42, 78, 0.09);
}

.ak-gallery__item {
	position: relative;
	display: block;
	width: 100%;
	padding: 0;
	overflow: hidden;
	border: 0;
	background: #e8edf4;
	aspect-ratio: 4 / 3;
	cursor: zoom-in;
}

.ak-gallery__item::before {
	position: absolute;
	inset: -24px;
	background-image: linear-gradient(rgba(8, 40, 92, 0.18), rgba(8, 40, 92, 0.18)), var(--ak-preview);
	background-position: center;
	background-size: cover;
	content: "";
	filter: blur(18px);
	transform: scale(1.08);
}

.ak-gallery__item img {
	position: relative;
	z-index: 1;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	transition: transform 220ms ease;
}

.ak-gallery__label {
	position: absolute;
	z-index: 2;
	right: 0;
	bottom: 0;
	left: 0;
	display: flex;
	padding: 2.5rem 1rem 0.9rem;
	background: linear-gradient(transparent, rgba(7, 31, 72, 0.82));
	color: #fff;
	font-size: 0.88rem;
	font-weight: 800;
	justify-content: flex-end;
	letter-spacing: 0.01em;
}

.ak-gallery__item:hover img {
	transform: scale(1.018);
}

.ak-gallery__item:focus-visible {
	outline: 4px solid var(--ak-yellow);
	outline-offset: -4px;
}

.ak-gallery-hint {
	margin: 1.25rem 0 0;
	color: var(--ak-muted);
	font-size: 0.92rem;
	text-align: center;
}

html.ak-lightbox-open {
	overflow: hidden;
}

.ak-lightbox[hidden] {
	display: none;
}

.ak-lightbox {
	position: fixed;
	z-index: 99999;
	inset: 0;
	display: grid;
	grid-template-columns: minmax(76px, 1fr) minmax(0, 1180px) minmax(76px, 1fr);
	grid-template-rows: auto minmax(0, 1fr);
	gap: 1rem;
	padding: clamp(1rem, 3vw, 2rem);
	background: rgba(3, 15, 36, 0.96);
	opacity: 0;
	transition: opacity 180ms ease;
}

.ak-lightbox.is-open {
	opacity: 1;
}

.ak-lightbox__close,
.ak-lightbox__nav {
	border: 1px solid rgba(255, 255, 255, 0.3);
	background: rgba(255, 255, 255, 0.1);
	color: #fff;
	font: inherit;
	font-weight: 800;
	cursor: pointer;
	transition: background 160ms ease, border-color 160ms ease;
}

.ak-lightbox__close:hover,
.ak-lightbox__nav:hover,
.ak-lightbox__close:focus-visible,
.ak-lightbox__nav:focus-visible {
	border-color: #fff;
	background: rgba(255, 255, 255, 0.2);
}

.ak-lightbox__close {
	grid-column: 1 / -1;
	justify-self: end;
	padding: 0.65rem 1rem;
	border-radius: 999px;
}

.ak-lightbox__nav {
	align-self: center;
	padding: 0.85rem 0.9rem;
	border-radius: 12px;
}

.ak-lightbox__previous {
	grid-column: 1;
	grid-row: 2;
	justify-self: start;
}

.ak-lightbox__next {
	grid-column: 3;
	grid-row: 2;
	justify-self: end;
}

.ak-lightbox__figure {
	grid-column: 2;
	grid-row: 2;
	display: flex;
	min-width: 0;
	min-height: 0;
	margin: 0;
	align-items: center;
	flex-direction: column;
	justify-content: center;
}

.ak-lightbox__figure img {
	display: block;
	max-width: 100%;
	max-height: calc(100vh - 155px);
	border-radius: 10px;
	object-fit: contain;
	box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

.ak-lightbox__figure figcaption {
	display: flex;
	width: 100%;
	max-width: 900px;
	gap: 1rem;
	padding-top: 0.8rem;
	color: #e8eef8;
	font-size: 0.92rem;
	justify-content: space-between;
}

.ak-lightbox__counter {
	color: #ffcf68;
	font-weight: 800;
	white-space: nowrap;
}

.ak-price-table {
	width: 100%;
	border-collapse: collapse;
	border-radius: var(--ak-radius);
	overflow: hidden;
	background: #fff;
	box-shadow: 0 10px 30px rgba(20, 42, 78, 0.06);
}

.ak-price-table th,
.ak-price-table td {
	padding: 0.9rem 1rem;
	border-bottom: 1px solid var(--ak-line);
	text-align: left;
}

.ak-price-table th {
	background: var(--ak-blue-dark);
	color: #fff;
}

.ak-price-table tr:last-child td {
	border-bottom: 0;
}

.ak-contact-list {
	display: grid;
	gap: 0.9rem;
	margin: 1.5rem 0 0;
}

.ak-contact-list a {
	color: var(--ak-blue);
	font-weight: 750;
}

.ak-cta {
	padding: clamp(2rem, 5vw, 4rem);
	border-radius: 26px;
	background: linear-gradient(135deg, var(--ak-blue-dark), var(--ak-blue));
	color: #fff;
	box-shadow: var(--ak-shadow);
}

.ak-cta h2 {
	color: #fff;
}

.ak-site-footer {
	background: #071f48;
	color: #dce7fa;
}

.ak-site-footer a {
	color: #fff;
}

.ak-site-footer .wp-block-site-title {
	color: #fff;
	font-size: 1.35rem;
	font-weight: 800;
}

.ak-site-footer__legal {
	border-top: 1px solid rgba(255, 255, 255, 0.16);
	font-size: 0.88rem;
}

@media (max-width: 860px) {
	.ak-grid--3,
	.ak-split,
	.ak-reference-letter {
		grid-template-columns: 1fr;
	}

	.ak-reference-letter__copy {
		position: static;
	}

	.ak-gallery {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ak-gallery-heading {
		align-items: start;
		flex-direction: column;
	}

	.ak-site-header__phone {
		display: none !important;
	}
}

@media (max-width: 620px) {
	.ak-shell {
		width: min(100% - 28px, 1160px);
	}

	.ak-brand {
		gap: 0.55rem;
	}

	.ak-brand__logo {
		width: 42px;
		height: 50px;
	}

	.ak-brand .wp-block-site-title {
		font-size: 1rem;
	}

	.ak-brand__tagline {
		display: none;
	}

	.ak-grid--2,
	.ak-stats {
		grid-template-columns: 1fr;
	}

	.ak-hero {
		min-height: 620px;
		background-image: linear-gradient(rgba(7, 31, 72, 0.82), rgba(7, 31, 72, 0.82)), var(--ak-hero-image);
	}

	.ak-gallery {
		grid-template-columns: 1fr;
	}

	.ak-lightbox {
		grid-template-columns: 1fr 1fr;
		grid-template-rows: auto minmax(0, 1fr) auto;
		gap: 0.75rem;
		padding: 0.75rem;
	}

	.ak-lightbox__close {
		grid-column: 1 / -1;
		grid-row: 1;
	}

	.ak-lightbox__figure {
		grid-column: 1 / -1;
		grid-row: 2;
	}

	.ak-lightbox__figure img {
		max-height: calc(100vh - 205px);
	}

	.ak-lightbox__previous,
	.ak-lightbox__next {
		grid-row: 3;
		width: 100%;
	}

	.ak-lightbox__previous {
		grid-column: 1;
	}

	.ak-lightbox__next {
		grid-column: 2;
	}

	.ak-price-table {
		font-size: 0.9rem;
	}

	.ak-price-table th,
	.ak-price-table td {
		padding: 0.7rem;
	}
}
