@font-face {
    font-family: 'exosoftbold';
    src: url(font/exo.bold.otf);
  }
@font-face {
    font-family: 'exosoftregular';
    src: url(font/exo.regular.otf);
  }

*{
    margin: 0;
    padding: 0;
    font-family: 'exosoftregular';


}


.header{
    min-height: 100vh;
    width: 100%;
    background: rgba(200, 140, 70, 0.3);
    position: relative;
    overflow: hidden;
}

@media (max-width: 1285px){
    .header{
        min-height: 100vh;
        width: 100%;
        background-image: linear-gradient(rgba(200, 140, 70, 0.3),rgba(200, 140, 70, 0.3)),url(image/5558web.jpg);
        background-position: center;
        background-size: cover;
        position: relative;
    }
}

#backgroundvideo {
    width: 100%;
    position: absolute;
    z-index: -1;
}


#leistungenvideo {
    width: 100%;
    position: relative;
    z-index: -1;
    border-radius: 10px;
}



/*Navbar*/
nav {
    display: flex;
    padding: 2% 6%;
    justify-content: space-between;
    align-items: center;
}

nav img{
    width: 150px;
}

.nav-links{
    flex: 1;
    text-align: right;
}

.nav-links ul li{
    list-style: none;
    display: inline-block;
    padding: 8px;
    position: relative;
}

.nav-links ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 15px;
}

.nav-links ul li::after{
    content: '';
    width: 0%;
    height: 2px;
    background: #e08d34;
    display: block;
    margin: auto;
    transition: 0.5s;
}

.nav-links ul li:hover::after{
    width: 100%;
}

nav .fa{
    display: none;
}


/*Text im Header*/
.text-box{
    width: 90%;
    color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    text-align: center;
}

.text-box h1{
    font-size: 80px;
}

.text-box p{
    margin: 10px 0 40px;
    font-size: 16px;
    color: #fff;
}


/*Navbar und Text im Header responsive*/
@media (max-width: 700px){
    .text-box h1{
        font-size: 35px;
    }
    .nav-links ul li{
        display: block;
    }
    .nav-links{
        position: fixed;
        background: #e08d34;
        height: 100vh;
        width: 200px;
        top: 0;
        right: 0;
        text-align: left;
        z-index: 2;
        transition: 1s;
    }
    nav .fa{
        display: block;
        color: #fff;
        margin: 10px;
        font-size: 22px;
        cursor: pointer;
    }
    .nav-links ul{
        padding: 30px;
    }
}


/* Navigation verschwindet - Standard: Desktop */
.nav-links {
    flex: 1;
    text-align: right;
    position: static; /* Desktop: normale Position */
    height: auto;
    width: auto;
    background: transparent;
    transition: none; /* keine Animation nötig auf Desktop */
}

/* Navigation verschwindet - Desktop-Links inline anzeigen */
.nav-links ul li {
    display: inline-block;
    padding: 8px;
}

/* Navigation verschwindet - Mobile Ansicht */
@media (max-width: 700px){
    .nav-links {
        position: fixed;
        top: 0;
        right: -200px; /* ausgeblendet */
        width: 200px;
        height: 100vh;
        background: #e08d34;
        text-align: left;
        transition: right 0.3s ease;
        z-index: 2;
    }

    .nav-links.active {
        right: 0; /* sichtbar */
    }

    /* Links in Mobile-Navbar untereinander */
    .nav-links ul li {
        display: block;
        padding: 20px;
    }

    /* Hamburger Icon nur auf Mobile */
    .fa-bars {
        display: block;
    }

    /* X-Button nur auf Mobile */
    .fa-times {
        display: block;
        color: #fff;
        font-size: 22px;
        margin: 10px;
        cursor: pointer;
    }
}

/* Navigation verschwindet - Desktop: Hamburger und X-Button ausblenden */
@media (min-width: 701px){
    .fa-bars, .fa-times {
        display: none;
    }
}




/*Button*/
.hero-btn{
    display: inline-block;
    text-decoration: none;
    color: #fff;
    border: 1px solid #fff;
    padding: 12px 34px;
    font-size: 13px;
    background: transparent;
    position: relative;
    cursor: pointer;
}

