@import url('https://fonts.googleapis.com/css2?family=Kumbh+Sans:wght@400;700&display=swap');

* {
    font-family: 'Kumbh Sans', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
    text-decoration: none;
    transition: all .2s linear;
}

.navbar {
    background: #164DF2;
    height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 210%;
    position: sticky;
    top: 0;
    z-index: 999;
}

.navbar__container {
    display: flex;
    justify-content: space-between;
    height: 80px;
    z-index: 1;
    width: 100%;
    max-width: 1300px;
    margin-right: auto;
    margin-left: auto;
    padding-right: 50px;
    padding-left: 50px;
    margin-top: 0px;
}

#navbar__logo {
    background-color: #ff8177;
    background-image: linear-gradient(to top, #ffffff 0%, #ffffff 100%);
    background-size: 100%;
    -webkit-background-clip: text;
    -moz-background-clip: text;
    -webkit-text-fill-color: transparent;
    -moz-text-fill-color: transparent;
    display: flex;
    cursor: pointer;
    text-decoration: none;
    height: 62px;
    width: 136px;
    padding-top: 1rem;
    position: relative;
}

.fa-runner {
    margin-right: 0.5rem;
}

.navbar__menu {
    display: flex;
    align-items: center;
    list-style: none;
    text-align: center;
}

.navbar__item {
    height: 80px;
}

.navbar__links {
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    padding: 0 1.5rem;
    height: 100%;
}

.navbar__btn {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 2rem;
    width: 100%;
}

.button {
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    padding: 10px 20px;
    height: 100%;
    width: 100%;
    border: none;
    outline: none;
    border-radius: 4px;
    background: #3084F2;
    color: #fff;
}

.button:hover {
    background: #F2F1F0;
    transition: all 0.3s ease;
    color: #000000;
}

.navbar__links:hover {
    color: #000000;
    transition: all 0.3s ease;
}

@media screen and (max-width: 960px) {
    .navbar__container {
        display: flex;
        justify-content: space-between;
        height: 80px;
        z-index: 1;
        width: 100%;
        max-width: 1300px;
        padding: 0;
    }

    .navbar__menu {
        display: grid;
        grid-template-columns: auto;
        margin: 0;
        width: 100%;
        position: absolute;
        top: -1000px;
        opacity: 1;
        transition: all 0.5s ease;
        height: 50vh;
        z-index: -1;
    }

    .navbar__menu.active {
        background: #164DF2;
        top: 100%;
        opacity: 1;
        transition: all 0.5s ease;
        z-index: 99;
        height: 50vh;
        font-size: 2.1rem;
    }

    #navbar__logo {
        padding-left: 25px;
    }

    .navbar__toggle .bar {
        width: 25px;
        height: 3px;
        margin: 5px auto;
        transition: all 0.3s ease-in-out;
        background: #fff;
    }

    .navbar__item {
        width: 100%;
    }

    .navbar__links {
        text-align: center;
        padding: 2rem;
        width: 100%;
        display: table;
    }

    .navbar__btn {
        padding-bottom: 2rem;
    }

    .button {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 80%;
        height: 80px;
        margin: 0;
    }

    #mobile-menu {
        position: absolute;
        top: 20%;
        right: 5%;
        transform: translate(5%, 20%);
    }

    .navbar__toggle .bar {
        display: block;
        cursor: pointer;
    }

    #mobile-menu.is-active .bar:nth-child(2) {
        opacity: 0;
    }

    #mobile-menu.is-active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    #mobile-menu.is-active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}

html {
    font-size: 62.5%;
    overflow-x: hidden;
    background-color: #F2F1F0;
}

/* Hero */
.hero {
    background: #fff;
    padding: 5rem 2.5rem;
}
.hero__inner {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 500px;
    gap: 3rem;
    align-items: center;
}
.hero__heading {
    font-size: 4.2rem;
    color: #164DF2;
    margin-bottom: 1.2rem;
}
.hero__lead {
    font-size: 2.2rem;
    color: #333;
    margin-bottom: 2rem;
    line-height: 1.6;
}
.hero__actions {
    display: flex;
    gap: 1.2rem;
    margin-bottom: 2rem;
}
.hero__cta {
    background: #164DF2;
    color: #fff;
    padding: 1.2rem 1.6rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.5rem;
}
.hero__cta.ghost {
    background: transparent;
    color: #164DF2;
    border: 2px solid #164DF2;
}
.hero__image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 35px rgba(0,0,0,0.12);
    object-fit: contain;
}

/* Stats */
.stats {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
}
.stat {
    background: #f0f6ff;
    padding: 1.1rem 1.4rem;
    border-radius: 12px;
    min-width: 160px;
    text-align: center;
}
.stat__num {
    font-size: 4rem;
    color: #164DF2;
    font-weight: 700;
}
.stat__label {
    font-size: 1.4rem;
    color: #333;
}

