/* Grundlegende Stile */
:root {
	--bg-color: #14181C;
	--accent-1: #FF6A3D;
	--accent-2: #6C5CE7;
	--accent-3: #00CEC9;
	--text-color: #F5F7FA;
	--transition: all 0.3s ease;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: 40px;
}

body {
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	background-color: var(--bg-color);
	color: var(--text-color);
	line-height: 1.6;
}

.container {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

section {
	padding: 4rem 0;
}

section[id] {
	scroll-margin-top: 40px;
}

div {
	word-break: break-word;
	overflow-wrap: break-word;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin-bottom: 1rem;
	font-weight: 700;
	line-height: 1.2;
}

h1 {
	font-size: 2.5rem;
}

h2 {
	font-size: 2rem;
	margin-bottom: 2rem;
	position: relative;
}

h2::after {
	content: '';
	display: block;
	width: 60px;
	height: 4px;
	background: var(--accent-1);
	margin-top: 10px;
}

p {
	margin-bottom: 1rem;
}

a {
	color: var(--text-color);
	text-decoration: none;
	transition: var(--transition);
}

a:hover {
	color: var(--accent-1);
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

/* Header-Stile */
header {
	position: sticky;
	top: 0;
	background-color: rgba(20, 24, 28, 0.95);
	backdrop-filter: blur(10px);
	z-index: 1000;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.header-content {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 1rem 0;
}

.logo {
	font-size: 1.8rem;
	font-weight: 700;
	color: var(--accent-3);
	text-transform: lowercase;
}

.menu-toggle {
	display: none;
}

.menu-icon {
	display: none;
	cursor: pointer;
}

.menu-icon span {
	display: block;
	width: 25px;
	height: 3px;
	background-color: var(--text-color);
	margin: 5px 0;
	transition: var(--transition);
}

nav ul {
	display: flex;
	list-style: none;
}

nav ul li {
	margin-left: 1.5rem;
}

nav ul li a {
	position: relative;
	padding: 0.5rem 0;
}

nav ul li a::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 0;
	height: 2px;
	background-color: var(--accent-1);
	transition: var(--transition);
}

nav ul li a:hover::after {
	width: 100%;
}

/* Responsive Navigation */
@media (max-width: 768px) {
	.menu-icon {
		display: block;
		z-index: 1001;
	}

	nav {
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		height: 0;
		overflow: hidden;
		background-color: var(--bg-color);
		display: flex;
		align-items: center;
		justify-content: center;
		transition: height 0.3s ease;
		z-index: 1000;
	}

	nav ul {
		flex-direction: column;
		align-items: center;
		opacity: 0;
		transition: opacity 0.3s ease;
	}

	nav ul li {
		margin: 1rem 0;
	}

	.menu-toggle:checked~nav {
		height: 100vh;
		box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
	}

	.menu-toggle:checked~nav ul {
		opacity: 1;
	}

	.menu-toggle:checked~.menu-icon span:nth-child(1) {
		transform: rotate(45deg) translate(5px, 6px);
	}

	.menu-toggle:checked~.menu-icon span:nth-child(2) {
		opacity: 0;
	}

	.menu-toggle:checked~.menu-icon span:nth-child(3) {
		transform: rotate(-45deg) translate(5px, -6px);
	}
}

/* Hero-Sektion */
.hero {
	height: 80vh;
	min-height: 500px;
	display: flex;
	align-items: center;
	background-image: linear-gradient(rgba(20, 24, 28, 0.7), rgba(20, 24, 28, 0.9)), url('./img/68c2p.jpg');
	background-size: cover;
	background-position: center;
	position: relative;
}

.hero-content {
	text-align: center;
	max-width: 800px;
	margin: 0 auto;
}

.hero h1 {
	font-size: 3rem;
	margin-bottom: 1.5rem;
}

.hero p {
	font-size: 1.2rem;
	margin-bottom: 2rem;
}

.btn {
	display: inline-block;
	padding: 0.8rem 1.5rem;
	background-color: var(--accent-1);
	color: var(--text-color);
	border-radius: 4px;
	font-weight: 600;
	transition: var(--transition);
	border: none;
	cursor: pointer;
	font-size: 1rem;
}

.btn:hover {
	background-color: #e85c2f;
	color: var(--text-color);
	transform: translateY(-3px);
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Über uns Sektion */
.about {
	background-color: rgba(108, 92, 231, 0.05);
}

.about-content {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 2rem;
}

.about-text {
	flex: 1;
	min-width: 300px;
}

.about-image {
	flex: 1;
	min-width: 300px;
}

.about-image img {
	border-radius: 8px;
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Dienstleistungen Sektion */
.services-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 20px;
}

.service-card {
	background-color: rgba(255, 255, 255, 0.05);
	border-radius: 8px;
	padding: 1.5rem;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
	transition: var(--transition);
	height: 100%;
	display: flex;
	flex-direction: column;
	position: relative;
	overflow: hidden;
}

.service-card img {
	width: 100%;
	height: 150px;
	object-fit: cover;
	border-radius: 6px;
	margin-bottom: 1rem;
}

.service-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.service-card h3 {
	color: var(--accent-3);
	margin-bottom: 1rem;
}

/* Vorteile Sektion */
.benefits {
	background-color: rgba(0, 206, 201, 0.05);
}

.benefits-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 20px;
}

.benefit-card {
	padding: 1.5rem;
	background-color: rgba(255, 255, 255, 0.05);
	border-radius: 8px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
	transition: var(--transition);
}

.benefit-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.benefit-card h3 {
	color: var(--accent-1);
	margin-bottom: 1rem;
	display: flex;
	align-items: center;
}

.benefit-card img {
	width: 40px;
	height: 40px;
	margin-right: 10px;
	object-fit: cover;
	border-radius: 50%;
}

/* Zahlen und Fakten */
.stats {
	text-align: center;
}

.stats-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 20px;
	margin-top: 2rem;
}

.stat-item {
	padding: 1.5rem;
	background-color: rgba(255, 255, 255, 0.05);
	border-radius: 8px;
	transition: var(--transition);
}

.stat-item:hover {
	background-color: rgba(255, 255, 255, 0.1);
}

.stat-number {
	font-size: 2.5rem;
	font-weight: 700;
	color: var(--accent-2);
	margin-bottom: 0.5rem;
}

/* Referenzen */
.testimonials-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 20px;
}

