.ym-button,
.ym-form button,
.ym-form input[type="button"],
.ym-form input[type="reset"],
.ym-form input[type="submit"] {
  background: linear-gradient(45deg, #163044 70%, #163044);
  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, #163044 50%, #163044);
}

.schritt_inaktiv {
  background: #163044;
}
.button_start,
.button_start_firma {
  width: 330px;
  background: white;
  text-align: center;
  border-radius:22px;
}
.firma,
.einzel {
  color: #ffffff !important;
}
.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: 18em;
    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 {
  color: #fff;
  position: absolute;
  right: 0px;
  width: 100%;
  font-weight: lighter;
  font-size: 26px;
  line-height: normal;
  box-sizing: border-box;
  padding: 66px;
  position: absolute !important;
  padding: 56px;
}
.headerauswahl .strecke {
  position: absolute;
  color: #fff;
  top: -195px;
  right: 8px;
  font-weight: lighter;
  font-size: 15px;
  text-align: right;
}

.headerauswahl .info {
  color: #000000;
  float: right;
  position: absolute;
  z-index: 99;
  top: -50px;
  left: 0px;
  width: 100%;
  font-weight: lighter;
  background: linear-gradient(45deg, #163044 70%, #163044);
  padding: 5px 0;
}
.panibox h6,
.ym-form legend {
  padding: 5px 12px;
  color: #fff;
  background: linear-gradient(45deg, #163044 70%, #163044);
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}
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 .titel {
        bottom: 85px !important;
        right: 20px !important;
        top: 10px !important;
    }
  .headerauswahl .strecke {
    top: -180px !important;
    right: 0px !important;
    left: 15% !important;
  }
  .headerauswahl a {
    margin-bottom: 10px;
    margin-left: 42px !important;
  }
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, #163044 70%, #163044);
    box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.3);
}
@media screen and (max-width: 500px) {
    header img {
        width: 82% !important;
        
    }
header h1 {
    color: #fff;
    margin: -12em !important;
        margin-left: 10px !important;
        max-width: 100%;
        text-align: center;
        font-size: 1.5em;
    }
div.ym-wbox{
   margin-top:171px !important;
}
img.logo1 {
   
    margin-left: 74px !important;
    margin-top: -5em !important;
    width:59% !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, #163044 70%, #163044);
  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, #163044 70%, #163044);
  transform: translateY(-1px);
}

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

