/* Reset & Basics */
@font-face {
    font-family: 'Inter';
    src: url(./fonts/Inter-VariableFont_opsz\,wght.ttf) format('tff');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
            overflow-x: hidden;

}

body {
    font-family: "Inter", sans-serif;
    line-height: 1.6;
    color: #4D4D4D;
    overflow-x: hidden;
    word-break: break-word;

}

.green {
    color: #258928;
}

.bold {
    font-weight: 700;
}

.background-grey {
    background: #F5F7FA;

}

h1 {
    font-size: 56px;
    line-height: 74px;
    max-width: 680px;
}

h2 {
    font-size: 36px;
    line-height: 44px;
    hyphens: auto;
    margin-bottom: 2rem;
}

.job-content h3 {
    font-size: 16px;
}

p,
a,
li {
    color: #717171;
}

/* Navigation */
/* Navigation allgemein */
.navbar {
    position: relative;
    background: #F5F7FA;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
}

.navbar li {
    display: flex;
    align-items: center;
}

.teamviewer {
    width: 48px;
}

/* Burger-Icon */
.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1100;
}

.burger span {
    width: 25px;
    height: 3px;
    background: #4D4D4D;
    border-radius: 2px;
    display: block;
}

/* Versteckter Toggle */
.nav-toggle {
    display: none;
}

/* Overlay (grau/transp. Hintergrund beim Menü) */
.nav-overlay {
    display: none;
}

.nav-toggle:checked~.nav-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 900;
}

/* Seitenmenü */
.nav-menu {
    position: fixed;
    top: 0;
    left: -250px;
    width: 250px;
    height: 100vh;
    background: #F5F7FA;
    padding: 3rem 2rem;
    transition: left 0.3s ease;
    z-index: 1001;
}

.nav-menu ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.nav-menu ul li a {
    color: #4D4D4D;
    text-decoration: none;
    font-size: 1.2rem;
}

/* Menü aktiv */
.nav-toggle:checked~.nav-menu {
    left: 0;
}

/* Desktop-Navigation */
@media (min-width: 769px) {
    .burger {
        display: none;
    }

    .nav-menu {
        position: static;
        height: auto;
        width: auto;
        background: none;
        padding: 0;
        display: block;
    }

    .nav-menu ul {
        flex-direction: row;
        gap: 2rem;
    }

    .nav-toggle,
    .nav-overlay {
        display: none !important;
    }

    .nav-menu ul li a {
        font-size: 1rem;
    }

    .burger {
        display: none !important;
    }
}

/* Mobile zeigt Burger */
@media (max-width: 768px) {
    .burger {
        display: flex;
    }
}


header {
    background: #F5F7FA;
    padding: 3rem 5rem;
    display: flex;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    justify-content: space-between;
}

header span {
    font-weight: semi-bold;
}

section {
    padding: 2rem;
    max-width: 1200px;
    margin: auto;
}

/* Scroll Animation */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeIn 1s ease-out forwards;
}

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

.service {
    display: flex;
    align-items: center;
}

.service img {
    max-width: 400px;
}

.service-text {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.5rem;

}

.software {
    text-align: center;
}

.headline-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2.5rem;
}

.headline-section h2 {
    max-width: 550px;
    text-align: center;

}

ul {
    list-style: disc inside;
}

.button {
    align-self: flex-start;
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    background: #258928;
    color: white;
    text-decoration: none;
    border-radius: 4px;
}

.button-alternative {
    color: #258928;
    text-decoration: none;
}

