/* --- 1. Grundvariablen & Modernes Reset --- */
:root {
    --bg-color: #fcfdfd;
    --text-color: #2b2d42;
    --primary-color: #e63946; 
    --primary-gradient: linear-gradient(135deg, #ff4b5c, #e63946);
    --secondary-color: #f1f5f9;
    --card-bg: #ffffff;
    --border-color: #e2e8f0;
    --whatsapp-color: #25D366;
    --nav-bg: rgba(255, 255, 255, 0.95);
    --footer-bg: #1e2022;
    --footer-text: #f8f9fa;
    --border-radius: 16px; 
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    --box-shadow-hover: 0 15px 40px rgba(230, 57, 70, 0.18);
}

body.dark-mode {
    --bg-color: #0f172a;
    --text-color: #f1f5f9;
    --nav-bg: rgba(15, 23, 42, 0.95);
    --secondary-color: #1e293b;
    --card-bg: #1e293b;
    --border-color: #334155;
    --footer-bg: #0b1120;
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', system-ui, sans-serif; }
html { scroll-behavior: smooth; }
body { background-color: var(--bg-color); color: var(--text-color); line-height: 1.6; transition: var(--transition); overflow-x: hidden; padding-bottom: 0; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; position: relative; z-index: 2; }

/* --- 2. Typografie & Buttons --- */
h1 { font-size: 4.2rem; line-height: 1.1; margin-bottom: 25px; letter-spacing: -1.5px; font-weight: 900; }
h2 { font-size: 2.8rem; margin-bottom: 15px; font-weight: 800; letter-spacing: -1px; }
h3 { font-size: 1.5rem; margin-bottom: 10px; font-weight: 700; }
.highlight { color: transparent; background: var(--primary-gradient); -webkit-background-clip: text; background-clip: text; }
.text-primary { color: var(--primary-color); }
.text-white { color: #fff !important; }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }

.badge { display: inline-block; background: var(--primary-gradient); color: white; padding: 8px 25px; border-radius: 30px; font-size: 0.95rem; font-weight: 800; margin-bottom: 25px; box-shadow: 0 4px 15px rgba(230, 57, 70, 0.3); text-transform: uppercase; letter-spacing: 1px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 32px; border-radius: 30px; text-decoration: none; font-weight: 800; font-size: 1.1rem; cursor: pointer; transition: var(--transition); border: none; }
.btn-primary { background: var(--primary-gradient); color: white; }
.btn-primary:hover { transform: translateY(-4px) scale(1.02); box-shadow: var(--box-shadow-hover); }
.btn-glow { box-shadow: 0 10px 25px rgba(230, 57, 70, 0.4); }
.btn-secondary { background-color: var(--secondary-color); color: var(--text-color); }
.btn-secondary:hover { background-color: var(--border-color); transform: translateY(-4px); }
.btn-whatsapp { background-color: var(--whatsapp-color); color: white; box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3); }
.btn-whatsapp:hover { background-color: #128C7E; transform: translateY(-4px) scale(1.02); box-shadow: 0 15px 30px rgba(37, 211, 102, 0.5); }
.btn-icon { background: none; border: none; font-size: 1.5rem; color: var(--text-color); cursor: pointer; padding: 10px; border-radius: 50%; transition: var(--transition); }
.btn-icon:hover { background-color: var(--secondary-color); }

/* --- 3. Navigation & Echtes Logo --- */
.navbar { position: fixed; top: 0; width: 100%; background-color: var(--nav-bg); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-bottom: 1px solid rgba(255,255,255,0.1); z-index: 1000; padding: 15px 0; transition: var(--transition); }
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo a { display: block; text-decoration: none; }
.logo-img { height: 48px; width: auto; object-fit: contain; transition: var(--transition); }
.logo-img:hover { transform: scale(1.05); }
.nav-links { display: flex; align-items: center; }
.nav-links a { text-decoration: none; color: var(--text-color); margin: 0 18px; font-weight: 700; font-size: 1.05rem; transition: var(--transition); position: relative; }
.nav-links a::after { content: ''; position: absolute; width: 0; height: 3px; bottom: -6px; left: 0; background: var(--primary-gradient); transition: var(--transition); border-radius: 2px; }
.nav-links a:hover::after { width: 100%; }
.nav-actions { display: flex; align-items: center; gap: 15px; }
.mobile-only-link, .hamburger { display: none; }

/* --- 4. Hero Section --- */
.hero { position: relative; padding-top: 150px; padding-bottom: 80px; min-height: 85vh; display: flex; align-items: center; }
.hero-bg-glow { position: absolute; top: -20%; right: -10%; width: 60vw; height: 60vw; background: radial-gradient(circle, rgba(230,57,70,0.08) 0%, rgba(255,255,255,0) 70%); z-index: 0; }
.hero-container { display: flex; align-items: center; gap: 60px; }
.hero-content { flex: 1.2; z-index: 1; }
.hero-content p { font-size: 1.3rem; margin-bottom: 40px; opacity: 0.85; max-width: 550px; font-weight: 500; }
.hero-buttons { display: flex; gap: 20px; flex-wrap: wrap; }
.hero-image-placeholder { flex: 1; position: relative; z-index: 1; text-align: center; }

.hero-main-img { width: 100%; max-width: 600px; border-radius: 30px; box-shadow: var(--box-shadow-hover); border: 6px solid var(--card-bg); object-fit: cover; }
.mockup-box { width: 100%; height: 500px; background: var(--card-bg); border-radius: 30px; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 30px; position: relative; box-shadow: var(--box-shadow); border: 2px dashed rgba(230, 57, 70, 0.3); }
.mockup-circle { width: 140px; height: 140px; background: rgba(230, 57, 70, 0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 25px; }
.mockup-circle i { font-size: 4.5rem; color: var(--primary-color); }

@keyframes float { 0% { transform: translateY(0px) rotate(0deg); } 50% { transform: translateY(-15px) rotate(1deg); } 100% { transform: translateY(0px) rotate(0deg); } }
.floating-anim { animation: float 7s ease-in-out infinite; }
@keyframes pulse { 0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(230, 57, 70, 0.7); } 70% { transform: scale(1); box-shadow: 0 0 0 15px rgba(230, 57, 70, 0); } 100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(230, 57, 70, 0); } }
.pulse-slow { animation: pulse 3s infinite; }

/* --- 5. Info-Ticker --- */
.ticker-wrap { width: 100%; overflow: hidden; background: var(--footer-bg); color: white; padding: 15px 0; border-top: 3px solid var(--primary-color); border-bottom: 3px solid var(--primary-color); position: relative; z-index: 10; }
@keyframes ticker { 0% { transform: translate3d(0, 0, 0); } 100% { transform: translate3d(-50%, 0, 0); } }
.ticker { display: inline-block; white-space: nowrap; padding-right: 100%; box-sizing: content-box; animation: ticker 30s linear infinite; }
.ticker:hover { animation-play-state: paused; }
.ticker-item { display: inline-block; padding: 0 40px; font-size: 1.1rem; font-weight: 700; letter-spacing: 0.5px; }
.ticker-item i { color: var(--primary-color); margin-right: 8px; font-size: 1.2rem; }

/* --- 6. SPACING & SEPARATORS --- */
.section-spacing { padding: 140px 0; }
.slanted-section-bottom { padding: 140px 0 180px 0; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 4vw), 0 100%); margin-bottom: -4vw; background-color: var(--secondary-color); }
.slanted-section-top { padding: 180px 0 140px 0; clip-path: polygon(0 4vw, 100% 0, 100% 100%, 0 100%); background-color: var(--secondary-color); }
.border-top-separator { border-top: 1px solid var(--border-color); }
.bg-light { background-color: var(--bg-color); }
.bg-secondary { background-color: var(--secondary-color); }
.section-header { text-align: center; margin-bottom: 80px; max-width: 800px; margin-left: auto; margin-right: auto; }
.section-header p { font-size: 1.2rem; opacity: 0.8; }

