html, body {
    margin: 0;
    padding: 0;
    width: 100%;
}
body{
    font-family: "Century Gothic",sans-serif;
    font-weight: lighter;
}
.content, main{
    width: 94%;
    margin: 4em auto;
    font-size: 20px;
    line-height: 30px;
    text-align: justify;
    padding: 2em 1em 2em 1em;
}
header h1{
    font-size: 95px;
}
content h2{
    font-size: 64px;
}
content h3{
    font-size: 48px;
}
content h4{
    font-size: 40px;
}
/*=============Header=============*/
.siteHeader{
    width: 100%;
    display: flex;
    justify-content: center;
}
.siteHeaderContent{
    width: 75%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}
/*/*=============Content=============*/
.picTextModell {
    width: 100%;
    display: flex;
    align-items: center; /* This will vertically center the items */
    justify-content: center; /* This will put space between the text and image */
}
  
  .picTextModellText {
    flex: 1; /* This allows your text container to grow and take up remaining space */
    padding: 20px; /* Adjust padding as needed */
    width: 75%;
    text-align: center;
    max-width: 100%;
    max-height: 100%;
  }
  
  .picTextModellPic {
    display: flex;
    justify-content: center; /* This will center your image horizontally */
    align-items: center; /* This will center your image vertically */
    width: 42%;
    overflow: hidden;  
}
  
  .picTextModellPic img {
    max-width:100%;
    max-height:100%;
    transition: all 1.5s ease;
  }
  .picTextModellPic img:hover{
    transform: scale(1.1);
  }
  .indexBlueBar{
    width: 100%;
    display: flex;
    justify-content: center;
    background-color: #285172;
    color: white;
}
.indexBlueBarContent{
    width: 75%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-bottom: 30px;
}
.indexBlueBarContent ul{
    text-align: left;
}

