body {
    font-family: 'Arial', sans-serif; 
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
    margin: 0;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

header {
    background: #fff;
    border-bottom: 3px solid #0056b3; /* Dezenter blauer Akzent */
    padding: 20px 0 10px 0;
}

.header-flex {
    display: flex;
    align-items: center;
    gap: 40px; /* Mehr Platz zwischen Logo und Text */
}

.logo img {
    height: 120px; /* Von 80px auf 120px vergrößert */
    width: auto;
}

.header-text h1 {
    font-size: 2.8em; /* Schön groß und präsent */
    margin: 0;
    line-height: 1.1;
    font-weight: 800; /* Kräftig */
}

.blue { color: #0046AD; }
.red { color: #e30613; }

.subtitle-header {
    margin: 5px 0 0 0; 
    font-size: 1.3em;
    color: #555;
    text-align: center; 
}

.main-grid {
    display: block;
    max-width: 800px; 
    margin: 40px auto 0;
}

.intro-block, .services-block, .usp-block, .contact-card, .legal-box {
    background-color: #ffffff; 
    border: 1px solid #e0e0e0; 
    border-radius: 12px;       
    padding: 30px; 
    margin-bottom: 30px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    border-left: 8px solid #0046AD; 
}

.intro-block {
    background-color: #f0f7ff;
}

.intro-block h2 {
    margin: 0;
    color: #0046AD;
    font-size: 2em;
}
.subtitle strong {
  font-size: 1.2rem;
}
.quote {
    background: #ffffff;
    padding: 15px 20px;
    border-radius: 8px;
    border-left: 4px solid #e30613; 
    font-style: italic;
    font-size: 1.2em;
    padding-left: 15px;
    margin: 20px 0;
    color: #555;
}

.quote-phone {
    display: block; 
    text-align: center;
    margin-top: 15px;
    font-style: normal; 
}

.quote-phone a {
    color: #e30613;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.3em; 
}
.service-list {
    list-style: none;
    padding: 0;
}

.service-list li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.service-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #0056b3;
    font-weight: bold;
}
.service-note {
  margin-top: 20px;
  padding: 15px;
  background-color: #f9f9f9;
  border-left: 4px solid #e30613;
  border-radius: 8px;
  font-size: 0.95em;
}

/* Die USP-Liste bekommt die gleichen blauen Haken wie die Leistungsliste */
.usp-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.usp-list li {
    margin-bottom: 12px;
    padding-left: 30px;
    position: relative;
    line-height: 1.4;
}

.usp-list li::before {
    content: "✓"; /* Gleiches Symbol wie im Service-Block */
    position: absolute;
    left: 0;
    color: #0046AD; /* Dein Wolf-Blau */
    font-weight: bold;
    font-size: 1.2em;
}

/* Der rote Balken für den Werkzeug-Hinweis bleibt als Kontrast */
.tool-info {
    background-color: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #e30613; /* Wolf-Rot */
    font-size: 0.95em;
    margin-top: 20px;
}
.contact-card {
    background-color: #f0f7ff; 
    padding: 30px;
    border-radius: 12px;
    margin-top: 50px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.contact-card h3 {
    color: #0046AD;
    margin: 0;
    font-size: 2em;
}

.availability-text {
    color: #e30613; /* Wolf-Rot */
    margin: 5px 0 20px 0;
}

.white-box-contact {
    background: #ffffff;
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid #e30613; 
}

.contact-flex {
    display: flex;
    align-items: center;
    gap: 30px;
}

.contact-columns {
    display: flex;
    flex: 1; /* Nutzt den restlichen Platz in der weißen Box */
    justify-content: space-between; /* Schiebt die Blöcke auseinander */
    gap: 40px;
}

.contact-column-item {
    flex: 1;
    min-width: 180px;
}

.profile-img-small {
    width: 130px;
    height: 130px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid #eee;
}

.contact-column-item p {
  margin: 0;
  font-size: 1em;
}
.contact-column-item p strong {
    display: inline-block;
    margin-bottom: 10px;
}
.phone-link a {
    color: #e30613;
    text-decoration: none;
    font-weight: bold;
}

/* Footer */
footer {
    text-align: center;
    padding: 0 0 40px;
    font-size: 0.9em;
    color: #777;
}
/* Spezifische Regeln nur für das Popup-Fenster */
/* Der dunkle Hintergrund, der die ganze Seite überdeckt */
.modal {
    display: none;       /* Standardmäßig unsichtbar */
    position: fixed;    /* Bleibt beim Scrollen an der gleichen Stelle stehen */
    z-index: 9999;      /* Ganz oben auf dem Stapel (vor allen anderen Elementen) */
    left: 0;
    top: 0;
    width: 100%;        /* Volle Breite */
    height: 100%;       /* Volle Höhe */
    background-color: rgba(0, 0, 0, 0.7); /* Schwarz mit 70% Deckkraft */
    overflow: auto;     /* Ermöglicht Scrollen, falls der Text im Fenster sehr lang ist */
}

.legal-box {
    background-color: #f0f7ff;
    margin: 10% auto;    /* 10% Abstand von oben, horizontal zentriert */
    padding: 30px;
    width: 90%;
    max-width: 650px;
    position: relative;  /* Wichtig für die Positionierung des X-Buttons */
    margin-bottom: 0;    /* Verhindert unnötige Abstände im Modal */
}

/* Der Schließen-Button (das X) */
.close-modal {
    position: absolute;
    right: 20px;
    top: 10px;
    font-size: 35px;
    font-weight: bold;
    color: #0046AD;
    cursor: pointer;
    line-height: 1;
}

.close-modal:hover {
    color: #e30613; /* Wird rot beim Drüberfahren */
}/* Anpassung für mobile Geräte */
@media (max-width: 700px) {
    .header-flex {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .contact-flex {
        flex-direction: column;
        text-align: center;
    }

    .profile-img-small {
        width: 150px;
        height: 150px;
    }
    .contact-columns {
        flex-direction: column; /* Stapelt Adresse und Tel/Mail untereinander */
        gap: 20px;
        text-align: center;
    }
}