/*
Theme Name: Kunst für Angeln Theme
Theme URI: https://www.kunstfuerangeln.com
Author: FARN digital brand design
Author URI: https://www.farn.de
Version: 1.0
*/
/*@import url('https://fonts.googleapis.com/css2?family=Gothic+A1:wght@300;400;500;600;700;800;900&display=swap');*/

@font-face {
font-family: 'Gothic A1';
font-style: normal;
font-weight: 400;
src: local('Gothic A1 Regular'), url('fonts/GothicA1-Regular.woff') format('woff');
}
@font-face {
font-family: 'Gothic A1';
font-style: normal;
font-weight: 100;
src: local('Gothic A1 Thin'), url('fonts/GothicA1-Thin.woff') format('woff');
}
@font-face {
font-family: 'Gothic A1';
font-style: normal;
font-weight: 200;
src: local('Gothic A1 ExtraLight'), url('fonts/GothicA1-ExtraLight.woff') format('woff');
}
@font-face {
font-family: 'Gothic A1';
font-style: normal;
font-weight: 300;
src: local('Gothic A1 Light'), url('fonts/GothicA1-Light.woff') format('woff');
}
@font-face {
font-family: 'Gothic A1';
font-style: normal;
font-weight: 500;
src: local('Gothic A1 Medium'), url('fonts/GothicA1-Medium.woff') format('woff');
}
@font-face {
font-family: 'Gothic A1';
font-style: normal;
font-weight: 600;
src: local('Gothic A1 SemiBold'), url('fonts/GothicA1-SemiBold.woff') format('woff');
}
@font-face {
font-family: 'Gothic A1';
font-style: normal;
font-weight: 700;
src: local('Gothic A1 Bold'), url('fonts/GothicA1-Bold.woff') format('woff');
}
@font-face {
font-family: 'Gothic A1';
font-style: normal;
font-weight: 800;
src: local('Gothic A1 ExtraBold'), url('fonts/GothicA1-ExtraBold.woff') format('woff');
}
@font-face {
font-family: 'Gothic A1';
font-style: normal;
font-weight: 900;
src: local('Gothic A1 Black'), url('fonts/GothicA1-Black.woff') format('woff');
}

html {
  box-sizing:border-box;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  word-wrap: normal;
  font-variant-ligatures: common-ligatures;
  -webkit-font-feature-settings: "liga", "clig";
  -moz-font-feature-settings: "liga", "clig";
  font-feature-settings: "liga", "clig";
  -webkit-font-feature-settings: "liga", "lnum";
  -moz-font-feature-settings: "liga", "lnum";
  font-feature-settings: "liga", "lnum";
  position: relative;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
  height: 100%;
  margin-top: 0 !important;
}
*,
*::before,
*::after {
  box-sizing: inherit;
}
body {
  margin: 0;
  padding: 0;
  font-family: 'Gothic A1', Helvetica, Arial, sans-serif;
  font-weight: normal;
  font-size: 17px;
  overflow-x:hidden;
}
body.hidescrollbar{
  overflow-y: hidden;
}

figure {
    margin: 0;
}
img, svg{
  width: 100%;
  height: auto;
  display: block;
}
.wp-block-image.size-large.is-resized img {
  width: revert-layer;
}
a img:hover {
  opacity: 0.8;
}
a{
  font-weight: bold;
  color: #000;
}
a:hover{
  color: #000;
}
p {
  margin-top:0;
  line-height: 1.4em;
}
p:last-child {
  margin-bottom: 0;
}
h1 {
  font-weight: 800;
  text-transform: uppercase;
  margin: 0 0 0.4em;
  font-size: 2.5em;
  font-weight: 300;
  color: #8D9D8C;
  line-height: 1.2em;
}
h2 {
  font-weight: 300;
  text-transform: uppercase;
  font-size: 1.8em;
  margin: 0 0 0.4em;
}
h3 {
  font-weight: bold;
  font-size: 1.5em;
  margin: 0 0 0.4em;
}


/* HEADER ---------------------------------------------------------------------------------------- */
#top-bar {
  text-align: right;
}
.logo img {
  width: 40px;
}



