@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Chewy&family=Delius+Swash+Caps&family=Fuzzy+Bubbles:wght@400;700&family=Gwendolyn:wght@400;700&family=Kalam:wght@300;400;700&family=Oldenburg&family=Roboto:ital,wght@0,100..900;1,100..900&family=Titan+One&family=Updock&display=swap');

:root {
    --content-width: 1200px;
    --border-radius: 6px;
    --box-shadow: rgba(197,197,197,0.5) 0px 1px 4px 0px;

    --rem-xxs: 0.5rem;
    --rem-xs: 0.75rem;
    --rem-s: 1rem;
    --rem-m: 1.25rem;
    --rem-xm: 1.5rem;
    --rem-l: 2rem;
    --rem-xl: 2.5rem;
    --rem-xxl: 3rem;
    --rem-2s: calc(2 * var(--rem-s));
    --rem-3s: calc(3 * var(--rem-s));
    --rem-4s: calc(4 * var(--rem-s));
    --rem-5s: calc(5 * var(--rem-s));
    --rem-6s: calc(6 * var(--rem-s));

    --ff-primary: "Nunito", sans-serif;
    --ff-accent: "Nunito", sans-serif;

    --fs-small: clamp(var(--rem-xs), 0.5vw, var(--rem-s));
    --fs-normal: clamp(var(--rem-s), 1vw, var(--rem-m));
    --fs-big: clamp(var(--rem-m), 1.25vw, var(--rem-xm));
    --fs-xbig: clamp(var(--rem-xm), 1.5vw, var(--rem-l));
    --fs-xxbig: clamp(var(--rem-l), 1.5vw, var(--rem-xl));

    --fw-light: 100;
    --fw-normal: 300;
    --fw-bold: 400;
    --fw-xbold: 500;
    --fw-xxbold: 700;

    --clr-primary: #3a3a3a;
    --clr-secondary: #989697;
    --clr-secondary-light: #E0E0E0;
    --clr-primary-inverted: #fff;
    --clr-accent: #a10136;
    --clr-accent-dark: #7D0026;

    --clr-white: white;
	--clr-white-trans: rgba(255,255,255,0.5);
	--clr-accent-trans: rgba(16,28,63,0.2);
	
	--circleBG: var(--clr-accent);
	--circleBGOutline: var(--clr-white);
	--circleBorder: var(--clr-accent);
	--circleBorderActive: var(--clr-white-trans);
	--circleBorderOutline: var(--clr-accent);
	--circleText: var(--clr-white);
	--circleTextOutline: var(--clr-accent);
	--lineBG: var(--clr-accent);
	--cartColor: var(--clr-accent);
}






/* sorry Silu */
input[type=range][orient=vertical] {
    writing-mode: vertical-lr;
    direction: rtl;
    width: 3px;
    vertical-align: bottom;
}

.galerieVorschau{
    display: grid;
    gap: var(--rem-m);
    grid-template-columns: repeat(2, minmax(1px, 1fr));
}

@media (max-width: 450px) {
    .galerieVorschau{
        grid-template-columns: repeat(1, minmax(1px, 1fr))
    }
}

.galerie_preview_image{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-evenly;
}

.beispiele{
    display: flex;
    gap: var(--rem-m);
}

.beispiele img{
    width: 100%;
    max-height: 350px;
}

.home_buttons{
    position: relative
}

.home_buttons div{
    position: absolute;
    right: 0;
}

.white_header{
    background: rgba(255, 255, 255, 0.75);
}

@media(max-width: 400px) {
    .beispiele{
        flex-direction: column;
    }

    .beispiele img{
        width: 100%;
        max-height: 180px;
    }

    #divLogo{
        font-size: var(--fs-small);
    }
}

label:hover{
    cursor: pointer;
}
.card_preview{
    /*max-width: 800px;*/
    max-width: 100%;
}
.card_preview_konto{
    max-width: 300px;
    padding: var(--rem-xxs) !important;
    border-radius: 0 !important;
}

.createcard_section{
    /*min-height: calc(100vh - 55px - var(--rem-l) - var(--rem-l));*/
    min-height: 100vh;
}

.kundenbereich select{
    color: var(--clr-accent);
    background: none;
    padding: 0;
    border: 0;
    text-align: center;
}

input.radioAlignment[type="radio"]:checked + label {
    border: 2px solid var(--clr-primary);
    border-radius: var(--border-radius);
}
input.radioAlignment[type="radio"]:not(:checked) + label {
    border: 2px solid transparent;
    border-radius: var(--border-radius);
}
.radioAlignment{
    display: none;
    padding: 4px;
    margin: 4px;
}
.radioAlignment + label{
    padding: 6px;
    cursor: pointer;
}


input.radioAlignmentAccent[type="radio"]:checked + label {
    border: 2px solid var(--clr-primary);
    border-radius: var(--border-radius);
}
input.radioAlignmentAccent[type="radio"]:not(:checked) + label {
    border: 2px solid transparent;
    border-radius: var(--border-radius);
}
.radioAlignmentAccent{
    display: none;
    padding: 4px;
    margin: 4px;
}
.radioAlignmentAccent + label{
    padding: 6px;
    cursor: pointer;
}


.mobile_vorschau{
    position: fixed;
    bottom: 0;
    z-index: 3000;
    background-color: var(--clr-accent-dark);
    padding: var(--rem-m);
}

.postcard{
    width: 400px;
    aspect-ratio: 1.42 / 1;
}

#remainingCharacters{
    font-size: 12px;
}

.vjs-control-bar{
    z-index: 100;
}

.swal2-container{
    z-index: 100000 !important;
    font-family: var(--ff-primary) !important;
}

p, label{
    font-family: var(--ff-primary) !important;
}

.muster_mobile {
    display: none;
}

.muster_pc {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
}

.fancybox__container{
    z-index: 9999 !important;
}

.text_home{
    font-size: 20pt;
}

.titel_home{
    font-size: 26pt;
}

.kundenbereich form{
    width: 100%;
}

.kundenbereich select{
    width: 100%;
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
    background-image: none;
}


.leitfaden p.text{
    max-width: 1500px;
    column-count: 2;
    column-gap: var(--rem-m);
}


@media (max-width: 800px) {
    .grid-2{
        grid-template-columns: none !important;
    }

    .flexsf{
        display: inline-block !important;
    }
}

@media (max-width: 900px) {
    .leitfaden p.text{
        max-width: 1500px;
        column-count: 1;
        column-gap: var(--rem-m);
    }

    .leitfaden{
        text-align: left !important;
    }
}

@media (max-width: 600px) {
    .muster_mobile {
        display: unset !important;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
    }

    .muster_pc {
        display: none !important;
    }

    .text_home{
        font-size: 14pt;
    }

    .titel_home{
        font-size: 20pt;
    }
}



progress {
    width: 100%;
    height: 3px;
    appearance: none;
    -webkit-appearance: none;
    border: 1px solid var(--clr-primary);
    border-radius: 3px;
}

