@font-face {
    font-family: 'RobotoRegular';
    font-style: normal;
    font-weight: 400;
    src: url('/fonts/RobotoRegular.woff2');
    src: local(''),
        url('/fonts/RobotoRegular.woff2') format('woff2');
}

/* RESET MARGIN, PADDINGS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* BODY */
body {
    overflow-x: hidden;
    background: linear-gradient(to right, #ffffff, #c6c6c6);
    height: auto;
    overflow-x: hidden;
    font-family: 'RobotoRegular', sans-serif;
}

/* HEADER */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
}

h3 {
    color: #1f1f1f;
    padding: 30px;
    margin: 20px 0;
    font-size: 50px;
    font-family: 'RobotoRegular', sans-serif;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-bottom: 1rem;
    margin-top: 3rem;
    /* Füge einen oberen Abstand hinzu */
}

.navioben {
    display: flex;
    justify-content: space-between;
    font-family: 'RobotoRegular', sans-serif;
    background-color: rgba(243, 243, 243, 0.9);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(3.4px);
    -webkit-backdrop-filter: blur(3.4px);
    padding: 1.8rem 3rem;
    animation: slideDown 1s ease-in-out forwards;
}

.navioben ul {
    padding-top: 2.5rem;
    display: flex;
    list-style: none;
    gap: 3rem;
}

.navioben a {
    font-size: 120%;
    color: rgb(41, 41, 41);
    text-decoration: none;
    font-family: 'RobotoRegular', sans-serif;
}

.navioben a:hover {
    text-decoration: underline;
    text-decoration-color: #4d83ff;
    text-underline-offset: 3px;
    text-decoration-thickness: 1.5px;
}

@keyframes slideDown {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* HAMBURGER MENU */
.hamburger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    position: absolute;
    top: 20px;
    right: 30px;
    z-index: 1001;
}

.hamburger-menu .bar {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 4px;
    transition: all 0.3s ease;
}

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

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

.hamburger-menu.active .bar:nth-child(3) {
    transform: translateY(-14px) rotate(-45deg);
}

.close-button {
    position: absolute;
    top: 280px;
    right: 680px;
    left: auto;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: #333;
    cursor: pointer;
    z-index: 1001;
    border: none;
    transition: all 0.3s ease;
    font-size: 50px;
}

.close-button:hover {
    transform: scale(1.1);
}

.close-button:active {
    transform: scale(0.95);
}

/* MAIN */
.bauch {
    font-family: 'RobotoRegular', sans-serif;
    font-size: 140%;
    color: #1f1f1f;
    line-height: 2rem;
    padding-top: 5rem;
    padding-bottom: 4rem;
    opacity: 0;
    transition: opacity 1s ease-out, transform 1s ease-out;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.bauch.visible {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

.bauch h1 {
    background-image: url("/bilder/redline.webp");
    background-repeat: no-repeat;
    background-position-x: 80px;
    color: #1f1f1f;
    font-family: 'RobotoRegular', sans-serif;
    font-size: 350%;
    line-height: 95%;
    padding-bottom: 3rem;
    animation: slideLeft 1s ease forwards;
}

#junge {
    position: relative;
    width: 35rem;
    animation: slideUp 1s ease forwards;
    padding-bottom: 7rem;
    padding-top: 2rem;
}

#bauchtext {
    position: relative;
    animation: slideLeft 1s ease forwards;
    text-align: center;
}

.bauchicons {
    display: flex;
    text-decoration: none;
    gap: 5rem;
    padding-top: 3rem;
    font-size: 5rem;
    color: #4d83ff;
    animation: slideLeft 1s ease forwards;
    justify-content: center;
}

.bauchicons :hover {
    transform: scale(1.05);
}

.download-button {
    background-color: #4d83ff;
    color: #f1f1f1;
    padding: 20px 30px;
    border: none;
    border-radius: 5px;
    font-size: 20px;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.3s ease;
    font-family: 'RobotoRegular', sans-serif;
}

.download-button:hover {
    background-color: #3b7ddd;
}

.downloadbutton {
    padding-top: 2rem;
}

/* SKILLS */
.skills {
    text-align: center;
    font-family: 'RobotoRegular', sans-serif;
}