/* HEADER ---------------------------------------------------------------------------------------- */
.kfa-header {
  display: flex;
  width:100%;
  margin:0;
  align-items: center;
  position: relative;
}
.kfa-header .kfa-logo {
  font-size: 2em;
  line-height: 1;
  text-decoration: none;
  z-index: 49;
  padding: 18px 0 10px 5%;
  width: 40px;
  box-sizing: content-box;
}
.kfa-menus {
  width:100%;
  height:100%;
  background-color:white;
  position: fixed;
  top:0;
  left:0;
  display: none;
  padding:3rem 2rem;
  z-index: 50;
  overflow: auto;
}
/* Header-Menu */
.kfa-header .header-menu {
  position: relative;
  padding:0;
}
.kfa-header .header-menu ul {
  display: flex;
  flex-direction: column;
  margin:0;
  padding: 0;
}

.kfa-header .header-menu ul ul {
  padding: 0.3em 0 2em 0;
}

.kfa-header .header-menu ul li{
  list-style-type: none;
}
.kfa-header .header-menu ul li a{
  color:#000;
  padding: 0.2em 0;
  position: relative;
  text-decoration: none;
  display: inline-block;
  font-weight: normal;
  position: relative;
  font-size: 1.2rem;
  font-weight: bold;
  line-height: 1.1;
}
.kfa-header .header-menu > div > ul > li > a {
  padding-right: 70px;
  text-transform: uppercase;
}

#menu-item-3337,
#menu-item-3338 {
padding: 0rem 0.8rem 0rem 0.8rem; 
background: #8D9D8C;
color: #fff;
text-align: center;
}
#menu-item-3338 a,
#menu-item-3337 a {
color: #fff;
padding: 0.8em 0;
}

.kfa-header .header-menu ul li a:hover{
  color:#666;
}
.kfa-header .header-menu ul li.menu-item-has-children ul.sub-menu {
  padding-left: 1em;
}
.kfa-header .header-menu ul li.menu-item-has-children ul.sub-menu li a{
  font-weight: normal;
}
.kfa-header .header-menu ul li.menu-item-has-children ul.sub-menu li:first-child a{
  padding-top:0;
}


/* Headerbar-Menu */
.kfa-header .headerbar-menu {
  width:100%;
  margin-top:2em;
}
.kfa-header .headerbar-menu ul{
  list-style-type: none;
  margin:0;
  padding:0;
  display: flex;
  flex-direction: row;
  background-color: #000;
  justify-content: space-around;
}
.kfa-header .headerbar-menu ul li{
  display: inline-block;
  list-style-type: none;
}
.kfa-header .headerbar-menu ul li a{
  text-decoration: none;
  display: block;
  color:#000;
  font-weight: normal;
  position: relative;
  font-size: 0.9rem;
  padding:0.5rem;
}

