/*
* style.css
* Haupt-Stylesheet für die Lumina Industria SRL Website.
* Design: Neumorphismus mit dynamischen Farbverläufen.
* Farbschema: Pastell.
* Animation: 3D-Effekte.
*/

/*------------------------------------------------------------------
[Inhaltsverzeichnis]

1. ROOT-VARIABLEN & GLOBALE STILE
2. TYPOGRAFIE
3. LAYOUT & HELPER-KLASSEN
4. GLOBALE KOMPONENTEN (Buttons, Karten, Formulare)
5. HEADER & NAVIGATION
6. SEKTIONS-STILE
    - 6.1 Hero-Sektion
    - 6.2 Service-, Team-, Research-Grids
    - 6.3 Über Uns Sektion
    - 6.4 Prozess-Timeline
    - 6.5 Testimonial-Slider
    - 6.6 Externe Ressourcen
    - 6.7 Kontaktseite & Formular
    - 6.8 Statische Seiten (Datenschutz, Impressum)
    - 6.9 Erfolgsseite
7. FOOTER
8. ANIMATIONEN & KEYFRAMES
9. MEDIA QUERIES (Responsive Design)
-------------------------------------------------------------------*/

/* 1. ROOT-VARIABLEN & GLOBALE STILE
-------------------------------------------------------------------*/
:root {
	--bg-color: #e0e5ec; /* Haupt-Hintergrund für Neumorphismus */
	--primary-color: #5dade2; /* Sanftes Blau */
	--secondary-color: #76d7c4; /* Sanftes Türkis */
	--accent-color: #f7c9a9; /* Sanftes Pfirsich */

	--text-color-dark: #34495e; /* Dunkelblau-Grau für Haupttext */
	--text-color-light: #ffffff;
	--text-color-heading: #2c3e50; /* Noch dunkler für Titel */
	--link-color: var(--primary-color);
	--link-hover-color: var(--secondary-color);

	--gradient-bg: linear-gradient(145deg, rgba(255, 255, 255, 0.5), rgba(211, 218, 228, 0.5));
	--gradient-dynamic: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);

	--font-heading: "Roboto", sans-serif;
	--font-body: "Lato", sans-serif;

	--shadow-neumorphic-outset: 8px 8px 16px #c8cdd3, -8px -8px 16px #f8f9ff;
	--shadow-neumorphic-inset: inset 8px 8px 16px #c8cdd3, inset -8px -8px 16px #f8f9ff;
	--shadow-neumorphic-outset-hover: 5px 5px 10px #c8cdd3, -5px -5px 10px #f8f9ff;

	--border-radius: 15px;
	--transition-smooth: all 0.3s ease-in-out;
}

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

html {
	scroll-behavior: smooth;
	font-size: 16px;
}

body {
	font-family: var(--font-body);
	font-weight: 400;
	line-height: 1.7;
	color: var(--text-color-dark);
	background-color: var(--bg-color);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
	transition: var(--transition-smooth);
}

body.fade-out {
	opacity: 0;
}

/* 2. TYPOGRAFIE
-------------------------------------------------------------------*/
h1,
h2,
h3,
h4 {
	font-family: var(--font-heading);
	font-weight: 700;
	color: var(--text-color-heading);
	text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
	margin-bottom: 1rem;
	line-height: 1.2;
}

h1 {
	font-size: 3rem;
}
h2 {
	font-size: 2.5rem;
}
h3 {
	font-size: 1.5rem;
}
h4 {
	font-size: 1.2rem;
}

p {
	margin-bottom: 1rem;
}

a {
	color: var(--link-color);
	text-decoration: none;
	transition: var(--transition-smooth);
}

a:hover {
	color: var(--link-hover-color);
	text-decoration: underline;
}

.section-title {
	text-align: center;
	margin-bottom: 1.5rem;
	color: var(--text-color-heading);
	text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

.section-intro {
	text-align: center;
	max-width: 800px;
	margin: 0 auto 3rem auto;
	font-size: 1.1rem;
	color: var(--text-color-dark);
}

blockquote {
	font-style: italic;
	color: #555;
	border-left: 4px solid var(--primary-color);
	padding-left: 1rem;
	margin: 1.5rem 0;
}

blockquote footer {
	margin-top: 0.5rem;
	font-style: normal;
	font-weight: bold;
	color: var(--text-color-heading);
}

/* 3. LAYOUT & HELPER-KLASSEN
-------------------------------------------------------------------*/
.main-container {
	width: 100%;
	overflow: hidden;
}

.section-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 1rem;
}

