body {
    margin: 0;
    padding: 0;
    font-family: "Arial", sans-serif;
    color: #111;
    background: #fff;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    z-index: 1000;
}

.now {

    letter-spacing: 5px;
    font-style: italic;
}

nav a {
    color: black;
    background-color: transparent;
    text-decoration: none;
    font-size: 20px;
    letter-spacing: inherit;
    flex: 1 1 20%;
    min-width: 0;
    text-align: center;
    margin-top: 10px;
    margin-left: 10%;
    margin-right: 10%;
    padding: 0;
    height: 100%;
    flex-direction: column;
}


nav a:hover {
    color: #ff3319;

}


.kontakt {
    color: black;
    background-color: transparent;
    padding: 1px;

}


.kontakt:hover {
    background-color: white;
    color: black;
}


.model-section {
    width: 100%;


    position: fixed;
}

.model-content {
    max-width: 100%;
    max-height: 100%;

}

.model-section h2 {
    margin: 0 0 12px;
    font-size: clamp(26px, 4vw, 42px);
    font-weight: 500;
}

.model-section p {
    margin: 0 0 28px;
    line-height: 1.6;
}


.model-frame {
    width: 100%;
    height: 1500px;
    overflow: hidden;
}

model-viewer {
    display: block;
    width: 100%;
    height: 100%;
    background-color: transparent;

    /* Maus und Touch für 3D-Steuerung */
    touch-action: pan-y;
    --poster-color: transparent;
}

/* Mobile Darstellung */
@media (max-width: 768px) {
    .model-section {
        padding: 35px 20px;
        background: white;
    }

    .model-frame {
        height: 400px;
    }
}

.hero {
    height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
    background:
}

.hero h1 {
    font-size: 3rem;
    margin: 0;
    font-weight: bold;
}


.lara4ahmnm {
    font-size: 2000%;
    margin: 0%;
    width: fit-content;
}

.lara4ahmnm:hover {

    font-family: "butik-display-normal", sans-serif;
    font-weight: 100;
    font-style: thin;
}

.filmstartseite {
    margin-top: 20%;
    height: auto;
    position: center;
}

.section {
    padding: 100px 20px;

    text-align: left;
}

.section.about {

    padding-bottom: 7%;
    width: fit-content;
    text-align: right;
    margin-left: auto;
    border-bottom-width: 1px;
    border-bottom-color: black;
    border-bottom-style: solid;
}

.container-start {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.abouttext {

    font-family: "parabolica", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.abouttext:hover {

    font-family: "parabolica", sans-serif;
    font-weight: 400;
    font-style: italic;
}

.section.contact {
    display: inline-block;
    margin-left: 2.5%;
}

.section.work {

    margin-top: 2.5%;
}

.work.slider {
    display: flex;
    justify-content: center;
    s overflow: hidden;
}

.slide {
    min-width: 250px;
    background: #f4f4f4;
    padding-top: 20px;
    padding-bottom: 20px;
    padding-left: 5px;
    display: inline-block;
    font-size: 1.2rem;
    opacity: 0.4;
    transition: opacity 0.3s ease;
}

.slide:hover {
    opacity: 1;
}

button {
    margin: 20px 10px;
    padding: 8px 12px;
    background: #111;
    color: #fff;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    text-align: center;
}

.hero-image {
    width: 100%;
    height: 70%;
    display: block;
    margin: 0 auto 20px auto;
}



#video-hintergrund {
    position: fixed;
    right: 0;
    bottom: 0;
    min-width: 70%;
    min-height: 70%;
    z-index: -100;
    /* Legt das Video in den Hintergrund */
    object-fit: cover;
    /* Verhindert Verzerrung */
}

/* Optional: Inhalt auf dem Video positionieren */
.inhalt {
    position: absolute;
    z-index: 1;
    color: white;
    text-align: center;
}

.footer {
    width: 100%;
    box-sizing: border-box;


    background: transparent;
    color: black;
    font-family: inherit;
    font-size: inherit;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 20px 4%;
    gap: 20px;
}

footer {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 50px;
}


.projektbilder-klein {

    display: inline-block;
    width: 320px;
    height: 180px;
    object-fit: cover;
    margin-bottom: 15px;
    break-inside: avoid;
    width: 100%;
    height: auto;
}



.raster {
    column-count: 2;
}




h2 {

    font-family: "butik-display-normal", sans-serif;
    font-weight: 700;
    font-style: normal;
}

.slider {
    display: flex;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
}

.slider img {
    width: 50%;
    scroll-snap-align: center;
    flex-shrink: 0;
    object-fit: fill;
}


@media screen and (max-width: 768px) {

  /* Alte Navigation ausblenden */
  header nav:not(.mobile-menu),
  .desktop-nav {
    display: none !important;
  }

  /* Burger-Button */
  button.burger {
    display: block !important;
    position: fixed;
    top: 55px;
    right: 20px;
    width: 44px;
    height: 44px;
    padding: 7px;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    z-index: 1002;
    cursor: pointer;
  }

  /* Drei sichtbare Striche */
  button.burger span {
    display: block !important;
    width: 30px;
    height: 3px;
    margin: 6px auto;
    background: black !important;
    border-radius: 2px;
  }

  /* Menü vollständig verstecken */
  nav.mobile-menu {
    display: flex;
    position: fixed;
    inset: 0;
    z-index: 1001;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 24px;
    padding: 35px;
    background: #f5f3ee;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(100%);
    transition: transform 0.35s ease, opacity 0.35s ease;
  }

  nav.mobile-menu.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(0);
  }

  nav.mobile-menu a {
    color: #222;
    font-size: 32px;
    text-decoration: none;
  }
}