@font-face {
    font-family: 'icomoon';
    src: url("webfonts/icomoon.eot?30355");
    src: url("webfonts/icomoon.eot?30355#iefix") format("embedded-opentype"), url("webfonts/icomoon.ttf?30355") format("truetype"), url("webfonts/icomoon.woff?30355") format("woff"), url("webfonts/icomoon.svg?30355#icomoon") format("svg");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'lora';
    src: url('webfonts/lora.woff2') format('woff2');
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'lora';
    src: url('webfonts/lora-italic.woff2') format('woff2');
    font-style: italic;
    font-display: swap;
}



/* COLOR VARIABLES */
:root {
    --primarycolor: #f1864c;
    --gold: #466b6e;
    --darkgrey: #141414;
    --lightgrey: #ededed;
    --midgrey: #B1B1B1;
    --black: #000000;
    --white: #fafafa;
    --bildproportionen: 1;
    --containerbreite: 1400px;
    --containerbreiteKlein: 1400px;
    letter-spacing: 0px;
}

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

.clearfix::after {
    display: block;
    clear: both;
    content: "";
}

body,
h1,
h2,
h3,
p {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body {
    font-family: 'lora', 'times new roman', serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 25px;
    letter-spacing: 0px;
    width: 100%;
    margin: 0;
    padding: 0;
    text-align: left;
    color: var(--black);
    background-color: var(--white);
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    animation: fadein 2s;
    -moz-animation: fadein 1s;
    /* Firefox */
    -webkit-animation: fadein 1s;
    /* Safari and Chrome */
    -o-animation: fadein 1s;
    /* Opera */
    padding-left: 0 env(safe-area-inset-left);
}

@keyframes fadein {
    from {
        opacity: 0;

    }

    to {
        opacity: 1;
    }
}

@-moz-keyframes fadein {

    /* Firefox */
    from {
        opacity: 0;

    }

    to {
        opacity: 1;
    }
}

@-webkit-keyframes fadein {

    /* Safari and Chrome */
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@-o-keyframes fadein {

    /* Opera */
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.oeffnungszeiten {
    display: block;
    background-color: var(--primarycolor);
    padding: 30px;
    color: #fff;
    letter-spacing: 0.5px;
}

.oeffnungszeiten span {
    color: var(--gold);
    text-transform: uppercase;
    display: block;
}

.oeffnungszeiten strong {
    font-weight: 600;
    font-size: 18px;
    display: block;
    text-transform: uppercase;
}



.page_wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex-grow: 1;
}

hr {
    border: 0;
    height: 1px;
    background-color: var(--primarycolor);
    margin: 0;
}

/* HEADER START */

header {
    box-sizing: border-box;
    position: relative;
    height: 180px;
    top: 0;
    width: 100%;
    z-index: 5000;
    background: var(--white);
}

header .contentbox {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    column-gap: 32px;
    row-gap: 16px;
    width: var(--containerbreite);
    box-sizing: border-box;
    padding: 40px 20px 60px 20px;
    align-items: start;
}

header a {
    color: var(--primarycolor);
}

/* LOGO */
#logoheader {
    grid-column: 1;
    grid-row: 2;
    height: 58px;
}

#logo {
    position: absolute;
    z-index: 6001;
    background-image: url("style_img/wechselraum-logo.svg");
    background-repeat: no-repeat;
    height: 58px;
    width: 437px;
    transition: all 0.3s linear;
    text-decoration: none;
}

#logo img {
    height: 58px;
    text-decoration: none;
}

a #logo,
a #logo2 {
    text-decoration: none;
}

a #logo2:hover,
a #logo:hover {
    opacity: 0.7;
    color: #505050;
    color: var(--darkgrey);
}



/* NAVIGATION START */

#topnavi {
    grid-column: 1 / 3;
    grid-row: 2 / 3;
    width: 100%;
}

#topnavi button {
    margin: 0;
}

.email-btn,
.phone-btn {
    position: fixed;
    z-index: 2000;
    width: 40px;
    height: 40px;
    display: block;
    right: 0px;
    top: 250px;
}

.phone-btn {
    top: 300px;
}

.email-btn a,
.phone-btn a {
    background-color: var(--primarycolor);
    width: 100%;
    height: 100%;
    display: block;
}

.email-btn a {
    background-image: url('../bilder/paper-plane.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 20px;
}

.phone-btn a {
    background-image: url('../bilder/mobile-screen-button.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 20px;
}

.email-btn a:hover,
.phone-btn a:hover {
    background-color: var(--gold);
}

.meta-nav {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
    align-self: top;
    height: auto;
    min-height: 0px;
}

.meta-nav li a {
    font-family: ff-utility-web-pro, Arial, Helvetica, sans-serif;
    font-size: 17px;
    font-weight: 400;
    padding: 0px;
    background-color: transparent;
}

.meta-nav li a:hover {
    color: var(--primarycolor);
}

.main-nav {
    grid-column: 3;
    grid-row: 2;
    margin-top: 0px;
}

.meta-nav ul,
.main-nav ul {
    display: flex;
    justify-content: flex-end;
    gap: 34px;
    list-style: none;
    margin: 0;
    padding: 0px;

}

.main-nav ul {
    justify-content: flex-start;

}

/* Dropdown-Styling */
.has-dropdown {
    position: relative;
    cursor: pointer;
    text-align: left;
}

.has-dropdown>.dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: -10px;
    background: var(--white);
    padding: 10px 10px 0px 10px;
    list-style: none;
    min-width: 150px;
    z-index: 1000;
}

.has-dropdown:hover>.dropdown {
    display: block;
}

.dropdown li {
    font-size: 15px;
    line-height: 17px;
    text-transform: uppercase;
    padding: 8px 0 10px 0;
    border-top: 1px solid var(--midgrey);
}

.dropdown li:last-child {
    border-bottom: 1px solid var(--midgrey);
}

.topnav {
    font-family: ff-utility-web-pro, Arial, Helvetica, sans-serif;
    font-weight: 500;
    cursor: pointer;
    font-size: 19px;
    background-color: transparent;
    -webkit-transition: all 0.2s;
    transition: all 0.2s;
    transition-timing-function: linear;
}

.metanav:hover>a,
.topnav:hover>a {
    color: var(--primarycolor);
}

.topnav_act a,
.subnav_act a {
    color: var(--primarycolor);
}

.metanav {
    font-weight: 400;
    cursor: pointer;
    font-size: 18px;
    background-color: transparent;
    -webkit-transition: all 0.2s;
    transition: all 0.2s;
    transition-timing-function: linear;
    color: var(--primarycolor);
}

.metanav_act a {
    color: var(--gold);
}

.dropdown a {
    text-decoration: none;
    color: #333;
}

ul li a {
    text-decoration: none;
    color: #000;
}

#mobilenavi {
    display: none;
}



/* NAVIGATION END */

a.linkarrow,
a.fulllinkarrow {
    color: var(--black);
    display: inline-block;
    width: auto;
    text-decoration: none;
    margin: 0px 0px;
    transition: all 0.5s ease;
    width: 100%;
    font-family: ff-unity-web-pro, Arial, Helvetica, sans-serif;
    letter-spacing: 0px;
}

a.linkarrow::before,
a.fulllinkarrow::before {
    content: "\279E";
    color: var(--black);
    padding-right: 10px;
}

a.linkarrow:hover,
a.fulllinkarrow:hover {
    color: var(--lightgrey);
    transform: translateX(-10deg);

}

a.linkarrow:hover::before,
a.fulllinkarrow:hover::before {
    transform: translateX(0deg);
}


button.mehr {
    background: var(--primarycolor);
    font-size: 15px;
    color: var(--white);
    border: none;
    box-shadow: none;
    cursor: pointer;
    padding: 10px;
    margin-bottom: 30px;
    margin-top: 10px;
    -o-transition: 0.5s;
    -ms-transition: 0.5s;
    -moz-transition: 0.5s;
    -webkit-transition: 0.5s;
    transition: 0.5s;
    border-radius: 3px;
}