/* Menu-Icons */
li.menu-icon a {
  font-size: 0 !important;
  display: inline-block;
  line-height: 1rem;
  vertical-align: middle;
  font-weight: bold !important;
  background-color:black;
}
li.menu-icon a:hover {
  background-color:#666;
}
li.menu-icon a::before {
  content: '';
  display: inline-block;
  height: 30px;
  width: 30px;
  background-size: 20px;
  background-repeat: no-repeat;
  background-position: center;
  cursor:pointer;
  vertical-align: middle;
  margin-top:-2px;
  filter: invert(100%) sepia(0%) saturate(0%) hue-rotate(93deg) brightness(103%) contrast(103%);
}
li.menu-icon.mi-email a::before {
  background-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='utf-8'%3F%3E%3Csvg version='1.1' id='Ebene_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 30 30' style='enable-background:new 0 0 30 30;' xml:space='preserve'%3E%3Cstyle type='text/css'%3E .st0%7Bfill:%23000000;%7D%0A%3C/style%3E%3Cpath class='st0' d='M2.2,5.5V25h25.7V5.5H2.2z M25.8,7.5v0.8L15,15.9L4.2,8.3V7.5H25.8z M4.2,23V10.8L15,18.4l10.8-7.6V23H4.2z'/%3E%3C/svg%3E%0A");
}
li.menu-icon.mi-youtube a::before {
  background-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='utf-8'%3F%3E%3Csvg version='1.1' id='Ebene_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 30 30' style='enable-background:new 0 0 30 30;' xml:space='preserve'%3E%3Cstyle type='text/css'%3E .st0%7Bfill:%23000000;%7D%0A%3C/style%3E%3Cg%3E%3Cpath class='st0' d='M28.9,8.3C28.9,8.3,28.9,8.3,28.9,8.3c-0.4-1.6-1.6-2.8-3.1-3.2C23.6,4.5,15.9,4.5,15,4.5 c-0.9,0-8.6,0-10.8,0.6C2.7,5.6,1.5,6.8,1.1,8.4c-0.4,2.2-0.6,4.4-0.6,6.7c0,2.2,0.2,4.5,0.6,6.8c0.4,1.5,1.6,2.6,3.1,3 c2.2,0.6,9.9,0.6,10.8,0.6s8.6,0,10.8-0.6c1.5-0.4,2.7-1.6,3.1-3.2c0.4-2.2,0.6-4.4,0.6-6.6C29.5,12.8,29.3,10.5,28.9,8.3z M26.9,21.2c-0.2,0.8-0.9,1.5-1.7,1.7c-1.6,0.4-8,0.5-10.3,0.5s-8.7-0.1-10.3-0.5c-0.8-0.2-1.5-0.9-1.7-1.6 c-0.4-2.1-0.6-4.2-0.5-6.4c0-2.1,0.2-4.2,0.5-6.2C3.3,8,3.9,7.3,4.7,7.1c1.6-0.4,8-0.5,10.3-0.5c2.3,0,8.7,0.1,10.3,0.5 c0.8,0.2,1.5,0.9,1.7,1.7c0.4,2.1,0.6,4.2,0.5,6.3C27.5,17.1,27.3,19.2,26.9,21.2z'/%3E%3Cpath class='st0' d='M19.8,14.2l-7-4c-0.3-0.2-0.7-0.2-1,0s-0.5,0.5-0.5,0.9v8c0,0.4,0.2,0.7,0.5,0.9c0.2,0.1,0.3,0.1,0.5,0.1 c0.2,0,0.3,0,0.5-0.1l7-4c0.3-0.2,0.5-0.5,0.5-0.9C20.3,14.7,20.1,14.3,19.8,14.2z M13.2,17.3v-4.6l4,2.3L13.2,17.3z'/%3E%3C/g%3E%3C/svg%3E%0A");
}
li.menu-icon.mi-tel a::before {
  background-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='utf-8'%3F%3E%3Csvg version='1.1' id='Ebene_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 30 30' style='enable-background:new 0 0 30 30;' xml:space='preserve'%3E%3Cstyle type='text/css'%3E .st0%7Bfill:%23000000;%7D%0A%3C/style%3E%3Cg id='phone'%3E%3Cpath class='st0' d='M22.6,25.5c-0.1,0-0.2,0-0.3,0c-3.1-0.3-6.1-1.4-8.7-3.1c-2.4-1.5-4.5-3.6-6-6C6,13.8,4.9,10.8,4.6,7.7 c-0.1-1.6,1-3,2.6-3.2c0.1,0,0.2,0,0.3,0h2.9c0,0,0,0,0,0c1.4,0,2.7,1.1,2.9,2.5c0.1,0.8,0.3,1.7,0.6,2.5c0.4,1.1,0.1,2.3-0.7,3.1 l-0.7,0.7c1.1,1.7,2.6,3.2,4.3,4.3l0.7-0.7c0.8-0.8,2-1.1,3.1-0.7c0.8,0.3,1.6,0.5,2.4,0.6c1.5,0.2,2.5,1.5,2.5,2.9h0v2.9 C25.5,24.2,24.2,25.5,22.6,25.5z M10.3,6.5C10.3,6.5,10.3,6.5,10.3,6.5H7.4c-0.6,0-0.9,0.5-0.9,1c0.3,2.8,1.2,5.5,2.8,7.8 c1.4,2.2,3.2,4,5.4,5.4c2.3,1.5,5,2.5,7.8,2.8c0.6,0,1-0.4,1-0.9v-2.9c0,0,0,0,0,0c0-0.5-0.3-0.9-0.8-0.9c-1-0.1-1.9-0.4-2.9-0.7 c-0.3-0.1-0.7,0-1,0.2l-1.2,1.2c-0.3,0.3-0.8,0.4-1.2,0.2c-2.5-1.4-4.6-3.5-6.1-6.1c-0.2-0.4-0.2-0.9,0.2-1.2l1.2-1.2 c0.2-0.2,0.3-0.6,0.2-0.9c-0.3-0.9-0.6-1.9-0.7-2.9C11.1,6.9,10.8,6.5,10.3,6.5z'/%3E%3C/g%3E%3C/svg%3E%0A");
}
li.menu-icon.mi-xing a::before {
  background-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='utf-8'%3F%3E%3Csvg version='1.1' id='Ebene_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 30 30' style='enable-background:new 0 0 30 30;' xml:space='preserve'%3E%3Cstyle type='text/css'%3E .st0%7Bfill:%23000000;%7D%0A%3C/style%3E%3Cpath id='xing-square' class='st0' d='M4.4,4.5v21h21v-21H4.4z M6.3,6.5h17.2v17.2H6.3V6.5z M18.4,8.4c-0.2,0-0.4,0.2-0.5,0.4 c-2.8,4.9-4.2,7.4-4.3,7.6l2.8,5c0.1,0.2,0.3,0.4,0.5,0.4h1.9c0.1,0,0.3-0.1,0.3-0.2c0-0.1,0-0.1-0.1-0.2l-2.7-5v0l4.3-7.5 c0.1-0.1,0-0.3-0.1-0.4c-0.1,0-0.1,0-0.2,0L18.4,8.4z M10.2,11.2c-0.1,0-0.3,0.1-0.3,0.2c0,0.1,0,0.1,0,0.2l1.3,2.2l-2,3.6 c-0.1,0.1,0,0.3,0.1,0.4c0,0,0.1,0,0.2,0h1.9c0.2,0,0.4-0.2,0.5-0.4c1.3-2.3,2-3.6,2.1-3.7l-1.3-2.3c-0.1-0.2-0.3-0.3-0.5-0.4 L10.2,11.2z'/%3E%3C/svg%3E%0A");
}
li.menu-icon.mi-facebook a::before {
  background-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='utf-8'%3F%3E%3Csvg version='1.1' id='Ebene_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 30 30' style='enable-background:new 0 0 30 30;' xml:space='preserve'%3E%3Cstyle type='text/css'%3E .st0%7Bfill:%23000000;%7D%0A%3C/style%3E%3Cpath class='st0' d='M4.4,4.5v21h21v-21H4.4z M23.5,23.6h-5v-6.4H21l0.4-2.9h-2.8v-1.8c0-0.8,0.2-1.4,1.4-1.4h1.6V8.5 c-0.3,0-1.2-0.1-2.2-0.1c-2.2,0-3.7,1.3-3.7,3.8v2.1h-2.5v2.9h2.5v6.4H6.3V6.5h17.2V23.6z'/%3E%3C/svg%3E%0A");
}
li.menu-icon.mi-instagram a::before {
  background-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='utf-8'%3F%3E%3Csvg version='1.1' id='Ebene_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 30 30' style='enable-background:new 0 0 30 30;' xml:space='preserve'%3E%3Cstyle type='text/css'%3E .st0%7Bfill:%23000000;%7D%0A%3C/style%3E%3Cg%3E%3Cpath class='st0' d='M21.3,4.5H8.8c-2.3,0-4.2,1.9-4.2,4.2v12.6c0,2.3,1.9,4.2,4.2,4.2h12.6c2.3,0,4.2-1.9,4.2-4.2V8.7 C25.6,6.4,23.7,4.5,21.3,4.5z M23.6,21.3c0,1.2-1,2.2-2.2,2.2H8.8c-1.2,0-2.2-1-2.2-2.2V8.7c0-1.2,1-2.2,2.2-2.2h12.6 c1.2,0,2.2,1,2.2,2.2V21.3z'/%3E%3Cpath class='st0' d='M15,9.3c-3.2,0-5.7,2.6-5.7,5.7c0,3.2,2.6,5.7,5.7,5.7c3.2,0,5.7-2.6,5.7-5.7C20.8,11.9,18.2,9.3,15,9.3z M15,18.7c-2,0-3.7-1.7-3.7-3.7c0-2,1.7-3.7,3.7-3.7c2,0,3.7,1.7,3.7,3.7C18.8,17.1,17.1,18.7,15,18.7z'/%3E%3Ccircle class='st0' cx='20.8' cy='9.3' r='1.3'/%3E%3C/g%3E%3C/svg%3E%0A");
}
li.menu-icon a:hover::before {
  /* filter: invert(62%) sepia(30%) saturate(661%) hue-rotate(81deg) brightness(96%) contrast(88%); */
}
.kfa-header .kfa-burger-button-wrapper {
  padding:2rem 5% 1.5rem 0.5rem;
  cursor:pointer;
  z-index: 51;
}
.kfa-header .kfa-burger-button {
  width: 30px;
  height: 30px;
  position: relative;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .25s ease-in-out;
  -moz-transition: .25s ease-in-out;
  -o-transition: .25s ease-in-out;
  transition: .25s ease-in-out;
}
.kfa-header .kfa-burger-button div {
  display: inline-block;
  margin:0;
  width:8px;
  height:8px;
  background-color:#000;
  opacity: 1;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .25s ease-in-out;
  -moz-transition: .25s ease-in-out;
  -o-transition: .25s ease-in-out;
  transition: .25s ease-in-out;
  position: absolute;
  top:22px;
  left:22px;
}
.kfa-header .kfa-burger-button div:nth-child(-n+6) {
  top:11px;
}
.kfa-header .kfa-burger-button div:nth-child(-n+3) {
  top:0;
}
.kfa-header .kfa-burger-button div:nth-child(3n-1) {
  left:11px;
}
.kfa-header .kfa-burger-button div:nth-child(3n-2) {
  left:0;
}

