/* Desktop */
@media screen and (min-width: 769px) {
}

/* Mobile */
@media (max-width: 767.98px) {
  /* Für mobile Geräte */
  .Warenkorb {
    padding: 8px;
  }

  .Warenkorb h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
  }

  .Warenkorb img {
    max-width: 120px;
  }

  .Warenkorb table {
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
  }

  .Warenkorb p {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
  }

  .Warenkorb .d-flex.justify-content-between span {
    font-size: 0.9rem;
  }

  .Warenkorb hr {
    margin: 0.5rem 0;
  }
}

/*!
------------------------------------------------------------- Main -------------------------------------------------------------
 */

body {
  font-family: "Roboto", sans-serif;
  background-color: #f8f9fa;
}

.navbar-brand {
  font-weight: bold;
}

.FormularBeschriftung {
  font-weight: 500;
}

.Warenkorb {
  border: 1px solid #e9ecef;
  border-radius: 12px;
  padding: 1.25rem;
  background-color: #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

footer {
  background-color: #f8f9fa;
  border-top: 1px solid #dee2e6;
  padding: 1.5rem 0 1rem;
  margin-top: 2rem;
}

.footer-section-title {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #6c757d;
  margin-bottom: 0.75rem;
}

.footer-logo {
  height: 28px;
  width: auto;
  margin-right: 12px;
  margin-bottom: 8px;
  opacity: 0.7;
  transition: opacity 0.15s;
}

.footer-logo:hover {
  opacity: 1;
}

.footer-logo-lg {
  height: 60px;
}

.footer-links {
  border-top: 1px solid #e9ecef;
  padding: 0.75rem 0.75rem 0;
  margin-top: 0.75rem;
}

.footer-links a {
  color: #6c757d;
  text-decoration: none;
  font-size: 0.85rem;
}

.footer-links a:hover {
  text-decoration: underline;
  color: #495057;
}

.footer-links .footer-separator {
  color: #ced4da;
  margin: 0 0.5rem;
}

.bg-bestellen {
  background-color: #fafafa;
}

.HeaderLayout {
  background-color: rgba(209, 35, 42, 1);
  border-bottom-color: red;
  border-radius: 5px;
  border-bottom-width: 4px;
  border-bottom-style: solid;
  box-shadow: none;
}

.HeaderText {
  color: white;
  font-size: 12px;
}

.NavigationButtons {
  width: 313px;
  margin-top: 5px;
  margin-bottom: 10px;
}

.SchriftartNavigation {
  font-family: Arial, Helvetica, Geneva, sans;
  font-size: 12px;
}

.PayPalExpress {
  border-style: solid;
  border-width: 1px;
  border-color: rgb(206, 205, 205);
  padding: 1px;
  margin-left: 22px;
  margin-right: 22px;
}

.ButtonWeiterCC {
  -moz-box-shadow: inset 0px 1px 0px 0px #f29c93;
  -webkit-box-shadow: inset 0px 1px 0px 0px #f29c93;
  box-shadow: inset 0px 1px 0px 0px #f29c93;
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    color-stop(0.05, #fe1a00),
    color-stop(1, #ce0100)
  );
  background: -moz-linear-gradient(center top, #fe1a00 5%, #ce0100 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fe1a00', endColorstr='#ce0100');
  background-color: #fe1a00;
  -moz-border-radius: 6px;
  -webkit-border-radius: 6px;
  border-radius: 6px;
  border: 1px solid #d83526;
  display: inline-block;
  color: #ffffff;
  font-family: Verdana;
  font-size: 16px;
  font-weight: bold;
  padding: 6px 10px;
  text-decoration: none;
}

.fehlerhinweis {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16pt;
  color: #000000;
  background-color: red;
}

.btnZahlart {
  background-color: #f6f6f6;
  border-color: #ddd;
  -webkit-border-radius: 0.3125em;
  border-radius: 0.3125em;
  border-width: 1px;
  border-style: solid;
  color: #333;
  text-shadow: 0 1px 0 #f3f3f3;
  font-weight: 700;
  font-size: 16px;
  margin: 0.5em 0;
  padding: 0.7em 1em;
  display: block;
  position: relative;
  text-align: center;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  cursor: pointer;
  -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
  -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
  text-decoration: none !important;
  height: 50px !important;
}

.btnZahlartLastschrift {
  background-color: #f6f6f6;
  border-color: #ddd;
  -webkit-border-radius: 0.3125em;
  border-radius: 0.3125em;
  border-width: 1px;
  border-style: solid;
  color: #333;
  text-shadow: 0 1px 0 #f3f3f3;
  font-weight: 700;
  font-size: 16px;
  margin: 0.5em 0;
  display: block;
  position: relative;
  text-align: center;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  cursor: pointer;
  -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
  -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
  text-decoration: none !important;
  height: 50px !important;
}

.btnZahlartPayPal {
  background-color: #f6f6f6;
  border-color: #ddd;
  -webkit-border-radius: 0.3125em;
  border-radius: 0.3125em;
  border-width: 1px;
  border-style: solid;
  color: #333;
  text-shadow: 0 1px 0 #f3f3f3;
  font-weight: 700;
  font-size: 16px;
  margin: 0.5em 0;
  padding: 0.7em 1em;
  display: block;
  position: relative;
  text-align: center;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  cursor: pointer;
  -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
  -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
  text-decoration: none !important;
  height: 50px !important;
  background-image: url(../images/payment/paypal_logo.gif) !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
}

.footer-lastschrift {
  border-top-width: 4px !important;
  border-top-style: solid !important;
  border-top-color: grey !important;
  border-bottom-width: 2px !important;
  border-bottom-style: solid !important;
  border-bottom-color: grey !important;
  background-color: white !important;
  padding: 0px !important;
  height: 60px;
}

.HintergrundFooterOben {
  background-color: #f5f5f5;
  border-top: 4px solid grey;
  border-bottom: 2px solid grey;
}

.details {
  font-size: 12px;
  line-height: normal;
}

.ButtonZahlarten {
  background-color: #f6f6f6;
  border-color: #ddd;
  color: #333;
  text-shadow: 0 1px 0 #f3f3f3;
  border-width: 2px;
  border-style: outset;
  border-color: -internal-light-dark(rgb(118, 118, 118), rgb(133, 133, 133));
}

.ButtonPayPal {
  height: 50px !important;
  background-image: url(../images/payment/paypal.svg) !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
}

.Fehlermeldung_klein {
  width: 100%;
  margin-top: 0.35rem;
  font-size: 0.8rem;
  color: #dc3545;
}

.Fehlermeldung_TOP {
  width: 100%;
  margin-top: 0.5rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: #842029;
  background-color: #f8d7da;
  border: 1px solid #f5c2c7;
  border-radius: 8px;
  padding: 0.75rem 1rem;
}

/*!
------------------------------------------------------------- Spinner -------------------------------------------------------------
 */

.fa {
  color: #000;
}

.fa:hover {
  color: #000;
}
/*!
------------------------------------------------------------- Kreditkarte -------------------------------------------------------------
 */
/* custom.css */

/* Anwendung von !important für maximale Priorität */
.ButtonWeiter {
  background-color: rgb(0, 36, 123) !important;
  color: white !important;
  border: none !important;
  border-radius: 6px;
  
  /* Dezenter Schatten nach schräg unten rechts */
  box-shadow: 3px 3px 6px rgba(0,0,0,0.2);
  
  /* Für weiche Übergänge */
  transition: all 0.1s ease-in-out;
}

.ButtonWeiter:hover {
  background-color: #375881 !important;
  
  /* Beim Hover leicht nach oben/links (negativer Offset),
     Schatten wird minimal angepasst */
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 8px rgba(0,0,0,0.2);
}

.ButtonWeiter:active,
.ButtonWeiter.active {
  background-color: rgb(0, 36, 123) !important;
  
  /* Beim Klicken nach unten/rechts,
     Schatten „verkleinern“ für gedrückten Effekt */
  transform: translate(1px, 1px);
  box-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.ButtonWeiter:focus,
.ButtonWeiter.focus {
  outline: none !important;
  /* Schatten kann beim Fokussieren unverändert bleiben */
  box-shadow: 3px 3px 6px rgba(0,0,0,0.2);
}

.ButtonWeiter:disabled,
.ButtonWeiter.disabled {
  opacity: 0.65 !important;
  box-shadow: none !important;
  transform: none !important;
}








/* Neue Klasse für andere Sprachen */
.ButtonOtherLanguage {
  background-color: #dc3545 !important;
  color: white !important;
  border: none !important;
}

/* Für alle Zustände auch die rot-Färbung anwenden */
.ButtonOtherLanguage:hover {
  background-color: #b32d3b !important;
  color: white !important;
  border: none !important;
}

.ButtonOtherLanguage:active,
.ButtonOtherLanguage.active {
  background-color: #dc3545 !important;
  color: white !important;
  border: none !important;
  box-shadow: none !important;
}

.ButtonOtherLanguage:focus,
.ButtonOtherLanguage.focus {
  background-color: #dc3545 !important;
  color: white !important;
  border: none !important;
  box-shadow: none !important;
}

.ButtonOtherLanguage:disabled,
.ButtonOtherLanguage.disabled {
  background-color: #dc3545 !important;
  color: white !important;
  border: none !important;
  opacity: 0.65 !important;
}




.ProgressBarOtherLanguage {
  background-color: #dc3545 !important;
  color: #fff !important;
}

/* custom.css */

/* Entfernt die grünen Haken bei validen Feldern */
.form-control.is-valid,
.was-validated .form-control:valid {
  background-image: none;
  border-color: rgb(222, 226, 230);
}

/*!
------------------------------------------------------------- Step Indicator -------------------------------------------------------------
*/

.step-indicator {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  margin-bottom: 2rem;
  padding: 0 10px;
}

.step-indicator::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 40px;
  right: 40px;
  height: 3px;
  background-color: #dee2e6;
  z-index: 0;
}

.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
  flex: 1;
}

.step-circle {
  width: 36px;
  min-width: 36px;
  height: 36px;
  min-height: 36px;
  border-radius: 50%;
  background-color: #dee2e6;
  color: #6c757d;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 6px;
  transition: all 0.2s ease;
  border: 3px solid #dee2e6;
}

.step-item.completed .step-circle {
  background-color: #6c757d;
  border-color: #6c757d;
  color: #fff;
}

.step-item.active .step-circle {
  background-color: #dc3545;
  border-color: #dc3545;
  color: #fff;
  box-shadow: 0 0 0 4px rgba(220, 53, 69, 0.15);
}

.step-label {
  font-size: 0.78rem;
  color: #6c757d;
  font-weight: 500;
  text-align: center;
  white-space: nowrap;
}

.step-item.active .step-label {
  color: #dc3545;
  font-weight: 600;
}

.step-item.completed .step-label {
  color: #495057;
}

@media (max-width: 575.98px) {
  .step-circle {
    width: 30px;
    height: 30px;
    font-size: 0.8rem;
  }
  .step-label {
    font-size: 0.7rem;
  }
  .step-indicator::before {
    top: 15px;
    left: 30px;
    right: 30px;
  }
}

/*!
------------------------------------------------------------- Payment Card -------------------------------------------------------------
*/

.payment-card {
  background-color: #fff;
  border: 1px solid #e9ecef;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  padding: 2rem;
}

@media (max-width: 575.98px) {
  .payment-card {
    padding: 1.25rem;
    border-radius: 8px;
  }
}

.security-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: #e8f5e9;
  color: #2e7d32;
  font-size: 0.82rem;
  font-weight: 500;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 1.25rem;
}

.security-badge i {
  font-size: 1rem;
}

.payment-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 0.75rem;
}