button.mehr:hover {
    background-color: var(--midgrey);
    color: var(--black);
}

/* SLIDE OUT */
#slideout-trigger {
    position: fixed;
    top: 180px;
    right: 0;
    background: #F00000;
    clip-path: polygon(8% 0, 100% 0, 100% 100%, 0 100%);
    color: white !important;
    font-weight: bold;
    display: block;
    z-index: 90;
    padding: 10px 10px 10px 25px;
    cursor: pointer;
    transition: none;
    max-width: 160px;
}

/* LINKTAGS NAVIGATION */

a.nav2 {
    text-decoration: none;
    color: var(--black);
    width: 100%;
    display: inline-block;
}

a.nav2_act,
header.fixed-header a.nav2_act {
    color: var(--primarycolor);
}

a.nav3:before,
a.nav3_act:before {
    content: '';
}

a.nav3 {
    text-decoration: none;
    padding: 8px 0 8px 5px;
    width: 100%;
    display: inline-block;
    font-weight: 400;
    text-transform: none;
    color: #505050;
    color: var(--darkgrey);
}

a.nav3_act {
    color: var(--gold);
    text-decoration: none;
    padding: 8px 0 8px 5px;
    width: 100%;
    display: inline-block;
    text-transform: none;
}

a.nav2:active,
a.nav2:focus,
a.nav2:hover,
a.nav3:active,
a.nav3:focus,
a.nav3:hover {
    color: var(--gold);
    width: 100%;
    display: inline-block;
}

/* NAVIGATION END */


/* INHALTE */

table {
    max-width: 100%;
}

th {
    padding: 5px;
    background-color: var(--lightgrey);
    font-size: 0.85rem;
}

td {
    padding: 5px;
    border-bottom: 1px solid var(--darkgrey);
    font-size: 0.85rem;
}

/* DOKUMENTTABELLE */

.dokumentlink {
    display: block;
    padding: 15px 20px;
    border: 1px solid var(--gold);
    color: var(--primarycolor);
    text-transform: uppercase;
    text-align: center;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.5s;
    letter-spacing: 1px;
    width: 50%;
}

.dokumentlink:hover {
    background: var(--gold);
    color: var(--white);
    transform: translateX(-10deg);
    letter-spacing: 5px;
}

.dokumentlink:hover::after {
    font-size: 20px;
    content: " \002913";
}

.grid-container>.col.col-1-3:first-of-type .dokumentlink {
    width: 100%;
}

.tabelle {
    border-collapse: collapse;
    font-size: 14px;
    line-height: 16px;
    width: 100%;
}


.tabellen-reihe {
    display: grid;
    text-decoration: none;
    color: inherit;
    grid-template-columns: 500px 100px 1fr 1fr;
    place-items: left;
    border: 4px solid #fff;
    border-bottom: none;
    cursor: pointer;
    background: var(--lightgrey);
}

.tabellen-reihe-edit {
    display: grid;
    text-decoration: none;
    color: inherit;
    grid-template-columns: 350px 100px 160px 1fr 100px 90px;
    place-items: left;
    border: 4px solid #fff;
    border-bottom: none;
    cursor: pointer;
    background: var(--lightgrey);
}

.tabellen-reihe-termine {
    display: grid;
    text-decoration: none;
    color: inherit;
    grid-template-columns: 1fr 1fr 1fr 150px;
    place-items: left;
    border: 4px solid #fff;
    border-bottom: none;
    cursor: pointer;
    background: var(--lightgrey);
}

.tabellen-reihe:last-child {
    border-bottom: 4px solid #fff;
}


.zelle {
    padding: 12px;
    border-right: 1px solid #fff;
    text-align: left;
    font-weight: 400;
    width: auto;
}

.zelle-edit {
    padding: 5px;
    border-right: 1px solid #fff;
    text-align: left;
    font-weight: 400;
}

.zelle:last-child {
    border-right: none;
}


.reihe {
    display: block;
    margin-right: 34px;
    float: left;
}

/* DEKLARATIONS FORMULAR */
.declare {
    border-spacing: 5px 0px;
}

.declare td {
    padding: 5px 5px 5px 0px;
    border-top: 1px solid var(--darkgrey);
    border-bottom: none;
}

.declare td.right {
    text-align: right;
}

.number {
    text-align: right;
}


.titlecontent {
    width: 100%;
    display: block;
    box-sizing: border-box;
    padding: 50px 0 0 0;
    overflow: hidden;
}

.greycontent {
    width: 100%;
    display: block;
    background-color: var(--lightgrey);
    box-sizing: border-box;
    padding: 60px 00px;
    margin-left: auto;
    margin-right: auto;
}

.whitecontent {
    width: 100%;
    display: block;
    background-color: var(--white);
    box-sizing: border-box;
    padding: 60px 00px;
    margin-left: auto;
    margin-right: auto;
}

.blackcontent {
    display: block;
    background-color: var(--black);
    color: var(--white);
    box-sizing: border-box;
    padding: 60px 00px;
    margin-left: auto;
    margin-right: auto;
}

.orangecontent {
    display: block;
    background-color: var(--primarycolor);
    color: var(--white);
    box-sizing: border-box;
    padding: 60px 00px;
    margin-left: auto;
    margin-right: auto;
}

.enertycontent {
    display: block;
    background: linear-gradient(-64deg, #6bb09e, #5ba3c1, #d87a52);
    color: var(--white);
    box-sizing: border-box;
    padding: 60px 00px;
    margin-left: auto;
    margin-right: auto;
}

.orangecontent li {
    color: var(--black);
}

.orangecontent li span {
    font-family: 'ff-utility-web-pro', Arial, Helvetica, sans-serif;
    text-transform: uppercase;
    font-size: 0.92em;
}

.or .top {
    padding-top: 50px;
}


.bildcontent {
    padding: 0px;
    margin-left: 0px;
    margin-right: 0px;
    width: 100%;
}

.bildcontent img {
    width: 100%;
    height: auto;
}


.contentbox {
    width: var(--containerbreite);
    padding: 0 20px;
    margin-left: auto;
    margin-right: auto;
}

.contentbox img {
    max-width: 100%;
}

h1 {
    font-size: 55px;
    display: block;
    line-height: 57px;
    font-weight: 500;
    margin-top: 0;
    margin-bottom: 12px;
    transition: all 0.15s ease-in-out;
    position: relative;
    color: var(--primarycolor)
}



h2 {
    display: block;
    font-weight: 500;
    font-size: 26px;
    line-height: 32px;
    margin: 20px 0 10px 0;
    position: relative;
}

h3 {
    font-family: ff-utility-web-pro, Arial, Helvetica, sans-serif;
    display: block;
    font-size: 20px;
    line-height: 26px;
    margin: 0px 0px 10px 0px;
    position: relative;
    font-weight: 700;
    color: var(--black);
    text-transform: uppercase;
}

.blackcontent h3,
.blackcontent h1,
.orangecontent h1 {
    color: var(--white);
}


h4 {
    font-family: ff-utility-web-pro, Arial, Helvetica, sans-serif;
    display: block;
    font-size: 16px;
    line-height: 26px;
    margin: 0px 0px 10px 0px;
    position: relative;
    font-weight: 700;
    color: var(--black);
}

h4 a {
    text-decoration: none;
    color: var(--black);
}

.blase {
    background-image: url('../bilder/blase.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    font-family: ff-utility-web-pro, Arial, Helvetica, sans-serif;
    color: var(--white);
    font-size: 14px;
    line-height: 19px;
    font-weight: 700;
    display: block;
    width: 100%;
    aspect-ratio: 1 / 0.55;
    padding: 5% 12% 5% 4%;
    margin-top: 100px;
}

.blase.weiss {
    background-image: url('../bilder/blase-weiss.svg');
    color: var(--black);
}

p {
    font-size: 23px;
    line-height: 32px;
    display: block;
    margin-block-start: 0;
    margin-block-end: 0;
    margin-inline-start: 0;
    margin-inline-end: 0;
}

q {
    font-family: 'allison', 'Dancing Script', 'Pacifico', 'Bradley Hand', cursive;
    text-align: center;
    color: var(--primarycolor);
    font-size: 40px;
    line-height: 40px;
    quotes: none;
    width: 100%;
    display: block;
}

q span {
    color: var(--gold);
    display: block;
    margin-top: 5px;
}

a {
    color: var(--primarycolor);
    text-decoration: none;
}

a:hover {
    color: var(--black);
}

.orangecontent a {
    color: var(--black);
}

.orangecontent a:hover {
    color: var(--lightgrey);
}

.negative {
    color: var(--white);
}

.lead {
    font-size: 24px;
    line-height: 30px;
    width: 70%;
    margin-bottom: 30px;
}

.grid-container {
    display: grid;
    grid-template-columns: 221px 342px 342px 342px;
    gap: 40px 40px;
    padding: 0px;
}

.grid-container-inside {
    display: grid;
    grid-template-columns: 342px 342px 342px;
    gap: 40px 40px;
    padding: 20px 0px 0px 0px;
}

.grid-container-inside2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 40px 0px 0px 0px;
}

.grid-container-inside3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px;
    padding: 40px 0px 0px 0px;
}