/* --- 7. Vorteile --- */
.benefits-section { padding-top: 100px; }
.benefits-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.benefit-card { background-color: var(--card-bg); padding: 40px; border-radius: var(--border-radius); box-shadow: var(--box-shadow); text-align: left; border-left: 4px solid var(--primary-color); transition: var(--transition); border-top: 1px solid var(--border-color); border-right: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); }
.benefit-card:hover { transform: translateX(10px); box-shadow: var(--box-shadow-hover); }
.benefit-icon { width: 60px; height: 60px; background: rgba(230, 57, 70, 0.1); color: var(--primary-color); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; margin-bottom: 20px; }
.benefit-card h3 { font-size: 1.4rem; margin-bottom: 10px; }
.benefit-card p { opacity: 0.8; font-size: 1rem; }

/* --- 8. Tabs & Grids (Ausbildung) --- */
.tab-buttons { display: flex; justify-content: center; gap: 10px; margin-bottom: 60px; flex-wrap: wrap; background: var(--secondary-color); padding: 12px; border-radius: 50px; width: fit-content; margin-inline: auto; box-shadow: var(--box-shadow); border: 1px solid var(--border-color); }
.tab-btn { padding: 14px 35px; font-size: 1.15rem; font-weight: 800; color: var(--text-color); background: transparent; border: none; border-radius: 40px; cursor: pointer; transition: var(--transition); }
.tab-btn.active { background: var(--primary-gradient); color: white; box-shadow: 0 5px 20px rgba(230, 57, 70, 0.4); transform: scale(1.05); }
.tab-content { display: none; animation: fadeIn 0.5s ease-in-out; }
.tab-content.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

