/* ==========================================================
   GZ Fugen
   Farben und Typo aus dem bisherigen Elementor Kit übernommen
   ========================================================== */

@font-face { font-family: "Poppins"; font-style: normal; font-weight: 200; font-display: swap; src: url("../fonts/poppins-latin-200-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 300; font-display: swap; src: url("../fonts/poppins-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/poppins-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/poppins-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/poppins-latin-700-normal.woff2") format("woff2"); }

:root {
	--brand: #3b3e43;
	--brand-hover: #707070;
	--black: #000;
	--white: #fff;
	--grey: #e4e4e4;
	--footer-text: #b1b1b1;
	--teal: #32a0a1;
	--line: rgba(0, 0, 0, .14);
	--container: 1140px;
	--gutter: 20px;
	--header-h: 84px;
	--radius: 10px;
	--ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
	font-weight: 300;
	font-size: 16px;
	line-height: 23px;
	color: var(--black);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
ul[role="list"] { list-style: none; margin: 0; padding: 0; }
address { font-style: normal; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: calc(820px + 2 * var(--gutter)); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--white); padding: 8px 14px; }
.skip:focus { left: 8px; }

/* Typo (Kit: Heading 1/2/3/4) */
.h2 {
	font-size: 35px;
	line-height: 40px;
	font-weight: 200;
	text-transform: uppercase;
	letter-spacing: .02em;
	margin-bottom: 28px;
}
.eyebrow {
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--teal);
	margin-bottom: 14px;
}

/* Button (Kit: Primary 600 / 15px) */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	font: 600 15px/18px "Poppins", sans-serif;
	text-transform: uppercase;
	letter-spacing: .08em;
	text-decoration: none;
	color: var(--white);
	background: var(--brand);
	border: 1px solid var(--brand);
	padding: 18px 36px;
	cursor: pointer;
	transition: background .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
}
.btn:hover { background: var(--brand-hover); border-color: var(--brand-hover); }
.btn--light { background: transparent; border-color: var(--white); }
.btn--light:hover { background: var(--white); color: var(--black); border-color: var(--white); }
.btn--block { width: 100%; padding: 30px 50px; }

/* ---------- Header ---------- */
.site-header {
	position: fixed;
	inset: 0 0 auto 0;
	z-index: 50;
	height: var(--header-h);
	color: var(--white);
	transition: background .3s var(--ease), height .3s var(--ease);
}
.site-header.is-solid, .is-sub .site-header { background: var(--black); --header-h: 70px; }
.site-header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; position: relative; z-index: 2; }
.brand img { width: 44px; height: 44px; }
.brand__name { font-weight: 600; font-size: 19px; letter-spacing: .02em; }
.nav { display: flex; align-items: center; gap: 36px; }
.nav ul { display: flex; gap: 32px; list-style: none; margin: 0; padding: 0; }
.nav a { text-decoration: none; font-size: 14px; font-weight: 400; letter-spacing: .08em; text-transform: uppercase; position: relative; padding: 6px 0; }
.nav ul a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--teal); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav ul a:hover::after, .nav ul a.is-current::after { transform: scaleX(1); }
.nav__phone { border: 1px solid rgba(255, 255, 255, .5); padding: 9px 16px !important; letter-spacing: .04em !important; transition: border-color .25s, background .25s; }
.nav__phone:hover { border-color: var(--teal); background: var(--teal); }
.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero {
	position: relative;
	min-height: 900px;
	display: flex;
	align-items: center;
	padding: 100px 0 50px;
	color: var(--white);
	overflow: hidden;
	background: var(--black);
}
.hero__slides, .hero__slide, .hero__overlay { position: absolute; inset: 0; }
.hero__slide { opacity: 0; transition: opacity 1.6s ease; }
.hero__slide.is-active { opacity: 1; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1); }
.hero__slide.is-active img { animation: kenburns 9s linear both; }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.15); } }
.hero__overlay { background: rgba(0, 0, 0, .35); }
.hero__inner { position: relative; z-index: 1; }
.hero__box {
	width: 50%;
	background: rgba(0, 0, 0, .7);
	padding: 95px 120px 95px 50px;
}
.hero__title {
	font-size: 65px;
	line-height: 70px;
	font-weight: 200;
	margin-bottom: 22px;
	letter-spacing: -.01em;
}
.hero__text { margin-bottom: 34px; max-width: 34ch; }