.testimonial-card {
	background-color: rgba(255, 255, 255, 0.05);
	border-radius: 8px;
	padding: 1.5rem;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
	position: relative;
}

.testimonial-card::before {
	content: '"';
	position: absolute;
	top: 10px;
	left: 10px;
	font-size: 4rem;
	color: rgba(108, 92, 231, 0.2);
	line-height: 1;
}

.testimonial-text {
	font-style: italic;
	margin-bottom: 1rem;
}

.testimonial-author {
	display: flex;
	align-items: center;
}

.testimonial-author img {
	width: 50px;
	height: 50px;
	border-radius: 50%;
	margin-right: 10px;
	object-fit: cover;
}

.author-info h4 {
	margin-bottom: 0.2rem;
	color: var(--accent-3);
}

/* FAQ Sektion */
.faq-container {
	max-width: 800px;
	margin: 0 auto;
}

.faq-item {
	background-color: rgba(255, 255, 255, 0.05);
	border-radius: 8px;
	margin-bottom: 1rem;
	overflow: hidden;
}

.faq-question {
	padding: 1rem;
	cursor: pointer;
	position: relative;
	font-weight: 600;
	display: block;
	color: var(--text-color);
}

.faq-question:after {
	content: '+';
	position: absolute;
	right: 1rem;
	top: 50%;
	transform: translateY(-50%);
	font-size: 1.5rem;
	transition: var(--transition);
}

.faq-checkbox {
	position: absolute;
	opacity: 0;
	z-index: -1;
}

.faq-content {
	max-height: 0;
	overflow: hidden;
	padding: 0 1rem;
	transition: all 0.4s ease;
}

