.stamp {
  color: #000;
  font-size: 100% !important;
  overflow-wrap: break-word;
  font-weight: 700 !important;
  max-width: 200px;
  text-align: center;
  line-height: 0.85rem;
  border: 0.25rem solid #000;
  display: inline-block;
  padding: 0.25rem 1rem !important;
  text-transform: uppercase;
  border-radius: 1rem !important;
  font-family: 'Courier', monospace;
  -webkit-mask-image: url(../gfx/grunge.png);
  -webkit-mask-size: 144px 104px;
  transition: color 0.3s ease;
}
body.page-tickets .ticket_order_info h2,
body.page-tickets .ticket_order_info button {
  border: 0;
}
.ticket-leaf:hover .stamp {
  color: #000;
  border-color: #000;
  background-color: #fff;
}
.leafs .subtitle-container {
  margin: 1lh 0;
}
.leaf-hints {
  position: absolute;
  bottom: 0;

  width: 100%;
}
.leaf-hint,
.leaf-hint-aktion,
.leaf-hint-extra-text,
.leaf-hint-sold,
.leaf-hint-discount,
.leaf-hint-new {
  color: white;
  background-color: hsl(4, 63%, 53%);
  font-size: 0.6em;
  font-weight: 700;
  text-align: center;

  width: 100%;
  min-width: 7em;
}
a:hover .leaf-hints > * {
  text-decoration: none !important;
  background-color: hsl(4, 63%, 43%);
  color: white;
}

.leaf-hints .leaf-hint-tickets-zur_buchung,
.leaf-hints .leaf-hint-tickets-infos {
  background-color: var(--crs-blue);
}
a:hover .leaf-hints .leaf-hint-tickets-zur_buchung,
a:hover .leaf-hints .leaf-hint-tickets-infos {
  background-color: var(--crs-blue-dark);
}

.leaf-price {
  
}

.ticket-leaf {
  width: 100%;
  padding: 20px;
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  align-items: center;
  margin-bottom: 0.5rem;
  border: 0;
  border-radius: var(--rounded-box);
  box-shadow: 0 1px 2px rgba(0,0,0,.075);
  background-color: #fff;
  text-decoration: none;
  /* background-image: linear-gradient(42deg, #fff1, #fffe), url(../gfx/CRS-BG.jpg); */
  background-position: center;
  background-size: cover;
}
.ticket-leaf:first-child {
  background-position: 0 -70px;
}
.ticket-leaf:last-child {
  background-position: 0 135px;
}
.colored-outline,
.ticket-leaf {
  outline-color: transparent;
  transition: outline-color .2s ease-in-out;
}
.colored-outline:hover,
.ticket-leaf:hover {
  text-decoration: none;
  outline-color: oklch(var(--p) / .3);
  outline-width: 4px;
  outline-offset: 0px;
  outline-style: solid;
  border-color: inherit !important;
}
.colored-outline:has(.leaf-hint-tickets-infos):hover,
.colored-outline:has(.leaf-hint-tickets-zur_buchung):hover {
  outline-color: var(--crs-blue);
}
.colored-outline:has(.leaf-hint-tickets-tickets):hover {
  outline-color: hsl(4, 63%, 43%);
}
.ticket-leaf-sold-out {
  
}
.ticket-leaf .leaf-hints {
  flex: 1 1;
  flex-direction: row-reverse;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  width: auto;
}
.ticket-leaf .leaf-hints > * {
  width: auto;
  font-size: inherit;
  padding: 4px 6px;
  margin: 2px 0;
  border-radius: var(--rounded-box);
}
.ticket-leaf:hover .ticket-leaf-date,
.ticket-leaf:hover .ticket-leaf-location,
.ticket-leaf:hover .ticket-leaf-venue {
    text-decoration: normal;
}

.ticket-leaf-date {
  min-width: 6em;
  text-align: center;
  font-weight: 300;
  font-size: 130%;
}
.leaf-hint-extra-old-date {
  margin: 0 3px;
  padding: 0 5px;
  border-radius: 2px;
  color: #111;
  background-color: yellow;
  text-decoration: line-through;
}

.ticket-leaf-parts {
    padding-left: 1em;
    padding-right: 1em;
}
.ticket-leaf-location,
.ticket-leaf-venue {
  min-width: 25%;
  text-align: center;
  font-weight: bold;
}
.ticket-leaf-location {
  text-transform: uppercase;
  min-width: 12em;
  font-size: 150%;
  font-weight: 300;
  color: oklch(var(--s));
}
.ticket-leaf-location:hover {
  color: hsl(4, 63%, 43%);
}
.ticket-leaf-venue {
  color:  #000;
  font-weight: normal;
}
.ticket-leaf-part {
  color: #666666;
}

/* >= ipad */
@media (min-width: 768px /* var(--ipad-width) */) {
  .head {
    flex-direction: row;
  }
  .head-shop-nav {
    justify-content: space-between;
  }
  .head-shop-nav > .main_navigation {
    padding-right: 0;
    padding-left: 1.5em;
  }
  .head-link-login, .head-link-cart {
    padding-left: 0;
  }
  .ticket-leaf {
    flex-direction: row;
  }
  .ticket-leaf:last-child {
    margin-bottom: 0;
  }
  .ticket-leaf-location,
  .ticket-leaf-venue {
    text-align: left;
  }
  .ticket-leaf .leaf-hints {
    align-items: flex-end;
  }
  .stamp {
    max-width: 190px;
    position: absolute;
    left: 0;
    top: -22px;
  }
  .teasers {
    flex-wrap: wrap;
    justify-content: space-around;
  }
  .teaser {
    flex-grow: 0;
  }
  .leaf {
    width: calc(100% / 4.0 - 20px);
  }
  .leafs h2.subtitle {
    padding-top: 50px;
  }
  .teaser-buttons {
    display: none;
  }
}