/* Global CSS Variables */
:root {
    --primary-color: #70a1a6;
    --secondary-color: #54c9a3;
    --tertiary-color: #473d40;
    --quaternary-color: #000;
}

/* Animations */
@keyframes fadeanddropIn {
    0% {
        transform: translateY(-20px);
        opacity: 0;
    }
    100% {
        transform: translateY(0px);
        opacity: 1;
    }
}

.fadeanddropIn * {
    animation: fadeanddropIn 2s ease-out forwards;
    opacity: 0;
}

.fadeanddropIn *:nth-child(1) { animation-delay: .25s; }
.fadeanddropIn *:nth-child(2) { animation-delay: .5s; }
.fadeanddropIn *:nth-child(3) { animation-delay: .75s; }

.fadeanddropIn:last-child *:nth-child(1) { animation-delay: 1.25s; }
.fadeanddropIn:last-child *:nth-child(2) { animation-delay: 1.5s; }
.fadeanddropIn:last-child *:nth-child(3) { animation-delay: 1.75s; }

@keyframes fadeandscaleIn {
    0% {
        transform: scale(.8);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.fadeandscaleIn * {
    animation: fadeandscaleIn 1s ease-out forwards;
    opacity: 0;
}

.fadeanddropIn *:nth-child(1) { animation-delay: 1s; }
.fadeanddropIn *:nth-child(2) { animation-delay: 1.25s; }
.fadeanddropIn *:nth-child(3) { animation-delay: 1.5s; }

.button-pulse {
    animation: pulse 2s infinite 4s cubic-bezier(0.25, 0, 0, 1);
    box-shadow: 0 0 0 0 white;
}

@keyframes pulse {
    to {
        box-shadow: 0 0 0 18px rgba(255, 255, 255, 0);
    }
}

.red-text{
    color: var(--secondary-color)
}

html, body {
  height: 100%;
  margin: 0;
}

/* General Styles (Applicable to All Devices) */
body {
    font-family: 'Roboto', sans-serif;
    display: flex;
    flex-direction: column;
}

/* For pages with minimal content, ensure minimum height of main container */
body > .container {
  min-height: 400px; /* Adjust based on your content needs */
}

.container{
    flex: 1 0 auto;
}

.no-scroll {
    overflow: hidden;
    height: 100%;
    position: fixed;
    width: 100%;
}

.row.tight-gutters {
    margin-left: -8px;
    margin-right: -8px;
	margin-top: 10px;
}

.row.tight-gutters > [class^="col-"],
.row.tight-gutters > [class*=" col-"] {
    padding-left: 8px;
    padding-right: 8px;
}
.bg-vergleicho {
    background: url('../images/vergleicho-background.png') center/cover no-repeat;
    color: #fff;
}

.bg-vergleicho-inactive {
    background-color: var(--tertiary-color);
    color: #fff;
}

.header {
    background: url('../images/vergleicho-background.png') center/cover no-repeat;
    padding-top: 10px;
    transition: all 0.3s ease-in-out;
    width: 100%;
    z-index: 1000;
}

/* Handle fixed elements and modals */
.header, .modal-vergleicho, .cta-fixed-wrap, #loadingSection {
  flex-shrink: 0;
}

.header-calltoaction {
    background: url('../images/vergleicho-background.png') center/cover no-repeat;
    padding: 10px;
    transition: all 0.3s ease-in-out;
    width: 100%;
    z-index: 1000;
}

.header.header-fixed {
    position: fixed;
    top: 0;
    left: 0;
    background: url('../images/vergleicho-background.png') center/cover no-repeat;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    animation: slideDown 0.3s ease-in-out;
}

.entry-content{
    margin-top: 50px;
}

article{
    margin-bottom: 50px;
}


h2.wp-block-heading{
    margin-top:30px;
}

.wp-block-image{
    margin-top: 30px;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

.insurance-details-header {
    position: relative;
    display: none;
    background: url('../images/vergleicho-background.png') center/cover no-repeat;
    width: 100%;
    z-index: 1000;
    justify-content: center;
}

.insurance-details-header .col-12 {
    text-align: center;
    padding: 10px;
}

.desktop-navigation {
    justify-content: flex-end;
    align-items: center;
    height: 70px;
}

.desktop-nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    margin: 0;
    padding: 0;
    height: 100%;
}

.desktop-nav .nav-item {
    margin: 0 15px;
    height: 100%;
    display: flex;
    align-items: center;
    border-bottom: none;
}

.desktop-nav .nav-item .nav-link {
    color: white;
    font-weight: 700;
    font-size: 1rem;
    padding: 0;
    transition: color 0.3s ease;
}

.desktop-nav .nav-item.active .nav-link,
.desktop-nav .nav-item .nav-link:hover {
    color: var(--secondary-color);
}

.header.header-fixed .desktop-navigation {
    height: 70px;
}

.navbar {
    position: relative;
    padding: 0px;
    transition: all 0.3s ease-in-out;
    width: 100%;
}

.navbar-header {
    display: fixed;
    z-index: 9000;
	padding-bottom: 10px;
}

.navbar-brand {
    position: relative;
    display: inline-block;
    height: 50px;
}

.navbar-brand img {
    height: 50px;
}

.navbar-toggler {
    margin-right: -15px !important;
}

.logo {
    position: relative;
    top: 0;
    left: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

#fullLogo {
    opacity: 1;
    height: 50px;
    transition: opacity 0.1s ease, transform 0.3s ease;
    margin: 0px 0px 0px 0px;
}

#logoIcon {
    z-index: 900;
    margin: 3px;
}

