/* LEISTUNGEN PAGE SPECIFIC STYLES */

/* Hero Section */
.leistungen-hero {
    height: 450px;
    margin-top: 0px;
    background-size:auto;
    background: url('/uploads/business-4312920_1920.jpg') center/cover no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo{
    filter: brightness(100%) invert(1);
}

header.scrolled .logo img {
    height: 50px;
    filter: brightness(0) invert(0);
}

.menu > li > a {
    color: white;
    text-decoration: none;
    font-size: 12px;
    transition: all 0.3s ease;
    padding: 10px 0;
    display: block;
    text-transform: uppercase;
    letter-spacing: 3px;
}

nav{
    color: white !important;
}

.leistungen-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.leistungen-hero h1 {
    position: relative;
    z-index: 1;
    font-size: 36px;
    font-weight: 500;
    color: #fff;
    letter-spacing: 16px;
}

/* Featured Services Section */
.featured-services {
    padding: 80px 80px;
    background: #fff;
}

.services-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}

.services-two {
    grid-template-columns: repeat(2, 1fr);
    margin-bottom: 0;
}

.service-card,
.service-card-large {
    position: relative;
    height: 300px;
    background: url('/uploads/pagetitle.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.service-card:hover,
.service-card-large:hover {
    transform: translateY(-5px);
}

.service-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.service-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 40px;
    color: #fff;
}

.service-content h2 {
    font-size: 20px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.service-content p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 25px;
    font-weight: 600;
    color: #ccc;
}

.service-btn {
    display: inline-block;
    padding: 12px 25px;
    border: 2px solid #fff;
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.service-btn:hover {
    background: #fff;
    color: #333;
}

/* All Services Section */
.all-services {
    padding: 80px 80px;
    background: #f6f6f6;
}

.all-services-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.flip-card {
    height: 220px;
    perspective: 1000px;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.flip-card-back {
    transform: rotateY(180deg);
}

.flip-icon {
    font-size: 38px;
    margin-bottom: 20px;
}

.flip-card h3 {
    font-size: 11px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 1px;
    color: #000;
}

.flip-card-back p {
    font-size: 12px;
    line-height: 1.6;
    color: #666;
    margin-top: 15px;
    font-family: 'Open Sans', sans-serif;
    font-weight: 500;
}

/* Tablet */
@media (max-width: 1024px) {
    .featured-services {
        padding: 60px 40px;
    }

    .all-services {
        padding: 60px 40px;
    }

    .all-services-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

.mobile-menu-toggle span{
    background: white;
}


@media (max-width: 768px) {
    .leistungen-hero {
        height: 250px;
        margin-top: 0 !important;
    }

    .leistungen-hero h1 {
        font-size: 26px !important;
        letter-spacing: 5px;
    }
    


    .featured-services {
        padding: 40px 20px;
    }

    .services-container {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 20px;
    }

    .services-two {
        grid-template-columns: 1fr;
    }

    .service-card,
    .service-card-large {
        height: 280px;
    }

    .service-content {
        padding: 30px;
    }

    .service-content h2 {
        font-size: 18px;
    }

    .all-services {
        padding: 40px 20px;
    }

    .all-services-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .flip-card {
        height: 200px;
    }

    .flip-card-front,
    .flip-card-back {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .leistungen-hero h1 {
        font-size: 32px;
    }

    .all-services-container {
        grid-template-columns: 1fr;
    }
}



/* Team Section */
.team-section {
    padding: 150px 80px 80px;
    background: #fff;
}

.team-container {
    max-width: 1200px;
    margin: 0 auto;
}

.team-container h1 {
    font-size: 40px;
    font-weight: 500;
    color: #000;
    text-align: center;
    margin-bottom: 80px;
    letter-spacing: 3px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.team-member {
    text-align: center;
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
}

.team-image {
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    margin-bottom: 20px;
    border: 10px solid rgba(0, 0, 0, 0.05);
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.team-member:hover .team-image img {
    transform: scale(1.05);
}

.team-info h3 {
    font-size: 12px;
    font-weight: 700;
    font-family: 'Open Sans', sans-serif;
    color: #000;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.team-roles {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: 10px;
}

.team-roles p {
    font-size: 10px;
    font-family: 'Mulish', sans-serif;
    color: #666;
    line-height: 1.6;
    margin: 3px 0;
}

/* Tablet */
@media (max-width: 1024px) {
    .team-section {
        padding: 120px 40px 60px;
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 50px;
    }

    .team-container h1 {
        margin-bottom: 60px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .team-section {
        padding: 100px 20px 40px;
    }

    .team-container h1 {
        font-size: 32px;
        letter-spacing: 2px;
        margin-bottom: 40px;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        max-width: 300px;
        margin: 0 auto;
    }

    .team-image {
        border-width: 8px;
    }
}

@media (max-width: 480px) {
    .team-container h1 {
        font-size: 28px;
    }
}

/* Datenschutz Section Styles */
.datenschutz-section {
    padding: 80px 20px;
    background-color: #ffffff;
}

.datenschutz-container {
    max-width: 1000px;
    margin: 0 auto;
}

.datenschutz-container h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    color: #1a1a1a;
    margin-bottom: 30px;
    text-align: center;
}

.datenschutz-intro {
    margin-bottom: 50px;
}

.datenschutz-intro p {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.05rem;
    line-height: 1.8;
    color: #444;
    margin: 0;
}

.datenschutz-content {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.datenschutz-block h3 {
    font-family: 'Hind', sans-serif;
    font-size: 1.6rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e0e0e0;
}

.datenschutz-block h4 {
    font-family: 'Hind', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: #34495e;
    margin-top: 25px;
    margin-bottom: 15px;
}

.datenschutz-block p {
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 15px;
}

.datenschutz-block ul {
    list-style-type: disc;
    margin-left: 25px;
    margin-bottom: 20px;
    margin-top: 10px;
}

.datenschutz-block ul li {
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 12px;
    padding-left: 5px;
}

.datenschutz-block a {
    color: #0066cc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.datenschutz-block a:hover {
    color: #004499;
    text-decoration: underline;
}

.datenschutz-block strong {
    font-weight: 600;
    color: #2c3e50;
}

/* Responsive Design */
@media (max-width: 768px) {
    .datenschutz-section {
        padding: 60px 15px;
    }
    
    .datenschutz-container h2 {
        font-size: 2rem;
    }
    
    .datenschutz-intro {
        padding: 20px;
    }
    
    .datenschutz-intro p {
        font-size: 1rem;
    }
    
    .datenschutz-content {
        gap: 40px;
    }
    
    .datenschutz-block h3 {
        font-size: 1.4rem;
    }
    
    .datenschutz-block h4 {
        font-size: 1.1rem;
    }
    
    .datenschutz-block p,
    .datenschutz-block ul li {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .datenschutz-section {
        padding: 40px 10px;
    }
    
    .datenschutz-container h2 {
        font-size: 1.75rem;
    }
    
    .datenschutz-block h3 {
        font-size: 1.25rem;
    }
    
    .datenschutz-block h4 {
        font-size: 1.05rem;
    }
}