/*
Theme Name: Enfold Child
Description: A <a href='http://codex.wordpress.org/Child_Themes'>Child Theme</a> for the Enfold Wordpress Theme.
Version: 1.0
Author: Kriesi
Author URI: http://www.kriesi.at
Template: enfold
*/

/* Add your own styles here: */

.avia_textblock p {
  line-height: 140% !important;
}

h1 {
  font-size: clamp(30px, 5vw, 61px);
  line-height: clamp(30px, 6vw, 61px);
  letter-spacing: 0 !important;
}

h2 {
  font-size: clamp(28px, 3.8vw, 49px);
  line-height: clamp(31px, 4.8vw, 61px);
}

h3 {
  font-size: clamp(24px, 3vw, 39px);
  line-height: clamp(28px, 4vw, 49px);
}

h4 {
  font-size: clamp(23px, 2.5vw, 31px);
  line-height: clamp(26px, 3.5vw, 39px);
}

#top .special_amp {
  font-size: inherit;
  color: inherit;
  line-height: 1;
  font-style: normal;
  font-family: inherit;
  font-weight: inherit;
}

/* Button animation */
#top .slide-button {
  background: transparent !important;
}

#top .slide-button .avia-button {
  position: relative;
  overflow: hidden;
  border: 0 !important;
  border-radius: 0 !important;
  background: #0093a7 !important;
  color: #fff !important;
  isolation: isolate;
}

#top .slide-button.startbtn .avia-button {
  background: #fbb800 !important;
}

#top .slide-button .avia-button::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #005a77;
  z-index: -1;
  transform: translateX(0);
  transition: transform 0.45s cubic-bezier(.7, 0, .2, 1);
}

#top .slide-button .avia-button::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 51px;
  height: 100%;
  background: #0093a7;
  clip-path: polygon(50% 0, 100% 0, 100% 100%, 0 100%);
  z-index: 0;
}
#top .slide-button.startbtn .avia-button::after {
   background: #fbb800!important;
}
#top .slide-button .avia-button:hover::before {
  transform: translateX(-100%);
}

#top .slide-button .avia_iconbox_title,
#top .slide-button .avia_button_icon {
  position: relative;
  z-index: 2;
}

#top .slide-button .avia_button_icon {
  display: inline-flex;
  transform: rotate(0deg);
  transform-origin: center;
  transition: transform 0.35s ease;
}

#top .slide-button .avia-button:hover .avia_button_icon,
#top .slide-button .avia-button:focus-visible .avia_button_icon {
  transform: rotate(-45deg);
}

#top .avia-button.avia-size-large .avia_button_icon.avia-svg-icon svg:first-child {
  width: 0.8em;
  height: 0.8em;
  margin-bottom: -2px;
}

#top .avia-button .avia_iconbox_title {
  padding-right: 28px;
}

#top .avia-button.avia-size-large {
  padding: 15px 16px 13px;
}

/* Header */
.logo {
  padding: 12px 0;
}

#top .av-main-nav > li > a {
  padding: 0 24px;
}

#top #header .av-main-nav > li:not(.menu-button) > a .avia-menu-text {
  position: relative;
  display: inline-block;
}

#top #header .av-main-nav > li:not(.menu-button) > a .avia-menu-text::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 48px;
  width: 100%;
  height: 2px;
  background: #fbba00;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s ease;
}

#top #header .av-main-nav > li:not(.menu-button) > a:hover .avia-menu-text::after,
#top #header .av-main-nav > li:not(.menu-button).current-menu-item > a .avia-menu-text::after,
#top #header .av-main-nav > li:not(.menu-button).current_page_item > a .avia-menu-text::after {
  transform: scaleX(1);
  transform-origin: left;
}

#top #header .av-main-nav > li:not(.menu-button).current-menu-item > a[href*="#"] .avia-menu-text::after,
#top #header .av-main-nav > li:not(.menu-button).current_page_item > a[href*="#"] .avia-menu-text::after {
  transform: scaleX(0);
  transform-origin: right;
}

