/* RM: Search on home page on slider area */
@media (min-width: 1200px) {
    .site-home #section-vehicle-list-search-horizontal.module-block,
    .site-home .quicksearch {
        height: 200px;
        margin-bottom: 70px;
        margin-top: -250px !important;
        padding: 0;
        z-index: 9;
        position: relative;
    }

    .site-home #section-vehicle-list-search-horizontal.module-block form,
    .site-home .quicksearch .audaris-widget {
        background: rgb(255 255 255 / 60%);
        padding: 15px;
    }

    .site-home #section-vehicle-list-search-horizontal.module-block .btn-primary.search-start {
        border: 0;
    }
}

/* RM - End: Search on home page on slider area */

#header #phone-top {
    display: none;
}

/** Mietwagen **/

.infobox_grey {
    background: #4e4e4e;
    color: #fff;
    padding: 15px 30px;
    margin-top: -30px;
}

.infobox_blue_table_r {
    background: #2e529c;
    color: #fff;
    padding: 15px 30px;
    right: 15px;
}

.infobox_blue_table_l {
    background: #2e529c;
    color: #fff;
    padding: 15px 30px;
    left: 15px;
}

/** Kachel 3er beginnend **/

.row-tiles .col-sm-12 .ge-content .btn-fullwidth {
    padding: 5px;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary.active.focus,
.btn-primary.active:focus,
.btn-primary.active:hover,
.btn-primary.focus:active,
.btn-primary:active:focus,
.btn-primary:active:hover {
    background: #3ea3ff !important;
}

.row-tiles .col-sm-12 .ge-content .btn-fullwidth {
    background: #0056a4;
    border: 0 !important;
    padding: 10px;
    text-transform: none;
    transform: translateX(-50%);
    width: auto;
    top: 50%;
    left: 50%;
    margin-top: 10px;
}

.row-tiles .col-sm-12 .ge-content h4 {
    font-weight: bold;
    margin: 0;
    padding: 0;
    text-align: center;
    width: 94%;
    bottom: 50%;
}

.row-tiles .col-sm-12 .ge-content h4,
.row-tiles .col-sm-12 .ge-content .btn-fullwidth {
    color: #fff;
    position: absolute;
    text-shadow: 0 0 20px #000;
}

h4 {
    font-size: 35px;
    text-transform: none;
    z-index: 1;
}

@media (max-width: 548px) {
    h4 {
        font-size: 24px;
    }
}

@media (max-width: 548px) {
    .row-tiles .col-sm-12 .ge-content .btn-fullwidth {
        padding: 5px;
    }
}

.row-tiles .col-sm-12 .ge-content h4 {
    padding: 0 10px;
}

#header-slider .carousel-caption {
    background-color: rgb(0 0 0 / 20%);
}

#header-slider .header-envkv-info {
    font-size: 1em;
    font-weight: bold;
    z-index: 99;
}

@media (min-width: 1200px) {
    #header-slider .header-envkv-info {
        font-size: 1.5em;
        text-align: center;
        text-shadow: 0 0 20px #000;
    }
}

.pageid-1423 .module-block {
    margin: 0;
}

.headline-h1 {
    font-size: 40px;
    font-weight: bold !important;
}

/** Titelbereich Mietwagen Formular PE **/
.pageid-1423 .form-group .headline-h1 {
    display: none;
}

.pageid-534 #header-slider .fill {
    background-position: bottom;
}

.pageid-742 #header-slider .fill {
    background-position: bottom;
}

/** Anpassung Werkstattleistungen Header PE **/

.pageid-591 #header-slider .fill {
    background-position: top;
}

/** Fußnote IM PE **/
#article-blog-entry.infomanager-entry .footnote {
    background: #f3f3f3;
}

#article-blog-entry header h1 {
    text-align: center;
}

/* Pre-Footer MH */
#footer #pre_area {
    text-align: left;
}

/* ERBEN & ERBEN – DESIGN TEST 01 */
/* Abgerundete Kacheln im Content-Modul */

.site-home .module-block.fe-content
.row.row-tiles > .column {
    border-radius: 18px;
    overflow: hidden;
}

/* ENDE DESIGN TEST 01 */

/* ERBEN & ERBEN – DESIGN TEST 02 */

/* Nur die ersten beiden Kacheln */
.site-home .fe-content .row-tiles:first-child
> .column:nth-child(-n+2) {
    border-radius: 20px !important;
    overflow: hidden !important;
}

/* Bilder und Hintergründe mit abrunden */
.site-home .fe-content .row-tiles:first-child
> .column:nth-child(-n+2) img {
    border-radius: 20px !important;
}

/* ENDE DESIGN TEST 02 */

/* ERBEN & ERBEN – DESIGN TEST 03 */
/* Dezenter Schatten und Hover-Effekt */

