/*
ANcom.media
*/

* {
  background: transparent;
  border: 0;
  list-style-type: none;
  margin: 0;
  padding: 0;
  -webkit-box-sizing:border-box;
  -moz-box-sizing:border-box;
  -o-box-sizing:border-box;
  -ms-box-sizing:border-box;
  box-sizing:border-box;
}

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

@charset "UTF-8";

/*
*/

:root {
  --bb-bg-white: rgba(250,250,250,1);
  --bb-text-black: rgba(60,60,60,1);
  --bb-text-black-h: rgba(75,75,75,1);
  --bb-text-grey: rgba(85,85,85,1);
  --bb-text-white: rgba(250,250,250,1);
  --bb-cta: rgba(255,0,0,1); /* */
  --bb-red: rgba(255,0,0,1); /* */
  --bb-bg-grey: rgba(75,80,85,1);

  --mf-blue: rgba(0,97,178,1); /* */
  --mf-gray: #3c3c3c; /* RGB _ 44 40 44 */
  --mf-gray2: #e5e5e5; /* RGB _ */
  --mf-bg-even-darker: rgba(10,10,10,1);
}

body, html {
  height: 100%;
  font-size: 97%;
}

body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  background-color: var(--bb-bg-white);
  color: var(--bb-text-black);
  padding: 0;
  margin: 0;
  font-weight: 400;
}

html {
  scroll-behavior: smooth;
}


/* open-sans-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: 'Open Sans';
  font-style: normal;
  font-weight: 300;
  src: url('../fonts/open-sans-v44-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* open-sans-300italic - 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: 'Open Sans';
  font-style: italic;
  font-weight: 300;
  src: url('../fonts/open-sans-v44-latin-300italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* open-sans-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: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/open-sans-v44-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* open-sans-italic - 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: 'Open Sans';
  font-style: italic;
  font-weight: 400;
  src: url('../fonts/open-sans-v44-latin-italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* open-sans-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: 'Open Sans';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/open-sans-v44-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* open-sans-500italic - 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: 'Open Sans';
  font-style: italic;
  font-weight: 500;
  src: url('../fonts/open-sans-v44-latin-500italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* open-sans-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: 'Open Sans';
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/open-sans-v44-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* open-sans-600italic - 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: 'Open Sans';
  font-style: italic;
  font-weight: 600;
  src: url('../fonts/open-sans-v44-latin-600italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* open-sans-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: 'Open Sans';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/open-sans-v44-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* open-sans-700italic - 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: 'Open Sans';
  font-style: italic;
  font-weight: 700;
  src: url('../fonts/open-sans-v44-latin-700italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* open-sans-800 - 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: 'Open Sans';
  font-style: normal;
  font-weight: 800;
  src: url('../fonts/open-sans-v44-latin-800.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* open-sans-800italic - 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: 'Open Sans';
  font-style: italic;
  font-weight: 800;
  src: url('../fonts/open-sans-v44-latin-800italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}





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

#content img {  }

h1 { font-size: 2.1em; line-height: 1.2em; }
h2 { font-size: 2.1em; line-height: 1.2em; }
h3 { font-size: 1.5em; line-height: 1.35em; }
h4 { font-size: 1.5em; line-height: 1.35em; }
p { font-size: 100%; line-height: 1.55em; }

h1, h2 {
  margin: 0 0 40px 0;
  color: var(--bb-text-black-h);
  font-weight: 700;
}
h3, h4 {
  margin: 0 0 30px 0;
  color: var(--bb-text-black-h);
  font-weight: 700;
}

.blog h1, .blog h2 { margin: 0 0 45px 0; }
.item-page h1, .item-page h2 { margin: 0 0 75px 0; }
.blog h3, .blog h4,
.item-page h3, .item-page h4 { margin: 40px 0 25px 0; }

.less-headline-margin h2 { margin-bottom: 30px; }

.home h3.small.red {
  color: var(--bb-red);
  margin: 0 0 25px 0;
  font-size: 0.95em;
}

@media(max-width: 640px) {
h1 { font-size: 1.8em; line-height: 1.15em; }
h2 { font-size: 1.8em; line-height: 1.15em; }
h3 { font-size: 1.2em; line-height: 1.4em; }
h4 { font-size: 1.2em; line-height: 1.4em; }
}

p {
  margin: 0 0 24px 0;
  padding: 0;
}
p.readmore {
  margin: 35px 0 24px 0;
}

strong { font-weight: 700; }

p.datenschutz-subheadline { margin-top: 65px; }
p.faq-subheadline { margin-top: 65px; }
p.avb-subheadline { margin-top: 65px; }

#content p {
  font-size: 110%;
  line-height: 1.6em;
}

@media (max-width: 900px) {
#content p {
  word-wrap: break-word;      /* Alt */
  overflow-wrap: break-word;  /* Modern */
  hyphens: auto;
}
}

#content p.kursdetails {
  border-left: 12px solid rgba(46,40,44,.12);
  padding-left: 20px;
}

#content .item-page.news div[itemprop="articleBody"] h2,
#content .item-page.news h3 {
  font-size: 1.1em !important;
  line-height: 1.5em !important;
  margin-top: 60px !important;
  text-align: left !important;
}

.label-warning { color: red; background-color: rgba(255,0,0,0.15); padding: 10px; display: block; margin: 15px 0; }

a {
  text-decoration: none;
  color: var(--bb-text-black);
  cursor: pointer;
}

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

h2 a {
  color: var(--mf-white);
/*  padding-left: 2px;
  padding-right: 2px;
  border-bottom: 3px solid rgba(0,53,93,0.1); */

  transition: all .2s ease-in-out;
}

h2 a:hover {
/*  border-bottom: 3px solid rgba(0,53,93,0.3); /* #00355d */
/*  background-color: var(--mf-gray2); */
  color: var(--bb-red);
}

#above-content a,
label a,
#sidebar a,
#below-content .moduletable p a,
#content .content-links a,
#content ul.latestnews a,
.moduletable-contact a,
.moduletable-faq a,
#content p a {
  padding: .13em .1em;
  box-shadow: inset 0 -0.19em 0 var(--bb-red);
  transition: all .2s;
}


#above-content a:hover,
label a:hover,
#content ul.latestnews a:hover,
#sidebar li.current a,
#sidebar a:hover,
#below-content .moduletable p a:hover,
#content .content-links a:hover,
.moduletable-contact a:hover,
.moduletable-faq a:hover,
#content p a:hover {
  box-shadow: inset 0 -1.38em 0 var(--bb-red);
  color: var(--bb-text-white);
}

.cookiemsg-text a { box-shadow: inset 0 -0.19em 0 var(--bb-red); color: var(--bb-text-white); transition: all .2s; }
.cookiemsg-text a:hover { box-shadow: inset 0 -1.35em 0 var(--bb-red); color: var(--bb-text-white); }

.none-shadow a,
#content .none-shadow a,
#sidebar .none-shadow a { box-shadow: none !important; }
.none-shadow a:hover,
#content .none-shadow a:hover,
#sidebar .none-shadow a:hover { background-color: transparent !important; }

#content p.cta {
  margin-top: 48px;
}

#content p a.cta {
  box-shadow: none;
  transition: none;
  border: 3px solid var(--bb-red);
  border-radius: 24px;
  padding: 12px 24px;
  font-weight: 700;
}

#content p a.cta:hover {
  border-color: transparent;
  background: var(--bb-red);
  color: var(--bb-text-white);
}

#above-content .mod-mitteilung a {
  color: var(--mf-blue);
  box-shadow: inset 0 -0.16em 0 var(--mf-blue);
}
#above-content .mod-mitteilung a:hover {
  color: var(--bb-text-white);
  box-shadow: inset 0 -1.38em 0 var(--mf-blue);
}
#above-content .mod-mitteilung {
  width: 90%;
  max-width: 1260px;
  height: auto;
  margin: 35px auto;
  padding: 25px 35px;
  background: rgba(196, 12, 41, .10);
  color: var(--mf-blue);
  position: relative;
  border-radius: .75rem;
  line-height: 1.50em;
}

#content ul, #content ol {
  margin-left: 40px;
  margin-bottom: 23px;
  line-height: 1.45em;
  font-size: 108%;
}
#content .pagination  ul { margin-left: 0; }

#content ul li { list-style-type: circle; margin-bottom: 6px; padding-left: 6px; }
#content ul li:hover { list-style-type: disc; }

#content ol li { list-style-type: decimal; margin-bottom: 3px; padding-left: 6px; }


#content ul.buttons {
    margin: 55px 0;
    padding: 0 !important;
}
#content ul.buttons li {
  margin: 0;
  padding: 0;
  list-style-type: none;
  display: block;
  width: 100%;
  text-align: center;
}
#content ul.buttons.align-left li { text-align: left; }

#content ul.buttons li a {
  display: inline-block;
  padding: 17px 34px;
  margin: 0 0 15px 0;
  border-radius: 2rem;
  border: 3px solid var(--mf-gray2);
  color: var(--mf-gray);
  font-weight: 700;
  transition: all .3s ease;
  box-shadow: none !important;
}
#content ul.buttons li a:hover {
  border-color: var(--mf-gray);
  color: var(--flot-gray);
  box-shadow: none !important;
}


hr {
    border: 0;
    height: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}


#bb-branding {
  z-index: 5;
  position: absolute;
  top: -115px;
  left: 40px;
}

#bb-branding {
  background: transparent;
  padding: 0;
  top: -95px; /* header-big -125px minus 30px */
  left: -15px;
  border-radius: 0;
}

#bb-branding a { display: block; }


#bb-branding span.svg-brand {
  display: inline-block;
  width: 425px;
  height: 102px;

  background-image: url(../images/bb-branding.svg);
  background-position: center center;
  background-repeat: no-repeat;
  margin: 0 auto;
  padding: 0;
}

#bb-branding span.svg-brand {
  width: 410px;
  height: 98px;
  background-size: 410px auto;
}

@media (max-width: 1100px) {
#bb-branding {
  top: -95px;
  left: -15px;
}
}

@media (max-width: 768px) {
header .random-image-cover { border-radius: 24px !important; }
#bb-branding {
  top: -95px;
  left: -15px;
}
#bb-branding span.svg-brand {
  width: 410px;
  height: 98px;
  background-size: 410px auto;
}
}

@media (max-width: 580px) {
#bb-branding {
  padding: 0;
  border-radius: 0;
  top: -95px;
  left: -15px;
  background-color: transparent;
}
#bb-branding span.svg-brand {
  background-image: url(../images/bb-branding-blitz.svg);
  width: 125px;
  height: 125px;
  background-size: 125px auto;
  background-position: top center;
}
}

a.cookiemsg-accept {
  box-shadow: none;
  background: none;
  padding: .55em .9em;
  font-size: .9em;
  color: var(--bb-text-white);
  border: 3px solid var(--bb-text-white);
  position: relative;
  z-index: 2;
  font-weight: 700;
  cursor: pointer;
}

a.cookiemsg-accept {
  color: var(--bb-text-white);
  border: 0px solid var(--bb-text-white);
  font-size: 1.1em;
  display: block;
  padding: 1.25em 1em;
  margin: 8px 0;
  text-align: center;
  border: 3px solid var(--bb-red);
  border-radius: 8px;
}

a.cookiemsg-decline {
  display: block;
  color: var(--bb-text-white);
  text-align: center;
  text-decoration: none;
  margin: 0 auto;
  margin-bottom: 0px;
  cursor: pointer;
}

a.cookiemsg-decline:hover {
  text-decoration: underline;
  color: var(--bb-text-white);
}

a.cookiemsg-accept:hover {
  background: var(--bb-text-white);
  color: var(--bb-red);
  border-color: transparent;
}





/* COOKIE MSG */
#cookiemsg-wrapper {
  position: fixed;
  background: var(--bb-bg-grey);
  color: var(--bb-text-white);
  bottom: 40px;
  right: 40px;
  min-width: 400px;
  max-width: 425px;
  padding: 22px 25px 28px 25px;
  padding-bottom: 0;
  font-size: 85%;
  z-index: 999;
  transition: all .2s ease;
  border-radius: 8px;
  border: 6px solid var(--bb-bg-grey);
}

#cookiemsg-wrapper.accepted {
  opacity: 0;
  bottom: -135px;
  visibility: hidden;
}

@media (max-width: 640px) {
#cookiemsg-wrapper {
  bottom: 5%;
  right: 5%;
  min-width: 90%;
  max-width: 90%;
  padding: 20px;
}
}

#firstgrid {
  width: 100%;
/*  max-width: 1600px; */
  margin: 0 auto;
  background-color: var(--bb-bg-white);
}

#inner-container {
  width: 100%;
  max-width: 1480px;
  margin: 0 auto;
  padding: 0 50px;
}
@media(max-width: 768px) {
header #inner-container { padding: 0; }
footer #inner-container { padding: 0 50px; }
}
@media(max-width: 640px) {
header #inner-container,
footer #inner-container,
#inner-container {
/* width: 86%;
  padding: 0; */
  padding: 0 40px;
}
#inner-container.firstrow { padding: 0 20px; }
}
@media(max-width: 480px) {
header #inner-container,
footer #inner-container,
#inner-container {
  padding: 0 30px;
}
}


header {
  position: relative;
  padding: 0;
  margin: 0;
  background-color: transparent;
  border-radius: 24px;
}

#bg-brand {
/*  position: absolute;
  width: 100%;
  height: 100%;

  background-image: url(../images/bg-brand.png);
  background-position: -50px top;
  background-size: 915px auto;
  background-repeat: no-repeat;
*/
  display: none;
}


@media (min-width: 768px) {
header.header-wrapper.padding { padding-bottom: 67px !important; } /* 55 (nav ul li a height) + 12 (nav padding) */

header .nav-wrapper.fixed {
  transition: all .56s cubic-bezier(0.52, 0.16, 0.24, 1);
  -webkit-transition: all .56s cubic-bezier(0.52, 0.16, 0.24, 1);
}
header .nav-wrapper.invisible {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(0,0,0,.8); /* var(--mf-gray2) */
  z-index: 900;
  opacity: 0;
  visibility: hidden;
  border-bottom: 4px solid rgba(255,255,255,.2);
}
header .nav-wrapper.fixed {
  opacity: 1;
  visibility: visible;
  -webkit-box-shadow: 0px -10px 90px 0px rgba(54,41,35,0.5);
  -moz-box-shadow: 0px -10px 90px 0px rgba(54,41,35,0.5);
  box-shadow: 0px -10px 90px 0px rgba(54,41,35,0.5);
}
header .nav-wrapper.fixed ul li a { line-height: 55px; }
}
@media (min-width: 769px) {
header .nav-wrapper.fixed {
  padding: 0;
  /* padding: 10px 0; */
}
}

