:root {
    --highlight: #009DDE;
    --lightblue: #BCE0FD;
    --greyblue: #F1F9FF;
    --width: 1400px;
    --bgcolor: #F8F8F5;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans';
    font-size: 16px;
    line-height: 1.5;
    color: #333333;
    background: linear-gradient(135deg, rgba(2, 158, 226, 1) 40%, rgba(2, 158, 226, 1) 40%, rgba(1, 5, 8, 1) 100%);
    animation: gradientShift 20s ease infinite;
    scroll-behavior: smooth;
}


@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Montserrat';
}



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

.button {
    background: var(--highlight);
    font-size: 16px;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
    overflow: hidden;
    transition: all .3s;
    z-index: 1;
    position: relative;
    padding: 15px 25px;
    color: #fff;
    text-decoration: none;
    border-radius: 10px;
    transition: all 1s ease;
}

.button.secondary {
    background: #fff;
    color: var(--highlight);
    border: 2px solid var(--lightblue);
}

.button:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--highlight);
    border-radius: 10px;
    z-index: -2;
}

.button.secondary:after {
    background: #fff;
}

.button:before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background-color: #000;
    transition: all 0.3s;
    border-radius: 10px;
    z-index: -1;
}

.button.secondary:before {
    background: var(--highlight);
}

.button:hover {
    color: #fff;
    transform: scale(1.05);
    transition: all 1s ease;
}

.button:hover::before {
    width: 100%;
}

.flex {
    display: flex;
}

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

.justifycenter {
    justify-content: center;
}


.alignitemcenter {
    align-items: center;
}

.flexwrap {
    flex-wrap: wrap;
}

.center {
    text-align: center;
}

.gap-20 {
    gap: 20px;
}

.gap-30 {
    gap: 30px;
}

.blue {
    color: var(--highlight);
    font-family: 'Montserrat';
}

.uppercase {
    text-transform: uppercase;
}

p.small {
    width: 50%;
    max-width: 100%;
    margin: 0 auto 28px
}

.column-1-3 {
    width: calc(33% - 20px);
}

.column-2-3 {
    width: calc(66% - 20px);
}

.column-1-2 {
    width: calc(50% - 20px);
}

.column-1-4 {
    width: calc(25% - 20px);
}

section.grey {
    background: var(--bgcolor);
}

.admin-bar .site-header {
    margin-top: 30px;
}

.site-header {
    position: absolute;
    margin: 0 auto;
    width: calc(100% - 60px);
    max-width: 100%;
    padding: 0;
    z-index: 1100;
}

.site-header.sticky {
    position: fixed;
    top: 0;
    background: #fff;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    z-index: 999;
}

#progressbar {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    width: 0%;
    z-index: 1000;
    background: linear-gradient(to right, var(--highlight), black);
    transition: width 0.1s ease-out;
    z-index: 1000;
}

.wp-custom-logo .sticky .title-area {
    padding: 5px 0 0;
    width: 200px;
}

.sticky #genesis-nav-primary {
    padding: 10px;
}

.sticky #genesis-nav-primary ul::after {
    display: none;
}

.site-container {
    margin: 30px;
    padding: 0;
    background: #fff;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2)
}

.site-inner {
    padding: 0;
}

.wp-custom-logo .title-area {
    padding-top: 15px;
    max-width: 220px;
    margin: 15px 0 10px 30px;

}

#genesis-nav-primary {
    padding: 25px;
    position: relative;

}

#genesis-nav-primary:after {
    position: absolute;
    content: '';
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.6);
    filter: blur(40px);
    top: 0;
    left: 0;
    z-index: -1;
}

#genesis-nav-primary ul {
    position: relative;
}

#genesis-nav-primary ul:after {
    position: absolute;
    content: '';
    width: calc(100% - 180px);
    height: 1px;
    background: rgba(0, 0, 0, 0.1);
    left: 0;
    bottom: 0;
}

#genesis-nav-primary li a {
    font-weight: 600;
    text-transform: uppercase;
    padding: 15px 20px;
}

#genesis-nav-primary li a.active,
#genesis-nav-primary li a:focus {
    color: var(--highlight);
}

#genesis-nav-primary li a:hover {
    position: relative;
    color: var(--highlight);
}

#genesis-nav-primary li:not(.current-menu-item) a:before {
    position: absolute;
    content: '';
    height: 3px;
    width: 0;
    background: var(--highlight);
    left: 20px;
    bottom: -3px;
    transition: width .5s ease;
}

#genesis-nav-primary li:not(.current-menu-item) a:hover::before {
    width: calc(100% - 40px);
    transition: width .5s ease;

}

#genesis-nav-primary li.last a:before {
    left: 0;
}

#genesis-nav-primary li.last a:hover::before {
    width: 100%;
}

#genesis-nav-primary li.last a {
    color: var(--highlight);
    border: 2px solid var(--lightblue);
    border-radius: 5px;
    padding: 15px 30px;
    margin-left: 20px;
    font-weight: 900;
    position: relative;
    background: rgba(256, 256, 256, .8);
}


#genesis-nav-primary li.current-menu-item a {
    background: #fff;
    border-bottom: 3px solid var(--highlight);
    color: #333;
    box-shadow: 0px -3px 15px rgba(0, 0, 0, 0.1);
    font-weight: bold;
}



.homewrap {
    position: relative;
    z-index: 10;
}

.homewrap article {
    position: absolute;
    width: var(--width);
    padding: 0 30px;
    left: 50%;
    top: 40%;
    transform: translate(-50%, -50%);
    max-width: 100%;
    font-size: 18px;
    overflow-x: hidden;
}

.homewrap article .entry-header,
.homewrap article .entry-content {
    width: 530px;
    max-width: 100%;
}

.homewrap article h1 {
    font-size: 74px;
    line-height: 1;
    position: relative;
    padding-bottom: 50px;
    margin: 0;
}

.homewrap article h1 span {
    color: #5a5a5a;
    font-weight: 300;
    font-size: 0.45em;
    display: block;
}

.homewrap article h1:after {
    position: absolute;
    content: '';
    width: 660px;
    height: 73px;
    bottom: 0;
    left: -140px;
    background: url(img/heart-homewrap.svg) no-repeat;
}

.homewrap article .button {
    margin-right: 10px;
    display: inline-block;
}

.homewrap .headerbild {
    height: calc(100vh - 120px);
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: -1;
    display: flex;
    justify-content: flex-end;
    min-height: 1100px;
}



.homewrap .headerbild:before {
    position: absolute;
    content: '';
    width: 100%;
    height: calc(100% - 40px);
    background: #FFFFFC;
    left: 0;
    top: 0;
    z-index: -1;
}

.homewrap .headerbild img {
    height: 100%;
    object-fit: cover;
    object-position: bottom right;
}