.faq-checkbox:checked~.faq-content {
	max-height: 1000px;
	padding: 0 1rem 1rem;
}

.faq-checkbox:checked~.faq-question:after {
	content: '−';
}

/* Kontaktformular */
.contact-form {
	max-width: 600px;
	margin: 0 auto;
	background-color: rgba(255, 255, 255, 0.05);
	padding: 2rem;
	border-radius: 8px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-group {
	margin-bottom: 1.5rem;
}

.form-group label {
	display: block;
	margin-bottom: 0.5rem;
	font-weight: 600;
}

.form-control {
	width: 100%;
	padding: 0.8rem;
	border: 2px solid rgba(255, 255, 255, 0.1);
	background-color: rgba(255, 255, 255, 0.05);
	border-radius: 4px;
	color: var(--text-color);
	transition: var(--transition);
}

.form-control:focus {
	outline: none;
	border-color: var(--accent-1);
	box-shadow: 0 0 0 3px rgba(255, 106, 61, 0.3);
}

select.form-control {
	appearance: none;
	background-image: url("data:image/svg+xml;utf8,<svg fill='white' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
	background-repeat: no-repeat;
	background-position: right 10px center;
}

select.form-control option {
	background-color: var(--bg-color);
	color: var(--text-color);
}

.checkbox-group {
	display: flex;
	align-items: flex-start;
	margin-bottom: 1rem;
}

.checkbox-group input {
	margin-right: 10px;
	margin-top: 5px;
}

.checkbox-group label {
	font-weight: 400;
	font-size: 0.9rem;
}

.checkbox-group a {
	color: var(--accent-3);
	text-decoration: underline;
}

.checkbox-group a:hover {
	color: var(--accent-1);
}

.error-text {
	color: #ff4757;
	font-size: 0.9rem;
	margin-top: 0.5rem;
}

/* Footer Stile */
footer {
	background-color: rgba(0, 0, 0, 0.3);
	padding: 3rem 0 1rem;
	margin-top: 3rem;
}

.footer-content {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 2rem;
	margin-bottom: 2rem;
}

.footer-info h3 {
	color: var(--accent-3);
	margin-bottom: 1rem;
}

.footer-contact h4,
.footer-links h4 {
	color: var(--accent-1);
	margin-bottom: 1rem;
}

.footer-links ul {
	list-style: none;
}

.footer-links ul li {
	margin-bottom: 0.5rem;
}

.copyright {
	text-align: center;
	padding-top: 1.5rem;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Cookie-Consent */
.cookie-consent {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	background-color: rgba(0, 0, 0, 0.9);
	padding: 1rem;
	display: none;
	justify-content: space-between;
	align-items: center;
	z-index: 9999;
	box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
}

.cookie-consent p {
	margin: 0 1rem 0 0;
}

/* Danke-Seite */
.thank-you {
	margin: 8rem auto 5rem;
	max-width: 600px;
	text-align: center;
	padding: 3rem;
	background-color: rgba(255, 255, 255, 0.05);
	border-radius: 8px;
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
	border: 1px solid var(--accent-3);
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 300px;
}

.thank-you h2 {
	color: var(--accent-1);
	margin-bottom: 1.5rem;
}

.thank-you h2::after {
	margin: 10px auto 0;
}

/* Rechtliche Seiten */
.legal-page {
	max-width: 800px;
	margin: 2rem auto;
	padding: 2rem;
	background-color: rgba(255, 255, 255, 0.05);
	border-radius: 8px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.legal-page h2 {
	color: var(--accent-3);
	margin-bottom: 1.5rem;
}

.legal-page h3 {
	color: var(--accent-1);
	margin-top: 1.5rem;
	margin-bottom: 1rem;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
	h1 {
		font-size: 2rem;
	}

	h2 {
		font-size: 1.8rem;
	}

	.hero {
		height: 70vh;
	}

	.hero h1 {
		font-size: 2.2rem;
	}

	.about-content,
	.footer-content {
		flex-direction: column;
	}

	.contact-form {
		padding: 1.5rem;
	}
}