#top #header .av-main-nav > li:not(.menu-button).current-menu-item > a[href*="#"]:hover .avia-menu-text::after,
#top #header .av-main-nav > li:not(.menu-button).current_page_item > a[href*="#"]:hover .avia-menu-text::after,
#top #header .av-main-nav > li:not(.menu-button).current-menu-item > a[href*="#"]:focus-visible .avia-menu-text::after,
#top #header .av-main-nav > li:not(.menu-button).current_page_item > a[href*="#"]:focus-visible .avia-menu-text::after {
  transform: scaleX(1);
  transform-origin: left;
}

.page-id-22 #menu-item-40 {
  display: none;
}

@media only screen and (max-width: 1194px) {
  #header_main .menu-item {
    display: none;
  }

  .main_menu {
    display: block !important;
  }

  .av-burger-menu-main.menu-item-avia-special {
    display: block;
  }
}

/* Utility */
.greygradient {
  background-color: #c8d3d9;
  background-image: linear-gradient(
    96deg,
    rgba(255, 255, 255, 0.5) 0.81%,
    rgba(255, 255, 255, 0) 50%,
    rgba(255, 255, 255, 0.5) 99.19%
  );
}

.bxshdw {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
}

#top .av-iconlist-small li {
  margin-bottom: 3px;
}

@media (min-width: 1033px) {
  .desktopheadfix {
    display: block;
  }
}

@media (max-width: 1400px) {
  .whitebg {
    background: rgba(255, 255, 255, 0.7);
    padding: 20px;
  }

  .tabfixbg {
    background-image: url("https://kmpone.simonandfriends.de/wp-content/uploads/2026/06/Slide-1.jpg");
    background-repeat: no-repeat;
    background-position: 50% 100%;
    background-attachment: scroll !important;
    background-size: cover !important;
  }

  .hlb-silk-slider {
    display: none;
  }
}

/* Contact */
p.kontakthead {
  margin-bottom: 17px;
  font-family: gotham-bold;
  font-size: 31px;
  font-weight: 400;
  line-height: 100% !important;
  text-align: center;
}

p.kontaktnummer,
p.kontaktnummerzwei {
  font-size: 25px;
  font-weight: 300;
  line-height: 120% !important;
  text-align: center;
}

p.kontakttage,
p.kontakttagezwei {
  font-size: 20px;
  font-weight: 300;
  color: #c8d3d9 !important;
  text-align: center;
}

p.kontakttage {
  margin-top: 52px;
}

p.kontaktzweiterstandort {
  font-family: gotham-bold;
  font-size: 25px;
  font-weight: 400;
  line-height: 120% !important;
}

/* Text and footer links */
#top #main .avia_textblock a:not(.avia-button):not(.button),
#top #main .entry-content-wrapper p a:not(.avia-button):not(.button),
#top #main .entry-content-wrapper li a:not(.avia-button):not(.button),
#top #main .kontaktnummer a,
#top #footer a:not(.avia-button):not(.button),
#top #socket a:not(.avia-button):not(.button) {
  position: relative;
  display: inline-block;
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  text-decoration-color: currentColor;
  transition: text-decoration-color 0.2s ease;
}

#top #main .avia_textblock a:not(.avia-button):not(.button)::after,
#top #main .entry-content-wrapper p a:not(.avia-button):not(.button)::after,
#top #main .entry-content-wrapper li a:not(.avia-button):not(.button)::after,
#top #main .kontaktnummer a::after,
#top #footer a:not(.avia-button):not(.button)::after,
#top #socket a:not(.avia-button):not(.button)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 1px;
  width: 100%;
  height: 2px;
  background: #fbba00;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s ease;
}

#top #main .avia_textblock a:not(.avia-button):not(.button):hover,
#top #main .avia_textblock a:not(.avia-button):not(.button):focus-visible,
#top #main .entry-content-wrapper p a:not(.avia-button):not(.button):hover,
#top #main .entry-content-wrapper p a:not(.avia-button):not(.button):focus-visible,
#top #main .entry-content-wrapper li a:not(.avia-button):not(.button):hover,
#top #main .entry-content-wrapper li a:not(.avia-button):not(.button):focus-visible,
#top #main .kontaktnummer a:hover,
#top #main .kontaktnummer a:focus-visible,
#top #footer a:not(.avia-button):not(.button):hover,
#top #footer a:not(.avia-button):not(.button):focus-visible,
#top #socket a:not(.avia-button):not(.button):hover,
#top #socket a:not(.avia-button):not(.button):focus-visible {
  text-decoration-color: transparent;
}

