/* Ported from the original bub-static-website inline <style id="js-slides-fonts">
   plus custom_9pAXEoGa.css. Asset paths made absolute (/assets/...) so they
   resolve from /public. Load LAST so these win over the framework stylesheets. */

/* Brand fonts (served from /public/assets/fonts). Defined here — not in the
   Tailwind src/styles.css, which is not loaded at runtime — so they apply to the
   legacy Slides markup. */
@font-face {
  font-family: "OpenSans-Regular";
  src: url("/assets/fonts/OpenSans-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "OpenSans-Medium";
  src: url("/assets/fonts/OpenSans-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Myriad Bold Italic";
  src: url("/assets/fonts/Myriad-Bold-Italic.otf") format("opentype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
.hidden {
  display: none;
}

.page-loaded .scroll .slide {
  transition: none !important;
}

/* Body / heading / button fonts (families declared in src/styles.css). */
.slides,
.slides p {
  font-family: "OpenSans-Regular", sans-serif;
  font-weight: 400;
}
.slides h1,
.slides h2,
.slides h3,
.slides h4,
.slides h5,
.slides h6 {
  font-family: "Myriad Bold Italic", sans-serif;
  font-weight: 700;
}
.slides .button,
.slides .slides-form {
  font-family: "OpenSans-Medium", sans-serif;
  font-weight: 500;
}

.menuIndented li::before {
  content: "»";
  display: inline-block;
  color: #e3000f;
}

.sidebar .mainMenu a {
  color: #e3000f !important;
}

.menu-subheadline {
  position: relative;
  font-weight: 800 !important;
  color: #666666;
}
.menu-subheadline::before {
  content: "";
  position: absolute;
  left: -40px;
  bottom: 12px;
  height: 2px;
  width: 28px;
  background: #666666;
}

.material-icons {
  font-size: 13px;
}

.container .wrap:not(.noSpaces),
.container .wrap.spaceWrap,
.container .wrap .spaceWrap {
  padding: 90px calc(8% + 15px);
}

@media (max-width: 1023px) {
  .margin-bottom-tablet-4 {
    margin-bottom: 0 !important;
  }
}

.background {
  object-fit: cover;
  height: 100vh;
  width: 100%;
}

.slide[data-cid="slide-102-93aa6940"] .box-159 {
  border-left: 5px solid #e3000f !important;
}

/* FAQ accordion (jQuery UI) */
.ui-widget-content {
  border: 0;
  border-radius: 0;
}
.ui-accordion-header {
  color: black !important;
  border: 0;
  border-radius: 0;
  border-top: 1px solid #d3d3d3;
  background-color: transparent;
}
.ui-accordion-header-active {
  background-color: #e3000f !important;
  color: white !important;
  border: 0;
}
.last-item {
  border-bottom: 1px solid #d3d3d3;
}
.ui-widget,
.ui-widget input,
.ui-widget select,
.ui-widget textarea,
.ui-widget button {
  font-family: "OpenSans-Regular", sans-serif !important;
}

li a {
  color: inherit !important;
}
p a {
  color: #e3000f !important;
}
a {
  color: #e3000f !important;
  font-weight: 500 !important;
}

.swiper-slide {
  margin-right: 30px !important;
}

.black {
  background: black !important;
}

.poster:hover {
  filter: blur(5px) !important;
  -webkit-filter: blur(5px) !important;
}

@media (max-width: 768px) {
  #Transporter .wrap {
    padding: 0;
    height: 1100px;
  }
}

/* --- Slide-scoped rules from custom_9pAXEoGa.css --- */
.slide[data-cid="slide-172-4c7bcacb"] .btn-172 {
  line-height: 80px;
  width: 80px;
}
@media (max-width: 1023px) {
  .slide[data-cid="slide-172-4c7bcacb"] .btn-172 {
    line-height: 60px;
    width: 60px;
  }
}
.slide[data-cid="slide-172-4c7bcacb"] .line-172 {
  height: calc(100% - 120px);
  width: 1px;
  background: rgba(255, 255, 255, 0.3);
}
.slide[data-cid="slide-172-4c7bcacb"].whiteSlide .line-172 {
  background: rgba(32, 32, 32, 0.1);
}

.map-responsive {
  overflow: hidden;
  padding-bottom: 56.25%;
  position: relative;
  height: 0;
}
.map-responsive iframe {
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  position: absolute;
}

.slide[data-cid="slide-102-93aa6940"] .swiper-102-prev,
.slide[data-cid="slide-102-93aa6940"] .swiper-102-next {
  background: transparent !important;
  position: relative !important;
  top: unset !important;
  left: unset !important;
  right: unset !important;
  margin-top: 0 !important;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 24px !important;
  width: 24px !important;
  transition: 0.15s;
}
.slide[data-cid="slide-102-93aa6940"] .swiper-102-prev:hover,
.slide[data-cid="slide-102-93aa6940"] .swiper-102-next:hover {
  opacity: 0.6;
}
.slide[data-cid="slide-102-93aa6940"].whiteSlide .swiper-102-prev svg,
.slide[data-cid="slide-102-93aa6940"].whiteSlide .swiper-102-next svg {
  stroke: #202020;
  opacity: 0.6;
}
.slide[data-cid="slide-102-93aa6940"] .box-102 {
  max-width: 400px;
  margin-right: 30px !important;
}
.slide[data-cid="slide-102-93aa6940"] .box-102-shadow {
  box-shadow:
    0px 10px 20px rgba(0, 0, 0, 0.101421),
    0px 1px 4px rgba(0, 0, 0, 0.101421);
}
.slide[data-cid="slide-102-93aa6940"] .box-102-shadow:hover {
  box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.2);
}

.slide[data-cid="slide-117-b3d15d3b"] .box-117 {
  max-width: 320px;
  min-height: 460px;
  background: #fff;
  box-shadow:
    0px 1px 2px rgba(0, 0, 0, 0.101421),
    0px 1px 4px rgba(0, 0, 0, 0.101421);
  margin-right: 30px !important;
}
.slide[data-cid="slide-117-b3d15d3b"] .bottom-117 {
  position: absolute;
  bottom: 30px;
  left: 30px;
}

.gradient-1 {
  background: #dadada;
  background: linear-gradient(45deg, #dadada 50%, #f6dfe1 100%);
}

/* Final-CTA phone mockup (slide-127). The original markup ships width/height
   "100%"; slides.min.js used to size the column so the (tall, portrait) image
   fit the full-height slide. Without that JS the `height:100%` collapses and the
   image overflows/clips, so size it explicitly: keep aspect ratio, cap to the
   slide height, and stay right-aligned within its column. */
.slide[data-cid="slide-127-65e3d24e"] .img-127 {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 78vh;
  margin-bottom: 0;
}

/* Black step text/links in the "So einfach mieten" section. */
.text-black a {
  color: #000 !important;
}

/* OBI partner-card CTA button in the OBI brand orange (overrides .cyan's
   !important background). The original set this inline with !important, which
   React style objects can't express — so scope it via a class. */
.cta-orange {
  background-color: #ff7e21 !important;
}

/* Utility classes the customized build tree-shook out (present in base slides). */
.justify-content-center {
  justify-content: center !important;
}
p.tiny,
.p.tiny,
blockquote.tiny {
  font-size: 16px;
  line-height: 1.625;
  margin-bottom: 12px;
  font-weight: 400;
}

/* Datenschutz PDF-tile label in the brand colour (overrides `li a { inherit }`).
   Terms keeps its label black via its `.text-black` grid, so scope to grids
   without it — matching the original per-page colouring. */
.grid-48:not(.text-black) li a {
  color: #e3000f !important;
}

/* PDF download tiles on legal pages. */
.icon-pdf {
  max-width: 70px;
  max-height: 70px;
  margin: 0 auto 10px;
  transition: all 250ms ease;
}
a:hover .icon-pdf {
  transform: translate(0, -10px);
}

/* Legal pages: full-height, vertically-centred content slide. */
.legalPage .slide.whiteSlide:not(.autoHeight),
.legalPage .slide.whiteSlide:not(.autoHeight) .container {
  min-height: 100vh;
}

/* Side navigation dots (populated at runtime by Header, mirroring the original). */
.side .navigation li {
  pointer-events: auto;
}
.side.on-light.stroke .navigation.default li:after {
  border-color: #202020 !important;
}
.side.on-light.stroke .navigation.default li.selected:after,
.side.on-light.stroke .navigation.default li:hover:after {
  background: #202020 !important;
  border-color: #202020 !important;
}
