/* --- Hero --- */

#Hero {
    display: grid;
    position: relative;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(3, max-content);
    grid-template-areas:
        "HeroBild HeroHeading"
        "HeroBild HeroText"
        "HeroBild HeroButton";
    align-content: center;
    height: fit-content;
    padding: var(--font-huge) 0 calc(var(--font-huge) * 1.618 * 1.618) 0;
}


#HeroBild {
    position: relative;
    width: 75%;
    max-width: 500px;
    height: fit-content;

    grid-area: HeroBild;
    justify-self: center;
    align-self: center;
    
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0.6;
    animation: HeroBildAnimation 1000ms ease-in-out forwards 50ms;
}

@keyframes HeroBildAnimation {
    from {
        opacity: 0.6;
        transform: translateY(2rem);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes BlobAnimation {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

#Honigglaeser {
    position: relative;
    width: 65%;
}

#Blumen {
    width: 100%;
}

#Blob {
    grid-area: HeroBild;
    position: absolute;
    justify-self: center;
    align-self: center;
    width: 100%;
    z-index: -1;
    max-width: 1300px;
    filter: blur(2px);
    animation: BlobAnimation 1000ms ease-in-out forwards 0ms;
}

#HeroHeading {
    grid-area: HeroHeading;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    font-family: CrimsonPro, serif;
    margin: 0;
    height: 1em;
    white-space: nowrap;
    font-weight: 200;
    font-size: var(--font-huge);
    margin-bottom: var(--font-large);
}

#HeroText {
    grid-area: HeroText;
    font-size: var(--font-normal);
    font-family: Roboto, sans-serif;
    height: fit-content;
    align-self: center;
    padding-right: calc(var(--font-huge) * 1.618);
}

#HeroButton {
    grid-area: HeroButton;
    height: fit-content;
    display: block;
    text-align: right;
    width: fit-content;
    right: 2rem;
    left: auto;
    margin: var(--font-big) 0 0 0;
    font-size: var(--font-larger);
    justify-self: center;
}

#HeroButton button {
    background-color: var(--gelb);
    border-radius: 12px;
    font-family: CrimsonPro, serif;
    padding: .5rem 1.5rem;
    border: none;
    color: var(--grau);
    box-shadow: 0 4px 12px 3px #3E341C;
    font-size: inherit;
    position: relative;
    right: 0;
}

@media screen and (max-width: 62rem) and (min-width: 42rem) {
    #Hero {
        grid-template-areas: 
            "HeroHeading HeroHeading"
            "HeroBild HeroText"
            "HeroButton HeroButton";
    }

    #HeroHeading {
        justify-content: center;
    }

    #HeroText {
        padding-right: var(--font-big);
    }
}

@media screen and (max-width: 42rem) {
    #Hero {
        grid-template-areas: 
            "HeroHeading HeroHeading"
            "HeroBild HeroBild"
            "HeroText HeroText"
            "HeroButton HeroButton";
    }

    #HeroBild {
        width: 66%;
        margin: var(--font-large) 0;
    }

    #HeroHeading {
        justify-content: center;
        font-size: var(--font-huge);
        margin-bottom: 0;
    }

    #HeroButton {
        margin-top: var(--font-larger);
        justify-self: end;
        font-size: var(--font-large);
    }
    #HeroText {
        padding-right: 0;
    }

}
/* --- Info Bereich --- */

#Info {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    height: fit-content;
    width: 100%;
    gap: var(--font-huge);
    margin-bottom: var(--font-huge);
}

#Info > a, #Info > div {
    width: 100%;
    display: grid;
    grid-template-areas: 
        "Bild Heading"
        "Bild Text"
    ;
    opacity: 0;
    transition: opacity 400ms linear 200ms;
    grid-template-columns: 1fr 2fr;
    grid-template-rows: repeat(2, max-content);
    align-items: center;
    justify-content: space-between;
    column-gap: var(--font-large);
    max-width: 120ch;
}