#firstrow {
  position: relative;
  display: none;
  height: 48px;
  line-height: 48px;
  padding: 0;
  font-size: .80em;
  background-color: transparent;
  color: var(--bb-text-black);
  border-bottom: 0px solid var(--mf-gray2);
  font-weight: 400;
}
#firstrow.alert { display: block; }
@media (min-width: 420px) { #firstrow { display: block; } }

#firstrow .left {
  position: absolute;
  left: 5px;
}
#firstrow .right {
  position: absolute;
  right: 5px;
}
@media (max-width: 1100px) {
#firstrow .right {
  right: -12px;
}
}


#firstrow a { color: var(--bb-text-black); }
#firstrow a:hover { color: var(--bb-text-black); text-decoration: underline; }

#firstrow .left a { text-decoration: none; }
#firstrow .left a:hover { text-decoration: underline; }

#firstrow.alert a { color: var(--mf-blue); text-decoration: underline; }
#firstrow.alert a:hover { color: var(--mf-blue); text-decoration: none; }

#firstrow.alert {
  padding: 0;
  border: 0;
  height: auto;
  line-height: 0;
}

#firstrow.alert .mod-div-start-wrapper {
  width: 100%;
  height: auto;
  margin: 0;
  padding: 11px 10px 13px 10px;
  background: rgba(196,12,41,.10);
  color: var(--mf-blue);

  position: relative;
}
#firstrow.alert p {
  margin: 0;
  padding: 0;
  display: block;
  text-align: center;
  line-height: 1.25em;
}
#firstrow.alert .mod-div-start-wrapper:last-of-type {
  border-radius: 0 0 10px 10px;
}


#wrapper-promo {
  display: inline-block;
  position: relative;
}

div[id^="mfpromo"] { display: none; }


#openedclosed {
  display: inline-block;
  position: relative;
  margin-right: 10px;
  color: green;
  font-weight: 700;
}


#above-content {
  margin: 0 auto;
  max-width: 1480px;
  padding: 0 50px;
}
@media (min-width: 1921px) { #above-content { max-width: 1600px; } }


#above-content .mod-div-start-wrapper.alert {
  width: 92%;
  max-width: 850px;
  margin: 0 auto;
  margin-top: 60px;
  background: rgba(196,12,41,.10);
  color: var(--mf-blue);
  padding: 30px 50px 25px 50px;
  border-radius: 1rem;
}
#above-content .mod-div-start-wrapper.alert h2,
#above-content .mod-div-start-wrapper.alert h3 {
  color: var(--mf-blue);
}



nav {
  text-align: right;
  background-color: transparent;
}

main {
  display: grid;
  grid-gap: 20px;
  grid-template-columns: repeat(14, 1fr);
  grid-auto-flow: row;
  grid-template-areas:
    "c c c c c c c c c . s s s s";
  padding: 2px;
  max-width: 1280px;
  margin: 0 auto;
  margin-top: 60px;
}

main.full {
  grid-template-columns: repeat(1, 1fr);
  grid-gap: 0px;
  grid-template-areas:
    "c";
}
main.actn-mod-form,
main.shop { margin-top: 60px; }
main.checkout { margin-top: 0; }
footer {
  position: relative;
  font-size: 1em;
  margin-top: 80px;
  padding-bottom: 100px;
/*
  margin-top: 40px;
  padding: 50px 0 60px 0;
  background-color: var(--mf-gray2);
  background-image: none;
  background-position: center right;
  background-repeat: no-repeat;
  background-size: 100% auto;

  color: var(--mf-gray2);
  border-top: 4px solid var(--mf-gray2);
*/
}

footer ul.nav a { color: var(--bb-text-black); }

footer ul.nav a:hover,
footer ul.nav li.current a,
footer a:hover,
footer li.current a { color: var(--bb-red); }

#lastrow a { color: var(--bb-text-black); }
#lastrow a:hover { color: var(--bb-red); }

@media (max-width: 1380px) {
main {
  width: 100%;
  max-width: 1480px;
  padding: 0 50px;
}
}

@media (max-width: 640px) {
main { padding: 0 40px; }
}
@media (max-width: 480px) {
main { padding: 0 30px; }
}

#second-lastrow-wrapper {
  display: block;
  padding: 45px 0px 45px 0px;
  color: var(--bb-text-black);
}

#lastrow-wrapper {
  display: block;
  padding: 40px 20px 45px 20px;
  color: var(--bb-text-black);
  border-radius: 50px;
}

#lang-social-wrapper {
  display: block;
  position: relative;
  padding: 60px 0 0 0;
  margin: 60px 0 0 0;
  border-top: 1px solid #555;
}

#below-content {
  max-width: 1480px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 50px;
}



#content {
  grid-area: c;
  width: 100%;
}

#content .blog.max1100px,
#content .item-page.max1100px,
.max1100px #content .com-content-category-blog.blog {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}
#content .blog.max1050px,
#content .item-page.max1050px,
.max1050px #content .com-content-category-blog.blog {
  max-width: 1050px;
  margin-left: auto;
  margin-right: auto;
}
#content .blog.max1000px,
#content .item-page.max1000px,
.max1000px #content .com-content-category-blog.blog {
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}
main.max950px,
#content .blog.max950px,
#content .item-page.max950px,
.max950px #content .com-content-category-blog.blog {
  max-width: 950px;
  margin-left: auto;
  margin-right: auto;
}
#content .blog.max900px,
#content .item-page.max900px,
.max900px #content .com-content-category-blog.blog {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
#content .blog.max850px,
#content .item-page.max850px,
.max850px #content .com-content-category-blog.blog {
  max-width: 850px;
  margin-left: auto;
  margin-right: auto;
}
#content .blog.max800px,
#content .item-page.max800px,
.max800px #content .com-content-category-blog.blog {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.max750px #content .j2store,
#content .blog.max750px,
#content .item-page.max750px,
.max750px #content .com-content-category-blog.blog {
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
}
.max700px #content .j2store,
#content .blog.max700px,
#content .item-page.max700px,
.max700px #content .com-content-category-blog.blog {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.max650px #content .j2store,
#content .blog.max650px,
#content .item-page.max650px,
.max650px #content .com-content-category-blog.blog {
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}
#content .blog.max600px,
#content .item-page.max600px {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
#content .blog.max550px,
#content .item-page.max550px {
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
}
#content .blog.max500px,
#content .item-page.max500px {
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}
#content .blog.max4500px,
#content .item-page.max450px {
  max-width: 450px;
  margin-left: auto;
  margin-right: auto;
}

#content .item-page.single-article h2,
#content .item-page.single-article h3 {
  margin-top: 60px;
}

#content .item-page.w650px h1,
#content .item-page.w650px h2,
#content .item-page.w650px h3,
#content .item-page.w650px h4,
#content .item-page.w650px p,
#content .item-page.w650px ul,
#content .item-page.w650px ol {
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

#content .faq,
#content .item-page.w700px h1,
#content .item-page.w700px h2,
#content .item-page.w700px h3,
#content .item-page.w700px h4,
#content .item-page.w700px p,
#content .item-page.w700px ul,
#content .item-page.w700px ol {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

#content .item-page.w700px ul,
#content .item-page.w700px ol,
#content .item-page.w650px ul,
#content .item-page.w650px ol {
  padding-left: 12px;
}

#content h1.full-width,
#content h2.full-width,
#content h3.full-width,
#content h4.full-width,
#content p.full-width {
  width: 100% !important;
  max-width: 100% !important;
}

/** ICON LIST **/
#content ul.icon-list {
  padding: 35px !important;
  border: 4px solid #EEE;

  margin-top: 80px;
  margin-bottom: 90px;
  position: relative;
}
#content ul.icon-list li {
  list-style-type: none;
  margin-bottom: 40px;
  position: relative;
  height: 110px;
}
#content ul.icon-list li:last-of-type { margin-bottom:0; }
#content ul.icon-list li:before {
  content: '';
  position: absolute;
  top: 5px;
  left: 0;
  display: block;
  background-color: var(--mf-gray2);
  background-repeat: no-repeat;
  background-size: 55px 55px;
  background-position: center center;

  width: 105px;
  height: 105px;
  border-radius: 50%;
  overflow: hidden;
}
#content ul.icon-list li.performance:before { background-image: url(../images/icon-list_rocket.svg); }
#content ul.icon-list li.transparenz:before { background-image: url(../images/icon-list_certificate.svg); }
#content ul.icon-list li.einstieg:before { background-image: url(../images/icon-list_door.svg); }
#content ul.icon-list li.ki:before { background-image: url(../images/icon-list_ki.svg); }
#content ul.icon-list li.robot:before { background-image: url(../images/icon-list_robot.svg); }
#content ul.icon-list li.speed:before { background-image: url(../images/icon-list_speed.svg); }
#content ul.icon-list li.check:before { background-image: url(../images/icon-list_check.svg); }
#content ul.icon-list li span.icon-list-title {
  display: inline-block;
  font-weight: 600;
  font-size: 1.25em;
  margin-top: 40px;
}
#content ul.icon-list li span.icon-list-desc {
  display: block;
  margin-top: 20px;
  font-size: .85em;
}
#content ul.icon-list li span.icon-list-title,
#content ul.icon-list li span.icon-list-desc {
  padding-left: 135px;
}

@media (max-width: 640px) {
#content ul.icon-list {
  margin-top: 60px;
  margin-bottom: 80px;
}
#content ul.icon-list li {
  height: auto;
  display: block;
  margin-bottom: 50px;
}
#content ul.icon-list li:before {
  position: relative;
  top:0;
  margin-left: auto;
  margin-right: auto;
}
#content ul.icon-list li span.icon-list-title,
#content ul.icon-list li span.icon-list-desc {
  padding-left: 0;
  display: block;
  text-align: center;
}
#content ul.icon-list li span.icon-list-title { margin-top: 25px; }
}


#sidebar {
  grid-area: s;
  width: 100%;
}

#lastrow-wrapper {
  margin-top: 60px;
  text-align: center;
}

#disclaimer-footer {
  background-color: #333;
  color: #AAA;
  font-size: .75em;
  line-height: 1.25em;
  margin: 0;
  padding: 20px 35px;
}

footer .pagebreak { display: inline-block; width: 14px; }
footer .spacer { display: block; height: 16px; }
footer .spacer.small { display: block; height: 8px; }
footer .spacer.first { height: 60px; }

@media (max-width: 640px) {
footer .pagebreak { display: block; width: 100%; height: 14px; }
footer .spacer.first { height: 10px; }
footer .spacer { display: block; height: 18px; }
}


div[itemprop="blogPost"] { margin-bottom: 85px; }
.blog.home div[itemprop="blogPost"] { margin-bottom: 50px; }




/* NAVs */
.collapsible-menu label,
input#menu-main,
input#menu-subnav {
  display: none;
}
.collapsible-menu label { margin: 0 !important; }

nav ul ul,
nav ul ul ul { display: none; }

nav ul {
  display: block;
}

nav ul li { display: inline-block; position: relative; padding-bottom: 10px; }

nav ul li a {
  display: inline-block;
  position: relative;
  height: 50px;
  line-height: 45px;
  padding: 0 18px;
  padding-bottom: 12px;
  color: var(--bb-text-black);
  font-weight: 700;
  font-size: 1.1em;
  background-color: transparent;

  transition: all .3s;
}

nav:hover ul li a {
/*  color: #BBB; */
}

nav ul li span.mod-menu__heading.nav-header {
  height: 45px;
  line-height: 45px;
  cursor: text;
/*  font-weight: 300;
  letter-spacing: .03em;
  opacity: .65; */
}


nav ul ul li a {
  font-size: .95em;
  font-weight: 600;
  color: var(--bb-text-black);
  height: 45px;
  line-height: 45px;
}


#subnav {
  line-height: 45px;
  text-align: center;
  border: 2px solid rgba(0,0,0,.1);

  width: 90%;
  max-width: 600px;
  margin: 0 auto;
  margin-top: 30px;


  display: none;
}

#subnav ul {
  line-height: 37px;
  padding-top: 10px;
  padding-bottom: 20px;
}

#subnav ul ul {
  font-size: .85em;
}

#subnav ul li {
  display: block;
}

#subnav ul li a { display: block; }

#subnav ul li.active.parent > a,
#subnav ul li.current.active > a {
  display: inline;
  padding: 0;
  border-bottom: 2px solid rgba(0,0,0,.2);
}

#subnav ul.nav {
  /* border-top: 1px solid #DDD; */
  background-color: rgba(0,0,0,0.1);
  padding-top: 10px;
  padding-bottom: 10px;
}


@media (max-width: 1100px) {
nav ul li a:after {
/*  content: '';
  display: block;
  height: 2px;
  background: rgb(0,0,0);
  background: linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.06) 65%);
  margin-top: -11px;
  transition: all .3s ease;

  position: absolute;
  width: 85%;
  max-width: 550px;
  position: absolute;
  right: 25px;
  bottom: -2px; */
}
nav ul ul li a:after { display: none; }
}


@media (min-width: 1101px) {
nav ul li.parent > a:before {
  content: '';
  display: inline-block;
  position: absolute;
  right: 0;
  top: 15px;
  width: 15px;
  height: 15px;
  background: url(../images/navicon-chev-down.svg) center center no-repeat;

  transition: all .3s ease;
}
nav ul li.parent:hover > a:before {
  top: 17px;
}
nav ul ul li.parent > a:before,
nav ul ul ul li.parent > a:before { display: none; }

nav ul li.parent > a { margin-right: 10px; }
nav ul ul li.parent > a, nav ul ul ul li.parent > a { margin-right: 0; }
}

@media (min-width: 1101px) {
nav ul li a:after {
  content: '';
  display: block;
  height: 0;
  border-top: 3px solid var(--bb-red);
  margin-top: -11px;
  transition: all .3s ease;
}
nav ul li a:after { opacity: 0; margin-top: -16px; }
nav ul li:hover a:after { opacity: 1; margin-top: -11px; /* border-top: 3px solid var(--bb-red); */ }
}

