:root {
    --c-orange: #BE5E38;
}

html,body {
    max-width: 100vw;
    overflow-x: hidden;
}

a {
    color: var(--c-orange) !important;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}

main {
    margin-bottom: 50px;
}
main * {
    color: #555;
}

@media (min-width: 992px) {
    main,footer {
        margin-left: 250px;
    }
}

header {
    height: 100vh;
    position: relative;
    margin-bottom: 50px;

}
header::before {
    background-image: url(../img/header.webp);
    background-size: cover;
    filter: grayscale(70%) brightness(.9);
    content: '';
    position: absolute;
    z-index: 1;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
}
header>div {
    position: relative;
    z-index: 2;
    height: 100%;
    background-color: rgba(64,64,64,.8);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

header :is(p,h1,h2,h3,h4,h5) {
    color: #FFF;
    font-weight: 600;
}
header h1 {
    font-size: 60px;
    margin-bottom: 15px;
    text-align: center;
    padding: 0 30px;
}
header h1 span {
    color: var(--c-orange);

}
@media (max-width: 991.99px) {

    header>div {
        padding-bottom: 7vh;
    }
    header img {
        border-radius: 50%;
        margin: 30px 0 20px 0;
        border: 10px #343a40 solid;
        transition: border 500ms;
    }
    header a:hover img {
        border: 10px var(--c-orange) solid;
    }

    header h1 span {
        color: var(--c-orange);
    }
}
header button {
    margin-top: 35px;
    background: transparent;
    border: 2px var(--c-orange) solid;
    padding: 10px 30px 11px 30px;
    height: 50px;
    border-radius: 25px;
    color: var(--c-orange);
    transition: background-color .2s ease, color .2s ease, border .2s ease;
}
header button:hover {
    border: 2px #FFF solid;
    background-color: rgba(255,255,255,.25);
    color: #FFF;
}


@media (min-width: 992px) {
    header .portrait {
        display: none;
    }
}


@media (max-width: 991.99px) {
    .container {
        padding: 30px 0 40px 0;
        padding: 55px 0 85px 0;
    }
    .container>.anchor {
        position: relative;
        top: -100px;
    }
    .container>.row {
        padding: 0 30px;
    }
}
@media (min-width: 992px) {
    .container {
        padding: 55px 0 85px 0;
    }
    .container>.row {
        padding: 0 50px;
    }
}

section,
footer>div {
    max-width: 1000px !important;
}

section :is(h1,h2,h3,h4,h5,h6) {
    font-weight: 600;
}


section .headline {
    /*padding-top: 100px;*/
    padding-bottom: 65px;
    text-align: center;
}
section .headline .back {
    color: #00000002;
    font-size: 80px !important;
    font-size: 4rem;
    font-weight: 800;
    user-select: none;
    text-transform: uppercase;
    white-space: nowrap;
}


section .headline h2 {
    font-weight: 600;
    position: relative;
    margin-top: -75px;
    margin-bottom: -15px;
}
section .headline::after {
    content: '';
    display: inline-block;
    width: 80px;
    heigth: 0;
    border: 1px var(--c-orange) solid;
    position: relative;
    z-index: 1;
}

@media (max-width: 991.99px) {
    section .headline .back {
        font-size: 40px !important;
        position: relative;
        margin-left: -30px;
        margin-right: -30px;
        overflow: hidden;
    }
    section .headline h2 {
        font-weight: 600;
        position: relative;
        margin-top: -50px;
        margin-bottom: -15px;
    }
}


/* Ueber */

.ueber h3 span {
    color: var(--c-orange);
}
.ueber .datasheet {
    list-style-type: none;
    padding: 0;
}
.ueber .datasheet li:not(:last-child) {
    border-bottom: 1px #EEE solid;
}
.ueber .datasheet li {
    padding: 10px 0;
}
.ueber .datasheet li span {
    font-weight: 600;
    display: inline-block;
    min-width: 80px;
}



/* Schule */

.jobs {
    border-top: 1px #FAFAFA solid;
}

.jobs .box {
    border: 1px #CCC solid;
    border-radius: 4px;
}
.jobs .box .label {
    display: inline-block;
    border-radius: 4px;
    background-color: var(--c-orange);
    color: #FFF;
    padding: 0 5px;
}
.jobs .box .location {
    color: #A00;
}



/* Zeugnisse */

.zeugnisse {
    background-color: #FCFCFC;
    box-shadow: 900px 0 0 #FCFCFC, -900px 0 0 #FCFCFC;
}
.zeugnisse .back {
    color: #00000005 !important;
}
.zeugnisse ul {
    list-style-type: none;
    padding: 0;
    columns: 1;
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    column-gap: 2rem;
    row-gap: 30px;
}
@media (min-width: 768px) {
    .zeugnisse ul  {
        columns: 2;
        grid-template-columns: repeat(2, minmax(0, 1fr));

    }
}
.zeugnisse ul li {
    display: flex;
    break-inside: avoid;

}
.zeugnisse ul li .icon {
    display: flex;
    background-color: #FFF;
    border-radius: 4px;
    width: 70px;
    height: 70px;
    padding: 15px;
    box-shadow: 0 0 5px #CCC;
}



/* Skills */

.skills .skill-wrapper  {
    padding: 20px 0 0;
    columns: 1;
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    column-gap: 2rem;
    row-gap: 30px;
}
.skills .skill-wrapper .skill-item {
    display: flex;
    break-inside: avoid;
}

@media (min-width: 570px) {
    .skills .skill-wrapper  {
        columns: 2;
        grid-template-columns: repeat(2, minmax(0, 1fr));

    }
}

.skills .skill  {
    width: 100%;
}
.skills .skill .label {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
.skills .skill .label * {
    font-weight: 600;
}
.skills .skill .skill {
    background-color: #CCC;
    height: 6px;
    border-radius: 3px;
    margin-top: 4px;
    overflow: hidden;
}
.skills .skill .skill>div {
    background: var(--c-orange);
    height: 100%;
}
.skills .skill-wrapper ~ h4 {
    margin-top: 50px;
}



/* Hobbies */

.hobbies {
    background-color: #FCFCFC;
    box-shadow: 900px 0 0 #FCFCFC, -900px 0 0 #FCFCFC;
}
.hobbies .back {
    color: #00000005 !important;
}
.hobbies .masonry-wrap {
    column-gap: 16px;
    columns: 1; /* Standard-Spaltenzahl */
}
@media (min-width: 576px) { .hobbies .masonry { columns: 2; } }
@media (min-width: 768px) { .hobbies .masonry { columns: 3; } }
@media (min-width: 992px) { .hobbies .masonry { columns: 2; } }
@media (min-width: 1200px) { .hobbies .masonry { columns: 3; } }
@media (min-width: 1400px) { .hobbies .masonry { columns: 4; } }

.hobbies .masonry .item {
    break-inside: avoid;
    margin: 0 0 16px;
    display: block;
    border-radius: 4px;
    overflow: hidden;
    background: #111418;
    /*box-shadow: 0 2px 12px rgb(0 0 0 / 35%);*/
    transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
    opacity: .5;
}
/*
.masonry .item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgb(0 0 0 / 45%);
}
*/
.hobbies .masonry .item:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 12px rgb(0 0 0 / 35%);
    opacity: 1;
}
.hobbies .masonry .item img {
    display: block;
    width: 100%;
    height: auto;
    vertical-align: middle; /* verhindert Luecken */
    filter: grayscale(70%) brightness(.9);
    transition: filter .2s ease;
}
.hobbies .masonry .item .cap {
    border-top: 2px var(--c-orange) solid;
    padding: 5px 12px;
    font-size: 14px;
    color: #bfc6d4;
    margin-top: -41px;
    position: relative;
    z-index: 1;
    background: rgba(0,0,0,.5);
    opacity: 0;
    transition: opacity .2s ease;
}
.hobbies .masonry .item:hover img {
    filter: grayscale(0) brightness(1);
}
.hobbies .masonry .item:hover .cap {
    opacity: 1;
}



/* Kontakt */

.kontakt .phone {
    display: inline-block;
    position: relative;
    margin-bottom: -2px;
    margin-right: 1px;
    width: 16px;
    height: 16px;
    background-image: url(../img/phone.svg);
    background-repeat: no-repeat;
}
.kontakt .email {
    display: inline-block;
    position: relative;
    margin-bottom: -3px;
    margin-right: 4px;
    width: 16px;
    height: 16px;
    background-image: url(../img/email.svg);
    background-repeat: no-repeat;
}

.kontakt ul {
    list-style-type: none;
    padding: 0;
    display: inline-flex;
    gap: 20px;
    justify-content: space-between;
}
.kontakt ul li {
}
.kontakt ul li a {
    display: inline-block;
    width: 30px;
    height: 30px;
}










footer {
    background-color: #FCFCFC;
}
footer .container {
    padding: 30px 0;
}
footer span {
    color: var(--c-orange);
    font-weight: 600;
}