#logoIcon.d-none,
#fullLogo.d-none {
    display: none;
}

.icon-card.static.fade-out {
    opacity: 0.3;
    transition: opacity 0.3s ease;
}

#search-results .icon-card {
    opacity: 1 !important;
}

.dropdown {
    width: 100%;
    max-width: 200px;
    margin-left: 0;
}

.language-select-container {
    position: relative;
    width: 100%;
    margin-bottom: 100px;
}

.language-select-trigger {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    padding: 12px 15px;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    color: #555;
    transition: border-color 0.2s;
}

.language-select-trigger:hover {
    border-color: #70a1a6;
}

.language-select-trigger.active {
    border-color: #70a1a6;
    border-radius: 5px 5px 0 0;
}

.language-select-trigger .placeholder {
    flex-grow: 1;
    padding-right: 40px;
}

.arrow-down {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
    pointer-events: none;
}

.language-select-trigger.active .arrow-down {
    transform: translateY(-50%) rotate(180deg);
}

.language-dropdown {
    position: absolute;
    left: 0;
    width: 100%;
    background: #fff;
    border: 1px solid #70a1a6;
    border-top: none;
    border-radius: 0 0 5px 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: none;
}

.language-dropdown.active {
    display: block;
}

.language-options {
    max-height: 120px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.language-option {
    padding: 10px 15px;
    cursor: pointer;
    transition: background 0.2s;
}

.language-dropdown.dropdown-up {
    border-radius: 5px 5px 0 0;
}

.language-dropdown.dropdown-down {
    border-radius: 0 0 5px 5px;
    border-top: none;
}

.language-option:hover {
    background-color: #f5f5f5;
}

.language-option.selected {
    background-color: #e6f3f3;
    font-weight: 500;
}

.vergleicho-languages {
    padding: 0px;
}

.vergleicho-languages .language-select-container {
    width: 100%;
    max-width: none;
}

.dropdown-menu {
    width: 100%;
}

.dropdown-item {
    color: var(--primary-color);
    padding: 8px;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background-color: #f8f9fa;
    color: var(--primary-color);
}

#searchFieldContainer {
    display: flex;
    align-items: center;
    justify-content: center;
}

.col-navbar {
    margin-top: 10px;
    background-color: rgba(255, 255, 255, 0.3);
    margin-bottom: 10px;
}

/* Styles for smaller devices */
@media (max-width: 991.98px) {
    .navbar-nav .nav-item {
        border-bottom: 0.3px solid var(--primary-color);
    }
}

@media (min-width: 992px) {
  /* Ensure header container matches main content width and alignment */
  .header .container-fluid {
    max-width: 1140px;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
    width: 100%;
  }
  
  /* If using Bootstrap 4+, this ensures proper alignment within the container */
  .header .navbar {
    padding-left: 0;
    padding-right: 0;
  }
  
  /* Ensure logo is aligned to the left edge of the container */
  .navbar-brand {
    margin-left: -18px;
  }

  .desktop-nav{
    margin-right: -18px;
  }
  
  /* Ensure the navigation is aligned to the right edge of the container */
  .desktop-navigation {
    padding-right: 0;
  }
}
.nav-item a {
    font-size: 16px;
    color: #fff;
    font-weight: 700;
}

.nav-item.active a {
    color: var(--secondary-color);
    font-weight: 900;
}

main {
    padding: 20px;
}

p {
    font-size: 1rem;
    line-height: 1.6;
    margin: 0 0 1rem;
    line-height: 1.5;
}

h1 {
    font-size: 2rem;
    line-height: 1.25;
    margin: 1rem 0 0.5rem;
    color: var(--primary-color);
}

h2 {
    font-size: 1.5rem;
    line-height: 1.3;
    font-weight: bold;
    margin: 1rem 0 0.5rem;
}

strong {
    color: var(--primary-color);
}

h2.title-anim {
    color: #fff;
}

.video-section {
    display: none;
}

/* Hero Section Styles */
.hero-section-1 p{
    margin: 10px 0;
}

.hero-section-1 {
    padding: 0px 0;
    background: black;
}


.hero-section-2 {
    padding: 60px 0;
	margin-bottom: 40px;
    background: url('../images/vergleicho-background.png') center/cover no-repeat;
}

.key-figures-section {
    padding: 60px 0;
	margin: 40px 0;
    background: url('../images/vergleicho-background.png') center/cover no-repeat;
}

/* Responsive YouTube Embed */
.embed-responsive {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    overflow: hidden;
}