.grid-container-inside3 img {
    width: 100%;


    display: block;
}

.col {
    position: relative;
    padding: 0px;
    text-align: left;
}

.col-1-2,
.col-refbild,
.col-reftext {
    grid-column: span 2;
}

.col-3-4 {
    grid-column: span 3;
}


.col img {
    width: 100%;
}

.col-image {
    text-align: right;
}

.col-image img {
    width: auto;
    height: 150px;
}

a.col {
    text-decoration: none;
    color: inherit;
}

a.col:hover {
    color: var(--primarycolor);
}

.grid-container-inside .col p {
    font-size: 17px;
    line-height: 26px;
}

.grid-container>.col.col-1-3:first-of-type {
    padding-right: 0px;
}

#team-container.grid-container>.col.col-1-3:first-of-type {
    padding-right: 0px;
}

.col ul {
    list-style-type: none;
    padding-left: 15px;
    margin-block-end: 0px;
    margin-block-start: 5px;
}

.col ul li::before {
    content: "- ";
    /* Das Strich-Symbol */
    padding-right: 0px;
    margin-left: -15px;
}

.col ul li {
    padding: 0 0 5px 0
}

.gridlogo {
    text-align: center;
    max-height: 150px;
}

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


.thumbnail {
    text-align: center;
    font-size: 18px;
    background: var(--white);
    display: block;
    float: left;
    padding-right: 10px;
    padding-bottom: 10px;
    font-size: 18px;
    height: 300px;
    background-repeat: no-repeat;
    cursor: zoom-in;
}

.thumbnail img {
    height: 300px;
    width: auto;
}

/* TEAM */

@-webkit-keyframes InLeft {
    0% {
        opacity: 0;
        -webkit-transform: translate3d(-100%, 0, 0);
        transform: translate3d(-100%, 0, 0);
    }

    to {
        opacity: 1;
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
}

@keyframes InLeft {
    0% {
        opacity: 0;
        -webkit-transform: translate3d(-100%, 0, 0);
        transform: translate3d(-100%, 0, 0);
    }

    to {
        opacity: 1;
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
}

.teambox {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(20vw, 1fr));
    justify-content: space-between;
    grid-gap: 40px;
}

.team {
    width: 100%;
    background-color: white;
    display: block;
    transition: all 0.5s;
    position: relative;
    -webkit-animation: fadein 0.5s;
    animation: fadein 0.5s;
    animation-fill-mode: forwards;
    opacity: 0;
}

.team::before {
    background: var(--lightgrey);
    opacity: 1;
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
    content: "";
    width: calc(100% - 40px);
    left: 40px;
}

.team:hover .stretched-link::after {
    background-color: rgba(255, 255, 255, .4);
}

.memberimage {
    background-size: cover;
    background-repeat: no-repeat;
    width: 100px;
    height: 100px;
    transition: all 0.5s;
    margin-top: 20px;
    margin-right: 20px;
    margin-bottom: 20px;
    display: block;
    float: left;
    background-color: #fff;
    background-size: contain;
    background-position: 50% 50%;
    border: 5px solid var(--white);
    outline: 2px solid var(--lightgrey);
}


.teamimage {
    background-size: cover;
    background-repeat: no-repeat;
    width: 120px;
    height: 180px;
    transition: all 0.5s;
    margin-top: 20px;
    margin-right: 20px;
    margin-bottom: 20px;
    display: block;
    float: left;

}

.teamtext {
    max-height: 150px;
    box-sizing: border-box;
    padding: 0px;
    font-size: 1rem;
    color: var(--darkgrey);
    font-weight: 600;
    position: relative;
    transition: all 0.5s;
    display: block;
    float: left;
    width: calc(60%);
    margin-top: 16px;
}

.teamtext p {
    font-size: 1rem;
    font-weight: 400;
}


/* teamdetails */
.teamdetails {
    margin-left: 50px;
    margin-top: 0px;
}

.teambild img {
    width: 100%;
}

/* N E W S */

.newsbox {
    margin-top: -250px;
    z-index: 10;
}

.newsimage {
    width: 100%;
    height: auto;
}

.newsimage img {
    width: 100%;
    height: auto;
}

.newstext {
    width: 100%;
}


/* CARDS */

.cardbox {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    justify-content: space-between;
    grid-gap: 40px;
}

.cardbox-team {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    justify-content: space-between;
    grid-gap: 40px;
}

.col-3-4 .cardbox-team {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.col-3-4 .cardbox-team h2 {
    color: var(--white);
}

.card {
    width: 100%;
    background-color: transparent;
    display: block;
    transition: all 0.5s;
    position: relative;
    -webkit-animation: fadein 0.5s;
    animation: fadein 0.5s;
    animation-fill-mode: forwards;
    opacity: 0;
    font-weight: 400;
    padding: 0px;
}


.stretched-link {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;

}

.stretched-link::after {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    pointer-events: auto;
    content: "";
    background-color: rgba(255, 255, 255, .0);
    transition: all 0.5s;
}

.blackcontent .card:hover .stretched-link::after {
    background-color: rgba(0, 0, 0, 0.6);
}

.card:hover .stretched-link::after {
    background-color: rgb(250, 250, 250, 0.6);
}

.cardimage {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    transition: all 0.5s;
}

.cardbox-team .cardimage {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
}

.cardtext {
    min-height: 120px;
    box-sizing: border-box;
    color: var(--black);
    font-weight: 400;
    position: relative;
    transition: all 0.5s;
    padding: 0px 0 0 0;
}

.card::after {
    content: "\279E";
    position: absolute;
    bottom: 20px;
    right: 0;
    color: var(--primarycolor);
    font-size: 20px;
}

.cardbox-team .card::after {
    content: "";
    display: none;
}

/* VIDEO LIGHTBOX (Layout passend zur Lightbox) */
.lightbox--video {
    -webkit-filter: none !important;
    filter: none !important;
}

.lightbox--video .lightbox__frame {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 90vw;
    max-width: 960px;
    height: 50.625vw;
    /* 16:9 */
    max-height: 540px;
    transform: translate(-50%, -50%);
    border: 5px solid #fff;
    box-shadow: 0 0 20px #000;
    background: #000;
}

.lightbox--video .lightbox__frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.short {
    min-height: 100px;
}

.card>span {
    font-size: 17px;
    position: absolute;
    bottom: 13px;
    left: 20px;
    color: var(--white);
    font-weight: 600;
    transition: all 0.5s;
    cursor: pointer;
}

/* N E W S  C A R D*/


.newscard {
    background-color: var(--gold);
}

.newscard:hover .cardtext span {
    color: var(--white);
}

.newscard .cardtext {
    color: var(--white);
}

.eventcard {
    background-color: var(--lightgrey);
    border-radius: 0 0 5px 5px;
    box-sizing: border-box;
    padding: 15px;
    color: var(--darkgrey);
    font-weight: 600;
    position: relative;
    transition: all 0.5s;
    height: 100%;
}

.cardtext p,
.eventcard p {
    font-size: 24px;
    line-height: 28px;
}

.cardtext h2,
.eventcard h2 {
    font-size: 24px;
    line-height: 28px;
    font-weight: 500;
    color: var(--black);
}

.cardtext h4,
.eventcard h4 {

    color: var(--black);
    word-wrap: break-word;

}

.blackcontent .cardtext,
.blackcontent .cardtext h4,
.blackcontent .cardtext h2 {
    color: var(--white);
}

.ctabutton {
    font-size: 20px;
    font-weight: 600;
    background-color: var(--primarycolor);
    color: var(--white);
    padding: 15px 20px;
    border: none;
    border-radius: 3px;
    transition: all 0.5s ease;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    margin: 0 auto;
    margin-top: 20px;
    margin-bottom: 20px;
}

.ctabutton:hover {
    background-color: var(--midgrey);
    color: var(--black);
}

.detailbutton {
    -webkit-appearance: none;
    appearance: none;
    width: auto;
    padding: 10px;
    -o-transition: 0.5s;
    -ms-transition: 0.5s;
    -moz-transition: 0.5s;
    -webkit-transition: 0.5s;
    transition: 0.5s;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    background: var(--primarycolor);
    color: #fff;
    color: var(--white);
    border: none;
    position: absolute;
    bottom: 10px;
    right: 10px;
}

.detailbutton:hover {
    background: var(--midgrey);
}

.icsbutton {
    -webkit-appearance: none;
    appearance: none;
    width: auto;
    height: 28px;
    padding: 0px;
    -o-transition: 0.5s;
    -ms-transition: 0.5s;
    -moz-transition: 0.5s;
    -webkit-transition: 0.5s;
    transition: 0.5s;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    background: transparent;
    color: #fff;
    color: var(--white);
    border: none;
    position: absolute;
    bottom: 10px;
    left: 10px;
}

.icsbutton:hover {
    opacity: 0.5;
}

.icsbutton2 {
    -webkit-appearance: none;
    appearance: none;
    width: auto;
    height: 28px;
    padding: 0px;
    -o-transition: 0.5s;
    -ms-transition: 0.5s;
    -moz-transition: 0.5s;
    -webkit-transition: 0.5s;
    transition: 0.5s;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    background: transparent;
    color: #fff;
    color: var(--white);
    border: none;
    position: absolute;
    bottom: 15px;
    left: auto;
    right: 15px;
}

.icsbutton2:hover {
    opacity: 0.5;
}

/* LISTEN */

.termin-list,
.news-list {
    padding: 0px !important;
    margin: 0px;
    letter-spacing: 0.5px;
}

.termin-list-item,
.news-list-item {
    position: relative;
    color: var(--black);
    list-style: none;
    padding: 10px 0 !important;
    margin: 0px
}

.termin-list-item::before,
.news-list-item::before {
    display: none;
}

.termin-list-item a {
    display: block;
    margin-top: 6px;
    color: var(--black);
    text-decoration: none;
}

.termin-list-item a:hover {
    color: var(--white);
}

.news-title,
.termin-title,
.termin-date {
    font-size: 23px;
    line-height: 28px;
    font-weight: 600;
}

.news-title,
.termin-title {
    color: var(--black);
}

.termin-date span {
    font-size: 17px;
    font-weight: 400;
}

.news-list-item {
    color: var(--primarycolor);
}

.news-link {
    display: inline-block;
    color: var(--primarycolor);
}

.news-link:hover {
    color: var(--gold);
}

.news-list-item::before {
    background-color: var(--primarycolor);
}


.news-teaser {
    line-height: 20px;
}

/* SWIPER */

#projektheader {
    margin-top: 0;
    border: 0;
    width: 100%;
    height: 800px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}

#topheader {
    margin-top: 0px;
    border: 0;
    width: var(--containerbreiteKlein);
    margin-left: auto;
    margin-right: auto;
    height: 500px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}

