/* Seitenbezogene Styles für about.html (vorher <style>-Block in der Seite). */

/* Echo Effect - Hovicon */
.hovicon {
    display: inline-block;
    cursor: pointer;
    margin: 20px auto;
    text-align: center;
    position: relative;
    text-decoration: none;
    z-index: 1;
}

.hovicon.auto-width {
    width: auto;
    height: auto;
}

.hovicon:after {
    pointer-events: none;
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    content: '';
    box-sizing: content-box;
    top: 0;
    left: 0;
    padding: 0;
    z-index: -1;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.1);
    opacity: 0;
    transform: scale(0.9);
}

.hovicon.effect-8 {
    background: rgba(255, 255, 255, 0.1);
    transition: transform ease-out 0.1s, background 0.2s;
    border-radius: 50%;
    padding: 15px;
}

.hovicon.effect-8:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: scale(0.93);
}

.hovicon.effect-8:hover:after {
    animation: sonarEffect 1.3s ease-out 75ms;
}

@keyframes sonarEffect {
    0% {
        opacity: 0.3;
    }
    40% {
        opacity: 0.5;
        box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.1),
                   0 0 10px 10px #667eea,
                   0 0 0 10px rgba(255, 255, 255, 0.5);
    }
    100% {
        box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.1),
                   0 0 10px 10px #667eea,
                   0 0 0 10px rgba(255, 255, 255, 0.5);
        transform: scale(1.5);
        opacity: 0;
    }
}

/* Carousel */
#heroCarousel .carousel-item {
    height: 55vh;
    min-height: 350px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

#heroCarousel .carousel-item .image-wrapper {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 100%;
    z-index: 0;
    background-color: #000; /* falls doch ein Spalt entsteht: dunkel statt weiß */
}

#heroCarousel .carousel-item img {
    height: 100%;
    width: auto;
    object-fit: cover;
    flex-shrink: 0;
}

/* Bilder 1 px überlappen lassen: verhindert helle Streifen an den Nahtstellen durch Bruchteil-Pixel */
#heroCarousel .carousel-item img + img {
    margin-left: -1px;
}

#heroCarousel .carousel-item img:nth-child(1) {
    margin-left: -50%;
}

#heroCarousel .carousel-item img:nth-child(2) {
    transform: scaleX(-1);
}

#heroCarousel .carousel-item img:nth-child(3) {
    transform: scaleX(1);
}

#heroCarousel .carousel-item img:nth-child(4) {
    transform: scaleX(-1);
}

#heroCarousel .carousel-item img:nth-child(5) {
    transform: scaleX(1);
}

#heroCarousel .carousel-item img:nth-child(6) {
    margin-right: -50%;
    transform: scaleX(-1);
}

#heroCarousel .carousel-caption {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    max-width: 90%;
    width: 100%;
}

/* Three columns - Main gradient */
.marketing-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 80px 0;
    color: white;
}

.marketing-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
}

.marketing-column h2 {
    margin-top: 20px;
    margin-bottom: 20px;
    text-align: center;
    font-size: 1.75rem;
}

.marketing-column .card {
    width: 100%;
    border: none;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    background: white;
    color: #333;
}

.marketing-column .card-body {
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Color gradations for sections */
.section-gradient-1 {
    background: linear-gradient(135deg, #a8b5ea 0%, #9b8bc2 100%);
}

.section-gradient-2 {
    background: linear-gradient(135deg, #d4dbf5 0%, #c4b8d8 100%);
}

.section-gradient-3 {
    background: linear-gradient(135deg, #e8ecfa 0%, #e0d8ea 100%);
}

/* Video styling */
.video-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.video-container video {
    width: 100%;
    height: auto;
    display: block;
}

/* Galerie-Vorschaubild: leicht vergrößern beim Darüberfahren (vorher Inline-JavaScript) */
.hover-zoom {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.hover-zoom:hover,
a:focus-visible > .hover-zoom {
    transform: scale(1.05);
}