/* ---------- Über uns ---------- */
.about { padding: 95px 0 100px; }
.about__grid { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.about__text { padding: 85px 70px 0 0; }
.about__sign { margin-top: 30px; }
.about__company { font-size: 20px; font-weight: 600; line-height: 28px; margin-bottom: 4px; }
.about__media { position: relative; min-height: 520px; }
.about__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top left; }

/* ---------- Leistungen ---------- */
.services { background: var(--grey); padding: 135px 0; }
.services__intro { max-width: 760px; margin: 0 auto 35px; text-align: center; }
.services__grid {
	display: grid;
	border-top: 1px solid var(--line);
	border-left: 1px solid var(--line);
	margin-top: 60px;
}
.service {
	position: relative;
	padding: 40px 34px 44px;
	border-right: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
	min-height: 170px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 24px;
	transition: background .3s var(--ease), color .3s var(--ease);
}
.service:hover { background: var(--brand); color: var(--white); }
.service__num { font-size: 13px; font-weight: 600; letter-spacing: .16em; color: var(--teal); }
.service__title { font-size: 19px; line-height: 28px; font-weight: 700; hyphens: auto; overflow-wrap: break-word; }
.services__grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.service { grid-column: span 2; }
.service--half { grid-column: span 3; }
.service--full { grid-column: span 6; }

/* ---------- Referenzen ---------- */
.gallery { padding: 135px 0; }
.gallery__intro { max-width: 50%; margin-bottom: 35px; }
.gallery__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.gallery__item { display: block; width: 100%; padding: 0; border: 0; cursor: zoom-in; font: inherit; height: 500px; border-radius: var(--radius); overflow: hidden; background: var(--grey); position: relative; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery__item::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .65); opacity: 0; transition: opacity .3s; }
.gallery__item::before { content: "+"; position: absolute; z-index: 1; left: 50%; top: 50%; transform: translate(-50%, -50%); color: var(--white); font-size: 42px; font-weight: 200; opacity: 0; transition: opacity .3s; }
.gallery__item:hover img { transform: scale(1.05); }
.gallery__item:hover::after { opacity: .4; }
.gallery__item:hover::before { opacity: 1; }

/* ---------- Kontakt ---------- */
.contact { padding: 100px 0; }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; }
.contact__form { padding: 68px 0 0 80px; }
.contact__map { height: 423px; background: var(--grey); }
.contact__map iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(.2); }
.contact__tiles { display: grid; grid-template-columns: 1fr 1fr; }
.tile { display: block; padding: 40px 50px; color: var(--white); text-decoration: none; transition: filter .25s; }
.tile:hover { filter: brightness(1.15); }
.tile--mid { background: var(--brand-hover); }
.tile--dark { background: var(--brand); }
.tile__label { display: block; font-size: 19px; line-height: 28px; font-weight: 700; margin-bottom: 6px; }
.tile__value { display: block; font-size: 16px; line-height: 23px; font-weight: 300; word-break: break-word; }

.form__row { margin-bottom: 20px; }
.form label { display: block; font-weight: 400; margin-bottom: 6px; }
.form input, .form textarea {
	width: 100%;
	font: inherit;
	color: var(--black);
	background: var(--white);
	border: 1px solid var(--brand);
	border-radius: 0;
	padding: 12px 14px;
	transition: border-color .2s, box-shadow .2s;
}
.form input:focus, .form textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(50, 160, 161, .18); }
.form textarea { resize: vertical; min-height: 140px; }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { padding: 16px 18px; margin-bottom: 24px; border-left: 4px solid; }
.notice--ok { background: #e8f5f5; border-color: var(--teal); }
.notice--err { background: #fbeaea; border-color: #e74343; }

/* ---------- Unterseiten ---------- */
.subpage { padding: calc(70px + 70px) 0 100px; min-height: 60vh; }
.subpage .page__content h2 { font-size: 23px; line-height: 28px; font-weight: 700; margin: 1.6em 0 .6em; }
.subpage .page__content h3 { font-size: 19px; font-weight: 700; margin: 1.4em 0 .5em; }
.subpage .page__content a { color: var(--teal); }

/* ---------- Footer ---------- */
.site-footer { background: var(--black); color: var(--footer-text); padding: 70px 0 30px; font-size: 15px; }
.site-footer a { text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: var(--white); }
.site-footer strong { color: var(--white); font-weight: 600; }
.site-footer__inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; align-items: start; }
.site-footer__brand img { width: 150px; }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 50px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 13px; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(0, 0, 0, .92); display: flex; align-items: center; justify-content: center; }
.lightbox[hidden] { display: none; }
.lightbox__img { max-width: 92vw; max-height: 86vh; object-fit: contain; }
.lightbox__btn { position: absolute; background: none; border: 0; color: var(--white); font-size: 48px; line-height: 1; width: 64px; height: 64px; cursor: pointer; opacity: .8; }
.lightbox__btn:hover { opacity: 1; }
.lightbox__close { top: 12px; right: 12px; }
.lightbox__prev { left: 8px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 8px; top: 50%; transform: translateY(-50%); }
.lightbox__count { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); color: var(--footer-text); font-size: 13px; letter-spacing: .1em; }

