﻿/*----------------- Fonts -----------------*/

@font-face {
    font-family: "Kurale";
    src: url(Fonts/Kurale-Regular.ttf) format("truetype");
}

@font-face {
    font-family: "NotoSans";
    src: url(Fonts/NotoSans-Regular.ttf) format("truetype");
    font-weight: normal;
}

@font-face {
    font-family: "NotoSans";
    src: url(Fonts/NotoSans-Bold.ttf) format("truetype");
    font-weight: bold;
}

@font-face {
    font-family: "NotoSans";
    src: url(Fonts/NotoSans-ExtraBold.ttf) format("truetype");
    font-weight: 800;
}


/*----------------- Resets -----------------*/

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

body {
    -webkit-font-smoothing: antialiased;
    line-height: 1.5;
    width: 100%;
    color: #60435F;
    font-family: "NotoSans", sans-serif;
    font-size: 18px;
    overflow-x: hidden;
}

a{
    text-decoration: none;
    font-family: inherit;
    color: inherit;
}

/*----------------- Grundelemente -----------------*/

/*div{
    outline: 1px solid black;
}*/


p{
    width: 100%;
}

h1{
    font-family: "Kurale", serif;
    font-size: 50px;
    line-height: 1.2;
    margin-bottom: 20px;
    @media (max-width: 560px){
        font-size: 40px;
    }
}

h2{
    font-family: "Kurale", serif;
    font-size: 40px;
    margin-bottom: 20px;
    @media (max-width: 560px){
        font-size: 35px;
    }
}

h3{
    font-family: "Kurale", serif;
    font-size: 30px;
    margin:25px 0 15px 0;
    @media (max-width: 560px){
        font-size: 25px;
    }
}

.p--content-text{
    margin-top: 30px;
}

.middle-text{
    width: 65%;
    text-align: center;
    @media (max-width: 900px){
        width: 90%;
    }
    @media (max-width: 470px){
        width: 100%;
    }
}

.flex-vertical{
    flex-direction: column;
    align-items: center;
}

.main-container{
    width: 100vw;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-x: hidden;
}

.kreation{
    background-color: #644536;
}

.termin{
    background-color: #B2675E;
}

.workshops{
    background-color: #C4A381;
}



/*----------------- Header -----------------*/

.header{
    display: flex;
    justify-content: center;
    height: 398px;
    background-image: url("Bilder/Interface/image_header_bg_repeatable.png");
    background-position: center;
    width: 100vw;
    position: relative;
    overflow: hidden;
    @media (max-width: 920px){
        height: 250px;
    }
    @media (max-width: 560px){
        height: 200px;
    }
}

.header-content{
    height: 100%;
    width: 900px;
    overflow: visible;
    position: relative;
    z-index: 1;
    padding-top: 100px;
    @media (max-width: 920px){
        width: 100%;
        padding: 60px 20px;
    }
    @media (max-width: 560px){
        height: 200px;
        padding: 30px 20px;
    }
}

.ornament-container{
    position: absolute;
    width: 100%;
    height: 100%;
    @media (max-width: 560px){
       margin-top: 5%;
    }
}

.left-placeholer{
    display:inline-block;
    width: 65%;
    height: 100%;
    @media (max-width: 560px){
       width: 60%;
    }
}

.right-ornament{
    display:inline-block;
    background-image: url(Bilder/Interface/image_header_ornament.png);
    background-repeat: no-repeat;
    background-position: right 50% center;
    background-size: 120%;
    width: 35%;
    height: 150%;
    @media (max-width: 560px){
        width: 40%;
        background-size: 110%;
    }
}

.logo{
    @media (max-width: 920px){
        width: 60%;
    }
    @media (max-width: 660px){
        width: 70%;
    }
    @media (max-width: 560px){
        width: 90%;
    }
}

/*.header-ornament{
    position: absolute;
    top: -5%;
    right: -30%;
}*/

.header-border{
    height: 66px;
    position: absolute;
    bottom: 0;
    width: 100%;
    background-image: url("Bilder/Interface/image_header_border_repeatable.svg");
    background-position: bottom -20px right 50%;;
    background-repeat: repeat-x;
}



/*----------------- Footer -----------------*/

.footer{
    margin-top: -210px;
    width: 100vw;
    position: relative;
    
    background-image: url("Bilder/Interface/image_footer.png");
    background-repeat: repeat-x;
    background-position: bottom;
    background-size: contain;
    height: 517px;
    @media (max-width: 560px){
        margin-top: -50px;
        height: 300px;
    }
}

.footer > div{
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    column-gap: 20px;
    position: absolute;
    bottom: 0;
    padding-bottom: 20px;
    @media (max-width: 560px){
        padding-bottom: 15px;
    }
}

.footer a{
    color: yellow;
    font-weight: bold;
}


/*----------------- Content -----------------*/


.content-container{
    width: 900px;
    height: auto;
    @media (max-width: 920px){
        width: 100%;
        padding: 0 40px;
    }
    @media (max-width: 560px){
        padding: 0 20px;
    }
}

.container{
    width: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    height: auto;
    margin-bottom: 110px;
    @media (max-width: 560px){
        margin-bottom: 70px;
    }
}

