/* ===== News Hero Section ===== */

.page-hero {
    padding: 120px 20px 80px;
    text-align: center;
   background: linear-gradient(135deg, rgba(237, 240, 243, 0.8) 0%, rgb(110, 172, 230) 50%, rgba(4, 12, 239, 0.8) 100%);
    color: white;
}

.page-hero h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.page-hero p {
    max-width: 750px;
    margin: 0 auto;
    font-size: 1.2rem;
    line-height: 1.6;
    opacity: 0.95;
}

/* leichte Abtrennung zur ersten Kachel */
.services {
    padding-top: 80px;
}

 /* Services Section */
 .services {
     padding: 6rem 2rem;

 }

 .services-container {
     max-width: 1200px;
     margin: 0 auto;
 }

 .section-header {
     text-align: center;
     margin-bottom: 5rem;
 }

 .section-title {
     font-size: clamp(2rem, 4vw, 3rem);
     color: #333;
     margin-bottom: 1rem;
     font-weight: 700;
 }

 .section-subtitle {
     font-size: 1.2rem;
     color: #666;
     max-width: 600px;
     margin: 0 auto;
     line-height: 1.6;
 }

 /* Service Items */
 .service-item {
     display: flex;
     align-items: center;
     gap: 4rem;
     margin-bottom: 6rem;
     opacity: 0;
     transform: translateY(50px);
     animation: fadeInUp 0.8s ease-out forwards;
 }

 .service-item:nth-child(2) {
     animation-delay: 0.2s;
 }

 .service-item:nth-child(3) {
     animation-delay: 0.4s;
 }

 .service-item:nth-child(4) {
     animation-delay: 0.6s;
 }

 .service-item:nth-child(5) {
     animation-delay: 0.8s;
 }

 .service-item.left {
     flex-direction: row;
 }

 .service-item.right {
     flex-direction: row-reverse;
 }

 .service-image {
     flex: 1;
     position: relative;
     overflow: hidden;
     border-radius: 20px;
     box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
     transition: all 0.3s ease;
 }

 .service-image:hover {
     transform: translateY(-10px);
     box-shadow: 0 30px 80px rgba(0, 0, 0, 0.15);
 }

 .service-image img {
     width: 100%;
     height: 350px;
     object-fit: cover;
     transition: transform 0.3s ease;
 }

 .service-image:hover img {
     transform: scale(1.05);
 }

 .service-content {
     flex: 1;
     padding: 2rem;
 }

 .service-content h3 {
     font-size: clamp(1.5rem, 3vw, 2rem);
     color: #333;
     margin-bottom: 1.5rem;
     font-weight: 600;
     position: relative;
 }

 .service-content h3::after {
     content: '';
     position: absolute;
     bottom: -10px;
     left: 0;
     width: 90px;
     height: 3px;
     background: linear-gradient(45deg, rgba(9, 90, 169, 0.80), rgb(87, 164, 236));
     border-radius: 2px;
 }

 .service-content p {
     color: #666;
     line-height: 1.7;
     margin-bottom: 2rem;
     font-size: 1.1rem;
 }

 .service-features {
     list-style: none;
     margin-bottom: 2rem;
 }

 .service-features li {
     color: #555;
     margin-bottom: 0.8rem;
     position: relative;
     padding-left: 2rem;
     font-weight: 500;
 }

 .service-features li::before {
     content: '✓';
     position: absolute;
     left: 0;
     color: #28a745;
     font-weight: bold;
     background: rgba(40, 167, 69, 0.1);
     width: 24px;
     height: 24px;
     border-radius: 50%;
     display: flex;
     align-items: center;
     justify-content: center;
     font-size: 0.8rem;
 }

 .service-btn {
     display: inline-block;
     background: linear-gradient(45deg, rgb(87, 164, 236), rgba(9, 90, 169, 0.80));
     color: white;
     padding: 1rem 2rem;
     text-decoration: none;
     border-radius: 50px;
     font-weight: 600;
     transition: all 0.3s ease;
     box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
 }

 .service-btn:hover {
     transform: translateY(-2px);
     box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
 }

 /* Content Section Styling */
 .content {
     padding: 4rem 2rem;
     max-width: 1200px;
     margin: 0 auto;
 }

 .content h2 {
     color: #333;
     margin-bottom: 1rem;
     font-size: 2rem;
 }

 .content p {
     color: #666;
     line-height: 1.6;
     margin-bottom: 1rem;
 }

 /* Responsive Design Updates */
 @media (max-width: 768px) {

     /* Services Mobile */
     .services {
         padding: 4rem 1rem;
     }

     .service-item,
     .service-item.left,
     .service-item.right {
         flex-direction: column;
         gap: 2rem;
         margin-bottom: 4rem;
     }

     .service-image {
         width: 100%;
     }

     .service-image img {
         height: 370px;
     }

     .service-content {
         padding: 1rem;
         text-align: center;
     }

     .section-header {
         margin-bottom: 3rem;
     }
 }

 @media (max-width: 480px) {
     .hero {
         height: 50vh;
         min-height: 350px;
     }

     .hero-content {
         padding: 0 1rem;
     }

     .content {
         padding: 2rem 1rem;
     }

     .services {
         padding: 3rem 1rem;
     }

     .service-item {
         margin-bottom: 3rem;
     }

     .service-image img {
         height: 230px;
     }
 }


@media (max-width: 768px) {
    .page-hero {
        padding: 90px 20px 60px;
    }

    .page-hero h1 {
        font-size: 2rem;
    }

    .page-hero p {
        font-size: 1rem;
    }
}