#topheaderoff {
    position: relative;
    border: 0;
    opacity: 1;
    height: 0;
    overflow: hidden;
    background-size: cover;
}

#slider {
    position: relative;
    border: 0;
    display: block;
    width: 100%;
}

figure {
    display: block;
    margin-block-start: 0;
    margin-block-end: 0;
    margin-inline-start: 0;
    margin-inline-end: 0;
}

.swiper-slide {
    text-align: left;
    font-size: 18px;
    /* Center slide text vertically */
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
    display: block;
    float: left;
    background-position: cover;
    font-size: 18px;
    width: 100%;
    background-repeat: no-repeat;
}

.swiper-container {
    width: 100%;
    height: 100%;
    text-align: left;
    margin-left: auto;
    margin-right: auto;
    padding: 0 0 20px 0;
}

.swiper-pagination {
    margin-top: -15px;
    display: none;
}

.swiper-container-projekt {
    width: 100%;
    height: 100%;
    z-index: -1;
}

.swiper-container .swiper-slide a {
    text-decoration: none;
    border: none;
}

.swiper-container .swiper-slide img {
    width: 60%;
    height: auto;
    border: none;
    float: left;
    margin-right: 3%;
}

.swiper-pagination {
    margin-top: -15px;
}

.swiper-container .swiper-slide figcaption {
    padding-top: 3.3rem;
    text-decoration: none;
    float: left;
    color: var(--white);
    width: 30%;
}

.swiper-container .swiper-slide h1 {
    color: var(--white);
}

.swiper-button-next,
.swiper-button-prev {

    cursor: pointer;
}

.swiper-button-next {
    right: 2%;
    cursor: pointer;
    top: 50%;
}

.swiper-button-prev {
    left: 2%;
    cursor: pointer;
    top: 50%;
}

.projekt-slider.swiper-container {
    margin-top: 80px;
    height: 680px;
}

.projekt-slider .swiper-wrapper {
    height: 100%;
}

.projekt-slider .swiper-slide {
    height: 680px;
}

.projekt-slider .swiper-button-next {
    right: 0%;
    cursor: pointer;
    top: 0px;
    margin-top: 0px;
    height: 100px;
    width: 50px;
    background-size: contain;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2055.363%20109.375'%3E%3Cpolyline%20points%3D'0.729%200.729%2054.633%2054.688%200.729%20108.646'%20fill%3D'none'%20stroke%3D'%23f1864c'%20stroke-linecap%3D'round'%20stroke-linejoin%3D'round'%20stroke-width%3D'1.458'%2F%3E%3C%2Fsvg%3E");
}

.projekt-slider .swiper-button-prev {
    display: none;
}

.projekt-slide-content {
    position: relative;
    min-height: 680px;
    background: var(--white);
}



.projekt-slide-images {
    display: block;
    position: relative;
    width: 100%;
    height: 680px;
}

.projekt-slide-image {
    display: block;
    position: absolute;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.projekt-slide-images .projekt-slide-image--first {
    left: 0px;
    top: 0px;
    width: 860px;
    height: 580px;
    z-index: 1;
}

.projekt-slide-images .projekt-slide-image--second {
    right: 0px;
    top: 320px;
    width: 630px;
    height: 350px;
    z-index: 2;
}

.projekt-slide-info {
    display: block;
    position: absolute;
    right: 0px;
    top: 150px;
    width: 480px;
    height: 250px;
    z-index: 23;
}

.projekt-slide-info .projekt-slide-link {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.projekt-slide-info .projekt-slide-link:hover {
    opacity: 0.4;
}

.projekt-slide-info h2 {
    font-size: 32px;
    line-height: 34px;
}

.projekt-slide-info h4 {
    font-weight: 500;
    line-height: 18px;
    color: var(--primarycolor);
    margin-bottom: 5px;
}

.append-buttons {
    text-align: center;
    margin-top: 20px;
}

.append-buttons a {
    display: inline-block;
    border: 1px solid #007aff;
    color: #007aff;
    text-decoration: none;
    padding: 4px 10px;
    margin: 0 10px;
    font-size: 13px;
}

/* PROJEKTE */
#projektdetails {
    margin-left: 0;
}

#projektdetails h1 {
    margin-top: 0;
}