.gradient-flow {
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-decoration: none;
    position: absolute;
    margin: -80px 0 0 0;
    text-transform: uppercase;
    right: 40px;
    background: linear-gradient(90deg,
            #ff4b2b,
            #ff416c,
            #6a11cb,
            #2575fc);
    background-size: 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 5s ease infinite;
    transition: transform 0.3s ease;
    padding: 10px 20px;
}

.gradient-flow:hover {
    transform: scale(1.05);
    background-size: 400%;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.gradient-flow:after {
    position: absolute;
    content: '';
    width: 100%;
    height: 100%;
    background: #fff;
    filter: blur(2px);
    opacity: .8;
    left: 0;
    z-index: -1;
    border-radius: 20px;
    top: 0;
    animation: blur 5s ease infinite;
}

@keyframes blur {
    0% {
        filter: blur(8px);
    }

    50% {
        filter: blur(0px);
    }

    100% {
        filter: blur(8px);
    }
}


.action-pulse {

    display: inline-block;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 900;
    letter-spacing: 1px;
    color: #fff;
    background: linear-gradient(90deg, #ff416c, #ff4b2b);
    border-radius: 50px;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 0 0 rgba(255, 75, 43, 0.4);
    animation: pulse 2s infinite 1s;
    /* startet nach 1 Sekunde */
}

.action-pulse:hover {
    color: #fff;
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(255, 75, 43, 0.6);
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 75, 43, 0.4);
    }

    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 15px rgba(255, 75, 43, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 75, 43, 0);
    }
}

.fly-in {
    opacity: 0;
    transform: translateY(50px);
    animation: flyIn 0.8s ease-out forwards;
    position: fixed;
    margin: 0;
    text-transform: uppercase;
    /**
    position: absolute;
    right: 30px;
    bottom: 2em;
    **/
    right: 50px;
  bottom: 2em;
    z-index: 998
}

@keyframes flyIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.clock-container {
    position: absolute;
    /** bottom: 40px;
    right: 205px;
    **/
    bottom: 30px;
right: 20px;
    display: inline-block;
    cursor: pointer;
    z-index: 997;
}

.openhours {
    width: 40px;
    height: 40px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: tada 1s ease 1s;
}

.tooltip {
    position: absolute;
    bottom: 120%;
   
   /** left: 50%;**/
    left: -50%;
    transform: translateX(-50%);
    background: #000;
    color: #fff;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

/* kleine Pfeilspitze */
.tooltip::after {
    content: "";
    position: absolute;
    top: 100%;
   /** left: 50%;**/
    left: 72%;
    margin-left: -6px;
    border-width: 6px;
    border-style: solid;
    border-color: #000 transparent transparent transparent;
}

.clock-container:hover .tooltip,
.clock-container:focus-within .tooltip {
    opacity: 1;
    pointer-events: auto;
}

.page-template-page-aktionen .fly-in {
    display: none;
}

.homewrap .topnews {
    background: #fff;
    box-shadow: 10px 0px 30px rgba(0, 0, 0, 0.1);
    padding: 10px;
    width: 480px;
    max-width: 100%;
    border-radius: 30px;
    position: absolute;
    bottom: 2em;
    left: 2em;

}

.homewrap .topnews .left {
    width: 137px;
    overflow: hidden;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
}

.homewrap .topnews .left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.homewrap .topnews .right {
    padding: 10px 10px 10px 20px;
    width: calc(100% - 137px);
}
.homewrap .topnews .right p{
    margin: 0;
}

.homewrap .topnews strong {
    font-size: 20px;
    color: var(--highlight);
}

.homewrap .topnews a.icon {
    background: var(--highlight) url(img/arrow-white.svg) center center no-repeat;
    width: 34px;
    height: 30px;
    border-top-left-radius: 10px;
    border-bottom-right-radius: 20px;
    position: absolute;
    right: 0;
    bottom: 0;
    display: block;
}

.home section .wrap {
    width: 1400px;
    max-width: 100%;
    margin: 4em auto;
    padding: 0 60px;
}

section .wrap h3,
body:not(.home) .entry-title {
    font-size: 50px;
    margin: 0 0 10px;
}

section .wrap h4 {
    font-weight: 400;
    font-size: 30px;
    color: #7F7F7F;
}

section .wrap h5 {
    font-size: 20px;
}

/*** TRAININGSMETHODEN ***/

#trainingsmethoden h4 {
    position: relative;
}

#trainingsmethoden h4:after {
    position: absolute;
    content: "";
    width: 47px;
    height: 40px;
    background: url(img/hantel.svg) no-repeat;
    margin-left: 20px;
    margin-top: -7px;
    animation: float 2s ease-in-out infinite alternate;

}

@keyframes float {
    from {
        transform: translateY(10px);
    }

    to {
        transform: translateY(-10px);
    }
}

#trainingsmethoden .flex {
    gap: 25px;
    text-align: left;
    margin: 3em 0;
}

#trainingsmethoden .flex .methode {
    flex: 1;
}

#trainingsmethoden .flex .img {
    position: relative;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 20px rgba(0, 0, 0, 0.2);
}

#trainingsmethoden .flex .img:before {
    position: absolute;
    content: '';
    width: 100%;
    height: 100%;
    /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#000000+0,000000+100&0+0,0.65+100 */
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.75) 100%);
    /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    left: 0;
    bottom: 0;
}

#trainingsmethoden .flex .img .titel {
    position: absolute;
    bottom: 0;
    left: 20px;
    color: #fff;

}

#trainingsmethoden .flex .img .titel h5 {
    margin: 0 0 5px;
}

#trainingsmethoden .flex .img .titel h6 {
    font-weight: normal;
    font-size: 16px;
}

#trainingsmethoden .flex .excerpt {
    margin: 40px 20px;
}

.more-toggle {
    position: relative;
}

.more-toggle::before {
    position: absolute;
    content: '';
    width: 0;
    height: 2px;
    background: var(--highlight);
    left: 0;
    bottom: -3px;
    transition: width .5s ease;
}

.more-toggle:hover::before {
    width: 100%;
}

.more-toggle button {
    background: transparent;
    border: none;
    color: var(--highlight);
    font-size: 16px;
    text-transform: uppercase;
    font-weight: bold;
    padding: 0;
    width: 100%;
    text-align: left;
    cursor: pointer;
    margin-top: 30px;
}

.more-toggle button svg {
    float: right;
}

#trainingsmethoden .flex ul {
    margin: 20px 0;
}

#trainingsmethoden .flex ul li {
    position: relative;
    padding-left: 35px;
    margin: 12px 0;
}

#trainingsmethoden .flex ul li:before {
    position: absolute;
    content: '';
    width: 20px;
    height: 20px;
    left: 0;
    top: 2px;
    background: url(img/li-blue.svg) no-repeat;
    background-size: contain;
}

/*** KURSE HOME ***/

#kurse {
    margin: 7em 0 1em;
}

#kurse .right {
    order: 2;
}

.spezialkurs a {
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    margin-bottom: 15px;
    display: inline-block;
    transition: all .5s ease;
    height: 240px;
    display: flex;
    align-items: center;
    color: #fff;
    text-decoration: none;
}