.embed-responsive::before {
    display: block;
    content: "";
}

.embed-responsive .embed-responsive-item,
.embed-responsive iframe,
.embed-responsive embed,
.embed-responsive object,
.embed-responsive video {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.embed-responsive-16by9::before {
    padding-top: 56.25%;
}

@media (max-width: 576px) {
  .video-section {
    display: block !important; /* Override the default display: none */
  }
}

@media (max-width: 576px) {

    .video-section {
        position: relative;
        width: 100%;
        max-width: 100vw;
        overflow: hidden;
    }

    .video-container {
        position: relative;
        width: 100%;
        overflow: hidden;
        aspect-ratio: 16 / 9;
    }
}

.responsive-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("../assets/images/video-placeholder.jpg") no-repeat center center;
    background-size: cover;
    z-index: 1;
    transition: opacity 0.3s ease-in-out;
}

.video-container.video-playing .video-placeholder {
    opacity: 0;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-button {
    background: rgba(0, 0, 0, 0.5);
    border: none;
    cursor: pointer;
    outline: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-button img {
    width: 40px;
    height: auto;
    padding: 10px;
}

@media (min-width: 992px) {
  .cta-highlight .row {
    display: flex;
    align-items: center;
    min-height: 350px; /* Adjust based on your video height */
  }
  
  .cta-highlight .col-lg-6:first-child {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

/* Control video visibility based on screen size */
/* Hide the video in cta-highlight on mobile */
@media (max-width: 991.98px) {
  .cta-highlight .col-lg-6:last-child {
    display: none;
  }
}

/* Fix for video container in cta-highlight section */
@media (min-width: 992px) {
  /* First, ensure the column that contains the video has proper positioning */
  .cta-highlight .col-lg-6:last-child {
    position: relative;
    padding: 0 15px; /* Maintain Bootstrap's column padding */
  }

  /* Target the video itself - using proper class name */
  .cta-highlight .responsive-video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    aspect-ratio: 16 / 9;
  }

  /* Make the overlay match the video exactly */
  .cta-highlight #videoOverlay {
    position: absolute;
    height: 100% !important;
    width: auto !important;
    left: 15px; /* Account for column padding */
    right: 15px; /* Account for column padding */
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none; /* Let clicks pass through to the video */
  }

  /* Make the play button clickable */
  .cta-highlight .play-button {
    pointer-events: auto;
  }
}

.cta-highlight {
    border-radius: 8px;
    margin: 40px 0 20px 0;
}

.cta-highlight h2 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.cta-highlight p {
    font-size: 1rem;
    margin-bottom: 20px;
}

/* Desktop-specific button width */
@media (min-width: 992px) {
  .cta-button {
    max-width: 250px; /* Adjust this value as needed */
    width: auto;
  }
}

.cta-button {
    display: inline-flex;
    align-items: center;
    background: var(--secondary-color);
    font-size: 1rem;
    font-weight: bold;
    padding: 10px 20px;
    color: white;
    text-decoration: none;
	transition: color 0.3s ease;
}
.cta-button:hover {
    color: white;
	transform: translateX(3px);
}
.cta-button::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
	
}

.cta-button li a:hover::after {
    width: 100%;
}

.cta-arrow {
    width: 20px;
    height: auto;
    margin-left: 10px;
}

.vergleicho-calltoaction {
    position: relative;
    top: 100px;
}

.vergleicho-calltoaction h2 {
    font-size: 1.5rem;
    line-height: 1.3;
    background-color: var(--secondary-color);
    padding: 5px;
    margin: 1rem 0 0.5rem;
}

.vergleicho-calltoaction p {
    font-size: 1rem;
    line-height: 1.6;
    margin: 0 0 1rem;
    background-color: var(--secondary-color);
    padding: 5px;
}

.compare-section {
    text-align: left;
    padding: 30px 0;
}

.compare-section h1 {
    font-size: 2rem;
    line-height: 1.25;
    margin: 1rem 0 0.5rem;
    color: var(--quaternary-color);
}

.compare-section p:first-of-type {
    font-size: 1rem;
    line-height: 1.6;
    margin: 0 0 1rem;
    color: var(--primary-color);
    font-weight: bold;
}

.versicherungen-mot-section {
    padding: 30px 0;
}

.versicherungen-mot-section p:first-of-type {
    font-size: 1rem;
    line-height: 1.6;
    margin: 0 0 1rem;
    color: var(--primary-color);
    font-weight: bold;
}

.versicherungen-mot-section h1 {
    font-size: 2rem;
    line-height: 1.25;
    margin: 1rem 0 0.5rem;
    color: var(--primary-color);
}

.versicherungen-mot-section p {
    font-size: 1rem;
    line-height: 1.6;
    margin: 0 0 1rem;
    color: #000;
}

.versicherungen-mot-section .icon-card {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 20px 0px 10px 0px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 20px;
}

.versicherungen-mot-section .icon-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.versicherungen-mot-section .icon-img {
    width: 80px;
    height: 80px;
    margin-bottom: 15px;
}

.versicherungen-mot-section .icon-card h3 {
    font-size: 1rem;
    line-height: 1.6;
    margin: 0 0 1rem;
    color: var(--primary-color);
}

.versicherungen-mot-section .icon-card a {
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
    text-decoration: none;
    color: inherit;
}

.icons-section .icon-card {
    background: url('../images/vergleicho-background.png') center/cover no-repeat;
    color: white;
    border-radius: 10px;
    padding: 5px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    margin-bottom: 20px;
}

.icons-section .icon-card:hover {
    transform: scale(1.10);
	
}

.icons-section .icon-card img {
    width: 50px;
    height: 50px;
    margin: 5px 0px;
}

.icons-section h2 {
    font-size: 1.5rem;
    line-height: 1.3;
    margin: 1rem 0 0.5rem;
}

.icons-section .icon-card h3 {
    font-size: 1rem;
    line-height: 1.6;
}

.vergleicho-allservices {
    margin-top: -10px;
}

.icons-section a {
    font-size: 18pt;
    text-decoration: underline;
    color: var(--primary-color);
    font-weight: bold;
}

.icons-section p {
    font-size: 1rem;
    line-height: 1.6;
    margin: 0 0 1rem;
    color: var(--primary-color);
    font-weight: bold;
}

.cta-section {
    padding: 15px 0px;
}

.cta-section p:first-of-type {
    font-size: 1rem;
    line-height: 1.6;
    margin: 0 0 1rem;
    color: var(--primary-color);
    font-weight: bold;
}

.cta-section h2 {
    font-size: 1.5rem;
    line-height: 1.3;
    font-size: 1;
    margin: 1rem 0 0.5rem;
}

.cta-section b {
    color: var(--primary-color);
}

.blog-section {
    padding: 40px 20px;
}

/* Desktop-specific styles */
@media (min-width: 767px) {
    .container-swiperjs {
        padding: 0;
    }

    .swiper-slide {
        background: #fff;
    }

    .swiper-slide img {
        display: block;
        max-width: 100%;
        height: auto;
        object-fit: cover;
        border-radius: 8px;
    }

    .swiper-slide {
        width: 40% !important;
        margin-left:15px;
    }

    .swiper-slide h3 {
        color: var(--primary-color);
        font-size: 1.2rem;
        font-weight: bold;
        margin-top: 10px;
    }

    .swiper-slide a {
        text-decoration: none !important;
        color: inherit !important;
    }

    .swiper-slide a:hover {
        text-decoration: none !important;
        color: inherit !important;
    }
}

/* Mobile-specific styles */
@media (max-width: 767px) {
	.hero-section-2{
		padding-top: 20px;
	}
    .container-swiperjs {
        padding: 0;
    }

    .swiper-slide {
        background: #fff;
    }

    .swiper-slide img {
        display: block;
        max-width: 100%;
        height: auto;
        object-fit: cover;
        border-radius: 8px;
    }

    .swiper-slide {
        width: 80% !important;
        margin-left:15px;
    }

    .swiper-slide h3 {
        color: var(--primary-color);
        font-size: 1.2rem;
        font-weight: bold;
        margin-top: 10px;
    }

    .swiper-slide a {
        text-decoration: none !important;
        color: inherit !important;
    }

    .swiper-slide a:hover {
        text-decoration: none !important;
        color: inherit !important;
    }
}

.blog-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.blog-card:active {
    text-decoration: none !important;
    color: #000;
}

.blog-card:hover {
    transform: scale(1.03);
    text-decoration: none !important;
    color: #000;
}

.blog-card a {
    text-decoration: none !important;
    color: inherit !important;
}

.blog-card a:hover {
    text-decoration: none !important;
    color: inherit !important;
}

.blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
}

