:root {
    --primary-color: #4682e2;
    --secondary-color: #0d5782;
    --accent-color: #ca0d5b;
    --text-color: #333;
    --light-text-color: #777;
    --border-color: #e0e0e0;
    --padding: 1rem;
    --margin: 1rem;
    --border-radius: 0.5rem;
    --standard-line-weight: 8px;
}

svg {
    shape-rendering: crispEdges;
    image-rendering: optimizeQuality; /* For rasterized parts of SVG */
    text-rendering: geometricPrecision; /* For sharp text */
}

body, svg {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-smooth: always;
    shape-rendering: geometricPrecision;
}

* {
    text-rendering: geometricPrecision;
}

svg {
    text-rendering: optimizeLegibility;
}


@font-face {
    font-family: 'Codec Pro';
    src: url('/fonts/CodecProRegular/9_CodecPro-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal; 
    font-display: swap;
}
/*
@font-face {
    font-family: 'Codec Pro';
    src: url('/fonts/CodecProBold/font.woff2') format('woff2');
    font-weight: bold;
    font-style: normal;
}



@font-face {
    font-family: 'Codec Pro';
    src: url('/fonts/CodecPro-Italic.ttf') format('truetype');
    font-weight: normal;
    font-style: italic;
}
*/
img.logo {
    width: 250px;
}

body {
    font-family: 'Codec Pro', sans-serif;
    font-size: 18px;
}

/* Optional: Definieren Sie hier weitere Stile für verschiedene Elemente */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Codec Pro', sans-serif;
}

body {
    line-height: 1.6;
    color: var(--text-color);
    background-color: #f5f5f5;
    margin: 0;
    padding: 0;
}

html {
    background: url(/images/footer-bg-noise-2.webp);
    background-size: cover;
    background-attachment: fixed;
}

body {
    background: #808080d1;
}


.app {
    max-width: 1600px;
    width: 100%;
    margin: 0 auto;
    padding: 0px;
    box-shadow: 0px 0px 50px #394142;
}

.image {
    border: 1px solid var(--border-color);
    width: 100%;
    border-radius: var(--border-radius);
}

#header {
    position: sticky;
    top: 0;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.teaser-text {
    font-size: 1.25rem;
}



.teaser-button,
button.form-button,
a.form-button {
    font-size: 1.5rem;
    color: #fff;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: background-color 0.3s ease;
    border-radius: 30px;
    background: linear-gradient(179deg, #FB0018, #df0318);
    font-family: inherit;
    width: 100%;
    font-weight: normal;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: normal;
    padding-top: 11px;
    padding-bottom: 11px;
    border: 1px solid #df0318;
    outline: 1px solid #b70011;
    cursor: pointer;
    cursor: pointer !important;
    width: auto;
        background: linear-gradient(179deg, #205d98, #0f4b85);
    border: 1px solid #19436b;
    outline: 1px solid #0e4479;
    background: linear-gradient(179deg, #ff001e, #cd0018);
    border-color: #ff001e;
    outline-color: #a70014;

}

.slider {
    margin-bottom: 12px;
}

body a.form-button.view-all-cars {
    width: fit-content;
    margin-bottom: 40px;
}

button.form-button,
a.form-button {
    padding: 0.2rem 5rem;
}

.teaser-button:hover,
body button.form-button:hover,
body a.form-button:hover {
    background: linear-gradient(179deg, #eb001b, #b60217);
    color: white;
    cursor: pointer;
    /*background-color: darken(var(--accent-color), 10%);*/
}

header {
    border-bottom: var(--standard-line-weight) solid #757575;
    display: grid;
    grid-template-columns: 1fr 250px 1fr;
    background-color: rgb(230, 230, 230);
    padding-left: 40px;
    padding-right: 40px;
}

.content-box,
.page,
.footer-content {
    padding-left: 72px;
    padding-right: 72px;
    padding-bottom: 72px;
}

header>img {
    inline-size: fit-content;
    width: 250px;
}

.website-navigation {
    padding: 1rem;
    display: flex;
    align-items: center;
}

.website-navigation:nth-child(3) {
    margin-left: auto;
}

.website-navigation>a,
.website-navigation>span {
    color: black;
    text-decoration: none;
    padding: 0.5rem 1rem;
    transition: background-color 0.3s ease;
    font-weight: normal;
    display: flex;
    align-items: center;
    font-size: 23px;
    gap: 10px;
}

.website-navigation:nth-child(1) a {
    font-size: 23px;
}

.website-navigation a img {

    width: 25px;
}

.website-navigation a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: bold;
    margin-bottom: 0.5rem;
}

h1 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: darken(var(--primary-color), 15%);
}

.checkmarks {
    list-style-type: none;
    padding-left: 0;
}

.checkmarks li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
}

.checkmarks li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

body .dropdown-form-element {
    line-height: normal;
}

.table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
}