/* Grid cards */
.section {
    max-width: 1300px;
    margin: 4rem auto;
    padding: 0 2rem;
}
.grid-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}
.card {
    background: #fff;
    border-radius: 15px;
    padding: 1.8rem;
    box-shadow: 0 10px 35px rgba(0,0,0,0.06);
}
.card--large {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    text-align: center;
}
.card__img {
    max-width: 280px;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
}
.card__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.card__body h2 {
    color: #164DF2;
    margin-bottom: 0.8rem;
    font-size: 2.4rem;
}
.card__body p {
    font-size: 1.8rem;
    max-width: 600px;
}
.card--small {
    text-align: center;
    padding: 2.4rem;
}
.card__icon {
    font-size: 3.6rem;
    color: #3084F2;
    margin-bottom: 1.2rem;
}
.card--small h3 {
    font-size: 2rem;
}
.card--small p {
    font-size: 1.6rem;
}
.small-cards-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* Timeline */
.timeline {
    padding: 2.4rem;
}
.timeline__list {
    list-style: none;
    padding-left: 0;
    font-size: 1.8rem;
}
.timeline__list li {
    padding: 1rem 0;
    border-left: 4px solid #f0f0f0;
    margin-left: 1.2rem;
    padding-left: 1.5rem;
}

/* Events */
.events {
    padding: 2.4rem;
}
.events__container {
    display: grid;
    grid-template-columns: 3fr 2fr; /* Adjust proportions: more space for list, less for image */
    gap: 2rem;
    align-items: start;
}
.events__list {
    list-style-type: disc;
    padding-left: 2rem;
    font-size: 1.8rem;
    margin-left: 0;
}
.events__list li {
    padding: 1rem 0;
}
.events__list li.past {
    color: #666;
    font-style: italic;
}
.events__list li.future {
    color: #164DF2;
    font-weight: bold;
}
.events__image img {
    width: 100%;
    max-width: 400px; /* Limit maximum width on large screens */
    max-height: 300px; /* Limit maximum height to prevent oversized images */
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

/* Responsive adjustments */
@media (max-width: 800px) {
    .events__container {
        grid-template-columns: 1fr; /* Stack vertically on smaller screens */
        gap: 1.5rem;
    }
    .events__image img {
        max-width: 100%; /* Allow full width on smaller screens */
        max-height: 250px; /* Slightly smaller height for smaller screens */
        height: auto;
    }
}
@media (max-width: 480px) {
    .events__list {
        font-size: 1.4rem;
    }
    .events__image img {
        max-width: 100%;
        max-height: 200px; /* Further reduce height for very small screens */
        height: auto;
    }
}

/* Trainer */
.trainer-grid {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.trainer-card {
    background: #fff;
    border-radius: 12px;
    padding: 1.4rem;
    flex: 1;
    min-width: 250px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    text-align: center;
}
.trainer-card img {
    width: 150px;
    height: 150px;
    border-radius: 999px;
    object-fit: contain;
    margin-bottom: 0.8rem;
}
.trainer-card h3 {
    color: #164DF2;
    margin-bottom: 0.3rem;
    font-size: 2rem;
}
.trainer-card .muted {
    color: #666;
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
}
.trainer-card p {
    font-size: 1.6rem;
}

/* Gallery */
.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
}
.gallery img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
}

/* Kontakt */
.kontakt {
    background: #f0f6ff;
    text-align: center;
    padding: 2.4rem;
}
.kontakt p {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}
.kontakt-cta {
    display: flex;
    gap: 1.2rem;
    justify-content: center;
    margin-top: 1.2rem;
}
.button {
    background: #3084F2;
    color: #fff;
    padding: 1.1rem 1.4rem;
    border-radius: 10px;
    text-decoration: none;
    font-size: 1.6rem;
    width: auto;
    display: inline-flex;
}
.button.ghost {
    background: transparent;
    border: 2px solid #164DF2;
    color: #164DF2;
}
.kontakt .muted {
    font-size: 1.5rem;
}

/* Section headings */
.card h2 {
    font-size: 2.4rem;
    margin-bottom: 1rem;
}

/* Footer CSS */
.footer__container {
    background-color: #141414;
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#footer__logo {
    color: #fff;
    height: 50px;
    width: 110px;
    display: flex;
    align-items: center;
    cursor: pointer;
    text-decoration: none;
    font-size: 2rem;
}

#footer__img {
    height: 50px;
    width: auto;
}

.footer__links {
    width: 100%;
    max-width: 1000px;
    display: flex;
    justify-content: center;
    font-size: 1.6rem;
}

