@font-face {
    font-family: "Alegreya Black";
    src: url('data/alegreya-black.ttf');
}

@font-face {
    font-family: "Montserrat";
    src: url('data/Montserrat.ttf');
}


:root {
    --color-a: rgb(0, 153, 255);
    --color-b: rgb(255, 102, 0);

    --color-bg: #09090b;
    --color-bg-1: #19191b;
    --color-fg: #ffffff;

    --color-a-bg80: color-mix(in oklab, var(--color-a) 20%, var(--color-bg) 80%);
    --color-a-bg60: color-mix(in oklab, var(--color-a) 40%, var(--color-bg) 60%);


    --space-1: 8px;
    --space-2: 16px;
    --space-3: 24px;

    --space-4: 48px;
    --space-5: 96px;
    --space-6: 144px;

    --width-s0: calc(360px + 2 * var(--space-1));
    --width-s1: calc(480px + 2 * var(--space-1));
    --width-s2: calc(600px + 2 * var(--space-1));

    --width-m0: calc(720px + 2 * var(--space-2));
    --width-m1: calc(840px + 2 * var(--space-2));
    --width-m2: calc(960px + 2 * var(--space-2));

    --width-l0: calc(1080px + 2 * var(--space-3));
    --width-l1: calc(1200px + 2 * var(--space-3));
    --width-l2: calc(1320px + 2 * var(--space-3));
}


* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}


body {
    min-height: 100vh;
    background-color: var(--color-bg);
    color: var(--color-fg);
    font-size: 1rem;
    font-family: 'Montserrat';
}

.font-black {
    font-family: 'Alegreya Black';
}

/*
=== Layout ===
*/

.safe-area {
    position: relative;
    margin: auto;
    width: calc(100% - 16px);
}


a {
    text-decoration: none;
    color: var(--color-a);
}

a:hover {
    color: var(--color-b);
}

ul {
    list-style: none;
}

section {
    position: relative;
    padding: 96px 0;
    width: 100%;
}

section:nth-child(odd) {
    background-color: var(--color-bg-1);
}

h1 {
    line-height: 1.0;
    margin-top: 40px;
    padding: 24px;
    font-size: 40px;
    text-align: left;
    /* text-shadow: 0 0 8px black; */
    margin-bottom: 40px;
}

h2 {
    font-size: 2rem;
    margin-bottom: 40px;
    text-align: center;
}


img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
}


.highlight {
    color: var(--color-b);
}

.text-center {
    text-align: center;
}

.flex-col {
    display: flex;
    flex-direction: column;
}

.flex-row {
    display: flex;
    flex-direction: row;
}

.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.justify-end {
    justify-content: flex-end;
}

main {
    overflow: hidden;
}

.flex-wrap {
    flex-wrap: wrap;
}

.img-cover {
    object-fit: cover;
    object-position: center;
}

.flex-auto {
    display: flex;
    flex-direction: column;
}

.side-image {
    max-height: 50vh;
}

.lft-pad {
    padding-left: 32px;
}

/*
=== Small ===
*/

@media(min-width: 376px) {
    .safe-area {
        width: 360px;
    }

    #leistungen .item {
        width: 360px;
    }
}

@media(min-width: 496px) {
    h1 {
        font-size: 48px;
    }

    .safe-area {
        width: 480px;
    }

    #leistungen .item {
        width: 480px;
    }
}

@media(min-width: 616px) {
    h1 {
        font-size: 64px;
    }

    .safe-area {
        width: 600px;
    }

    #leistungen .item {
        width: 300px;
    }
}

/*
=== Medium ===
*/

@media(min-width: 744px) {
    .safe-area {
        width: 720px;
    }

    .flex-auto {
        flex-direction: row;
    }

    .side-image {
        max-width: 50%;
    }

    #leistungen .item {
        width: 360px;
    }

    h2 {
        font-size: 2.5rem;
    }
}

@media(min-width: 864px) {
    h1 {
        font-size: 80px;
    }

    .safe-area {
        width: 840px;
    }

    #leistungen .item {
        width: 420px;
    }
}

@media(min-width: 984px) {
    .safe-area {
        width: 960px;
    }

    #leistungen .item {
        width: 320px;
    }
}


/*
=== Large ===
*/

@media(min-width: 1128px) {
    h1 {
        font-size: 96px;
    }

    .safe-area {
        width: 1080px;
    }

    #leistungen .item {
        width: 270px;
    }
}


/*
=== Header ===
*/

header {
    height: 64px;
    width: 100%;
    z-index: 100;

    position: fixed;
    background-color: rgba(0, 0, 0, 0.8);
}

@media(min-width: 660px) {
    header {
        display: block;
    }
}

.logo {
    height: 48px;
    font-family: 'Alegreya Black';
    font-size: 34px;
}

.logo a {
    color: var(--color-a);
}

header nav a {
    color: var(--color-fg);
    padding: 0 12px;
}

a:hover {
    color: var(--color-b);
}

header .safe-area {
    height: 100%;
    padding: 8px 0px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

header a {
    text-decoration: none;
}

header nav ul {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
}



header .title {
    display: none;
    font-size: 1.2rem;
    font-weight: 100;
}



@media(min-width: 744px) {
    header .title {
        display: block;
        font-size: 1.5rem;
        margin-left: 16px;
    }
}



/*
=== Start ===
*/

#start {
    /*height: 80dvh;*/
    background-size: cover;
    background-position: center;
    background-color: rgba(0, 0, 0, 0.5);
    background-blend-mode: multiply;
}




.call-to-action {
    padding: 16px;
    color: white;
    background-color: var(--color-b);
    border-radius: 8px;

    font-weight: 600;
    transition: background-color 0.2s ease-in-out;
}

