@media (max-width: 1024px) {}

@media (max-width: 768px) {}

/* Hero Section */
.hero {
    padding: 60px 0 100px;
    background: var(--color-light-beige);
}

.hero-wrapper {
    display: flex;
    align-items: center;
    gap: 60px;
}

.hero-content {
    flex: 1;
}

.tagline {
    background-color: #f0f0f0;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 25px;
    color: #666;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 25px;
    line-height: 1.1;
}

.hero-highlight {
    color: var(--color-secondary);
    position: relative;
    display: inline-block;
}

.hero-highlight::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 8px;
    background: url('data:image/svg+xml;utf8,<svg width="100" height="10" viewBox="0 0 100 10" xmlns="http://www.w3.org/2000/svg"><path d="M0 5 Q 12.5 0 25 5 T 50 5 T 75 5 T 100 5" stroke="%2388c0d0" fill="none" stroke-width="3"/></svg>');
    /* Simplified wave */
    background-size: cover;
    background-repeat: no-repeat;
    /* Since we can't easily inline complex SVGs without escape, we'll use a border for now or a simple underline */
    border-bottom: 4px solid #88c0d0;
    /* Fallback wave color */
    border-radius: 2px;
}

.hero-description {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 35px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
}

.quality-badge {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 10px 20px;
    background: white;
    border: 1px solid #eee;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.check-circle {
    width: 30px;
    height: 30px;
    background: var(--color-success-bg);
    color: var(--color-success-text);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.badge-text span {
    display: block;
    font-size: 0.75rem;
    color: #888;
    text-transform: uppercase;
    font-weight: 700;
}

.badge-text strong {
    font-size: 0.9rem;
    color: var(--color-primary);
}

.hero-image-wrapper {
    flex: 1;
    position: relative;
}

.hero-main-img {
    width: 100%;
    border-radius: 0 100px 0 100px;
    /* Custom shape from image */
    object-fit: cover;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Who We Are */
.who-we-are {
    padding: 120px 0;
    background: var(--color-light-beige);
}

.who-wrapper {
    display: flex;
    gap: 80px;
    align-items: center;
}

.who-images {
    flex: 1;
    position: relative;
    padding-bottom: 80px;
    padding-right: 40px;
}

.who-img-large {
    width: 80%;
    border-radius: 15px;
    display: block;
}

.who-img-small {
    position: absolute;
    bottom: 20px;
    right: 0;
    width: 50%;
    border-radius: 15px;
    border: 15px solid white;
}

.who-content {
    flex: 1;
}

.who-content h2 {
    font-size: 3rem;
    margin-bottom: 25px;
    font-weight: 500;
}

.who-content p {
    color: #000;
    margin-bottom: 25px;
    font-size: 1.1rem;
    line-height: 1.6;
}

.who-checklist {
    list-style: none;
    margin-top: 30px;
}

.who-checklist li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-weight: 400;
    color: #000;
    font-size: 1.05rem;
}

.check-icon-terracotta {
    background-color: var(--color-secondary);
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.check-icon-terracotta svg {
    width: 14px;
    height: 14px;
    stroke: white;
    stroke-width: 3;
}

/* Services */
.services {
    padding: 120px 0;
    text-align: center;
    background-color: var(--color-light-beige);
}


/* Services Carousel */
.services-carousel-nav {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-bottom: 30px;
}

.services-arrow {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid #ddd;
    background: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    transition: all 0.2s ease;
}

.services-arrow:hover {
    border-color: var(--color-secondary);
    color: var(--color-secondary);
}

.services-arrow:disabled {
    opacity: 0.3;
    cursor: default;
}

.services-carousel {
    overflow: hidden;
    position: relative;
}

.services-track {
    display: flex;
    gap: 30px;
    transition: transform 0.4s ease;
}

.service-card {
    background: white;
    padding: 50px 40px;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.03);
    min-width: calc(33.333% - 20px);
    width: calc(33.333% - 20px);
    flex-shrink: 0;
    text-align: left;
    transition: transform 0.3s ease;
    border: none;
}

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

.service-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    flex-shrink: 0;
}

