* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    background-color: black;
    overflow-x: hidden;
}

.hero-section {
    height: 100dvh;
    display: flex;
    align-items: center;
    padding: 8vw;
    position: relative;
    z-index: 0;
}

.hero-section div {
    position: relative;
    width: 45%;
    z-index: 3;
}

.info-section {
    min-height: 100vh;
    padding: 8vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.info-header {
    margin-bottom: 6vh;
    max-width: 45%;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3vw;
}

.info-item h3 {
    font-size: clamp(1.1rem, 1.8vw, 1.6rem);
    margin-bottom: 1.5vh;
    letter-spacing: -0.5px;
}

.info-item p {
    font-size: clamp(0.85rem, 1.1vw, 1rem);
}

.horizontal-section {
    height: 650vh;
    view-timeline-name: --section-scroll;
    view-timeline-axis: block;
    position: relative;
    z-index: 1;
}

.pin-container {
    position: sticky;
    top: 0;
    height: 100dvh;
    width: 100vw;
    overflow: visible;
}

.horizontal-track {
    display: flex;
    width: 500vw;
    height: 100dvh;

    animation: scroll-horizontal linear both;
    animation-timeline: --section-scroll;
    animation-range: contain 0% contain 100%;
}

@keyframes scroll-horizontal {
    to {
        transform: translateX(-400vw);
    }
}

.panel {
    width: 100vw;
    height: 100dvh;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    padding: 8vw;
    position: relative;
    isolation: isolate;
}

.panel .content {
    position: relative;
    width: 45%;
    z-index: 3;
}

.saxophon {
    position: absolute;
    top: -90vh;
    left: 60%;
    transform: translateX(-50%) rotate(-15deg);
    height: 180vh;
    width: auto;
    object-fit: contain;
    z-index: 5;
    pointer-events: none;

    -webkit-user-drag: none;

    -webkit-user-select: none;
    user-select: none;
}

.panel-side-image {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    height: 65vh;
    width: auto;
    object-fit: contain;
    z-index: 2;
    pointer-events: none;

    -webkit-user-drag: none;

    -webkit-user-select: none;
    user-select: none;
}

.panel-bg-image-dark {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.15;
    filter: grayscale(100%);
    z-index: 0;
    pointer-events: none;

    -webkit-user-drag: none;

    -webkit-user-select: none;
    user-select: none;
}

.panel-bg-image-light {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    filter: grayscale(100%);
    z-index: 0;
    pointer-events: none;
}

.aufbau-section {
    min-height: 100vh;
    padding: 8vw;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4vw;
    position: relative;
}

.aufbau-text {
    width: 40%;
    position: relative;
    z-index: 2;
}

.aufbau-image {
    height: 80vh;
    width: auto;
    max-width: 50%;
    object-fit: contain;

    -webkit-user-drag: none;

    -webkit-user-select: none;
    user-select: none;
}

.family-section {
    min-height: 100vh;
    padding: 8vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.family-header {
    margin-bottom: 6vh;
    max-width: 45%;
}

.family-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2vw;
}

.family-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.family-img {
    width: 100%;
    height: 30vh;
    object-fit: contain;
    margin-bottom: 2vh;

    -webkit-user-drag: none;

    -webkit-user-select: none;
    user-select: none;
    transition: transform 0.3s ease;
}

.family-card:hover .family-img {
    transform: translateY(-6px) scale(1.03);
}

.family-card h3 {
    font-size: clamp(1.2rem, 2vw, 1.8rem);
    margin-bottom: 1vh;
    letter-spacing: -0.5px;
}

.family-card p {
    font-size: clamp(0.85rem, 1.1vw, 1rem);
}

.site-footer {
    background-color: black;
    color: white;
    padding: 8vh 8vw 4vh 8vw;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-top {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    max-width: 700px;
    margin-bottom: 5vh;
}

.footer-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    transform: scale(1.4);
    flex-shrink: 0;
    background-color: #222;

    -webkit-user-drag: none;

    -webkit-user-select: none;
    user-select: none;
}



.footer-text h3 {
    font-size: 1.1rem;
    margin-bottom: 0.4rem;
    letter-spacing: 0;
}

.footer-text p {
    font-size: 0.9rem;
    line-height: 1.5;
    opacity: 0.75;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding-top: 3vh;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    opacity: 0.75;
    transition: opacity 0.25s ease;
}

.footer-links a:hover {
    opacity: 1;
}

.footer-year {
    font-size: 0.85rem;
    opacity: 0.55;
}

h1 {
    font-size: clamp(2.8rem, 10vw, 7rem);
    line-height: 0.8;
    letter-spacing: -0.3vw;
    margin: 20px 0;
    position: relative;
    z-index: 1;
}

h2 {
    font-size: clamp(2.4rem, 9vw, 6rem);
    line-height: 0.85;
    letter-spacing: -0.25vw;
    margin: 20px 0;
}

p {
    font-size: clamp(0.95rem, 1.6vw, 1.25rem);
    line-height: 1.5;
}

.black {
    background-color: black;
    color: white;
}

.white {
    background-color: white;
    color: black;
}

.legal-section {
    min-height: 100dvh;
    padding: 10vh 8vw;
    max-width: 900px;
}

.legal-section h1 {
    font-size: clamp(2.2rem, 6vw, 3.5rem);
    margin-bottom: 4vh;
}

.legal-section h2 {
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    line-height: 1.2;
    letter-spacing: 0;
    margin: 4vh 0 1.5vh 0;
}

.legal-section p {
    font-size: 1rem;
    margin-bottom: 1rem;
    opacity: 0.85;
}

.legal-section a {
    color: white;
    text-decoration: underline;
}

.legal-back {
    display: inline-block;
    margin-bottom: 6vh;
    font-size: 0.9rem;
    opacity: 0.6;
    text-decoration: none;
    color: white;
    transition: opacity 0.25s ease;
}

.legal-back:hover {
    opacity: 1;
}

@media (min-width: 1600px) {

    .info-grid,
    .family-grid {
        max-width: 1600px;
        margin: 0 auto;
    }

    .saxophon {
        height: 150vh;
    }

    .panel-side-image {
        height: 55vh;
    }
}

@media (max-width: 1440px) {

    .hero-section,
    .panel,
    .info-section,
    .aufbau-section,
    .family-section {
        padding: 6vw;
    }

    .hero-section div,
    .panel .content {
        width: 55%;
    }

    .saxophon {
        top: -70vh;
        left: 68%;
        height: 140vh;
    }

    .panel-side-image {
        height: 50vh;
    }

    .info-header,
    .family-header {
        max-width: 60%;
    }

    .info-grid,
    .family-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 5vw 4vw;
    }

    .aufbau-section {
        flex-direction: column;
        text-align: center;
    }

    .aufbau-text,
    .aufbau-image {
        width: 100%;
        max-width: 100%;
    }

    .aufbau-image {
        height: 45vh;
    }
}