#projektdetails p {
    margin: 0;
}

#projektdetails span {
    font-weight: 400;
    text-transform: uppercase;
}

#projektbeschreibung {
    padding-top: 30px;
    clear: both;
    width: 32vw;
}

#projektbeschreibung span {
    font-weight: 400;
    text-transform: uppercase;
}

#projektnavigation {
    top: 20px;
    left: 10%;
    margin-bottom: 20px;
    text-align: left;
    z-index: 3000;
    width: 100%;
}

#projektnavigation div {
    float: right;
}

#projektnavigation div a.leftbutton {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M27%2C22L27%2C22L5%2C44l-2.1-2.1L22.8%2C22L2.9%2C2.1L5%2C0L27%2C22L27%2C22z'%20fill%3D'%23222222'%2F%3E%3C%2Fsvg%3E");
    background-repeat: none;
    display: block;
    width: 15px;
    height: 15px;
    background-size: 15px 15px;
    -moz-background-size: 15px 15px;
    -webkit-background-size: 15px 15px;
    float: left;
    text-decoration: none;
}

#projektnavigation div a.rightbutton {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M0%2C22L22%2C0l2.1%2C2.1L4.2%2C22l19.9%2C19.9L22%2C44L0%2C22L0%2C22L0%2C22z'%20fill%3D'%23222222'%2F%3E%3C%2Fsvg%3E");
    background-repeat: none;
    display: block;
    width: 15px;
    height: 15px;
    background-size: 15px 15px;
    -moz-background-size: 15px 15px;
    -webkit-background-size: 15px 15px;
    float: left;
    text-decoration: none;
}

#projektnavigation div a.leftbutton:hover,
#projektnavigation div a.rightbutton:hover {
    opacity: 0.5;
}

.projekttext p,
.auftraggeber,
.leistung,
.anhang {
    font-size: 18px;
    line-height: 25px;
    margin-bottom: 20px;
}

.projekt-bilder img {
    margin-bottom: 20px;
}

/* CONTROLS */
.filter-container {
    margin-bottom: 50px;
    font-family: ff-utility-web-pro, Arial, Helvetica, sans-serif;
    font-weight: 300;
    color: var(--black);
}

.filter-container input,
.filter-container select,
.filter-container button,
.filter-container option {
    font-weight: 300 !important;
}

.filter-container select option,
.filter-container select option:checked {
    font-weight: 300 !important;
}

.filter-container select {
    width: auto;
    height: 43px;
    background-image: none;
    border-radius: 0px;
    box-sizing: border-box;
    font-weight: 300;
    padding: 8px 10px;
    line-height: normal;
}

.filter-kategorie {
    display: inline-block;
    margin-right: 20px;
    font-size: 18px;
    color: var(--primarycolor);
    cursor: pointer;
}


/* SPRACHWAHL */

.language-dropdown {
    z-index: 20;
}

.language-dropdown select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: var(--white);
    color: var(--primarycolor);
    font-size: 18px;
    padding: 0px 0px;
    border: none;
    border-radius: 0px;
    cursor: pointer;
    outline: none;
    width: auto;
    text-align: center;
    font-weight: 600;
    text-transform: uppercase;
}

.language-dropdown select:hover {
    color: var(--gold);
}

/* Pfeil-Icon für das Dropdown */
.language-dropdown select {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%237f866e' width='7px' height='16px'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0px center;
    background-size: 18px;
    padding-right: 15px;
}


/* LOGIN */

.loginbutton {
    display: block;
}

.loginbutton a {
    padding: 7px 10px !important;
    background-color: var(--primarycolor) !important;
    color: #fff !important;
    text-decoration: none !important;
}

div.suche {
    position: absolute;
    display: block;
    right: 70px;
    top: 15px;
    margin: 0;
    z-index: 6009;
}

input.search_field {
    height: 43px;
    -webkit-appearance: none;
    appearance: none;
    display: inline-block;
    background-color: #eeeeee;
    background-color: var(--lightgrey);
    border: none;
    padding: 10px;
    color: #000;
    color: var(--black);
    font-size: 14px;
    font-weight: 300;
    box-sizing: border-box;
    border-radius: 0;
    width: 165px;
}

input.search_field::placeholder {
    font-weight: 300;
    color: var(--black);
    opacity: 0.7;
}

input.search_field:focus {
    outline: 0 !important;
    border-bottom: 2px solid var(--midgrey);
}

/*
input.email {
    width: 200px;
}*/

input.email:focus {
    outline: 0 !important;
    border: none;
    background: #fff;
}

input.search_submit {
    vertical-align: top;
    height: 30px;
    width: 30px;
    padding: 5px;
    -webkit-appearance: none;
    appearance: none;
    display: inline-block;
    background-color: #8e8e8e;
    border: none;
    color: #fff;
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
    box-sizing: border-box;
    border-radius: 0;
    cursor: pointer;
}

input.search_submit:hover {
    background-color: #505050;
    background-color: var(--darkgrey);
}

input.send_submit {
    vertical-align: top;
    height: 30px;
    width: auto;
    padding: 5px;
    -webkit-appearance: none;
    appearance: none;
    display: inline-block;
    background-color: var(--primarycolor);
    border: none;
    color: #fff;
    color: var(--white);
    font-weight: 600;
    font-size: 14px;
    box-sizing: border-box;
    border-radius: 0;
    cursor: pointer;
}

input.send_submit:hover {
    background-color: #505050;
    color: #fff;
    color: var(--white);
}

a.clear_submit {
    position: absolute;
    margin-left: -60px;
    vertical-align: bottom;
    height: 30px;
    width: 30px;
    padding: 4px 5px 6px 5px;
    -webkit-appearance: none;
    appearance: none;
    display: none;
    background-color: transparent;
    text-align: center;
    font-size: 16px;
    box-sizing: border-box;
    border-radius: 0;
    cursor: pointer;
    color: var(--primarycolor);
    text-decoration: none;
}

a.clear_submit:hover {
    background-color: var(--primarycolor);
    color: #fff;
    width: 30px;
}

a.sehdich {
    display: inline-block;
}

.suchresultat {
    border-top: 1px solid #ccc;
    line-height: 0.7rem;
    padding: 10px 0;
}

.suchresultat h4 {
    margin-block-end: 7px;
    margin-block-start: 5px;
    display: block;
}


/* PROJEKTFILTER */

div.dropdown {
    cursor: pointer;
    background: transparent;
    text-align: left;
    padding: 0;
    display: inline-block;
}

div.dropdown .clearer {
    font-size: 16px;
    font-weight: 400;
    line-height: 26px;
    display: none;
    cursor: pointer;
    text-align: center;
    background: var(--primarycolor);
    color: #fff;
    color: var(--white);
    padding: 7px 7px 7px 7px !important;
    -webkit-appearance: none;
    appearance: none;
    box-sizing: border-box;
    position: absolute;
    content: '\276E';
    margin-left: 165px;
    width: 40px;
    margin-top: -45px;
    border-style: none;
    border-left: 2px solid #fff;
}

div.dropdown .sichtbar {
    display: block;
}

div.dropdown .dropdown-lab {
    font-size: 16px;
    font-weight: 400;
    line-height: 26px;
    display: inline-block;
    margin: 0 5px 5px 0;
    cursor: pointer;
    background: #8e8e8e;
    background: var(--midgrey);
    color: #fff;
    color: var(--white);
    padding: 7px 10px !important;
    -webkit-appearance: none;
    appearance: none;
    display: inline-block;
    box-sizing: border-box;
    width: 205px;
}

