/* ==================================================================
   IRON & STEEL BARBERSHOP — Industrial Dark Theme
   Typo: Oswald (Display, condensed uppercase) / Barlow (Body)
   Fonts werden lokal gehostet (DSGVO + Performance).
   ================================================================== */

@font-face {
	font-family: "Oswald";
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url("../fonts/oswald-400-700-normal-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122;
}
@font-face {
	font-family: "Oswald";
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url("../fonts/oswald-400-700-normal-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-024F, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF;
}
@font-face {
	font-family: "Barlow";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/barlow-400-normal-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122;
}
@font-face {
	font-family: "Barlow";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/barlow-400-normal-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-024F, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF;
}
@font-face {
	font-family: "Barlow";
	font-style: italic;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/barlow-400-italic-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122;
}
@font-face {
	font-family: "Barlow";
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url("../fonts/barlow-500-normal-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122;
}
@font-face {
	font-family: "Barlow";
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url("../fonts/barlow-500-normal-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-024F, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF;
}
@font-face {
	font-family: "Barlow";
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url("../fonts/barlow-600-normal-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122;
}
@font-face {
	font-family: "Barlow";
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url("../fonts/barlow-600-normal-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-024F, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF;
}

:root {
	--bg: #1c1b19;
	--bg-deep: #141311;
	--panel: #242320;
	--card: #2b2926;
	--card-edge: rgba(255, 255, 255, 0.07);
	--ink: #ece7dd;
	--muted: #9d968a;
	--rust: #b1502e;
	--rust-hi: #cf6438;
	--rust-deep: #8a3a1f;
	--steel: #3a3835;
	--font-display: "Oswald", "Arial Narrow", sans-serif;
	--font-body: "Barlow", "Helvetica Neue", sans-serif;
	--ease-out: cubic-bezier(0.19, 1, 0.22, 1);
	/* Körnung als Data-URI, liegt über dunklen Flächen */
	--noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Reset & Basis ---------- */

*, *::before, *::after { box-sizing: border-box; }

html {
	scroll-behavior: smooth;
	scroll-padding-top: 90px;
}

body {
	margin: 0;
	background: var(--bg);
	/* Beton-Optik: nahtlose Textur + feine Körnung */
	background-image: var(--noise), url("../img/tex-concrete-dark.jpg");
	background-size: 120px 120px, 1536px 1536px;
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--rust-hi); text-decoration: none; }
a:hover { color: var(--ink); }

h1, h2, h3, h4 {
	font-family: var(--font-display);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	line-height: 1.1;
	margin: 0 0 0.5em;
}

.wrap {
	width: min(1180px, 100% - 48px);
	margin-inline: auto;
}

.wrap--narrow { width: min(760px, 100% - 48px); }

.section { padding: 96px 0; }

.section__title {
	text-align: center;
	font-size: clamp(30px, 4.5vw, 44px);
	letter-spacing: 0.08em;
	color: var(--ink);
	margin-bottom: 56px;
	position: relative;
	padding-bottom: 18px;
}

.section__title::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: 0;
	width: 64px;
	height: 3px;
	transform: translateX(-50%) scaleX(1);
	background: linear-gradient(90deg, transparent, var(--rust), transparent);
}

/* Unterstrich zeichnet sich beim Reveal */
.section__title.reveal::after {
	transform: translateX(-50%) scaleX(0);
	transition: transform 0.8s var(--ease-out) 0.35s;
}

.section__title.reveal.is-visible::after {
	transform: translateX(-50%) scaleX(1);
}

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	clip-path: inset(50%);
	overflow: hidden;
}

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 999;
	background: var(--rust);
	color: #fff;
	padding: 10px 18px;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- Buttons: Metallplatte mit Nieten ---------- */

.btn {
	display: inline-block;
	position: relative;
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 15px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #f4ede3;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(0, 0, 0, 0.25)),
		linear-gradient(180deg, var(--rust) 0%, var(--rust-deep) 100%);
	border: 1px solid rgba(0, 0, 0, 0.55);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.22),
		inset 0 0 0 3px rgba(0, 0, 0, 0.18),
		0 6px 18px rgba(0, 0, 0, 0.45);
	padding: 16px 34px;
	cursor: pointer;
	transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), filter 0.25s;
}

/* Nieten in den Ecken */
.btn--plate::before,
.btn--plate::after {
	content: "";
	position: absolute;
	top: 50%;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	transform: translateY(-50%);
	background: radial-gradient(circle at 35% 30%, #e8dccd, #6b5a48 70%);
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}
.btn--plate::before { left: 10px; }
.btn--plate::after { right: 10px; }

.btn:hover {
	transform: translateY(-2px);
	filter: brightness(1.12);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.25),
		inset 0 0 0 3px rgba(0, 0, 0, 0.18),
		0 10px 26px rgba(177, 80, 46, 0.35);
	color: #fff;
}

.btn:active { transform: translateY(0); }

.btn--small { padding: 10px 20px; font-size: 13px; }

/* ---------- Header ---------- */

.site-header {
	position: fixed;
	inset: 0 0 auto 0;
	z-index: 100;
	padding: 18px 0;
	transition: background 0.35s, padding 0.35s, box-shadow 0.35s;
}

.site-header.is-scrolled {
	background: rgba(20, 19, 17, 0.92);
	backdrop-filter: blur(10px);
	padding: 10px 0;
	box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
}

/* Beim Runterscrollen verschwindet der Header, beim Hochscrollen kommt er zurück */
.site-header { transition: background 0.35s, padding 0.35s, box-shadow 0.35s, transform 0.4s var(--ease-out); }
.site-header.is-hidden { transform: translateY(-110%); }

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.brand { display: flex; flex-direction: column; line-height: 1; }

.brand__line1 {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 26px;
	letter-spacing: 0.06em;
	color: var(--ink);
	text-transform: uppercase;
}

.brand__line2 {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 5px;
	color: var(--muted);
}

.brand__scissors { color: var(--rust-hi); flex: none; }

.brand__rule { height: 1px; flex: 1; background: currentColor; opacity: 0.5; }

.brand__sub {
	font-family: var(--font-display);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.42em;
	text-transform: uppercase;
	white-space: nowrap;
}

.site-nav { display: flex; align-items: center; gap: 28px; }

.site-nav__list {
	display: flex;
	gap: 28px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.site-nav__list a {
	font-family: var(--font-display);
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--ink);
	position: relative;
	padding-bottom: 6px;
}

.site-nav__list a::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 2px;
	background: var(--rust-hi);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.3s var(--ease-out);
}

.site-nav__list a:hover::after,
.site-nav__list .current-menu-item a::after { transform: scaleX(1); }

.nav-toggle {
	display: none;
	flex-direction: column;
	gap: 5px;
	background: none;
	border: 0;
	padding: 8px;
	cursor: pointer;
}

.nav-toggle span {
	width: 26px;
	height: 2px;
	background: var(--ink);
	transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */

.hero {
	position: relative;
	min-height: 100vh;
	min-height: 100dvh;
	display: flex;
	align-items: center;
	overflow: hidden;
}

.hero__media,
.hero__media img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hero__media img {
	transform: scale(1.08);
	animation: hero-zoom 14s var(--ease-out) forwards;
}

@keyframes hero-zoom {
	to { transform: scale(1); }
}

.hero__overlay {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg, rgba(18, 16, 14, 0.92) 0%, rgba(18, 16, 14, 0.55) 45%, rgba(18, 16, 14, 0.25) 100%),
		linear-gradient(0deg, rgba(18, 16, 14, 0.9) 0%, transparent 30%);
}

.hero__grain {
	position: absolute;
	inset: 0;
	background-image: var(--noise);
	pointer-events: none;
	opacity: 0.7;
}

.hero__inner { position: relative; z-index: 2; padding-top: 120px; }

.hero__title {
	font-size: clamp(38px, 6.5vw, 76px);
	font-weight: 700;
	letter-spacing: 0.02em;
	margin-bottom: 18px;
	text-shadow: 0 4px 30px rgba(0, 0, 0, 0.6);
}

/* Clip-Reveal: Zeilen schieben sich aus einer unsichtbaren Maske */
.hero__line {
	display: block;
	opacity: 0;
	transform: translateY(100%);
	clip-path: inset(0 0 100% 0);
	animation: line-reveal 1.1s var(--ease-out) forwards;
}

.hero__line--accent { animation-delay: 0.22s; }

@keyframes line-reveal {
	0% { opacity: 0; transform: translateY(60%); clip-path: inset(0 0 100% 0); }
	40% { opacity: 1; }
	100% { opacity: 1; transform: translateY(0); clip-path: inset(-10% 0 -10% 0); }
}

.hero__sub {
	font-family: var(--font-display);
	font-size: clamp(15px, 2vw, 20px);
	font-weight: 400;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--muted);
	margin: 0 0 36px;
	opacity: 0;
	transform: translateY(24px);
	animation: rise 0.9s var(--ease-out) 0.4s forwards;
}