/* WebKit (Chrome, Safari) */
progress::-webkit-progress-bar {
    background-color: var(--clr-primary);
    border-radius: 5px;
}

progress::-webkit-progress-value {
    background-color: white;
    border-radius: 5px;
}

/* Firefox */
progress::-moz-progress-bar {
    background-color: white;
    border-radius: 5px;
}




progress.invert {
    width: 100%;
    height: 3px;
    appearance: none;
    -webkit-appearance: none;
    border: 1px solid var(--clr-primary);
    border-radius: 3px;
}
progress.invert::-webkit-progress-bar {
    background-color: var(--clr-primary);
    border-radius: 5px;
}

progress.invert::-webkit-progress-value {
    background-color: white;
    border-radius: 5px;
}

/* Firefox */
progress.invert::-moz-progress-bar {
    background-color: white;
    border-radius: 5px;
}




#textWarningBackDesktop,#textWarningBackMobile{
    font-size: small;
    color: var(--clr-accent);
    padding-top: 10px;
}
#textWarningFrontDesktop,#textWarningFrontMobile,#textWarningBildqualitaetFrontDesktop,#textWarningBildqualitaetFrontMobile{
    font-size: small;
    color: var(--clr-accent);
}


button:disabled {
    background-color: #ccc;
    color: #666;
    cursor: not-allowed;
    opacity: 0.6;
    border: 1px solid #999;
}


/* END sorry Silu */








#mobnav {
    color: var(--clr-accent);
    display: flex;
    gap: var(--rem-xs);
    top: 0;
    z-index: 5000;
}

#mobnav button, #mobnav a {
    background: none;
    border: none;
    appearance: none;
    color: var(--clr-accent);
}

#mobnav_main {
    position: absolute;
    width: 100%;
    top: calc(35px + (2 * var(--rem-m)));
    left: 0;
    padding: 0;
    z-index: 8000;
}

#mobnav_main ul {
    display: flex;
    flex-direction: column;
    text-align: center;
    width: 100%;
    background-color: var(--clr-primary-inverted);
}

#mobnav_main ul li {
    margin: 0;
    padding: var(--rem-xs) var(--rem-xm);
    border-bottom: 1px var(--clr-secondary-light) solid;
    text-align: left;
    list-style-type: none;
}

#mobnav_main ul li a {
    display: block;
}


.w-100{
    width: 100%;
}

.w-50{
    width: 50%;
}





.designgrid{
    display: grid;
    grid-template-columns: repeat(2, minmax(1px, 1fr));
    gap: 10px;
    align-items: center;
    text-align: center;
}

#filter_links {
    display: flex;
    align-items: center;
    justify-content: center;
}

    #filter_links a {
        padding: var(--rem-xxs) var(--rem-m);
        text-decoration: none;
        font-family: var(--ff-primary) !important;
        font-size: var(--fs-normal);
        font-weight: var(--fw-normal);
    }

    #filter_links .active {
        filter: grayscale(1);
        border: 2px solid var(--clr-accent);
        border-radius: var(--border-radius);
        font-weight: var(--fw-bold);
        transition: 0.5s;
        background-color: transparent;
    }

.input_valid{
    border-color: green !important;
}
.input_invalid{
    border-color: red !important;
}
.input_empty{
    border-color: unset;
}

.swal2-styled.swal2-confirm{
    background-color: var(--clr-accent) !important;
}

input[type=url]{
    cursor: text !important;
}

.required{
    font-weight: bold;
}
.required:after{
    content: '*';
}

[class^=swal2] {
    font-family: var(--ff-primary) !important;
}

.swal2-container {
    background: rgba(0, 0, 0, 0.75) !important;
}

.swal2-popup {
    background: none;
    padding: 0px !important;
    border-radius: 0.35rem !important;
}

.swal2-title {
    padding: 1rem !important;
    align-items: unset !important;
    background-color: var(--clr-accent-dark) !important;
    background-image: linear-gradient(75deg, var(--clr-accent), var(--clr-accent-dark)) !important;
    background-size: cover;
    border-color: var(--clr-accent-dark) !important;
    border-top-left-radius: 0.35rem !important;
    border-top-right-radius: 0.35rem !important;
    width: 100% !important;
    margin: unset !important;
    font-family: var(--ff-accent) !important;
}

.swal2-popup, .swal2-modal, .swal2-loading, .swal2-show{
    background-color: white;
}

h2.swal2-title {
    margin: 0;
    text-align: left !important;
    font-size: 1.25rem !important;
    font-weight: 400 !important;
    line-height: 1.2 !important;
    color: #fff !important;
}

.swal2-header{
    padding: 0px !important;
}

.swal2-html-container {
    padding: 2rem 1rem !important;
    text-align: left !important;
    font-size: inherit !important;
    color: #858796 !important;
}

.swal2-input{
    margin-bottom: 1rem !important;
}

.swal2-actions {
    padding: 1rem !important;
    margin: 0 !important;
    border-top: 1px solid #e9ecef;
    align-items: unset !important;
    background-color: #f8f9fc !important;
    border-top: 1px solid #e3e6f0 !important;
    border-bottom-left-radius: 0.35rem !important;
    border-bottom-right-radius: 0.35rem !important;
    justify-content: flex-end !important;
}

.swal2-loader {
    border-color: var(--clr-accent) transparent var(--clr-accent-dark) transparent !important;
    position: relative;
    left: 30px;
}

.swal2-styled {
    box-shadow: 0 0.125rem 0.25rem 0 rgba(58, 59, 69, 0.2) !important;
    margin: 0 0 0 1rem !important;
    line-height: 1.5 !important;
    border-radius: 0.2rem !important;
    background-color: var(--clr-accent-dark) !important;
    background-image: linear-gradient(75deg, var(--clr-accent), var(--clr-accent-dark)) !important;
    background-size: cover;
    border-color: var(--clr-accent-dark) !important;
    font-size: inherit !important;
    font-weight: 400 !important;
}

.swal2-styled:hover {
    background-color: var(--clr-accent) !important;
    background-image: none !important;
    border-color: var(--clr-accent) !important;
}

.swal2-styled:active {
    background-color: #8e8e8e !important;
    background-image: none !important;
    border-color: #8e8e8e !important;
}


.swal2-loading h2.swal2-title{
    /*padding-left: 50px !important;*/
}

.swal2-html-container{
    line-height: 1.5 !important;
    color: var(--clr-primary) !important;
    font-family: var(--ff-primary) !important;
    font-weight: var(--fw-normal) !important;
    font-size: var(--fs-normal) !important;
    margin: 0 !important;
}

#divSmsError{
    color: red;
    font-size: var(--fs-small);
}


/* Normalisierung */