.table th,
.table td {
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    text-align: left;
}

.table th {
    background-color: #f8f8f8;
    font-weight: bold;
}

footer {
    text-align: center;
    color: var(--light-text-color);
    text-shadow: 1px 1px 4px #192735;
}

@media (max-width: 768px) {

    .website-navigation {
        padding: 0.5rem;
    }

    .teaser-button {
        font-size: 1.25rem;
    }
}



.container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    height: 100vh;
    position: relative;
}

.item {
    position: relative;
    overflow: hidden;
}

.item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.text-overlay {
    position: absolute;
    bottom: 10px;
    left: 10px;
    color: white;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 5px 10px;
}

.map {
    background-color: #f0f0f0;
    padding: 20px;
}

.diagonal-line {
    position: absolute;
    background-color: red;
    width: 10px;
    transform: rotate(-45deg);
    top: -5%;
    left: 50%;
    height: 110%;
}

.container {
    height: calc(100vh - 100px);
}

.top-left {
    clip-path: polygon(0 0, 60% 0, 50% 50%, 40% 100%);
    background-color: red;
}

.top-right {
    clip-path: polygon(60% 0, 100% 0, 100% 60%, 50% 50%);
    background-color: green;
}

.bottom-left {
    clip-path: polygon(0 40%, 50% 50%, 40% 100%, 0 100%);
    background-color: yellow;
}

.bottom-right {
    clip-path: polygon(50% 50%, 100% 60%, 100% 100%, 40% 100%);
    background-color: black;
}




.fixed-height-rect {
    height: 8px;
    transform-origin: center;
    transform: scale(1, calc(1 / var(--svg-scale)));
}

#a {
    --svg-scale: 1;
}

@media (max-width: 800px) {
    #a {
        --svg-scale: 0.8;
    }
}

@media (max-width: 600px) {
    #a {
        --svg-scale: 0.6;
    }
}

.car {
    background-color: white;
    border: 1px solid #d5d5d5;
    padding: 15px;
}

.car>h2 {
    margin-top: 0px;
}

.car-list-infos {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 40px;
}

.car-list-infos>img {
    width: 100%;
}

.car-list-infos .car-price {
    font-size: 25px;
    font-weight: bold;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}

.short-info dt {
    color: #48555d;
}

.short-info dd {
    font-weight: bold;
    font-family: Arial;
    margin-inline-start: 0px;
}

.short-infos {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 15px;
}

.short-info {
    background-size: 32px 32px;
    background-position: left center;
    padding-left: 47px;
    background-repeat: no-repeat;
}

.kilometer-icon {
    background-image: url(/images/icons/32px/compass.svg);
}

.fuel-icon {
    background-image: url(/images/icons/32px/fuel-2.svg);
}

.calendar-icon {
    background-image: url(/images/icons/32px/calendar-clock.svg);
}

.power-icon {
    background-image: url(/images/icons/32px/power-level.svg);
}