.spezialkurs a:hover {
    transform: scale(1.05);
    transition: all .5s ease;
}

.spezialkurs a:after {
    position: absolute;
    content: '';
    width: 100%;
    height: 100%;
    /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#000000+0,000000+100&0+0,0.65+100 */
    background: linear-gradient(to left, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.75) 100%);
    /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    left: 0;
    bottom: 0;
}

.spezialkurs a img {
    height: 100%;
    object-fit: cover;

}

.spezialkurs h5 {
    position: absolute;
    z-index: 100;
    top: 30px;
    left: 30px;
    color: #fff;
    max-width: 300px;
}

.kurskategorie {
    width: calc(50% - 10px);
}

.kurskategorie a {
    color: #000;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    padding: 28px 20px;
    height: 100%;
    transition: all .5s ease;
    position: relative;
}

.kurskategorie a:hover {
    box-shadow: 0 0 20px var(--lightblue);
    transition: all .5s ease;
    transform: scale(1.05)
}

.kurskategorie a:hover::before {
    position: absolute;
    content: '';
    width: 100%;
    height: 100%;
    border: 2px solid var(--lightblue);
    left: 0;
    top: 0;
    border-radius: 20px;
}

.kurskategorie .icon {
    width: 70px;
    margin-right: 10px;
    animation-name: swing;
}

.kurskategorie a:hover .icon img {
    animation: swing 1s ease;
}

@keyframes swing {
    20% {
        -webkit-transform: rotate3d(0, 0, 1, 15deg);
        transform: rotate3d(0, 0, 1, 15deg);
    }

    40% {
        -webkit-transform: rotate3d(0, 0, 1, -10deg);
        transform: rotate3d(0, 0, 1, -10deg);
    }

    60% {
        -webkit-transform: rotate3d(0, 0, 1, 5deg);
        transform: rotate3d(0, 0, 1, 5deg);
    }

    80% {
        -webkit-transform: rotate3d(0, 0, 1, -5deg);
        transform: rotate3d(0, 0, 1, -5deg);
    }

    to {
        -webkit-transform: rotate3d(0, 0, 1, 0deg);
        transform: rotate3d(0, 0, 1, 0deg);
    }
}

.kurskategorie .icon img {
    max-height: 50px;

}

.kurskategorie strong {
    width: calc(100% - 70px);
}

.kursnews {
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    border-radius: 20px;
    padding: 15px;
    margin-top: 20px;
}

.kursnews .left {
    border-radius: 20px;
    overflow: hidden;
    margin-right: 20px;
    width: 260px;
}

.kursnews strong {
    font-size: 20px;
}

.kursnews .topnews {
    margin: 0 0 10px;
    padding: 0 0 18px;
    border-bottom: 1px solid var(--lightblue);
}

.kursnews .kursplan {
    display: flex;
    width: 100%;
    justify-content: flex-end;
}

/*** SEPARATOR ***/
.separator {
    max-width: 100%;
    margin: 4rem 0;
    gap: 20px;
    overflow: hidden;
}

.home .separator {
    margin-bottom: 5px;
}

.separator img {
    height: 20vw;
    object-fit: cover;
    width: 100%
}

.separator div:first-child {
    width: 65vw
}

.separator div:last-child {
    width: 30vw
}

/*** MEINE LINIE ***/

#abnehmzentrum {
    position: relative;
    padding: 2em 0;
}

#abnehmzentrum:before {
    position: absolute;
    content: '';
    width: 100%;
    height: 100%;
    background: var(--bgcolor);
    left: 0;
    top: 0;
    z-index: -1;
}

#abnehmzentrum .column-1-3 {
    order: 2;
    padding: 20px 0 0 20px;
    position: relative;
}

#abnehmzentrum .column-1-3:before {
    position: absolute;
    content: '';
    width: 74px;
    height: 63px;
    right: 0;
    top: 0;
    background: url(img/waage-grey.svg) no-repeat;

}

#abnehmzentrum .column-1-3.visible:before {
    animation: bounce 1.5s ease 1s;
}

@keyframes bounce {

    from,
    20%,
    53%,
    to {
        -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
        animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }

    40%,
    43% {
        -webkit-animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
        animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
        -webkit-transform: translate3d(0, -30px, 0) scaleY(1.1);
        transform: translate3d(0, -30px, 0) scaleY(1.1);
    }

    70% {
        -webkit-animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
        animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
        -webkit-transform: translate3d(0, -15px, 0) scaleY(1.05);
        transform: translate3d(0, -15px, 0) scaleY(1.05);
    }

    80% {
        -webkit-transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
        transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
        -webkit-transform: translate3d(0, 0, 0) scaleY(0.95);
        transform: translate3d(0, 0, 0) scaleY(0.95);
    }

    90% {
        -webkit-transform: translate3d(0, -4px, 0) scaleY(1.02);
        transform: translate3d(0, -4px, 0) scaleY(1.02);
    }
}

#abnehmzentrum .column-2-3 {}

#abnehmzentrum .option {
    background: #fff;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

#abnehmzentrum .padding {
    padding: 30px 30px 20px;
    position: relative;
}

#abnehmzentrum h4 {
    color: var(--highlight);
    font-weight: bold;
    font-size: 20px;

}

#abnehmzentrum li {
    position: relative;
    padding: 0 0 0 30px;
    margin-bottom: 10px;
    color: var(--highlight);

}

#abnehmzentrum li:before {
    position: absolute;
    content: '';
    width: 20px;
    height: 20px;
    left: 0;
    top: 2px;
    background: url(img/li-blue.svg) no-repeat;
    background-size: contain;
}

#abnehmzentrum .button {
    width: 100%;
    border-radius: 0;
    display: block;
    text-align: center;
    background: var(--highlight);
    color: #fff;
    padding: 20px;
}

#abnehmzentrum .button:hover::before,
#abnehmzentrum .button:hover::after {
    border-radius: 0;
}

#abnehmzentrum .cta-button {
    text-transform: uppercase;
    font-weight: bold;
    display: inline-block;
    margin-top: 20px;
    position: relative;
}

#abnehmzentrum .cta-button:hover {
    position: relative;
}

#abnehmzentrum .cta-button::before {
    position: absolute;
    content: '';
    width: 0;
    height: 2px;
    background: var(--highlight);
    left: 0;
    bottom: -3px;
    transition: width .5s ease;
}

#abnehmzentrum .cta-button:hover::before {
    width: 100%;
    transition: width .5s ease;
}

/*** KONTAKT ***/
#anmeldung {
    height: 500px;
    margin-top: 5em;
}


/***FOOTER ***/
.site-footer {
    padding: 0 30px;
}

.site-footer,
.site-footer a {
    color: #fff;
    line-height: 1.8;
    font-size: 14px;
}

.site-footer a:hover {
    color: var(--highlight)
}

.site-footer .current-menu-item a {
    color: #fff;
    font-weight: bold;
}

.site-footer > .wrap {
    display: flex;
    text-align: left;
    justify-content: space-between;
    width: 1400px;
    max-width: 100%;
    margin: 2em auto;
}