#top #main .avia_textblock a:not(.avia-button):not(.button):hover::after,
#top #main .avia_textblock a:not(.avia-button):not(.button):focus-visible::after,
#top #main .entry-content-wrapper p a:not(.avia-button):not(.button):hover::after,
#top #main .entry-content-wrapper p a:not(.avia-button):not(.button):focus-visible::after,
#top #main .entry-content-wrapper li a:not(.avia-button):not(.button):hover::after,
#top #main .entry-content-wrapper li a:not(.avia-button):not(.button):focus-visible::after,
#top #main .kontaktnummer a:hover::after,
#top #main .kontaktnummer a:focus-visible::after,
#top #footer a:not(.avia-button):not(.button):hover::after,
#top #footer a:not(.avia-button):not(.button):focus-visible::after,
#top #socket a:not(.avia-button):not(.button):hover::after,
#top #socket a:not(.avia-button):not(.button):focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Team stats card */
#top .hlb-team-element {
  width: 100%;
  position: relative;
  padding-bottom: 70px;
}

#top .hlb-team-panel {
  position: relative;
  overflow: hidden;
  min-height: 350px;
  display: grid;
  grid-template-columns: 34% 1fr;
  padding: 23px 40px;
  background: #064757;
  border-radius: 8px;
}

#top .hlb-team-panel::before,
#top .hlb-team-panel::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  transform: skewX(-28deg);
  transform-origin: bottom right;
  pointer-events: none;
  z-index: 0;
}

#top .hlb-team-panel::before {
  right: 10%;
  width: 26%;
  background: #075f73;
}

#top .hlb-team-panel::after {
  right: -11%;
  width: 25%;
  background: #0999a8;
}

#top .hlb-team-icon,
#top .hlb-team-content {
  position: relative;
  z-index: 1;
}

#top .hlb-team-icon img {
  width: clamp(150px, 18vw, 230px);
  height: auto;
  display: block;
}

#top .hlb-team-content h3 {
  margin-top: 0;
}

#top .hlb-team-content p {
  margin-bottom: 0;
}

#top .hlb-team-content p,
#top .hlb-team-content h3 {
  color: #fff;
}

#top .hlb-stats-box {
  width: min(860px, calc(100% - 100px));
  min-height: 150px;
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  z-index: 2;
  background: #fff;
  border-radius: 8px;
}

#top .hlb-stat-item {
  text-align: center;
  position: relative;
  padding: 22px 10px;
}

#top .hlb-stat-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  height: 60%;
  width: 1px;
  transform: translateY(-50%);
  background: #cfcfcf;
}

#top .hlb-stat-item img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  display: block;
  margin: 0 auto 14px;
}

#top .hlb-stat-value {
  font-weight: 400;
  font-family: gotham-bold;
  color: #005a77;
}

@media only screen and (min-width: 989px) and (max-width: 1348px) {
  #top .hlb-team-element {
    padding-bottom: 0 !important;
  }

  #top .hlb-team-panel {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 24px !important;
    min-height: 0 !important;
    padding: 23px 40px 150px !important;
  }

  #top .hlb-team-icon img {
    width: 150px !important;
  }

  #top .hlb-team-content {
    max-width: 100% !important;
  }

  #top .hlb-stats-box {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
    width: calc(100% - 48px) !important;
    margin: -112px auto 0 !important;
  }
}

@media (max-width: 900px) {
  #top .hlb-team-element {
    width: 100%;
    padding-bottom: 0;
  }

  #top .hlb-team-panel {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 23px 40px 110px;
  }

  #top .hlb-team-icon img {
    width: 150px;
  }

  #top .hlb-stats-box {
    width: calc(100% - 32px);
    position: relative;
    left: auto;
    bottom: auto;
    transform: none;
    margin: -78px auto 0;
  }
}