.class-grid, .team-grid, .fleet-grid, .location-grid, .reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 40px; }
.class-card, .location-card { background-color: var(--card-bg); border-radius: var(--border-radius); padding: 45px 35px; text-align: center; box-shadow: var(--box-shadow); transition: var(--transition); position: relative; border: 1px solid var(--border-color); }
.class-card:hover, .location-card:hover { transform: translateY(-12px); box-shadow: var(--box-shadow-hover); border-color: rgba(230,57,70,0.3); }
.class-icon { width: 90px; height: 90px; background: linear-gradient(135deg, rgba(230, 57, 70, 0.1), rgba(230, 57, 70, 0.02)); color: var(--primary-color); border-radius: 25px; display: flex; align-items: center; justify-content: center; font-size: 2.5rem; margin: 0 auto 30px auto; transform: rotate(-8deg); transition: var(--transition); }
.class-card:hover .class-icon { transform: rotate(0deg) scale(1.15); background: var(--primary-gradient); color: white; box-shadow: 0 10px 20px rgba(230,57,70,0.3); }
.class-card p { opacity: 0.8; font-size: 1.05rem; }
.popular { border: 2px solid var(--primary-color); }
.popular-badge { position: absolute; top: -18px; left: 50%; transform: translateX(-50%); background: var(--primary-gradient); color: white; padding: 6px 25px; border-radius: 20px; font-weight: 900; font-size: 0.95rem; box-shadow: 0 5px 15px rgba(230,57,70,0.4); text-transform: uppercase; letter-spacing: 1px; }

/* --- 9. Theorie-Kalender (App-Style) --- */
.schedule-section { position: relative; overflow: hidden; }
.calendar-wrapper { width: 100%; overflow-x: auto; padding-bottom: 20px; }
.calendar-grid { display: grid; grid-template-columns: repeat(5, minmax(200px, 1fr)); gap: 15px; min-width: 1000px; }
.cal-header { background: var(--secondary-color); color: var(--text-color); font-weight: 800; text-align: center; padding: 15px; border-radius: 12px; font-size: 1.1rem; text-transform: uppercase; letter-spacing: 1px; border: 1px solid var(--border-color); }
.cal-cell { display: flex; flex-direction: column; gap: 10px; }
.cal-event { background: var(--card-bg); padding: 20px; border-radius: 16px; border-left: 5px solid var(--primary-color); box-shadow: var(--box-shadow); transition: var(--transition); display: flex; flex-direction: column; gap: 8px; position: relative; overflow: hidden; }
.cal-event:hover { transform: translateY(-5px); box-shadow: var(--box-shadow-hover); }

