:root {
	--primary-red: #D31111;
	--dark-red: #8B0000;
	--white: #ffffff;
	--light-grey: #f4f6f8;
	--text-dark: #333333;
	--shadow: 0 10px 30px rgba(211, 17, 17, 0.15);
}

body {
	font-family: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
	margin: 0;
	padding: 0;
	background-color: var(--light-grey);
	color: var(--text-dark);
}

/* --- MODERN HEADER --- */
.top-bar {
	background-color: #0f172a;
	color: rgba(255,255,255,0.8);
	padding: 8px 0;
	font-size: 0.85rem;
	position: relative;
	z-index: 1002;
}

.top-bar .container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 20px;
}

.top-bar a { color: white; text-decoration: none; margin-left: 20px; transition: color 0.3s; }
.top-bar a:hover { color: var(--primary-red); }

.main-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid rgba(0,0,0,0.05);
	box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
	transition: all 0.3s ease;
}

.header-inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	height: 80px;
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 20px;
}

.logo {
	font-size: 1.5rem;
	font-weight: 800;
	color: var(--text-dark);
	text-transform: uppercase;
	text-decoration: none;
	display: flex;
	align-items: center;
}
.logo span { color: var(--primary-red); }

/* Desktop Nav (Standardmäßig versteckt, da Burger bevorzugt) */
.desktop-nav { display: none; }

.header-cta {
	background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%);
	color: white !important;
	padding: 10px 25px !important;
	border-radius: 50px;
	box-shadow: 0 4px 15px rgba(211, 17, 17, 0.3);
	text-decoration: none;
}
.header-cta:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(211, 17, 17, 0.4); }

/* Burger Icon */
.burger-icon {
	display: flex;
	flex-direction: column;
	justify-content: space-around;
	width: 30px;
	height: 25px;
	background: transparent;
	border: none;
	cursor: pointer;
	z-index: 1001;
	padding: 0;
}
.burger-icon span {
	width: 30px;
	height: 3px;
	background: var(--text-dark);
	border-radius: 10px;
	transition: all 0.3s linear;
	position: relative;
	transform-origin: 1px;
}
.burger-icon.is-active span:first-child { transform: rotate(45deg); }
.burger-icon.is-active span:nth-child(2) { opacity: 0; transform: translateX(20px); }
.burger-icon.is-active span:nth-child(3) { transform: rotate(-45deg); }

/* Mobile Menu */
.mobile-menu-overlay {
	position: fixed;
	top: 0; left: 0; width: 100%; height: 100vh;
	background: var(--white);
	display: flex; flex-direction: column; justify-content: center; align-items: center;
	z-index: 999;
	opacity: 0; visibility: hidden; transform: translateY(-20px);
	transition: all 0.4s ease-in-out;
}
.mobile-menu-overlay.is-active { opacity: 1; visibility: visible; transform: translateY(0); }
.mobile-menu-overlay a {
	font-size: 1.8rem; font-weight: 700; color: var(--text-dark);
	text-decoration: none; margin: 15px 0; transition: color 0.3s;
}
.mobile-menu-overlay a:hover { color: var(--primary-red); }

