/* GLOBAL =========================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Roboto", sans-serif;
}

ul {
    padding-left:2rem;
    margin-bottom: 0.5em;
}

:root{
    --cicolor: #004bcc;
    --cicolor-dark: #003999;
    --cicolor-darker: #002666;
    --cicolor-darkest: #001333;
    --cicolor-light: #527fcc;
    --cicolor-lighter: #a3b2cc;
    --cicolor-lightest: #e1eafa;
    --fontcolor-dark: #333;
    --fontcolor-light: #eee;
    --border-radius: 0.3em;
}

html {
    font-size: 16px;
    width: 100%;
    height: 100%;
}

body {
    width: 100%;
    min-height: 100%;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
}



/* Header --------------- */
.header {
    flex: 0 0 auto;
    position: sticky;
    top: 0;
    display: flex;
    justify-content: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #ddd;
    background: white;
    box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.topnav {
    flex: 0 1 1200px;
    overflow: hidden;

    position: relative;
    display: flex;
    align-items: stretch;
}

.topnavleft {
    margin: -0.5rem -1rem;
    display: flex;
    flex: 1 1 auto;
    flex-wrap: wrap;
    align-items: center;
    font-size: 1.1rem;
}

.topnavright {
    margin: -0.5rem -1rem;
    margin-left: 0rem;
    justify-content: flex-end;
    flex: 1 0 auto;
    display: flex;
    font-size: 1rem;
}

.topnav a {
    outline: none;
    text-decoration: underline;
    text-decoration-color: transparent;
    line-height: 1.2;
    font-size: inherit;
    display: flex;
    align-items: center;
    color: var(--fontcolor-dark);
    margin: 0.5rem 1rem;
    overflow: hidden;
    transition: text-decoration-color 0.2s ease-in-out;
}

.topnav a:hover,
.topnav a:focus {
    text-decoration-color: currentColor;
    color: black;
}

.topnav a.active {
    color: var(--cicolor);
    font-weight: bold;
}

.navicon {
    height: 1.5rem;
    display: inline-block;
    vertical-align: bottom;
    margin-left: 0.5rem;
}

#burgericon {
    display: none;
    height: 1.4rem;
    width: 1.4rem;
    position: relative;
    margin: 0px;
    margin-right: 1rem;
}

#nav-icon {
    width: 100%;
    height: 100%;
    position: relative;
    margin: 0px auto;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: 0.2s ease-in-out;
    -moz-transition: 0.2s ease-in-out;
    -o-transition: 0.2s ease-in-out;
    transition: 0.2s ease-in-out;
    cursor: pointer;
}

#nav-icon span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: var(--fontcolor-dark);
    border-radius: 2px;
    opacity: 1;
    left: 0;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: 0.2s ease-in-out;
    -moz-transition: 0.2s ease-in-out;
    -o-transition: 0.2s ease-in-out;
    transition: 0.2s ease-in-out;
}

#nav-icon span:nth-child(1) {
    top: 0px;
    -webkit-transform-origin: left top;
    -moz-transform-origin: left top;
    -o-transform-origin: left top;
    transform-origin: left top;
}

#nav-icon span:nth-child(2) {
    top: calc(50% - 1.5px);
    -webkit-transform-origin: left center;
    -moz-transform-origin: left center;
    -o-transform-origin: left center;
    transform-origin: left center;
}

#nav-icon span:nth-child(3) {
    bottom: 0px;
    -webkit-transform-origin: left bottom;
    -moz-transform-origin: left bottom;
    -o-transform-origin: left bottom;
    transform-origin: left bottom;
}

#nav-icon.open span:nth-child(1) {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
    top: calc(14.6% - 1px);
    left: calc(14.6% + 1px);
}

#nav-icon.open span:nth-child(2) {
    width: 0%;
    opacity: 0;
}

#nav-icon.open span:nth-child(3) {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
    bottom: calc(14.6% - 1px);
    left: calc(14.6% + 1px);
}

/* Footer ------------- */
.footer {
    flex: 0 0 auto;
    background: var(--cicolor-darkest);
    color: var(--fontcolor-light);
    padding: 2rem;
    display: flex;
    justify-content: center;
    font-size: 0.8rem;
    z-index: 10;
}

.footer .rowwrapper {
    flex: 0 1 1200px;
}

.footer .row {
    border-bottom: 1px solid var(--cicolor-lightest);
    padding: 1rem 0;
}

.footer .row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.footer .row:first-child {
    padding-top: 0;
}

.footernav {
    display: flex;
    flex-wrap: wrap;
    margin: -0.2rem -0.5rem;
}

.footernav>* {
    margin: 0.2rem 0.5rem;
    color: inherit;
    text-decoration: none;
}

