/* noto-sans-300 - latin */
@font-face {
  font-display: block; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Noto Sans';
  font-style: normal;
  font-weight: 300;
  src: url('../fonts/noto-sans-v42-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* noto-sans-regular - latin */
@font-face {
  font-display: block; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Noto Sans';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/noto-sans-v42-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

@font-face {
  font-display: block; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'brandon-grotesque';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/brandongrotesque-bold.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}


* {
    padding: 0px;
    margin: 0px;
    border-spacing: 0px;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    outline: none;
}

html {
    height: 100%;
    -webkit-text-size-adjust: 100%;
    font-size: 10px;
   font-size: clamp(7px, 0.641vw, 10px);
}

body {
    font-family: 'Noto Sans', sans-serif;
    font-weight: 300;
    line-height: 160%;
    font-size: 2rem;
    color: #000;
    position: relative;
    min-height: 100%;
    overflow-y: scroll;
    background: #fff;

}

body.fancybox-active {
    overflow: hidden;
    margin-right: var(--sbw);
}

a {
    color: #000;
    text-decoration: none;
    border: 0;
}

a:hover {
    color:#d6327b;
}

a.textlink {
    text-decoration: underline #d6327b;
    text-underline-offset: 0.6rem;
}

b, strong {
    font-weight: 400;
}

p {
    margin-bottom: 1rem;
}

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

small, .small {
    font-size: 90%;
}


.hidden, #mmenu, #rmenu, .sh_smpt, .visually-hidden {
    display: none;
}

#landfrau_werden {
    position: fixed;
    right: 3rem;
    bottom: 3rem;
    background: #007ac3;
    color: #fff;
    text-transform: uppercase;
    padding: 0.8rem 1.5rem;
    font-family: 'brandon-grotesque', sans-serif;
    font-size: 2.8rem;
    font-weight: 700;
    text-align: center;
    border: 0.4rem solid #fff;
}

body.fancybox-active #landfrau_werden {
    right: calc(3rem + var(--sbw));
}

#landfrau_werden:hover {
    background: #d6327b;
}

#wrapper {
    position: relative;
    width: 100%;
    margin: 0 auto;
    height: auto;
    min-height: 100%;
    background: #fff;
    overflow: hidden;
}

#header {
    position: relative;
    width: 160rem;
    max-width: calc(100% - 10rem);
    height: 18rem;
    margin: 0 auto;
}

#header #logo {
    width: 24.4rem;
    position: absolute;
    z-index: 10;
    right: 0; 
    top: 2.4rem;
}

#header #logo img {
    display: block;
    height: auto;
    width: 100%;

}

#topmenu ul {
    height: 4rem;
    position: absolute;
    left: 0;
    width: calc(100% - 34rem);
    bottom: 7rem;
    display: flex;
    justify-content: space-between;
    list-style: none;
}

#topmenu ul li  {
    height: 4rem;
}

#topmenu ul li a {
    display: block;
    position: relative;
    height: 4rem;
    line-height: 4rem;
    font-family: 'brandon-grotesque', sans-serif;
    font-weight: 700;
    font-size: 2.7rem;
    text-transform: uppercase;
    z-index: 1;
              
}

#topmenu ul li a:before {
    position: absolute;
    content: '';
    width: 5.5rem;
    height: 3.96rem;
    left: -2.5rem;
    background: url(../images/biene.svg) center center no-repeat;
    background-size: cover;
    top: -2rem;
    opacity: 0;
    pointer-events: none;
    transform: translateX(-0.6rem);
    transition: all 0.2s ease-out;
    z-index: -2;
}

#topmenu ul li.active a:before, #topmenu ul li a:hover:before  {
    opacity: 1;
    transform: translateX(0);    
}

#topmenu ul li.active a, #topmenu ul li a:hover  {
    color:#d6327b;
}


#hero {
    position: relative;
    width: 160rem;
    max-width: calc(100% - 10rem);
    margin: 0 auto;
} 

#hero > div {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 32%;
} 

#hero_image {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 66%;
    background: #eee;
    overflow: hidden;
}

#hero_image > div {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

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

#hero_image img.hero_mobile {
    display: none;
}

#hero_headline {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 32%;
    background: #007ac3;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 3rem;
    box-sizing: border-box;
}