.hero__cta {
	opacity: 0;
	transform: translateY(24px);
	animation: rise 0.9s var(--ease-out) 0.6s forwards;
}

/* Nach der Einblendung (JS setzt .is-in): fester sichtbarer Zustand,
   damit Hover/Mouse-out die Intro-Animation nicht neu startet. */
.hero__cta.is-in {
	opacity: 1;
	transform: none;
	animation: cta-glow 3s ease-in-out infinite;
}

.hero__cta.is-in:hover { transform: translateY(-2px); }

@keyframes rise {
	to { opacity: 1; transform: translateY(0); }
}

/* Scroll-Indikator unten im Hero */
.hero__scroll {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 28px;
	margin-inline: auto;
	width: max-content;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	color: var(--muted);
	font-family: var(--font-display);
	font-size: 10px;
	letter-spacing: 0.4em;
	text-transform: uppercase;
	text-decoration: none;
	opacity: 0;
	animation: rise 0.9s var(--ease-out) 1.1s forwards;
}

.hero__scroll:hover { color: var(--rust-hi); }

.hero__scroll-line {
	width: 1px;
	height: 44px;
	background: linear-gradient(180deg, transparent, var(--rust-hi));
	position: relative;
	overflow: hidden;
}

.hero__scroll-line::after {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--ink);
	transform: translateY(-100%);
	animation: scroll-drip 2.2s ease-in-out infinite;
}

