@charset "utf-8";
/* CSS Document */
 /* Reset und Basis-Styles */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            line-height: 1.6;
            color: #333;
            background-color: #f8f9fa;
        }
        
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }
        
        /* Header */

.header {

    background: linear-gradient(135deg, #0088cc 0%, #0066cc 100%);
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);

}



.header-content {

    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;

}



.logo {

    font-size: 1.8rem;
    font-weight: bold;
    color: white;
    text-decoration: none;

}
        /* Header */
        .header {
            background: linear-gradient(135deg, #0088cc 0%, #0066cc 100%);
            color: white;
            padding: 2rem 0;
            text-align: center;
        }
        
        .header h1 {
            font-size: 2.5rem;
            margin-bottom: 0.5rem;
            font-weight: 700;
            color: white;
        }
        
        .header p {
            font-size: 1.2rem;
            opacity: 0.9;
        }
        
        /* Navigation */
        .nav {
            background-color: #fff;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            position: sticky;
            top: 0;
            z-index: 100;
        }
        
        .nav-container {
            display: flex;
            justify-content: center;
            padding: 1rem 0;
        }
        
        .nav-links {
            display: flex;
            list-style: none;
            gap: 2rem;
            flex-wrap: wrap;
            justify-content: center;
        }
        
        .nav-links a {
            text-decoration: none;
            color: #333;
            font-weight: 500;
            padding: 0.5rem 1rem;
            border-radius: 5px;
            transition: all 0.3s ease;
        }
        
        .nav-links a:hover {
            background-color: #0088cc;
            color: white;
        }
        
        /* Main Content */
        .main-content {
            background-color: white;
            margin: 2rem auto;
            padding: 3rem;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }
        
        /* Typography */
        h1, h2, h3, h4, h5, h6 {
            color: #0088cc;
            margin-bottom: 1rem;
            line-height: 1.3;
        }
        
        h2 {
            font-size: 2rem;
            border-bottom: 3px solid #ff6b35;
            padding-bottom: 0.5rem;
            margin-top: 3rem;
            margin-bottom: 1.5rem;
        }
        
        h3 {
            font-size: 1.5rem;
            margin-top: 2rem;
            color: #0088cc;
        }
        
        h4 {
            font-size: 1.2rem;
            margin-top: 1.5rem;
            color: #ff6b35;
        }
        
        p {
            margin-bottom: 1.2rem;
            text-align: justify;
        }
        
     
        

.contact-info {

    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 0.9rem;

}



.contact-info a {

    color: white;
    text-decoration: none;
    transition: opacity 0.3s;

}



.contact-info a:hover {

    opacity: 0.8;

}

        /* Navigation */

.nav {

    background: #fff;
    padding: 0.5rem 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);

}



.nav ul {

    list-style: none;

    display: flex;

    justify-content: center;

    flex-wrap: wrap;

    gap: 30px;

}



.nav a {

    color: #333;

    text-decoration: none;

    font-weight: 500;

    padding: 10px 15px;

    border-radius: 5px;

    transition: all 0.3s;

}



.nav a:hover {

    background: #f0f8ff;

    color: #0066cc;

}
        /* Hero Section */

.hero {

    background: linear-gradient(135deg, #0088cc 0%, #0066cc 100%);

    background-size: cover;

    background-position: center;

    color: white;

    padding: 80px 0;

    text-align: center;

}



.hero h1 {

    font-size: 3rem;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);

}