@media (max-width: 640px) {
  #top .hlb-team-panel {
    padding: 23px 24px 96px;
  }

  #top .hlb-team-panel::before {
    right: -6%;
    width: 44%;
  }

  #top .hlb-team-panel::after {
    right: -32%;
    width: 48%;
  }

  #top .hlb-stats-box {
    grid-template-columns: 1fr;
    margin-top: -64px;
  }

  #top .hlb-stat-item:not(:last-child)::after {
    top: auto;
    right: 24px;
    bottom: 0;
    left: 24px;
    width: auto;
    height: 1px;
    transform: none;
  }
  #socket .sub_menu_socket li {
	padding: 5px 10px!important;
   }
}

/* Portfolio anchor navigation */
#top .hlb-portfolio-nav-wrap {
  position: relative !important;
  top: auto !important;
  z-index: auto !important;
}

#top .hlb-portfolio-nav-shell {
  position: relative;
  width: 100%;
  background: #fff;
}

#top .hlb-portfolio-nav {
  position: relative !important;
  display: flex;
  justify-content: center;
  gap: clamp(24px, 4vw, 56px);
  padding: 18px 0;
  background: #fff !important;
  z-index: 1;
}

#top .hlb-portfolio-nav.is-fixed {
  position: fixed !important;
  top: var(--hlb-fixed-top, 0px) !important;
  left: 0 !important;
  right: auto !important;
  width: 100vw !important;
  box-sizing: border-box;
  z-index: 10000 !important;
  background: #fff !important;
  transform: translateZ(0);
}

#top .hlb-portfolio-nav::before,
#top .hlb-portfolio-nav.is-fixed::before {
  content: none !important;
}

#top .hlb-portfolio-nav a {
  position: relative;
  z-index: 2;
  display: inline-block;
  text-decoration: none;
  white-space: nowrap;
  font-family: gotham-bold;
  font-weight: 400;
  font-size: 25px;
}

#top .hlb-portfolio-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background: #fbba00;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s ease;
}

#top .hlb-portfolio-nav a:hover::after,
#top .hlb-portfolio-nav a:focus-visible::after,
#top .hlb-portfolio-nav a.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

#top #indirekte-steuern,
#top #internationales-steuerrecht,
#top #tax-compliance,
#top #schulungen-webinare {
  scroll-margin-top: 150px;
}

@media (max-width: 767px) {
  #top .hlb-portfolio-nav {
    justify-content: flex-start;
    overflow-x: auto;
    gap: 24px;
    padding: 14px 16px;
  }
}

/* Service images */
#top {
  --hlb-service-screen-cap: 1920px;
  --hlb-service-container-max: 1512px;
  --hlb-service-container-padding: 50px;
  --hlb-service-edge-gap: 50px;

  --hlb-service-viewport: min(100vw, var(--hlb-service-screen-cap));
  --hlb-service-content-width: min(
    calc(var(--hlb-service-container-max) - (var(--hlb-service-container-padding) * 2)),
    100vw
  );
  --hlb-service-bleed: max(
    0px,
    calc((var(--hlb-service-viewport) - var(--hlb-service-content-width)) / 2 - var(--hlb-service-edge-gap))
  );
}

#top .flex_column.hlb-service-image {
  position: relative;
  z-index: 1;
  overflow: visible;
}

#top .flex_column.hlb-service-image-right .avia-image-container {
  width: calc(100% + var(--hlb-service-bleed)) !important;
  max-width: none;
}

#top .flex_column.hlb-service-image-left .avia-image-container {
  width: calc(100% + var(--hlb-service-bleed)) !important;
  max-width: none;
  margin-left: calc(var(--hlb-service-bleed) * -1);
}

#top .flex_column.hlb-service-image .avia-image-container-inner,
#top .flex_column.hlb-service-image .avia-image-overlay-wrap,
#top .flex_column.hlb-service-image img {
  width: 100%;
  max-width: none;
}

#top .flex_column.hlb-service-image img {
  display: block;
  height: auto;
}

@media (max-width: 767px) {
  #top .flex_column.hlb-service-image-left .avia-image-container,
  #top .flex_column.hlb-service-image-right .avia-image-container {
    width: 100% !important;
    margin-left: 0;
  }
}

