/* 
 * AuditKlar GmbH - Main Stylesheet
 * Color Scheme:
 * - Primary: #3D348B (Ultramarine)
 * - Accent: #F7B801 (Sunny Yellow)
 * - Secondary: #A1E3D8 (Light Jade)
 * - Text: #2E2E2E (Coal Black)
 * - Background: #FBFAF5 (Milk White)
 */

/* === Base Styles === */
:root {
	--primary: #3d348b;
	--accent: #f7b801;
	--secondary: #a1e3d8;
	--text: #2e2e2e;
	--background: #fbfaf5;
	--white: #ffffff;
	--light-gray: #f0f0f0;
	--medium-gray: #cccccc;
	--dark-gray: #666666;
	--shadow: rgba(0, 0, 0, 0.1);

	--transition-fast: 0.2s ease;
	--transition-medium: 0.3s ease;
	--transition-slow: 0.5s ease;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
	font-size: 16px;
	line-height: 1.6;
	color: var(--text);
	background-color: var(--background);
	overflow-x: hidden;
}

.container {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-weight: 700;
	line-height: 1.2;
	margin-bottom: 1rem;
	color: var(--primary);
}

h1 {
	font-size: 2.5rem;
}

h2 {
	font-size: 2rem;
}

h3 {
	font-size: 1.5rem;
}

p {
	margin-bottom: 1rem;
}

a {
	color: var(--primary);
	text-decoration: none;
	transition: color var(--transition-fast);
}

a:hover {
	color: var(--accent);
}

ul {
	list-style: none;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

section {
	padding: 80px 0;
}

.section-title {
	text-align: center;
	margin-bottom: 40px;
}

.section-title h2 {
	display: inline-block;
	position: relative;
	padding-bottom: 15px;
}

.section-title h2::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 80px;
	height: 3px;
	background-color: var(--accent);
}

.button {
	display: inline-block;
	padding: 12px 24px;
	background-color: var(--primary);
	color: var(--white);
	border: none;
	border-radius: 4px;
	font-weight: 600;
	cursor: pointer;
	transition:
		background-color var(--transition-fast),
		transform var(--transition-fast);
}

.button:hover {
	background-color: var(--accent);
	color: var(--text);
	transform: translateY(-2px);
}

.button-secondary {
	background-color: transparent;
	border: 2px solid var(--primary);
	color: var(--primary);
}

.button-secondary:hover {
	background-color: var(--primary);
	color: var(--white);
}

/* === Header Styles === */
.site-header {
	background-color: var(--white);
	box-shadow: 0 2px 10px var(--shadow);
	position: sticky;
	top: 0;
	z-index: 100;
}

.header-content {
	display: flex;
	justify-content: space-between;
	align-items: center;
	height: 80px;
}

.logo a {
	display: block;
}

.main-nav ul {
	display: flex;
}

.main-nav li {
	margin-left: 30px;
}

.main-nav a {
	font-weight: 600;
	padding: 5px 0;
	position: relative;
}

.main-nav a::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	width: 0;
	height: 2px;
	background-color: var(--accent);
	transition: width var(--transition-medium);
}

.main-nav a:hover::after,
.main-nav a.active::after {
	width: 100%;
}

.main-nav a.cta-button {
	background-color: var(--primary);
	color: var(--white);
	padding: 10px 20px;
	border-radius: 4px;
}

.main-nav a.cta-button:hover {
	background-color: var(--accent);
	color: var(--text);
}

.main-nav a.cta-button::after {
	display: none;
}

.menu-toggle {
	display: none;
}

.menu-icon {
	display: none;
	cursor: pointer;
	width: 30px;
	height: 20px;
	position: relative;
}

.menu-icon span {
	display: block;
	position: absolute;
	height: 3px;
	width: 100%;
	background-color: var(--primary);
	border-radius: 3px;
	transition:
		transform var(--transition-medium),
		opacity var(--transition-medium);
}

.menu-icon span:nth-child(1) {
	top: 0;
}

.menu-icon span:nth-child(2) {
	top: 50%;
	transform: translateY(-50%);
}

.menu-icon span:nth-child(3) {
	bottom: 0;
}

/* === Cookie Banner === */
.cookie-banner {
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	background-color: var(--white);
	box-shadow: 0 -2px 10px var(--shadow);
	padding: 20px 0;
	z-index: 999;
}