#content {
    width: 160rem;
    max-width: calc(100% - 10rem);
    position: relative;
    margin: 0 auto;
    box-sizing: border-box;
    padding-bottom: 17rem;
    margin-top: 4rem;
    display: flex;
    justify-content: space-between;
}

#content > div:first-child {
    width: 66%;
}

#content > div:first-child > div  {
    height: 100%;
    border: 1px solid #ccc;
    box-sizing: border-box;
    padding: 3rem;
    min-height: 100%;
}

#content.home > div:first-child > div  {
    border: none;
    padding: 0;
}

#content > div:last-child {
    width: 32%;
}

h1 {
    color: #fff;
    text-transform: uppercase;
    font-size: 5.2rem;
    line-height: 130%;
    font-weight: 700;
    font-family: 'brandon-grotesque', sans-serif;
    text-wrap: balance;
}

h2, h3, h4 {
    font-family: 'brandon-grotesque', sans-serif;
    font-size: 3.4rem;
    margin-bottom: 1.2rem;
    color:#d6327b;
    text-transform: uppercase;
    font-weight: 700;
    line-height: 130%;
}

h3 {
    font-size: 3.2rem;
}

h4 {
    font-size: 3rem;
}

.clm2 {
    display: flex;
    justify-content: space-between;
    min-height: 100%;
}

.clm2 > div {
    width: 48.485%;
    border: 1px solid #ccc;
    box-sizing: border-box;
    padding: 1.5rem 1.5rem 2rem;
    min-height: 100%;
}

.clm2 > div > div {
    height: 0;
    padding-bottom: 66%;
    background: #eee;
    margin-bottom: 4rem;
    position: relative;
}

.clm2 > div > div > span {
    display: block;
    inset: 0;
    overflow: hidden;
    position: absolute;
}

.clm2 > div > div > span > img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}


.clm2 > div > a {
    font-weight: 400;
    position: relative;
    padding-left: 2rem;
    margin-top: 2rem;
}

.clm2 > div > a:before {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    top: 0.8rem;
    border-left: 1rem solid #d6327b;
    border-top: 0.7rem solid transparent;
    border-bottom: 0.7rem solid transparent;
}




.termine_kurse {
    display: flex;
    flex-wrap: wrap;
    column-gap: 3%;
    row-gap: 3rem;
}

.termine_kurse > a {
    width: 48.5%;
    min-height: 16rem;
    background:#e6e6e6;
    display: flex;
    cursor: pointer;
    position: relative;
}

.termine_kurse > a:hover {
    background:#d6327b;
    color: #fff;
}

.termine_kurse > a > div:first-child {
    width: 35%;
    position: relative;
}

.termine_kurse > a > div:first-child > span {
    position: absolute;
    inset: 0;
    overflow: hidden;
    display: block;
}

.termine_kurse > a > div:first-child img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: 0.3s ease-out;
}

.termine_kurse > a > div:first-child img:last-child {
    display: none;
}

.termine_kurse > a:hover > div:first-child img {
    transform: scale(1.15);
}

.termine_kurse > a > div:nth-child(2) {
    padding: 2rem;
    font-weight: 400;
    display: flex;
    align-items: center;
    width: 65%;
    box-sizing: border-box;
}

.termine_kurse > a > div:nth-child(2) h3 {
    color: #000;
    font-size: 2.5rem;
    line-height: 130%;
    margin-bottom: 0.2rem;
    text-wrap: balance;
}

.termine_kurse > a > div:nth-child(2) span.more_info {
    font-weight: 300;
    font-size: 90%;
    position: relative;
    padding-left: 1.5rem;
    display: inline-block;
}

.termine_kurse > a > div:nth-child(2) span.more_info:before {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    top: 0.5rem;
    border-left: 0.8rem solid black;
    border-top: 0.5rem solid transparent;
    border-bottom: 0.5rem solid transparent;
}

.termine_kurse > a > div:nth-child(2) p:last-child {
    line-height: 100%;
}

.termine_kurse > a:hover > div:nth-child(2) h3 {
    color: #fff;
}

.termine_kurse > a:hover > div:nth-child(2) span.more_info {
    color: #fff;
} 

.termine_kurse > a:hover > div:nth-child(2) span.more_info:before {
    border-left: 0.8rem solid #fff;
}

.termine_kurse .cc_date, .termine_kurse .cc_place {
    display: inline-block;
    position: relative;
    padding-left: 2.6rem;
    font-size: 1.9rem;
    line-height: 140%;
}