.blog-card h3 {
    padding: 15px;
    font-size: 1.2rem;
    font-weight: bold;
    margin-top: 10px;
}

.blog-card p {
    padding: 15px;
    font-size: 1rem;
    margin-bottom: 10px;
}

.blog-card-link {
    text-decoration: none;
    color: inherit;
}

.cta-fixed-wrap {
    display: flex;
    align-items: center;
    position: fixed;
    bottom: 15px;
    right: 0px;
    z-index: 900;
}

.lottie-container {
    width: 100px;
    height: 100px;
    flex-shrink: 0;
}

.cta-text {
    background-color: var(--secondary-color);
    color: white;
    font-size: 1rem;
    font-weight: bold;
    padding: 3px 9px;
    border-radius: 10px;
    opacity: 0;
    transform: translateX(100%);
    transition: opacity 0.3s ease, transform 0.3s ease;
    white-space: nowrap;
}

.cta-text.show {
    opacity: 1;
    transform: translateX(20px) translateY(0px);
}

.footer-section {
    flex-shrink: 0;
    background: url('../images/vergleicho-background.png') center/cover no-repeat;
    color: white;
    padding: 30px 0;
}

.footer-logo {
    height: 50px;
    margin-bottom: 20px;
}

.footer-section h4 {
    font-size: 18px;
    margin-bottom: 15px;
    font-weight: 500;
}

