/* Reset */
* {margin: 0; padding: 0; box-sizing: border-box;}
body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #1F2937;
    background: #ffffff;
}

main {
    padding-top: 0;
}

/* Nur Unterseiten ohne Hero */
body.no-hero main {
    padding-top: 120px; /* Höhe vom Header */
}

.with-padding {
    padding-top: 120px;
}

.section-subtitle,
h3 {
    margin-top: 3rem;
    margin-bottom: 1.25rem;
}


/* Header / Navbar */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #ffffff;
    color: #0B3B66;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    z-index: 1000;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}
header .logo img {
    height: 70px;
    width: auto;
    display: block;
}

/* Navigation Desktop */
header nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}
header nav ul li a {
    color: #0B3B66;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}
header nav ul li a:hover {
    color: #14B8A6;
}

/* Hamburger Menü Icon */
.menu-toggle {
    display: none;
    font-size: 1.8rem;
    color: #0B3B66;
    cursor: pointer;
}

/* Mobile Navigation */
@media (max-width: 768px) {
    header nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        right: 2rem;
        background: #ffffff;
        width: 220px;
        padding: 1rem;
        box-shadow: 0 6px 20px rgba(0,0,0,0.15);
        border-radius: 8px;
    }
    header nav ul.active {
        display: flex;
    }
    .menu-toggle {
        display: block;
    }
}

/* Hero */
.hero {
    height: 100vh;
    background: url("../images/bg.png") center/cover no-repeat;
    position: relative;
    display: flex; justify-content: flex-start; align-items: center;
    color: white; text-align: left; padding: 2rem 4rem;
}
.hero .overlay {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5);
}
.hero-content {position: relative; z-index: 1;}
.hero h1 {font-size: 4rem; font-weight: 700; margin-bottom: 1rem;}
.hero .slogan {font-size: 1.25rem; margin-bottom: 2rem; color: #14B8A6; text-transform: uppercase;}
.cta {
    padding: 1rem 2.5rem; background: #14B8A6; color: white;
    border-radius: 50px; text-decoration: none; font-weight: 600;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2); transition: all 0.3s;
}
.cta:hover {background: #0d9488; transform: translateY(-2px);}

/* Container */
.container {padding: 6rem 2rem; max-width: 1100px; margin: 0 auto;}
.container h2 {text-align: center; margin-bottom: 3rem; font-size: 2rem; color: #0B3B66;}

/* Über mich */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}
.about-image img {
    width: 100%;
    max-width: 400px;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.about-text p {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}
.values-list,
.keyfacts {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
}

.values-list li,
.keyfacts li {
    background: #fff;
    border-radius: 12px;
    padding: 1.2rem;
    box-shadow: 0 4px 12px rgba(0,0,0,.06);
    color: #374151;
    font-size: 1rem;
    line-height: 1.5;

    /* DAS ist der Knackpunkt */
    display: flex;
    align-items: center;
    min-height: 100px; /* gleiche Höhe erzwingen */
}

.keyfacts i {
    color: #14B8A6;
    font-size: 1.2rem;
    margin-right: 0.6rem;
    flex-shrink: 0;
}


/* Hover Effekt */
.values-list li:hover,
.keyfacts li:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,.1);
}



@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .about-image img {
        margin: 0 auto 2rem;
    }
}

/* Skills */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.skill-card {
    background: #f9fafb;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,.06);
    transition: transform 0.3s, box-shadow 0.3s;
}
.skill-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(0,0,0,.12);
}

.skill-card h3 i {
    background: linear-gradient(135deg, #14B8A6, #0B3B66);
    color: #fff;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.5rem;
    font-size: 1rem;
}


.skill {
    margin-bottom: 1.5rem;
}

.skill span {
    display: block;
    margin-bottom: 0.3rem;
    font-size: 0.95rem;
    color: #374151;
    font-weight: 500;
}

.progress {
    position: relative;
    background: #e5e7eb;
    border-radius: 20px;
    height: 16px;
    overflow: hidden;
}

.progress .bar {
    background: linear-gradient(90deg, #14B8A6, #0B3B66);
    height: 100%;
    width: 0;
    border-radius: 20px;
    transition: width 1.4s cubic-bezier(0.65, 0, 0.35, 1);
    box-shadow: 0 0 8px rgba(20, 184, 166, 0.4);
}

.progress .percent {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
}




/* Leistungen / Services */


#services {
    background: #ffffff;
}

#services h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #0B3B66;
    margin-bottom: 3rem;
    text-align: center;
}
/* Services CTA */
.services-cta {
    text-align: center;
    margin-top: 3rem;
}
.services-note {
    margin-top: 1rem;
    font-size: 0.95rem;
    color: #6b7280;
}
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service {
    background: #f9fafb;
    padding: 2.5rem 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

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

.service .icon {
    background: #e6f9f7;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.service .icon i {
    font-size: 2rem;
    color: #14B8A6;
}

.service h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: #0B3B66;
}