/* ---------- Tablet ---------- */
@media (max-width: 1024px) {
	.hero__box { width: 70%; padding: 65px 30px; }
	.about__text { padding: 65px 30px 0 0; }
	.services, .gallery { padding: 65px 0; }
	.contact { padding: 65px 0; }
	.contact__grid { grid-template-columns: 1fr; }
	.contact__form { padding: 65px 0 0; }
	.tile { padding: 30px; text-align: center; }
	.gallery__intro { max-width: 100%; }
	.gallery__item { height: 380px; }
}

/* ---------- Mobile Navigation ---------- */
@media (max-width: 900px) {
	:root { --header-h: 70px; }
	.nav-toggle {
		display: block; position: relative; z-index: 2;
		width: 44px; height: 44px; background: none; border: 0; cursor: pointer; color: inherit;
	}
	.nav-toggle__bar, .nav-toggle__bar::before, .nav-toggle__bar::after {
		position: absolute; left: 10px; width: 24px; height: 2px; background: currentColor; transition: transform .3s var(--ease), opacity .2s;
	}
	.nav-toggle__bar { top: 21px; }
	.nav-toggle__bar::before, .nav-toggle__bar::after { content: ""; left: 0; }
	.nav-toggle__bar::before { top: -7px; }
	.nav-toggle__bar::after { top: 7px; }
	.nav-toggle[aria-expanded="true"] .nav-toggle__bar { background: transparent; }
	.nav-toggle[aria-expanded="true"] .nav-toggle__bar::before { transform: translateY(7px) rotate(45deg); }
	.nav-toggle[aria-expanded="true"] .nav-toggle__bar::after { transform: translateY(-7px) rotate(-45deg); }
	.nav {
		position: fixed; inset: 0; background: var(--black);
		flex-direction: column; justify-content: center; gap: 40px;
		opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
	}
	.nav.is-open { opacity: 1; visibility: visible; }
	.nav ul { flex-direction: column; align-items: center; gap: 22px; }
	.nav ul a { font-size: 22px; font-weight: 200; }
	body.nav-open { overflow: hidden; }
}

/* ---------- Mobile ---------- */
@media (max-width: 767px) {
	.h2 { font-size: 28px; line-height: 34px; }
	.hero { min-height: 100svh; padding: 90px 0 30px; align-items: flex-end; }
	.hero__box { width: 100%; padding: 40px 26px; text-align: center; }
	.hero__title { font-size: 44px; line-height: 50px; }
	.hero__text { margin-left: auto; margin-right: auto; }
	.about { padding: 65px 0 0; }
	.about__grid { grid-template-columns: 1fr; }
	.about__text { padding: 0 0 50px; text-align: center; }
	.about__media { min-height: 300px; margin: 0 calc(-1 * var(--gutter)); }
	.services__intro { text-align: center; }
	.services__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 40px; }
	.service, .service--half { grid-column: span 1; }
	.service--full, .service:last-child:nth-child(odd) { grid-column: span 2; }
	.service { padding: 24px 18px; min-height: 130px; }
	.service__title { font-size: 16px; line-height: 22px; }
	.gallery__intro { text-align: center; }
	.gallery__grid { grid-template-columns: 1fr 1fr; gap: 8px; }
	.gallery__item { height: 250px; }
	.contact__map { height: 400px; margin: 0 calc(-1 * var(--gutter)); }
	.contact .h2 { text-align: center; }
	.contact__tiles { grid-template-columns: 1fr; margin: 0 calc(-1 * var(--gutter)); }
	.btn--block { padding: 24px; }
	.site-footer { text-align: center; }
	.site-footer__inner { grid-template-columns: 1fr; gap: 24px; justify-items: center; }
	.site-footer__bottom { flex-direction: column; align-items: center; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; }
	html { scroll-behavior: auto; }
}