@keyframes scroll-drip {
	0% { transform: translateY(-100%); }
	55% { transform: translateY(100%); }
	100% { transform: translateY(100%); }
}

/* ---------- Scroll-Reveal ---------- */

.reveal {
	opacity: 0;
	transform: translateY(32px);
	transition:
		opacity 0.9s var(--ease-out) var(--d, 0ms),
		transform 0.9s var(--ease-out) var(--d, 0ms);
}

.reveal--zoom { transform: translateY(16px) scale(0.94); }
.reveal--left { transform: translateX(-40px); }
.reveal--right { transform: translateX(40px); }

.reveal.is-visible { opacity: 1; transform: translateY(0) translateX(0) scale(1); }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.reveal, .hero__line, .hero__sub, .hero__cta, .hero__scroll { opacity: 1; transform: none; animation: none; transition: none; clip-path: none; }
	.hero__media img { animation: none; transform: none; }
	.hero__scroll-line::after { animation: none; }
	.section__title.reveal::after { transform: translateX(-50%) scaleX(1); transition: none; }
}

/* Hero-CTA: weicher Glow-Puls (läuft erst nach der Einblendung, siehe .is-in) */
@keyframes cta-glow {
	0%, 100% { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), inset 0 0 0 3px rgba(0, 0, 0, 0.18), 0 6px 18px rgba(0, 0, 0, 0.45); }
	50% { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), inset 0 0 0 3px rgba(0, 0, 0, 0.18), 0 6px 28px rgba(207, 100, 56, 0.5); }
}

/* ---------- Services ---------- */

.services__track {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
}

.service-card {
	/* Beton-Karte wie in der Vorlage: Textur + Vignette an den Rändern */
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 40%),
		url("../img/tex-concrete-card.jpg") var(--card);
	background-size: auto, 1024px 1024px;
	border: 1px solid var(--card-edge);
	box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.4);
	padding: 30px 28px 28px;
	position: relative;
	transition: transform 0.35s var(--ease-out), border-color 0.35s, box-shadow 0.35s;
}

.service-card::before {
	content: "";
	position: absolute;
	inset: 0 auto 0 0;
	width: 3px;
	background: var(--rust);
	transform: scaleY(0);
	transform-origin: top;
	transition: transform 0.4s var(--ease-out);
}

/* Jede Karte zeigt einen anderen Textur-Ausschnitt – wirkt sonst kopiert */
.service-card:nth-child(2) { background-position: 0 0, -340px -180px; }
.service-card:nth-child(3) { background-position: 0 0, -680px -420px; }

.service-card:hover {
	transform: translateY(-8px);
	border-color: rgba(207, 100, 56, 0.4);
	box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.4), 0 18px 40px rgba(0, 0, 0, 0.45);
}

.service-card:hover::before { transform: scaleY(1); }

.service-card__title {
	font-size: 22px;
	letter-spacing: 0.1em;
	margin-bottom: 12px;
}

.service-card__text {
	color: var(--muted);
	font-size: 15px;
	min-height: 4.5em;
	margin: 0 0 18px;
}