.site-footer ul li,
.site-footer .genesis-nav-menu .menu-item {
    width: 100%;
    display: block;
}

.site-footer .genesis-nav-menu .menu-item a {
    padding: 0;
}

.site-footer .column {
    position: relative;
    padding-left: 25px;
    margin: 0 10px 30px;
}

.site-footer .column span.title,
.nav-secondary ul:before {
    position: absolute;
    text-transform: uppercase;
    opacity: .57;
    transform: rotate(-90deg);
    transform-origin: center;
    text-align: left;
    left: -70px;
    width: 150px;
    text-align: right;
    top: 69px;
}

.nav-secondary {
    margin: 0;
}

.nav-secondary ul {
    position: relative;
    padding-left: 15px;
}

.nav-secondary ul:before {
    position: absolute;
    content: 'INFORMATIONEN';
}

.site-footer .column ul img {
    vertical-align: middle;
    margin-right: 5px;
}

#osm-map {
    width: 300px;
    height: 200px;
    margin-right: 10px;
}

.site-footer #osm-map a {
    color: #000;
}


/***KURSE ÜBERSICHT ***/


body.page-template-kurse .content article .entry-content {
    text-align: center;
    width: 670px;
    margin: 0 auto;
    max-width: 100%;
    padding: 0 20px;
}

.page-template-kurse .entry-content .button {
    display: inline-block;
}

#kursfilter button,
.ansicht-tabs button {
    font-size: 14px;
    background: var(--greyblue);
    color: var(--highlight);
    font-weight: bold;
    border: none;
    padding: 10px 15px;
}

#kursfilter button:hover {
    border-bottom: 2px solid var(--highlight);
}

#kursfilter button.active,
#kursfilter button:focus,
.ansicht-tabs button.active {
    outline: 0;
    border: 2px solid var(--highlight);
}


.filter-buttons {
    gap: 0.5rem;
    margin: 2rem 0 1rem;
}

.filter-btn {
    padding: 0.5rem 1rem;
    border: none;
    background: #eee;
    cursor: pointer;
}

.filter-btn.active {
    background: #333;
    color: #fff;
}

.kursplan-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 20px;
}

#kursuebersicht .wrap {
    gap: 30px;
    margin: 30px auto;
}

#kursuebersicht .wrap:before {
    display: none;
}

#kursuebersicht .extracontent {
    border-top: 1px solid #ccc;
    padding-top: 20px;
    margin-top: 20px;
}

.kurs {
    width: calc(33% - 17px);
}

.kurs .img {
    border-radius: 20px;
    border-bottom-right-radius: 0;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 0 20px rgba(0, 0, 0, .2);
    height: 300px;

}

.kurs .content {
    padding: 0 15px;
}

.kurs .img img {
    width: 100%;
    object-fit: cover;
    min-height: 100%;
}

#pdflist {
    margin: 40px 0;
}

#pdflist li a {
    margin: 10px;
    text-align: center;
    display: inline-block;
}

.tageszeit-label {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    text-align: center;
    font-weight: bold;
    grid-row: span 1;
}

.kurs-tag-spalte {
    background: #f9f9f9;
    padding: 10px;
    min-height: 150px;
}

.kurs-box {
    background: #F4F4F4;
    padding: 15px 10px;
    margin-bottom: 10px;
    font-size: 15px;
    text-align: center;
    position: relative;
}

.kurs-box a {
    color: #000;
    border-bottom: 1px solid var(--highlight);
}

.kurs-box:before,
.kurs-eintrag:before {
    position: absolute;
    content: '';
    width: 30px;
    height: 22px;
    right: 5px;
    top: 5px;
    z-index: 10;
}

.kurs-box .neu,
.kurs-eintrag .neu {
    position: absolute;
    background: linear-gradient(90deg, #ff416c, #ff4b2b);
    color: #fff;
    font-size: 9px;
    text-transform: uppercase;
    font-weight: bold;
    width: 25px;
    left: 0;
    top: 0;
}

.kurs-eintrag .neu {
    bottom: 0;
    right: 0;
    left: auto;
    top: auto;
    text-align: center;
}

.kategorie-muskelkraeftigung-figurformung:before {
    background: url(img/gewicht.svg) no-repeat right top / contain;
}

.kategorie-dance-choreografie:before {
    background: url(img/schuh.svg) no-repeat right top / contain;
}

.kategorie-dehnung-entspannung:before {
    background: url(img/matte.svg) no-repeat right top / contain;
}

.kategorie-herz-kreislauf-training-fettverbrennung:before {
    background: url(img/waage.svg) no-repeat right top / contain;
    transform: scaleX(-1)
}

.kurs-box.anmeldung,
.kurs-eintrag.anmeldung {
    background: #e5f3ff;
    border-left: 5px solid #007acc;
}

#kursplan {
    margin-bottom: 5em;
}

.kursplan-grid {
    width: calc(1400px - 100px);
    max-width: 100%;
    margin: 0 auto;
    position: relative;
}

.kursplan-grid {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.zeitreihe {
    display: flex;
}

.zeit-label {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-weight: bold;
    font-size: 1.5rem;
    margin-right: 1rem;
    white-space: nowrap;
    font-size: 50px;
}

.zeit-label {
    position: absolute;
    right: -90px;
    color: #C9C9C9;
}

.kursplan-grid .zeitreihe:last-child .zeit-label {
    transform: rotate(-180deg);
    left: -70px;
    right: auto;
}

.wochentage-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1rem;
    width: 100%;
    padding: 0 20px;
}



body:not(.home) .tag-spalte h4 {
    background: var(--highlight);
    color: #fff;
    text-align: center;
    padding: 10px;
    margin: 0 0 10px
}


#kursplan .kurs-club-55-gesundheitstraining {
    background: #EEEFD9
}

#kursplan .kategorie-praeventionskurse-rehasport {
    background: #D9EEEF
}

/*** TAGESANSICHT ***/
.kursplan-tag {
    width: 945px;
    max-width: 100%;
    margin: 0 auto;
    position: relative;
}

.tagesansicht-nav button {
    width: 180px;
    display: block;
    padding: 12px;
    text-align: center;
    color: #fff;
    text-transform: uppercase;
    font-weight: bold;
    background: #C9D2D5;
    margin-bottom: 7px;
    border: none;
}

.kurs-eintrag {
    display: flex;
    gap: 1rem;
    margin-bottom: 1em;
    position: relative;
    background: #f7f7f7;
}

.kurs-eintrag a {
    display: flex;
    gap: 1rem;
}

.kurs-bild {
    width: 180px;
    height: 100%;
    min-height: 100px;
    overflow: hidden;
}

.kurs-bild img {
    min-height: 100px;
    object-fit: cover;
}

body:not(.home) .kurs-info h4 {
    margin: 0;
    color: var(--highlight);
    font-weight: bold;
    font-size: 1em;
    font-family: 'Open Sans'
}