.social-icons a {
    font-size: 1rem;
    line-height: 1.5;
    display: inline-block;
    width: 40px;
    height: 40px;
}

.social-icons img {
    width: 20px;
    height: 20px;
    fill: white;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0 0 0 -10px;
}

.footer-links li {
    line-height: 1.7;
    margin: 0 10px;
}

.footer-links a {
    font-size: 1rem;
    line-height: 1.7;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
}

.footer-links li a {
    position: relative;
    transition: color 0.3s ease;
}

.footer-links li a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
}

.footer-links li a:hover {
    color: #fff; /* Full white on hover */
}

.footer-links li a:hover::after {
    width: 100%;
}

/* Optional: Add a subtle transform effect */
.footer-links li {
    transition: transform 0.2s ease;
}

.footer-links li:hover {
    transform: translateX(5px);
}

.footer-section p {
    font-size: 1rem;
    line-height: 1.6;
    margin: 0 0 1rem;
}

.breadcrumb {
    background-color: transparent;
    padding: 0.75rem 1rem;
    margin-left:-15px;
    margin-bottom: 1rem;
}

.breadcrumb-item {
    font-size: 0.9rem;
}

.breadcrumb-item a {
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
    color: lightgrey;
    text-decoration: none;
}

.breadcrumb-item.active {
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
    color: var(--primary-color);
    font-weight: 900;
}

.card-vergleicho {
    background: url('../images/vergleicho-background.png') center/cover no-repeat;
    color: #fff;
}

.vergleicho-zip-code {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.3);
    border: 1px solid #fff;
    border-radius: 4px;
    padding: 25px 12px;
    position: relative;
    transition: all 0.3s ease;
}

.vergleicho-zip-code:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 5px rgba(200, 72, 105, 0.5);
}

.vergleicho-zip-code::placeholder {
    font-size: 16px;
    color: var(--primary-color);
    position: absolute;
    top: 50%;
    left: 12px;
    transform: translateY(-50%);
    transition: all 0.3s ease;
}

.vergleicho-zip-code:focus::placeholder,
.vergleicho-zip-code:not(:placeholder-shown)::placeholder {
    font-size: 8px;
    top: 2px;
    left: 12px;
    transform: translateY(0);
}

.fixed-button {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1000;
}

.fixed-button.show {
    opacity: 1;
}

.btn-vergleicho-calltoaction {
    font-size: 1.125rem;
    line-height: 1.4;
    font-weight: 700;
    padding: 0.75rem 1.25rem;
    margin-bottom: 30px;
    border-radius: 0.5rem;
    color: #fff;
    background-color: var(--secondary-color);
}

.btn-vergleicho {
    font-size: 1.125rem;
    line-height: 1.4;
    font-weight: 700;
    padding: 0.75rem 1.25rem;
    border-radius: 0.5rem;
    height: 50px;
    width: 100%;
    background-color: var(--secondary-color);
    color: #fff;
}

.btn-vergleicho:focus {
    color: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 0 5px rgba(200, 72, 105, 0.5);
    background-color: darken(var(--secondary-color), 10%);
}

.second-page {
    transition: opacity 0.5s ease;
    margin-top: 15px;
}

.second-page h1 {
    color: var(--quaternary-color);
    font-weight: normal;
    font-size: 2rem;
    line-height: 1.25;
    margin: 1rem 0 0.5rem;
}

.comparing-input {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.3);
    border: 1px solid var(--primary-color);
    border-radius: 4px;
    padding: 12px 12px;
    position: relative;
    transition: all 0.3s ease;
}

.result-count {
    font-size: 18px;
    line-height: 18px;
    font-weight: bold;
    color: var(--quaternary-color);
    transition: opacity 0.5s ease-in-out;
}

.result-message {
    line-height: 14px;
    margin: 0px 0px 20px 0px;
}

.result-card {
    padding: 8px;
    margin-bottom: 10px;
    background: url('../images/vergleicho-background.png') center/cover no-repeat;
    border-radius: 6px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.result-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.card-body {
    padding: 20px;
    text-align: left;
}

.result-card .card-body {
    padding: 8px;
}

.card-title {
    font-weight: bold;
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 1px;
}

.result-card .card-title {
    font-size: 1.2rem;
    color: #fff;
}

.card-subtitle {
    font-size: 1rem;
    color: #fff;
    margin-bottom: 0px;
}

.savings {
    font-size: 1.4rem;
    line-height: 1.4rem;
    font-weight: bold;
    margin-bottom: 5px;
}

.savings .currency {
    font-size: 1.5rem;
    color: var(--secondary-color);
}

.savings .motivational-text {
    display: block;
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--secondary-color);
}

.savings .amount {
    display: block;
    font-size: 2.5rem;
    line-height: 2.5rem;
    text-shadow: 0 0 1px var(--secondary-color);
    color: var(--secondary-color);
    margin: 0px;
}

