:root {
    --bg-main: #060911;
    --bg-surface: #0d1322;
    --bg-card: rgba(18, 26, 43, 0.6);
    --bg-card-hover: rgba(28, 40, 65, 0.8);
    --accent: #f97316;
    --accent-hover: #ea580c;
    --accent-gradient: linear-gradient(135deg, #f97316 0%, #dc2626 100%);
    --accent-glow: rgba(249, 115, 22, 0.2);
    --whatsapp-green: #25D366;
    --text-light: #f8fafc;
    --text-muted: #94a3b8;
    --border-color: rgba(255, 255, 255, 0.08);
    --border-accent: rgba(249, 115, 22, 0.3);
}

/* Base Setup */
* { 
    box-sizing: border-box; 
    margin: 0; 
    padding: 0; 
    scroll-behavior: smooth; 
}

/* Sticky Footer Grid/Flex Layout */
html, body {
    height: 100%;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-main);
    color: var(--text-light);
    line-height: 1.6;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(249, 115, 22, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(30, 58, 138, 0.1) 0%, transparent 40%);
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Navigation Header */
.navbar {
    position: sticky; 
    top: 0; 
    z-index: 1000;
    background: rgba(6, 9, 17, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    max-width: 1200px; 
    margin: 0 auto;
    display: flex; 
    align-items: center; 
    justify-content: space-between;
    padding: 16px 24px;
}

.logo { 
    display: flex; 
    align-items: center; 
    gap: 12px; 
    text-decoration: none; 
}

.logo-badge {
    background: var(--accent-gradient); 
    color: #fff;
    font-weight: 800; 
    font-size: 16px; 
    padding: 6px 12px;
    border-radius: 8px; 
    letter-spacing: 0.5px; 
    box-shadow: 0 0 15px var(--accent-glow);
}

.logo-text { 
    color: #fff; 
    font-size: 18px; 
    font-weight: 700; 
    letter-spacing: -0.5px; 
}

.nav-links { 
    display: flex; 
    align-items: center; 
    gap: 28px; 
    list-style: none; 
}

.nav-links a { 
    color: var(--text-muted); 
    text-decoration: none; 
    font-size: 14px; 
    font-weight: 600; 
    transition: color 0.2s ease; 
}

.nav-links a:hover, 
.nav-links a.active { 
    color: #ffffff; 
}

.nav-cta {
    background: var(--accent-gradient); 
    color: #fff !important;
    padding: 10px 20px; 
    border-radius: 30px; 
    box-shadow: 0 4px 20px var(--accent-glow);
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.nav-cta:hover { 
    transform: translateY(-2px); 
    box-shadow: 0 6px 25px rgba(249, 115, 22, 0.4) !important; 
}

/* Main Layout & Containers */
.container { 
    max-width: 1100px; 
    margin: 0 auto; 
    padding: 60px 24px 80px 24px; 
    flex: 1; /* Sticky Footer Kernfunktion */
    width: 100%;
}

.container-narrow {
    max-width: 800px;
}

/* Page Headers & Hero Section */
.page-header { 
    text-align: center; 
    margin-bottom: 50px; 
}

.page-header h1 { 
    font-size: 40px; 
    font-weight: 800; 
    letter-spacing: -0.5px; 
    margin-bottom: 12px; 
}

.page-header p { 
    color: var(--text-muted); 
    font-size: 18px; 
    max-width: 600px;
    margin: 0 auto;
}

/* Content Grids */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

/* Generic Cards (Vorteile, Leistungen) */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px;
    backdrop-filter: blur(12px);
    transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--border-accent);
    background: var(--bg-card-hover);
}

.card-number {
    font-size: 32px;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 16px;
}

.card h3 { 
    font-size: 20px; 
    font-weight: 700; 
    margin-bottom: 12px; 
    color: #fff;
}

.card p { 
    color: var(--text-muted); 
    font-size: 14px; 
    line-height: 1.6; 
}

/* Contact Specific Cards & Items */
.contact-grid {
    display: flex;
    justify-content: center;
    width: 100%;
}

.contact-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(12px);
    text-align: center;
    width: 100%;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-card h2 { 
    font-size: 26px; 
    font-weight: 700; 
    margin-bottom: 28px; 
    color: #fff; 
}

.contact-item {
    margin-bottom: 24px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-item label {
    display: block;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent);
    font-weight: 700;
    margin-bottom: 6px;
}

.contact-item p, 
.contact-item a {
    color: #f8fafc;
    font-size: 18px;
    text-decoration: none;
    font-weight: 500;
}

.contact-item a:hover { 
    color: var(--accent); 
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--accent-gradient);
    color: #fff;
    box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(249, 115, 22, 0.4);
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: rgba(37, 211, 102, 0.15);
    border: 1px solid rgba(37, 211, 102, 0.4);
    color: var(--whatsapp-green) !important;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
    margin-top: 8px;
    transition: all 0.2s ease;
}

.whatsapp-btn:hover {
    background: var(--whatsapp-green);
    color: #fff !important;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
    transform: translateY(-2px);
}

.whatsapp-btn svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

/* Footer Element */
footer {
    background: #04060c;
    border-top: 1px solid var(--border-color);
    padding: 40px 24px;
    text-align: center;
    width: 100%;
    margin-top: auto; /* Zwingt Footer nach ganz unten */
}

.footer-container { 
    max-width: 1200px; 
    margin: 0 auto; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    gap: 20px; 
}

.footer-links { 
    display: flex; 
    gap: 24px; 
    list-style: none; 
}

.footer-links a { 
    color: var(--text-muted); 
    text-decoration: none; 
    font-size: 13px; 
    transition: color 0.2s ease; 
}

.footer-links a:hover { 
    color: var(--accent); 
}

.footer-copyright { 
    color: #64748b; 
    font-size: 13px; 
}

/* Responsive Styles */
@media (max-width: 768px) {
    .nav-links { 
        display: none; 
    }
    
    .page-header h1 {
        font-size: 30px;
    }
    
    .container {
        padding: 40px 16px 60px 16px;
    }
}

/* Legal / Text Content Boxes */
.legal-box {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 48px;
    color: #cbd5e1;
    font-size: 15px;
    line-height: 1.8;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
}

.legal-box h2 {
    color: #ffffff; 
    font-size: 20px; 
    font-weight: 700;
    margin-top: 32px; 
    margin-bottom: 12px; 
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-color);
}

.legal-box h2:first-child { 
    margin-top: 0; 
}

.legal-box p { 
    margin-bottom: 16px; 
}

@media (max-width: 768px) {
    .legal-box { 
        padding: 28px 20px; 
    }
}