.termine_kurse .cc_date {
    margin-top: 0.5rem;
}

.termine_kurse .cc_date:before, .termine_kurse .cc_place:before {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 1.8rem;
    height: 1.8rem;
    background-image: url(../images/icon_date.svg);
    background-size: cover;
}

.termine_kurse .cc_place:before {
    background-image: url(../images/icon_place.svg);
}

.termine_kurse > a:hover .cc_date:before, .termine_kurse > a:hover .cc_place:before {
    filter: invert(1);
}


.clm3 {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin-top: 3rem;
    column-gap: 3.5%;
    row-gap: 5rem;
}

.clm3 > div {
    width: 31%;
}

.clm3 > div > img {
    display: block;
    width: 100%;
    height: auto;
    margin-bottom: 1.5rem;
}



#instagram {
    display: inline-block;
    width: 3.6rem;
    height: auto;
    margin-top: 1.5rem;
}

#instagram:hover {
    filter: brightness(0) saturate(100%) invert(48%) sepia(61%) saturate(6944%) hue-rotate(313deg) brightness(87%) contrast(92%);
}



#content ul {
    list-style: none;
}

#content ul.list li {
    padding-left: 1.7rem;
    position: relative;
    text-align: left;
    line-height: 160%;
    margin-bottom: 0.5rem;
}

#content ul.list li:last-child {
    margin-bottom: 0;
}

#content ul.list li:before {
    content: '';
    position: absolute;
    display: block;
    width: 0.6rem;
    height: 0.6rem;
    background: #d6327b;
    left: 0;
    top: 1.4rem;
    border-radius: 0.2rem;
}





.auf_einen_blick {
    border: 1px solid #d6327b;
}

.auf_einen_blick td {
    vertical-align: top;
    padding-top: 0.3rem;
    padding-bottom: 0.3rem;
    font-size: 94%;

}

.auf_einen_blick td:nth-child(1) {
    padding-left: 1.5rem;
    padding-right: 1rem;
}

.auf_einen_blick td:nth-child(2) {
    padding-right: 1.5rem;
}

.auf_einen_blick tr:nth-child(odd) td {
    background: #f4f4f4

}

.auf_einen_blick tr:nth-child(even) td {
    background: #fafafa;
}

.auf_einen_blick tr:nth-child(1) td {
    background: #d6327b;
    color: #fff;
    font-weight: 700;
	font-family: 'brandon-grotesque', sans-serif;
    text-transform: uppercase;
    font-size: 112%;
}



.gallery {
    display: flex;
    flex-wrap: wrap;
    margin-top: 2.5rem;
    column-gap: 3%;
    row-gap: clamp(2.7rem, 1.765vw, 3rem);
}

.gallery > div {
    width: 22.75%;
}

.gallery > div > a {
    display: block;
    height: 0;
    padding-bottom: 66.666%;
    overflow: hidden;
    position: relative;
}


.gallery > div > a img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.3s ease-out;
}

.gallery > div > a:hover img {
    transform: scale(1.15);
}

.gallery > div > a > span {
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
}

.gallery > div > a > span:before {
    content: '';
    display: block;
    position: absolute;
    z-index: 2;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: #007ac3;
    opacity: 0;
    transition: all 0.2s ease-in;
}

.gallery > div > a:hover > span:before {
    opacity: 0.85;   
}

.gallery > div > a > span:after {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: url(../images/icon_lupe.svg) center center no-repeat;
    background-size: 20% auto;
    opacity: 0;
    transform: translateX(3.5%);
    transition: all 0.3s ease-out;
    z-index: 3;
}

.gallery > div > a:hover > span:after {
    transform: translateX(0);
    opacity: 1;
}


.fancybox-bg { background: #000 !important; }


.fancybox-caption {
	font-size: 2rem !important;
    text-wrap: balance !important;
}





.ccforms {
    width: 70%;
    margin-top: 3rem;
}

input, textarea, select, button#bfSubmitButton {
    font-family: "Noto Sans", sans-serif;
    font-weight: 300;
    font-size: 2rem;
    color:  #000;
    padding: 0.5rem 0 0.5rem;
    outline: none;
    box-sizing: border-box;
    background: #fff;
    -webkit-appearance: none;
    border-radius: 0;
    width: 100%;
    background: none;
    border: none;
    border-bottom:  1px solid #000;
    margin-bottom: 5rem;
}