/* Farbcodierung für Standorte im Kalender */
.loc-frillendorf { border-left-color: #3b82f6; } 
.loc-frillendorf::before { content: ''; position: absolute; top: 0; right: 0; width: 50px; height: 50px; background: radial-gradient(circle at top right, rgba(59, 130, 246, 0.1), transparent); }
.loc-frohnhausen { border-left-color: var(--primary-color); } 
.loc-frohnhausen::before { content: ''; position: absolute; top: 0; right: 0; width: 50px; height: 50px; background: radial-gradient(circle at top right, rgba(230, 57, 70, 0.1), transparent); }
.loc-special { border-left-color: #10b981; background: linear-gradient(135deg, rgba(16, 185, 129, 0.05), rgba(16, 185, 129, 0.1)); }

.event-title { font-weight: 800; font-size: 1.1rem; color: var(--text-color); }
.event-time { font-size: 0.95rem; font-weight: 700; opacity: 0.8; }
.event-loc { font-size: 0.9rem; opacity: 0.7; font-weight: 600; display: flex; align-items: center; gap: 5px; }

/* --- 10. Preis-Tabelle für alle Klassen --- */
.table-responsive-wrapper { width: 100%; overflow-x: auto; margin-bottom: 20px; border-radius: var(--border-radius); box-shadow: var(--box-shadow); background: var(--card-bg); border: 1px solid var(--border-color); }
.modern-price-table { width: 100%; border-collapse: collapse; min-width: 800px; text-align: left; }
.modern-price-table th { background: var(--secondary-color); padding: 20px 25px; font-weight: 800; font-size: 1.1rem; color: var(--text-color); border-bottom: 2px solid var(--border-color); white-space: nowrap; }
.modern-price-table td { padding: 20px 25px; border-bottom: 1px solid var(--border-color); font-size: 1.05rem; color: var(--text-color); transition: var(--transition); }
.modern-price-table tbody tr:last-child td { border-bottom: none; }
.modern-price-table tbody tr:hover td { background-color: rgba(230, 57, 70, 0.02); }
.modern-price-table td strong { font-size: 1.15rem; color: var(--primary-color); }
.table-subtext { font-size: 0.85rem; opacity: 0.7; font-weight: 400; }
.table-info-text { text-align: right; font-size: 0.85rem; opacity: 0.6; margin-top: 15px; font-style: italic; }

.calc-wrapper-title { text-align: center; margin: 80px 0 40px 0; position: relative; }
.calc-wrapper-title h3 { font-size: 2rem; font-weight: 900; display: inline-block; background: var(--bg-color); padding: 0 20px; position: relative; z-index: 1; }
.calc-wrapper-title::after { content: ''; position: absolute; top: 50%; left: 0; width: 100%; height: 2px; background: var(--border-color); z-index: 0; }

/* --- 11. Kalkulator --- */
.calculator-container { display: flex; flex-wrap: wrap; background-color: var(--card-bg); border-radius: var(--border-radius); box-shadow: var(--box-shadow); overflow: hidden; max-width: 900px; margin: 0 auto; border: 1px solid var(--border-color); }
.calc-inputs { flex: 2; padding: 50px 40px; min-width: 300px; }
.calc-row { display: flex; justify-content: space-between; align-items: center; padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid var(--border-color); flex-wrap: wrap; gap: 15px; }
.calc-row:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.calc-label h4 { margin-bottom: 5px; font-size: 1.15rem; }
.calc-label p { font-size: 0.9rem; opacity: 0.7; }
.calc-value { font-size: 1.3rem; font-weight: 800; color: var(--text-color); }
.slider-container { display: flex; align-items: center; gap: 15px; width: 100%; max-width: 250px; }
.calc-slider { flex: 1; -webkit-appearance: none; width: 100%; height: 10px; border-radius: 5px; background: var(--secondary-color); outline: none; }
.calc-slider::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 24px; height: 24px; border-radius: 50%; background: var(--primary-color); cursor: pointer; transition: transform 0.1s; box-shadow: 0 2px 5px rgba(0,0,0,0.2); }
.calc-slider::-webkit-slider-thumb:hover { transform: scale(1.2); }
.slider-value { font-weight: 800; min-width: 55px; text-align: right; color: var(--primary-color); }
.calc-result { flex: 1; background: linear-gradient(135deg, rgba(230, 57, 70, 0.05), rgba(230, 57, 70, 0.1)); padding: 50px 40px; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; min-width: 300px; border-left: 1px solid var(--border-color); }
.total-price { font-size: 4rem; font-weight: 900; line-height: 1; margin-bottom: 20px; }
.calc-disclaimer { font-size: 0.85rem; opacity: 0.7; margin-bottom: 30px; line-height: 1.5; }

/* --- 12. Fuhrpark --- */
.fleet-card { background-color: var(--card-bg); border-radius: var(--border-radius); overflow: hidden; box-shadow: var(--box-shadow); transition: var(--transition); border: 1px solid var(--border-color); display: flex; flex-direction: column; }
.fleet-card:hover { transform: translateY(-10px); box-shadow: var(--box-shadow-hover); border-color: rgba(230,57,70,0.3); }
.vehicle-img { width: 100%; height: 280px; position: relative; overflow: hidden; background-color: var(--secondary-color); }
.vehicle-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1); }
.fleet-card:hover .vehicle-img img { transform: scale(1.08); }
.fleet-badge { position: absolute; top: 20px; right: 20px; color: white; padding: 6px 18px; border-radius: 20px; font-size: 0.9rem; font-weight: 800; backdrop-filter: blur(5px); z-index: 2; }
.fleet-info { padding: 35px 30px; flex-grow: 1; display: flex; flex-direction: column; justify-content: center; }
.fleet-info h3 { font-size: 1.6rem; margin-bottom: 15px; }
.fleet-info p { opacity: 0.8; font-size: 1.05rem; margin: 0; }