@media (min-width: 1101px) {
nav ul li.active a:after {
  content: '';
  display: block;
  height: 0;
  border-top: 3px solid var(--bb-red);
  margin-top: -11px;
  opacity: 1;
}

header .nav-wrapper.fixed ul li a:after,
header .nav-wrapper.fixed ul li.active a:after { border-color: var(--bb-red); }




nav ul li.parent:hover > ul {
  display: block;
  position: absolute;
  min-width: 335px;
  margin-top: 10px;

  padding-top: 20px;
  padding-bottom: 35px;
  z-index: 999;
}

nav ul ul li.parent:hover > ul {
  min-width: unset;
}
nav ul ul li.parent:hover > ul,
nav ul ul li.parent > ul {
  position: relative;
  display: block;

  padding: 0;
  margin: 5px 0 25px 5px;
  font-size: 90%;
  border-radius: 0;
}


nav ul li:hover ul li a,
nav ul li:hover ul li {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  text-align: left;
/*  height: 50px;
  line-height: 50px; */
  color: var(--mf-gray2);
  font-weight: 600;
}
nav ul li:hover ul li {
  padding-left: 25px;
}

nav ul li:hover ul ul li,
nav ul ul ul li {
  padding: 0;
  margin: 0;
}

nav ul li:hover ul ul li a,
nav ul ul ul li a {
  display: block;
  height: 35px;
  line-height: 35px;

  border-left: 1px solid rgba(255,255,255,.15);
  padding: 0 0 0 25px;
}
nav ul li:hover ul ul li a:hover,
nav ul ul ul li a:hover {
  border-left: 1px solid rgba(255,255,255,1);
}




nav ul li.active a,
nav ul li:hover a {
  color: var(--bb-text-black);
}

nav ul ul li.active > a,
nav ul ul li > a:hover { text-decoration: underline; }
nav ul ul,
nav ul ul ul {
  background-color: var(--bb-text-white);
  border: 2px solid var(--bb-bg-grey);
  border-radius: 8px;
  opacity: 1;
}

nav ul ul li a:after { border: none !important; }
header .nav-wrapper.fixed ul li a { color: var(--mf-gray2); }
header .nav-wrapper.fixed ul li:hover ul li a,
nav ul li:hover ul li a { color: var(--bb-text-black); }

}


@media (min-width: 1101px) {
/* Jetzt anmelden */
nav ul li.item-108 {padding-left: 10px; }
nav ul li.item-108 a {
  background: transparent;
  border: 3px solid var(--bb-red);
  color: var(--bb-text-white);
  border-radius: 24px;

  transition: none !important;
}
nav ul li.item-108.current.active a,
nav ul li.item-108:hover a {
  background: var(--bb-text-white);
  border-color: transparent;
  color: var(--bb-red);

  transition: none !important;
}

nav ul li.item-108 a:after {
  border: none !important;
}
}


@media (max-width: 1100px) {
header { }
nav { height: auto; }

nav label {
  height: 50px;
  line-height: 50px;
}

nav ul li,
nav ul li a,
nav ul ul,
nav ul ul ul {
  display: block;
  text-align: right;
  padding: 0;
}

nav ul li a {
  height: 55px;
  line-height: 55px;
  padding-right: 62px;
  color: var(--bb-text-black);
}

nav ul li span.mod-menu__heading.nav-header {
  height: 55px;
  line-height: 55px;
  padding-right: 62px;
  color: var(--bb-text-white);
}

#subnav {
  display: block;
}

.collapsible-menu label {
    display: inline-block;
    cursor: pointer;
    text-align: center;
    padding: 15px 30px 15px 30px;
    background: var(--bb-red);
    border-radius: 14px;
}

.collapsible-menu.menu-main label span {
  height: 3px;
  width: 26px;
  background: var(--bb-text-white);
  display: block;
  margin: 0 auto;
  transition: all .2s ease;
}
.collapsible-menu.menu-main label span:nth-child(2) {
  margin-top: 5px;
  margin-bottom: 5px;
}
.collapsible-menu.menu-main label:hover span:nth-child(2) {
/*  margin-left: -8px; */
}
input#menu-main:checked ~ label span:nth-child(1) {
  transform: translate(0px,8px)rotate(45deg);
}
input#menu-main:checked ~ label span:nth-child(2) {
  opacity: 0;
}
input#menu-main:checked ~ label span:nth-child(3) {
  transform: translate(0px,-8px)rotate(-45deg);
}

.menu-content {
  position: absolute;
  padding: 0;
  height: 0;
  min-height: 0;
  overflow: hidden;
  left: 20px;
  top: 160px;
  width: calc(100% - 40px);
  background: var(--bb-bg-white);
  z-index: 4;

  transition: min-height .2s cubic-bezier(0.52, 0.16, 0.24, 1);
}

input#menu-main:checked ~ .menu-content,
input#menu-subnav:checked ~ .menu-content {
  z-index: 4;
  height: auto;
  min-height: auto;
}

nav ul:nth-child(1) {
  margin-top: 25px;
  margin-bottom: 125px;
}

nav ul ul { margin-bottom: 20px; }

nav ul ul li a {
  height: 40px;
  line-height: 40px;
  color: #888;
}

nav ul li a:hover,
nav ul ul li a:hover,
nav ul ul li.current > a,
nav ul li.current > a { color: var(--bb-red); }

nav ul ul ul li a {
  margin-right: 62px;
  padding-right: 25px;
  border-right: 1px solid rgba(255,255,255,.15);
}
nav ul ul ul li.current a,
nav ul ul ul li a:hover,
nav ul ul li a:hover {
  border-color: var(--bb-red);
  color: var(--bb-red);
}
}
/* END */

@media (min-width: 600px) {
.collapsible-menu label {
    padding: 15px 35px 15px 35px;
}
}


@media (max-width: 767px) {
.menu-content {
  top: 160px;
}
input#menu-main:checked ~ .menu-content,
input#menu-subnav:checked ~ .menu-content {
  height: auto;
  min-height: auto;
}
}

@media (max-width: 1100px) {
input#menu-main:checked ~ .menu-content {
  border-bottom: 3600px solid var(--bb-bg-white);
}
}

nav ul li.item-118,
nav ul li.item-119 {
  display: none;
}
@media (max-width: 768px) {
nav ul li.item-118,
nav ul li.item-119 {
  display: block;
} 
}


@media (max-width: 520px) {
nav ul:nth-child(1) {
  margin-top: 40px;
  margin-bottom: 125px;
}

nav ul li a { padding-right: 42px; }
nav ul li span.mod-menu__heading.nav-header { padding-right: 42px; }
nav ul ul ul li a { margin-right: 42px; }
}




main a.booking.whatsapp,
footer a.booking.whatsapp {
  position: relative;
  display: inline-block;
  background: transparent;
  color: var(--bb-text-white);
  border: 3px solid #25d366;
  border-radius: 12px;
  height: 48px;
  line-height: 1.1em;
  font-weight: 700;
  padding: 0 25px;
  padding-left: 55px;
  padding-top: 14px;
}

#content p a.booking.whatsapp,
#content p a.booking.whatsapp:hover {
  box-shadow: none;
  padding: 0 25px;
  padding-left: 55px;
  padding-top: 13px;
  transition: none;
}


main a.booking.whatsapp:hover,
footer a.booking.whatsapp:hover {
  border-color: transparent;
  color: var(--bb-text-black) !important;
  background: #25d366;
}

main a.booking.whatsapp::before,
footer a.booking.whatsapp::before {
  content: '';
  display: inline-block;
  position: absolute;
  background-image: url(../images/whatsapp_light.svg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 34px 34px;
  width: 34px;
  height: 34px;
  margin: 0;
  padding: 0;
  left: 13px;
  top: 4px;
}

main a.booking.whatsapp:hover::before,
footer a.booking.whatsapp:hover::before {
  background-image: url(../images/whatsapp.svg);
}




/* SIDEBAR */
#sidebar {
  font-size: .9em;
}

#sidebar > div {
  border-bottom: 10px solid rgba(0,0,0,.05);
  margin-bottom: 35px;
  padding: 0px 30px 30px 0;
}

#sidebar > div:last-child { border-bottom: none; }

#sidebar h3 {
  font-size: 1.5em;
  color: var(--mf-gray);
  margin-top: 0;
}

#sidebar .moduletable.menu ul {  }
#sidebar .moduletable.menu li { margin-bottom: 11px; }
#sidebar .moduletable.menu li a { font-size: 1.05em; }


#below-content div.moduletable h3 { margin-top: 0; }

#below-content .mod-div-start-wrapper.formular {
  display: block;
  width: 100%;
}





/* CLAIM */
#claim-wrapper {
  max-width: 750px;
  margin: 120px auto 120px auto;
}
#claim-wrapper.buttons {
  margin-bottom: 20px;
}


#content h3.claim {
  font-size: 2.45em;
  line-height: 1.25em;
  margin: 0 0 40px 0;
  position: relative;
  text-align: center;
  font-weight: 400;
  font-style: italic;
}

#content h3.claim.gray { color: var(--mf-gray); }
#content h3.claim.blue { color: var(--mf-gray2); }

@media(max-width: 768px) {
#content h3.claim {
  font-size: 1.95em;
  line-height: 1.35em;
  margin: 0 0 40px 0;
}
}

@media(max-width: 640px) {
#content h3.claim {
  font-size: 1.55em;
  line-height: 1.45em;
  margin: 0 0 40px 0;
}
}


#below-content  {
  display: flex;
  flex-flow: row wrap;
  align-content: flex-start;
  margin-top: 90px;
}

#below-content div.moduletable {
  position: relative;
  width: calc(20% - 21px);
  align-self: stretch;

  margin-top: 0px;
  padding: 22px 30px 60px 30px;
  background: rgba(0,0,0,0.05);
  border-radius: .5rem;

  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
  margin: 0 20px 20px 0;
}

#below-content div.moduletable h3 {
  color: var(---mf-gray);
  margin-bottom: 25px;
  line-height: 1.4em;
}

#below-content div.moduletable p {
  font-size: 95%;
  line-height: 1.45em;
}

#below-content div.moduletable p:last-of-type {
  position: absolute;
  bottom: 0;
  left: 30px;
  margin-bottom: 30px;
}

#below-content div.moduletable p.image {
  margin: 0 0 15px 0;
  line-height: 0;
}

@media (max-width: 1024px) {
#below-content div.moduletable {
  width: calc(33% - 21px);
  padding-left: 22px;
  padding-right: 22px;
}
}
@media (max-width: 768px) {
#below-content div.moduletable {
  width: calc(33% - 21px);
  padding-left: 30px;
  padding-right: 30px;
}
}
@media (max-width: 640px) {
#below-content div.moduletable {
  width: calc(50% - 21px);
}
}
@media (max-width: 520px) {
#below-content div.moduletable {
  width: calc(100% - 1px);
  margin-right: 0;
}
}



#content p a.no-shadow,
#content p a.no-shadow:hover,
#sidebar p a.none:hover,
#below-content p a.none:hover,
.blog.home p a.none:hover,
#sidebar p a.none,
#below-content p a.none,
.blog.home p a.none,
p.cart-no-items-image a.none { box-shadow: none !important; background: none !important; }


ul.latestnews span[itemprop="introtext"] { display: none; }

#below-content ul.latestnews li:nth-child(1) span[itemprop="introtext"],
#content .blog ul.latestnews li:nth-child(1) span[itemprop="introtext"] { }

#below-content ul.latestnews span[itemprop="introtext"] p:nth-child(1),
#content .home ul.latestnews span[itemprop="introtext"] p:nth-child(1) { margin-top: 10px; }

#below-content ul.latestnews span[itemprop="introtext"] p,
#content .home ul.latestnews span[itemprop="introtext"] p { display: inline-block; margin: 0; font-size: .85em; color: #888; text-decoration: none; }

#below-content ul.latestnews a:hover span[itemprop="introtext"] p,
#content .home ul.latestnews a:hover span[itemprop="introtext"] p { color: var(--mf-gray); }

#content .blog.news .item-image a { display: block; margin: 0; padding: 0; box-shadow: none; }


/* Aktuelle Mitteilungen */
dl.mf-article-details {
  display: block;
  margin: 0 auto;
}

.item-page.aktuelles dl.article-info dd,
dl.mf-article-details dd {
  display: inline-block;
  font-size: 87.5%;
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 8px 12px;
  margin: 6px 6px 0 0;
  opacity: .5;
}


dl.article-info {
  display: block;
  color: #999;
  margin-bottom: 25px;
  font-size: .9em;
}

.layout-blog.aktuelles dl.article-info,
.home dl.article-info {
  margin-bottom: 10px;
}

.item-page.aktuelles dl.article-info {
  margin-bottom: 25px;
}

dl.article-info a {
  color: #999;
  text-decoration: underline;
}

dl.article-info a:hover {
  color: #FFF;
  text-decoration: underline;
}

dl.article-info dd {
  display: inline-block;
  margin-right: 10px;
  margin-bottom: 5px;
  padding: 6px 12px;
  padding: 0px;
  border: 0px solid rgba(2,0,0,0.1);
}

dt.article-info-term {
  display: none;
}

@media (max-width: 640px) {
#content .item-page.news h2 { font-size: 1.75em; }
#content .item-page.news div[itemprop="articleBody"] { font-size: 1em; }
dl.article-info dd { }
}

.blog.news dl.article-info dd {
  padding: 0;
  border: 0px;
}

.item-page.aktuelles h1 {
  font-size: 3em;
  text-align: center;
  line-height: 1.25em;
  max-width: 680px;
  margin: 0 auto;
  margin-top: 15px;
  margin-bottom: 55px;
}

.aktuelles .blog h1,
.aktuelles .blog h2,
.aktuelles .blog h3,
.aktuelles .blog h4,
.item-page.aktuelles h1,
.item-page.aktuelles h2,
.item-page.aktuelles h3,
.item-page.aktuelles h4 {
  color: var(--egr-gray);
  font-weight: 700;
}

.item-page.aktuelles h3 {
  font-size: 1.55em;
  line-height: 1.25em;
}

.item-page.aktuelles h4 {
  margin-top: 45px;
  margin-bottom: 20px;
}

.aktuelles .blog h3,
.aktuelles .blog h4 {
  font-size: 110%;
  margin-bottom: 23px;
}

.item-page.aktuelles dl.article-info {
  text-align: center;
}

figcaption.caption {
  font-size: .95em;
  line-height: 1.45em;
  color: #999;
  padding: 10px 25px 15px 4px;
  margin-top: 0;
  margin-bottom: 30px;
}

