body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: #333;
}

header {
    background-color: #0056b3;
    color: white;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* --- Reines Text-Logo im Header --- */
.logo-link {
    display: flex;
    flex-direction: column; 
    text-decoration: none;
    line-height: 1.2;
}

.logo-title {
    font-size: 1.3rem;
    font-weight: bold;
    color: white;
}

.logo-subtitle {
    font-size: 0.85rem;
    color: #e0e0e0; 
    letter-spacing: 0.5px;
}
/* --- Größe für das Bild-Logo (z.B. in der index.html) --- */
.header-logo {
    height: 90px; /* Macht das Logo schön kompakt für den blauen Header */
    width: auto;
    border-radius: 8px;
    object-fit: contain;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

header a {
    color: white;
    text-decoration: none;
    margin: 0 15px;
    font-weight: bold;
}

header a:hover {
    text-decoration: underline;
}

.lang-switch button {
    cursor: pointer;
    padding: 5px 10px;
    margin-left: 5px;
    background-color: white;
    border: 1px solid #ccc;
    border-radius: 3px;
}

/* --- Hauptbereich auf 1200px verbreitert --- */
main {
    padding: 2rem;
    max-width: 1200px; 
    margin: auto;
    min-height: 60vh;
}

.info-box {
    background-color: #ffeeba;
    border-left: 5px solid #ffc107;
    padding: 15px;
    margin-top: 20px;
}

footer {
    background-color: #f4f4f4;
    text-align: center;
    padding: 1rem;
    margin-top: 2rem;
}

/* --- Vorstellungsbereich Startseite --- */
.about-doctor {
    display: flex;
    align-items: center;
    gap: 20px;
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #ddd;
    margin-bottom: 2rem;
}

.doctor-photo {
    width: 200px;
    height: auto; 
    object-fit: cover;
    border-radius: 8px; 
}

.doctor-info h2 {
    margin-top: 0;
    color: #0056b3;
}

/* --- Leistungsübersicht Exaktes Design (ohne Bilder, 4 Spalten) --- */
.leistungen-main-title {
    text-align: center;
    color: #007bff; 
    font-weight: normal;
    margin-bottom: 50px;
    font-size: 1.8rem;
}

.leistungen-grid-clean {
    display: grid;
    grid-template-columns: repeat(4, 1fr); 
    gap: 25px; 
    align-items: stretch; /* <-- Hier von 'start' auf 'stretch' ändern */
}

.leistung-item {
    display: flex;
    flex-direction: column;
}

.leistung-item a {
    text-decoration: none;
}

.leistung-item h2 {
    color: #007bff; 
    font-size: 1.1rem;
    font-weight: normal;
    margin: 0 0 15px 0;
    text-decoration: underline; 
    text-decoration-color: #007bff;
}

.leistung-item h2 {
    color: #007bff; 
    font-size: 1.1rem;
    font-weight: bold; /* Macht die Überschrift etwas kräftiger */
    margin: 0 0 15px 0;
    text-decoration: none; /* Entfernt die Unterstreichung */
}

.leistung-item p {
    font-size: 0.9rem;
    color: #000;
    line-height: 1.5;
    margin: 0;
}

/* --- Größe der Bilder in der Leistungsübersicht --- */
.leistung-item img {
    width: 100%;
    height: 160px; /* Macht alle Bilder gleich hoch */
    object-fit: cover; /* Schneidet die Bilder sauber zu, ohne sie zu verzerren */
    margin-bottom: 15px;
    border-radius: 5px; /* Macht die Ecken leicht rund */
}

/* --- Cookie-Banner --- */
#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #222;
    color: white;
    padding: 15px 20px;
    text-align: center;
    display: none; 
    z-index: 1000;
    box-sizing: border-box;
}

#cookie-banner button {
    margin: 5px 10px;
    padding: 8px 15px;
    cursor: pointer;
    border: none;
    border-radius: 3px;
    font-weight: bold;
}

#btn-accept { background-color: #28a745; color: white; }
#btn-decline { background-color: #dc3545; color: white; }

/* --- Responsives Design für Smartphones & Tablets --- */
@media (max-width: 900px) {
    .leistungen-grid-clean {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        padding: 10px;
        text-align: center;
    }

    header nav ul {
        flex-direction: column;
        gap: 10px;
        padding: 0;
        margin-top: 10px;
    }

    h1 {
        font-size: 1.5rem !important;
        line-height: 1.3;
    }

    main {
        padding: 10px;
    }

    .about-doctor {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 600px) {
    .leistungen-grid-clean {
        grid-template-columns: 1fr;
    }
}
/* --- Zurück-Button für die Unterseiten --- */
/* --- Zurück-Button für die Unterseiten --- */
.back-button {
    display: inline-block;
    margin-top: auto; /* <-- Drückt den Button automatisch an den untersten Rand der Spalte */
    padding: 10px 20px;
    background-color: #0056b3; 
    color: white; 
    text-decoration: none;
    border-radius: 5px; 
    font-weight: bold;
    transition: background-color 0.3s ease;
    align-self: center; 
}

.back-button:hover {
    background-color: #003d82; 
    color: white;
    text-decoration: none;
}


/* --- Optimierung für Smartphones --- */
@media (max-width: 768px) {
    /* Logo im Header verkleinern */
    .text-logo-link, header img, .header-logo {
        max-width: 160px !important;
        height: auto !important;
        margin: 0 auto;
    }

    /* Den blauen Header auf dem Handy etwas kompakter machen */
    header {
        padding: 15px 10px;
        text-align: center;
    }

    /* Navigation untereinander anordnen */
    header nav ul {
        flex-direction: column;
        gap: 8px;
        padding: 0;
        margin-top: 10px;
    }
}