.service p {
    font-size: 1rem;
    line-height: 1.5;
    color: #374151;
}


/* Projekte */
.project-grid {display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem;}
.project-card {
    background: #f9fafb;
    padding: 2rem 1.5rem;
    border-radius: 12px;
    text-align: center;
    font-weight: 400;
    color: #374151;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    min-height: 380px;
}
.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.1);
}
.project-card img.project-logo {
    max-width: 250px;
    height: auto;
    margin: 0 auto 1rem auto;
    display: block;
}
.project-card h3 {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: #0B3B66;
}
.project-card p {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    min-height: 60px;
}
.project-card .tag {
    display: inline-block;
    margin-top: auto;
    background: #14B8A6;
    color: white;
    font-size: 0.8rem;
    padding: 0.3rem 0.6rem;
    border-radius: 5px;
}

/* Aktuell */
#news {
    background: #ffffff;
}

#news h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #0B3B66;
    margin-bottom: 2rem;
    text-align: center;
}

.news-card {
    display: flex;
    align-items: flex-start;
    background: #f9fafb;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.12);
}

.news-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #e6f9f7;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
}

.news-icon i {
    font-size: 1.8rem;
    color: #14B8A6;
}

.news-content h3 {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: #0B3B66;
}

.news-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: #374151;
}

.news-content a {
    color: #14B8A6;
    font-weight: 500;
    text-decoration: none;
}

.news-content a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 600px) {
    .news-card {
        flex-direction: column;
        text-align: center;
    }

    .news-icon {
        margin: 0 auto 1rem auto;
    }
}


/* Kontakt */
.contact-form {display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2rem;}
.contact-form input, .contact-form textarea {
    padding: 1rem; border: 1px solid #ccc; border-radius: 8px; font-size: 1rem;
}
.contact-form textarea {min-height: 120px;}
.contact-form button {
    padding: 1rem; background: #0B3B66; color: white;
    border: none; border-radius: 8px; font-size: 1rem; font-weight: bold;
    cursor: pointer; transition: background 0.3s, transform 0.2s;
}
.contact-form button:hover {background: #14B8A6; transform: translateY(-2px);}
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}
.contact-info h3 {margin-bottom: 1rem; color: #0B3B66;}
.contact-info p {font-size: 1rem; margin-bottom: 0.8rem; color: #374151;}
.contact-info i {color: #14B8A6; margin-right: 0.5rem;}
@media (max-width: 768px) {.contact-grid {grid-template-columns: 1fr;}}

/* Footer */
.site-footer {
    background: #1F2937;
    color: #ffffff;
    padding: 3rem 2rem;
    margin-top: 4rem;
}
.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}
.footer-col h4 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
    color: #14B8A6;
}
.footer-col ul {list-style: none; padding: 0;}
.footer-col ul li {margin-bottom: 0.5rem;}
.footer-col ul li a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s;
}
.footer-col ul li a:hover {color: #14B8A6;}
.footer-col i {margin-right: 0.5rem; color: #14B8A6;}
.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.9rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1rem;
}

/* Hero Responsive */
@media (max-width: 768px) {
    .hero {
        height: auto;
        min-height: 80vh; /* etwas Höhe behalten */
        padding: 6rem 1.5rem 4rem 1.5rem;
        text-align: center;
        justify-content: center; /* vertikal mittig */
        align-items: center;     /* horizontal mittig */
    }

    .hero h1 {
        font-size: 2.2rem;
        margin-bottom: 0.8rem;
    }

    .hero .slogan {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .hero-content {
        max-width: 90%;
        margin: 0 auto;
    }

    .cta {
        padding: 0.9rem 2rem;
        font-size: 1rem;
        border-radius: 40px;
    }
}