.service-card h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    font-weight: 500;
    color: #000;
}

.service-card p {
    color: #444;
    font-size: 1.05rem;
    margin-bottom: 30px;
    line-height: 1.6;
}

.read-more {
    font-weight: 600;
    font-size: 1.05rem;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    transition: opacity 0.2s;
}

.read-more:hover {
    opacity: 0.8;
}

/* Roadmap Section */
.roadmap-section {
    padding: 120px 0;
    background: var(--color-light-beige);
}

.roadmap-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 80px;
    font-weight: 500;
    position: relative;
    z-index: 20;
}

.roadmap-wrapper {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.roadmap-path {
    position: absolute;
    top: -200px;
    /* Leicht nach oben verschoben, um besser zu passen */
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    /* Das Bild liegt über den Kacheln */
    pointer-events: none;
    /* Klicks gehen durch das Bild hindurch zu den Karten */
    display: flex;
    justify-content: center;
    align-items: center;
}

.roadmap-path svg,
.roadmap-path img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* Cover sorgt dafür, dass Oben/Unten abgeschnitten wird, aber es füllt den Bereich */
    transform: scale(1.15) translateY(-20px);
    /* Vergrößert die visuelle Darstellung zusätzlich leicht */
    transform-origin: center center;
    /* Zentriert die Skalierung */
    mix-blend-mode: multiply;
}

.roadmap-grid {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    position: relative;
    z-index: 15;
    /* Die Kacheln liegen über dem Pfeil-Layer, damit sie sichtbar bleiben */
    align-items: center;
    padding-top: 150px;
    /* Reduziert, da das Bild den ganzen Bereich füllt */
    /* Push the cards down far enough to make room for the arrow */
    padding-bottom: 120px;
    /* Ensure space for step-1 translateY */
}

.roadmap-step {
    flex: 1;
}

/* Offsets for stepped look. We push them down relative to each other. */
.roadmap-step.step-1 {
    transform: translateY(120px);
}

.roadmap-step.step-2 {
    transform: translateY(60px);
}

.roadmap-step.step-3 {
    transform: translateY(0px);
}

.roadmap-step.step-4 {
    transform: translateY(-50px);
}

/* Slightly higher but still below arrow */

.step-card {
    background: #fdfdfd;
    border-radius: 20px;
    padding: 40px 25px;
    text-align: center;
    height: 100%;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Card Specific Backgrounds */
.roadmap-step.step-1 .step-card {
    background: #fbfbf4;
}

.roadmap-step.step-2 .step-card {
    background: #f4faf8;
}

.roadmap-step.step-3 .step-card {
    background: #eff6f6;
}

.roadmap-step.step-4 .step-card {
    background: #faede9;
}

.step-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    height: 60px;
    align-items: center;
}

.step-card h3 {
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: 20px;
    color: #000;
}

.step-card p {
    font-size: 0.95rem;
    color: #333;
    line-height: 1.6;
}



/* Career Teaser (Section 7) */
.career-teaser {
    padding: 140px 0;
    background: var(--color-light-beige);
}

.career-wrapper {
    display: flex;
    align-items: center;
    gap: 80px;
}

.career-content {
    flex: 1;
}

.career-content h2 {
    font-size: 3.5rem;
    font-weight: 500;
    line-height: 1.1;
    margin-bottom: 25px;
    color: #000;
}

.career-content p {
    font-size: 1.1rem;
    color: #333;
    line-height: 1.6;
    margin-bottom: 40px;
}

.career-image {
    flex: 1;
}

.career-image img {
    width: 100%;
    border-radius: 20px;
    display: block;
    object-fit: cover;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    /* slight shadow to make it pop like in the screenshot */
}

/* Call to Action (Section 8) */
.cta-section {
    background-color: #bd8468;
    /* Terracotta background */
    padding: 120px 0;
    text-align: center;
    color: white;
}

.cta-content {
    max-width: 800px;
}