/* Person cards */
#top .hlb-person-grid {
  --hlb-person-row-max: 1820px;
  --hlb-person-row-edge-gap: 50px;
  --hlb-person-intro-max: 1310px;
  --hlb-person-card-height: 500px;
  --hlb-person-card-speed: 0.75s;
  --hlb-person-content-speed: 0.65s;
  --hlb-person-motion: cubic-bezier(.22, .61, .36, 1);

  --hlb-person-row-width: min(
    calc(100vw - (var(--hlb-person-row-edge-gap) * 2)),
    var(--hlb-person-row-max)
  );
  --hlb-person-normal-width: min(100%, var(--hlb-person-intro-max));
  --hlb-person-closed-inset: max(
    0px,
    calc((var(--hlb-person-row-width) - var(--hlb-person-normal-width)) / 2)
  );

  overflow-x: hidden;
  overflow-x: clip;
}

#top .hlb-person-grid .entry-content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  width: var(--hlb-person-row-width);
  max-width: none;
  margin-left: calc(50% - (var(--hlb-person-row-width) / 2));
  padding-left: var(--hlb-person-closed-inset);
  padding-right: var(--hlb-person-closed-inset);
  box-sizing: border-box;
  transition:
    padding-left var(--hlb-person-card-speed) var(--hlb-person-motion),
    padding-right var(--hlb-person-card-speed) var(--hlb-person-motion);
}

#top .hlb-person-grid .entry-content-wrapper > .flex_column:not(.hlb-person-card) {
  flex: 0 0 100%;
  width: 100% !important;
  max-width: 100%;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

#top .hlb-person-grid .entry-content-wrapper > .flex_column:not(.hlb-person-card) > * {
  max-width: var(--hlb-person-intro-max);
  margin-left: auto;
  margin-right: auto;
}

#top .hlb-person-grid .entry-content-wrapper > .hlb-person-card {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  flex: 1 1 0;
  min-width: 0;
  height: var(--hlb-person-card-height) !important;
  min-height: var(--hlb-person-card-height) !important;
  max-height: var(--hlb-person-card-height) !important;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  isolation: isolate;
  border-radius: 16px;
  border: 1px solid #fff;
  background: rgba(247, 250, 252, 0.5);
  box-shadow: 0 2px 25px rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(2.5px);
  -webkit-backdrop-filter: blur(2.5px);
  transition:
    flex-grow var(--hlb-person-card-speed) var(--hlb-person-motion),
    background 0.35s ease,
    border-color 0.35s ease;
}

#top .hlb-person-card > .avia_codeblock_section {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  margin: 0 !important;
  padding: 0 !important;
  clear: none !important;
}

#top .hlb-person-card .avia_codeblock {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: hidden;
}

#top .hlb-person-card::after {
  content: "";
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 0;
  height: 2px;
  background: #fbba00;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s ease;
  z-index: 5;
}

#top .hlb-person-photo {
  position: relative;
  height: 240px;
  margin: 15px 20px 0;
  overflow: visible;
  border-bottom: 1px solid #005a77;
}

#top .hlb-person-photo img {
  display: block;
  max-width: 100%;
  height: 100%;
  margin: 0 auto;
  object-fit: contain;
  object-position: bottom center;
  transition: none;
}

#top .hlb-person-img-default {
  opacity: 1;
  transition: none !important;
}

#top .hlb-person-img-hover {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
  will-change: opacity;
}

#top .hlb-person-content {
  padding: 0 15px 70px;
  text-align: center;
  transition: color 0.25s ease;
}

#top .hlb-person-name {
  font-family: gotham-bold;
  font-size: 25px;
  font-style: normal;
  font-weight: 400;
  line-height: 120%;
  color: #005a77;
}

#top .hlb-person-role {
  margin-bottom: 0;
  font-size: 13px;
  font-weight: 300;
  line-height: 140%;
}

#top .hlb-person-bio {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  margin-top: 0;
  font-size: 13px;
  font-weight: 300;
  line-height: 140%;
  transition:
    max-height var(--hlb-person-content-speed) ease,
    opacity 0.3s ease,
    margin-top var(--hlb-person-content-speed) ease;
}

