@charset "utf-8";

/* ==========================================================================
   lets-click.de GmbH — Stylesheet
   Nachbau des Joomla-Templates "vg_laboratory" als statisches HTML5
   ========================================================================== */

/* --------------------------------------------------------------- Schriften */
@font-face {
	font-family: 'Exo';
	src: url('../fonts/exo-regular-webfont.woff') format('woff'),
	     url('../fonts/exo-regular-webfont.ttf') format('truetype');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Exo';
	src: url('../fonts/exo-bold-webfont.woff') format('woff'),
	     url('../fonts/exo-bold-webfont.ttf') format('truetype');
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Exo';
	src: url('../fonts/exo-extrabold-webfont.woff') format('woff'),
	     url('../fonts/exo-extrabold-webfont.ttf') format('truetype');
	font-weight: 800;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Exo';
	src: url('../fonts/exo-medium-webfont.woff') format('woff'),
	     url('../fonts/exo-medium-webfont.ttf') format('truetype');
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Exo';
	src: url('../fonts/exo-thin-webfont.woff') format('woff'),
	     url('../fonts/exo-thin-webfont.ttf') format('truetype');
	font-weight: 200;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Juergen';
	src: url('../fonts/juergen-webfont.woff') format('woff'),
	     url('../fonts/juergen-webfont.ttf') format('truetype');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

/* ------------------------------------------------------------------ Tokens */
:root {
	--dark: #23272a;
	--orange: #fc5703;
	--orange-dark: #a13600;
	--orange-deep: #5e2906;
	--light: #d9d9d9;
	--text: #333;
	--heading: #464a55;
	--nav-height: 45px;
	--container: 960px;
	--gutter: 10px;

	--font-body: 'Exo', Arial, Helvetica, sans-serif;
	--font-script: 'Juergen', Arial, sans-serif;
}

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

html {
	scroll-behavior: smooth;
	scroll-padding-top: var(--nav-height);
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after {
		animation-duration: .001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .001ms !important;
	}
}

body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 14px;
	line-height: 1.4;
	background: var(--dark);
	-webkit-font-smoothing: antialiased;
	text-size-adjust: 100%;
	/* Lange URLs im Impressum sprengen sonst auf schmalen Displays das Layout */
	overflow-wrap: break-word;
}

a { overflow-wrap: anywhere; }

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

h1, h2, h3, h4, h5, h6 { font-weight: normal; color: var(--heading); }
h1 { font-size: 101px; }
h2 { font-size: 58px; }
h3 { font-size: 30px; }
h4 { font-size: 18px; font-weight: 700; }
h5 { font-size: 14px; }
h6 { font-size: 12px; }

p { font-size: 14px; color: var(--text); font-family: Arial, Helvetica, sans-serif; }

a { color: var(--orange); text-decoration: none; }
a:hover, a:focus-visible { color: #fff; }

:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }

.sr-only {
	position: absolute;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

.container {
	width: var(--container);
	max-width: calc(100% - 2 * var(--gutter));
	margin: 0 auto;
	position: relative;
}

/* -------------------------------------------------------------- Slideshow */
#slideshow {
	position: fixed;
	inset: 0;
	margin: 0;
	padding: 0;
	list-style: none;
	z-index: 0;
	background: #111;
	overflow: hidden;
}
#slideshow li {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	opacity: 0;
	transform: translateY(100%);
	transition: opacity .4s ease, transform .4s ease;
}
#slideshow li.is-active {
	opacity: 1;
	transform: translateY(0);
	z-index: 2;
}
#slideshow li.is-leaving {
	opacity: 1;
	transform: translateY(0);
	z-index: 1;
}

#progress-back {
	position: fixed;
	bottom: calc(var(--nav-height) - 3px);
	left: 0;
	width: 100%;
	height: 8px;
	z-index: 3;
	background: url('../img/progress-back.png') repeat-x;
	transition: opacity .3s ease;
}
#progress-bar {
	height: 8px;
	width: 100%;
	background: url('../img/progress-bar.png') repeat-x;
	transform-origin: left center;
}
body.is-scrolled #progress-back { opacity: 0; pointer-events: none; }

