/* ====================================
   LS HAUSMEISTERSERVICE - MODERN CSS
   Mobile-First, Performance-optimiert
   ==================================== */

/* === VARIABLES === */
:root {
	--primary-color: #2c5f2d;
	--primary-dark: #1a3d1b;
	--primary-light: #3d7a3e;
	--secondary-color: #ff8c00;
	--text-color: #333333;
	--text-light: #666666;
	--bg-color: #ffffff;
	--bg-light: #f8f9fa;
	--border-color: #e0e0e0;
	--shadow: 0 2px 8px rgba(0,0,0,0.1);
	--shadow-hover: 0 4px 16px rgba(0,0,0,0.15);
	--transition: all 0.3s ease;
	--max-width: 1200px;
	--spacing: 1rem;
	--spacing-lg: 2rem;
	--spacing-xl: 4rem;
}

/* === RESET & BASE === */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	font-size: 16px;
	scroll-behavior: smooth;
}

body {
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	line-height: 1.6;
	color: var(--text-color);
	background: var(--bg-color);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: var(--primary-color);
	text-decoration: none;
	transition: var(--transition);
}

a:hover {
	color: var(--primary-dark);
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
	font-weight: 600;
	line-height: 1.2;
	margin-bottom: 1rem;
	color: var(--text-color);
}

h1 {
	font-size: clamp(1.8rem, 4vw, 3rem);
}

h2 {
	font-size: clamp(1.5rem, 3vw, 2.5rem);
}

h3 {
	font-size: clamp(1.2rem, 2.5vw, 1.8rem);
}

p {
	margin-bottom: 1rem;
	color: var(--text-light);
}

/* === LAYOUT === */
.container {
	max-width: var(--max-width);
	margin: 0 auto;
	padding: 0 2rem;
	width: 100%;
}

@media (max-width: 767px) {
	.container {
		padding: 0 1rem;
	}
}

section {
	padding: 5rem 0;
}

.section-header {
	text-align: center;
	margin-bottom: 4rem;
	max-width: 800px;
	margin-left: auto;
	margin-right: auto;
}

.section-header h2 {
	margin-bottom: 1rem;
}

.section-header p {
	font-size: 1.1rem;
	color: var(--text-light);
	line-height: 1.7;
}

/* === BUTTONS === */
.button {
	display: inline-block;
	padding: 0.8rem 2rem;
	border-radius: 30px;
	font-weight: 600;
	text-align: center;
	cursor: pointer;
	border: none;
	transition: var(--transition);
	font-size: 1rem;
}

.button.primary {
	background: var(--primary-color);
	color: white;
}

.button.primary:hover {
	background: var(--primary-dark);
	transform: translateY(-2px);
	box-shadow: var(--shadow-hover);
}

.button.secondary {
	background: white;
	color: var(--primary-color);
	border: 2px solid var(--primary-color);
}

.button.secondary:hover {
	background: var(--primary-color);
	color: white;
}

.button.whatsapp {
	background: #25d366;
	color: white;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
}

.button.whatsapp:hover {
	background: #20ba5a;
}

/* === HERO SECTION === */
.hero {
	position: relative;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
	color: white;
	overflow: hidden;
}

.hero::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	opacity: 0.15;
	z-index: 0;
}

.hero-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(28, 59, 29, 0.4);
	backdrop-filter: blur(2px);
	z-index: 1;
}

.hero-content {
	position: relative;
	z-index: 2;
	max-width: 900px;
	padding: var(--spacing);
	animation: fadeInUp 1s ease;
}

.hero-logo {
	max-width: 150px;
	margin: 0 auto 2rem;
	filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}

.hero h1 {
	color: white;
	margin-bottom: 1rem;
	text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
	font-size: 1.2rem;
	margin-bottom: 2rem;
	color: rgba(255,255,255,0.95);
	text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.hero-cta {
	display: flex;
	gap: 1rem;
	justify-content: center;
	flex-wrap: wrap;
}

.scroll-indicator {
	position: absolute;
	bottom: 2rem;
	left: 50%;
	transform: translateX(-50%);
	z-index: 2;
	color: white;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.5rem;
	animation: bounce 2s infinite;
}

@keyframes bounce {
	0%, 20%, 50%, 80%, 100% {
		transform: translateX(-50%) translateY(0);
	}
	40% {
		transform: translateX(-50%) translateY(-10px);
	}
	60% {
		transform: translateX(-50%) translateY(-5px);
	}
}

@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* === LEISTUNGEN SECTION === */
.section-leistungen {
	background: white;
}

.leistungen-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2.5rem;
	align-items: stretch;
	justify-items: center;
	margin: 0 auto;
	max-width: 100%;
}