.content-section {
	padding: 5rem 0;
	background-color: var(--bg-color);
}

.content-section-light {
	padding: 5rem 0;
	background: var(--gradient-bg);
}

.text-container {
	max-width: 800px;
	margin: 0 auto;
}

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

/* 4. GLOBALE KOMPONENTEN (Buttons, Karten, Formulare)
-------------------------------------------------------------------*/
/* Globale Button-Stile */
.btn,
button,
input[type="submit"] {
	display: inline-block;
	font-family: var(--font-heading);
	font-weight: 700;
	text-align: center;
	text-decoration: none;
	white-space: nowrap;
	vertical-align: middle;
	user-select: none;
	border: none;
	padding: 1rem 2rem;
	font-size: 1rem;
	border-radius: var(--border-radius);
	cursor: pointer;
	transition: var(--transition-smooth);
	box-shadow: var(--shadow-neumorphic-outset);
	background: transparent;
	color: var(--text-color-heading);
}

.btn:hover,
button:hover,
input[type="submit"]:hover {
	box-shadow: var(--shadow-neumorphic-outset-hover);
	transform: translateY(-2px);
	text-decoration: none;
}

.btn:active,
button:active,
input[type="submit"]:active {
	box-shadow: var(--shadow-neumorphic-inset);
	transform: translateY(2px);
}

.btn-primary {
	background: var(--gradient-dynamic);
	color: var(--text-color-light);
	border: none;
	text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
	background: transparent;
	color: var(--text-color-dark);
}

/* Globale Karten-Stile */
.card {
	background-color: var(--bg-color);
	border-radius: var(--border-radius);
	box-shadow: var(--shadow-neumorphic-outset);
	padding: 2rem;
	transition: var(--transition-smooth);
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	overflow: hidden;
}

.card:hover {
	transform: translateY(-10px) scale(1.02);
	box-shadow: 12px 12px 24px #c8cdd3, -12px -12px 24px #f8f9ff;
}

.card .card-image {
	width: 100%;
	margin-bottom: 1.5rem;
	border-radius: var(--border-radius);
	overflow: hidden;
	box-shadow: var(--shadow-neumorphic-inset);
	height: 250px; /* Feste Höhe für einheitliches Aussehen */
}

.card .card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	margin: 0 auto;
	transition: transform 0.4s ease;
}

.card:hover .card-image img {
	transform: scale(1.1);
}

.card .card-content {
	width: 100%;
}

.card h3 {
	margin-bottom: 0.5rem;
}

/* Formular-Stile */
.form-group {
	margin-bottom: 1.5rem;
}

.form-group label {
	display: block;
	margin-bottom: 0.5rem;
	font-weight: 700;
	color: var(--text-color-dark);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
	width: 100%;
	padding: 1rem;
	font-family: var(--font-body);
	font-size: 1rem;
	color: var(--text-color-dark);
	background-color: var(--bg-color);
	border: none;
	border-radius: var(--border-radius);
	box-shadow: var(--shadow-neumorphic-inset);
	transition: var(--transition-smooth);
}

.form-group input:focus,
.form-group textarea:focus {
	outline: none;
	box-shadow: inset 5px 5px 10px #c8cdd3, inset -5px -5px 10px #f8f9ff, 0 0 0 2px var(--primary-color);
}

.toggle-group {
	display: flex;
	align-items: center;
}
.toggle-label {
	margin-left: 10px;
	font-weight: normal;
}
.switch {
	position: relative;
	display: inline-block;
	width: 60px;
	height: 34px;
	flex-shrink: 0;
}
.switch input {
	opacity: 0;
	width: 0;
	height: 0;
}
.slider {
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #ccc;
	transition: 0.4s;
	border-radius: 34px;
	box-shadow: var(--shadow-neumorphic-inset);
}
.slider:before {
	position: absolute;
	content: "";
	height: 26px;
	width: 26px;
	left: 4px;
	bottom: 4px;
	background-color: white;
	transition: 0.4s;
	border-radius: 50%;
	box-shadow: var(--shadow-neumorphic-outset);
}
input:checked + .slider {
	background-color: var(--secondary-color);
}
input:checked + .slider:before {
	transform: translateX(26px);
}

/* 5. HEADER & NAVIGATION
-------------------------------------------------------------------*/
.site-header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 1000;
	padding: 1rem 0;
	transition: var(--transition-smooth);
	background: rgba(224, 229, 236, 0.8);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header-container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 1rem;
}

