/*Allgemeines*/

html, body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #222222;
    color: #FFFFFF;
    margin: 0px;
    padding: 0px;
    top: 0px;
    width: 100%;
    height: 100vh;
}

@font-face {
    font-family: 'Righteous';
    src: url(../fonts/Righteous-Regular.ttf);
}

@font-face {
    font-family: 'Lora';
    src: url(../fonts/Lora-Regular.ttf);
}

::-moz-selection { background: #FFFFFF; color: #000000; }
::selection { background: #FFFFFF; color: #000000; }

h1, .h1, h2, .h2, h3, .h3, h4, .h4 {
    font-family: 'Righteous', cursive;
    text-transform: uppercase;
    margin-top: 1em;
    margin-bottom: 1em;
    color: #BE9835;
}

h1, .h1 {
    font-size: 3em;
    display: none;
}

h2, .h2 {
    font-size: 2em;
}

h3, .h3 {
    font-size: 2em;
}

p, .p, ul, dl {
    font-family: 'Lora', serif;
    font-size: 1em;
    margin-top: 0em;
    margin-bottom: 1em;
}

.bold {
    font-weight: 700;
}

section {
    display: flex;
    flex-flow: column;
    width: 100%;
}

ul {
    padding-inline-start: 1.1em;
    width: 100%;
}

address {
    display: flex;
    flex-flow: column;
    font-style: normal;
    margin-left: 5%;
}

a {
    color: #FFFFFF;
    text-decoration: none;
    font-family: 'Lora', serif;
}

a:hover {
    background-color: #000000;
}

/*Header*/
header {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-content: flex-end;
    box-sizing: border-box;
    background-color: #000000;
    color: #BE9835;
    position: fixed;
    top: 0vh;
    width: 100%;
    padding: 1vh 0vh 1vh 0vh;
    height: 14vh;
}

.logo {
    display: block;
    position: fixed;
    top: 2em;
    left: 7.5em;
    background-color: #BE9835;
    border-width: 0.4em;
    border-color: #000000;
    border-style: solid;
    width: 10em;
    height: 10em;
    padding: 0.3em;
    transform: rotate(45deg);
}

.goldenline {
    display: flex;
    background-color: #BE9835;
    height: 0.3em;
    width: 100%;
    margin: 0em;
    padding: 0em;
}

.mobilecontact {
    display: flex;
    flex-flow: row;
    column-gap: 1em;
    justify-content: space-between;
    align-content: flex-end;
    height: 70%;
    width: fit-content;
    margin-left: auto;
    margin-right: 1em;
    opacity: 0;
}

.mobilecontact a{
    width: 2em;
    height: auto;
    margin-top: auto;
}

/*Contentbereich*/
.contentbereich {
    display: block;
    box-sizing: border-box;
    height: 100%;
    width: 100%;
    padding: 0% 15% 0% 15%;
    background-image: url('../Bilder/FullHD-Hintergrundbild-pexels-monstera-6238297.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-color: rgba(0, 0, 0, 0.8);
    background-blend-mode: darken;
    background-attachment: fixed;
}

.content-grid-container {
    display: grid;
    box-sizing: border-box;
    margin-top: 14vmin;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    height: 86vh;
    padding: 0% 10% 0% 10%;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
    grid-template-rows: auto auto auto;
    column-gap: 3em;
}

.text-area1 {
    grid-column-start: 1;
    grid-column-end: 8;
    grid-row-start: 1;
    grid-row-end: 4;
    display: flex;
    flex-flow: column;
    box-sizing: border-box;
    height: 100%;
    width: 100%;
}

.infobox {
    display: flex;
    flex-flow: row;
    box-sizing: border-box;
    padding: 0.7em;
    margin-top: 2em;
    border-style: solid;
    border-color: #BE9835;
    border-width: 0.2em;
    width: 50%;
}

.infobox p {
    margin: 0em 0em 0em 0.7em;
}

.infobox img {
    height: 4em;
    width: auto;
}

.kontaktbereich {
    grid-column-start: 8;
    grid-column-end: 13;
    grid-row-start: 1;
    grid-row-end: 4;
    display: flex;
    flex-flow: column;
    height: 100%;
    background-color: #BE9835;
    color:#000000;
}

.kontaktbereich .h3 {
    color: #000000;
}

address p {
    margin-bottom: 0em;
}

.anschrift, .mail a, .tel a {
    display: flex;
    flex-flow: row;
    width: fit-content;
}

.anschrift img, .mail img, .tel img {
    height: 1.2em;
    width: auto;
    margin-right: 0.7em;
}

.karte {
    display: block;
    margin-top: auto;
}

.karte .h3, .karte small {
    margin-left: 5%;
    display: flex;
    align-content: center;
    color: #000000;
}

.karte button {
    margin-left: 5%;
}

/* Kartenbreich */

.static_map {
    width: 100%;
    height: 20em;
    border: none;
    overflow: hidden;
}

.static_map img {
    width: 100%;
    height: 20em;
    object-fit: cover;
    transform: scale(3);
    -moz-transform: scale(3);
    -webkit-transform: scale(3);
}

.button_area {
    display: block;
    width: 100%;
    height: 4em;
    padding: 0em 5%;
    box-sizing: border-box;
}

.mapbutton {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    position: relative;
    bottom: -1em;
    width: 100%;
    height: 2em;
    background-color: #fff;
    box-sizing: border-box;
}

.mapbutton_label {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-family: 'Righteous', cursive;
    text-transform: uppercase;
    width: 100%;
    height: 2em;
    transition: 0.2s;
    cursor: pointer;
    box-sizing: border-box;
}

#mapbutton_input {
    display: none;
}

@media (hover: hover) {
    .mapbutton_label:hover {
        background-color: #000;
        color: #fff;
    }
}

    .mapbutton_label::after {
        content: "Interaktive Karte >";
        display: flex;
        width: 100%;
        height: 2em;
        align-items: center;
        justify-content: center;
    }

.mapbutton_content {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    height: auto;
    padding: 0.6em 1em 3.2em 1em;
    transform: translateY(2.5em);
    box-sizing: border-box;
    background-color: #fff;
    box-shadow: 3px 3px 5px rgba(0,0,0,0.2);
    transition: 0.2s;
}

.mapbutton_content a {
    display: flex;
    height: 2em;
    width: 100%;
    align-items: center;
    justify-content: center;
    margin-top: 1em;
    text-decoration: none;
    font-family: 'Righteous', cursive;
    text-transform: uppercase;
    background-color: #000;
    color: #fff;
    transition: 0.2s;
}

.mapbutton_content a:hover {
    background-color: #BE9835;
}

.mapbutton input:checked ~ .mapbutton_content {
    display: flex;
    max-width: 100%;
}

.mapbutton input:checked ~ .mapbutton_label {
    background-color: #fff;
    width: calc(100% - 2em);
    margin-bottom: 0.5em;
    color: #000;
    border: 1px solid #000;
    z-index: 1;
}

.mapbutton input:checked ~ .mapbutton_label::after {
    content: "Abbrechen";
    transition: 0.2s;
}

@media (hover: hover) {
    .mapbutton input:checked ~ .mapbutton_label:hover::after {
        background-color: #000;
        border: none;
        color: #fff;
    }
}

.credit {
    display: flex;
    position: fixed;
    bottom: 0.5em;
    right: 0.5em;
    color: #FFFFFF;
    font-family: 'Lora', serif;
    font-size: 0.7em;
}

.creditmobile {
    display: none;
    margin-top: auto;
    margin-bottom: 0.8em;
    width: fit-content;
}

/* 4K */

@media only screen and (min-width: 1930px) {
  
  	.logo {
        left: 11em;
    	top: 3em;
    	width: 13em;
    	height: 13em;
	}  
  
  	.contentbereich {
        background-image: url(../bilder/4K-Hintergrundbild-pexels-monstera-6238297.jpg);
    }

    .static_map,
    .static_map img {
        height: 35em;
    }
}

/* Zwischenstopp */

@media only screen and (max-width: 1600px) {

    .logo {
        left: 5em;
        top: 3em;
        width: 8em;
        height: 8em;
    }

    .infobox {
        width: 70%;
    }

    .static_map {
        width: 100%;
        height: 15em;
        border: none;
    }

}

/* 4:3 */

@media only screen and (max-width: 1430px) {

    h2, .h2, h3, .h3 {
        margin-bottom: 0.8em;
    }
    
    .logo {
        left: 3em;
    }
    
    .contentbereich {
        padding-left: 20%;
        padding-right: 0%;
        width: 100%;
        background-image: url(../bilder/4zu3-Hintergrundbild-pexels-monstera-6238297.jpg);
    }
    
    .content-grid-container {
        margin-right: 0;
        width: 100%;
        padding: 0vh;
    }

    .static_map {
        width: 100%;
        height: 15em;
        border: none;
    }

    .credit {
        position: fixed;
        left: 0.5em;
    }

}

/* Tablet */
@media only screen and (max-width: 1014px) {

    html, body {
        height: auto;
    }

    h2, .h2, h3, .h3 {
        font-size: 1.5em;
    }

    header {
        justify-content: space-between;
        height: 13vh;
    }

    .logo {
        left: 2em;
        width: 6em;
        height: 6em;
    }

    .mobilecontact {
        opacity: 1;
    }

    .contentbereich {
        padding-left: 0em;
        padding-right: 0em;
        width: 100%;
        background-image: url(../bilder/Tablet-Hintergrundbild-pexels-monstera-6238297.jpg);
    }

    .content-grid-container {
        display: grid;
        margin-top: 13vh;
        height: 100%;
        column-gap: 3em;
    }

    .text-area1 {
        grid-column-start: 1;
        grid-column-end: 13;
        grid-row-start: 1;
        grid-row-end: 2;
        width: 70%;
        padding-top: 9vh;
        margin-left: auto;
        margin-right: auto;
    }

    .kontaktbereich {
        grid-column-start: 1;
        grid-column-end: 13;
        grid-row-start: 3;
        grid-row-end: 4;
        display: flex;
        flex-flow: row;
        justify-content: space-between;
        height: fit-content;
        column-gap: 2em;
        margin-top: 3em;
        padding-top: 2vh;
        padding-left: 15%;
        padding-right: 15%;
        width: 70%;
    }

    address {
        margin: 0em;
    }

    .karte .h3, .karte small, .karte button {
        margin-left: 0%;
    }

    .button_area {
        padding: 0em;
    }

    .credit {
        display: none;
    }

    .creditmobile {
        display: flex;
    }

}

/* Handy */

@media only screen and (max-width: 758px) {

    html {
        margin-left: auto;
        margin-right: auto;
    }
    
    h1, .h1 {
        font-size: 2.5em;
    }

    h2, .h2, h3, .h3 {
        font-size: 1.5em;
    }

    .contentbereich {
        background-image: url(../bilder/Handy-Hintergrundbild-pexels-monstera-6238297.jpg);
    }

    .content-grid-container {
        grid-template-columns: 1fr;
        column-gap: 0em;
    }

    .text-area1 {
        width: 100%;
        padding: 9vh 10% 0% 10%;
        grid-column-end: 2;
    }

    .infobox {
        width: 100%;
    }

    .kontaktbereich {
        grid-column-end: 2;
        flex-flow: column;
        justify-content: space-between;
        height: fit-content;
        margin-top: 3em;
        padding-top: 2vh;
        padding-left: 10%;
        padding-right: 10%;
        width: 80%;
    }

    .creditmobile {
        margin-top: 1em;
        margin-bottom: 0em;
    }
}

@media only screen and (max-width: 320px) {

    h1, .h1 {
        font-size: 2em;
    }

    p, .p {
        font-size: 0.8em;
    }
}