*, *::before, *::after {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

body {
    color: var(--clr-primary);
    font-family: var(--ff-primary);
    font-weight: var(--fw-normal);
    font-size: var(--fs-normal);
    line-height: 1.5;
    overflow-x: hidden;
    min-height: 100vh;
}

body, h1, h2, h3, h4, h5, h6, p {
    margin: 0;
}

em {
    font-weight: var(--fw-bold);
    font-family: var(--ff-accent);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--ff-accent);
    font-weight: var(--fw-bold);
    line-height: 1;
    margin-top: 1.5em;
    margin-bottom: 1em;
}

    h1:first-child, h2:first-child, h3:first-child, h4:first-child, h5:first-child, h6:first-child {
        margin-top: 0;
    }

    h1 { color: var(--clr-accent); font-size: var(--fs-xxbig); }
    h2 { font-size: var(--fs-xbig); }

p {
    margin-bottom: 1em;
}

p:last-child {
    margin-bottom: 0;
}

table, .table {
    display: table;
    border-collapse: collapse;
    margin: 0;
    padding: 0;
    width: 100%;
}

    table tr, .tr {
        display: table-row;
    }

        thead {
            border-bottom: 2px var(--clr-primary) solid;
        }

        td {
            border-top: 1px var(--clr-secondary-light) solid;
        }

        th, td {
            text-align: left;
            padding: var(--rem-s);
        }

            th:first-of-type, td:first-of-type {
                padding: var(--rem-s) var(--rem-s) var(--rem-s) 0;
            }

            th:last-of-type, td:last-of-type {
                padding: var(--rem-s) 0 var(--rem-s) var(--rem-s);
            }
        
        tfoot {
            border-top: 1px var(--clr-secondary) solid;
        }

            tfoot td {
                border: none;
            }

ul {
    margin: 0;
    padding: 0;
}


/* Spezifischer Style */

img, video {
    z-index: 1;
}

video {
    clip-path: inset(0px 0px 2px 0px);
    max-width: 80%;
}

label {
    font-weight: var(--fw-bold);
}

input[type=text],
input[type=email],
input[type=password],
input[type=color],
input[type=date],
input[type=url],
input[type=tel],
input[type=number],
select,
textarea, 
button {
    transition: border-color 0.25s ease-in-out;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding: 0.5em;
    font-size: var(--fs-normal);
    font-family: var(--ff-primary);
    font-weight: var(--fw-normal);
    border-radius: var(--border-radius);
    background: var(--clr-primary-inverted);
    color: var(--clr-primary);
    border: 2px var(--clr-primary) solid;
    outline: none !important;
    cursor: pointer;
    z-index: 1;
}

    input[type=text]:focus,
    input[type=email]:focus,
    input[type=password]:focus,
    input[type=date]:focus,
    select:focus,
    textarea:focus {
        border-color: var(--clr-accent);
    }

    select {
        background: #fff url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='4' height='5' viewBox='0 0 4 5'%3e%3cpath fill='%235a5c69' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e") no-repeat right 0.75rem center/8px 10px;
        appearance: none;
    }

    input[type=text],
    input[type=email],
    input[type=password],
    textarea {
        cursor: initial;
    }

    button:hover {
        transition: 0.5s;
        filter: grayscale(1);
    }

    input[type=color] {
        appearance: none;
        padding: 0;
        border: none;
        background: none;
        height: auto;  
    }

        ::-webkit-color-swatch {
            border-radius: var(--border-radius);
            border: 2px var(--clr-primary) solid;
            padding: 1em;
            margin: 0;
        }

        ::-moz-color-swatch {
            border-radius: var(--border-radius);
            border: 2px var(--clr-primary) solid;
            padding: 1em;
            margin: 0;
        }

        ::-webkit-color-swatch-wrapper {
            padding: 0;
        }

        ::-moz-color-swatch-wrapper {
            padding: 0;
        }
    
    input[type=submit] {
        cursor: pointer;
    }

    input[type=submit]:hover {
        filter: grayscale(1);
    }

    .slidecontainer {
        width: 100%;
        position: relative;
    }

        .slider {
            -webkit-appearance: none;
            width: 100%;
            height: 3px;
            border-radius: 3px;
            background-color: var(--clr-primary);
            background-size: cover;
            outline: none;
        }

        .slider:hover {
            /*opacity: 1;*/
        }

        .slider::-webkit-slider-thumb {
            -webkit-appearance: none;
            appearance: none;
            width: 20px;
            height: 20px;
            border-radius: 50%;
            background: var(--clr-accent);
            cursor: pointer;
            border: 2px var(--clr-primary) solid;
        }

        .slider::-moz-range-thumb {
            width: 20px;
            height: 20px;
            border-radius: 50%;
            background: var(--clr-accent);
            cursor: pointer;
            border: 2px var(--clr-primary) solid;
        }


        .slider_vertical {
            -webkit-appearance: none;
            border-radius: 3px;
            background-color: var(--clr-primary);
            background-size: cover;
            outline: none;
        }

        .slider_vertical::-webkit-slider-thumb {
            -webkit-appearance: none;
            appearance: none;
            width: 20px;
            height: 20px;
            border-radius: 50%;
            background: var(--clr-accent);
            cursor: pointer;
            border: 2px var(--clr-primary) solid;
        }

        .slider_vertical::-moz-range-thumb {
            width: 20px;
            height: 20px;
            border-radius: 50%;
            background: var(--clr-accent);
            cursor: pointer;
            border: 2px var(--clr-primary) solid;
        }

a:link, a:visited {
    color: var(--clr-accent);
    text-decoration: none;
}

a:hover, a:active {
    transition: 0.5s;
    filter: grayscale(1);
}

.bigonly {
    display: inherit;
}

.smallonly, .nophoneonly, #mobileCart {
    display: none !important;
}

#navigation {
    position: absolute;
    top: 0;
    left: var(--rem-5s);
    color: var(--clr-primary-inverted);
    padding: var(--rem-xs) var(--rem-m);
    display: flex;
    gap: var(--rem-m);
    z-index: 4000;
}

nav {
    padding: var(--rem-xs) var(--rem-m);
    display: flex;
    gap: var(--rem-m);
    align-items: center;
    /*border-top-left-radius: 0;
    border-top-right-radius: 0;
    border-bottom-left-radius: var(--border-radius);
    border-bottom-right-radius: var(--border-radius);
    border-color: var(--clr-accent-dark);
    border-width: 2px;
    border-style: solid;
    border-top: 0;*/
}

.kundenbereich {
    /*background-color: var(--clr-accent-dark);
    border-radius: var(--border-radius);
    color: var(--clr-primary-inverted);
    padding: var(--rem-xs) var(--rem-m);
    display: flex;
    gap: var(--rem-m);*/
}

    .kundenbereich:hover {
        transition: 0.5s;
        filter: grayscale(1);
    }

    .kundenbereich a {
        color: var(--clr-primary-inverted);
        text-decoration: none;
        white-space: nowrap;
    }

    .kundenbereich select option:not(:checked) {
        background: var(--clr-primary);
        padding: unset !important;
    }