#top .hlb-person-linkedin {
  position: absolute;
  right: 28px;
  bottom: 28px;
  z-index: 6;
}

#top .hlb-person-linkedin img {
  width: 34px;
  height: 34px;
  display: block;
}

#top .hlb-person-linkedin .image-overlay {
  display: none !important;
}

@media (hover: hover) and (min-width: 990px) {
  #top .hlb-person-grid .entry-content-wrapper:has(> .hlb-person-card:hover) {
    padding-left: 0;
    padding-right: 0;
  }

  #top .hlb-person-grid .entry-content-wrapper > .hlb-person-card:hover {
    flex-grow: 1.95;
    background: #315f78;
    border-color: #0093a7;
  }

  #top .hlb-person-card:hover::after {
    transform: scaleX(1);
    transform-origin: left;
  }

  #top .hlb-person-card:hover .hlb-person-photo {
    position: absolute;
    left: 22px;
    bottom: 0;
    width: 47%;
    height: 92%;
    margin: 0;
    z-index: 2;
  }

  #top .hlb-person-card:hover .hlb-person-img-default {
    opacity: 0;
  }

  #top .hlb-person-card:hover .hlb-person-img-hover {
    left: 0;
    right: auto;
    top: auto;
    bottom: 0;
    width: auto;
    max-width: none;
    height: 100%;
    opacity: 1;
  }

  #top .hlb-person-card:hover .hlb-person-content {
    margin-left: 50%;
    padding: 34px 36px 70px 18px;
    text-align: left;
    color: #fff;
  }

  #top .hlb-person-card:hover .hlb-person-content h3,
  #top .hlb-person-card:hover .hlb-person-name,
  #top .hlb-person-card:hover .hlb-person-role,
  #top .hlb-person-card:hover .hlb-person-bio {
    color: #fff;
  }

  #top .hlb-person-card:hover .hlb-person-role {
    font-size: 16px;
  }

  #top .hlb-person-card:hover .hlb-person-bio {
    max-height: 260px;
    opacity: 1;
    margin-top: 28px;
  }

  #top .hlb-person-card:hover .hlb-person-linkedin img {
    filter: brightness(0) invert(1);
  }
}

@media (hover: hover) and (min-width: 1501px) and (max-width: 1750px) {
  #top .hlb-person-grid {
    --hlb-person-row-edge-gap: 32px;
    --hlb-person-card-height: 500px;
  }

  #top .hlb-person-grid .entry-content-wrapper {
    gap: 24px;
  }

  #top .hlb-person-grid .entry-content-wrapper > .hlb-person-card:hover {
    flex-grow: 2.35;
  }

  #top .hlb-person-card:hover .hlb-person-photo {
    left: 16px;
    width: 40%;
    height: 88%;
    overflow: hidden;
  }

  #top .hlb-person-card:hover .hlb-person-img-hover {
    width: 100%;
    max-width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: bottom left;
  }

  #top .hlb-person-card:hover .hlb-person-content {
    margin-left: 43%;
    padding: 30px 26px 70px 14px;
  }

  #top .hlb-person-card:hover .hlb-person-role {
    font-size: 15px;
  }

  #top .hlb-person-card:hover .hlb-person-bio {
    margin-top: 22px;
    max-height: 240px;
  }
}

@media (min-width: 990px) and (max-width: 1500px) {
  #top .hlb-person-grid {
    --hlb-person-row-width: min(calc(100vw - 64px), 1310px);
    --hlb-person-card-height: 500px;
  }

  #top .hlb-person-grid .entry-content-wrapper {
    width: var(--hlb-person-row-width);
    margin-left: calc(50% - (var(--hlb-person-row-width) / 2));
    padding-left: 0;
    padding-right: 0;
  }

  #top .hlb-person-grid .entry-content-wrapper > .hlb-person-card {
    flex: 0 0 calc(50% - 16px);
  }
}

