/*

Vilstein Hersteller Webseite

https://www.avaloid.de


*/

body {
	font-family: 'Open Sans', Helvetica, Arial, sans-serif;
	font-size: 13px;
	font-weight: 400;
	overflow-x: hidden;
}

a, button { transition: all 0.3s ease; }
a:hover,
a:focus {
	text-decoration: none;
	outline: none;
}

.tm-position-relative { position: relative; }
.tm-flex-align-center { align-items: center; }
.tm-fa-6x { font-size: 6em; }
.tm-margin-b-0 { margin-bottom: 0; }
.tm-margin-b-20 { margin-bottom: 20px; }
.tm-p-4 { padding: 2rem!important; }
.tm-color-white { color: white; }
.tm-color-primary {	color: #89CFF0	; }
.tm-bg-primary { background: #89CFF0	; }
.tm-bg-gray { background: #F4F4F4; }
.tm-bg-white { background: transparent; }
.tm-bg-dark-blue { background: #1f3646; }

.tm-bg-white-shadow {
	-webkit-box-shadow: 0px 0px 7px 0px rgba(214,214,214,1);
	-moz-box-shadow: 0px 0px 7px 0px rgba(214,214,214,1);
	box-shadow: 0px 0px 7px 0px rgba(214,214,214,1);
}

.tm-section-pad { padding: 30px 50px; }
.tm-section-pad-2 { padding: 30px 40px; }
.tm-article-pad { padding: 28px; }
.tm-sidebar-pad { padding: 15px 20px; }
.tm-sidebar-pad-2 { padding: 21px 20px; }
.tm-pad { padding: 20px; }

a.tm-color-primary:hover,
a.tm-color-primary:active {
	color: #d53239;
}

.tm-font-light { font-weight: 300; }
.tm-font-normal { font-weight: 400; }
.tm-font-semibold { font-weight: 600; }

p { 
	color: #898989; 
	line-height: 1.9;
}

.navbar { 
	width: 100%; 
	padding-top: 0;
	padding-bottom: 0;
}
.navbar-brand {
	font-size: 1.8rem;
	font-weight: 700;
}
.navbar a { color: black; }

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(238, 80, 87, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
}

.navbar-toggler { 
	border-color: rgb(238, 80, 87); 
	cursor: pointer;
}

.nav-item {
	background: transparent;
	border-left: 1px solid #ccc;
	cursor: pointer;
	font-size: 0.8rem;
	font-weight: 300;
    text-transform: uppercase;
    padding: 0;
    transition: all 0.5s ease;
}

.nav-item:last-child { border-right: 1px solid #ccc; }

.nav-link.active,
.nav-link:hover {
	color: white;
	background: #89CFF0	;	
}

.tm-top-bar .navbar-expand-lg .navbar-nav .nav-link { padding: 50px 35px; }

.tm-top-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 0;
    z-index: 10000;
    transition: all 0.2s ease-in-out;
    height: 70px;
    background: white;
}

.tm-top-bar.active {
	height: 79px;
	box-shadow: 0 1px 5px rgba(0, 0, 0, 0.25);
}

.tm-top-bar.active .navbar-expand-lg .navbar-nav .nav-link { padding: 30px 35px; }
.tm-top-bar-bg { 
    height: 70px;
    margin-bottom: -20px; /* Negativer Margin, um Abstand zu verringern */
}
.tm-section { min-height: 515px; }

.tm-section-pad {
	padding-top: 80px;
	padding-bottom: 80px;
}

#tm-section-1 {	
	background-image: url('../img/vilstein.jpg');	
	height: 500px;
	background-position: top center;
	background-repeat: no-repeat;
	background-size: cover;
    margin-top: -30px; /* Negativer Margin für weniger Abstand */
    padding-top: 10px; /* Etwas Innenabstand für Ausgleich */
}
.qs-datepicker {
	font-family:  'Open Sans', Helvetica, Arial, sans-serif;
	font-size: 0.8rem;
}

.form-control {
	border-radius: 0;
	padding: 0.6rem 0.75rem;
}

.form-control:focus {
	border-color: #89CFF0	;
	box-shadow: 0 0 0 0.2rem rgba(238,80,87,.25);
}

.btn-primary {
	background-color: #89CFF0	;
	border-color: #89CFF0	;
	border-radius: 0;
	cursor: pointer;
	font-size: 0.7rem;
	font-weight: 600;
	padding: 13px 30px;
	text-transform: uppercase;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
	background-color: #d53239;
	border-color: #d53239;
}

.tm-search-form .tm-form-element { padding: 0 5px; }
.tm-form-element { position: relative; }
.tm-form-element:last-child { margin-right: 0; }

.tm-form-element-icon {
	color: #89CFF0	;
	position: absolute;
	top: 10px;
	left: 15px;
}

.tm-form-element-icon-small {
	top: 16px;
	left: 18px;
}

select.tm-select.form-control:not([size]):not([multiple]) { height: 100%; }

select:not([multiple]) {
    -webkit-appearance: none;
    -moz-appearance: none;
    background-position: right 50%;
    background-repeat: no-repeat;
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAMCAYAAABSgIzaAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNSBNYWNpbnRvc2giIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6NDZFNDEwNjlGNzFEMTFFMkJEQ0VDRTM1N0RCMzMyMkIiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6NDZFNDEwNkFGNzFEMTFFMkJEQ0VDRTM1N0RCMzMyMkIiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo0NkU0MTA2N0Y3MUQxMUUyQkRDRUNFMzU3REIzMzIyQiIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo0NkU0MTA2OEY3MUQxMUUyQkRDRUNFMzU3REIzMzIyQiIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PuGsgwQAAAA5SURBVHjaYvz//z8DOYCJgUxAf42MQIzTk0D/M+KzkRGPoQSdykiKJrBGpOhgJFYTWNEIiEeAAAMAzNENEOH+do8AAAAASUVORK5CYII=);
    padding: .5em;
    padding-right: 1.5em
}

/* https://stackoverflow.com/questions/20163079/remove-select-arrow-on-ie */
select.tm-select::-ms-expand { display: none; }

.tm-select {
    border-radius: 0;
    color: #858789;
}

.tm-search-form .form-control {
	font-size: 0.8rem;	
	padding: 0.75rem 0.75rem 0.75rem 45px;
}

.tm-search-form .tm-form-element { width: 33.3333%; }
.tm-search-form .tm-form-element-2 { width: 25%; }
.tm-search-form-row { width: 900px; }
.tm-btn-search { width: 100%; }

/* https://css-tricks.com/creating-non-rectangular-headers/ */
.tm-section-down-arrow {
  position: absolute;
  top: -1px;
  width: 100%;
  height: 100px;
}

.tm-pt-5 { padding-top: 150px; }
.tm-pb-4 { padding-bottom: 100px; }

.tm-section-2 {
	background: #89CFF0	;
	padding-top: 50px;
	position: relative;
}

.tm-section-title {
	color: white;
	font-size: 3rem;
}

.tm-section-title-2 {
	font-size: 3.2rem;
    font-weight: 600;
}

.tm-section-subtitle {
	font-size: 1rem;
	font-weight: 300;
	margin-bottom: 25px;
}

.tm-section-subtitle-2 { font-size: 1.8rem; }

.tm-btn-white-bordered {
	display: inline-block;
	padding: 10px 25px;
	border: 2px solid white;
	background: transparent;
	text-transform: uppercase;
}

.tm-btn-white-bordered:hover,
.tm-btn-white-bordered:focus {
	color: #89CFF0	;
	background: white;	
}

.slick-dots { bottom: -35px; }

.tm-article {
	padding: 40px;
	transition: all 0.3s ease;
}

.tm-article:hover {
	-webkit-box-shadow: 0px 0px 7px 0px rgba(214,214,214,1);
	-moz-box-shadow: 0px 0px 7px 0px rgba(214,214,214,1);
	box-shadow: 0px 0px 7px 0px rgba(214,214,214,1);
	transform: scale(1.1);
}

.tm-article-title-1 {
	font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.tm-article-title-2 { 
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: 1px;
}

.tm-article-title-3 { font-size: 1.1rem; }

.tm-btn-primary {
	display: block;
    width: 100%;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    font-size: 0.75rem;
}

.tm-sidebar-title {
	font-size: 1.3rem;
	margin-bottom: 5px;
}

.tm-sidebar-item-title {
	font-size: 1.2rem;
	letter-spacing: 1px;
	margin-bottom: 0;	
}

.tm-recommended-item .tm-bg-gray { transition: all 0.3s ease; }
.tm-recommended-item:hover .tm-bg-gray { background: #DDD; }

.tm-recommended-item h4 { 
	color: black; 
	transition: all 0.3s ease;
}

.tm-recommended-item:hover h4 { color: #89CFF0	; }
.tm-media { align-items: stretch; }

.tm-media,
.tm-media-1 {
	margin-bottom: 15px;
}

.tm-media:last-child,
.tm-media-1:last-child {
	margin-bottom: 0;
}

.tm-media-body,
.tm-media-body-1 {
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-webkit-align-items: center;
	-ms-flex-align: center;
	        align-items: center;
	padding-left: 25px;
}

.tm-media-body-v-center {
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
            justify-content: center;
    		align-items: flex-start;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 515px;
    z-index: 1;
    background-color: rgba(0,0,0,0.75);
    display: flex;
    align-items: center;
    justify-content: center;
}

.tm-bg-video { 
	position: relative; 
	padding-top: 515px;
}

video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -100;
    transform: translateX(-50%) translateY(-50%);
    background-size: cover;
    transition: 1s opacity;
}

.tm-btn-pause { display:none; }

.tm-btn-play,
.tm-btn-pause {
	color: rgba(255,255,255,0.5);
	cursor: pointer;
}

.tm-media-container { max-width: 772px; }

#google-map {
    height: 479px;
    width: 100%;    
}

.contact-form .form-control {
	background-color: #F4F4F4;
	border: none;
	font-size: 0.8rem;
	font-weight: 300;
}

.clearfix:after {
   content: " "; /* Older browser do not support empty content */
   visibility: hidden;
   display: block;
   height: 0;
   clear: both;
}

@media screen and (max-width: 991px) {
	.tm-top-bar.active, .tm-top-bar, .tm-top-bar-bg { height: 65px; }
	.tm-top-bar.active .navbar-expand-lg .navbar-nav .nav-link,
	.tm-top-bar .navbar-expand-lg .navbar-nav .nav-link {
	    padding: 12px 15px;
	}
	#mainNav {
		width: 180px;
	    position: absolute;
	    top: 60px;
	    right: 15px;

		-webkit-box-shadow: 0px 0px 7px 0px rgba(214,214,214,1);
		-moz-box-shadow: 0px 0px 7px 0px rgba(214,214,214,1);
		box-shadow: 0px 0px 7px 0px rgba(214,214,214,1);
	}

	.tm-search-form .tm-form-element { 
		width: 33%; 
		max-width: 215px;
	}

	.tm-search-form-row { width: 98%; max-width: 900px; }
	.tm-recommended-container { margin-top: 30px; }

	video {
		top: 25%;
		left: 0;
	    min-width: 50%;
	    min-height: 50%;
	    width: auto;
	    height: auto;	 
	}
}

@media screen and (max-width: 767px) {
	.tm-search-form .tm-form-element {
		width: 50%;
		max-width: 235px;
	}

	#tm-section-1 {
		padding-left: 15px;
		padding-right: 15px;
	}

	.tm-media-container,
	.tm-media-title-container {
	    max-width: 320px;
	    margin-right: auto;
	}

	.tm-media-title-container {
		margin-left: auto;
		margin-bottom: 20px;
	}

	.tm-media-1 {
		flex-direction: column;
		max-width: 280px;
		margin-bottom: 30px;
		margin-left: auto;
		margin-right: auto;
	}

	.tm-media-body-1 {
		padding-left: 0;
		margin-left: 0;
		margin-top: 20px;
	}

	.tm-bg-video { padding-top: 255px; }
	.overlay { height: 255px; }
}

@media screen and (max-width: 767px) and (min-width: 524px) {
	.tm-search-form .tm-form-element-100 { 
		width: 100%; 
		max-width: none;
	}

	.tm-search-form .tm-form-element-50 { width: 50%; }
}

@media screen and (max-width: 524px) {
	.tm-section-pad-2 { padding: 20px 25px; }

	.tm-search-form .tm-form-element {
		width: 100%;
		max-width: 100%;
	}

	.tm-fx-col-xs { flex-direction: column; }
	.tm-section-pad { padding: 25px 15px; }
	#tm-section-1 { height: 600px; }
}

/* IE Fixes */
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
     /* IE10+ CSS styles go here */
     .ie-h-align-center-fix {
     	margin-left: 0;
     	margin-right: 0;
     }

     .ie-10-ml-auto { float: right; }
     .tm-media-body, .tm-media-body > * { width: 100%; }
     .tm-media-body-1, .tm-media-body-1 > * { width: 100%; }
     .tm-media-1 > * { flex: 1 1 auto; }
}

@media all and (max-width: 1199px) and (-ms-high-contrast: none), (-ms-high-contrast: active) {
	.ie-container-width-fix { width: 960px; }
}

@media all and (max-width: 600px) {
	.ie-container-width-fix-2 { width: 100%; }
}

@media all and (max-width: 560px)  and (-ms-high-contrast: none), (-ms-high-contrast: active) {
	.ie-container-width-fix {
		max-width: 530px;
		width: 100%;
	}	
}
img.logo {
    height: 90px;
}

/* Elegante Suchleiste für Vilstein - Rechtsbündig ohne Blur */
.search-container-right {
    display: flex;
    justify-content: flex-end;
    width: 100%;
    padding: 30px 0;
    position: absolute; /* Absolute Positionierung hinzufügen */
    right: 0; /* Am rechten Rand ausrichten */
    top: 200px; /* Vertikale Position - passen Sie diesen Wert nach Bedarf an */
    width: auto; /* Breite auf auto statt 100% setzen */
}
#vilstein-search-form {
    width: 450px; /* Etwas schmaler für mehr Abstand */
    max-width: 100%;
    margin-right: 350px; /* Deutlich mehr Abstand zum rechten Rand */
}