/* Leistungen Layout - Responsive */
@media (min-width: 768px) {
	.leistungen-grid {
		grid-template-columns: repeat(2, 1fr);
		justify-items: stretch;
	}
}

@media (min-width: 1200px) {
	.leistungen-grid {
		grid-template-columns: repeat(4, 1fr);
		gap: 1.2rem;
		justify-items: stretch;
		align-items: stretch;
	}
	
	.leistung-card {
		min-height: 420px;
	}
}

.leistung-card {
	background: white;
	border-radius: 10px;
	padding: 1.5rem;
	box-shadow: var(--shadow);
	transition: var(--transition);
	opacity: 0;
	transform: translateY(20px);
	display: flex;
	flex-direction: column;
	height: 100%;
	width: 100%;
	max-width: none;
	text-align: center;
}

.leistung-card.visible {
	opacity: 1;
	transform: translateY(0);
}

.leistung-card:hover {
	transform: translateY(-8px);
	box-shadow: var(--shadow-hover);
}

.leistung-icon {
	width: 48px;
	height: 48px;
	background: var(--primary-color);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 1.2rem;
	color: white;
	flex-shrink: 0;
}

.leistung-card h3 {
	color: var(--primary-color);
	margin-bottom: 0.4rem;
	font-size: 1.15rem;
}

.leistung-card > p {
	margin-bottom: 1.2rem;
	font-size: 0.8rem;
	flex-shrink: 0;
	line-height: 1.4;
}

.leistung-details {
	list-style: none;
	flex-grow: 1;
	text-align: left;
	width: 100%;
	margin: 0;
	padding: 0;
}

.leistung-details li {
	padding: 0.3rem 0;
	padding-left: 1.2rem;
	position: relative;
	color: var(--text-light);
	font-size: 0.75rem;
}

.leistung-details li::before {
	content: '✓';
	position: absolute;
	left: 0;
	color: var(--primary-color);
	font-weight: bold;
	font-size: 0.9rem;
}

/* === WARUM SECTION === */
.section-warum {
	background: var(--bg-light);
}

.warum-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 2rem;
	align-items: stretch;
	margin: 0 auto;
	max-width: 1200px;
}

@media (max-width: 992px) {
	.warum-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 640px) {
	.warum-grid {
		grid-template-columns: 1fr;
	}
}

.warum-item {
	text-align: center;
	padding: 2.5rem 2rem;
	background: white;
	border-radius: 12px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.3s ease;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	height: 100%;
	width: 100%;
}

.warum-item:hover {
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
	transform: translateY(-4px);
}

.warum-item.visible {
	opacity: 1;
	transform: translateY(0);
}