.cookie-content {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.cookie-content h3 {
	margin-bottom: 10px;
}

.cookie-content p {
	margin-bottom: 20px;
}

.cookie-content form {
	display: flex;
	align-items: center;
}

.cookie-more {
	margin-left: 20px;
	color: var(--dark-gray);
	text-decoration: underline;
}

/* === Hero Section === */
.hero {
	background-image: url("../img/RcS5gE.jpg");
	background-size: cover;
	background-position: center;
	position: relative;
	overflow: hidden;
}

.hero::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(61, 52, 139, 0.7); /* Overlay with primary color */
	z-index: 1;
}

.hero-content {
	position: relative;
	z-index: 2;
	max-width: 600px;
	padding: 100px 0;
	margin: 0 auto;
	text-align: center;
	color: var(--white);
}

.hero-content h1 {
	margin-bottom: 20px;
	font-size: 3rem;
	animation: fadeInUp 1s ease;
	color: var(--white);
}

.hero-content p {
	font-size: 1.2rem;
	margin-bottom: 30px;
	animation: fadeInUp 1s ease 0.2s;
	animation-fill-mode: both;
	color: var(--white);
}

.hero-content .button {
	animation: fadeInUp 1s ease 0.4s;
	animation-fill-mode: both;
	background-color: var(--accent);
	color: var(--text);
}

/* === About Section === */
.about {
	background-color: var(--white);
}

.about-content {
	display: flex;
	align-items: center;
	gap: 50px;
}

.about-image {
	flex: 1;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 10px 30px var(--shadow);
	transform: translateY(0);
	transition: transform var(--transition-medium);
}

.about-image:hover {
	transform: translateY(-10px);
}

.about-text {
	flex: 1;
}

.about-text h2 {
	margin-bottom: 20px;
}

/* === Services Section === */
.services {
	background-color: var(--light-gray);
}

.services-container {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
}

.service-card {
	background-color: var(--white);
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 5px 15px var(--shadow);
	transition: transform var(--transition-medium);
}

.service-card:hover {
	transform: translateY(-10px);
}

.service-image {
	height: 200px;
	overflow: hidden;
}

.service-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform var(--transition-slow);
}

.service-card:hover .service-image img {
	transform: scale(1.1);
}

.service-content {
	padding: 20px;
}

.service-content h3 {
	margin-bottom: 10px;
}

.service-price {
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--primary);
	margin: 15px 0;
}

.service-cta {
	margin-top: 20px;
}

/* === Benefits Section === */
.benefits {
	background-color: var(--white);
}

.benefits-container {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 30px;
}

.benefit-item {
	text-align: center;
	padding: 30px 15px;
	background-color: var(--light-gray);
	border-radius: 8px;
	transition: transform var(--transition-medium);
}

.benefit-item:hover {
	transform: translateY(-10px);
	box-shadow: 0 10px 20px var(--shadow);
}

.benefit-icon {
	width: 60px;
	height: 60px;
	background-color: var(--primary);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 20px;
	color: var(--white);
	font-size: 1.5rem;
}

/* === Testimonials Section === */
.testimonials {
	background-color: var(--secondary);
	position: relative;
}

.testimonials::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-image: linear-gradient(45deg, var(--primary) 0%, transparent 100%);
	opacity: 0.1;
}

.testimonials-container {
	position: relative;
	z-index: 2;
	max-width: 800px;
	margin: 0 auto;
}

.testimonial-item {
	background-color: var(--white);
	padding: 30px;
	border-radius: 8px;
	box-shadow: 0 5px 15px var(--shadow);
	margin-bottom: 30px;
}

.testimonial-content {
	position: relative;
	padding-left: 30px;
	margin-bottom: 20px;
}

.testimonial-content::before {
	content: '"';
	position: absolute;
	left: 0;
	top: -10px;
	font-size: 3rem;
	color: var(--accent);
	line-height: 1;
}

.testimonial-author {
	display: flex;
	align-items: center;
}

.testimonial-author-info h4 {
	margin-bottom: 5px;
}

.testimonial-author-info p {
	font-size: 0.9rem;
	color: var(--dark-gray);
	margin-bottom: 0;
}

/* === Process Section === */
.process {
	background-color: var(--white);
}

.process-container {
	max-width: 800px;
	margin: 0 auto;
}

.process-steps {
	position: relative;
}

.process-steps::before {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: 24px;
	width: 2px;
	background-color: var(--primary);
}

.process-step {
	position: relative;
	padding-left: 60px;
	margin-bottom: 40px;
}

.process-step:last-child {
	margin-bottom: 0;
}

.process-step-number {
	position: absolute;
	left: 0;
	top: 0;
	width: 50px;
	height: 50px;
	background-color: var(--primary);
	color: var(--white);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 1.2rem;
	z-index: 2;
}

.process-step-content {
	background-color: var(--light-gray);
	padding: 20px;
	border-radius: 8px;
}