.skills h2 {
    font-size: 36px;
    margin-bottom: 40px;
    color: #1f1f1f;
    font-family: 'RobotoRegular', sans-serif;
}

.skill-item {
    margin-bottom: 50px;
}

.skill-item h4 {
    font-size: 24px;
    margin-bottom: 30px;
    color: #1f1f1f;
    font-family: 'RobotoRegular', sans-serif;
    font-weight: normal;
    text-align: center;
}

.skill-bar {
    border-radius: 12px;
    height: 40px;
    overflow: hidden;
    position: relative;
    border: 2px solid #f1f1f1;
    margin: 0 auto;
    width: 80%;
}

.skill-bar .fill {
    background-color: #4d83ff;
    height: 100%;
    width: 0;
    border-radius: 12px;
    transition: width 1s ease;
}

.skill-bar .label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #f1f1f1;
    font-size: 18px;
    font-weight: bold;
    font-family: 'RobotoRegular', sans-serif;
}

/* PROGRAMS */
.programs {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
    padding-bottom: 30px;
}

.programs h5 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #1f1f1f;
    font-family: 'RobotoRegular', sans-serif;
    font-weight: normal;
    text-align: center;
}

.program-row {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.program {
    background-color: #f1f1f1;
    border-radius: 12px;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
    cursor: pointer;
    font-family: 'RobotoRegular', sans-serif;
    font-weight: bold;
}

.program:hover {
    transform: scale(1.1);
}

.program span {
    font-size: 24px;
    color: #4d83ff;
    transition: color 0.3s ease, transform 0.3s ease;
    cursor: default;
}

.program span.active {
    color: #1f1f1f;
}

/* LOGODESIGN */
.logos-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 20px;
    padding-bottom: 70px;
    opacity: 0;
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.logos-container.visible {
    opacity: 1;
    transform: translateY(0);
}

.logos {
    background-color: #ebebeb;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    text-align: center;
    width: 1000px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
    padding: 20px;
    padding-top: 50px;
    padding-bottom: 50px;
}

.logos img {
    width: 80%;
    height: auto;
    margin: 0 auto;
    padding-bottom: 1.5rem;
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}

.logos:hover {
    transform: scale(1.02);
}

.logos:hover img {
    opacity: 0.7;
    transform: scale(1.05);
}

.logos p {
    font-size: 18px;
    color: #1f1f1f;
    flex-grow: 1;
    display: flex;
}

.logos .icons {
    display: flex;
    justify-content: center;
    font-weight: bold;
    gap: 10px;
    margin-top: 20px;
}

.logos .icons span {
    font-family: 'RobotoRegular', sans-serif;
    font-weight: bold;
    font-size: 24px;
    color: #ccc;
    font-weight: 700;
    transition: color 0.3s ease, transform 0.3s ease;
    cursor: default;
}

.logos .icons span:hover {
    color: #1f1f1f;
    transform: scale(1.2);
    cursor: default;
}

.logos .icons span.active {
    color: #4d83ff;
}

/* WEBDESIGN */
.webdesign-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 20px;
    padding-bottom: 70px;
    opacity: 0;
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.webdesign-container.visible {
    opacity: 1;
    transform: translateY(0);
}

.webdesign {
    background-color: #ebebeb;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    text-align: center;
    width: 550px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
    padding: 20px;
}

#webdesign-overlay-text {
    font-family: 'RobotoRegular', sans-serif;
    font-size: 20px;
    line-height: 140%;
}

#webdesign-overlay-title {
    font-family: 'RobotoRegular', sans-serif;
    font-size: 2rem;
    padding-bottom: 1rem;

}

.webdesign:hover {
    transform: scale(1.02);
}

.webdesign img {
    width: 100%;
    height: auto;
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}

.webdesign:hover img {
    opacity: 0.7;
    transform: scale(1.05);
}

/* PROMOTION */
.promotion-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 20px;
    padding-bottom: 70px;
    opacity: 0;
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.promotion:hover {
    transform: scale(1.02);
}

.promotion-container.visible {
    opacity: 1;
    transform: translateY(0);
}

.promotion {
    background-color: #ebebeb;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    text-align: center;
    width: 550px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
    padding: 20px;
}

.promotion img {
    width: 100%;
    height: auto;
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}

