@font-face { 
    font-family: "Inter"; 
    font-style: normal; 
    font-weight: 400; 
    font-display: swap; 
    src: url("https://profiz-kita.de/schriften/Inter-Regular.woff2") format("woff2"); 
}
@font-face { 
    font-family: "Inter"; 
    font-style: italic; 
    font-weight: 400; 
    font-display: swap; 
    src: url("https://profiz-kita.de/schriften/Inter-Italic.woff2") format("woff2"); 
}
@font-face { 
    font-family: "Inter"; 
    font-style: normal; 
    font-weight: 700; 
    font-display: swap; 
    src: url("https://profiz-kita.de/schriften/Inter-Bold.woff2") format("woff2"); 
}
body { 
    font-family: "Inter", Arial, Helvetica, sans-serif;
    max-width: 1200px;
    font-weight: 400;
    margin: 0 auto;
    padding: 0 30px;
    font-size: 20px;
    line-height: 1.55;
}
header {
    padding: 45px 0 25px;
}
#logo {
    max-width: 240px;
    margin: -15px 0 0 -15px;
}
p, ul {
    max-width: 680px;
    color: #444;
    margin-left: 75px;
}
#intro {
    background-image: url(medien/profiz_wissen.jpg);
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: cover;
}
.intro {
    font-size: 3em;
    font-weight: 700;
    line-height: 1.2;
    padding: .75em 0 4em;
    margin: 0 75px;
    color: transparent;
    max-width: none;
    letter-spacing: -.02em;
}
ul {
    padding: 0 0 0 20px;
}
li {
    margin-bottom: .5em;
}
a {
    color: inherit;
}
h1 {
    margin: 0;
    font-family: "Inter", Arial, Helvetica, sans-serif;
}
h2 {
    margin-top: 3em;
    margin-bottom: .7em;
    padding-top: 25px;
    font-size: 36px;
    font-family: "Inter", Arial, Helvetica, sans-serif;
    font-weight: 700;
    border-top: 2px solid black;
}
#first h2 {
    margin-top: 1.5em;
}
h3 {
    font-family: "Inter", Arial, Helvetica, sans-serif;
}
h4 {
    font-family: "Inter", Arial, Helvetica, sans-serif;
    font-weight: 400;
    color: #444;
}
.team {
    display: grid;
    grid-column-gap: 20px;
    grid-row-gap: 20px;
    margin-bottom: 3.5em;
}
#team1, #team2 {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 1fr;
}
#team3, #team4 {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
}
.teampic {
    max-width: 220px;
    filter: grayscale(1);
}
.person {
    display: flex;
    align-items: center;
    gap: 10px;
}
sup {
    font-size: .6em;
}
.klein {
    font-size: .6em;
    margin: 10px 0 0 0;
    text-align: right;
    max-width: none;
}
#projekt {
    margin-top: 8rem;
    border-top: 2px solid black;
}
#projekt p {
    max-width: 600px;
    margin-left: 0;
}
#projekt div {
    display: flex;
    align-items: center;
    gap: 35px;
}
#ministerium {
    width: 250px;
    padding: 30px 0;
}
footer ul {
    list-style-type: none;
    padding: 0;
    display: flex;
    gap: 25px;
    margin: 60px 0 30px;
    font-size: 15px;
}
footer ul li {
    margin: 0;
}

@media (max-width: 1024px) {
    .intro { 
        font-size: 2.5em;
    }
}
@media (max-width: 850px) {
    body {
        font-size: 17px;
    }
    .intro { 
        font-size: 2em;
    }
    #logo {
        max-width: 180px;
    }
    h2 {
        font-size: 26px;
    }
    p, ul {
        max-width: none;
        margin-left: 0;
    }
    #team1, #team2, #team3, #team4 {
        grid-template-columns: repeat(1, 1fr);
        grid-template-rows: 1fr;
    }
    .teampic {
        max-width: 160px;
    }
    #projekt {
        margin-top: 5rem;
    }
    #projekt div {
        flex-direction: column;
        align-items: start;
        gap: 0;
    }
    #ministerium {
        padding: 20px 0 0;
    }
    footer ul {
        flex-direction: column;
    }
}
@media (max-width: 750px) {
    .intro { 
        font-size: 1.5em;
}