.search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: white;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(137, 207, 240, 0.15);
    border: 1px solid rgba(137, 207, 240, 0.3);
    transition: all 0.3s ease;
}

.search-wrapper:hover, 
.search-wrapper:focus-within {
    box-shadow: 0 8px 25px rgba(137, 207, 240, 0.25);
    transform: translateY(-2px);
    border-color: #89CFF0;
}

#vilstein-search-form #search {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    padding: 18px 25px;
    font-size: 16px;
    color: #333;
    width: 100%;
}

#vilstein-search-form #search::placeholder {
    color: #999;
    font-weight: 300;
}

#vilstein-search-form button {
    background: linear-gradient(135deg, #89CFF0, #3DB9DC);
    border: none;
    color: white;
    padding: 18px 30px;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.3s ease;
}

#vilstein-search-form button:hover {
    background: linear-gradient(135deg, #3DB9DC, #1E90FF);
}

/* WICHTIG: Entferne alle blur-filter */
#tm-section-1::before {
    display: none; /* Entfernt den verschwommenen Hintergrund-Effekt komplett */
}

.divider-container {
    margin-top: -10px; /* Zieht den Trennstrich nach oben */
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    .search-container-right {
        justify-content: center;
        padding: 20px 15px;
    }
    
    #vilstein-search-form {
        width: 100%;
        margin-right: 0;
    }
    
    #vilstein-search-form #search {
        padding: 14px 20px;
        font-size: 14px;
    }
    
    #vilstein-search-form button {
        padding: 14px 20px;
    }
    
    .tm-top-bar-bg {
        margin-bottom: -10px; /* Weniger negativer Margin auf mobilen Geräten */
    }
    
    #tm-section-1 {
        margin-top: -15px; /* Geringere Anpassung auf mobilen Geräten */
    }
}