button, input[type=submit]{
    border-radius: 15px;
    padding: 10px 40px;
    font-size: 16px;
    box-shadow: 3px 3px 3px rgb(120, 120, 120);
    transition-duration: 0.6s;
    cursor: pointer;
}
.buttonStyle {
    background-color: #285172;
    color: white;
    border: 1px solid black;
  }
  
  .buttonStyle:hover {
    background-color: #396e99;
  }
  /*===========Services===========*/
  .servicesFlex{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 80px;
    background: linear-gradient(#fff 50%, #285172 50%);
}
  .service-card {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    background: white;
    border-radius: 10px;
    border: 1px solid black;
    padding-top: 60px; /* Adjust padding to make space for the half-outside circle */
    box-shadow: 3px 3px 3px rgb(120, 120, 120);
    width: 28%; /* Set a fixed width or max-width as per your design */
    position: relative; /* Needed for absolute positioning of the icon */
    margin-left: 15px;
    margin-right: 15px;
    height: 500px;
    margin-bottom: 50px;
}
.service-card button{
    background-color: #333;
}
.service-card button:hover{
    background-color: #474747;
}
.buttonAlignment{
    text-align: center;
}
.service-icon-container {
    position: absolute;
    top: -40px; /* Half of the icon's height to push it half outside the card */
    left: 50%;
    transform: translateX(-50%);
    width: 100px; /* Adjust the width and height as per your icon size */
    height: 100px;
}

.service-icon {
    background: linear-gradient(#004E8E, #1575C5);
    border: 1px solid black;
    border-radius: 50%;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.service-icon img {
    height: 60%;
}

.service-title {
    text-align: center;
    margin: 15px 0;
}

.service-underline {
    height: 4px;
    background-color: #1575C5;
    width: 200px;
    margin: auto;
}
.service-list{
    margin: 40px 15px;
    margin-bottom: 15px;
}
.service-list li {
    margin-bottom: 25px;
    color: #333;
    font-size: 17px;
}
/*===========WorkerPresentation===========*/
.workerPresentationFlex{
    width: 100%;
    height: 30%;
    display: flex;  
    align-items: center;
    justify-content: center;
    background: linear-gradient(#fff 50%, #285172 50%);
}
.workerPresentation{
    background: #fff;
    border: 1px solid black;
    box-shadow: 3px 3px 3px rgb(120, 120, 120);
    text-align: center;
    margin-right: 50px;
    margin-top: 40px;
    margin-bottom: 50px;
    border-radius: 10px;
    width: 38%;
    overflow: auto;
}
.workerPresentation img{
    height: auto;
    width: 100%;
    object-fit: contain;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    border-bottom: 1px solid black;
}
.workerPresentation h3{
    font-size: 250%;
}
.workerPresentation h4{
    font-size: 150%;
    font-weight: lighter    ;
}  
/*=========Contact=========*/
.contact-form {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    padding-top: 4%;
    margin-bottom: 50px;
}

.contact-column {
    flex: 1;
    min-width: 300px;
}

.contact-field {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

label {
    margin-bottom: 10px;
    text-align: center;
}

input, select {
    font-size: 16px;
    padding: 10px;
    border: 1px solid #8A8A8A;
    border-radius: 4px;
}
.contact-column.full-width {
    width: 100%;
    text-align: center;
}

textarea {
    font-family: "Century Gothic",sans-serif;
    font-weight: lighter;
    font-size: 16px;
    width: 95%;
    padding: 10px;
    border: 1px solid #8A8A8A;
    border-radius: 4px;
    resize: none; 
    min-height: 150px;  
}
.form-button {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: -2rem;
}
.checkbox-field {
  flex-direction: row;
  margin-top: 20px;
  display: flex;
  align-items: center;
  text-align: center;
  justify-content: center;
}

.checkbox-field input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-right: 10px;
  cursor: pointer;
}

.checkbox-field label {
  font-size: 16px;
  margin-top: 10px;
  text-align: left;
}

.checkbox-field label a {
  color: #1575C5;
  text-decoration: none;
}

.checkbox-field label a:hover {
  text-decoration: underline;
}
.buttonStyle.success {
  background-color: #409643; /* Grün */
}

.buttonStyle.error {
  background-color: #F44336; /* Rot */
}

.contact-message{
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
}
/*=============Footer=============*/
footer {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    background-color: #FBB03F;
    color: black;
  }
  footer a {
    position: relative;
    color: black;
    text-decoration: none;
  }
  
  footer a:hover {
    color: black;
  }
  
  footer a::before {
    content: "";
    position: absolute;
    display: block;
    width: 100%;
    height: 1px;
    bottom: 0;
    left: 0;
    background-color: black;
    transform: scaleX(0);
    transition: transform 0.3s ease;
  }
  
  footer a:hover::before {
    transform: scaleX(1);
  }
  .footer-section {
    margin: 10px;
  }
  
  .footer-section h3 {
    margin-bottom: 15px;
  }
  
  .footer-section p {
    margin: 5px 0;
  }
  
  .footer-bottom {
    width: 100%;
    text-align: center;
    margin-top: 20px;
  }
  
  .footer-bottom a {
    color: black; 
    margin: 0 10px;
  }
  .footer-section img{
    width: 175px;
  }
  @media (max-width: 1024px) {
    /*===========Content===========*/    
    header h1{
        font-size: 76px;
    }
    content h2{
        font-size: 51px;
    }
    content h3{
        font-size: 38px;
    }
    content h4{
        font-size: 32px;
    }
    .picTextModell{
        flex-direction: column;
    }
    .picTextModellPic{
        width: 100%;
    }
    .picTextModellText{
        width: 75%;
    }
    .workerPresentationFlex{
        background: transparent;
    }
    .contact-form {
        flex-direction: column;
        gap: 0;
        width: 95%;
        padding-left: 0;
        padding-right: 0;
    }
    .contact-column {
        width: 95%;
    }  
    input {
        width: 100%;
    }
    select{
        width: 105%;
    }
    .servicesFlex{
        flex-direction: column;
        background: transparent;
    }
    .service-card {
        width: 75%;
        margin-bottom: 50px;
    }
    .workerPresentationFlex{
        flex-direction: column;    
    }
    .workerPresentation{
        width: 75%;
        margin-right: 0;
    }
    .workerPresentation h3{
        font-size: 175%;
    }
    .workerPresentation h4{
        font-size: 125%;
        font-weight: lighter    ;
    }
    /*===========Footer===========*/
    footer {
      flex-direction: column;
      align-items: center;
    }
  
    .footer-section {
      margin: 10px 0;
    }
  
    .footer-bottom {
      margin-top: 10px;
    }
  }
  @media(max-width: 500px){
    header h1{
        font-size: 61px;
    }
    content h2{
        font-size: 40px;
    }
    content h3{
        font-size: 30px;
    }
    content h4{
        font-size: 26px;
    }
}