.kfa-header .kfa-burger-button.open {
  transform: rotate(45deg);
}
.kfa-header .kfa-burger-button.open div:nth-child(1),
.kfa-header .kfa-burger-button.open div:nth-child(9) {
  left:11px;
}
.kfa-header .kfa-burger-button.open div:nth-child(3),
.kfa-header .kfa-burger-button.open div:nth-child(7) {
  top:11px;
}

/* SPRACHWÄHLER */
#sprachwaehler-desktop{
  display: none;
}
.sprachwaehler {
  padding: 2.2rem 0.5em 1.5rem 0;
  margin-left: auto;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 0.9em;
  letter-spacing: 0.05em;
}
.sprachwaehler span {
  padding: 10px 0;
}
.sprachwaehler span.current-lang {
  padding: 10px;
}
.sprachwaehler span:first-child {
  border-right: 1px solid #000;
}
.sprachwaehler a {
  padding: 20px 10px;
  text-decoration: none;
  color: #707070;
}

/* Burgerbutton */
.burgerbutton {
    cursor: pointer;
    z-index: 20;
    position: absolute;
    padding: 20px 5% 14px;
    width: auto;
    top: 0;
}
.burgerbutton-linie {
    background: #000;
    height: 2px;
    margin-bottom: 6px;
    transition: 0.4s;
    width: 30px;
}
.burgerbutton.active .burgerbutton-linie:nth-child(1) {
  -webkit-transform: translateY(8px) rotate(45deg);
  -ms-transform: translateY(8px) rotate(45deg);
  transform: translateY(8px) rotate(45deg);
}
.burgerbutton.active .burgerbutton-linie:nth-child(2) {
  width: 0;
  margin-left: 50%;
}
.burgerbutton.active .burgerbutton-linie:nth-child(3) {
  -webkit-transform: translateY(-8px) rotate(-45deg);
  -ms-transform: translateY(-8px) rotate(-45deg);
  transform: translateY(-8px) rotate(-45deg);
}

