:root {
    --maxlayoutwidth: 90%;
}

@property --cta1 {
    syntax: '<color>';
    initial-value: #ff0000;
    inherits: false;
}

@property --cta2 {
    syntax: '<color>';
    initial-value: #721414;
    inherits: false;
}

html {
    font-size: 16px;
    font-size: clamp(16px, calc(0.5em + 2.5vmin), 32px);
}

body {
    background-color: #ffffff;
    font-family: 'Roboto', sans-serif;
    margin: 0;
    top: 0;
    left: 0;
    position: absolute;
    width: 100%;
    line-height: 1.2;
    hyphens: auto;
}

main {
    width: 100%;
    max-width: var(--maxlayoutwidth);
    font-family: Roboto, sans-serif;
    font-size: 0.8rem;
    margin: 5rem auto 0 auto;
    padding: 0;
}

section {
    width: 100%;
    box-sizing: border-box;
    max-width: var(--maxlayoutwidth);
    margin: 0 auto 2rem auto;
    padding: 0;
}

h2 {
    margin: 0.5rem 0;
    font-size: 1.2rem;
    line-height: 1.25;
}

div {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.endspace {
    width: 100%;
    height: 6rem;
}

.navigation {
    margin: 0 auto;
    width: 100%;
    border: 0 solid red;
    height: 3rem;
    border-bottom: 2px solid red;
    background-color: #ffebec;
    position: fixed;
    box-shadow: 0 0.1rem 0.3rem 0.1rem rgba(214, 118, 118, 0.4);
    top: 0;
}

.navgrid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 3rem;
    grid-template-areas: 'logo menu';
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    max-width: var(--maxlayoutwidth);
    height: 3rem;
    max-height: 3rem;
}

.navlogo {
    height: 3rem;
    display: flex;
    vertical-align: middle;
    align-items: center;
    text-decoration: none;
    grid-area: logo;
    margin: 0;
    padding: 0;
}

.navlogoimg {
    grid-area: logo;
    height: 2rem;
}

.navmenu {
    width: 100%;
    display: flex;
    vertical-align: middle;
    flex-direction: row;
    align-items: center;
    grid-area: menu;
    justify-content: flex-end;
}

.navmenu a {
    display: block;
    color: red;
    text-decoration: none;
    padding: 0.2rem 0.4rem;
}

.navmenu a:hover {
    color: darkred;
    border-radius: 0.5rem;
    background: #ffd6d6;
}

.footerlogo {
    grid-area: logo;
    width: 80%;
    max-width: 170px;
}

.company {
    font-size: 1.5rem;
    font-weight: 400;
    color: #ff0000;
    text-transform: lowercase;
    font-style: normal;
    font-family: 'Kalam', cursive;
    margin-left: 1rem;
    text-align: center;
    text-decoration: none;
}

.footergrid {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: auto;
    color: #b6b6b6;
    max-width: var(--maxlayoutwidth);
}

.footerend {
    margin-top: 1.5rem;
    text-align: center;
    color: #a4a4a4;
    margin-bottom: 0;
    font-size: 0.75ren;
}

.footer {
    background-color: #1f1f1f;
    margin-bottom: 0;
    padding-bottom: 2rem;
    width: 100%;
    margin-top: 0;
}

.footertitle {
    font-family: 'Roboto Slab', serif;
    font-size: 1.5rem;
    padding-bottom: 0;
    margin-bottom: 0.5rem;
}