.call-to-action:hover {
    color: white;
    background-color: var(--color-a);
}

/*
=== Über uns ===
*/




#info figure {
    opacity: 0.4;
    width: 180px;
    padding: 16px;
    height: auto;
    transition: opacity 0.2s ease-in-out;
}

#info .flex-row:hover figure {
    opacity: 0.8;
}

#info .flex-row {
    margin: 8px 0;
}

.break-lft {
    margin-left: -56px;
}

.break-rgt {
    margin-right: -56px;
}

#info p {
    width: 80%;
    padding: 16px;
    line-height: 1.5;
}

#info figure svg {
    width: 100%;
    height: 100%;
}



/*
=== Leistungen ===
*/

.flex-start {
    justify-content: center;
    align-items: start;
}

#leistungen figure {
    margin: 24px auto;
    width: 120px;
    height: 120px;
    border-radius: 16px;
    display: flex;
    justify-content: center;
    align-items: center;

    background: linear-gradient(135deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1.0) 100%);
}

#leistungen figure img {
    width: 60%;
    opacity: 0.8;
    aspect-ratio: 1 / 1;
    transition: opacity 0.2s ease-in-out, scale 0.2s ease-in-out;
}

#leistungen .flex-col:hover img {
    opacity: 1.0;
    scale: 1.2;
}

#leistungen h3 {
    width: 100%;
    text-align: center;
    margin-bottom: 16px;
}

#leistungen p {
    margin-bottom: 40px;
    padding: 0 16px;
    text-align: center;
    opacity: 0.6;
}

/*
=== Projekte
*/

#projekte .tab-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 16px;
}


#projekte button {
    background: none;
    border: none;
    color: white;
    font-size: 1rem;
    padding: 16px;

    transition: background-color 0.2s ease-in-out, opacity 0.2s ease-in-out;
}



#projekte button:hover {
    background-color: var(--color-a);
}

#projekte button.active {
    background-color: var(--color-b);
    opacity: 1;
}




#projekte .card {
    position: relative;
    margin: 8px;
    z-index: 0;

}

.absolute-fill {
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;

    position: absolute;
}

.bg-gradient {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 1) 100%);
    z-index: -50;
}

#projekte .card img {
    z-index: -100;
    object-fit: cover;
    object-position: center;
}

#projekte h3 {
    text-align: center;
    transition: 0.2s ease-in-out;
    font-size: 1.5rem;
}

#projekte .card.tiny {
    justify-content: flex-end;
    width: 300px;
    height: 300px;
    padding: 40px;
}

#projekte .card.tiny:hover .bg-gradient {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 40%, var(--color-b) 120%);
}

#projekte .tiny:hover h3 {
    margin-bottom: 40px;
}


#projekte .card.full {
    width: 100%;
    height: auto;
    padding: 24px;
}

#projekte .card.full h3 {
    padding: 16px;
    background-color: rgba(0, 0, 0, 0.8);
    width: 100%;
    max-width: 420px;
    margin: auto;
}
#projekte .card .content {
    margin: auto;
    max-width: 420px;
    padding: 24px;
    background-color: rgba(0, 0, 0, 0.8);
    line-height: 1.5;
}

#projekte .card.full p {
    padding: 16px 0;
}

/*
=== Marken ===
*/

#marken .container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

#marken a {
    flex-grow: 0;
    height: 80px;
    width: 240px;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0.6;

    padding: 20px;
    transition: opacity 0.4s ease-in-out;
    transition: scale 0.4s ease-in-out;
}

#marken a:hover {
    opacity: 1;
    scale: 1.2;
}

#marken img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/*
=== Kontakt ===
*/

.kontakt-daten{
    margin-bottom: 16px;
    color: #ffffff;
}

.kontakt-tel{
    
    margin-left: 32px;
}

.telefon-icon{
    width: 24px;
    height: 24px;
}

#kontakt ul {
    padding: 16px 24px;
    margin: 16px 0;
}

#kontakt li {
    margin: 8px;
    display: flex;
    justify-content: start;
    align-items: center;
}

#kontakt li::before {
    content: "";
    display: inline-block;
    margin-right: 8px;
    height: 1.5rem;
    width: 1.5rem;
    background-color: var(--color-b);
    /*
    background-image: url(data/icons/sun.svg);
    background-size: contain;
    background-position: center;*/
    mask: url(data/icons/sun.svg);
}


#kontakt form {
    display: flex;
    flex-direction: column;
    margin: 24px 0;
}

#kontakt label {
    margin-bottom: 8px;
    margin-top: 8px;
}

#kontakt form input {
    max-width: 320px;
    padding: 8px;
    margin-bottom: 16px;
    font-size: 1.1rem;
    border-radius: 8px;
}

#kontakt form input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin-bottom: 0;
}

#kontakt form textarea {
    min-height: 320px;
    padding: 8px;
    border-radius: 8px;
    margin-bottom: 16px;
    resize: vertical;
    font-size: 1rem;
    line-height: 1.2;
    margin-bottom: 24px;
}

#kontakt form button[type="submit"] {
    background-color: var(--color-b);
    color: var(--color-fg);
    border: none;
    width: auto;

    font-weight: 800;
    padding: 24px 16px;
    border-radius: 8px;
    font-size: 1.25rem;
    margin: 24px;
}

#kontakt form button:disabled {
    opacity: 0.5;
}

button:hover {
    cursor: pointer;
}

#closer {
    height: 40vh;
    background-position: center;
    background-size: cover;
}

/*
=== Footer ===
*/

footer {
    width: 100%;
    background-color: #000000;
}

footer .safe-area {
    height: 80px;
    align-items: center;
    justify-content: space-between;
}

footer nav li {
    padding: 16px;
}