.software-grid {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.software-grid .software-item {
    flex: 1 1 250px;
    padding: 1rem;
    border-radius: 6px;
    background: white;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.software-item img {
    width: 80px;
    height: auto;
}

.software-item-img {
    min-height: 80px;
    display: flex;
    text-align: center;
    align-items: center;
}

.software-item-img img {
    width: auto !important;
    height: 30px;
}


/* Slider mit Navigation */
.customer-slider {
    position: relative;
    padding: 3rem 1rem;
    overflow: hidden;
    max-width: 1000px;
    margin: 2rem auto;
}

.customer-slider input {
    display: none;
}

.slides {
    display: flex;
    transition: transform 0.6s ease;
}

.slide {
    flex: 0 0 100%;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 4rem;
}

.slide img {
    max-width: 300px;
    border-radius: 100%;
}

.sub-wrapper {
    display: flex;
    align-items: center;
}

.sub-text-wrapper {
    margin-right: 40px;
}

.sub-logo {
    border-radius: 0% !important;
    height: 70px;
    width: auto;
}

.firmenabc {
    height: 40px;
}


.slider-nav {
    text-align: center;
    margin-top: 1rem;
}

.slider-nav label {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin: 0 6px;
    background: #bbb;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
}

.slider-nav label:hover {
    background: #666;
}

/* Slide Navigation mit CSS Logik */
#slide1:checked~.slides {
    transform: translateX(0%);
}

#slide2:checked~.slides {
    transform: translateX(-100%);
}

#slide3:checked~.slides {
    transform: translateX(-200%);
}

#slide1:checked~.slider-nav label[for="slide1"],
#slide2:checked~.slider-nav label[for="slide2"],
#slide3:checked~.slider-nav label[for="slide3"] {
    background: #333;
}

.name {
    font-size: 28px;
}

#kunden {
    margin: 2rem auto;
}

.kunden-logos {
    display: flex;
    justify-content: space-between;
}

.kunden-logos img {
    width: auto;
    max-height: 80px;
}


/* Footer */
footer {
    color: white;
    display: flex;
    justify-content: space-between;
    line-height: 1.5;
    padding: 3rem 5rem;
    max-width: 1400px;
    margin: auto;

}

footer .column a {
    margin: 10px 0;
}

.background-dark {
    background: #263238;
}

footer a,
footer p {
    color: white;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

footer nav .links {
    display: flex;
    flex-direction: column;
}

footer .copyright {
    font-size: 0.9rem;
}




/*Karriere*/


.job-item {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
    border-radius: 5px;
    overflow: hidden;
}

.job-header {
    width: 100%;
    padding: 1rem;
    background-color: white;
    color: #258928;

    border: none;
    text-align: left;
    font-size: 1.2rem;
    cursor: pointer;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.job-header:hover {
    background: #e0e0e0;
}

.icon {
    font-size: 1.5rem;
    transition: transform 0.3s;
}

.job-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    padding: 0 1rem;
    /* nur horizontaler Padding, vertikal wird animiert */
    background: white;
}

.job-content.open {
    max-height: 4500px;
    padding-bottom: 1.5rem;

}


.job-content h3 {
    margin-top: 1rem;
}



.story-section {
    background-color: #ffffff;
    padding: 60px 20px;
    font-family: "Helvetica Neue", sans-serif;
    color: #1a1a1a;
}

.story-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
}

.story-content {
    flex: 1 1 65%;
    min-width: 280px;
}

.story-sidebar {
    flex: 1 1 30%;
    background-color: #e6f5e9;
    padding: 35px 30px;
    border-radius: 12px;
    min-width: 250px;
    height: fit-content;
}

.story-content h2 {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.story-content h3 {
    font-size: 1.4rem;
    font-weight: 600;
}

.story-content p,
.story-sidebar p {
    line-height: 1.6;
    margin-bottom: 20px;
}

.story-sidebar h4 {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 15px;
}

.kundenlogo-page {
    max-width: 230px;
    height: auto;
}


@media (max-width: 768px) {
    .story-container {
        flex-direction: column;
    }

    .story-sidebar {
        margin-top: 30px;
    }

    .sum-up {
        flex-direction: column;
    }

}


.background-green {
    background-color: #e6f5e9;
}

.sum-up {
    display: flex;
    align-items: center;
}

.sum-up-wrapper {
    flex: 50%;
    width: 100%;
}

.sum-up-wrapper section {
    max-width: 500px;
    padding: 4rem 2rem;
}


.sum-up-wrapper section h3 {
    margin-bottom: 20px;
}





.business-leadership {
    padding: 70px 0;
}

.leadership-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;

}