/* BACKEND FARBEN ---------------------------------------------------------------------------------------- */

.has-weiß-color {
  color:#fff;
}
.has-weiß-background-color {
  background-color:#fff !important;
}
.has-darkgreen-color {
  color:#003833;
}
.has-darkgreen-background-color {
  background-color:#003833 !important;
}
.has-schwarz-color {
  color:#000;
}
.has-schwarz-background-color {
  background-color:#000 !important;
}

/* CONTENT ALLGEMEIN -------------------------------------------------------------------------------------- */

/* allgemeine Abstände nach unten */
.inner-content div,
.inner-content figure,
.inner-content div.wp-block-column
{
  margin-bottom: 2em;
}
.inner-content div.wp-block-columns:last-child,
.inner-content div.wp-block-spacer,
.inner-content div.wp-block-group__inner-container,
.inner-content .wp-block-latest-posts div,
.inner-content .wp-block-cover__inner-container,
.inner-content .wp-block-buttons,
.inner-content .wp-block-column div:last-child,
.inner-content .wp-block-column figure:last-child,
.inner-content div.wp-block-column:last-child,
.inner-content .wp-block-group__inner-container div:last-child,
.inner-content .wp-block-group__inner-container figure:last-child,
.inner-content .wp-block-group__inner-container p:last-child,
.inner-content .wp-block-media-text > .wp-block-media-text__content > p:last-child,
.inner-content .wp-block-media-text > .wp-block-media-text__content,
.inner-content  .yt-thumbnail
{
  margin-bottom: 0;
}
.inner-content p + div, .inner-content p + figure, .inner-content p + iframe {
  margin-top: 2em;
}
.inner-content p + h2, .inner-content p + h3 {
  margin-top: 0.8em;
}
/* Breiten */
.alignfull {
   margin-right: auto;
   margin-left: auto;
   max-width: 100vw;
   position: relative;
   width: 100%;
 }