body:not(.home) .kurs-eintrag .open-form-tab {
    border-bottom: 1px solid var(--highlight);
}

.icons img {
    width: 20px;
    margin-top: 5px;
}

.tag-btn.active {
    background: var(--highlight);
    color: #fff;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.kursplan-tag {
    gap: 20px;
}

#tab-tag .kurseintraege {
    width: calc(100% - 180px);
}

#tab-tag .kurs-info {
    flex: 1;
    padding-right: 15px;
}

#tab-tag .kurs-eintrag a {
    color: #333;
    width: 100%;
    align-items: center;
}

#tab-tag .kurs-info p {
    margin: 0;
}

#tab-tag .kurs-info .left {
    width: 260px;
}

.ansicht-tabs {
    gap: 1rem;
    margin: 2rem 0;
}

.ansicht-tabs button {
    padding: 12px 30px;
}

#kursplan .legende {
    font-size: 14px;
    margin: 15px 0 0 0;

}

#kursplan .legende span {
    margin: 5px 7px;
}

#kursplan .legende span.underline {
    border-bottom: 1px solid var(--highlight);
}

#kursplan .legende span.yellow {
    background: #EEEFD9;
}

#kursplan .legende span.lightblue {
    background: #D9EEEF;
}

.pdfkursplan a {
    display: inline-block;
    margin-top: 40px;
}


/*** PReise ***/

section#preise .wrap h4 {
    font-size: 17px;
    font-weight: bold;
    color: #000;
    position: relative;
    z-index: 100;
}

section#preise .wrap .angebot {
    margin-top: 60px;
    flex: 1;
}

section#preise .wrap .angebot h4:before {
    position: absolute;
    content: '1';
    font-size: 50px;
    font-family: "Open Sans";
    color: var(--highlight);
    font-weight: 300;
    top: -60px;
    left: -10px;
    z-index: 1;
}

section#preise .wrap .angebot h4:after {
    position: absolute;
    content: '';
    width: 116px;
    height: 143px;
    left: -42px;
    top: -76px;
    background: url(img/bg-number.svg) no-repeat;
    z-index: -1;
}

section#preise .wrap .angebot:nth-child(2) h4:before {
    content: '2'
}

section#preise .wrap .angebot:nth-child(3) h4:before {
    content: '3'
}

section#preise .wrap .visible .angebot h4:before,
section#preise .wrap .visible .angebot h4:after {
    animation: swing .5s ease .6s;
}

section#preise .wrap .visible .angebot:nth-child(2) h4:before,
section#preise .wrap .visible .angebot:nth-child(2) h4:after {
    animation-delay: 1.2s;
}

section#preise .wrap .visible .angebot:nth-child(3) h4:before,
section#preise .wrap .visible .angebot:nth-child(3) h4:after {
    animation-delay: 1.8s;
}


section#preise .angebot ul {
    position: relative;
    z-index: 100;
}

section#preise .wrap .flex + p {
    margin: 40px 0;
}

section#preise .angebot ul li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 10px;
}

section#preise .angebot ul li:before {
    position: absolute;
    content: '';
    width: 20px;
    height: 20px;
    left: 0;
    top: 2px;
    background: url(img/li-blue.svg) no-repeat;
    background-size: contain;
}

#preise .angebote {
    gap: 50px;
    position: relative;
    padding-top: 60px;
    margin-top: 50px;
}

.preisoverview {
    position: relative;
    padding-top: 80px;
    margin-top: 70px;
    margin-bottom: 30px;
}

#preise .angebote:before,
#preise .angebote:after,
.preisoverview:before,
.preisoverview:after {
    position: absolute;
    content: '';
    width: 0;
    height: 1px;
    background: #707070;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    transition: width .5s ease;
}

#preise .angebote.visible:before,
#preise .angebote.visible:after,
.preisoverview.visible:before,
.preisoverview.visible:after {
    width: 93px;
}

#preise .angebote.visible:after {
    width: 150px;
    top: 30px;
    transition: width .5s ease .2s;
}



.preisoverview.visible:before {
    width: 150px;
    transition: width .5s ease 1.5s;
}

.preisoverview.visible:after {
    top: 30px;
    transition: width .5s ease 1.5s;
}


.preise-grid {
    display: grid;
    grid-template-columns: .8fr 1.1fr 1.1fr;
    border-collapse: collapse;
    width: 72%;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.grid-header,
.grid-row,
.grid-footer {
    display: contents;
    /* lässt die Child-Divs direkt im Grid wirken */
}

.preise-grid > div {
    border-bottom: 1px solid #f1f1f1;
}

.preise-grid > div > div {
    padding: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    border-right: 1px solid rgba(0, 0, 0, 0.05);
}

.grid-header div {
    font-weight: 700;
    text-align: center;
    background: #f9f9f9;
}

.grid-header .header-mm,
.grid-header .header-om {
    text-align: center;
    font-size: 21px;
    line-height: 1.2;
    padding: 3rem 3rem 1.5rem;
    position: relative;
    background: #f9f9f9 url(img/mitgliedspreis.svg) center 23px no-repeat;
}

.grid-header .header-om {
    background: #f9f9f9 url(img/zeitpreis.svg) center 23px no-repeat;
}

.preise-grid .label {
    font-weight: bold;
    border-right: 1px solid #f1f1f1;
}

.preise-grid .grid-row:last-child .label {
    font-weight: normal;
}

.preis-mm,
.preis-om {
    text-align: center;
}

.preise-grid .grid-footer .btn-link {
    color: #2a7ee2;
    font-weight: 600;
    text-decoration: none;
}

.preise-grid .grid-footer .btn-link:hover {
    text-decoration: underline;
}

.leistungen {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border-radius: 16px;
    padding: 30px 0 20px;
    width: 25%;
}

section .wrap .leistungen h5 {
    color: var(--highlight);
    font-size: 21px;
    line-height: 1.2;
    margin: 15px 0 0;
    text-align: center;
    font-family: "Open Sans"
}

.leistungen .notcheck {
    background: url(img/close_red.svg) no-repeat;
    width: 16px;
    height: 11px;
    float: right;
}

.leistungen .check {
    background: url(img/check_green.svg) no-repeat;
    width: 16px;
    height: 11px;
    float: right;
}

.leistungen .row .leistung {
    width: calc(100% - 65px);
}

.leistungen .row {
    padding: 1.04rem 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.leistung_mm,
.leistung_om {
    width: 33px;
    text-align: right;
}

.leistungen .rowheader .leistung_mm {
    background: url(img/mitgliedspreis.svg) right top no-repeat;
    height: 20px;
    background-size: contain;
}

.leistungen .rowheader .leistung_om {
    background: url(img/zeitpreis.svg) right top no-repeat;
    height: 20px;
    background-size: contain;
}



/***GALLERY ***/
section#gallery {
    height: 200px;
}

section#gallery .slick-list {
    height: 200px;
    overflow: hidden;
}

section#gallery .slick-list a {
    position: relative;
    height: 100%;
}

section#gallery .slick-list a:hover {
    position: relative;
    display: block;
    transition: all .5s ease;
}