.payment-title h4 {
  margin-bottom: 0;
}

.payment-title img {
  height: 28px;
  width: auto;
}

/*!
------------------------------------------------------------- IBAN / Form Enhancements -------------------------------------------------------------
*/

.iban-input {
  font-family: "Roboto Mono", "Courier New", monospace;
  letter-spacing: 1.5px;
  font-size: 1rem;
}

.divider-text {
  display: flex;
  align-items: center;
  margin: 1.5rem 0;
}

.divider-text hr {
  flex-grow: 1;
  border: none;
  border-top: 1px solid #dee2e6;
  margin: 0;
}

.divider-text span {
  padding: 0 1rem;
  color: #6c757d;
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
}

.security-footer-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #6c757d;
  font-size: 0.8rem;
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid #e9ecef;
}

.security-footer-note i {
  color: #6c757d;
  font-size: 0.9rem;
}

/*!
------------------------------------------------------------- Payment Method Cards -------------------------------------------------------------
*/

.payment-method-card {
  display: flex;
  align-items: center;
  padding: 1rem 1.25rem;
  background: #fff;
  border: 1px solid #dee2e6;
  border-radius: 10px;
  text-decoration: none !important;
  color: #212529;
  transition: all 0.15s ease;
  margin-bottom: 0.75rem;
}

.payment-method-card:hover {
  border-color: #adb5bd;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transform: translateY(-1px);
  color: #212529;
}

.payment-method-card:active {
  transform: translateY(0);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.payment-method-card .pm-icon {
  font-size: 1.5rem;
  color: #495057;
  width: 40px;
  text-align: center;
  flex-shrink: 0;
}

.payment-method-card .pm-icon img {
  height: 22px;
  width: auto;
}

.payment-method-card .pm-label {
  flex-grow: 1;
  font-weight: 600;
  font-size: 1rem;
  margin-left: 0.75rem;
}

.payment-method-card .pm-arrow {
  color: #adb5bd;
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: transform 0.15s ease;
}

.payment-method-card:hover .pm-arrow {
  color: #495057;
  transform: translateX(3px);
}