.hero .subtitle {

    font-size: 1.3rem;

    margin-bottom: 30px;

    opacity: 0.9;

}

        /* Tabellen */
        .table-container {
            overflow-x: auto;
            margin: 2rem 0;
            border-radius: 8px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        }
        
        table {
            width: 100%;
            border-collapse: collapse;
            background-color: white;
        }
        
        th, td {
            padding: 1rem;
            text-align: left;
            border-bottom: 1px solid #e9ecef;
        }
        
        th {
            background-color: #0088cc;
            color: white;
            font-weight: 600;
        }
        
        tr:hover {
            background-color: #f8f9fa;
        }
        
        /* Steuerrechner */
        .tax-calculator {
            background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
            border: 2px solid #0088cc;
            padding: 2rem;
            border-radius: 15px;
            margin: 3rem 0;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        }
        
        .tax-calculator h2 {
            text-align: center;
            color: #0088cc;
            margin-bottom: 2rem;
            border: none;
            font-size: 2rem;
        }
        
        .calculator-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
            margin-bottom: 2rem;
        }
        
        .input-section, .result-section {
            background-color: white;
            padding: 1.5rem;
            border-radius: 10px;
            box-shadow: 0 3px 10px rgba(0,0,0,0.1);
        }
        
        .input-group {
            margin-bottom: 1.5rem;
        }
        
        .input-group label {
            display: block;
            margin-bottom: 0.5rem;
            font-weight: 600;
            color: #0088cc;
        }
        
        .input-group input,
        .input-group select {
            width: 100%;
            padding: 0.75rem;
            border: 2px solid #e9ecef;
            border-radius: 8px;
            font-size: 1rem;
            transition: border-color 0.3s ease;
        }
        
        .input-group input:focus,
        .input-group select:focus {
            outline: none;
            border-color: #0088cc;
            box-shadow: 0 0 0 3px rgba(30, 60, 114, 0.1);
        }
        
        .result-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0.75rem 0;
            border-bottom: 1px solid #e9ecef;
        }
        
        .result-item:last-child {
            border-bottom: none;
        }
        
        .result-label {
            font-weight: 500;
            color: #333;
        }
        
        .result-value {
            font-weight: 700;
            color: #0088cc;
            font-size: 1.1rem;
        }
        
        .highlight {
            background-color: #fff3cd;
            border: 1px solid #ffeaa7;
            padding: 1rem;
            border-radius: 8px;
            margin: 1rem 0;
        }
        
        .error-message {
            background-color: #f8d7da;
            color: #721c24;
            padding: 1rem;
            border-radius: 8px;
            margin: 1rem 0;
            display: none;
        }
        
        /* Diagramm */
        .chart-container {
            text-align: center;
            margin: 2rem 0;
        }
        
        #steuerDiagramm {
            border: 1px solid #e9ecef;
            border-radius: 8px;
            background-color: white;
            max-width: 100%;
            height: auto;
        }
        
        /* Info-Boxen */
        .info-box {
            background-color: #e7f3ff;
            border-left: 5px solid #0088cc;
            padding: 1.5rem;
            margin: 2rem 0;
            border-radius: 0 8px 8px 0;
        }
        
        .warning-box {
            background-color: #fff3cd;
            border-left: 5px solid #ff6b35;
            padding: 1.5rem;
            margin: 2rem 0;
            border-radius: 0 8px 8px 0;
        }
        
     /* Footer */

.footer {
    background: #333;
    color: white;
    padding: 40px 0 20px;
}
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}
.footer-section h3 {
    margin-bottom: 15px;
    color: #ff6b35;
}
.footer-section ul {
    list-style: none;
}
.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}
.footer-section a:hover {
    color: white;
}
.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #555;
    color: #ccc;
}

        
        /* Responsive Design */
        @media (max-width: 768px) {
            .container {
                padding: 0 15px;
            }
            
            .header h1 {
                font-size: 2rem;
            }
            
            .header p {
                font-size: 1rem;
            }
            
            .main-content {
                padding: 2rem 1.5rem;
                margin: 1rem auto;
            }
            
            .nav-links {
                gap: 1rem;
            }
            
            .nav-links a {
                padding: 0.4rem 0.8rem;
                font-size: 0.9rem;
            }
            
            h2 {
                font-size: 1.5rem;
            }
            
            .calculator-grid {
                grid-template-columns: 1fr;
            }
            
            .tax-calculator {
                padding: 1.5rem;
            }
            
            table {
                font-size: 0.9rem;
            }
            
            th, td {
                padding: 0.75rem 0.5rem;
            }
        }
        
        @media (max-width: 480px) {
            .header h1 {
                font-size: 1.8rem;
            }
            
            .main-content {
                padding: 1.5rem 1rem;
            }
            
            .tax-calculator {
                padding: 1rem;
            }
            
            .input-section, .result-section {
                padding: 1rem;
            }
        }
        
        /* Print Styles */
        @media print {
            .nav, .tax-calculator {
                display: none;
            }
            
            .main-content {
                box-shadow: none;
                margin: 0;
            }
            
            body {
                background-color: white;
            }
        }