.footernav>a:hover {
    color: white;
}

@media screen and (max-width: 600px) {
    html {
        font-size: 14px;
    }

    .topnavleft a:not(.active) {
        line-height: 0;
        margin: 0rem 1rem;
        padding: 0;
    }

    #burgericon {
        display: block;
    }

    .topnavleft {
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
    }

    .topnavleft a {
        transition: margin 0.2s ease-in-out, line-height 0.2s ease-in-out;
    }

    .topnavleft.open a {
        line-height: 1.2;
        margin: 0.5rem 1rem;
    }
}

/* Content ------------ */
.main {
    flex: 1 0 auto;
    background: #eee;
    position: relative;
    color: var(--fontcolor-dark);
}

.content a {
    color: var(--fontcolor-dark);
}

/* Breadcrumbs ---------- */
.breadcrumbs{
    padding: 0rem 2rem;
    padding-top:1rem;
    color: #666;
    font-size:0.9rem;
    max-width: calc(4rem + 1200px);
    margin:auto;
}

.breadcrumbs a{
    text-decoration:none;
    color: inherit;
}

.breadcrumbs span{
    user-select: none;
}

.breadcrumbs a:last-child{
    font-weight: bold;
}

.breadcrumbs span:first-child{
    display: none;
}



/* Generals ---------- */
.hidden{
    display: none;
}

.mauto {
    margin: auto;
}

.center {
    text-align: center;
}

input,
button,
textarea,
.button,
select {
    appearance: none;
    -webkit-appearance: none;
    transition: box-shadow 0.1s ease-in-out, background-color 0.1s ease-in-out,
        border-color 0.1s ease-in-out;
    display: block;
}

input[type="checkbox"] {
    border: 2px solid #ddd;
    width: 1.2rem;
    height: 1.2rem;
    border-radius: 0.2rem;
    background: white;
    flex: 0 0 auto;
    display: grid;
    place-content: center;
    margin-right: 0.5em;
}

input[type="checkbox"]::before {
    content: "";
    width: 0.65em;
    height: 0.65em;
    transform: scale(0);
    transition: 120ms transform ease-in-out;
    box-shadow: inset 1em 1em #003899;
    background-color: CanvasText;
    transform-origin: bottom left;
    clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
}

input[type="checkbox"]:checked::before {
    transform: scale(1);
}

input[type="checkbox"]:focus {
    border: 2px solid var(--cicolor-darker) !important;
    outline: none;
}

input[type="text"],
textarea,
input[type="email"],
input[type="password"],
input[type="number"],
select {
    border: none;
    border-bottom: 2px solid #ddd;
    background: white;
    padding: 0.6em 0.8em;
    font-size: 1rem;
    width: 100%;
    border-radius: var(--border-radius);
}

button,
.button {
    padding: 0.6em 0.8em;
    border-radius: var(--border-radius);

    background-color: var(--cicolor);
    cursor: pointer;
    font-weight: 500;
    font-size: 1rem;
    color: var(--fontcolor-light) !important;
    width: 100%;
    outline: none;
    border: none;
    text-align: center;
    text-decoration: none;
}

input:hover,
button:hover,
textarea:hover,
.button:hover,
select:hover {

    box-shadow: 2px 2px 6px 0 rgba(0, 0, 0, 0.2);
    outline: none;
}


button:hover,
.button:hover{
    background-color: var(--cicolor-darker);
}


input:focus,
textarea:focus,
select:focus {
    border-bottom: 2px solid var(--cicolor-darker);
    outline: none;
}

button:focus,
.button:focus {
    background-color: var(--cicolor-darker);
    outline: none;
}

button.disabled,
.button.disabled {
    background-color: #333;
    cursor: not-allowed;
}


input[type="text"]:read-only,
textarea:read-only,
input[type="email"]:read-only,
input[type="password"]:read-only,
input[type="number"]:read-only{
    box-shadow: none !important;
    border-bottom: 2px solid #ddd !important;
    color:#666;
    cursor:not-allowed;
}

textarea {
    resize: none;
    width: 100%;
}

label {
    display: block;
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 0.3em;
}

label:has(input):not(:last-child),
button:not(:last-child),
input:not(:last-child),
textarea:not(:last-child) {
    margin-bottom: 1em;
}

label input[type="checkbox"],
label:has(input):last-child {
    margin-bottom: 0;
}