.view-article figcaption.caption {
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  max-width: 960px;
}

#content p.img {
  line-height: 0;
  margin-top: 50px;
  margin-bottom: 0;
}

#content p.imgcaption {
  font-size: .95em;
  line-height: 1.45em;
  color: #999;
  padding: 10px 25px 15px 4px;
  margin-top: 5px;
  margin-bottom: 45px;
}


.layout-blog.aktuelles .item-image {
}
.item-page.aktuelles .item-image {
}

.layout-blog.aktuelles .item-image a {
}


.item-page.aktuelles div[itemprop="articleBody"] {
  display: block;
  position: relative;
  margin-top: 60px;
  margin-bottom: 60px;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

.item-page.aktuelles div[itemprop="articleBody"]::before {
/*  content: '';
  display: inline-block;
  width: 35px;
  height: 350px;
  position: absolute;
  left: -75px;
  top: 0;
  background-color: rgba(46,40,44,.12); */
}


@media (max-width: 768px) {
.item-page.aktuelles h1 {
  font-size: 2.5em;
  line-height: 1.2em;
}
.item-page.aktuelles h3 {
  font-size: 1.55em;
  line-height: 1.35em;
}
.item-page.aktuelles div[itemprop="articleBody"]::before { display: none; }
}
@media (max-width: 520px) {
.item-page.aktuelles h1 {
  font-size: 1.95em;
  line-height: 1.2em;
}
.item-page.aktuelles h3 {
  font-size: 1.35em;
  line-height: 1.35em;
}
}


#content .content-links {
/*  display: inline-block;
  align-self: flex-start;
  width: 30%;
  max-width: 475px;
  padding: 0;
  margin-top: 10px;
  margin-left: 4.5%; */

  display: block;
  position: relative;
  margin-top: 60px;
  margin-bottom: 30px;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
  padding: 35px;
  background: rgba(46,40,44,.12);
  border-radius: 25px;
}

@media (max-width: 1024px) {
#content .content-links,
.item-page.aktuelles div[itemprop="articleBody"] { max-width: 640px; }
}

#content .content-links:before {
  content: 'Links';
  position: relative;
  display: block;
  border-top: 0px solid rgba(255,255,255,.2);
  padding: 15px 0 15px 2px;
  font-size: 1.55em;
  font-weight: 700;
}

#content .content-links ul {
  margin: 0;
  padding: 20px 0 15px 0;
  border-bottom: 0px solid rgba(2,0,0,0.1);
}

#content .content-links li,
#content .content-links li:hover {
  list-style-type: none;
}

#content .content-links li {
  padding: 0;
  padding-left: 2px;
  margin-bottom: 16px;
}

#content .content-links a {
}

#sidebar .moduletable.single-image {
  padding: 0 !important;
  position: relative;
  border: none !important;
}
#sidebar .moduletable.single-image h3 {
}
#sidebar .moduletable.single-image .custom.single-image {
  background-position: right 0px;
  background-repeat: no-repeat;
  background-size: 100% auto;
  height: 100%;
  min-height: 1px;
  margin: 0;
  padding: 0;
}

#sidebar .moduletable.single-image p {
  margin: 0;
  line-height: .8em;
}

#sidebar .moduletable.single-image img {  }

#sidebar .mod-custom ul li {
  margin-bottom: 12px;
}

/* MOD LATEST NEWS */
#sidebar ul li span.articledate {
  display: block;
  color: #999;
  margin-bottom: 2px;
}

#sidebar span.mod-articledate,
footer span.mod-articledate { margin-bottom: 4px; }
#sidebar ul.latestnews { margin-bottom: 25px; }

#below-content ul.latestnews li,
footer ul.latestnews li,
#content .blog.loesungen ul.latestnews li,
#content .blog.home ul.latestnews li,
#sidebar ul.latestnews li {
  padding-bottom: 15px;
  margin-bottom: 12px;
  border-bottom: 0px solid rgba(255,255,255,.12);
 }

#sidebar ul.latestnews li { line-height: 1.5em; }

footer ul.latestnews li {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 10px;
  line-height: 1.5em;
}

#below-content ul.latestnews li:last-child,
#content .blog.loesungen ul.latestnews li:last-child,
#content .blog.home ul.latestnews li:last-child,
#sidebar ul.latestnews li:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: none;
}

#below-content ul.latestnews li a:hover,
#content .blog.loesungen ul.latestnews li a:hover,
#content .blog.home ul.latestnews li a:hover,
#sidebar ul.latestnews li a:hover { /* text-decoration: underline; */ }

span.mod-articledate {
  display: block;
  font-size: .92em;
  color: rgba(255,255,255,0.55);
}

ul.latestnews img { display: none; }
/* .blog.home ul.latestnews li:nth-child(1) img, */

#below-content ul.latestnews li:nth-child(1) img,
#sidebar ul.latestnews li:nth-child(1) img { /* display: block; margin: 3px 0; */ }


/* PAGENAV */
/* PAGINATION */
#content .pagination { margin-top: 60px; margin-bottom: 60px; }
#content ul.pagenav {
  display: block;
  text-align: right;
  margin: 0;
}
#content .pagination ul { text-align: center; }

ul.pagenav {
  margin-top: 40px;
}

ul.pagenav li,
.pagination li {
  display: inline-block;
}

ul.pagenav li a,
.pagination li span,
.pagination a {
  display: inline-block;
  width: 50px;
  height: 50px;
  line-height: 40px;
  border: 3px solid;
}

.pagination li span,
.pagination a { line-height: 48px; }

ul.pagenav li a {
  width: auto;
  padding: 0 25px;
  cursor: pointer;
}

.pagination li span {
  border-color: var(--mf-gray2);
  color: #000;
  background-color: var(--mf-gray2);
  cursor: default;
}

.pagination li a {
  border-color: rgba(255,255,255,.2);
  color: #FFF;
  background-color: none;
}

ul.pagenav li a {
  border-color: var(--mf-blue);
  color: var(--mf-blue);
  border-radius: 50%;
  width: 90px;
  height: 90px;
  line-height: 75px;
  padding: 0;
  margin: 0;
  background-color: var(--bb-text-white);
}

.pagination li { font-size: 1.15em; }
ul.pagenav li a { font-size: 2.25em; }

ul.pagenav li a:hover,
.pagination li a:hover {
  border-color: var(--mf-blue);
  color: #FFF;
  background-color: var(--mf-blue);
}

ul.pagenav li span.icon-chevron-right,
ul.pagenav li span.icon-chevron-left,
ul.pagenav li span.visually-hidden,
li.pagination-start,
li.pagination-prev,
li.pagination-next,
li.pagination-end {
  display: none;
}


/* BREADCRUMBS */
#breadcrumbs {
  display: block;
  font-size: .8em;
  line-height: 2.2em;
  padding: 0 50px;
  width: 100%; /* calc(100% - 50px); */
  max-width: 1480px;
  margin: 0 auto;
  margin-top: 65px;
  margin-bottom: 20px;
  color: var(--mf-gray);
  font-weight: 500;
}
@media(max-width: 640px) { #breadcrumbs { width: 86%; padding: 0; } }

#breadcrumbs a {
  color: #999;
  margin: 0;
  padding: 0;
}

#breadcrumbs a:hover {
  color: var(--mf-blue);
  text-decoration: none;
}


#breadcrumbs ol li,
#breadcrumbs ul li { display: inline-block; margin: 0; padding: 0; }
#breadcrumbs ol li.active,
#breadcrumbs ul li.active { display: inline; }
#breadcrumbs .divider img { width: auto; max-width: auto; /* display: none; */ }
#breadcrumbs .divider { margin: 0 10px; }
#breadcrumbs li.active:nth-child(1),
#breadcrumbs .divider.icon-location { display: none; }

#breadcrumbs li.float-start { display: none; }

#breadcrumbs ul li::after {
  content: '→';
  display: inline-block;
  position: relative;
  margin: 0 10px;
  color: #999;
}
#breadcrumbs ul li:last-of-type::after { display: none; }


@media (max-width: 768px) {
main {
  display: grid;
  grid-gap: 0px;
  grid-template-columns: repeat(1, 1fr);
  grid-auto-flow: row;
  grid-template-areas:
    "c"
    "s";
}
#sidebar { display: none; }

#content { max-width: 600px; margin-left: auto; margin-right: auto; }
}


footer h3 { font-size: 1.25em; font-weight: 700; padding: 0 0 40px 0; margin: 0; color: var(--bb-text-black); }
#position-2, #position-3, #position-4, #position-5, #position-6 { display: inline-block; vertical-align: top; }
#sitemap, #position-3, #position-4, #position-5, #position-6 { text-align: left; }

#position-2 { width: 16%; margin-right: 3%; }
#position-3 { width: 20%; margin-right: 6%; }
#position-4 { width: 26%; margin-right: 3%; }
#position-5 { width: 21%; margin-right: 3%; }
#position-6 { width: 18%; }

@media (max-width: 1024px) {
#position-2 { width: 20%; margin-right: 3%; }
#position-3 { width: 31%; margin-right: 3%; }
#position-4 { width: 32%; margin-right: 3%; }
#position-5 { width: 33%; margin-right: 0; }
#position-6 { width: 23%; }
}

@media (max-width: 768px) {
#position-2 { display: none; }
#position-3,
#position-4,
#position-5 { }
#position-3 { width: 40%; margin-right: 4%; }
#position-4 { width: 38%; margin-right: 3%; }
#position-5 { width: 45%; margin-right: 0; }
}

@media (min-width: 1680px) {
#position-2 { width: 15%; margin-right: 3%; }
#position-3 { width: 19%; margin-right: 6%; }
#position-4 { width: 26%; margin-right: 3%; }
#position-5 { width: 20%; margin-right: 0; }
#position-6 { width: 15%; }
}


#position-1 { display: block; }
#position-1 ul { display: block; }
#position-1 li { display: inline-block; }
#position-1 li:nth-of-type(1) { margin-right: 20px; }
#position-1 li:nth-of-type(1),
#position-1 li:nth-of-type(2) { font-size: 1.65em; font-weight: 600; }
#position-1 li:nth-of-type(3) { display: block; margin-top: 8px; }
#position-1 li:nth-of-type(3) a { color: #999; }

#position-2 li,
#position-3 li,
#position-4 li,
#position-5 li,
#position-6 li { margin-bottom: 14px; }


#socialmedia.bottom {
/*  display: inline-block;
  position: absolute;
  right: 0px;
  top: 42px; */
  display: block;
  margin-bottom: 40px;
}



@media (max-width: 680px) {
#second-lastrow-wrapper {
  padding: 55px 3px;
  border-top: 48px solid rgba(10, 0, 0, 0.04);
}

#socialmedia.bottom, #position-1, #position-2, #position-3, #position-4, #position-5, #position-6 { display: block; position: relative; width: 100%; }

#position-3,
#position-4,
#position-5 { font-size: 100%; }

#position-1 li { display: block; margin-right: 0; }
#position-1 li:nth-of-type(3) { display: none; }
#position-1, #position-2, #position-3, #position-4, #position-5, #position-6 { margin-bottom: 57px; }

#position-1 { display: none !important; }

#position-2 li,
#position-3 li,
#position-4 li,
#position-5 li,
#position-6 li { margin-bottom: 12px; }

#socialmedia.bottom { right: 0; top: 0; }
#lang-social-wrapper {
  padding: 45px 0 0 0;
}
footer #lang-switch {
  margin-top: 35px;
}
footer #lang-switch ul {
  text-align: center;
}
}

@media (min-width: 768px) and (max-width: 1023px) {
/* #position-2 { display: none; } */
}





footer ul.nav li ul {
  margin: 20px 0 30px 5px;
  font-size: 90%;
}

footer ul.nav li ul li {
  margin: 0 !important;
  line-height: 1.25em;
}

footer ul.nav li ul li a {
  display: block;
  border-left: 1px solid rgba(46,40,44,.15);
  padding: 6px 0 6px 22px;

  transition: .3s ease;
}
footer ul.nav li ul li a:hover {
  border-left: 1px solid rgba(46,40,44,1);
}


#socialmedia.bottom ul {
  margin: 0 0 0 0;
  text-align: center;
  padding: 0;
}

#socialmedia.bottom li {
  display: inline-block;
  margin: 0 3px;
  padding: 0;
  border: none;
  border-radius: 50%;
  overflow: hidden;
  width: 55px;
  height: 55px;
  background: var(--bb-bg-grey);
}

#socialmedia.top ul {
  display: inline-block;
  margin: 8px 0 0 0;
  padding: 0;
}

#socialmedia.top li {
  display: inline-block;
  margin: 0 0 0 2px;
  width: 28px;
  height: 28px;
}

.bottom .facebook a.icon,
.bottom .twitter a.icon,
.bottom .instagram a.icon,
.bottom .youtube a.icon,
.bottom .mail a.icon {
  display: inline-block;
  width: 55px;
  height: 55px;
  background-size: 40px 40px;
  background-position: center center;
  background-repeat: no-repeat;
  overflow: hidden;
  border-radius: 50%;
}

.top .facebook a.icon,
.top .twitter a.icon,
.top .instagram a.icon,
.top .youtube a.icon,
.top .mail a.icon {
  display: inline-block;
  width: 28px;
  height: 28px;
  background-size: 28px 28px;
  background-position: center center;
  background-repeat: no-repeat;
}