@media (max-width: 480px) {
    #vilstein-search-form {
        margin-right: 10px; /* Noch weniger Abstand auf sehr kleinen Geräten */
    }
}

/* Vilstein Symmetrische Navigation - Optimiert */

/* Grundlegende Container-Styles */
.tm-top-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background: white;
    padding: 0;
    z-index: 1000;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.tm-top-bar-bg {
    height: 70px;
}

/* Logo */
.navbar-brand {
    display: flex;
    align-items: center;
    padding: 0;
}

.navbar-brand img.logo {
    height: 45px;
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Hauptnavigation */
.vilstein-nav {
    display: flex;
    width: 100%;
}

.vilstein-nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0 15px;
}

/* Hauptmenü */
.vilstein-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    height: 70px;
}

.vilstein-menu-item {
    position: relative;
    margin: 0;
    padding: 0;
    height: 100%;
    display: flex;
    align-items: center;
}

.vilstein-menu-link {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 15px;
    color: #333;
    font-size: 13px;
    text-decoration: none;
    border-bottom: 3px solid transparent;
    transition: all 0.2s ease;
}

/* Aktiver Menüpunkt und Hover */
.vilstein-menu-link:hover,
.vilstein-menu-link.active {
    color: #89CFF0;
    border-bottom: 3px solid #89CFF0;
}

