  
  /* Grundlegendes Styling */

  :root{
    --main-clr: #E5EFF7;
    --text-clr: #002d67;
    --text-clr-trans: #002d67;
    --input-clr:#ffffff; 
    --bg-clr:   #002D64;

    --btn-clr:  #0066b3;
    --btn-hvr-clr:  #1073bf;
    --btn-active-clr:  #00579a;
    --switch-btn: #f60;
    --text-size: 25px;
  }

  * {
    box-sizing: border-box;
    margin: 0px;
    padding: 0px;
  }
  
  @font-face {
    font-family: 'GenosGFG';
    src: url('fonts/GenosGFG-Bold.eot');
    src: url('fonts/GenosGFG-Bold.eot?#iefix') format('embedded-opentype'),
        url('fonts/GenosGFG-Bold.woff2') format('woff2'),
        url('fonts/GenosGFG-Bold.woff') format('woff'),
        url('fonts/GenosGFG-Bold.ttf') format('truetype'),
        url('fonts/GenosGFG-Bold.svg#GenosGFG-Bold') format('svg');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'GenosGFG';
    src: url('fonts/GenosGFG-Regular.eot');
    src: url('fonts/GenosGFG-Regular.eot?#iefix') format('embedded-opentype'),
        url('fonts/GenosGFG-Regular.woff2') format('woff2'),
        url('fonts/GenosGFG-Regular.woff') format('woff'),
        url('fonts/GenosGFG-Regular.ttf') format('truetype'),
        url('fonts/GenosGFG-Regular.svg#GenosGFG-Regular') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

  body {
    font-family: "GenosGFG";
    line-height: 1.5;
    background-color: var(--main-clr);
    color: var(--text-clr);
  }
  
  h1 {
    font-weight: 700;
    font-size: 25px;
    color: var(--text-clr);
  }
  h2, h3 {
    font-weight: 700;
    font-size: 30px;
    color: var(--text-clr);
  }
  
  p {
    font-size: 18px;
    margin-bottom: 0.2rem;
    font-weight: 700;
    color: var(--text-clr);
  }

  li{
    font-size: 12px;
    color: var(--main-clr);
    list-style-type: none;
    margin-bottom: 0.5rem;
  }
  .risiken-head{
    font-size: 15px;
    color: var(--main-clr);
  }

  /* Grundlegendes Styling der Container */

  .main-container{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
  }
  .headline-logo{
    display: flex;
    align-items: end;
    position: relative;
  }
  .rechner-container{
    margin: 2rem;
    display: flex;
    flex-direction: column;
    padding: 45px;
    background-color: var(--main-clr);
    min-height: 650px;
    width: min(450px, 90%);
    border-radius: 0.2rem;
  }
  .rechner-container-horizontal{
    margin: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 45px;
    background-color: var(--main-clr);
    min-height: 650px;
    width: min(1050px, 90%);
    border-radius: 0.2rem;
  }
  .horizontal-layout{
    display: flex;
    flex-direction: row;
    flex-grow: 1;
    align-items: stretch;
    justify-content: stretch;
    gap: 2rem;
  }
  .horizontal-layout div{

    flex-grow: 1;
  }
  .horizontal-layout .ergebnis{
    margin-top: 0rem !important;
  }
  
  .logo{
    min-height: 100px;
    min-width: 100px;
    background: url(Meisterstueck-Logo.svg);
    background-size: contain;
    background-repeat: no-repeat;
    margin-bottom: 1.5rem;
  }

.logo-h{
  margin-left: 40px;
  min-height: 100px;
  min-width: 100px;
  background: url(Meisterstueck-Logo.svg);
  background-size: contain;
  background-repeat: no-repeat;
  margin-bottom: 0.5rem;
}

  .risiken{
    width: min(1050px, 90%);
    padding-left: 10px;
  }

/* Formularfelder */

.test-layout{
  background-color: var(--main-clr);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  align-items: stretch;
  justify-content: start;
  gap: 10px;
}
.test{
  gap: 20px;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  justify-content: stretch;
}


  .formularfeld{
    flex-grow: 1;
  }


  .sparintervall{
    min-height: 50px;
    width: 30%;
  }

  #SparIntervall{
    width: 100%;
    padding: 12px;
    margin-bottom: 0.5rem;
    background-color: var(--input-clr);
    border: none;
    border-radius: 0.1rem;
    color: var(--text-clr);
    font-size: 15px;
    font-family: "GenosGFG";
    font-weight: 700;
  }
  .form-field{
    display: flex;
    justify-content: stretch;
    align-items: center;
    width: 100%;
    gap: 10px;
    position: relative;
  }
  .form-field-ergebnis{
    display: flex;
    justify-content: stretch;
    align-items: center;
    width: 50%;
    gap: 10px;
    position: relative;
  }

  .input-field{
    width: 100%;
    padding: 12px 12px 10px 12px;
    margin-bottom: 0.8rem;
    background-color: var(--input-clr);
    border: none;
    border-radius:  0.1rem;
    color: var(--text-clr);
    font-size: 15px;
    font-family: "GenosGFG";
    font-weight: 700;
  }
  .ergebnis{
    margin-top: 2rem;
  }
  .horizontal-ergebnis{
    display: flex;
    flex-direction: row;
    align-items: end;
    gap: 10px;
  }
  .ergebnis-wrapper{
    display: flex;
    background-color: transparent;
    width: 100%;
    height: 58px;
    align-items: center;
    justify-content: start;
  }
  .ergebnis-wrapper-h{
    display: flex;
    gap: 10px;
  }
  .ergebnis-input-field{
    min-width: none;
    max-width: min-content;
    padding: 0px;
    padding-bottom: 5px;
    background-color: transparent;
    border: none;
    color: var(--text-clr);
    font-weight: 700;
    font-size: 25px;
    font-family: "GenosGFG";
    width: 100%;
  }

  .ergbnis-input-field-h{
    background-color: transparent;
    border: none;
    color: var(--text-clr);
    font-weight: 700;
    font-size: 25px;
    font-family: "GenosGFG";
    width: 100%;
  }

  .horizontal-ergebnis :first-child{
    width: auto;
  }
  .horizontal-ergebnis :last-child{
    width: auto;
  }

  ::placeholder{
    color: var(--text-clr);
  }