#Info > a.visible, #Info > div.visible {
    opacity: 1;
}

#Info > a:nth-of-type(2n), #Info > div:nth-of-type(2n) {
    grid-template-areas: 
        "Heading Bild"
        "Text Bild"
    ;
    grid-template-columns: 2fr 1fr;
}

#Info img {
    grid-area: Bild;
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: 12px;
}

#Info img[src="Images/at.svg"] {
    aspect-ratio: 1/1;
    height: 120%;
    width: auto;
    justify-self: center;
}

#Info > div a, #Info > a a {
    color: var(--gelb);
}

#Info h3 {
    grid-area: Heading;
    align-self: flex-end;
    font-family: CrimsonPro, serif;
    font-weight: 200;
    width: fit-content;
    font-size: var(--font-large);
    margin: 0 0 var(--font-normal) 0;
}

#Info h3::after {
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    background-color: #fff;
    margin-top: var(--font-normal);
}

#Info h2 {
    grid-area: Heading;
    align-self: flex-end;
    font-family: CrimsonPro, serif;
    font-weight: 200;
    width: fit-content;
    font-size: var(--font-larger);
    margin: 0 0 var(--font-normal) 0;
}

#Info h2::after {
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    background-color: #fff;
    margin-top: var(--font-normal);
}

#Info p {
    align-self: flex-start;
    grid-area: Text;
    margin: 0;
}

#Info span {
    color: var(--gelb);
}

@media screen and (max-width: 41rem) and (min-width: 30rem) {
    #Info > a, #Info > div, #Info > a:nth-of-type(2n), #Info > div:nth-of-type(2n) {
        display: block;
    }

    #Info img {
        width: auto;
        max-width: 40%;
        float: right;
        margin: 0 0 var(--font-normal) var(--font-normal);
    }

    #Info h3 {
        width: min-content;
    }
}

@media screen and (max-width: 30rem) {
    #Info > a, #Info > div, #Info > a:nth-of-type(2n), #Info > div:nth-of-type(2n) {
        grid-template-areas:
            "Bild"
            "Heading"
            "Text";
            grid-template-columns: 1fr;
    }

    #Info img {
        justify-self: center;
        max-width: 60%;
        margin-bottom: var(--font-normal);
    }
}


/* --- Honig Interesse --- */

section#HonigInteresse {
    margin: calc(var(--font-huge) * 1.618) 0;
}

section#HonigInteresse h3  {
    font-family: CrimsonPro, serif;
    text-align: center;
    font-size: var(--font-larger);
}

#HonigInteresse p {
    text-align: center;
}

#HonigInteresse a {
    height: fit-content;
    display: block;
    text-align: right;
    width: fit-content;
    position: relative;
    font-size: var(--font-larger);
    margin: var(--font-big) auto 0 auto;
    left: 0;
    right: 0;
}

section#HonigInteresse button {
    background-color: var(--gelb);
    border-radius: 12px;
    font-size: inherit;
    font-family: CrimsonPro, serif;
    padding: .5rem 1.5rem;
    border: none;
    color: var(--grau);
    box-shadow: 0 4px 12px 3px #3E341C;
    position: relative;
    right: 0;
}

@media screen and (max-width: 42rem) {
    #HonigInteresse a {
        font-size: var(--font-large);
    }
}


/* --- Impressionen --- */

section#Impressionen div {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    height: fit-content;
    width: 100%;
    gap: var(--font-large) var(--font-larger);
}

#Impressionen h3 {
    font-family: CrimsonPro, serif;
    font-weight: 200;
    font-size: var(--font-larger);
    width: 100%;
    text-align: center;
    margin: 0 0 var(--font-larger) 0;
}

#Impressionen img {
    border-radius: 12px;
    width: clamp(12rem, 100%, 25rem);
}

@media screen and (max-width: 42rem) {
    #Impressionen img {
        border-radius: 8px;
    }
}
