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

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background-color: #f0f2f5;
    color: #333;
    line-height: 1.6;
}

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

header {
    background: linear-gradient(135deg, #1a2a44, #2a5298); /* Anpassung an mögliche Logofarben */
    color: white;
    text-align: center;
    padding: 40px 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.logo {
    max-width: 150px; /* Größe anpassbar */
    height: auto;
    margin-bottom: 15px;
}

header h1 {
    font-size: 2.2em;
    margin-bottom: 10px;
}

header p {
    font-size: 1.1em;
    opacity: 0.9;
}

#dienstleistungen {
    padding: 60px 0;
}

#dienstleistungen h2 {
    text-align: center;
    font-size: 2.2em;
    margin-bottom: 40px;
    color: #1a2a44; /* Dunkler Ton vom Header */
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.service-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.service-card h3 {
    color: #2a5298; /* Blauton vom Header */
    margin-bottom: 10px;
}

footer {
    background: #1a2a44; /* Dunkler Ton vom Header */
    color: white;
    padding: 20px 0;
    text-align: center;
}

.popup-btn {
    background: #2a5298; /* Blauton vom Header */
    color: white;
    border: none;
    padding: 10px 20px;
    margin: 0 10px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.popup-btn:hover {
    background: #3b6db0; /* Hellerer Blauton */
}

/* Popup Styling */
.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}

.popup-content {
    background: white;
    overflow-y: auto; /* vertikaler Scrollbalken bei Überlauf */
    padding: 30px;
    border-radius: 10px;
    position: relative;
    max-width: 500px;
    max-height: 80vh; /* nicht höher als 80% der Bildschirmhöhe */
    width: 90%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    animation: fadeIn 0.3s ease;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #333;
}

.popup-content h2 {
    margin-bottom: 20px;
    color: #1a2a44; /* Dunkler Ton */
}

.popup-content form {
    display: flex;
    flex-direction: column;
}

.popup-content label {
    margin-top: 10px;
    font-weight: bold;
}

.popup-content input, .popup-content textarea {
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1em;
}

.popup-content button {
    margin-top: 20px;
    padding: 10px;
    background: #2a5298; /* Blauton */
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.popup-content button:hover {
    background: #3b6db0; /* Hellerer Blauton */
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.cf-turnstile {
    margin-top: 20px; /* Abstand nach oben, um es nach unten zu verschieben */
    margin-bottom: 20px; /* Abstand nach unten vor dem Button */
}

/* Footer Bewertung Zweispalten */
#bewertungsbereich h3 {
    margin-bottom: 15px;
    color: #1a2a44;
}

#bewertungForm label {
    font-weight: bold;
    display: flex;
    flex-direction: column;
}

#bewertungForm input,
#bewertungForm select,
#bewertungForm textarea {
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1em;
}

#bewertungForm button {
    background: #2a5298;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

#bewertungForm button:hover {
    background: #3b6db0;
}
