* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  margin: 0;
  padding: 0;
}

body:after {
  content:"";
  position:fixed;
  height:100vh;
  background: rgba(0, 0, 0, 0.15) url(/images/wbc-background-cars-3840-tiny.jpg) 55% 50%;
  background-size: cover;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  background-blend-mode: darken;
  top: 0;
  left:0;
  right:0;
  z-index:-1;
}

/* ------------------------------------------------------------ SCHRIFT, UEBERSCHRIFT UND LINKS ------------------------------------------------------------ */

p {
  padding: 0;
  margin: 0;
}

h1 {
  font-size: 2.4rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 3px 3px 3px rgba(0, 0, 0, 0.8);
  margin: 0 0 0.2rem!important;
}

h3 {
  font-size: 2.3rem;
  font-weight: 600;
  color: #3380c3;
}

h4 {
  font-size: 1.9rem;
}

a {
  color: #e74710;
}

a:hover, a:visited {
  color: #e74710;
}

a.wbc-button {
  background-color: #e74710;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.4);
  border: 1px solid #e74710;
  border-radius: 24px;
  padding: 12px 32px;
}

a.wbc-button:hover {
  color: #fff;
  background-color: #cd3f0e;
}

/* ------------------------------------------------------------ HEADER ------------------------------------------------------------ */

#wbc-header {
  position: fixed;
  display: flex;
  justify-content: center;
  width: 100%;
  height: 82px;
  background-color: #fff;
  border-bottom: 1px solid #efefef;
  top: 0;
  z-index: 999;
}

.wbc-header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 100%;
  max-width: 1320px;
  padding: 0 12px;
}

/* ------------------------------------------------------------ HEADER NAVIGATION ------------------------------------------------------------ */

.wbc-mainnav {
  display: flex;
}

.wbc-mainnav a {
  display: block;
  font-size: 14px;
  font-weight: 700;
  line-height: 82px;
  color: #3380c3;
  text-decoration: none;
  padding: 0 24px;
}

.wbc-mainnav a:hover {
  color: #fff;
  background-color: #e74710;
  transition: all .35s ease-out;
}

.wbc-mainnav li::marker {display: none!important; content: none!important;}

/* Zusatz: falls irgendwo global ::marker reingrätscht */
.mod-menu li::marker,
.mod-menu li { list-style: none !important; }
.mod-menu li::marker { content: none !important; }

/* ------------------------------------------------------------ HEADER LANGUAGES ------------------------------------------------------------ */

#wbc-header .mod-languages {
  display: flex;
}

p#language_picker_des_111, p#language_picker_des_121 {display: none!important; visibility: hidden!important;}

#wbc-header .mod-languages ul {
  display: flex;
  flex-wrap: wrap;
}

#wbc-header .mod-languages ul.lang-inline li {
  display: flex!important;
  flex: 50%;
  justify-content: center;
  align-items: center;
  margin: 0;
}

#wbc-header .mod-languages ul li a {
  padding: 3px;
}

.wbc-smart-lang {
  position: absolute;
  top: 82px;
  left: 50%;
  transform: translate(-50%,0);
  display: none;
  visibility: hidden;
  width: 256px;
  max-width: 90%;
  height: 28px;
  background-color: #fff;
  text-align: center;
  border-radius: 0px 0px 12px 12px;
  z-index: 998;
}

/* ALL LANGUAGES */
div.mod-languages ul li.lang-active {
  background-color: unset;
}

/* ------------------------------------------------------------ RSPagebuilder und RSform Override ------------------------------------------------------------ */

.rspbld-page {
  margin-top: 82px;
}

.rspbld-page .row, .rspbld-pages .rspbld-page-container .row {
  margin: 0;
}

.formRequired {
  font-size: 10px;
}

.rsfp-image-container {
  width: 25%;
  float: left;
}

/* ------------------------------------------------------------ MOBILE FAHRZEUGBESTAND ------------------------------------------------------------ */

.fahrzeugbestand-suche, .fahrzeugbestand-detail {
  width: 100%;
  max-width: 1296px;
  margin: 94px auto 36px;
  padding: 6px 12px;
}