@media (hover: hover) and (min-width: 990px) and (max-width: 1500px) {
  #top .hlb-person-grid .entry-content-wrapper > .hlb-person-card:hover {
    flex-grow: 0;
  }

  #top .hlb-person-card:hover .hlb-person-photo {
    left: 18px;
    width: 38%;
    height: 88%;
    overflow: hidden;
  }

  #top .hlb-person-card:hover .hlb-person-img-hover {
    width: 100%;
    max-width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: bottom left;
  }

  #top .hlb-person-card:hover .hlb-person-content {
    margin-left: 42%;
    padding: 32px 28px 70px 16px;
  }

  #top .hlb-person-card:hover .hlb-person-bio {
    margin-top: 22px;
    max-height: 240px;
  }
}

@media (hover: none) and (min-width: 990px) and (max-width: 1500px) {
  #top .hlb-person-grid .entry-content-wrapper > .hlb-person-card {
    background: #315f78;
    border-color: #0093a7;
  }

  #top .hlb-person-card::after {
    transform: scaleX(1);
    transform-origin: left;
  }

  #top .hlb-person-photo {
    position: absolute;
    left: 18px;
    bottom: 0;
    width: 38%;
    height: 88%;
    margin: 0;
    overflow: hidden;
    z-index: 2;
  }

  #top .hlb-person-img-default {
    opacity: 0;
  }

  #top .hlb-person-img-hover {
    left: 0;
    right: auto;
    top: auto;
    bottom: 0;
    width: 100%;
    max-width: 100%;
    height: 100%;
    opacity: 1;
    object-fit: contain;
    object-position: bottom left;
  }

  #top .hlb-person-content {
    margin-left: 42%;
    padding: 32px 28px 70px 16px;
    text-align: left;
    color: #fff;
  }

  #top .hlb-person-content h3,
  #top .hlb-person-name,
  #top .hlb-person-role,
  #top .hlb-person-bio {
    color: #fff;
  }

  #top .hlb-person-role {
    font-size: 15px;
  }

  #top .hlb-person-bio {
    max-height: 240px;
    opacity: 1;
    margin-top: 22px;
  }

  #top .hlb-person-linkedin img {
    filter: brightness(0) invert(1);
  }
}

@media (max-width: 989px) {
  #top .hlb-person-grid {
    --hlb-person-card-height: 520px;
  }

  #top .hlb-person-grid .entry-content-wrapper {
    width: 100%;
    margin-left: 0;
    padding-left: 0;
    padding-right: 0;
    gap: 24px;
  }

  #top .hlb-person-grid .entry-content-wrapper > .flex_column:not(.hlb-person-card) > * {
    max-width: 100%;
  }

  #top .hlb-person-grid .entry-content-wrapper > .hlb-person-card {
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100%;
    background: #315f78;
    border-color: #0093a7;
  }

  #top .hlb-person-card::after {
    transform: scaleX(1);
    transform-origin: left;
  }

  #top .hlb-person-photo {
    position: absolute;
    left: 18px;
    bottom: 0;
    width: 40%;
    height: 90%;
    margin: 0;
    z-index: 2;
  }

  #top .hlb-person-img-default {
    opacity: 0;
  }

  #top .hlb-person-img-hover {
    left: 0;
    right: auto;
    top: auto;
    bottom: 0;
    width: auto;
    max-width: none;
    height: 100%;
    opacity: 1;
  }

  #top .hlb-person-content {
    margin-left: 43%;
    padding: 32px 24px 70px 14px;
    text-align: left;
    color: #fff;
  }

  #top .hlb-person-content h3,
  #top .hlb-person-name,
  #top .hlb-person-role,
  #top .hlb-person-bio {
    color: #fff;
  }

  #top .hlb-person-role {
    font-size: 15px;
  }

  #top .hlb-person-bio {
    max-height: 260px;
    opacity: 1;
    margin-top: 22px;
  }

  #top .hlb-person-linkedin img {
    filter: brightness(0) invert(1);
  }
}