.warum-icon {
	width: 70px;
	height: 70px;
	background: linear-gradient(135deg, var(--primary-color), #3a7a3c);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 1.5rem;
	transition: all 0.3s ease;
}

.warum-item:hover .warum-icon {
	transform: scale(1.1) rotate(5deg);
	box-shadow: 0 6px 20px rgba(44, 95, 45, 0.3);
}

.warum-icon svg {
	color: white;
	stroke: white;
}

.warum-item h3 {
	color: var(--primary-color);
	margin-bottom: 1rem;
	font-size: 1.2rem;
}

.warum-item p {
	font-size: 0.95rem;
	line-height: 1.7;
	max-width: 280px;
}

/* === ABLAUF SECTION === */
.section-ablauf {
	background: var(--bg-light);
}

.ablauf-steps {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 2.5rem;
	max-width: 1000px;
	margin: 0 auto;
	align-items: stretch;
}

.step {
	text-align: center;
	padding: 2.5rem 2rem;
	background: white;
	border-radius: 12px;
	box-shadow: var(--shadow);
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.3s ease;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	height: 100%;
}

.step:hover {
	box-shadow: var(--shadow-hover);
	transform: translateY(-4px);
}

.step.visible {
	opacity: 1;
	transform: translateY(0);
}

.step-number {
	width: 70px;
	height: 70px;
	background: var(--primary-color);
	color: white;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.6rem;
	font-weight: bold;
	margin-bottom: 2rem;
	flex-shrink: 0;
}

.step h3 {
	color: var(--primary-color);
	margin-bottom: 1rem;
	font-size: 1.2rem;
	flex-shrink: 0;
}

.step p {
	font-size: 0.95rem;
	line-height: 1.7;
	flex-grow: 1;
	max-width: 280px;
}

/* === EINSATZGEBIET SECTION === */
.section-einsatzgebiet {
	background: white;
}

.einsatzgebiet-content {
	display: grid;
	grid-template-columns: 1fr;
	gap: 3rem;
	align-items: center;
}

.einsatzgebiet-text {
	opacity: 0;
	transform: translateX(-20px);
	transition: opacity 0.6s ease, transform 0.6s ease;
	text-align: center;
}

.einsatzgebiet-text.visible {
	opacity: 1;
	transform: translateX(0);
}

.einsatzgebiet-text h3 {
	margin-bottom: 1.5rem;
}

.locations {
	list-style: none;
	margin: 2rem auto;
	max-width: 400px;
	text-align: left;
}

.locations li {
	padding: 0.8rem 0;
	padding-left: 2rem;
	position: relative;
	font-size: 1.1rem;
}

.locations li::before {
	content: '📍';
	position: absolute;
	left: 0;
}

.location-note {
	margin-top: 2rem;
	padding: 1.5rem;
	background: var(--bg-light);
	border-left: 4px solid var(--primary-color);
	border-radius: 4px;
	font-style: italic;
	max-width: 500px;
	margin-left: auto;
	margin-right: auto;
}

.einsatzgebiet-map {
	opacity: 0;
	transform: translateX(20px);
	transition: opacity 0.6s ease, transform 0.6s ease;
}

.einsatzgebiet-map.visible {
	opacity: 1;
	transform: translateX(0);
}

.einsatzgebiet-map iframe {
	width: 100%;
	border-radius: 8px;
	box-shadow: var(--shadow);
}

/* === KONTAKT SECTION === */
.section-kontakt {
	background: white;
}

.kontakt-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 3rem;
	align-items: start;
}

.kontakt-info, .kontakt-form {
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 0.6s ease, transform 0.6s ease;
}

.kontakt-info.visible, .kontakt-form.visible {
	opacity: 1;
	transform: translateY(0);
}

.kontakt-info {
	background: var(--bg-light);
	padding: 3.5rem 3rem;
	border-radius: 12px;
	box-shadow: var(--shadow);
	height: 100%;
	text-align: center;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

.kontakt-info h3 {
	color: var(--primary-color);
	margin-bottom: 2rem;
	font-size: 1.8rem;
}

.kontakt-item {
	margin-bottom: 2rem;
	width: 100%;
	max-width: 400px;
}

.kontakt-item strong {
	color: var(--text-color);
	display: block;
	margin-bottom: 0.5rem;
	font-size: 1.1rem;
}

.kontakt-item a {
	font-size: 1.2rem;
	font-weight: 600;
}

.kontakt-buttons {
	margin-top: 2rem;
	width: 100%;
	display: flex;
	justify-content: center;
}

/* === FORM === */
.kontakt-form {
	background: var(--bg-light);
	padding: 3rem;
	border-radius: 12px;
	box-shadow: var(--shadow);
}

@media (max-width: 767px) {
	.kontakt-form {
		padding: 1.5rem;
	}
	
	.kontakt-info {
		padding: 2rem 1.5rem;
	}
}

.form-group {
	margin-bottom: 1.5rem;
}

.form-group label {
	display: block;
	margin-bottom: 0.5rem;
	font-weight: 600;
	color: var(--text-color);
}

.form-group input,
.form-group textarea {
	width: 100%;
	padding: 0.8rem;
	border: 1px solid var(--border-color);
	border-radius: 4px;
	font-family: inherit;
	font-size: 1rem;
	transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
	outline: none;
	border-color: var(--primary-color);
	box-shadow: 0 0 0 3px rgba(44, 95, 45, 0.1);
}

.form-group textarea {
	resize: vertical;
	min-height: 120px;
}

/* Form Row für nebeneinander liegende Felder */
.form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.5rem;
}

@media (max-width: 767px) {
	.form-row {
		grid-template-columns: 1fr;
	}
}

/* Captcha Group Styling */
.captcha-group {
	background: linear-gradient(135deg, #f5f5f5 0%, #e8f5e9 100%);
	padding: 1.5rem;
	border-radius: 8px;
	border: 2px solid var(--color-primary);
	margin-top: 0.5rem;
}

.captcha-group label {
	font-weight: 600;
	color: var(--color-primary);
	font-size: 1.1rem;
}

#captcha-question {
	font-weight: 700;
	color: var(--color-secondary);
	font-size: 1.3rem;
	padding: 0 0.5rem;
}

