body {
    margin-top: 100px;
}

/* ==========================
   Hero
========================== */

.hero {

    position: relative;

    width: 100%;

    height: 40vh;

    overflow: hidden;

}

.hero img {

    width: 100%;

    height: 100%;

    object-fit: cover;

}

.heroOverlay {

    position: absolute;

    inset: 0;

    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: center;

    text-align: center;

    background: rgba(0, 0, 0, .45);

    color: white;

}

.heroOverlay h1 {

    font-size: 4rem;

    margin-bottom: 15px;

}

.heroOverlay p {

    font-size: 1.2rem;

    max-width: 700px;

}

/* ==========================
   Allgemein
========================== */

.contactInfo,
.contactForm {

    padding: 100px 0;

}

/* ==========================
   Kontaktbereich
========================== */

.contactGrid {

    display: grid;

    grid-template-columns: 1.3fr .7fr;

    gap: 60px;

    align-items: start;

}

.contactText h2 {

    margin-bottom: 25px;

}

.contactText p {

    margin-bottom: 20px;

    line-height: 1.8;

    color: #555;

}

.contactCard {

    background: #222;

    color: white;

    padding: 40px;

    border-radius: 3px;

    box-shadow: 0 20px 40px rgba(0, 0, 0, .15);

}

.contactCard h3 {

    margin-bottom: 30px;

}

.contactItem {

    margin-bottom: 30px;

}

.contactItem:last-child {

    margin-bottom: 0;

}

.contactItem strong {

    display: block;

    margin-bottom: 8px;

    color: var(--primary);

}

/* ==========================
   Formular
========================== */

.contactForm {

    background: #f5f5f5;

}

.contactForm h2 {

    text-align: center;

    margin-bottom: 50px;

}

.contactForm form {

    max-width: 800px;

    margin: auto;

}

.formGroup {

    margin-bottom: 25px;

}

.formGroup label {

    display: block;

    margin-bottom: 10px;

    font-weight: 500;

}

.formGroup label span {

    font-weight: 400;

    color: #888;

}

.formGroup input,
.formGroup textarea {

    width: 100%;

    padding: 16px 20px;

    border: 1px solid #ddd;

    border-radius: 3px;

    font-family: inherit;

    font-size: 1rem;

    transition: .3s;

}

.formGroup textarea {

    resize: vertical;

}

.formGroup input:focus,
.formGroup textarea:focus {

    outline: none;

    border-color: var(--primary);

}

.submitButton {

    display: inline-block;

    padding: 16px 35px;

    border: none;

    border-radius: 3px;

    background: var(--primary);

    color: white;

    font-size: 1rem;

    cursor: pointer;

    transition: .3s;

}

.submitButton:hover {

    opacity: .9;

}

@media (max-width:1000px) {
    
    .contactCard {
        min-width: 285px;
    }

}

@media (max-width:768px) {

    .contactGrid {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }

    body {
        margin-top: 80px;
    }

    .contactInfo,
    .contactForm {
        padding: 60px 0;
    }

    .contactCard {
        padding: 30px;
        width: 100%;
        max-width: 285px;
    }

    .contactForm h2 {
        margin-bottom: 35px;
    }

    .submitButton {
        width: 100%;
    }

}