div.dropdown .dropdown-lab:after {
    position: absolute;
    display: block;
    content: '\276E';
    margin-left: 160px;
    width: 26px;
    margin-top: -34px;
    transform-origin: 50% 50%;
    -webkit-transform: rotate(-90deg);
    -moz-transform: rotate(-90deg);
    -o-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    transform: rotate(-90deg);
}

div.dropdown .dropdown-lab.activ:after {
    margin-left: 122px;
}

div.dropdown .dropdown-lab.down:after {
    margin-top: -17px;
    -webkit-transform: rotate(90deg);
    -moz-transform: rotate(90deg);
    -o-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    transform: rotate(90deg);
}

div.dropdown .buttonwrap {
    position: absolute;
    display: none;
    margin-bottom: 10px;
    background: var(--white);
    z-index: 9999;
}

div.dropdown .show {
    display: block;

}

div.dropdown .buttonwrap::after {
    content: ' ';
    clear: both;
}

button.filter2 {
    color: #505050;
    color: var(--darkgrey);
    display: block;
    padding: 7px 10px;
    border: 0;
    cursor: pointer;
    text-align: left;
    scroll-margin-right: 3px;
    background: var(--lightgrey);
    font-size: 16px;
    margin-right: 0;
    margin-bottom: 5px;
    width: 205px;
    clear: both;
}



/* FOOTER */

div.footerspace {
    height: 250px;
    background-color: var(--white);
}

div.footer-top {
    background-image: url("style_img/footer-top.svg");
    background-repeat: no-repeat;
    height: calc(100vw * 0.084);
    background-size: cover;

}

footer {
    background-color: var(--white);
    padding: 50px 0;
    color: var(--primarycolor);
    display: flex;
    align-content: left;
}

footer .col {
    padding-top: 0px;
    vertical-align: bottom;
}

footer .col:last-child {
    padding-top: 0px;
}

footer .contentbox {
    width: var(--containerbreite);
    margin-left: auto;
    margin-right: auto;
}

footer #logo-footer {
    background-image: url("style_img/wechselraum-logo.svg");
    background-repeat: no-repeat;
    height: 58px;
    width: 437px;
    transition: all 0.3s linear;
    text-decoration: none;
}

footer a {
    text-decoration: none;
    color: var(--primarycolor)
}

footer .adresse {
    text-align: left;
    color: var(--primarycolor);
}

footer .adresse img {
    width: 133px;
    margin-bottom: 15px;
    display: block;
}

footer .rechte-seite {
    text-align: right;
    position: relative;
}



footer .newsletter p {
    font-size: 15px;
    color: var(--primarycolor);
}

footer div.impressum,
footer div.impressum a {
    color: var(--black);
    font-size: 12px;
    text-align: right;
}

footer div.impressum a:hover {
    color: var(--primarycolor);
}

footer div.social {
    position: relative;
    display: block;
    text-align: right;
    margin-right: 0;
    font-size: 12px;
    align-self: end;
}

div.social a {
    vertical-align: bottom;
    height: 40px;
    width: 40px;
    padding: 5px;
    -webkit-appearance: none;
    appearance: none;
    display: inline-block;
    background-color: var(--primarycolor);
    border: none;
    color: #fff;
    color: var(--white);
    font-size: 14px;
    box-sizing: border-box;
    border-radius: 0;
    cursor: pointer;
    text-decoration: none;
    margin-left: 15px;
}

div.social a:hover {
    background-color: var(--lightgrey);
}


/* KONTAKTFORMULAR */

.floating {
    float: left;
    display: block;
    margin-right: 10px;
}

.tinybutton {
    -webkit-appearance: none;
    appearance: none;
    width: auto;
    padding: 3px;
    -o-transition: 0.5s;
    -ms-transition: 0.5s;
    -moz-transition: 0.5s;
    -webkit-transition: 0.5s;
    transition: 0.5s;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    background: var(--midgrey);
    color: #fff;
    color: var(--white);
    border: none;
    margin-bottom: 2px;
}

.tinybutton:hover {
    background: var(--primarycolor);
}

select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    font-size: 14px;
    width: 100%;
    background: var(--lightgrey);
    background-image: linear-gradient(45deg, transparent 50%, var(--darkgrey) 50%), linear-gradient(135deg, var(--darkgrey) 50%, transparent 50%), linear-gradient(to right, var(--lightgrey), var(--lightgrey));
    background-position: calc(100% - 20px) calc(20px + 1px), calc(100% - 15px) calc(20px + 1px), 100% 0;
    background-size: 5px 5px, 5px 5px, 2.5em 2.5em;
    background-repeat: no-repeat;
    color: var(--darkgrey);
    border: 0 solid #fff;
    border-radius: 0px;
    box-shadow: 0;
    padding: 10px;
    font-weight: 400;
    cursor: pointer;
}

select.filterselect {
    height: 32px;
    -webkit-appearance: none;
    appearance: none;
    display: inline-block;
    background-color: #eeeeee;
    background-color: var(--lightgrey);
    border: none;
    padding: 5px 10px;
    color: #000;
    color: var(--black);
    font-size: 14px;
    box-sizing: border-box;
    border-radius: 0;
    width: 115%;
}

#kontaktwraper {
    width: 100%;
    display: block;
}

#googleMaps {
    display: block;
    width: 40%;
    float: left;
    padding-left: 2%;
    background-color: transparent;
}

.formular {
    background-color: transparent;
}

.formular>div {
    position: relative;
}

.formular h3 {
    margin-top: 30px;
    padding: 5px;
}

.formular p {
    font-size: 18px;
}

/* Label-Styling nur für Text-Inputs und Textareas (floating labels) */
.formular input[type="text"]+label,
.formular input[type="email"]+label,
.formular input[type="tel"]+label,
.formular input[type="password"]+label,
.formular textarea+label {
    display: block;
    position: absolute;
    top: 12px;
    left: 15px;
    font-size: 16px;
    color: var(--primarycolor);
    transition: all 0.3s ease;
}

/* Basis-Styling für alle anderen Labels (Radio, Checkbox) */
.formular label {
    font-size: 16px;
    color: var(--white);
    font-family: ff-utility-web-pro, Arial, Helvetica, sans-serif;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.formular input[type="text"],
.formular input[type="email"],
.formular input[type="tel"],
.formular input[type="password"],
.formular textarea {
    width: 100%;
    padding: 15px 20px 12px 20px;
    border: 1px solid var(--lightgrey);
    transition: all 0.3s ease;
}

.formular input[type="text"]:focus,
.formular input[type="email"]:focus,
.formular input[type="tel"]:focus,
.formular input[type="password"]:focus,
.formular textarea:focus {
    outline: 1px solid var(--primarycolor);
}

.formular input[type="text"]:focus+label,
.formular input[type="text"]:not(:placeholder-shown)+label,
.formular input[type="email"]:focus+label,
.formular input[type="email"]:not(:placeholder-shown)+label,
.formular input[type="tel"]:focus+label,
.formular input[type="tel"]:not(:placeholder-shown)+label,
.formular input[type="password"]:focus+label,
.formular input[type="password"]:not(:placeholder-shown)+label,
.formular textarea:focus+label,
.formular textarea:not(:placeholder-shown)+label {
    top: 1px;
    left: auto;
    right: 5px;
    font-size: 12px;
}

.formular input[type="file"]+label,
.formular select+label {
    top: 1px;
    font-size: 12px;
}

.formular input[type="checkbox"],
.formular input[type="radio"] {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    background-color: var(--lightgrey);
    border: 1px solid var(--darkgrey);
    border-radius: 3px;
    position: relative;
    cursor: pointer;
    vertical-align: middle;
    padding: 10px;
}

.formular select {
    padding: 20px;
    border-radius: 0px;
    background-position: calc(100% - 20px) calc(25px + 1px), calc(100% - 15px) calc(25px + 1px), 100% 0;
}

.formular input[type="checkbox"]:checked,
.formular input[type="radio"]:checked {
    background-color: var(--primarycolor);
    border: 1px solid var(--white);
}

.formular input[type="checkbox"]:checked::after,
.formular input[type="radio"]:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 14px;
    font-weight: bold;
}

