
/* Basis */
html, body {
    margin: 0;
    padding: 0;
    font-family: var(--font-body);
    color: var(--c-text);
    background: var(--c-bg);
}

main {
    max-width: 80vw;
    margin: 0 auto;
    padding: 4rem 1.5rem 5rem;
   
}


/* === Home Bereich===*/
.hero {
    margin-top: 2rem;
    border-radius: 24px;
    padding: 4rem 2.5rem 3rem;
background: linear-gradient(
        135deg,
        rgba(72, 228, 228, 0.25),
        rgba(166, 115, 255, 0.25)
    );
    backdrop-filter: blur(2px);
    box-shadow: var(--box-shadow);
}

.hero-content {
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
}

.hero .icons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.hero .icons img {
    width: 75px;
    height: 75px;
   
    
    /*Animation*/
    animation: bounce 1.1s infinite ease-in-out;
    animation-direction: normal;
}

@keyframes bounce {

    0%,
    100% {
        transform: translate(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/*Verzögerung für die Wellenbewegung*/
.icons span:nth-child(1) img {
    animation-delay: 0s;
}

.icons span:nth-child(2) img {
    animation-delay: 0.2s;
}

.icons span:nth-child(3) img {
    animation-delay: 0.4s;

}

.icons span:nth-child(4) img {
    animation-delay: 0.6s;

}

.hero h1 {
    font-family: var(--font-title);
    font-size: clamp(24px, 5vw, 48px);
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--c-text);
}

.einleitung p {
    font-size: clamp(14px, 2vw, 24px);
    line-height: 1.6;
    color: var(--c-text-secondary);
}

/* === Sektion-Hintergrund + Layout ===*/
.hobbies {
    margin-top: 3.5rem;
    padding: 3rem 0 1rem;
   }

.content-box {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.8rem;
}