.energy-usage-icon {
    background-image: url(/images/icons/32px/wand-sparkle.svg);

}

.gear-icon {
    background-image: url(/images/icons/32px/gear-3.svg);
}

.icon-car-seat {
    background-image: url(/images/icons/32px/seat.svg);
}

.icon-fuel-tank {
    background-image: url(/images/icons/32px/fuel-2.svg);
}

.icon-car-door {
    background-image: url(/images/icons/32px/car-door.svg);
}

.icon-interior-color {
    background-image: url(/images/icons/32px/paint-bucket-40.svg);
}

.icon-interior-material {
    background-image: url(/images/icons/32px/scarf.svg);
}


.icon-exterior-color {
    background-image: url(/images/icons/32px/paint-brush.svg);
}

.icon-car-seat {/fonts/MetaSerifPro-Bold.woff2
    background-image: url(/images/icons/32px/seat.svg);
}

.icon-sensors {
    background-image: url(/images/icons/32px/parking-sensors.svg);
}

.icon-air-conditioner {
    background-image: url(/images/icons/32px/air-conditioner.svg);
}

.icon-last-inspection {
    background-image: url(/images/icons/32px/delivery-time.svg);
}

.icon-rim {
    background-image: url(/images/icons/32px/wheel-2.svg);
}

main {
    background-color: white;
    padding-top: 24px;
}

.page h1 {
    margin-top: 0px;
}


.car {
    background-color: #efefef;
}

.car-brands {
    margin-top: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
    gap: 40px;
    align-items: center;
    padding-bottom: 50px;
    justify-items: center;
}

.car-brands a {
    display: block;
    width: 100%;
    text-align: center;
}

.car-brands img {
    max-width: 100%;
    width: auto;
    max-height: 50px;
    cursor: pointer;
    max-height: 75px;
    max-width: 112px;
}

.page-home main {
    padding-top: 0px;
}

.detail-pictures {
    display: grid;
    gap: 10px;
    grid-template-columns: 1fr 1fr;
}

.detail-pictures a {
    display: flex;
}

.detail-pictures img {
    width: 100%;
    border-radius: 7px;
}

.small-pictures {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.small-pictures>img {
    width: 100%;
    border-radius: 7px;
}

.additional-pictures {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
}

.additional-pictures img {
    width: 100%;
    border-radius: 7px;
}


.info-box {
    display: grid;
    grid-template-columns: 4fr 2fr;
    gap: 80px;
    padding-top: 10px;
}

.price-box,
.car-listing-filter,
.car-box {
    background: #f9feff;
    border: 1px solid #f3f3f3;
    border-radius: 7px;
    padding: 15px;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.10), 0px 0px 6px rgba(0, 0, 0, 0.10);
    background: #f2f2f2;
    border: 1px solid #e0e0e0;
    align-self: start;
    background: rgb(230, 230, 230);
    border-color: rgb(170, 170, 170);
}

.car-box {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.car-listing-filter {
    box-shadow: none;
    /* border: 1px solid #ececec;*/
}

.car-price {
    font-size: 28px;
}

.car-price-vat {
    color: gray;
}




/*tEST **/
/*
@font-face {
    font-family: 'Meta Serif Pro';
    src: url('/fonts/MetaSerifPro-Bold.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}
*/
h1,
h2 {
    font-family: 'Codec Pro', serif !important;
}

h1 {
    font-weight: bold;
    /* Bold */
}

h2 {
    font-weight: bold;
    /* Semibold */
}

#welcome-layer canvas {
    border-bottom: 8px solid #757575;
}

.page-services header {
    background-color: black;
}

.page-services .website-navigation a {
    color: white;
}

.page-services .website-navigation a img,
.page-services .website-navigation span img {
    filter: invert(1);
}

.page-services .website-navigation span a {
    color: black;
}

.page-services main {
    background: #f2f2f2;
}

.page-services .price-box,
.page-services .car-listing-filter,
.page-services .car-box {
    background-color: white;


}

