





header a.logo img{
    margin-left: -1rem;
}
/*
a[href^="mailto:"],
a[href^="tel:"] {
    margin-left: 1.4em;
}
a[href^="mailto:"]::before,
a[href^="tel:"]::before {
    position: absolute;
    width: 1em;
    aspect-ratio: 1;
    background-color: currentColor;
    left: -1.4em;
    top: 0.5em;
}*/
a[href^="mailto:"]::before {
    content: '';
    mask-image: url('/img/icons/icon_Mail.svg');
}
a[href^="tel:"]::before {
    content: '';
    mask-image: url('/img/icons/icon_Phone.svg');
}

#ueberuns{
    display: grid;
    grid-template-columns: 
        1fr 1fr 2fr 2fr 1fr 1fr;
    gap: 0 calc( var(--padding-inline) * 2 );
    grid-template-areas:
        "liz liz kiewitz kiewitz tim tim"
        "doodleLiz doodleLiz htk htk doodleTim doodleTim"
        "lizarbeit lizarbeit lizarbeit timarbeit timarbeit timarbeit"
        ". . gruendung gruendung . .";
    padding: clamp( var(--padding-inline), 4vw, 4rem);
    text-align: justify;

    .kiewitz{
        grid-area: kiewitz;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    .kiewitz>h2>img{
        display: block;
        margin: 0.2em auto;
        width: 5em;
    }
    .liz{
        grid-area: liz;
    }
    .tim{
        grid-area: tim;
    }
    .htk{
        grid-area: htk;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    .doodleLiz{
        grid-area: doodleLiz;
        transform: scale(-.8,.8);
    }
    .doodleTim{
        grid-area: doodleTim;
        transform: scale(-.8,.8);
    }
    .doodleLiz,
    .doodleTim{
        margin-bottom: -20%;
    }
    .lizarbeit{
        grid-area: lizarbeit;
    }
    .timarbeit{
        grid-area: timarbeit;
    }
    .gruendung{
        grid-area: gruendung;
    }
    h2{
        text-align: center;
    }
    h3{
        text-align: center;
        margin: 1em 0 0 0;
    }
    p{
        margin: .6em 0;
    }
}
figure.perso{
    position: relative;
    overflow: hidden;
    border-radius: 0 0 999em 999em;
    corner-shape: superellipse(2);
    aspect-ratio: 1 / 1;
    padding-top: 30%;
    margin: 0;
    margin-top: -20%;
    z-index: 6;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    img{
        display: block;
        position: absolute;
        width: 112%;
        left: -6%;
        aspect-ratio: 4 / 5;
        bottom: -24%;
        transition-property: bottom, left, width;
        transition-duration: 0.1s;
        transition-timing-function: ease;
    }
    h3{
        background-color: #FFF;
        position: relative;
        width: fit-content;
        padding: .2rem .6em;
        border-radius: 1em 1em 0 0;
        corner-shape: superellipse(2);
        font-size: clamp(1.4em, 2vw, 1.8em);
        letter-spacing: .04em;
        margin-bottom: -0.21em;
    }
}
figure.perso:hover{
    img{
        bottom: -12%;
        width: 116%;
        left: -8%;
    }
}
figure.perso::before{
    content: "";
    background: linear-gradient(180deg, rgba(109, 159, 175, 1) 0%, rgba(126, 175, 191, 1) 33%, rgba(137, 191, 203, 1) 60%, rgba(196, 223, 229, 1) 100%);
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 999em;
    corner-shape: superellipse(2);
}
@media screen and (max-width: 800px) {
    div#ueberuns{
        grid-template-columns:
        1fr 1fr;
        gap:  calc( var(--padding-inline)  );
        grid-template-areas:
        "kiewitz kiewitz"
        "liz tim"
        "htk htk"
        "doodleLiz doodleTim"
        "lizarbeit timarbeit"
        "gruendung gruendung";
    }
}

div.werbeillustration{
    background-image: url("/portfolio/header/PortfolioHeader_Werbeillustration.webp");
}
div.buchillustration{
    background-image: url("/portfolio/header/PortfolioHeader_Buchillustration.webp");
}
div.animation{
    background-image: url("/portfolio/header/PortfolioHeader_Animation.webp");
}
div.Grafik3D{
    background-image: url("/portfolio/header/PortfolioHeader_3DGrafik.webp");
}
div.Webentwicklung{
    background-image: url("/portfolio/header/PortfolioHeader_HTML.webp");
}

.previewCard{
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.previewCard > div{
    font-weight: 400;
    background-color: #ffffff80;
    padding: var(--padding-inline);
    max-width: 70ch;
    width: 80%;
    border-radius: 0.4rem;
    margin-bottom: calc(var(--padding-inline) * 0.4);
}
.previewCard   p{
    width: 100%;
}
.previewCard ul{
    list-style-type: none;
    padding: 0;
}
.previewCard li{
    background-color: #FFF;
    display: inline-block;
    padding: 0.5em 1em;
    border-radius: 3em;
    corner-shape: superellipse(1.9);
    margin: 0.4em;
}
.previewCard p>a{
    padding: 1em;
    background-color:var(--block1BG);
    color: var(--block1Link);
    text-align: left;
    display: inline-block; 
    width: fit-content;    
    max-width: 45ch;       
    text-wrap: balance;
    border-radius: 1em 10em 10em 1em;
    corner-top-right-shape: bevel;
    corner-bottom-right-shape: bevel;
    padding-right: 2em;
    transition: padding-right 0.1s ease-in-out;
}
.previewCard p>a:hover{
    padding-right: 3em;
}