/* Calculate Button */

  #calculateButton{
    display: flex;
    margin-top: 1rem;
    padding: 20px 50px 20px 50px;
    background-color: var(--btn-clr);
    border: none;
    border-radius: 0.1rem;
    transition: 150ms;
    color: white;
    font-weight: 500;
    font-size: 16px;
  }
  #calculateButton:hover{
    background-color: var(--btn-hvr-clr);
    transform: scale(1.005);
  }
  #calculateButton:active{
    background-color: var(--btn-active-clr);
    transform: scale(0.99);
  }
  #ergebnis{
    pointer-events: none;
  }
  .btn-icon{
    width: 15px;
    margin-right: 3px;
    margin-bottom: -1px;
  }
  select{
    -webkit-appearance: none; 
    appearance: none;
    background: url(chevron.svg) no-repeat;
    background-position: right 15px center;
    background-size: 12px 12px;
  }
  .p-container{
    pointer-events: none;
    position: absolute;
    padding-bottom: 10px;
    right: 10px;
  }
  .p-container-h{
    pointer-events: none;
    position: absolute;
    padding-bottom: 8px;
    right: 10px;
  }
  .linksbündig{
    font-size: 15px;
    color: var(--text-clr-trans);
  }
  .linksbündig-h{
    font-size: 15px;
    color: var(--text-clr-trans);
  }
  .jahre{
    padding-left: 110px;
  }

  @media only screen and (max-width: 425px) {
    .rechner-container{
      margin: 0rem;
      margin-top: 1rem;
      padding: 1rem;
    }
  }

  .hidden{
    display: none;
  }

  .switchBtn {
    margin-top: 1rem;
    min-width: 100px;
    padding: 20px;
    background-color: var(--switch-btn);
    border: none;
    border-radius: 0.1rem;
    transition: 150ms;
    color: white;
    font-weight: 500;
    font-size: 16px;
    text-decoration: none;
    text-align: center;
  }
  .switchBtn:hover{
    background-color: var(--btn-hvr-clr);
    transform: scale(1.005);
  }
  .switchBtn:active{
    background-color: var(--btn-active-clr);
    transform: scale(0.99);
  }
  .disclaimer{
    display: flex;
    flex-direction: column;
    margin-top: 20px !important;
    font-size: 13px;
    color: var(--text-clr);
  }
  .disclaimer-white{
    margin-top: 20px !important;
    font-size: 13px;
    color: var(--main-clr);
  }
  .wnk-nr{
    font-size: 13px !important;
    color: var(--text-clr);
    margin-bottom: 20px;
  }
  .switch-container{
    display: flex;
    gap: 20px;
  }

  .btn-wrapper{
    display: flex;
    align-items: end;
    justify-content: start;
    gap: 20px;
  }
/* Für WebKit-basierte Browser */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Für Firefox */
input[type=number] {
  -moz-appearance: textfield;
}