footer {
    background: #333;
    color: white;
    text-align: left;
    padding-top: 72px;
    padding-bottom: 72px;
    border-top: var(--standard-line-weight) solid #757575;
}

footer h4 {
    margin-top: 0px;
}

footer h4~h4 {
    margin-top: 36px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    white-space: nowrap;
    gap: 40px;
    flex-wrap: wrap;
}

.footer-icon {
    width: 72px;
    display: block;
    margin-bottom: 36px;
}

.footer-menu a,
.secondary-footer-menu a {
    display: block;
    color: white;
}

.fancy-underline {
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
}

.fancy-underline span {
    position: relative;
    z-index: 1;
}

.underline {
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 100%;
    height: 0.5rem;
    stroke: currentColor;
    fill: none;
    stroke: white;
    /* Hier die neue Farbe einfügen */
}

.social-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.social-icons img {
    width: 36px;
    box-shadow: 0px 0px 3px #52677e;
}



body {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    margin: 0;
}


.car-listing-content {
    display: grid;
    gap: 20px;
    grid-template-columns: 1fr 3.5fr;
    align-items: start;
}

.car-listing-filter h3:first-child {
    margin-top: 0px;
}

.car-listing-cars {
    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.car-listing-cars.full-width {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-bottom: 40px;
}
/*
.car-listing-cars.full-width a:nth-child(5),
.car-listing-cars.full-width a:nth-child(6) {
    display: none;
}
*/

.car-box {
    color: black;
}

.car-box img {
    width: 100%;
}

.car-box h4 {
    margin-top: 0px;
}

.car-listing-filter .dropdown-form-element,
.car-listing-filter .form-radio,
.car-listing-filter .form-radio.selected {
    background-color: #f6f6f6;
}

.car-listing-filter .form-radio-container,
.car-listing-filter .form-element-container {
    margin-top: 0px;
    margin-bottom: 0px;
}

.car-listing-filter .radio-items {
    margin-left: 0px;
}

.car-listing-filter .slider-container {
    width: auto;
}

.car-listing-cars h4 {
    margin-bottom: 0px;
}

.car-detail-price-and-miles {
    display: flex;
    justify-content: space-between;
}

.car-detail-price-and-miles :nth-child(2) {
    text-align: right;
}

.car-box h4 {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    /* Adjust as needed */
}


.hoverbox {
    position: relative;
    display: inline-block;
}

.hovercontent {
    display: none;
    position: absolute;
    top: 100%;
    /* Position it below the icon */
    left: 50%;
    transform: translateX(-50%);
    background-color: white;
    padding: 10px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
    width: fit-content;
    white-space: nowrap;
}

.hovercontent::before {
    content: "";
    position: absolute;
    top: -10px;
    /* Position the triangle */
    left: 50%;
    transform: translateX(-50%);
    border-width: 0 10px 10px 10px;
    /* Create the triangle */
    border-style: solid;
    border-color: transparent transparent white transparent;
}

.hoverbox:hover .hovercontent {
    display: block;
}

.hovercontent a {
    display: block;
}



/** car detail page **/


.additional-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 20px;
}

