@charset "UTF-8";


/* === below rules where moved from fonts.css === */
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url(https://qs.starboxx.ch/fonts/Roboto-Light.ttf);
}
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(https://qs.starboxx.ch/fonts/Roboto-Regular.ttf);
}
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url(https://qs.starboxx.ch/fonts/Roboto-Bold.ttf);
}
@font-face {
    font-family: 'Conthrax-sb';
    src: url('https://qs.starboxx.ch/fonts/conthrax-sb.ttf');
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

/* === now below the rules that used to be at style4.css === */

@-o-viewport {
    width: device-width;
}
@viewport {
    width: device-width;
}

*,
*:before,
*:after {
    box-sizing: inherit;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
nav,
main,
section,
summary {
    display: block;
}

audio,
canvas,
video {
    display: inline-block;
}

audio,
canvas,
progress,
video {
    display: inline-block;
    vertical-align: baseline;
}

audio:not([controls]) {
    display: none;
    height: 0;
}

[hidden],
template {
    display: none;
}

html {
    box-sizing: border-box;
    font-size: 17px;
    font-family: Roboto, Verdana, Geneva, sans-serif;
    font-weight: 400;
    height: 100%;
    line-height: 1.5;
    background-color: #ffffff;
    color: #333333;
    overflow-x: hidden;
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0.1);
}

@media (min-width: 80em) {
    html {
        font-size: 18px;
    }
}

@media only screen and (orientation: landscape), (orientation: portrait) {
    html {
        -webkit-text-size-adjust: 100%;
        -ms-text-size-adjust: 100%;
    }
}

body {
    margin: 0;
    height: 100%;
    overflow-x: hidden;
}

a {
    color: #000000;
    background-color: transparent;
    -webkit-tap-highlight-color: rgba(230, 0, 0, 0.3);
    text-decoration-color: #BC0600;
    text-decoration-thickness: 1.5px;
    text-underline-offset: 3.5px;
}

a:visited {
    color: #D51616;
}

a:hover {
    color: #FF4817;
}

a:focus {
    color: #FF4817;
}

a:active {
    color: #333333;
}

a:hover, a:active {
    outline: 0;
}

a[href^="tel"] {
    color: #333333;
}

h1 > a, h2 > a, h3 > a, h4 > a, h5 > a, h6 > a {
    color: #D51616;
    font-size: 1em;
    text-decoration: none;
}

h1 {
    font-family: Roboto, Verdana, Geneva, sans-serif;
    line-height: 1.129;
    color: #00297C;
    font-size: 1.5rem;
    font-weight: bold;
}

h2 {
    font-family: Roboto, Verdana, Geneva, sans-serif;
    font-size: 1.25rem;
    font-weight: 400;
    color: #4B5660;
    font-size: 1.25rem;
    font-weight: bold;
}

h3 {
    font-family: Roboto, Verdana, Geneva, sans-serif;
    font-size: 1.25rem;
    font-weight: 400;
    color: #4B5660;
    margin-bottom: .15em;
    font-size: 1.25rem;
    font-weight: bold;
}

h4 {
    font-family: Roboto, Verdana, Geneva, sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #4B5660;
    margin-bottom: .25em;
}

h5 {
    font-family: Roboto, Verdana, Geneva, sans-serif;
    font-size: 1.25rem;
    font-weight: 400;
    color: #4B5660;
    margin-bottom: .25em;
}

h6 {
    font-family: Roboto, Verdana, Geneva, sans-serif;
    font-size: 1.25rem;
    font-weight: 400;
    color: #4B5660;
}

abbr[title] {
    text-decoration: none;
    border-bottom: none;
}

b,
strong {
    font-weight: bold;
}

hr {
    box-sizing: content-box;
    height: 0;
}

mark {
    background: yellow;
    color: black;
}

p,
pre {
    margin: 0 0 1em;
}

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

pre,
code {
    font-family: monospace, serif;
    font-size: 1em;
}

pre {
    overflow: auto;
    white-space: pre-wrap;
}

q {
    quotes: "\201C" "\201D" "\2018" "\2019";
}

small {
    font-size: 80%;
}

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sup {
    top: -0.5em;
}

sub {
    bottom: -0.25em;
}

dl,
menu,
ol,
ul {
    margin: 0 0 1em;
}

dl:last-child,
menu:last-child,
ol:last-child,
ul:last-child {
    margin-bottom: 0;
}

dd {
    margin: 0 0 0 2.5em;
}

nav ul,
nav ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

img {
    border: 0;
    margin: 0;
    vertical-align: bottom;
    max-width: 100%;
    width: auto;
    height: auto;
}

svg {
    overflow: visible;
}

svg:not(:root) {
    overflow: hidden;
}

::-moz-selection {
    background: #333333;
    color: white;
}

::selection {
    background: #333333;
    color: white;
}

figure {
    margin: 0;
}

fieldset {
    border: none;
    margin: 0;
    padding: 0;
}

legend {
    border: 0;
    padding: 0;
}

button,
input,
optgroup,
select,
textarea {
    color: inherit;
    font: inherit;
    margin: 0;
}

button {
    overflow: visible;
}

button,
select {
    text-transform: none;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
    cursor: pointer;
    -webkit-appearance: button;
    border-radius: 0;
    background-image: none;
}

button[disabled],
html input[disabled] {
    cursor: default;
}

input {
    line-height: normal;
}

input[type="checkbox"],
input[type="radio"] {
    box-sizing: border-box;
    padding: 0;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    height: auto;
}

input[type="search"] {
    -webkit-appearance: textfield;
    box-sizing: content-box;
}

input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button {
    -webkit-appearance: none;
}

button::-moz-focus-inner,
input[type="reset"]::-moz-focus-inner,
input[type="button"]::-moz-focus-inner,
input[type="submit"]::-moz-focus-inner,
input[type="file"] > input[type=button]::-moz-focus-inner {
    border: 0;
    padding: 0;
    margin: 0;
}

input[type="radio"] {
    vertical-align: text-bottom;
}

input[type="checkbox"] {
    vertical-align: bottom;
}

textarea {
    overflow: auto;
}

optgroup {
    font-weight: bold;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
    width: 100%;
}

td,
th {
    padding: 0;
}

.browsehappy {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

.ir {
    display: block;
    border: 0;
    text-indent: -999em;
    overflow: hidden;
    background-color: transparent;
    background-repeat: no-repeat;
    text-align: left;
    direction: ltr;
}

.ir br {
    display: none;
}

.hidden,
.is-hidden {
    display: none !important;
    visibility: hidden;
}

.vh {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.vh.focusable:active, .vh.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

textarea {
    resize: vertical;
}

.highlight {
    color: #D51616;
}

/* addition resets and defaults
 * ====================================================================
 */
a[href], button {
    touch-action: manipulation;
}

[tabindex="-1"]:focus {
    outline: none !important;
}

[role="button"] {
    cursor: pointer;
}

[aria-hidden="false"] {
    display: block;
}

[aria-hidden="true"] {
    display: none;
}


ul ul,
ol ol {
    margin-top: 0;
    margin-bottom: 0;
    list-style-type: disc;
}

ol ol {
    list-style-type: inherit;
}

nav a {
    display: block;
    text-decoration: none;
}

figcaption {
    font-size: 0.875em;
    line-height: 1.5;
    margin: 1em 0;
}

address {
    font-style: normal;
}

hr {
    border-style: solid;
    border-top: none;
    border-left: none;
    border-right: none;
    border-bottom: 1px solid #999999;
    width: 100%;
    margin: 1em auto;
}

caption {
    caption-side: bottom;
}

caption:before,
caption:after {
    content: "\0020\2014\0020";
}

th, td {
    border-bottom: 1px solid white;
    padding: 0.25em 0;
    text-align: left;
    vertical-align: top;
}

th {
    border-bottom: 1px solid #d7dde2;
}

table ul {
    margin: 0;
    padding-left: 1em;
}

figure > img {
    display: block;
    margin: 0 auto;
}

label, label .label {
    cursor: pointer;
}

svg {
    vertical-align: bottom;
}

 svg path, svg rect, svg circle, svg line {
    fill: inherit;
}

path {
    vector-effect: non-scaling-stroke;
}

[role="button"] > *,
button > * {
    pointer-events: none;
}

 .container:before, .container:after,
.formfields > li:before,
.formfields .two-options:before,
.formfields .formFieldCheckboxMulti > div:before,
[role="banner"]:before,
[role="main"]:before,
[role="complementary"]:before,
[role="navigation"]:before,
[role="contentinfo"]:before,
.content:before,
.person-overview .person-overview__item:before,
.formfields > li:after,
.formfields .two-options:after,
.formfields .formFieldCheckboxMulti > div:after,
[role="banner"]:after,
[role="main"]:after,
[role="complementary"]:after,
[role="navigation"]:after,
[role="contentinfo"]:after,
.content:after,
.person-overview .person-overview__item:after {
    content: "";
    display: table;
}

 .container:after,
.formfields > li:after,
.formfields .two-options:after,
.formfields .formFieldCheckboxMulti > div:after,
[role="banner"]:after,
[role="main"]:after,
[role="complementary"]:after,
[role="navigation"]:after,
[role="contentinfo"]:after,
.content:after,
.person-overview .person-overview__item:after {
    clear: both;
}

.layer .slider-btn-prev,
.layer .slider-btn-next,
.layer .layer-close {
    text-indent: 110%;
    white-space: nowrap;
    overflow: hidden;
    display: inline-block;
}

.formfields,
.nav-main, .nav-sub, .footer-nav, .gallery-view__list,
.client-list,
.person-overview {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

 .tcon {
    position: absolute;
    left: 4.17%;
    top: 50%;
    transform: translateY(-50%);
}


label.error, label .error.label {
    color: red;
}

input.error {
    border: 1px solid red;
}

form ol, form ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

form li {
    clear: both;
    padding: 0;
}

.full,
.half,
.small {
    box-sizing: border-box;
    float: left;
    clear: none;
}

.full input,
.half input,
.small input {
    box-sizing: border-box;
    width: 100%;
}

.full {
    width: 100%;
}

.half {
    width: 48%;
}

.half + .half {
    margin-left: 4%;
}

.half:nth-child(2n) {
    margin-left: 0;
}

.half.nl {
    float: none;
    clear: both;
    margin-left: 0;
}

.small {
    width: 23%;
    font-size: 1em;
}

input[placeholder]::-webkit-input-placeholder,
textarea[placeholder]::-webkit-input-placeholder {
    color: #999999;
    opacity: 1;
    text-overflow: ellipsis;
}

input[placeholder]:focus::-webkit-input-placeholder,
textarea[placeholder]:focus::-webkit-input-placeholder {
    color: transparent !important;
}

input[placeholder]:-moz-placeholder,
textarea[placeholder]:-moz-placeholder {
    color: #999999;
    opacity: 1;
    text-overflow: ellipsis;
}

input[placeholder]:focus:-moz-placeholder,
textarea[placeholder]:focus:-moz-placeholder {
    color: transparent !important;
}

input[placeholder]::-moz-placeholder,
textarea[placeholder]::-moz-placeholder {
    color: #999999;
    opacity: 1;
    text-overflow: ellipsis;
}

input[placeholder]:focus::-moz-placeholder,
textarea[placeholder]:focus::-moz-placeholder {
    color: transparent !important;
}

input[placeholder]:-ms-input-placeholder,
textarea[placeholder]:-ms-input-placeholder {
    color: #999999;
    opacity: 1;
    text-overflow: ellipsis;
}

input[placeholder]:focus:-ms-input-placeholder,
textarea[placeholder]:focus:-ms-input-placeholder {
    color: transparent !important;
}

input[placeholder]::input-placeholder,
textarea[placeholder]::input-placeholder {
    color: #999999;
    opacity: 1;
    text-overflow: ellipsis;
}

input[placeholder]:focus::input-placeholder,
textarea[placeholder]:focus::input-placeholder {
    color: transparent !important;
}

input[placeholder]::-moz-placeholder,
textarea[placeholder]::-moz-placeholder {
    color: #999999;
    opacity: 1;
    text-overflow: ellipsis;
}

input[placeholder]::-moz-placeholder, textarea[placeholder]::-moz-placeholder {
    color: #999999;
    opacity: 1;
    text-overflow: ellipsis;
}

input[placeholder]::placeholder,
textarea[placeholder]::placeholder {
    color: #999999;
    opacity: 1;
    text-overflow: ellipsis;
}

input[placeholder]:focus::-moz-placeholder,
textarea[placeholder]:focus::-moz-placeholder {
    color: transparent !important;
}

input[placeholder]:focus::-moz-placeholder, textarea[placeholder]:focus::-moz-placeholder {
    color: transparent !important;
}

input[placeholder]:focus::placeholder,
textarea[placeholder]:focus::placeholder {
    color: transparent !important;
}

fieldset.half + .half {
    margin-left: 4%;
}

fieldset sup {
    font-size: 1.2em;
    top: -0.2em;
    cursor: help;
}

label, label .label {
    padding: 0;
    margin: 0;
    display: inline-block;
    color: inherit;
    position: relative;
}

label .label {
    display: block;
    cursor: inherit;
    text-align: right;
}

label .label label, label .label .label {
    float: none;
    margin: 0;
    width: auto;
}

input,
select,
textarea,
button {
    width: 100%; /* it was first at 100px and canged it to 100% so that the fields on contact page could become back to normal since it was shorter */
    font-size: 16px;
    padding: 0.5em; /* trying to test this change without the 2em; */
    border: 1px solid #cccccc;
    color: #333333;
    background-color: #f7f7f7;
    border-radius: 0;
    box-shadow: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}


@media (min-width: 80em) {
    input,
    select,
    textarea,
    button {
        font-size: 1em;
    }
}

input:focus,
textarea:focus {
    box-shadow: 0 0 0 1px #999999;
    color: black;
    outline: none;
}

input[type="number"] {
    -moz-appearance: textfield;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="checkbox"],
input[type="radio"] {
    width: auto;
}

textarea {
    width: 100%;
    box-sizing: border-box;
    line-height: 1.5;
}

legend.label + input[type="checkbox"] {
    margin: 0.5em 0 0;
}

select {
    width: inherit;
    max-width: 100%;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
    cursor: pointer;
    -webkit-appearance: button;
    border-radius: 0;
    background-image: none;
}

option {
    padding: 0;
}

input[type="checkbox"],
input[type="radio"] {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

input[type="checkbox"].focusable:active, input[type="checkbox"].focusable:focus,
input[type="radio"].focusable:active,
input[type="radio"].focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

input[type="checkbox"]:focus + label:before, label input[type="checkbox"]:focus + .label:before, input[type="checkbox"]:hover + label:before, label input[type="checkbox"]:hover + .label:before,
input[type="radio"]:focus + label:before, label
input[type="radio"]:focus + .label:before,
input[type="radio"]:hover + label:before, label
input[type="radio"]:hover + .label:before {
    border-color: black;
}

input[type="checkbox"]:active + label:before, label input[type="checkbox"]:active + .label:before,
input[type="radio"]:active + label:before, label
input[type="radio"]:active + .label:before {
    transition-duration: 0;
    filter: brightness(0.8);
}

input[type="checkbox"] + label, label input[type="checkbox"] + .label,
input[type="radio"] + label, label
input[type="radio"] + .label {
    position: relative;
    padding: 10px;
    padding-left: 2em;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    width: auto;
}




input[type="checkbox"] + label:before, label input[type="checkbox"] + .label:before,
input[type="radio"] + label:before, label
input[type="radio"] + .label:before {
    content: '';
    color: #333333;
    position: absolute;
    top: 50%;
    left: 0;
    width: 16px;
    height: 16px;
    margin-top: -9px;
    border: 1px solid #999999;
    text-align: center;
}

input[type="checkbox"] + label:after, label input[type="checkbox"] + .label:after,
input[type="radio"] + label:after, label
input[type="radio"] + .label:after {
    content: '';
    background-color: #333333;
    position: absolute;
    top: 50%;
    left: 3px;
    width: 10px;
    height: 10px;
    margin-top: -6px;
    transform: scale(0);
    transform-origin: 50%;
    transition: transform 200ms ease-out;
}
input[type="checkbox"] + label:before, label input[type="checkbox"] + .label:before,
input[type="radio"] + label:before, label
input[type="radio"] + .label:before {
    content: '';
    color: #333333;
    position: absolute;
    top: 50%;
    left: 0;
    width: 16px;
    height: 16px;
    margin-top: -9px;
    border: 1px solid #999999;
    text-align: center;
}

input[type="checkbox"] + label:after, label input[type="checkbox"] + .label:after,
input[type="radio"] + label:after, label
input[type="radio"] + .label:after {
    content: '';
    background-color: #333333;
    position: absolute;
    top: 50%;
    left: 3px;
    width: 10px;
    height: 10px;
    margin-top: -6px;
    transform: scale(0);
    transform-origin: 50%;
    transition: transform 200ms ease-out;
}
input[type="checkbox"] + label:before, label input[type="checkbox"] + .label:before,
input[type="radio"] + label:before, label
input[type="radio"] + .label:before {
    content: '';
    color: #333333;
    position: absolute;
    top: 50%;
    left: 0;
    width: 16px;
    height: 16px;
    margin-top: -9px;
    border: 1px solid #999999;
    text-align: center;
}

input[type="checkbox"] + label:after, label input[type="checkbox"] + .label:after,
input[type="radio"] + label:after, label
input[type="radio"] + .label:after {
    content: '';
    background-color: #333333;
    position: absolute;
    top: 50%;
    left: 3px;
    width: 10px;
    height: 10px;
    margin-top: -6px;
    transform: scale(0);
    transform-origin: 50%;
    transition: transform 200ms ease-out;
}

input[type="checkbox"] + label:after, label input[type="checkbox"] + .label:after {
    background-color: transparent;
    top: 50%;
    left: 4px;
    width: 8px;
    height: 4px;
    margin-top: -4px;
    border-style: solid;
    border-top-width: 0;
    border-top-color: white;
    border-right-width: 0;
    border-right-color: white;
    border-bottom-width: 1px;
    border-bottom-color: #333333;
    border-left-width: 1px;
    border-left-color: #333333;
    -o-border-image: none;
    border-image: none;
    transform: rotate(-45deg) scale(0);
    transition: none;
}

input[type="checkbox"]:checked + label:after, label input[type="checkbox"]:checked + .label:after {
    content: '';
    transform: rotate(-45deg) scale(1);
    transition: transform 200ms ease-out;
}

input[type="radio"]:checked + label:before, label input[type="radio"]:checked + .label:before {
    animation: borderscale 300ms ease-in;
    background-color: white;
}

input[type="radio"]:checked + label:after, label input[type="radio"]:checked + .label:after {
    transform: scale(1);
}

input[type="radio"] + label:before, label input[type="radio"] + .label:before, input[type="radio"] + label:after, label input[type="radio"] + .label:after {
    border-radius: 50%;
}

input[type="checkbox"]:checked + label:before, label input[type="checkbox"]:checked + .label:before {
    animation: borderscale 200ms ease-in;
}

input[type="checkbox"]:checked + label:after, label input[type="checkbox"]:checked + .label:after {
    transform: rotate(-45deg) scale(1);
}

@keyframes borderscale {
    50% {
        box-shadow: 0 0 0 4px #333333;
    }
}


x:-o-prefocus {
    display: none;
}

.formfields > li {
    padding-left: 0;
    padding-bottom: 0;
    margin: 0;
    position: relative;
}

@media (min-width: 64em) {
    .formfields > li {
        padding-bottom: 0.25em;
        padding-top: 0.25em;
    }
}

.formfields > li:before {
    content: none;
}

.formfields label, .formfields label .label, label .formfields .label,
.formfields .label {
    padding: 0.5em 0;
    display: block;
}

@media (min-width: 48em) {
    .formfields label, .formfields label .label, label .formfields .label,
    .formfields .label {
        float: left;
        margin-right: 2%;
        text-align: right;
        width: 28%;
    }
}

@media (min-width: 48em) {
    .formfields [type="text"],
    .formfields [type="date"],
    .formfields [type="tel"],
    .formfields [type="email"],
    .formfields [type="password"],
    .formfields [type="number"],
    .formfields select,
    .formfields textarea,
    .formfields .passwordChecker,
    .formfields .options {
        float: left;
        width: 70%;
        margin: 0;
    }
}

@media (max-width: 47em) {
    .formfields .passwordChecker {
        float: left;
        width: 100%;
        margin: 0;
    }
}

.formfields .passwordChecker {
    display: none;
    float: left;
    background-color: #f7f7f7;
}

.passwordChecker .passwordStrength {
    height: .5em;
    transition: 0.5s;
}

.formfields [type="checkbox"]:focus,
.formfields [type="radio"]:focus {
    box-shadow: none;
    border: none;
    outline: none;
}

.formfields select {
    background-image: url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2216%22%20height%3D%228%22%20viewBox%3D%220%200%2016%208%22%3E%3Cpolygon%20fill%3D%22%234D4D4D%22%20points%3D%228%2C0%2016%2C0%2012%2C4%208%2C8%204%2C4%200%2C0%20%22/%3E%3C/svg%3E);
    background-repeat: no-repeat;
    background-position: 95% 50%;
    padding-right: 1.5em;
    min-width: 100%;
}

@media (min-width: 48em) {
    .formfields select {
        min-width: 0;
    }
}

.formfields + input[type="submit"] {
    padding: 0.5em 2em;
    width: auto;
    margin-top: 10px;
}

@media (min-width: 48em) {
    .formfields + input[type="submit"] {
        margin-left: 30%;
    }
}

.formfields .options label, .formfields .options label .label, label .formfields .options .label {
    float: none;
    text-align: left;
}

.formfields .two-options > div {
    float: left;
    width: 50%;
}

.formfields .two-options > div > input {
    display: inline-block;
}

.formfields .two-options > div > label, .formfields label .two-options > div > .label, label .formfields .two-options > div > .label {
    display: inline-block;
}

.formfields [readonly] {
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    pointer-events: none;
    padding: 0;
    background: none;
    border: none;
    width: auto;
}

.formfields .textarea-counter {
    width: 40px;
    text-align: right;
}

@media (min-width: 48em) {
    .formfields .textarea-counter {
        float: none;
        margin-left: 30%;
    }
}


@media (min-width: 48em) {
    .formfields .single-input-wrapper {
        float: none;
        clear: both;
      margin-left: 30%;
    }
}

/* === Fix for checkbox alignment on einstellungen.php === */
/* Targets only the two checkbox sections on the Einstellungen page */

form[action="einstellungen.php"] .single-input-wrapper {
  margin-left: 0 !important; /* removes awkward centering */

}

/* Override label alignment for this form only */
form[action="einstellungen.php"] .formfields label {
  text-align: left !important; /* fixes misaligned long label text */
}

.formfields .formButton {
    width: auto;
    margin-top: 2em;
}




@-o-viewport {
    width: device-width;
}
@viewport {
    width: device-width;
}

*,
*:before,
*:after {
    box-sizing: inherit;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
nav,
main,
section,
summary {
    display: block;
}

audio,
canvas,
video {
    display: inline-block;
}

audio,
canvas,
progress,
video {
    display: inline-block;
    vertical-align: baseline;
}

audio:not([controls]) {
    display: none;
    height: 0;
}

[hidden],
template {
    display: none;
}

html {
    box-sizing: border-box;
    font-size: 17px;
    font-family: Roboto, Verdana, Geneva, sans-serif;
    font-weight: 400;
    height: 100%;
    line-height: 1.5;
    background-color: #ffffff;
    color: #333333;
    overflow-x: hidden;
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0.1);
}

@media (min-width: 80em) {
    html {
        font-size: 18px;
    }
}

@media only screen and (orientation: landscape), (orientation: portrait) {
    html {
        -webkit-text-size-adjust: 100%;
        -ms-text-size-adjust: 100%;
    }
}

body {
    margin: 0;
    height: 100%;
    overflow-x: hidden;
}

a {
    color: #000000;
    background-color: transparent;
    -webkit-tap-highlight-color: rgba(230, 0, 0, 0.3);
    text-decoration-color: #BC0600;
    text-decoration-thickness: 2px;
}

a:visited {
    color: #D51616;
}

a:hover {
    color: #FF4817;
}

a:focus {
    color: #FF4817;
}

a:active {
    color: #333333;
}

a:hover, a:active {
    outline: 0;
}

a[href^="tel"] {
    color: #333333;
}

h1 > a, h2 > a, h3 > a, h4 > a, h5 > a, h6 > a {
    color: #D51616;
    font-size: 1em;
    text-decoration: none;
}

h1 {
    font-family: Roboto, Verdana, Geneva, sans-serif;
    line-height: 1.129;
    color: #00297C;
    font-size: 1.5rem;
    font-weight: bold;
}

h2 {
    font-family: Roboto, Verdana, Geneva, sans-serif;
    font-size: 1.25rem;
    color: #4B5660;
    font-weight: bold;
}

h3 {
    font-family: Roboto, Verdana, Geneva, sans-serif;
    font-size: 1.25rem;
    color: #4B5660;
    margin-bottom: .15em;
    font-weight: bold;
}

h4 {
    font-family: Roboto, Verdana, Geneva, sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #4B5660;
    margin-bottom: .25em;
}

h5 {
    font-family: Roboto, Verdana, Geneva, sans-serif;
    font-size: 1.25rem;
    font-weight: 400;
    color: #4B5660;
    margin-bottom: .25em;
}

h6 {
    font-family: Roboto, Verdana, Geneva, sans-serif;
    font-size: 1.25rem;
    font-weight: 400;
    color: #4B5660;
}

abbr[title] {
    text-decoration: none;
    border-bottom: none;
}

b,
strong {
    font-weight: bold;
}

hr {
    box-sizing: content-box;
    height: 0;
}

mark {
    background: yellow;
    color: black;
}

p,
pre {
    margin: 0 0 1em;
}

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

pre,
code {
    font-family: monospace, serif;
    font-size: 1em;
}

pre {
    overflow: auto;
    white-space: pre-wrap;
}

q {
    quotes: "\201C" "\201D" "\2018" "\2019";
}

small {
    font-size: 80%;
}

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sup {
    top: -0.5em;
}

sub {
    bottom: -0.25em;
}

dl,
menu,
ol,
ul {
    margin: 0 0 1em;
}

dl:last-child,
menu:last-child,
ol:last-child,
ul:last-child {
    margin-bottom: 0;
}

dd {
    margin: 0 0 0 2.5em;
}

nav ul,
nav ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

img {
    border: 0;
    margin: 0;
    vertical-align: bottom;
    max-width: 100%;
    width: auto;
    height: auto;
}

svg {
    overflow: visible;
}

svg:not(:root) {
    overflow: hidden;
}

::-moz-selection {
    background: #333333;
    color: white;
}

::selection {
    background: #333333;
    color: white;
}

figure {
    margin: 0;
}

fieldset {
    border: none;
    margin: 0;
    padding: 0;
}

legend {
    border: 0;
    padding: 0;
}

button,
input,
optgroup,
select,
textarea {
    color: inherit;
    font: inherit;
    margin: 0;
}

button {
    overflow: visible;
}

button,
select {
    text-transform: none;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
    cursor: pointer;
    -webkit-appearance: button;
    border-radius: 0;
    background-image: none;
}

button[disabled],
html input[disabled] {
    cursor: default;
}

input {
    line-height: normal;
}

input[type="checkbox"],
input[type="radio"] {
    box-sizing: border-box;
    padding: 0;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    height: auto;
}

input[type="search"] {
    -webkit-appearance: textfield;
    box-sizing: content-box;
}

input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button {
    -webkit-appearance: none;
}

button::-moz-focus-inner,
input[type="reset"]::-moz-focus-inner,
input[type="button"]::-moz-focus-inner,
input[type="submit"]::-moz-focus-inner,
input[type="file"] > input[type=button]::-moz-focus-inner {
    border: 0;
    padding: 0;
    margin: 0;
}

input[type="radio"] {
    vertical-align: text-bottom;
}

input[type="checkbox"] {
    vertical-align: bottom;
}

textarea {
    overflow: auto;
}

optgroup {
    font-weight: bold;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
    width: 100%;
}

td,
th {
    padding: 0;
}

.browsehappy {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

.ir {
    display: block;
    border: 0;
    text-indent: -999em;
    overflow: hidden;
    background-color: transparent;
    background-repeat: no-repeat;
    text-align: left;
    direction: ltr;
}

.ir br {
    display: none;
}

.hidden,
.is-hidden {
    display: none !important;
    visibility: hidden;
}

.vh {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.vh.focusable:active, .vh.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

textarea {
    resize: vertical;
}

.highlight {
    color: #D51616;
}

/* addition resets and defaults
 * ====================================================================
 */
a[href], button {
    touch-action: manipulation;
}

[tabindex="-1"]:focus {
    outline: none !important;
}

[role="button"] {
    cursor: pointer;
}

[aria-hidden="false"] {
    display: block;
}

[aria-hidden="true"] {
    display: none;
}


ul ul,
ol ol {
    margin-top: 0;
    margin-bottom: 0;
    list-style-type: disc;
}

ol ol {
    list-style-type: inherit;
}

nav a {
    display: block;
    text-decoration: none;
}

figcaption {
    font-size: 0.875em;
    line-height: 1.5;
    margin: 1em 0;
}

address {
    font-style: normal;
}

hr {
    border-style: solid;
    border-top: none;
    border-left: none;
    border-right: none;
    border-bottom: 1px solid #999999;
    width: 100%;
    margin: 1em auto;
}

caption {
    caption-side: bottom;
}

caption:before,
caption:after {
    content: "\0020\2014\0020";
}

th, td {
    border-bottom: 1px solid white;
    padding: 0.25em 0;
    text-align: left;
    vertical-align: top;
}

th {
    border-bottom: 1px solid #d7dde2;
}

table ul {
    margin: 0;
    padding-left: 1em;
}

figure > img {
    display: block;
    margin: 0 auto;
}

label, label .label {
    cursor: pointer;
}

svg {
    vertical-align: bottom;
}

 svg path, svg rect, svg circle, svg line {
    fill: inherit;
}

path {
    vector-effect: non-scaling-stroke;
}

[role="button"] > *,
button > * {
    pointer-events: none;
}

 .container:before, .container:after,
.formfields > li:before,
.formfields .two-options:before,
.formfields .formFieldCheckboxMulti > div:before,
[role="banner"]:before,
[role="main"]:before,
[role="complementary"]:before,
[role="navigation"]:before,
[role="contentinfo"]:before,
.content:before,
.person-overview .person-overview__item:before,
.formfields > li:after,
.formfields .two-options:after,
.formfields .formFieldCheckboxMulti > div:after,
[role="banner"]:after,
[role="main"]:after,
[role="complementary"]:after,
[role="navigation"]:after,
[role="contentinfo"]:after,
.content:after,
.person-overview .person-overview__item:after {
    content: "";
    display: table;
}

 .container:after,
.formfields > li:after,
.formfields .two-options:after,
.formfields .formFieldCheckboxMulti > div:after,
[role="banner"]:after,
[role="main"]:after,
[role="complementary"]:after,
[role="navigation"]:after,
[role="contentinfo"]:after,
.content:after,
.person-overview .person-overview__item:after {
    clear: both;
}

.layer .slider-btn-prev,
.layer .slider-btn-next,
.layer .layer-close {
    text-indent: 110%;
    white-space: nowrap;
    overflow: hidden;
    display: inline-block;
}

.formfields,
.nav-main, .nav-sub, .footer-nav, .gallery-view__list,
.client-list,
.person-overview {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

 .tcon {
    position: absolute;
    left: 4.17%;
    top: 50%;
    transform: translateY(-50%);
}


label.error, label .error.label {
    color: red;
}

input.error {
    border: 1px solid red;
}

form ol, form ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

form li {
    clear: both;
    padding: 0;
}

.full,
.half,
.small {
    box-sizing: border-box;
    float: left;
    clear: none;
}

.full input,
.half input,
.small input {
    box-sizing: border-box;
    width: 100%;
}

.full {
    width: 100%;
}

.half {
    width: 48%;
}

.half + .half {
    margin-left: 4%;
}

.half:nth-child(2n) {
    margin-left: 0;
}

.half.nl {
    float: none;
    clear: both;
    margin-left: 0;
}

.small {
    width: 23%;
    font-size: 1em;
}

input[placeholder]::-webkit-input-placeholder,
textarea[placeholder]::-webkit-input-placeholder {
    color: #999999;
    opacity: 1;
    text-overflow: ellipsis;
}

input[placeholder]:focus::-webkit-input-placeholder,
textarea[placeholder]:focus::-webkit-input-placeholder {
    color: transparent !important;
}

input[placeholder]:-moz-placeholder,
textarea[placeholder]:-moz-placeholder {
    color: #999999;
    opacity: 1;
    text-overflow: ellipsis;
}

input[placeholder]:focus:-moz-placeholder,
textarea[placeholder]:focus:-moz-placeholder {
    color: transparent !important;
}

input[placeholder]::-moz-placeholder,
textarea[placeholder]::-moz-placeholder {
    color: #999999;
    opacity: 1;
    text-overflow: ellipsis;
}

input[placeholder]:focus::-moz-placeholder,
textarea[placeholder]:focus::-moz-placeholder {
    color: transparent !important;
}

input[placeholder]:-ms-input-placeholder,
textarea[placeholder]:-ms-input-placeholder {
    color: #999999;
    opacity: 1;
    text-overflow: ellipsis;
}

input[placeholder]:focus:-ms-input-placeholder,
textarea[placeholder]:focus:-ms-input-placeholder {
    color: transparent !important;
}

input[placeholder]::input-placeholder,
textarea[placeholder]::input-placeholder {
    color: #999999;
    opacity: 1;
    text-overflow: ellipsis;
}

input[placeholder]:focus::input-placeholder,
textarea[placeholder]:focus::input-placeholder {
    color: transparent !important;
}

input[placeholder]::-moz-placeholder,
textarea[placeholder]::-moz-placeholder {
    color: #999999;
    opacity: 1;
    text-overflow: ellipsis;
}

input[placeholder]::-moz-placeholder, textarea[placeholder]::-moz-placeholder {
    color: #999999;
    opacity: 1;
    text-overflow: ellipsis;
}

input[placeholder]::placeholder,
textarea[placeholder]::placeholder {
    color: #999999;
    opacity: 1;
    text-overflow: ellipsis;
}

input[placeholder]:focus::-moz-placeholder,
textarea[placeholder]:focus::-moz-placeholder {
    color: transparent !important;
}

input[placeholder]:focus::-moz-placeholder, textarea[placeholder]:focus::-moz-placeholder {
    color: transparent !important;
}

input[placeholder]:focus::placeholder,
textarea[placeholder]:focus::placeholder {
    color: transparent !important;
}

fieldset.half + .half {
    margin-left: 4%;
}

fieldset sup {
    font-size: 1.2em;
    top: -0.2em;
    cursor: help;
}

label, label .label {
    padding: 0;
    margin: 0;
    display: inline-block;
    color: inherit;
    position: relative;
}

label .label {
    display: block;
    cursor: inherit;
    text-align: right;
}

label .label label, label .label .label {
    float: none;
    margin: 0;
    width: auto;
}

input,
select,
textarea,
button {
    width: 100%; /* it was first at 100px and canged it to 100% so that the fields on contact page could become back to normal since it was shorter */
    font-size: 16px;
    padding: 0.5em; /* trying to test this change without the 2em; */
    border: 1px solid #cccccc;
    color: #333333;
    background-color: #f7f7f7;
    border-radius: 0;
    box-shadow: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}


@media (min-width: 80em) {
    input,
    select,
    textarea,
    button {
        font-size: 1em;
    }
}

input:focus,
textarea:focus {
    box-shadow: 0 0 0 1px #999999;
    color: black;
    outline: none;
}

input[type="number"] {
    -moz-appearance: textfield;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="checkbox"],
input[type="radio"] {
    width: auto;
}

textarea {
    width: 100%;
    box-sizing: border-box;
    line-height: 1.5;
}

legend.label + input[type="checkbox"] {
    margin: 0.5em 0 0;
}

select {
    width: inherit;
    max-width: 100%;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
    cursor: pointer;
    -webkit-appearance: button;
    border-radius: 0;
    background-image: none;
}

option {
    padding: 0;
}

input[type="checkbox"],
input[type="radio"] {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

input[type="checkbox"].focusable:active, input[type="checkbox"].focusable:focus,
input[type="radio"].focusable:active,
input[type="radio"].focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

input[type="checkbox"]:focus + label:before, label input[type="checkbox"]:focus + .label:before, input[type="checkbox"]:hover + label:before, label input[type="checkbox"]:hover + .label:before,
input[type="radio"]:focus + label:before, label
input[type="radio"]:focus + .label:before,
input[type="radio"]:hover + label:before, label
input[type="radio"]:hover + .label:before {
    border-color: black;
}

input[type="checkbox"]:active + label:before, label input[type="checkbox"]:active + .label:before,
input[type="radio"]:active + label:before, label
input[type="radio"]:active + .label:before {
    transition-duration: 0;
    filter: brightness(0.8);
}

input[type="checkbox"] + label, label input[type="checkbox"] + .label,
input[type="radio"] + label, label
input[type="radio"] + .label {
    position: relative;
    padding: 10px;
    padding-left: 2em;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    width: auto;
}




input[type="checkbox"] + label:before, label input[type="checkbox"] + .label:before,
input[type="radio"] + label:before, label
input[type="radio"] + .label:before {
    content: '';
    color: #333333;
    position: absolute;
    top: 50%;
    left: 0;
    width: 16px;
    height: 16px;
    margin-top: -9px;
    border: 1px solid #999999;
    text-align: center;
}

input[type="checkbox"] + label:after, label input[type="checkbox"] + .label:after,
input[type="radio"] + label:after, label
input[type="radio"] + .label:after {
    content: '';
    background-color: #333333;
    position: absolute;
    top: 50%;
    left: 3px;
    width: 10px;
    height: 10px;
    margin-top: -6px;
    transform: scale(0);
    transform-origin: 50%;
    transition: transform 200ms ease-out;
}
input[type="checkbox"] + label:before, label input[type="checkbox"] + .label:before,
input[type="radio"] + label:before, label
input[type="radio"] + .label:before {
    content: '';
    color: #333333;
    position: absolute;
    top: 50%;
    left: 0;
    width: 16px;
    height: 16px;
    margin-top: -9px;
    border: 1px solid #999999;
    text-align: center;
}

input[type="checkbox"] + label:after, label input[type="checkbox"] + .label:after,
input[type="radio"] + label:after, label
input[type="radio"] + .label:after {
    content: '';
    background-color: #333333;
    position: absolute;
    top: 50%;
    left: 3px;
    width: 10px;
    height: 10px;
    margin-top: -6px;
    transform: scale(0);
    transform-origin: 50%;
    transition: transform 200ms ease-out;
}
input[type="checkbox"] + label:before, label input[type="checkbox"] + .label:before,
input[type="radio"] + label:before, label
input[type="radio"] + .label:before {
    content: '';
    color: #333333;
    position: absolute;
    top: 50%;
    left: 0;
    width: 16px;
    height: 16px;
    margin-top: -9px;
    border: 1px solid #999999;
    text-align: center;
}

input[type="checkbox"] + label:after, label input[type="checkbox"] + .label:after,
input[type="radio"] + label:after, label
input[type="radio"] + .label:after {
    content: '';
    background-color: #333333;
    position: absolute;
    top: 50%;
    left: 3px;
    width: 10px;
    height: 10px;
    margin-top: -6px;
    transform: scale(0);
    transform-origin: 50%;
    transition: transform 200ms ease-out;
}

input[type="checkbox"] + label:after, label input[type="checkbox"] + .label:after {
    background-color: transparent;
    top: 50%;
    left: 4px;
    width: 8px;
    height: 4px;
    margin-top: -4px;
    border-style: solid;
    border-top-width: 0;
    border-top-color: white;
    border-right-width: 0;
    border-right-color: white;
    border-bottom-width: 1px;
    border-bottom-color: #333333;
    border-left-width: 1px;
    border-left-color: #333333;
    -o-border-image: none;
    border-image: none;
    transform: rotate(-45deg) scale(0);
    transition: none;
}

input[type="checkbox"]:checked + label:after, label input[type="checkbox"]:checked + .label:after {
    content: '';
    transform: rotate(-45deg) scale(1);
    transition: transform 200ms ease-out;
}

input[type="radio"]:checked + label:before, label input[type="radio"]:checked + .label:before {
    animation: borderscale 300ms ease-in;
    background-color: white;
}

input[type="radio"]:checked + label:after, label input[type="radio"]:checked + .label:after {
    transform: scale(1);
}

input[type="radio"] + label:before, label input[type="radio"] + .label:before, input[type="radio"] + label:after, label input[type="radio"] + .label:after {
    border-radius: 50%;
}

input[type="checkbox"]:checked + label:before, label input[type="checkbox"]:checked + .label:before {
    animation: borderscale 200ms ease-in;
}

input[type="checkbox"]:checked + label:after, label input[type="checkbox"]:checked + .label:after {
    transform: rotate(-45deg) scale(1);
}

@keyframes borderscale {
    50% {
        box-shadow: 0 0 0 4px #333333;
    }
}


x:-o-prefocus {
    display: none;
}

.formfields > li {
    padding-left: 0;
    padding-bottom: 0;
    margin: 0;
    position: relative;
}

@media (min-width: 64em) {
    .formfields > li {
        padding-bottom: 0.25em;
        padding-top: 0.25em;
    }
}

.formfields > li:before {
    content: none;
}

.formfields label, .formfields label .label, label .formfields .label,
.formfields .label {
    padding: 0.5em 0;
    display: block;
}

@media (min-width: 48em) {
    .formfields label, .formfields label .label, label .formfields .label,
    .formfields .label {
        float: left;
        margin-right: 2%;
        text-align: right;
        width: 28%;
    }
}

@media (min-width: 48em) {
    .formfields [type="text"],
    .formfields [type="date"],
    .formfields [type="tel"],
    .formfields [type="email"],
    .formfields [type="password"],
    .formfields [type="number"],
    .formfields select,
    .formfields textarea,
    .formfields .passwordChecker,
    .formfields .options {
        float: left;
        width: 70%;
        margin: 0;
    }
}

@media (max-width: 47em) {
    .formfields .passwordChecker {
        float: left;
        width: 100%;
        margin: 0;
    }
}

.formfields .passwordChecker {
    display: none;
    float: left;
    background-color: #f7f7f7;
}

.passwordChecker .passwordStrength {
    height: .5em;
    transition: 0.5s;
}

.formfields [type="checkbox"]:focus,
.formfields [type="radio"]:focus {
    box-shadow: none;
    border: none;
    outline: none;
}

.formfields select {
    background-image: url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2216%22%20height%3D%228%22%20viewBox%3D%220%200%2016%208%22%3E%3Cpolygon%20fill%3D%22%234D4D4D%22%20points%3D%228%2C0%2016%2C0%2012%2C4%208%2C8%204%2C4%200%2C0%20%22/%3E%3C/svg%3E);
    background-repeat: no-repeat;
    background-position: 95% 50%;
    padding-right: 1.5em;
    min-width: 100%;
}

@media (min-width: 48em) {
    .formfields select {
        min-width: 0;
    }
}

.formfields + input[type="submit"] {
    padding: 0.5em 2em;
    width: auto;
    margin-top: 10px;
}

@media (min-width: 48em) {
    .formfields + input[type="submit"] {
        margin-left: 30%;
    }
}

.formfields .options label, .formfields .options label .label, label .formfields .options .label {
    float: none;
    text-align: left;
}

.formfields .two-options > div {
    float: left;
    width: 50%;
}

.formfields .two-options > div > input {
    display: inline-block;
}

.formfields .two-options > div > label, .formfields label .two-options > div > .label, label .formfields .two-options > div > .label {
    display: inline-block;
}

.formfields [readonly] {
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    pointer-events: none;
    padding: 0;
    background: none;
    border: none;
    width: auto;
}

.formfields .textarea-counter {
    width: 40px;
    text-align: right;
}

@media (min-width: 48em) {
    .formfields .textarea-counter {
        float: none;
        margin-left: 30%;
    }
}


@media (min-width: 48em) {
    .formfields .single-input-wrapper {
        float: none;
        clear: both;
      margin-left: 30%;
    }
}

/* === Fix for checkbox alignment on einstellungen.php === */
/* Targets only the two checkbox sections on the Einstellungen page */

form[action="einstellungen.php"] .single-input-wrapper {
  margin-left: 0 !important; /* removes awkward centering */

}

/* Override label alignment for this form only */
form[action="einstellungen.php"] .formfields label {
  text-align: left !important; /* fixes misaligned long label text */
}

.formfields .formButton {
    width: auto;
    margin-top: 2em;
}

a.formButton {
    appearance: button;
    background-color: #f7f7f7;
    margin-top: 2em;
    border: 1px solid #cccccc;
    color: #333333;
    padding: 0.5em 2em 0.5em 2em;
    text-decoration: none;
}

.formfields #benutzernameInfoFeld {
    display: inline-block;
    padding: 0.5em 0;
}

.formButton:hover {
    background-color: #EDEDED; /* Dunklere Hintergrundfarbe beim Hover */
    border: 1px solid #333333; /* Dunklere Umrandung beim Hover */
}
.formButton:focus {
    background-color: #EDEDED;
    border: 1px solid #333333;
    outline: none;
}

form[action="einstellungen.php"] input.formButton {
  margin-left: 30%;
  padding: 0.5em 2em;
  font-size: 16px;
  width: auto;
} /* This will override and target specifically the first speichern button on the einstellungen page to change position, size */



@media (min-width: 48em) {
    .formfields .formFieldCheckboxMulti {
        float: left;
        width: 70%;
        margin: 0;
        padding-top: 0.5em;
        padding-bottom: 0.5em;
    }
}

.formfields .formFieldCheckboxMulti > div > label, .formfields label .formFieldCheckboxMulti > div > .label, label .formfields .formFieldCheckboxMulti > div > .label {
    padding-top: 0;
    padding-bottom: 0.1em;
}

.formfields .helpText {
    opacity: 0;
    clear: both;
    max-height: 0;
    overflow: hidden;
    transition: all 300ms ease-out;
    background-color: #f7f7f7;
    will-change: max-height, opacity;
    padding: 0.5em;
}

.tippText {
    clear: both;
    overflow: hidden;
    transition: all 300ms ease-out;
    background-color: #f7f7f7;
    padding: 0.5em;
    display: none;
    color: #333333;
}

@media (min-width: 48em) {
    .formfields .helpText {
        margin-left: 30%;
    }
}

@media (min-width: 48em) {
    .tippText {
        margin-left: 30%;
    }
}

@media (min-width: 64em) {
    .formfields .helpText {
        position: absolute;
        top: 0;
        left: 105%;
        width: 50%;
        margin-left: 0;
    }
}

.formfields textarea:focus ~ .helpText,
.formfields select:focus ~ .helpText,
.formfields input:focus ~ .helpText {
    opacity: 1;
    max-height: 99em;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}

@media (min-width: 64em) {
    .formfields textarea:focus ~ .helpText,
    .formfields select:focus ~ .helpText,
    .formfields input:focus ~ .helpText {
        margin: 0;
    }
}

/* Layout
 * ===================================================================
 */
.container {
    min-height: 100%;
    max-width: 1400px;
    margin: 0 auto;
    /*overflow-x: hidden;*/
    position: relative;
}

@media (min-width: 48em) {
    .custom-class{
        max-width: 100%;
        display: flex;
        flex-direction: column;
    }
}

@media (min-width: 48em) {
    .container-desktop{
        max-width: 1320px;
        margin-left: auto!important;
        margin-right: auto!important;
    }
    .content-desktop{
        width: 100%!important;
        margin-right: 0!important;
        /*display: flex;*/
        /*flex-direction: column;*/
    }
}

[role="banner"] {
    width: 100%;
    float: right;
    margin-left: 0;
    margin-right: 0;
    clear: none;
    display: flex;
    position: fixed;
    top: 0;
    z-index: 100;
    background-image: -webkit-linear-gradient(top, #e9e7ef 85%, #d5d2dd 100%);
}

@media (min-width: 37.5em) {
    [role="banner"] {
        width: 100%;
        float: right;
        margin-left: 0;
        margin-right: 0;
        clear: none;
        display: flex;
    }
}


[role="main"] {
    width: 91.6666666667%;
    float: right;
    margin-left: 0;
    margin-right: 4.1666666667%;
    clear: none;
    margin-bottom: 2em;
}

@media (min-width: 37.5em) {
    [role="main"] {
        width: 91.6666666667%;
        float: right;
        margin-left: 0;
        margin-right: 4.1666666667%;
        clear: none;
    }
}

@media (min-width: 48em) {
    [role="main"] {
        width: 94.4444444444%;
        float: right;
        margin-left: 0;
        margin-right: 2.7777777778%;
        clear: none;
    }
}

@media (min-width: 37.5em) {
    .layout-twocols [role="main"] {
        width: 91.6666666667%;
        float: right;
        margin-left: 0;
        margin-right: 4.1666666667%;
        clear: none;
    }
}


@media (min-width: 64em) {
    .layout-twocols [role="main"] {
        width: 61.1111111111%;
        float: left;
        /* margin-right: -100%; */
        margin-left: 2.7777777778%;
        clear: both;
        margin-bottom: 0;
    }
}

[role="complementary"] {
    width: 91.6666666667%;
    float: right;
    margin-left: 0;
    margin-right: 4.1666666667%;
    clear: none;
}

@media (min-width: 37.5em) {
    .layout-twocols [role="complementary"] {
        width: 91.6666666667%;
        float: right;
        margin-left: 0;
        margin-right: 4.1666666667%;
        clear: none;
    }
}

@media (min-width: 64em) {
    .layout-twocols [role="complementary"] {
        width: 27.7777777778%;
        float: right;
        margin-left: 0;
        margin-right: 2.7777777778%;
        clear: none;
    }
}

[role="navigation"] {
    width: 91.6666666667%;
    float: right;
    margin-left: 0;
    margin-right: 4.1666666667%;
    clear: none;
}

@media (min-width: 37.5em) {
    [role="navigation"] {
        width: 91.6666666667%;
        float: right;
        margin-left: 0;
        margin-right: 4.1666666667%;
        clear: none;
    }
}

@media (min-width: 48em) {
    [role="navigation"] {
        width: 94.4444444444%;
        float: right;
        margin-left: 0;
        margin-right: 2.7777777778%;
        clear: none;
    }
}

[role="contentinfo"] {
    width: 100%;
    float: right;
    margin-left: 0;
    margin-right: 0;
    background-color: black;
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.1);
    clear: both;
    margin-top: 0;
    margin-bottom: 0;
    padding-bottom: 10px;
}

[role="contentinfo"] > div {
    width: 91.6666666667%;
    clear: right;
    float: right;
    margin-left: 0;
    margin-right: 4.1666666667%;
    padding: 1.5em 0;
    color: lightgrey;
}

[role="contentinfo"] > div:nth-child(2) {
    padding-top: 0.5em;
}

[role="contentinfo"] a {
    color: #e6e6e6;
    text-decoration-color: #e6e6e6;
}

@media (min-width: 37.5em) {
    [role="contentinfo"] {
        width: 100%;
        float: right;
        margin-left: 0;
        margin-right: 0;
        clear: none;
    }
    [role="contentinfo"] > div {
        width: 91.6666666667%;
        clear: right;
        float: right;
        margin-left: 0;
        margin-right: 4.1666666667%;
    }
}

@media (min-width: 48em) {
    [role="contentinfo"] {
        width: 94.4444444444%;
        float: right;
        margin-left: 0;
        margin-right: 2.7777777778%;
        clear: none;
        background: black!important;
        border: 1px solid #B7B7B7;
        border-radius: 5px;
        padding-bottom: 0;
        position: relative;
        z-index: 0;
    }
    [role="contentinfo"]:before {
        position: absolute;
        content: "";
        top: 0;
        left: -50%;
        bottom: 0;
        background: black;
        right: 0;
        width: 200%;
        height: 100%;
        z-index: -1;
        display: block;
    }
}

@media (min-width: 64em) {
    [role="contentinfo"] {
        width: 94.4444444444%;
        float: right;
        margin-left: 0;
        margin-right: 2.7777777778%;
        clear: both;
        display: flex;
        flex-wrap: wrap;
    }
    [role="contentinfo"] > div {
        flex: 1 0 27.7777777778%;
        margin: 0;
        padding: 2em 2.0833333333%;
    }
    [role="contentinfo"] > div:nth-child(2) {
        flex: 0 0 100%;
        padding-bottom: 0;
    }
    [role="contentinfo"] > div:first-of-type {
        border-left: none;
    }
    [role="contentinfo"] > div:last-of-type {
        border-right: none;
    }
    [role="contentinfo"] > div:nth-child(3) {
        padding-top: 2em;
    }
}

.content {
    width: 100%;
    float: right;
    margin-left: 0;
    margin-right: 0;
    padding-top: 53px;
    padding-bottom: 1em;
    background-color: #ffffff;
    clear: both;
}

@media (min-width: 37.5em) {
    .content {
        width: 100%;
        float: right;
        margin-left: 0;
        margin-right: 0;
        clear: none;
        padding-top: 53px;
    }
}

@media (min-width: 48em) {
    .content {
        width: 94.4444444444%;
        float: right;
        margin-left: 0;
        margin-right: 2.7777777778%;
        clear: both;
        padding-top: 53px;
        background: #ffffff;
    }
}

@media (min-width: 64em) {
    .content {
        padding-top: 2em;
        padding-bottom: 5em;
      /*  margin-left: 2em; */ /* i commented this line out in to reorder the content on the Agentur page back to normal since it was shifted to the right */
    }
}

.logo {
    float: left;
    margin-right: auto;
    margin-left:auto;
    clear: none;
    position: relative;
    height: 0;
    padding-top: 20px;
    width: 58.3333333333%;
    margin-top: 15px;
    margin-bottom: 18px;
    max-width: 222px;
    max-height: 55px;
}

.logo img {
    display: block;
    position: absolute;
    width: 100% !important;
    height: 100% !important;
    top: 0;
    margin: 0;
    padding: 0;
}

@media (min-width: 37.5em) {
    .logo {
        float: left;
        margin-right: auto;
        margin-left:auto;
        clear: none;
        position: relative;
        height: 0;
        padding-top: 20px;
        width: 41.6666666667%;
        margin-top: 15px;
        margin-bottom: 18px;
    }
    .logo img {
        display: block;
        position: absolute;
        width: 100% !important;
        height: 100% !important;
        top: 0;
        margin: 0;
        padding: 0;
    }
}

@media (min-width: 64em) {
    .logo {
        float: left;
        clear: none;
        position: relative;
        height: 0;
        padding-top: 6.9444444444%;
        width: 22.7777777778%;
        margin-top: 1em;
        margin-bottom: 1em;
        max-width: 100%;
        display: none;
    }
    .logo img {
        display: block;
        position: absolute;
        width: 100% !important;
        height: 100% !important;
        top: 0;
        margin: 0;
        padding: 0;
    }
}

.logo > img {
    max-height: 100%;
}

.client-name {
    display: block;
    color: #e6e6e6;
    font-weight: bold;
    font-size: 1em;
    margin-top: 0;
    margin-bottom: 0;
}

.client-name > em {
    display: block;
    color: #333333;
    font-style: normal;
}

@media (min-width: 37.5em) {
    .btn-toggle-menu {
        display: none;
    }
}

/* Navigations
 * ===================================================================
 */
/*! responsive-nav.js 1.0.40 by @viljamis */
.js .nav-collapse,
.js .nav-collapse .dropdown ul {
    clip: rect(0 0 0 0);
    max-height: 0;
    position: absolute;
    display: block;
    overflow: hidden;
}

.nav-collapse.opened,
.nav-collapse .dropdown.opened ul {
    max-height: 9999px;
}

.nav-collapse .dropdown.opened > ul,
.nav-collapse .dropdown .dropdown.opened > ul {
    position: relative;
}

.nav-toggle,
.dropdown-toggle {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

.nav-toggle {
    position: absolute;
    top: 1em;
    right: 1em;
}

@media (min-width: 64em) {
    .js .nav-collapse {
        position: relative;
    }
    .js .nav-collapse.closed,
    .js .nav-collapse.closed .dropdown ul {
        max-height: none;
        overflow: visible;
        padding-top: 1.625em;
        padding-bottom: 1.625em;
        position: sticky!important;
        background: #e9e7ef;
        top: 0;
        z-index: 100;
    }
    .nav-toggle {
        display: none;
    }
    .js .nav-collapse:before {
        position: absolute;
        top: 0;
        left: -50%;
        bottom: 0;
        background: #e9e7ef;
        right: 0;
        width: 200%;
        height: 100%;
        z-index: -1;
        display: block;
    }
}

.tcon {
    appearance: none;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 25px;
    transition: 0.3s;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    width: 25px;
    background: transparent;
    outline: none;
    border-radius: 5px;
    padding: 0;
    box-sizing: content-box;
}

@media (min-width: 64em) {
    .tcon {
        display: none;
    }
}

.tcon > * {
    display: block;
}

.tcon:hover, .tcon:focus {
    outline: none;
}

.tcon::-moz-focus-inner {
    border: 0;
}

.tcon-menu__lines {
    display: inline-block;
    height: 3px;
    width: 24px;
    border-radius: 0;
    transition: 0.3s;
    background: #333333;
    position: relative;
}

.tcon-menu__lines::before, .tcon-menu__lines::after {
    display: inline-block;
    height: 3px;
    width: 24px;
    border-radius: 0;
    transition: 0.3s;
    background: #333333;
    content: '';
    position: absolute;
    left: 0;
    transform-origin: 1.7142857143px center;
    width: 100%;
}

.tcon-menu__lines::before {
    top: 6px;
}

.tcon-menu__lines::after {
    top: -6px;
}

.active .tcon-menu__lines {
    transform: scale3d(0.6, 0.6, 0.6);
}

.tcon-menu--xbutterfly .tcon-menu__lines::before, .tcon-menu--xbutterfly .tcon-menu__lines::after {
    transform-origin: 50% 50%;
    transition: top .3s .6s ease, transform .3s ease;
}

.tcon-menu--xbutterfly.active .tcon-menu__lines {
    background: transparent;
    margin-right: 1px;
}

.tcon-menu--xbutterfly.active .tcon-menu__lines::before, .tcon-menu--xbutterfly.active .tcon-menu__lines::after {
    background-color: #3a383d;
    top: 0;
    transition: top .3s ease, transform .3s .5s ease;
    width: 25px;
}

.tcon-menu--xbutterfly.active .tcon-menu__lines::before {
    transform: rotate3d(0, 0, 1, 45deg);
}

.tcon-menu--xbutterfly.active .tcon-menu__lines::after {
    transform: rotate3d(0, 0, 1, -45deg);
}

.tcon-visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.tcon-visuallyhidden:active, .tcon-visuallyhidden:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.nav-main {
    padding-bottom: 1px;
    padding-top: 20px;
    background: #e9e7ef;
}

@media (min-width: 64em) {
    .nav-main {
        padding-bottom: 0;
        margin-bottom: -1px;
        vertical-align: middle;
        padding-top: 0;
        background: none;
        display: flex;
     /*   gap: 60px; */
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }
}

.nav-main__item {
    position: relative;
    margin: 1.3em calc(4.17% + 12px) 1em calc(4.17% + 12px);
    border-bottom: 1px solid #d2cdda;
    text-transform: uppercase;
}

.nav-main__item > a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -1px;
  width: 0;
  height: 3px;
  background: #000;
  transition: width 0.15s ease-in-out, left 0.15s ease-in-out;
}

.nav-main__item > a:hover::after {
  width: 100%;
  left: 0;
}

.nav-main__item .is-active > a::before{ content:none; }
.nav-main__item .is-active > a::after{
  background:#BC0600;
  width:100%;
  left:0;
  transition:none;
}

.nav-main__item.is-active > a:hover::after {
  content: none !important;
}


@media (min-width: 64em) {
    .nav-main__item {
        display: inline-block;
        margin: 0;
        border-bottom: none;
        vertical-align: bottom;
    }
}

.nav-main__item > a,
.nav-main__item > h3 {
    color: #000000;
    font-size: 1em;
    font-weight: bold;
    margin-top: 0;
    margin-bottom: 10px;
    border-radius: 5px;
}

@media (min-width: 64em) {
    .nav-main__item > a,
    .nav-main__item > h3 {
        border-radius: 5px 5px 0 0;
        padding: 0.25em 0;
        margin: 0;
        color: #000000;
    }
    .nav-main__item:nth-child(1) a{
        margin-left: 0;
    }
}

.nav-main__item.has-dropdown > h3 {
    display: none;
}

@media (min-width: 64em) {
    .nav-main__item.has-dropdown > h3 {
        border-radius: 5px 5px 0 0;
        cursor: default;
        display: block;
    }
    .nav-main__item.has-dropdown:hover .dropdown {
        display: block;
    }
}

.nav-main__item.has-dropdown:hover .dropdown {
    left: auto;
}

.nav-main__item .is-visible + .dropdown {
    left: auto;
}

.nav-sub {
    border-top-width: 0;
    border-radius: 0 0 5px 5px;
    display: none;
}

@media (min-width: 64em) {
    .nav-sub {
        position: absolute;
        left: -999em;
        top: 103%;
        min-width: 11em;
        z-index: 2;
        background-color: #e9e7ef;
        border: 1px solid #C0CFD7;
    }
}

@media (min-width: 64em) {
    .nav-sub__item {
        border-top: 1px solid #d2cdda;
    }
}

.nav-sub__item:first-child {
    border-top: none;
}

.nav-sub__item:last-child a {
    border-radius: 0 0 5px 5px;
}

.nav-sub__item > a {
    color: #383838;
    padding: 0.75em 0;
    margin-left: 0.75em;
}

@media (min-width: 64em) {
    .nav-sub__item > a {
        color: #000000;
        padding: 0.25em 0;
        margin-left: 0.75em;
        background: #e9e7ef;
    }
}

.nav-sub__item:last-child {
    padding-bottom: 0.75em;
}

@media (min-width: 64em) {
    .nav-sub__item:last-child {
        padding-bottom: 0;
    }
    .nav-sub__item > a:focus, .nav-sub__item > a:hover {
        background-color: #fbfae4;
        color: #BC0600;
    }
}

.nav-sub__item > a:focus, .nav-sub__item > a:hover {
    background-color: unset;
    color: #D51616;
}

.is-active > a,
.is-active > h3 {
    font-weight: bold;
    position: relative;
    width: -moz-fit-content;
    width: fit-content;
}

.is-active > a::before{
    position: absolute;
    bottom: -11px;
    left: 0;
    content: " ";
    width: 100%;
    height: 3px;
    background: #BC0600;
    z-index: 0;
}

@media (max-width: 64em) {
    .nav-sub .is-active > a::before{
        position: absolute;
        bottom: 1px;
        left: 0;
        content: " ";
        width: 100%;
        height: 3px;
        background: #BC0600;
        z-index: 0;
    }
    .nav-main__item.is-active > a:hover::after {
        content: none !important;
    }
    .is-active .toggle-container > h3{
        position: relative;
    }
    .is-active .toggle-container > h3::before{
        position: absolute;
        bottom: -11px;
        left: 0;
        content: " ";
        width: 100%;
        height: 3px;
        background: #BC0600;
        z-index: 0;
    }
}

@media (min-width: 64em) {
    .is-active > a::before,
    .is-active > h3::before{
        position: absolute;
        bottom: -1px;
        left: 0;
        content: " ";
        width: 100%;
        height: 3px;
        background: #BC0600;
        z-index: 0;
    }
}

.nav-language {
    margin: 1em 0 1em calc(4.17% + 12px);
}

@media (min-width: 64em) {
    .nav-language {
        display: inline-block;
        margin: 0.25em;
        margin-left: 1.25em;
        vertical-align: middle;
    }
}

@media (min-width: 80em) {
    .nav-language {
        margin-left: 2.25em;
    }
}

.nav-language > span {
    color: #999999;
}

.nav-language > a {
    border-left: 1px solid #999999;
    display: inline;
    margin-left: 0.25em;
    padding: 0 0.5em;
}

.nav-language > a:first-of-type {
    border-left: none;
    margin-right: -0.5em;
}

.touch .footer-nav {
    margin-top: -0.5em;
}

.footer-nav > li {
    position: relative;
}

.footer-nav > li:before {
    content: "\00BB";
    position: absolute;
    top: 0;
    left: 0;
}

.footer-nav > li > a {
    display: block;
    margin-left: 1em;
}


@media (max-width: 63.95em) {

    .nav-language,
    #darkmode-pic {
      display: inline-flex;        /* inline, not full-width blocks */
      align-items: center;
      vertical-align: middle;
      margin: 1em calc(4.17% + 12px) 0; /* match your mobile margins */
      border-bottom: 0;            /* avoid a divider between them */
      white-space: nowrap;
      margin-bottom: 2em;
    }

    /* a bit of space between them */
    #darkmode-pic { margin-left: .75em; }
}

@keyframes slideShow {
    0% {
        opacity: 0;
        transform: scale(1);
    }
    5% {
        opacity: 1;
    }
    25% {
        opacity: 1;
    }
    30% {
        opacity: 0;
        transform: scale(1.1);
    }
    100% {
        opacity: 0;
        transform: scale(1);
    }
}

/* Homepage picture*/

@keyframes slideShow {
    0% {
        opacity: 0;
        -webkit-transform: scale(1);
        transform: scale(1);
    }
    5% {
        opacity: 1;
    }
    25% {
        opacity: 1;
    }
    30% {
        opacity: 0;
        -webkit-transform: scale(1.1);
        transform: scale(1.1);
    }
    100% {
        opacity: 0;
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}

.slideshow-wrapper {
    overflow: hidden;
    position: relative;
    padding-top: 42.8571428571%;
    margin-bottom: 2em;
    margin-top: -1px;
}

@media (min-width: 48em) {
    .slideshow-wrapper {
        margin-top: -1em;
    }
}

@media (min-width: 64em) {
    .slideshow-wrapper {
        margin-top: -3em;
    }
}

@media (max-width: 63.95em) {
    .slideshow-wrapper {
        margin-bottom: 0;
    }
}

.slideshow-wrapper > figure {
    -webkit-animation: slideShow 48s linear 1 0s;
    animation: slideShow 48s linear 1 0s;
    opacity: 0;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    will-change: opacity, transform;
}

.slideshow-wrapper > figure > img {
    min-width: 100%;
    height: 100%;
    object-fit: cover;
}

figure:nth-child(1) {
    -webkit-animation-delay: 0s;
    animation-delay: 0s;
}

figure:nth-child(2) {
    -webkit-animation-delay: 6s;
    animation-delay: 6s;
}

figure:nth-child(3) {
    -webkit-animation-delay: 13s;
    animation-delay: 13s;
}

figure:nth-child(4) {
    -webkit-animation-delay: 20s;
    animation-delay: 20s;
}

figure:nth-child(5) {
    -webkit-animation-delay: 27s;
    animation-delay: 27s;
}

figure:nth-child(6) {
    -webkit-animation-delay: 34s;
    animation-delay: 34s;
}

figure:nth-child(7) {
    -webkit-animation-delay: 41s;
    animation-delay: 41s;
}

figure:nth-child(1) {
    opacity: 1;
}

@media (min-width: 48em) {
    .client-list {
        -moz-columns: 2;
        columns: 2;
        -moz-column-gap: 3em;
        column-gap: 3em;
    }
}

@media (min-width: 64em) {
    .client-list {
        -moz-columns: 3;
        columns: 3;
        -moz-column-gap: 3em;
        column-gap: 3em;
    }
}

@media (min-width: 80em) {
    .client-list {
        -moz-columns: 4;
        columns: 4;
        -moz-column-gap: 3em;
        column-gap: 3em;
    }
}

/* Begin success stories */
.sx-scope *{box-sizing:border-box;}
.sx-scope img{max-width:100%;height:auto;}

.sx-scope.sx-testimonials{
    margin:12px 0 24px;
    font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif;
    color:#111;
}

/* frame must NOT clip buttons */
.sx-scope .sx-carousel{
    position:relative;
    overflow:visible;
    border-radius:5px;
}
.sx-scope .sx-slides{position:relative;min-height:236px;}

/* slide transitions */
.sx-scope .sx-slide{
    position:absolute; inset:0; opacity:0; pointer-events:none;
    transform:translateX(28px);
    transition:opacity .7s ease, transform .7s ease;
}
.sx-scope .sx-slide.is-active{opacity:1; transform:translateX(0); pointer-events:auto;}
.sx-scope .sx-slide.is-leaving{opacity:0; transform:translateX(-28px);}

/* card */
.sx-scope .sx-quote{
    position:relative;
    background:var(--sx-card-bg,#fff);
    color:var(--sx-fg,#111);
    border:1px solid var(--sx-border,rgba(0,0,0,.05));
    border-radius:5px;
    padding:20px 22px 56px;  /* bottom space for buttons */
    box-shadow:0 0 4px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.04);
    min-height:210px;
}
.sx-scope .sx-quote-mark{
    position:absolute; top:10px; left:18px;
    font-size:34px; font-weight:800; color:#D51616;
}

/* typography (match site) */
.sx-scope .sx-testimonials h2{
    all:unset; display:block; margin:0 0 12px;
    color:#334; font-weight:700; font-size:clamp(22px,2.4vw,28px); line-height:1.2;
}
.sx-scope .sx-quote h3{
    all:unset; display:block; margin:0 0 6px 34px;
    color:var(--sx-fg,#000);
    font-family:var(--sx-body-font,system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif);
    font-weight:800; font-size:clamp(18px,2vw,22px); line-height:1.28;
}
.sx-scope .sx-quote p{
    all:unset; display:block; margin:6px 0 14px 34px;
    color:var(--sx-fg,#000);
    font-family:var(--sx-body-font,system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif);
    font-size:clamp(15px,1.6vw,18px); line-height:1.55;
}
.sx-scope .sx-person{display:flex; gap:12px; align-items:center; margin-left:34px;}
.sx-scope .sx-person img{width:48px; height:48px; border-radius:50%; object-fit:cover; border:3px solid #e9e9e9;}
.sx-scope .sx-person strong{
    display:block; color:var(--sx-fg,#000);
    font-family:var(--sx-headline-font,system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif);
    font-weight:800; font-size:1rem;
}
.sx-scope .sx-person span{
    display:block; color:var(--sx-fg,#000);
    font-family:var(--sx-body-font,system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif);
    font-size:14px;
}

  .sx-prev::before,
  .sx-next::before{
    display:none;
  }

/* for testing */

  /* === BUTTONS anchored to card (half in / half out) === */
  .sx-scope .sx-quote .sx-nav{
  position:absolute; z-index:3;
  width:44px; height:44px; border-radius:50%;

  /* Geometric centering that ignores font baselines */
  /* display:grid; */
  place-items:center;

  /* Keep ALL your existing visuals */
  background:#d9d9d9; color:#111;
  font-weight:700; cursor:pointer;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9),
              0 2px 4px rgba(0,0,0,.08),
              0 8px 16px rgba(0,0,0,.06);
  bottom:-22px;        /* cuts through the circle center */
  right:12px;
  transition: transform .12s ease, background .2s ease, box-shadow .2s ease;

    /* Kill baseline/leading so the original button text can't move the glyph */
    font-size:0;       /* hides the literal '‹' / '›' text node without layout shift */
    line-height:0;     /* removes font leading from the container */

    /* Controls for the arrow glyph we draw via ::before */
    --sx-icon-size: 32px;  /* your desired size */
    --sx-icon-scale: 1;    /* optional optical scale (e.g. 1.06) */
    --sx-nudge-y: -0.9px;     /* tiny vertical nudge (e.g. -0.5px) if your font sits low */
}

/* Draw the arrow via pseudo-element so we can center/nudge independently */
.sx-scope .sx-quote .sx-nav::before{
    display:block;
    line-height:1;                 /* neutral leading around the glyph itself */
    font-size:var(--sx-icon-size); /* 32px by default */
    transform: translateY(var(--sx-nudge-y)) scale(var(--sx-icon-scale));
    transform-origin:center;       /* scaling stays pinned to geometric center */
}

/* Provide the arrow characters per button type */
.sx-scope .sx-quote .sx-prev::before{ content:''; }
.sx-scope .sx-quote .sx-next::before{ content:''; }


.sx-scope .sx-quote .sx-prev{ right:60px; }
.sx-scope .sx-quote .sx-nav:hover{
    background:#d2d2d2;
    box-shadow:
               inset 0 1px 0 rgba(255,255,255,.95),
               0 3px 6px rgba(0,0,0,.10),
               0 10px 18px rgba(0,0,0,.08);
}
.sx-scope .sx-quote .sx-nav:active,
.sx-scope .sx-quote .sx-nav.is-pressing{ transform:scale(.985) }
.sx-scope .sx-quote .sx-nav{border: none;}

/* mobile tweaks */
@media (max-width:700px){
    .sx-scope .sx-wrap{max-width:92vw}
    .sx-scope .sx-quote{ padding:16px 16px 50px; }
    .sx-scope .sx-quote-mark{ left:14px }
    .sx-scope .sx-quote h3{ margin-left:30px; font-size:20px }
    .sx-scope .sx-quote p{ margin-left:30px }
    .sx-scope .sx-person{ margin-left:30px }

    .sx-scope .sx-quote .sx-nav{
        width:40px; height:40px; font-size:16px;bottom:-20px;
    }
    .sx-scope .sx-quote .sx-prev{ right:56px; }
}

/* dark mode match */
body.darkmode #sx-testimonials{
    --sx-card-bg: var(--starboxx-bg, #121212);
    --sx-fg: #e9e9e9;
    --sx-border: rgba(255,255,255,.08);
}
body.darkmode #sx-testimonials .sx-quote .sx-nav{
    background:#3a3a3a;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.08),
               0 2px 4px rgba(0,0,0,.6),
               0 8px 16px rgba(0,0,0,.5);
}
body.darkmode .sx-nav svg path {
    fill: #eaeaea;
  }/* End success stories */

.client-list > li {
    padding-left: 0;
    page-break-inside: avoid;
    break-inside: avoid;
}

.client-list > li:before {
    content: none;
}

.client-list > li:first-child h3 {
    margin-top: 0;
}

/* Contact + Social Profiles layout */
.contact-social-wrapper {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}


@media (min-width: 64em) {
  .contact-social-wrapper {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }

  .layout-twocols [role="main"] {
    /* width: 100%; */
   /* margin-left: 0  !important; /* fixes misalignment on the page */
    margin-right: 0 !important;
    /* float: none; */
  }

  .layout-twocols [role="complementary"] {
    /* display: none; Auskommentiert am 10.11.2025. "aside" wurde so generell ausgeblendet. */
  }

  .contact-form,
  .social-form {
    flex: 1;
    min-width: 0;
  }

  .contact-form {
    margin-right: 2rem;
  }

}


/* ---------- LIGHT THEME TOKENS ---------- */
.sbx{
  --r:0px;
  --bg:#ffffff;
  --surface:#ffffff;
  --surface-2:#7e7e7e;
  --text:#111827;
  --muted:#333333;
  --border:#e5e7eb;
  --focus:#D51616;
  --title:#00297C;
  --shadow:0 1px 0px rgba(0,0,0,.05);
}

.sbx .option {
  color: var(--text); /* stays normal until hover */
}
.sbx .option:hover {
  background: #7e7e7e; /* dark background for hover */
  color: #ffffff;      /* text turns white */
}

/* ---------- DARK THEME TOKENS (PURE BLACK) ---------- */
.darkmode .sbx{
  --bg:#000000;
  --surface:#0a0a0a;
  --surface-2:#333333;
  --text:#333333;
  --input-text:#111827;
  --muted:#f8fafc;
  --border:#000000;
  --focus:#333333;
  --title:#f8fafc;
  --shadow:0 1px 0 rgba(255,255,255,.06);
}

.darkmode .textarea-counter {
    color: white;
}


.darkmode .sbx .option:hover {
  background: #7e7e7e; /* light background for hover in dark mode */
  color: #f8fafc;      /* text turns black */
}

body.darkmode .sbx .icon-btn:hover {
  border: 1px solid #D51616;
  outline: none; /* avoid outline artifacts */
}

.darkmode body, .dark html { background:#000000; }
.darkmode .sbx .card,
.darkmode .sbx .field,
.darkmode .sbx .select-btn {background: #000000;}
.darkmode .sbx .field {background: #FFFFFF ;}
.darkmode .sbx .select .dropdown {background: #FFFFFF ;}
.darkmode .sbx .select-btn,
.darkmode .sbx .dropdown { background:#FFFFFF ; }
.darkmode .sbx .btn.save {
  background: #b91c1c; /* darker red */
  color: #fff;
}

/* .darkmode #sbx-social-profiles #social-form .field input[data-url] { */
 /* color: #333333; /* or #ffffff for pure white  */


.darkmode #sbx-social-profiles #social-form .field input[data-url]::placeholder {
  color: #333333; /* or match the dropdown label color */
}

.darkmode .sbx .btn.add {
  background: #D51616; /* darker blue */
  color: #fff;
}
.darkmode .sbx .btn.add:disabled,
.darkmode .sbx .btn.save:disabled {
  background: #555;
  opacity: 0.6;
}



/* ---------- CARD ---------- */
.sbx * {
    box-sizing:border-box;
}
.sbx .card {
  max-width:900px;
  margin:auto;
  border:1px solid var(--border);
  border-radius:var(--r);
  background:var(--surface);
  box-shadow:var(--shadow);
  overflow:visible;
}
.sbx .card-header {
    padding:22px 24px;
    border-bottom:1px solid var(--border);
}
.sbx .card-title{ font:700 26px/1.2 Roboto,Helvetica,Arial,sans-serif; color:var(--title); }
.sbx .card-desc{ color:var(--muted); font:400 17px/1.4 Roboto,Helvetica,Arial,sans-serif; margin-top:6px; }
.sbx .card-body{ padding:16px 24px; }

/* ---------- ROWS ---------- */
.sbx .row{ display:grid; grid-template-columns: 40% 45% 20%; gap:14px; align-items:center; margin-bottom:14px; }

/* ---------- FIELDS ---------- */
.sbx .field, .sbx .select-btn, .sbx .icon-btn{
  height:56px; border-radius:var(--r); font-size:17px; font-family:Roboto,Helvetica,Arial,sans-serif;
}
.sbx .field{
  border:1px solid var(--border);
  display:flex;
  align-items:center;
  background:#f7f7f7;
  position: relative;
}
.sbx .field input{
  width:100%;
  height:100%;
  border:0;
  outline:none;
  padding:0 14px;
  font-size:17px;
  color:var(--text);
  background:transparent;
}
.sbx .field input::placeholder{ color:var(--muted); }
.sbx .field input:focus{  border-color:var(--focus); }
.sbx .field input.error-input{ border:1px solid #ef4444; }

/* Error message */
.sbx .error-popup{
  position: absolute;
  top: 100%; left: 0;
  white-space: nowrap;
  background-color: #ef4444;
  color: white;
  padding: 6px 12px;
  border-radius: var(--r);
  font-size: 14px;
  z-index: 10;
  margin-top: 4px;
  display: none;
}

/* ---------- DROPDOWN ---------- */
.sbx .select{ position:relative; }
.sbx .select-btn{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  border:1px solid var(--border);
 /* background:var(--surface); */
  padding:0 14px;
  cursor:pointer;
  color:var(--text);
}
.sbx .select-btn:focus{ border-color:var(--focus); }
.sbx .select-value{ display:flex; align-items:center; gap:12px; min-width:0; }
.sbx .dropdown{
  position:absolute;
  z-index:4000;
  left:0; right:0; top:60px;
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--r);
  padding:6px;
  box-shadow:0 10px 30px rgba(0,0,0,.12);
  display:none;
  max-height:300px;
  overflow:auto;
}
.sbx .dropdown.open{ display:block; }
.sbx .dropdown.drop-up{ top:auto; bottom:60px; }
.sbx .option{
  display:flex;
  align-items:center;
  gap:12px;
  padding:10px;
  border-radius:var(--r);
  cursor:pointer;
  font-size:17px;
  color:var(--text);
}
.sbx .option:hover{ background:var(--surface-2); }

/* ---------- ICONS ---------- */
.sbx .icon{ width:24px; height:24px; border-radius:4px; display:inline-grid; place-items:center; fill: white; }
.sbx .icon svg{ width:18px; height:18px; display:block; color:#fff; }
.sbx .fb{ background:#1877F2; }
.sbx .ig{ background:#E4405F; }
.sbx .x { background:#000; }
.sbx .tt{ background:#010101; }
.sbx .in{ background:#0A66C2; }

.sbx .label{ white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }

.sbx .icon-btn{
  width:56px;
  display:grid;
  place-items:center;
  border:1px solid var(--border);
  /* background:var(--surface); */
  cursor:pointer;
  color:var(--text);
}
.sbx .icon-btn:hover { background: #EDEDED; border: 1px solid #333333; } /* added this hover for the trash icon to match that of speichern */
.sbx .icon-btn:focus {
  background-color: #EDEDED;
  border: 1px solid #333333;
  outline: none;
}  /* added this focus for the trash icon to match that of speichern button */

/*
.sbx .row .icon-btn svg {
  margin: auto;
  display: block;
}  */ /* added this to recenter the trash icon in the social form */


.sbx .icon-btn:disabled { opacity: 0.4; cursor: not-allowed;}

/* ---------- ACTION BUTTONS ---------- */
.sbx .actions{ display:flex; justify-content:center; align-items:center; padding:14px 24px 20px; border-top:1px solid var(--border); gap:16px; }
.sbx .count{ font-size:13px; color:var(--muted); }

/* UPDATED BUTTON STYLE (square + Roboto bold) */
.sbx .btn{
  height:44px;
  padding:0 16px;
  border-radius:0;
  border:1px solid transparent;
  display:inline-flex;
  align-items:center;
  gap:10px;
  cursor:pointer;
  font-family:'Roboto', sans-serif;
  font-weight:400;
  font-size:16px;
  line-height:1;
}
.sbx .btn.add{ background:var(--focus); color:#fff; }
.sbx .btn.add:disabled{ background:#9ca3af; cursor:not-allowed; opacity:.6; }
.sbx .btn.save{ background:var(--title); color:#fff; }

/* ---------- MESSAGE BOX ---------- */
.sbx .message-box-overlay{ position:fixed; inset:0; background:rgba(0,0,0,.5); display:flex; justify-content:center; align-items:center; z-index:5000; opacity:0; pointer-events:none; transition:opacity .3s; }
.sbx .message-box-overlay.visible{ opacity:1; pointer-events:all; }
.sbx .message-box{ background:var(--surface); color:var(--text); padding:24px; border-radius:0; box-shadow:var(--shadow); text-align:center; max-width:320px; transform:scale(.9); transition:transform .3s; }
.sbx .message-box-overlay.visible .message-box{ transform:scale(1); }
.sbx .message-box-message{ font:400 16px Roboto,sans-serif; margin-bottom:20px; }
.sbx .message-box-btn{ background-color:var(--focus); color:#fff; border:0; padding:10px 20px; border-radius:0; cursor:pointer; font:500 14px Roboto,sans-serif; }

/* ---------- MOBILE LAYOUT ---------- */
@media (max-width: 720px){
  .sbx .card{ border-radius:0; border-left:0; border-right:0; }
  .sbx .card-body{ padding:12px; }
  .sbx .row{ grid-template-columns: 1fr; gap:10px; margin-bottom:10px; }
  .sbx .icon-btn{ width:100%; height:44px; }
  .sbx .actions{ flex-wrap:wrap; gap:10px; }
  .sbx .btn{ flex:1 1 140px; justify-content:center; }
  .sbx .dropdown{ left:0; right:0; max-height:50vh; }
  #add {
    width:44px;
    height:44px;
    padding:0;
    font-size: 22px;
    text-indent: -999px;
    position:relative;
  }
  #add::before {
    content:"＋";
    text-indent:0;
    position:absolute;
    left:50%;
    top:50%;
    transform:translate(-50%, -50%);
  }
}

/* On desktop: side by side */
@media (min-width: 64em) {
  .contact-social-wrapper {
    flex-direction: row;
    align-items: flex-start;
  }
}


.overflow-gallery {
    width: auto !important;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    font-size: 0;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: -ms-autohiding-scrollbar;
    padding: 0.5rem 0 0;
}

.overflow-gallery figure {
    display: inline-block;
}

.overflow-gallery img {
    max-width: none;
}

.person-overview {
    font-size: 0.8125rem;
    max-width: 100%;
    min-width: 100%;
    clear: left;
}

@media (min-width: 80em) {
    .person-overview {
        font-size: 1rem;
    }
}

.person-overview .person-overview__item {
    background-color: white;
    border-top: 1px solid #cccccc;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 0.5em 0;
    position: relative;
}

.person-overview .person-overview__item .overflow-gallery {
    display: none;
}

.person-overview .person-overview__item:before {
    display: none;
}

.js .person-overview {
    display: none;
}

.js .person-overview.is-open {
    display: block;
}

.person-list__toggle,
.person-overview__toggle {
    background: none;
    border: none;
    min-width: 32px;
    min-height: 48px;
    padding: 0;
    width: auto;
}

.person-list__toggle svg,
.person-overview__toggle svg {
    transition: transform 200ms ease-out;
    transform-origin: 50%;
}

.person-list__toggle > span,
.person-overview__toggle > span {
    display: flex;
    align-items: center;
    pointer-events: none;
}

.person-list__toggle[aria-pressed="true"] svg,
.person-overview__toggle[aria-pressed="true"] svg {
    transform: rotate(180deg);
}

.person-list__toggle[aria-pressed="true"] ~ .person-overview__toggle--all,
.person-overview__toggle[aria-pressed="true"] ~ .person-overview__toggle--all {
    display: block;
}

.person-list__toggle:focus,
.person-overview__toggle:focus {
    outline: none;
}

.person-overview__toggle--all {
    display: none;
    background-color: white;
    border: none;
    border-top: 1px solid #cccccc;
    font-size: 0.875rem;
    padding: 0.5em 0;
    text-align: left;
}

.person-overview__toggle--all:focus {
    outline: none;
}

.person-overview__toggle--all[aria-pressed="true"] > svg {
    transform: rotate(180deg);
}

.person-overview__toggle--all > svg {
    box-sizing: content-box;
    padding: 0.25em;
    display: inline-block;
    vertical-align: middle;
    transition: transform 200ms ease-out;
    transform-origin: 50%;
}

.person-fav,
.person-note {
    color: #333333;
    min-width: 38px;
    min-height: 38px;
    padding: 0.5em;
    text-align: right;
    display: inline-block;
    vertical-align: top;
}

.person-fav > svg,
.person-note > svg {
    pointer-events: none;
}

.person-fav.is-faved > svg {
    color: #FFE043;
    fill: #FFE043;
}

.person-note {
    display: none;
    background: none;
    border: none;
    width: auto;
    position: relative;
}

@media (min-width: 37.5em) {
    .person-note {
        display: inline-block;
    }
}

.person-notes {
    display: none;
    min-width: 100%;
    padding-left: 1.5rem;
}

.person-notes button {
    width: auto;
    margin-top: 1em;
}

.person-overview__item.notes-open .person-notes {
    display: block;
}

.person-overview__item.is-open .person-overview__toggle svg {
    transform: rotate(180deg);
    transform-origin: 50%;
}

.person-overview__item.is-open .overflow-gallery {
    display: block;
    min-width: 100%;
}

@media (max-width: 37.4375em) {
    .person-overview .person-overview__item.is-open {
        align-items: flex-start;
    }
    .person-overview__item.is-open .person-note {
        display: inline-block;
    }
}

.gallery-view__list {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -0.5em;
}

.gallery-view__item {
    flex: 0 0 auto;
    padding: 0.5em;
    min-width: 50%;
}

@media (min-width: 37.5em) {
    .gallery-view__item {
        min-width: 33.3333333333%;
    }
}

@media (min-width: 48em) {
    .gallery-view__item {
        min-width: 25%;
    }
}

.gallery-view__imgwrap {
    display: block;
    height: 0;
    padding-top: 100%;
    overflow: hidden;
    position: relative;
}

.gallery-view__imgwrap > img {
    width: 100%;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    will-change: transform;
    transition: transform 300ms ease-in;
}

.gallery-view__link {
    display: block;
}

.gallery-view__link:focus img, .gallery-view__link:hover img {
    transform: scale(1.1);
}

.gallery-view__link:focus .gallery-view__name, .gallery-view__link:hover .gallery-view__name {
    transform: translateY(0);
}

.gallery-view__name {
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    font-size: 0.875rem;
    line-height: 1.214285714;
    padding: 0.25em;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 3;
    text-align: center;
}

@media (min-width: 80em) {
    .gallery-view__name {
        font-weight: bold;
        font-size: 1.3125rem;
        will-change: transform;
        transition: transform 100ms ease-out;
    }
}

.gallery-view__btn {
    appearance: button;
    background-color: #f7f7f7;
    color: #333333;
    display: block;
    max-width: 200px;
    min-width: 200px; /* trying to reajjust the size of the "mehr" button on models page */
    margin: 1em auto;
    border: 1px solid #cccccc;
    padding: 0.5em 2em 0.5em 2em;
}

.gallery-view__btn:hover {
    background-color: #EDEDED; /* Dunklere Hintergrundfarbe beim Hover */
    border: 1px solid #333333; /* Dunklere Umrandung beim Hover */
}

.gallery-view__btn:focus {
    background-color: #EDEDED;
    border: 1px solid #333333;
    outline: none;
}

/*! PhotoSwipe main CSS by Dmitry Semenov | photoswipe.com | MIT license */
/*
	Styles for basic PhotoSwipe functionality (sliding area, open/close transitions)
*/
/* pswp = photoswipe */
.pswp {
    display: none;
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    overflow: hidden;
    touch-action: none;
    z-index: 1500;
    -webkit-text-size-adjust: 100%;
    /* create separate layer, to avoid paint on window.onscroll in webkit/blink */
    -webkit-backface-visibility: hidden;
    outline: none;
}

.pswp * {
    box-sizing: border-box;
}

.pswp img {
    max-width: none;
}

/* style is added when JS option showHideOpacity is set to true */
.pswp--animate_opacity {
    /* 0.001, because opacity:0 doesn't trigger Paint action, which causes lag at start of transition */
    opacity: 0.001;
    will-change: opacity;
    /* for open/close transition */
    transition: opacity 333ms cubic-bezier(0.4, 0, 0.22, 1);
}

.pswp--open {
    display: block;
}

.pswp--zoom-allowed .pswp__img {
    /* autoprefixer: off */
    cursor: zoom-in;
}

.pswp--zoomed-in .pswp__img {
    /* autoprefixer: off */
    cursor: grab;
}

.pswp--dragging .pswp__img {
    /* autoprefixer: off */
    cursor: grabbing;
}

/*
	Background is added as a separate element.
	As animating opacity is much faster than animating rgba() background-color.
*/
.pswp__bg {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: #000;
    opacity: 0;
    -webkit-backface-visibility: hidden;
    will-change: opacity;
}

.pswp__scroll-wrap {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.pswp__container,
.pswp__zoom-wrap {
    touch-action: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
}

/* Prevent selection and tap highlights */
.pswp__container,
.pswp__img {
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
}

.pswp__zoom-wrap {
    position: absolute;
    width: 100%;
    transform-origin: left top;
    /* for open/close transition */
    transition: transform 333ms cubic-bezier(0.4, 0, 0.22, 1);
}

.pswp__bg {
    will-change: opacity;
    /* for open/close transition */
    transition: opacity 333ms cubic-bezier(0.4, 0, 0.22, 1);
}

.pswp--animated-in .pswp__bg,
.pswp--animated-in .pswp__zoom-wrap {
    transition: none;
}

.pswp__container,
.pswp__zoom-wrap {
    -webkit-backface-visibility: hidden;
    will-change: transform;
}

.pswp__item {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    overflow: hidden;
}

.pswp__img {
    position: absolute;
    width: auto;
    height: auto;
    top: 0;
    left: 0;
}

/*
	stretched thumbnail or div placeholder element (see below)
	style is added to avoid flickering in webkit/blink when layers overlap
*/
.pswp__img--placeholder {
    -webkit-backface-visibility: hidden;
}

/*
	div element that matches size of large image
	large image loads on top of it
*/
.pswp__img--placeholder--blank {
    background: #222;
}

.pswp--ie .pswp__img {
    width: 100% !important;
    height: auto !important;
    left: 0;
    top: 0;
}

/*
	Error message appears when image is not loaded
	(JS option errorMsg controls markup)
*/
.pswp__error-msg {
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    text-align: center;
    font-size: 14px;
    line-height: 16px;
    margin-top: -8px;
    color: #CCC;
}

.pswp__error-msg a {
    color: #CCC;
    text-decoration: underline;
}

/*! PhotoSwipe Default UI CSS by Dmitry Semenov | photoswipe.com | MIT license */
/* <button> css reset */
.pswp__button {
    width: 44px;
    height: 44px;
    position: relative;
    background: none;
    cursor: pointer;
    overflow: visible;
    -webkit-appearance: none;
    display: block;
    border: 0;
    padding: 0;
    margin: 0;
    float: right;
    opacity: 0.75;
    transition: opacity 0.2s;
    box-shadow: none;
}

.pswp__button:focus, .pswp__button:hover {
    opacity: 1;
}

.pswp__button:active {
    outline: none;
    opacity: 0.9;
}

.pswp__button::-moz-focus-inner {
    padding: 0;
    border: 0;
}

/* pswp__ui--over-close class it added when mouse is over element that should close gallery */
.pswp__ui--over-close .pswp__button--close {
    opacity: 1;
}

.pswp__button,
.pswp__button--arrow--left:before,
.pswp__button--arrow--right:before {
    background: url(../img/default-skin.png) 0 0 no-repeat;
    background-size: 264px 88px;
    width: 44px;
    height: 44px;
}

@media (min-resolution: 105dpi), (min-resolution: 1.1dppx) {
    /* Serve SVG sprite if browser supports SVG and resolution is more than 105dpi */
    .pswp--svg .pswp__button,
    .pswp--svg .pswp__button--arrow--left:before,
    .pswp--svg .pswp__button--arrow--right:before {
        background-image: url(../img/default-skin.svg);
    }
    .pswp--svg .pswp__button--arrow--left,
    .pswp--svg .pswp__button--arrow--right {
        background: none;
    }
}

.pswp__button--close {
    background-position: 0 -44px;
}

.pswp__button--share {
    background-position: -44px -44px;
}

.pswp__button--fs {
    display: none;
}

.pswp--supports-fs .pswp__button--fs {
    display: block;
}

.pswp--fs .pswp__button--fs {
    background-position: -44px 0;
}

.pswp__button--zoom {
    display: none;
    background-position: -88px 0;
}

.pswp--zoom-allowed .pswp__button--zoom {
    display: block;
}

.pswp--zoomed-in .pswp__button--zoom {
    background-position: -132px 0;
}

/* no arrows on touch screens */
.pswp--touch .pswp__button--arrow--left,
.pswp--touch .pswp__button--arrow--right {
    visibility: hidden;
}

/*
	Arrow buttons hit area
	(icon is added to :before pseudo-element)
*/
.pswp__button--arrow--left,
.pswp__button--arrow--right {
    background: none;
    top: 50%;
    margin-top: -50px;
    width: 70px;
    height: 100px;
    position: absolute;
}

.pswp__button--arrow--left {
    left: 0;
}

.pswp__button--arrow--right {
    right: 0;
}

.pswp__button--arrow--left:before,
.pswp__button--arrow--right:before {
    content: '';
    top: 35px;
    background-color: rgba(0, 0, 0, 0.3);
    height: 30px;
    width: 32px;
    position: absolute;
}

.pswp__button--arrow--left:before {
    left: 6px;
    background-position: -138px -44px;
}

.pswp__button--arrow--right:before {
    right: 6px;
    background-position: -94px -44px;
}

/*

	2. Share modal/popup and links

 */
.pswp__counter,
.pswp__share-modal {
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

.pswp__share-modal {
    display: block;
    background: rgba(0, 0, 0, 0.5);
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    padding: 10px;
    position: absolute;
    z-index: 1600;
    opacity: 0;
    transition: opacity 0.25s ease-out;
    -webkit-backface-visibility: hidden;
    will-change: opacity;
}

.pswp__share-modal--hidden {
    display: none;
}

.pswp__share-tooltip {
    z-index: 1620;
    position: absolute;
    background: #FFF;
    top: 56px;
    border-radius: 2px;
    display: block;
    width: auto;
    right: 44px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25);
    transform: translateY(6px);
    transition: transform 0.25s;
    -webkit-backface-visibility: hidden;
    will-change: transform;
}

.pswp__share-tooltip a {
    display: block;
    padding: 8px 12px;
    color: #000;
    text-decoration: none;
    font-size: 14px;
    line-height: 18px;
}

.pswp__share-tooltip a:hover {
    text-decoration: none;
    color: #000;
}

.pswp__share-tooltip a:first-child {
    /* round corners on the first/last list item */
    border-radius: 2px 2px 0 0;
}

.pswp__share-tooltip a:last-child {
    border-radius: 0 0 2px 2px;
}

.pswp__share-modal--fade-in {
    opacity: 1;
}

.pswp__share-modal--fade-in .pswp__share-tooltip {
    transform: translateY(0);
}

/* increase size of share links on touch devices */
.pswp--touch .pswp__share-tooltip a {
    padding: 16px 12px;
}

/*

	3. Index indicator ("1 of X" counter)

 */
.pswp__counter {
    position: absolute;
    left: 0;
    top: 0;
    height: 44px;
    font-size: 13px;
    line-height: 44px;
    color: #FFF;
    opacity: 0.75;
    padding: 0 10px;
}

/*

	4. Caption

 */
.pswp__caption {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    min-height: 44px;
}

.pswp__caption small {
    font-size: 11px;
    color: #BBB;
}

.pswp__caption__center {
    text-align: left;
    max-width: 420px;
    margin: 0 auto;
    font-size: 13px;
    padding: 10px;
    line-height: 20px;
    color: #CCC;
}

.pswp__caption--empty {
    display: none;
}

/* Fake caption element, used to calculate height of next/prev image */
.pswp__caption--fake {
    visibility: hidden;
}

/*

	5. Loading indicator (preloader)

	You can play with it here - http://codepen.io/dimsemenov/pen/yyBWoR

 */
.pswp__preloader {
    width: 44px;
    height: 44px;
    position: absolute;
    top: 0;
    left: 50%;
    margin-left: -22px;
    opacity: 0;
    transition: opacity 0.25s ease-out;
    will-change: opacity;
    direction: ltr;
}

.pswp__preloader__icn {
    width: 20px;
    height: 20px;
    margin: 12px;
}

.pswp__preloader--active {
    opacity: 1;
}

.pswp__preloader--active .pswp__preloader__icn {
    /* We use .gif in browsers that don't support CSS animation */
    background: url(../img/preloader.gif) 0 0 no-repeat;
}

.pswp--css_animation .pswp__preloader--active {
    opacity: 1;
}

.pswp--css_animation .pswp__preloader--active .pswp__preloader__icn {
    animation: clockwise 500ms linear infinite;
}

.pswp--css_animation .pswp__preloader--active .pswp__preloader__donut {
    animation: donut-rotate 1000ms cubic-bezier(0.4, 0, 0.22, 1) infinite;
}

.pswp--css_animation .pswp__preloader__icn {
    background: none;
    opacity: 0.75;
    width: 14px;
    height: 14px;
    position: absolute;
    left: 15px;
    top: 15px;
    margin: 0;
}

.pswp--css_animation .pswp__preloader__cut {
    /*
              The idea of animating inner circle is based on Polymer ("material") loading indicator
               by Keanu Lee https://blog.keanulee.com/2014/10/20/the-tale-of-three-spinners.html
          */
    position: relative;
    width: 7px;
    height: 14px;
    overflow: hidden;
}

.pswp--css_animation .pswp__preloader__donut {
    box-sizing: border-box;
    width: 14px;
    height: 14px;
    border: 2px solid #FFF;
    border-radius: 50%;
    border-left-color: transparent;
    border-bottom-color: transparent;
    position: absolute;
    top: 0;
    left: 0;
    background: none;
    margin: 0;
}

@media screen and (max-width: 1024px) {
    .pswp__preloader {
        position: relative;
        left: auto;
        top: auto;
        margin: 0;
        float: right;
    }
}

@keyframes clockwise {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes donut-rotate {
    0% {
        transform: rotate(0);
    }
    50% {
        transform: rotate(-140deg);
    }
    100% {
        transform: rotate(0);
    }
}

/*

	6. Additional styles

 */
/* root element of UI */
.pswp__ui {
    -webkit-font-smoothing: auto;
    visibility: visible;
    opacity: 1;
    z-index: 1550;
}

/* top black bar with buttons and "1 of X" indicator */
.pswp__top-bar {
    position: absolute;
    left: 0;
    top: 0;
    height: 44px;
    width: 100%;
}

.pswp__caption,
.pswp__top-bar,
.pswp--has_mouse .pswp__button--arrow--left,
.pswp--has_mouse .pswp__button--arrow--right {
    -webkit-backface-visibility: hidden;
    will-change: opacity;
    transition: opacity 333ms cubic-bezier(0.4, 0, 0.22, 1);
}

/* pswp--has_mouse class is added only when two subsequent mousemove events occur */
.pswp--has_mouse .pswp__button--arrow--left,
.pswp--has_mouse .pswp__button--arrow--right {
    visibility: visible;
}

.pswp__top-bar,
.pswp__caption {
    background-color: rgba(0, 0, 0, 0.5);
}

/* pswp__ui--fit class is added when main image "fits" between top bar and bottom bar (caption) */
.pswp__ui--fit .pswp__top-bar,
.pswp__ui--fit .pswp__caption {
    background-color: rgba(0, 0, 0, 0.3);
}

/* pswp__ui--idle class is added when mouse isn't moving for several seconds (JS option timeToIdle) */

/*
	pswp__ui--hidden class is added when controls are hidden
	e.g. when user taps to toggle visibility of controls
*/
.pswp__ui--hidden .pswp__top-bar,
.pswp__ui--hidden .pswp__caption,
.pswp__ui--hidden .pswp__button--arrow--left,
.pswp__ui--hidden .pswp__button--arrow--right {
    /* Force paint & create composition layer for controls. */
    opacity: 0.001;
}

/* pswp__ui--one-slide class is added when there is just one item in gallery */

.pswp__element--disabled {
    display: none !important;
}

/**
 * Swiper 3.2.0
 */
.swiper-container {
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    /* Fix of Webkit flickering */
    z-index: 1;
}

.swiper-container-no-flexbox .swiper-slide {
    float: left;
}

.swiper-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: flex;
    transition-property: transform;
    box-sizing: content-box;
}

.swiper-container-android .swiper-slide,
.swiper-wrapper {
    transform: translate3d(0px, 0, 0);
}

.swiper-container-multirow > .swiper-wrapper {
    -webkit-box-lines: multiple;
    -moz-box-lines: multiple;
    flex-wrap: wrap;
}

.swiper-container-free-mode > .swiper-wrapper {
    transition-timing-function: ease-out;
    margin: 0 auto;
}

.swiper-slide {
    -webkit-flex-shrink: 0;
    -ms-flex: 0 0 auto;
    flex-shrink: 0;
    width: 100%;
    height: 100%;
    position: relative;
}

/* a11y */
.swiper-container .swiper-notification {
    position: absolute;
    left: 0;
    top: 0;
    pointer-events: none;
    opacity: 0;
    z-index: -1000;
}


.swiper-container {
    overflow: visible;
}

.swiper-wrapper {
    box-sizing: border-box;
}

.swiper-slide {
    background-color: white;
}

.sedcard .person-fav {
    padding: 0;
    min-width: 0;
}

.sedcard .person-fav:focus > svg, .sedcard .person-fav:hover > svg, .sedcard .person-fav:active > svg {
    color: #FFE043;
    fill: #FFE043;
}

.sedcard__shortinfo > dt,
.sedcard__shortinfo > dd {
    margin: 0;
    padding: 0;
    display: inline-block;
    width: 48%;
}

@media (min-width: 64em) {
    .sedcard__shortinfo > dt,
    .sedcard__shortinfo > dd {
        display: inline-block;
        width: auto;
    }
}

@media (min-width: 64em) {
    .sedcard__shortinfo > dt {
        color: #999999;
        margin-left: 1em;
    }
}

.sedcard__shortinfo > dd {
    padding-left: 1em;
}

@media (min-width: 64em) {
    .sedcard__shortinfo > dd {
        padding-left: 0;
    }
}

.sedcard__shortinfo > dd:first-of-type {
    width: 100%;
    padding-left: 0;
}

@media (min-width: 64em) {
    .sedcard__shortinfo > dd:first-of-type {
        width: auto;
    }
}

.sedcard__imglist {
    -moz-columns: 3 120px;
    columns: 3 120px;
    -moz-column-gap: 1em;
    column-gap: 1em;
    white-space: normal;
    font-size: 16px;
}

.sedcard__imgwrap {
    display: block !important;
    margin-bottom: 1em;
}

.sedcard__imgwrap > a {
    display: block;
}

.sedcard__imgwrap > a > img {
    width: 100%;
}

.faq__item {
    background-color: #f7f7f7;
    border-top: 1px solid #cccccc;
    margin-bottom: 1em;
    padding: 1em;
}

.faq__title {
    font-size: 1.125rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    position: relative;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    list-style-type: none;
    color: #333333 !important;

}


.faq__title:focus {
    outline: none;
}

.faq__title:before {
    background-image: url("../img/icons/expand.svg");
    background-position: 50%;
    content: '\25B6';
    color: transparent;
    display: inline-block;
    width: 1.5em;
    height: 1.5em;
    margin-right: 0.5em;
    transition: transform 250ms ease-out 0s;
    will-change: transform;
}

.faq__title[aria-pressed="true"]:before,
[open] .faq__title:before {
    content: '\25BC';
    transform: rotate(180deg);
}

.faq__title::-webkit-details-marker {
    display: none;
}

.faq__content {
    margin-left: 2.1875rem;
    color: #333333 !important;

}

.faq__content p {
    margin-top: 1em;
    margin-bottom: 1em;
}

.layer-overlay {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 110;
    background-color: rgba(255, 255, 255, 0.9);
}

.layer {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 111;
}

.layer[aria-hidden="true"] {
    display: none;
}

.layer[aria-hidden="true"] + .layer-overlay {
    display: none;
}

.layer .slider-btn-prev,
.layer .slider-btn-next,
.layer .layer-close {
    line-height: 1;
    color: #D51616;
    position: absolute;
    z-index: 11;
    width: 48px;
    height: 48px;
    padding: 0;
    border: none;
    background: none;
    text-align: left;
    background-color: transparent;
    background-repeat: no-repeat;
    background-position: 50%;
    border-radius: 50%;
    transition: background-color 150ms ease-out;
}

.layer .slider-btn-prev:focus, .layer .slider-btn-prev:hover,
.layer .slider-btn-next:focus,
.layer .slider-btn-next:hover,
.layer .layer-close:focus,
.layer .layer-close:hover {
    background-color: rgba(0, 0, 0, 0.2);
}

.layer .layer-close {
    background-image: url("../img/icons/close.svg");
    top: -48px;
    right: 0.5%;
}

.layer .is-disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.layer .is-disabled:focus, .layer .is-disabled:hover {
    background-color: transparent;
}

.layer-content {
    min-height: 50vh;
    /*background: white url("../img/l.gif") no-repeat 50%; */
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0;
    position: relative;
    top: 5em;
    z-index: 112;
}

@media (min-width: 80em) {
    .layer-content {
        top: 6em;
    }
}

.layer-content .slider-btn-prev {
    top: -48px;
    left: 25%;
    background-image: url("../img/icons/chevron_right.svg");
    transform: scaleX(-1);
}

@media (min-width: 48em) {
    .layer-content .slider-btn-prev {
        left: 40%;
    }
}

@media (min-width: 64em) {
    .layer-content .slider-btn-prev {
        top: 0;
        left: 0.5%;
    }
}

.layer-content .slider-btn-next {
    top: -48px;
    right: 25%;
    background-image: url("../img/icons/chevron_right.svg");
}

@media (min-width: 48em) {
    .layer-content .slider-btn-next {
        right: 40%;
    }
}

@media (min-width: 64em) {
    .layer-content .slider-btn-next {
        top: 0;
        right: 0.5%;
    }
}

.layer-content .swiper-slide {
    padding: 0 4.1666666667%;
}

@media (min-width: 48em) {
    .layer-content .swiper-slide {
        padding: 0 2.7777777778%;
    }
}

.layer-content .swiper-slide .sedcard {
    opacity: 0.4;
    padding: 0 4.1666666667%;
}

@media (min-width: 48em) {
    .layer-content .swiper-slide .sedcard {
        padding: 0 2.7777777778%;
    }
}

.layer-content .swiper-slide-active .sedcard {
    opacity: 1;
}

/* endif*/
@media (min-width: 20em) {
    head {
        font-family: tiny-1;
    }
}

@media (min-width: 30em) {
    head {
        font-family: small-2;
    }
}

@media (min-width: 37.5em) {
    head {
        font-family: medium-3;
    }
}

@media (min-width: 48em) {
    head {
        font-family: large-4;
    }
}

@media (min-width: 64em) {
    head {
        font-family: xlarge-5;
    }
}

@media (min-width: 80em) {
    head {
        font-family: xxlarge-6;
    }
}

@media (min-width: 100em) {
    head {
        font-family: huge-7;
    }
}

.nav-collapse.opened{
    position: fixed!important;
    top: 53px;
    left: 0;
    width: 100%;
    background: rgb(255, 255, 255);
    overflow: auto;
    clip: inherit;
    z-index: 1000;
}

@media (min-width: 37.5em) {
    .nav-collapse.opened{
        position: fixed!important;
        top: 53px;
        left: 0;
        width: 100%;
        background: rgb(255, 255, 255);
        overflow: auto;
        clip: inherit;
        z-index: 1000;
    }
}

body .nav-collapse.opened{
    height: 100%;
    max-height: none!important;
}

.tcon.active{
    border: 1px solid #b0b1bd;
    padding: 0;
    box-sizing: border-box;
}

footer > hr{
    width: 200%;
    transform: translateX(-25%);
    margin: 0;
    border-bottom: 1px solid #272729;
}

@media (min-width: 64em) {
    footer > hr{
        display: none;
    }
}

.footer-logo{
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 0!important;
}

.footer-logo a{
    margin-top: 25px;
}

.footer-logo img{
    filter: brightness(0) invert(1);
}

@media (min-width: 48em) {
    .footer-logo .logo{
        display: flex;
    }
}

.toggle-container{
    display: flex;
    justify-content: space-between;
}

@media (min-width: 64em) {
    .toggle-container{
        display: none;
    }
}

.toggle-container img{
    width: 15px;
    margin-right: 0.75em;
    margin-bottom: 10px;
    cursor: pointer;
}

.sub-heading{
    color: #000000;
    font-size: 1em;
    font-weight: bold;
    margin-bottom: 10px;
    margin-top: 0;
    cursor: pointer;
}

.show-submenu{
    transform: rotate(180Deg);
}

.logo-desktop{
    display: none;
}

@media (min-width: 64em) {
    .logo-desktop{
        width: 20%;
        display: flex;
        justify-content: flex-start;
        flex: 0 0 auto;
    }
}

.logo-desktop img{
    width: 270px;
    margin-bottom: 10px;
}

.image-wrap-container{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 48em) {
    .image-wrap-container{
        max-width: 100%;
        flex-wrap: nowrap;
    }
    .image-wrap-container .last-image{
        display: none;
    }
}

.contact-us{
    display: block;
}


@media (min-width: 37.5em) {
    .contact-us{
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex: 0 0 100%!important;
    }
}

.contact-us p{
    font-size: 40px;
    font-family: 'Conthrax-sb';
    color: #ffffff;
    text-transform: uppercase;
    line-height: 1.2;
    margin-bottom: 0;
    text-align: center;
}

@media (min-width: 64em) {
    .contact-us p{
        font-size: 50px;
    }
}

.contact-us a {
    width: -moz-max-content;
    width: max-content;
    background-color: rgb(214, 32, 39);
    border: none;
    font-size: 20px;
    font-family: 'Roboto';
    color: #ffffff;
    font-weight: bold;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 17px 40px;
    text-decoration: none;
    white-space: nowrap;
    margin-left: 20px;
}

.contact-us a:hover {
    background-color: #b71b23; /* Dunklere Hintergrundfarbe beim Hover */
}

@media (max-width: 37.5em) {
    .contact-us a{
        display: block;
        margin-left: auto;
        margin-right: auto;
        margin-top: 30px;
    }
}

img.erfahrungBild {
    max-width: 120px;
    float: left;
    margin: 0.3em 0.5em 0.5em 0;
}

@media (min-width: 37.5em) {
    img.erfahrungBild {
        max-width: 240px;
    }
}

div.ownAutocomplete {
    clear: both;
    transition: all 300ms ease-out;
    position: relative;
    margin: 0;
    z-index: 100;
}

@media (min-width: 20em) {
    div.ownAutocomplete {
        width: 100%;
        margin-left: 0;
        margin-top: 0.3em;
    }
}

@media (min-width: 30em) {
    div.ownAutocomplete {
        width: 100%;
        margin-left: 0;
        margin-top: 0.3em;
    }
}

@media (min-width: 37.5em) {
    div.ownAutocomplete {
        width: 100%;
        margin-left: 0;
        margin-top: 0.3em;
    }
}

@media (min-width: 48em) {
    div.ownAutocomplete {
        width: 70%;
        margin-left: 30%;
    }
}

@media (min-width: 64em) {
    div.ownAutocomplete {
        position: absolute;
        top: 0;
        left: 0;
        width: 70%;
        margin-left: 30%;
        margin-top: 2.4em;
    }
}

div.ownAutocomplete ul {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    border: 1px solid #ccc;
    background-color: #fff;
    max-height: 99em;
    overflow:auto;
}

div.ownAutocomplete li {
    padding: 0.4em;
    cursor: pointer;
}

div.ownAutocomplete li:hover {
    background-color: #f7f7f7;
}

/* ------------- Begin Darkmode ------------- */

body.darkmode {
    background-color: #121212;
    color: #ffffff;
}

/* -------------Unterstrich------------- */
body.darkmode a {
    color: #ffffff;
    text-decoration-color: #ffffff; /* Anfangsfarbe der Linie */
    text-decoration-thickness: 1.5px; /* Dicke der Linie */
    text-underline-offset: 3.5px; /* Abstand */
    transition: text-decoration-color 0.3s ease; /* Übergangseffekt für Farbwechsel */
}

body.darkmode a:hover {
    text-decoration-color: #D51616; /* Farbe der Linie beim Hover auf Rot ändern */
}

body.darkmode abbr[title="english"] {
    color: #ffffff;
}

body.darkmode abbr[title="deutsch"] {
    color: #ffffff;
}

body.darkmode h3 {
    color: #ffffff;
}

body.darkmode h2 {
    color: #ffffff;
}

body.darkmode h1 {
    color: #ffffff;
}

.darkmode .nav-main {
    background-color: #000000;
}

.darkmode .dropdown-toggle {
    background-color: #000000;
}

.darkmode .nav-collapse:before {
    background-color: #000000;
}

.darkmode .nav-collapse:before {
    background-color: #000000;
}

.darkmode .navSubProjekte {
    background-color: #000000;
}

.darkmode .nav-main__item.has-dropdown {
    background-color: #000000;
}

.darkmode .li {
    background-color: #000000;
}

body.darkmode .nav-sub.dropdown li a:hover {
    background-color: #000000;
    color: #D51616 !important;
}

.darkmode .nav-sub__item {
    background-color: #000000;
}

.darkmode .nav-language > span,
.darkmode .nav-language > a {
  color: #f8fafc;            /* bright text in dark mode */
}

.darkmode .nav-language > a {
  border-left-color: #6b7280; /* lighter gray divider on black */
}

.darkmode .nav-language > a:hover abbr,
.darkmode .nav-language > a:focus abbr {
  color: #D51616;            /* your brand red */
  outline: none;
}

.darkmode .content {
    background-color: #000000;
}

.darkmode .sub-heading {
    background-color: #000000;
}

.darkmode .container {
    background-color: #000000;
}

.darkmode .nav-main__item.has-dropdown {
    background-color: #000000;
}

.darkmode #navSubProjekte {
    background-color: #000000;
}



#darkmode-pic {
    display: inline-flex;
    align-items: center;
}

#darkmode-toggle {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    line-height: 1;
    display: flex;
    align-items: center;
    cursor: pointer;
}

#darkmode-toggle img {
    height: 1.1em; /* etwas größer als Text */
    width: auto;
    display: inline-block;
}

#logo {
    background-image: url('./img/starboxx.svg');
    width: 444px;
    height: 111px;
    background-size: contain;
    background-repeat: no-repeat;
}

/* Darkmode-Logo als Hintergrundbild */


body.darkmode {
    background-color: #000000;
    color: white;
}

/* Für Browser-Kompatibilität wird src gesetzt, aber unsichtbar gemacht */

/* Darkmode-Logo */

#darkmode-icon-mond {
    transition: all 0.3s ease;
}

body.darkmode .nav-sub.dropdown li a {
    background-color: #000000 !important; /* Hintergrund in Darkmode */
    color: #fff !important; /* Schrift in weiß */
}

.darkmode body,
.darkmode html {
    background-color: #000000;
}

.darkmode .layout-default {
    background-color: #000000;
}

body.darkmode .formButton:hover {
    border: 1px solid #D51616;
    outline: none; /* avoid outline artifacts */
}
body.darkmode #buttonMore:hover {
    border: 1px solid #D51616;
    outline: none; /* avoid outline artifacts */
}
/* kreise und viereck Rahmen bei Anmeldung */
body.darkmode input[type="radio"] {
    accent-color: #fff;
}



body.darkmode input[type="checkbox"]:checked + label:after,
body.darkmode label input[type="checkbox"]:checked + .label:after {
    border-bottom-color: white; /* Change checkmark color to white */
    border-left-color: white;   /* Change checkmark color to white */
}

body.darkmode input[type="checkbox"]:hover + label:before,
body.darkmode input[type="checkbox"]:focus + label:before,
body.darkmode input[type="radio"]:hover + label:before,
body.darkmode input[type="radio"]:focus + label:before {
    border-color: white;
}


.darkmode .nav-sub.dropdown {
    background-color: #000000;
    border-radius: 0 0 3px 3px;
    border: 1px solid #fff;
    padding: 0.1rem 0;
}

.darkmode .nav-main__item > a::after {
    background: white;
}

.darkmode .nav-main__item.is-active > a::after {
    background: #BC0600;
}

body.darkmode .formfields .helpText {
    background-color: #fff;
    color: #000;
    border: 1px solid #444;        /* optional: add a subtle border */
    border-radius: 4px;            /* optional: rounded edges */
    box-shadow: 0 0 5px rgba(0,0,0,0.5);  /* optional: subtle shadow */
}

body.darkmode [role="banner"] {
    background-image: -webkit-linear-gradient(top, #000000 85%, #333333 100%);
}

/* Layer-Overlay (Hintergrund) Transparenz */
body.darkmode .layer-overlay {
    background-color: rgba(0, 0, 0, 0.85);
}


/* spacing below the contact form */
.social-form { margin-top: 2rem; }

/* This css code is to whiten the little icon menu on mobile in darkmode */

.darkmode .tcon-menu__lines,
.darkmode .tcon-menu__lines::before,
.darkmode .tcon-menu__lines::after {
  background: #e5e7eb; /* light gray/near-white on black */
}

/* Active state: hide the middle bar, keep X bars light */
.darkmode .tcon-menu--xbutterfly.active .tcon-menu__lines {
  background: transparent;
}

.darkmode .tcon-menu--xbutterfly.active .tcon-menu__lines::before,
.darkmode .tcon-menu--xbutterfly.active .tcon-menu__lines::after {
  background: #e5e7eb;
}

/* (Optional) avoid overlap “flash” at center during transition */
.tcon-menu--xbutterfly .tcon-menu__lines::before,
.tcon-menu--xbutterfly .tcon-menu__lines::after {
  transition: top .3s ease, transform .3s ease; /* remove the .6s delay */
}

/* Icon-Farbe invertieren  */
body.darkmode .toggle-submenu {
    filter: invert(1);
}

/* Slider-Steuerung invertieren (weiß auf schwarz) */
body.darkmode .layer .layer-close,
body.darkmode .layer .slider-btn-prev,
body.darkmode .layer .slider-btn-next {
    filter: invert(1);
}

/* ========== Slider (Swiper.js) im Darkmode ========== */
body.darkmode .swiper-slide {
    background-color: #000 !important;
    color: #fff;
}

/* Pagination dots (optional) */
body.darkmode .swiper-pagination-bullet {
    background: #fff;
}
/* ------------- End Darkmode ---------------- */