/* Page Header */
.page-header {
    background: linear-gradient(135deg, #2c3e50 0%, #2c3e50 100%);
    color: #ffffff;
    padding: 120px 0 80px;
    margin-top: 0;
    text-align: center;
}

body .page-header {
    background: linear-gradient(rgba(44, 62, 80, 0.85), rgba(44, 62, 80, 0.85)), url('../img/bild8.jpg') center 72px/contain no-repeat !important;
    color: #ffffff;
    padding: 120px 0 80px;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #fff !important;
    font-family: 'Exotc 350 Bd BT', Arial, sans-serif !important;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Services Section */
.services {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.services-intro {
    text-align: center;
    margin-bottom: 80px;
}

.services-intro p {
    font-size: 1.3rem;
    color: #495057;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto;
    font-weight: 400;
}

/* Service Categories */
.service-category {
    margin-bottom: 80px;
}

/* Spezielle Grid-Layout für Verfahrenstechnik */
.service-category:nth-child(3) .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

/* Spezielle Grid-Layout für Bautechnik */
.service-category:nth-child(4) .services-grid {
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
}

.service-category:nth-child(4) .service-card {
    padding: 25px 20px;
    background: #2c3e50 !important;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
    color: #fff !important;
    min-height: auto;
    justify-content: center;
}

.service-category:nth-child(4) .service-card:hover {
    border-color: #2c3e50;
    transform: translateY(-2px);
}

.service-category:nth-child(4) .service-card h3 {
    text-align: center;
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
    color: #fff !important;
}

.service-category:nth-child(3) .service-card {
    min-height: 200px;
    padding: 50px 40px;
    justify-content: flex-start;
    text-align: left;
}

.service-category:nth-child(3) .service-card h3 {
    text-align: left;
    margin-bottom: 20px;
}

.service-category:nth-child(3) .service-card ul {
    margin-top: 0;
}

.service-category h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 20px;
}

.service-category h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #2c3e50, #2c3e50);
    border-radius: 2px;
}

.service-category .subtitle {
    font-size: 1.3rem;
    font-weight: 400;
    color: #6c757d;
    text-align: center;
    margin-top: 5px;
    margin-bottom: 30px;
}

.service-category:last-child {
    margin-bottom: 0;
}

/* Bautechnik Text-Formatierung */
.bauleitung-text {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.bauleitung-text p {
    font-size: 1.2rem;
    color: #495057;
    line-height: 1.8;
    margin-bottom: 20px;
    font-weight: 400;
}

.bauleitung-text p:last-child {
    margin-bottom: 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.service-card {
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(44, 90, 160, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: 0;
    padding-bottom: 0;
}

.service-card ul {
    list-style: none;
    padding: 0;
    margin: 15px 0 0 0;
    text-align: left;
    width: 100%;
}

.service-card li {
    color: #495057;
    font-size: 0.9rem;
    margin-bottom: 8px;
    padding-left: 15px;
    position: relative;
    line-height: 1.4;
}

.service-card li::before {
    content: '•';
    color: #2c3e50;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2c3e50, #2c3e50);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 60px rgba(44, 90, 160, 0.2);
    border-color: #2c3e50;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    font-size: 3.5rem;
    margin-bottom: 25px;
    text-align: center;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2c3e50 !important;
    margin: 0;
    text-align: center;
    line-height: 1.4;
    word-wrap: break-word;
    hyphens: auto;
}

.service-card p {
    color: #495057;
    margin-bottom: 0;
    line-height: 1.6;
    text-align: center;
    font-size: 0.95rem;
}

/* Wettersysteme in der Desktop-Ansicht zentrieren */
@media (min-width: 769px) {
    .service-category:nth-child(2) .service-card:last-child {
        grid-column: 2 !important;
    }
}

/* Bauleitung Section */
.bauleitung {
    padding: 100px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.bauleitung h2 {
    font-size: 3rem;
    font-weight: 700;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.bauleitung h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #2c3e50, #2c3e50);
    border-radius: 2px;
}

.bauleitung > .container > p {
    font-size: 1.3rem;
    color: #495057;
    text-align: center;
    margin-bottom: 60px;
    line-height: 1.8;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.bauleitung-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
    margin: 60px 0;
}

.bauleitung-section {
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(44, 90, 160, 0.1);
    border: 2px solid transparent;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.bauleitung-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(44, 90, 160, 0.15);
    border-color: #2c3e50;
}

.bauleitung-section h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 25px;
    text-align: center;
}

.bauleitung-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.bauleitung-section li {
    color: #495057;
    font-size: 1rem;
    margin-bottom: 12px;
    padding-left: 20px;
    position: relative;
    line-height: 1.5;
}



.bauleitung-section li::before {
    content: '•';
    color: #2c3e50;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.bauleitung-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 25px;
    margin-bottom: 60px;
}

.bauleitung-item {
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(44, 90, 160, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.bauleitung-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2c3e50, #2c3e50);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.bauleitung-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 60px rgba(44, 90, 160, 0.2);
    border-color: #2c3e50;
}

.bauleitung-item:hover::before {
    transform: scaleX(1);
}

.bauleitung-item h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2c3e50 !important;
    margin: 0;
    text-align: center;
    line-height: 1.4;
    word-wrap: break-word;
    hyphens: auto;
}

.bauleitung-closing {
    text-align: center;
    margin-top: 60px;
    padding: 40px;
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(44, 90, 160, 0.1);
}

.bauleitung-closing p {
    font-size: 1.3rem;
    color: #495057;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto;
    font-weight: 500;
}

/* Process Section */
.process {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.process h2 {
    font-size: 3rem;
    font-weight: 700;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.process h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #2c3e50, #2c3e50);
    border-radius: 2px;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.step {
    text-align: center;
    padding: 40px 30px;
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(44, 90, 160, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
    position: relative;
    height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding-top: 30px;
}

.step:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 60px rgba(44, 90, 160, 0.2);
    border-color: #2c3e50;
}

.step-number {
    width: 80px;
    height: 80px;
    background: #2c3e50 !important;
    background: linear-gradient(135deg, #2c3e50 0%, #2c3e50 100%) !important;
    color: #fff !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 25px 0;
    box-shadow: 0 8px 25px rgba(44, 90, 160, 0.3);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    position: relative;
}

.step:hover .step-number {
    transform: scale(1.1);
}

.step h4 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2c3e50 !important;
    margin-bottom: 20px;
    min-height: 2.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.step p {
    color: #495057;
    line-height: 1.7;
    font-size: 1.1rem;
    flex-grow: 1;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    margin: 0;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    .service-category h2 {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }
    
    .service-category .subtitle {
        font-size: 1.1rem;
        margin-bottom: 20px;
    }
    
    .services-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 20px;
    }
    
    .service-category:nth-child(3) .services-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 20px;
    }
    
    .service-category:nth-child(3) .service-card {
        min-height: auto;
        padding: 30px 20px;
    }
    
    .service-category:nth-child(4) .service-card {
        padding: 20px 15px;
    }
    
    .service-category:nth-child(4) .service-card h3 {
        font-size: 1.1rem;
    }
    
    .bauleitung-text p {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }
    
    .bauleitung-content {
        grid-template-columns: 1fr;
        gap: 30px;
        margin: 40px 0;
    }
    
    .bauleitung-section {
        padding: 30px 20px;
    }
    
    .bauleitung-section h3 {
        font-size: 1.2rem;
        margin-bottom: 20px;
    }
    
    .bauleitung-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* Reduzierter Abstand zwischen Bauleitung-Text und Arbeitsprozess in der mobilen Ansicht */
    .bauleitung p[style*="margin-top: 60px"] {
        margin-top: 15px !important;
    }
    
    .service-card {
        padding: 15px 10px;
        min-height: 80px;
    }
    
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .page-header h1 {
        font-size: 2rem;
    }
    
    .page-header p {
        font-size: 1rem;
    }
    
    .service-card {
        padding: 25px 15px;
    }
    
    .service-icon {
        font-size: 2.5rem;
    }

    .process-steps {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    .step {
        padding-left: 10px !important;
        padding-right: 10px !important;
        box-sizing: border-box !important;
    }
    
    /* Footer mobile Anpassungen */
    .footer {
        padding: 8px 0 4px !important;
    }
    
    .footer-content {
        display: flex !important;
        flex-direction: column !important;
        gap: 8px !important;
        margin-bottom: 4px !important;
    }
    
    .footer-section {
        text-align: center !important;
        margin-bottom: 4px !important;
        width: 100% !important;
    }
    
    .footer-section h3,
    .footer-section h4 {
        margin-bottom: 3px !important;
        font-size: 0.95rem !important;
    }
    
    .footer-section p {
        font-size: 0.85rem !important;
        margin-bottom: 2px !important;
        line-height: 1.3 !important;
    }
    
    .footer-bottom {
        padding-top: 4px !important;
    }
    
    .footer-bottom p {
        font-size: 0.75rem !important;
    }
} 

.navbar {
    background-color: #fff !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
} 

.footer-section h3,
.footer-section h4 {
    color: #fff !important;
} 

@media (max-width: 768px) {
    .container {
        max-width: 100% !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
    body, html {
        overflow-x: hidden;
    }
    .services-intro p,
    .bauleitung > .container > p,
    .bauleitung-closing p {
        margin-left: 0 !important;
        margin-right: 0 !important;
        max-width: 100% !important;
    }
    .services {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .services-grid {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    .services-intro p {
        font-size: 0.95rem !important;
    }
    body .page-header {
        background-position: center 100px !important;
    }
} 