/* Lean replacement for former framework CSS */
:root {
  --page-max: 1140px;
  --space: 16px;
  --brand: #0f75ed;
  --text: #1d2430;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: Roboto, sans-serif;
  font-size: 1rem;
  color: var(--text);
  line-height: 1.5;
  font-weight: 300;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  line-height: 1.2;
  font-weight: 300;
}

p {
  margin-top: 0;
  margin-bottom: 1rem;
}

ul,
ol {
  margin-top: 0;
  margin-bottom: 1rem;
}

a {
  color: #007bff;
  text-decoration: none;
}

a:hover {
  color: #0056b3;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

.container,
.container-fluid {
  width: 100%;
  margin: 0 auto;
  padding-left: 15px;
  padding-right: 15px;
}

.container {
  max-width: var(--page-max);
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin-left: -15px;
  margin-right: -15px;
}

.col-lg-12,
.col-lg-8,
.col-lg-4,
.col-4,
.col-6,
.col-8,
.col-sm-3,
.col-sm-6,
.col-sm-9,
.col-md-2,
.col-md-3,
.col-md-4,
.col-md-6 {
  width: 100%;
  padding-left: 15px;
  padding-right: 15px;
}

.col-4 {
  width: 33.3333%;
}

.col-6 {
  width: 50%;
}

.col-8 {
  width: 66.6667%;
}

@media (min-width: 768px) {
  .col-sm-3 {
    width: 25%;
  }

  .col-sm-6 {
    width: 50%;
  }

  .col-sm-9 {
    width: 75%;
  }

  .col-md-3 {
    width: 25%;
  }

  .col-md-2 {
    width: 16.6667%;
  }

  .col-md-4 {
    width: 33.3333%;
  }

  .col-md-6 {
    width: 50%;
  }

  .col-md-8 {
    width: 66.6667%;
  }

  .col-md-9 {
    width: 75%;
  }

  .col-md-10 {
    width: 83.3333%;
  }

  .d-md-none {
    display: none !important;
  }

  .text-md-left {
    text-align: left !important;
  }

  .mb-md-0 {
    margin-bottom: 0 !important;
  }
}

@media (min-width: 992px) {
  .col-lg-12 {
    width: 100%;
  }

  .col-lg-8 {
    width: 66.6667%;
  }

  .col-lg-4 {
    width: 33.3333%;
  }

  .d-lg-none {
    display: none !important;
  }
}

.navbar {
  position: relative;
  z-index: 1000;
  display: flex;
  align-items: center;
  padding: 0.45rem 1rem;
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
  font-weight: 300;
}

.navbar-light .navbar-brand,
.navbar-light .nav-link {
  color: rgba(0, 0, 0, 0.55);
}

.navbar-light .nav-link:hover,
.navbar-light .nav-link:focus {
  color: rgba(0, 0, 0, 0.7);
}

.navbar .text-black-50 {
  color: rgba(0, 0, 0, 0.5) !important;
}

.navbar-fixed-top {
  position: sticky;
  top: 0;
  background: #fff;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@media (max-width: 991px) {
  .navbar .container {
    flex-wrap: wrap;
  }

  .navbar-brand {
    max-width: calc(100% - 88px);
  }

  .navbar-brand img {
    max-height: 74px;
    width: auto;
  }
}

.navbar-brand {
  display: inline-flex;
  align-items: center;
}

.navbar-toggler {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #b6c3d1;
  border-radius: 4px;
  background: #fff;
  padding: 0.35rem 0.5rem;
}

@media (max-width: 991px) {
  .navbar-toggler {
    border: 2px solid #636363;
    border-radius: 12px;
    padding: 0.65rem 0.7rem;
  }
}

.navbar-toggler-icon {
  display: block;
  width: 1.3rem;
  height: 0.95rem;
  background:
    linear-gradient(#2f3d52, #2f3d52) 0 0 / 100% 2px no-repeat,
    linear-gradient(#2f3d52, #2f3d52) 0 50% / 100% 2px no-repeat,
    linear-gradient(#2f3d52, #2f3d52) 0 100% / 100% 2px no-repeat;
}

.navbar-collapse {
  display: none;
  width: 100%;
}

.navbar-collapse.show {
  display: block;
}

.navbar-nav {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding-left: 0;
}

.nav-item {
  margin: 0.25rem 0;
}

.nav-link {
  display: block;
  padding: 0.5rem 0;
  font-size: 0.9375rem;
  line-height: 1.5;
}

@media (max-width: 991px) {
  .navbar-collapse {
    flex-basis: 100%;
    margin-top: 0.5rem;
    padding-top: 0.35rem;
    border-top: 1px solid #d3d9df;
  }

  .navbar-collapse .nav,
  .navbar-collapse .navbar-nav {
    display: block;
    width: 100%;
    margin-top: 0 !important;
  }

  .navbar-nav {
    text-align: left;
  }

  .nav-item {
    display: block;
    width: 100%;
    margin: 0;
  }

  .nav-link {
    display: block;
    width: 100%;
    padding: 0.45rem 0;
    font-size: 1.05rem;
    line-height: 1.35;
  }

  .navigation-clean.navbar-inverse .navbar-nav > li > a,
  .navigation-clean.navbar-default .navbar-nav > li > a,
  .navbar-inverse .navbar-nav > li > a {
    text-transform: none;
    font-weight: 400;
    color: #666 !important;
  }
}

@media (min-width: 992px) {
  .navbar-expand-lg .navbar-toggler {
    display: none;
  }

  .navbar-expand-lg .navbar-collapse {
    display: block;
    width: auto;
  }

  .navbar-expand-lg .navbar-nav {
    display: flex;
    align-items: center;
    gap: 0.35rem;
  }

  .nav-item {
    margin: 0;
  }

  .navbar-expand-lg .nav-link {
    padding-right: 0.5rem;
    padding-left: 0.5rem;
  }
}

fieldset {
  min-width: 0;
  margin: 0 0 1rem;
  padding: 0.35rem 0.75rem 0.6rem;
  border: 1px solid #d9d9d9;
}

legend {
  width: auto;
  padding: 0 0.35rem;
  margin: 0 0 0.45rem;
  font-size: 1.15rem;
  font-weight: 400;
  line-height: 1.2;
}

.collapse {
  display: none;
}

.collapse.show {
  display: block;
}

.carousel {
  position: relative;
}

.slide {
  position: relative;
}

.carousel-fade .carousel-item {
  transition: opacity 0.45s ease;
}

.carousel-inner {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.carousel-item {
  display: none;
  position: relative;
}

.carousel-item.active {
  display: block;
}

.view {
  position: relative;
  overflow: hidden;
}

.mask {
  position: absolute;
  inset: 0;
}

.rgba-black-light {
  background: rgba(0, 0, 0, 0.28);
}

.carousel-caption {
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: 12px;
  color: #fff;
  text-align: center;
}

.carousel-control-prev,
.carousel-control-next {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 12%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-control-prev {
  left: 0;
}

.carousel-control-next {
  right: 0;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  border-top: 3px solid #fff;
  border-right: 3px solid #fff;
}

.carousel-control-prev-icon {
  transform: rotate(-135deg);
}

.carousel-control-next-icon {
  transform: rotate(45deg);
}

.carousel-indicators {
  list-style: none;
  display: flex;
  gap: 8px;
  justify-content: center;
  margin: 0;
  padding: 10px;
}

.carousel-indicators li {
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 50%;
  background-color: #4285f4;
  opacity: 0.6;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.carousel-indicators li.active {
  opacity: 1;
}

.carousel-multi-item {
  margin-bottom: 5rem;
}

.carousel-multi-item .carousel-indicators {
  margin-bottom: -2em;
}

.carousel-multi-item .carousel-indicators li {
  width: 1.25rem;
  height: 1.25rem;
  max-width: 1.25rem;
  margin-bottom: -3.75rem;
  opacity: 1;
}

.carousel-multi-item .carousel-indicators li.active {
  width: 1.56rem;
  height: 1.56rem;
  max-width: 1.56rem;
}

.card {
  background: #fff;
  border-radius: 4px;
  border: 0;
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
}

.card-body {
  padding: 1.25rem;
}

.card-title {
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.card-cascade {
  overflow: hidden;
}

.card-body-cascade {
  padding: 1.25rem;
}

.card-header {
  padding: 0.75rem 1.25rem;
  margin-bottom: 0;
  background-color: rgba(0, 0, 0, 0.03);
  border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}

.card-text {
  margin-top: 0;
  margin-bottom: 1rem;
}

.z-depth-1 {
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12) !important;
}

.rounded {
  border-radius: 4px;
}

.table {
  width: 100%;
  border-collapse: collapse;
}

.table th,
.table td {
  border-top: 1px solid #e0e5ec;
  padding: 0.6rem;
  text-align: left;
}

.table thead th {
  border-bottom: 2px solid #d5dde8;
}

.table-sm th,
.table-sm td {
  padding: 0.35rem;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0.75rem 1rem;
  margin: 0;
}

.breadcrumb-item + .breadcrumb-item::before {
  content: "/";
  margin: 0 0.5rem;
  color: #777;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  border: 0;
  border-radius: 0.125rem;
  padding: 0.84rem 2.14rem;
  font-size: 0.81rem;
  line-height: 1.25;
  margin: 0.375rem;
  text-transform: uppercase;
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  cursor: pointer;
  text-decoration: none;
}

.btn:hover,
.btn:focus,
.btn:active {
  box-shadow: 0 5px 11px 0 rgba(0, 0, 0, 0.18), 0 4px 15px 0 rgba(0, 0, 0, 0.15);
}

.btn-primary {
  background: #4285f4 !important;
  color: #fff;
}

.btn-primary:hover {
  background: #5a95f5 !important;
  text-decoration: none;
}

.btn-secondary {
  background: #6c757d;
  border-color: #6c757d;
  color: #fff;
}

.btn-secondary:hover {
  background: #5c636a;
  border-color: #565e64;
  text-decoration: none;
}

.btn-success {
  background: #198754;
  border-color: #198754;
  color: #fff;
}

.btn-success:hover {
  background: #157347;
  border-color: #146c43;
  text-decoration: none;
}

.btn-outline-primary {
  color: #0d6efd;
  border-color: #0d6efd;
  background: transparent;
}

.btn-outline-primary:hover {
  color: #fff;
  background: #0d6efd;
  text-decoration: none;
}

.btn-outline-success {
  color: #198754;
  border-color: #198754;
  background: transparent;
}

.btn-outline-success:hover {
  color: #fff;
  background: #198754;
  text-decoration: none;
}

.btn-outline-info {
  color: #0dcaf0;
  border-color: #0dcaf0;
  background: transparent;
}

.btn-outline-info:hover {
  color: #fff;
  background: #0dcaf0;
  text-decoration: none;
}

.btn-outline-secondary {
  color: #6c757d;
  border-color: #6c757d;
  background: transparent;
}

.btn-outline-secondary:hover {
  color: #fff;
  background: #6c757d;
  text-decoration: none;
}

.btn-unique {
  background: #3f51b5;
  color: #fff;
}

.btn-unique:hover {
  background: #36449d;
  text-decoration: none;
}

.btn-save {
  font-weight: 600;
}

.btn-sm {
  padding: 0.5rem 1.6rem;
  font-size: 0.64rem;
}

.btn-lg {
  padding: 0.75rem 1.25rem;
  font-size: 1rem;
}

.btn-rounded {
  border-radius: 10em;
}

.sticky-top {
  position: sticky;
  top: 68px;
  z-index: 900;
  background: #fff;
}

.list-unstyled {
  list-style: none;
  margin: 0;
  padding: 0;
}

.font-small {
  font-size: 0.9rem;
}

.grey {
  background-color: #f8f9fa;
}

.lighten-3 {
  background-color: #f2f2f2;
}

.blue-gradient {
  background: linear-gradient(40deg, #45cafc, #303f9f);
  color: #fff;
}

/* Legacy headline color block used on most nachhilfe-* pages */
.farbe4 {
  background: #2d7ed0 !important;
  color: #fff !important;
}

h1.farbe4 {
  display: block;
  padding-top: 0.12rem;
  padding-bottom: 0.12rem;
}

.blue-text {
  color: #4285f4;
}

.h2-responsive {
  font-size: 1.45rem;
  line-height: 1.3;
}

.link {
  text-decoration: none;
}

.browser-default.custom-select,
.custom-select {
  display: block;
  width: 100%;
  height: calc(2.25rem + 2px);
  padding: 0.375rem 1.75rem 0.375rem 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
  color: #495057;
  background-color: #fff;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
}

.clearfix::after {
  display: block;
  clear: both;
  content: "";
}

.text-center,
.text-sm-center {
  text-align: center !important;
}

.text-uppercase {
  text-transform: uppercase;
}

.text-black-50 {
  color: rgba(0, 0, 0, 0.72);
}

.text-white {
  color: #fff;
}

.small {
  font-size: 0.86rem;
}

.fa-3x {
  font-size: 3em;
}

.lead {
  font-size: 1.25rem;
  font-weight: 300;
}

.display-4 {
  font-size: calc(1.5rem + 2.7vw);
  line-height: 1.2;
}

@media (min-width: 1200px) {
  .display-4 {
    font-size: 3.5rem;
  }
}

.fw-bold {
  font-weight: 700 !important;
}

.fs-3 {
  font-size: 1.75rem !important;
}

.img-fluid {
  max-width: 90%;
  height: auto;
}

.w-100 {
  width: 100%;
}

.d-block {
  display: block;
}

.d-none {
  display: none !important;
}

.d-md-block {
  display: none !important;
}

.d-md-flex {
  display: none !important;
}

.d-md-inline {
  display: none !important;
}

.d-lg-block {
  display: none !important;
}

@media (min-width: 768px) {
  .d-md-block {
    display: block !important;
  }

  .d-md-flex {
    display: flex !important;
  }

  .d-md-inline {
    display: inline !important;
  }
}

@media (min-width: 992px) {
  .d-lg-block {
    display: block !important;
  }
}

.mb-0 { margin-bottom: 0 !important; }
.mb-2 { margin-bottom: 0.5rem !important; }
.mb-3 { margin-bottom: 1rem !important; }
.mb-4 { margin-bottom: 1.5rem !important; }
.mb-1 { margin-bottom: 0.25rem !important; }
.mt-0 { margin-top: 0 !important; }
.mt-2 { margin-top: 0.5rem !important; }
.mt-3 { margin-top: 1rem !important; }
.mt-4 { margin-top: 1.5rem !important; }
.mt-5 { margin-top: 3rem !important; }
.mt-md-0 { margin-top: 0 !important; }
.mr-1 { margin-right: 0.25rem !important; }
.mr-2 { margin-right: 0.5rem !important; }
.mr-3 { margin-right: 1rem !important; }
.ml-1 { margin-left: 0.25rem !important; }
.ml-auto { margin-left: auto !important; }
.ms-auto { margin-left: auto !important; }
.ms-2 { margin-left: 0.5rem !important; }
.ms-lg-3 { margin-left: 1rem !important; }
.me-1 { margin-right: 0.25rem !important; }
.me-2 { margin-right: 0.5rem !important; }
.me-3 { margin-right: 1rem !important; }
.me-4 { margin-right: 1.5rem !important; }
.ms-1 { margin-left: 0.25rem !important; }
.mx-0 { margin-left: 0 !important; margin-right: 0 !important; }
.mx-1 { margin-left: 0.25rem !important; margin-right: 0.25rem !important; }
.mx-5 { margin-left: 3rem !important; margin-right: 3rem !important; }
.m-1 { margin: 0.25rem !important; }
.m-2 { margin: 0.5rem !important; }
.m-3 { margin: 1rem !important; }
.p-2 { padding: 0.5rem !important; }
.p-3 { padding: 1rem !important; }
.p-4 { padding: 1.5rem !important; }
.p-5 { padding: 3rem !important; }
.pb-0 { padding-bottom: 0 !important; }
.pb-3 { padding-bottom: 1rem !important; }
.pt-5 { padding-top: 3rem !important; }
.pt-4 { padding-top: 1.5rem !important; }
.pr-3 { padding-right: 1rem !important; }
.px-2 { padding-left: 0.5rem !important; padding-right: 0.5rem !important; }
.px-4 { padding-left: 1.5rem !important; padding-right: 1.5rem !important; }
.px-5 { padding-left: 3rem !important; padding-right: 3rem !important; }
.px-0 { padding-left: 0 !important; padding-right: 0 !important; }
.py-2 { padding-top: 0.5rem !important; padding-bottom: 0.5rem !important; }
.py-3 { padding-top: 1rem !important; padding-bottom: 1rem !important; }
.py-4 { padding-top: 1.5rem !important; padding-bottom: 1.5rem !important; }
.py-5 { padding-top: 3rem !important; padding-bottom: 3rem !important; }

@media (min-width: 768px) {
  .p-md-5 {
    padding: 3rem !important;
  }
}

.g-2,
.g-3,
.g-4 {
  --lean-gutter-x: 1.5rem;
  --lean-gutter-y: 0;
}

.g-2 {
  --lean-gutter-x: 0.5rem;
  --lean-gutter-y: 0.5rem;
}

.g-3 {
  --lean-gutter-x: 1rem;
  --lean-gutter-y: 1rem;
}

.g-4 {
  --lean-gutter-x: 1.5rem;
  --lean-gutter-y: 1.5rem;
}

.row.g-2,
.row.g-3,
.row.g-4 {
  margin-left: calc(var(--lean-gutter-x) * -0.5);
  margin-right: calc(var(--lean-gutter-x) * -0.5);
}

.row.g-2 > *,
.row.g-3 > *,
.row.g-4 > * {
  padding-left: calc(var(--lean-gutter-x) * 0.5);
  padding-right: calc(var(--lean-gutter-x) * 0.5);
  margin-top: var(--lean-gutter-y);
}

.gap-3 {
  gap: 1rem !important;
}

.gap-2 {
  gap: 0.5rem !important;
}

.flex-grow-1 {
  flex-grow: 1 !important;
}

.flex-wrap {
  flex-wrap: wrap !important;
}

.justify-content-between {
  justify-content: space-between !important;
}

.h-100 {
  height: 100% !important;
}

.overflow-hidden {
  overflow: hidden !important;
}

.rounded-3 {
  border-radius: 0.5rem !important;
}

.rounded-pill {
  border-radius: 50rem !important;
}

.shadow-sm {
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}

.shadow-lg {
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
}

.border-0 {
  border: 0 !important;
}

.border-secondary {
  border-color: #6c757d !important;
}

.border-info {
  border-color: #0dcaf0 !important;
}

.bg-white {
  background-color: #fff !important;
}

.bg-light {
  background-color: #f8f9fa !important;
}

.bg-dark {
  background-color: #212529 !important;
}

.bg-primary {
  background-color: #0d6efd !important;
}

.text-muted {
  color: #6c757d !important;
}

.text-success {
  color: #198754 !important;
}

.text-info {
  color: #0dcaf0 !important;
}

.text-warning {
  color: #ffc107 !important;
}

.text-white-50 {
  color: rgba(255, 255, 255, 0.5) !important;
}

.text-decoration-none {
  text-decoration: none !important;
}

.btn-close {
  box-sizing: content-box;
  width: 1em;
  height: 1em;
  padding: 0.25em;
  border: 0;
  border-radius: 0.25rem;
  opacity: 0.7;
  background:
    linear-gradient(45deg, transparent 46%, currentcolor 46%, currentcolor 54%, transparent 54%),
    linear-gradient(-45deg, transparent 46%, currentcolor 46%, currentcolor 54%, transparent 54%);
  cursor: pointer;
}

.btn-close:hover {
  opacity: 1;
}

.btn-close-white {
  color: #fff;
}

.form-floating {
  position: relative;
}

.form-floating > .form-control,
.form-floating > .form-select,
.form-floating > textarea {
  min-height: 3.5rem;
  padding: 1rem 0.75rem 0.4rem;
}

.form-floating > label {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  padding: 0.8rem 0.75rem;
  pointer-events: none;
  color: #6c757d;
  transition: all 0.12s ease;
}

.form-floating > .form-control:focus + label,
.form-floating > .form-control:not(:placeholder-shown) + label,
.form-floating > .form-select + label,
.form-floating > textarea:focus + label,
.form-floating > textarea:not(:placeholder-shown) + label {
  transform: scale(0.85) translateY(-0.55rem);
  transform-origin: 0 0;
  color: #495057;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Bootstrap/MDB fallback utilities used on manually migrated pages */
.text-primary {
  color: #4285f4 !important;
}

.green-text {
  color: #4caf50;
}

.white-text {
  color: #fff;
}

.d-flex {
  display: flex !important;
}

.nav-link.active,
.navbar .nav-item.active > .nav-link {
  font-weight: 600;
}

.align-items-center {
  align-items: center !important;
}

.align-items-start {
  align-items: flex-start !important;
}

.text-start {
  text-align: left !important;
}

.justify-content-center {
  justify-content: center !important;
}

.justify-content-xl-start {
  justify-content: flex-start !important;
}

.border {
  border: 1px solid #dee2e6 !important;
}

.rounded-0 {
  border-radius: 0 !important;
}

.mb-5 {
  margin-bottom: 3rem !important;
}

.font-weight-bold {
  font-weight: 700 !important;
}

.table-striped tbody tr:nth-of-type(odd) {
  background-color: rgba(0, 0, 0, 0.035);
}

.col,
.col-md-12,
.col-md-4,
.col-lg-10 {
  position: relative;
  width: 100%;
  padding-left: 15px;
  padding-right: 15px;
}

@media (min-width: 768px) {
  .col-md-12 {
    width: 100%;
  }

  .col-md-4 {
    width: 33.3333%;
  }
}

@media (min-width: 992px) {
  .col-lg-10 {
    width: 83.3333%;
  }
}

.justify-content-center > .col,
.justify-content-center > .col-md-4,
.justify-content-center > .col-lg-10 {
  flex: 0 0 auto;
}

.card-hover {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card-hover:hover {
  transform: translateY(-2px);
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.12);
}

.fade {
  transition: opacity 0.15s linear;
}

.form-control,
.md-textarea,
.mdb-select {
  display: block;
  width: 100%;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
  color: #495057;
  background-color: #fff;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-label {
  display: inline-block;
  margin-bottom: 0.5rem;
}

.form-select {
  display: block;
  width: 100%;
  padding: 0.375rem 2rem 0.375rem 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
  color: #495057;
  background-color: #fff;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
}

.form-select-sm {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
  padding-left: 0.5rem;
  font-size: 0.875rem;
  border-radius: 0.2rem;
}

.form-control-sm {
  min-height: calc(1.5em + 0.5rem + 2px);
  padding: 0.25rem 0.5rem;
  font-size: 0.875rem;
  border-radius: 0.2rem;
}

.form-range {
  width: 100%;
  padding: 0;
  background: transparent;
}

.form-check {
  position: relative;
  display: block;
  padding-left: 0;
}

.form-check-inline {
  display: inline-block;
  margin-right: 1rem;
  padding-left: 0;
}


.form-check-input[type="radio"],
.form-check-input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.form-check-input[type="radio"] + .form-check-label,
.form-check-input[type="checkbox"] + .form-check-label {
  position: relative;
  display: inline-block;
  cursor: pointer;
  user-select: none;
  color: #757575;
  font-size: 0.95rem;
}

.form-check-input[type="radio"] + .form-check-label {
  padding-left: 35px;
  height: 1.5625rem;
  line-height: 1.5625rem;
}

.form-check-input[type="radio"] + .form-check-label::before,
.form-check-input[type="radio"] + .form-check-label::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  margin: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  transition: 0.28s ease;
}

.form-check-input[type="radio"] + .form-check-label::before {
  border: 2px solid #5a5a5a;
}

.form-check-input[type="radio"] + .form-check-label::after {
  border: 2px solid #4285f4;
  background-color: #4285f4;
  transform: scale(0);
}

.form-check-input[type="radio"]:checked + .form-check-label::before {
  border: 2px solid transparent;
}

.form-check-input[type="radio"]:checked + .form-check-label::after {
  transform: scale(1.02);
}

.form-check-input[type="checkbox"] + .form-check-label {
  padding-left: 30px;
  min-height: 1.35rem;
  line-height: 1.35rem;
}

.form-check-input[type="checkbox"] + .form-check-label::before {
  content: "";
  position: absolute;
  top: 2px;
  left: 0;
  width: 18px;
  height: 18px;
  border: 2px solid #8a8a8a;
  border-radius: 2px;
  transition: 0.2s;
}

.form-check-input[type="checkbox"]:checked + .form-check-label::before {
  top: -2px;
  left: 2px;
  width: 10px;
  height: 18px;
  border-top: 2px solid transparent;
  border-left: 2px solid transparent;
  border-right: 2px solid #4285f4;
  border-bottom: 2px solid #4285f4;
  border-radius: 0;
  transform: rotate(40deg);
}

.form-check-label {
  margin-bottom: 0;
  cursor: pointer;
  user-select: none;
  font-size: 1rem;
}

.invalid-feedback {
  display: none;
  width: 100%;
  margin-top: 0.25rem;
  font-size: 0.875em;
  color: #dc3545;
}

.view-cascade,
.gradient-card-header {
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
  padding: 1.6rem 1rem;
  text-align: center;
}

.card-header-title,
.card-header-subtitle {
  color: #fff;
}

.card-header-title {
  margin-top: 0;
}

.card-header-subtitle {
  margin-top: 0;
}

/* Bootstrap compatibility layer for migrated order forms */
.text-start {
  text-align: left !important;
}

.text-danger {
  color: #dc3545 !important;
}

.opacity-75 {
  opacity: 0.75 !important;
}

.cursor-pointer {
  cursor: pointer !important;
}

.alert {
  position: relative;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  border: 1px solid transparent;
  border-radius: 0.25rem;
}

.alert-light {
  color: #495057;
  background-color: #f8f9fa;
  border-color: #e9ecef;
}

.badge {
  display: inline-block;
  padding: 0.35em 0.65em;
  font-size: 0.75em;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: 0.375rem;
}

.text-bg-success {
  color: #fff !important;
  background-color: #198754 !important;
}

.bg-success-subtle {
  background-color: #d1e7dd !important;
}

.border-primary {
  border-color: #0d6efd !important;
}

.btn-group {
  position: relative;
  display: inline-flex;
  vertical-align: middle;
}

.btn-group > .btn {
  position: relative;
  flex: 1 1 0;
}

.btn-check {
  position: absolute;
  clip: rect(0, 0, 0, 0);
  pointer-events: none;
}

.btn-check:checked + .btn-outline-primary {
  color: #fff;
  background-color: #0d6efd;
  border-color: #0d6efd;
}

.btn-check:focus + .btn,
.btn-check + .btn:focus {
  outline: 2px solid rgba(13, 110, 253, 0.35);
  outline-offset: 1px;
}

.btn-lg {
  padding: 0.5rem 1rem;
  font-size: 1.25rem;
  line-height: 1.5;
  border-radius: 0.3rem;
}

.form-label {
  display: inline-block;
  margin-bottom: 0.5rem;
}

.form-control-sm {
  min-height: calc(1.5em + 0.5rem + 2px);
  padding: 0.25rem 0.5rem;
  font-size: 0.875rem;
  border-radius: 0.2rem;
}

.form-range {
  width: 100%;
}

.p-2 {
  padding: 0.5rem !important;
}

.py-3 {
  padding-top: 1rem !important;
  padding-bottom: 1rem !important;
}

.mt-1 {
  margin-top: 0.25rem !important;
}

.mx-1 {
  margin-left: 0.25rem !important;
  margin-right: 0.25rem !important;
}

.me-3 {
  margin-right: 1rem !important;
}

.ms-1 {
  margin-left: 0.25rem !important;
}

.gap-2 {
  gap: 0.5rem !important;
}

.col-4,
.col-6,
.col-8,
.col-md-2,
.col-md-8,
.col-md-9,
.col-md-10 {
  position: relative;
  width: 100%;
  padding-left: 15px;
  padding-right: 15px;
}

.col-4 {
  width: 33.3333%;
}

.col-6 {
  width: 50%;
}

.col-8 {
  width: 66.6667%;
}

@media (min-width: 768px) {
  .p-md-5 {
    padding: 3rem !important;
  }

  .col-md-2 {
    width: 16.6667%;
  }

  .col-md-8 {
    width: 66.6667%;
  }

  .col-md-9 {
    width: 75%;
  }

  .col-md-10 {
    width: 83.3333%;
  }
}

.mx-3 {
  margin-left: 1rem !important;
  margin-right: 1rem !important;
}

.md-textarea {
  min-height: 5.5rem;
  resize: vertical;
}

.md-form {
  position: relative;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

.md-form .form-control,
.md-form .md-textarea,
.md-form .mdb-select,
.md-form .form-select {
  display: block;
  width: 100%;
  margin: 0 0 0.5rem;
  padding: 0.3rem 0 0.55rem;
  font-size: 1rem;
  line-height: 1.5;
  color: #495057;
  background-color: transparent;
  border: 0;
  border-bottom: 1px solid #ced4da;
  border-radius: 0;
  box-shadow: none;
}

.md-form .mdb-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 1.25rem;
  background-image: linear-gradient(45deg, transparent 50%, #212529 50%), linear-gradient(135deg, #212529 50%, transparent 50%);
  background-position: calc(100% - 10px) calc(50% + 1px), calc(100% - 5px) calc(50% + 1px);
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

.md-form .form-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 1.25rem;
  background-image: linear-gradient(45deg, transparent 50%, #212529 50%), linear-gradient(135deg, #212529 50%, transparent 50%);
  background-position: calc(100% - 10px) calc(50% + 1px), calc(100% - 5px) calc(50% + 1px);
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

.md-form .form-control:focus,
.md-form .md-textarea:focus,
.md-form .mdb-select:focus,
.md-form .form-select:focus {
  border-bottom: 1px solid #4285f4;
  box-shadow: 0 1px 0 0 #4285f4;
  outline: 0;
}

.md-form label {
  position: absolute;
  top: 0.65rem;
  left: 0;
  margin: 0;
  font-size: 1rem;
  color: #757575;
  pointer-events: none;
  transition: transform 0.2s ease-out, color 0.2s ease-out;
}

.md-form .form-check {
  position: static;
  display: inline-block;
  margin-right: 1rem;
}

.md-form .form-check-label {
  position: relative;
  top: auto;
  left: auto;
  transform: none !important;
  pointer-events: auto;
  color: #757575;
  margin-left: 0;
}

.md-form label.active {
  transform: translateY(-140%);
  font-size: 0.8rem;
  color: #4285f4;
}

.md-form .form-control:focus + label,
.md-form .md-textarea:focus + label {
  transform: translateY(-140%);
  font-size: 0.8rem;
  color: #4285f4;
}

.prefix {
  margin-right: 0.35rem;
}

.callback-modal .modal-body {
  padding-top: 1.25rem;
}

.callback-modal .md-form.callback-field {
  position: relative;
  margin-top: 1.25rem;
  margin-bottom: 1.75rem;
}

.callback-modal .md-form.callback-field .callback-icon {
  position: absolute;
  top: 0.45rem;
  left: 0;
  width: 1rem;
  height: 1rem;
  margin: 0;
  pointer-events: none;
}

.callback-modal .md-form.callback-field .form-control,
.callback-modal .md-form.callback-field .md-textarea {
  padding-left: 1.8rem;
}

.callback-modal .md-form.callback-field label {
  left: 1.8rem;
  top: 0.35rem;
}

.callback-modal .md-form.callback-field .form-control:focus + label,
.callback-modal .md-form.callback-field .md-textarea:focus + label,
.callback-modal .md-form.callback-field label.active {
  transform: translateY(-125%);
}

.callback-modal.callback-v1 .modal-content {
  border-radius: 0.25rem;
  overflow: hidden;
}

.callback-modal.callback-v1 .modal-header {
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
}

.callback-modal.callback-v1 .modal-title {
  font-size: 1.95rem;
  font-weight: 700;
}

.callback-modal.callback-v1 .modal-body {
  background: #fff;
}

.callback-modal.callback-v1 .mdb-select {
  appearance: auto;
  -webkit-appearance: auto;
  -moz-appearance: auto;
  border: 0;
  border-bottom: 1px solid #cfd8e3;
  border-radius: 0;
  background-color: #fff;
  background-image: none;
  color: #1f2733;
  font-weight: 400;
  line-height: 1.35;
  min-height: 3.05rem;
  padding: 0.68rem 0;
  margin-bottom: 0.5rem;
  box-shadow: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.callback-modal.callback-v1 .mdb-select:hover {
  border-bottom-color: #b8c5d4;
}

.callback-modal.callback-v1 .mdb-select:focus {
  outline: 0;
  border-bottom-color: #4b86e8;
  box-shadow: 0 0 0 2px rgba(75, 134, 232, 0.12);
  transform: none;
}

.callback-modal.callback-v1 .mdb-select + .mdb-select {
  margin-top: 0.2rem;
}

.callback-modal.callback-v1 .modal-footer {
  border-top: 0;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.callback-modal.callback-v1 .modal-footer .btn {
  min-width: 165px;
}

.modal {
  position: fixed;
  inset: 0;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1200;
  display: none;
  overflow-x: hidden;
  overflow-y: auto;
  background: rgba(0, 0, 0, 0.45);
}

@supports (height: 100dvh) {
  .modal {
    height: 100dvh;
  }
}

.modal.fade {
  opacity: 0;
}

.modal.show {
  display: block;
  opacity: 1;
}

.modal-dialog {
  position: relative;
  width: auto;
  max-width: 560px;
  margin: 1.75rem auto;
  pointer-events: none;
}

.modal-content {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  pointer-events: auto;
  background-color: #fff;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 0.3rem;
}

.modal-header,
.modal-body,
.modal-footer {
  padding: 1rem;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #e9ecef;
}

.modal-title {
  margin: 0;
}

.modal-footer {
  border-top: 1px solid #e9ecef;
}

.close {
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 1.6rem;
  line-height: 1;
  color: #fff;
  cursor: pointer;
}

/* Shared site footer + mobile contact bar */
.mobile-sticky-footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1100;
  background: #ffffff;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.12);
  display: flex;
  gap: 10px;
  padding: 10px;
}

.mobile-sticky-footer .btn {
  margin: 0;
  justify-content: center;
  border-radius: 0.4rem;
  font-size: 1.05rem;
  padding: 0.7rem 0.9rem;
}

.mobile-sticky-footer-spacer {
  height: 78px;
}

@media (min-width: 768px) {
  .mobile-sticky-footer,
  .mobile-sticky-footer-spacer {
    display: none !important;
  }
}
.farbe5 {
    background-color: #C1F485;
    color: #575757;
}