.captcha-group input[type="number"] {
	margin-top: 0.5rem;
	text-align: center;
	font-size: 1.2rem;
	font-weight: 600;
}

/* PLZ/Ort Felder */
#ort {
	cursor: text;
}


/* === FOOTER === */
#footer {
	background: linear-gradient(135deg, #2a3b2e 0%, #3a5a3e 100%);
	color: white;
	padding: 4rem 0 0;
	position: relative;
	border-top: 3px solid var(--color-secondary);
}

#footer::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 2px;
	background: linear-gradient(90deg, var(--color-secondary) 0%, #ffb347 100%);
}

.footer-content {
	display: grid;
	grid-template-columns: 1.5fr 1fr 1fr 1fr;
	gap: 3rem;
	margin-bottom: 3rem;
	padding-bottom: 3rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-column h4 {
	color: var(--color-secondary);
	font-size: 1.1rem;
	margin-bottom: 1.5rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 1px;
}

/* Footer About Column */
.footer-logo {
	width: 80px;
	height: auto;
	margin-bottom: 1rem;
	border-radius: 8px;
}

.footer-brand {
	color: white;
	font-size: 1.6rem;
	margin-bottom: 1rem;
	font-weight: 700;
	letter-spacing: -0.5px;
}

.footer-tagline {
	color: rgba(255, 255, 255, 0.9);
	line-height: 1.7;
	margin-bottom: 1.5rem;
	font-size: 0.95rem;
}

.footer-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
}

.footer-badges .badge {
	background: rgba(255, 140, 0, 0.15);
	color: var(--color-secondary);
	padding: 0.5rem 1rem;
	border-radius: 6px;
	font-size: 0.875rem;
	font-weight: 600;
	border: 1px solid rgba(255, 140, 0, 0.3);
	transition: all 0.3s ease;
}

.footer-badges .badge:hover {
	background: rgba(255, 140, 0, 0.25);
	border-color: var(--color-secondary);
	transform: translateY(-2px);
}

/* Footer Links */
.footer-links {
	list-style: none;
	padding: 0;
	margin: 0;
}

.footer-links li {
	margin-bottom: 0.8rem;
}

.footer-links a {
	color: rgba(255, 255, 255, 0.85);
	text-decoration: none;
	transition: all 0.3s ease;
	display: inline-block;
	font-size: 0.95rem;
}

.footer-links a:hover {
	color: var(--color-secondary);
	transform: translateX(5px);
}

.footer-links a.highlight-link {
	color: var(--color-secondary);
	font-weight: 600;
	margin-top: 0.5rem;
}

.footer-links a.highlight-link:hover {
	color: white;
}

/* Footer Contact */
.footer-contact-item {
	margin-bottom: 1.5rem;
}

.footer-contact-item strong {
	display: block;
	color: var(--color-secondary);
	font-size: 0.875rem;
	margin-bottom: 0.4rem;
	font-weight: 600;
}

.footer-contact-item p {
	color: rgba(255, 255, 255, 0.85);
	line-height: 1.6;
	margin: 0;
	font-size: 0.95rem;
}

.footer-contact-item a {
	color: rgba(255, 255, 255, 0.9);
	text-decoration: none;
	transition: color 0.3s ease;
}

.footer-contact-item a:hover {
	color: var(--color-secondary);
}

/* Footer Social */
.footer-social {
	display: flex;
	gap: 1rem;
	margin-bottom: 2rem;
}

.social-icon {
	width: 35px;
	height: 35px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(255, 255, 255, 0.1);
	border-radius: 50%;
	transition: all 0.3s ease;
	border: 2px solid transparent;
}

.social-icon:hover {
	background: var(--color-secondary);
	border-color: var(--color-secondary);
	transform: translateY(-4px);
	box-shadow: 0 6px 20px rgba(255, 140, 0, 0.4);
}

.social-icon svg {
	width: 16px;
	height: 16px;
	color: white;
	fill: white;
}

/* Footer Divider */
.footer-divider {
	height: 1px;
	background: rgba(255, 255, 255, 0.15);
	margin: 2rem 0 1.5rem;
}

/* Footer Legal */
.footer-legal {
	margin-top: 0.5rem;
}

.link-button {
	background: none;
	border: none;
	color: rgba(255, 255, 255, 0.85);
	padding: 0;
	cursor: pointer;
	text-align: left;
	font-size: 0.95rem;
	font-family: inherit;
	transition: all 0.3s ease;
	display: inline-block;
}