.green-btn {
    color: #e08d34;
    border: 1px solid #e08d34;
}

.hero-btn:hover{
    border: 1px solid #e08d34;
    background: #e08d34;
    transition: 1s;
    color: white;
}


/*Breite für alle Seiten*/ /*Über Uns*/
.breite {
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 100px;
    padding-bottom: 100px;
}


h1{
    font-size: 40px;
}

.breite-col {
    flex-basis: 48%;
    box-sizing: border-box;
}

.orange{
    background: #e08d34;
    border-radius: 10px;
    padding: 20px;
    color: white;
}


.breite-col > img {
    height: auto;
    max-width: 100%;
    border-radius: 10px;
}

.mitte {
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}


/* Auflistung Abwicklung Home-Seite */
h2{
    font-size: 36px;
    font-weight: 600;
}

p {
    font-size: 16px;
    font-weight: 300;
    line-height: 22px;
    padding: 10px;
}

.row {
    
    display: flex;
    justify-content: space-between;
}

.row-weitere {
    display: flex;
    justify-content: space-between;
}

h3 {
    text-align: center;
    font-weight: 600;
    margin: 10px 0;
}


@media (max-width: 950px){
    .row{
        flex-direction: column;
    }
}


.abwicklung{
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 100px;
    padding-bottom: 100px;
}

.weitere-col{
    width: 95%;
    border-radius: 10px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}


.weitere-col > img{
    width: 100%;
    display: block;
}



/*oranger Layer über Gebäude*/
.layer {
    background: transparent;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    transition: 0.5s;
    
}

.layer:hover{
    background: rgba(200, 140, 70, 0.3);
}

.layer h3{
    width: 100%;
    font-weight: 500;
    color: #fff;
    font-size: 26px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    position: absolute;
    opacity: 0;
    transition: 0.5s;
}


@media (max-width: 690px){
    .row-weitere{
        flex-direction: column;
        
    }

    .row-weitere > a {
        display: flex;
        justify-content: center;
    }

    .weitere-col{
        width: 60%;
    }

    .weitere-col > img{
        width: 100%;
    }
}

@media (max-width: 1100px){
    .layer h3{
        font-size: 18px;
    }
}

.layer:hover h3{
    bottom: 49%;
    opacity: 1;
}




/*Footer*/
.up{
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 10px;
    padding-bottom: 100px;
}

.footer{
    width: 100%;
    text-align: center;
    padding: 30px 0;
    background-color: rgb(247, 247, 247);
}

.footer h4{
    margin-bottom: 25px;
    margin-top: 20px;
    font-weight: 600;
}

.footerunten a:link{
    text-decoration: none;
    color: black;
}

.footerunten a:visited{
    text-decoration: none;
    color: black;
}

.footerunten{
    padding: 10px;
    text-align: right;
}


/* Footer Icon & Text responsive - Desktop-Standardgröße für Copyright */
.footer p {
    font-size: 14px; /* normale Größe für Desktop */
}

/* Footer Icon & Text responsive - Für Smartphones kleiner 700px */
@media (max-width: 700px) {
    .footer p {
        font-size: 12px; /* kleinerer Text auf Handy */
    }

    .footer .logo {
        width: 120px; /* Logo kleiner auf Handy */
    }
}




/*Header für Unterseiten*/
.sub-header {
    height: 50vh;
    width: 100%;
    background-image: linear-gradient(rgba(200, 140, 70, 0.3),rgba(200, 140, 70, 0.3)),url(image/10.jpg);
    background-position: center;
    background-size: cover;
    text-align: center;
    color: #fff;
}

.sub-header h1{
    margin-top: 70px;
    font-size: 60px;
}

@media (max-width: 700px){
    .sub-header h1{
        font-size: 35px;
    }
    .abwicklung-col h1{
        font-size: 25px;
    }
}



/*Kontaktformular*/