#backKategorie {
    position: absolute;
    top: -20px;
    right: var(--rem-5s);
    background-color: var(--clr-accent-dark);
    border-bottom-left-radius: var(--border-radius);
    border-bottom-right-radius: var(--border-radius);
    color: var(--clr-primary-inverted);
    padding: var(--rem-xs) var(--rem-m);
    display: flex;
    gap: var(--rem-m);
}

    #backKategorie:hover {
        transition: 0.5s;
        filter: grayscale(1);
    }

    #backKategorie a {
        color: var(--clr-primary-inverted);
        text-decoration: none;
    }

.bigcircle {
    position: absolute;
    top: calc(1500px / 100 * 60 * -1);
    left:calc(1500px / 100 * 25 * -1);
    z-index: 0;
    pointer-events: none;
}

.smallcircle {
    position: absolute;
    bottom: calc(1200px / 100 * 80 * -1);
    right: calc(1200px / 100 * 2);
    z-index: 0;
    pointer-events: none;
}

.testcircle {
    position: absolute;
    top: 75%;
    left: calc(1300px / 100 * 40 * -1);
    z-index: 0;
    pointer-events: none;
}

#hero {
    margin-top: var(--rem-5s);
}

section {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--rem-5s);
}

    section.half {
        min-height: 50vh;
    }

    section.w40 {
        animation: fadeIn 0.5s;
    }

        section:nth-of-type(2) img {
            max-height: 180px;
            border-radius: 50%;
            border: 5px rgba(255,255,255,0.35) solid;
        }

        section:nth-of-type(4) img {
            max-height: 250px;
            border-radius: 50%;
            border: 5px rgba(255,255,255,0.35) solid;
            filter: grayscale(1);
        }

    section:nth-of-type(odd) {

    }

    section:nth-of-type(even) {
        background-color: var(--clr-accent);
        color: var(--clr-primary-inverted);
    }

    [data-theme="white"] {
        --circleBG: var(--clr-accent);
        --circleBGOutline: var(--clr-white);
        --circleBorder: var(--clr-accent);
        --circleBorderActive: var(--clr-white-trans);
        --circleBorderOutline: var(--clr-accent);
        --circleText: var(--clr-white);
        --circleTextOutline: var(--clr-accent);
        --lineBG: var(--clr-accent);
        --cartColor: var(--clr-accent);
    }
    
    [data-theme="accent"]  {
        --circleBG: var(--clr-white);
        --circleBGOutline: var(--clr-accent);
        --circleBorder: var(--clr-white);
        --circleBorderActive: var(--clr-accent-trans);
        --circleBorderOutline: var(--clr-white);
        --circleText: var(--clr-accent);
        --circleTextOutline: var(--clr-white);
        --lineBG: var(--clr-white);
        --cartColor: var(--clr-white);
    }

.button {
    padding: var(--rem-xs) var(--rem-m);
    text-decoration: none;
    font-family: var(--ff-primary) !important;
    font-size: var(--fs-normal);
    font-weight: var(--fw-normal);
    border: 2px solid;
    border-color: var(--clr-accent);
    border-radius: var(--border-radius);
    transition: 0.5s;
    appearance: none;
    -webkit-appearance: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.darkbutton {
    padding: var(--rem-xs) var(--rem-m);
    text-decoration: none;
    font-family: var(--ff-primary) !important;
    font-size: var(--fs-normal);
    font-weight: var(--fw-normal);
    border: 2px solid;
    border-color: var(--clr-primary);
    background-color: var(--clr-primary);
    color: var(--clr-primary-inverted) !important;
    border-radius: var(--border-radius);
    transition: 0.5s;
    appearance: none;
    -webkit-appearance: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.darkbutton:hover{
    border-color: var(--clr-primary-inverted);
}

i {
    margin-right: var(--rem-s);
}

.box {
    display: flex;
    flex-direction: column;
    gap: var(--rem-m);
    position: relative;
    padding: var(--rem-l);
    background-color: var(--clr-primary-inverted);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    z-index: 1;
}



.collapsible {
    background-color: var(--clr-primary-inverted);
    color: var(--clr-accent);
    cursor: pointer;
    padding: var(--rem-s);
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    box-shadow: var(--box-shadow);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--rem-s);
}

.altcollapse .collapsible {
    box-shadow: none;
    border: 1px var(--clr-primary-inverted) solid;
}

.open {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.open, .collapsible:hover {
    background-color: var(--clr-accent);
    color: var(--clr-primary-inverted);
}

.collapsible-content {
    color: var(--clr-primary);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
    background-color: var(--clr-primary-inverted);
    box-shadow: var(--box-shadow);
    border-bottom-left-radius: var(--border-radius);
    border-bottom-right-radius: var(--border-radius);
    padding: 0 var(--rem-m);
}

.altcollapse .collapsible-content {
    box-shadow: none;
}

.altcollapse .collapsible-content p {
    padding: var(--rem-s) 0;
}

.altcollapse div{
    box-shadow: var(--box-shadow);
    border-radius: var(--border-radius);
}







table.bestellungen tr:first-child td {
    border-top: none;
}

.logo_home {
    display: block;
    box-sizing: border-box;
    width: 400px;
}

.card {
    position: absolute;
    top: calc(50% - 150px);
    right: -1000px;
    height: 300px;

    animation-name: cardToPhone;
    animation-delay: 0.5s;
    animation-duration: 2.5s;
    animation-timing-function: ease-in-out;
    animation-fill-mode: forwards;
}

.products {
    display: grid;
    width: 80%;
    margin: 0 auto;
    grid-template-columns: repeat(3, minmax(1px, 1fr));
}

    .products div {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        gap: var(--rem-s);
        background-color: var(--clr-accent);
        border-radius: var(--border-radius);
        color: var(--clr-primary-inverted);
        padding: var(--rem-l);
    }

            .products div:first-of-type a {
                color: #ff4444;
            }

        .products div span.preis {
            display: block;
            font-weight: var(--fw-xxbold);
            font-size: var(--fs-xxbig);
        }

        .products div p {
            text-align: center;
        }

.shop-left {
    flex-basis: 50%;
    margin-right: 40%;
    text-align: left;
}

    .grid_gepaeck {
        display: grid;
        grid-template-columns: repeat(3, minmax(1px, 1fr));
        gap: 10px;
        align-items: center;
        text-align: center;
    }

        .grid_gepaeck div:first-of-type {
            order: initial !important;
        }


    .grid_auto {
        display: grid;
        grid-template-columns: repeat(2, minmax(1px, 1fr));
        gap: 10px;
        align-items: center;
        text-align: center;
    }

        .grid_auto div:first-of-type {
            order: initial !important;
        }

    .grid_portemonaie {
        display: grid;
        grid-template-columns: repeat(2, minmax(1px, 1fr));
        gap: 10px;
        align-items: center;
        text-align: center;
    }

        .grid_portemonaie div:first-of-type {
            order: initial !important;
        }

        div.kartebestellen{
            border: 2px solid transparent;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 5px;
            cursor: pointer;
        }

            div.kartebestellen img {
                width: 100%;
                border-radius: 3mm;
            }

        div.kartebestellenSelected{
            border: 2px var(--clr-accent) solid;
            border-radius: 3mm;
        }

            div.kartebestellenSelected img{
                width: 100%;
            }

.shop-right {
    position: fixed;
    top: 0px;
    right: 0px;
    width: 30%;
    height: calc(100vh - var(--rem-l) - var(--rem-l));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /*justify-content: space-between;*/
    background-color: var(--clr-primary-inverted);
    /*box-shadow: var(--box-shadow);*/
    padding: var(--rem-4s);
    border: 5px var(--clr-primary) solid;
    border-radius: 20px;
    margin: var(--rem-l);
}

    .circles {
        display: flex;
        width: 100%;
        justify-content: space-between; /*right;*/
        z-index: 1;
    }

        .progress {
            display: flex;
            justify-content: space-between;
            flex-basis: 66%;
        }

            .line {
                position: absolute;
                top: calc(var(--rem-4s) + (3.5rem / 2) - (2px / 2));
                left: 12.5%;
                height: 2px;
                width: 45%;
                background-color: var(--lineBG);
                z-index: 0;
                transition: background-color 200ms;
            }

        .cart {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            color: var(--cartColor);
        }

        .circle {
            width: 3.5rem;
            height: 3.5rem;

            display: flex;
            justify-content: center;
            align-items: center;

            /*background-color: var(--circleBG);*/
            background-color: var(--clr-primary-inverted);
            /*border: 5px var(--circleBorder) solid;*/
            border: 2px var(--clr-accent) solid;
            border-radius: 50%;
            /*color: var(--circleText);*/
            color: var(--clr-accent);

            z-index: 1;
            transition: color 200ms, border-color 200ms, background-color 200ms;
        }

            section:nth-of-type(even) .circle, section:nth-of-type(even) .line {
                background-color: white;
                color: var(--clr-accent);
            }

        .outline {
            background-color: var(--circleBGOutline);
            color: var(--circleTextOutline);
            border: 2px var(--circleBorderOutline) solid;
            font-weight: var(--fw-xxbold);
        }

        .active {
            font-weight: var(--fw-xxbold);
            /*border: 5px var(--circleBorderActive) solid;*/
            border: 2px var(--clr-accent) solid;
            background-color: var(--clr-accent);
            color: var(--clr-primary-inverted);
        }

    .vorschau {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        z-index: 1;
        /*margin-top: var(--rem-m);*/
    }

        #designPreview{
            text-align: center;
            border-radius: 3mm;
            box-shadow: var(--box-shadow);
        }

        #card {
            background-color: white;
            border-radius: 3mm;
        }
        
            .landscape{
                width: 85mm;
                height: 55mm;
            }
            
            .portrait{
                height: 85mm;
                width: 55mm;
            }

