/* IT-SCHNITTSTELLE P1.3B
   Feinschliff nach P1.3A.
*/

/* Startseite: statischer Hero, keine Carousel-Bedienelemente */
.its-static-hero {
    position: relative;
    min-height: 430px;
    overflow: hidden;
}

.its-static-hero .its-static-hero-item,
.its-static-hero .fill {
    min-height: 430px;
}

.its-static-hero .its-static-hero-caption {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.its-static-hero .its-static-hero-caption .container {
    position: relative;
    width: min(760px, calc(100% - 40px));
    margin: 0;
    text-align: left;
}

.its-static-hero .its-static-hero-caption h1,
.its-static-hero .its-static-hero-caption p {
    text-align: left;
}

.its-static-hero .its-static-hero-caption p {
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: 650px !important;
}

.its-static-hero .its-static-hero-caption .btn {
    margin-top: 8px;
}

/* Startseite: alte Bild-Icons entfernen.
   Inhalt und Überschriften bleiben vollständig erhalten. */
.list-block figure {
    display: none;
}

/* Startseite: Inhaltsblöcke redaktioneller und weniger themehaft */
.list-block .col-md-4 {
    text-align: left;
}

.list-block .col-md-4 h3 {
    margin-top: 0;
}

.list-block .container > .row {
    display: flex;
    flex-wrap: wrap;
}

.list-block .container > .row > .col-md-4 {
    border-left: 1px solid var(--its-line);
}

.list-block .container > .row > .col-md-4:first-child {
    border-left: 0;
}

/* Kontaktseite: kompakterer vertikaler Rhythmus */
#c538 {
    padding-top: 44px !important;
    padding-bottom: 40px !important;
}

#c658,
.kontakt-form + .mission-block {
    padding-top: 52px !important;
    padding-bottom: 52px !important;
}

.kontakt-form form {
    margin-top: 22px;
    margin-bottom: 22px;
}

/* Formular: Textarea klar als Hauptfeld erkennbar */
.kontakt-form textarea.form-control {
    min-height: 150px;
}

/* Mobile */
@media (max-width: 991px) {
    .its-static-hero,
    .its-static-hero .its-static-hero-item,
    .its-static-hero .fill {
        min-height: 390px;
    }

    .list-block .container > .row {
        display: block;
    }

    .list-block .container > .row > .col-md-4 {
        border-left: 0;
        border-top: 1px solid var(--its-line);
    }

    .list-block .container > .row > .col-md-4:first-child {
        border-top: 0;
    }
}

@media (max-width: 767px) {
    .its-static-hero {
        min-height: 360px;
    }

    .its-static-hero .its-static-hero-item,
    .its-static-hero .fill {
        min-height: 360px;
    }

    .its-static-hero .its-static-hero-caption {
        padding: 28px 16px;
    }

    .its-static-hero .its-static-hero-caption .container {
        width: calc(100% - 16px);
        padding: 24px;
    }
}
