#schigged-home-wrapper {
  padding-bottom: 40px;
}

/* Eigenes Symbol fuer Tickets & Bestellverlauf im Kundenkonto. */
body#my-account #history-link .link-item > .material-icons,
body#my-account #history-link .link-item > i,
body#my-account #history-link .link-item > svg,
body#my-account #history-link .link-item > img {
  display: none !important;
}

body#my-account #history-link .link-item::before {
  content: "";
  display: block;
  width: clamp(40px, 4vw, 54px);
  height: clamp(40px, 4vw, 54px);
  margin: 0 auto 16px;
  background: url("../img/fahrkarte.svg") center / contain no-repeat;
  opacity: 0.78;
}

.schigged-home-hero {
  margin-bottom: 35px;
}

.schigged-home-hero-image img {
  width: 100%;
  height: auto;
  display: block;
}

.schigged-home-hero-title-wrap,
.schigged-home-hero-title-only {
  padding-top: 25px;
  padding-bottom: 10px;
  text-align: center;
}

.schigged-home-hero-title {
  font-size: 2.2rem;
  font-weight: 800;
  margin: 0;
}

.schigged-home-intro {
  margin-bottom: 35px;
}

.schigged-home-intro-inner {
  max-width: 850px;
  margin: 0 auto;
  text-align: center;
  font-size: 1.05rem;
  line-height: 1.7;
  padding: 20px;
  border-radius: 12px;
}

.schigged-home-highlight {
  margin-bottom: 40px;
}

.schigged-home-products {
  margin-bottom: 40px;
}

.schigged-home-videos {
  margin-bottom: 40px;
}

/*
 * Warenkorb-Kompatibilitaet fuer Themes ohne geladene Material-Icons-Schrift.
 * Ohne diese Absicherung erscheinen sonst die Rohtexte "delete" und
 * "chevron_left" und laufen auf kleinen Displays aus der Karte heraus.
 */
.page-cart .remove-from-cart {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 9px;
  overflow: hidden;
}

.page-cart .remove-from-cart .material-icons {
  position: relative;
  display: block !important;
  width: 20px;
  height: 22px;
  overflow: hidden !important;
  color: currentColor;
  font-size: 0 !important;
  line-height: 1 !important;
}