.cta-content h2 {
    font-size: 3.5rem;
    font-weight: 600;
    margin-bottom: 30px;
    color: white;
}

.cta-content p {
    font-size: 1.15rem;
    line-height: 1.6;
    margin-bottom: 25px;
    color: white;
}

.cta-disclaimer {
    font-size: 0.95rem;
    font-style: italic;
    opacity: 0.9;
    margin-bottom: 50px !important;
}

.cta-btn {
    color: #bd8468;
    background: white;
    font-size: 1.1rem;
    padding: 16px 40px;
    border-radius: 40px;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
    border: none;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    color: #a06e55;
}

/* Split Section */
.split-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
}

.split-left {
    background-color: #bd8468;
    padding-left: max(20px, calc((100vw - var(--container-width)) / 2 + 20px));
    padding-right: 40px;
    padding-top: 100px;
    padding-bottom: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: white;
}

.split-left h2 {
    color: white;
    font-size: 3.5rem;
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 30px;
}

.split-left .subline {
    color: white;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 40px;
}

.split-buttons {
    display: flex;
    gap: 15px;
}

.split-right {
    background-size: cover;
    background-position: center;
    min-height: 500px;
}

.btn-white-terracotta {
    background-color: white;
    color: #bd8468;
}

@media (max-width: 768px) {}

/* Front Page Specific & Utility Classes extracted from inline styles */
.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 700;
    color: #000;
}

.hero .subline {
    font-size: 2.2rem;
    font-weight: 600;
    color: #000;
    margin-bottom: 30px;
}

.btn-outline-dark {
    border: 2px solid #000;
    color: #000;
}

.btn-outline-dark:hover {
    background: #000;
    color: #fff;
}

.hero-description {
    max-width: 550px;
}

.bg-sage {
    background: #aab88e !important;
    color: white !important;
}

.bg-teal {
    background: #76adb0 !important;
    color: white !important;
}

.bg-terracotta {
    background: #bd8468 !important;
    color: white !important;
}

.services-title {
    font-size: 3rem;
    margin-bottom: 60px;
    font-weight: 500;
    color: #000;
}

/* Responsive Styles - Mobile & Tablet */
@media (max-width: 1024px) {}

@media (max-width: 768px) {

    /* Typography Scale Down */
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero .subline {
        font-size: 1.5rem;
    }

    .services-title,
    .werte-title,
    .who-content h2,
    .split-left h2,
    .career-content h2,
    .cta-content h2 {
        font-size: 2.2rem !important;
    }

    .split-left .subline {
        font-size: 1.4rem;
    }

    /* Hero */
    .hero-wrapper {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-description {
        margin: 0 auto 30px;
    }

    /* Split Section */
    .split-section {
        grid-template-columns: 1fr;
    }

    .split-left {
        padding: 60px 20px;
    }

    .split-buttons {
        flex-wrap: wrap;
    }

    .split-right {
        min-height: 300px;
    }

    /* Who We Are */
    .who-wrapper {
        flex-direction: column-reverse;
        gap: 40px;
    }

    .who-images {
        padding-right: 0;
        padding-bottom: 40px;
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }

    /* Services Carousel */
    .service-card {
        min-width: calc(100% - 0px);
        width: 100%;
    }

    .services-carousel-nav {
        justify-content: center;
    }

    /* Roadmap */
    .roadmap-path {
        display: none;
        /* Hide SVG path on mobile */
    }

    .roadmap-grid {
        flex-direction: column;
        padding-top: 0;
        padding-bottom: 0;
        gap: 30px;
    }

    .roadmap-step.step-1,
    .roadmap-step.step-2,
    .roadmap-step.step-3,
    .roadmap-step.step-4 {
        transform: translateY(0) !important;
    }

    .step-card {
        min-height: auto;
    }

    /* Werte */
    .werte-grid {
        flex-direction: column;
        gap: 20px;
    }

    .werte-card {
        min-height: 250px;
        padding: 40px 20px 30px;
    }

}