.formular input[type="checkbox"]+label,
.formular input[type="radio"]+label {
    font-size: 16px;
    margin-left: 10px;
    position: relative;
    display: inline-block;
    vertical-align: middle;
    top: auto;
    left: auto;
}

/* Checkbox Wrapper für erweiterte Styling-Möglichkeiten */
.consent-checkbox {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.hint {
    font-size: 12px;
}

/*
/* Spezifische Input-Typen für appearance: none */
/*
input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"],
input[type="url"],
input[type="tel"],
input[type="number"],
input[type="date"],
input[type="datetime-local"],
input[type="month"],
input[type="week"],
input[type="time"],
*/
textarea {
    -webkit-appearance: none;
    appearance: none;
    background-color: var(--lightgrey);
    border: none;
    padding: 10px;
    color: var(--darkgrey);
    font-size: 14px;
    box-sizing: border-box;
    border-radius: 0;
}

*/ input[type="image"] {
    padding: 0px;
}

/*
#kontaktformular input {
    width: 100%;
}

#kontaktformular input[type="checkbox"],
input[type="checkbox"] {
    -webkit-appearance: checkbox;
    appearance: checkbox;
    width: auto;
    background-color: var(--lightgrey);
    padding: 0px;
}


#kontaktformular input[type="text"],
#kontaktformular input[type="datetime-local"] {
    -webkit-appearance: none;
    appearance: none;
    border: none;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    transition-timing-function: linear;
}



#kontaktformular input[type="text"]:focus {
    background-color: var(--lightgrey);
    outline: none;
    color: var(--darkgrey);
}

#kontaktformular input[type="radio"] {
    width: 20px;
    height: 20px;
    background-color: transparent;
    border: none;
    padding: 5px;
    color: var(--darkgrey);
    font-size: 14px;
}
    #kontaktformular input:focus {
    background-color: var(--lightgrey);
}

#kontaktformular textarea {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    background-color: var(--lightgrey);
    height: 80px;
    padding: 5px;
    color: var(--darkgrey);
    font-size: 14px;
    box-sizing: border-box;
    border-radius: 0;
    border: none;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    transition-timing-function: linear;
    min-height: 200px;
}

#kontaktformular textarea:focus {
    background-color: var(--lightgrey);
    color: var(--darkgrey);
}

#kontaktformular select {
    font-size: 14px;
    width: 100%;
    background: var(--lightgrey);
    background-image: linear-gradient(45deg, transparent 50%, var(--darkgrey) 50%), linear-gradient(135deg, var(--darkgrey) 50%, transparent 50%), linear-gradient(to right, var(--lightgrey), var(--lightgrey));
    background-position: calc(100% - 20px) calc(1em + 1px), calc(100% - 15px) calc(1em + 1px), 100% 0;
    background-size: 5px 5px, 5px 5px, 2.5em 2.5em;
    background-repeat: no-repeat;
    color: var(--darkgrey);
    border: 0 solid #fff;
    box-shadow: 0;
    padding: 10px;
    font-weight: 400;
    cursor: pointer;

}

#kontaktformular select option {
    font-size: 14px;
}
    */

input[type="radio"].rot {
    background-color: #c11932;
    -webkit-appearance: none;
    appearance: none;
    width: 15px;
    height: 15px;
    margin-right: 10px;
}

input[type="radio"].rot:checked {
    border: 2px solid var(--lightgrey);
    outline: 2px solid var(--darkgrey);
}

input[type="radio"].grau {
    background-color: var(--darkgrey);
    -webkit-appearance: none;
    appearance: none;
    width: 15px;
    height: 15px;
    margin-right: 10px;
}

input[type="radio"].grau:checked {
    border: 2px solid var(--lightgrey);
    outline: 2px solid var(--darkgrey);
}

button {
    font-family: ff-unity-web-pro, Arial, Helvetica, sans-serif;
    -webkit-appearance: none;
    appearance: none;
    width: auto;
    padding: 10px;
    -o-transition: 0.5s;
    -ms-transition: 0.5s;
    -moz-transition: 0.5s;
    -webkit-transition: 0.5s;
    transition: 0.5s;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    background: var(--primarycolor);
    color: #fff;
    color: var(--white);
    border: none;
    margin-bottom: 2px;
}

.button2 {
    font-family: ff-unity-web-pro, Arial, Helvetica, sans-serif;
    -webkit-appearance: none;
    appearance: none;
    width: auto;
    padding: 10px;
    -o-transition: 0.5s;
    -ms-transition: 0.5s;
    -moz-transition: 0.5s;
    -webkit-transition: 0.5s;
    transition: 0.5s;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    background: var(--lightgrey);
    color: var(--midgrey);
    border: none;
}

.listbuttonright {
    right: 0px;
    position: absolute;
}

button:hover,
.button2:hover {
    background: var(--midgrey);
}



input.senden {
    cursor: pointer;
}

input.send {
    display: inline-block;
    text-decoration: none;
    border: 0 solid #000;
    background-color: #d4001c;
    color: #fff;
    padding: 8px;
    font-size: 16px;
    cursor: pointer;
    text-transform: uppercase;
    font-weight: 700;
}

input.kill {
    font-weight: 700;
    width: auto;
    display: inline-block;
    padding: 4px 8px;
    cursor: pointer;
    background: #d4001c;
    color: #fff;
    border: 1px solid #d4001c;
    font-size: 14px;
    font-weight: 700;
    margin-top: 6px;
    margin-bottom: 6px;
    margin-right: 6px;
}

input.kill:hover {
    background: #a5001c;
    border: 1px solid #a5001c;
}

.error-message {
    background: #a5001c;
    color: #fff;
    padding: 15px;
    font-size: 16px;
    font-weight: 700;
    margin: 10px 0;
    width: 100%;
}

.success-message {
    background: green;
    color: #fff;
    padding: 15px;
    font-size: 16px;
    font-weight: 700;
    margin: 10px 0;
    width: 100%;
}

.alert {
    color: #a5001c;
}

.succeed {
    color: green;
}

.clear {
    clear: both;
    margin: 0;
    padding: 0;
}

/* Erfolgs- und Fehlermeldungen für Formulare */
.success-message {
    background-color: #d4edda;
    color: #155724;
    padding: 15px;
    border: 1px solid #c3e6cb;
    border-radius: 4px;
    margin-bottom: 20px;
}

.error-message {
    background-color: #f8d7da;
    color: #721c24;
    padding: 15px;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
    margin-bottom: 20px;
}

.ui-button.ui-state-active:hover,
.ui-button:active,
.ui-state-active,
.ui-widget-content .ui-state-active,
.ui-widget-header .ui-state-active,
a.ui-button:active {
    background: var(--midgrey) !important;
    border: 0 solid #F00000 !important;
    border-radius: 0 !important;
}

ul.liste {
    margin: 0;
    padding: 0;
}

ul.liste>li {
    font-size: 16px;
    background-color: var(--lightgrey);
    margin: 5px 0 5px;
    padding: 5px;
    list-style-type: none;
    display: block;
    list-style-position: outside;
    position: relative;
}

ul.liste li div.loeschen {

    display: none;
    position: absolute;
    left: -5px;
    top: -5px;

}

ul.liste li:hover div.loeschen {
    display: block;
}

ul.liste li div.loeschen input[type=button] {
    background-color: rgb(251, 0, 0);
    color: #fff;
    border: none;
    font-weight: 600;
    cursor: pointer;
}

ul.liste li div.loeschen input[type=button]:hover {
    background-color: rgb(120, 112, 112);
}

ul.liste>li label {
    font-size: 13px;
    line-height: 12px;
    display: inline-block;
    text-align: right;
    color: #666;
}

ul.liste>li>div {
    display: inline-block;
    text-align: left;
}

.activated {
    background-color: var(--midgrey) !important;
}

.memberlist span {
    color: var(--primarycolor);
}

ul.liste>li.memberlist-aktiv {
    background-color: rgb(191, 230, 191);
}

ul.liste>li.memberlist-neu {
    background-color: rgb(191, 219, 230);
}

ul.liste>li.memberlist- {
    background-color: rgb(230, 191, 191);
}

/* Honeypot-Feld ausblenden */
.subject {
    display: none;
    visibility: hidden;
    position: absolute;
    left: -9999px;
}

.form-group {
    position: relative;
    margin-bottom: 15px;
}

/* Formatierung für die Formularzeile mit zwei Feldern nebeneinander */
.form-row {
    display: flex;
    gap: 15px;
    width: 100%;
    position: relative;
}

.form-row .half {
    flex: 1;
    position: relative;
}


/* BEWERBUNGSFORMULAR LAYOUT */
.bewerbung-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 20px;
}