.customer-satisfaction {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    font-size: 1rem;
    line-height: 1rem;
    color: #fff;
    margin: 3px 0;
}

.customer-satisfaction .rating,
.customer-satisfaction .label {
    font-size: 0.9rem;
}

.customer-satisfaction .rating-icon {
    margin-right: 8px;
}

.customer-satisfaction .rating {
    font-weight: bold;
    color: #fff;
}

.customer-satisfaction .label {
    color: #fff;
}

.result-card .card-text {
    margin-bottom: 5px;
}

.card-footer {
    padding: 0px;
    margin-bottom: 0px;
    background: url('../images/vergleicho-background.png') center/cover no-repeat;
    border: 0px;
}

.modal-header {
    padding: 15px;
    border: 0px;
}

.modal-lottie-container {
    width: 100%;
    height: 250px;
    margin-bottom: 1rem;
}

.modal-body {
    padding: 0rem 1rem;
}

.modal-footer {
    padding: 0px;
    border: 0px;
}

.col-continueBtn {
    padding-bottom: 20px;
}

.form-row {
    display: none;
}

.note-dsg p {
    font-size: 0.8rem;
    line-height: 1.6;
    margin: 0 0 1rem;
    color: #000;
}

.note-dsg a {
    font-size: 0.8rem;
    line-height: 1.6;
    margin: 0 0 1rem;
    color: #000;
    text-decoration: underline;
}

#continueBtn {
    width: 100%;
    height: 50px;
    position: relative;
    overflow: hidden;
    background-color: transparent;
    border-radius: 10px;
    border: 1px solid var(--secondary-color);
    color: var(--secondary-color);
    font-weight: 900;
    transition: color 0.3s ease;
}

#continueBtn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: #70a1a6;
    z-index: -1;
    transition: width 3s ease;
}

#continueBtn.active::before {
    width: 100%;
}

#continueBtn.active {
    background-color: #54c9a3;
    border: 1px solid var(--primary-color);
    color: #fff;
    transition: color 0.3s ease 1.5s;
}

#lottie-animation {
    width: 200px;
    margin: 0 auto;
    display: none;
}

.loading-section {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.loading-animation {
    width: 200px;
    height: 200px;
}

.vergleicho-sent {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/vergleicho-background.png') center/cover no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 1000;
}

.calltoaction-sent p {
    color: #000;
    font-weight:100;
    font-size: 1.5rem;
    line-height: 1.6rem;
}

.vergleicho-sent-logo {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
}

.vergleicho-sent-logo img {
    height: 50px;
}

.sent-animation {
    width: 20rem;
    height: 20rem;
    margin: auto;
}

.vergleicho-sent-content h1 {
    font-size: 2rem;
    line-height: 1.25;
    margin: 1rem 0 0.5rem;
    color: white;
}

.vergleicho-sent-content p {
    font-size: 1rem;
    line-height: 1.6;
    margin: 0 0 1rem;
    color: white;
    line-height: 1.5;
}

.vergleicho-sent-button {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
}

.vergleicho-sent-button .btn {
    padding: 12px 24px;
    font-size: 18px;
    font-weight: bold;
    width: 360px;
    border-radius: 25px;
    background-color: var(--secondary-color);
    color: white;
    text-decoration: none;
    font-weight: 900;
    transition: background-color 0.3s ease;
}

.vergleicho-sent-button .btn:hover {
    background-color: darken(var(--secondary-color), 10%);
}

.versicherung-qa {
    padding: 30px 0;
    margin-bottom: 20px;
}

.versicherung-qa h2 {
    font-size: 1.5rem;
    line-height: 1.3;
    color: var(--primary-color);
    margin: 1rem 0 1.5rem 0rem;
}

.panel-group {
    margin-bottom: 0;
}

.panel-default {
    border: none;
    box-shadow: none;
    margin-bottom: 10px;
}

.panel-heading {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 15px;
}

.panel-title a {
    display: block;
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
    color: var(--primary-color);
    text-decoration: none;
}

.panel-title a.collapsed {
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
}

.panel-body {
    padding: 15px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 5px 5px;
}

.motivation-section {
    padding: 30px 0;
}

.motivation-section h1 {
    font-size: 2rem;
    line-height: 1.25;
    margin: 1rem 0 0.5rem;
    color: var(--primary-color);
}

.motivation-section p {
    font-size: 1rem;
    line-height: 1.6;
    margin: 0 0 1rem;
    max-width: 800px;
}

.benefits-section {
    background-color: #fff;
}

.benefit-card {
    border: none;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 30px;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.benefit-card h3 {
    font-size: 1rem;
    line-height: 1.6;
    margin: 0 0 1rem;
    color: var(--primary-color);
}

.benefit-card p {
    font-size: 1rem;
    line-height: 1.6;
    margin: 0 0 1rem;
    color: #000;
}

.highlight {
    position: relative;
    display: inline-block;
	color: var(--secondary-color)!important;
}

.highlight::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 2px;
    background-color: var(--secondary-color)!important;
    transform: scaleX(0);
    transform-origin: bottom right;
    animation: underline 1.5s ease-in-out forwards;
}

@keyframes underline {
    0% {
        transform: scaleX(0);
        transform-origin: bottom right;
    }
    100% {
        transform: scaleX(1);
        transform-origin: bottom left;
    }
}

.highlight-circle {
    position: relative;
    display: inline-block;
}

.highlight-circle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    border: 2px solid var(--secondary-color);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    animation: circle 1.5s ease-in-out forwards;
}