#socialmedia.bottom li.facebook:hover { background: #3b60a9; }
#socialmedia.bottom li.twitter:hover { background: #1b9bed; }
#socialmedia.bottom li.instagram:hover {
  background: #edb44b; /* Old browsers */
  background: -moz-linear-gradient(45deg, #edb44b 0%, #f2833e 30%, #da475b 46%, #b43983 69%, #5466aa 86%, #5466aa 100%); /* FF3.6-15 */
  background: -webkit-linear-gradient(45deg, #edb44b 0%,#f2833e 30%,#da475b 46%,#b43983 69%,#5466aa 86%,#5466aa 100%); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(45deg, #edb44b 0%,#f2833e 30%,#da475b 46%,#b43983 69%,#5466aa 86%,#5466aa 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#edb44b', endColorstr='#5466aa',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
}
#socialmedia.bottom li.youtube:hover { background: #fd0010; }
#socialmedia.bottom li.mail:hover { background: var(--mf-blue); }

.top .facebook .icon { background-image: url(../images/facebook_light.svg); }
.facebook .icon { background-image: url(../images/facebook_light.svg); }
.bottom .facebook:hover .icon { background-image: url(../images/facebook_light.svg); }

.twitter .icon { background-image: url(../images/twitter_light.svg); }
.top .twitter .icon,
.bottom .twitter:hover .icon { background-image: url(../images/twitter_light.svg); }

.top .instagram .icon { background-image: url(../images/instagram_light.svg); }
.instagram .icon { background-image: url(../images/instagram_light.svg); }
.bottom .instagram:hover .icon { background-image: url(../images/instagram_light.svg); }

.top .youtube .icon { background-image: url(../images/youtube.svg); }
.youtube .icon { background-image: url(../images/youtube_light.svg); }
.bottom .youtube:hover .icon { background-image: url(../images/youtube_light.svg); }

.top .mail .icon { background-image: url(../images/mail_light.svg); }
.mail .icon { background-image: url(../images/mail_light.svg); }
.bottom .mail:hover .icon { background-image: url(../images/mail_light.svg); }


@media (max-width: 520px) {
#socialmedia.bottom li {
  margin: 0 2px;
  width: 50px;
  height: 50px;
}
.bottom .facebook a.icon,
.bottom .twitter a.icon,
.bottom .instagram a.icon,
.bottom .youtube a.icon,
.bottom .mail a.icon {
  width: 50px;
  height: 50px;
  background-size: 38px 38px;
}
}


/* Jobs und Kontakt */
#socialmedia.top li.mitteilungen { width: 83px; }
#socialmedia.top li.jobs { width: 40px; }
#socialmedia.top li.kontakt { width: 55px; }
#socialmedia.top li.mitteilungen a,
#socialmedia.top li.jobs a,
#socialmedia.top li.kontakt a {
  position: absolute;
  line-height: 30px;
}

@media (min-width: 681px) and (max-width: 1100px) {
#socialmedia.top li.jobs { }
}


.responsive-video-wrapper {
  padding: 45px 90px 90px 90px;
  background: var(--mf-gray);
  border-radius: .25rem;
}

.videos-page .responsive-video-wrapper {
  padding: 35px 70px 70px 70px;
  margin-bottom: 70px;
}

.responsive-video {
    position: relative;
    padding-bottom: 56%;
    padding-top: 0px;
    height: 0;
    overflow: hidden;
}

.responsive-video iframe, .responsive-video object, .responsive-video embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#content .responsive-video-wrapper h2,
#content .responsive-video-wrapper p { color: var(--bb-text-white); margin: 0; padding: 0; text-align: center; }
#content .responsive-video-wrapper h2 { font-size: 2.1em; margin-bottom: 20px; }
#content .responsive-video-wrapper p { margin-bottom: 70px; }

@media (max-width: 768px) {
.videos-page .responsive-video-wrapper,
.responsive-video-wrapper { padding: 25px 0 0 0; }
#content .responsive-video-wrapper h2 { font-size: 2.1em; margin-bottom: 15px; }
#content .responsive-video-wrapper p { padding: 0 25px; margin-bottom: 35px; }
}

span.video-playlist-link-wrapper {
  display: block;
  text-align: center;
  padding: 0;
  margin: 0 0 70px 0;
}

span.video-playlist-link-wrapper a {
  display: inline-block;
  line-height: 1em;
  color: var(--bb-text-white);
  font-weight: 600;
  font-size: 92.5%;
  padding: 10px 21px 12px 21px;
  border: 2px solid var(--bb-text-white);
  border-radius: 2rem;
  margin: 0 6px;
  background: var(--bb-text-white);
  color: var(--mf-gray);
  transition: all .3s;
}

span.video-playlist-link-wrapper a:hover {
  border-color: var(--bb-text-white);
  background: transparent;
  color: var(--bb-text-white);
}

span.video-playlist-link-wrapper a::after {
  content: "→";
  display: inline-block;
  margin-left: 15px;
}




/* CONTENT SLIDER */
#content p.loadmodule { height: 0; margin: 0; }
#content .flexslider ul li { padding: 0; margin: 0; list-style-type: none; }



#content p.actn-btn {
  margin-top: 70px;
}

#content p.actn-btn a {
  position: relative;
  padding: 12px 36px;
  border: 3px solid var(--mf-gray2);
  font-weight: 700;
  box-shadow: none;
  background: none;
  z-index: 2;
  border-radius: .25rem;
  cursor: pointer;
  color: var(--mf-gray);
  transition: all .2s;
}

#content p.actn-btn a:hover {
  color: var(--bb-text-white);
  background: none;
  box-shadow: none;
}

#content p.actn-btn a::before {
  content: '';
  width: 1px;
  height: 100%;
  position: absolute;
  bottom: 0;
  left: 0;
  transition: width 0.3s ease;
  z-index: -1;
  background: var(--mf-gray2);
  opacity: 0;
}

#content p.actn-btn a:hover::before {
  width: 100%;
  opacity: 1;
}

#content p.actn-btn a::after {
  content: "→";
  display: inline-block;
  margin-left: 15px;
}

#content p.actn-btn.small { margin-top: 15px; margin-right: 5px; display: inline-block; }
#content p.actn-btn.second { margin-top: 5px; }

#content p.actn-btn.small a {
  font-size: 90.5%;
  border-width: 2px;
  padding: 11px 26px;
}



.usage-wrapper { display: flex; flex-flow: row wrap; align-content: flex-start; gap: 25px; }
.usage-wrapper { margin: 60px auto 60px auto; width: 100%; max-width: 1380px; }

.usage-wrapper .usage-item {
  width: auto;
  min-width: calc(33% - 25px);
  max-width: calc(33% - 25px);

  align-self: stretch;
  margin: 0;
  padding: 10px 25px 35px 25px;
  background: rgba(46,40,44,.12);
  border: 0px solid var(--mf-gray2);
  border-radius: 15px;
  transition: all .3s ease;
}

.leistungsangebot-wrapper .leistung-item {
  background-blend-mode: soft-light;
}
.leistungsangebot-wrapper .leistung-item:hover {
  background: var(--mf-gray);
  background-blend-mode: multiply;
}


.leistungsangebot-wrapper .leistung-item.cranio {
  background-image: url(https://www.kg-alheim.de/images/slider-craniosacrale-therapie/s_000.jpg);
  background-size: auto 105%;
  background-position: center;
  background-repeat: no-repeat;

}

.leistungsangebot-wrapper .leistung-item.moxa {
  background-image: url(https://www.kg-alheim.de/images/slider-moxa/s_002.jpg);
  background-size: auto 105%;
  background-position: center;
  background-repeat: no-repeat;
}


.leistungsangebot-wrapper .leistung-item.wellness {
  background-image: url(https://www.kg-alheim.de/images/slider/s_003.jpg);
  background-size: auto 105%;
  background-position: 30% center;
  background-repeat: no-repeat;
}


.usage-wrapper .usage-item.link {
  transition: all .3s ease;
}

.usage-wrapper .usage-item.link:hover {
  cursor: pointer;
  background-color: var(--mf-gray);
  color: var(--bb-text-white);
}

.usage-wrapper .usage-item.align-center {
  display: flex;
  padding: 45px 25px;
}
.usage-wrapper .usage-item .usage-text.align-center {
  align-self: center;
  display: inline-block;
  width: 100%;
  text-align: center;
}

.usage-wrapper .usage-item .icon {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto 5px;
}

.usage-wrapper .usage-item .usage-text {
  display: block;
  font-weight: 400;
  padding: 0;
  margin: 0 0 5px 0;
  text-align: center;
  font-size: 125%;
  font-weight: 700;
}

@media (min-width: 641px) and (max-width: 1023px) {
.usage-wrapper .usage-item {
  min-width: 47.5%;
  max-width: 47.5%;
}
}

@media (max-width: 640px) {
.usage-wrapper .usage-item {
  min-width: 75%;
  max-width: 75%;
  margin: 0 auto;
}
.usage-wrapper .usage-item .usage-text.align-center {
/*  margin-top: 20px; */
}

}


#kursraummiete {
  border: 5px solid var(--mf-gray);
  background-color: rgba(0,0,0,.03);
  padding: 30px 30px;
  border-radius: 15px;
}

#kursraummiete > *,
#kursraummiete p a {

}

#content .a-box-shadow-gray p a {
  color: var(--bb-text-white);
  box-shadow: inset 0 -0.19em 0 var(--mf-gray);
}
#content .a-box-shadow-gray p a:hover {
  color: var(--bb-text-white);
  box-shadow: inset 0 -1.38em 0 var(--mf-gray);
}

/* IMPRINT */
span.kuerzel { position: relative; }
span.daten { position: absolute; left: 100px; }
span.daten.hrs { position: absolute; left: 100px; }


@media (max-width: 520px) { span.daten { left: 95px; } span.daten.hrs { left: 95px; } }
@media (max-width: 370px) { span.daten { left: 95px; } span.daten.hrs { left: 95px; } }
@media (max-width: 310px) {
span.daten,
span.daten.hrs {
  position: relative;
  left: auto;
  display: block;
}
}

.introtext-wrapper {
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 90px;
}







/* GALERIE */
#content .galerie-wrapper { float: inherit !important; }

@supports (display: grid) {

#content .galerie-wrapper .items p { margin: 0; padding: 0; overflow: hidden; position: relative; display: block; width: 100%; height: 100%; border-radius: .25rem; }
#content .galerie-wrapper .items p.transparent { background: transparent; }
#content .galerie-wrapper .items p img {
  position: absolute;
  top: 50%;
  left: 50%;
  margin-right: -50%;
  transform: translate(-50%, -50%);

  filter: grayscale(0%);
  transition: all .3s ease;
 }
#content .galerie-wrapper .items p:hover img {
/*   filter: grayscale(100%); */
}
#content .galerie-wrapper .items p:hover {
/*  cursor: help; */
}


.galerie-wrapper .items {
  display: -ms-grid;
  display: grid;
  -ms-grid-gap: 20px;
  grid-gap: 20px;
  -ms-grid-template-columns: repeat(auto-fit, minmax(425px, 1fr));
  grid-template-columns: repeat(auto-fit, minmax(425px, 1fr));
  -ms-grid-auto-rows: 320px;
  grid-auto-rows: 320px;
  -ms-grid-auto-flow: dense;
  grid-auto-flow: dense;

}

.galerie-wrapper .items .horiz {
  -ms-grid-column: span 2;
  grid-column: span 2;
}
.galerie-wrapper .items .vert {
  -ms-grid-row: span 2;
  grid-row: span 2;
}
.galerie-wrapper .items .big {
  -ms-grid-column: span 2;
  grid-column: span 2;
  -ms-grid-row: span 2;
  grid-row: span 2;
}

span.galerie.bildbeschreibung {
  position: absolute;
  z-index: 2;
  bottom: 22px;
  left: 22px;

  padding: 7px 10px 8px 10px;
  background: transparent;
  color: var(--bb-text-white);

  font-size: .7em;
  font-weight: 600;
  display: inline-block;
  max-width: 85%;
  text-align: left;
  line-height: 1.35em;

  transition: all .3s ease;
  opacity: 0;
}
.galerie-wrapper p:hover span.galerie.bildbeschreibung {
  background: var(--handarbeit-red);
  bottom: 17px;
  opacity: 1;
}

span.galerie.overlay {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  z-index: 98;
  background: black;
  opacity: 0;
  transition: all .3s ease;
}
.galerie-wrapper p:hover span.galerie.overlay { opacity: .35; }

.galerie-wrapper p:hover { cursor: help; }

}

@media (max-width: 1024px) {
.galerie-wrapper .items {
  -ms-grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  -ms-grid-auto-rows: 170px;
  grid-auto-rows: 170px;
}
}

@media (max-width: 520px) {
.galerie-wrapper .items {
  -ms-grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  -ms-grid-auto-rows: 90px;
  grid-auto-rows: 90px;
  -ms-grid-gap: 10px;
  grid-gap: 10px;
}
.galerie-wrapper .items .horiz {
  -ms-grid-column: span 1;
  grid-column: span 1;
}
.galerie-wrapper .items .vert {
  -ms-grid-column: span 1;
  grid-column: span 1;
  -ms-grid-row: span 2;
  grid-row: span 2;
}
.galerie-wrapper .items .big {
  -ms-grid-column: span 2;
  grid-column: span 2;
  -ms-grid-row: span 3;
  grid-row: span 3;
}
}

@media (max-width: 380px) {
.galerie-wrapper .items {
  -ms-grid-auto-rows: 80px;
  grid-auto-rows: 80px;
}
}

@media (max-width: 320px) {
.galerie-wrapper .items {
  -ms-grid-auto-rows: 75px;
  grid-auto-rows: 75px;
}
}

.galerie-wrapper .visible {
  visibility: visible;
  opacity: 1;
  z-index: 2;
}
.galerie-wrapper .hidden {
  visibility: hidden;
  opacity: 0;
  z-index: 1;
}



/* FIXED RIGHT */
#fixed-right { display: none; }

@media (min-width: 360px) {
#fixed-right { display: block; }

#fixed-right h3 {
  color: var(--bb-text-white);
  font-weight: 700;
  margin-bottom: 15px;
}

#fixed-right { margin-top: 0px; }
#fixed-right #mod-custom117 {
  text-align: center;
  display: block;
  background-color: var(--mf-blue);
  color: var(--bb-text-white);

  border-radius: 0;
  border: 0px solid var(--bb-text-white);
  border-bottom: 0px;
  border-left: 0px;
  border-right: 0px;
  border-top: 0px;
  position: fixed;
  bottom: 42.5%;
  bottom: -500px;
  z-index: 10;
  font-size: 90%;
  width: 100%;
  padding: 20px 20px 5px 20px;
  transition: all .2s ease;
}

#fixed-right #mod-custom117 p { margin-bottom: 22px; }

#fixed-right #mod-custom117 p:last-child a { z-index: 2; }

#fixed-right #mod-custom117 p:last-child a {
  display: inline-block;
  position: relative;
  padding: 8px 15px;
  background-color: var(--bb-text-white);
  color: var(--mf-gray);

  border: 2px solid var(--bb-text-white);
  border-radius: 2px;
  box-shadow: none;
  font-weight: 500;
  line-height: 1.25em;
}

#fixed-right #mod-custom117 p:last-child a:hover { background: transparent; box-shadow: none; color: var(--mf-gray); }
#fixed-right #mod-custom117 p:last-child a:hover {
    background: transparent;
    box-shadow: none;
    color: var(--bb-text-white);
    border-color: var(--bb-text-white);
}