.logo {
	font-family: var(--font-heading);
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--text-color-heading);
	text-decoration: none;
}

.main-nav ul {
	list-style: none;
	display: flex;
	gap: 2rem;
}

.main-nav a {
	font-weight: 700;
	color: var(--text-color-dark);
	text-decoration: none;
	position: relative;
}

.main-nav a::after {
	content: "";
	position: absolute;
	width: 0;
	height: 2px;
	bottom: -5px;
	left: 50%;
	transform: translateX(-50%);
	background: var(--gradient-dynamic);
	transition: width 0.3s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
	width: 100%;
}

.burger-menu {
	display: none;
	background: none;
	border: none;
	cursor: pointer;
	padding: 0;
	z-index: 1001;
	box-shadow: none;
}
.burger-menu:hover {
	box-shadow: none;
	transform: none;
}
.burger-menu span {
	display: block;
	width: 25px;
	height: 3px;
	background-color: var(--text-color-heading);
	margin: 5px 0;
	transition: var(--transition-smooth);
}

/* 6. SEKTIONS-STILE
-------------------------------------------------------------------*/

/* 6.1 Hero-Sektion */
.hero-section {
	height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	color: var(--text-color-light);
	position: relative;
	background-position: center center;
	background-size: cover;
	background-repeat: no-repeat;
	background-attachment: fixed; /* Parallax-Effekt */
}

.hero-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(0deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.3));
}

.hero-content {
	position: relative;
	z-index: 2;
	max-width: 800px;
	padding: 0 1rem;
	perspective: 1000px;
}

.hero-title {
	font-size: 3.5rem;
	color: var(--text-color-light);
	text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
	margin-bottom: 1rem;
	animation: fadeInUp 1s ease-out forwards;
}

.hero-subtitle {
	font-size: 1.25rem;
	color: var(--text-color-light);
	margin-bottom: 2rem;
	text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
	animation: fadeInUp 1s ease-out 0.5s forwards;
	opacity: 0;
}

.hero-content .btn {
	animation: fadeInUp 1s ease-out 1s forwards;
	opacity: 0;
}

.page-header {
	padding: 10rem 0 5rem 0;
	position: relative;
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	color: var(--text-color-light);
	text-align: center;
}

.page-header h1 {
	color: var(--text-color-light);
	font-size: 3rem;
	text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
	position: relative;
	z-index: 2;
}

/* 6.2 Service-, Team-, Research-Grids */
.services-grid,
.team-grid,
.research-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 2rem;
}

/* 6.3 Über Uns Sektion */
#about-us .btn {
	display: block;
	width: fit-content;
	margin: 2rem auto 0 auto;
}

/* 6.4 Prozess-Timeline */
.timeline {
	position: relative;
	max-width: 800px;
	margin: 0 auto;
	padding: 2rem 0;
}
.timeline::after {
	content: "";
	position: absolute;
	width: 4px;
	background: var(--gradient-dynamic);
	top: 0;
	bottom: 0;
	left: 50%;
	margin-left: -2px;
	border-radius: 2px;
}
.timeline-item {
	padding: 10px 40px;
	position: relative;
	width: 50%;
}
.timeline-item:nth-child(odd) {
	left: 0;
}
.timeline-item:nth-child(even) {
	left: 50%;
}
.timeline-item::after {
	content: "";
	position: absolute;
	width: 20px;
	height: 20px;
	right: -10px;
	background-color: white;
	border: 4px solid var(--primary-color);
	top: 25px;
	border-radius: 50%;
	z-index: 1;
}
.timeline-item:nth-child(even)::after {
	left: -10px;
}
.timeline-content {
	padding: 1.5rem;
	background: var(--bg-color);
	position: relative;
	border-radius: var(--border-radius);
	box-shadow: var(--shadow-neumorphic-outset);
}

/* 6.5 Testimonial-Slider */
.testimonial-slider {
	position: relative;
	max-width: 800px;
	margin: auto;
	overflow: hidden;
}
.slider-wrapper {
	overflow: hidden;
}
.slider-track {
	display: flex;
	transition: transform 0.5s ease-in-out;
}
.testimonial-card {
	min-width: 100%;
	box-sizing: border-box;
}
.slider-controls {
	text-align: center;
	margin-top: 1rem;
}
.slider-btn {
	box-shadow: none;
	background: none;
	font-size: 2rem;
	padding: 0 1rem;
}
.slider-btn:hover {
	color: var(--primary-color);
	transform: none;
	box-shadow: none;
}