label:has(input) {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.underbtnerror {
    color: red;
}

.underbtnerror:not(:last-child) {
    margin-top: -0.5rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.contentwrapper {
    padding: 2rem;
    /*padding-top: 4rem;*/
    display: flex;
    position: relative;
    z-index: 1;
    width: 100%;
    justify-content: center;
}

.content {
    flex: 0 1 1200px;
}

h1 {
    color: var(--fontcolor-dark);
    text-align: center;
    margin-bottom: 2rem;
    font-size: 3rem;
}

h2 {
    color: var(--fontcolor-dark);
    text-align: center;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

h2:not(:first-child){
    margin-top:1.2rem;
}

.content p {
    margin-bottom: 0.5em;
    line-height: 1.6;
}

.content p:last-child{
    margin-bottom: 0;
}


/* MODAL =============================== */
.modal{
    z-index: 999;
    position: fixed;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0,0,0,0.9);

}

.modal-inner{
    background: white;
    border-radius: var(--border-radius);
    flex: 0 1 500px;
    display: flex;
    flex-direction: column;
}

.modal-head{
    flex: 0 0 auto;
    font-size: 1.2rem;
    font-weight: bold;
    text-align: center;
    padding: 1rem;
    
}

.modal-content{
    flex: 1 0 auto;
    padding: 1rem;
    background: #eee;
    border-bottom: 1px solid #ddd;
    border-top: 1px solid #ddd;
}

.modal-foot{
    flex: 0 0 auto;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    padding: 1rem;
    margin: -0.5rem;
    flex-wrap:wrap;
}

.modal-foot > * {
    margin: 0.5rem;
}

.modal-foot .button{
    flex: 1;
}

.modal-error {
    color:red;
    flex: 1 1 100%;
    text-align: center;
}



/* ACCOUNT ================================ */
.content#account {
    flex: 0 1 1200px;
}

#account form.max400{
    max-width: 400px;
}

#account p.subheading {
    margin-bottom: 3rem;
}

#account a{
    max-width: 400px;
}

#account .pwrequirements {
    margin-bottom: 1rem;
}

#account .pwrequirements p {
    color: var(--fontcolor-dark);
    font-size: 0.8rem;
    margin-bottom: 0.2em;
}

#account .pwrequirements p.valid {
    color: green;
    font-weight: 500;
}

#account .flexWrapper{
    display: flex;
    margin: -1rem;
    flex-wrap:wrap;
    align-items: flex-start;
    justify-items: stretch
}

#account .flexChild{
    background: white;
    border-radius: var(--border-radius);
    flex: 1 1 auto;
    margin: 1rem;
    padding: 1rem;
}

/* DATENSCHUTZ =========================================== */
.content#datenschutz{
    flex: 0 1 1200px;
    background:white;
    padding: 1.2rem 1.8rem;
    border-radius:var(--border-radius);
}

#datenschutz h2 {
    text-align:left;
    margin-top:1rem;
}

/* IMPRESSUM =========================================== */
.content#impressum{
    flex: 0 1 1200px;
    background:white;
    padding: 1.2rem 1.8rem;
    border-radius:var(--border-radius);
}

#impressum h2 {
    text-align:left;
    margin-top:1rem;
}

/* START =========================================== */
.smpte{
    z-index: 0;
    display: flex;
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 600px;
    max-height: 100%;
    -webkit-mask-image: linear-gradient(to bottom, black 100px, transparent 100%);
    overflow: hidden;
}

.smpte .bar{
    flex: 1;
}

#start .searchwrapper{
    width: 100%;
    max-width: 350px;
    margin: auto;
    display: flex;
    justify-content:center;
}

#start .searchwrapper input{
    flex: 1 1 auto;
    height: 3rem;
    

}

#start .searchwrapper button{
    margin-left: 0.5rem;
    display: none;
    flex: 0 1 auto;
    position: relative;
    height: 3rem;
    padding: 0.8rem;
}

#start .searchwrapper button img{
    height: 100%;
    display: block;
}

#start h1{
    color: white;
    text-shadow: 3px 3px 8px rgba(0,0,0,0.3);
}

#start .cardwrapper{
    display: flex;
    flex-wrap: wrap;
    align-items: stretch; 
    justify-content: center;
    margin: -1.5rem;
    margin-top: 2rem;
}

#start .card{
    position: relative;
    margin: 1.5rem;
    flex: 0 1 350px;
    border-radius: var(--border-radius);
    text-decoration: none;
    color: var(--fontcolor-dark);
    box-shadow: 3px 3px 8px 0 rgba(0,0,0,0.1);
    min-height: 350px;
    background-size: cover !important;
    display: flex;
    flex-flow: column;
    justify-content: space-between;
    transition: box-shadow 0.1s ease-in-out;
    font-size:1.4rem;
}

#start .card:hover, #start .card:focus{
    box-shadow: 3px 3px 8px 0 rgba(0,0,0,0.3);
    outline: none;

}