#fixed-right #mod-custom117 p:last-child a::after {
  content: "→";
  display: inline-block;
  margin-left: 15px;
}

#fixed-right #mod-custom117 p:last-child a::before {
    content: '';
    width: 1px;
    height: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    transition: width 0.3s ease;
    z-index: -1;
    background: transparent;
    opacity: 0;
}
#fixed-right #mod-custom117 p:last-child a:hover::before {
    width: 100%;
    opacity: 1;
}


#fixed-right #mod-custom117 {
  bottom: -500px;
} /* .moduletable.actn-mod.invisible */
#fixed-right #mod-custom117 {
  bottom: 0px;
} /* .moduletable.actn-mod.show */

#fixed-right #mod-custom117 h3,
#fixed-right #mod-custom117 p:nth-of-type(1) { display: none; }
}

@media (min-width: 768px) {
#fixed-right #mod-custom117 h3,
#fixed-right #mod-custom117 p:nth-of-type(1) { display: block; }

#fixed-right #mod-custom117 {
  text-align: left;
  border-radius: 4px;
  border: 0px solid var(--bb-text-white);
  position: fixed;
  bottom: -500px;
  right: 35px;
  font-size: 75%;
  width: 195px;
  padding: 20px 25px 2px 22px;
}
#fixed-right #mod-custom117 {
  bottom: -500px;
  right: 35px;
} /* .moduletable.actn-mod.invisible */
#fixed-right #mod-custom117 {
  bottom: 35px;
  right: 35px;
} /* .moduletable.actn-mod.show */
}

@media (min-width: 1441px) {
#fixed-right #mod-custom117 h3,
#fixed-right #mod-custom117 p:nth-of-type(1) { display: block; }

#fixed-right #mod-custom117 {
  text-align: left;
  border-radius: 4px 0 0 4px;
  border: 0px solid var(--bb-text-white);
  border-right: 0px;
  position: fixed;
  bottom: 42.5%;
  right: -500px;
  font-size: 75%;
  width: 215px;
  padding: 20px 25px 2px 22px;
}
#fixed-right #mod-custom117  {
  bottom: 42.5%;
  right: -500px;
} /* .moduletable.actn-mod.invisible */
#fixed-right #mod-custom117 {
  bottom: 42.5%;
  right: 0px;
} /* .moduletable.actn-mod.show */


}

@media (min-width: 1800px) { #fixed-right #mod-custom117 { width: 250px; } }





/* */

footer .newsflash figcaption,
footer .newsflash figure.newsflash-image,
footer .newsflash .mod-articlesnews__item h3,
footer .newsflash .mod-articlesnews__item h4,
footer .newsflash .mod-articlesnews__item p {
  display: none;
}
footer .newsflash .mod-articlesnews__item:first-of-type figure.newsflash-image { /* display: block; */ }

footer .newsflash .mod-articlesnews__item h2 {
  font-size: 1em;
  font-weight: 500;
  margin: 0 0 6px 0;
}
footer .newsflash .mod-articlesnews__item h2 a { color: var(--mf-gray2); }
footer .newsflash .mod-articlesnews__item h2 a:hover { color: var(--mf-blue); }

footer dl.article-info {
  color: var(--mf-gray2);
  font-size: .85em;
  margin-bottom: 14px;
}

body header {
  height: auto;
  height: 35vh;
  min-height: 450px;
  max-height: 500px;
}

body.home header {
  height: 50vh;
  min-height: 525px;
  max-height: 550px;
}

body.header-big header {
  height: 50vh;
  min-height: 525px;
  max-height: 550px;
  margin-top: 35px;
}

body.header-big #bb-branding {
  top: -130px;
  left: -15px;
}

body.header-small header {
  height: 10vh;
  min-height: 70px;
  max-height: 75px;
}

body.header-very-small header {
  height: 1vh;
  min-height: 5px;
  max-height: 5px;
}

header .random-image-cover {
	position: absolute;
	width: 100%;
	height: 100%;
	z-index: 2;
  background-position: center center;
  background-size: 103% auto;
  background-repeat: no-repeat;
  background-color: var(--bb-bg-grey);

  border-radius: 24px;
  overflow: hidden;
}

header .random-image-cover.reduce-opacity {
  opacity: .75;
}

.home header .random-image-cover {
  background-size: 101% auto;
  background-position: center 35%;
}

@media (max-width: 1100px) {
body.header-big header,
body.home header,
body header {
/*
    height: auto;
    height: 35vh;
    min-height: 400px;
    max-height: 450px;
*/
}
header .random-image-cover {
  background-position: center center;
  background-size: auto 103%;
}
}

@media (min-width: 768px) and (max-width: 1099px) {
header .random-image-cover {
  background-position: center center;
  background-size: 103% auto;
}
}


@media (max-width: 680px) {
body.header-big header {
  height: auto;
  height: 35vh;
  min-height: 405px;
  max-height: 425px;
}

header .random-image-cover {
  background-position: center center;
  background-size: auto 103%;
}
body.header-big header .random-image-cover,
body.home header .random-image-cover {
  background-size: 110% auto;
  background-position: center top;
}
#bg-brand {
  display: none;
}
}

@media (max-width: 520px) {
body.header-big header .random-image-cover,
body.home header .random-image-cover {
  background-size: auto 103%;
  background-position: center top;
}
body.header-big.cube-wand header .random-image-cover {
  background-position: 92% top;
}

body.header-small header {
  height: 1vh;
  min-height: 20px;
  max-height: 25px;
}
body.header-small header .random-image-cover {
  background-position: center center;
  background-size: 103% auto;
}
}



main .custom-newsflash-ehr h3.mod-head-tag { display: none; }

main.view-category.aktuelles {
  max-width: 840px;
  margin-left: auto;
  margin-right: auto;
}

.kurstermine #below-content {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}

#below-content .mod-articlesnews.newsflash,
main .mod-articlesnews.newsflash {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: stretch;
  gap: 30px;
}

#below-content .mod-articlesnews.newsflash div.mod-articlesnews__item,
main .mod-articlesnews.newsflash div.mod-articlesnews__item {
  background: var(--bb-bg-grey);
  padding: 25px 30px 25px 30px;
  border-radius: 24px;
}

#below-content .mod-articlesnews.newsflash .newsflash-image,
main .mod-articlesnews.newsflash .newsflash-image {
  line-height: 0;
  padding: 0;
  margin: 25px auto 0 auto;
  border-radius: 8px;
  overflow: hidden;
}

#below-content .mod-articlesnews.newsflash figcaption.caption,
main .mod-articlesnews.newsflash figcaption.caption {
  display: none !important;
}




@media (max-width: 1024px) {
main .mod-articlesnews.newsflash { grid-template-columns: 1fr 1fr;  }
main .mod-articlesnews.newsflash div.mod-articlesnews__item:nth-child(3) { display: none; }
}

@media (max-width: 768px) {
}

@media (max-width: 680px) {
main .mod-articlesnews.newsflash {
  grid-template-columns: 1fr;
  grid-template-rows: repeat(1fr);
  gap: 25px;
}
main .mod-articlesnews.newsflash div.mod-articlesnews__item:nth-child(3) { display: block; }
}


/* Mitteilungen Übersicht */
main.aktuelles .blog div[itemprop="blogPost"] {
  background: var(--bb-bg-grey);
  padding: 35px 35px 25px 35px;
  border-radius: 24px;
  margin-bottom: 50px;
}

@media (min-width: 769px) {
main.aktuelles .blog .blog-items.columns-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 35px;
  align-items: stretch;
}
main.aktuelles .blog .blog-items.columns-2 div[itemprop="blogPost"] {
  margin: 0;
}
}


#content p a.home-content-link-aktuelles {
  display: block;
  text-align: center;
  font-weight: 400;
  font-size: 1.35em;
  color: var(--mf-blue);
  box-shadow: none;
  margin: 50px auto 0 auto;
  transition: .3s ease;
}
#content p a.home-content-link-aktuelles.second {
  margin-top: 25px;
}

#content p a.home-content-link-aktuelles:hover {
  color: var(--mf-gray);
  box-shadow: none;
}




dl.article-info { display: none; }
.item-page.aktuelles dl.article-info { display: block; }



/* REF */

div.ref_wrapper {
  background: transparent;
  border-radius: 2rem;
  padding: 60px 25px 50px 25px;
  margin: 135px auto;
  position: relative;
  max-width: 680px;
  /* border: 12px solid #ECECED;
  background: #ececed; */
  background: var(--mf-gray2);
}
.item-page div.ref_wrapper { margin: 120px auto; }
.home div.ref_wrapper { margin: 0 auto; }

div.ref_wrapper.inline {
  padding: 60px 35px 50px 35px;
  margin: 0 auto;
}


div.ref_wrapper::before {
/*  content: "\201F";
  position: absolute;
  top: 2px;
  left: 5%;
  font-size: 196px;
  line-height: 112px;
  text-align: center;
  color: #CCC; */
}
div.ref_wrapper::after {
/*  content: "\02EE";
  position: absolute;
  bottom: -96px;
  right: 5%;
  font-size: 196px;
  line-height: 112px;
  text-align: center;
  color: #CCC; */
}
#below-content p.ref_name,
#content p.ref_name {
  text-align: center;
  font-size: 1.5em;
  line-height: 1.25em;
  font-weight: 800;
  color: var(--mf-gray);
  margin-bottom: 8px;
}
#below-content p.ref_name-details,
#content p.ref_name-details {
  text-align: center;
  font-size: .9em;
  font-weight: 500;
  color: #888;
}
#below-content p.ref_text,
#content p.ref_text {
  text-align: center;
  /* font-style: italic; */
  color: #444;
  font-size: 1.15em;
  line-height: 1.65em;

  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 500px !important;
}
#below-content p.ref_link,
#content p.ref_link {
  text-align: center;
  margin-top: 65px;
}
#content p.ref_link a { color: var(--mf-gray); font-weight: 600; }
#content p.ref_link a:hover { color: var(--bb-text-white); }

#below-content p.ref_image,
#content p.ref_image {
  display: block;
/*  width: 145px;
  height: 145px; */
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto;
/*  border: 4px solid var(--bb-text-white); */
}

#content p.ref_image,
#content p.ref_image.logo {
  margin-bottom: 35px;
}


@media (max-width: 640px) {
div.ref_wrapper {
  padding: 35px 22px 40px 22px;
  margin: 60px 0;
}
#content p.ref_link { margin-top: 60px; }

#below-content p.ref_text,
#content p.ref_text {
  font-size: 1em;
  line-height: 1.65em;
}

}


/* ALL REFS */
.ref_wrapper_all {
  display: flex;
  flex-flow: row wrap;
  align-content: flex-start;
  margin-top: 90px;
  margin-bottom: 90px;
  gap: 35px;
}
.ref_wrapper_all p.ref_link { display: none; }

.ref_wrapper_all .ref_item {
  display: inline-block;
  padding: 20px 35px;
  margin: 0;
  width: calc(25% - 35px);
  vertical-align: text-top;

  background: transparent;
  border-radius: 2rem;
  /* border: 6px solid #ECECED;
  background: #ececed; */
  background: var(--mf-gray2);
}

@media (max-width: 1200px) {
.ref_wrapper_all .ref_item {
  padding: 20px;
  width: calc(33% - 35px);
}
}
@media (max-width: 1023px) {
.ref_wrapper_all .ref_item {
  padding: 20px;
  width: calc(50% - 35px);
}
}
@media (max-width: 640px) {
.ref_wrapper_all .ref_item {
  padding: 20px;
  width: calc(100% - 35px);
  margin-left: auto;
  margin-right: auto;
}
}

#content .ref_wrapper_all p.ref_image {
/*   width: 120px;
  height: 120px; */
}
#content .ref_wrapper_all p.ref_name {
  font-size: 1.35em;
  line-height: 1.2em;
  margin-top: 35px;
}
#content .ref_wrapper_all p.ref_text {
  font-size: 1.1em;
  line-height: 1.45em;
}

#content .ref_wrapper_all p.ref_image,
#content .ref_wrapper_all p.ref_image.logo {
  margin-top: 15px;
}

#content p.ref_image.logo {
  display: block;
  height: auto;
  width: auto;
  max-width: 85%;
  border-radius: .5rem;
  overflow: hidden;
  line-height: 0;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  background: var(--bb-text-white);
}
#content p.ref_image.logo.blank {
  background: transparent;
}
#content p.ref_image.logo img {

}


/* HOME FEATURED GRID */
.featured-grid-wrapper {
  float: inherit !important;
  padding: 0 13px;
}


.featured-grid-wrapper .grid-items {
  display: -ms-grid;
  display: grid;
  -ms-grid-gap: 25px;
  grid-gap: 25px;
  -ms-grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  -ms-grid-auto-rows: 330px;
  grid-auto-rows: 330px;
  -ms-grid-auto-flow: dense;
  grid-auto-flow: dense;
}

.featured-grid-wrapper .grid-items .horiz {
  -ms-grid-column: span 2;
  grid-column: span 2;
}
.featured-grid-wrapper .grid-items .vert {
  -ms-grid-row: span 2;
  grid-row: span 2;
}
.featured-grid-wrapper .grid-items .big {
  -ms-grid-column: span 2;
  grid-column: span 2;
  -ms-grid-row: span 2;
  grid-row: span 2;
}

@media (max-width: 1024px) {
.featured-grid-wrapper .grid-items {
  -ms-grid-gap: 15px;
  grid-gap: 15px;
  -ms-grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  -ms-grid-auto-rows: 350px;
  grid-auto-rows: 350px;
}
}
@media (min-width: 768px) and (max-width: 800px) {
.featured-grid-wrapper .grid-items {
  -ms-grid-auto-rows: 200px;
  grid-auto-rows: 200px;
}
.featured-grid-wrapper .grid-items .item {
  -ms-grid-row: span 2;
  grid-row: span 2;
}
.featured-grid-wrapper .grid-items .item.big {
  -ms-grid-row: span 3;
  grid-row: span 3;
}
.featured-grid-wrapper .grid-items .item.horiz {
  -ms-grid-row: span 2;
  grid-row: span 2;
  -ms-grid-column: span 2;
  grid-column: span 2;
}
}
@media (max-width: 680px) {
.featured-grid-wrapper .grid-items {
  -ms-grid-auto-rows: 300px;
  grid-auto-rows: 300px;
}
.featured-grid-wrapper .grid-items .item {
  -ms-grid-column: span 2;
  grid-column: span 2;
}
}


