 @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

 body {
     background: #f2f3fa;
     display: flex;
     flex-direction: column;
     align-items: center;
     min-height: 100vh;
 }

 .header {
     position: fixed;
     display: flex;
     flex-direction: row;
     align-items: center;
     justify-content: center;
     background: white;
     height: 8%;
     width: 100%;
     border-bottom: 4px solid rgb(135, 135, 136);
     z-index: 10;
 }

 .header-text {
     color: #2632c8;
     font-size: 1.3rem;
 }

 .main-inhalt {
     margin-top: 8%;
     display: flex;
     flex-direction: column;
     align-items: center;
     border-radius: 12px;
     box-shadow: 0px 8px 20px 10px rgba(2, 30, 115, 0.35);
     width: 50%;
     background: white;
     padding: 30px;
 }

 .form-main-inhalt {
     display: flex;
     flex-direction: column;
     width: 100%;
 }

 .headline-main {
     display: flex;
     justify-content: space-between;
     width: 100%;
 }

.main-inhalt input {
    display: flex;
    padding: 10px;
    border: 2px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    margin-bottom: 20px;
}

.main-inhalt label {
    margin-bottom: 5px;
    font-weight: 600;
    color: #000000;
}

 .frage-icon {
     position: relative;
     display: inline-block;
     cursor: pointer;
     margin-left: 6px;
     vertical-align: middle;
 }

 .frage-icon-img {
     width: 18px;
     height: 18px;
 }

 .frage-text {
     visibility: hidden;
     opacity: 0;
     width: 250px;
     background-color: #737272;
     color: #fff;
     text-align: left;
     border-radius: 6px;
     padding: 8px;
     position: absolute;
     z-index: 100;
     bottom: 125%;
     left: 50%;
     transform: translateX(-50%);
     transition: opacity 0.3s;
     font-size: 0.8rem;
 }

 .frage-icon:hover .frage-text,
 .frage-icon:focus .frage-text {
     visibility: visible;
     opacity: 1;
 }

.button {
    display: flex;
    padding: 10px;
    background-color: #0033cc;
    align-items: center;
    justify-content: center;
    margin: 0 10%;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.5s;
}

.button:hover {
    background-color: #001a66;
    border-radius: 10px;
}

textarea {
    width: 100%;
    height: 100px;
    padding: 8px;
    font-family: inherit;
}

.fehlermeldung {
    color: #df1414;
    margin-top: 10px;
    font-weight: bold;
}

 .footer {
     position: fixed;
     background-color: #f5f5f5;
     width: 100%;
     height: auto;
     padding: 10px;
     font-size: 0.8rem;
     color: #333;
     border-top: 1px solid #ddd;
     bottom: 0;
 }

 .footer-wrapper {
     display: flex;
     justify-content: center;
     align-items: stretch;
     gap: 40px;
     width: 80%;
     margin: 0 auto;

 }

 .footer-links, .footer-rechts, .footer-mitte {
     flex: 1;
     text-align: left;
 }

 .footer-links, .footer-rechts, .footer-mitte {
     display: flex;
     flex-direction: column;
     gap: 5px;
     padding-top: 10px;
 }

 .footer a {
     color: #0077cc;
     text-decoration: none;
 }

 .footer a:hover {
     text-decoration: underline;
 }


 .footer .copyright {
     font-size: 0.8rem;
     color: #777;
 }

 .footer-trennung {
     width: 2px;
     background-color: #939292;
     margin: 0 20px;

 }

 @media (max-width: 768px) {
     .header {
         display: flex;
         flex-direction: column;
         align-items: center;
         justify-content: center;
         padding: 20px;
         gap: 10px;
         height: 8%;
     }

     .header-text {
         font-size: 0.9rem;
         font-weight: 540;
         color: #2632c8;
         align-items: center;
         justify-content: center;
     }

     .main-inhalt {
         margin-top: 27%;
         margin-bottom: 25px;
         width: 90%;
         padding: 10px;
         align-items: center;
         justify-content: center;
         box-shadow: 0px 6px 16px 8px rgba(5, 36, 131, 0.2);
     }

     .form-main-inhalt {
         display: flex;
         flex-direction: column;
         justify-content: center;
         align-items: center;
     }

     .headline-main {
         flex-direction: column;
         align-items: center;
         text-align: center;
     }

     .headline-main label {
         order: 2;
     }

     .headline-main img {
         order: 1;
     }


     .headline-main img {
         width: 140px;
     }

     .button {
         width: 85%;
     }

     .footer {
         position: relative;
         bottom: 0;
     }

     .footer-wrapper {
         flex-direction: column;
         align-items: flex-start;
         gap: 20px;
         width: 90%;
     }

     .footer-trennung {
         display: none;
     }

     .footer-links, .footer-mitte, .footer-rechts {
         width: 100%;
         text-align: left;
     }
 }