.page-cart .remove-from-cart .material-icons::before {
  content: "" !important;
  position: absolute;
  inset: 0;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 2h10l1 2h4v2H2V4h4l1-2Zm-2 6h14l-1 14H6L5 8Zm4 3v8h2v-8H9Zm4 0v8h2v-8h-2Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 2h10l1 2h4v2H2V4h4l1-2Zm-2 6h14l-1 14H6L5 8Zm4 3v8h2v-8H9Zm4 0v8h2v-8h-2Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.page-cart .cart-grid-body > a.label {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  white-space: normal;
}

.page-cart .cart-grid-body > a.label .material-icons {
  position: relative;
  flex: 0 0 17px;
  width: 17px;
  height: 17px;
  overflow: hidden !important;
  font-size: 0 !important;
}

.page-cart .cart-grid-body > a.label .material-icons::before {
  content: "" !important;
  position: absolute;
  width: 9px;
  height: 9px;
  top: 3px;
  left: 4px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}

@media (max-width: 767px) {
  .page-cart .cart-container,
  .page-cart .cart-overview,
  .page-cart .cart-items {
    max-width: 100%;
    overflow: hidden;
  }

  .page-cart .cart-items {
    margin: 0;
    padding: 0;
  }

  .page-cart .product-line-grid {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    column-gap: 14px;
    row-gap: 10px;
    width: 100%;
    margin: 0;
    padding: 16px 0;
  }

  .page-cart .product-line-grid-left,
  .page-cart .product-line-grid-body,
  .page-cart .product-line-actions {
    float: none;
    width: auto;
    min-width: 0;
    padding: 0;
  }

  .page-cart .product-line-grid-left {
    grid-column: 1;
  }

  .page-cart .product-line-grid-left .product-image,
  .page-cart .product-line-grid-left img {
    display: block;
    width: 88px;
    max-width: 88px;
    height: 88px;
    object-fit: cover;
    border-radius: 12px;
  }

  .page-cart .product-line-grid-body {
    grid-column: 2;
  }

  .page-cart .product-line-grid-body .product-line-info {
    overflow-wrap: anywhere;
  }

  .page-cart .product-line-grid-body .label {
    font-size: 0.96rem;
    line-height: 1.3;
  }

  .page-cart .product-line-grid-body .product-price {
    margin-top: 0.28rem;
  }

  .page-cart .product-line-grid-body br {
    display: none;
  }

  .page-cart .product-line-info.ticket-kategorie {
    margin-top: 0.5rem;
    font-size: 0.85rem;
    line-height: 1.3;
  }

  .page-cart .product-line-actions {
    grid-column: 1 / -1;
    margin-top: 2px;
  }

  .page-cart .product-line-actions > .row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
  }

  .page-cart .product-line-actions > .row > .hidden-md-up {
    display: none !important;
  }

  .page-cart .product-line-actions > .row > .col-md-10 {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    padding: 0;
  }

  .page-cart .product-line-actions > .row > .col-md-10 > .row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
  }

  .page-cart .product-line-actions .qty {
    flex: 0 0 108px;
    width: 108px;
    max-width: 108px;
    padding: 0;
  }

  .page-cart .product-line-actions .qty .bootstrap-touchspin {
    width: 108px;
    max-width: 108px;
  }

  .page-cart .product-line-actions .qty input.js-cart-line-product-quantity {
    width: 72px;
    height: 40px;
    padding: 0.45rem 0.55rem;
    border: 1px solid #d7dbe2;
    background: #fff;
    color: #172033;
    text-align: center;
    font-size: 1rem;
    box-shadow: none;
  }

  .page-cart .product-line-actions .qty .input-group-btn-vertical {
    width: 34px;
  }

  .page-cart .product-line-actions .qty .btn-touchspin {
    width: 34px;
    height: 20px;
    min-height: 20px;
    padding: 0 !important;
    border: 1px solid #d7dbe2 !important;
    border-left: 0 !important;
    border-radius: 0 !important;
    background: #fff !important;
    color: #172033 !important;
    box-shadow: none !important;
  }

  .page-cart .product-line-actions .qty .btn-touchspin > .material-icons {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    font-family: Arial, sans-serif !important;
    font-size: 0 !important;
    line-height: 1 !important;
  }

  .page-cart .product-line-actions .qty .btn-touchspin > .touchspin-up::before,
  .page-cart .product-line-actions .qty .btn-touchspin > .touchspin-down::before {
    display: block;
    color: #172033;
    font-family: Arial, sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
  }

  .page-cart .product-line-actions .qty .btn-touchspin > .touchspin-up::before {
    content: "+" !important;
  }

  .page-cart .product-line-actions .qty .btn-touchspin > .touchspin-down::before {
    content: "−" !important;
  }

  .page-cart .product-line-actions .price {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    padding: 0;
    text-align: right;
  }

  .page-cart .product-line-actions .price .product-price {
    white-space: nowrap;
    font-size: 1rem;
  }

  .page-cart .product-line-actions > .row > .text-xs-right {
    flex: 0 0 40px;
    width: 40px;
    padding: 0;
  }

  .page-cart .cart-grid-body > a.label {
    margin: 0.85rem 0 1rem;
    font-size: 0.92rem;
  }
}

/*
 * Checkout ohne Abhaengigkeit von der Material-Icons-Schrift. Auf iOS bzw.
 * in In-App-Browsern wurden sonst Kaestchen, "mode_edit" oder Zeichencodes
 * anstelle von Haken und Bearbeiten-Symbolen ausgegeben.
 */
body#checkout .custom-checkbox label {
  position: relative;
  display: block;
  min-height: 26px;
  padding-left: 38px;
}

body#checkout .custom-checkbox label > input[type="checkbox"] {
  position: absolute;
  z-index: 2;
  top: 1px;
  left: 0;
  width: 25px;
  height: 25px;
  margin: 0;
  cursor: pointer;
  opacity: 0;
}

body#checkout .custom-checkbox label > input[type="checkbox"] + span {
  position: absolute;
  top: 1px;
  left: 0;
  display: block;
  width: 25px;
  height: 25px;
  border: 2px solid #aeb4bd;
  border-radius: 6px;
  background: #fff;
  box-sizing: border-box;
  box-shadow: none;
}

body#checkout .custom-checkbox label > input[type="checkbox"] + span .checkbox-checked {
  display: none !important;
}

body#checkout .custom-checkbox label > input[type="checkbox"]:checked + span {
  border-color: #00bf63;
  background: #00bf63;
}

body#checkout .custom-checkbox label > input[type="checkbox"]:checked + span::after {
  content: "";
  position: absolute;
  top: 5px;
  left: 5px;
  width: 11px;
  height: 6px;
  border-left: 3px solid #fff;
  border-bottom: 3px solid #fff;
  transform: rotate(-45deg);
  box-sizing: border-box;
}

body#checkout .custom-checkbox label > input[type="checkbox"]:focus-visible + span {
  outline: 3px solid rgba(0, 191, 99, 0.22);
  outline-offset: 2px;
}

body#checkout .checkout-step .step-title .done {
  display: none;
  font-size: 0 !important;
  line-height: 1 !important;
}

body#checkout .checkout-step.-complete .step-title .done {
  position: relative;
  display: inline-block !important;
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  margin: 0;
  border-radius: 50%;
  background: #00bf63;
  vertical-align: middle;
  overflow: hidden;
}