/* --------------------------------------------------------- Wrapper/Header */
.body-wrapper {
	position: relative;
	z-index: 10;
}

#header {
	height: calc(100vh - var(--nav-height));
	min-height: 320px;
}

/* --------------------------------------------------------------- Navigation */
#nav {
	position: sticky;
	top: 0;
	z-index: 100;
	height: var(--nav-height);
	background: var(--orange);
	border-top: 1px solid var(--orange-dark);
	border-bottom: 1px solid var(--orange-dark);
	box-shadow: 0 1px 2px var(--orange-dark);
}
#nav ul {
	list-style: none;
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 0 46px;
	max-width: 940px;
	margin: 0 auto;
	padding: 0;
	height: var(--nav-height);
	align-items: center;
}
#nav li { font-size: 18px; line-height: 1; }
#nav a {
	color: #fff;
	font-weight: 700;
	transition: color .7s ease-in;
}
#nav a:hover,
#nav a:focus-visible,
#nav li.current a { color: var(--orange-deep); }

.nav-toggle { display: none; }

/* ------------------------------------------------------------- Sektionen */
.vg-block {
	padding-bottom: 50px;
	position: relative;
}
.vg-color-1 { background: #fff; }
.vg-color-2 { background: var(--dark); }

.vg-color-2 p,
.vg-color-2 h1, .vg-color-2 h2, .vg-color-2 h3,
.vg-color-2 h4, .vg-color-2 h5, .vg-color-2 h6,
.vg-color-2 li, .vg-color-2 td { color: #fff; }

.c-white p, .c-white h4 { color: #fff; }

/* Sektionsüberschrift */
.section-title {
	padding: 34px 0 22px;
	margin-bottom: 60px;
	border-bottom: 1px dashed var(--light);
	display: flex;
	align-items: flex-end;
	gap: 50px;
}
.section-title .vg-title {
	margin: 0;
	padding: 0;
	font-weight: 800;
	text-transform: uppercase;
	line-height: 1;
	color: var(--light);
}
.section-title p {
	margin: 0 0 12px;
	padding: 15px 0 0 50px;
	border-left: 1px solid var(--light);
	font-family: var(--font-script);
	font-size: 30px;
	color: var(--light);
	min-height: 60px;
}
.vg-color-2 .section-title .vg-title,
.vg-color-2 .section-title p { color: #fff; }
.vg-color-2 .section-title { border-bottom-color: var(--light); }

/* Auf hellen Sektionen war der Titel im Original #d9d9d9 und damit kaum lesbar */
.vg-color-1 .section-title .vg-title { color: var(--heading); }
.vg-color-1 .section-title p { color: #6f757b; }

.block-text { margin-top: 40px; }
.block-text h4 { text-transform: uppercase; }

/* ------------------------------------------------------------------- Wir */
.idea {
	display: flex;
	gap: 20px;
	margin-bottom: 30px;
}
.idea-desc { flex: 0 1 460px; }
.idea-desc h1 { margin: 0; padding: 0; font-weight: bold; line-height: 1.05; }
h1.n1 { font-size: 83px; font-weight: 500; color: var(--text); margin-bottom: -18px; }
h1.n2 { font-size: 55px; font-weight: 200; color: var(--text); margin-bottom: -14px; }
h1.n3 { font-size: 94px; font-weight: 700; color: var(--orange); }
.idea-desc h4 { text-transform: uppercase; margin: 0 0 10px; }

.idea-icons {
	flex: 0 0 460px;
	height: 550px;
	position: relative;
	background: url('../img/idea.png') no-repeat 94% 0;
}
.idea-icons .icons {
	position: absolute;
	top: 0;
	left: 0;
	opacity: 0;
	transform: scale(.6);
	transition: opacity .35s ease, transform .35s ease;
}
.idea-icons.is-visible .icons { opacity: 1; transform: scale(1); }

.icon0  { margin: 129px 0 0 122px; }
.icon1  { margin:  95px 0 0 241px; }
.icon2  { margin:  33px 0 0 222px; }
.icon3  { margin:  58px 0 0 291px; }
.icon4  { margin:  72px 0 0 150px; }
.icon5  { margin: 135px 0 0 279px; }
.icon6  { margin: 136px 0 0 225px; }
.icon7  { margin: 106px 0 0 322px; }
.icon8  { margin: 109px 0 0 178px; }
.icon9  { margin: 210px 0 0 206px; }
.icon10 { margin: 160px 0 0 177px; }
.icon11 { margin: 155px 0 0 332px; }
.icon12 { margin: 179px 0 0 142px; }
.icon13 { margin: 207px 0 0 269px; }
.icon14 { margin: 280px 0 0 197px; }
.icon15 { margin: 229px 0 0 164px; }
.icon16 { margin: 250px 0 0 238px; }
.icon17 { margin: 275px 0 0 282px; }
.icon18 { margin: 182px 0 0 298px; }
.icon19 { margin: 328px 0 0 201px; }
.icon20 { margin: 310px 0 0 239px; }
.icon21 { margin: 319px 0 0 274px; }
.icon22 { margin: 223px 0 0 305px; }
.icon23 { margin: 356px 0 0 239px; }

.idea-contact {
	position: absolute;
	top: 0; left: 0;
	margin: 425px 0 0 230px;
	width: 49px;
	height: 37px;
	background: url('../img/ideacontact.png') no-repeat 0 0;
}
.contact-text {
	position: absolute;
	top: 0; left: 0;
	margin: 330px 0 0 380px;
	font-family: var(--font-script);
	font-size: 30px;
	color: var(--light);
	transform: rotate(-30deg);
}

/* Ablauf-Kreise */
.approach { padding: 0 0 15px; }
.approach h4.ap-tit {
	text-transform: uppercase;
	margin: 0 0 20px;
	color: var(--heading);
}
.approach-steps {
	position: relative;
	display: flex;
	align-items: flex-start;
	gap: 99px;
	min-height: 210px;
}
.approach-line {
	position: absolute;
	top: -13px;
	left: 0;
	width: 0;
	height: 210px;
	background: url('../img/approach2.png') no-repeat 135px 0;
	z-index: 0;
	transition: width 10s linear;
}
.approach-steps.is-visible .approach-line { width: 940px; }

.approach-step {
	position: relative;
	z-index: 1;
	width: 162px;
	height: 162px;
	padding: 30px;
	flex: 0 0 162px;
	background: url('../img/approach-circle.png') no-repeat;
	text-align: center;
	opacity: 0;
	transition: opacity 2s ease;
}
.approach-step img { margin: 0 auto; }
.approach-step h4 { margin: 5px 0 0; text-transform: uppercase; color: var(--light); }
.approach2, .approach4 { margin-top: 20px; }
.approach-steps.is-visible .approach-step { opacity: 1; }
.approach-steps.is-visible .approach2 { transition-delay: 2s; }
.approach-steps.is-visible .approach3 { transition-delay: 4s; }
.approach-steps.is-visible .approach4 { transition-delay: 6s; }

/* ------------------------------------------------------------- Portfolio */
.service-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 0 20px;
}
.service-description { padding: 0 10px; }
.service-description h4 { text-transform: uppercase; margin-bottom: 0; color: #fff; }
.service-description p { color: #fff; }

/* --------------------------------------------------------------- Partner */
.work-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 10px 20px;
}
.work-item { margin-bottom: 10px; }
.work-item h4 { margin: 13px 0 7px; text-align: center; text-transform: uppercase; }

.view-item {
	position: relative;
	overflow: hidden;
	text-align: center;
	background: var(--orange);
	border: 10px solid var(--light);
	box-shadow: 0 0 2px #666;
	aspect-ratio: 280 / 180;
}
.view-item > img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: scale(1);
	transition: transform .7s ease-in-out, opacity .7s ease-in-out;
}
.view-item .mask {
	position: absolute;
	inset: 0;
	background-color: rgba(255, 231, 179, .3);
	opacity: 0;
	transition: opacity .5s linear;
}
.view-item p {
	color: #fff;
	opacity: 0;
	transform: scale(0);
	transition: opacity .5s linear, transform .5s linear;
	border-bottom: 1px solid rgba(255, 255, 255, .2);
	margin: 20px 20px 0;
	padding-bottom: 10px;
}
.view-item:hover > img,
.view-item:focus-within > img {
	transform: scale(10);
	opacity: 0;
}
.view-item:hover .mask,
.view-item:focus-within .mask { opacity: 1; }
.view-item:hover p,
.view-item:focus-within p { opacity: 1; transform: scale(1); }

/* ------------------------------------------------------------------ Team */
.team-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px 90px;
	justify-items: center;
}
.team-members {
	width: 100%;
	max-width: 230px;
	text-align: left;
	background: url('../img/team-line.png') no-repeat 1px 170px;
}
.team-members h4 { text-transform: uppercase; margin: 0 0 5px; }
.team-members p { margin: 0 0 5px; }
.vg-jobs { color: #ccc; }
.member-image {
	width: 160px;
	height: 160px;
	border: 5px solid var(--light);
	border-radius: 50%;
	box-shadow: 0 0 2px #666;
	background: #fff;
	margin: 35px 0 60px;
	overflow: hidden;
}
.member-image img { width: 160px; height: 160px; border-radius: 50%; }

/* --------------------------------------------------------------- Kontakt */
.map {
	position: relative;
	width: 100%;
	height: 400px;
	margin-bottom: 20px;
	border-top: 10px solid var(--light);
	border-bottom: 10px solid var(--light);
	background: var(--dark);
	overflow: hidden;
}
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

.contact-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
}
.contact-info h4 { text-transform: uppercase; }
.contact-info p { margin: 0 0 4px; }
.contact-info a { color: var(--text); }
.contact-info a:hover { color: var(--orange); }

.address-text, .email-text, .phone-text, .fax-text {
	display: block;
	padding: 0 0 0 30px;
	background-repeat: no-repeat;
	background-position: 0 3px;
}
.address-text { background-image: url('../img/home.png'); }
.email-text   { background-image: url('../img/message.png'); }
.phone-text   { background-image: url('../img/phone.png'); }
.fax-text     { background-image: url('../img/fax.png'); }

/* Formular */
.form {
	margin: 40px 0 0;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 14px;
	color: var(--text);
}
.input-section { margin: 0 0 20px; }
.input-section label { display: block; margin: 0 0 5px; }
.input-section input[type="text"],
.input-section input[type="email"],
.input-section textarea {
	display: block;
	width: 100%;
	max-width: 300px;
	font: inherit;
	border: 1px solid #ddd;
	background: #fbfbfb;
	padding: 6px 10px;
	box-shadow: 0 1px 1px #999;
}
.input-section textarea { height: 120px; resize: vertical; }
/* :user-invalid greift erst, nachdem der Besucher das Feld bearbeitet oder abgeschickt hat */
.input-section input:user-invalid,
.input-section textarea:user-invalid { border-color: var(--orange-dark); }

.consent {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	max-width: 300px;
}
.consent input { margin-top: 3px; flex: 0 0 auto; }
.consent label { font-size: 12px; margin: 0; }
/* Globales a:hover ist weiß (für dunkle Sektionen) — hier auf weißem Grund unsichtbar */
.consent a:hover, .consent a:focus-visible { color: var(--orange-dark); }

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

.send {
	display: block;
	width: 100%;
	max-width: 300px;
	font: inherit;
	font-weight: bold;
	text-transform: uppercase;
	text-align: center;
	color: #fff;
	background: var(--orange);
	border: 0;
	border-bottom: 1px solid var(--orange-dark);
	box-shadow: 0 1px 1px var(--orange-dark);
	padding: 8px 10px;
	cursor: pointer;
}
.send:hover { background: var(--orange-deep); color: #fff; }
.send[disabled] { opacity: .6; cursor: default; }

.alertMessage { max-width: 300px; margin-top: 15px; font-size: 13px; }
.alertMessage.is-error { color: var(--orange-dark); }
.alertMessage.is-ok { color: #1c7c3c; }

/* ------------------------------------------------------------- Impressum */
.legal-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 0 40px;
	align-items: start;
}
.legal-text { margin-top: 30px; }
.legal-text h4 { text-transform: uppercase; margin-bottom: 20px; }
.legal-text h5 { margin: 24px 0 6px; font-weight: 700; }
.legal-text ul { margin: 0 0 14px; padding-left: 20px; }
.legal-text li { font-family: Arial, Helvetica, sans-serif; }

/* ---------------------------------------------------------------- Footer */
#footer {
	background: var(--dark);
	text-align: center;
	padding: 20px 0;
	position: relative;
}
#footer img { margin: 0 auto; }
#footer p { color: #4b4e51; font-family: var(--font-body); font-size: 14px; margin: 5px 0 0; }

/* ----------------------------------------------------------- Responsive */
@media (max-width: 1000px) {
	h1 { font-size: 72px; }
	.section-title { flex-wrap: wrap; gap: 20px; }
	.section-title p { padding-left: 0; border-left: 0; min-height: 0; margin-bottom: 0; }

	.idea { flex-wrap: wrap; }
	.idea-desc { flex: 1 1 100%; }
	.idea-icons { display: none; }

	.approach-steps { flex-wrap: wrap; gap: 20px; justify-content: center; }
	.approach-line { display: none; }
	.approach2, .approach4 { margin-top: 0; }

	.work-grid { grid-template-columns: repeat(2, 1fr); }
	.team-grid { gap: 30px; }
}

@media (max-width: 760px) {
	h1 { font-size: 52px; }
	h1.n1 { font-size: 48px; margin-bottom: -6px; }
	h1.n2 { font-size: 34px; margin-bottom: -4px; }
	h1.n3 { font-size: 56px; }
	.section-title .vg-title { font-size: 44px; }
	.section-title p { font-size: 24px; }

	.service-grid,
	.work-grid,
	.team-grid,
	.contact-grid,
	.legal-grid { grid-template-columns: 1fr; }

	.map { height: 300px; }

	/* Die Slider-Grafiken enthalten Text — im Hochformat ganz zeigen statt beschneiden */
	#slideshow li { background-size: contain; }
	#progress-back { display: none; }

	/* Leiste oben fixieren, sonst öffnet das Menü unterhalb des Bildschirmrands */
	#nav { position: fixed; top: 0; left: 0; width: 100%; }
	#header { height: 100vh; }

	.input-section input[type="text"],
	.input-section input[type="email"],
	.input-section textarea,
	.send, .consent, .alertMessage { max-width: 100%; }

	/* Unter 16px zoomt iOS Safari beim Fokussieren automatisch ins Feld hinein */
	.input-section input[type="text"],
	.input-section input[type="email"],
	.input-section textarea { font-size: 16px; padding: 10px 8px; }
	.send { font-size: 16px; padding: 12px 20px; }
	.consent input[type="checkbox"] { width: 20px; height: 20px; }

	/* Mobile Navigation */
	.nav-toggle {
		display: block;
		position: absolute;
		top: 0; right: 10px;
		width: 44px; height: var(--nav-height);
		background: none;
		border: 0;
		cursor: pointer;
		padding: 0;
	}
	.nav-toggle-bar,
	.nav-toggle-bar::before,
	.nav-toggle-bar::after {
		display: block;
		width: 22px; height: 2px;
		background: #fff;
		margin: 0 auto;
		transition: transform .2s ease, opacity .2s ease;
	}
	.nav-toggle-bar::before,
	.nav-toggle-bar::after { content: ''; position: relative; }
	.nav-toggle-bar::before { top: -7px; }
	.nav-toggle-bar::after { top: 5px; }
	.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
	.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { top: 0; transform: rotate(45deg); }
	.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { top: -2px; transform: rotate(-45deg); }

	#nav ul {
		display: none;
		position: absolute;
		top: var(--nav-height);
		left: 0;
		width: 100%;
		height: auto;
		flex-direction: column;
		gap: 0;
		background: var(--orange);
		border-bottom: 1px solid var(--orange-dark);
		padding: 8px 0;
	}
	#nav ul.is-open { display: flex; }
	#nav li { width: 100%; text-align: center; }
	#nav a { display: block; padding: 10px 0; }
}