/* Dropdown-Container - KORRIGIERT */
.dropdown-menu {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: white;
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
    padding: 0;
    display: none;
    z-index: 1001;
}

.vilstein-menu-item:hover .dropdown-menu {
    display: block;
}

/* Mega-Menu Container */
.mega-menu-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
}

/* Fortsetzung der vollständigen CSS für Vilstein */

/* Kategorie-Bereich links */
.mega-menu-categories {
    width: 25%;
    background-color: #f8f8f8;
    padding: 20px 0;
}

.mega-menu-categories ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-item {
    display: block;
    padding: 12px 25px;
    color: #333;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 14px;
    border-left: 4px solid transparent;
}

.category-item:hover,
.category-item.active {
    background-color: #eaeaea;
    color: #89CFF0;
    border-left: 4px solid #89CFF0;
}

/* Produktbereich rechts */
.mega-menu-products {
    width: 75%;
    padding: 30px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 30px;
}

/* Produktkarten */
.product-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    padding: 15px;
    transition: all 0.3s ease;
    border-radius: 8px;
}

.product-card:hover {
    background-color: #f5f5f5;
    transform: translateY(-5px);
}

/* Begrenzung der Produktbildgröße in der Navigation */
.product-img-container {
    position: relative;
    width: 100%;
    height: 180px; /* Feste Höhe für einheitliche Darstellung */
    margin-bottom: 15px;
    overflow: hidden;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; /* Behält das Seitenverhältnis bei */
    display: block;
    transition: transform 0.3s ease;
}

