/*
Theme Name: Famcademy
Theme URI: http://www.famcademy.de/
Author: SIGN+DESIGN Werbeagentur
Author URI: https://www.signunddesign.com/
Description: Wozu lange um den „heißen Brei“ reden: Unser Ziel ist Ihr Erfolg! Denn nur erfolgreiche Kunden sind auf Dauer glückliche Kunden. Und um Sie glücklich zu machen, richten wir unsere Energie auf Ihren stimmigen Auftritt und die Entwicklung zielführender Kommunikationsmaßnahmen. Werbung darf bei uns Spaß machen und ist trotzdem niemals Selbstzweck. Was zählt ist Ihr Erfolg! Die Früchte unserer Bemühungen: treue, langjährige Kunden und zahlreiche Weiterempfehlungen – mit ein Grund dafür, dass viele unserer Kunden aus dem Bereich Immobilien stammen. Und hier liegt auch seit über 20 Jahren ein Schwerpunkt unserer Arbeit.
Version: 2.1
*/@charset "UTF-8";

/*Global Reset*/

body,html,h1,h2,h3,h4,h5,h6,p,ul,ol,li{padding:0;margin:0;}
body,html{overflow: unset!important;width:100%;-webkit-font-smoothing:antialiased;-webkit-overflow-scrolling:touch;}
article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block;}

/* ########## Fonts ++ WICHTIG font-display: swap; ++ ########## */