.checkout-container {
    width: 80%;
    text-align: left;
    z-index: 1;
}

    .checkout-container #divWarenkorb, .checkout-container #divLieferung, #bestaetigung, .boxshadow, .boxshadow_special {
        padding: var(--rem-l);
        background-color: var(--clr-primary-inverted);
        border-radius: var(--border-radius);
        box-shadow: var(--box-shadow);
    }

        .boxshadow-eckig {
            box-shadow: var(--box-shadow);
        }

        #divWarenkorb ul {
            list-style: none;
            padding-left: 0;
            gap: 0;
        }

            #divWarenkorb ul > li {
                position: relative;
                padding: 0.7em 0 0.7em 0em;
                border-top: 1px solid rgba(0, 0, 0, 0.1);
                white-space: nowrap;
                overflow: hidden;
            }
        
                #divWarenkorb ul > li:before {
                    position: absolute;
                    left: 0;
                    top: 0.35em;
                    display: block;
                    color: #3a71d8;
                    width: 30px;
                    height: 30px;
                    line-height: 30px;
                    text-align: center;
                    font-size: 1.4em;
                }
        
                #divWarenkorb ul > li:first-child {
                    padding-top: 0;
                    border-top: none;
                }
        
                    #divWarenkorb ul > li:first-child:before {
                        top: 0;
                    }
                
                #divWarenkorb ul > li:last-child {
                    padding-bottom: 0;
                }
        
            #divWarenkorb ul a {
                text-decoration: none;
                color: #353535;
            }
        
                #divWarenkorb ul a:hover {
                    text-decoration: underline;
                }
            
            #divWarenkorb span.preis {
                padding-left: 15px;
            }

ul#home {
    margin: 0;
    padding: 0;
    list-style-type: none;
    display: grid;
    grid-template-columns: repeat(2, minmax(1px, 1fr));
    row-gap: var(--rem-xl);
    column-gap: calc(5 * var(--rem-s));
    text-align: left;
}

    ul#home li {
        white-space: nowrap;
    }

.anmelden div {
    flex-basis: 50%;
}

form img {
    filter: drop-shadow(0px 1px 4px rgba(197,197,197,0.5));
}

form ul, ul.form {
    display: flex;
    flex-direction: column;
    gap: var(--rem-m);
}

    form ul.w100 input, form ul.w100 select {
        width: 100%;
    }

    .flex-outer li, .flex-inner {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: var(--rem-m);
        min-height: 40px;
    }

    .flex-outer > li > label {
        flex: 1 0;
        max-width: 40%;
    }

    .flex-outer > li > label + *, .flex-inner {
        flex: 1 0;
    }

    .flex-inner {
        flex-direction: row;
        justify-content: space-between;
    }

    div.namen {
        display: flex;
        flex-basis: 100%;
        gap: var(--rem-s);
    }

        .namen input, .namen a {
            width: 100%;
        }

.testimonial {
    justify-content: center;
    align-items: center;
    text-align: left;
}

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--rem-l);
    color: var(--clr-accent-dark);
    z-index: 100;
    width: 100vw;
    position: relative;
    top: -20px;
}

    /*header.home {
        position: absolute;
        top: 0;
        left: 0;
    }*/

    header img {
        height: 50px;
    }

footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--rem-xxl);
    color: var(--clr-accent-dark);
    z-index: 100;
}

    footer a:link, footer a:visited {
        text-decoration: none;
        color: var(--clr-accent-dark);
        font-weight: bold
    }


