/* =============================================
   B&R Stamm UG - Gemeinsames Basis-CSS
   ============================================= */

/* CSS-Variablen (werden pro Website überschrieben) */
:root {
    --primary-color-1: #667eea;
    --primary-color-2: #764ba2;
    --text-color: #333;
    --text-light: #4a5568;
    --background-light: rgba(255, 255, 255, 0.95);
    --white: #ffffff;
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: linear-gradient(135deg, var(--primary-color-1) 0%, var(--primary-color-2) 100%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* =============================================
   HEADER
   ============================================= */
header {
    background: var(--background-light);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--text-light);
    text-decoration: none;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-light);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color-1);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, var(--primary-color-1), var(--primary-color-2));
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* Aktiver Menüpunkt */
.nav-links a.active {
    font-weight: 700;
    font-size: 1.05em;
}

/* Login Button */
.login-btn {
    background: linear-gradient(135deg, var(--primary-color-1), var(--primary-color-2));
    color: var(--white) !important;
    padding: 0.7rem 1.5rem;
    border: none;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
}

.login-btn::after {
    display: none !important;
}

/* =============================================
   MAIN CONTENT
   ============================================= */
main {
    padding-top: 100px; /* Platz für fixed header */
    min-height: calc(100vh - 200px);
}

.content-box {
    background: var(--background-light);
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

/* =============================================
   FOOTER
   ============================================= */
footer {
    background: rgba(0, 0, 0, 0.2);
    color: var(--white);
    padding: 2rem 0;
    margin-top: 3rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
    text-decoration: underline;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* =============================================
   UTILITIES
   ============================================= */
.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; }

/* Fix: Navigation horizontal und ohne Bullets */
.nav-links {
    display: flex !important;
    list-style: none !important;
    flex-direction: row !important;
}

.nav-links li {
    list-style: none !important;
}

.footer-links {
    display: flex !important;
    list-style: none !important;
}

.footer-links li {
    list-style: none !important;
}

/* Fix: Navigation horizontal und ohne Bullets */
.nav-links {
    display: flex !important;
    list-style: none !important;
    flex-direction: row !important;
}

.nav-links li {
    list-style: none !important;
}

.footer-links {
    display: flex !important;
    list-style: none !important;
}

.footer-links li {
    list-style: none !important;
}