.bewerbung-column {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.question-block {
    background: transparent;
    padding: 0px 0 0 0;
    border-radius: 0px;
}

.question-block h3 {
    margin-top: 0;
    margin-bottom: 0px;
    font-size: 18px;
    text-transform: none;
    font-family: 'lora', 'times new roman', serif;
    font-weight: 600;
}

.question-block p {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 14px;
    color: var(--white);
}

.question-block .form-group {
    margin-bottom: 5px;
}

.question-block .form-group:last-child {
    margin-bottom: 0;
}

.submit-section {
    text-align: left;
    margin-top: 30px;
}


/* ALERT */

#alert {
    display: block;
    position: fixed;
    line-height: 26px;
    font-size: 20px;
    font-weight: 600;
    top: 20%;
    left: 15%;
    width: 70%;
    min-height: auto;
    border: 5px solid #f00;
    padding: 20px;
    color: #222222;
    border-radius: 15px;
    z-index: 999999;
    background-color: #fff;
    text-align: center;
    -webkit-box-shadow: 5px 5px 5px 0 rgba(0, 0, 0, .5);
    -moz-box-shadow: 5px 5px 5px 0 rgba(0, 0, 0, .5);
    box-shadow: 5px 5px 5px 0 rgba(0, 0, 0, .5);

}

#alertSoft {
    display: block;
    position: absolute;
    font-size: 1rem;
    font-weight: 400;
    top: 25%;
    left: 15%;
    width: 70%;
    min-height: auto;
    border: none;
    padding: 20px;
    color: #222222;
    border-radius: 5px;
    z-index: 999999;
    background-color: var(--white);
    text-align: left;
    -webkit-box-shadow: 5px 5px 5px 0 rgba(0, 0, 0, .5);
    -moz-box-shadow: 5px 5px 5px 0 rgba(0, 0, 0, .5);
    box-shadow: 5px 5px 5px 0 rgba(0, 0, 0, .5);
    margin-bottom: 50px;
}

#alertInfo {
    -moz-animation: cssAnimation 0s ease-in 3s forwards;
    /* Firefox */
    -webkit-animation: cssAnimation 0s ease-in 3s forwards;
    /* Safari and Chrome */
    -o-animation: cssAnimation 0s ease-in 3s forwards;
    /* Opera */
    animation: cssAnimation 0s ease-in 3s forwards;
    -webkit-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
    display: block;
    position: fixed;
    line-height: 26px;
    font-size: 18px;
    font-weight: 700;
    top: 180px;
    left: 0;
    margin: 0;
    width: 100%;
    min-height: auto;
    outline: 5px solid #0f0;
    padding: 20px;
    color: #000;
    z-index: 999999;
    background: #0f0;
    text-align: center;
}

#softer {
    position: fixed;
    box-sizing: border-box;
    left: 0;
    top: 0;
    color: #222222;
    width: 100%;
    height: 100%;
    z-index: 7500;
    background: rgba(0, 0, 0, .7);
    overflow: scroll;

}

#softalert {
    position: absolute;
    box-sizing: border-box;
    left: 3%;
    top: 150px;
    padding: 20px;
    color: #222222;
    max-width: 94%;
    z-index: 7920;
    background: #ddd;
    border: 1px solid #333;
    border-radius: 5px;
    -webkit-box-shadow: 5px 5px 5px 0 rgba(0, 0, 0, .5);
    -moz-box-shadow: 5px 5px 5px 0 rgba(0, 0, 0, .5);
    box-shadow: 5px 5px 5px 0 rgba(0, 0, 0, .5);

}

#softalert h2 {
    font-size: 30px;
    display: block;
    color: #F00000;
    line-height: 100px;
    margin-top: 0;
    position: relative;
    margin-left: 0;
}

#softalert b {
    text-transform: uppercase;
    font-size: 24px;
}

.closealert {
    position: absolute;
    top: 0px;
    right: 0px;
    width: auto;
    padding: 10px;
}

a.alert {
    font-size: 10px;
    line-height: 11px;
    text-decoration: none;
    color: #000;
}

a.alert:hover {
    text-decoration: none;
    color: #ffffff;
}

input.kill {
    font-weight: 700;
    width: auto;
    display: inline-block;
    padding: 8px 12px;
    cursor: pointer;
    background: #d4001c;
    color: #fff;
    border: 1px solid #d4001c;
    font-size: 14px;
    font-weight: 700;
    margin-top: 6px;
    margin-bottom: 6px;
    margin-right: 6px;
}

input.kill:hover {
    background: #a5001c;
    border: 1px solid #a5001c;
}

input.nokill {
    font-weight: 700;
    width: auto;
    display: inline-block;
    padding: 8px 12px;
    cursor: pointer;
    background: green;
    color: #fff;
    border: 1px solid green;
    font-size: 14px;
    font-weight: 700;
    margin-top: 6px;
    margin-bottom: 6px;
    margin-right: 6px;
}

input.nokill:hover {
    background: darkgreen;
    border: 1px solid darkgreen;
}

span.back {
    padding: 0;
}

a.back {
    display: inline-block;
    padding: 2px 4px;
    cursor: pointer;
    border: 2px solid green;
    color: white;
    background: green;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
}

a.back:hover {
    background: darkgreen;
    border: 2px solid darkgreen;
}

#accordion {
    width: 100%;
}

#accordion h3 {
    display: block;
    padding: 10px;
    color: var(--midgrey);
    background: var(--lightgrey);
    position: relative;
    width: auto;
    cursor: pointer;
    border: 0 solid var(--midgrey);
    margin-block-end: 0;
    font-size: 16px;
    border-radius: 0;
    font-weight: 700;
    margin-top: 3px;
}

#accordion h3.neu {
    color: #038650;
}

#accordion h3.aktiv {
    color: var(--black)
}

#accordion h3 span {
    font-size: 12px;
    font-weight: 400;
    position: absolute;
    right: 60px;
    top: 15px;
}

#accordion h3:focus {
    outline: none !important;
}

#accordion h3::after {
    content: '\0020\0020\2794';
    transform: rotate(90deg);
    display: block;
    float: right;
    text-align: right;
    height: auto;
    width: auto;
    transition: all 0.15s ease-in-out;
    background: transparent;
    position: absolute;
    left: auto;
    bottom: auto;
    right: 6px;
}

#accordion h3.ui-state-active::after {
    content: '\0020\0020\2794';
    transform: rotate(-90deg);
}

#accordion>div {
    border-radius: 0 !important;
}

/* Simple Animation Transforms */

.animate {
    transition: all 1s;
}

.animate.from_left {
    opacity: 0;
    transform: translateX(-50px);
}

.animate.from_left.visible {
    opacity: 1;
    transform: translateX(0);
}

.animate.from_right {
    opacity: 0;
    transform: translateX(50px);
}

.animate.from_right.visible {
    opacity: 1;
    transform: translateX(0);
}

.animate.from_top {
    opacity: 0;
    transform: translateY(-50px);
}

.animate.from_top.visible {
    opacity: 1;
    transform: translateY(0);
}