#start .card .addon{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 2.5rem;
    height: 2.5rem;
    position: absolute;
    border-radius: 100%;
    
    bottom: calc(100% - 1.5rem);
    left: calc(100% - 1.5rem);

    box-shadow: 0px 0px 4px 0 rgba(0,0,0,0.3);

    font-weight: 300;
}

#start .card .addon.new{
    background: green;
    color: white;
}

#start .card .addon.pro{
    background: red;
    color: white;
}

#start .card .title{
    width: 100%;
    padding: 0.8em 1em;
    font-size: 1.4rem;
    font-weight: bold;
    text-align: center;
    background: rgba(255,255,255,0.9);
    border-radius: var(--border-radius) var(--border-radius) 0rem 0rem;
}

#start .card .description{
    width: 100%;
    padding: 0.8rem 1rem;
    background: rgba(255,255,255,0.9);
    border-radius: 0rem 0rem var(--border-radius) var(--border-radius);
    bottom: 0px;
    font-weight: 300;
    font-size:1rem;
}

#start .cardimg{
    width: 100%;
    position:relative;
}

#start .cardimg img{
    width: 100%;
}

/* SHOP ================================================== */

#shop .wrapper{
    display: flex;
    flex-wrap:wrap;
    margin:-1rem;
    margin-bottom: 1rem;
}

#shop .wrapper:last-child{
    margin-bottom: 0;
}

#shop .card{
    flex: 1 1 300px;
    margin: 1rem;
    background: white;
    padding: 1rem;
    border-radius: var(--border-radius);
}

#shop #buywrapper{
    width: 100%;
    margin-top: 1rem;
}

#shop #buywrapper .col{
    flex: 1 1 auto;
    margin: 0.5rem;
}

#shop #buywrapper .col:first-child{
    flex: 0 0 auto;
}

#shop #buywrapper h2{
    text-align:left;
}

#shop #buywrapper p {
    margin-bottom: 1rem;
}

#shop #buywrapper #paypal-message{
    margin-bottom: 0;
}

#shop #buywrapper label:has(input){
    align-items:flex-start;
}

#shop table {
    border-collapse: collapse;
    table-layout: auto;

}



#shop table tr:last-child td {
  border-bottom: 0 !important;
}


#shop #calculation{
    width: 100%;
    margin-bottom: 1rem;
}

#shop #calculation th {
    border-bottom: 2px solid var(--fontcolor-dark);
    text-align: left;
    padding: 0.5em;
}

#shop #calculation td {
    border-bottom: 1px solid var(--fontcolor-dark);
    text-align: left;
    padding: 0.5em;
}

#shop #calculation tr:last-child td{
    font-weight: bold;
    border-top: 2px solid var(--fontcolor-dark);
}

#shop #calculation td:last-child,
#shop #calculation #vatrow td:nth-child(2),
#shop #calculation .productrow td:nth-child(3){
    text-align: right;
}

#shop #calculation th:not(:nth-child(2)){
    white-space: nowrap;
    width: 1%;
}


#shop #pricelist td, #shop #pricelist th{
    text-align:center;
    padding: 0.5em;
    border-bottom: 1px solid var(--fontcolor-dark);
}


/* QRCODE ================================================ */
#qrcodegen h2 {
    text-align:left;
}
#qrcodegen .row:not(:last-child){
    margin-bottom: 3rem;
}
#qrcodegen .button{
    width:auto;
    display:inline-block;
}

#qrcodegen .button.stretch{
    align-self: stretch;
}

#qrcodegen #qrlist{
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    margin:-0.5rem;
}

#qrcodegen .qrrow{
    background: white;
    display: flex;
    border-radius: var(--border-radius);
    margin: 0.5rem;
    padding: 1rem;
}

#qrcodegen .qrcolumn{
    margin: -0.3rem;
    display:flex;
    flex-direction:column;
    justify-content: flex-start;
    align-items: flex-start;
}

#qrcodegen .qrcolumn:first-child{
    flex: 1 1 auto;
    margin-right:0.3rem;
}

#qrcodegen .qrcolumn > * {
    margin: 0.3rem;
}

#qrcodegen .qrrowname{
    font-weight: bold;
    font-size: 1.2rem;
}

#qrcodegen .qrrowurl{
    word-break: break-all;
}

#qrcodegen .qrbuttonswrapper{
    margin: 0;
    display: flex;
    justify-content:flex-start;
    align-items:flex-end;
    flex: 1 0 auto;
}

#qrcodegen .qrrow .button{
    margin: 0.3rem;
}

#qrcodegen .qrrowclicks{
    font-weight:300;
}

#qrcodegen .qrwrapper{
    flex: 1 0 auto;
}