/*
 * CSS Definitionen für www.dr-magiera.de
 * Copyright (c) 2025 BigMammut Webdesign
 *
 */

body {
	font-family:Verdana,Arial,Sans Serif;
  background-color: #FCEBD9;
}

.body-image-container {
  position: relative;
  width: 100%;
  max-width: 350px;
}

.body-dot {
  position: absolute;
  width: 35px;
  height: 35px;
  background: #EB7A03;
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 4px rgba(0,0,0,0.4);
  transform: translate(-50%, -50%);
  opacity: 0.7;
  transition: box-shadow 0.2s, background 0.2s, opacity 0.2s;
  z-index: 3;
}

.body-dot.active {
  width: 45px;
  height: 45px;
  background: #dc3545;
  box-shadow: 0 0 24px 3px #dc354599;
  opacity: 0.7;
}

.body-section {
  transition: background 0.2s;
  cursor: pointer;
  border-radius: 6px;
  padding: 8px;
}

.body-section.active {
  background: #FFF;
}

.bm-mobile {
  display:none;
}

.card {
  border:0px;
}


.bm-homepage,
.bm-username,
.bm-firma,
.bm-preisvorstellung,
.bm-weiss {
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  visibility: hidden !important;
}

div.magieralogo {
	height: 57px;
	width: 275px;
	background: url(/images/logo-magiera.png);
	background-image: url(/images/logo-magiera.svg), none;
	background-repeat: no-repeat;
}

div.magieralogo h1 {
	display: none;
}

.bg-body-tertiary {
  background-color: #FFF !important;
}

.navbar {
  z-index:10000;
  padding-top: 15px;
}

.navbar-nav {
  margin-top:2px;
  width: 100%;
  --bs-nav-link-padding-y: 3px;
  padding-left: 40px;
  --bs-nav-link-color: #000;
  --bs-nav-link-hover-color: #FFF;
  --bs-navbar-nav-link-padding-x: 15px;
  font-size: 1.3em;
}

.nav-link {
  border-radius: 5px;
}

.nav-link:hover {
  background-color: #EB7A03;
  text-decoration:none;
}

.navbar {
  --bs-navbar-padding-y: 10px;
  --bs-navbar-brand-padding-y: 0px;
  --bs-navbar-brand-margin-end: 3px;
  box-shadow: 0 .2rem 1rem #00000026,inset 0 -1px #ffffff26;
}

.mt-4 {
  margin-top: 2.0rem !important;
}

.my-5 {
  margin-top: 2.0rem !important;
  margin-bottom: 0rem !important;
}

.mt-5.startseite,
.my-5.leistungen {
  margin-top:1em !important;
}

.custom-slider {
  transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
  will-change: transform;
}

.carousel-item-custom {
  min-width: 0;
  flex-shrink: 0;
  width: calc(33.3333% - 10.66px); /* 3 Spalten, mobile wird in JS geregelt */
  margin-right: 16px; /* Abstand zwischen den Kacheln */
  background: #FFF;
  border-radius: 10px;
  box-shadow: 0 2px 8px 0 #e1e1e160;
  padding: 0px;
}

.carousel-item-custom:last-child {
  margin-right: 0;
}

.carousel-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: none;
  margin: 0 6px;
  background: #EB7A03;
  opacity: 0.3;
  transition: opacity .2s;
}
.carousel-dot.active {
  opacity: 1;
  outline: 2px solid #EB7A03;
}

.bm-info {
  border: 5px solid #EB7A03;
  border-radius: 10px;
  background-color: #fff;
  padding: 10px;
  margin-bottom: 20px;
}

.alert {
  width: calc(100% - 20px);
  margin-left: 10px;
  margin-right: 10px;
}

.bm-info p {
  margin-bottom: 0rem;
}

.form-control,
.form-check-input,
.form-check-input[type=checkbox] {
  border: 1px solid #EB7A03;
}

.col-carousel {
  transition: transform 0.5s cubic-bezier(.4,0,.2,1);
}

.slider-line {
  width:32px;
  height:4px;
  margin: 0 6px;
  border: none;
  background: #007bff;
  opacity: 0.3;
  border-radius: 2px;
  transition: opacity 0.2s, box-shadow 0.2s;
}

.slider-line.active {
  opacity: 1;
  box-shadow: 0 1px 6px #007bff44;
}

.form-control:focus {
  border-color: #EB7A03;
  box-shadow: 0 0 0 0.2rem rgba(235, 122, 2, 0.25);
}

.form-check-input:checked {
  background-color: #EB7A03;
  border-color: #EB7A03;
}

.my-select + .select2-container {
  width: 100% !important;
}

