/* Checkout: Grundlayout */
main {
  display: flex;
  flex-direction: column;
  align-items: center;
}

main > h2 {
  align-self: flex-start;
}

main > a > img {
  width: clamp(15em, 50vw, 30em);
}

main > div {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-evenly;
  width: 100%;
  gap: 1em;
  flex-wrap: wrap;
}

address > span {
  font-size: 70%;
}

time > span {
  font-style: italic;
  font-size: 90%;
}

.fehler,
p#hinweis {
  color: red;
}

form {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

form > p {
  text-align: center;
}

form > input:last-of-type {
  height: clamp(2em, 5vw, 5em);
  width: 70%;
  align-self: center;
}

fieldset {
  border-radius: 0.5em;
  margin: 1em;
  width: stretch;
}

fieldset > ul {
  list-style: none;
}

fieldset > section {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 1em;
  justify-content: space-evenly;
}

fieldset > section > div {
  box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
  border-radius: 1em;
  padding: 0.5em;
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  flex-wrap: wrap;
  width: 15em;
  flex-grow: 1;
  gap: 0.8em;
}

fieldset > section > div:hover {
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

fieldset > section input[name*=karten_anzahl] {
  text-align: right;
}

fieldset > section > div > h3,
fieldset > section > div > div:last-of-type {
  width: 100%;
}

fieldset > section > div > div:last-of-type {
  font-style: italic;
  font-size: 90%;
}

fieldset > section > div > div > span:last-of-type {
  font-size: 80%;
  opacity: 70%;
}

fieldset > section > div > div > span.durchgestrichen {
  text-decoration: line-through;
}

fieldset > section > div > div > span.gutscheincodepreis {
  font-weight: bold;
  color: darkred;
}

/* Checkout: Persdaten */
fieldset#persdaten {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.3em;
}

fieldset#persdaten * {
  grid-column: 1/-1;
  text-align: left;
}

fieldset#persdaten input {
  min-width: 100%;
}

fieldset#persdaten p,
fieldset#persdaten ul,
fieldset#persdaten div {
  justify-self: center;
}

fieldset#persdaten label {
  white-space: nowrap;
  padding: 0 0.3em 0 0;
}

@media (min-aspect-ratio: 2/4) {
  fieldset#persdaten {
    grid-template-columns: repeat(6, 1fr);
  }
  fieldset#persdaten label {
    grid-column: 1/3;
    text-align: right;
  }
  fieldset#persdaten label[for=strasse],
  fieldset#persdaten label[for=plz] {
    grid-column: 1/2;
  }
  fieldset#persdaten label[for=hausnr],
  fieldset#persdaten label[for=ort] {
    grid-column: 2/3;
  }
  fieldset#persdaten input {
    grid-column: 3/-1;
  }
  fieldset#persdaten input#strasse {
    grid-column: 3/-2;
  }
  fieldset#persdaten input#plz,
  fieldset#persdaten select {
    grid-column: 3/-4;
  }
  fieldset#persdaten input#hausnr {
    grid-column: -2/-1;
  }
  fieldset#persdaten input#ort {
    grid-column: -4/-1;
  }
}
fieldset#persdaten input + ul {
  display: none;
  text-align: center;
  margin: 0;
  font-size: 80%;
}

ul#passwinfo {
  list-style: none;
  padding-left: 0;
}

ul#passwinfo li {
  color: #b33;
}

ul#passwinfo li::before {
  content: "[ ] ";
  color: #b33;
}

ul#passwinfo li.ok {
  color: green;
}

ul#passwinfo li.ok::before {
  content: "[OK] ";
  color: green;
}

fieldset#persdaten label[for=passw]:hover ~ ul#passwinfo,
fieldset#persdaten label[for=passw]:focus ~ ul#passwinfo,
fieldset#persdaten input#passw:hover ~ ul#passwinfo,
fieldset#persdaten input#passw:focus ~ ul#passwinfo,
ul#passwinfo:hover {
  display: block;
}

/* Checkout: Rest */
fieldset#persdaten > p:last-of-type {
  text-align: right;
}

fieldset#gutscheincode {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1em;
}

fieldset#gutscheincode p {
  width: 100%;
  text-align: center;
}

label[for=kitas] {
  color: green;
  font-weight: bold;
}

input#email_dummy:checked + p {
  color: red;
}
input#email_dummy:checked + p span {
  font-weight: bold;
}

fieldset#zahlungsweise img {
  max-height: 1em;
}

fieldset#wichtiges ul li {
  margin: 0 0 2% 0;
  display: flex;
  gap: 1%;
}

fieldset#wichtiges ul li label strong:first-of-type {
  font-weight: bold;
  color: purple;
}

fieldset#wichtiges ul li label strong:nth-of-type(2) {
  font-weight: bold;
  color: darkorange;
}

fieldset#wichtiges ul li label strong:nth-of-type(3) {
  font-weight: bold;
  color: crimson;
}

fieldset#wichtiges ul li label strong:nth-of-type(4) {
  font-weight: bold;
  color: olive;
}

fieldset#wichtiges ul li label span.underline {
  text-decoration: underline;
  color: lightcoral;
}

fieldset#wichtiges ul li img {
  display: none;
}

fieldset#wichtiges ul li:hover img {
  display: block;
  position: absolute;
  left: 30%;
  max-width: 60vw;
}

span.zahlstatus_offen {
  background-color: lightsalmon;
}

span.zahlstatus_gezahlt {
  background-color: #C6FF8C;
}

#anrede {
  padding-left: 1.5em;
  font-weight: bold;
}

div#ausverkauft {
  position: absolute;
  transform: translate(-50%, -50%) rotate(-30deg);
  background-color: rgba(255, 188, 60, 0.9);
  padding: 2em 6em;
  font-weight: bold;
  margin: auto;
  top: 35%;
  left: 54%;
  text-align: center;
  border-radius: 50%;
  box-shadow: 0.5em 0.5em 2em 1em rgba(0, 0, 0, 0.5);
}

div#ausverkauft p:nth-of-type(2) a {
  font-size: 1.5em;
  color: darkred;
}

div#ausverkauft p:nth-of-type(4) {
  margin: 2em 0 -0.5em 0;
}

div#ausverkauft p:nth-of-type(4) a {
  background-color: rgba(255, 208, 80, 0.9);
  border-radius: 50%;
  padding: 0.5em 0.5em;
  font-size: 1.5em;
  color: darkred;
}

.mm-cookie-banner {
  transition: opacity 0.25s ease;
}

.mm-cookie-banner.is-closing {
  opacity: 0;
  pointer-events: none;
}

.mm-cookie-banner[hidden],
.mm-cookie-banner.is-accepted {
  display: none !important;
}

.mm-layout-header,
.mm-layout-nav,
.mm-layout-main,
.mm-layout-aside,
.mm-layout-footer {
  box-sizing: border-box;
}

.mm-ticket-validierung {
  min-width: 0;
  width: auto;
  max-width: none;
  margin: 0;
  display: block;
}

.mm-ticket-validierung__main {
  width: min(52rem, 100% - 2rem);
  margin: 2rem auto;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 1rem;
  box-shadow: 0 0.75rem 2rem rgba(0, 0, 0, 0.12);
}

.mm-ticket-validierung__titel {
  margin-top: 0;
}

.mm-ticket-validierung__titel--fehler {
  color: #b00020;
}

.mm-ticket-validierung__titel--erfolg {
  color: #0f7a2b;
}

.mm-ticket-validierung__block {
  margin-top: 1rem;
}

.mm-ticket-validierung__block--karten {
  color: #123f8a;
  font-weight: bold;
  font-size: 1.2rem;
}
