.ym-button,
.ym-form button,
.ym-form input[type="button"],
.ym-form input[type="reset"],
.ym-form input[type="submit"] {
  background: linear-gradient(45deg, #292768 70%, #f9ea2f);
  box-shadow: 0px 0px 1px 1px #004990 inset, 0px 1px 0px #004990;
  color: #ffffff;
  border-color: #004990;
  border-radius: 9px !important;
  box-shadow: none!important;
}
.ym-form button:hover,
.ym-form input[type="button"]:hover,
.ym-form input[type="reset"]:hover,
.ym-form input[type="submit"]:hover,
.ym-button:hover {
  background-color: #db0c25;
  color:#ffffff;
  box-shadow: 0px 0px 1px 1px #db0c25 inset, 0px 1px 0px #db0c25;
  border-color: #db0c25;
  box-shadow: none!important;
  border-bottom: none!important;
}
.schritt_aktiv {
  background: linear-gradient(45deg, #292768 50%, #f9ea2f);
}

.schritt_inaktiv {
  background: #292768;
}
.button_start,
.button_start_firma {
  width: 330px;
  background: white;
  text-align: center;
  border-radius:22px;
}
.firma,
.einzel {
  color: #ffffff !important;
}
header {
  text-align: center;
}

.headerauswahl a {
  border: none;
  padding-right: 10px;
  padding-bottom: 10px;
}
.error {
    border-radius: 16px
}
@media only screen and (min-width: 600px) {
  .abstand_oben {
    margin-top: 3em;
    display: inline-flex;
    flex-direction: row;
    gap: 10.5px;
  }

  .headerauswahl a:nth-child(even) {
    margin-right: 0px;
  }
  .headerauswahl a:nth-child(odd) {
    margin-left: 0px;
  }
}
@media only screen and (max-width: 600px) {
  .headerauswahl a {
    margin-bottom: 0px;
  }
}

.headerauswahl a:hover,
.headerauswahl a:active,
.headerauswahl a:focus {
  background-color: transparent;
}
.headerauswahl .headerbutton {
  position: relative;
  box-sizing: border-box;
}

.headerauswahl .titel {
  display: none !important;
}
.headerauswahl .strecke {
 display: none !important;
}
.headerauswahl .info {
  color: #000000;
  float: right;
  position: absolute;
  z-index: 99;
  top: -50px;
  left: 0px;
  width: 100%;
  font-weight: lighter;
  background: linear-gradient(45deg, #292768 70%, #f9ea2f);
  padding: 5px 0;
}
.panibox h6,
.ym-form legend {
  padding: 5px 12px;
  color: #fff;
  background: linear-gradient(45deg, #292768 70%, #f9ea2f);
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
}
h1 {
  font-family: open sans, sans-serif;
  font-size: 240%;
  font-weight: 800;
  line-height: 1.1em;
  margin: 5px 0 10px 20px;
  color: #ffffff;
  text-shadow: 0 1px 1px #000;
}
@media screen and (max-width: 500px) {
 .abstand_oben {
    flex-direction: column;
  }
  .headerauswahl .strecke,
  .headerauswahl .titel,
  .headerauswahl .info {
    position: inherit;
  }
  .headerauswahl .strecke {
    top: -200px !important;
    right: 0px !important;
    left: 0% !important;
  }
  .headerauswahl a {
    margin-bottom: 10px;
  }
h1 {margin: -52px 0 10px 20px;
}
}.panibox,.panibox2 {
        background: #fff;
        padding: 0;
        position: relative;
        box-shadow: 0 0 10px 0 rgba(10,10,10,.2);
        border-radius: 16px;
    }
nav {
    background: linear-gradient(45deg, #292768 70%, #f9ea2f);
    box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.3);
}
@media screen and (max-width: 500px) {
    header img {
        width: 100% !important;
        
    }
.button_start, .button_start_firma {
    width: 275px;
    background: white;
    text-align: center;
    border-radius: 22px;
}
.headerauswahl a {
        margin-bottom: -10px;
    }

.abstand_oben {
    margin-top: 0px;
    background: #fff; 
}
header {
    background: #fff !important;
}
}
.ym-gr {
    border-top-right-radius: 9px;
}
.ym-grid {
    border-radius: 9px;
}
/* Grundlayout des Formulars */
form {
  max-width: 1122px;
  margin: 2rem auto;
  display: flex;
  flex-direction: column;
  gap: 0.6em;
  border-radius: 1rem;
  font-family: sans-serif;
}

/* Label + Input-Block */
form label {
  font-weight: 600;
  color: #333;
  margin-bottom: 0.3rem;
  display: block;
  text-align: left;
}

/* Eingabefelder & Selects */
form input,
form select {
  width: 100%;
  max-width: 100%;
  padding: 0.6rem 0.9rem;
  border: 1px solid #ccc;
  border-radius: 0.5rem;
  font-size: 1rem;
  box-sizing: border-box;
}

/* Fokus mit Goldakzent */
form input:focus,
form select:focus {
  border-color: #d5871b;
  outline: none;
  box-shadow: 0 0 0 3px rgba(213,135,27,0.3);
}

/* Buttons */
form button,
form input[type="submit"] {
  padding: 0.8rem 1.5rem;
  background: linear-gradient(45deg, #292768 70%, #f9ea2f);
  color: white;
  border: none;
  border-radius: 999px;
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
  align-self: flex-start;
  transition: all 0.2s ease;
  margin-top: 1rem;
}

form button:hover {
  background: linear-gradient(45deg, #292768 70%, #f9ea2f);
  transform: translateY(-1px);
}

/* Optional: ICE-Sektion abheben */
.ice-section {
  padding: 1rem;
  background: linear-gradient(45deg, #292768 70%, #f9ea2f);
  border-left: 4px solid #292768;
  border-radius: 0.5rem;
}
.chzn-container-single .chzn-single {
    border-radius: 5px;
}
img.logo1 {
  float: none !important;
}
header h1 {
    color: #094a8c;
    margin: -3em;
    margin-left: 19em;
}
div.ym-wbox{
   margin-top:5em;
}
img.logo1 {
  margin: -6em;
  padding-right: 375px !important;
}