.service-card__icon {
	width: 34px;
	height: 34px;
	color: var(--rust-hi);
	margin-bottom: 16px;
}

.service-card__icon svg { width: 100%; height: 100%; }

.service-card__media {
	margin: 0 0 20px;
	overflow: hidden;
	border: 1px solid var(--card-edge);
}

.service-card__media img {
	aspect-ratio: 3 / 2;
	width: 100%;
	object-fit: cover;
	filter: saturate(0.85) contrast(1.05);
	transition: transform 0.6s var(--ease-out);
}

.service-card:hover .service-card__media img { transform: scale(1.06); }

.service-card__price {
	display: flex;
	align-items: baseline;
	gap: 10px;
	margin: 0;
}

.service-card__from {
	font-family: var(--font-display);
	font-size: 12px;
	letter-spacing: 0.24em;
	color: var(--muted);
}

.service-card__amount {
	font-family: var(--font-display);
	font-size: 34px;
	font-weight: 700;
	color: var(--ink);
}

.services__dots {
	display: none;
	justify-content: center;
	gap: 2px;
	margin-top: 20px;
}

/* Punkte klein gezeichnet, aber mit großer Tap-Fläche (Touch-Target ≥ 40px) */
.services__dots button {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: 0;
	background: none;
	cursor: pointer;
	position: relative;
	padding: 0;
}

.services__dots button::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 9px;
	height: 9px;
	border-radius: 50%;
	transform: translate(-50%, -50%);
	background: var(--steel);
	transition: background 0.3s, transform 0.3s;
}

.services__dots button.is-active::after {
	background: var(--rust-hi);
	transform: translate(-50%, -50%) scale(1.3);
}

/* ---------- The Craft (Galerie) ---------- */

.craft { padding-top: 40px; }

.craft__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 14px;
}

.craft__item {
	padding: 0;
	border: 1px solid var(--card-edge);
	background: var(--panel);
	cursor: zoom-in;
	overflow: hidden;
	position: relative;
}

.craft__item img {
	aspect-ratio: 1 / 1;
	width: 100%;
	object-fit: cover;
	filter: grayscale(0.35) contrast(1.05);
	transition: transform 0.6s var(--ease-out), filter 0.4s;
}

.craft__item:hover img {
	transform: scale(1.07);
	filter: grayscale(0) contrast(1.05);
}

.craft__item::after {
	content: "";
	position: absolute;
	inset: 0;
	box-shadow: inset 0 0 0 0 var(--rust-hi);
	transition: box-shadow 0.3s;
	pointer-events: none;
}

.craft__item:hover::after { box-shadow: inset 0 0 0 2px var(--rust-hi); }

/* Lightbox */

.lightbox[hidden] { display: none; }

.lightbox {
	position: fixed;
	inset: 0;
	z-index: 200;
	background: rgba(14, 13, 11, 0.94);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 40px;
}

.lightbox img {
	max-width: min(1000px, 100%);
	max-height: 85vh;
	border: 1px solid var(--card-edge);
	box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7);
	animation: rise 0.4s var(--ease-out);
}

.lightbox__close {
	position: absolute;
	top: 20px;
	right: 28px;
	font-size: 44px;
	line-height: 1;
	color: var(--ink);
	background: none;
	border: 0;
	cursor: pointer;
}

.lightbox__close:hover { color: var(--rust-hi); }

/* ---------- Team (Rost-Band) ---------- */

.section--rust {
	--fade: 170px;
	padding: 150px 0;
	position: relative;
}

/* Leder liegt auf einer maskierten Ebene: an den Rändern wird die Textur selbst
   transparent und der Beton dahinter scheint durch – echtes Outfade statt Overlay. */
.section--rust::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		var(--noise),
		url("../img/tex-leather-rust.jpg");
	background-size: 120px 120px, 1536px 1536px;
	-webkit-mask-image: linear-gradient(180deg,
		transparent 0,
		rgba(0, 0, 0, 0.2) calc(var(--fade) * 0.35),
		rgba(0, 0, 0, 0.75) calc(var(--fade) * 0.75),
		#000 var(--fade),
		#000 calc(100% - var(--fade)),
		rgba(0, 0, 0, 0.75) calc(100% - var(--fade) * 0.75),
		rgba(0, 0, 0, 0.2) calc(100% - var(--fade) * 0.35),
		transparent 100%);
	mask-image: linear-gradient(180deg,
		transparent 0,
		rgba(0, 0, 0, 0.2) calc(var(--fade) * 0.35),
		rgba(0, 0, 0, 0.75) calc(var(--fade) * 0.75),
		#000 var(--fade),
		#000 calc(100% - var(--fade)),
		rgba(0, 0, 0, 0.75) calc(100% - var(--fade) * 0.75),
		rgba(0, 0, 0, 0.2) calc(100% - var(--fade) * 0.35),
		transparent 100%);
	pointer-events: none;
}

