/* --- FAIRDIENST24 MASTER STYLES --- */

:root {
    --primary: #0f172a;       /* Dunkles Blau (Slate-900) - Hauptfarbe */
    --primary-light: #1e293b; /* Helleres Blau (Slate-800) */
    --accent: #10b981;        /* Das markante Grün (Emerald-500) */
    --accent-dark: #059669;   /* Dunkles Grün für Hover */
    --bg: #f8fafc;            /* Heller Hintergrund */
    --white: #ffffff;
    --text: #334155;          /* Haupttext-Farbe */
    --text-muted: #64748b;    /* Nebentext (Grau) */
    --border: #e2e8f0;        /* Rahmenfarbe */
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --radius: 12px;           /* Standard Rundung für Boxen/Buttons */
}

/* --- BASIS RESET --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

html, body {
    height: 100%;
    margin: 0;
}

body {
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.5;
    overflow-x: hidden; /* Verhindert seitliches Scrollen */
}

/* --- NAVIGATION (Basis) --- */
.navbar {
    background: var(--white);
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 0 20px;
    height: 70px;
    display: flex;
    align-items: center;
}

.nav-inner {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--primary);
    cursor: pointer;
    text-decoration: none;
}

.logo span {
    color: var(--accent);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 24px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--accent);
}

/* Mobile Menu Toggle (Hamburger) */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--primary);
    border-radius: 3px;
    transition: 0.3s;
}

/* --- BUTTONS & INPUTS (Global) --- */

/* Standard Input Feld */
.input-standard {
    width: 100%;
    padding: 12px 15px;
    font-size: 1rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    outline: none;
    background: var(--white);
    height: auto;
    transition: border-color 0.2s, box-shadow 0.2s;
    color: var(--primary);
}

.input-standard:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

/* Primärer Button (Dunkelblau) */
.btn-primary {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: var(--radius);
    background-color: var(--primary);
    color: var(--white);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn-primary:hover {
    background-color: #1e293b; /* Etwas heller bei Hover */
    transform: translateY(-1px);
}

.btn-primary:active {
    transform: scale(0.98);
}

.btn-primary:disabled {
    background-color: #94a3b8;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* CTA Button (Grün) */
.btn-cta {
    width: 100%;
    padding: 18px;
    background-color: var(--accent);
    color: var(--white); /* Weißer Text auf Grün */
    border: none;
    border-radius: var(--radius);
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
    transition: background 0.2s, transform 0.1s;
}

.btn-cta:hover {
    background-color: var(--accent-dark);
}

/* Sekundärer Button (Weiß mit Rahmen) */
.btn-secondary {
    width: 100%;
    padding: 14px;
    background: var(--white);
    border: 2px solid var(--primary);
    color: var(--primary);
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.btn-secondary:hover {
    background: #f8fafc;
}

/* --- FOOTER --- */
footer {
    background: #f1f5f9;
    border-top: 1px solid var(--border);
    padding: 60px 20px 30px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-inner {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    text-align: left;
}

.footer-col h4 {
    color: var(--primary);
    font-size: 0.95rem;
    margin-bottom: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-col ul li a:hover {
    color: var(--accent);
}

.footer-contact-info p {
    margin-bottom: 8px;
}

.footer-contact-info span {
    color: var(--primary);
    font-weight: 600;
}

/* Payment Icons im Footer */
.payment-methods {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 15px;
}

.payment-icon {
    height: 28px;
    width: auto;
    object-fit: contain;
    display: block;
    background: white;
    padding: 2px 4px;
    border-radius: 4px;
    border: 1px solid #e2e8f0;
}

.footer-bottom {
    max-width: 1300px;
    margin: 40px auto 0;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

/* --- MOBILE RESPONSIVE (Global) --- */
@media (max-width: 1024px) {
    .footer-inner {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none; /* Wird per JS eingeblendet wenn nötig */
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        text-align: center;
    }
    
    .nav-links.mobile-active {
        display: flex;
    }

    .mobile-menu-toggle {
        display: flex;
    }
    
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .payment-methods {
        justify-content: center;
    }
}