#grid_kategorien {
    display: grid;
    grid-template-columns: repeat(2, minmax(1px, 1fr));
    gap: var(--rem-m);
}

    #grid_kategorien div {
        background-color: var(--clr-accent);
        color: var(--clr-primary-inverted);
        border-radius: var(--border-radius);
        display: flex;
        flex-direction: row;
        cursor: pointer;
        padding: var(--rem-xxs) var(--rem-xs);
        align-items: center;
        justify-content: space-between;
        text-align: left;
    }

        #grid_kategorien div:hover {
            transition: 0.5s;
            filter: grayscale(1);
        }

    #grid_kategorien div.selectedKategorie {
        background-color: var(--clr-accent-dark);
        color: var(--clr-primary-inverted);
    }

        #grid_kategorien div.selectedKategorie i.fa-chevron-right { display: none; }



#grid_unterkategorie {
    display: grid;
    grid-template-columns: repeat(1, minmax(1px, 1fr));
    gap: var(--rem-m);
}

    #grid_unterkategorie div {
        background-color: var(--clr-accent);
        color: var(--clr-primary-inverted);
        border-radius: var(--border-radius);
        display: flex;
        flex-direction: row;
        cursor: pointer;
        padding: var(--rem-xxs) var(--rem-xs);
        align-items: center;
        justify-content: space-between;
        text-align: left;
    }

        #grid_unterkategorie div:hover {
            transition: 0.5s;
            filter: grayscale(1);
        }

    #grid_unterkategorie div.selectedUnterkategorie {
        background-image: linear-gradient(35deg, var(--clr-accent), var(--clr-accent-dark));
        color: var(--clr-primary-inverted);
    }

        #grid_unterkategorie div.selectedUnterkategorie i.fa-chevron-right { display: none; }




#grid_sms {
    display: grid;
    grid-template-columns: repeat(2, minmax(1px, 1fr));
    gap: var(--rem-m);
}

    #grid_sms div {
        background-color: var(--clr-accent);
        color: var(--clr-primary-inverted);
        border-radius: var(--border-radius);
        padding: var(--rem-xxs) var(--rem-xxs);
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: var(--rem-m);
    }

        #grid_sms div span:first-of-type {
            font-weight: var(--fw-light);
        }

        #grid_sms div span:last-of-type {
            font-size: var(--fs-xxbig);
            font-weight: var(--fw-xbold);
        }

#grid_aufrufe {
}

    #grid_aufrufe div {
        background-color: var(--clr-accent);
        color: var(--clr-primary-inverted);
        border-radius: var(--border-radius);
        padding: var(--rem-l) var(--rem-m);
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: var(--rem-m);
    }

        #grid_aufrufe div span:first-of-type {
            font-weight: var(--fw-light);
        }

        #grid_aufrufe div span:last-of-type {
            font-size: var(--fs-xxbig);
            font-weight: var(--fw-xbold);
        }

#pie_aufrufe div {
    background-color: var(--clr-accent);
    color: var(--clr-primary-inverted);
    border-radius: var(--border-radius);
    padding: var(--rem-l);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--rem-m);
}

.numberRating {
    display: flex;
    gap: 1px;
    justify-content: center;
    flex-direction: row-reverse !important;
}

    .numberRating > label {
        margin: 0 !important;
        border-radius: var(--border-radius);
        padding: var(--rem-xxs) var(--rem-xs);
        background-color: var(--clr-secondary);
        color: var(--clr-primary-inverted);
        cursor: pointer;
    }

    .numberRating > label:hover,
    .numberRating > label:hover ~ label,
    .numberRating > input.radio-btn:checked ~ label {
        background-color: var(--clr-accent);
    }

.smiley {
    font-size: var(--fs-xxbig);
    color: var(--clr-secondary);
    display: flex;
    justify-content: center;
    gap: var(--rem-s);
    flex-direction: row !important;
}

    .smiley input[type="radio"]:checked+label {
        color: var(--clr-accent);
    }

    .smiley input[type="radio"]:hover+label {
        color: var(--clr-accent);
        cursor: pointer;
    }

.starRating {
    font-size: var(--fs-xxbig);
    color: var(--clr-secondary);
    display: flex;
    justify-content: center;
    flex-direction: row-reverse !important;
    gap: var(--rem-xxs);
}

    .starRating > label {
        cursor: pointer;
    }

    .starRating > label:hover, .selectedRating {
        color: var(--clr-accent) !important;
    }

.thumbs {
    font-size: var(--fs-xxbig);
    color: var(--clr-secondary);
    display: flex;
    justify-content: center;
    gap: var(--rem-s);
    flex-direction: row !important;
    order: unset !important;
}
    .thumbs label {
        cursor: pointer;
    }

    .thumbs input[type="radio"]:checked+label, .thumbs input[type="radio"]:hover+label {
        color: var(--clr-accent);
    }

#feedbackKontaktdaten {
    gap: 0 !important;
}


/* Helfer */

.flex { display: flex; }
.flex-column { flex-direction: column; }
.flex-row { flex-direction: row; }
.flex-row-mobile { flex-direction: row; }
.flex-center { align-items: center; justify-content: center; }
.flex-end { justify-content: flex-end; }

.space-between { justify-content: space-between; }

.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(1px, 1fr)); gap: var(--rem-m); }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(1px, 1fr)); gap: var(--rem-m); }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(1px, 1fr)); gap: var(--rem-m); }

.inline { display: inline-block; }
.block { display: block; }
.underline { border-bottom: 1px solid; }

.align-right { text-align: right; }
.align-center { text-align: center; }
.align-left { text-align: left; }

.nomargin { margin: 0 !important; }
.nowrap { white-space: nowrap; }

.pointer { cursor: pointer; }
.pointer:hover { transition: 0.5s; filter: grayscale(1); }

.center-elements { justify-content: initial; }

.clr-accent { color: var(--clr-accent) !important; }
.clr-primary-inverted { color: var(--clr-primary-inverted) !important; }

.bg-accent { background-color: var(--clr-accent); }
.bg-primary-inverted { background-color: var(--clr-primary-inverted); }
.bg-primary { background-color: var(--clr-primary); }

.bclr-accent { border-color: var(--clr-accent); }
.bclr-primary-inverted { border-color: var(--clr-primary-inverted); }
.bclr-primary { border-color: var(--clr-primary); }

.mt-m { margin-top: var(--rem-m) !important; }
.mt-l { margin-top: var(--rem-l) !important; }
.mt-xl { margin-top: var(--rem-xl) !important; }
.mt-xxl { margin-top: var(--rem-xxl); }
.mr-xxs { margin-right: var(--rem-xxs); }
.mr-s { margin-right: var(--rem-s); }
.mr-l { margin-right: var(--rem-l); }
.mr-xl { margin-right: var(--rem-xl); }
.mr-xxl { margin-right: var(--rem-xxl); }
.mb-m { margin-bottom: var(--rem-m); }
.mb-l { margin-bottom: var(--rem-l); }
.mb-xl { margin-bottom: var(--rem-xl); }

.p-m { padding: var(--rem-m); }
.p-xxs { padding: var(--rem-xxs); }
.pt-s { padding-top: var(--rem-s); }
.pb-s { padding-bottom: var(--rem-s); }
.pb-m { padding-bottom: var(--rem-m); }