.featured-grid-wrapper .grid-items .item {
  margin: 0;
  padding: 0;
  overflow: hidden;
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  background: rgba(46,40,44,.12);
  border: 0px solid var(--bb-text-white);
  border-radius: 25px;
}

/* ITEM INDIVIDUAL STYLE */
.featured-grid-wrapper .grid-items .item.leistungsangebot {
  background-image: url(../../../images/home-1/iStock-1079107724____.jpg);
  background-size: auto 102%;
  background-repeat: no-repeat;
  background-position: center;
  background-color: var(--bb-text-white);
  transition: all .3s ease;
}

.featured-grid-wrapper .grid-items .item.covid {
  background-image: url(../../../images/header-coronavirus/fusion-medical-animation-npjP0dCtoxo-unsplash_mint.jpg);
  background-size: auto 102%;
  background-repeat: no-repeat;
  background-position: center;
  background-color: var(--bb-text-white);
  transition: all .3s ease;
}

.featured-grid-wrapper .grid-items .item.praxis {
  background-image: url(../../../images/home-1/_O1A0920.jpg);
  background-size: auto 102%;
  background-repeat: no-repeat;
  background-position: center;
  background-color: var(--bb-text-white);
  transition: all .3s ease;
}

.featured-grid-wrapper .grid-items .item.kursplan {
  background-image: url(../../../images/home-1/iStock-1357466790____.jpg);
  background-size: auto 102%;
  background-repeat: no-repeat;
  background-position: center;
  background-color: var(--bb-text-white);
  transition: all .3s ease;
}

.featured-grid-wrapper .grid-items .item.wellness {
  background-image: url(../../../images/home-1/home-intro-wellness.jpg);
  background-size: auto 102%;
  background-repeat: no-repeat;
  background-position: center;
  background-color: var(--bb-text-white);
  transition: all .3s ease;
}

.featured-grid-wrapper .grid-items .item.raumvermietung {
  background-image: url(../../../images/home-1/_O1A1420.jpg);
  background-size: auto 102%;
  background-repeat: no-repeat;
  background-position: center;
  background-color: var(--bb-text-white);
  transition: all .3s ease;
}

.featured-grid-wrapper .grid-items .item.raumvermietung:hover,
.featured-grid-wrapper .grid-items .item.wellness:hover,
.featured-grid-wrapper .grid-items .item.covid:hover,
.featured-grid-wrapper .grid-items .item.kursplan:hover,
.featured-grid-wrapper .grid-items .item.leistungsangebot:hover,
.featured-grid-wrapper .grid-items .item.praxis:hover {
  background-size: auto 103.5%;
}

#content .featured-grid-wrapper .grid-items .item.raumvermietung:hover p a,
#content .featured-grid-wrapper .grid-items .item.wellness:hover p a,
#content .featured-grid-wrapper .grid-items .item.kursplan:hover p a,
#content .featured-grid-wrapper .grid-items .item.leistungsangebot:hover p a,
#content .featured-grid-wrapper .grid-items .item.praxis:hover p a {
  box-shadow: inset 0 -1.38em 0 var(--mf-blue);
  color: var(--bb-text-white);
}

.featured-grid-wrapper .grid-items .item.mint {
  background-color: #98d1cb; /*  */
}

.featured-grid-wrapper .grid-items .item.red {
  background: var(--mf-blue);
}


.featured-grid-wrapper .covid a,
.featured-grid-wrapper .grid-items .item.covid,
.featured-grid-wrapper .covid h2 {
  color: var(--bb-text-white);
}

.featured-grid-wrapper .red a,
.featured-grid-wrapper .grid-items .item.red,
.featured-grid-wrapper .red h2 {
  color: var(--bb-text-white);
}

.featured-grid-wrapper .red a:hover {
  color: var(--bb-text-white);
  text-decoration: underline;
}

.featured-grid-wrapper .grid-items .item.paypal {
  background: var(--bb-text-white);
  border-color: #ffc438;
  text-align: center;
}

.featured-grid-wrapper .grid-items .item.paypal:hover {
  background: #ffc438;
  cursor: pointer;
}

/* CONTENT WRAPPER */
.featured-grid-wrapper .grid-items .item .item-content-wrapper {
  position: absolute;
  z-index: 2;
  bottom: 30px;
  left: 40px;
  padding: 0;
  width: calc(100% - 80px);
}
.featured-grid-wrapper .grid-items .item.xxx .item-content-wrapper {
  padding: 20px 20px 15px 20px;
  background: rgba(0,0,0,.75);
  border-radius: 5px;
}

.featured-grid-wrapper .grid-items .item.kursplan .item-content-wrapper a,
.featured-grid-wrapper .grid-items .item.kursplan .item-content-wrapper h2,
.featured-grid-wrapper .grid-items .item.kursplan .item-content-wrapper {
  color: var(--bb-text-white);
}

.featured-grid-wrapper .grid-items .item.praxis .item-content-wrapper a,
.featured-grid-wrapper .grid-items .item.praxis .item-content-wrapper h2,
.featured-grid-wrapper .grid-items .item.praxis .item-content-wrapper {
  color: var(--bb-text-white);
}

.featured-grid-wrapper .grid-items .item.leistungsangebot .item-content-wrapper a,
.featured-grid-wrapper .grid-items .item.leistungsangebot .item-content-wrapper h2,
.featured-grid-wrapper .grid-items .item.leistungsangebot .item-content-wrapper {
  color: var(--bb-text-white);
}

.featured-grid-wrapper .grid-items .item.wellness .item-content-wrapper a,
.featured-grid-wrapper .grid-items .item.wellness .item-content-wrapper h2,
.featured-grid-wrapper .grid-items .item.wellness .item-content-wrapper {
  color: var(--bb-text-white);
}

.featured-grid-wrapper .grid-items .item.raumvermietung .item-content-wrapper a,
.featured-grid-wrapper .grid-items .item.raumvermietung .item-content-wrapper h2,
.featured-grid-wrapper .grid-items .item.raumvermietung .item-content-wrapper {
  color: var(--bb-text-white);
}

/* HOME FEATURED GRID */
#content .featured-grid-wrapper p {
  font-size: 95%;
  line-height: 1.2em;
}

#content .featured-grid-wrapper p a {
  box-shadow: inset 0 -0.19em 0 var(--mf-blue);
}
#content .featured-grid-wrapper p a:hover {
  box-shadow: inset 0 -1.38em 0 var(--mf-blue);
}
#content .featured-grid-wrapper .mint p a {
  box-shadow: inset 0 -0.19em 0 #496663;
}
#content .featured-grid-wrapper .mint p a:hover {
  box-shadow: inset 0 -1.38em 0 #496663;
}
#content .featured-grid-wrapper .grid-items .item.mint:hover p:last-child a {
  box-shadow: inset 0 -1.38em 0 #496663;
  color: var(--bb-text-white);
}


#content .featured-grid-wrapper h2 {
  margin-top: 0;
  font-size: 1.65em;
}

#content .featured-grid-wrapper p.ref_image {
  display: none;
  margin: 0;
}

#content .featured-grid-wrapper p.ref_name {
  text-align: left;
  font-size: 1.65em;
  line-height: 1.1em;
  font-weight: 700;
  margin: 0 0 7px 0;
}

#content .featured-grid-wrapper p.ref_name-details,
#content .featured-grid-wrapper p.ref_text {
  font-style: normal;
  text-align: left;
  color: var(--mf-gray);
  font-size: 95%;
  line-height: 1.2em;
}

#content .featured-grid-wrapper p.ref_link {
  text-align: left;
  margin: 0 0 23px 0;
}





/* DOWNLOADS */
#content .downloads-wrapper a {
  box-shadow: none;
  display: block;
}
#content .downloads-wrapper a:hover {
  background: none;
  cursor: pointer;
}


#content .downloads-wrapper .item p.thumb {
  line-height: 0;
}
#content .downloads-wrapper .item p.thumb img {
  width: auto;
  height: auto;
  max-height: 255px;
  margin-bottom: 7px;
  -webkit-box-shadow: 0px 0px 15px 3px rgba(0,0,0,0.06);
  box-shadow: 0px 0px 15px 3px rgba(0,0,0,0.06);
}
#content .downloads-wrapper .item p { font-size: 95%; line-height: 1.45em; text-align: center; }
#content .downloads-wrapper .item p:last-child { color: #777; margin-top: 11px; margin-bottom: 5px; }
#content .downloads-wrapper .item h3 { min-height: 60px; margin: 5px 0 10px 0; text-align: center; font-size: 1.2em; line-height: 1.1em; color: var(--mf-blue); }


#content .downloads-wrapper .item a:hover h3 { color: var(--mf-gray); }


#content .downloads-wrapper { display: flex; flex-flow: row wrap; align-content: flex-start; gap: 30px; margin-top: 60px; margin-bottom: 40px; }
#content .downloads-wrapper .item { align-self: stretch; }

#content .downloads-wrapper .item {
  display: inline-block;
  background: rgba(0,0,0,.04);
  margin: 0;
  padding: 30px 35px;
  border-radius: .5rem;

  vertical-align: text-top;
}

@media (min-width: 1024px) { #content .downloads-wrapper .item { width: calc(33% - 30px); } }
@media (min-width: 1025px) { #content .downloads-wrapper .item { width: calc(33% - 30px); } }
@media (max-width: 1023px) { #content .downloads-wrapper .item { width: calc(50% - 30px); } }
@media (max-width: 580px) {
#content .downloads-wrapper .item {
  width: calc(90% - 35px);
  padding: 30px 40px;
  margin-left: auto;
  margin-right: auto;
}
#content .downloads-wrapper .item p.thumb img {
  max-height: 225px;
}
}



#content .two-columns-wrapper { display: flex; flex-flow: row wrap; align-content: flex-start; gap: 100px; margin-top: 60px; margin-bottom: 40px; }

#content .two-columns-wrapper .item {
  display: inline-block;
  margin: 0;
  padding: 0;
  width: calc(50% - 50px);
  vertical-align: text-top;
}

@media (max-width: 768px) {
#content .two-columns-wrapper .item {
  width: calc(90% - 50px);
  padding: 0;
  margin-left: auto;
  margin-right: auto;
}
}


.praxis-person-item {
  display: flex;
  flex-flow: row wrap;
  align-content: flex-start;

  background: transparent;
  border-radius: 0;
  padding: 0;
  margin: 0 auto 80px auto;
}

.praxis-person-item .image {
  width: 30%;
}

.praxis-person-item .image img {
  border-radius: 50px;
  overflow: hidden;
  line-height: 0;
}


.praxis-person-item .text-wrapper {
  width: 62.5%;
  padding-left: 8.5%;
}


@media (max-width: 520px) {
.praxis-person-item .image {
  width: 70%;
  margin: 0 auto;
  margin-left: 5%;
  margin-bottom: 30px;
}
.praxis-person-item .text-wrapper {
  width: 90%;
  margin: 0 auto;
  padding-left: 0;
}
.praxis-person-item .image img {
  border-radius: 25px;
}
}


.praxis-person-item h2 {
  margin: 0 0 10px 0;
}
.praxis-person-item h3 {
  margin: 0 0 50px 0;
  color: var(--mf-blue);
}

#content .praxis-person-item ul {
  margin: 0;
  display: block;
  position: relative;
}

#content .praxis-person-item ul li {
  position: relative;
  display: inline-block;
  list-style-type: none;
  font-weight: 400;
  background: none;
  padding: 0;
  margin-right: 18px;
  margin-bottom: 2px;
  font-size: .90em;

  transition: all .3s ease;

/*
padding: 9px 15px;
background: rgba(46,40,44,.1);
border-radius: 20px;
margin-right: 5px;
margin-bottom: 10px;
font-size: .92em;
*/
}

#content .praxis-person-item ul li::after {
/*  content: "";
  display: inline-block;
  position: absolute;
  right: -18px;
  top: 0;
  margin: 0;
  padding: 0;
  opacity: .10;
  border-left: 3px solid var(--mf-gray);
  height: 22px; */
}

#content .praxis-person-item ul li:last-of-type::after {
  display: none;
}


#content ul.keywords {
  margin: 60px auto 0 auto;
  display: block;
  text-align: center;

}

#content ul.keywords li {
  display: inline-block;
  list-style-type: none;
  padding: 12px 22px;
  background: rgba(46,40,44,.1);
  border-radius: 20px;
  font-weight: 600;

  margin-right: 8px;
  margin-bottom: 15px;

  transition: all .3s ease;
}

.jobs .blog-items:not(.items-leading) div[itemprop="blogPost"] {
    margin-bottom: 0;
}

.jobs .blog-items:not(.items-leading) h2 {
  margin: 0;
  padding: 0;
  font-size: 1.5em;
}

h2.jobs-style a,
.jobs .blog-items:not(.items-leading) h2 a {
  display: block;
  background: rgba(46,40,44,.1);
  padding: 45px 35px;
  border-radius: 0.75rem;
  margin-bottom: 30px;
  color: var(--mf-blue);

  transition: .3s ease;
}

h2.jobs-style a:hover,
.jobs .blog-items:not(.items-leading) h2 a:hover {
  background: rgba(46,40,44,.15);
  color: var(--mf-gray);
  padding-left: 40px;
}

h2.jobs-style.hansefit a {
  background: #1a4697;
  color: var(--bb-text-white);
}
h2.jobs-style.hansefit a:hover {
  background: var(--mf-gray);
  color: var(--bb-text-white);
}



#kontaktformular-wrapper {
  display: block;
  width: 100%;
  max-width: 1050px;
  margin: 0 auto 0 auto;
  padding: 0;
  border-top: 0px solid rgba(46,40,44,.12);
}

.aktuelles #kontaktformular-wrapper,
.kontakt #kontaktformular-wrapper,
.home #kontaktformular-wrapper {
  max-width: 1050px;
  border-top: 24px solid rgba(46,40,44,.12);
  padding-top: 60px;
}

.aktuelles #kontaktformular-wrapper,
.max1000px #kontaktformular-wrapper {
  max-width: 1000px;
}
.max950px #kontaktformular-wrapper {
  max-width: 950px;
}
.max900px #kontaktformular-wrapper {
  max-width: 900px;
}
.max850px #kontaktformular-wrapper {
  max-width: 850px;
}
.max800px #kontaktformular-wrapper {
  max-width: 800px;
}
.max750px #kontaktformular-wrapper {
  max-width: 750px;
}
.max700px #kontaktformular-wrapper {
  max-width: 700px;
}
.max650px #kontaktformular-wrapper {
  max-width: 650px;
}