.link-button:hover {
	color: var(--color-secondary);
	transform: translateX(5px);
}

/* Footer Bottom */
.footer-bottom {
	background: linear-gradient(135deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.3));
	padding: 2.5rem 3rem;
	margin-top: 3rem;
	border-radius: 12px;
	box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.15);
}

.footer-bottom-content {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 2rem;
	row-gap: 1.5rem;
}

.footer-bottom-content p {
	margin: 0.5rem 0;
	padding: 0.5rem 1rem;
	color: rgba(255, 255, 255, 0.9);
	font-size: 0.95rem;
}

.footer-location {
	font-size: 0.95rem !important;
	color: #ffb347 !important;
	font-weight: 500;
	padding: 0.5rem 1.5rem !important;
}

.footer-webdesign {
	font-size: 0.9rem !important;
	color: rgba(255, 255, 255, 0.7) !important;
	font-style: italic;
	padding: 0.5rem 1rem !important;
}

.footer-webdesign a {
	color: var(--color-secondary);
	text-decoration: none;
	font-weight: 600;
	transition: color 0.3s ease;
}

.footer-webdesign a:hover {
	color: #ffb347;
}

/* Responsive Footer */
@media (max-width: 1024px) {
	.footer-content {
		grid-template-columns: 1fr 1fr;
		gap: 2.5rem;
	}
}

@media (max-width: 767px) {
	#footer {
		padding: 3rem 0 0;
	}
	
	.footer-content {
		grid-template-columns: 1fr;
		gap: 2rem;
	}
	
	.footer-bottom-content {
		flex-direction: column;
		text-align: center;
	}
	
	.footer-social {
		justify-content: center;
	}
	
	.footer-badges {
		justify-content: center;
	}
	
	.footer-brand {
		text-align: center;
		font-size: 1.4rem;
	}
	
	.footer-tagline {
		text-align: center;
	}
}


/* === ANIMATIONS === */
.fade-in {
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
	opacity: 1;
	transform: translateY(0);
}

/* Stagger animations */
.leistung-card:nth-child(1) { transition-delay: 0.1s; }
.leistung-card:nth-child(2) { transition-delay: 0.2s; }
.leistung-card:nth-child(3) { transition-delay: 0.3s; }
.leistung-card:nth-child(4) { transition-delay: 0.4s; }

.warum-item:nth-child(1) { transition-delay: 0.1s; }
.warum-item:nth-child(2) { transition-delay: 0.2s; }
.warum-item:nth-child(3) { transition-delay: 0.3s; }
.warum-item:nth-child(4) { transition-delay: 0.4s; }

.step:nth-child(1) { transition-delay: 0.1s; }
.step:nth-child(2) { transition-delay: 0.2s; }
.step:nth-child(3) { transition-delay: 0.3s; }
.step:nth-child(4) { transition-delay: 0.4s; }

/* === RESPONSIVE === */
@media (min-width: 768px) {
	:root {
		--spacing: 1.5rem;
		--spacing-lg: 3rem;
		--spacing-xl: 5rem;
	}
	
	.hero-cta {
		gap: 1.5rem;
	}
	
	.kontakt-grid {
		grid-template-columns: 1fr 1fr;
	}
	
	.einsatzgebiet-content {
		grid-template-columns: 1fr 1fr;
		align-items: center;
	}
}

@media (max-width: 767px) {
	.hero {
		min-height: 90vh;
	}
	
	.hero-logo {
		max-width: 100px;
	}
	
	section {
		padding: var(--spacing-lg) 0;
	}
	
	.leistungen-grid {
		grid-template-columns: 1fr;
	}
	
	.ablauf-steps {
		grid-template-columns: 1fr;
	}
}

/* === UTILITY CLASSES === */
.text-center {
	text-align: center;
}

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }

/* === ACCESSIBILITY === */
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}

/* === PRINT === */
@media print {
	.hero,
	.scroll-indicator,
	.button,
	#footer {
		display: none;
	}
}

/* === COOKIE CONSENT BANNER === */
.cookie-consent {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	background: white;
	box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
	z-index: 10000;
	padding: 2rem;
	display: none;
	justify-content: center;
	align-items: center;
}

.cookie-content {
	max-width: 800px;
	width: 100%;
}

.cookie-content h3 {
	color: var(--primary-color);
	margin-bottom: 1rem;
}

.cookie-content p {
	margin-bottom: 1rem;
	line-height: 1.6;
}