section#gallery .slick-list a img {
    height: 100%;
    object-fit: cover;
}

section#gallery .slick-list a:hover::before {
    position: absolute;
    content: '';
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6) url(img/search.svg) center no-repeat;
    background-size: 30px;
    left: 0;
    top: 0;
    z-index: 100;
}

section#gallery .slick-prev:before,
section#gallery .slick-next:before {
    background: url(img/arrow-white.svg) no-repeat;

}

.slick-prev:before,
.slick-next:before {
    background: url(img/arrow-blue-right.svg) no-repeat;
    width: 20px;
    height: 20px;
    content: '';
    display: block;
}

.slick-prev:before {
    transform: scale(-1);
}

.preisbox li {
    text-align: left;
}

.benefits li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.benefits li .notcheck {
    background: url(img/close.svg) no-repeat;
    width: 10px;
    height: 10px;
    display: block;
}

.benefits li .check {
    background: url(img/check.svg) no-repeat;
    width: 12px;
    height: 9px;
    display: block;
}

.benefits li .text {
    width: calc(100% - 20px);
    display: block;
}


section#preise .wrap .preisoverview h4 {
    font-weight: normal;
    color: #7F7F7F;
    font-size: 30px;
    margin-bottom: 30px;
}

#preise .cta-button {
    font-weight: bold;
    text-transform: uppercase;
    margin-top: 20px;
    display: block;
}

#preise .ohne-hinweis {
    margin-top: 20px;
}

#preise .ohne-hinweis p {
    margin: 0;
}

.abschlusstext {
    width: 830px;
    max-width: 100%;
    margin: 0 auto;
}

/** GALERIE ***/
.home #gallery li {
    height: 180px;
}

#gallery li {
    margin: 0 10px;
}

#kontakt {
    padding: 5em 20px;
    margin: 0;
}

#kontakt .wrap {
    margin: 5px auto;
    width: 800px;
    background: #fff;
    box-shadow: 0 0px 60px rgba(0, 0, 0, 0.1);
    padding: 0;
}

#kontakt .wrap.onecolumn {
    width: 600px;
}

#kontakt .left {
    padding: 50px 70px;
    width: calc(100% - 240px);
    position: relative;
}

#kontakt .onecolumn .left {
    width: 100%;
}

#kontakt .right {
    width: 240px;
    background: #F1F9FF;
}

#kontakt .onecolumn h2::after {
    right: 0;
}

#kontakt .onecolumn h2 {
    padding-right: 60px;
    color: #000;
}

.wpcf7-spinner {
    position: absolute;
}

.wpcf7-form p:last-child {
    margin: 0;
}

#kontakt h2 {
    position: relative;
    font-size: 40px;
    padding-right: 40px;
}

#kontakt h2:before {
    position: absolute;
    content: '';
    width: 50px;
    height: 50px;
    background: url(/wp-content/uploads/2025/08/icon.svg) no-repeat;
    left: -45px;
    top: 5px;

}

#kontakt h2:after {
    position: absolute;
    content: '';
    width: 107px;
    height: 101px;
    background: url(img/handpresse.svg) no-repeat;
    top: 0;
    right: -20px;

}

#kontakt .visible h2:after {
    animation: tada 1s ease 1s;
}

#kontakt .tab-nav button {
    color: #797979;
    width: 100%;
    border: none;
    border-bottom-width: medium;
    border-bottom-style: none;
    border-bottom-color: currentcolor;
    background: none;
    padding: 40px 20px;
    border-bottom: 2px solid #fff;
    font-size: 18px;
    cursor: pointer;
    text-align: left;
    padding: 40px;
}

#kontakt .tab-nav button.active {
    font-weight: bold;
    color: #333333;
}

#kontakt .tab-nav button:hover {
    background: #fff;
}

#kontakt .geburtstag {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

#kontakt .geburtstag span:first-child {
    width: 140px;
    display: inline-block;
}

#kontakt .geburtstag span[data-name="geburtsdatum"] {
    width: calc(100% - 140px)
}

#kontakt .geburtstag input {
    margin-bottom: 0;
}

.ml-trialslot-list {
    position: relative;
    width: 100%;
    margin: 1rem 0;
}

#kontakt .left label {
    font-weight: bold;
    margin-bottom: 6px;
    display: block;
}

#kontakt .left .wpcf7-checkbox label,
#kontakt .left .wpcf7-acceptance label {
    font-weight: normal;
}

/* Select unsichtbar, aber screenreader-freundlich */
.ml-visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.ml-trialslot-slider {
    overflow: hidden;
}

.ml-trialslot-slider a {
    color: #000;
}

.trialslot-day {
    min-height: 140px;
}

/* fixe Höhe verhindert „Springen“, passe an */
.day-slots {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    justify-content: center;
}

.slot-chip {
    white-space: nowrap;
}

/* Slider-UI */
.trialslot-day {
    text-align: center;
}

.day-label {
    display: block;
    margin-bottom: .5rem;
    font-weight: 700;
}

.day-slots {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    justify-content: center;
}

.slot-chip {
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: .5rem .75rem;
    background: #fff;
    cursor: pointer;
    transition: all .2s ease;
    line-height: 1.2;
}

.slot-chip:hover {
    transform: translateY(-1px);
}

.slot-chip.active {
    border-color: #0073aa;
    background: #e6f4ff;
}

.ml-trialslot-slider {
    margin-top: 1rem;
}

.swiper-button-prev,
.swiper-button-next {
    color: #0073aa;
}


.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 16px;
}

.swiper-button-next,
.swiper-rtl .swiper-button-prev {
    right: -6px;
    top: 20px;
    width: 23px;
}

.swiper-button-prev {
    top: 20px;
    left: -6px;

}

.swiper-button-next:focus,
.swiper-rtl .swiper-button-prev:focus {
    outline: none;
}

@keyframes tada {
    from {
        -webkit-transform: scale3d(1, 1, 1);
        transform: scale3d(1, 1, 1);
    }

    10%,
    20% {
        -webkit-transform: scale3d(0.9, 0.9, 0.9) rotate3d(0, 0, 1, -3deg);
        transform: scale3d(0.9, 0.9, 0.9) rotate3d(0, 0, 1, -3deg);
    }

    30%,
    50%,
    70%,
    90% {
        -webkit-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
        transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
    }

    40%,
    60%,
    80% {
        -webkit-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
        transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
    }

    to {
        -webkit-transform: scale3d(1, 1, 1);
        transform: scale3d(1, 1, 1);
    }
}

::placeholder {
    color: #B7B7B7;
}

#kontakt form br {
    display: none;
}

.wpcf7-acceptance label {
    display: flex;
    font-size: 12px;
    align-items: flex-start;
}

.wpcf7-acceptance .wpcf7-list-item {
    margin: 0;
}

.wpcf7-acceptance label input {
    margin-right: 10px;
}

.wpcf7-form-control-wrap {
    display: inline-block;
    margin: 7px 0;
    width: 100%;
}