/* --- HERO SECTION (STARTSEITE) --- */
.hero-section {
	background: linear-gradient(135deg, #0f172a 0%, #3e0a0a 100%);
	position: relative;
	padding-top: 60px;
	padding-bottom: 120px;
	color: white;
	text-align: center;
	clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
}
.hero-content h1 {
	font-size: 3.5rem; font-weight: 800; margin-bottom: 20px; line-height: 1.1;
}
.text-highlight {
	color: var(--primary-red);
	background: linear-gradient(90deg, #ff4d4d, #ffffff);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}
.hero-sub {
	font-size: 1.2rem; color: #cbd5e1; margin-bottom: 40px; line-height: 1.6;
}
.hero-actions {
	display: flex; justify-content: center; gap: 20px; margin-bottom: 60px;
}
.btn-main {
	background: var(--primary-red); color: white; padding: 15px 35px;
	border-radius: 50px; font-weight: bold; text-decoration: none;
	box-shadow: 0 10px 25px rgba(211, 17, 17, 0.4); transition: transform 0.2s;
}
.btn-outline {
	border: 2px solid rgba(255,255,255,0.3); color: white; padding: 15px 35px;
	border-radius: 50px; font-weight: bold; text-decoration: none; transition: background 0.2s;
}
.btn-main:hover, .btn-outline:hover {
	transform: translateY(-3px); background: white; color: var(--text-dark);
}

/* Schnell-Rechner (Startseite) */
.quick-calc-teaser {
	background: white;
	max-width: 900px; margin: 0 auto; padding: 20px;
	border-radius: 12px;
	box-shadow: 0 20px 50px rgba(0,0,0,0.3);
	display: inline-block; width: 90%;
	position: relative; top: 20px;
}
.teaser-form { display: flex; gap: 10px; align-items: center; }
.input-group {
	display: flex; align-items: center;
	background: #f4f6f8; padding: 10px 15px; border-radius: 8px; flex: 1;
}
.input-group input {
	border: none; background: transparent; font-size: 1rem; width: 100%;
	margin-left: 10px; outline: none;
}
.arrow { color: var(--text-dark); font-weight:bold; }
.btn-teaser {
	background: var(--text-dark); color: white; border: none;
	padding: 15px 30px; border-radius: 8px; font-weight: bold; cursor: pointer;
}
.teaser-note { margin-top: 10px; font-size: 0.8rem; color: #888; }

/* --- CONTENT --- */
.main-content { max-width: 1200px; margin: 0 auto; padding: 80px 20px; }
.features-grid {
	display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 40px; text-align: center;
}
.f-icon { font-size: 3rem; margin-bottom: 20px; }

/* --- BOOKING SYSTEM --- */
.booking-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 40px; }
.booking-form-card {
	background: white; padding: 40px; border-radius: 16px;
	box-shadow: 0 10px 40px rgba(0,0,0,0.05);
}
.form-group { margin-bottom: 25px; position: relative; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 600; font-size: 0.9rem; color: var(--text-dark); }
.form-control {
	width: 100%; padding: 15px; border: 2px solid #e2e8f0; border-radius: 8px;
	font-size: 1rem; transition: all 0.3s; background: #f8fafc;
}
.form-control:focus {
	border-color: var(--primary-red); outline: none; background: white;
	box-shadow: 0 0 0 4px rgba(211, 17, 17, 0.1);
}
.dims-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
.map-container {
	height: 300px; border-radius: 16px; overflow: hidden; margin-bottom: 30px;
	box-shadow: var(--shadow); border: 1px solid #e2e8f0;
}
#map { width: 100%; height: 100%; }

.carrier-card {
	background: white; border: 1px solid #e2e8f0; border-radius: 12px; padding: 20px;
	margin-bottom: 15px; display: flex; justify-content: space-between; align-items: center;
	transition: all 0.3s ease; cursor: pointer; position: relative; overflow: hidden;
}
.carrier-card:hover {
	border-color: var(--primary-red); transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}
.carrier-card.best-price { border: 2px solid #28a745; background: #f0fff4; }
.tag-ribbon {
	position: absolute; top: 0; right: 0; background: #28a745; color: white;
	font-size: 0.7rem; padding: 3px 10px; border-bottom-left-radius: 8px; font-weight: bold;
}
.carrier-logo { font-weight: 800; font-size: 1.2rem; color: var(--text-dark); }
.price-big { font-size: 1.5rem; font-weight: 800; color: var(--primary-red); }
.loading-overlay { display: none; text-align: center; padding: 40px; }

/* --- IMPRESSUM / FOOTER / LEGAL --- */
.imprint-container { max-width: 1400px; margin: 40px auto; padding: 0 20px; }
.imprint-grid {
	display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 30px; margin-bottom: 50px;
}
.imprint-card {
	background: var(--white); border-radius: 12px; padding: 30px;
	box-shadow: 0 5px 20px rgba(0,0,0,0.05); border-top: 5px solid var(--primary-red);
	transition: transform 0.3s ease; height: 100%; display: flex; flex-direction: column;
}
.imprint-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(211, 17, 17, 0.15); }
.imprint-card h3 {
	color: var(--primary-red); font-size: 1.1rem; margin-top: 0; margin-bottom: 20px;
	padding-bottom: 15px; border-bottom: 1px solid #eee;
}
.imprint-card strong { color: var(--text-dark); display: block; margin-bottom: 5px; }
.imprint-card p, .imprint-card a {
	color: #555; line-height: 1.6; margin: 0; font-size: 0.95rem; text-decoration: none;
}
.imprint-card a:hover { color: var(--primary-red); text-decoration: underline; }

.legal-content {
	background: var(--white); padding: 50px; border-radius: 12px;
	box-shadow: 0 5px 20px rgba(0,0,0,0.05); margin-bottom: 50px;
}
.legal-content h2 { color: var(--primary-red); border-bottom: 2px solid var(--light-grey); padding-bottom: 10px; margin-top: 40px; }
.legal-content h2:first-child { margin-top: 0; }

footer {
	background-color: #0f172a; color: #cbd5e1; position: relative; padding-top: 60px; margin-top: 80px;
}
footer::before {
	content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px;
	background: linear-gradient(90deg, var(--primary-red), var(--dark-red), var(--primary-red));
	box-shadow: 0 0 15px rgba(211, 17, 17, 0.5);
}
.footer-container {
	max-width: 1400px; margin: 0 auto; padding: 0 20px;
	display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 60px;
}
.footer-brand h2 { color: white; margin-top: 0; font-size: 1.8rem; text-transform: uppercase; letter-spacing: -1px; }
.trust-badges { display: flex; gap: 15px; margin-top: 20px; }
.trust-icon {
	background: rgba(255,255,255,0.1); padding: 8px 12px; border-radius: 6px;
	font-size: 0.8rem; color: white; border: 1px solid rgba(255,255,255,0.1);
}
.footer-links h3, .footer-contact h3 {
	color: white; font-size: 1.1rem; margin-top: 0; margin-bottom: 25px;
	position: relative; padding-bottom: 15px;
}
.footer-links h3::after {
	content: ''; position: absolute; bottom: 0; left: 0; width: 40px; height: 2px;
	background: var(--primary-red);
}
.footer-links ul { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: #cbd5e1; text-decoration: none; transition: all 0.3s ease; display: inline-block; }
.footer-links a:hover { color: white; transform: translateX(5px); }
.contact-item { display: flex; align-items: flex-start; margin-bottom: 20px; gap: 15px; }
.contact-icon { color: var(--primary-red); font-size: 1.2rem; }
.footer-bottom {
	border-top: 1px solid rgba(255,255,255,0.1); margin-top: 60px; padding: 20px 0;
	background: #0b1120; font-size: 0.85rem;
}
.footer-bottom-inner {
	max-width: 1400px; margin: 0 auto; padding: 0 20px;
	display: flex; justify-content: space-between; align-items: center;
}
.legal-links a { color: #94a3b8; text-decoration: none; margin-left: 20px; }
.legal-links a:hover { color: var(--primary-red); }

/* --- BUTTONS & COOKIE --- */
.sticky-btn-left {
	position: fixed; left: 0; top: 50%; transform: translateY(-50%);
	z-index: 9990; display: flex; align-items: center; text-decoration: none; transition: transform 0.3s ease;
}
.sticky-btn-left .icon-box {
	background: linear-gradient(135deg, #FF512F 0%, #DD2476 100%);
	color: white; width: 60px; height: 60px; display: flex; justify-content: center; align-items: center;
	border-top-right-radius: 12px; border-bottom-right-radius: 12px;
	box-shadow: 5px 5px 20px rgba(221, 36, 118, 0.3); position: relative; z-index: 2;
}
.sticky-btn-left:hover { transform: translateY(-50%) translateX(5px); }
.sticky-btn-left .label {
	background: #333; color: white; padding: 10px 20px 10px 15px;
	border-top-right-radius: 8px; border-bottom-right-radius: 8px; font-size: 0.9rem;
	font-weight: bold; opacity: 0; transform: translateX(-100%); transition: all 0.3s ease;
	position: absolute; left: 50px; z-index: 1; white-space: nowrap;
}
.sticky-btn-left:hover .label { opacity: 1; transform: translateX(0); }

.sticky-sidebar-right {
	position: fixed; right: 0; top: 50%; transform: translateY(-50%);
	z-index: 9990; display: flex; flex-direction: column; gap: 15px;
}
.sticky-btn-right {
	width: 50px; height: 50px; display: flex; justify-content: center; align-items: center;
	color: white; border-top-left-radius: 8px; border-bottom-left-radius: 8px;
	text-decoration: none; transition: all 0.3s; box-shadow: -5px 5px 15px rgba(0,0,0,0.1);
}
.btn-phone { background-color: #0F172A; }
.btn-whatsapp { background-color: #25D366; }
.btn-mail { background-color: #64748b; }
.sticky-btn-right:hover { width: 60px; padding-right: 10px; }

.cookie-banner {
	position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%) translateY(150%);
	width: 90%; max-width: 600px; background: rgba(15, 23, 42, 0.9);
	backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px);
	border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 16px; padding: 25px;
	z-index: 10000; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5); color: #cbd5e1;
	display: flex; flex-direction: column; gap: 20px; opacity: 0; transition: all 0.5s;
}
.cookie-banner.show { transform: translateX(-50%) translateY(0); opacity: 1; }
.cookie-content h3 { margin: 0 0 10px 0; color: white; display: flex; align-items: center; gap: 10px; }
.cookie-actions { display: flex; gap: 15px; justify-content: flex-end; }
.btn-cookie { padding: 10px 20px; border-radius: 8px; font-weight: 600; cursor: pointer; border: none; }
.btn-accept { background: var(--primary-red); color: white; }
.btn-decline { background: transparent; border: 1px solid rgba(255, 255, 255, 0.2); color: #cbd5e1; }

/* 404 Fehlerseite Styles */
.error-code {
	font-size: 8rem; font-weight: 800; line-height: 1;
	background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%);
	-webkit-background-clip: text; -webkit-text-fill-color: transparent; margin-bottom: 20px;
}
.error-container { text-align: center; padding: 80px 20px; max-width: 600px; margin: 0 auto; }

/* --- RESPONSIVE MEDIA QUERIES (Alle Anpassungen am Ende) --- */
@media (max-width: 900px) {
	.booking-grid { grid-template-columns: 1fr; }
	.map-container { height: 200px; }
	.footer-container { grid-template-columns: 1fr; gap: 40px; }
	.footer-bottom-inner { flex-direction: column; gap: 15px; text-align: center; }
}
@media (max-width: 768px) {
	.hero-content h1 { font-size: 2.2rem; }
	.teaser-form { flex-direction: column; }
	.input-group { width: 100%; box-sizing: border-box; }
	.btn-teaser { width: 100%; }
	.arrow { transform: rotate(90deg); margin: 10px 0; }
	.sticky-btn-left:hover .label { display: none; }
}
@media (max-width: 600px) {
	.cookie-banner { width: 100%; bottom: 0; border-radius: 16px 16px 0 0; left: 0; transform: translateY(100%); }
	.cookie-banner.show { transform: translateY(0); }
	.cookie-actions { flex-direction: column; }
	.btn-cookie { width: 100%; }
	.imprint-grid { grid-template-columns: 1fr; }
}