/* =========================================
   Made4Cars – Grundlayout
   ========================================= */

body.site .grid-child.container-component {
    max-width: 1400px;
    width: 94%;
    margin-left: auto;
    margin-right: auto;
}

.com-content-article img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.com-content-article h1 {
    margin-top: 20px;
    margin-bottom: 10px;
    font-weight: 800;
}





/* =========================================
   Button
   ========================================= */

.btn-made4cars {
    display: inline-block;
    padding: 12px 24px;
    background: #8bc34a;
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    border-radius: 4px;
}

.btn-made4cars:hover {
    background: #75a93c;
    color: #ffffff;
    text-decoration: none;
}


/* =========================================
   Hero
   ========================================= */

.made4cars-hero {
    position: relative;
    width: 100%;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
    border-radius: 8px;
}

.made4cars-hero img {
    display: block;
    width: 100%;
    height: auto;
}

.made4cars-hero-text {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    padding: 35px 40px;
    box-sizing: border-box;
    color: #ffffff;
    background: linear-gradient(
        to top,
        rgba(10, 20, 40, 0.90) 0%,
        rgba(10, 20, 40, 0.60) 55%,
        rgba(10, 20, 40, 0) 100%
    );
}

.made4cars-hero-text h1 {
    margin: 5px 0 10px;
    color: #ffffff;
    font-size: 2.8rem;
}

.made4cars-hero-text p {
    margin: 0 0 15px;
    color: #ffffff;
}

.made4cars-hero-text .hero-small {
    margin-bottom: 5px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
}


/* =========================================
   Vorteile
   ========================================= */

.made4cars-benefits {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin: 0 0 35px;
    padding: 22px 15px;
    background: #f5f6f8;
    border-radius: 0 0 8px 8px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 5px 20px;
    border-right: 1px solid #d9dde3;
}

.benefit-item:last-child {
    border-right: none;
}

.benefit-icon {
    display: flex;
    flex: 0 0 42px;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 2px solid #59e31a;
    border-radius: 50%;
    color: #59e31a;
    font-size: 22px;
    font-weight: 700;
}

.benefit-item h3 {
    margin: 0 0 4px;
    font-size: 1rem;
    font-weight: 700;
}

.benefit-item p {
    margin: 0;
    font-size: 0.82rem;
    line-height: 1.3;
}


/* =========================================
   Leistungen
   ========================================= */

.made4cars-services {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 20px;
    margin-bottom: 30px;
}

.service-card {
    padding: 25px;
    background: #f5f6f8;
    border-left: 5px solid #8bc34a;
    border-radius: 8px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
}

.service-card h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-weight: 700;
}

.service-card p {
    margin: 0;
}


/* =========================================
   Footer
   ========================================= */

.container-footer .grid-child {
    justify-content: center;
    text-align: center;
}

.container-footer .mod-menu {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 30px;
}

.container-footer .mod-menu a {
    color: #ffffff;
    text-decoration: none;
}

.container-footer .mod-menu a:hover {
    color: #8bc34a;
    text-decoration: none;
}


/* =========================================
   Tablet
   ========================================= */

