body {
    font-family: 'Poppins', sans-serif;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

header.scrolled {
    background: rgba(255,255,255,0.97) !important;
    box-shadow: 0 4px 30px rgba(11,29,58,0.1);
    backdrop-filter: blur(12px);
}

#magnify {
    width: 100vw;
    height: 100vh;
    background: rgba(11,29,58,0.95);
    position: fixed;
    z-index: 1000;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#magnify h1 {
    position: absolute;
    top: 20px;
    right: 20px;
    margin: 0;
    color: #fff;
    font-size: 30px;
    transition: 0.3s ease;
    cursor: pointer;
}

#magnify h1:hover {
    color: #8FA3C7;
}

#img_here {
    width: 90%;
    height: 90%;
    max-width: 90vw;
    max-height: 90vh;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center;
    margin: 0 auto;
}

::placeholder {
    color: #0B1D3A;
}

button:focus {
    outline: none;
}

::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: #E8EDF4;
}

::-webkit-scrollbar-thumb {
    background: #0B1D3A;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #1B3A5C;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}

.scroll-bounce {
    animation: scrollBounce 1.4s ease-in-out infinite;
}

/* Render below-the-fold sections lazily to improve first paint. */
#prices,
#gallery,
#bio,
#contact,
#impressum {
    content-visibility: auto;
    contain-intrinsic-size: 1px 1000px;
}