body#checkout .checkout-step.-complete .step-title .done::before {
  content: "" !important;
  position: absolute;
  top: 7px;
  left: 6px;
  width: 13px;
  height: 7px;
  border-left: 3px solid #fff;
  border-bottom: 3px solid #fff;
  transform: rotate(-45deg);
  box-sizing: border-box;
}

body#checkout .checkout-step .step-edit {
  white-space: nowrap;
}

body#checkout .checkout-step .step-edit .material-icons,
body#checkout .checkout-step .step-edit .edit {
  display: none !important;
}

/* Pfeil an „Zeige Details“ ohne Material-Icons-Schrift. */
body#checkout .cart-summary-products a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

body#checkout .cart-summary-products a .material-icons {
  position: relative;
  display: inline-block !important;
  flex: 0 0 13px;
  width: 13px;
  height: 13px;
  overflow: hidden !important;
  font-size: 0 !important;
  line-height: 1 !important;
}

body#checkout .cart-summary-products a .material-icons::before {
  content: "" !important;
  position: absolute;
  top: 1px;
  left: 2px;
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.18s ease, top 0.18s ease;
  box-sizing: border-box;
}

body#checkout .cart-summary-products a[aria-expanded="true"] .material-icons::before,
body#checkout .cart-summary-products a:not(.collapsed)[aria-expanded="true"] .material-icons::before {
  top: 5px;
  transform: rotate(225deg);
}

@media (max-width: 767px) {
  body#checkout .checkout-step {
    margin-bottom: 0.75rem;
  }

  body#checkout .checkout-step .step-title {
    display: flex !important;
    align-items: center;
    gap: 0.7rem;
    min-height: 76px;
    margin: 0;
    padding: 1rem !important;
    font-size: 1.35rem !important;
    line-height: 1.2 !important;
  }

  body#checkout .checkout-step .step-title .step-number {
    flex: 0 0 auto;
  }

  body#checkout .checkout-step.-complete .step-title .step-number {
    display: none !important;
  }

  body#checkout .checkout-step.-complete .step-title .step-edit {
    display: inline-flex !important;
    align-items: center;
    flex: 0 0 auto;
    margin: 0 0 0 auto;
    padding: 0.38rem 0.55rem;
    border-radius: 8px;
    color: #5c6470 !important;
    font-size: 0.78rem;
    font-weight: 650;
    line-height: 1;
  }

  body#checkout .custom-checkbox label {
    padding-left: 36px;
    font-size: 1rem;
    line-height: 1.45;
  }

  body#checkout .custom-checkbox label > input[type="checkbox"],
  body#checkout .custom-checkbox label > input[type="checkbox"] + span {
    width: 24px;
    height: 24px;
  }
}

.schigged-section-head {
  text-align: center;
  margin-bottom: 22px;
}

.schigged-section-head h2 {
  font-size: 1.6rem;
  font-weight: 800;
  margin: 0;
}

.schigged-video-wrapper {
  margin-bottom: 20px;
  overflow: hidden;
  border-radius: 12px;
}

/* Zeitgesteuerte Ticket-Preisstufen: nur aktuell kaufbare Varianten zeigen. */
.schigged-ticket-tier-hidden,
.schigged-ticket-category-single {
  display: none !important;
}

.schigged-ticket-tier-unavailable {
  opacity: 0.48 !important;
  cursor: not-allowed !important;
}

.schigged-active-ticket-tier {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  align-self: flex-start;
  gap: 0.45rem;
  width: fit-content;
  max-width: 100%;
  margin: 0.3rem 0 0.85rem;
  padding: 0.48rem 0.7rem;
  border: 1px solid rgba(20, 70, 235, 0.16);
  border-radius: 9px;
  background: rgba(20, 70, 235, 0.055);
  color: inherit;
  line-height: 1.2;
}

.schigged-active-ticket-tier__label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  opacity: 0.64;
}

.schigged-active-ticket-tier__value {
  font-size: 0.92rem;
  font-weight: 750;
}

@media (max-width: 767px) {
  .schigged-active-ticket-tier {
    padding: 0.44rem 0.62rem;
  }
}

.schigged-order-confirmation-tickets {
  margin-top: 1.25rem;
  border: 1px solid rgba(0, 48, 255, 0.16);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(28, 39, 70, 0.08);
}

.schigged-order-confirmation-tickets .card-block {
  padding: 1.35rem;
}

.schigged-order-confirmation-tickets .h3 {
  margin: 0.3rem 0 0.65rem;
}

.schigged-confirmation-kicker {
  display: inline-block;
  color: #0030ff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.schigged-confirmation-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1rem;
}

.schigged-confirmation-download {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 767px) {
  .schigged-order-confirmation-tickets .card-block {
    padding: 1rem;
  }

  .schigged-confirmation-actions,
  .schigged-confirmation-download {
    width: 100%;
  }
}