.alignwide {
  max-width: 1400px;
  width:90%;
  margin-left:auto;
  margin-right:auto;
}
.inner-content > :not(.alignwide):not(.alignfull),
.wp-block-group.alignfull > .wp-block-group__inner-container,
.wp-block-cover.alignfull > .wp-block-cover__inner-container > *:not(.alignwide):not(.alignfull)
{
   width:90%;
   margin-left:auto;
   margin-right:auto;
   max-width: 900px;
}
/* Abstände für Alignfull-Blöcke */
.inner-content {
  padding: 3em 0;
}
.wp-block-group.alignfull.has-background, .wp-block-cover.alignfull{
  padding:3em 0;
  margin: 3em auto;
}
.wp-block-image.alignfull, .wp-block-media-text.alignfull{
  margin: 3em auto;
}
.inner-content > .alignfull + .alignfull,
.inner-content > .alignfull:first-child
{
  margin-top:-3em;
}
.inner-content > .alignfull:last-child
{
  margin-bottom: -3em !important;
}
/* padding farbige Boxen */
.inner-content .wp-block-group.has-background:not(.alignfull), .wp-block-media-text.has-background .wp-block-media-text__content {
  padding:2em;
  box-sizing: border-box;
}


/* BLÖCKE ---------------------------------------------------------------------------------------- */

.wp-block-button__link {
  background-color: #000;
  border-radius: 0px;
  font-size: 1em;
  text-transform: uppercase;
  margin-bottom: 2em;
}

.wp-block-button {
  margin-bottom: 2em;
}

.wp-block-separator {
  margin-bottom: 2em;
  border-bottom: 0em;
}

.wp-block-cover, .wp-block-cover-image {
  padding: 2em 5%;
}
.wp-block-cover .wp-block-cover__inner-container {
  width: 100% !important;
}
.wp-block-cover > div > .wp-block-group.alignwide {
  width: 100%;
}
.wp-block-cover h2 {
  font-size: 10vw;
  font-weight: bold;
  line-height: 1.2em;
}

/* FOOTER */

footer {
  width:90%;
  margin:0 auto;
  max-width: 1400px;
  padding:3em 0;
  font-size: 0.85em;
}
footer img {
  margin-bottom: 40px;
}
footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
footer ul.menu > li {
  margin-bottom: 20px;
}

footer ul.menu > li.page-item-1960,
footer ul.menu > li.page-item-2115 {
  display: none;
}
footer .sub-menu {
  display: block;
}
footer .menu > li > a {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.9em;
}
footer .sub-menu > li a {
  margin-top: 9px;
}
footer .menu a {
  text-decoration: none;
  font-weight: normal;
  padding: 0 0 4px;
  display: inline-block;
}
footer .menu a:hover {
  border-bottom: 1px solid #000;
  margin-bottom: -1px;
}



/* Language */
.wpml-ls-display {
  width: 0;
  overflow: hidden;
  display: inline-block;
}
.wpml-ls-item > a {
  padding: 0 !important;
  width: 32px;
  height: 32px;
  background-image: url(images/flag-de-m.png);
  background-size: contain;
  margin: 6px;
  background-repeat: no-repeat;
  background-position: center center;
}
.wpml-ls-item > a:hover {
  opacity: 0.8;
}

.wpml-ls-item.wpml-ls-item-en > a {
  background-image: url(images/flag-en-m.png);
}

/* Media Queries ---------------------------------------------------------------------------------------- */
@media only screen and (min-width: 500px) {
  .wp-block-cover h2 {
    font-size: 50px;
  }
}

