/* ========================================
   RESET & BASE
   ======================================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #2b2b2b;
    background-color: #edf0f7;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ========================================
   TOP BAR
   ======================================== */
.top-bar {
    background-color: #2b2b2b;
    color: #fff;
    padding: 6px 0;
    font-size: 13px;
    letter-spacing: 0.3px;
    position: relative;
    z-index: 1000;
}

.top-bar-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.top-bar-text {
    font-weight: 400;
}

.top-bar-text strong {
    font-weight: 700;
}

/* ========================================
   HEADER / NAVBAR
   ======================================== */
.header {
    background-color: transparent;
    padding: 24px 0;
    position: sticky;
    top: 0;
    z-index: 999;
    backdrop-filter: blur(10px);
    background-color: rgba(237, 240, 247, 0.85);
}

.header-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #2b2b2b;
}

.logo-icon {
    flex-shrink: 0;
}

.logo-text {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.2px;
    white-space: nowrap;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-link {
    font-size: 16px;
    font-weight: 400;
    color: #2b2b2b;
    transition: opacity 0.2s;
    letter-spacing: 0.2px;
}

.nav-link:hover {
    opacity: 0.7;
}

.nav-link-cta {
    background-color: #2b2b2b;
    color: #ffffff;
    padding: 14px 36px;
    border-radius: 50px;
    font-weight: 500;
    transition: background-color 0.2s, opacity 0.2s;
}

.nav-link-cta:hover {
    background-color: #3d3d3d;
    opacity: 1;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #2b2b2b;
    transition: transform 0.3s;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    padding: 80px 40px 100px;
    text-align: center;
    max-width: 1400px;
    margin: 0 auto;
}

.hero-content {
    max-width: 1100px;
    margin: 0 auto;
}

.hero-heading {
    font-size: clamp(36px, 5.5vw, 80px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -1.5px;
    color: #2b2b2b;
    margin-bottom: 40px;
}

.hero-subtext {
    font-size: clamp(16px, 1.4vw, 20px);
    font-weight: 400;
    line-height: 1.6;
    color: #2b2b2b;
    max-width: 750px;
    margin: 0 auto 24px;
}

.hero-cta-text {
    font-size: clamp(16px, 1.4vw, 20px);
    font-weight: 400;
    line-height: 1.6;
    color: #2b2b2b;
    margin-bottom: 40px;
}

.hero-btn {
    display: inline-block;
    padding: 16px 40px;
    border: 1.5px solid #2b2b2b;
    border-radius: 50px;
    color: #2b2b2b;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0.3px;
    transition: background-color 0.2s, color 0.2s;
}

.hero-btn:hover {
    background-color: #2b2b2b;
    color: #ffffff;
}

/* ========================================
   VISION SECTION
   ======================================== */
.vision {
    padding: 40px 40px 80px;
    max-width: 1400px;
    margin: 0 auto;
}

.vision-inner {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 60px;
    align-items: start;
}

.vision-text {
    padding-top: 40px;
}

.section-heading {
    font-size: clamp(28px, 3.5vw, 48px);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.5px;
    margin-bottom: 24px;
    color: #2b2b2b;
}

.section-heading-large {
    font-size: clamp(32px, 4vw, 56px);
}

.vision-paragraph {
    font-size: 16px;
    line-height: 1.65;
    color: #2b2b2b;
    font-weight: 400;
}

/* Vision Images - scattered layout */
.vision-images {
    position: relative;
    width: 100%;
    height: 800px; /* fixed height to allow absolute positioning */
}

.vision-img {
    overflow: hidden;
    border-radius: 12px;
    position: absolute;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    opacity: 0;
    transition: opacity 1s ease-out;
}

.vision-img.revealed {
    opacity: 1;
}

.vision-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.5); /* Room for parallax */
    will-change: transform;
}

.vision-img-1 {
    top: 0;
    left: 0;
    width: 45%;
    height: 320px;
    z-index: 1;
}

.vision-img-2 {
    top: 60px;
    right: 0;
    width: 50%;
    height: 380px;
    z-index: 2;
}

.vision-img-3 {
    top: 350px;
    left: 5%;
    width: 48%;
    height: 300px;
    z-index: 3;
}

.vision-img-4 {
    top: 480px;
    right: 10%;
    width: 38%;
    height: 250px;
    z-index: 1;
}

/* ========================================
   ÜBER UNS SECTION
   ======================================== */
.about {
    padding: 80px 40px 100px;
    max-width: 1400px;
    margin: 0 auto;
}

.about-inner {
    max-width: 700px;
}

.about-paragraph {
    font-size: 16px;
    line-height: 1.65;
    color: #2b2b2b;
    font-weight: 400;
}

/* ========================================
   DIENSTLEISTUNGEN SECTION
   ======================================== */
.services {
    padding: 60px 40px 80px;
    max-width: 1400px;
    margin: 0 auto;
}

.section-heading-center {
    font-size: clamp(32px, 4vw, 56px);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.5px;
    text-align: center;
    margin-bottom: 50px;
    color: #2b2b2b;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background-color: #2b2b33;
    color: #ffffff;
    border-radius: 20px;
    padding: 60px 40px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 280px;
}

.service-card-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -0.2px;
}

.service-card-text {
    font-size: 15px;
    line-height: 1.6;
    font-weight: 400;
    opacity: 0.9;
}

/* ========================================
   ERFAHRUNGSBERICHTE / TESTIMONIALS
   ======================================== */
.testimonials {
    padding: 80px 40px 80px;
    max-width: 1400px;
    margin: 0 auto;
}