@media (max-width: 600px) {

    .horizontal-section {
        height: 750vh;
    }

    .hero-section,
    .panel {
        align-items: flex-start;
        padding: 6vw 6vw 10vh 6vw;
        padding-top: 12vh;
    }

    .hero-section div,
    .panel .content {
        width: 100%;
    }

    h1,
    h2 {
        letter-spacing: -1px;
    }

    p {
        max-width: 90%;
    }

    .saxophon {
        top: auto;
        bottom: -8vh;
        left: 80%;
        height: 65vh;
        transform: translateX(-50%) rotate(-15deg);
        opacity: 0.9;
    }

    .panel-side-image {
        height: 35vh;
        right: -5%;
        opacity: 0.85;
    }

    .panel-bg-image-dark,
    .panel-bg-image-light {
        opacity: 0.08;
    }

    .info-section,
    .aufbau-section,
    .family-section {
        padding: 6vw;
    }

    .info-header,
    .family-header {
        max-width: 100%;
    }

    .info-grid,
    .family-grid {
        grid-template-columns: 1fr;
        gap: 6vh;
    }

    .aufbau-section {
        flex-direction: column;
        text-align: center;
        gap: 4vh;
    }

    .aufbau-text,
    .aufbau-image {
        width: 100%;
    }

    .aufbau-image {
        height: 35vh;
    }

    .site-footer {
        padding: 6vh 6vw 4vh 6vw;
    }

    .footer-top {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        gap: 1rem;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.8rem;
    }

    .legal-section {
        padding: 6vh 6vw;
    }
}

@media (max-width: 380px) {
    .saxophon {
        height: 55vh;
        left: 85%;
    }
}

@media (max-height: 500px) and (orientation: landscape) {

    .horizontal-section {
        height: 750vh;
    }

    .hero-section,
    .panel {
        padding: 4vw 6vw;
        align-items: center;
    }

    .saxophon {
        top: -50vh;
        height: 100vh;
    }

    .panel-side-image {
        height: 60vh;
    }

    h1,
    h2 {
        font-size: clamp(2rem, 6vw, 3.5rem);
    }
}