
html, body {
  height: 100%;
  width: 100%;
  margin: 0;
}

.container-fluid {
  max-width: 1140px;
}
body {
  font-family: Ubuntu, sans-serif;
  background-color: #ffffff;
  color: #000000;
}

h1 {
  font-size: 1.8em;
  line-height: 1.2em;
  color: #000000;
  margin-top: 0em;
  margin-bottom: 0.2em;
}

h3 {
  font-size: 1.4em;
  line-height: 1.3em;
  font-weight: 400;
  padding-bottom: 0.5em;
  padding-top: 0.5em;
}

h2 {
  font-size: 1.6em;
  line-height: 1.3em;
  font-weight: 400;
  padding-bottom: 0.5em;
  padding-top: 0.5em;
}

.page2 h1 {
  color: #006db1;
  font-size: 2em;
  margin-top: 0.2em;
  margin-bottom: 1.1em;
  text-align: center;
  font-weight: bold;
}
.page2 h2 {
  font-size: 1.8em;
  text-align: center;
  padding: 0 96px;
  padding-bottom: 1em;
}

.red {
  border-color: red !important;
}

.textboxes .info {
  font-size: 1.1em;
  line-height: 1.2em;
  font-weight: 300;
  color: #006db1;
  margin-bottom: 15px;
}
.textboxes input {
  font-size: 1.1em;
  border: 2px solid #006db1;
  padding: 20px 10px;
}
.textboxes label {
  font-size: 1.2em;
  color: #006db1;
  font-weight: 600;
  margin-top: 4px;
  margin-bottom: 15px;
}

input[type="number"] {
  -moz-appearance: textfield;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

strong {
  font-weight: 600;
}

fieldset.submit input[type="checkbox"]#confirmation {
  vertical-align: middle;
  width: auto;
}
fieldset.submit #confirmation-label {
  font-size: 1.1em;
  line-height: 1.2em;
  font-weight: 300;
  color: #006db1;
  margin-bottom: 15px;
  display: inline;
  position: relative;
  top: 5px;
}
fieldset.submit .double-border {
  min-width: 105px;
  width: 100%;
  height: 70px;
  background: #ffcb00;
  position: relative;
  border: 5px solid white;
  border-radius: 16px;
  color: #006db1;
  font-weight: 600;
  font-size: 1.5em;
  margin-bottom: 20px;
}

fieldset.submit .double-border:after {
  content: '';
  position: absolute;
  top: -7px;
  left: -7px;
  right: -7px;
  bottom: -7px;
  background: #006db1;
  z-index: -1;
  border-radius: 18px;
}

fieldset.submit #error-message {
  color: red;
  font-size: 1.1em;
  line-height: 1.2em;
  font-weight: 300;
  margin-bottom: 15px;
  display: none;
}


.text-set .text {
  position: relative;
  left: 65px;
  top: -45px;
  padding-right: 65px;
}

.header-text-container {
  margin-top: 20px;
  padding: 20px 100px 20px;
}

fieldset {
  margin-bottom: 20px;
}

.text-name {
  color: #ffcb00;
  display: block;
}

.custom-textboxes input {
  width: 100%;
}

@media (max-width: 991px) {
  header .-fluid {
    padding-left: 0;
    padding-right: 0;
  }

  .header-text-container {
    padding: 20px 40px;
  }

  fieldset {
    padding: 0 20px;
  }

  .header-text-container.page2 {
    padding: 20px 10px;
  }
}
@media (max-width: 767px) {
  .picture-set label {
    margin-left: auto;
    margin-right: auto;
    display: block;
  }

  .col-lg-8.order-lg-2 {
    margin-bottom: 25px;
  }
}
@media (min-width: 992px) and (max-width: 1200px) {
  .picture-radios-container {
    padding-left: 5px;
    padding-right: 5px;
  }
}


@media (max-width: 575px) {
  header .container-fluid {
    padding: 0;
  }
  header .container-fluid .row, header .container-fluid .col-sm-12 {
    padding: 0 !important;
    margin: 0 !important;
  }

  h1 {
    font-size: 1.65em;
  }

  .text-set .text {
    position: relative;
    margin-left: 65px;
    top: -45px;
    padding-right: 0px;
    margin-right: 15px;
    left: 0px;
  }

  .page2 h1 {
    margin-top: 0;
    font-weight: 600;
    padding-left: 10px;
    text-align: center;
    padding-right: 10px;
  }
  .page2 h2 {
    padding: 0;
  }

}

@media (max-width: 399px) {
  .col-sm-12 {
    padding-left: 5px;
    padding-right: 5px;
  }

  .page2 .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

}

/* Warteanzeige: gleiche Hoehe wie der Button, ohne Prozentabstaende. */
#subscription_form .row3 { align-items: center; }
#subscription_form .subscription-status-column {
  display: flex;
  align-items: center;
  padding-bottom: 20px; /* entspricht dem bestehenden Button-Abstand unten */
}
#subscription-loading[hidden] { display: none !important; }
#subscription-loading {
  display: inline-flex;
  align-items: center;
  margin: 0;
  font-size: 14px;
  line-height: 20px;
}
.subscription-spinner {
  display: inline-block;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-right: 8px;
  border: 3px solid #d0d0d0;
  border-top-color: #555;
  border-radius: 50%;
  animation: subscription-spin 0.8s linear infinite;
}
#subscription_form[aria-busy="true"] #submit {
  background: #a9a9a9;
  cursor: wait;
}
@keyframes subscription-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .subscription-spinner { animation: none; }
}
/* Standardansicht: einheitliches Drei-Spalten-Raster wie im Original.
   Zwei Namensspalten, E-Mail ueber beide Spalten, Button unter Vorname. */
@media (min-width: 576px) {
  #subscription_form fieldset { padding-left: 0; padding-right: 0; }
  #subscription_form .row1 > .col-lg-4,
  #subscription_form .row3 > .col-lg-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }
  #subscription_form .row2 > .col-lg-8 {
    flex: 0 0 66.666667%;
    max-width: 66.666667%;
  }
}
/* Nur mobil kompakter: Farben, Rahmen und Labels unter den Feldern bleiben. */
@media (max-width: 575px) {
  #subscription_form { padding: 6px 0; }
  #subscription_form .container-fluid { padding-left: 12px; padding-right: 12px; }
  #subscription_form fieldset { min-width: 0; margin-bottom: 0; padding: 0; }
  #subscription_form .row { margin-left: -6px; margin-right: -6px; }
  #subscription_form .row > [class*="col-"] { padding-left: 6px; padding-right: 6px; }
  #subscription_form .row1 > .col-lg-4 { flex: 0 0 100%; max-width: 100%; }
  #subscription_form .textboxes input:not([type="hidden"]) {
    height: 38px;
    padding: 6px 10px;
    font-size: 16px;
    line-height: 22px;
  }
  #subscription_form .textboxes label {
    font-size: 16px;
    line-height: 20px;
    margin-top: 3px;
    margin-bottom: 6px;
  }
  #subscription_form .row3 > .col-lg-4 { flex: 0 0 50%; max-width: 50%; }
  #subscription_form .row3 { margin-top: 2px; }
  #subscription_form .double-border {
    height: 48px;
    font-size: 18px;
    margin-bottom: 6px;
  }
  #subscription_form .subscription-status-column { padding-bottom: 6px; }
  #subscription_form #error-message {
    font-size: 13px;
    line-height: 17px;
    margin-top: 4px;
    margin-bottom: 0;
    overflow-wrap: break-word;
  }
  #subscription_form #error-message br { display: none; }
}