.testimonial-carousel {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 20px;
}

.carousel-arrow {
    flex-shrink: 0;
    background: none;
    border: none;
    cursor: pointer;
    color: #2b2b2b;
    padding: 8px;
    transition: opacity 0.2s;
}

.carousel-arrow:hover {
    opacity: 0.6;
}

.testimonial-slides {
    flex: 1;
    overflow: hidden;
    position: relative;
    min-height: 200px;
}

.testimonial-slide {
    display: none;
    text-align: center;
    padding: 0 40px;
    animation: fadeIn 0.4s ease;
}

.testimonial-slide.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.testimonial-text {
    font-size: 16px;
    line-height: 1.65;
    color: #2b2b2b;
    margin-bottom: 20px;
    font-weight: 400;
}

.testimonial-stars {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-bottom: 12px;
}

.star {
    color: #e8b931;
    font-size: 22px;
}

.testimonial-author {
    font-size: 16px;
    font-weight: 500;
    color: #2b2b2b;
    text-decoration: underline;
    cursor: pointer;
}

/* ========================================
   KONTAKT SECTION
   ======================================== */
.contact {
    padding: 80px 40px 80px;
    background-color: #dfe3ec;
    margin-top: 40px;
}

.contact-inner {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}

.contact-pin-icon {
    margin-bottom: 24px;
}

.contact-paragraph {
    font-size: 16px;
    line-height: 1.65;
    margin-bottom: 40px;
    font-weight: 400;
}

.contact-details p {
    font-size: 15px;
    line-height: 1.7;
    font-weight: 400;
}

.contact-details a {
    text-decoration: none;
    color: #2b2b2b;
}

.contact-form-wrapper {
    background-color: rgba(237, 240, 247, 0.5);
    padding: 40px;
    border-radius: 16px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 6px;
    color: #2b2b2b;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: none;
    border-radius: 0;
    background-color: #e8eaf0;
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    color: #2b2b2b;
    transition: background-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    background-color: #dde0e8;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    width: 100%;
    padding: 16px;
    background-color: #2b2b33;
    color: #ffffff;
    border: none;
    border-radius: 50px;
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
    margin-top: 8px;
}

.submit-btn:hover {
    background-color: #3d3d45;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    padding: 60px 40px 30px;
    background-color: #edf0f7;
    margin-top: 0;
}

.footer-inner {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 50px;
}

.footer-heading {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #2b2b2b;
}

.footer-col p,
.footer-col a {
    font-size: 14px;
    line-height: 1.7;
    color: #2b2b2b;
    font-weight: 400;
}

.footer-col ul li {
    margin-bottom: 6px;
}

.footer-col ul li a {
    text-decoration: none;
    transition: opacity 0.2s;
}

.footer-col ul li a:hover {
    opacity: 0.7;
}

.footer-col-policies ul li a {
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #d0d4dd;
    max-width: 1300px;
    margin: 0 auto;
}

.footer-bottom p {
    font-size: 14px;
    color: #2b2b2b;
    font-weight: 400;
}

.footer-bottom a {
    text-decoration: underline;
    font-weight: 500;
}

/* ========================================
   RESPONSIVE - TABLET
   ======================================== */
@media (max-width: 1024px) {
    .hero-heading {
        font-size: 48px;
    }

    .vision-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .vision-text {
        padding-top: 0;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .service-card {
        min-height: auto;
        padding: 40px 30px;
    }

    .contact-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* ========================================
   RESPONSIVE - MOBILE
   ======================================== */
@media (max-width: 768px) {
    .top-bar-inner {
        padding: 0 20px;
        justify-content: center;
    }

    .top-bar-text {
        font-size: 11px;
    }

    .header-inner {
        padding: 0 20px;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .nav-list {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: rgba(237, 240, 247, 0.97);
        flex-direction: column;
        padding: 20px;
        gap: 16px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    }

    .nav-list.active {
        display: flex;
    }

    .header {
        position: relative;
    }

    .hero {
        padding: 40px 20px 60px;
    }

    .hero-heading {
        font-size: 32px;
        letter-spacing: -0.8px;
    }

    .hero-subtext,
    .hero-cta-text {
        font-size: 16px;
    }

    .vision {
        padding: 20px 20px 60px;
    }

    .vision-images {
        height: 500px;
        margin-top: 20px;
    }

    .vision-img-1 { top: 0; left: 0; width: 48%; height: 200px; z-index: 1; }
    .vision-img-2 { top: 40px; right: 0; width: 48%; height: 240px; z-index: 2; }
    .vision-img-3 { top: 220px; left: 5%; width: 45%; height: 200px; z-index: 3; }
    .vision-img-4 { top: 290px; right: 0; width: 45%; height: 180px; z-index: 1; margin-top: 0; }

    .about {
        padding: 40px 20px 60px;
    }

    .services {
        padding: 40px 20px 60px;
    }

    .testimonials {
        padding: 40px 20px 60px;
    }

    .testimonial-carousel {
        gap: 16px;
    }

    .testimonial-slide {
        padding: 0 8px;
    }

    .contact {
        padding: 40px 20px 60px;
    }

    .contact-form-wrapper {
        padding: 24px 20px;
    }

    .footer {
        padding: 40px 20px 24px;
    }

    .section-heading-center {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .logo-text {
        font-size: 15px;
    }

    .hero-heading {
        font-size: 26px;
    }

    .nav-link-cta {
        padding: 12px 28px;
    }
}

/* ========================================
   ANIMATIONS
   ======================================== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.165, 0.84, 0.44, 1), transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
    will-change: opacity, transform;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }

