/* Home */

#home .subSlogan {
    color: var(--color-green);
    font-size: 1.00em;
}

/* ============================================
   Skeleton Loader Styles
   ============================================ */

@keyframes skeleton-shimmer {
    0% {
        background-position: -200px 0;
    }

    100% {
        background-position: calc(200px + 100%) 0;
    }
}

#home #divBesteReifen {
    min-height: 261px;
}

#home .skeleton-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    margin: 0 auto;
}

@media (min-width: 992px) {
    #home .skeleton-container {
        grid-template-columns: repeat(4, 1fr);
        gap: 1rem;
    }
}

#home .tyre-card-skeleton {
    position: relative;
    border: 1px solid #dee2e6;
    border-radius: 12px;
    padding: 0.25rem;
    background-color: #fff;
    min-width: 0;
    box-sizing: border-box;
}

@media (min-width: 992px) {
    #home .tyre-card-skeleton {
        padding: 0.75rem;
    }
}

#home .tyre-card-skeleton .skeleton-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.5rem;
}

#home .tyre-card-skeleton .skeleton-image {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    background: linear-gradient(90deg, #e0e0e0 25%, #f0f0f0 50%, #e0e0e0 75%);
    background-size: 200px 100%;
    animation: skeleton-shimmer 1.5s ease-in-out infinite;
}

@media (min-width: 992px) {
    #home .tyre-card-skeleton .skeleton-image {
        width: 100px;
        height: 100px;
    }
}

#home .tyre-card-skeleton .skeleton-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.25rem;
}

#home .tyre-card-skeleton .skeleton-btn {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(90deg, #e0e0e0 25%, #f0f0f0 50%, #e0e0e0 75%);
    background-size: 200px 100%;
    animation: skeleton-shimmer 1.5s ease-in-out infinite;
}

#home .tyre-card-skeleton .skeleton-stock {
    width: 40px;
    height: 12px;
    border-radius: 4px;
    background: linear-gradient(90deg, #e0e0e0 25%, #f0f0f0 50%, #e0e0e0 75%);
    background-size: 200px 100%;
    animation: skeleton-shimmer 1.5s ease-in-out infinite;
}

#home .tyre-card-skeleton .skeleton-text {
    margin-top: 0.5rem;
}

#home .tyre-card-skeleton .skeleton-brand {
    width: 70%;
    height: 16px;
    border-radius: 4px;
    margin-bottom: 0.25rem;
    background: linear-gradient(90deg, #e0e0e0 25%, #f0f0f0 50%, #e0e0e0 75%);
    background-size: 200px 100%;
    animation: skeleton-shimmer 1.5s ease-in-out infinite;
}

#home .tyre-card-skeleton .skeleton-profile {
    width: 50%;
    height: 14px;
    border-radius: 4px;
    background: linear-gradient(90deg, #e0e0e0 25%, #f0f0f0 50%, #e0e0e0 75%);
    background-size: 200px 100%;
    animation: skeleton-shimmer 1.5s ease-in-out infinite;
}

#home .tyre-card-skeleton .skeleton-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: 0.5rem;
    gap: 0.25rem;
}

#home .tyre-card-skeleton .skeleton-specs {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1;
    min-width: 0;
}

#home .tyre-card-skeleton .skeleton-size {
    width: 80%;
    height: 12px;
    border-radius: 4px;
    background: linear-gradient(90deg, #e0e0e0 25%, #f0f0f0 50%, #e0e0e0 75%);
    background-size: 200px 100%;
    animation: skeleton-shimmer 1.5s ease-in-out infinite;
}

#home .tyre-card-skeleton .skeleton-labels {
    width: 60%;
    height: 12px;
    border-radius: 4px;
    background: linear-gradient(90deg, #e0e0e0 25%, #f0f0f0 50%, #e0e0e0 75%);
    background-size: 200px 100%;
    animation: skeleton-shimmer 1.5s ease-in-out infinite;
}

#home .tyre-card-skeleton .skeleton-price {
    width: 50px;
    height: 20px;
    border-radius: 4px;
    background: linear-gradient(90deg, #e0e0e0 25%, #f0f0f0 50%, #e0e0e0 75%);
    background-size: 200px 100%;
    animation: skeleton-shimmer 1.5s ease-in-out infinite;
}

/* ============================================
   Tyre Card Styles (Custom CSS - No Bootstrap)
   ============================================ */

#home .tyre-card {
    position: relative;
    border: 1px solid #dee2e6;
    border-radius: 12px;
    padding: 0.25rem;
    cursor: pointer;
    background-color: #fff;
    min-width: 0;
    box-sizing: border-box;
}

@media (min-width: 992px) {
    #home .tyre-card {
        padding: 0.75rem;
    }
}

#home .tyre-card.noMatch {
    opacity: 0.5;
    cursor: not-allowed;
}

#home .tyre-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.5rem;
}

#home .tyre-card-image {
    position: relative;
    flex-shrink: 0;
}

#home .tyre-card-picture {
    display: block;
    height: 80px;
    width: 80px;
    max-width: 80px;
    padding: 0.25rem;
    overflow: hidden;
}

@media (min-width: 992px) {
    #home .tyre-card-picture {
        height: 100px;
        width: 100px;
        max-width: 100px;
    }
}

#home .tyre-card-picture img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    display: block;
    object-fit: contain;
}

#home .tyre-card-saison {
    position: absolute;
    top: 0;
    right: 0;
    width: 35px;
    height: 35px;
    background-color: white;
    border-radius: 50%;
    padding: 2px;
    display: block;
}

#home .tyre-card-saison img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

#home .tyre-card-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.25rem;
}

#home .tyre-card-info-btn {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1px solid #6c757d;
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    font-size: 0.75rem;
    color: #6c757d;
}

#home .tyre-card-info-btn:hover {
    background-color: #6c757d;
    color: #fff;
}

#home .tyre-card-stock {
    text-align: center;
    font-size: 0.8rem;
}

#home .tyre-card-stock-label {
    font-weight: 500;
}

#home .tyre-card-stock-value {
    color: #6c757d;
}

#home .tyre-card-text {
    overflow: hidden;
    min-width: 0;
    margin-top: 0.25rem;
}

#home .tyre-card-brand {
    display: block;
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#home .tyre-card-profile {
    display: block;
    font-size: 0.8rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    line-height: 1;
}

@media (min-width: 992px) {
    #home .tyre-card-brand {
        font-size: 1rem;
    }

    #home .tyre-card-profile {
        font-size: 0.9rem;
    }
}

#home .tyre-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: 0.25rem;
    gap: 0.25rem;
}

#home .tyre-card-specs {
    color: #6c757d;
    font-size: 0.75rem;
    overflow: hidden;
    min-width: 0;
    flex: 1;
}

@media (min-width: 992px) {
    #home .tyre-card-specs {
        font-size: 0.85rem;
    }
}

#home .tyre-card-size {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#home .tyre-card-labels {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#home .tyre-card-price {
    display: flex;
    align-items: baseline;
    color: #008230 !important;
    flex-shrink: 0;
}

#home .tyre-card-price-main {
    font-size: 1rem;
    font-weight: 500;
}

#home .tyre-card-price-decimal {
    font-size: 0.75rem;
}

#home .tyre-card-price-currency {
    font-size: 1rem;
    font-weight: 500;
}

@media (min-width: 992px) {

    #home .tyre-card-price-main,
    #home .tyre-card-price-currency {
        font-size: 1.25rem;
    }

    #home .tyre-card-price-decimal {
        font-size: 0.85rem;
    }
}

/* Hero Section Styles */
#home .hero-section {
    position: relative;
    height: 540px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 0;
    margin-top: 0;
    padding-top: 0;
    background-color: rgb(6, 7, 6);
}

#home .hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

#home .hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
}

#home .hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
}

#home .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.3) 100%);
    z-index: 0;
}

#home .hero-content {
    display: flex;
    height: 100%;
    position: relative;
    width: 100%;
    max-width: 1200px;
    z-index: 1;
    justify-content: flex-start;
    margin: 0 auto;
    margin-top: 10px;
}

#home .hero-content-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
    max-width: 1000px;
    padding: 3rem;
    padding-top: 2rem;
    color: white;
    text-align: left;
}

#home .hero-title {
    font-family: 'Roboto', sans-serif;
    font-weight: 900;
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 0, 0, 0.4);
    text-align: left;
}

#home .hero-title-main {
    color: #00A83E;
    /* Etwas hellere Variante des Markengrüns */
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 0, 0, 0.4);
}

#home .hero-title-sub {
    color: white;
}

#home .hero-subtitle {
    font-family: 'Roboto', sans-serif;
    font-size: 1.6rem;
    margin-bottom: 1rem;
    opacity: 0.95;
    text-shadow: 1px 1px 8px rgba(0, 0, 0, 0.7), 0 0 20px rgba(0, 0, 0, 0.5);
    text-align: left;
    color: white;
    max-width: 800px;
}



#home .subtitle-container {
    display: flex;
    justify-content: center;
    flex-direction: column;
    width: fit-content;
}

#home .hero-badges {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    justify-content: flex-start;
}

#home .hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.6rem 1.2rem;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: white;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

#home .hero-cta-wrapper {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
}

#home .customer-types {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    width: 100%;
    max-width: 800px;
    gap: 1.5rem;
}

#home .customer-type {
    display: flex;
    align-items: center;
    color: white;
    padding: 0.5rem 0;
}

#home .customer-type-icon {
    color: var(--color-green-light);
    margin-right: 0.75rem;
    font-size: 1.5rem;
    flex-shrink: 0;
}

#home .customer-type-text {
    font-size: 1.2rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
}



#home .hero-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-green);
    color: white !important;
    padding: 0.8rem 2rem;
    border-radius: 999px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 4px 10px rgba(0, 130, 48, 0.3);
    font-size: 1.1rem;
    text-decoration: none !important;
    position: relative;
    overflow: hidden;
    z-index: 1;
    width: 100%;
    margin: 0;
}

#home .hero-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--color-green), var(--color-green-light));
    z-index: -1;
    transition: all 0.5s ease;
    background-size: 200% 200%;
    animation: gradientAnimation 3s ease infinite;
}

@keyframes gradientAnimation {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

#home .hero-cta i {
    margin-right: 0.75rem;
    font-size: 1.1em;
    transition: all 0.3s ease;
}

#home .hero-cta:hover {
    color: white !important;
    box-shadow: 0 6px 15px rgba(0, 130, 48, 0.3);
}

#home .hero-cta:hover::before {
    background: linear-gradient(45deg, var(--color-green), var(--color-green-lightest));
    animation: gradientAnimation 2s ease infinite;
}

/* Responsive Media Queries */
@media screen and (max-width: 1199px) {
    #home .hero-title {
        font-size: 3.5rem;
    }

    #home .hero-subtitle {
        font-size: 1.4rem;
    }

    #home .customer-type-text {
        font-size: 1.1rem;
    }

    #home .hero-cta {
        font-size: 1.1rem;
        padding: 1.1rem 2.5rem;
    }
}

@media screen and (max-width: 991px) {
    #home .hero-section {
        height: 550px;
    }

    #home .hero-content-left {
        padding: 2rem;
    }

    #home .hero-title {
        font-size: 3rem;
    }

    #home .hero-subtitle {
        font-size: 1.3rem;
        max-width: 600px;
    }



    #home .customer-type-icon {
        font-size: 1.3rem;
    }

    #home .customer-type-text {
        font-size: 1rem;
    }



    #home .hero-cta {
        font-size: 1rem;
        padding: 1rem 2.2rem;
        min-width: 250px;
    }

    #home .hero-banner {
        height: auto;
        padding: 12px 0;
    }


}

@media screen and (max-width: 767px) {
    #home .hero-section {
        height: 500px;
    }

    #home .hero-content-left {
        padding: 1.5rem;
        text-align: center;
        align-items: center;
    }

    #home .hero-title {
        font-size: 2.5rem;
        letter-spacing: 1px;
        text-align: center;
    }

    #home .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
        text-align: center;
    }



    #home .customer-types {
        margin-bottom: 1rem;
        justify-content: center;
    }

    #home .customer-type-icon {
        font-size: 1.2rem;
        margin-right: 0.5rem;
    }

    #home .customer-type-text {
        font-size: 0.9rem;
    }



    #home .hero-cta {
        font-size: 0.9rem;
        padding: 0.9rem 1.8rem;
        min-width: 220px;
        margin: 0 auto;
    }

    #home .hero-banner {
        height: auto;
        padding: 12px 0;
    }

    #home .hero-news-item {
        padding: 8px 20px;
    }

    #home .hero-news-content {
        flex-direction: row;
        align-items: flex-start;
    }
}

@media screen and (max-width: 575px) {
    #home .hero-section {
        height: 450px;
        padding-top: 100px;
        /* Increased padding to account for taller banner */
    }

    #home .hero-content-left {
        padding: 1rem;
        text-align: center;
        align-items: center;
    }

    #home .hero-title {
        font-size: 2rem;
        letter-spacing: 0.5px;
        text-align: center;
    }

    #home .hero-subtitle {
        font-size: 1rem;
        text-align: center;
    }



    #home .customer-types {
        flex-wrap: wrap;
        justify-content: center;
    }

    #home .customer-type-text {
        font-size: 0.8rem;
    }

    #home .customer-type-icon {
        font-size: 1rem;
        margin-right: 0.4rem;
    }



    #home .hero-cta {
        font-size: 0.85rem;
        padding: 0.8rem 1.5rem;
        margin: 0 auto;
    }

    #home .hero-news-text {
        line-height: 1.3;
    }

}

#home .hero-content-right {
    display: none;
}

#home .hero-feature-card {
    background-color: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2.5rem;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    transform: translateX(20px);
}

#home .hero-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
}

#home .hero-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

#home .hero-feature {
    display: flex;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

#home .hero-feature:last-child {
    border-bottom: none;
}

#home .feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: var(--color-green);
    color: white;
    border-radius: 50%;
    margin-right: 1.5rem;
    flex-shrink: 0;
    font-size: 1.5rem;
    box-shadow: 0 4px 10px rgba(0, 130, 48, 0.3);
}

#home .feature-content {
    flex-grow: 1;
}

#home .feature-title {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 1.4rem;
    margin-bottom: 0.25rem;
    color: #333;
}

#home .feature-description {
    font-size: 0.95rem;
    color: #666;
}

#home .feature-link {
    display: inline-flex;
    align-items: center;
    color: var(--color-green);
    font-weight: bold;
    text-decoration: none;
    margin-top: 0.5rem;
    transition: all 0.3s ease;
}

#home .feature-link:hover {
    color: var(--color-green-dark);
}

#home .feature-link i {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

#home .feature-link:hover i {
    transform: translateX(3px);
}

/* Tire Search Card Styles */
#home .tire-search-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    position: relative;
    margin-bottom: 2rem;
    border-top: 4px solid var(--color-green);
    min-height: 535px;
}

#home .tire-search-card h3 {
    position: relative;
    padding-bottom: 0.75rem;
    color: var(--color-green);
    font-weight: 600;
}

#home .tire-search-card .form-control,
#home .tire-search-card .form-select {
    border-radius: 6px;
    border: 1px solid #ddd;
    transition: all 0.2s ease;
}

#home .tire-search-card .form-control:focus,
#home .tire-search-card .form-select:focus {
    border-color: var(--color-green);
    box-shadow: 0 0 0 3px rgba(0, 168, 62, 0.1);
}

#home .tire-search-card .label {
    font-weight: 500;
    margin-bottom: 0.25rem;
}

#home .tire-dimension-fields {
    position: relative;
}

/* Best Tires Grid */
#home #contBesteReifen {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    margin: 0 auto;
}

@media (min-width: 992px) {
    #home #contBesteReifen {
        grid-template-columns: repeat(4, 1fr);
        gap: 1rem;
    }
}

#home .cdm-innovation-container {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}


#home .cdm-innovation-text-col {
    display: flex;
    align-items: center;
}

#home .cdm-innovation-text {
    padding: 2.5rem;
}

#home .cdm-innovation-title {
    color: var(--color-green);
    font-weight: 700;
    font-size: 2.2rem;
    margin-bottom: 1rem;
    position: relative;
}

#home .cdm-innovation-badge {
    display: inline-block;
    background-color: #f8f8f8;
    color: #555;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    border-left: 3px solid var(--color-green);
}

#home .cdm-innovation-description {
    color: #555;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

#home .cdm-innovation-button {
    display: inline-flex;
    align-items: center;
    background-color: var(--color-green);
    color: white !important;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

#home .cdm-innovation-button:hover {
    background-color: var(--color-green-light);
}

#home .cdm-innovation-image-col {
    position: relative;
    overflow: hidden;
}

#home .cdm-innovation-image {
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background-color: white;
}

#home .cdm-innovation-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    transition: transform 0.5s ease;
}


@media (max-width: 991px) {
    #home .cdm-innovation-text {
        padding: 2rem;
        text-align: center;
    }

    #home .cdm-innovation-title {
        font-size: 1.8rem;
    }

    #home .cdm-innovation-image {
        padding: 0.5rem;
        max-height: 400px;
    }
}

@media (max-width: 767px) {
    #home .cdm-innovation-text {
        padding: 1.5rem;
    }

    #home .cdm-innovation-title {
        font-size: 1.5rem;
    }

    #home .cdm-innovation-description {
        font-size: 1rem;
    }

    #home .cdm-innovation-button {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
    }
}

#home .hersteller-title-container {
    position: relative;
    margin-bottom: 2rem;
}

#home .hersteller-title {
    color: var(--color-green);
    font-weight: 700;
    position: relative;
    display: inline-block;
    margin-bottom: 0.5rem;
}

#home .hersteller-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--color-green);
    border-radius: 3px;
}

#home .hersteller-subtitle {
    color: #555;
    font-size: 1.1rem;
    margin-top: 1rem;
}

#home .hersteller-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0 auto;
}

#home .hersteller-card {
    flex: 0 0 auto;
    width: 240px;
    margin: 0.5rem;
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 140px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

#home .hersteller-card:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
    border-color: rgba(0, 0, 0, 0);
}

#home .hersteller-logo {
    display: block;
    width: 100%;
    height: 100%;
}

#home .hersteller-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

#home .hersteller-more {
    display: inline-flex;
    align-items: center;
    background-color: #f5f5f5;
    padding: 0.7rem 1.5rem;
    border-radius: 50px;
    margin-top: 1rem;
}

#home .hersteller-more-count {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-green);
    display: block;
    margin-bottom: 0.2rem;
}

#home .hersteller-more-text {
    font-size: 1.1rem;
    color: #555;
    text-align: center;
    line-height: 1.3;
}

#home .hersteller-more-card {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

#home .hersteller-more-card:hover {
    background: white;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

#home .hersteller-more-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 100%;
    width: 100%;
}

#home .hersteller-more-icon {
    font-size: 2rem;
    color: var(--color-green);
    margin-bottom: 0.5rem;
}

@media (max-width: 991px) {

    #home .hersteller-card {
        width: 200px;
    }

    #home .hersteller-more-count {
        font-size: 1.4rem;
    }

    #home .hersteller-more-text {
        font-size: 1rem;
    }
}

@media (max-width: 767px) {
    #home .hersteller-card {
        width: 150px;
        height: 120px;
        padding: 1rem;
        margin: 0.4rem;
    }

    #home .hersteller-more-icon {
        font-size: 1.6rem;
    }

    #home .hersteller-more-text {
        font-size: 0.9rem;
    }

    #home .hersteller-more-count {
        font-size: 1.2rem;
    }

    #home .hersteller-title::after {
        width: 60px;
    }
}

@media (max-width: 480px) {
    #home .hersteller-card {
        width: 120px;
        height: 100px;
        padding: 0.8rem;
        margin: 0.3rem;
    }

    #home .hersteller-more-icon {
        font-size: 1.4rem;
        margin-bottom: 0.3rem;
    }

    #home .hersteller-more-text {
        font-size: 0.8rem;
    }

    #home .hersteller-more-count {
        font-size: 1.1rem;
        margin-bottom: 0.1rem;
    }
}

/* New Services Styles */
#home .services-title-container {
    position: relative;
    margin-bottom: 2rem;
    text-align: center;
}

#home .services-title {
    color: var(--color-green);
    font-weight: 700;
    position: relative;
    display: inline-block;
    margin-bottom: 0.5rem;
    font-size: 2.2rem;
}

#home .services-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--color-green);
    border-radius: 3px;
}

#home .services-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

#home .service-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

#home .service-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

#home .service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background-color: rgba(0, 168, 62, 0.1);
    color: var(--color-green);
    border-radius: 50%;
    margin-right: 1rem;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

#home .service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

#home .service-card:hover::before {
    opacity: 1;
}

#home .service-title {
    color: var(--color-green);
    font-weight: 600;
    font-size: 1.2rem;
    margin-bottom: 0;
    transition: color 0.3s ease;
    line-height: 1.3;
}

#home .service-card:hover .service-title {
    color: var(--color-green-dark);
}

#home .service-description {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
    flex-grow: 1;
    margin-bottom: 1.5rem;
}

#home .service-description b {
    color: #333;
}

#home .service-link {
    display: inline-flex;
    align-items: center;
    color: var(--color-green);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: auto;
    width: fit-content;
    padding: 8px 0;
}

#home .service-link i {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

#home .service-link:hover {
    color: var(--color-green-dark);
}

#home .service-link:hover i {
    transform: translateX(5px);
}

#home .special-service {
    position: relative;
}

#home .service-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: #e53935;
    /* Rot statt Grün */
    color: white;
    padding: 3px 10px;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 20px;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

@media (max-width: 991px) {
    #home .services-container {
        grid-template-columns: repeat(2, 1fr);
    }

    #home .service-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }

    #home .service-title {
        font-size: 1.1rem;
    }

    #home .service-description {
        font-size: 0.95rem;
    }
}

@media (max-width: 767px) {
    #home .services-container {
        grid-template-columns: 1fr;
    }

    #home .service-card {
        padding: 1.5rem;
    }

    #home .services-title {
        font-size: 1.8rem;
    }

    #home .services-title::after {
        width: 60px;
    }
}

@media (max-width: 575px) {
    #home .services-title {
        font-size: 1.6rem;
    }

    #home .service-card {
        padding: 1.2rem;
    }

    #home .service-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }

    #home .service-title {
        font-size: 1rem;
    }
}

#home .news-slider-container {
    width: 100%;
    max-width: 100%;
    position: relative;
    border-radius: 20px;
    overflow: visible;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
    background-color: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
    height: 280px;
    /* Erhöhte Höhe für den Container */
    z-index: 5;
}

#home .news-slider {
    width: 100%;
    position: relative;
    z-index: 2;
    height: 100%;
    overflow: visible;
}

#home .news-slide {
    padding: 2.5rem 2rem;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    user-select: none;
}

#home .news-slide.active {
    user-select: auto;
}

/* Reset back to Bootstrap default carousel styling */
#home .hero-banner .carousel-item {
    position: relative;
    display: none;
    float: left;
    width: 100%;
    margin-right: -100%;
    backface-visibility: hidden;
    transition: transform 0.6s ease-in-out;
}

#home .hero-banner .carousel-item.active,
#home .hero-banner .carousel-item-next,
#home .hero-banner .carousel-item-prev {
    display: block;
}

#home .hero-banner .carousel-item-next:not(.carousel-item-start),
#home .hero-banner .active.carousel-item-end {
    transform: translateX(100%);
}

#home .hero-banner .carousel-item-prev:not(.carousel-item-end),
#home .hero-banner .active.carousel-item-start {
    transform: translateX(-100%);
}

#home .hero-banner .carousel-inner {
    position: relative;
    width: 100%;
    overflow: hidden;
}

#home .news-button {
    display: inline-flex;
    align-items: center;
    background-color: var(--color-green);
    color: white;
    padding: 1rem 1.8rem;
    border-radius: 999px;
    font-weight: bold;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 130, 48, 0.3);
    position: relative;
    z-index: 30 !important;
    cursor: pointer !important;
    pointer-events: auto !important;
    font-size: 1.2rem;
}

#home .news-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: var(--color-green);
    color: white;
    border-radius: 50%;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    box-shadow: 0 4px 10px rgba(0, 130, 48, 0.3);
}

#home .news-title {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 2rem;
    margin-bottom: 0.8rem;
    color: var(--color-green);
}

#home .news-subtitle {
    font-family: 'Roboto', sans-serif;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #555;
    font-weight: 500;
}

#home .news-description {
    font-size: 1.2rem;
    color: #444;
    margin-bottom: 2rem;
    max-height: 90px;
    overflow-y: auto;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4;
    font-weight: 400;
}

#home .active-link {
    position: relative;
    z-index: 100 !important;
    pointer-events: auto !important;
    cursor: pointer !important;
}

#home .news-button:hover {
    background-color: var(--color-green-light);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 130, 48, 0.4);
    color: white;
}

