@charset "utf-8";
/* CSS Document */

html {
    scroll-behavior:smooth;
}
body {
    font-family: Arial, sans-serif;
    color: #fff;
    background-color: #151825;
    margin: 0;
    padding: 0;
    line-height: 2.4rem;
}
h1 {
    padding-top: 3rem;
    padding-bottom:1rem;
    font-size: 3rem;
    color: #fff;
}


#leistungen {
    padding-top: 160px;
    scroll-margin-top: 0px;
}
/* HEADER */
.main-header{
    position:sticky;
    top:0;
    background:#333;
    height:100px;
    z-index:999;
}


/* NAVBAR */
.navbar{
    height:100px;
}

/* LOGO */
.logo-wrap{
    position:relative;
    z-index: 1000;
}

.logo-wrap img{
    height:150px;
    position:absolute;
    top:-62px;
}

/* LOGO ragt unten über Menü */
.logo-wrap img{
    transform:translateY(35px);
}

/* Sticky Menu */
.sticky-top {
    background-color: #f1f1f1;
    z-index: 1020;
    box-shadow: 0 2px 15px rgba(0,0,0,0.3);
}

.navbar-nav .nav-item .nav-link {
    color: #333;
    background-color: #f1f1f1;
    font-weight: 500;
    text-align: center;
}

.navbar-nav .nav-item .nav-link:hover {
    color: red;
    text-decoration: underline;
}

/* Dropdown */
.dropdown-menu {
    background-color: #f1f1f1;
    /*text-align: center;*/
}
.dropdown-menu .dropdown-item {
    background-color: #F1F1F1;
    color: #333333;
}
.dropdown-menu .dropdown-item:hover {
    background-color: #ff0000;
    color: #fff;
}

/* Hero */
.hero {
    position: relative;
    width: 100%;
    height: 600px;
    background: url('../img/hero.jpg') center center/cover no-repeat; /* Video alternativ über <video> */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
}

/* Hero Text */
.hero-text {
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
}
.hero h1 {
    font-size: 3rem;
}
.hero p {
    font-size: 1.5rem;
}
/* Pulsierendes Dreieck */
.hero-arrow {
    position: absolute;
    bottom: 20px;
    left: 45%;
    transform: translateX(-50%);
    border-left: 37.5px solid transparent; /* Hälfte der Breite */
    border-right: 37.5px solid transparent;
    border-top: 50px solid #fff; /* Farbe Dreieck */
    animation: bounce 2s ease-in-out infinite;
    transition:all .35s ease;
 /*animation:arrowMove 2.5s infinite;*/
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}
/*Bewegen mit Schatten*/
.hover-img {
    width: 100%;
    transition: all 0.3s ease;
    cursor: pointer;
}

.hover-img:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}
/*End Bewegen mit Schatten*/


/* Footer */
 footer {
    background-color: #f1f1f1;
    padding: 40px 0;
    color: #333;
    line-height: 1.5rem;
    -webkit-box-shadow: 0px 0;
    box-shadow: 0px 0;
    border-top: thick outset #B4B4B4;
}

footer .footer-col {
    margin-bottom: 20px;
    padding-left: 7%;
}
footer .footer-col h5 {
    font-weight: bold;
    margin-bottom: 15px;
}
footer .footer-col p {
    margin: 0 0 5px;
}
/*Hover-Effekt*/
.image-container {
    width: 1200px; /* gewünschte Breite */
    margin: 50px auto;
    overflow: hidden; /* verhindert, dass Bild beim Skalieren überläuft */
    border-radius: 15px; 
  }

.image-container .img {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    display: block;
    border-radius: 15px;
  }
.image-container .img:hover {
    transform: scale(1.05); /* leichte Vergrößerung */
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4); /* weicher Schatten */
  }

/*.rund {
    border-radius: 15px;
}*/
  .image-container:hover {
    width: 100%;
    height: auto;
  }

/* Optional: responsiv */
@media (max-width: 767px) {
.image-container {
    width: 90%;    
}
#hero {
    display:none;
}
.hero h1 {
    font-size: 1.2rem;
}
.hero p {
    font-size: 1.2rem;
}
footer .footer-col {
    margin-bottom: 25px;
    padding-left: 18%;
}    
}

.centerimg {
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.ecken {
    border-radius: 15px;
}
.rembot {
    margin-bottom: 1rem;
}