/* --- 13. Statistiken --- */
.stats-section { background: var(--primary-gradient); padding: 100px 0; color: white; position: relative; }
.stats-section::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: url('data:image/svg+xml;utf8,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="40" stroke="rgba(255,255,255,0.1)" stroke-width="2" fill="none"/></svg>') background-size: 50px; opacity: 0.3; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 30px; text-align: center; position: relative; z-index: 1; }
.stat-item i { font-size: 3rem; margin-bottom: 20px; opacity: 0.9; }
.stat-number { font-size: 4rem; font-weight: 900; line-height: 1; margin-bottom: 10px; }
.stat-item p { font-size: 1.1rem; font-weight: 600; opacity: 0.9; }

/* --- 14. Timeline --- */
.timeline-container { position: relative; max-width: 800px; margin: 0 auto; padding: 40px 0; }
.timeline-container::before { content: ''; position: absolute; top: 0; bottom: 0; left: 50px; width: 4px; background: var(--border-color); border-radius: 2px; }
.timeline-item { position: relative; margin-bottom: 50px; display: flex; align-items: flex-start; }
.timeline-year { width: 100px; min-width: 100px; font-size: 1.5rem; font-weight: 900; color: var(--primary-color); text-align: right; padding-right: 30px; position: relative; z-index: 2; margin-top: 5px; }
.timeline-year::after { content: ''; position: absolute; right: -9px; top: 5px; width: 20px; height: 20px; background: var(--bg-color); border: 4px solid var(--primary-color); border-radius: 50%; z-index: 3; }
.timeline-content { background: var(--card-bg); padding: 35px; border-radius: var(--border-radius); box-shadow: var(--box-shadow); border: 1px solid var(--border-color); width: 100%; transition: var(--transition); }
.timeline-item:hover .timeline-content { transform: translateX(10px); box-shadow: var(--box-shadow-hover); border-color: rgba(230,57,70,0.3); }
.timeline-content h4 { font-size: 1.4rem; margin-bottom: 12px; }
.timeline-content p { opacity: 0.8; font-size: 1.05rem; }

/* --- 15. Team --- */
.team-card { background-color: var(--card-bg); padding: 50px 40px; border-radius: var(--border-radius); text-align: center; box-shadow: var(--box-shadow); transition: var(--transition); border: 1px solid var(--border-color); position: relative; }
.team-card:hover { transform: translateY(-10px); box-shadow: var(--box-shadow-hover); border-color: var(--primary-color); }
.image-avatar { width: 160px !important; height: 160px !important; margin: 0 auto 25px auto; border-radius: 50%; padding: 5px; background: var(--primary-gradient); box-shadow: 0 10px 20px rgba(230,57,70,0.3); position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.image-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; border: 4px solid var(--card-bg); transition: var(--transition); }
.team-card:hover .image-avatar img { transform: scale(1.1); }
.team-card h3 { font-size: 1.8rem; }
.team-card .role { color: var(--primary-color); font-weight: 900; margin-bottom: 20px; text-transform: uppercase; letter-spacing: 1px; font-size: 0.9rem; }
.team-card .bio { font-style: italic; opacity: 0.8; margin-bottom: 30px; font-size: 1.05rem; line-height: 1.7; }
.team-contact { display: inline-flex; align-items: center; gap: 10px; color: var(--text-color); text-decoration: none; font-weight: 800; padding: 12px 25px; background-color: var(--secondary-color); border-radius: 30px; transition: var(--transition); border: 1px solid var(--border-color); }
.team-contact:hover { color: white; background: var(--primary-gradient); border-color: transparent; box-shadow: 0 5px 15px rgba(230,57,70,0.4); }