#content p.anfahrt-map-wrapper {
  padding: 50px;
  border-radius: 25px;
  background: rgba(46,40,44,.12);
}

@media (max-width: 520px) {
#content p.anfahrt-map-wrapper {
  padding: 10px;
}
}





/* Leistungen */
body.leistungen-details .columns-2 {
  max-width: 1050px;
  margin: 0 auto;
}

body.leistungen-details .columns-2 .com-content-category-blog__item.blog-item {
  display: block;
  padding: 0;
  margin: 0;
}

body.leistungen-details .columns-2 figure.item-image {
  line-height: 0;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 35px;
}

@media (min-width: 900px) {
body.leistungen-details .columns-2 .com-content-category-blog__item.blog-item {
  display: grid;
  grid-template-columns: 6fr 5fr;
  grid-template-areas: 
  "left right";
  align-items: self-start;
  gap: 80px;
}
body.leistungen-details .columns-2 .item-content {
  grid-area: right;
}
body.leistungen-details .columns-2 figure.item-image {
  grid-area: left;
}
}

.fs-details #content h2.fs-klasse {
  color: var(--bb-red);
  margin-bottom: 10px;
}

.fs-details #content h3 {
  margin-top: 0px;
  margin-bottom: 32px;
}

.fs-details #content h4 {
  font-size: 1.2em;
  margin: 32px 0 8px 0;
}

span.orange-before::before,
.fs-details #content h4::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 4px;
  background-color: var(--bb-red);
  border-radius: 1px;
  overflow: hidden;
  margin-right: 7px;
  margin-bottom: 4px;
}

.fs-details #content ul {
  margin: 0;
  padding: 0;
  font-size: 92.5%;
  width: 100%;
  max-width: 550px;
}

.fs-details #content ul li {
  list-style-type: none;
  padding: 3px 20px 3px 2px;
  margin: 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.fs-details #content ul li:last-of-type {
  /* border-bottom: 0px; */
}

.fs-details #content p.cta {
  margin: 56px 0 16px 0;
}


/* Home */
.welcome-wrapper {
  display: block;
}

.welcome-wrapper .welcome-img {
  background: var(--bb-bg-grey);
  border-radius: 24px;
  overflow: hidden;
  padding: 0;
  margin: 0;
  line-height: 0 !important;
}

#content .welcome-wrapper .welcome-txt p.cta {
  margin-bottom: 90px;
}

@media(min-width: 900px) {
.welcome-wrapper {
  display: grid;
  grid-template-columns: 5fr 6fr;
  align-items: self-start;
  gap: 45px;
}
}

h2.home.unsere-expertise {
  font-size: 1.45em;
  text-align: center;
  margin-top: 0;
}

#content ul.home.expertise {
  display: block;
  margin: 0;
  padding: 0;
  text-align: center;
}

#content ul.home.expertise li {
  list-style-type: none;
  display: inline-block;
  border: 3px solid rgba(10,0,0,0.06);
  padding: 10px 25px;
  margin: 0 5px 15px 5px;
  border-radius: 75px;

}


/* Fuhrpark */
.fuhrpark .blog .blog-items {
  display: grid;
  align-items: stretch;
}

.fuhrpark .blog .blog-items.columns-3 {
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* Zwei */
.fuhrpark .blog .blog-items.columns-4 {
  grid-template-columns: repeat(2, 1fr);
  gap: 35px;
}

.fuhrpark .blog .blog-items.columns-2 .blog-item,
.fuhrpark .blog .blog-items.columns-3 .blog-item,
.fuhrpark .blog .blog-items.columns-4 .blog-item {
  background: var(--bb-bg-grey);
  padding: 25px 30px 40px 30px;
  border-radius: 24px;
}

body.fuhrpark div[itemprop="blogPost"] {
  margin-bottom: 0;
}

body.fuhrpark .items-leading div[itemprop="blogPost"] {
  margin-bottom: 80px;
}

.fuhrpark .blog .fahrzeug h2 {
  margin: 30px 0 20px 0;
}

.unserteam .items-leading .blog-item p,
.fuhrpark .items-leading .blog-item p {
  max-width: 550px;
  margin-left: 0;
  margin-right: auto;
}


/* Die Fahrschule */
.diefahrschule .blog-items.items-leading {
  display: grid;
  align-items: stretch;
  grid-template-columns: 2fr 1fr;
  gap: 35px;
}

.diefahrschule .blog-items.items-leading h2 {
  margin: 0 0 20px 0;
}
.diefahrschule .blog-items.items-leading figure.item-image {
  margin: 0 0 30px 0;
  line-height: 0;
}

.diefahrschule .blog .blog-items.items-leading .blog-item {
  background: var(--bb-bg-grey);
  padding: 25px 30px 90px 30px;
  border-radius: 24px;
  position: relative;
}

#content p.absolutebottom {
  position: absolute;
  bottom: 22px;
}

@media (max-width: 768px) {
.diefahrschule .blog-items.items-leading,
.fuhrpark .blog .blog-items.columns-3,
.fuhrpark .blog .blog-items.columns-4 {
  grid-template-columns: repeat(1, 1fr);
}
.diefahrschule .blog-items.items-leading .blog-item:nth-of-type(1) {
  margin-bottom: 5px;
}
}

/* Unser Team */
.unserteam .blog .blog-items.columns-2 .blog-item,
.unserteam .blog .blog-items.columns-3 .blog-item,
.unserteam .blog .blog-items.columns-4 .blog-item {
  background: var(--bb-bg-grey);
  padding: 30px 27px 20px 27px;
  border-radius: 24px;
}

.unserteam .blog-items.columns-2 .blog-item h2,
.unserteam .blog-items.columns-3 .blog-item h2,
.unserteam .blog-items.columns-4 .blog-item h2 {
  margin: 0 0 20px 0;
}

.unserteam .blog-items.columns-2 .blog-item figure.item-image,
.unserteam .blog-items.columns-3 .blog-item figure.item-image,
.unserteam .blog-items.columns-4 .blog-item figure.item-image {
  margin: 0 0 30px 0;
  line-height: 0;
}

#content figure.left.item-image,
#content figure.left.item-image img {
  border-radius: 8px;
  overflow: hidden;
  line-height: 0;
  padding: 0;
}


.unserteam.fs-details #content h4 {
  font-size: 1.4em;
}

.unserteam #content p a.booking.whatsapp {
  margin: 25px auto 0 auto;
}

@media (max-width: 1024px) {
.unserteam .blog .blog-items.columns-3 {
  grid-template-columns: repeat(2, 1fr);
  gap: 35px;
}
}

@media (max-width: 680px) {
.unserteam .blog .blog-items.columns-3 {
  grid-template-columns: repeat(1, 1fr);
  gap: 35px;
}
}



.home .blog-items.columns-4 {
  display: grid;
  align-items: stretch;
  /* grid-template-columns: repeat(2, 1fr); */
  grid-template-columns: 2fr 1fr;
  position: relative;
  gap: 30px;
}

/* Team, Fuhrpark */
.home .blog-items.columns-4 .blog-item:nth-of-type(1),
.home .blog-items.columns-4 .blog-item:nth-of-type(2) {
  position: relative;
  background: var(--bb-bg-grey);
  padding: 30px 30px 90px 30px;
  border-radius: 24px;
}

.home .blog-items.columns-4 .blog-item:nth-of-type(1) h2,
.home .blog-items.columns-4 .blog-item:nth-of-type(2) h2 {
  margin: 30px 0 20px 0;
}


.home .blog-items.columns-4 div.blog-item:last-of-type {
  grid-column: 1 / -1;
}

@media (max-width: 768px) {
.home .blog-items.columns-4 {
  grid-template-columns: repeat(1, 1fr);
  gap: 0px;
}
.home .blog-items.columns-4 .blog-item:nth-of-type(1) {
  margin-bottom: 35px;
}
}

/*
footer li.nav-item.item-123 a::after,
footer li.nav-item.item-124 a::after,
footer li.nav-item.item-137 a::after {
  display: block;
  font-size: 83.5%;
  letter-spacing: .0025em;
  opacity: .5;
  margin: 4px 0 0 0;
}


footer li.nav-item.item-123 a::after { content: 'Pkw'; }
footer li.nav-item.item-124 a::after { content: 'Pkw mit Anhänger'; }
footer li.nav-item.item-137 a::after { content: 'Pkw mit Anhänger bis 4.250 kg'; }
*/

.home div.com-content-category-blog__items.blog-items {
  max-width: 950px;
  margin: 0 auto;
}

.home div.com-content-category-blog__items.blog-items.items-leading {
  max-width: 1500px;
  margin: 0 auto;
}


/* Expertise und Counter */
.expertise-counter-wrapper {
  /* background: rgba(10,0,0,.04);
  padding: 50px 40px;
  border-radius: 24px; */
  padding: 0;
  margin: 0;
}

/* Counter Über uns */
.counter-ueber-uns-wrapper {
  display: block;
  padding: 50px 10px;
  margin: 85px 0;
  background: rgba(10, 0, 0, .04);
  border-radius: 16px;
}

.ueber-uns-section {
  display: block;
  padding: 0 20px;
}

@media (min-width: 768px) {
.ueber-uns-section {
  display: grid;
  grid-template-columns: 4fr 3fr;
  gap: 50px;
  padding: 0 50px;
  font-size: 92.5%;
}
}

.ueber-uns-section-item img {
  line-height: 0;
  padding: 0;
  margin: 0;
  margin-bottom: 25px;
  border-radius: 8px;
  overflow: hidden;
}

.ueber-uns-section-item h2,
.ueber-uns-section-item h3 {
  margin-top: 0px;
}


/* Counter */
.counter-section {
  margin-top: 0;
  margin-bottom: 50px;
  padding: 0;
  text-align: center;
}

.counter-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 5px;
  max-width: 1000px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .counter-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.counter-item {
  padding: 15px 40px;
}

.counter {
  display: block;
  font-size: 2.0em;
  font-weight: 700;
  margin-bottom: 25px;
  color: var(--bb-red);
}

.counter-text {
  font-size: 0.95em;
  margin: 0;
}



/* Leistungen Auswahl */

.leistungen-grid {
  display: grid;
  gap: 30px;
  grid-template-columns: 1fr;
}

@media (min-width: 600px) {
.leistungen-grid {
  grid-template-columns: repeat(2, 1fr);
}
}

@media (min-width: 1024px) {
.leistungen-grid {
  grid-template-columns: repeat(4, 1fr);
}
}

.leistungen-item {
  line-height: 0;
  background: transparent;
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
  border: 2px solid rgba(0,0,0,0.08);
  transition: border-color .2s ease-in-out;
}

.leistungen-item:hover {
  border-color: var(--bb-red);
  cursor: pointer;
}

.leistungen-item img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.leistungen-item .headline {
  padding: 28px 5px 18px 5px;
  font-size: 1.20em;
  line-height: 1.25em;
  font-weight: 700;
}

.leistungen-item div.mehr-erfahren {
  padding: 22px 5px 42px 5px;
}

.leistungen-item div.mehr-erfahren a {
  color: var(--bb-red);
  font-size: .95em;
}

.leistungen-item:hover div.mehr-erfahren a {
}

.leistungen-item div.mehr-erfahren a:after {
  content: '→';
  display: inline-block;
  margin-left: 7px;
  transition: all .2s ease-in-out;
}

.leistungen-item:hover div.mehr-erfahren a:after {
  margin-left: 12px;
}


@media (min-width: 1024px) {
.leistungen-item img {
  height: 480px;
}
.leistungen-grid {
  grid-template-columns: 6fr 6fr 6fr 6fr;
  transition: grid-template-columns 0.3s ease-in-out;
}
.leistungen-grid:has(.item-1:hover) { grid-template-columns: 8fr 6fr 6fr 6fr; }
.leistungen-grid:has(.item-2:hover) { grid-template-columns: 6fr 8fr 6fr 6fr; }
.leistungen-grid:has(.item-3:hover) { grid-template-columns: 6fr 6fr 8fr 6fr; }
.leistungen-grid:has(.item-4:hover) { grid-template-columns: 6fr 6fr 6fr 8fr; }
}



/* DIN EN 62305 */
.din-en-62305-wrapper {
  display: block;
  padding: 30px 20px;
  background: rgba(10,0,0,.04);
  border-radius: 24px;
}




@media (min-width: 768px) {
.din-en-62305-wrapper {
  display: grid;
  grid-template-columns: 6fr 5fr;
  gap: 80px;
  padding: 55px 50px;
  font-size: 92.5%;
  width: 100%;
  max-width: 1080px;
  margin: 100px auto 0;
}
}

.din-en-62305-item img {
  line-height: 0;
  padding: 0;
  margin: 0;
  margin-bottom: 25px;
  border-radius: 8px;
  overflow: hidden;
}

.din-en-62305-item h2,
.din-en-62305-item h3 {
  margin-top: 0px;
}


/*
Block Start
*/
#inner-container.givemepadding {
  padding-top: 40px;
  padding-bottom: 20px;
}
@media (max-width: 420px) {
.menu-content {
  top: 144px;
}
#inner-container.givemepadding {
  padding-top: 20px;
}
#firstrow { display: block; }
#firstrow .right { display: none; }
#firstrow .left {
  position: relative;
  display: block;
  left: unset;
  right: unset;
  width: 100%;
  text-align: center;
}
}
/*
Block End
*/


/* Referenzen */
.bsbn-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  padding: 0;
  margin: 0;
  margin-top: 135px;
}

.bsbn-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

/* 3:4 Ratio */
.bsbn-item img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
  /*   transition: transform 0.3s ease; */
}

.bsbn-item:hover img {
  /* transform: scale(1.03); */
}

/* Caption */
.bsbn-caption {
  position: absolute;
  bottom: 25px;
  left: 25px;
  padding: 6px 10px;
  font-size: 0.85rem;
  color: #fff;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 6px;
  backdrop-filter: blur(4px);
}

/* Versatz für optische Dynamik */
@media (min-width: 481px) {
.bsbn-item:nth-child(2n+1) {
  transform: translateY(-55px);
}
}

@media (max-width: 480px) {
.bsbn-gallery {
  grid-template-columns: repeat(1, 1fr);
  margin-top: 60px;
  gap: 30px;
}
}