#kontakt .left input,
#kontakt .left textarea,
#kontakt .left select {
    border: 1px solid #7FC4FD;
    padding: 13px;
}

#kontakt .left select {
    width: 100%;
}

.wpcf7-not-valid-tip {
    font-size: 12px;
}

#kontakt .left .wpcf7-submit {
    position: absolute;
    bottom: 0;
    left: 0;
    margin: 0;
    background: var(--highlight);
    color: #fff;
    font-weight: bold;
    text-transform: uppercase;
}

form .wpcf7-submit {
    background: var(--highlight);
    color: #fff;
    font-weight: bold;
    text-transform: uppercase;
}

#kontakt .left textarea {
    height: 130px;
}

#kontakt form h4 {
    font-size: 25px;
    color: #7F7F7F;
    border-bottom: 1px solid #ccc;
    padding-bottom: 20px;
    font-weight: normal;
}

.formtab-content {
    display: none;
}

.formtab-content.active {
    display: block;
}

.wpcf7-list-item:first-child {
    margin-left: 0;
}

[data-class="wpcf7cf_group"] {
    background: rgba(0, 0, 0, .05);
    padding: 20px 20px 10px;
    margin: -20px 0 20px;
}

/*** FOOTER ***/
.site-footer {
    background: #333333
}

/***FOLGESEITE ****/
body:not(.home) .headerbild {
    position: relative;
}

body:not(.home) .headerbild img {
    width: 100%;
    min-height: 300px;
    object-fit: cover;
}

body:not(.home) article .entry-content,
body:not(.home) article section .wrap {
    width: var(--width);
    max-width: 100%;
    margin: 0 auto;
}

body:not(.home) article {
    margin-top: 70px;

}

body:not(.home) article section {
    margin: 0 20px;
}

body:not(.home) .entry-header {
    text-align: center;
}

body:not(.home) h4 {
    font-size: 20px;
    font-weight: bold;
    color: #333333;
    margin: 30px 0 10px;
}

.subheadline {
    color: var(--highlight);
    font-family: 'Montserrat';
    font-weight: bold;
}


/*** Rücken & Gelenkzentrum ***/

body.page-template-page-ruecken article .entry-content {
    width: 680px;
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
    padding: 0 20px;
}

#rueckenoptionen .flex {
    gap: 30px;
    position: relative;
    padding-top: 30px;
    margin-bottom: 20px;
}

#rueckenoptionen .flex:before,
#rueckenoptionen .flex:after {
    position: absolute;
    content: '';
    width: 68%;
    height: 1px;
    background: var(--highlight);
    left: 50%;
    transform: translateX(-50%);
    top: 30px;
}

#rueckenoptionen .flex:after {
    width: 1px;
    height: 30px;
    top: 0;
}

#rueckenoptionen .methode {
    flex: 1;
    position: relative;
    padding-top: 50px;
}

#rueckenoptionen .flex .methode:before,
section#rueckenkurs .wrap h5:before {
    position: absolute;
    content: '';
    background: var(--highlight);
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 30px;
    top: 0;
}

#rueckenoptionen .desc {
    min-height: 150px;
}

#rueckenoptionen .img {
    height: 200px;
    overflow: hidden;
    border-radius: 20px;
    max-width: 430px;
    margin: 0 auto;
}

#rueckenoptionen .img img {
    width: 100%;

}

section#rueckenoptionen .wrap h5,
section#rueckenkurs .wrap h5 {
    color: var(--highlight);
    margin: 0 0 5px;
}

section#rueckenoptionen h6,
section#rueckenkurs .wrap h6 {
    font-weight: normal;
    font-style: italic;
}

section#rueckenkurs .wrap h5 {
    position: relative;
    padding-top: 70px;
}

section#rueckenkurs .wrap h5:before {
    height: 50px;
}

#rueckenkurs .kursteaser {
    width: 750px;
    max-width: 100%;
    margin: 0 auto;
    text-align: center;

}

#kursslider {
    border-radius: 30px;
}

#kursslider .slick-track li {
    height: 530px;
    overflow: hidden;
    position: relative;
    display: block;
    border-radius: 30px;
}

#kursslider .slick-track li:before {
    position: absolute;
    content: '';
    background: linear-gradient(90deg, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0.6) 60%, rgb(0, 0, 0) 100%);
    width: 100%;
    height: 100%;
    right: 0;
    top: 0;
}

#kursslider li .absolute {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 30%;
    right: 0;
    text-align: left;
    color: #fff;
    padding: 30px 50px 30px 0;
}

#kursslider li img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

section#rueckenkurs .wrap #kursslider h6 {
    font-weight: bold;
    font-size: 1.4em;
    font-style: normal;
    margin: 0 0 10px;
}

#kursslider .slick-dots {
    bottom: 20px;
    text-align: right;
    right: 30px;
}

#kursslider .slick-dots li button::before {
    color: white;
}

#kursslider .slick-dots li.slick-active button::before {
    opacity: 1;
    color: white;
}

#kursslider .slick-dots li {
    margin: 0;
    width: 15px;
    height: 15px;
}

#kursslider.slick-dotted.slick-slider {
    margin: 0 0 -10px;
}

#rueckenkurs .bottomline {
    padding: 70px 0;
    font-size: 24px;
    text-transform: uppercase;
    font-weight: bold;
    width: 750px;
    max-width: 100%;
    margin: 20px auto;
    text-align: center;
    line-height: 1.3;
    position: relative;
}

#rueckenkurs .bottomline:before,
#rueckenkurs .bottomline:after {
    position: absolute;
    content: '';
    background: var(--highlight);
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 40px;
    top: 15px;
}

#rueckenkurs .bottomline:after {
    top: auto;
    bottom: 10px;
}

body:not(.home) article .entry-content {
    padding: 0 20px;
}

.zweispaltig {
    gap: 30px;
    margin: 60px 0 30px;
}

.zweispaltig .bild,
.zweispaltig .text {
    flex: 1;
}

.entry-content .liststylenone {
    padding: 0;
}

.entry-content .liststylenone li {
    list-style: none;
}

body:not(.home) article.post-304 .entry-content {
    width: 740px;
    margin: 0 auto;
    max-width: 100%;
    text-align: center;
}

.zweispaltig .text ul {
    margin-bottom: 25px;
}

.zweispaltig .text li {
    position: relative;
    padding: 0 0 0 30px;
    margin-bottom: 10px;
    color: var(--highlight);
}

.zweispaltig .text li:before {
    position: absolute;
    content: '';
    width: 20px;
    height: 20px;
    left: 0;
    top: 2px;
    background: url(img/li-blue.svg) no-repeat;
    background-size: auto;
    background-size: contain;
}

.zweispaltig .bild {
    min-height: 100%;
    border-radius: 20px;
    overflow: hidden;
}

.zweispaltig .bild img {
    height: 100%;
    object-fit: cover;
}

body:not(.home) #gallery {
    margin: 0 -10px;
    gap: 5px;
    flex-wrap: wrap;
}