.section--rust > .wrap { position: relative; z-index: 1; }

.section--rust .section__title { color: #f7efe4; }
.section--rust .section__title::after { background: linear-gradient(90deg, transparent, #f7efe4, transparent); }

.team__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
}

.team-card {
	/* Beton-Panel wie Vorlage: Textur statt flacher Fläche */
	background: url("../img/tex-concrete-card.jpg") rgba(20, 18, 16, 0.85);
	background-size: 1024px 1024px;
	border: 1px solid rgba(0, 0, 0, 0.45);
	box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.45), 0 14px 34px rgba(0, 0, 0, 0.35);
	overflow: hidden;
	transition: transform 0.35s var(--ease-out), box-shadow 0.35s;
}

.team-card:nth-child(2) { background-position: -360px -200px; }
.team-card:nth-child(3) { background-position: -720px -440px; }

.team-card:hover {
	transform: translateY(-8px);
	box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.45), 0 24px 50px rgba(0, 0, 0, 0.5);
}

.team-card__media { overflow: hidden; }

.team-card__media img {
	aspect-ratio: 4 / 5;
	width: 100%;
	object-fit: cover;
	filter: grayscale(0.5) contrast(1.08);
	transition: transform 0.6s var(--ease-out), filter 0.4s;
}

.team-card:hover .team-card__media img {
	transform: scale(1.05);
	filter: grayscale(0.1) contrast(1.05);
}

.team-card__body { padding: 20px 22px 24px; }

.team-card__name {
	font-size: 20px;
	letter-spacing: 0.16em;
	color: #f7efe4;
	margin-bottom: 8px;
	position: relative;
	padding-bottom: 10px;
}

.team-card__name::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 28px;
	height: 2px;
	background: var(--rust-hi);
}

.team-card__bio {
	color: rgba(240, 230, 216, 0.75);
	font-size: 14px;
	margin: 0;
}

/* ---------- Booking (Metall-Panel) ---------- */

.booking__panel {
	position: relative;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 30%),
		url("../img/tex-concrete-card.jpg") var(--panel);
	background-size: auto, 1024px 1024px;
	border: 1px solid var(--card-edge);
	box-shadow:
		inset 0 0 0 6px var(--bg-deep),
		inset 0 0 0 7px rgba(255, 255, 255, 0.06),
		0 24px 60px rgba(0, 0, 0, 0.5);
	padding: 44px 40px 40px;
	display: grid;
	gap: 16px;
}

/* Schrauben in den Ecken */
.booking__screw {
	position: absolute;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: radial-gradient(circle at 35% 30%, #cfc4b2, #554a3c 75%);
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.7), inset 0 -1px 2px rgba(0, 0, 0, 0.5);
}

.booking__screw::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 15%;
	right: 15%;
	height: 1.5px;
	background: rgba(0, 0, 0, 0.55);
	transform: translateY(-50%) rotate(-40deg);
}

.booking__screw--tl { top: 14px; left: 14px; }
.booking__screw--tr { top: 14px; right: 14px; }
.booking__screw--bl { bottom: 14px; left: 14px; }
.booking__screw--br { bottom: 14px; right: 14px; }

.booking__row {
	display: grid;
	/* minmax(0,1fr): verhindert, dass die native Breite der iOS-Datumsfelder die Spalte sprengt */
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 16px;
}

.booking__field { display: block; min-width: 0; }
.booking__field[hidden] { display: none; }

.booking__field input,
.booking__field select {
	width: 100%;
	max-width: 100%;
	min-width: 0;
	box-sizing: border-box;
	/* iOS Safari: native Optik & Eigenbreite der Date/Time-Felder abschalten */
	-webkit-appearance: none;
	appearance: none;
	border-radius: 0;
	background: var(--bg-deep);
	border: 1px solid var(--card-edge);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 16px; /* 16px verhindert Auto-Zoom beim Fokussieren auf iOS */
	padding: 13px 16px;
	transition: border-color 0.3s, box-shadow 0.3s;
	color-scheme: dark;
}

/* iOS rendert leere Date/Time-Felder sonst zu flach bzw. mit Eigenbreite */
.booking__field input[type="date"],
.booking__field input[type="time"] {
	display: block;
	min-height: 49px;
	-webkit-min-logical-width: 0;
}