@media (max-width:900px) {
    .additional-features {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width:600px) {
    .additional-features {
        grid-template-columns: 1fr;
    }
}

.feature {
    display: grid;
    grid-template-columns: 50px auto;
    gap: 10px;
    align-items: center;
}

.feature img {
    width: 40px;
    height: 40px;
}

.feature-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.feature-info div:first-child {

    color: #333;
    color: #48555d;
}

.feature-info div:last-child {
    font-size: 16px;
    font-weight: bold;
    color: #000;
}




.price-and-brand {
    display: flex;
    align-items: center;
    gap: 20px;
    row-gap: 5px;
    white-space: nowrap;
    flex-wrap: wrap;
}

.car-brand img {
    max-width: 100%;
    max-height: 50px;
    align-self: center;
    justify-self: center;
}

.title-and-brand {
    display: grid;
    grid-template-columns: 2fr 0.5fr;
    margin-bottom: 20px;
}

.car-brand {
    display: flex;
    justify-content: right;
    align-items: center;
}

.car-assistance-systems {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    padding-top: 10px;
    margin-bottom: 40px;
}

.car-assistance-systems>div {
    display: flex;
    gap: 10px;
    align-items: center;
    font-weight: bold;
}

.car-detail-description h2 {
    margin-top: 20px;
}

.not-found {
    text-align: center;
}

.not-found a.form-button {
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.company-pictures {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 20px;
}

.company-pictures img {
    width: 100%;
    border-radius: 7px;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.10), 0px 0px 6px rgba(0, 0, 0, 0.10);
    background: #f2f2f2;
    border: 1px solid #e0e0e0;
}

.footer-background {
    background: url(/images/footer-bg-noise-2.webp);
    background-size: cover;
}

footer {
    background: #3c536ac4;
}


.page-home .car-listing h1:first-child {
    margin-top: 38px;
}

.car-brands+h1 {
    margin-top: 0px;
}


.show-filter {
    display: none;
}



.car-intro {
    margin-left: -72px;
    margin-right: -72px;
    padding-left: 72px;
    padding-right: 72px;
    background: #333;
    color: white;
    padding-bottom: 38px;
    margin-top: -24px;
    padding-top: 24px;
}


body .show-filter a.form-button {
    width: auto;
    background: linear-gradient(0deg, #4d4d4d, #706f6f);
    border-color: #777777;
    outline-color: #565656;
    display: flex;
    gap: 10px;
}

/** services **/


.box {
    background-color: #1e90ff;
    /* Box-Farbe */
    background: linear-gradient(45deg, #a8dadc, #457b9d);
    /* Pastellfarben Verlauf für die Box */
    background: linear-gradient(45deg, #93c6e7, #457b9d);
    background: linear-gradient(45deg, #434343, #353535);
    background: linear-gradient(45deg, #434343c9, #353535de), url(/images/footer-bg-noise-2.webp);
    background: linear-gradient(45deg, #e8e7e7c9, #7a7a7ade), url(/images/footer-bg-noise-2.webp);
    display: flex;
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
}

.title-and-brand h1 {
    margin-bottom: 0px;
}

.box-content {
    padding: 30px;
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: white;
    color: #e2fcff;
    color: black;
}

.box-content h2 {
    margin: 0 0 10px;
    font-size: 28px;
    color: white;
    color: black;
}

.box-content p {
    margin: 0 0 20px;
}

.action-button {
    background: linear-gradient(45deg, #457b9d, #1d3557);
    /* Dunklerer Verlauf für den Button */
    background: linear-gradient(45deg, #3e6f8e, #1b4966);
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
    transition: background, top, left 0.3s ease;
    position: relative;
    top: 0px;
    left: 0px;
    text-align: center;
    background: #323232;
}

.action-button:hover {
    background: linear-gradient(45deg, #29526b, #11354c);
    background: #272727;
    color: white;
    /* Button hover Effekt */
}

.action-button:active {
    top: 2px;
    left: 2px;
}

.box-image {
    position: relative;
    width: 50%;
    overflow: hidden;
}

.box-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    clip-path: polygon(10% 0%, 100% 0%, 100% 100%, 0% 100%);
    /* Schräge Linie */
}

.one-service-container .box-image img {
    clip-path: polygon(5% 0%, 100% 0%, 100% 100%, 0% 100%);
    /* Schräge Linie für einspaltige Boxen */
}


@media (max-width: 600px) {

    body .contact-grid {
        grid-template-columns: 1fr;
    }

    .box {
        flex-direction: column;
    }

    .box-content {
        width: 100%;
        box-sizing: border-box;
    }

    .box-image {
width: 100%;
        box-sizing: border-box;
    }

    .one-service-container .box-image img, .box-image img {
        clip-path: none;
        position: static;
    }

    .car-filter {
        display: none;
    }
    .show-filter {
        display: block;
    }

    .is-filtered .car-filter {
        display: block;
    }
    .is-filtered .show-filter {
        display: none;
    }
    .car-listing-content {
        grid-template-columns: 1fr;
    }
}


@media (max-width:1350px) {
    .short-infos {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

@media (max-width:1300px) {
    .car-brands {
        grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
    }
}

@media (max-width:1200px) {
    .hideable {
        display: none;
    }

    .car-brands {
        grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    }
}

@media (max-width:1100px) {
    .car-brands {
        grid-template-columns: 1fr 1fr 1fr 1fr 1fr;

    }

    .company-pictures {
        grid-template-columns: 1fr 1fr;
    }

    .car-listing-cars.full-width {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

   /* .car-listing-cars.full-width a:nth-child(5),
    .car-listing-cars.full-width a:nth-child(6) {
        display: block;
    }*/

    .car-listing-cars {
        grid-template-columns: 1fr 1fr;
    }

    .short-infos {
        grid-template-columns: 1fr 1fr;
    }

    .info-box {
        grid-template-columns: 4fr 3fr;
        gap: 40px;
    }

    .additional-pictures {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width:1000px) {

    .car-brands {
        grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    }

    .detail-pictures {
        grid-template-columns: 1fr;
    }
}

@media (max-width:900px) {
    .content-box,
    .page,
    .footer-content {
        padding-left: 50px;
        padding-right: 50px;
        padding-bottom: 50px;
    }

    .car-intro {
        margin-left: -50px;
        margin-right: -50px;
        padding-left: 50px;
        padding-right: 50px;
    }

    .page-services main { 
        padding-top: 50px;
    }

    .car-brands {
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }

    .car-listing-cars.full-width {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .car-listing-cars {
        grid-template-columns: 1fr;
    }

    .short-infos {
        grid-template-columns: 1fr 1fr 1fr;
    }

    .info-box {
        grid-template-columns: 1fr;
    }
}

@media (max-width:800px) {

    .car-brands {
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }
}

@media (max-width:750px) {
    .short-infos {
        grid-template-columns: 1fr 1fr;
    }

    .additional-pictures {
        grid-template-columns: 1fr;
    }
}

@media (max-width:700px) {

    .car-brands {
        grid-template-columns: 1fr 1fr 1fr;
    }

    .car-listing-cars.full-width {
        grid-template-columns: 1fr;
    }
}

@media (max-width:600px) {

    .car-brands {
        grid-template-columns: 1fr 1fr;
    }

    .company-pictures {
        grid-template-columns: 1fr;
    }

    .small-pictures {
        grid-template-columns: 1fr;
    }

    .footer-content {
        display: grid;
        grid-template-columns: 1fr;
    }

    .content-box, .page, .footer-content {
        padding-left: 30px;
        padding-right: 30px;
        padding-bottom: 30px;
    }

    .car-intro {
        margin-left: -30px;
        margin-right: -30px;
        padding-left: 30px;
        padding-right: 30px;
    }

    .page-services main {
        padding-top: 30px;
    }
    .mobile-header {
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media (max-width:550px) {
    .short-infos {
        grid-template-columns: 1fr;
    }
}

@media (max-width:500px) {

    .car-brands {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width:400px) {

    .car-brands {
        grid-template-columns: 1fr 1fr;
    }
}




/** MOBILE **/


/* Mobile Menu */
.mobile-menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;

}



.mobile-logo {
    max-height: 40px;
}

.mobile-menu-icon {
    width: 30px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.mobile-menu-icon span {
    height: 4px;
    background-color: #000;
    margin: 4px 0;
    transition: transform 0.6s, opacity 0.6s;
    border-radius: 8px;
    transform-origin: center;
}

.page-services .mobile-menu-icon span {
    background-color: white;
}

.mobile-menu-icon.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-icon.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-icon.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-menu-icon.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 11px);
    /* Top line moves down after rotating */
}

.mobile-menu-icon.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -11px);
    /* Bottom line moves up after rotating */
}

span.icon-menu-title {
    display: flex;
    gap: 10px;
    font-weight: bold;
}

.mobile-navigation li div {
    margin-left: 34px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.mobile-navigation {
    display: none;
    flex-direction: column;
    background-color: #fff;
    position: absolute;
    top: 108px;
    left: 0;
    width: 100%;
    padding: 20px;
    padding-left: 50px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

.mobile-navigation ul {
    list-style-type: none;
    padding: 0;
}

.mobile-navigation ul li {
    margin: 15px 0;
}

.mobile-navigation ul li:first-child {
    margin-top: 0px;
}

.mobile-navigation ul li a {
    text-decoration: none;
    color: #000;
    display: flex;
    gap: 10px;
}

/*
.mobile-navigation ul li.language-switcher img,
.mobile-navigation ul li.user-menu img {
    margin-right: 10px;
}
*/
.mobile-header {
    display: none;
}

@media (max-width: 900px) {



    .mobile-header {
        background-color: white;
        display: block;
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .standard-header {
        display: none;
    }

    .mobile-menu {
        display: flex;
    }

    .mobile-menu a {
        display: flex;
    }

    .mobile-navigation {
        display: none;
    }

    .mobile-navigation.show {
        display: flex;
    }

    .website-navigation {
        display: none;
    }
}


/** services **/

.page-services main {
    padding-top: 72px;
}

.service-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 30px;
}

.one-service-container {
    grid-template-columns: 1fr;
}

@media (max-width:950px) {
    .service-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}


.stars-rating {
    display: grid;
    gap: 10px;
    justify-items: center;
    grid-template-columns: 35px 35px 35px 35px 35px;
}

.stars-rating img {
    width: 100%;
}

.two-columns-ratings {
    display: grid;
    gap: 50px;
    grid-template-columns: 1fr 1fr;
    align-items: center;
}

@media (max-width:900px) {
    .two-columns-ratings {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.consumption-info {
    position: relative;
}

.consumption-display {
    position: relative;
}

.consumption-display.has-details {
    cursor: help;
}

.consumption-display.has-details .consumption-primary {
    display: inline-block;
    border-bottom: 1px dashed currentColor;
}

.consumption-details {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #2a2a2a;
    border: 1px solid #444;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    padding: 16px;
    min-width: 280px;
    max-width: 400px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    margin-top: 8px;
    color: #fff;
}

.consumption-display.has-details:hover .consumption-details {
    opacity: 1;
    visibility: visible;
}

.consumption-details-content {
    font-size: 14px;
    line-height: 1.4;
}

.consumption-section {
    margin-bottom: 16px;
}

.consumption-section:last-child {
    margin-bottom: 0;
}

.consumption-section h4 {
    margin: 0 0 12px 0;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    border-bottom: 1px solid #444;
    padding-bottom: 4px;
}

.consumption-grid {
    display: grid;
    gap: 8px;
}

.consumption-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 0;
}

.consumption-item.combined {
    border-top: 1px solid #444;
    margin-top: 8px;
    padding-top: 12px;
    font-weight: 600;
}

.consumption-item .label {
    color: #ccc;
    font-weight: 500;
}

.consumption-item .value {
    color: #fff;
    font-weight: 600;
    text-align: right;
}

/* Arrow pointing up to the trigger element */
.consumption-details::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #2a2a2a;
}

.consumption-details::after {
    content: '';
    position: absolute;
    top: -9px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 9px solid transparent;
    border-right: 9px solid transparent;
    border-bottom: 9px solid #444;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .consumption-details {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        min-width: 300px;
        max-width: 90vw;
    }
    
    .consumption-details::before,
    .consumption-details::after {
        display: none;
    }
}

.feature-list {
    line-height: 1.6;
}

.feature-item {
    position: relative;
    display: inline;
}

.feature-item.has-description {
    cursor: help;
}

.feature-item.has-description .feature-name {
    border-bottom: 1px dotted currentColor;
}

.feature-tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #2a2a2a;
    border: 1px solid #444;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    padding: 12px 16px;
    min-width: 200px;
    max-width: 300px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    margin-bottom: 8px;
    color: #fff;
    font-size: 14px;
    line-height: 1.4;
    text-align: left;
}

.feature-item.has-description:hover .feature-tooltip {
    opacity: 1;
    visibility: visible;
}

.feature-tooltip-content {
    word-wrap: break-word;
}

/* Arrow pointing down to the feature */
.feature-tooltip::before {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid #2a2a2a;
}

.feature-tooltip::after {
    content: '';
    position: absolute;
    bottom: -9px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 9px solid transparent;
    border-right: 9px solid transparent;
    border-top: 9px solid #444;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .feature-tooltip {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        bottom: auto;
        min-width: 280px;
        max-width: 90vw;
        margin-bottom: 0;
    }
    
    .feature-tooltip::before,
    .feature-tooltip::after {
        display: none;
    }
}























.price-rating-container {
    margin: 30px 0;
}

.price-rating-title {
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

.price-rating-subtitle {
    color: #666;
    line-height: 1.4;
    margin-bottom: 25px;
}

.price-rating-display {
    position: relative;
    width: 100%;
    padding-top: 100px; /* Space for the pointer */
}

.current-price-pointer {
    position: absolute;
    top: -0px;
    z-index: 10;
    transform: translateX(-50%);
    text-align: center;
}

.price-box {
    padding: 8px 12px;
    border-radius: 6px;
    margin-bottom: -1px;
    min-width: 120px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.price-amount {
    color: white;
    font-weight: bold;
    margin-bottom: 4px;
    white-space: nowrap;
}

.price-label {
    color: white;
    font-weight: bold;
    margin: 0;
}

.arrow-pointer {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 15px;
    margin: 0;
}

.price-rating-bars {
    display: flex;
    width: 100%;
    height: 10px;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin: 0; /* No margin - arrow points directly to this */
}

.price-bar {
    flex: 1;
    height: 100%;
}

.price-rating-info {
    display: flex;
    width: 100%;
    margin-top: 15px;
}

.price-info-item {
    flex: 1;
    text-align: center;
    padding: 0 4px;
}

.price-info-title {
    font-weight: bold;
    margin-bottom: 4px;
    line-height: 1.2;
}

.price-info-range {
    color: #333;
    line-height: 1.2;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .price-rating-title {
        font-size: 16px;
    }
    
    .price-rating-subtitle {
        font-size: 13px;
    }
    
    .price-rating-display {
        padding-top: 70px;
    }
    
    .price-box {
        min-width: 100px;
        padding: 6px 10px;
    }
    
    .price-amount {
        font-size: 14px;
    }
    
    .price-label {
        font-size: 11px;
    }
    
    .arrow-pointer svg {
        width: 18px;
        height: 13px;
    }
    
    .price-info-title {
        font-size: 11px;
    }
    
    .price-info-range {
        font-size: 10px;
    }
}

@media (max-width: 480px) {
    .price-rating-display {
        padding-top: 65px;
    }
    
    .price-box {
        min-width: 90px;
        padding: 5px 8px;
    }
    
    .price-amount {
        font-size: 13px;
    }
    
    .price-label {
        font-size: 10px;
    }
    
    .arrow-pointer svg {
        width: 16px;
        height: 12px;
    }
    
    .price-info-item {
        padding: 0 2px;
    }
    
    .price-info-title {
        font-size: 10px;
    }
    
    .price-info-range {
        font-size: 9px;
    }
}