body:not(.home) #gallery li {
    border-radius: 20px;
    min-height: 220px;
    overflow: hidden;
    width: calc(25% - 24px);
    margin-bottom: 20px;
}

body:not(.home) #gallery li img {
    height: 100%;
    object-fit: cover;
}

body:not(.home) .voll {
    width: 1050px;
    max-width: 100%;
    margin: 50px auto;
}

body:not(.home) .voll h3 {
    color: var(--highlight);
    font-size: 20px;
    margin-bottom: 30px;
}

/*** AKTIONEN **/


#aktionenliste {
    gap: 30px;
    margin-bottom: 30px;
}

#aktionenliste .aktion {
    flex: 1;
}

#aktionenliste .img {
    height: 250px;
    overflow: hidden;
    border-radius: 20px;
    margin-bottom: 20px;

}

#aktionenliste .img img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: top center;
}

#aktionendetail {
    margin-top: 80px;
}

.aktiondetail {
    position: relative;
    padding-bottom: 100px;
    margin-bottom: 100px;
    justify-content: space-between;
}

.aktiondetail:after {
    position: absolute;
    content: '';
    background: #fff url(img/hantel.svg) center center no-repeat;
    left: 50%;
    bottom: -35px;
    transform: translateX(-50%);
    border-radius: 50%;
    padding: 30px;
    width: 70px;
    height: 70px;
}

.aktiondetail:before {
    position: absolute;
    content: '';
    width: 100%;
    height: 1px;
    background: rgba(0, 0, 0, 0.1);
    left: 0;
    bottom: 0;
}

.aktiondetail .img {
    width: 300px;
    position: relative;
}

.aktiondetail .content {
    width: calc(100% - 350px);
    margin: 0;
}

.aktiondetail .img img {
    position: sticky;
    top: 100px;
}

.page-template-page-aktionen .wrap h2 {
    color: var(--highlight);
    font-size: 35px;
}

.page-template-page-aktionen .content article .entry-content {
    width: 870px;
    max-width: 100%;
    margin: 0 auto;
}

.page-template-page-aktionen .wrap #kontakt h2 {
    color: #000;
}

.page-template-page-aktionen .wrap h3 {
    font-size: 25px;
}

.aktiondetail ul {
    margin-bottom: 30px;
    position: relative;
}

.aktiondetail .questionmark li,
.aktiondetail .check li {
    padding-left: 30px;
    position: relative;
    margin-bottom: 10px;
}

.aktiondetail .questionmark:before {
    position: absolute;
    content: '';
    width: 1px;
    height: calc(100% + 42px);
    left: 10px;
    top: 3px;
    background: var(--highlight);
}

.aktiondetail .questionmark li:before {
    content: '?';
    position: absolute;
    width: 20px;
    height: 20px;
    left: 0;
    top: 3px;
    background: var(--highlight);
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    font-weight: bold;
}

.aktiondetail .questionmark + h3 {
    padding-left: 30px;
    margin-bottom: 30px;
    position: relative;
}

.aktiondetail .questionmark + h3:before {
    position: absolute;
    content: '';
    width: 15px;
    height: 1px;
    background: var(--highlight);
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
}

.aktiondetail .check li:before {
    position: absolute;
    content: '';
    width: 20px;
    height: 20px;
    left: 0px;
    top: 5px;
    background: url(img/check.svg) no-repeat;
    background-size: contain
}

.aktiondetail .button {
    display: inline-block;
    margin-bottom: 20px;
}

.aktiondetail .flex li {
    flex: 1;
    text-align: center;
}

.aktiondetail .flex li img {
    margin-bottom: 10px;
}

/*** TRIALSLOTS ***/

.ml-trialslot-list {
    margin: 1rem 0;
}

.trialslot-daylist,
.trialslot-times {
    list-style: none;
    padding-left: 0;
}


.trialslot-day:focus {
    outline: none;
}

.trialslot-day > strong {
    display: block;
    margin-bottom: .35rem;
    font-size: 15px;
    padding: 0 10px;
}

.trialslot-time {
    margin: 10px 0;
}

.slot-label {
    display: inline-block;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 8px;
    cursor: pointer;
    background: #f9f9f9;
    transition: all 0.2s ease;
}

.slot-label:hover {
    background: var(--lightblue);
    border-color: var(--highlight);
}

.trialslot-time input[type="radio"] {
    display: none;
    /* versteckt */
}

.trialslot-time input[type="radio"]:checked + .slot-label {
    background: var(--highlight);
    color: white;
    border-color: var(--lightblue);
}

.ml-trialslot-list .slick-prev {
    left: -45px;
}


/** LIGHTBOX ***/

.lightboxcontent h2 {
    text-align: left;
    color: #000;
    margin-bottom: 30px;
    border-bottom: 1px solid #ccc;
    padding-bottom: 30px;
}

.lightboxcontent h3 {
    font-size: 20px;
    color: var(--highlight);
    font-weight: 400;
    line-height: 1.4;
}

.lightboxcontent .wp-image-444 {
    width: 50%;
    position: absolute;
    margin-top: -25%;
    right: 20px;
}

.lightboxcontent {
    text-align: left;
}

.lightboxcontent h3.rueckruf {
    position: relative;
    padding: 80px 0 0 0;
}

.lightboxcontent h3.rueckruf:after {
    left: 30px;
    position: absolute;
    content: '';
    width: 1px;
    height: 100px;
    border-left: 1px dotted #009fe3;
    top: -26px;

}

.lightboxcontent h3.rueckruf:before {
    position: absolute;
    content: '';
    background: #fff url(img/rueckruf.svg) center no-repeat;
    background-size: auto;
    width: 40px;
    height: 40px;
    left: 16px;
    top: 8px;
    left: 10px;
    background-size: 70%;
    z-index: 100;
    border-radius: 50%;
    border: 1px dotted #009fe3;
}

.lightboxcontent .wpcf7-form-control-wrap {
    width: 100%;
}

.lightboxcontent .trialslot-day > strong {
    margin-bottom: 15px;
}

.remodal-close {
    left: auto;
    right: 0
}

.lightboxcontent .wpcf7-spinner {
    position: absolute;
    left: 0;
    top: 50px;
}

.error404 h1.entry-title {
    font-size: 140px;
    text-align: center;
}

body.error404 article .entry-content {
    text-align: center;
    position: relative;
    padding-bottom: 270px;
    margin-bottom: 50px;
}

.error404 .entry-content:after {
    position: absolute;
    content: '';
    width: 350px;
    height: 250px;
    background: url(img/error-404.svg) center no-repeat;
    background-size: auto;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    background-size: contain;
    opacity: .2;

}

/** IMPRESSUM + DATENSCHUTZ ***/

body:not(.home) article.post-352 .entry-content,
body:not(.home) article.post-3 .entry-content {
    width: 800px;
    max-width: 100%;
    margin: 0 auto;
}

.post-352 h1.entry-title,
.post-3 h1.entry-title {
    margin-bottom: 30px;
}