/* --- 16. Kundenstimmen --- */
.review-card { background-color: var(--card-bg); padding: 45px; border-radius: var(--border-radius); box-shadow: var(--box-shadow); position: relative; border: 1px solid var(--border-color); }
.review-card::before { content: '"'; position: absolute; top: 20px; right: 30px; font-size: 6rem; color: var(--border-color); opacity: 0.5; line-height: 1; font-family: serif; }
.stars { color: #FFD700; margin-bottom: 20px; font-size: 1.2rem; }
.review-text { font-style: italic; font-size: 1.05rem; margin-bottom: 30px; line-height: 1.7; position: relative; z-index: 1; }
.review-author { display: flex; align-items: center; gap: 15px; }
.author-avatar { width: 50px; height: 50px; background: var(--primary-gradient); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; font-weight: bold; }
.review-author h4 { margin: 0; font-size: 1rem; }
.review-author span { font-size: 0.85rem; opacity: 0.7; }

/* --- 17. Standorte & Maps --- */
.location-card p { margin-bottom: 20px; font-size: 1.1rem; }
.location-card p i { color: var(--primary-color); margin-right: 10px; }
.map-container { width: 100%; height: 250px; border-radius: 12px; overflow: hidden; box-shadow: var(--box-shadow); border: 2px solid var(--border-color); transition: var(--transition); }
.map-container:hover { border-color: var(--primary-color); }
.map-container iframe { width: 100%; height: 100%; border: none; }

/* --- 18. FAQ --- */
.faq-container { max-width: 800px; margin: 0 auto; }
.faq-item { background-color: var(--card-bg); margin-bottom: 15px; border-radius: 12px; box-shadow: var(--box-shadow); overflow: hidden; border: 1px solid var(--border-color); transition: var(--transition); }
.faq-item:hover { border-color: rgba(230,57,70,0.3); transform: translateX(5px); }
.faq-item summary { padding: 25px; font-size: 1.15rem; font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; transition: var(--transition); user-select: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary i { color: var(--primary-color); transition: transform 0.3s ease; }
.faq-item[open] summary i { transform: rotate(180deg); }
.faq-content { padding: 0 25px 25px 25px; opacity: 0.8; line-height: 1.7; border-top: 1px solid var(--secondary-color); margin-top: 10px; padding-top: 20px; animation: slideDown 0.3s ease-out; font-size: 1.05rem; }
@keyframes slideDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }

/* --- 19. Formular --- */
.form-container { max-width: 800px; margin: 0 auto; background-color: var(--card-bg); padding: 50px; border-radius: 16px; box-shadow: var(--box-shadow); border: 1px solid var(--border-color); }
.progress-bar { display: flex; justify-content: space-between; margin-bottom: 40px; position: relative; }
.progress-bar::before { content: ''; position: absolute; top: 50%; left: 0; width: 100%; height: 2px; background: var(--border-color); z-index: 0; }
.progress-step { background: var(--card-bg); padding: 0 15px; z-index: 1; color: gray; font-weight: 700; font-size: 1.05rem; transition: var(--transition); border-radius: 20px; }
.progress-step.active { color: var(--primary-color); }
.form-step { display: none; animation: fadeIn 0.4s ease-in-out; }
.form-step.active { display: block; }

.radio-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 15px; margin-bottom: 30px; }
.radio-card input { display: none; }
.card-content { border: 1px solid var(--border-color); border-radius: 12px; padding: 25px 15px; text-align: center; cursor: pointer; transition: var(--transition); background: var(--bg-color); }
.card-content i { font-size: 2.5rem; margin-bottom: 12px; display: block; color: #a0aec0; transition: var(--transition); }
.card-content span { font-weight: 700; font-size: 1.05rem; }
.radio-card input:checked + .card-content { border-color: var(--primary-color); background: rgba(230, 57, 70, 0.05); box-shadow: 0 4px 10px rgba(230, 57, 70, 0.1); transform: translateY(-3px); }
.radio-card input:checked + .card-content i { color: var(--primary-color); transform: scale(1.1); }

.input-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 30px; }
.input-group { display: flex; flex-direction: column; }
.input-group.full-width { grid-column: 1 / -1; }
.input-group label { margin-bottom: 8px; font-weight: 600; font-size: 0.95rem; color: var(--text-color); }
.input-group input, .input-group select, .input-group textarea { padding: 15px; border: 1px solid var(--border-color); border-radius: 8px; font-size: 1.05rem; background-color: var(--bg-color); color: var(--text-color); transition: var(--transition); outline: none; }
.input-group textarea { resize: vertical; font-family: inherit; }
.input-group input:focus, .input-group select:focus, .input-group textarea:focus { border-color: var(--primary-color); box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.1); }

.checkbox-group { display: flex; align-items: center; margin-top: 10px; }
.custom-checkbox { display: flex; align-items: center; position: relative; padding-left: 35px; cursor: pointer; font-weight: 600; font-size: 1.05rem; user-select: none; }
.custom-checkbox input { position: absolute; opacity: 0; cursor: pointer; height: 0; width: 0; }
.checkmark { position: absolute; top: 0; left: 0; height: 24px; width: 24px; background-color: var(--bg-color); border: 2px solid var(--border-color); border-radius: 6px; transition: var(--transition); }
.custom-checkbox:hover input ~ .checkmark { border-color: var(--primary-color); }
.custom-checkbox input:checked ~ .checkmark { background-color: var(--primary-color); border-color: var(--primary-color); }
.checkmark:after { content: ""; position: absolute; display: none; }
.custom-checkbox input:checked ~ .checkmark:after { display: block; }
.custom-checkbox .checkmark:after { left: 8px; top: 4px; width: 5px; height: 10px; border: solid white; border-width: 0 3px 3px 0; transform: rotate(45deg); }