.cookie-options {
	display: flex;
	flex-direction: column;
	gap: 0.8rem;
	margin: 1.5rem 0;
	padding: 1rem;
	background: var(--bg-light);
	border-radius: 4px;
}

.cookie-options label {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	cursor: pointer;
}

.cookie-options input[type="checkbox"] {
	width: 18px;
	height: 18px;
}

.cookie-buttons {
	display: flex;
	gap: 1rem;
	flex-wrap: wrap;
	margin-bottom: 1rem;
}

.cookie-privacy {
	font-size: 0.9rem;
	text-align: center;
}

.cookie-privacy a {
	color: var(--primary-color);
	text-decoration: underline;
}

.cookie-settings-link {
	background: none;
	border: none;
	color: rgba(255,255,255,0.8);
	text-decoration: underline;
	cursor: pointer;
	padding: 0.5rem 0;
	margin-top: 0.5rem;
	font-size: 0.9rem;
}

.cookie-settings-link:hover {
	color: white;
}

/* === HERO SLIDER === */
.hero {
	position: relative;
	overflow: hidden;
}

.hero-slider {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 0;
}

.hero-slide {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-size: cover;
	background-position: center;
	opacity: 0;
	transition: opacity 1.5s ease-in-out;
}

.hero-slide.active {
	opacity: 1;
}

/* === MAP CONSENT === */
.map-consent {
	background: var(--bg-light);
	border: 2px solid var(--border-color);
	border-radius: 8px;
	padding: 3rem 2rem;
	text-align: center;
	min-height: 350px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.map-consent-content h4 {
	color: var(--primary-color);
	margin-bottom: 1rem;
	font-size: 1.3rem;
}

.map-consent-content p {
	margin-bottom: 1.5rem;
	max-width: 400px;
	margin-left: auto;
	margin-right: auto;
}

.privacy-note {
	margin-top: 1rem;
	font-size: 0.9rem;
}

.privacy-note a {
	color: var(--primary-color);
	text-decoration: underline;
}

/* === GALERIE SECTION === */
.section-galerie {
	background: var(--bg-light);
}

.gallery-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 2rem;
	margin-bottom: 3rem;
}

.gallery-item {
	position: relative;
	cursor: pointer;
	overflow: hidden;
	border-radius: 12px;
	box-shadow: var(--shadow);
	aspect-ratio: 4/3;
	transition: var(--transition);
}

.gallery-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.gallery-item:hover img {
	transform: scale(1.1);
}

.gallery-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(44, 95, 45, 0.9);
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transition: var(--transition);
}

.gallery-overlay span {
	color: white;
	font-size: 1.2rem;
	font-weight: 600;
}

.gallery-item:hover .gallery-overlay {
	opacity: 1;
}

.social-link {
	text-align: center;
	padding: 3rem 0 0;
	margin-top: 2rem;
}

.social-cards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2rem;
	max-width: 1100px;
	margin: 0 auto;
}

@media (max-width: 992px) {
	.social-cards {
		grid-template-columns: repeat(2, 1fr);
		max-width: 700px;
	}
}

@media (max-width: 640px) {
	.social-cards {
		grid-template-columns: 1fr;
		max-width: 400px;
	}
}

.social-card {
	background: white;
	border-radius: 16px;
	padding: 2.5rem 2rem;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
	transition: all 0.4s ease;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1rem;
	position: relative;
	overflow: hidden;
	opacity: 0;
	transform: translateY(20px);
	border: 2px solid transparent;
}

.social-card.visible {
	opacity: 1;
	transform: translateY(0);
}

.social-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
	transform: scaleX(0);
	transition: transform 0.4s ease;
}

.social-card:hover::before {
	transform: scaleX(1);
}

.social-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
	border-color: var(--primary-color);
}

.social-card-icon {
	width: 80px;
	height: 80px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	margin-bottom: 0.5rem;
	transition: all 0.3s ease;
}