.promotion:hover img {
    opacity: 0.7;
    transform: scale(1.05);
}

.promotion .icons {
    position: absolute;
    padding: 10px;
    background: rgba(0, 0, 0, 0.3);
    top: 20px;
    left: 20px;
    font-size: 24px;
    color: #ccc;
    font-family: 'RobotoRegular', sans-serif;
    font-weight: bold;
    transition: color 0.3s ease, transform 0.3s ease;
    cursor: default;
    opacity: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.promotion:hover .icons {
    opacity: 1;
}

.promotion .icons span {
    margin-right: 10px;
}

.promotion .icons span:hover {
    color: #333;
    transform: scale(1.2);
    cursor: default;
}

.promotion .icons span.active {
    color: #4d83ff;
}

/* FOTOSLIDER */
#slider {
    width: 1000px;
    margin: 20px auto;
    opacity: 0;
    transition: opacity 1s ease-out;
}

#slider.visible {
    opacity: 1;
}

#slider img {
    background: rgba(255, 255, 255, 0.17);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10.2px);
    -webkit-backdrop-filter: blur(10.2px);
    max-width: 100%;
    height: auto;
    transition: opacity 1s ease;
}

#button {
    text-align: center;
    opacity: 0;
    transition: opacity 1s ease-out;

}

#button.visible {
    opacity: 1;
}

#startBtn,
#stopBtn,
#prevBtn,
#nextBtn {
    border-radius: 5px;
    border: solid 1px;
    margin: 10px;
    padding: 10px 20px;
    background-color: #4d83ff;
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    font-family: 'RobotoRegular', sans-serif;
}

#startBtn:hover,
#stopBtn:hover,
#prevBtn:hover,
#nextBtn:hover {
    transform: scale(1.05);
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

/* KONTAKTICONS */

div.bauchicons {
    padding-top: 2rem;
    padding-bottom: 2rem;
    display: flex;
    text-decoration: none;
    gap: 5rem;
    font-size: 5rem;
    color: #4d83ff;
    animation: slideLeft 1s ease forwards;
    justify-content: center;
}

.bauchicons :hover {
    transform: scale(1.05);
}

.mail-icon {
    color: #4d83ff;
    text-decoration: none;
}

.whatsapp-icon {
    color: #4d83ff;
    text-decoration: none;
}

.phone-icon {
    color: #4d83ff;
    text-decoration: none;
}

/* FOOTER */
.navifooter {
    padding-bottom: 10px;
    left: 1rem;
    font-family: 'RobotoRegular', sans-serif;
    font-size: 12px;
    display: flex;
    list-style: none;
    gap: 1rem;
    justify-content: left;
    align-items: first baseline;
}

.navifooter ul {
    display: flex;
    list-style: none;
    gap: 1rem;
    justify-content: left;
    align-items: first baseline;
    padding-left: 1rem;
}

.navifooter a {
    color: rgb(41, 41, 41);
    text-decoration: none;
    font-family: 'RobotoRegular', sans-serif;
}

.navifooter a:hover {
    text-decoration: underline;
    text-underline-offset: 1px;
}

/* Scroll */
.scroll-to-top-btn {
    position: fixed;
    bottom: 40px;
    right: 20px;
    background-color: #4d83ff;
    color: #f1f1f1;
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1000;
    font-size: 30px;
}

.scroll-to-top-btn.visible {
    opacity: 1;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
    padding-top: 180px;
}

.modal-content {
    background-color: #f1f1f1;
    margin: 5% auto;
    padding: 40px;
    width: 80%;
    max-width: 600px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    border-radius: 12px;
    font-family: 'RobotoRegular', sans-serif;
}

.modal h2 {
    font-family: 'RobotoRegular', sans-serif;
    padding-bottom: 1rem;
}

#submitPasswordBtn {
    color: #f1f1f1;
    padding: 10px;
    font-family: 'RobotoRegular', sans-serif;
    background-color: #4d83ff;
    font-size: 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

#submitPasswordBtn:hover {
    background-color: #3b7ddd;
    transform: scale(1.05);
}

.close-button:hover,
.close-button:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #4d83ff;
    color: #f1f1f1;
    padding: 20px;
    text-align: center;
    font-family: 'RobotoRegular', sans-serif;
    z-index: 1000;
}

