/*:root {
    --color-primary: #2c3e50;
    --color-secondary: #34495e;
    --color-accent: #dab696;
    --color-light: #ecf0f1;
    --color-dark: #2c3e50;
}*/

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

body {
    line-height: 1.6;
    color: var(--color-dark);
    width: 100vw;
}

.container {
    /*display: flex;*/
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}
.img-about {
    padding-top: 52vh;
    max-width: 600px;
    height: auto;
}
.img-about-2 {
    padding-top: 2vh;
    max-width: 600px;
    height: auto;
}
/*.columnnocolumn {
    display: flex;
}*/
.columnnocolumn {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 4rem;
}

.columnnocolumn:nth-child(odd) .numbered-section {
    order: 1; /* Text zuerst */
}

.columnnocolumn:nth-child(odd) img {
    order: 2; /* Bild danach */
}

.columnnocolumn:nth-child(even) .numbered-section {
    order: 2; /* Text danach */
}

.columnnocolumn:nth-child(even) img {
    order: 1; /* Bild zuerst */
}
/* Hero Section */
.hero {
    height: 100vh;
    width: 145dvw;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-content {
    z-index: 2;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
}

/* Sections */
.section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100vw;
    /*padding: 70px 0;*/
}

.team-pr {
    margin-right: 17rem;
}

/* Parallax Section */
.parallax-content {
    width: 100%;
    height: 76vh;
    overflow: hidden;
    position: relative;
    margin: 0 0 4rem 0;
    clear: both;
}

.parallax-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    background-size: cover;
    background-position: center;
    transform: translateZ(0);
    will-change: transform;
}

.overlay {
    position: relative;
    z-index: 1;
    background: rgba(0, 0, 0, 0.6);
    padding: 2rem;
    color: white;
    text-align: center;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Map Section */
.map-section {
    clear: both;
    width: 100%;
    margin-top: 4rem;
    text-align: center;
}

.map-container {
    width: 100%;
    height: 600px;
    margin: 2rem auto;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

#south-america-map {
    width: 100%;
    height: 100%;
}

/* Numbered Sections */
.numbered-section {
    position: relative;
    padding-left: 80px;
    margin-bottom: 4rem;
    width: 45%;
}

.numbered-section.right {
    margin-left: auto;
    padding-left: 80px;
}

.numbered-section.left {
    margin-right: auto;
    padding-left: 80px;
}

.section-number {
    position: absolute;
    left: -10px;
    top: 0;
    width: 72px;
    height: 72px;
    border: 2px solid var(--color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--color-accent);
    background: white;
    transition: all 0.3s ease;
}
.number-icon {
    width: 100%;
    height: 100%;
}
/*.journey-line {
    position: absolute;
    left: 25px;
    top: 50px;
    width: 2px;
    height: calc(100% + 2rem);
    border-left: 2px dashed var(--color-accent);
    opacity: 0;
    transform: scaleY(0);
    transform-origin: top;
    transition: all 0.6s ease;
}*/
.journey-line {
    position: absolute;
    left: 25px;
    top: 78px;
    width: 2px;
    height: calc(100% + 2rem);
    border-left: 2px dashed var(--color-accent);
    opacity: 0;
    transform: scaleY(0);
    transform-origin: top;
    transition: all 0.6s ease;
}
.numbered-section.visible .journey-line {
    opacity: 1;
    transform: scaleY(1);
}

.numbered-section.visible .section-number {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(230, 126, 34, 0.2);
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-30px);
    }
    60% {
        transform: translateY(-15px);
    }
}
.story-section {
    text-align: left;
    width: 60vw;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 3rem;
}

.story-section img {
    flex: 1 1 300px;
    max-width: 222px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(58, 58, 58, 0.1);
}
.service-badge {
    border: 2px solid white;
    padding: 2rem;
    text-align: center;
    margin: 2rem 0;
    border-radius: 10px;
    /*background: var(--third-color);*/
}
.story-section div {
    flex: 2 1 500px;
}
.highlight {
    font-weight: 500;
    color: var(--brown-2);
    /*color: var(--gold-1);*/
    font-style: italic;
}
.neon-sign {
    position: absolute;
    top: 322px;
    left: 148px;
    font-family: 'Arial Black', sans-serif;
    font-size: 3.5rem;
    color: #0ff;
    text-shadow:
            0 0 5px #0ff,
            0 0 10px #0ff,
            0 0 20px #0ff,
            0 0 40px #0ff,
            0 0 80px #0ff;
    animation: flicker 1.2s infinite;
    z-index: 100;
    transform: rotate(-5deg);
    opacity: 0.9;
    text-stroke: 1px rgba(255,255,255,0.3);
    -webkit-text-stroke: 1px rgba(255,255,255,0.3);
}

@keyframes flicker {
    0% { opacity: 0.9; }
    1% { opacity: 0.8; text-shadow: 0 0 10px #0ff; }
    4% { opacity: 1; }
    6% { opacity: 0.6; }
    20% { opacity: 0.9; color: #424040; }
    30% { opacity: 0.8; color: #0ff; }
    52% { opacity: 1; }
    100% { opacity: 0.9; }
}


.team-section {
    background: var(--beige-1);
    padding: 3rem 1rem;
    /*border-top: 2px solid #eaeaea;*/
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100vw;
}
.team-section h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--beige-3);
}
.team-members {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}
.team-member {
    flex: 1 1 300px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    text-align: left;
}
.team-member img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 1rem;
}
.team-member h3 {
    font-size: 1.5rem;
    margin: 0.5rem 0;
    color: #333;
}

.team-member p {
    font-size: 1rem;
    color: #666;
}

/* Grid Layouts */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.grid-item {
    padding: 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.grid-item:hover {
    transform: translateY(-5px);
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.team-member {
    text-align: center;
}

.team-member img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
}
.only-mobil {
    display: none;
}

@media screen and (max-width: 768px) {
    .section h2 {
        font-size: 1.5rem;
    }
    .hero {
        width: 100vw;
        background-attachment: unset;
        background-repeat: no-repeat;
    }
    .map-container {
        width: 100%;
        height: 400px;
        float: none;
        position: relative;
    }
    .team-pr {
        margin-right: 0rem;
    }
    .img-about {
        width: 100%;
        padding: 2rem;
    }
    .columnnocolumn {
        flex-direction: column;
    }
    .columnnocolumn img {
        width: 100%;
    }
    .numbered-section,
    .numbered-section.left,
    .numbered-section.right {
        width: 100%;
        padding-left: 60px;
        margin-left: 0;
        margin-right: 0;
    }
    .only-mobil {
        display: block;
    }
    .p-mobil {
        padding: 0 1rem;
    }
    .section-number {
        width: 72px;
        height: 72px;
        font-size: 1.2rem;
    }

    .journey-line {
        left: 20px;
    }
    .overlay {
        /*height: unset;*/
    }
    .hero h1 {
        font-size: 2rem;
    }

    .section {
        padding: 60px 0;
    }

    .grid-container {
        grid-template-columns: 1fr;
    }
    .story-section {
        flex-direction: column;
        align-items: center;
        width: 96%;
    }

    .team-members {
        flex-direction: column;
    }
    .neon-sign {
        top: 342px;
        left: 108px;
        font-size: 2.5rem;
    }
}