.booking__field input[type="date"]::-webkit-date-and-time-value,
.booking__field input[type="time"]::-webkit-date-and-time-value {
	text-align: left;
}

/* appearance:none entfernt den Select-Pfeil – eigenen Chevron ergänzen */
.booking__field select {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%239d968a' stroke-width='2'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 16px center;
	padding-right: 40px;
}

.booking__field input::placeholder { color: var(--muted); }

.booking__field input:focus,
.booking__field select:focus {
	outline: none;
	border-color: var(--rust-hi);
	box-shadow: 0 0 0 3px rgba(207, 100, 56, 0.18);
}

.booking__field select:invalid { color: var(--muted); }

/* DSGVO-Checkbox */
.booking__privacy {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	font-size: 13px;
	line-height: 1.5;
	color: var(--muted);
	cursor: pointer;
	margin-top: 4px;
}

.booking__privacy input[type="checkbox"] {
	flex: none;
	width: 18px;
	height: 18px;
	margin: 1px 0 0;
	accent-color: var(--rust-hi);
	cursor: pointer;
}

.booking__privacy a {
	color: var(--rust-hi);
	text-decoration: underline;
}

.booking__privacy a:hover { color: var(--ink); }

.booking__submit { justify-self: center; margin-top: 10px; min-width: 220px; }

.booking__hp { position: absolute; left: -9999px; }

.booking__notice {
	text-align: center;
	font-family: var(--font-display);
	letter-spacing: 0.06em;
	padding: 14px 18px;
	margin-bottom: 24px;
	border: 1px solid;
}

.booking__notice--ok { color: #9fd8a4; border-color: rgba(120, 200, 130, 0.4); background: rgba(60, 120, 70, 0.12); }
.booking__notice--error { color: #e89a8a; border-color: rgba(220, 120, 100, 0.4); background: rgba(150, 60, 40, 0.12); }

/* ---------- Footer ---------- */

.site-footer {
	/* Beton-Optik wie der Body, nur dunkler abgesetzt */
	background:
		linear-gradient(180deg, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.62)),
		var(--noise),
		url("../img/tex-concrete-dark.jpg") #0e0d0b;
	background-size: auto, 120px 120px, 1536px 1536px;
	padding: 78px 0 0;
	border-top: 0;
	position: relative;
}

/* Leder-Akzentstreifen als Abschluss zwischen Seite und Footer */
.site-footer::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 7px;
	background: url("../img/tex-leather-rust.jpg");
	background-size: 1536px 1536px;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.6), inset 0 -2px 3px rgba(0, 0, 0, 0.45);
}

.site-footer__grid {
	display: grid;
	grid-template-columns: 1.2fr 1fr 1.4fr;
	gap: 48px;
	padding-bottom: 48px;
}

.site-footer__label {
	font-size: 14px;
	letter-spacing: 0.22em;
	color: var(--ink);
	margin: 0 0 10px;
}

.site-footer__label:not(:first-child) { margin-top: 28px; }

.site-footer__text { color: var(--muted); font-size: 15px; margin: 0; }
.site-footer__text a { color: var(--muted); }
.site-footer__text a:hover { color: var(--rust-hi); }

.site-footer__pin { color: var(--rust-hi); margin-right: 6px; }

/* PLZ/Ort in zweiter Zeile, bündig unter der Straße (Pin-Breite eingerückt) */
.site-footer__city { padding-left: 1.25em; }

/* Öffnungszeiten: Tage untereinander, Zeit rechtsbündig ausgerichtet */
.site-footer__hours {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 6px 24px;
	margin: 0;
	font-size: 15px;
}

.site-footer__hours dt { color: var(--muted); }

.site-footer__hours dd {
	margin: 0;
	color: var(--ink);
	font-variant-numeric: tabular-nums;
}

.site-footer__brand { margin-top: 36px; display: flex; flex-direction: column; gap: 6px; }
.site-footer__brand .brand__line1 { font-size: 20px; }
.site-footer__brand .brand__sub { color: var(--muted); }

.site-footer__menu { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer__menu a { color: var(--muted); font-size: 14px; text-transform: uppercase; font-family: var(--font-display); letter-spacing: 0.1em; }
.site-footer__menu a:hover { color: var(--rust-hi); }

.site-footer__map {
	border: 1px solid var(--card-edge);
	aspect-ratio: 16 / 9;
	overflow: hidden;
}

.site-footer__map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(0.9) contrast(0.9); }