@media only screen and (min-width: 768px) {
  h1 {
    font-size: 4em;
    line-height: 1.1em;
  }
  footer ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
  }
}

@media only screen and (min-width: 990px) {
  h1 {
    font-size: 5em;
    line-height: 1em;
  }
}

@media only screen and (min-width: 1370px) {
  .kfa-header {
    width:90%;
    max-width:1400px;
    margin:0 auto;
    padding:1em 0 1.5em;
    align-items:flex-start;
    height:100%;
  }
  .kfa-header .kfa-logo{
    padding: 0;
    box-sizing: content-box;
    width: 80px;
  }
  .kfa-menus {
    padding:0;
    display:flex;
    flex-direction: column;
    position: relative;
    overflow: visible;
    align-items: flex-start;
  }
  .kfa-header .header-menu {
    order:2;
    padding:0;
    display: flex;
    justify-content: flex-end;
    align-items: end;
    position: absolute;
    width:100%;
    top:54px;
  }
  .kfa-header .header-menu > div {
    margin-right: -0.8rem;
    text-align: left;
  }
  .kfa-header .header-menu ul {
    padding: 1em 2em 2em 2em;
    display: inline-block;
  }
  .kfa-header .header-menu ul:hover {
    background-color: #f2f2f2;
  }
  .kfa-header .header-menu ul:hover li.menu-item-has-children ul.sub-menu{
    display: flex;
    max-width: 150px;
  }
  .kfa-header .header-menu ul ul {
    padding: 0;
  }
  .kfa-header .header-menu ul li{
    position: relative;
    float: left;
    width: auto;
  }
  .kfa-header .header-menu ul li a{
    font-size: 1rem;
    padding: 1rem 0.8rem 1rem 0.8rem;
  }

  #menu-item-3337 a,
  #menu-item-3338 a {
  padding: 1rem 0.8rem 1rem 0.8rem; 
  background: #8D9D8C;
  color: #fff;
  }

  .kfa-header .header-menu ul li.menu-item-has-children ul.sub-menu {
    display:none;
    position: relative;
    padding:0;
    flex-direction: column;
    background-color: #f2f2f2;
    align-items: flex-start;
    text-align: left;
  }
  .kfa-header .header-menu ul.sub-menu li {
    float: none;
  }
  .kfa-header .header-menu ul li.menu-item-has-children ul.sub-menu li a{
    width:100%;
    padding:0.5em 0.8em;
  }
  .kfa-header .header-menu ul li.menu-item-has-children ul.sub-menu li:first-child a{
    padding-top:0.5em;
  }
  .kfa-header .header-menu ul li.menu-item-has-children ul.sub-menu li:last-child a{
    padding-bottom:1em;
  }

  header #menu-hauptmenue > li#menu-item-88,
  header #menu-hauptmenue-englisch > li#menu-item-1637 {
    display: none;
  }

  .kfa-header .headerbar-menu {
    order:1;
    margin:0;
    flex-direction: row;
    display: flex;
  }
  .kfa-header .headerbar-menu ul {
    flex-direction: row;
    justify-content: flex-end;
    background-color: transparent;
  }
  .kfa-header .headerbar-menu ul li a{
    padding:0;
    margin-left: 5px;
  }
  .kfa-header .kfa-burger-button-wrapper {
    display: none;
  }
  .kfa-header li.menu-button a{
    margin-top: 0;
    margin-left: 10px;
  }
  #sprachwaehler-mobile{
    display: none;
  }
  #sprachwaehler-desktop{
    display: block;
    padding: 5px 10px 0 0;
  }
  footer ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    justify-content: space-between;
  }
  .burgerbutton {
    display: none;
  }
  body.logged-in {
    margin-top: 32px;
  }

  .wpml-ls-item > a {
    background-image: url(images/flag-de-2.jpg);
    width: 142px;
    height: 28px;
    margin: 0 12px 0;
    background-position: right;
  }

  .wpml-ls-item.wpml-ls-item-en > a {
    background-image: url(images/flag-en-2.jpg);
  }

  .kfa-header .header-menu > div > ul > li > a {
  padding-right: 70px;
  }
}



@media only screen and (max-width: 990px) {
  #wpadminbar{
    display: none;
  }
  body.logged-in {
    margin-top: 0;
  }
}