.my-select + .select2-container .select2-selection {
  width: 100% !important;
}
/* Hintergrund der aktiven/hoverten Auswahl */
.select2-container--default .select2-results__option--highlighted {
  background-color: #EB7A03 !important;
  color: white;
}

/* Hintergrund der aktuell gewählten Option im Feld */
.select2-container--default .select2-selection--single {
  border: 1px solid #EB7A03;
  border-radius: 0.38rem !important;
}

/* Fokus-Stil (Rand beim Klick auf Feld) */
.select2-container--default.select2-container--focus .select2-selection--single {
  border-color: #EB7A03;
  box-shadow: 0 0 0 0.2rem rgba(235, 122, 3, 0.25);
}

.select2-results__option {
  padding: 2px 7px !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered,
.select2-container--default .select2-selection--single .select2-selection__arrow {
  line-height: 38px !important;
}

.select2-container .select2-selection--single {
  height: 38px !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
  margin-top: 1px;
}

h2 {
  font-size: 1.6rem;
}

a {
  color: #EB7A03;
  text-decoration:none;
}

a:hover {
  text-decoration:underline;
}

.alert-primary,
.alert-success,
.alert-info {
  --bs-alert-color: #038824;
  --bs-alert-border-color: #03B731;
  --bs-alert-bg: #9DE4AF;
}

.btn-primary,
.btn-success {
  --bs-btn-bg: #EB7A03;
  --bs-btn-border-color: #EB7A03;
  --bs-btn-hover-bg: #D16A03;
  --bs-btn-hover-border-color: #D16A03;
  --bs-btn-active-bg: #B75D03;
  --bs-btn-active-border-color: #B75D03;
}

em.mask, sub.mask {
	display: none;
}

.footer {
  margin-top: 30px;
  padding-top:30px;
  background-color: #EB7A03;
  font-size: 0.9em;
  color: #FFF;
}

.footer a {
  color: #FFF;
}

.footer h3 {
  font-weight: bold;
}

h3 {
  font-size: 1.2rem;
}

h4 {
  font-size: 1rem;
  font-weight:bold;
}

.desk-small-on {
  display: none;
}

.desk-small-off {
  display:  block;
}

.mobile-on {
  display:  none;
}

.summary-table {
  width: 100%;
  margin-top: 2em;
  border-collapse: collapse;
}
.summary-table th, .summary-table td {
  padding: 10px;
  border-bottom: 1px solid #e0e0e0;
}

a.bm-alert:hover {
  text-decoration:none !important;
}

div.bm-alert:hover {
  --bs-alert-bg: #CCE0CC;
}

.logo-center {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 991px) { 
  
  .bm-mobile {
    display:flex;
  }
  
  .bm-desk {
    display:none;
  }
   
  .navbar-collapse {
    margin-left: 7px;
    margin-top: 0px;
    background-color: #F0F0F0 !important;
  }
  
  .navbar-nav {
    height: unset;
    padding-left: 0px;
    border-bottom: none;
  }
  
  .nav-item {
    width: 100%;
  }
  
  .nav-link {
    border-top-right-radius: 0px;
    border-top-left-radius: 0px;
    padding: 3px 0px 3px 8px;
    font-size: 0.9em;
  }
  
  .align-items-end {
    align-items: flex-start !important;
  }
  
  .mobile-on {
    display:  block;
  }
  
  .mobile-off {
    display:  none;
  }
  
    .custom-slider {
      margin:0;
    }
    .carousel-item-custom {
      width: 100%;
      min-width: 100%;
      max-width: 100%;
    }
    .carousel-item-custom {
      margin-right: 16px; /* Abstand zwischen den Kacheln */
    }
}

@media (max-width: 976px) {  
  .carousel-item-custom {
    margin-right: 32px; /* Abstand zwischen den Kacheln */
  }
}


@media (max-width: 767px) {
  
  .bm-mobile {
    display:none;
  }
  
  .bm-desk {
    display:flex;
  }
  
  .navbar-collapse {
    margin-left: 5px;
  }
  
  .navbar-collapse {
    
  }
  
  .desk-small-off {
    display: block;
  }
  
  .desk-small-on {
    display:  none;
  }
  
  .mobile-on {
    display:  none;
  }
  
  .mobile-off {
    display:   block;
  }
  
  .img-compare-wrapper {
    margin-bottom: 30px;
  }
  
  .mt-5.startseite,
  .my-5.leistungen {
    margin-top:5px !important;
  }
}

@media (max-width: 589px) {

}

@media (max-width: 465px) {

}

@media (max-width: 440px) {

}

@media (max-width: 425px) {

}

@media (max-width: 375px) {
  
}