.footer__link--wrapper {
    display: flex;
}

.footer__link--items {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin: 16px;
    text-align: left;
    width: 160px;
    box-sizing: border-box;
    margin-top: 5rem;
}

.footer__link--items h2 {
    margin-bottom: 16px;
}

.footer__link--items > h2 {
    color: #fff;
}

.footer__link--items a {
    color: #fff;
    text-decoration: none;
    margin-bottom: 0.5rem;
}

.footer__link--items a:hover {
    color: #e9e9e9;
    transition: 0.3s ease-out;
}

/* Social Icons */
.social__icon--link {
    color: #fff;
    font-size: 24px;
}

.social__media {
    max-width: 1000px;
    width: 100%;
}

.social__media--wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    max-width: 1000px;
    margin: 40px auto 0 auto;
}

.social__icons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 240px;
}

.social__logo {
    color: #fff;
    justify-self: start;
    margin-left: 20px;
    cursor: pointer;
    text-decoration: none;
    font-size: 2rem;
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}

.website__rights {
    color: #fff;
    font-size: 1.5rem;
}

@media screen and (max-width: 1100px) {
    .hero__inner {
        grid-template-columns: 1fr 380px;
    }
    .small-cards-row {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 800px) {
    .hero {
        padding: 3rem 1.5rem;
    }
    .hero__inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .hero__heading {
        font-size: 3.2rem;
    }
    .hero__lead {
        font-size: 1.8rem;
    }
    .hero__cta {
        padding: 1rem 1.4rem;
        font-size: 1.8rem;
    }
    .stats {
        flex-direction: column;
        align-items: center;
    }
    .stat__num {
        font-size: 3.5rem;
    }
    .section {
        margin: 3rem auto;
        padding: 0 1.5rem;
    }
    .grid-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .card {
        padding: 1.4rem;
    }
    .card--large {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    .card__img {
        max-width: 50%;
        height: auto;
    }
    .card__body {
        width: 100%;
    }
    .card__body h2 {
        font-size: 2rem;
    }
    .card__body p {
        font-size: 1.6rem;
    }
    .card--small {
        padding: 1.8rem;
    }
    .card__icon {
        font-size: 3rem;
    }
    .card--small h3 {
        font-size: 1.8rem;
    }
    .card--small p {
        font-size: 1.4rem;
    }
    .small-cards-row {
        grid-template-columns: repeat(2, 1fr);
    }
    .timeline {
        padding: 1.8rem;
    }
    .timeline__list {
        font-size: 1.6rem;
    }
    .events {
        padding: 1.8rem;
    }
    .events__list {
        font-size: 1.6rem;
    }
    .trainer-grid {
        flex-direction: column;
        gap: 1.5rem;
    }
    .trainer-card {
        min-width: 100%;
        padding: 1.2rem;
    }
    .trainer-card img {
        width: 130px;
        height: 130px;
    }
    .trainer-card h3 {
        font-size: 1.8rem;
    }
    .trainer-card .muted {
        font-size: 1.3rem;
    }
    .trainer-card p {
        font-size: 1.4rem;
    }
    .gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    .gallery img {
        height: auto;
    }
    .kontakt {
        padding: 1.8rem;
    }
    .kontakt p {
        font-size: 1.6rem;
    }
    .button {
        padding: 1rem 1.2rem;
        font-size: 1.4rem;
        width: auto;
    }
}
@media (max-width: 480px) {
    .hero {
        padding: 2.5rem 1rem;
    }
    .hero__heading {
        font-size: 3rem;
    }
    .hero__lead {
        font-size: 1.6rem;
    }
    .hero__cta {
        font-size: 1.6rem;
    }
    .stat__num {
        font-size: 3rem;
    }
    .card--large {
        flex-direction: column;
        align-items: center;
    }
    .card__img {
        max-width: 100%;
    }
    .card__body {
        width: 100%;
    }
    .card__body h2 {
        font-size: 1.8rem;
    }
    .card__body p {
        font-size: 1.4rem;
    }
    .card--small h3 {
        font-size: 1.6rem;
    }
    .card--small p {
        font-size: 1.2rem;
    }
    .small-cards-row {
        grid-template-columns: 1fr;
    }
    .timeline__list {
        font-size: 1.4rem;
    }
    .events__list {
        font-size: 1.4rem;
    }
    .trainer-card img {
        width: 100px;
        height: 100px;
    }
    .trainer-card h3 {
        font-size: 1.6rem;
    }
    .trainer-card p {
        font-size: 1.2rem;
    }
    .gallery {
        grid-template-columns: 1fr;
    }
    .gallery img {
        height: auto;
    }
    .kontakt p {
        font-size: 1.4rem;
    }
    .button {
        font-size: 1.2rem;
    }
}