@media (hover: hover) {
  .site-home .fe-content .row-tiles:first-child
  > .column:nth-child(-n+2) {
    transition: transform 0.3s ease,
                box-shadow 0.3s ease;
  }

  .site-home .fe-content .row-tiles:first-child
  > .column:nth-child(-n+2):hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
  }
}

/* ENDE DESIGN TEST 03 */

/* ======================================
   ERBEN & ERBEN – FAHRZEUGSUCHE DESIGN 01
   ====================================== */

@media (min-width: 1200px) {

  /* Suchbereich als moderne Karte */
  .site-home .quicksearch .audaris-widget,
  .site-home
  #section-vehicle-list-search-horizontal.module-block form {
    border-radius: 20px !important;
    padding: 22px !important;
    background: rgba(255,255,255,0.94) !important;
    box-shadow: 0 12px 35px rgba(0,0,0,0.14);
  }

  /* Suchfelder abrunden */
  .site-home .quicksearch select,
  .site-home .quicksearch input,
  .site-home
  #section-vehicle-list-search-horizontal select,
  .site-home
  #section-vehicle-list-search-horizontal input {
    border-radius: 10px !important;
    border: 1px solid #dce2ea !important;
    background-color: #ffffff !important;
  }

  /* Suchbutton moderner gestalten */
  .site-home .quicksearch .btn-primary.search-start,
  .site-home
  #section-vehicle-list-search-horizontal
  .btn-primary.search-start {
    border-radius: 12px !important;
    background: #1b3c8b !important;
    border: none !important;
    box-shadow: 0 5px 14px rgba(27,60,139,0.22);
    transition: background 0.25s ease;
  }

  /* Hover-Effekt */
  .site-home .quicksearch .btn-primary.search-start:hover,
  .site-home
  #section-vehicle-list-search-horizontal
  .btn-primary.search-start:hover {
    background: #294fa6 !important;
  }
}

/* ENDE FAHRZEUGSUCHE DESIGN 01 */

/* ERBEN & ERBEN – SUCHFELDER DESIGN 02 */

@media (min-width: 1200px) {

  /* Größere und rundere Suchfelder */
  .site-home .quicksearch select,
  .site-home .quicksearch input,
  .site-home #section-vehicle-list-search-horizontal select,
  .site-home #section-vehicle-list-search-horizontal input {
    min-height: 44px !important;
    border-radius: 10px !important;
    padding: 8px 12px !important;
  }

  /* Suchbutton */
  .site-home .quicksearch .btn-primary.search-start,
  .site-home #section-vehicle-list-search-horizontal
  .btn-primary.search-start {
    min-height: 44px !important;
    border-radius: 12px !important;
    font-weight: 600 !important;
    font-size: 15px !important;
  }
}

/* ENDE SUCHFELDER DESIGN 02 */

/* ERBEN & ERBEN – SUCHFELDER DESIGN 02 */

@media (min-width: 1200px) {

  /* Größere und rundere Suchfelder */
  .site-home .quicksearch select,
  .site-home .quicksearch input,
  .site-home #section-vehicle-list-search-horizontal select,
  .site-home #section-vehicle-list-search-horizontal input {
    min-height: 44px !important;
    border-radius: 10px !important;
    padding: 8px 12px !important;
  }

  /* Suchbutton */
  .site-home .quicksearch .btn-primary.search-start,
  .site-home #section-vehicle-list-search-horizontal
  .btn-primary.search-start {
    min-height: 44px !important;
    border-radius: 12px !important;
    font-weight: 600 !important;
    font-size: 15px !important;
  }
}

/* ENDE SUCHFELDER DESIGN 02 */

/* STARTSEITE – ZWEI INFO-KACHELN */


/* NUR DIE ZWEI UNTEREN INFO-KACHELN */


/* KACHELN - BREITE KORRIGIEREN */

.site-home .ee-kachel {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    min-height: 125px !important;
    padding: 24px !important;
    box-sizing: border-box !important;
}

/* AUTOHAUS ERBEN & ERBEN - KACHELN */

.site-home .ee-kachel {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 135px !important;
    box-sizing: border-box !important;

    background: #eaf3ff !important;
    border-radius: 18px !important;
    padding: 24px !important;

    box-shadow: 0 8px 22px rgba(0,0,0,0.08) !important;

    color: #003366 !important;
    line-height: 1.5 !important;

    margin: 0 !important;
}

/* HANDY-ANSICHT */

@media (max-width: 767px) {
    .site-home .ee-kachel {
        min-height: auto !important;
        padding: 20px !important;
        margin-bottom: 15px !important;
    }
}

/* ZWEI KACHELN STARTSEITE */