input:hover, input:focus {
    border-bottom: 1px solid #c02c6e;
}

.ccforms button {
    border: none;
    border-radius: 0;
    background:#d6327b;
    color: #fff;
    padding: 0.5rem 1rem;
    font-weight: 700;
	font-family: "brandon-grotesque", sans-serif;
    text-transform: uppercase;
    font-size: 2rem;
    cursor: pointer;
    margin-top: 4rem;
}

button:hover {
    background: #c02c6e;
}

textarea {
    height: 20rem;
}

.row.ccforms_datenschutz label {
    position: relative;
    padding-left: 3.1rem;
    line-height: 150%;
    display: inline-block;
}

.row.ccforms_datenschutz label a {
    color:#d6327b;
}

input[type="checkbox"] {
    position: absolute;
    left: 0;
    top: 0.6rem;
    -moz-appearance: initial;
    -webkit-appearance: initial;
    visibility: hidden;
    cursor: pointer;
}

input[type="checkbox"]:before {
    content: '';
    position: absolute;
    width: 2rem;
    height: 2rem;
    background: #fff;
    border: 1px solid #000;
    left: 0;
    top: 0;
    visibility: visible;
    box-sizing: border-box;
}

input[type="checkbox"]:checked:after {
    content: '';
    position: absolute;
    width: 1rem;
    height: 1rem;
    background: #d6327b;
    left: 0.5rem;
    top: 0.5rem;
    visibility: visible;
}







.calender {
    box-sizing: border-box;
    background:#d6327b;
    padding: 3rem 1.5rem;
    color: #fff;
    font-weight: 400;
    position: relative;
    padding-bottom: 7rem;
    min-height: 100%;
}

.calender a, .calender a:hover {
    color: #fff;
}

.calender h2 {
    font-size: 3.6rem;
    margin-bottom: 2.5rem;
    color: #fff;
    text-align: center;
    line-height: 125%;
}

.calender > a {
    background: rgba(0,0,0,0.1);
    padding: 1.5rem 2.5rem;
    text-align: center;
    border: 1px solid #fff;
    box-sizing: border-box;
    margin-bottom: 1.5rem;
    font-size: 2.1rem;
    display: block;
}

.calender > a:hover {
    background: rgba(0,0,0,0.15);
    padding: 1.5rem 2.5rem;
    text-align: center;
    border: 1px solid #fff;
    box-sizing: border-box;
    margin-bottom: 1.5rem;
    font-size: 2.1rem;
}

.calender > a h3 {
    color: #fff;
    font-size: 3.4rem;
    text-wrap: balance;
    line-height: 120%;
    margin-bottom: 1rem;
}

.calender > a span {
    position: relative;
    padding-left: 1.8rem;
    display: inline-block;
    font-size: 2rem;
}

.calender > a span:before {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    top: 1rem;
    border-left: 0.9rem solid #fff;
    border-top: 0.6rem solid transparent;
    border-bottom: 0.6rem solid transparent;
}




.calender > p > a {
    font-family: 'brandon-grotesque', sans-serif;
    font-size: 3.1rem;
    text-transform: uppercase;
    font-weight: 700;
    text-align: center;
    margin-top: 0.5rem;
    display: block;
    margin-top: 3.5rem;
    text-wrap: balance;
    line-height: 130%;
}


#footer {
    width: 100%;
    height: 10rem;
    line-height: 10rem;
    text-align: center;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background:#ddd;
    color: #fff;
    font-size: 2rem;
    color: #000;
  }




@media(max-width: 1560px) {
    #topmenu ul {
        width: calc(100% - 30rem);
    }
}

@media(max-width: 1200px) {

    h1 {
        font-size: 4.8rem;
    }

}


