
:root {
    --topbar-height: 90px;
    --color-title-text: #f99700;
    --color-text: #000;
    --color-background: #fff;
    --font-title: 900 1em Dinofans;
    --font-text: 1em Arial;
	--section-spacing: 80px;
	color-scheme: normal;
}

* {
    box-sizing: border-box;
}

body {
    font: var(--font-text);
    margin: 0px;
    background-color: white;
    color: var(--color-text);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100vh;
}

:where(h1) {
    margin-block: 0.67em;
    font-size: 2em;
}

a {
    color: inherit;
}

header a {
    text-decoration: none;
}

header {
    position: fixed;
    z-index: 7;
    width: 100%;
    top: 0px;
}

header .titlecontainer {
    background-color: var(--color-background);
    color: var(--color-title-text);
    padding: 0px 70px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    line-height: calc(var(--topbar-height) - 2px);
}

header .titlecontainer a img {
    display: block;
}

header .logo {
    height: var(--topbar-height);
}

header .title {
    text-align: left;
    flex: 1 0 auto;
    margin: 0px 15px;
    font: var(--font-title);
    font-size: 2em;
    line-height: revert;
}

header .menuoptions {
    margin-right: 0px;
    background-color: var(--color-background);
    transition: height .2s ease-in-out;
}

header .menuoptions .option {
    font: var(--font-title);
    font-size: 1.5em;
    display: inline-block;
    margin: 0px 20px;
    line-height: revert;
    color: #555;
}

label.ux-menushow-bt {
	--height: 45px;
	--bar-height: 4px;
}

header label.ux-menushow-bt {
    margin-top: calc((var(--topbar-height) - var(--height)) / 2);
    line-height: initial;
	filter: invert(100%);
}

header .ux-menushow-modal {
    top: var(--topbar-height);
}


section {
    text-align: center;
    padding: var(--section-spacing) 0px;
}

section, footer {
    position: relative;
}

h1, h2, h3 {
    margin: 0.5em 0px;
}

section h1 {
    text-align: center;
    color: var(--color-title-text);
    font: var(--font-title);
    font-size: 3em;
}

section .subtitle {
    margin: 20px;
}

x-legal {
    display: block;
}

footer .item a {
    text-decoration: none;
}


.anchor {
    margin-top: calc(var(--topbar-height) * -1);
    height: var(--topbar-height);
    z-index: -1;
}

.firstsection {
    margin-top: var(--topbar-height);
    flex: 1 0 auto;
}

.sectionseparator {
    width: 100%;
    height: 2px;
    background-color: #ddd;
}

.icon {
    filter: invert(100%);
}

.small {
    font-size: small;
}

.weak {
    color: #777;
}

.longtext {
    text-align: left;
    font-weight: normal;
    padding-left: 8em;
    padding-right: 8em;
}

.longtext a {
    color: blue;
}

.longtext h1, .longtext h2, .longtext h3 {
    hyphens: auto;
    margin: revert;
}

.longtext .legalsection > h1 {
    margin-top: 50px;
}

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

.button {
    margin: 20px;
    display: inline-block;
    background-color: #33b3da;
    color: white;
    padding: 15px;
    border-radius: 100px;
    user-select: none;
    min-width: 120px;
    border: 3px solid #33b3da;
    transition: .1s background-color;
    text-align: center;
}

.button.disabled, .button.disabled:hover {
    background-color: #d9d9d9;
    border-color: #d9d9d9;
}

.button:not(.disabled):hover {
    background-color: inherit;
    color: #33b3da;
}

.button + .buttonsub {
    margin-top: -16px;
    font-style: italic;
    font-size: small;
    margin-bottom: 20px;
}

.announcement {
    margin: 20px 0px;
}

.announcement .smallor {
    font-size: small;
    margin: 20px 0px;
}

.announcement .large {
    font-weight: bold;
    font-size: large;
}


.product {
}

.product .subtitle {
    font-size: 1.5em;
}

.product .subsubtitle {
    
}

.product .button {
}

.product .imgwrap {
    position: relative;
    max-width: 100%;
    margin-bottom: 8px;
    display: inline-block;
    overflow: hidden;
}

.product .imgoverlay {
    position: absolute;
    height: 100%;
    width: 100%;
    background-color: #aaa8;
}

.product .imgnoticewrap {
    right: 0;
    position: absolute;
}

.product .imgnotice {
    --w: 300px;
    --h: 50px;
    transform: translateX(calc(var(--h) * 0.707)) translateY(calc((var(--w) - var(--h)) * 0.707)) rotate(45deg);
    transform-origin: top right;
    background-color: var(--color-title-text);
    width: var(--w);
    max-height: var(--h);
    font-size: 1.6em;
    padding: 4px 0px;
    color: white;
}