#home .news-button i {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

#home .news-button:hover i {
    transform: translateX(3px);
}

#home .hero-banner .carousel-control-prev,
#home .hero-banner .carousel-control-next {
    background-color: rgba(0, 130, 48, 0.7);
    border-radius: 50%;
    width: 40px !important;
    height: 40px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 20;
}

#home .hero-banner .carousel-control-prev {
    left: -10px;
}

#home .hero-banner .carousel-control-next {
    right: -10px;
}

#home .hero-banner .news-slider-container:hover .carousel-control-prev,
#home .hero-banner .news-slider-container:hover .carousel-control-next {
    opacity: 1;
}

#home .hero-banner .carousel-control-prev:hover,
#home .hero-banner .carousel-control-next:hover {
    background-color: var(--color-green);
    opacity: 1;
}

#home .hero-banner .carousel-indicators {
    margin-bottom: 0;
    z-index: 20;
}

#home .hero-banner .carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
    margin: 0 5px;
}

#home .hero-banner .carousel-indicators .active {
    background-color: var(--color-green);
}

#home .news-badge {
    position: absolute;
    top: -15px;
    right: 30px;
    background-color: #e53935;
    /* Rot statt Grün */
    color: white;
    padding: 5px 15px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    border-radius: 999px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 5;
    transform: rotate(3deg);
}

#home .news-date {
    font-size: 0.85rem;
    color: #777;
    margin-bottom: 0.5rem;
    font-style: italic;
}

#home .news-header {
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 3;
}

#home .news-header-title {
    display: inline-block;
    background-color: var(--color-green);
    color: white;
    padding: 8px 20px;
    font-weight: bold;
    font-size: 1rem;
    border-radius: 999px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
    letter-spacing: 1px;
}

#home .hero-banner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(63, 63, 63, 0.50);
    padding: 12px 0;
    z-index: 5;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

#home .hero-banner-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Reduced side padding to give more space for content */
}

#home .hero-banner .hero-news-carousel {
    display: flex;
    width: 100%;
    position: relative;
    overflow: hidden;
}

#home .hero-banner .hero-news-track {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
    transition: transform 0.5s ease-in-out;
    transform: translateX(0);
}

#home .hero-banner .hero-news-item {
    flex: 0 0 100%;
    min-width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    padding: 0 20px;
    transition: background-color 0.3s ease;
    text-decoration: none;
}

#home .hero-banner .hero-news-content {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    flex-wrap: wrap;
    padding: 0 50px;
    text-align: center;
}

#home .hero-banner .hero-news-badge {
    background-color: #e53935;
    color: white;
    padding: 2px 8px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 1px;
    border-radius: 4px;
    margin-right: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    text-align: center;
}

#home .hero-banner .hero-news-badge-f {
    background: linear-gradient(135deg, #FFD700, #FFA500) !important;
    color: #2c2c2c !important;
    font-weight: bold !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1) !important;
    border: 2px solid #FFB300 !important;
    position: relative !important;
    overflow: hidden !important;
}

#home .hero-banner .hero-news-badge-f::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    transform: rotate(45deg);
}

/* NEW Badge styling - reddish */
#home .hero-banner .hero-news-badge:not(.hero-news-badge-f) {
    background: linear-gradient(135deg, #FF4444, #CC2222) !important;
    color: #ffffff !important;
    font-weight: bold !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3) !important;
    border: 2px solid #FF6666 !important;
    position: relative !important;
    overflow: hidden !important;
}

#home .hero-banner .hero-news-badge:not(.hero-news-badge-f)::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    transform: rotate(45deg);
}

@keyframes shine-red {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }

    50% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }

    100% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
}






#home .hero-banner .hero-news-title {
    font-weight: bold;
    font-size: 1rem;
    white-space: wrap;
    text-align: center;
}

#home .hero-banner .hero-news-text {
    text-align: center;
    margin: 0 10px;
    white-space: wrap;
}

#home .hero-banner .hero-news-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    cursor: pointer;
    z-index: 100;
    transition: all 0.3s ease;
}

#home .hero-banner .hero-news-arrow:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

#home .hero-banner .hero-news-prev {
    left: 10px;
}

#home .hero-banner .hero-news-next {
    right: 10px;
}