@media(max-width: 1000px) {

    .hd_tbpt {
        display: none;
    }

    html {
        font-size: 8px;
    }

    body.menu_active {
        overflow: hidden;
    }
    
   #webpage  {
        transform: translateX(0);
        transition: transform 0.3s ease-out;
        position: relative;
    }

    #webpage.menu_active {
        transform: translateX(300px); 
    }
    

    #header, #footer  {
        transform: translateX(0);
        transition: transform 0.3s ease-out;
    }
    
    #header.menu_active, #footer.menu_active {
        transform: translateX(300px); 
    }

    #webpage_overlay, #footer_overlay, #header_overlay {
        position: absolute;
        z-index: 60;
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        background-color: rgba(255,255,255,0.75);
        transition: opacity 0.3s ease-out, visibility 0s 0.3s; 
        visibility: hidden;
        opacity: 0;
    }

    #webpage_overlay.menu_active, #footer_overlay.menu_active, #header_overlay.menu_active  {
        visibility: visible;
        opacity: 1;
        transition: opacity 0.3s ease-out, visibility 0s 0s; 
    }
    
    #mmenu {
        background: #d6327b;
        position: fixed;
        width: 300px;
        padding-top: 30px;
        padding-bottom: 30px;
        left: 0;
        top: 0;
        bottom: 0;
        z-index: 9999999;
        transform: translateX(-300px);
        transition: transform 0.3s ease-out;
        box-sizing: border-box;
        overflow-y: scroll;
        -webkit-overflow-scrolling: touch;
        display: block !important;
    }

    #mmenu.menu_active {
        transform: translateX(0); 
    }
    

    
    #rmenu {
        position: absolute;
        left: 0;
        top: 49px;
        z-index: 9999999999999999;
        height: 40px;
        cursor: pointer;
        line-height: 34px;
        display: block !important;
        font-size: 19px;
        transition: transform 0.3s ease-out;
    }

    #rmenu #rmenu_icon {
        display: block;
        width: 40px;
        height: 2px;
        background: rgba(214,50,123,1);
        position: relative;
        top: 19px;
        left: -56px;
        transition: background 0s 0.15s;
    }

    #rmenu.menu_active #rmenu_icon {
        background: rgba(214,50,123,0);
    }

    #rmenu #rmenu_icon:before {
        content: '';
        display: block;
        position: absolute;
        width: 40px;
        height: 2px;
        background: rgba(214,50,123,1);
        position: absolute;
        top: -12px;
        transition: top 0.15s ease-in 0.15s, transform 0.15s ease-in 0s;
    }

    #rmenu_trigger {
        cursor: pointer;
        display: inline-block;
        padding-left: 56px;
    }
    
    #rmenu #rmenu_icon:after {
        content: '';
        display: block;
        position: absolute;
        width: 40px;
        height: 2px;
        background: rgba(214,50,123,1);
        position: absolute;
        top: 12px;
        transition: top 0.15s ease-in 0.15s, transform 0.15s ease-in 0s;
    }
    
    #rmenu.menu_active #rmenu_icon:before {
        top: 0px;
        transition: top 0.15s ease-in 0s, transform 0.15s ease-in 0.15s;
        transform: rotate(135deg);
    }

    #rmenu.menu_active #rmenu_icon:after {
        top: 0px;
        transition: top 0.15s ease-in 0s, transform 0.15s ease-in 0.15s;
        transform: rotate(-135deg);
    }


    #mmenu ul {
        list-style: none;
        width: 100%;
        margin: 0;
    }

    #mmenu ul li {
        width: 100%;
        /*border-bottom: 1px solid rgba(255,255,255,0.5);*/
        margin: 0;
        position: relative;
    }


    #mmenu ul li:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    #mmenu ul li a {
        color: #fff;
        font-family: 'brandon-grotesque', sans-serif;
        text-transform: uppercase;
        line-height: 130%;
        display: block;
        padding: 11px 30px 10px;
        font-size: 26px;
        transition: 0.3s ease-out;
        font-weight: 700;
        position: relative;
        
    }
    
    #mmenu ul li.active a {
        background: #c02c6e;
    }

    #mmenu ul li ul {
        display: none;
    }

    #mmenu ul li.active ul {
        display: block;
    }

    #mmenu ul li.active ul li:first-child {
        border-top: 1px dotted rgba(255,255,255,0.3);
    }

    #mmenu ul li ul li.active a {
        padding-left: 46px;
    }

    #mmenu ul li ul li.active > a:before {
        left: 23px;
    }

    #landfrau_werden {
        display: none;
    }

    #header {
        width: calc(100% - 60px);
        max-width: none;
        height: 138px;
    }

    #header .landfrau_werden {
        display: flex;
        position: absolute;
        left: 107px;
        right: 195px;
        top: 0;
        bottom: 0;
        justify-content: center;
        align-items: center;
        display: none;
    }

    #header .landfrau_werden a {
        background: #007ac3;
        color: #fff;
        text-transform: uppercase;
        padding: 0.8rem 1.5rem;
        font-family: 'brandon-grotesque', sans-serif;
        font-size: 2.6rem;
        font-weight: 700;
        text-align: center;
    }

    #header .landfrau_werden a:hover {
        background: #d6327b;
    }

    #topmenu ul {
        display: none;
    }

    #hero {
        width: calc(100% - 60px);
        max-width: none;
    } 

    #hero > div {
        height: auto;
        padding-bottom: 0;
    }

    #hero_image {
        position: relative;
        left: auto;
        top: auto;
        bottom: auto;
        width: 100%;
        height: 0;
        padding-bottom: 50%;
        margin-bottom: 30px;
    }

    #hero_headline {
        position: relative;
        right: auto;
        top: auto;
        bottom: auto;
        width: 100%;
        padding: 3rem;
    }

    #content {
        width: calc(100% - 60px);
        max-width: none;
        margin-top: 30px;
        display: block;
    }

    #content > div:first-child {
        width: 100%;
        margin-bottom: 30px;
    }

    #content > div:last-child {
        width: 100%;
    }

    h1 {
        font-size: 4.6rem;
    }

    .gallery {
        row-gap: 2.6vw;
    }

    .calender {
        padding-bottom: 3.5rem;
    }

    .calender > a {
        width: 70%;
        margin-left: auto;
        margin-right: auto;
    }

}