h1.uk-margin-small.uk-text-center {
  font-size: 2.4rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 3px 3px 3px rgba(0, 0, 0, 0.8);
  padding: 12px 0 24px;
}

h1.uk-h2.uk-width-1-1.uk-padding-remove.uk-width-expand\@s.uk-text-left.uk-text-break.uk-first-column {
  font-weight: 700;
  color: #fff;
  text-shadow: 3px 3px 3px rgba(0, 0, 0, 0.8);
}

.uk-width-auto\@s.uk-padding-small.uk-text-small.uk-text-bolder.uk-visible\@s.uk-text-right, .uk-width-1-1.uk-margin-top {
  color: #fff;
  text-shadow: 3px 3px 3px rgba(0, 0, 0, 0.8);
}

.uk-button-primary, .uk-button-primary:active, .uk-button-primary.uk-active, .uk-button-primary:hover, .uk-button-primary:focus {
  background: #3380c3;
}

/* ------------------------------------------------------------ CONTENT ------------------------------------------------------------ */

#wbc-welcome {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: calc(100vh - 140px);
}

#wbc-form {
  background-color: #fbfbfb;
  border-radius: 8px;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
  padding: 32px 8px;
}

/* ------------------------------------------------------------ COPYRIGHT ------------------------------------------------------------ */

#wbc-copyright {
  position: relative;
  display: flex;
  justify-content: center;
  width: 100%;
  color: #e74710;
  background-color: #252525;
  padding: 8px 12px;
  margin-bottom: 57px;
}

/* ------------------------------------------------------------ FOOTER ------------------------------------------------------------ */

/* --- WBC Footer Bar (fix bottom) --- */
#wbc-footer{
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 9999;
}

#wbc-footer .wbc-footer{
  display: flex;
  justify-content: space-around;
  align-items: center;

  background: #e74b12;          /* orange */
  padding: 10px 6px;            /* Abstände */
  gap: 8px;

  /* FIX: rgba alpha war bei dir "25" (ungültig/zu hoch) -> korrekt 0.25 */
  border-top: 1px solid rgba(255,255,255,.25);
}

/* Links: vertikal (Icon oben, Text unten) */
#wbc-footer .wbc-footer a{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  color: #fff !important;        /* Textfarbe */
  font-size: 11px;
  line-height: 1.1;
  text-decoration: none !important;

  min-width: 64px;               /* gleichmäßige “Buttons” */
}

/* Icon-Größe fixieren (SVG als <img>) */
#wbc-footer .wbc-footer a img{
  width: 26px !important;
  height: 26px !important;
  max-width: 26px !important;
  max-height: 26px !important;

  display: block;
  object-fit: contain;
  margin-bottom: 4px;            /* Abstand Icon -> Text */
}

/* Optional: bei Hover/Tap leichtes Feedback */
#wbc-footer .wbc-footer a:active,
#wbc-footer .wbc-footer a:hover{
  opacity: .9;
}

/* ------------------------------------------------------------ SMARTNAVIGATION ------------------------------------------------------------ */

#wbc-smartnavigation {
  position: fixed;
  display: none;
  width: 100%;
  height: 100%;
  flex-direction: column;
  background: #e74710;
  text-transform: uppercase;
  text-decoration: none;
  align-items: center;
  justify-content: center;
  top: 0;
  left: 0;
  padding: 10px 15px;
  z-index: 9999;
}

#wbc-smartnavigation .close {
  position: absolute;
  top: 15px;
  right: 25px;
  font-size: 28px;
}

#wbc-smartnavigation .nav {
  flex-direction: column;
}

#wbc-smartnavigation ul {
  width: 100%;
  max-width: 550px;
  text-align: center;
}

#wbc-smartnavigation li {
  margin: 2px 0;
}

#wbc-smartnavigation li a {
  display: block;
  width: 100%;
  color: #fff;
  text-decoration: none;
  border-bottom: 2px solid #fff;
  padding: 12px 8px;
}

#wbc-smartnavigation li a:hover {
  background-color: #cd3f0e;
}

/* ------------------------------------------------------------ KI CHAT ------------------------------------------------------------ */

.cap-button-pos-floating-left {
  background-color: #3380c3!important;
  bottom: 64px;
}

