h2 .glossary-link a {
    font-size: inherit;
}

/*Flip-Box styles*/

.flipbox-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    max-width: 1600px;
}

.flip-box {
    flex: 0 0 32%;
    background-color: transparent;
    width: 100%;
    max-width: 512px;
    min-height: 330px;
    perspective: 1000px;
}

.flip-box-front .flipbox-icon {
    position: absolute;
    right: 0;
    bottom: 0;
}

.box-list {
    margin-bottom: 0;
}

ul.haken-liste li{
    list-style:none;
    position:relative;
}

ul.haken-liste li:not(.kein-haken):before{
    content: "✓";
    color:#008800;
    font-size:120%;
    display:block;
    position: absolute;
    left:-25px;
}

.plan:hover ul.haken-liste li:before{
    color:#FFF;
}

.flip-box-front .flipbox-icon svg {
    width: 130px;
    height: 100%;
    opacity: 0.5;
}

.flip-box-back .flipbox-icon svg {
    width: 50px;
    height: 100%;
    margin-bottom: 10px;
    background: linear-gradient(124deg, rgba(251, 187, 0, 1) 62%, rgba(255, 214, 0, 1) 93%);
    color: #fff;
    border-radius: .5rem;
}

.flip-box-front.yellow {
    background: linear-gradient(124deg, rgba(251, 187, 0, 1) 62%, rgba(255, 214, 0, 1) 93%);
}

.flip-box-front.blue {
    background: linear-gradient(124deg, rgba(4, 96, 140, 1) 47%, rgba(0, 161, 222, 1) 95%);
}

.flip-box-front.green {
    background: linear-gradient(124deg, rgba(146, 195, 85, 1) 47%, rgba(203, 237, 5, 1) 95%);
}
  
.flip-box-inner {
    position: relative;
    width: 100%;
    min-height: 330px;
    transition: transform 0.7s;
    transform-style: preserve-3d;
}
  
.flip-box:hover .flip-box-inner {
    transform: rotateY(180deg);
}
  
.flip-box-front, .flip-box-back {
    position: absolute;
    width: 100%;
    min-height: 330px;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 20px;
    padding: 20px;
}

.flipbox-headline {
    color: #fff!important;
    font-size: 28px!important;
}

.flipbox-description {
    font-size: 16px!important;
    line-height: 1.55rem!important;
    text-align: center;
}
  
.flip-box-front {
    color: #fff;
}

.flip-box-front .glossary-link a {
    color: #fff;
}

.flip-box-front .glossary-tooltip a, .glossary-underline {
    border-bottom: 1px dashed #fff;
}
  
.flip-box-back {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #f3f4f6;
    color: #000;
    transform: rotateY(180deg);
}

@media only screen and (max-width: 1400px) {
    .flip-box {
        min-height: 360px;
    }
    .flip-box-front, .flip-box-back {
        min-height: 360px;
    }
}

@media only screen and (max-width: 1200px) {
    .flip-box {
        flex: 0 0 48%;
    }
}

@media only screen and (max-width: 722px) {
    .flip-box {
        flex: 0 0 100%;
        max-width: 680px;
    }
}

/*Styles for Tabs*/

.vertical-tabs {
    display: flex;
    flex-direction: column;
    max-width: 1600px;
    margin: 0;
    gap: 18px;
}

.vertical-tabs h3 {
    text-align: right!important;
    font-size: 24px!important;
    font-weight: bold!important;
    color: #000!important;
    margin-bottom: 15px;
}

.tabs {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.tab-button {
    position: relative;
    background: #d3d3d3!important;
    color: #000!important;
    border: 0px solid #bbb;
    border-radius: .5rem;
    padding: 10px;
    cursor: pointer;
    text-align: left;
    transition: background-color 0.3s ease;
}

.tab-button:hover {
    background-color: #f7f7f7;
}

.tab-button.yellow.active {
    color: #fff!important;
    background: linear-gradient(124deg, rgba(251, 187, 0, 1) 62%, rgba(255, 214, 0, 1) 93%)!important;
}

.tab-button.blue.active {
    color: #fff!important;
    background: linear-gradient(124deg, rgba(4, 96, 140, 1) 47%, rgba(0, 161, 222, 1) 95%)!important;
}

.tab-button.green.active {
    color: #fff!important;
    background: linear-gradient(124deg, rgba(146, 195, 85, 1) 47%, rgba(203, 237, 5, 1) 95%)!important;
}

.triangle {
    opacity: 0;
    position: absolute;
    right: 2px;
    top: 0;
    bottom: 0;
    margin: auto 0;
    width: 0px;
    height: 0px;
    border-style: solid;
    border-width: 10px 0 10px 10px;
    transform: rotate(0deg);
    transition: transform .2s;
}

.triangle.yellow {
    border-color: transparent transparent transparent rgba(255, 214, 0, 1);
}

.triangle.blue {
    border-color: transparent transparent transparent rgba(0, 161, 222, 1);
}

.triangle.green {
    border-color: transparent transparent transparent rgba(203, 237, 5, 1);
}

.triangle.transform {
    opacity: 1;
    transform: translateX(16px);
}

.tab-content {
    background-color: rgb(255,255,255,0.5);
    border: 1px solid #eee;
    padding: 16px;
    display: none;
    border-radius: .5rem;
}

.tab-pane img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: auto;
}

/*Tabs for mobile devices*/

.portable-devices {
    display: none;
}

/* Default layout for tablets, laptops, and desktops */
@media (min-width: 768px) {
    .vertical-tabs {
        flex-direction: row;
    }

    .tabs {
        width: 250px;
        min-width: 220px;
    }

    .tab-content {
        display: block;
        flex-grow: 1;
    }

    .tab-pane {
        display: none;
    }

    .tab-pane.active {
        display: block;
    }

    .tab-description {
        padding: 10px;
    }

    .tab-description h3 {
        text-align: right;
    }

    .tab-description p {
        text-align: right;
        font-size: 16px!important;
        line-height: 1.6em!important;
    }
}

@media (min-width: 1024px) {
    .tabs {
        width: 250px;
    }
}

@media (min-width: 1200px) {
    .tabs {
        width: 300px;
    }
}

/* Smartphone layout */

@media (max-width: 767px) {
    .tab-content {
        display: block;
        margin-top: -8px;
    }

    .tab-button.active + .tab-content {
        display: block;
    }

    .tab-pane.active {
        display: block;
    }
}