/* roboto-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: url('assets/fonts/roboto-v30-latin-regular.eot'); /* IE9 Compat Modes */
  src: url('assets/fonts/roboto-v30-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
  url('assets/fonts/roboto-v30-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
  url('assets/fonts/roboto-v30-latin-regular.woff') format('woff'), /* Modern Browsers */
  url('assets/fonts/roboto-v30-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
  url('assets/fonts/roboto-v30-latin-regular.svg#Roboto') format('svg'); /* Legacy iOS */
}
/* roboto-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 500;
  src: url('assets/fonts/roboto-v30-latin-500.eot'); /* IE9 Compat Modes */
  src: url('assets/fonts/roboto-v30-latin-500.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
  url('assets/fonts/roboto-v30-latin-500.woff2') format('woff2'), /* Super Modern Browsers */
  url('assets/fonts/roboto-v30-latin-500.woff') format('woff'), /* Modern Browsers */
  url('assets/fonts/roboto-v30-latin-500.ttf') format('truetype'), /* Safari, Android, iOS */
  url('assets/fonts/roboto-v30-latin-500.svg#Roboto') format('svg'); /* Legacy iOS */
}

/* nunito-300 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 300;
  src: url('assets/fonts/nunito-v25-latin-300.eot'); /* IE9 Compat Modes */
  src: url('assets/fonts/nunito-v25-latin-300.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
  url('assets/fonts/nunito-v25-latin-300.woff2') format('woff2'), /* Super Modern Browsers */
  url('assets/fonts/nunito-v25-latin-300.woff') format('woff'), /* Modern Browsers */
  url('assets/fonts/nunito-v25-latin-300.ttf') format('truetype'), /* Safari, Android, iOS */
  url('assets/fonts/nunito-v25-latin-300.svg#Nunito') format('svg'); /* Legacy iOS */
}
/* nunito-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 400;
  src: url('assets/fonts/nunito-v25-latin-regular.eot'); /* IE9 Compat Modes */
  src: url('assets/fonts/nunito-v25-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
  url('assets/fonts/nunito-v25-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
  url('assets/fonts/nunito-v25-latin-regular.woff') format('woff'), /* Modern Browsers */
  url('assets/fonts/nunito-v25-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
  url('assets/fonts/nunito-v25-latin-regular.svg#Nunito') format('svg'); /* Legacy iOS */
}
/* nunito-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 500;
  src: url('assets/fonts/nunito-v25-latin-500.eot'); /* IE9 Compat Modes */
  src: url('assets/fonts/nunito-v25-latin-500.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
  url('assets/fonts/nunito-v25-latin-500.woff2') format('woff2'), /* Super Modern Browsers */
  url('assets/fonts/nunito-v25-latin-500.woff') format('woff'), /* Modern Browsers */
  url('assets/fonts/nunito-v25-latin-500.ttf') format('truetype'), /* Safari, Android, iOS */
  url('assets/fonts/nunito-v25-latin-500.svg#Nunito') format('svg'); /* Legacy iOS */
}
/* nunito-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 600;
  src: url('assets/fonts/nunito-v25-latin-600.eot'); /* IE9 Compat Modes */
  src: url('assets/fonts/nunito-v25-latin-600.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
  url('assets/fonts/nunito-v25-latin-600.woff2') format('woff2'), /* Super Modern Browsers */
  url('assets/fonts/nunito-v25-latin-600.woff') format('woff'), /* Modern Browsers */
  url('assets/fonts/nunito-v25-latin-600.ttf') format('truetype'), /* Safari, Android, iOS */
  url('assets/fonts/nunito-v25-latin-600.svg#Nunito') format('svg'); /* Legacy iOS */
}
/* nunito-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 700;
  src: url('assets/fonts/nunito-v25-latin-700.eot'); /* IE9 Compat Modes */
  src: url('assets/fonts/nunito-v25-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
  url('assets/fonts/nunito-v25-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
  url('assets/fonts/nunito-v25-latin-700.woff') format('woff'), /* Modern Browsers */
  url('assets/fonts/nunito-v25-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */
  url('assets/fonts/nunito-v25-latin-700.svg#Nunito') format('svg'); /* Legacy iOS */
}

/* herr-von-muellerhoff-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Herr Von Muellerhoff';
  font-style: normal;
  font-weight: 400;
  src: url('assets/fonts/herr-von-muellerhoff-v15-latin-regular.eot'); /* IE9 Compat Modes */
  src: url('assets/fonts/herr-von-muellerhoff-v15-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
  url('assets/fonts/herr-von-muellerhoff-v15-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
  url('assets/fonts/herr-von-muellerhoff-v15-latin-regular.woff') format('woff'), /* Modern Browsers */
  url('assets/fonts/herr-von-muellerhoff-v15-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
  url('assets/fonts/herr-von-muellerhoff-v15-latin-regular.svg#HerrVonMuellerhoff') format('svg'); /* Legacy iOS */
}

/* ########## Variables ########## */

* {
    --font-family: "Nunito", sans-serif;
    --font-family-hl: "Roboto", sans-serif;
    --transition: .45s ease;
    --wrp-width: 1500px;
    --font-size: 16px;
    --line-height: calc(var(--font-size) * 1.8);
    --box-shadow: 0px 5px 13px 0px rgba(0, 0, 0, 0.3);
    --border-radius: 15px;
    --primary-color: #346036;
    --secundary-color: #C5D984;
    --text-color: #3C403B;
    --background-color: #F5F4ED;
}

/* ########## Globals ########## */

html {background: var(--background-color); scroll-behavior: smooth;}
body {font-size: var(--font-size); font-family: var(--font-family); line-height: var(--line-height); color: var(--text-color); background: var(--background-color); padding-bottom: 50px;}
img {-ms-interpolation-mode:bicubic; vertical-align: bottom;}
svg {width: 100%; height: 100%;}
hr {border:none;height:1px;background:#ddd; margin:0;}

.wrp {max-width: var(--wrp-width); width: 90%; margin: 0 auto; position:relative; box-sizing:border-box;}
.l-wrp {max-width: 1500px; width: 90%; margin: 0 auto; position:relative; box-sizing:border-box;}

/* Margins */

.mb {margin-bottom: 100px;}
.mb50 {margin-bottom: 50px;}

@media (max-width: 500px) {
  .mb {margin-bottom: 50px;}
  .mb50 {margin-bottom: 25px;}
}

/* Page Build */

main.withsidebar .page-build {display: grid; grid-template-columns: 65% 28%; align-items: flex-start; justify-content: space-between; max-width: var(--wrp-width); width: 90%; margin-left: auto; margin-right: auto;}
main.withsidebar .content .wrp {width: 100%;}

main.withsidebar .sidebar {width: 100%; position: -webkit-sticky; position: sticky; top: 150px; padding: 25px; box-sizing: border-box; background: #5C7D59; border-radius: 5px;}
main.withsidebar .sidebar p, main.withsidebar .sidebar address, main.withsidebar .sidebar h3 {color: #fff;}

.single main.withsidebar {margin-top: 200px;}

.sidebar ul li {list-style-type: none; margin: 0 0 5px 0;}
.sidebar ul li a {background: var(--primary-color);display: block;color: var(--background-color);border-left: 5px solid var(--background-color);padding: 3px 0 3px 8px;border-radius: 2px;}
.sidebar ul li ul.sub-menu {display: none;}

.sidebar-nav ul li.btn { padding: 0; display: block; width: 100%; margin-top: 15px;}
.sidebar-nav ul li.btn a {display: block; background: var(--secundary-color); text-align: center; border: none; padding: 5px 0; text-align: center;}

.sidebar-contact .contact-links {margin-top: 20px;}

.sidebar-contact a {display: flex; align-items: center; color: var(--background-color);}
.sidebar-contact a .icon-wrp {width: 16px; height: 16px; display: flex; align-items: center; margin-right: 10px;}
.sidebar-contact a .icon-wrp svg {width: 100%;}

.no-stage-margin {margin-top: 220px;}

@media (max-width: 1024px) {
  main.withsidebar .page-build {grid-template-columns: 100%;}
  main.withsidebar .page-build .sidebar .sidebarbar-mobile-trigger {display: grid; place-items: center; position: absolute; top: -50px; left: 50%; transform: translateX(-50%); width: 60%; max-width: 350px; height: 50px; font-size: 14px; border-radius: 15px 15px 0 0; background: var(--primary-color); color: #fff; font-weight: 700;}
  main.withsidebar .page-build .sidebar {position: fixed; bottom: 0; left: 50%; transform: translate(-50%,100%); transition: var(--transition); top: unset; z-index: 5;}
  main.withsidebar .page-build .sidebar.active {transform: translate(-50%,0); transition: var(--transition);}
  main.withsidebar .page-build {grid-template-columns: 100%;}
  .single main.withsidebar {margin-top: 150px;}
}

@media (min-width: 1025px) {
    main.withsidebar .page-build .sidebar .sidebarbar-mobile-trigger {display: none;}
}

@media (max-width: 700px) {
    .no-stage-margin {margin-top: 100px;}
    .single main.withsidebar {margin-top: 100px;}
}

/* Typo Styles */

h1, h2, h3, h4, h5 {font-family: var(--font-family-hl); color: var(--primary-color); font-size: 40px; line-height: 50px; font-weight: 500; margin:0 0 25px 0;}
h2 {}
h3 {font-family: var(--font-family); color: var(--text-color); font-size: 22px; line-height: 30px; font-weight: 600;}
h5 {color: #fff; font-size: 20px; margin-bottom: 25px; line-height: 30px; font-weight: 600;}
h6 {font-family: 'Herr Von Muellerhoff', serif; color: var(--text-color); font-size: 120px; opacity: .09; font-weight: 400;}

a {text-decoration: none; outline:none !important; color: var(--text-color); transition: var(--transition);}
a:hover {color: var(--secundary-color); transition: var(--transition);}

.btn {padding: 12px 30px; background: var(--primary-color); color: #fff; border-radius: 4px; font-weight: 600; display: inline-block; position: relative; z-index: 1; width: max-content;}
.text-btn {font-weight: 800; color: var(--primary-color); position: relative;}
.text-btn:hover {cursor: pointer;}
.text-btn:after {content: '→'; position: absolute; top: 50%; transform: translateY(-50%); right: -20px;}
.btn.btn-on-dark {background: var(--secundary-color); color: var(--primary-color);}

.btn:hover {background: var(--secundary-color); color: var(--primary-color); transition: var(--transition);}
.btn.btn-on-dark:hover {background: #fff; color: var(--primary-color); transition: var(--transition);}

p {margin-bottom: var(--line-height);}
p:last-child {margin-bottom: 0;}
address {font-style: normal; color: var(--text-color);}
address a {display: block;}
ol, ul {margin-bottom: var(--line-height);}
li {margin-left: 20px;}

@media (max-width: 1024px) {
  h1, h2, h3, h4, h5 {font-size: 28px; line-height: 35px;}
  h3 {font-size: 18px; line-height: 28px;}
  h5 {font-size: 18px; line-height: 28px;}
  h6 {font-size: 80px;}
}

/* ########## Mainnav ########## */

#mainnav ul.mainnav.smart {display:none;}
#mainnav {display: block; transform: translate(0);}
#mainnav ul.mainnav.desktop li {list-style-type: none; font-size: 18px; margin-left: 40px;}
#mainnav ul.mainnav.desktop li.btn {padding: 0;}
#mainnav ul.mainnav.desktop li.btn a {padding: 12px 30px; color: #fff;}
#mainnav ul.mainnav.desktop li:first-child {margin-left:0;}
#mainnav ul.mainnav.desktop li a{display:block; color: var(--text-color); transition: var(--transition); padding: 45px 0; font-weight: 600; line-height: 24px;}
#mainnav ul.mainnav.desktop li a:hover, #mainnav ul > li.current-menu-item > a{color: var(--primary-color); transition: var(--transition);}

#mainnav ul.mainnav.desktop li.shopping-bag,
#mainnav ul.mainnav.desktop li.nav-icon-konto {width: 48px; height: 48px; display: grid; place-items: center; background: var(--secundary-color); padding: 0; margin-left: 20px; border-radius: var(--border-radius); position: relative;}

#mainnav ul.mainnav.desktop li.shopping-bag a,
#mainnav ul.mainnav.desktop li.nav-icon-konto a {padding: 0;}

#mainnav ul.mainnav.desktop li.shopping-bag .icon-wrp,
#mainnav ul.mainnav.desktop li.nav-icon-konto .icon-wrp {width: 20px; height: 20px; display: block;}

.shopping-bag .count {position: absolute; top: -10px; right: 0; width: 20px; height: 20px; line-height: 20px; border-radius: 50%; color: #fff; text-align: center; font-size: 12px; font-weight: bold; display: none; background: var(--primary-color);}
.shopping-bag .count.show {display: block;}

/* Submenu */

@media (min-width: 1025px){

    .offcanvas-link-to-sites {display: none;}

    #mainnav ul.mainnav.desktop {display: flex; align-items: center; margin: 0;}
    html.scrolled #mainnav ul.mainnav li a {padding: 22px 0; transition: var(--transition);}

    #mainnav ul.mainnav li.menu-item-has-children {position: relative;}
    #mainnav ul.mainnav li.menu-item-has-children ul.sub-menu {position: absolute; top: 120px; left: -9px; display: block; height: auto; max-height: 0; overflow: hidden;}
    .scrolled #mainnav ul.mainnav li.menu-item-has-children ul.sub-menu {top: 74px;}
    #mainnav ul.mainnav li.menu-item-has-children ul.sub-menu li {width:270px; height: 100%; transition: 0.8s ease; background: #f5f5f5; margin: 0;}
    #mainnav ul.mainnav li.menu-item-has-children:hover > ul.sub-menu {max-height: 674px; padding: 0; overflow: visible; margin-top: -6px;}

    #mainnav ul.mainnav li.menu-item-has-children ul.sub-menu li:hover {background: var(--primary-color);}
    #mainnav ul.mainnav li.menu-item-has-children ul.sub-menu li:hover a {color: #fff;}
    #mainnav ul.mainnav li.menu-item-has-children ul.sub-menu li a {padding: 7px 0 7px 10px; font-size: 14px;}
    #mainnav ul.mainnav li.menu-item-has-children ul.sub-menu li:last-child {margin-bottom: 0;}

    /* Zweite Ebene */

    #mainnav ul.mainnav li.menu-item-has-children ul.sub-menu li.menu-item-has-children ul.sub-menu {position: absolute; left: 100%; top: 6px; overflow: hidden;}
    #mainnav ul.mainnav li.menu-item-has-children ul.sub-menu li.menu-item-has-children:hover ul.sub-menu {overflow: visible;}
    #mainnav ul.mainnav li.menu-item-has-children ul.sub-menu li.menu-item-has-children ul.sub-menu li {background: #f5f5f5;}
    #mainnav ul.mainnav li.menu-item-has-children ul.sub-menu li.menu-item-has-children ul.sub-menu li a {color: var(--text-color);}
    #mainnav ul.mainnav li.menu-item-has-children ul.sub-menu li.menu-item-has-children ul.sub-menu li:hover a {color: var(--primary-color);}

    /* Desktop ausblenden */

    #mainnav .head,
    #mainnav address.contact,
    #mainnav ul.mainnav li.back {display: none;}
}

@media (max-width: 1024px) {

    .mainnav.desktop {display: none;}

    /* Offcanvas */

    #mainnav ul.mainnav.smart {display:block;}
    #mainnav {position: fixed; top: 0; right: 0; bottom: 0; background: #fff; width: 100%; max-width: 500px; transform: translateX(100%); transition: var(--transition); box-shadow: var(--box-shadow); z-index: 2;}
    #mainnav.active {transform: translateX(0); transition: var(--transition);}
    #mainnav .head {display: grid;grid-template-columns: auto auto 55px; align-items: center; padding: 20px; box-sizing: border-box; box-shadow: 0 0 10px rgba(0,0,0,0.1);}
    #mainnav .head p {margin: 0; font-size: 25px; color: var(--text-color);}
    #mainnav .head .buttons {display: flex; justify-content: center;justify-self: end;}

    #mainnav .head .buttons a {width: 50px; height: 50px; border-radius: 2px; background: #f5f5f5; margin-left: 5px; display: flex; align-items: center; justify-content: space-around; }
    #mainnav .head .buttons a:first-child {margin-left: 0;}
    #mainnav .head .buttons a svg {width: 23px;}
    #mainnav .head .buttons a svg path {fill: var(--primary-color);}

    /* Submenu */

    #mainnav ul.mainnav.smart {display: block;}
    #mainnav ul.mainnav li {padding: 0; box-sizing: border-box; margin: 0; background: #efefef; border-bottom: 1px solid #dedede; list-style-type: none;}
    #mainnav ul.mainnav li a {font-size: var(--font-size); padding: 10px 45px 10px 5%; display: block;}

    #mainnav .opensubnav {cursor: pointer; width: 49px; height: 49px; position: absolute; right: 0; background: #fff; display: block; z-index: 100; box-sizing: border-box;}
    #mainnav .opensubnav.active {background: var(--secundary-color);}
    #mainnav .opensubnav:after  {content: ''; transform: rotate(-45deg) translate(-50%, -50%); border: solid var(--secundary-color); border-width: 0 2px 2px 0; display: inline-block; padding: 3px; left: 50%; top:42%; position: absolute; transition: var(--transition);}
    #mainnav .opensubnav.active:after  {content: ''; transform: rotate(45deg); -webkit-transform: rotate(45deg);  border: solid #fff; border-width: 0 2px 2px 0; left: 19px; top:18px; transition: var(--transition);}

    #mainnav address.contact {padding: 5%; box-sizing: border-box; display: block;}

    .offcanvas-link-to-sites {padding: 15px!important; background: #fff!important; display: flex; justify-content: center; gap: 25px;}
    .offcanvas-link-to-sites a {padding: 9px 15px!important; background: var(--secundary-color);border-radius: var(--border-radius);font-size: 14px!important; font-weight: 600;}

    /* Offcanvas Sub Layer 1 */

    #mainnav li.menu-item-has-children ul.sub-menu {display: none; transition: var(--transition); margin-bottom: 0;}
    #mainnav li.menu-item-has-children.active ul.sub-menu {display: block;}
    #mainnav li.menu-item-has-children.active ul.sub-menu li a {background: #fff; padding-left: 10%;}
    #mainnav li.menu-item-has-children.active ul.sub-menu li ul.sub-menu li a {padding-left: 15%;}

    /* Offcanvas Sub Layer 2 */

    #mainnav li.menu-item-has-children ul.sub-menu li.menu-item-has-children .opensubnav {background: #f5f5f5;}
    #mainnav li.menu-item-has-children.active ul.sub-menu li.menu-item-has-children ul.sub-menu {display: none; transition: var(--transition);}
    #mainnav li.menu-item-has-children.active ul.sub-menu li.menu-item-has-children.active ul.sub-menu {display: block; transition: var(--transition);}

    #mainnav ul.offcanvas-menu li.back a:before {display: none;}

    /* Mainnav Toggle */

    .mainnav-toggle {border-radius: 2px; display: block!important; position: relative; z-index: 10;width: 50px;height: 50px;background: var(--primary-color);box-shadow:none; transition: var(--transition);}
    .mainnav-toggle.off {border-radius: 2px; display: block!important; position: absolute; z-index: 10; top: 50%; right: 0;transform: translateY(-50%);width: 50px;height: 50px;background: var(--primary-color);box-shadow: 1px 2px 10px 0px rgba(0,0,0,0.3); transition: var(--transition);}
    .mainnav-toggle.off.active {display:none!important}
    .mainnav-toggle .btn-mainnav-toggle {position: absolute;top: 50%;left: 50%;transform: translate(-50%, -50%);width: 35px;cursor: pointer;}
    .mainnav-toggle .btn-mainnav-toggle span {display: block;width: 100%;box-shadow: 0 2px 10px 0 rgba(0,0,0,0.3);border-radius: 4px;height: 2px;background: #fff;transition: all .3s;position: relative;}
    .mainnav-toggle .btn-mainnav-toggle span + span {margin-top: 7px;}
    .mainnav-toggle .btn-mainnav-toggle.active span + span {margin-top: 13px;}
    .mainnav-toggle .btn-mainnav-toggle.active span:nth-child(1) {animation: ease .7s top forwards;}
    .mainnav-toggle .btn-mainnav-toggle.not-active span:nth-child(1) {animation: ease .7s top-2 forwards;}
    .mainnav-toggle .btn-mainnav-toggle.active span:nth-child(2) {animation: ease .7s scaled forwards;}
    .mainnav-toggle .btn-mainnav-toggle.not-active span:nth-child(2) {animation: ease .7s scaled-2 forwards;}
    .mainnav-toggle .btn-mainnav-toggle.active span:nth-child(3) {animation: ease .7s bottom forwards;}
    .mainnav-toggle .btn-mainnav-toggle.not-active span:nth-child(3) {animation: ease .7s bottom-2 forwards;}

    @keyframes top { 0% {top: 0; transform: rotate(0);} 50% {top: 15px;transform: rotate(0);} 100% {top: 15px;transform: rotate(45deg);} }
    @keyframes top-2 { 0% {top: 15px;transform: rotate(45deg);} 50% {top: 15px;transform: rotate(0deg);} 100% {top: 0;transform: rotate(0deg);} }
    @keyframes bottom { 0% {bottom: 0;transform: rotate(0);} 50% {bottom: 15px;transform: rotate(0);} 100% {bottom: 15px;transform: rotate(135deg);} }
    @keyframes bottom-2 { 0% {bottom: 15px;transform: rotate(135deg);} 50% {bottom: 15px;transform: rotate(0);} 100% {bottom: 0;transform: rotate(0);} }
    @keyframes scaled { 50% {transform: scale(0);} 100% {transform: scale(0);} }
    @keyframes scaled-2 { 0% {transform: scale(0);} 50% {transform: scale(0);} 100% {transform: scale(1);} }

    #mainnav-overlay {position: fixed; top: 0; right: 0; left: 0; bottom: 0; background: rgba(0,0,0,0.2); backdrop-filter: blur(7px); opacity: 0; z-index: -5; transition: var(--transition); visibility: hidden;}
    #mainnav-overlay.active {opacity: 1; z-index: 1; visibility: visible; transition: var(--transition);}
}

/* ########## Header ########## */

header {position: fixed; top: 0; width: 100%; z-index: 21; box-sizing: border-box; transition: var(--transition); background: var(--background-color);}
header .header-grid {display: grid; padding: 0; grid-template-columns: 200px auto; grid-template-rows: auto; justify-items: start; align-items: center; justify-content: space-between; transition: var(--transition);}
header .header-grid .logo {width: 100%;}
header .header-grid .logo a {display: flex; align-items: center;}
header .header-grid .mainnav-toggle {display: none;justify-self: end;}

header .toprow {background: var(--secundary-color); height: 50px; display: flex; font-size: 14px; color: var(--primary-color); font-weight: 700;}

header .toprow .contact {display: flex; gap: 20px;}
header .toprow .contact a {display: flex; align-items: center;}
header .toprow .contact a .icon-wrp {width: 16px; height: 16px; display: flex; align-items: center; margin-right: 10px;}
header .toprow .contact a .icon-wrp svg {width: 100%;}
header .toprow .contact a .icon-wrp svg path {fill: var(--primary-color);}

header .toprow .l-wrp {display: flex; justify-content: space-between; align-items: center;}
header .toprow .l-wrp .top-row-nav ul {display: flex; margin: 0; gap: 25px;}
header .toprow .l-wrp .top-row-nav ul li {list-style-type: none; margin: 0;}
header .toprow a {font-size: 14px; color: var(--primary-color); font-weight: 700; line-height: 20px;}

header .toprow .l-wrp .top-row-nav a.famcare {padding: 5px 8px; background: #EAD26D; border-radius: 10px; color: #366035;}

.scrolled header {box-shadow: var(--box-shadow); background: var(--background-color); transition: var(--transition);}
.scrolled header .header-grid {grid-template-columns: 150px auto; transition: var(--transition);}

@media (max-width: 1024px) {
    header > .l-wrp {padding: 10px 0;}
    header .toprow .contact {display: none;}
}

@media (max-width: 700px) {
  header .toprow {height: 5px;}
  header .toprow .l-wrp {display: none;}
  header .header-grid {grid-template-columns: 150px auto;}
}

/* Kopfbereich Startseite / Unterseite  */

.stage {aspect-ratio: 3/0.8; min-height: 300px; max-width: 1820px; width: 95%; margin: 165px auto 100px auto; box-shadow: var(--box-shadow); position: relative; border-radius: var(--border-radius);}
.stage .l-wrp {position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); z-index: 2;}
.stage .l-wrp p {max-width: 55ch;}
.stage .l-wrp:after {content: ''; position: absolute; top: 50%; left: -20%; border-radius: 50%; transform: translateY(-50%); width: 1000px; height: 1000px; background: rgba(255,255,255,.3); backdrop-filter: blur(7px); z-index: 1;}
.stage img {width: 100%; height: 100%; min-height: 220px; object-fit: cover; object-position: center; overflow: hidden; border-radius: var(--border-radius); }

.stage .certificates {display: flex; gap: 20px; position: absolute; bottom: -50px; right: 2%; align-items: flex-end;}
.stage .certificates p {margin: 0;}
.stage .certificates img {min-height: unset; margin: 0; height: 120px; width: auto; object-position: bottom;}

.stage-content {position: relative; z-index: 2;}
.stage-content h1 {max-width: 30ch;}

.stage.subpage {aspect-ratio: 3/.7; max-width: 1820px; width: 95%; margin: 164px auto 100px auto; border-radius: var(--border-radius); box-shadow: var(--box-shadow); overflow: hidden; position: relative;}

.introblock {text-align: center; max-width: 85ch; margin-left: auto; margin-right: auto;}
.stagevideo {object-fit: cover;object-position: center;width: 100%;height: 100%; border-radius: var(--border-radius); overflow: hidden;}

@media (max-width: 1530px) {
    .stage .l-wrp:after {left: -30%;}
}

@media (max-width: 1200px) {
    .stage .l-wrp:after {left: -50%;}
}

@media (max-width: 1024px) {
    .stage.subpage {margin: 120px auto 100px auto;}
}

@media (max-width: 700px) {
    .stage {margin: 100px auto 100px auto; aspect-ratio: 3/1; min-height: 220px;}
    .stage.subpage {margin: 100px auto 100px auto; aspect-ratio: 3/1; min-height: 220px;}
    .stage .l-wrp:after {display: none;}
    .stage .stage-content {display: none;}
}

@media (max-width: 630px) {
    .stage .certificates p {font-size: 12px; line-height: 14px;}
    .stage .certificates img {width: 90px; height: 90px; object-position: bottom;}
}

/* ########## Content ########## */

.famcare-tree {width: 50px; height: 50px; margin-bottom: 25px;}

/* Text */

.text {position: relative;}
.text.center {text-align: center;}
.text.deko {text-align: center;}
.text.deko p {max-width: 100ch; margin-left: auto; margin-right: auto;}
.text.multiple-col .wrp {-webkit-columns: 2 350px; -moz-columns: 2 350px; columns: 2 350px; -webkit-column-gap: 4em; -moz-column-gap: 4em; column-gap: 4em;}
.text p a {border-bottom: var(--primary-color) 1px dashed;}
.famcare-deko {position: absolute; width: 20%; bottom: -145px; left: -5%; height: auto;}
.famcare-deko.deko2 {bottom: -135px; left: unset; right: -5%; transform: scaleX(-1);}

.uberschrift.center {text-align: center;}
.uberschrift h6 {margin-top: -45px;}

@media (max-width: 1600px) {
    .text.deko p {max-width: 80ch;}
    .famcare-deko {left: 0%;}
    .famcare-deko.deko2 {right: 0%;}
}

/* Text Bild */

.textbild .wrp {display: grid; align-items: center; justify-content: space-between; box-sizing: border-box;}
.textbild .text {border-radius: 5px 0 0 5px; box-sizing: border-box;}

.textbild .bild {box-sizing: border-box; flex: 1; width: 100%; position: relative; height: 100%;}
.textbild .bild img {width: 100%; height: 100%; border-radius: var(--border-radius); object-fit: cover; box-shadow: var(--box-shadow); position: relative; z-index: 2; aspect-ratio: 3/1.65;}
.textbild .btn {margin-top: 25px;}

.textbild .bild .famcare-flower {position: absolute; width: 150px; height: auto; right: -120px; bottom: 40px; z-index: 1;}
.textbild.erstbild .bild .famcare-flower {right: unset; left: -120px; bottom: 40px; transform: scaleX(-1);}

.textbild .text p a {color: var(--primary-color); text-decoration: underline;}
.textbild .text p a:hover {color: var(--secundary-color);}
.textbild .text ul li {margin-left: 28px; position: relative;}

/* .textbild .text ul > li:before {content: ''; position: absolute; width: 20px; height: 20px; background: url("assets/icons/famcademy-baum.png"); background-size: contain; top: 4px; left: -28px;} */


@media (max-width: 1600px) {
  .textbild .bild {width: 100%;}
  .textbild.erstbild .bild {margin-left: 0;}
}

@media (max-width: 1400px) {
  .textbild .bild .famcare-flower {display: none;}
}

@media (max-width: 768px) {
    .textbild .wrp {grid-template-columns: 100%!important; gap: 50px;}
    .textbild .text {order: 1!important;}
    .textbild .bild {order: 2!important;}
}

/* Text Fakten */

.textfakten .wrp {display: grid; grid-template-columns: 1fr 1fr; align-items: flex-end; justify-content: space-between; box-sizing: border-box; gap: 5%;}
.textfakten .fakten-grid {display: grid; grid-template-columns: 1fr 1fr; gap: 25px;}
.textfakten .fakten-grid .fakt {background: var(--secundary-color); border-radius: 5px; text-align: center; color: var(--text-color); padding: 8px 5px; box-sizing: border-box;}

/* Text + Teasercards */

.text-teasercards {max-width: 1820px; width: 95%; background: var(--primary-color); padding: 100px 0; margin-left: auto; margin-right: auto; border-radius: var(--border-radius); position: relative; z-index: 2;}
.text-teasercards h2 {color: #fff; position: relative; z-index: 2;}
.text-teasercards h6 {margin-top: -55px; color: #fff;}
.text-teasercards .hltext {display: grid; grid-template-columns: 50% auto; justify-content: space-between; align-items: flex-end;}
.text-teasercards .hltext p {color: #fff;}
.text-teasercards .cards {display: grid; grid-template-columns: repeat(2,1fr); gap: 50px;}
.text-teasercards .cards .teasercard-item {background: #fff; border-radius: var(--border-radius); display: grid; grid-template-columns: 33% auto; overflow: hidden;}
.text-teasercards .cards .teasercard-item p {margin-bottom: 20px; color: var(--text-color);}
.text-teasercards .cards .teasercard-item .img-wrp {width: 100%; overflow: hidden;}
.text-teasercards .cards .teasercard-item .img-wrp img {width: 100%; height: 100%; object-fit: cover; transition: var(--transition);}
.text-teasercards .cards .teasercard-item .content-wrp {padding: 35px 10px 35px 30px;}
.text-teasercards .cards .teasercard-item:hover .img-wrp img {transform: scale(1.1); transition: var(--transition);}


@media (max-width: 1024px) {
  .text-teasercards .hltext {grid-template-columns: 100%; gap: 50px;}
  .text-teasercards .cards {grid-template-columns: 100%; gap: 25px;}
}

@media (max-width: 650px) {
  .text-teasercards .cards {gap: 50px;}
}

@media (max-width: 500px) {
  .text-teasercards .cards .teasercard-item {grid-template-columns: 100%;}
}

/* Image */

.image img {display:block; width:100%; height:auto;}

.bildtrenner {aspect-ratio: 3/1; overflow: hidden; position: relative; max-width: 1820px; width: 95%; margin-left: auto; margin-right: auto; border-radius: var(--border-radius); min-height: 350px;}
.bildtrenner h2 {max-width: 30ch;}
.bildtrenner img {width:100%; height: 100%; object-fit: cover; object-position: center;}
.bildtrenner .l-wrp p {max-width: 55ch;}
.bildtrenner .l-wrp {position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); z-index: 2;}
.bildtrenner .l-wrp:after {content: ''; position: absolute; top: 50%; left: -20%; border-radius: 50%; transform: translateY(-50%); width: 1000px; height: 1000px; background: rgba(255,255,255,.8); backdrop-filter: blur(10px); z-index: 1;}

@media (max-width: 800px) {
    .bildtrenner {}
}

@media (max-width: 500px) {
    .bildtrenner {display: none;}
}

/* Galerie */

.gallery .fresco-gallery:not(.masonry) {display: grid; gap: 50px; margin-bottom: 0;}
.gallery .fresco-gallery li {list-style-type: none; border-radius: 5px;overflow: hidden; margin: 0;}
.gallery .fresco-gallery li a {position: relative; display: block; overflow: hidden;}
.gallery .fresco-gallery li a .overlay {width: 100%; position: absolute; height: 100%; top: 0; left: 0; right: 0; bottom: 0; background: var(--secundary-color); opacity: 0; transition: var(--transition);}
.gallery .fresco-gallery li a:hover .overlay {opacity: 0.6; transition: var(--transition);}
.gallery .fresco-gallery li a .overlay .icon-wrp {position: absolute; top: 50%; left: 50%; width: 45px; height: 45px; transform: translate(-50%, -50%);}
.gallery .fresco-gallery li a .overlay .icon-wrp svg {width: 100%; height: 100%; transform: scale(0); transition: var(--transition);}
.gallery .fresco-gallery li a .overlay .icon-wrp svg path {fill: #fff;}
.gallery .fresco-gallery li a:hover .overlay .icon-wrp svg { transform: scale(1); transition: var(--transition);}
.gallery .fresco-gallery li img {width: 100%;}

.gallery .fresco-gallery.masonry {gap: 25px; columns: 4; margin: 0 auto;}


.gallery .video-gallery-grid {display: grid; grid-column-gap: 50px; grid-row-gap: 50px;}
.gallery .video-gallery-grid .video-gallery-item {height: 220px; width: 100%; display: block; position: relative; overflow: hidden;}
.gallery .video-gallery-grid .video-gallery-item .overlay {width: 100%; position: absolute; height: 100%; top: 0; left: 0; right: 0; bottom: 0; background: var(--secundary-color); opacity: 0; transition: var(--transition); z-index: 4;}
.gallery .video-gallery-grid .video-gallery-item:hover .overlay {opacity: 0.6; transition: var(--transition);}
.gallery .video-gallery-grid .video-gallery-item .overlay .icon-wrp {position: absolute; top: 50%; left: 50%; width: 45px; height: 45px; transform: translate(-50%, -50%);}
.gallery .video-gallery-grid .video-gallery-item .overlay .icon-wrp svg {width: 100%; height: 100%; transform: scale(0); transition: var(--transition);}
.gallery .video-gallery-grid .video-gallery-item .overlay .icon-wrp svg path {fill: #fff!important;}
.gallery .video-gallery-grid .video-gallery-item:hover .overlay .icon-wrp svg { transform: scale(1); transition: var(--transition);}
.gallery .video-gallery-grid .video-gallery-item img {height: 100%; width: 100%; object-fit: cover; object-position: center; transform: scale(1.2);}

@media (max-width: 1024px) {
  .gallery .fresco-gallery {grid-template-columns: repeat(4, 1fr)!important;}
  .gallery .video-gallery-grid {grid-template-columns: repeat(2, 1fr)!important;}
  .gallery .filterrow {display: grid; grid-template-columns: 100%; gap: 25px;}
  .gallery .filterrow #filter {flex-wrap: wrap;}

}

@media (max-width: 550px) {
  .gallery .video-gallery-grid {grid-template-columns: 100%!important;}
  .gallery .fresco-gallery {grid-template-columns: repeat(2, 1fr)!important;}
}

/* oEmbed */

.embed .respo-video{position: relative;height: 0;overflow: hidden;}
.embed .respo-video iframe {position: absolute; top: 0; left: 0; width: 100%;	height: 100%;}
.embed .respo-video ._brlbs-cb-youtube {margin-bottom: -56.25%;}

/* Module */

.module {position: relative;}
.module .module-grid {display: grid; grid-template-columns: repeat(2,1fr); gap: 50px;}
.module .module-grid .module-item {background: #fff; border-radius: var(--border-radius); display: flex; flex-wrap: wrap; overflow: hidden; box-shadow: var(--box-shadow);}
.module .module-grid .module-item h3 {background: var(--secundary-color); padding: 30px; margin-bottom: 0;}
.module .module-grid .module-item p,
.module .module-grid .module-item ul {padding: 30px;}
.module .module-grid .module-item ul {margin: 0;}
.module .module-grid .module-item .button-wrp {padding: 30px;}
.module .module-grid .module-item .content {flex-basis: 100%;}

.module-item-details {display: none; position: fixed; z-index: 9; top: 55%; left: 50%; transform: translate(-50%,-50%); max-width: 600px; max-height: 50vh; width: 90%; background: #fff; padding: 100px 40px 40px 40px; border-radius: var(--border-radius); overflow-y: scroll;}
.module-item-details .close-btn {width: 46px; height: 46px; position: absolute; top: 30px; right: 40px; border-radius: var(--border-radius); background: var(--secundary-color); display: grid; place-items: center; cursor: pointer;}
.module-item-details .close-btn:hover {cursor: pointer;}
.module-item-details .close-btn svg {width: 20px; height: 20px; transition: var(--transition);}
.module-item-details .close-btn:hover svg {transform: rotate(90deg); transition: var(--transition);}
.module-item-details.active {display: block;}

.modul-overlay {position: fixed;top: 0;left: 0;width: 100%;height: 100%;background: rgba(0, 0, 0, 0.5); backdrop-filter: blur(2px); display: none; z-index: 8;}
.modul-overlay.active {display: block;}

@media (max-width: 767px) {
    .module .module-grid {display: grid; grid-template-columns: 100%;}
}

/* Teasercards */

.cards .card .card-content {display: block; width: 85%; margin: 0 auto; background: var(--primary-color); transition: var(--transition); margin-top: -25px; position: relative; padding: 15px; box-sizing: border-box; border-radius: 5px; position: relative; overflow: hidden;}
.cards .card .card-content p {color: #fff; font-size: 14px; line-height: 22px;}
.cards .card .card-content:after {content: ''; width: 125px; height: 125px; position: absolute; right: -15px; top: 50%; transform: translateY(-50%) rotate(13deg); opacity: .05; background: url("assets/icons/famcademy-baum.png"); background-size: contain;}
.cards .card .card-content h3 {color: #fff; margin-bottom: 7px;}
.cards .card .card-content .text-btn {color: var(--secundary-color);}
.cards .card:hover .card-content {transform: translateY(-10px); box-shadow: var(--box-shadow); transition: var(--transition);}
.cards .card img {width: 100%; aspect-ratio: 2/1.5; height: auto; object-fit: cover; border-radius: var(--border-radius);}

.teasercards .cards.no-carousel {display: grid; grid-column-gap: 50px; grid-row-gap: 50px; margin: 0;}
.teasercards .cards.no-carousel li {list-style-type: none; margin: 0;}
.teasercards .splide ul.cards {display: flex; grid-column-gap: unset;}

.products-teaser .card .text-btn .woocommerce-Price-amount {display: block;}
.products-teaser .card .text-btn:after {right: 0; width: 30px; height: 30px; border-radius: 25px; background: #fff; display: grid; place-items: center; line-height: 30px; color: var(--primary-color); transition: var(--transition);}

.products-teaser .card:hover .text-btn:after {background: var(--secundary-color); transition: var(--transition);}


.splide__arrow--next {right:0!important}
.splide__arrow--prev {left:0!important}

@media (max-width: 1024px) {
  .teasercards .cards.no-carousel {grid-template-columns: repeat(2, 1fr)!important;}
}

@media (max-width: 500px) {
  .teasercards .cards.no-carousel {grid-template-columns: 100% !important;}
}

.woocommerce-LoopProduct-link img {border-radius: var(--border-radius)!important;}

.wc-gzd-additional-info-loop.tax-info,
.wc-gzd-additional-info-loop.shipping-costs-info,
.wc-gzd-additional-info-loop.delivery-time-info,
.woocommerce ul.products li.product .button {display: none!important;}

.woocommerce-loop-product__title {color: #fff!important; min-height: 55px; line-height: 26px; padding: 0!important;}
.woocommerce ul.products li.product {overflow: hidden!important; border-radius: var(--border-radius)!important;}
.woocommerce ul.products li.product a img {margin-bottom: 0!important; transition: var(--transition);}

.woocommerce ul.products li.product:hover img {transform: scale(1.1); transition: var(--transition);}

.product-item-info-wrp {background: var(--primary-color); margin-top: -25px; position: relative; padding: 15px; box-sizing: border-box; border-radius: 5px;}

.woocommerce .price {font-size: 20px!important; font-weight: 600!important; margin-bottom: 0!important; color: var(--secundary-color)!important;}

@media (max-width: 600px) {
    .woocommerce ul.products {display: grid; grid-template-columns: 100%;}
    .woocommerce ul.products li {width: 100%!important;}
}

/* Team */

.team h6 {margin-top: -75px;}
.team .team-wrp {display: grid; grid-column-gap: 50px; grid-row-gap: 50px;}
.team-bild {width: 100%; aspect-ratio: 1/1; border-radius: var(--border-radius); overflow: hidden; position: relative;}
.team-bild .view-vita {position: absolute; padding: 12px 18px; top: 50%; left: 50%; transform: translate(-50%,-50%) scale(0.7); width: 55%; text-align: center; background: #f5f5f5; color: var(--primary-color); border-radius: var(--border-radius); z-index: 2; opacity: 0 ; transition: var(--transition);}

.team-bild img {width: 100%; height: 100%; object-fit: cover; transition: var(--transition);}
.team-item:hover {cursor: pointer;}
.team-item .team-item-info {padding: 15px 25px;background: #f5f5f5; background: var(--secundary-color);box-sizing: border-box;margin-top: -25px;z-index: 2;position: relative;border-radius: var(--border-radius); overflow: hidden;}
.team-item .team-item-info h5 {margin-bottom: 0; font-weight: 400;}
.team-item .team-item-info:after {content: ''; width: 125px; height: 125px; position: absolute; right: -15px; bottom: -10%; transform: rotate(13deg); opacity: .05; background: url("assets/icons/famcademy-baum.png"); background-size: contain;}

.team-item .team-item-info > span {display: inline-flex; font-size: 14px; line-height: 18px; font-weight: 600; color: var(--primary-color);}

.team .team-wrp .team-item:hover img {transform: scale(1.1); transition: var(--transition);}
.team-item:hover .view-vita {opacity: 1; transform: translate(-50%,-50%) scale(1); transition: var(--transition); cursor: pointer;}

.team .dozent-details-modal {display: none; z-index: 12; border-radius: var(--border-radius); background: #f5f5f5; position: fixed; width: 90%; max-width: 950px; top: 50%; left: 50%; transform: translate(-50%,-50%);}
.team .dozent-details-modal .bild {width: 100%; height: 100%;padding: 15px;display: block;box-sizing: border-box;overflow: hidden; position: relative;}
.team .dozent-details-modal .bild a {background: var(--secundary-color); color: #fff; position: absolute; bottom: 25px; right: 25px; border-radius: var(--border-radius); padding: 7px 15px; transition: var(--transition);}
.team .dozent-details-modal .bild a:hover {background: var(--primary-color); transition: var(--transition);}
.team .dozent-details-modal .dozent-details-modal-grid {max-height: 80vh; overflow-y: scroll; display: grid; grid-template-columns: 45% auto;}
.team .dozent-details-modal .bild img {width: 100%; height: 100%; object-fit: cover; object-position: 50% 38%; overflow: hidden; border-radius: var(--border-radius);}
.team .dozent-details-modal .details {padding: 30px 50px;}
.team .dozent-details-modal .details span {display: block; margin-bottom: 20px;}

.team .dozent-details-modal .details h4 {font-size: 16px; color: var(--text-color); font-weight: 700; line-height: 24px; margin-bottom: 16px;}
.team .dozent-details-modal .details h5 {color: var(--primary-color); font-size: 24px; margin-bottom: 25px;}

.team .dozent-details-modal .dozent-details-modal-close {position: absolute; width: 25px; height: 25px; top: 25px; right: 25px; display: none; cursor: pointer; background: var(--secundary-color); padding: 10px; border-radius: var(--border-radius);}
.team .dozent-details-modal .dozent-details-modal-close svg {width: 100%; height: 100%; object-fit: contain;}
.team .dozent-details-modal .dozent-details-modal-close svg path {width: 100%; height: 100%; object-fit: contain;}
.team .dozent-details-modal.active {display: block;}
.team .dozent-details-modal.active .dozent-details-modal-close {display: block;}
.team .dozent-details-modal.active .dozent-details-modal-close svg {transition: var(--transition);}
.team .dozent-details-modal.active .dozent-details-modal-close:hover svg {transform: rotate(90deg); transition: var(--transition);}

.team .modal-overlay {position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.1); backdrop-filter: blur(10px); width: 100%; height: 100%; z-index: 6; display: none;}
.team.modal-active .modal-overlay {display: block;}

@media (max-width: 1024px) {
    .team .team-wrp {grid-template-columns: repeat(2,1fr)!important;}
}

@media (max-width: 750px) {
    .team .team-wrp {grid-template-columns: 100%!important;}
    .team .dozent-details-modal .dozent-details-modal-grid {grid-template-columns: 100%!important;}
}

/* Table */

table {width: 100%; margin-bottom: 50px;}
table thead {color: #fff; background: var(--primary-color); font-size: 18px;}
table thead tr td {padding: 5px 0 5px 12px;}
table tbody {color: var(--text-color);}
table tbody tr {background: rgba(197, 217, 132, 0.38)}
table tbody tr:nth-child(even) {background: rgba(197, 217, 132, 0.68)}
table tbody tr td {padding: 20px 0 20px 15px; vertical-align: center;}

/* Accordion */

.accordion .item-accordion-head {cursor: pointer; font-size: 20px; color: var(--primary-color); background: #f2f2f2; font-weight: 700; position: relative; padding: 30px 40px 30px 40px;}
.accordion .item-accordion-content {padding: 20px 43px;}
.accordion .item-accordion-btn {width: 26px; height: 26px;float: right; margin: 0; cursor: pointer; position: absolute; right: 5px; top: 50%; transform: translateY(-50%);}
.accordion .item-accordion-btn:before {content: '-'; color: #555; position: absolute; width: 26px; height: 26px; text-align: center; line-height: 22px; font-size: 24px;}
.accordion .item-accordion {margin-bottom: 25px; box-shadow: var(--box-shadow);}
.accordion .item-accordion.hidden .item-accordion-btn:before {content: '+'; line-height: 26px; font-size: 25px; color: var(--primary-color);}
.accordion .item-accordion.active .item-accordion-btn:before {content: '-'; line-height: 22px; font-size: 25px; color: var(--primary-color);}
.accordion .item-accordion.hidden.active .item-accordion-btn:before {content: '-'; line-height: 22px;}
.accordion .item-accordion.hidden .item-accordion-content {display: none; background:#f8f8f8; margin-bottom:10px;}

/* Downloads */

.downloads .item-accordion-download {cursor: pointer; font-size: 20px; color: #fff; background: var(--primary-color); font-weight: 700; position: relative; padding: 30px 40px 30px 40px; display: block; transition: var(--transition);}
.downloads .item-accordion-download:hover {transform: translateY(-7px); box-shadow: var(--box-shadow); transition: var(--transition);}
.downloads .item-accordion-download:before {content: ''; width: 30px; height: 30px; top: 50%; transform: translateY(-50%); right: 5%; position: absolute; background: url("assets/icons/download.svg"); background-size: contain;}

/* Produkt Single */

.single-product main.withsidebar {margin-top: 250px;}
.single-product main.withsidebar .page-build {grid-template-columns: 100%;}
.single-product .sku {font-size: 14px;}

.produkt-single {margin-top: 0;}
.produkt-single .content {padding-top: 50px;}
.produkt-single aside.sidebar {display: none;}

.product-grid {display: grid; grid-template-columns: 45% 45%; justify-content: space-between;}
.product-grid .product-images {width: 100%; overflow: hidden;}
.product-grid .product-images .woocommerce-product-gallery {width: 100%!important;  border-radius: var(--border-radius); box-sizing: border-box; overflow: hidden; border: 1px solid var(--secundary-color);}
.product-grid .produktbilder {display: grid; grid-template-columns: repeat(5,1fr); grid-column-gap: 1.5em; grid-row-gap: 1.5em; width: 100%;}
.product-grid .produktbilder > div {border-radius: 5px; overflow: hidden;}

.product-grid .product-details p.price {font-size: 30px!important; color: var(--text-color)!important; font-weight: 700!important;}
.product-grid .product-details .cart {display: flex; position: relative;}
.product-grid .product-details .cart button.btn {border: none; font-size: 16px; margin-left: 80px; padding: 13.5px 30px;}
.product-grid .product-details .cart .quantity {float: none; position: absolute; left: 0; top: 0;}
.product-grid .product-details .cart .qty {padding: 14px 40px; width: 100px; border-radius: 50px; border: 1px solid var(--secundary-color); text-align: left;}

.product-grid .stock.in-stock {display: none;}

.product-header {padding: 10px 0; background: var(--secundary-color); width: 100%; border-radius: 0 0 15px 15px; position: fixed; top: 118px; transform: translateY(-100%); transition: var(--transition); z-index: 20;}
.product-header .product-header-grid {display: grid; grid-template-columns: repeat(2,auto); justify-content: space-between;}
.product-header .product-header-grid .product-header-info {display: flex; align-items: center; gap: 20px;}
.product-header .product-header-grid .product-header-info h3 {margin: 0; font-size: 18px; line-height: 18px;}
.product-header .product-header-grid .product-header-info span {font-size: 18px; line-height: 18px; margin-right: 0; font-weight: 700;}
.product-header .product-header-grid .product-header-info p {font-size: 24px; line-height: 24px; margin: 0; margin-right: 25px;}
.product-header .product-header-grid .product-header-info .info {font-size: 12px; line-height: 14px;}

.product-header .product-header-grid .product-header-cart {display: flex; align-items: center; justify-content: flex-end;}
.product-header .product-header-grid .product-header-cart .btn.respo {display: none;}
.product-header .product-header-grid .product-header-cart .btn.desktop {display: block;}

html.scrolled .product-header {transform: translateY(0); transition: var(--transition);}



@media (max-width: 1024px) {
    .single-product main.withsidebar {margin-top: 200px;}
}

@media (max-width: 750px) {
    .product-grid {grid-template-columns: 100%;}
    .single-product main.withsidebar {margin-top: 150px;}
}

/* Produkte */

.product .product_title, .up-sells.upsells.products.headline h2:not(.woocommerce-loop-product__title) {font-size: 30px!important; line-height: 40px!important; margin-bottom: 20px!important;}
.product .woocommerce-price-suffix {font-size: 16px!important; line-height: 26px!important;}
.woocommerce div.product div.images {margin-bottom: 1.5em!important;}
.produkt {scroll-margin-top: 150px;}

.termin-head-grid {display: grid;grid-template-columns: auto 25%;grid-column-gap: 50px;padding-bottom: 20px; align-items: flex-start;}
.adisabled {pointer-events:none; opacity: 0.6;}
.woocommerce p a {text-decoration: underline; color: var(--primary-color);}
.woocommerce-cart table.cart td.actions .coupon .input-text {padding: 9px 6px 9px!important; width: 250px!important;}

.woocommerce-MyAccount-navigation li {list-style-type: none; margin: 0 0 10px 0;}
.woocommerce-MyAccount-navigation li a {background: var(--secundary-color); display: block; padding: 8px 0 8px 12px; transition: var(--transition);}
.woocommerce-MyAccount-navigation li a:hover {background: var(--primary-color); color: #fff; transition: var(--transition);}

.terminsidebar {position: sticky; top: 180px;}
.terminsidebar label {font-size: 18px; line-height: 28px; margin-bottom: 15px; display: block;}
.terminsidebar select {width: 100%; border: none; border-radius: 3px; padding: 8px 4px; margin-bottom: 25px; background: var(--secundary-color); color: var(--primary-color);}
.terminsidebar .btn {width: 100%; display: block; box-sizing: border-box; text-align: center;}

.sidebar-product-info {text-align: right; margin-bottom: 25px;}
.sidebar-product-info #variantendaten {font-size: 12px;}

.sidebar .sidebar-product-info {color: #fff;}
.sidebar .terminsidebar label {color: #fff; font-weight: 700;}


.woocommerce-info {border-top-color: var(--primary-color)!important; background: var(--secundary-color)!important;}
.woocommerce-info .showcoupon:hover {color: #fff!important;}

.woocommerce form .form-row input,
.woocommerce-checkout input,
.woocommerce-checkout select {width: 100%!important; border: 1px solid var(--secundary-color)!important; background: #fff!important;padding: 8px 14px!important; font-size: 16px!important; border-radius: 3px!important;}

.select2-container--default .select2-selection--single {border: 1px solid var(--secundary-color)!important; padding: 8px 14px; height: unset!important;}

.book-seminar-cta {position: fixed; z-index: 10; bottom: 5%; left: 50%; transform: translateX(-50%); background: var(--secundary-color); color: var(--primary-color); transition: var(--transition);}
.book-seminar-cta:hover {position: fixed; z-index: 10; bottom: 5%; left: 50%; transform: translateX(-50%); background: var(--primary-color); color: var(--secundary-color); transition: var(--transition);}

.woocommerce .col2-set, .woocommerce-page .col2-set {margin-bottom: 50px;}
.select2-results__option[aria-selected], .select2-results__option[data-selected] {margin-left: 0!important;}

@media (max-width: 1024px) {

    .termin-head-grid {grid-template-columns: 100%; gap: 50px;}
    .book-seminar-cta {display: none;}
    .produkt.mb {margin-bottom: 50px;}

    .product-header {top: 75px;}
    .produkt-single {/*margin-top: 118px;*/}
    .product-header .product-header-grid {grid-template-columns: auto 150px;}
    .product-header .product-header-grid .product-header-cart .btn {font-size: 12px; min-width: unset; box-sizing: border-box; width: 100%; padding: 10px;}
    .product-grid .produktbilder { grid-template-columns: repeat(4,1fr); }
    .product-grid .produktbilder > div {border-radius: var(--border-radius); overflow: hidden;}
    .woocommerce img, .woocommerce-page img {max-width: unset;}

}

@media (max-width: 900px) {
    .product-header .product-header-grid .product-header-info h3 {font-size: 16px; line-height: 16px; margin-right: 15px;}
    .product-header .product-header-grid .product-header-info span {font-size: 16px; line-height: 16px;}
    .product-header .product-header-grid .product-header-info p {font-size: 16px; line-height: 16px; margin-right: 15px;}
}

@media (max-width: 850px) {
    .product-grid .product-details {order: 2;}
    .respo-title {display: block;}
    .product-grid .respo-title h1.product_title.entry-title {font-size: 30px!important; line-height: 35px!important; margin: 0;}
}

@media (max-width: 630px) {
    .product-header .product-header-grid {grid-template-columns: auto auto;}
    .product-header .product-header-grid .product-header-cart .btn.desktop {display: none!important;}
    .product-header .product-header-grid .product-header-cart .btn.respo {display: grid; width: 35px; height: 35px; padding: 0!important; place-items: center;}
    .product-header .product-header-grid .product-header-cart .btn.respo span {display: grid; place-items: center; width: 20px; height: 20px;}
    .product-header .product-header-grid .product-header-cart .btn.respo span svg {width: 100%; height: 100%;}
    .product-header .product-header-grid .product-header-cart .btn.respo span svg path,
    .product-header .product-header-grid .product-header-cart .btn.respo span svg rect {stroke: #fff;}
}

@media (max-width: 500px) {
    .produkt-single .content {padding-top: 50px;}
    .product-grid .product-details h1.product_title.entry-title {font-size: 35px!important; line-height: 35px; }
    .product-header {display: none;}
}

/* Checkout */

.woocommerce-multistep-checkout ul.nav-wizard li.active a, .woocommerce-multistep-checkout ul.nav-wizard li a {color: var(--primary-color)!important;}
.woocommerce-multistep-checkout ul.nav-wizard li a::before,
.woocommerce-multistep-checkout ul.nav-wizard li a:before {background: var(--primary-color)!important;}
.woocommerce-multistep-checkout ul.nav-wizard li.active a::before {border-color: var(--secundary-color)!important;}

.woocommerce-checkout-review-order .edit {background: var(--primary-color)!important; border-radius: 20px!important; padding: 8px 12px!important; color: #fff!important; margin-top: 20px; display: inline-block; font-size: 14px!important;}
.woocommerce input#legal {width: unset!important;}

table.woocommerce-checkout-review-order-table tr.wc-gzd-cart-item-has-thumbnail .wc-gzd-cart-item-name-wrapper .wc-gzd-cart-item-thumbnail {max-width: 8%!important; min-width: 45px!important; border-radius: 10px!important; overflow: hidden!important;}

.woocommerce-gzdp-checkout-verify-data header {display: none;}

#place_order {padding: 25px 45px;}
.validate-required.checkbox-legal {background: var(--secundary-color)!important; padding: 10px 15px!important; border-radius: 10px!important; margin-bottom: 15px!important; display: block!important;}

.woocommerce-multistep-checkout ul.nav-wizard li:not(:first-child)::before, .woocommerce-multistep-checkout ul.nav-wizard li a::before {background: var(--primary-color)!important;}

.page-id-1625 main {margin-top: 250px;}

.shop_table.woocommerce-checkout-review-order-table tfoot {background: var(--primary-color); color: #fff;}

.woocommerce-cart-form__cart-item .product-thumbnail {width: 80px!important;}
.woocommerce-cart-form__cart-item .product-thumbnail img {width: 100%!important;}
.woocommerce-cart-form__cart-item .wc-gzd-cart-info.delivery-time-info {font-size: 12px!important; margin-bottom: 0!important;}
.woocommerce-cart-form__cart-item .product-name {font-weight: 600!important;}

.woocommerce-cart .woocommerce .quantity .qty {border: none!important;background: #c5d984!important;border-radius: var(--border-radius)!important;padding: 10px!important;}

/* ########## Blog ########## */

main.withsidebar .content .blog-grid {display: grid; grid-template-columns: repeat(2, 1fr); grid-column-gap: 50px; grid-row-gap: 50px;}
main.withsidebar .content .blog-grid .post {width: 100%;}
main.withsidebar .content .blog-grid .post img {width: 100%; height: auto; object-fit: cover;}

article.singlepost .post-image {}
article.singlepost .post-image img {width: 100%; height: auto; object-fit: cover; border-radius: var(--border-radius); margin-bottom: 20px;}

article.singlepost h2 {font-size: 30px; line-height: 38px;}

@media (max-width: 768px) {
    main.withsidebar .content .blog-grid {grid-template-columns: repeat(2, 1fr);}
}

@media (max-width: 550px) {
    main.withsidebar .content .blog-grid {grid-template-columns: 100%;}
}

/* ########## Standorte ########## */

.acf-map {width: 100%;height: 450px;border: #ccc solid 1px;}
.acf-map img {max-width: inherit !important;}

.maps .cards {display: grid; grid-template-columns: repeat(3,1fr); gap: 50px;}

/* ########## Footer ########## */

footer {max-width: 1820px; width: 95%; margin: 0 auto 50px auto; border-radius: var(--border-radius); background: var(--primary-color); color: #fff; padding: 100px 0 50px 0; position: relative; overflow: hidden;}
footer > .wrp {display: grid; grid-template-columns: 1fr 1.5fr; gap: 25%; margin-bottom: 50px; z-index: 2;}
footer, footer p, footer a, footer address {color: #fff; text-decoration: none; font-size: 14px; font-weight: 600;}
footer .footernav {display: flex; justify-content: space-between; flex-wrap: wrap;}
footer .footernav li {list-style-type: none; margin: 0;}
footer .footernav li a {list-style-type: none; line-height: 30px;}
footer .footernav li.menu-item-has-children > a {font-size: 20px; margin-bottom: 25px; font-family: var(--font-family-hl); font-weight: 600; display: block;}
footer .famcare-deko {bottom: -45px; left: -7%;}
footer .famcare-deko.deko2 {bottom: -45px; left: unset; right: -7%;}

@media (max-width: 1024px) {
  footer > .wrp {grid-template-columns: 100%;}
}

.certificates img {width: 120px; height: 120px; object-fit: contain; margin-right: 50px;}

/* Bottom */

.bottom .wrp {display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; font-size: 12px;}
.bottom .wrp a {font-size: 12px;}

/* 404 */

body.error404 {position: relative; height: 100vh;}
body.error404 main .content {margin-top: 150px;}
body.error404 footer {position: absolute; bottom: 0; width: 100%;}