/* Optional: Anpassung für kleinere Bildschirme */
@media (max-width: 1200px) {
    .product-img-container {
        height: 150px;
    }
}

@media (max-width: 991px) {
    .product-img-container {
        height: 130px;
    }
}

.product-card:hover .product-img {
    transform: scale(1.05);
}

.new-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #89CFF0;
    color: white;
    font-size: 12px;
    font-weight: 500;
    padding: 2px 8px;
    border-radius: 3px;
}

.product-title {
    color: #333;
    font-size: 14px;
    text-align: center;
    margin: 5px 0;
    font-weight: 500;
}

/* Footer im Mega-Menu */
.mega-menu-footer {
    display: flex;
    justify-content: flex-end;
    gap: 30px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.mega-menu-footer a:hover {
    color: #89CFF0;
}

.mega-menu-footer a::after {
    content: '›';
    position: absolute;
    right: 0;
    font-size: 20px;
    transition: transform 0.2s ease;
}

.mega-menu-footer a:hover::after {
    transform: translateX(5px);
}

/* Mobile Navigation */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    padding: 10px;
    cursor: pointer;
}

.navbar-toggler-icon {
    display: block;
    width: 25px;
    height: 2px;
    background: #333;
    position: relative;
    transition: background 0.2s ease;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: #333;
    left: 0;
    transition: all 0.2s ease;
}

.navbar-toggler-icon::before {
    top: -8px;
}

.navbar-toggler-icon::after {
    top: 8px;
}

.menu-open .navbar-toggler-icon {
    background: transparent;
}

.menu-open .navbar-toggler-icon::before {
    transform: rotate(45deg);
    top: 0;
}

.menu-open .navbar-toggler-icon::after {
    transform: rotate(-45deg);
    top: 0;
}

/* Kompakter Header beim Scrollen */
.tm-top-bar.compact {
    height: 50px;
}

.tm-top-bar.compact .vilstein-menu {
    height: 50px;
}

.tm-top-bar.compact .navbar-brand img.logo {
    height: 35px;
}

.tm-top-bar.compact .dropdown-menu {
    top: 50px;
}