.cap_interface_header {
  background-color: #3380c3!important;
}

.cap_interface_header h5 {
  font-size: 18px;
}

button.btn.btn-primary.btn-send {
  background-color: #3380c3;
  border-color: #3380c3;
}

.cap_wrapper .conversation-container {
  font-size: 14.5px;
}

.cap_wrapper .conversation-container .pending-message, .cap_wrapper .conversation-container .received-message {
  background-color: #252525;
  color: #fff;
}

.cap_wrapper .conversation-container .suggested-message {
  background-color: #e74710!important;
  font-size: 12px;
  font-weight: 600;
}

.cap_wrapper .conversation-container .sent-message {
  background-color: #3380c3;
}

/* ------------------------------------------------------------ Linktree ------------------------------------------------------------ */

.sociallinks {
  display: flex;
  justify-content: center;
}

.sociallinks a {
  display: flex;
  align-items: center;
  width: 90%;
  max-width: 320px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  background-color: #3380c3;
  border-radius: 36px 0 0 36px;
  margin-bottom: 24px;
}

.sociallinks a:hover {
  text-decoration: underline;
}

.sociallinks img {
  height: 72px;
  margin-right: 16px;
}

/* ------------------------------------------------------------ WhatsApp Solo ------------------------------------------------------------ */

.whatsapp-link {
    position: fixed;
    bottom: 64px;
    right: 24px;
    z-index: 100;
}

.whatsapp-logo {
    width: 50px;
    height: 50px;
    cursor: pointer;
}

/* ------------------------------------------------------------ 1024PX EINSTELLUNGEN ------------------------------------------------------------ */

@media (max-width:1024px) {

  h1 {
    font-size: 2.2rem;
  }

  h3 {
    font-size: 2.1rem;
  }

  h4 {
    font-size: 1.8rem;
  }

  #wbc-header .mod-languages {
    display: none;
    visibility: hidden;
  }

  .wbc-smart-lang {
    display: block;
    visibility: visible;
  }
}

/* ------------------------------------------------------------ 912PX EINSTELLUNGEN ------------------------------------------------------------ */

@media (max-width:912px) {

  h1 {
    font-size: 2rem;
    text-shadow: 2px 2px 2px rgba(0, 0, 0, 1);
  }

  h3 {
    font-size: 1.9rem;
  }

  h4 {
    font-size: 1.7rem;
  }

  .wbc-mainnav {
    display: none;
    visibility: hidden;
  }

  .wbc-header {
    justify-content: center;
  }
}

/* ------------------------------------------------------------ 550PX EINSTELLUNGEN ------------------------------------------------------------ */

@media (max-width:550px) {

  h1 {
    font-size: 1.5rem;
    text-shadow: 2px 2px 2px rgba(0, 0, 0, 1);
  }

  h3 {
    font-size: 1.4rem;
  }

  h4 {
    font-size: 1.25rem;
  }
}

/* ============================================================================================================================
   UIKIT / FAHRZEUGBESTAND FIX (wichtig: ganz am Ende lassen)
   - verhindert, dass UIkit globale img/svg Regeln deine Footer-Icons aufblasen
   ============================================================================================================================ */

@media (max-width: 1024px){
  html body #wbc-footer .wbc-footer{
    height: 72px;
    padding: 8px 6px;
    overflow: hidden;
  }

  html body #wbc-footer .wbc-footer a{
    flex: 1 1 25%;
    min-width: 0;
  }

  html body #wbc-footer .wbc-footer a > img,
  html body #wbc-footer .wbc-footer a > svg{
    width: 24px !important;
    height: 24px !important;
    max-width: 24px !important;
    max-height: 24px !important;
    min-width: 24px !important;
    min-height: 24px !important;
    display: block !important;
    object-fit: contain !important;
    margin: 0 0 4px 0 !important;
    flex: 0 0 auto !important;
  }

  /* extra hart: falls UIkit mit !important img auf 100% setzt */
  html body #wbc-footer .wbc-footer a img[src$=".svg"]{
    width: 24px !important;
    height: 24px !important;
    max-width: 24px !important;
    max-height: 24px !important;
  }
}