
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inconsolata';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/inconsolata-v37-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}


@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inconsolata';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/inconsolata-v37-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

:root {
    --primary-color:#fff;
    --secondary-color:#000;
    --accent-color:#d73e06;
}


* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    overscroll-behavior: none;
    overflow-x: hidden;
    background-color: var(--primary-color);
    font-family: 'Inconsolata', sans-serif;
    font-weight:400;
    line-height: 1.3;
}

h2, h3 {
    font-size: clamp(1rem, 0.861rem + 0.602vi, 1.313rem);
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 2rem;
    background: transparent;
    transition: all 0.3s ease;
}

.header.scrolled {   
    padding: 1rem 2rem;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.nav a {
    cursor: pointer;
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.nav a:hover::after {
    transform: scaleX(1);
}

.header.scrolled .nav a {
    color: var(--secondary-color);
}


.nav-left {
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0.5px;
}

.nav-right {
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0.5px;
}

/* Hero Section with Split Effect */
.hero {
    height: 100vh;
    position: relative;
    background:var(--primary-color);
    overflow: hidden;
}

.hero__inner {
    height: 100%;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    position: relative;
}

.hero__image-cont {
    position: relative;
    overflow: hidden;
}

.hero__image-cont:not(:last-child):after {
    display: none;
}

.hero__image-cont img {
    position: absolute;
    width: 700%;
    height: 100%;
    top: 0;
    left: 0;
    object-fit: cover;
}

.hero__image-cont:nth-child(1) img { left: -100%; top: 0; }
.hero__image-cont:nth-child(2) img { left: -200%; top: 0; }
.hero__image-cont:nth-child(3) img { left: -300%; top: 0; }
.hero__image-cont:nth-child(4) img { left: -400%; top: 0; }
.hero__image-cont:nth-child(5) img { left: -500%; top: 0; }
.hero__image-cont:nth-child(6) img { left: -600%; top: 0; }

/* Hero Content Overlay */
.hero__content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 100;
    width: 90%;
    max-width: 800px;
}

.hero__content svg {
    max-width: 500px;
    height: auto;
}

.hero__subtitle {
    font-size: 1rem;
    font-weight: 400;
    color: var(--primary-color);
    letter-spacing: 0.3;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    color: var(--primary-color);
    font-size: 1rem;
    font-weight: 400;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.scroll-indicator:hover {
    opacity: 1;
}

.scroll-indicator::after {
    content: '';
    display: block;
    width: 1px;
    height: 30px;
    background: var(--primary-color);
    margin: 10px auto 0;
    animation: scroll-bounce 2s infinite;
}

@keyframes scroll-bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* Content Section */
.content-section {
    background:var(--primary-color);
    min-height: 100vh;
    padding: 4rem 2rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.content-container {
    max-width: 550px;
    margin: 0 auto;
}



.content-text {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.8;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}


/* Footer */
.footer {
    background: #ffffff;
    padding: 2rem 2rem;
    opacity: 1;
    transition: opacity .5s ease-out;
}

.footer.slide-in {
    /* transform: translateY(0); */
    opacity: 0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
    align-items: end;
}

.footer-content a {
    color: #000000;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 400;
    transition: opacity 0.3s ease;
    position: relative;
}

.footer-content a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.footer-content a:hover::after {
    transform: scaleX(1);
}


.footer-left {
    display: flex;
    gap: 2rem;
}

.footer-center {
    text-align: center;
}

.footer-center svg {
    max-width: 150px;
    height: auto;
}

.footer-right {
    text-align: right;
    font-size: 1rem;
    font-weight: 300;
}

.impressum-link {
    cursor: pointer;
    color: var(--secondary-color);
    transition: opacity 0.3s ease;
    position: relative;
    display:inline;
}

.impressum-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.impressum-link:hover::after {
    transform: scaleX(1);
}


/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 600px;
    height: 100%;
    background: var(--primary-color);
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow-y: auto;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
}

.modal-overlay.active .modal-content {
    transform: translateX(0);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: sticky;
    top: 0;
    background: #ffffff;
    z-index: 10;
}

.modal-header h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #000000;
    margin: 0;
}

/* .modal-close {
    background: none;
    border: none;
    color: #000000;
    font-size: 2rem;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(90deg);
} */

.modal-close {
  position: absolute;
  border:none;
  background: transparent;
  cursor: pointer;
  right: 22px;
  top: 15px;
  width: 32px;
  height: 32px;
  opacity: 1;
}

.modal-close:before, .modal-close:after {
  position: absolute;
  left: 15px;
  content: ' ';
  height: 23px;
  width: 1px;
  background-color: var(--secondary-color);
}
.modal-close:before {
  transform: rotate(45deg);
}
.modal-close:after {
  transform: rotate(-45deg);
}




.modal-body {
    padding: 0 2rem 2rem 2rem;
}

.privacy-section {
    margin-bottom: 3rem;
}

.privacy-section:last-child {
    margin-bottom: 0;
}

.privacy-section h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ff4d00;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.privacy-section h4 {
    font-size: 1.2rem;
    font-weight: 500;
    color: #000000;
    margin: 2rem 0 1rem 0;
}

.privacy-section p {
    font-size: 1rem;
    font-weight: 300;
    color: #000000;
    line-height: 1.7;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.privacy-section p strong {
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    
    .nav {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .hero__inner {
        grid-template-columns: repeat(4, 1fr);
    }

    .hero__image-cont img {
        position: absolute;
        width: 400%;
        height: 100%;
        top: 0;
        left: 0;
        object-fit: cover;
    }

    .hero__image-cont:nth-child(1) img { left: -5%; }
    .hero__image-cont:nth-child(2) img { left: -100%; }
    .hero__image-cont:nth-child(3) img { left: -200%; }
    .hero__image-cont:nth-child(4) img { left: -300%; }
    .hero__image-cont:nth-child(5) { display: none; }
    .hero__image-cont:nth-child(6) { display: none; }

    .content-section {
        padding: 6rem 1.5rem 3rem 1.5rem;
        min-height: auto;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-left {
        justify-content: center;
    }

    .footer-right {
        text-align: center;
    }

    /* Modal responsive styles */
    .modal-content {
        max-width: 100%;
    }

    .modal-header {
        padding: 1.5rem;
    }

    .modal-header h2 {
        font-size: 1.5rem;
    }

    .modal-body {
        padding: 1.5rem;
    }

    .privacy-section h3 {
        font-size: 1.3rem;
    }

    .privacy-section h4 {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .hero__inner {
        grid-template-columns: repeat(3, 1fr);
    }

    .hero__image-cont img {
        position: absolute;
        width: 400%;
        height: 100%;
        top: 0;
        left: 0;
        object-fit: cover;
    }

    .hero__image-cont:nth-child(1) img { left: -100%; }
    .hero__image-cont:nth-child(2) img { left: -200%; }
    .hero__image-cont:nth-child(3) img { left: -300%; }
    .hero__image-cont:nth-child(4) { display: none; }
    .hero__image-cont:nth-child(5) { display: none; }
    .hero__image-cont:nth-child(6) { display: none; }
}