.form-actions { display: flex; margin-top: 40px; }
.form-actions.right { justify-content: flex-end; }
.form-actions.between { justify-content: space-between; }

/* --- 20. Footer --- */
.site-footer { background-color: var(--footer-bg); color: var(--footer-text); padding: 120px 0 30px 0; border-top: 5px solid var(--primary-color); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 60px; margin-bottom: 60px; }
.footer-about h2 { font-size: 2.2rem; margin-bottom: 20px; color: white; font-weight: 900; }
.footer-about span { color: var(--primary-color); }
.footer-about p { opacity: 0.7; max-width: 450px; font-size: 1.1rem; }
.footer-links h3, .footer-legal h3 { margin-bottom: 30px; font-size: 1.4rem; position: relative; padding-bottom: 15px; color: white; font-weight: 800; }
.footer-links h3::after, .footer-legal h3::after { content: ''; position: absolute; left: 0; bottom: 0; width: 60px; height: 4px; background: var(--primary-gradient); border-radius: 2px; }
.site-footer ul { list-style: none; }
.site-footer ul li { margin-bottom: 15px; }
.site-footer ul a { color: #cbd5e1; text-decoration: none; transition: var(--transition); font-size: 1.1rem; display: inline-block; font-weight: 600; }
.site-footer ul a:hover { color: white; transform: translateX(8px); }
.footer-bottom { text-align: center; padding-top: 40px; border-top: 1px solid rgba(255,255,255,0.1); opacity: 0.5; font-size: 1rem; }

/* --- 21. Mobile Navigation & Responsive Design --- */
.floating-bar { display: none; }

@media (max-width: 900px) {
    .desktop-only { display: none; }
    .hamburger { display: block; font-size: 2rem; }
    
    .nav-links { position: absolute; top: 80px; left: 0; width: 100%; background-color: var(--card-bg); flex-direction: column; text-align: center; box-shadow: 0 20px 40px rgba(0,0,0,0.15); transform: translateY(-150%); opacity: 0; transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.3s; z-index: 999; display: flex; padding: 20px 0; border-bottom-left-radius: 25px; border-bottom-right-radius: 25px; }
    .nav-links.active { transform: translateY(0); opacity: 1; }
    .nav-links a { padding: 18px 0; margin: 0; width: 100%; font-size: 1.3rem; }
    .nav-links a::after { display: none; }
    .mobile-only-link { display: block; color: var(--primary-color) !important; font-weight: 900 !important; }

    .logo-img { height: 40px; }

    .hero { padding-top: 120px; text-align: center; }
    .hero-container { flex-direction: column; gap: 40px; }
    h1 { font-size: 3rem; }
    .hero-content p { margin: 0 auto 35px auto; }
    .hero-buttons { justify-content: center; }
    
    .slanted-section-bottom { clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8vw), 0 100%); margin-bottom: -8vw; }
    .slanted-section-top { clip-path: polygon(0 8vw, 100% 0, 100% 100%, 0 100%); }
    
    .timeline-container::before { left: 20px; }
    .timeline-item { flex-direction: column; margin-bottom: 30px; }
    .timeline-year { width: 100%; text-align: left; padding-left: 50px; margin-bottom: 15px; }
    .timeline-year::after { left: 11px; top: 3px; }
    .timeline-content { width: 100%; margin-left: 0; }

    .tab-buttons { flex-direction: column; background: transparent; width: 100%; box-shadow: none; border: none; }
    .tab-btn { width: 100%; background: var(--card-bg); border: 2px solid var(--border-color); margin-bottom: 10px; }
    
    .input-grid { grid-template-columns: 1fr; }
    .form-container { padding: 40px 20px; border-radius: 20px; }
    
    .footer-grid { grid-template-columns: 1fr; text-align: center; gap: 40px; }
    .footer-links h3::after, .footer-legal h3::after { left: 50%; transform: translateX(-50%); }
    .site-footer ul a:hover { transform: translateY(-4px); }

    .calc-wrapper-title h3 { font-size: 1.5rem; }

    body { padding-bottom: 80px; } 
    .floating-bar { display: flex; position: fixed; bottom: 0; left: 0; width: 100%; z-index: 1000; box-shadow: 0 -5px 25px rgba(0,0,0,0.2); }
    .float-btn { flex: 1; text-align: center; padding: 22px 0; font-weight: 900; color: white; text-decoration: none; font-size: 1.15rem; display: flex; justify-content: center; align-items: center; gap: 10px; }
    .float-btn.whatsapp { background-color: var(--whatsapp-color); }
    .float-btn.anmeldung { background: var(--primary-gradient); }
}