/* Responsive Anpassungen */
@media (max-width: 991px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .vilstein-menu {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        height: auto;
        display: none;
        box-shadow: 0 6px 12px rgba(0,0,0,0.1);
    }
    
    .vilstein-menu.menu-open {
        display: block;
    }
    
    .vilstein-menu-item {
        height: auto;
    }
    
    .vilstein-menu-link {
        padding: 15px;
        height: auto;
        border-bottom: 1px solid #eee;
    }
    
    .dropdown-menu {
        position: static;
        box-shadow: none;
        width: 100%;
    }
    
    .mega-menu-container {
        flex-direction: column;
    }
    
    .mega-menu-categories,
    .mega-menu-products {
        width: 100%;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .mega-menu-footer {
        flex-direction: column;
        gap: 15px;
    }
    
    .tm-top-bar.compact .vilstein-menu {
        top: 50px;
    }
}
@media (max-width: 767px) {
    .products-grid {
        grid-template-columns: 1fr !important;
    }
}


/* Suchergebnisse Styling */
.search-results-container {
    margin-top: 30px;
    margin-bottom: 30px;
}

.search-result-item {
    padding: 20px 0;
}

.search-result-item:first-child {
    padding-top: 0;
}

.search-result-item img {
    border-radius: 8px;
    transition: all 0.3s ease;
}

.search-result-item img:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.search-result-item h3.tm-article-title-3 {
    margin-top: 0;
    margin-bottom: 15px;
}

.search-result-item h3.tm-article-title-3 a {
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
}

.search-result-item h3.tm-article-title-3 a:hover {
    color: #89CFF0;
}

.search-result-item .excerpt {
    margin-bottom: 15px;
    color: #666;
}

.search-result-item .post-meta {
    margin-bottom: 15px;
    font-size: 0.85rem;
    color: #888;
}

.search-result-item .category a {
    color: #89CFF0;
    text-decoration: none;
}

.search-result-item hr {
    margin: 20px 0;
    border-color: #eee;
}

.no-results {
    text-align: center;
    padding: 40px;
}

.no-results h3 {
    margin-bottom: 20px;
    color: #333;
}

.no-results p {
    margin-bottom: 30px;
    color: #666;
}

/* Pagination Styling */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.pagination .page-numbers {
    display: inline-block;
    padding: 8px 12px;
    margin: 0 5px;
    border-radius: 4px;
    background: #f5f5f5;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
}

.pagination .page-numbers.current {
    background: #89CFF0;
    color: white;
}

.pagination .page-numbers:hover:not(.current) {
    background: #e0e0e0;
}

/* Styles für einzelne Blogbeiträge */
.tm-article-content {
    margin-bottom: 30px;
}

.entry-header {
    margin-bottom: 25px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.entry-header h1 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: #333;
}

.post-meta {
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 15px;
}

.post-meta span {
    margin-right: 15px;
}

.post-meta i {
    margin-right: 5px;
    color: #89CFF0;
}

.post-featured-image {
    margin-bottom: 25px;
    border-radius: 8px;
    overflow: hidden;
}

.post-featured-image img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.post-featured-image:hover img {
    transform: scale(1.02);
}

.entry-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 30px;
}

.entry-content p {
    margin-bottom: 20px;
}

.entry-content h2, 
.entry-content h3, 
.entry-content h4 {
    margin-top: 30px;
    margin-bottom: 15px;
    color: #333;
}

.entry-content ul, 
.entry-content ol {
    margin-bottom: 20px;
    padding-left: 20px;
}

.entry-content ul li, 
.entry-content ol li {
    margin-bottom: 10px;
}

.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    margin: 20px 0;
}

.entry-content blockquote {
    border-left: 4px solid #89CFF0;
    padding: 15px 20px;
    margin: 20px 0;
    background: #f9f9f9;
    font-style: italic;
    color: #555;
}

.entry-footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.post-tags {
    margin-bottom: 20px;
    color: #777;
}

.post-tags a {
    display: inline-block;
    margin-right: 5px;
    color: #555;
    text-decoration: none;
    transition: color 0.2s ease;
}

.post-tags a:hover {
    color: #89CFF0;
}

.post-navigation {
    display: flex;
    justify-content: space-between;
    padding-top: 20px;
}

.previous-post, .next-post {
    max-width: 48%;
}

.previous-post a, .next-post a {
    color: #555;
    text-decoration: none;
    transition: color 0.2s ease;
}

.previous-post a:hover, .next-post a:hover {
    color: #89CFF0;
}

.comments-section {
    margin-top: 40px;
}

