/* Allgemein */
body {
    margin: 0;
    font-family: "Segoe UI", Arial, sans-serif;
    color: #222;
    background: #f4f6f9; /* sehr helles Grau/Weiß */
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

h1, h2 {
    color: #1976d2; /* Hellblau */
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Header */
header {
    background: linear-gradient(145deg, #d9d9d9, #bfbfbf); /* silbergrau */
    padding: 12px 0;
    box-shadow: 0 3px 6px rgba(0,0,0,0.2);
}

header .header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .logo {
    height: 60px;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: #1976d2;
    text-decoration: none;
    font-weight: bold;
    padding: 6px 12px;
    border-radius: 4px;
    transition: background 0.3s, color 0.3s;
}

nav ul li a.active, nav ul li a:hover {
    background: #1976d2;
    color: #fff;
}

/* Hero */
.hero {
    background: linear-gradient(145deg, #e0e0e0, #c7c7c7);
    color: #1976d2;
    text-align: center;
    padding: 90px 20px;
    box-shadow: inset 0 3px 10px rgba(0,0,0,0.2);
}

.hero h1 {
    font-size: 2.8em;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.2);
}

.hero p {
    font-size: 1.2em;
    color: #444;
}




/* Leistungen */
.leistungen {
    background: linear-gradient(135deg, #e2e6ea, #ffffff);
    padding: 80px 20px;
    border-radius: 8px;
    margin-top: 40px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.leistungen h2 {
    text-align: center;
    color: #1565c0;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.leistungen .intro-text {
    text-align: center;
    color: #555;
    font-size: 16px;
    max-width: 700px;
    margin: 0 auto 40px auto;
    line-height: 1.6;
}

.leistungen-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.leistung-card {
    background: #f5f7fa;
    border-left: 5px solid #1976d2;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 2px 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.leistung-card:hover {
    transform: translateY(-5px);
    box-shadow: 4px 4px 12px rgba(0,0,0,0.2);
}

.leistung-card h3 {
    color: #1976d2;
    margin-bottom: 10px;
}

.leistung-card p {
    color: #333;
    font-size: 15px;
    line-height: 1.5;
}


.card {
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    font-weight: bold;
    color: #1976d2;
    border: 1px solid #d0d0d0;
    box-shadow: 2px 2px 6px rgba(0,0,0,0.15);
    transition: transform 0.2s, box-shadow 0.2s, background 0.3s;
}

.card:hover {
    transform: translateY(-3px);
    background: #1976d2;
    color: #fff;
    box-shadow: 3px 3px 8px rgba(0,0,0,0.25);
}

/* Galerie */
.gallery .grid-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.gallery img {
    width: 100%;
    border-radius: 8px;
    border: 3px solid #1976d2; /* Hellblauer Rahmen */
    box-shadow: 2px 2px 8px rgba(0,0,0,0.2);
    transition: transform 0.3s, box-shadow 0.3s;
}

.gallery img:hover {
    transform: scale(1.05);
    box-shadow: 4px 4px 12px rgba(0,0,0,0.3);
}

/* Kontakt & Impressum */
.kontakt, .impressum {
    padding: 40px 20px;
    background: #fff;
    margin-top: 20px;
    border-radius: 8px;
    border: 1px solid #d0d0d0;
    box-shadow: 2px 2px 6px rgba(0,0,0,0.1);
}

.kontakt a {
    color: #1976d2;
    text-decoration: none;
    font-weight: bold;
}

.kontakt a:hover {
    text-decoration: underline;
}


/* Zertifikate */
/* Zertifikate */
.zertifikate {
    background: linear-gradient(135deg, #f4f6f8, #ffffff);
    padding: 60px 20px;
    border-radius: 8px;
    margin-top: 40px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.zertifikate h2 {
    text-align: center;
    color: #1565c0;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.zertifikat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.zertifikat-card {
    background: #e0e0e0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.15);
    transition: transform 0.3s, box-shadow 0.3s;
    padding-bottom: 15px;
}

.zertifikat-card:hover {
    transform: translateY(-4px);
    box-shadow: 4px 4px 12px rgba(0,0,0,0.25);
}

.zertifikat-img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-bottom: 4px solid #1976d2;
}

.zertifikat-text {
    padding: 20px;
}

.zertifikat-text h3 {
    color: #1976d2;
    margin-bottom: 10px;
}

.zertifikat-text p {
    color: #333;
    line-height: 1.5;
    font-size: 15px;
}



/* Footer */
/* Footer */
footer {
    background: #1976d2; /* Hellblauer Footer */
    color: #fff;
    padding: 20px 0;
    margin-top: 40px;
    box-shadow: inset 0 2px 8px rgba(0,0,0,0.2);
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.footer-left {
    font-size: 14px;
}

.footer-right {
    text-align: right;
    font-size: 14px;
}

.footer-right a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

.footer-right a:hover {
    text-decoration: underline;
}

/* Mobile Optimierung */
@media (max-width: 600px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    .footer-right {
        text-align: center;
        margin-top: 10px;
    }
    .header-content{
        flex-flow: column;
    }
    .header-content nav{
        margin-top: 20px;
    }
}




.zertifikat-img,
.galerie img {
    width: 100%;
    height: auto;
    max-width: 350px; /* verhindert zu breite Darstellung */
    border-radius: 8px;
    margin: 0 auto;
    display: block;
}

/* Für Tablets und kleine Laptops */
@media (max-width: 900px) {
    .zertifikat-grid,
    .galerie-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .zertifikat-card,
    .galerie-item {
        max-width: 90%;
        margin: 0 auto;
    }

    .zertifikat-img {
        max-width: 280px;
    }
}

/* Für sehr kleine Bildschirme (Smartphones) */
@media (max-width: 600px) {
    .zertifikat-img,
    .galerie img {
        max-width: 240px;
    }

    .zertifikat-card,
    .galerie-item {
        padding: 15px;
    }

    .zertifikat-text p,
    .leistung-card p {
        font-size: 14px;
        line-height: 1.4;
    }
}