/* ---------------------------------------------------
   Global Styles
--------------------------------------------------- */

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Hero Section */
.hero-section {
    background-size: cover;
    background-position: center;
    min-height: 25vh;
    text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}

/* Headings */
h1, h2, h3, h4 {
    font-weight: 700;
}

/* Cards */
.card {
    border: none;
    border-radius: 10px;
}

.card img {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

/* Footer */
footer a {
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Responsive spacing */
section {
    padding-top: 60px;
    padding-bottom: 60px;
}

/* Navigation */
.navbar-brand {
    font-size: 1.4rem;
}

/* Buttons */
.btn-primary {
    background-color: #0057b8;
    border-color: #0057b8;
}

.btn-primary:hover {
    background-color: #004a9c;
    border-color: #004a9c;
}

/* Images */
img {
    max-width: 100%;
    height: auto;
}

/* ---------------------------------------------------
   Feature Icons neben Abschnitten
--------------------------------------------------- */

.feature-icon {
    width: 70px;
    height: 70px;
    object-fit: contain;
    flex-shrink: 0;
    opacity: 0.9;
}

.feature-section .container {
    gap: 20px;
}

/* Mobile Ansicht */
@media (max-width: 768px) {
    .feature-section .container {
        flex-direction: column;
        text-align: center;
    }

    .feature-icon {
        margin-bottom: 20px;
    }
}

/* ---------------------------------------------------
   Projektbilder (Leistungen)
--------------------------------------------------- */

.shadow-sm {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
/* ---------------------------------------------------
   Hero Overlay + Abdunklung
--------------------------------------------------- */

.hero-section {
    position: relative;
    background-size: cover;
    background-position: center;
    min-height: 25vh; /* deine gewünschte Höhe */
    text-shadow: 0 2px 8px rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
}

.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45); /* Abdunklung */
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2; /* Text über Overlay */
}
/* ---------------------------------------------------
   Hero Typografie Optimierung
--------------------------------------------------- */

.hero-section h1 {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.hero-section p.lead {
    font-size: 1.25rem;
    font-weight: 300;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto 35px auto;
}

.hero-section .btn-lg {
    padding: 14px 32px;
    font-size: 1.15rem;
    font-weight: 600;
    border-radius: 8px;
}

/* Mobile Optimierung */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
        line-height: 1.3;
    }

    .hero-section p.lead {
        font-size: 1.1rem;
        margin-bottom: 25px;
    }

    .hero-section .btn-lg {
        font-size: 1rem;
        padding: 12px 26px;
    }
}