/* 6.6 Externe Ressourcen */
.resources-list .resource-item {
	background-color: var(--bg-color);
	padding: 1.5rem;
	margin-bottom: 1rem;
	border-radius: var(--border-radius);
	box-shadow: var(--shadow-neumorphic-outset);
	transition: var(--transition-smooth);
}
.resources-list .resource-item:hover {
	box-shadow: var(--shadow-neumorphic-outset-hover);
	transform: translateY(-5px);
}
.resources-list .resource-item h4 a {
	text-decoration: none;
}

/* 6.7 Kontaktseite & Formular */
.contact-wrapper {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 3rem;
	align-items: start;
}
.contact-info ul {
	list-style: none;
	padding: 0;
	margin: 1.5rem 0;
}
.contact-info li {
	padding-left: 30px;
	position: relative;
	margin-bottom: 1rem;
}
.contact-info li strong {
	display: block;
}
.map-container {
	margin-top: 2rem;
	border-radius: var(--border-radius);
	overflow: hidden;
	box-shadow: var(--shadow-neumorphic-outset);
}
.contact-form-container {
	background: var(--bg-color);
	padding: 2.5rem;
	border-radius: var(--border-radius);
	box-shadow: var(--shadow-neumorphic-outset);
}

/* 6.8 Statische Seiten (Datenschutz, Impressum) */
.content-section .text-container {
	padding-top: 100px;
}

/* 6.9 Erfolgsseite */
.success-page {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 100vh;
	padding-top: 0;
}
.success-page .section-container {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}
.success-page img {
	margin-bottom: 2rem;
}

/* 7. FOOTER
-------------------------------------------------------------------*/
.site-footer {
	background: var(--text-color-heading);
	color: rgba(255, 255, 255, 0.8);
	padding: 4rem 0 2rem 0;
}

.footer-container {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 2rem;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 1rem;
}

.footer-column h4 {
	color: var(--text-color-light);
	margin-bottom: 1.5rem;
}

.footer-column ul {
	list-style: none;
	padding: 0;
}

.footer-column li {
	margin-bottom: 0.75rem;
}

.footer-column a {
	color: rgba(255, 255, 255, 0.8);
	text-decoration: none;
}

.footer-column a:hover {
	color: var(--text-color-light);
	text-decoration: underline;
}

.footer-bottom {
	text-align: center;
	margin-top: 3rem;
	padding-top: 2rem;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* 8. ANIMATIONEN & KEYFRAMES
-------------------------------------------------------------------*/
@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translate3d(0, 40px, 0);
	}
	to {
		opacity: 1;
		transform: translate3d(0, 0, 0);
	}
}

/* 9. MEDIA QUERIES (Responsive Design)
-------------------------------------------------------------------*/
@media (max-width: 992px) {
	h1 {
		font-size: 2.5rem;
	}
	h2 {
		font-size: 2rem;
	}
	.hero-title {
		font-size: 2.8rem;
	}
	.contact-wrapper {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 768px) {
	/* Mobile Navigation */
	.main-nav {
		position: fixed;
		top: 0;
		right: -100%;
		width: 100%;
		height: 100vh;
		background: var(--bg-color);
		flex-direction: column;
		justify-content: center;
		align-items: center;
		transition: right 0.4s ease-in-out;
		display: flex;
	}
	.main-nav.active {
		right: 0;
	}
	.main-nav ul {
		flex-direction: column;
		text-align: center;
		gap: 2.5rem;
	}
	.main-nav a {
		font-size: 1.5rem;
	}
	.burger-menu {
		display: block;
	}
	.burger-menu.active span:nth-child(1) {
		transform: rotate(45deg) translate(5px, 5px);
	}
	.burger-menu.active span:nth-child(2) {
		opacity: 0;
	}
	.burger-menu.active span:nth-child(3) {
		transform: rotate(-45deg) translate(7px, -6px);
	}

	/* Timeline auf mobil */
	.timeline::after {
		left: 20px;
	}
	.timeline-item {
		width: 100%;
		padding-left: 50px;
		padding-right: 10px;
		left: 0 !important;
	}
	.timeline-item::after {
		left: 10px;
	}
	.content-section {
		padding: 3rem 0;
	}
	.content-section-light {
		padding: 3rem 0;
	}
}