.facebook-icon {
	background: linear-gradient(135deg, #1877f2, #0d5dbf);
}

.instagram-icon {
	background: linear-gradient(135deg, #e1306c, #fd1d1d, #f77737);
}

.google-icon {
	background: white;
}

.social-card:hover .social-card-icon {
	transform: scale(1.1) rotate(5deg);
}

.social-card-icon svg {
	color: white;
	fill: white;
}

.social-card h4 {
	color: var(--text-color);
	font-size: 1.4rem;
	margin: 0;
	font-weight: 600;
}

.social-card p {
	color: var(--text-light);
	font-size: 0.95rem;
	line-height: 1.6;
	margin: 0;
}

.social-card-cta {
	color: var(--primary-color);
	font-weight: 600;
	font-size: 0.95rem;
	margin-top: 0.5rem;
	transition: all 0.3s ease;
}

.social-card:hover .social-card-cta {
	color: var(--secondary-color);
	transform: translateX(5px);
}

/* === LIGHTBOX === */
.lightbox {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.95);
	z-index: 9999;
	align-items: center;
	justify-content: center;
	animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
	from { opacity: 0; }
	to { opacity: 1; }
}

.lightbox-content {
	position: relative;
	max-width: 90%;
	max-height: 90%;
}

.lightbox-content img {
	max-width: 100%;
	max-height: 90vh;
	object-fit: contain;
	border-radius: 4px;
}

.lightbox-close {
	position: absolute;
	top: 20px;
	right: 40px;
	font-size: 3rem;
	color: white;
	cursor: pointer;
	z-index: 10001;
	background: none;
	border: none;
	line-height: 1;
	transition: var(--transition);
}

.lightbox-close:hover {
	color: var(--secondary-color);
}

.lightbox-prev,
.lightbox-next {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(255, 255, 255, 0.2);
	color: white;
	border: none;
	font-size: 2rem;
	padding: 1rem 1.5rem;
	cursor: pointer;
	transition: var(--transition);
	z-index: 10001;
	border-radius: 4px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
	background: rgba(255, 255, 255, 0.4);
}

.lightbox-prev {
	left: 20px;
}

.lightbox-next {
	right: 20px;
}

.lightbox-counter {
	position: absolute;
	bottom: -40px;
	left: 50%;
	transform: translateX(-50%);
	color: white;
	font-size: 1rem;
	background: rgba(0, 0, 0, 0.7);
	padding: 0.5rem 1rem;
	border-radius: 20px;
}

/* === FORM ENHANCEMENTS === */
.checkbox-group {
	margin: 1.5rem 0;
}

.checkbox-label {
	display: flex;
	align-items: flex-start;
	gap: 0.8rem;
	cursor: pointer;
	line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
	margin-top: 0.3rem;
	width: 18px;
	height: 18px;
	flex-shrink: 0;
	cursor: pointer;
}

.checkbox-label span {
	color: var(--text-light);
	font-size: 0.9rem;
}

.checkbox-label a {
	color: var(--primary-color);
	text-decoration: underline;
}

.form-message {
	margin-top: 1rem;
	padding: 1rem;
	border-radius: 8px;
	font-size: 0.95rem;
	text-align: center;
	display: none;
}

.form-message.success {
	display: block;
	background: #d4edda;
	color: #155724;
	border: 1px solid #c3e6cb;
}

.form-message.error {
	display: block;
	background: #f8d7da;
	color: #721c24;
	border: 1px solid #f5c6cb;
}

.form-note {
	margin-top: 1rem;
	font-size: 0.9rem;
	color: var(--text-light);
}

/* === RESPONSIVE ADDITIONS === */
@media (max-width: 767px) {
	.cookie-consent {
		padding: 1.5rem;
	}
	
	.cookie-buttons {
		flex-direction: column;
	}
	
	.cookie-buttons .button {
		width: 100%;
	}
	
	.gallery-grid {
		grid-template-columns: 1fr;
	}
	
	.lightbox-prev,
	.lightbox-next {
		padding: 0.5rem 1rem;
		font-size: 1.5rem;
	}
	
	.lightbox-close {
		top: 10px;
		right: 20px;
		font-size: 2rem;
	}
	
	.social-buttons {
		flex-direction: column;
		align-items: stretch;
	}
	
	.social-btn {
		justify-content: center;
	}
}

/* === MOBILE NAVIGATION === */
.mobile-menu-btn {
	position: fixed;
	top: 1rem;
	right: 1rem;
	z-index: 1001;
	width: 50px;
	height: 50px;
	background: var(--primary-color);
	border: none;
	border-radius: 50%;
	cursor: pointer;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 5px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
	transition: all 0.3s ease;
}

.mobile-menu-btn span {
	width: 24px;
	height: 3px;
	background: white;
	border-radius: 2px;
	transition: all 0.3s ease;
}

.mobile-menu-btn:hover {
	background: var(--primary-dark);
	transform: scale(1.05);
}

.mobile-menu-btn.active span:nth-child(1) {
	transform: rotate(45deg) translate(7px, 7px);
}

.mobile-menu-btn.active span:nth-child(2) {
	opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
	transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Menu Backdrop */
.mobile-nav-backdrop {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.6);
	z-index: 999;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.4s ease, visibility 0.4s ease;
}

.mobile-nav-backdrop.active {
	opacity: 1;
	visibility: visible;
}

.mobile-nav {
	position: fixed;
	top: 0;
	right: -100%;
	width: 300px;
	max-width: 85vw;
	height: 100vh;
	background: white;
	z-index: 1000;
	transition: right 0.4s ease;
	box-shadow: -4px 0 20px rgba(0, 0, 0, 0.2);
	display: flex;
	flex-direction: column;
	overflow-y: auto;
}

.mobile-nav.active {
	right: 0;
}

.mobile-nav-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 1.5rem;
	border-bottom: 2px solid var(--bg-light);
}