/* DSGVO: Karte lädt erst nach Klick */
.map-consent {
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 14px;
	background:
		radial-gradient(ellipse at center, rgba(177, 80, 46, 0.12), transparent 70%),
		var(--panel);
	border: 0;
	cursor: pointer;
	color: var(--muted);
	font-family: var(--font-body);
	font-size: 13px;
	padding: 20px;
	text-align: center;
}

.map-consent strong {
	font-family: var(--font-display);
	font-size: 14px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--ink);
}

.map-consent:hover strong { color: var(--rust-hi); }

.site-footer__map--empty {
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--muted);
	font-size: 13px;
	background: var(--panel);
}

.site-footer__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 20px 0;
	border-top: 1px solid var(--card-edge);
}

.site-footer__social { display: flex; gap: 18px; }

.site-footer__social a {
	color: var(--muted);
	transition: color 0.3s, transform 0.3s;
	display: inline-flex;
}

.site-footer__social a:hover { color: var(--rust-hi); transform: translateY(-2px); }

.site-footer__copy {
	font-family: var(--font-display);
	font-size: 11px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--muted);
	margin: 0;
}

.site-footer__legal {
	display: flex;
	gap: 20px;
}

.site-footer__legal a {
	font-family: var(--font-display);
	font-size: 11px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--muted);
}

.site-footer__legal a:hover { color: var(--rust-hi); }

/* ---------- Blog / Seiten ---------- */

.page-shell { padding-top: 160px; min-height: 60vh; }

.post-card {
	background: var(--card);
	border: 1px solid var(--card-edge);
	padding: 28px;
	margin-bottom: 28px;
}

.post-card__title { font-size: 26px; }
.post-card__title a { color: var(--ink); }
.post-card__title a:hover { color: var(--rust-hi); }

.post-card__meta {
	font-family: var(--font-display);
	font-size: 12px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--rust-hi);
	margin-bottom: 14px;
}

.post-card__media { margin-bottom: 20px; }
.post-card__media img { width: 100%; }

.post-card__excerpt, .entry-content { color: var(--muted); }
.entry-content a { text-decoration: underline; }

.pagination-nav .nav-links { display: flex; gap: 12px; justify-content: center; }
.pagination-nav .page-numbers {
	font-family: var(--font-display);
	padding: 8px 14px;
	border: 1px solid var(--card-edge);
	color: var(--ink);
}
.pagination-nav .page-numbers.current { background: var(--rust); border-color: var(--rust); }

.error-404 { text-align: center; }
.error-404 .section__title { font-size: 120px; }
.error-404 p { color: var(--muted); margin-bottom: 32px; }

/* ---------- WhatsApp-Widget (Floating Button + Chatfenster) ---------- */

.wa-fab {
	position: fixed;
	right: 22px;
	bottom: 22px;
	z-index: 150;
	width: 58px;
	height: 58px;
	border-radius: 50%;
	border: 0;
	background: #25d366;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
	transition: transform 0.25s var(--ease-out), box-shadow 0.25s;
}

.wa-fab:hover { transform: scale(1.08); box-shadow: 0 12px 30px rgba(37, 211, 102, 0.4); }

.wa-fab svg { width: 30px; height: 30px; }

/* Puls-Ring hinter dem Button */
.wa-fab::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 50%;
	background: rgba(37, 211, 102, 0.5);
	z-index: -1;
	animation: wa-pulse 2.4s ease-out infinite;
}

@keyframes wa-pulse {
	0% { transform: scale(1); opacity: 0.7; }
	70%, 100% { transform: scale(1.7); opacity: 0; }
}

.wa-chat {
	position: fixed;
	right: 22px;
	bottom: 94px;
	z-index: 150;
	width: min(340px, calc(100vw - 44px));
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
	transform-origin: bottom right;
	transform: scale(0.6) translateY(20px);
	opacity: 0;
	pointer-events: none;
	transition: transform 0.35s var(--ease-out), opacity 0.3s;
}

.wa-chat.is-open {
	transform: scale(1) translateY(0);
	opacity: 1;
	pointer-events: auto;
}

.wa-chat__header {
	display: flex;
	align-items: center;
	gap: 12px;
	background: #075e54;
	color: #fff;
	padding: 14px 16px;
}

.wa-chat__avatar {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--rust);
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 15px;
	flex: none;
}

.wa-chat__name {
	font-family: var(--font-display);
	font-size: 15px;
	letter-spacing: 0.06em;
	line-height: 1.2;
}

.wa-chat__status { font-size: 12px; opacity: 0.8; display: flex; align-items: center; gap: 5px; }

