/* TSV Motor Gispersleben — Theme Colors & Fonts */
/* Migrated from Nitsan CleanBlog settings → static CSS */

@import url(https://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800);
@import url(https://fonts.googleapis.com/css?family=Lora:400,700,400italic,700italic);

body {
    font-family: lora, Georgia, "Times New Roman", serif;
    color: #7c7c7c;
    background-color: #f1f1f1;
}

h1, h2, h3, h4, h5, h6 {
    font-family: lora, Georgia, "Times New Roman", serif;
    color: #7c7c7c;
}

a, .go-top, .download-links li a {
    color: #7C7C7C;
}

.logo:hover span,
.logo:focus span {
    color: #7C7C7C;
}

p a,
.logo span,
.logo:hover,
.logo:focus,
a.search-trigger:hover,
.card-header a:hover,
.card-header a:focus,
.search-active .search-trigger,
h1.color-heading, h2.color-heading, h3.color-heading, h4.color-heading, h5.color-heading, h6.color-heading,
p.color-text,
.pagination .page-item .page-link,
.tx-indexedsearch-browsebox li a {
    color: #2da4e9;
}

a:hover, a:focus,
em:hover, i:hover,
em:focus, i:focus,
.go-top:hover,
.download-links li a:hover,
.download-links li a:focus,
.thumb a:hover h5,
.navigation li.active > a, .navigation li:hover > a,
.sidebar ul li a:hover,
.sitemap-lists li a:hover,
.sitemap-lists li a:focus,
.sitemap-lists li a:active,
.btn.btn-transparent:focus, .btn.btn-transparent:hover,
.content-section .contact-detail ul li a:hover {
    color: #2da4e9;
}

p a:hover,
p a:focus {
    color: #137bb7;
}

.download-links li a:hover i {
    color: #2da4e9;
}

input:active, input:focus, select:active, select:focus, textarea:active, textarea:focus,
body .cc_container .cc_btn {
    border-color: #2da4e9;
}

.carousel-indicators li.active,
.testimonials .carousel-indicators li.active,
.menu-trigger .bars,
body .cc_container .cc_btn {
    background-color: #2da4e9;
}

.btn.btn-primary {
    background-color: #2DA4E9;
}

.btn.btn-primary:focus, .btn.btn-primary:hover,
body .cc_container .cc_btn:hover {
    background-color: #137bb7;
    border-color: #2da4e9;
}

.btn-primary:not([disabled]):not(.disabled).active,
.btn-primary:not([disabled]):not(.disabled):active,
.show > .btn-primary.dropdown-toggle {
    background-color: #137bb7;
}

.footer-page {
    background-color: #00132D;
}

.footer-page h2,
.footer-page h3,
.footer-page h4 {
    color: #2da4e9;
}

/* =============================================
   Video Player
   ============================================= */

.video-player {
    position: relative;
    overflow: hidden;
    margin-bottom: 1rem;
}

.video-player__poster {
    position: relative;
    cursor: pointer;
    display: block;
}

.video-player__poster-img {
    width: 100%;
    display: block;
}

.video-player__poster-placeholder {
    width: 100%;
    padding-bottom: 56.25%;
    background: linear-gradient(135deg, #1a472a 0%, #2d6b42 100%);
}

.video-player__play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    border: none;
    background: none;
    padding: 0;
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease;
    z-index: 2;
}

.video-player__play-btn:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

.video-player__play-btn svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
}

.video-player__container {
    position: relative;
    width: 100%;
}

.video-player__container video,
.video-player__container iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    border: none;
    display: block;
}

/* Hover-Preview: stummes Video hinter dem Poster, 500ms Überblendung */
.video-player__preview {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: 0;
}

.video-player__poster:hover .video-player__preview {
    opacity: 1;
}

.video-player__poster:hover .video-player__poster-img {
    opacity: 0;
}

.video-player__poster-img {
    position: relative;
    z-index: 1;
    transition: opacity 0.5s ease;
}

@media (max-width: 576px) {
    .video-player__play-btn {
        width: 56px;
        height: 56px;
    }
}

/* =============================================
   Video Modal
   ============================================= */

.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-modal__close {
    position: absolute;
    top: 16px;
    right: 24px;
    background: none;
    border: none;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
    line-height: 1;
    z-index: 1;
}

.video-modal__close:hover {
    color: #ff0000;
}

.video-modal__wrap {
    position: relative;
    width: 90%;
    max-width: 1100px;
    aspect-ratio: 16 / 9;
}

.video-modal__wrap video,
.video-modal__wrap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Images */
img {
    max-width: 100%;
    height: auto;
}

/* Responsive media */
.ce-media video,
.ce-media iframe,
.ce-textpic video,
.ce-textpic iframe,
.ce-gallery video,
.ce-gallery iframe {
    max-width: 100%;
    height: auto;
}

.ce-media iframe,
.ce-textpic iframe,
.ce-gallery iframe {
    aspect-ratio: 16 / 9;
    border: 0;
}