.content-group{
    width: 100%;
}

.content-group-a{
    width: 100%;
}

.button-linka{
    font-weight: 800;
    font-size: 20px;
    color: white;
    padding: 12px 24px;
    min-width: 287px;
    border-radius: 1px;
    display: inline-block;
    text-align: center;
    margin-top: 0px;
    @media (max-width: 490px){
        width: 100%
    }
}

.button-link{
    font-weight: 800;
    font-size: 20px;
    color: white;
    padding: 12px 24px;
    min-width: 287px;
    border-radius: 10px;
    display: inline-block;
    text-align: center;
    margin-top: 40px;
    @media (max-width: 490px){
        width: 100%
    }
}

.button-link > img{
    padding-right: 16px;
}

.no-button{
    color: inherit;
    font-size: 16px;
    padding: 0;
    width: auto;
    min-width: 0;
}

.no-button > img{
    width: 48px;
}

.headlines{
    margin-bottom: 30px;
    position: relative;
}

.headlines > img{
    padding-right: 20px;
    @media (max-width: 560px){
        transform: scale(80%);
        padding-right: 0;
    }
}

.headlines > h2{
    margin: 0;
    position: relative;
}

.headlines > h2::before{
    content: url("Bilder/Interface/image_bg_clay_element.svg");
    position: absolute;
    z-index: -100;
    top: -80px;
    left: -170px;
    @media (max-width: 560px){
        transform: scale(80%);
    }
}

.button-link > *, .headlines > *{
    display: inline-block;
    vertical-align: middle;
}

.anchor_element{
    position: absolute;
    top: -180%;
}

.devider{
    width: 100vw;
    background-image: url("Bilder/Interface/devider.svg");
    background-repeat: repeat-x;
    background-position: center;
    height: 50px;
    position: absolute;
}

.container:has(> .devider){  /* ignorierte Höhe des absoluten devider-elements ausgleichen */
    margin-bottom: 150px;
    @media (max-width: 560px){
        margin-bottom: 100px;
    }
}

.content-box-container{
    display: flex;
    flex-direction: row;
    position: relative;
    width: 100%;
    
    @media (max-width: 730px){
        flex-direction: column;
    }
}

.responsive-reverse{
    @media (max-width: 730px){
        flex-direction: column-reverse;
    }
}

.horizontal-content-box{
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    
    @media (max-width: 730px){
        width: 100%;
    }
}


/*----------------- Spezifische Elemente -----------------*/


.button-container{
    width: 100%;
    margin: 90px 0;
    display: flex;
    justify-content: space-between;
    column-gap: 20px;
    position: relative;
    @media (max-width: 730px){
        flex-direction: column;
        gap: 20px;
        width: 70%
    }
    @media (max-width: 560px){
        width: 100%
    }
}

.button-container::after{
    content: url(Bilder/Interface/image_bg_clay_element.svg);
    position: absolute;
    z-index: -100;
    right: -100px;
    bottom: -160px;
}

.container:has(> .button-container){
    margin-bottom: 0;
}

.button-container > .button-link{
    min-width: 0;
    width: 100%;
    margin: 0;
}


.kreationen-container{
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    column-gap: 20px;
    margin: 10px 0;
    @media (max-width: 900px){
        width:80%;
        flex-direction: column;
        row-gap: 20px;
    }
    @media (max-width: 730px){
        width:90%;
    }
    @media (max-width: 560px){
        width:100%;
    }
}

.kreationen-column{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    column-gap: 20px;
}

.kreation-card{
    display: inline-block;
    width:100%;
}

.kreation-card img{
    border-radius: 10px;
    max-width: 100%;
}

.kreation-card p{
    font-size: 16px;
    font-weight: bold;
}

.bild-r-klein-container{
    position: absolute;
    left: -40px;
    bottom: -80px;
}

.bild-l{
    width: 427px;
    margin-left: -150px;
    -webkit-mask-image: url(Bilder/Interface/mask_image_left.svg);
    -webkit-mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    
    
    mask-image: url(Bilder/Interface/mask_image_left.svg);
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
    
    @media (max-width: 900px){
        transform: scale(80%);
    }
    @media (max-width: 730px){
        margin: auto;
    }
}

.bild-r-container{
    position: relative;
    margin-right: -150px;
    
    @media (max-width: 900px){
        transform: scale(80%);
    }
    @media (max-width: 730px){
        margin: auto;
        margin-bottom: 70px;
    }
}

.bild-r{
    width: 427px;
    -webkit-mask-image: url(Bilder/Interface/mask_image_right.svg);
    -webkit-mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    
    
    mask-image: url(Bilder/Interface/mask_image_right.svg);
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
}

.bild-r-klein{
    height: 235px;
    text-align: center;
    -webkit-mask-image: url(Bilder/Interface/mask_image_right_small.svg);
    -webkit-mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    
    
    mask-image: url(Bilder/Interface/mask_image_right_small.svg);
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
}

.bild-r-klein-container::before{
    content: url(Bilder/Interface/mask_image_right_small_border.svg);
    position: absolute;
    z-index: 0;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}