@media(max-width: 790px) {

    .hd_smpt {
        display: none;
    }

    #webpage.menu_active, #header.menu_active, #footer.menu_active {
        transform: translateX(270px); 
    }

    #mmenu {
        width: 270px;
        padding-top: 20px;
        padding-bottom: 20px;
        transform: translateX(-270px);
    }

    #rmenu {
        top: 41px;
    }

    #rmenu #rmenu_icon {
        top: -4px;
        left: 0;
    }

    #rmenu_trigger {
        padding-left: 0;
    }

    #mmenu ul li a {
        padding: 9px 20px 8px;
        font-size: 23px;
        
    }

    #header {
        width: calc(100% - 40px);
        height: 122px;
    }

    #header #logo {
        width: 166px;
    }

    #hero {
        width: calc(100% - 40px);
    } 

    #hero_image {
        padding-bottom: 70%;
        margin-bottom: 20px;
    }

    #hero_image img.hero_desktop {
        display: none;
    }

    #hero_image img.hero_mobile {
        display: block;
    }

    #hero_headline {
        padding: 2rem 3rem 1.8rem;
    }

    #content {
        width: calc(100% - 40px);
        margin-top: 20px;
    }

    #content > div:first-child > div {
        padding: 2.2rem;
    }

    h1 {
        font-size: 3.9rem;
    }



    .clm2 {
        display: block;
    }

    .clm2 > div {
        width: 100%;
        padding: 2.2rem;
        margin-bottom: 20px;
    }

    .clm2 > div:last-child {
        margin-bottom: 0;
    }

    .termine_kurse {
        display: block;
    }

    .termine_kurse > a {
        width: 100%;
        display: block;
        margin-bottom: 20px;
    }

    .termine_kurse > a:last-child {
        margin-bottom: 0;
    }

    .termine_kurse > a > div:first-child {
        width: 100%;
        height: 0;
        padding-bottom: 65%;
        position: relative;
    }

    .termine_kurse > a > div:first-child img:first-child {
        display: none;
    }

    .termine_kurse > a > div:first-child img:last-child {
        display: block;
    }

    .termine_kurse > a > div:nth-child(2) {
        width: 100%;
    }

    .clm3 {
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-start;
        margin-top: 3rem;
        column-gap: 18px;
        row-gap: 4rem;
    }

    .clm3 > div {
        width: calc(50% - 9px);
    }

    .gallery {
        margin-top: 2rem;
        column-gap: 3.5%;
        row-gap: 3.165vw;
}

    .gallery > div {
        width: 31%;
    }

    .ccforms {
        width: 100%;
    }

    .calender h2 {
        font-size: 3.4rem;
    }

    .calender > a h3 {
        font-size: 3.2rem;
    }
        
    .calender > a {
        width: 100%;
    }

    .calender > p > a {
        font-size: 2.9rem;
    }

}