@keyframes pulse-btn { 0% { background-color: #25D366; } 50% { background-color: #1ebe5a; } 100% { background-color: #25D366; } }
.pulse-btn { animation: pulse-btn 2s infinite; }

/* --- 22. Passwort-Schutz Overlay --- */
.password-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(15, 23, 42, 0.98); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); z-index: 999999; display: flex; justify-content: center; align-items: center; }
.password-box { background: var(--card-bg); padding: 40px; border-radius: 24px; box-shadow: 0 20px 50px rgba(0,0,0,0.5); text-align: center; max-width: 400px; width: 90%; border: 2px solid var(--primary-color); animation: fadeIn 0.4s ease-out; }
.password-box h2 { font-size: 1.8rem; margin-bottom: 10px; }
.password-box p { opacity: 0.8; margin-bottom: 25px; }
body.locked { overflow: hidden; }

/* --- 23. News / Beiträge (Fullwidth Auto-Slider) --- */
.news-section { position: relative; width: 100%; overflow: hidden; background: var(--bg-color); }
.news-slider { display: flex; width: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.news-slider::-webkit-scrollbar { display: none; }
.news-slide { flex: 0 0 100%; width: 100%; min-height: 600px; position: relative; scroll-snap-align: center; display: flex; align-items: center; justify-content: center; overflow: hidden; text-decoration: none; color: white; }
.news-slide::before { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.1) 100%); z-index: 1; }
.news-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; transition: transform 5s ease; }
.news-slide:hover .news-img { transform: scale(1.05); }
.news-content { position: relative; z-index: 2; text-align: center; max-width: 800px; padding: 40px 20px; }
.news-date { display: inline-block; background: var(--primary-color); color: white; padding: 5px 15px; border-radius: 20px; font-weight: 800; font-size: 0.9rem; margin-bottom: 20px; text-transform: uppercase; letter-spacing: 1px; box-shadow: 0 4px 10px rgba(230,57,70,0.3); }
.news-content h3 { font-size: 2.5rem; margin-bottom: 15px; text-shadow: 0 2px 10px rgba(0,0,0,0.5); font-weight: 900; }
.news-content p { font-size: 1.2rem; opacity: 0.9; margin-bottom: 25px; text-shadow: 0 2px 5px rgba(0,0,0,0.5); }
.news-readmore { font-weight: 800; color: white; display: inline-flex; align-items: center; gap: 8px; font-size: 1.1rem; border-bottom: 2px solid var(--primary-color); padding-bottom: 3px; transition: var(--transition); }
.news-slide:hover .news-readmore { gap: 12px; color: var(--primary-color); }
.slider-controls { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); display: flex; gap: 12px; z-index: 10; }
.slider-dot { width: 12px; height: 12px; border-radius: 50%; background: rgba(255,255,255,0.4); cursor: pointer; transition: var(--transition); border: none; padding: 0; }
.slider-dot.active { background: var(--primary-color); transform: scale(1.3); box-shadow: 0 0 10px rgba(230,57,70,0.5); }
@media(max-width: 768px) { .news-content h3 { font-size: 1.8rem; } .news-content p { font-size: 1.05rem; } .news-slide { min-height: 400px; } }

/* --- 24. Single Post --- */
.post-hero { position: relative; padding-top: 150px; padding-bottom: 80px; min-height: 50vh; display: flex; align-items: flex-end; background-size: cover; background-position: center; border-bottom-left-radius: 40px; border-bottom-right-radius: 40px; margin-bottom: 50px; overflow: hidden; box-shadow: var(--box-shadow); }
.post-hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(15,23,42,0.95) 0%, rgba(15,23,42,0.3) 100%); z-index: 1; }
.post-hero-content { position: relative; z-index: 2; color: white; width: 100%; }
.post-hero-content h1 { font-size: 3.5rem; margin-bottom: 15px; color: white; text-shadow: 0 2px 10px rgba(0,0,0,0.5); }
.post-content-wrapper { max-width: 800px; margin: 0 auto; font-size: 1.15rem; line-height: 1.8; padding: 0 20px 80px 20px; }
@media(max-width: 768px) { .post-hero-content h1 { font-size: 2.2rem; } .post-hero { min-height: 40vh; } }