.wa-chat__status::before {
	content: "";
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #25d366;
}

.wa-chat__close {
	margin-left: auto;
	background: none;
	border: 0;
	color: #fff;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
	opacity: 0.8;
	padding: 4px;
}

.wa-chat__close:hover { opacity: 1; }

.wa-chat__body {
	background: url("../img/tex-concrete-dark.jpg") var(--bg-deep);
	background-size: 768px 768px;
	padding: 18px 16px 20px;
	min-height: 110px;
}

.wa-chat__bubble {
	background: var(--panel);
	color: var(--ink);
	font-size: 14px;
	line-height: 1.5;
	padding: 10px 14px;
	border-radius: 4px 12px 12px 12px;
	max-width: 85%;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
	opacity: 0;
	transform: translateY(10px);
	transition: opacity 0.4s var(--ease-out) 0.25s, transform 0.4s var(--ease-out) 0.25s;
}

.wa-chat.is-open .wa-chat__bubble { opacity: 1; transform: translateY(0); }

.wa-chat__footer {
	display: flex;
	gap: 8px;
	background: var(--bg-deep);
	border-top: 1px solid var(--card-edge);
	padding: 10px;
}

.wa-chat__input {
	flex: 1;
	background: var(--panel);
	border: 1px solid var(--card-edge);
	border-radius: 20px;
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 14px;
	padding: 9px 16px;
}

.wa-chat__input:focus { outline: none; border-color: #25d366; }

.wa-chat__send {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: 0;
	background: #25d366;
	color: #fff;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	flex: none;
	transition: transform 0.2s var(--ease-out);
}

.wa-chat__send:hover { transform: scale(1.1); }
.wa-chat__send svg { width: 18px; height: 18px; margin-left: 2px; }

@media (prefers-reduced-motion: reduce) {
	.wa-fab::before { animation: none; }
}

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
	.site-footer__grid { grid-template-columns: 1fr 1fr; }
	.site-footer__col--map { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
	.section { padding: 72px 0; }

	.nav-toggle { display: flex; }

	.site-nav {
		position: fixed;
		top: 0;
		right: 0;
		height: 100dvh;
		width: min(320px, 82vw);
		background: rgba(16, 15, 13, 0.98);
		backdrop-filter: blur(12px);
		flex-direction: column;
		align-items: flex-start;
		justify-content: center;
		padding: 40px 36px;
		gap: 32px;
		transform: translateX(100%);
		transition: transform 0.4s var(--ease-out);
		box-shadow: -20px 0 60px rgba(0, 0, 0, 0.5);
	}

	.site-nav.is-open { transform: translateX(0); }

	.site-nav__list { flex-direction: column; gap: 22px; }
	.site-nav__list a { font-size: 18px; }

	/* Menüpunkte staffeln sich beim Öffnen ein */
	.site-nav__list li, .site-nav__cta {
		opacity: 0;
		transform: translateX(24px);
		transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out);
	}
	.site-nav.is-open .site-nav__list li, .site-nav.is-open .site-nav__cta { opacity: 1; transform: translateX(0); }
	.site-nav.is-open .site-nav__list li:nth-child(1) { transition-delay: 0.08s; }
	.site-nav.is-open .site-nav__list li:nth-child(2) { transition-delay: 0.14s; }
	.site-nav.is-open .site-nav__list li:nth-child(3) { transition-delay: 0.2s; }
	.site-nav.is-open .site-nav__list li:nth-child(4) { transition-delay: 0.26s; }
	.site-nav.is-open .site-nav__list li:nth-child(5) { transition-delay: 0.32s; }
	.site-nav.is-open .site-nav__cta { transition-delay: 0.4s; }

	/* Services als Slider */
	.services__track {
		display: flex;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		gap: 18px;
		padding-bottom: 8px;
		scrollbar-width: none;
	}
	.services__track::-webkit-scrollbar { display: none; }

	.service-card {
		flex: 0 0 84%;
		scroll-snap-align: center;
	}

	.services__dots { display: flex; }

	.team__grid { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }

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

	.hero { min-height: 86vh; }

	.booking__panel { padding: 36px 24px 32px; }
	.booking__row { grid-template-columns: 1fr; }

	.site-footer__grid { grid-template-columns: 1fr; gap: 36px; }
	.site-footer__bar { flex-direction: column; }
}

@media (max-width: 480px) {
	.craft__grid { grid-template-columns: 1fr 1fr; gap: 10px; }
	.brand__line1 { font-size: 22px; }
	.service-card { flex-basis: 92%; }
}