.site-home .ee-kachel {
    background: #eaf3ff !important;
    border-radius: 18px !important;
    padding: 24px !important;
    min-height: 130px !important;
    box-sizing: border-box !important;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08) !important;
    color: #003366 !important;
    margin: 0 !important;
}

@media (max-width: 767px) {
    .site-home .ee-kachel {
        min-height: auto !important;
        margin-bottom: 15px !important;
    }
}

/* LEERE FLAECHE UEBER DEN KACHELN ENTFERNEN */

.site-home .ee-kachel {
    min-height: 100px !important;
}

/* Kacheln kompakt halten */
.site-home .ee-kachel {
    padding: 22px 24px !important;
}

/* FAHRZEUGE ENTDECKEN BUTTON */

.site-home .ee-fahrzeuge a {
    display: inline-block !important;
    background: #003f91 !important;
    color: #ffffff !important;
    padding: 12px 26px !important;
    border-radius: 10px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    margin-top: 12px !important;
    transition: background 0.2s ease;
}

.site-home .ee-fahrzeuge a:hover {
    background: #002d69 !important;
    color: #ffffff !important;
}

/* FAHRZEUG-BUTTON */

.site-home .ee-fahrzeuge a.btn,
.ee-fahrzeuge a.btn {
    display: inline-block !important;
    background-color: #003f91 !important;
    color: #ffffff !important;
    padding: 12px 28px !important;
    border-radius: 10px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    margin-top: 10px !important;
    transition: background-color 0.2s ease;
}

.ee-fahrzeuge a.btn:hover {
    background-color: #002d69 !important;
    color: #ffffff !important;
}

/* AUTOHAUS ERBEN & ERBEN - PREMIUM DESIGN */

.site-home .ee-premium {
    background: #eaf3fc;
    border-radius: 20px;
    padding: 38px 25px;
    text-align: center;
    box-shadow: 0 10px 28px rgba(0, 35, 80, 0.07);
    margin-bottom: 18px;
}

.site-home .ee-premium-label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    color: #315c91;
    margin-bottom: 14px;
}

.site-home .ee-premium h2 {
    font-size: clamp(24px, 3vw, 32px);
    line-height: 1.2;
    font-weight: 700;
    color: #003366;
    margin: 0 0 14px;
}

.site-home .ee-premium p {
    font-size: 16px;
    line-height: 1.7;
    color: #53657a;
    max-width: 600px;
    margin: 0 auto 24px;
}

.site-home .ee-premium-button {
    display: inline-block;
    background: #003f91;
    color: #ffffff !important;
    padding: 14px 28px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.25s ease;
}

.site-home .ee-premium-button:hover {
    background: #002d69;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 63, 145, 0.2);
}

@media (max-width: 767px) {
    .site-home .ee-premium {
        padding: 28px 18px;
    }

    .site-home .ee-premium-button {
        max-width: 100%;
        box-sizing: border-box;
    }
}

/* AUTOHAUS ERBEN - PREMIUM KACHEL */

.site-home .ee-premium {
    background: #eaf3ff !important;
    border-radius: 20px !important;
    padding: 45px 25px !important;
    min-height: 260px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    text-align: center !important;
    box-shadow: 0 12px 28px rgba(0, 35, 80, 0.08);
    margin: 0 0 20px 0 !important;
}

.site-home .ee-premium-label {
    color: #315e98;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 14px;
}

.site-home .ee-premium h2 {
    color: #003366 !important;
    font-size: 28px !important;
    font-weight: 700 !important;
    margin: 0 0 14px !important;
}

.site-home .ee-premium p {
    color: #526b89 !important;
    font-size: 16px !important;
    line-height: 1.6;
    max-width: 570px;
    margin: 0 auto 25px !important;
}

.site-home .ee-premium-button {
    display: inline-block !important;
    background: #004494 !important;
    color: #ffffff !important;
    padding: 15px 30px !important;
    border-radius: 10px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    transition: all 0.3s ease;
}

.site-home .ee-premium-button:hover {
    background: #002f6c !important;
    color: #ffffff !important;
    transform: translateY(-3px);
}

@media (max-width: 767px) {
    .site-home .ee-premium {
        padding: 32px 20px !important;
        min-height: 0 !important;
    }

    .site-home .ee-premium h2 {
        font-size: 23px !important;
    }
}

/* CITROËN – ORIGINAL AUTOHAUS LOGO-ROT */
.site-home .ee-citroen {
    background: #B94B3E !important;
}

/* SUZUKI – ORIGINAL AUTOHAUS LOGO-BLAU */
.site-home .ee-suzuki {
    background: #31417C !important;
}

/* WEISSE SCHRIFT AUF BEIDEN KACHELN */
.site-home .ee-marke,
.site-home .ee-marke strong,
.site-home .ee-marke span {
    color: #ffffff !important;
}
/* CITROËN – LOGO-ROT */
.site-home a.ee-marke.ee-citroen {
    background: #B94B3E !important;
    background-color: #B94B3E !important;
    background-image: none !important;
}