.w25 { max-width: 25%; }
.w30 { max-width: 30%; }
.w40 { max-width: 40%; }
.w50 { max-width: 50%; }
.w60 { width: 60%; }
.w70 { width: 70%; }
.w80 { width: 80%; }
.w100 { width: 100%; }

.gap-xs { gap: var(--rem-xs); }
.gap-s { gap: var(--rem-s); }
.gap-m { gap: var(--rem-m); }
.gap-xm { gap: var(--rem-xm); }
.gap-l { gap: var(--rem-l); }
.gap-xl { gap: var(--rem-xl); }
.gap-xxl { gap: var(--rem-xxl); }
.gap-4s { gap: calc(var(--rem-s) * 4); }
.gap-5s { gap: calc(var(--rem-s) * 5); }
.gap-6s { gap: calc(var(--rem-s) * 6); }


/* Animation */

@keyframes moveUp {
	0% { transform: translate(0px, 20px); }
	100% {transform: translate(0px, 0px); }
}

@keyframes moveUpBig {
	0% { transform: translate(0px, 100px); }
	100% {transform: translate(0px, 0px); }
}

@keyframes moveRight {
	0% { transform: translate(0px, 0px); }
	100% {transform: translate(20px, 0px); }
}

@keyframes moveDown {
	0% { transform: translate(0px, 0px); }
	100% {transform: translate(0px, 20px); }
}

@keyframes moveLeft {
	0% { transform: translate(20px, 0px); }
	100% {transform: translate(0px, 0px); }
}

@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

@keyframes levitate {
    0% {
        transform: translateX(0px) translateY(0px);
    }
    50% {
        transform: translateX(0px) translateY(20px);
    }
    100% {
        transform: translateX(0px) translateY(0px);
    }
}

.ani-fadeIn,
.ani-moveUp,
.ani-moveUpBig,
.ani-moveRight,
.ani-moveDown,
.ani-moveLeft,
.ani-fadeIn-moveUp,
.ani-fadeIn-moveRight,
.ani-fadeIn-moveDown,
.ani-fadeIn-moveLeft,
.ani-fadeIn-moveUpBig
{
    animation-duration: 1s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
}

.levitate {
    animation-duration: 3s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
}

.animate { opacity: 0; }
.delay-1 { animation-delay: 0.25s; }
.delay-2 { animation-delay: 0.5s; }
.delay-3 { animation-delay: 0.75s; }
.delay-4 { animation-delay: 1s; }
.delay-5 { animation-delay: 1.25s; }
.delay-6 { animation-delay: 1.5s; }
.delay-7 { animation-delay: 1.75s; }
.delay-8 { animation-delay: 2s; }

.ani-fadeIn { animation-name: fadeIn; }
.ani-moveUp { animation-name: moveUp; }
.ani-moveUpBig { animation-name: moveUpBig; }
.ani-moveRight { animation-name: moveRight; }
.ani-moveDown { animation-name: moveDown; }
.ani-moveLeft { animation-name: moveLeft; }
.ani-fadeIn-moveUp { animation-name: fadeIn, moveUp; }
.ani-fadeIn-moveRight { animation-name: fadeIn, moveRight; }
.ani-fadeIn-moveDown { animation-name: fadeIn, moveDown; }
.ani-fadeIn-moveLeft { animation-name: fadeIn, moveLeft; }
.ani-fadeIn-moveUpBig { animation-name: fadeIn, moveUpBig; }
.levitate { animation-name: levitate; }


@media (max-width: 1800px) {
    .postcard{
        width: 500px;
        aspect-ratio: 1.42 / 1;
    }
}

@media (max-width: 1600px) {
    .postcard{
        width: 400px;
        aspect-ratio: 1.42 / 1;
    }
}

@media (max-width: 1500px) {
    .postcard{
        width: 400px;
        aspect-ratio: 1.42 / 1;
    }
}

@media (max-height: 850px) {
    .shop-right h2{
        margin-top: 0.75em;
        margin-bottom: 0.5em;
    }
}

@media (max-width: 1300px) {
    :root {
        --rem-5s: var(--rem-xxl);
    }

    .boxshadow_special{
        box-shadow: none;
    }

    .w25 { max-width: 35%; }
    .w40 { max-width: 50%; }
    .w50 { max-width: 60%; }

    .gap-5s { gap: var(--rem-xl); }

    ul, ol { column-gap: var(--rem-xl); }

    section.half { min-height: 0vh; }

    .box { padding: 0; box-shadow: none; width: calc(100% + (2 * var(--rem-l))); margin-left: calc(0px - var(--rem-l)); }
    .narrow { padding: var(--rem-l); box-shadow: var(--box-shadow); border-radius: 0; }
    table.konto-table td .button { text-align: center; width: auto; padding: var(--rem-xxs); }
    table.konto-table td i { margin-right: var(--rem-xxs); }
    table.konto-table td .mr-s { margin-right: var(--rem-xxs); }

    .products { width: 100%; }

    .shop-left { margin-right: 45%; }
    .shop-right { width: 40%; padding: var(--rem-xl); }
    .line { top: calc(var(--rem-xl) + (3.5rem / 2) - (2px / 2)); }

    .postcard{
        width: 400px;
        aspect-ratio: 1.42 / 1;
    }
}