.contact-us {
    width: 80%;
    margin: auto;
    margin-top: 100px;
}

 .contact-wrapper {
    display: flex;
    justify-content: space-between; /* Abstand zwischen Kontaktdaten und Icon */
    align-items: center; /* vertikale Zentrierung */
    flex-wrap: wrap; /* auf kleinen Bildschirmen untereinander */
    gap: 20px; /* optional, etwas Abstand */
}

.contact-col {
    flex: 1 1 60%; /* nimmt bis zu 60% der Breite ein */
}

.contact-icon {
    flex: 1 1 35%; /* nimmt bis zu 35% der Breite ein */
    text-align: center;
}

.contact-icon img {
    max-width: 100%;
    height: auto;
}


.contact-col div {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
}


.contact-col div .fa {
    font-size: 28px;
    color: #e08d34;
    margin: 10px;
    margin-right: 30px;
}


/* Kontaktformular Icon - Leicht kräftigere Shake-Animation */
@keyframes soft-shake-stronger {
  0% { transform: translate(0, 0) rotate(0deg); }
  20% { transform: translate(-3px, 0) rotate(-3deg); }
  40% { transform: translate(3px, 0) rotate(3deg); }
  60% { transform: translate(-3px, 0) rotate(-3deg); }
  80% { transform: translate(3px, 0) rotate(3deg); }
  100% { transform: translate(0, 0) rotate(0deg); }
}

/* Kontaktformular Icon - Shake beim Hover */
.contact-icon img:hover {
    animation: soft-shake-stronger 0.6s;
    animation-iteration-count: infinite;
    display: inline-block;
    cursor: pointer;
}

/* Kontaktformular Icon - Shake beim Klick / Touch */
.contact-icon img:active {
    animation: soft-shake-stronger 0.6s;
    animation-iteration-count: infinite;
}




/* Modal-Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 999;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.9);
}

.modal-content {
  position: relative;
  margin: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 90%;
  max-height: 80vh;
}

.modal-img {
  width: auto;
  max-width: 100%;
  max-height: 80vh;
  border-radius: 10px;
}

.close {
  position: absolute;
  top: 30px;
  right: 40px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  z-index: 1000;
}

.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -50px;
  color: white;
  font-weight: bold;
  font-size: 40px;
  transition: 0.3s;
  user-select: none;
  z-index: 1000;
}

.prev:hover, .next:hover {
  color: #f1c40f;
}

.prev {
  left: 0;
}

.next {
  right: 0;
}

.mySlides {
  display: none;
}


.modal {
  display: none;
  position: fixed;
  z-index: 999;
  padding-top: 50px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.9);
}

.modal-content-wrapper {
  position: relative;
  max-width: 90%;
  margin: auto;
}

.modal-content {
  position: relative;
  text-align: center;
}

.modal-img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 10px;
}

.modal .close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

.modal .close:hover,
.modal .close:focus {
  color: #e08d34;
}

.modal .prev, .modal .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: #fff;
  font-weight: bold;
  font-size: 30px;
  user-select: none;
  transition: 0.3s;
  background-color: rgba(0,0,0,0.5);
  border-radius: 50%;
}

.modal .prev:hover, .modal .next:hover {
  background-color: #e08d34;
}

.modal .prev {
  left: 0;
}

.modal .next {
  right: 0;
}
    
    





/* Text im Header responsive für Smartphones */
@media (max-width: 500px) {
    .text-box h1 {
        font-size: 25px;
    }

    .text-box p {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .hero-btn {
        padding: 10px 20px;
        font-size: 12px;
    }
}


#backgroundvideo {
    width: 100%;
    height: auto; /* Höhe passt sich automatisch an */
    min-height: 100vh; /* optional, für volle Höhe */
    object-fit: cover; /* Video füllt den Container ohne Verzerrung */
}


@media (max-width: 700px) {
    .breite {
        width: 90%;
        padding: 50px 0;
    }

    .row {
        flex-direction: column;
    }

    .breite-col {
        flex-basis: 100%;
        margin-bottom: 20px;
    }

    .orange {
        padding: 15px;
        border-radius: 8px;
    }
}


@media (max-width: 700px) {
    .layer h3 {
        font-size: 16px;
    }
}









    