:root{
    --color-accent: #0000ff;
    --color-text: #000;
    --color-text-inverted: #fff;
    --lh:1.1739rem; /* 27px */
    --font-size-big-text:3rem; /* 69px */
    --lh-big-text:3.56521rem; /* 82px*/
    --ch-big-text:2.26087rem; /* character height: 52px */

    --content-top: 12.9565rem; /* 298px */
    --content-width: 77.5652rem; /* 1784px */

    /* layout uses a 30(!) column grid*/
    --col-width: 1.91304rem; /* 44px */
    --col-gap: .69565rem; /* 16px */
}

@media all and (min-width: 1920px) {
    :root {
        font-size: 23px;
    }
}

html{
    font-family: 'Libre Bodoni', serif;
    line-height: var(--lh);
    font-size: 1.199vw;
}

body{
    line-height: var(--lh); /* fix for IOS not inheriting line height set for html */
}

@media all and (max-width: 900px) {
    :root {
        font-size: 19px;
        --lh:1.15789rem; /* 22px */
        --font-size-big-text:19px;
        /*--ch-big-text:2.26087rem; !* character height: 52px *!*/
        --lh-big-text:var(--lh);
        --content-width: calc(100vw - 32px);
        --content-top: calc(4.21052rem + 64px); /* 80px + header height (64px) */
    }

    body>.ffLoginMultiuser{
        display: none;
    }
}


body{
    /* there should never be white space below footer */
    display: flex;
    flex-flow: column;
    min-height: 100vh;
    --distance-to-footer: 17.3913rem; /* 400px */
    overscroll-behavior: contain;
    >*:has(+footer) {
        flex: 1;
        padding-bottom: var(--distance-to-footer);
        @media all and (max-width: 900px) {
            --distance-to-footer: 10.52631rem; /* 200px*/
        }
    }
    /* special case: home */
    /*>#Home{*/
    /*    padding-bottom:0;*/
    /*    >.bauten-slideshow{*/
    /*        padding-bottom: var(--distance-to-footer);*/
    /*    }*/
    /*}*/
}

body:has(#Lightbox[open]){
    overflow: hidden;
}

a,
a:visited{
    color: var(--color-text);
}

h1, h2, h3{
    font-weight: normal;
}

section{
    margin-top:var(--content-top);
}

figure{
    margin: 0;
    padding:0;
}

img[data-fflightbox-api]{
    cursor: pointer;
}

.big-text{
    font-size: var(--font-size-big-text); /* 69px */
    line-height: var(--lh-big-text);
}

body>section,
.full-width{
    width: 100%;
    max-width: var(--content-width);
    margin-left: auto;
    margin-right: auto;
}

.scroll-sentinel{
    position:absolute;
    top:0;
    left:0;
    width:1px;
    height:1px;
    pointer-events:none;
    opacity:0;
}