@media (max-width: 1000px) {

    .made4cars-benefits {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .benefit-item {
        border-right: none;
    }
}


/* =========================================
   Smartphone
   ========================================= */

@media (max-width: 768px) {

    .made4cars-services {
        grid-template-columns: 1fr;
    }

    .made4cars-hero-text {
        padding: 20px;
    }

    .made4cars-hero-text h1 {
        font-size: 2rem;
    }
}

@media (max-width: 600px) {

    .made4cars-benefits {
        grid-template-columns: 1fr;
    }
}
/* =========================================
   Made4Cars Header
   Logo links – Menü rechts
   ========================================= */

@media (min-width: 769px) {

    body.site .container-header {
        display: flex;
        align-items: center;
    }

    body.site .container-header .container-nav {
        margin-left: auto;
        margin-right: calc((100% - 1200px) / 2);
        width: auto;
        max-width: none;
    }
}

/* Hero direkt unter den Header */
body.site .site-grid {
    margin-top: 0;
}
/* Leistungsbild – Inspektion */
.service-inspektion {
    background-image: url('/images/Leistung/Inspektion.png');
}

.service-image {
    height: 180px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
/* Leistungsbild – Reparatur */
.service-reparatur {
    background-image: url('/images/Leistung/Reparatur.png');
}
/* Leistungsbild – Diagnose */
.service-diagnose {
    background-image: url('/images/Leistung/Diagnose.png');
}
/* Leistungsbild – Reifenservice */
.service-reifen {
    background-image: url('/images/Leistung/Reifenservice.png');
}
/* Leistungsbild – Klimaservice */
.service-klima {
    background-image: url('/images/Leistung/Klimaservice.png');
}
/* Leistungsbild – HU/AU */
.service-hu {
    background-image: url('/images/Leistung/HU_AU.png');
}
/* Leistungsbilder über volle Kartenbreite */
.service-card {
    overflow: hidden;
}

.service-image {
    height: 160px;
    margin: -25px -25px 15px -25px;
    background-size: cover;
    background-position: center;
}
/* Einheitliche Leistungskarten */
.service-card {
    display: flex;
    flex-direction: column;
    min-height: 290px;
}

.service-card .service-arrow {
    margin-top: auto;
}
/* Pfeile der Leistungskarten */
.service-arrow {
    display: block;
    color: #55d91f;
    font-size: 24px;
    font-weight: bold;
    line-height: 1;
    padding-top: 10px;
}
/* Hero über die gesamte Browserbreite */
.made4cars-hero {
    width: 100vw;
    max-width: none;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

.made4cars-hero img {
    width: 100%;
    height: clamp(420px, 45vw, 650px);
    object-fit: cover;
    display: block;
}
/* Vorteile unter dem Hero ebenfalls volle Browserbreite */
.made4cars-benefits {
    width: 100vw;
    max-width: none;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}
/* Leistungen über volle Browserbreite */
.made4cars-services {
    width: 100vw;
    max-width: none;
    position: relative;
    left: 50%;
    transform: translateX(-50%);

    grid-template-columns: repeat(6, 1fr);
    gap: 16px;

    padding-left: 30px;
    padding-right: 30px;
}
/* Weißen Abstand zwischen Header und Hero entfernen */
body.site .site-grid {
    margin-top: 0 !important;
}

body.site main {
    padding-top: 0 !important;
}

body.site .com-content-article {
    margin-top: 0 !important;
}
/* =========================================
   Made4Cars Dark Design
   ========================================= */

/* Gesamter Seitenhintergrund */
body.site {
    background: #111518;
    color: #ffffff;
}

/* Header – Anthrazit statt Blau */
body.site .container-header {
    background: #1b2023 !important;
    background-image: none !important;
}

/* Navigation */
body.site .container-header .mod-menu a {
    color: #ffffff;
}

body.site .container-header .mod-menu a:hover,
body.site .container-header .mod-menu .active > a {
    color: #59e31a;
}

/* Vorteilsleiste unter dem Titelbild */
.made4cars-benefits {
    background: #1b2023 !important;
    color: #ffffff;
}

.made4cars-benefits h3 {
    color: #ffffff;
}

.made4cars-benefits p {
    color: #b9bec2;
}

/* Bereich Leistungen */
body.site h2 {
    color: #ffffff;
}

/* Leistungskarten */
.service-card {
    background: #1b2023 !important;
    color: #ffffff;
    border-color: #59e31a !important;
}

.service-card h3 {
    color: #ffffff;
}

.service-card p {
    color: #b9bec2;
}

.service-arrow {
    color: #59e31a !important;
}

/* Footer ebenfalls dunkel */
body.site footer,
body.site .container-footer {
    background: #1b2023 !important;
    color: #ffffff;
}
/* =========================================
   Made4Cars Leistungsbereich
   ========================================= */

/* Überschrift */
.made4cars-services {
    margin-top: 20px;
}

.made4cars-services + * {
    color: #fff;
}

/* Leistungskarten */
.service-card {
    background: #1b2023 !important;
    border: none !important;
    border-radius: 8px;
    overflow: hidden;
    color: #fff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.service-card h3 {
    color: #fff !important;
}

.service-card p {
    color: #b9bec2 !important;
}

.service-arrow {
    color: #59e31a !important;
}

/* Bilder oben leicht abrunden */
.service-image {
    border-radius: 8px 8px 0 0;
}
/* Überschrift Unsere Leistungen */
.made4cars-benefits + h2 {
    text-align: center;
    margin: 42px 0 22px;
    position: relative;
    padding-top: 18px;
    color: #ffffff !important;
}

.made4cars-benefits + h2::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 55px;
    height: 3px;
    background: #59e31a;
    border-radius: 2px;
}
/* Grüner Akzent für Leistungskarten */
.service-card {
    border-top: 3px solid #59e31a !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(89, 227, 26, 0.18);
}
/* Abstand der Leistungskarten zum Bildschirmrand */
.made4cars-services {
    width: calc(100vw - 100px);
    padding-left: 0;
    padding-right: 0;
}
/* =========================================
   Made4Cars Navigation als Buttons
   ========================================= */

body.site .container-header .mod-menu {
    gap: 10px;
}

body.site .container-header .mod-menu > li > a {
    display: block;
    padding: 9px 18px;
    border: 1px solid #3a4145;
    border-radius: 6px;
    background: #242a2e;
    color: #ffffff !important;
    text-decoration: none;
    transition: all 0.25s ease;
}

/* Maus darüber */
body.site .container-header .mod-menu > li > a:hover {
    background: #30373b;
    border-color: #59e31a;
    color: #59e31a !important;
    transform: translateY(-2px);
}

/* Aktuelle Seite */
body.site .container-header .mod-menu > li.active > a,
body.site .container-header .mod-menu > li.current > a {
    background: #59e31a;
    border-color: #59e31a;
    color: #111518 !important;
    font-weight: 700;
}
/* =========================================
   Made4Cars Footer-Menü
   ========================================= */

body.site footer .mod-menu,
body.site .container-footer .mod-menu {
    display: flex;
    justify-content: center;
    gap: 0;
}

body.site footer .mod-menu li + li,
body.site .container-footer .mod-menu li + li {
    border-left: 1px solid #454b4f;
}

body.site footer .mod-menu a,
body.site .container-footer .mod-menu a {
    color: #aeb4b8 !important;
    padding: 4px 14px;
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.2s ease;
}

body.site footer .mod-menu a:hover,
body.site .container-footer .mod-menu a:hover {
    color: #59e31a !important;
}
/* =========================================
   Made4Cars Gebrauchtwagen
   ========================================= */

.made4cars-cars {
    width: calc(100vw - 100px);
    margin: 45px auto;
}

/* Überschrift */
.made4cars-cars > h3 {
    color: #ffffff;
    text-align: center;
    font-size: 1.7rem;
    margin-bottom: 25px;
}

/* Fahrzeugliste */
.made4cars-cars .mod-articles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

/* Einzelnes Fahrzeug */
.made4cars-cars .mod-articles > div {
    background: #1b2023;
    border-top: 3px solid #59e31a;
    border-radius: 8px;
    overflow: hidden;
    padding: 0 18px 20px;
    box-shadow: 0 4px 14px rgba(0,0,0,.25);
}

/* Fahrzeugbild */
.made4cars-cars img {
    width: calc(100% + 36px);
    max-width: none;
    height: 230px;
    object-fit: cover;
    display: block;
    margin: 0 -18px 16px;
}

/* Fahrzeugtitel */
.made4cars-cars h4,
.made4cars-cars h4 a {
    color: #ffffff !important;
    text-decoration: none;
}

/* Text */
.made4cars-cars p {
    color: #b9bec2;
}

/* Links */
.made4cars-cars a {
    color: #59e31a;
}

/* Smartphone */
@media (max-width: 768px) {
    .made4cars-cars {
        width: calc(100% - 30px);
    }

    .made4cars-cars .mod-articles {
        grid-template-columns: 1fr;
    }
}
/* Gebrauchtwagenbild begrenzen */
.made4cars-cars img {
    width: 100% !important;
    max-width: 420px !important;
    height: 260px !important;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
    margin: 0 !important;
}
/* =========================================
   Made4Cars Gebrauchtwagen – Kartenlayout
   ========================================= */

.made4cars-cars {
    width: calc(100% - 50px);
    max-width: 1500px;
    margin: 40px auto 55px !important;
}

/* Überschrift Gebrauchtwagen */
.made4cars-cars > h3 {
    text-align: center;
    color: #ffffff;
    font-size: 1.7rem;
    margin: 0 0 25px;
}

/* Fahrzeugbereich – maximal 3 nebeneinander */
.made4cars-cars .mod-articles {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    width: 100%;
}

/* Fahrzeugkarte */
.made4cars-cars .mod-articles > div {
    background: #1b2023;
    border-top: 3px solid #59e31a;
    border-radius: 7px;
    overflow: hidden;
    padding: 0 18px 20px;
    box-shadow: 0 4px 14px rgba(0,0,0,.25);
}

/* Fahrzeugbild */
.made4cars-cars img {
    width: calc(100% + 36px) !important;
    max-width: none !important;
    height: 250px !important;
    object-fit: cover;
    display: block;
    margin: 0 -18px 16px !important;
}

/* Fahrzeugtitel */
.made4cars-cars h4,
.made4cars-cars h4 a {
    color: #ffffff !important;
    font-size: 1.2rem;
    text-decoration: none;
}

/* Fahrzeugbeschreibung */
.made4cars-cars p {
    color: #c5c9cb;
    line-height: 1.55;
}

/* Smartphone */
@media (max-width: 768px) {
    .made4cars-cars .mod-articles {
        grid-template-columns: 1fr;
    }

    .made4cars-cars {
        width: calc(100% - 30px);
    }
}
/* Gebrauchtwagen – Bildbreite korrigieren */
.made4cars-cars .mod-articles img {
    width: 100% !important;
    max-width: 100% !important;
    height: 260px !important;
    object-fit: cover !important;
    margin: 0 !important;
    border-radius: 6px 6px 0 0;
}
/* Gebrauchtwagen – Kartenbreite */
.made4cars-cars .mod-articles {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 24px !important;
    max-width: 1200px;
    margin: 0 auto;
}

.made4cars-cars .mod-articles > * {
    min-width: 0;
    background: #1b2023;
    border-top: 3px solid #59e31a;
    border-radius: 7px;
    overflow: hidden;
    padding: 0 18px 20px;
    box-shadow: 0 4px 14px rgba(0,0,0,.25);
}

/* Bei nur einem Fahrzeug trotzdem Kartenbreite */
.made4cars-cars .mod-articles > *:only-child {
    max-width: 384px;
}
/* =========================================
   Made4Cars Gebrauchtwagen – 3 Karten
   ========================================= */

.made4cars-cars .mod-articles-items {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 24px !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 !important;
}

.made4cars-cars .mod-articles-item {
    background: #1b2023;
    border-radius: 7px;
    overflow: hidden;
    padding: 0 0 18px 0 !important;
    list-style: none !important;
    border-top: 3px solid #55e61b;
}

.made4cars-cars .mod-articles-item img {
    width: 100% !important;
    height: 220px !important;
    object-fit: cover !important;
    display: block;
    margin: 0 !important;
}

.made4cars-cars .mod-articles-title,
.made4cars-cars .mod-articles-item p {
    margin-left: 18px !important;
    margin-right: 18px !important;
}

@media (max-width: 900px) {
    .made4cars-cars .mod-articles-items {
        grid-template-columns: 1fr !important;
    }
}
/* Gebrauchtwagen bei weniger als 3 Fahrzeugen zentrieren */

.made4cars-cars .mod-articles-items:has(> :only-child) {
    grid-template-columns: minmax(0, 380px) !important;
    justify-content: center !important;
}

.made4cars-cars .mod-articles-items:has(> :first-child:nth-last-child(2)) {
    grid-template-columns: repeat(2, minmax(0, 380px)) !important;
    justify-content: center !important;
}
/* Gebrauchtwagen – Preis Made4Cars Grün */
.made4cars-cars .mod-articles-item h3 {
    color: #55e61b !important;
    font-size: 1.25rem;
    font-weight: 700;
    margin-top: 14px !important;
    margin-bottom: 4px !important;
}
/* =========================================
   Gebrauchtwagen – Weiterlesen Button
   ========================================= */

.made4cars-cars .mod-articles-link {
    display: inline-block;
    background: #151b1e;
    color: #59e31a !important;
    border: 1px solid #59e31a;
    border-radius: 4px;
    padding: 7px 14px;
    text-decoration: none;
    font-weight: 600;
}

.made4cars-cars .mod-articles-link:hover {
    background: #59e31a;
    color: #0d1215 !important;
}
/* Gebrauchtwagen – Weiterlesen Button erzwingen */
.made4cars-cars a.mod-articles-link,
.made4cars-cars .mod-articles-link a,
.made4cars-cars a.btn {
    background: #151b1e !important;
    color: #59e31a !important;
    border: 1px solid #59e31a !important;
    border-radius: 4px !important;
    padding: 7px 14px !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    box-shadow: none !important;
}

.made4cars-cars a.mod-articles-link:hover,
.made4cars-cars .mod-articles-link a:hover,
.made4cars-cars a.btn:hover {
    background: #59e31a !important;
    color: #0d1215 !important;
}
/* =========================================
   Gebrauchtwagen – Fahrzeug Detailseite
   ========================================= */

body.view-article .com-content-article {
    max-width: 1100px;
    margin: 0 auto;
}

body.view-article .com-content-article p,
body.view-article .com-content-article li {
    font-size: 1rem;
    line-height: 1.6;
}
/* Fahrzeug-Detailseite – gut lesbare Schrift */
body.view-article .com-content-article {
    font-size: 16px !important;
}

body.view-article .com-content-article p,
body.view-article .com-content-article li {
    font-size: 16px !important;
    line-height: 1.6 !important;
}
/* Fahrzeug-Detailseite – Preis */
body.view-article .com-content-article__body > h3 {
    color: #59e31a !important;
    font-size: 1.6rem;
    font-weight: 700;
    margin: 18px 0 10px;
}
/* Fahrzeug-Detailseite – Datentabelle */
body.view-article .com-content-article__body table {
    width: 100%;
    max-width: 600px;
    margin: 18px 0 28px;
    border-collapse: collapse;
    background: #1b2023;
    border-top: 3px solid #59e31a;
}

body.view-article .com-content-article__body table td {
    padding: 12px 16px;
    border-bottom: 1px solid #343a3e;
    color: #ffffff;
}

body.view-article .com-content-article__body table td:first-child {
    width: 50%;
    font-weight: 700;
    color: #b9bec2;
}

body.view-article .com-content-article__body table tr:last-child td {
    border-bottom: none;
}
/* Fahrzeug-Detailseite – Ausstattung als Raster */
body.view-article .com-content-article__body h2 + ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 20px;
    max-width: 600px;
    margin: 12px 0 30px;
    padding: 0;
    list-style: none;
}

body.view-article .com-content-article__body h2 + ul li {
    background: #1b2023;
    padding: 10px 14px;
    border-left: 3px solid #59e31a;
    border-radius: 4px;
}
/* Fahrzeug-Detailseite – Anfragebutton */
body.view-article .com-content-article__body a[href*="kontakt"] {
    display: inline-block;
    margin-top: 22px;
    padding: 12px 24px;
    background: #59e31a;
    color: #111518 !important;
    border: 1px solid #59e31a;
    border-radius: 5px;
    font-weight: 700;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

body.view-article .com-content-article__body a[href*="kontakt"]:hover {
    background: transparent;
    color: #59e31a !important;
}
/* Fahrzeug-Detailseite – Fahrzeugname */
body.view-article .com-content-article__body > p:first-child {
    font-size: 2rem !important;
    line-height: 1.2 !important;
    font-weight: 800;
    color: #ffffff;
    margin: 18px 0 8px !important;
}
/* Fahrzeug-Detailseite – Abstände optimieren */
body.view-article .com-content-article__body table {
    margin-bottom: 22px !important;
}

body.view-article .com-content-article__body table + p {
    margin: 0 !important;
    height: 0 !important;
}

body.view-article .com-content-article__body table + p + h2 {
    margin-top: 22px !important;
}
/* Hauptmenü bei Desktop immer nebeneinander */
@media (min-width: 769px) {
    body.site .container-header .mod-menu {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center;
        gap: 18px;
    }

    body.site .container-header .mod-menu > li {
        flex: 0 0 auto !important;
        white-space: nowrap;
    }
}
/* =========================================
   Made4Cars – Kontaktformular
   ========================================= */

body.view-contact .com-contact {
    max-width: 1100px;
    margin: 0 auto;
}

/* Eingabefelder */
body.view-contact .form-control {
    background: #1b2023 !important;
    color: #ffffff !important;
    border: 1px solid #343b3f !important;
    border-radius: 4px !important;
    padding: 12px 14px !important;
}

body.view-contact .form-control:focus {
    border-color: #59e31a !important;
    box-shadow: 0 0 0 2px rgba(89, 227, 26, 0.15) !important;
    outline: none !important;
}

/* Beschriftungen */
body.view-contact label {
    color: #ffffff;
    font-weight: 600;
}

/* Überschriften */
body.view-contact h1,
body.view-contact h2,
body.view-contact h3 {
    color: #ffffff;
}

/* Links */
body.view-contact .com-contact a {
    color: #59e31a;
}

/* Senden-Button */
body.view-contact button.btn-primary,
body.view-contact .btn-primary {
    background: #59e31a !important;
    border-color: #59e31a !important;
    color: #0d1215 !important;
    font-weight: 700;
    border-radius: 4px;
    padding: 10px 20px;
}

body.view-contact button.btn-primary:hover,
body.view-contact .btn-primary:hover {
    background: #6df32e !important;
    border-color: #6df32e !important;
}
/* =========================================
   Made4Cars – Kontakt Banner
   ========================================= */

.made4cars-contact-banner {
    position: relative;
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;

    background:
    linear-gradient(rgba(13, 18, 21, 0.58), rgba(13, 18, 21, 0.78)),
    url("/images/Titelbild-Made4Cars.png");

    background-size: cover;
    background-position: center;
    border-bottom: 3px solid #59e31a;
}

.made4cars-contact-banner-content {
    position: relative;
    z-index: 2;
    padding: 30px;
}

.made4cars-contact-banner h1 {
    color: #ffffff;
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 700;
    margin: 0 0 8px;
}

.made4cars-contact-banner p {
    color: #ffffff;
    font-size: 1.25rem;
    margin: 0;
}
/* =========================================
   Made4Cars – Kontakt Infobox
   ========================================= */

body.view-contact .com-contact__info {
    background: #1b2023;
    border-left: 4px solid #59e31a;
    border-radius: 5px;
    padding: 20px 24px;
    margin: 10px 0 32px;
}
body.view-contact .com-contact__info {
    width: 100%;
    max-width: none;
}
/* Kontakt – doppelte Formularüberschrift ausblenden */
body.view-contact .com-contact__form legend {
    display: none !important;
}
/* Kontakt – Pflichtfeld-Hinweis dezenter */
body.view-contact .star {
    color: #aeb4b7;
    font-size: 0.85rem;
    font-weight: 400;
}
/* Kontakt – Abstand zwischen Infobox und Formular */
body.view-contact .com-contact__info {
    margin-bottom: 22px;
}
/* Kontaktformular – Überschrift wieder anzeigen */
body.view-contact .com-contact__form > h2,
body.view-contact .com-contact__form > h3 {
    display: block !important;
}
/* Kontakt – doppelte Überschrift unter dem Banner ausblenden */
body.view-contact .com-contact__container > h2 {
    display: none !important;
}
/* Kontakt – Infobox etwas breiter */
body.view-contact .com-contact__info {
    min-width: 420px;
}
/* =========================================
   Made4Cars – Leistungen Banner
   ========================================= */

.made4cars-leistungen-banner {
    position: relative;
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;

    background:
        linear-gradient(rgba(13, 18, 21, 0.58), rgba(13, 18, 21, 0.78)),
        url("/images/leistung-banner.png");

    background-size: cover;
    background-position: center;
    border-bottom: 3px solid #59e31a;
}

.made4cars-leistungen-banner-content {
    position: relative;
    z-index: 2;
    padding: 30px;
}

.made4cars-leistungen-banner h1 {
    color: #ffffff;
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 700;
    margin: 0 0 8px;
}

.made4cars-leistungen-banner p {
    color: #ffffff;
    font-size: 1.25rem;
    margin: 0;
}
/* =========================================
   Leistungen – Karten Feinschliff
   ========================================= */

body.itemid-102 .m4c-service-card {
    padding: 24px 20px;
    border-top: 3px solid #59e31a;
    border-radius: 6px;
    background: #1b2023;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

body.itemid-102 .m4c-service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
}
/* Leistungen – 3 Karten pro Reihe */
@media (min-width: 900px) {
    body.itemid-102 .made4cars-services {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}
/* Leistungen – Bilder in den Karten */
body.itemid-102 .made4cars-services .service-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    border-radius: 4px;
    margin-bottom: 12px;
}
/* Leistungen – stabiles 3x2 Raster */
body.itemid-102 .made4cars-services {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 12px !important;
    width: 100% !important;
}

body.itemid-102 .made4cars-services .service-card {
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
}
/* Leistungen – Kartenbereich breiter */
body.itemid-102 .made4cars-services {
    width: 100% !important;
    max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}
/* Leistungen – gesamten Inhaltsbereich verbreitern */
body.itemid-102 main {
    max-width: 1400px !important;
    width: 95% !important;
    margin-left: auto !important;
    margin-right: auto !important;
}
/* Leistungen – Artikelbreite vergrößern */
body.itemid-102 .com-content-article {
    max-width: 1400px !important;
    width: 95% !important;
}
/* Leistungen – Kartenbereich breiter */
body.itemid-102 .com-content-article {
    max-width: 1400px !important;
    width: 100% !important;
}

body.itemid-102 .made4cars-services {
    width: 100% !important;
}
/* Leistungen – Kartenbereich auf volle Breite */
body.itemid-102 .made4cars-services {
    max-width: none !important;
    width: 100% !important;
}
/* Leistungen – mehr Abstand zwischen den Karten */
body.itemid-102 .made4cars-services {
    gap: 18px !important;
}
/* Leistungen – Gesamtbreite vergrößern */
body.itemid-102 .com-content-article {
    max-width: 1500px !important;
}

body.itemid-102 .made4cars-services {
    max-width: 1500px !important;
}
/* Leistungen – Kartenbereich breiter */
body.itemid-102 .com-content-article,
body.itemid-102 .com-content-article__body {
    max-width: 1400px !important;
    width: 100% !important;
}

body.itemid-102 .made4cars-services {
    width: 100% !important;
    max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}
/* Leistungen – finales 3x2 Raster */
body.itemid-102 .made4cars-services {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 16px !important;

    width: 1200px !important;
    max-width: calc(100vw - 60px) !important;

    margin-left: auto !important;
    margin-right: auto !important;
}

body.itemid-102 .made4cars-services .service-card {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
}
/* Leistungen – Karten Feinschliff */
body.itemid-102 .made4cars-services .service-card {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    padding: 16px !important;
}

body.itemid-102 .made4cars-services .service-card img {
    display: block !important;
    width: 100% !important;
    height: 220px !important;
    object-fit: cover !important;
    margin: 0 0 14px 0 !important;
    border-radius: 3px !important;
}

body.itemid-102 .made4cars-services .service-card h3 {
    margin: 0 0 8px 0 !important;
}

body.itemid-102 .made4cars-services .service-card p {
    margin: 0 !important;
}
/* =========================================
   Startseite – Leistungen 3x2 Raster
   ========================================= */

body.itemid-101 .made4cars-services {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 18px !important;
}

body.itemid-101 .made4cars-services .service-card {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
}
/* =========================================
   Made4Cars – Google Bewertungen
   ========================================= */

.made4cars-reviews {
    max-width: 1200px;
    margin: 55px auto 30px;
    padding: 24px;
    background: #171c1f;
    border: 1px solid #30373b;
    border-radius: 14px;
}

/* obere Bewertungsbox */
.made4cars-reviews .reviews-summary {
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 18px;
    margin-bottom: 20px;
    background: #1b2023;
    border: 1px solid rgba(89, 227, 26, 0.35);
    border-radius: 12px;
}

.made4cars-reviews .reviews-score {
    width: 82px;
    height: 82px;
    flex: 0 0 82px;
    border-radius: 50%;
    background: #59e31a;
    color: #0d1215;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.made4cars-reviews .reviews-score strong {
    font-size: 28px;
    line-height: 1;
}

.made4cars-reviews .reviews-score span {
    font-size: 10px;
    font-weight: 700;
    margin-top: 5px;
}

.made4cars-reviews .reviews-summary-text h2 {
    margin: 0 0 6px;
    color: #ffffff;
    font-size: 22px;
}

.made4cars-reviews .reviews-summary-text p {
    margin: 0;
    color: #c8ced1;
}

/* drei Bewertungen */
.made4cars-reviews .reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.made4cars-reviews .review-card {
    position: relative;
    min-height: 260px;
    padding: 22px;
    background: #1b2023;
    border: 1px solid #343b3f;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
}

.made4cars-reviews .review-stars {
    color: #59e31a;
    font-size: 20px;
    letter-spacing: 3px;
    margin-bottom: 25px;
}

.made4cars-reviews .review-quote {
    position: absolute;
    right: 20px;
    top: 8px;
    color: rgba(89, 227, 26, 0.18);
    font-size: 65px;
    font-weight: 700;
}

.made4cars-reviews .review-card p {
    color: #e3e6e8;
    line-height: 1.65;
    margin: 0 0 22px;
}

.made4cars-reviews .review-author {
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #343b3f;
    display: flex;
    flex-direction: column;
}

.made4cars-reviews .review-author strong {
    color: #ffffff;
}

.made4cars-reviews .review-author span {
    color: #9fa7ab;
    font-size: 12px;
    margin-top: 3px;
}

/* Google Button */
.made4cars-reviews .reviews-google-button {
    display: table;
    margin: 22px auto 0;
    padding: 11px 22px;
    background: #59e31a;
    color: #0d1215 !important;
    border: 1px solid #59e31a;
    border-radius: 5px;
    font-weight: 700;
    text-decoration: none !important;
}

.made4cars-reviews .reviews-google-button:hover {
    background: #6df32e;
    border-color: #6df32e;
}

/* Smartphone */
@media (max-width: 768px) {
    .made4cars-reviews .reviews-grid {
        grid-template-columns: 1fr;
    }

    .made4cars-reviews .reviews-summary {
        align-items: flex-start;
    }
}
/* Bewertungen – kräftige grüne Linie oben */
.made4cars-reviews .review-card {
    border-top: 4px solid #59e31a !important;
}
/* Made4Cars – Gebrauchtwagen im Kartenraster */
.view-category .com-content-category-blog__items {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.view-category .com-content-category-blog__item {
  background: #1b2023;
  border-top: 3px solid #59e31a;
  border-radius: 6px;
  padding: 16px;
  box-sizing: border-box;
  min-width: 0;
}

.view-category .com-content-category-blog__item img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
}

.view-category .com-content-category-blog__item h2,
.view-category .com-content-category-blog__item h2 a {
  color: #ffffff;
}

@media (max-width: 800px) {
  .view-category .com-content-category-blog__items {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .view-category .com-content-category-blog__items {
    grid-template-columns: 1fr;
  }
}
/* Made4Cars – Gebrauchtwagen-Links und Buttons */
.view-category .com-content-category-blog__item h2 a,
.view-category .com-content-category-blog__item h2 a:visited {
  color: #ffffff !important;
  text-decoration: none !important;
}

.view-category .com-content-category-blog__item h2 a:hover {
  color: #59e31a !important;
}

.view-category .com-content-category-blog__item .readmore a,
.view-category .com-content-category-blog__item a.btn {
  display: inline-block;
  background: #1b2023 !important;
  color: #59e31a !important;
  border: 1px solid #59e31a !important;
  border-radius: 4px;
  padding: 8px 14px;
  text-decoration: none !important;
  transition: background 0.2s ease, color 0.2s ease;
}

.view-category .com-content-category-blog__item .readmore a:hover,
.view-category .com-content-category-blog__item a.btn:hover {
  background: #59e31a !important;
  color: #111111 !important;
}
/* Startseite – Bereich Unsere Leistungen auf 1200px ausrichten */
body.itemid-101 .made4cars-services {
    width: 1200px !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
}
/* Startseite – Gebrauchtwagen auf 1200px ausrichten */
body.itemid-101 .made4cars-cars {
    width: 1200px !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
}
/* Made4Cars – horizontalen Überstand verhindern */
html,
body.site {
    overflow-x: hidden !important;
}
/* ==================================================
   Made4Cars – Footer
   ================================================== */

.m4c-footer {
    width: 100%;
    color: #d7dcde;
    padding: 48px 30px 20px;
    box-sizing: border-box;
}

.m4c-footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.35fr 1fr 1fr 1.25fr;
    gap: 45px;
    align-items: start;
}

/* Logo */
.m4c-footer-logo {
    display: block;
    width: 250px;
    max-width: 100%;
    height: auto;
    margin-bottom: 22px;
}

/* Überschriften */
.m4c-footer h3 {
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 18px;
}

/* Texte */
.m4c-footer p {
    color: #c5cbce;
    line-height: 1.7;
    margin: 0 0 12px;
}

.m4c-footer strong {
    color: #ffffff;
}

/* Links */
.m4c-footer a {
    color: #ffffff !important;
    text-decoration: none !important;
}

.m4c-footer a:hover {
    color: #59e31a !important;
}

/* Navigation */
.m4c-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.m4c-footer li {
    margin-bottom: 11px;
}

.m4c-footer li::before {
    content: "•";
    color: #59e31a;
    font-weight: 700;
    margin-right: 10px;
}

/* Vorteile rechts */
.m4c-footer-benefits {
    padding-top: 30px;
}

.m4c-footer-benefits p {
    color: #ffffff;
    font-weight: 700;
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid #30383b;
}

.m4c-footer-benefits p::first-letter {
    color: #59e31a;
}

/* Untere Zeile */
.m4c-footer-bottom {
    max-width: 1200px;
    margin: 35px auto 0;
    padding-top: 18px;
    border-top: 1px solid #3b4346;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    color: #8f999d;
    font-size: 13px;
}

/* Footer-Bereich von Cassiopeia */
.container-footer {
    background: #0b0f11 !important;
    border-top: 4px solid #59e31a;
}

/* Mobil */
@media (max-width: 900px) {
    .m4c-footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 35px;
    }
}

@media (max-width: 600px) {
    .m4c-footer {
        padding: 35px 20px 18px;
    }

    .m4c-footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .m4c-footer-benefits {
        padding-top: 0;
    }

    .m4c-footer-bottom {
        flex-direction: column;
    }

    .m4c-footer-logo {
        width: 220px;
    }
}
/* Made4Cars Footer – Größen-Feinschliff */

.m4c-footer {
    padding: 55px 30px 24px !important;
}

.m4c-footer-grid {
    max-width: 1300px !important;
    gap: 55px !important;
}

.m4c-footer-logo {
    width: 300px !important;
    margin-bottom: 24px !important;
}

.m4c-footer h3 {
    font-size: 18px !important;
}

.m4c-footer p,
.m4c-footer li,
.m4c-footer a {
    font-size: 15px;
}

.m4c-footer-benefits p {
    font-size: 15px !important;
}

.m4c-footer-bottom {
    max-width: 1300px !important;
    font-size: 13px !important;
}
/* Made4Cars Footer – Logo größer */
.m4c-footer-logo {
    width: 340px !important;
    max-width: 100% !important;
}
/* Made4Cars – Mitarbeiter Login */
.mod-login {
    max-width: 380px;
    margin: 15px auto;
    padding: 18px 22px !important;
    background: #1b2023 !important;
    border: 1px solid #343b3f;
    border-top: 4px solid #59e31a !important;
    border-radius: 10px;
}

/* Beschriftungen */
.mod-login label {
    color: #ffffff !important;
    font-weight: 600;
}

/* Eingabefelder */
.mod-login .form-control {
    background: #101517 !important;
    color: #ffffff !important;
    border: 1px solid #444 !important;
    border-radius: 5px;
}

/* Eingabefeld aktiv */
.mod-login .form-control:focus {
    border-color: #59e31a !important;
    box-shadow: 0 0 0 2px rgba(89, 227, 26, 0.18) !important;
}

/* Anmelden-Button */
.mod-login .btn-primary {
    background: #59e31a !important;
    border-color: #59e31a !important;
    color: #101517 !important;
    font-weight: 700;
}

.mod-login .btn-primary:hover {
    background: #6df32e !important;
    border-color: #6df32e !important;
}
/* Made4Cars – Login Eingabefelder */
.mod-login input,
.mod-login input.form-control,
.mod-login .input-group input {
    background: #101517 !important;
    background-color: #101517 !important;
    background-image: none !important;
    color: #ffffff !important;
    border-color: #444 !important;
    -webkit-text-fill-color: #ffffff !important;
}
/* Made4Cars – Browser Autofill */
.mod-login input:-webkit-autofill,
.mod-login input:-webkit-autofill:hover,
.mod-login input:-webkit-autofill:focus,
.mod-login input:-webkit-autofill:active {
    -webkit-text-fill-color: #ffffff !important;
    -webkit-box-shadow: 0 0 0 1000px #101517 inset !important;
    box-shadow: 0 0 0 1000px #101517 inset !important;
    caret-color: #ffffff !important;
}
/* Made4Cars – Login Symbole */
.mod-login .input-group-text {
    background: #101517 !important;
    color: #59e31a !important;
    border-color: #444 !important;
}
/* Made4Cars – Passwort-Symbol */
.mod-login .input-password-toggle {
    background: #101517 !important;
    color: #59e31a !important;
    border-color: #444 !important;
}

.mod-login .input-password-toggle .icon-eye,
.mod-login .input-password-toggle span,
.mod-login .input-password-toggle svg {
    color: #59e31a !important;
    fill: #59e31a !important;
}
/* Made4Cars – Erfolgsmeldungen */
joomla-alert[type="success"] {
    background: #1c2225 !important;
    border: 1px solid #59e31a !important;
    border-left: 4px solid #59e31a !important;
    color: #ffffff !important;
}

joomla-alert[type="success"] .alert-message,
joomla-alert[type="success"] .alert-heading {
    color: #ffffff !important;
}

joomla-alert[type="success"] .joomla-alert--close {
    color: #59e31a !important;
}
/* Made4Cars – Fehlermeldungen */
joomla-alert[type="danger"],
joomla-alert[type="error"] {
    background: #1c2225 !important;
    border: 1px solid #d93025 !important;
    border-left: 4px solid #d93025 !important;
    color: #ffffff !important;
}

joomla-alert[type="danger"] .alert-message,
joomla-alert[type="danger"] .alert-heading,
joomla-alert[type="error"] .alert-message,
joomla-alert[type="error"] .alert-heading {
    color: #ffffff !important;
}

joomla-alert[type="danger"] .joomla-alert--close,
joomla-alert[type="error"] .joomla-alert--close {
    color: #d93025 !important;
}/* Made4Cars – Kontakt Banner */
.m4c-contact-hero {
    height: 280px;
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background:
        linear-gradient(rgba(8, 12, 14, 0.35), rgba(8, 12, 14, 0.55)),
        url("/images/kontakt-banner.png") center center / cover no-repeat;
}

.m4c-contact-hero-content {
    padding: 40px 20px;
}

.m4c-contact-hero h1 {
    margin: 0 0 12px;
    color: #ffffff;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
}

.m4c-contact-hero p {
    margin: 0;
    color: #ffffff;
    font-size: 1.15rem;
}

.m4c-contact-hero-line {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    margin: 0;
    background: #59e31a;
}

.m4c-contact-hero {
    position: relative;
}
/* Made4Cars – Footer Icons */
.m4c-icon {
    color: #59e31a;
    font-size: 1.15em;
    margin-right: 5px;
}