.leadership-images {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
}

.team-image-container img {
    width: auto;
    max-height: 220px;
    object-fit: cover;
}

.allrounder-img-wrapper {
    display: flex;
}

.allrounder-img-wrapper img {
    width: auto;
    max-height: 220px;
    object-fit: cover;
}

.image-caption {
    text-align: center;
    margin: 10px;
    color: #258928;
}

.caption {
    display: flex;
    justify-content: center;
    align-items: center;
}

.leadership-text {
    padding: 100px 0 100px 50px;
    position: relative;
}

.leadership-text ::after {
    position: absolute;
    background: #F5F7FA;
    top: 0;
    bottom: 0;
    left: 0;
    right: -50%;
    content: "";
    z-index: -2;
        overflow-x: hidden;

}

.ebit-icon {
    position: absolute;
    right: -190px;
    bottom: 0px;
    z-index: -1;
    overflow-x: hidden;
}


.section-title {
    padding: 2rem;
    max-width: 1000px;
    margin: auto;
}

.experts-grid {
    display: flex;
    gap: 30px;
    align-items: center;
}

.experts-wrapper {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;

}

.expert-info {
    flex: 0 0 25%;
}

.info-box {
    background-color: #e8f5e8;
    padding: 30px;
    border-radius: 8px;
}

.info-box p {
    margin-bottom: 15px;
    color: #555;
    line-height: 1.7;
}

.expert-card {
    text-align: center;
}

.expert-card img {
    width: auto;
    max-height: 220px;
    object-fit: cover;
}

.expert-card p {
    color: #258928;
}

/* Planning Gurus Section */

.gurus-grid {
    display: flex;
    gap: 30px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.guru-card {
    text-align: center;
}

.guru-card img {
    width: auto;
    max-height: 220px;
    object-fit: cover;
}

.guru-card p {
    color: #258928;

}

.guru-info {
    flex: 25%;
}


/* Allrounder Section */
.allrounder {
    background-color: #e8f5e8;
    padding: 80px 0;
}

.allrounder-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: center;
}

.allrounder-text h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #333;
    font-weight: 600;
}

.allrounder-text p {
    margin-bottom: 15px;
    color: #555;
    line-height: 1.7;
}

.allrounder-image {
    text-align: center;
}

.allrounder-image img {
    width: 100%;
    max-width: 200px;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.hide-large {
    display: none;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .professionals-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .professionals-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .leadership-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .leadership-text {
        padding: 70px 20px 70px 20px;
    }

    .leadership-images {
        justify-content: center;
        order: 2;
    }

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

    .guru-info {
        grid-column: 1;
        order: -1;
    }

    .professionals-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .allrounder-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .allrounder-text {
        order: 2;
    }

    .allrounder-image {
        order: 1;
    }

}

@media (max-width: 480px) {

    .leadership-text h2,
    .allrounder-text h2 {
        font-size: 1.5rem;
    }


    .leadership-images {
        flex-direction: column;
        align-items: center;
    }

    .hide-small {
        display: none;
    }

    .hide-large {
        display: initial;
    }
}


/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        flex-direction: column;
        gap: 0.5rem;
        margin-top: 1rem;
    }

    .software-grid {
        flex-direction: column;
    }

    .logo-section {
        display: none;
    }

    header,
    footer {
        padding: 3rem 2rem;
    }

    section {
        padding: 3rem;
    }

    .service img {
        display: none;
    }

    /* .slide img {
        display: none;
    } */

    .slide {
        flex-wrap: wrap;
    }

    .slide .sub-logo {
        display: unset !important;
    }

    .kunden-logos {
        flex-wrap: wrap;
        justify-content: space-around;
        align-items: center;
    }

    .kunden-logos img {
        margin: 10px;
    }

    footer {
        display: block;
        text-align: center;
    }

    footer nav,
    footer .column {
        margin: 10px 0;
    }

    .experts-grid {
        flex-wrap: wrap;
    }

    .expert-info,
    .guru-info {
        flex: 100%;
    }

}