.product img {
    display: block;
    margin: auto;
    width: 100%;
}

.product .subextra {
    margin: 12px 0px;
}

.product .productsub {
    margin-top: 12px;
    font-style: italic;
    font-size: small;
}


.card {
    padding: 20px;
    /*border: 1px solid #888;*/
    text-align: left;
    display: inline-block;
    margin: 30px;
    width: 25%;
    vertical-align: top;
    /*box-shadow: #888 5px 5px 5px 1px;*/
    min-width: 350px;
    color: white;
}

.card .title {
    margin-bottom: 20px;
    font: var(--font-title);
    font-size: 2em;
}

.gallery {
    height: 550px;
    position: relative;
}

.gallery-item {
    position: absolute;
    height: 100%;
    overflow: hidden;
    display: inline-block;
    transition: 0.25s transform ease-in-out, 0.15s opacity ease-in-out;
}

.gallery-item.center {
    z-index: 4;
    transform: translateX(-50%) perspective(100px) translate3d(0, 0, 0);
}

.gallery-item.left, .gallery-item.right {
    opacity: 0.35;
    z-index: 3;
    cursor: pointer;
}

.gallery-item.left:hover, .gallery-item.right:hover {
    opacity: 0.45;
}

.gallery-item.left {
    transform: translateX(-100%) perspective(100px) translate3d(0, 0, -20px);
}

.gallery-item.right {
    transform: translateX(0%) perspective(100px) translate3d(0, 0, -20px);
}

.gallery-item.hidden {
    display: none;
}

.gallery-item img {
    display: block;
    max-height: calc(100% - 1em - 10px);
    max-width: 100vw;
}

.gallery-item.blurred img {
    filter: blur(40px);
    padding: 30px;
}

.gallery-item .sub {
    font-weight: bold;
}

.gallery-item.left .sub, .gallery-item.right .sub {
    visibility: hidden;
}

.gallery-item .overlay {
    position: absolute;
    top: calc(50% - 30px);
    width: 100%;
    padding: 30px;
    user-select: none;
}


#section_produkte {
    padding-left: 20px;
    padding-right: 20px;
}

#section_about {
    background-color: var(--color-title-text);
}

#section_galerie {
    overflow: hidden;
}

#section_galerie .subtitle {
    font: var(--font-title);
    font-weight: normal;
}

#section_galerie .galleryreminder {
    font-size: smaller;
    visibility: hidden;
    margin-top: 10px;
    opacity: 0.5;
}


#section_kontakt {
    padding-bottom: 0px;
    padding-top: 20px;
    background-color: #333;
    text-align: center;
    color: white;
}

#section_kontakt .title {
    font: var(--font-title);
    font-size: 1.7em;
    margin-top: 30px;
    margin-bottom: 10px;
}

#section_kontakt .subtitle {
    font-size: 0.9em;
    margin-bottom: 30px;
}

#section_kontakt .item {
    margin: 20px 0px;
}

#section_kontakt .item .text {
    margin-left: 10px;
    display: inline-block;
}

#section_kontakt .item.twoline .icon {
    margin-bottom: 0.7em;
}

#section_kontakt .item .icon {
    height: 1.3em;
    vertical-align: sub;
    margin-bottom: -2px;
}

#section_kontakt .sub {
    border-top: 1px solid #888;
    font-size: smaller;
    padding: 20px;
}

#section_legal {
}

#section_special {
    text-align: center;
}

#additional {
    text-align: center;
}

#was {
}

input.big {
    display: inline-block;
}



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

    header .titlecontainer {
        padding: 0px 10px;
    }
}

@media only screen and (max-width: 1000px){
    
    :root {
        --topbar-height: 80px;
    }

    header .title {
        font-size: 1.7em;
    }
    
    header .menuoptions .option {
        margin: 0px 12px;
        font-size: 1.3em;
    }
}

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

    header .menuoptions {
        z-index: 10;
        height: calc(4 * var(--topbar-height));
    }
    
    header .menuoptions .option {
        display: block;
        margin: 0px 60px;
    }

    .card {
        width: auto;
        margin: 10px 10%;
        min-width: unset;
    }

    .longtext {
        padding-left: 20px;
        padding-right: 20px;
    }
}

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

    .gallery {
        height: calc(100vw + 30px);
    }

    #section_galerie .galleryreminder {
        visibility: visible;
    }

    .card {
        margin: 8px;
    }
}

@media only screen and (max-width: 400px){
    
    :root {
        --topbar-height: 65px;
    }

    header .title {
        font-size: 1.5em;
    }
}

@media (hover: none) {

    #section_galerie .galleryreminder::before {
        content: "Wische für mehr!";
    }
}

@media (hover: hover) {

    #section_galerie .galleryreminder::before {
        content: "Klicke an den Seiten für mehr!";
    }
}