@keyframes circle {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 0;
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}

.news-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 0px;
    border-radius: 8px;
    overflow: hidden;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.news-card-img {
    height: 200px;
    object-fit: cover;
    width: 100%;
}

.news-card-body {
    padding: 1.5rem 0.5rem;
}

.news-card-title {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 0.75rem;
    color: var(--primary-color);
}

.news-card-text {
    font-size: 0.9rem;
    color: #000;
    margin-bottom: 0;
}

.news-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.news-detail-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.news-detail-title {
    font-size: 2rem;
    font-weight: bold;
    margin-top: 1.5rem;
    color: var(--primary-color);
}

.news-detail-subtitle {
    font-size: 1.5rem;
    font-weight: bold;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.news-detail-text {
    font-size: 1rem;
    color: #000;
    margin-bottom: 1.5rem;
}

.news-detail-list {
    margin-bottom: 1.5rem;
}

.news-detail-list strong {
    color: var(--primary-color);
}

.news-detail-list li {
    margin-bottom: 0.5rem;
}

.impressum-container {
    max-width: 800px;
    margin: 0px auto;
    padding: 20px;
}

.impressum-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

.impressum-section {
    margin-bottom: 2rem;
}

.impressum-section h2 {
    font-size: 1.5rem;
    line-height: 1.3;
    font-weight: bold;
    color: var(--secondary-color);
    margin: 1rem 0 0.5rem;
}

.impressum-section p {
    font-size: 1rem;
    line-height: 1.6;
    margin: 0 0 1rem;
    color: #000;
}

.impressum-section ul {
    margin-bottom: 1rem;
}

.impressum-section ul li {
    margin-bottom: 0.5rem;
}

.impressum-contact {
    background-color: #f1f1f1;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.impressum-contact p {
    font-size: 1rem;
    line-height: 1.6;
    margin: 0 0 1rem;
}

.karriere-container {
    background-color: #fff;
}

.karriere-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.karriere-section {
    margin-bottom: 2rem;
}

.karriere-section h2 {
    font-size: 1.5rem;
    line-height: 1.3;
    font-weight: bold;
    color: var(--primary-color);
    margin: 1rem 0 0.5rem;
}

.karriere-section p {
    font-size: 1rem;
    line-height: 1.6;
    margin: 0 0 1rem;
    color: #000;
}

.karriere-section ul {
    margin-bottom: 1rem;
}

.karriere-section ul li {
    margin-bottom: 0.5rem;
}

.karriere-cta {
    text-align: center;
    margin-top: 2rem;
}

/* Mobile-Specific Adjustments */
@media (max-width: 991.98px) {
    .desktop-navigation {
        display: none !important;
    }
    .sprachen-selector{
        display: none !important;
    }

    .hero-hero-section-2 {
        padding: 30px 0;
    }
    
    .hero-section-2 .order-1 {
        margin-bottom: 20px;
    }

    .hero-section-2 .cta-button {
        display: block;
        margin: 0;
        max-width: 250px;
    }
}

@media (max-width: 576px) {
    /* Root font size adjustment for scalability */
    html {
        font-size: 14px;
    }

    /* Header adjustments */
    .header {
        padding-top: 5px;
    }

    .navbar-brand img {
        height: 40px;
    }

    .navbar-toggler {
        margin-right: 0 !important;
    }
    .menu-mobile {
        position: fixed;
        top: 67px;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: #fff;
        color: var(--primary-color);
        z-index: 1000;
        overflow-y: auto;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        opacity: 0;
        visibility: hidden;
        }

    .menu-mobile.d-none {
        display: none;
    }

    .menu-mobile.show {
        opacity: 1;
        visibility: visible;
    }

    .menu-mobile .container {
        padding-top: 10px;
    }

    .menu-mobile .navbar-nav .nav-item a {
        font-weight: 700;
        font-size: 1.2rem;
        line-height: 1.5;
        margin: 0;
        color: var(--primary-color);
    }

    .menu-mobile .navbar-nav .nav-item.active a {
        font-weight: 900;
        font-size: 1rem;
        line-height: 1.5;
        margin: 0;
        color: var(--secondary-color);
    }

    .menu-mobile .icon-card {
        background: url('../images/vergleicho-background.png') center/cover no-repeat;
        color: white;
        border-radius: 10px;
        padding: 5px;
        text-align: center;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        transition: transform 0.3s ease;
        margin-bottom: 20px;
    }

    .menu-mobile .icon-card img {
        width: 50px;
        height: 50px;
    }

    .menu-mobile .icon-card:hover {
        transform: scale(1.05);
    }

    .menu-mobile h2 {
        font-size: 1.5rem;
        line-height: 1.3;
        color: var(--primary-color);
		margin: 20px 0;
    }

    .menu-mobile h3 {
        font-size: 1rem;
        line-height: 1.6;
        margin: 0 0 1rem;
        color: var(--primary-color);
    }

    .menu-mobile .icon-card h3 {
        font-size: 1rem;
        line-height: 1.6;
        margin: 0 0 1rem;
        color: #fff;
    }
    .menu-mobile .row-nav-links .icon-card h3 {
        margin: 1rem 0;
    }

    /* Mobile menu adjustments */
    .menu-mobile .icon-card {
        padding: 10px;
    }

    .menu-mobile .icon-card img {
        width: 40px;
        height: 40px;
    }


    /* Versicherungen section adjustments */
    .versicherungen-mot-section .icon-img {
        width: 60px;
        height: 60px;
    }

    .versicherungen-mot-section .icon-card {
        padding: 15px 0px 10px 0px;
    }

    /* CTA fixed adjustments */
    .cta-fixed-wrap {
        bottom: 10px;
    }

    .lottie-container {
        width: 80px;
        height: 80px;
    }

    .cta-text {
        font-size: 0.9rem;
        padding: 2px 6px;
    }

    /* Video section adjustments */
    .play-button {
        width: 50px;
        height: 50px;
    }

    .play-button img {
        width: 30px;
    }

    /* Result cards adjustments */
    .result-card {
        padding: 5px;
        margin-bottom: 5px;
    }

    .result-card .card-body {
        padding: 5px;
    }

    .savings .amount {
        font-size: 2rem;
    }

    .customer-satisfaction {
        font-size: 0.9rem;
    }

    /* Modal and animation adjustments */
    .modal-lottie-container {
        height: 200px;
    }

    .loading-animation {
        width: 150px;
        height: 150px;
    }

    /* Q&A accordion adjustments */
    .panel-heading {
        padding: 10px;
    }

    .panel-body {
        padding: 10px;
    }

    /* News card adjustments */
    .news-card-img {
        height: 150px;
    }

    .news-card-body {
        padding: 1rem 0.5rem;
    }

    .news-card-title {
        font-size: 1.1rem;
    }

    /* Footer adjustments */
    .footer-logo {
        height: 40px;
    }

    .footer-section {
        padding: 20px 0;
    }

    .social-icons a {
        width: 35px;
        height: 35px;
    }

    .social-icons img {
        width: 18px;
        height: 18px;
    }
}

/* Desktop footer transformation */
@media (min-width: 992px) {
    /* Create 3-column layout */
    .footer-section .container .row {
        display: flex;
        flex-wrap: wrap;
    }

    /* Adjust column sizing */
    .footer-section .col-12 {
        flex: 0 0 33.333%;
        max-width: 33.333%;
        padding-right: 15px;
    }
    .footer-section .col-12:nth-of-type(3) { /* Newsletter section */
        order: 3;
    }
    /* Reorder the sections to match desktop layout */
    .footer-section .col-12:nth-of-type(2) { /* Links section */
        order: 1;
    }

    .footer-section .col-12:nth-of-type(1) { /* Vergleicho Section / Button / Social Media */
        order: 1;
    }

    /* Copyright gets full width at bottom */
    .footer-section .col-12:nth-of-type(4) { /* Copyright section */
        order: 4;
        flex: 0 0 100%;
        max-width: 100%;
        margin-top: 20px;
    }

    /* Add language selector to newsletter section (if not already present) */
    .footer-section .col-12:nth-of-type(2)::after {
        content: "";
        display: block;
        margin-top: 20px;
    }
    .sprachen-selector {
        margin-top: 20px;
    }

    .sprachen-selector h4 {
        margin-bottom: 10px;
    }

    .footer-section .language-select-trigger-desktop {
        display: flex;
        align-items: center;
        justify-content: space-between;
        background-color: white;
        border-radius: 4px;
        padding: 10px 15px;
        cursor: pointer;
        width: 150px;
        max-width: 300px;
        position: relative;
    }

    .language-select-trigger-desktop .placeholder-language {
        color: #333;
        font-size: 16px;
    }

    .language-select-trigger-desktop .arrow-down {
        position: absolute;
        right: 15px;
    }

    .language-dropdown-desktop {
        display: none;
        position: absolute;
        background: white;
        border: 1px solid #ccc;
        border-radius: 0 0 4px 4px;
        width: 150px;
        z-index: 1000;
    }

    .language-options{
        color: #333;
    }

    .language-dropdown-desktop.active {
        display: block;
    }

    .language-dropdown-desktop .language-option {
        padding: 10px 15px;
        cursor: pointer;
    }

    .language-dropdown-desktop .language-option:hover {
        background-color: #f5f5f5;
    }

    .language-dropdown-desktop .language-option.selected {
        background-color: #e6f3f3;
    }
}
.footer-section-social-icons{
	margin-top: 20px;
}
.row-nav-links .nav-link{
	padding: 0px 0px;
}