.cookie-consent p {
    margin: 0;
    font-size: 16px;
}

#acceptCookies {
    background-color: #f1f1f1;
    color: #4d83ff;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    font-family: 'RobotoRegular', sans-serif;
}

#acceptCookies:hover {
    background-color: #e1e1e1;
    transform: scale(1.05);
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {

    body {
        overflow-x: hidden;
        padding-bottom: 60px;
    }

    .navioben {
        flex-direction: column;
        align-items: flex-start;
        padding: 1rem;
    }

    .navioben img {
        padding-left: 1rem;
        width: 10rem;
    }

    .hamburger-menu {
        display: flex;
        justify-content: flex-end;
        padding-top: 1rem;
        cursor: pointer;
    }

    .nav-links {
        background-color: #f1f1f1;
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 5.5rem;
        left: 0;
        text-align: center;
        z-index: 1000;
        transition: transform 1s ease-in-out;
        transform: translateX(-100%);
        padding-bottom: 2rem;
    }

    .nav-links.active {
        display: flex;
        transform: translateY(0);
    }

    .nav-links.active a {
        padding: 15px 0;
    }

    .bauch {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        font-size: 1rem;
        line-height: 140%;
    }

    .bauch h1 {
        background-position-x: 20px;
        background-size: 25rem;
        order: 1;
        padding-bottom: 4rem;
        font-size: 40px;
    }

    .bauch #junge {
        order: 2;
        width: 20rem;
        padding-top: 2rem;
    }

    .bauch #bauchtext {
        order: 3;
        line-height: 160%;
    }

    .bauch.visible {
        padding-top: 25px;
    }

    .skills,
    .programs,
    .logos-container,
    .webdesign-container,
    .promotion-container,
    .kontaktformular {
        padding: 20px;
        text-align: center;
    }

    .logos,
    .webdesign,
    .promotion {
        width: 100%;
        margin-bottom: 20px;
    }

    .logos img,
    .webdesign img,
    .promotion img {
        width: 100%;
    }

    #slider {
        width: 90%;
    }

    #slider img {
        width: 100%;
    }

    #button {
        flex-direction: column;
        align-items: center;
    }

    .logos-container,
    .webdesign-container,
    .promotion-container {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .logos-container figure,
    .webdesign-container figure,
    .promotion-container figure {
        width: 100%;
        margin-bottom: 20px;
    }

    .scroll-to-top-btn {
        margin-bottom: 2rem;
    }

    .modal-content {
        margin: 0 auto;
        padding: 40px;
        width: 90%;
        max-width: 600px;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 30px;
        border-radius: 12px;
    }

    .promotion-overlay.visible {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .promotion-overlay .text-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        width: 100%;
        padding: 20px;
    }

    .promotion-overlay .close-button {
        position: absolute;
        top: 20px;
        right: 20px;
        font-size: 30px;
        color: #333;
        cursor: pointer;
        z-index: 1001;
    }

    .promotion-overlay img {
        display: none;
    }

    .promotion-overlay .title {
        font-size: 23px;
        margin-bottom: 10px;
    }

    .promotion-overlay .text {
        font-size: 16px;
        line-height: 140%;
    }

    .webdesign-overlay.visible {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .webdesign-overlay .text-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        width: 100%;
        padding: 20px;

    }

    #webdesign-overlay.modal {
        padding: 0;
        align-content: center;
    }

    .close-button {
        position: absolute;
        top: 85px;
        right: 40px;
        font-size: 50px;
        color: #333;
        cursor: pointer;
        z-index: 1001;
    }

    .webdesign-overlay img {
        display: none;
    }

    .webdesign-overlay .title {
        font-size: 23px;
        margin-bottom: 10px;
    }

    #webdesign-overlay-text {
        font-family: 'RobotoRegular', sans-serif;
        font-size: 15px;
        line-height: 140%;
    }

    .navifooter {
        justify-content: center;
        font-size: 14px;
    }

    div.bauchicons {
        padding-bottom: 2rem;
        padding-top: 2rem;
        gap: 2rem;
        font-size: 4rem;
    }

    h3 {
        font-size: 40px;
    }
}