@media (max-width: 1050px) {
    :root {
        --rem-5s: var(--rem-l);
    }

    .card_preview{
        width: 100%;
    }

    .card_preview_konto{
        width: 100%;
    }

    .bigonly { display: none; }
    .smallonly { display: inherit !important; }

    .w25, .w30, .w40, .w50, .w60 { max-width: 100%; }
    .w80 { width: 100%; }
    .w60 { width: 90%; }

    .gap-5s { gap: var(--rem-xm); }

    .align-right { text-align: center; }
    .flex-end { justify-content: center; }

    section { flex-direction: column; text-align: center; }

    section:nth-of-type(1) { margin-top: var(--rem-xxl); }
    section:nth-of-type(1) div:nth-of-type(1) { order: 2; }

    #backKategorie { width: 80%; right: 10%; justify-content: center; }

    .logo_home { max-width: 100%; }
    .card { height: 250px; top: calc(50% - 52vh); }

    .altcollapse .collapsible { border-radius: var(--border-radius); }
    .altcollapse .collapsible.open { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
    .altcollapse .collapsible-content { border-bottom-left-radius: var(--border-radius); border-bottom-right-radius: var(--border-radius); }
    table.konto-table, table.konto-table thead, table.konto-table tbody, table.konto-table tfoot, table.konto-table th, table.konto-table td, table.konto-table tr { display: block; }
    table.konto-table thead tr { position: absolute; top: -9999px; left: -9999px; }
    table.konto-table tbody tr { border-bottom: 1px var(--clr-primary) solid; }
    table.konto-table td { text-align: right; border: none; border-bottom: 1px var(--clr-secondary-light) solid; position: relative; padding-left: calc(35% + var(--rem-l)); padding-right: 0; }
    table.konto-table td:before { text-align: left; position: absolute; top: calc(50% - 12px); left: 0px; width: 35%; content: attr(data-label); white-space: nowrap; }
    table thead { display: none !important; }

    .bullet { flex-direction: column; }
    .bullet > div { display: flex; flex-direction: column; order: 2; }
    .bullet img { display: flex; order: 1; }

    .products { grid-template-columns: none; }
    .products div p { text-align: center; }

    .postcard{
        width: 350px;
        aspect-ratio: 1.42 / 1;
    }

    @keyframes cardToPhone {
        0% { right: -1000px; }
        100% { right: -350px; }
    }

    .ani-fadeIn-moveLeft, .ani-fadeIn-moveRight { animation-name: fadeIn, moveUp; }





    .checkout-container #divWarenkorb, .checkout-container #divLieferung, #bestaetigung, .boxshadow, .boxshadow_special {
        padding: var(--rem-xs) !important;
    }

    .divFront{
        padding: 5px !important;
    }

    .divBack{
        padding: 5px !important;
    }



    .phone_wrapper, .card_wrapper { display: none; }
    .nophoneonly { display: block !important; width: 100%; }

    .shop-left { min-width: 100%; flex-basis: auto; margin-right: 0; }
    /*.shop-right { top: auto; right: auto; bottom: 0; left: 0; width: 100%; height: auto; z-index: 2; background-color: var(--clr-primary); flex-direction: row; gap: var(--rem-xs); padding: var(--rem-s); box-shadow: none; }
    .shop-right a { flex-basis: 50%; background-color: var(--clr-primary-inverted); color: var(--clr-accent); border-color: var(--clr-primary-inverted); }
    .shop-right a.kasse { background-color: transparent; color: var(--clr-primary-inverted); flex-basis: auto; text-decoration: none; }
    .shop-right a:nth-of-type(2) { background-color: var(--clr-accent); color: var(--clr-primary-inverted); border-color: var(--clr-accent); }*/
    .shop-right{
        width: 100%;
        position: unset;
        padding: var(--rem-s);
        height: unset;
        order: 2;
    }
    #mobileCart { display: flex !important; align-items: center; justify-content: center; background-color: var(--clr-primary); color: var(--clr-primary-inverted); border-top-left-radius: var(--border-radius); border-top-right-radius: var(--border-radius); position: absolute; top: calc(0px - var(--rem-l) - 2px); right: var(--rem-s); padding: var(--rem-xs) var(--rem-s); gap: var(--rem-m); }
    #mobileCart i { margin-left: var(--rem-xxs); margin-right: 0; }
    .circles { display: none; }
    /*.vorschau { display: none; }*/

    .checkout-container { width: 100%; }

    .testimonial { flex-direction: column; text-align: center; }

    #grid_aufrufe { grid-template-columns: repeat(1, minmax(1px, 1fr)); }
    #grid_aufrufe div, #pie_aufrufe div { order: unset; }

    #grid_kategorien{
        grid-template-columns: repeat(1, minmax(1px, 1fr));
        flex-direction: column;
    }

    .grid-3 { grid-template-columns: repeat(1, minmax(1px, 1fr)); }
    .grid-4 { grid-template-columns: repeat(2, minmax(1px, 1fr)); }





    .center-elements { justify-content: center; }

    ul, ol { grid-template-columns: none !important; }

    footer { padding: var(--rem-5s); }
}

@media (max-width: 450px) {
    header{ padding: var(--rem-m); align-items: center !important; }
    header img{ height: 35px; }

    #showcase {
        padding: var(--rem-m) !important;
    }

    .flex-row-mobile { flex-direction: column; }

    .createcard_section{
        /*min-height: calc(100vh - 35px - var(--rem-m) - var(--rem-m)) !important;*/
    }

    .card_preview{
        width: 100%;
    }

    .card_preview_konto{
        width: 100%;
    }

    .kundenbereich {
        background-color: unset;
        padding: 0;
        position: unset;
        top: 0;
    }

    .kundenbereich select{
        color: var(--clr-accent);
    }

    .boxshadow_special{
        box-shadow: none;
    }

    h2 { font-size: var(--fs-big); }

    #filter_links a { font-size: var(--fs-small); }
    a.button, button { width: 100%; }

    #hero { margin-top: auto; }

    section { padding: var(--rem-m); }

    section:nth-of-type(1) { margin-top: var(--rem-xxl); }
    section:nth-of-type(1) div div {flex-direction: column;/* margin-top: var(--rem-xm) !important; */}

    .logo_home { max-width: 50%; }

    .levitate:first-of-type {
        position: absolute;
        left: calc(0px - var(--rem-l));
        bottom: calc(0px - 150px - var(--rem-5s));
    }

    .levitate:last-of-type {
        position: absolute;
        right: calc(0px - var(--rem-l));
        bottom: calc(0px - 175px - var(--rem-5s));
    }

    #shop_products { display: grid; grid-template-columns: repeat(2, minmax(1px, 1fr)); }
    .products div { padding: var(--rem-s) var(--rem-xxs) var(--rem-xxs) var(--rem-xxs); gap: var(--rem-xs); }
    .products div p { font-size: var(--fs-small); }
    span.preis { font-size: var(--fs-normal) !important; }

    .shop-left label, .fancybox__content label { min-width: 100%; }
    .designgrid { grid-template-columns: none; }

    .shop-right div:last-of-type { /*flex-direction: column;*/ }

    .checkout-container #divWarenkorb, .checkout-container #divLieferung, #bestaetigung { padding: var(--rem-m); }
    li > label { min-width: 100%; }

    #grid_aufrufe { grid-template-columns: none; }
    #pie_aufrufe div { position: relative; width: 100%; }
    #pie_aufrufe div canvas { max-width: 245px; }

    footer { flex-direction: column-reverse; gap: var(--rem-m); }
    footer div:nth-of-type(2) { text-align: center; }

    .mt-xxl { margin-top: var(--rem-l); }
    .mb-l { margin-bottom: var(--rem-s); }

    .grid-4 { grid-template-columns: none; }
    .gap-m { gap: var(--rem-xs); }

    .swal2-actions { gap: var(--rem-xxs); }
    .swal2-actions button { margin-left: 0 !important; }
}


/* Third Party */

/* Fancy Box */
.fancybox__content {
    border-radius: var(--border-radius);
    padding: var(--rem-xxl);
}

@media (min-width: 700px) {
    #dialogUnternehmensprofil {
        max-width: 60%;
    }
}

@media (max-width: 450px) {
    #dialogUnternehmensprofil {
        padding: var(--rem-m);
        max-width: 350px;
        width: 350px;
    }
}


.overlay{
    position: sticky;
    top: 0;
    left: 0;
    background-color: grey;
    width: 100vw;
    height: 100vh;
    z-index: 5000;
    display: none;
}