.comments-section h3 {
    margin-bottom: 20px;
    font-size: 1.5rem;
    color: #333;
}

.categories-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.categories-list li {
    border-bottom: 1px solid #eee;
    padding: 8px 0;
}

.categories-list li:last-child {
    border-bottom: none;
}

.categories-list li a {
    color: #555;
    text-decoration: none;
    transition: color 0.2s ease;
    display: block;
}

.categories-list li a:hover {
    color: #89CFF0;
}

.tm-media {
    margin-bottom: 15px;
}

@media (max-width: 767px) {
    .entry-header h1 {
        font-size: 1.8rem;
    }
    
    .post-navigation {
        flex-direction: column;
    }
    
    .previous-post, .next-post {
        max-width: 100%;
        margin-bottom: 10px;
    }
    
    .tm-recommended-container {
        margin-top: 30px;
    }
}
/* WhatsApp Button Style */
.whatsapp-button {
    position: fixed;
    right: 20px;
    bottom: 20px;
    background-color: #25D366;
    color: white;
    border-radius: 50px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0px 4px 8px rgba(0,0,0,0.15);
    z-index: 999;
}
.whatsapp-button i {
    font-size: 35px;
}
/* Feste Größe für Blog-Banner auf der Startseite */
.blog-banner-container {
    width: 720px;
    height: 200px;
    overflow: hidden;
    margin: 0 auto;
    margin-bottom: 25px;
}

.blog-banner-img {
    width: 720px;
    height: 200px;
    object-fit: cover;
    display: block;
}
/* Korrektur für doppelte Bilder in Kategoriekarten */
.tm-media.tm-recommended-item {
    background-image: none !important;
}

/* Zusätzlich sicherstellen, dass keine versteckten Hintergrundbilder angezeigt werden */
.tm-recommended-item .media-body {
    background-image: none !important;
}
/* Neuigkeiten-Bereich im gleichen Stil wie Suchleiste */
.tm-bg-primary.tm-sidebar-pad {
    background: linear-gradient(135deg, #89CFF0, #3DB9DC);
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    padding: 20px 25px;
    box-shadow: 0 3px 10px rgba(137, 207, 240, 0.15);
    border: none;
    transition: all 0.3s ease;
}

.tm-bg-primary.tm-sidebar-pad:hover {
    box-shadow: 0 5px 15px rgba(137, 207, 240, 0.25);
}

.tm-sidebar-title {
    margin-bottom: 8px;
    font-size: 1.5rem;
    font-weight: 600;
}

.tm-sidebar-pad-2 {
    background: white;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    box-shadow: 0 5px 15px rgba(137, 207, 240, 0.1);
    padding: 25px;
}

/* Kategorien im Neuigkeiten-Bereich */
.tm-media.tm-recommended-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.tm-media.tm-recommended-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.tm-media.tm-recommended-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
}

.tm-media-body.tm-media-body.tm-bg-gray {
    background: #f8f8f8;
    transition: all 0.3s ease;
    padding: 15px 20px;
}

.tm-media.tm-recommended-item:hover .tm-media-body.tm-bg-gray {
    background: #edf7fc;
}

.tm-sidebar-item-title {
    font-size: 1rem;
    margin: 0;
    transition: all 0.3s ease;
}
/* Fix für Blog-Beiträge vertikal stapeln */
.blog-posts-container {
    display: flex;
    flex-direction: column !important; /* Erzwingt vertikale Anordnung */
    gap: 30px; /* optional: Abstand zwischen Beiträgen */
}

.blog-post {
    width: 100% !important; /* Beiträge nehmen volle Breite ein */
}
/* Banner-Header Styling */
.vilstein-banner-header {
    position: relative;
    width: 100%;
    height: 300px; /* Höhe des Banners anpassen */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    margin-bottom: 30px;
}

/* Dunkle Überlagerung für bessere Lesbarkeit */
.vilstein-banner-header:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* Schwarze Überlagerung mit 40% Opazität */
    z-index: 1;
}

/* Banner-Inhalt */
.vilstein-banner-header .banner-content {
    position: relative;
    z-index: 2; /* Über der Überlagerung */
    padding: 20px;
    max-width: 800px;
}

.vilstein-banner-header h1 {
    font-size: 36px;
    margin-bottom: 10px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

.vilstein-banner-header p {
    font-size: 18px;
    margin-top: 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}