@media (max-width: 640px) {
  #top .hlb-person-grid {
    --hlb-person-card-height: auto;
  }

  #top .hlb-person-grid .entry-content-wrapper > .hlb-person-card {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
  }

  #top .hlb-person-card > .avia_codeblock_section {
    position: relative;
  }

  #top .hlb-person-card .avia_codeblock {
    overflow: visible;
  }

  #top .hlb-person-photo {
    position: relative;
    left: auto;
    bottom: auto;
    width: auto;
    height: 280px;
    margin: 24px 24px 0;
  }

  #top .hlb-person-img-hover {
    inset: 0;
    width: 100%;
    max-width: 100%;
    height: 100%;
  }

  #top .hlb-person-content {
    margin-left: 0;
    padding: 24px 28px 76px;
    text-align: center;
  }

  #top .hlb-person-role {
    font-size: 15px;
  }
	#top .switchimg {
	background-position: 19% 100%;
  aspect-ratio: 1;
}
}
/* Footer */
.widget_nav_menu a {
  padding-bottom: 0 !important;
}

#socket .menu-item a,
#footer .menu-item a,
.textwidget p a {
  line-height: 140% !important;
}

.textwidget p img {
  width: 20px;
  margin-top: 7px !important;
}

.textwidget p img.brief {
  width: 20px;
  margin-top: 9px !important;
}

#top .hlb-address,
#top #footer .hlb-address {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

#top .hlb-address img {
  width: 18px;
  height: auto;
  flex: 0 0 18px;
  margin-top: 6px;
}

#top .hlb-address div,
#top #footer .hlb-address div {
  line-height: 140%;
}

#top #footer {
  padding: 70px 0 48px;
}

#top #footer .container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  column-gap: 70px;
  row-gap: 28px;
  align-items: start;
}

#top #footer .container::before {
  content: "Sprechen wir \00FC ber Ihre internationalen Steueranfragen.";
  grid-column: 1 / -1;
  max-width: 821px;
  margin-bottom: 18px;
  font-family: gotham-bold;
  font-size: clamp(28px, 3vw, 49px);
  font-weight: 400;
  line-height: 100%;
}

#top #footer .flex_column {
  float: none;
  width: auto;
  margin: 0;
}

#top #footer .flex_column:first-child {
  grid-column: 1;
}

#top #footer .flex_column:nth-child(2) {
  grid-column: 2;
}

#top #footer .flex_column:nth-child(3) {
  grid-column: 3;
  position: relative;
  padding-left: 0;
}

#top #footer .flex_column:nth-child(3)::before {
  content: "";
  position: absolute;
  left: -35px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: currentColor;
  opacity: 0.45;
}

#top #footer .widget {
  margin: 0;
}

#top #footer ul {
  margin: 0;
  padding: 0;
}

#top #footer li {
  list-style: none;
}

#top #footer .widget_media_image img {
  width: 100%;
  max-width: 520px !important;
  height: auto;
}

#top #footer .textwidget p {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

#top #footer .textwidget p img,
#top #footer .hlb-address img {
  flex: 0 0 16px;
}

#top #footer .seperator {
  display: none;
}

#top #socket .container {
  position: relative;
}

#top #socket .container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50px;
  right: 50px;
  height: 1px;
  background: #fff;
  opacity: 1;
}

@media (max-width: 1190px) {
  #top #footer .container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 32px;
  }

  #top #footer .container::before,
  #top #footer .flex_column:first-child {
    grid-column: 1 / -1;
  }

  #top #footer .flex_column:nth-child(2),
  #top #footer .flex_column:nth-child(3) {
    grid-column: auto;
  }
}

@media (max-width: 600px) {
  #top #footer .container {
    grid-template-columns: 1fr;
  }

  #top #footer .container::before,
  #top #footer .flex_column:first-child,
  #top #footer .flex_column:nth-child(2),
  #top #footer .flex_column:nth-child(3) {
    grid-column: 1;
  }

  #top #footer .flex_column:nth-child(3) {
    padding-left: 0;
  }

  #top #footer .flex_column:nth-child(3)::before {
    display: none;
  }
}

@media (max-width: 1300px) {
  .hlb-portfolio-nav-wrap {
	  display:none;
	}
}

@media (max-width: 1471px) {
  .tabweg {
	  display:none!important;
	}
}

@media (min-width: 1471px) {
  .tabda {
	  display:none;
	}
}
#top .mobile-logo {
	margin-bottom: 80px!important;
}
.hlb-person-grid .template-page {
	padding-top: 27px!important;
}

#top .veranstaltungsbox section.av_textblock_section {
	border-radius:8px;
}