/* === Contact Form === */
.contact {
	background-color: var(--light-gray);
}

.contact-container {
	max-width: 800px;
	margin: 0 auto;
}

.contact-form {
	background-color: var(--white);
	padding: 40px;
	border-radius: 8px;
	box-shadow: 0 5px 15px var(--shadow);
}

.form-group {
	margin-bottom: 20px;
}

.form-group label {
	display: block;
	margin-bottom: 8px;
	font-weight: 600;
}

.form-control {
	width: 100%;
	padding: 12px 15px;
	border: 1px solid var(--medium-gray);
	border-radius: 4px;
	font-size: 1rem;
	transition: border-color var(--transition-fast);
}

.form-control:focus {
	outline: none;
	border-color: var(--primary);
}

.checkbox-group {
	display: flex;
	align-items: flex-start;
	margin-bottom: 15px;
}

.checkbox-group input[type="checkbox"] {
	margin-right: 10px;
	margin-top: 5px;
}

.form-error {
	color: #e74c3c;
	font-size: 0.9rem;
	margin-top: 5px;
}

/* === Footer === */
.site-footer {
	background-color: var(--primary);
	color: var(--white);
	padding: 60px 0 20px;
}

.footer-content {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 40px;
	margin-bottom: 40px;
}

.footer-company h3,
.footer-contact h3,
.footer-legal h3 {
	color: var(--white);
	position: relative;
	padding-bottom: 15px;
	margin-bottom: 20px;
}

.footer-company h3::after,
.footer-contact h3::after,
.footer-legal h3::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	width: 50px;
	height: 2px;
	background-color: var(--accent);
}

.footer-contact address {
	font-style: normal;
}

.footer-contact a {
	color: var(--white);
}

.footer-contact a:hover {
	color: var(--accent);
}

.footer-legal ul li {
	margin-bottom: 10px;
}

.footer-legal ul li a {
	color: var(--white);
}

.footer-legal ul li a:hover {
	color: var(--accent);
}

.footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	padding-top: 20px;
	text-align: center;
}

/* === Animations === */
@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* === Responsive Styles === */
@media (max-width: 992px) {
	.services-container {
		grid-template-columns: repeat(2, 1fr);
	}

	.benefits-container {
		grid-template-columns: repeat(2, 1fr);
	}

	.about-content {
		flex-direction: column;
	}

	.about-image,
	.about-text {
		flex: none;
		width: 100%;
	}
}

@media (max-width: 768px) {
	h1 {
		font-size: 2rem;
	}

	h2 {
		font-size: 1.8rem;
	}

	section {
		padding: 60px 0;
	}

	.hero::before {
		width: 100%;
	}

	.hero-content {
		max-width: 100%;
		padding: 80px 0;
	}

	.hero-content h1 {
		font-size: 2.2rem;
	}

	.menu-icon {
		display: block;
		z-index: 101;
	}

	.menu-toggle:checked ~ .menu-icon span:nth-child(1) {
		transform: rotate(45deg) translate(5px, 5px);
	}

	.menu-toggle:checked ~ .menu-icon span:nth-child(2) {
		opacity: 0;
	}

	.menu-toggle:checked ~ .menu-icon span:nth-child(3) {
		transform: rotate(-45deg) translate(8px, -8px);
	}

	.main-nav {
		position: fixed;
		top: 0;
		right: -100%;
		width: 250px;
		height: 100vh;
		background-color: var(--white);
		z-index: 100;
		box-shadow: -2px 0 10px var(--shadow);
		transition: right var(--transition-medium);
		padding: 100px 20px 20px;
	}

	.menu-toggle:checked ~ .main-nav {
		right: 0;
	}

	.main-nav ul {
		flex-direction: column;
	}

	.main-nav li {
		margin-left: 0;
		margin-bottom: 20px;
	}

	.footer-content {
		grid-template-columns: 1fr;
		gap: 30px;
	}

	.contact-form {
		padding: 30px 20px;
	}
}

@media (max-width: 576px) {
	.services-container {
		grid-template-columns: 1fr;
	}

	.benefits-container {
		grid-template-columns: 1fr;
	}

	.testimonial-item {
		padding: 20px;
	}

	.process-step {
		padding-left: 50px;
	}

	.process-step-number {
		width: 40px;
		height: 40px;
		font-size: 1rem;
	}

	.process-steps::before {
		left: 19px;
	}

	.cookie-content form {
		flex-direction: column;
		align-items: flex-start;
	}

	.cookie-more {
		margin-left: 0;
		margin-top: 15px;
	}
}