/* SUZUKI – LOGO-BLAU */
.site-home a.ee-marke.ee-suzuki {
    background: #31417C !important;
    background-color: #31417C !important;
    background-image: none !important;
}

/* WEISSE SCHRIFT */
.site-home a.ee-marke.ee-citroen,
.site-home a.ee-marke.ee-suzuki,
.site-home a.ee-marke.ee-citroen *,
.site-home a.ee-marke.ee-suzuki * {
    color: #ffffff !important;
}

/* AUTOHAUS ERBEN & ERBEN
   HANDY-OPTIMIERUNG */

@media screen and (max-width: 767px) {

  /* Spalten auf volle Handybreite */
  .fe-content .row > [class*="col-"] {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    float: none !important;
  }

  /* Hauptkachel */
  .fe-content .ee-kachel {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    padding: 28px 20px !important;
    margin: 0 0 18px !important;
    height: auto !important;
    border-radius: 18px !important;
    text-align: center !important;
  }

  /* Alle Inhalte innerhalb der Hauptkachel */
  .fe-content .ee-kachel * {
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow-wrap: break-word !important;
  }

  /* Übergroße Texte verhindern */
  .fe-content .ee-kachel h1,
  .fe-content .ee-kachel h2,
  .fe-content .ee-kachel strong {
    font-size: 23px !important;
    line-height: 1.35 !important;
  }

  /* Fließtext */
  .fe-content .ee-kachel p {
    font-size: 15px !important;
    line-height: 1.5 !important;
  }

  /* Schaltfläche */
  .fe-content .ee-kachel a {
    display: inline-block !important;
    max-width: 100% !important;
    white-space: normal !important;
    font-size: 15px !important;
  }

}

/* ELEKTROMOBILITÄT – ERBEN & ERBEN */

.erben-elektro {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  border-radius: 20px;
  background: #eaf2ff;
  margin: 25px 0 35px;
}

.erben-elektro-bild {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0;
}

.erben-elektro-info {
  padding: 28px 35px 35px;
  box-sizing: border-box;
}

.erben-elektro-label {
  display: block;
  color: #293f80;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.erben-elektro-info h2 {
  color: #24385c;
  font-size: 30px;
  line-height: 1.25;
  margin: 0 0 12px;
}

.erben-elektro-info p {
  color: #45546a;
  font-size: 16px;
  line-height: 1.6;
  margin: 0 0 22px;
}

.erben-elektro-button {
  display: inline-block;
  background: #293f80;
  color: #ffffff !important;
  padding: 14px 25px;
  border-radius: 10px;
  text-decoration: none !important;
  font-size: 15px;
  font-weight: 600;
}

/* HANDYANSICHT */

@media screen and (max-width: 767px) {

  .erben-elektro {
    width: 100% !important;
    margin: 18px 0 25px;
    border-radius: 16px;
  }

  .erben-elektro-info {
    padding: 22px 18px 25px;
  }

  .erben-elektro-info h2 {
    font-size: 23px !important;
    line-height: 1.3;
  }

  .erben-elektro-info p {
    font-size: 15px !important;
  }

  .erben-elektro-button {
    display: block;
    text-align: center;
    padding: 14px 12px;
  }
}

/* ERBEN & ERBEN – ELEKTRO-BEREICH */

.erben-elektro-info {
  padding: 35px 35px 38px !important;
}

.erben-elektro-label {
  margin-bottom: 14px !important;
}

.erben-elektro-info h2 {
  font-size: 34px !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  margin-bottom: 16px !important;
}

.erben-elektro-info p {
  margin-bottom: 25px !important;
}

/* HANDYANSICHT */
@media screen and (max-width: 767px) {

  .erben-elektro-info {
    padding: 24px 20px 28px !important;
  }

  .erben-elektro-info h2 {
    font-size: 24px !important;
    line-height: 1.3 !important;
  }

  .erben-elektro-info p {
    font-size: 15px !important;
  }
}

/* ZWEITER BUTTON – PROBEFAHRT */

.erben-elektro-probefahrt {
  display: inline-block;
  background: #ffffff;
  color: #293f80 !important;
  border: 2px solid #293f80;
  border-radius: 10px;
  padding: 12px 24px;
  margin-left: 12px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none !important;
  box-sizing: border-box;
}

.erben-elektro-probefahrt:hover {
  background: #293f80;
  color: #ffffff !important;
}

/* HANDYANSICHT */
@media screen and (max-width: 767px) {
  .erben-elektro-probefahrt {
    display: block;
    width: 100%;
    text-align: center;
    margin: 12px 0 0;
  }
}