.footerright {
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.footercenter {
    border-left: 0.0625rem solid rgba(150, 0, 4, 0.25);
    border-right: 0.0625rem solid rgba(150, 0, 4, 0.25);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footerleft {
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.footertitle {
    color: #ff1a00;
    font-family: 'Roboto Slab', serif;
    font-weight: bold;
}

.impressumaddr {
    color: #a4a4a4;
    line-height: 1.5;
}

.footerinfolist {
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    padding-left: 0;
    list-style-type: none;
    margin-top: 0;
}

.footerlink {
    color: #a4a4a4;
    text-decoration: none;
    display: block;
    line-height: 1.5;
}

.footerlink:hover {
    text-decoration: underline;
    color: #d2d2d2;
}

.filegrid {
    display: flex;
    width: 100%;
    flex-direction: row;
    align-content: space-between;
    gap: 0.5rem;
}

.filecell {
    width: 100%;
    text-align: left;
}

.filecell a {
    color: red;
    text-decoration: none;
}

.filecell a:hover {
    color: darkred;
    text-decoration: underline;
}

hr {
    width: 100%;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.onecol {
    width: 100%;
}

.cta-button {
    background-color: #ff0000;
    color: #ffffff;
    padding: 0.2em 0.8em;
    font-family: 'Roboto', sans-serif;
    font-size: 0.8rem;
    border-radius: 0.8rem;
    cursor: pointer;
    box-shadow: 4px 4px 15px 5px rgba(0, 0, 0, 0.2);
    background: linear-gradient(var(--cta1), var(--cta2));
    border: 1px solid #292929;
    flex-shrink: 0;
    flex-grow: 0;
    transition: --cta1 0.5s, --cta2 2s;
    hyphens: none;
    word-break: keep-all;
    white-space: nowrap;
}

.cta-button:hover {
    background-color: #0000ff;
    border: 2px solid #11113a;
    box-shadow: 4px 4px 15px 5px rgba(0, 0, 0, 0.22);
    --cta1: #0000ff;
    --cta2: #11113a;
}

.impressumtitle {
    text-align: center;
    font-size: 1.6rem;
}

.prooftitle {
    text-align: center;
    font-size: 1.6rem;
}

.introarea {
    display: flex;
    column-gap: 1rem;
    justify-content: flex-end;
    align-items: center;
    margin-bottom: 2rem;
}

h2 span {
    font-size: 0.8rem;
    font-weight: normal;
    margin-left: 1rem;
}

.introlink {
    margin-top: 1rem;
}

.introlink a {
    color: red;
    text-decoration: none;
}

.introlink a:hover {
    color: darkred;
    text-decoration: underline;
}

.licenselink {
    color: red;
    text-decoration: none;
}

.licenselink:hover {
    color: darkred;
    text-decoration: underline;
}

@media screen {
    #printcontact,
    .introlink {
        display: none !important;
    }

    :root {
        --maxlayoutwidth: calc(100% - 10vmin);
    }
}

@media screen and (min-width:768px) {
    :root {
        --maxlayoutwidth: calc(100% - 10vmin);
    }
}

@media screen and (min-width:1280px) {
    :root {
        --maxlayoutwidth: calc(100% - 20vmin);
    }

    .naventry {
        display: block;
        padding-left: 0.8rem;
        padding-right: 0.8rem;
        height: 2.8rem;
        padding-top: 0.8rem;
        box-sizing: border-box;
        text-decoration: none;
        color: #911010;
    }

    .naventry:hover {
        background-color: rgba(255, 151, 151, 0.1);
        color: #d70000;
    }

    .naventry:hover > span {
        color: #d70000;
    }

    .menuentry {
        font-size: 16px;
    }
}

@media screen and (min-width:1920px) {
    :root {
        --maxlayoutwidth: 1720px;
    }

    .menuentry {
        font-size: 1rem;
    }
}

@media print {
    footer,
    .endspace {
        display: none !important;
    }

    @page {
        size: 8.5in 11in;
    }

    html {
        font-size: 16px;
    }

    main {
        margin: 4rem auto;
        padding: 0;
        max-width: var(--maxlayoutwidth);
    }

    section {
        margin: 0 auto 1rem auto;
    }

    #printcontact {
        margin: 3rem auto 0 auto;
        width: 100%;
        box-sizing: border-box;
        max-width: var(--maxlayoutwidth);
    }
}

