/* Grundlegendes Layout */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    background-color: #f8f9fa;
}

header {
    background-color: #005a9c;
    color: white;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

header h1 {
    margin: 0;
    font-size: 1.5rem;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 1rem;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

nav a:hover {
    text-decoration: underline;
}

/* Hero Section */
.hero {
    position: relative;
    text-align: center;
    color: white;
}

.hero-image {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    opacity: 0.7;
}

.hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.hero-text h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.cta-button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: #ff9800;
    color: white;
    border-radius: 4px;
    text-decoration: none;
    margin-top: 1rem;
}

.cta-button:hover {
    background-color: #f57c00;
}

/* Sections */
section {
    padding: 2rem;
}

.calculator-section, .contact-section {
    background-color: white;
    margin: 2rem auto;
    max-width: 600px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.calculator-section h2, .contact-section h2 {
    margin-top: 0;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
}

.form-group label {
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    padding: 0.5rem;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.result {
    margin-top: 1rem;
    background-color: #e3f2fd;
    padding: 1rem;
    border-radius: 4px;
    display: none;
}

footer {
    background-color: #005a9c;
    color: white;
    text-align: center;
    padding: 1rem;
    margin-top: 2rem;
}

/* Vergleichstabelle */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.comparison-table th, .comparison-table td {
    border: 1px solid #ccc;
    padding: 0.75rem;
    text-align: left;
}

.comparison-table th {
    background-color: #e3f2fd;
    font-weight: bold;
}

.comparison-table tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}