.mobile-nav-logo {
	height: 40px;
	width: auto;
}

.mobile-nav-close {
	width: 40px;
	height: 40px;
	background: var(--bg-light);
	border: none;
	border-radius: 50%;
	font-size: 1.5rem;
	color: var(--text-color);
	cursor: pointer;
	transition: all 0.3s ease;
}

.mobile-nav-close:hover {
	background: var(--primary-color);
	color: white;
}

.mobile-nav-links {
	list-style: none;
	padding: 0;
	margin: 0;
	flex: 1;
}

.mobile-nav-links li {
	border-bottom: 1px solid var(--bg-light);
}

.mobile-nav-links a {
	display: block;
	padding: 1.2rem 1.5rem;
	color: var(--text-color);
	font-size: 1.1rem;
	font-weight: 600;
	transition: all 0.3s ease;
}

.mobile-nav-links a:hover {
	background: var(--bg-light);
	color: var(--primary-color);
	padding-left: 2rem;
}

.mobile-nav-footer {
	padding: 1.5rem;
	border-top: 2px solid var(--bg-light);
}

.mobile-nav-footer .button {
	width: 100%;
	margin-bottom: 1rem;
	text-align: center;
}

.mobile-nav-social {
	display: flex;
	justify-content: center;
	gap: 1rem;
}

.mobile-nav-social a {
	width: 45px;
	height: 45px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--primary-color);
	border-radius: 50%;
	color: white;
	transition: all 0.3s ease;
}

.mobile-nav-social a:hover {
	background: var(--secondary-color);
	transform: translateY(-3px);
}

/* Hide mobile menu button on desktop */
@media (min-width: 1024px) {
	.mobile-menu-btn {
		display: none;
	}
}

/* === PAGE NAVIGATION (for impressum/datenschutz) === */
.page-nav {
	background: white;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	position: sticky;
	top: 0;
	z-index: 100;
}

.page-nav-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 1rem 2rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
}

.nav-logo img {
	height: 40px;
	width: auto;
}

.nav-links {
	display: none;
	list-style: none;
	margin: 0;
	padding: 0;
	gap: 2rem;
}

.nav-links li a {
	color: var(--text-color);
	font-weight: 600;
	transition: color 0.3s ease;
}

.nav-links li a:hover {
	color: var(--primary-color);
}

.nav-phone {
	color: var(--primary-color);
	font-weight: 600;
	font-size: 1.1rem;
	white-space: nowrap;
}

@media (min-width: 768px) {
	.nav-links {
		display: flex;
	}
}

/* === SIMPLE FOOTER (for impressum/datenschutz) === */
.simple-footer {
	background: linear-gradient(135deg, #2a3b2e, #3a5a3e);
	color: white;
	padding: 3rem 0 1rem;
	margin-top: 4rem;
}

.footer-content-simple {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 2rem;
	margin-bottom: 2rem;
}

.footer-col h4 {
	color: white;
	margin-bottom: 1rem;
	font-size: 1.2rem;
}

.footer-col p {
	color: rgba(255, 255, 255, 0.9);
	margin-bottom: 0.5rem;
	line-height: 1.6;
}

.footer-col a {
	color: rgba(255, 255, 255, 0.9);
	transition: color 0.3s ease;
}

.footer-col a:hover {
	color: var(--secondary-color);
}

.footer-col ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.footer-col ul li {
	margin-bottom: 0.5rem;
}

.footer-bottom-simple {
	text-align: center;
	padding-top: 2rem;
	border-top: 1px solid rgba(255, 255, 255, 0.2);
	display: flex;
	justify-content: center;
	gap: 2rem;
	flex-wrap: wrap;
}

.footer-bottom-simple p {
	color: rgba(255, 255, 255, 0.8);
	margin: 0;
}

.footer-bottom-simple a {
	color: var(--secondary-color);
}