#home .hero-banner .hero-news-item:hover:after {
    background-color: rgba(255, 255, 255, 0.6);
}

#home .hero-banner .hero-news-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 0.85rem;
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
    width: fit-content;
    transition: all 0.3s ease;
    text-decoration: none;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    white-space: nowrap;
}

#home .hero-banner .hero-news-button i {
    margin-right: 5px;
    font-size: 0.9em;
}

#home .hero-banner .hero-news-button:hover {
    background-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
}

@media screen and (max-width: 767px) {
    #home .hero-banner .hero-news-button {
        margin-top: 0;
        padding: 0.35rem 0.7rem;
        font-size: 0.8rem;
    }

    /* For mobile, we need to stack the elements */
    #home .hero-banner .hero-news-content {
        align-items: center;
        text-align: center;
        padding: 0 40px;
    }

    #home .hero-banner .hero-news-text {
        margin: 5px 0;
        text-align: center;
        max-width: 100%;
        padding: 0 10px;
    }

    #home .hero-banner .hero-news-button {
        margin-left: 0;
        margin-top: 5px;
    }

    #home .hero-banner .hero-news-title {
        text-align: center;
    }
}

@media screen and (max-width: 575px) {
    #home .hero-banner .hero-news-button {
        padding: 0.5rem;
    }

    #home .hero-banner .hero-news-arrow {
        width: 25px;
        height: 25px;
    }

    #home .hero-banner .hero-news-prev {
        left: 5px;
    }

    #home .hero-banner .hero-news-next {
        right: 5px;
    }

    #home .hero-banner .hero-news-content {
        padding: 0 30px;
    }

    #home .hero-banner .hero-news-text {
        padding: 0 5px;
        font-size: 0.9rem;
    }

    #home .tyre-search-section .container {
        padding: 0 !important;
    }

    #home .tire-search-card {
        padding: 1rem 0.5rem;
    }
}

/* ============================================
   bestTyres - Tire Search Form Styles
   ============================================ */

#home .tire-search-form {
    background: #ffffff;
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

#home .tire-search-header {
    margin-bottom: 0.75rem;
}

#home .tire-search-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
}

#home .tire-dimensions-section {
    background: #f8f9fa;
    border-radius: 6px;
    padding: 0.75rem;
    height: 100%;
}

#home .section-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #495057;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-bottom: 0.5rem;
    padding-left: 0.4rem;
    border-left: 3px solid var(--bs-primary, #0d6efd);
}

#home .tire-input-group {
    position: relative;
}

#home .tire-input-group .form-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.25rem;
    display: block;
}

#home .tire-input-group .form-control,
#home .tire-input-group .form-select {
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 0.5rem 0.75rem;
    font-size: 1rem;
    transition: all 0.15s ease;
    background: #ffffff;
    height: auto;
}

#home .tire-input-group .form-control:focus,
#home .tire-input-group .form-select:focus {
    border-color: var(--bs-primary, #0d6efd);
    box-shadow: 0 0 0 0.1rem rgba(13, 110, 253, 0.15);
    background: #ffffff;
}

#home .filter-section {
    background: #ffffff;
    border-radius: 6px;
    padding: 0.75rem;
    border: 1px solid #e9ecef;
    height: 100%;
}

@media (max-width: 991.98px) {
    #home .tire-search-form {
        padding: 0.85rem;
    }

    #home .tire-search-title {
        font-size: 1.2rem;
    }

    #home .tire-dimensions-section,
    #home .filter-section {
        padding: 0.65rem;
    }
}

@media (max-width: 575.98px) {
    #home .tire-search-form {
        padding: 0.75rem;
        border-radius: 6px;
    }

    #home .tire-search-title {
        font-size: 1.1rem;
    }

    #home .tire-dimensions-section,
    #home .filter-section {
        padding: 0.6rem;
        margin-bottom: 0.6rem;
    }

    #home .section-label {
        font-size: 0.75rem;
        margin-bottom: 0.4rem;
    }

    #home .tire-input-group .form-label {
        font-size: 0.75rem;
        margin-bottom: 0.2rem;
    }

    #home .tire-input-group .form-control,
    #home .tire-input-group .form-select {
        padding: 0.4rem 0.6rem;
        font-size: 0.9rem;
    }
}