/* Css/kunde-layout.css */
/* Zentrale Kundengestaltung; Reihenfolge der Bestandsregeln bleibt erhalten. */
:root {
    --kunde-text-dark: #0f0f0f;
    --kunde-blue-dark: #82124a;
    --kunde-blue: #82124a;
    --kunde-blue-light: #eeeeee;
    --cn_multigap: 2%;
    --cn_multifaktor3: 1;
    --cn_multifaktor4: 3;
    --cn_multibreite33: 33.3%;
    --cn_multibreite66: 66%;
}

.tx_cn-columns .row + .row { margin-top: 20px; }


/* Legacy/css/space.css */
.frame-space-before-1 {	margin-top: 1px !important; }
.frame-space-before-2 {	margin-top: 2px !important; }
.frame-space-before-3 {	margin-top: 3px !important; }
.frame-space-before-4 {	margin-top: 4px !important; }
.frame-space-before-5 {	margin-top: 5px !important; }
.frame-space-before-6 {	margin-top: 6px !important; }
.frame-space-before-7 {	margin-top: 7px !important; }
.frame-space-before-8 {	margin-top: 8px !important; }
.frame-space-before-9 {	margin-top: 9px !important; }
.frame-space-before-10 { margin-top: 10px !important; }
.frame-space-before-11 { margin-top: 11px !important; }
.frame-space-before-12 { margin-top: 12px !important; }
.frame-space-before-13 { margin-top: 13px !important; }
.frame-space-before-14 { margin-top: 14px !important; }
.frame-space-before-15 { margin-top: 15px !important; }
.frame-space-before-16 { margin-top: 16px !important; }
.frame-space-before-17 { margin-top: 17px !important; }
.frame-space-before-18 { margin-top: 18px !important; }
.frame-space-before-19 { margin-top: 19px !important; }
.frame-space-before-20 { margin-top: 20px !important; }
.frame-space-before-21 { margin-top: 21px !important; }
.frame-space-before-22 { margin-top: 22px !important; }
.frame-space-before-23 { margin-top: 23px !important; }
.frame-space-before-24 { margin-top: 24px !important; }
.frame-space-before-25 { margin-top: 25px !important; }
.frame-space-before-26 { margin-top: 26px !important; }
.frame-space-before-27 { margin-top: 27px !important; }
.frame-space-before-28 { margin-top: 28px !important; }
.frame-space-before-29 { margin-top: 29px !important; }
.frame-space-before-30 { margin-top: 30px !important; }
.frame-space-before-31 { margin-top: 31px !important; }
.frame-space-before-32 { margin-top: 32px !important; }
.frame-space-before-33 { margin-top: 33px !important; }
.frame-space-before-34 { margin-top: 34px !important; }
.frame-space-before-35 { margin-top: 35px !important; }
.frame-space-before-36 { margin-top: 36px !important; }
.frame-space-before-37 { margin-top: 37px !important; }
.frame-space-before-38 { margin-top: 38px !important; }
.frame-space-before-39 { margin-top: 39px !important; }
.frame-space-before-40 { margin-top: 40px !important; }
.frame-space-before-41 { margin-top: 41px !important; }
.frame-space-before-42 { margin-top: 42px !important; }
.frame-space-before-43 { margin-top: 43px !important; }
.frame-space-before-44 { margin-top: 44px !important; }
.frame-space-before-45 { margin-top: 45px !important; }
.frame-space-before-46 { margin-top: 46px !important; }
.frame-space-before-47 { margin-top: 47px !important; }
.frame-space-before-48 { margin-top: 48px !important; }
.frame-space-before-49 { margin-top: 49px !important; }
.frame-space-before-50 { margin-top: 50px !important; }
.frame-space-before-51 { margin-top: 51px !important; }
.frame-space-before-52 { margin-top: 52px !important; }
.frame-space-before-53 { margin-top: 53px !important; }
.frame-space-before-54 { margin-top: 54px !important; }
.frame-space-before-55 { margin-top: 55px !important; }
.frame-space-before-56 { margin-top: 56px !important; }
.frame-space-before-57 { margin-top: 57px !important; }
.frame-space-before-58 { margin-top: 58px !important; }
.frame-space-before-59 { margin-top: 59px !important; }
.frame-space-before-60 { margin-top: 60px !important; }
.frame-space-before-61 { margin-top: 61px !important; }
.frame-space-before-62 { margin-top: 62px !important; }
.frame-space-before-63 { margin-top: 63px !important; }
.frame-space-before-64 { margin-top: 64px !important; }
.frame-space-before-65 { margin-top: 65px !important; }
.frame-space-before-66 { margin-top: 66px !important; }
.frame-space-before-67 { margin-top: 67px !important; }
.frame-space-before-68 { margin-top: 68px !important; }
.frame-space-before-69 { margin-top: 69px !important; }
.frame-space-before-70 { margin-top: 70px !important; }
.frame-space-before-71 { margin-top: 71px !important; }
.frame-space-before-72 { margin-top: 72px !important; }
.frame-space-before-73 { margin-top: 73px !important; }
.frame-space-before-74 { margin-top: 74px !important; }
.frame-space-before-75 { margin-top: 75px !important; }
.frame-space-before-76 { margin-top: 76px !important; }
.frame-space-before-77 { margin-top: 77px !important; }
.frame-space-before-78 { margin-top: 78px !important; }
.frame-space-before-79 { margin-top: 79px !important; }
.frame-space-before-80 { margin-top: 80px !important; }
.frame-space-before-81 { margin-top: 81px !important; }
.frame-space-before-82 { margin-top: 82px !important; }
.frame-space-before-83 { margin-top: 83px !important; }
.frame-space-before-84 { margin-top: 84px !important; }
.frame-space-before-85 { margin-top: 85px !important; }
.frame-space-before-86 { margin-top: 86px !important; }
.frame-space-before-87 { margin-top: 87px !important; }
.frame-space-before-88 { margin-top: 88px !important; }
.frame-space-before-89 { margin-top: 89px !important; }
.frame-space-before-90 { margin-top: 90px !important; }
.frame-space-before-91 { margin-top: 91px !important; }
.frame-space-before-92 { margin-top: 92px !important; }
.frame-space-before-93 { margin-top: 93px !important; }
.frame-space-before-94 { margin-top: 94px !important; }
.frame-space-before-95 { margin-top: 95px !important; }
.frame-space-before-96 { margin-top: 96px !important; }
.frame-space-before-97 { margin-top: 97px !important; }
.frame-space-before-98 { margin-top: 98px !important; }
.frame-space-before-99 { margin-top: 99px !important; }
.frame-space-before-100 { margin-top: 100px !important; }
.frame-space-after-1 { margin-bottom: 1px !important; }
.frame-space-after-2 { margin-bottom: 2px !important; }
.frame-space-after-3 { margin-bottom: 3px !important; }
.frame-space-after-4 { margin-bottom: 4px !important; }
.frame-space-after-5 { margin-bottom: 5px !important; }
.frame-space-after-6 { margin-bottom: 6px !important; }
.frame-space-after-7 { margin-bottom: 7px !important; }
.frame-space-after-8 { margin-bottom: 8px !important; }
.frame-space-after-9 { margin-bottom: 9px !important; }
.frame-space-after-10 {	margin-bottom: 10px !important; }
.frame-space-after-11 {	margin-bottom: 11px !important; }
.frame-space-after-12 {	margin-bottom: 12px !important; }
.frame-space-after-13 {	margin-bottom: 13px !important; }
.frame-space-after-14 {	margin-bottom: 14px !important; }
.frame-space-after-15 {	margin-bottom: 15px !important; }
.frame-space-after-16 {	margin-bottom: 16px !important; }
.frame-space-after-17 {	margin-bottom: 17px !important; }
.frame-space-after-18 {	margin-bottom: 18px !important; }
.frame-space-after-19 {	margin-bottom: 19px !important; }
.frame-space-after-20 {	margin-bottom: 20px !important; }
.frame-space-after-21 {	margin-bottom: 21px !important; }
.frame-space-after-22 {	margin-bottom: 22px !important; }
.frame-space-after-23 {	margin-bottom: 23px !important; }
.frame-space-after-24 {	margin-bottom: 24px !important; }
.frame-space-after-25 {	margin-bottom: 25px !important; }
.frame-space-after-26 {	margin-bottom: 26px !important; }
.frame-space-after-27 {	margin-bottom: 27px !important; }
.frame-space-after-28 {	margin-bottom: 28px !important; }
.frame-space-after-29 {	margin-bottom: 29px !important; }
.frame-space-after-30 {	margin-bottom: 30px !important; }
.frame-space-after-31 {	margin-bottom: 31px !important; }
.frame-space-after-32 {	margin-bottom: 32px !important; }
.frame-space-after-33 {	margin-bottom: 33px !important; }
.frame-space-after-34 {	margin-bottom: 34px !important; }
.frame-space-after-35 {	margin-bottom: 35px !important; }
.frame-space-after-36 {	margin-bottom: 36px !important; }
.frame-space-after-37 {	margin-bottom: 37px !important; }
.frame-space-after-38 {	margin-bottom: 38px !important; }
.frame-space-after-39 {	margin-bottom: 39px !important; }
.frame-space-after-40 {	margin-bottom: 40px !important; }
.frame-space-after-41 {	margin-bottom: 41px !important; }
.frame-space-after-42 {	margin-bottom: 42px !important; }
.frame-space-after-43 {	margin-bottom: 43px !important; }
.frame-space-after-44 {	margin-bottom: 44px !important; }
.frame-space-after-45 {	margin-bottom: 45px !important; }
.frame-space-after-46 {	margin-bottom: 46px !important; }
.frame-space-after-47 {	margin-bottom: 47px !important; }
.frame-space-after-48 {	margin-bottom: 48px !important; }
.frame-space-after-49 {	margin-bottom: 49px !important; }
.frame-space-after-50 {	margin-bottom: 50px !important; }
.frame-space-after-51 {	margin-bottom: 51px !important; }
.frame-space-after-52 {	margin-bottom: 52px !important; }
.frame-space-after-53 {	margin-bottom: 53px !important; }
.frame-space-after-54 {	margin-bottom: 54px !important; }
.frame-space-after-55 {	margin-bottom: 55px !important; }
.frame-space-after-56 {	margin-bottom: 56px !important; }
.frame-space-after-57 {	margin-bottom: 57px !important; }
.frame-space-after-58 {	margin-bottom: 58px !important; }
.frame-space-after-59 {	margin-bottom: 59px !important; }
.frame-space-after-60 {	margin-bottom: 60px !important; }
.frame-space-after-61 {	margin-bottom: 61px !important; }
.frame-space-after-62 {	margin-bottom: 62px !important; }
.frame-space-after-63 {	margin-bottom: 63px !important; }
.frame-space-after-64 {	margin-bottom: 64px !important; }
.frame-space-after-65 {	margin-bottom: 65px !important; }
.frame-space-after-66 {	margin-bottom: 66px !important; }
.frame-space-after-67 {	margin-bottom: 67px !important; }
.frame-space-after-68 {	margin-bottom: 68px !important; }
.frame-space-after-69 {	margin-bottom: 69px !important; }
.frame-space-after-70 {	margin-bottom: 70px !important; }
.frame-space-after-71 {	margin-bottom: 71px !important; }
.frame-space-after-72 {	margin-bottom: 72px !important; }
.frame-space-after-73 {	margin-bottom: 73px !important; }
.frame-space-after-74 {	margin-bottom: 74px !important; }
.frame-space-after-75 {	margin-bottom: 75px !important; }
.frame-space-after-76 {	margin-bottom: 76px !important; }
.frame-space-after-77 {	margin-bottom: 77px !important; }
.frame-space-after-78 {	margin-bottom: 78px !important; }
.frame-space-after-79 {	margin-bottom: 79px !important; }
.frame-space-after-80 {	margin-bottom: 80px !important; }
.frame-space-after-81 {	margin-bottom: 81px !important; }
.frame-space-after-82 {	margin-bottom: 82px !important; }
.frame-space-after-83 {	margin-bottom: 83px !important; }
.frame-space-after-84 {	margin-bottom: 84px !important; }
.frame-space-after-85 {	margin-bottom: 85px !important; }
.frame-space-after-86 {	margin-bottom: 86px !important; }
.frame-space-after-87 {	margin-bottom: 87px !important; }
.frame-space-after-88 {	margin-bottom: 88px !important; }
.frame-space-after-89 {	margin-bottom: 89px !important; }
.frame-space-after-90 {	margin-bottom: 90px !important; }
.frame-space-after-91 {	margin-bottom: 91px !important; }
.frame-space-after-92 {	margin-bottom: 92px !important; }
.frame-space-after-93 {	margin-bottom: 93px !important; }
.frame-space-after-94 {	margin-bottom: 94px !important; }
.frame-space-after-95 {	margin-bottom: 95px !important; }
.frame-space-after-96 {	margin-bottom: 96px !important; }
.frame-space-after-97 {	margin-bottom: 97px !important; }
.frame-space-after-98 {	margin-bottom: 98px !important; }
.frame-space-after-99 {	margin-bottom: 99px !important; }
.frame-space-after-100 { margin-bottom: 100px !important; }

/* Legacy/css/style.css */
/* josefin-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: "Josefin Sans";
  font-style: normal;
  font-weight: 300;
  src: url("../Fonts/JosefinSans/josefin-sans-v32-latin-300.eot"); /* IE9 Compat Modes */
  src:
    url("../Fonts/JosefinSans/josefin-sans-v32-latin-300.eot?#iefix")
      format("embedded-opentype"),
    /* IE6-IE8 */ url("../Fonts/JosefinSans/josefin-sans-v32-latin-300.woff2")
      format("woff2"),
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
      url("../Fonts/JosefinSans/josefin-sans-v32-latin-300.woff") format("woff"),
    /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+, iOS 5+ */
      url("../Fonts/JosefinSans/josefin-sans-v32-latin-300.ttf") format("truetype"),
    /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
      url("../Fonts/JosefinSans/josefin-sans-v32-latin-300.svg#JosefinSans") format("svg"); /* Legacy iOS */
}
/* josefin-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: "Josefin Sans";
  font-style: normal;
  font-weight: 400;
  src: url("../Fonts/JosefinSans/josefin-sans-v32-latin-regular.eot"); /* IE9 Compat Modes */
  src:
    url("../Fonts/JosefinSans/josefin-sans-v32-latin-regular.eot?#iefix")
      format("embedded-opentype"),
    /* IE6-IE8 */ url("../Fonts/JosefinSans/josefin-sans-v32-latin-regular.woff2")
      format("woff2"),
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
      url("../Fonts/JosefinSans/josefin-sans-v32-latin-regular.woff") format("woff"),
    /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+, iOS 5+ */
      url("../Fonts/JosefinSans/josefin-sans-v32-latin-regular.ttf") format("truetype"),
    /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
      url("../Fonts/JosefinSans/josefin-sans-v32-latin-regular.svg#JosefinSans")
      format("svg"); /* Legacy iOS */
}
/* josefin-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: "Josefin Sans";
  font-style: normal;
  font-weight: 500;
  src: url("../Fonts/JosefinSans/josefin-sans-v32-latin-500.eot"); /* IE9 Compat Modes */
  src:
    url("../Fonts/JosefinSans/josefin-sans-v32-latin-500.eot?#iefix")
      format("embedded-opentype"),
    /* IE6-IE8 */ url("../Fonts/JosefinSans/josefin-sans-v32-latin-500.woff2")
      format("woff2"),
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
      url("../Fonts/JosefinSans/josefin-sans-v32-latin-500.woff") format("woff"),
    /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+, iOS 5+ */
      url("../Fonts/JosefinSans/josefin-sans-v32-latin-500.ttf") format("truetype"),
    /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
      url("../Fonts/JosefinSans/josefin-sans-v32-latin-500.svg#JosefinSans") format("svg"); /* Legacy iOS */
}

:root {
  --weiss: #fff;
  --schwarz: rgb(15, 15, 15);
  --linkfarbe: #82124a;
  --schwarztrans07: rgba(15, 15, 15, 0.7);
  --weisstrans08: rgba(255, 255, 255, 0.85);

  --hauptfarbe: #585657;
  --hauptfarbe2: #82124a;

  --hauptfarbe2schatten: #4e092c;

  --hauptfarbe2transparent: rgba(130, 18, 74, 0.8);

  --hellgrau: #eeeeee;

  --gradient: linear-gradient(to right, #585657 0%, #82124a 100%);

  --standardtransition: all 0.3s ease;
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  float: left;
  clear: both;
  font-family: "Josefin Sans", sans-serif;
  font-weight: 300;
  font-style: normal;
  font-size: 18px;
  line-height: 1.4em;
  color: var(--schwarz);
}

/* Sichtbarer Tastaturfokus, auch vor dunklen Flächen und im Cookiebanner. */
html :is(a[href], button, input, select, textarea, summary, [tabindex]:not([tabindex="-1"])):focus-visible {
  outline: 3px solid var(--hauptfarbe2);
  outline-offset: 2px;
  box-shadow: 0 0 0 2px #fff;
}

h1,
h2 {
  font-size: 44px;
  line-height: 1.2em;
  font-weight: 300;
  margin: 0 0 40px 0;
  /* border-bottom: 2px solid var(--hauptfarbe2); */
  /* display: inline-block; */
  clear: both;
  color: var(--schwarz);
}

h1 span,
h2 span {
  border-bottom: 2px solid var(--hauptfarbe2);
  display: inline-block;
}

h1 span + span,
h2 span + span {
  display: block;
  border: none;
  margin-top: 20px;
}

h3 span,
h4 span {
  display: block;
}

h1 + h2,
h3 {
  font-size: 26px;
  line-height: 1.1em;
  color: var(--hauptfarbe2);
  font-weight: 300;
  text-transform: uppercase;
  margin: 0 0 10px 0;
}

h1 + h2 {
  margin-bottom: 30px;
}

h1 + h2 span,
h2 + h3 span,
h3 + h4 span {
  border: none;
}

h3 span + span,
h4,
h5 {
  font-size: 22px;
  line-height: 1.1em;
  color: var(--hauptfarbe2);
  font-weight: 300;
  margin: 0 0 10px 0;
  text-transform: none;
}

a,
a:hover,
a:active,
a:visited {
  color: var(--linkfarbe);
  text-decoration: none;
}

a {
  position: relative;
  display: inline-block;
}

a::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: transparent;
  box-shadow: inset 0 0 0 0 var(--hauptfarbe2);
  height: 1px;
  transition: all 1s ease;
}

/* a.link-internal::before {
    background: var(--hauptfarbe);
} */

a:hover::before {
  box-shadow: inset 500px 0 0 0 var(--hauptfarbe2);
}

a.more,
.powermail_submit {
  background: var(--linkfarbe);
  color: var(--weiss);
  padding: 10px 20px;
  transition: 0.3s;
  display: inline-block;
}

a.more:hover,
.powermail_submit:hover {
  background: var(--hauptfarbe);
}

a.more::before {
  display: none;
}

figure.image > a {
  display: table;
}

.audio-embed,
.audio-caption {
  float: left;
  clear: both;
  width: 100%;
}

p {
  margin: 0 0 10px 0;
}

p:last-child {
  margin-bottom: 0;
}

strong {
  font-weight: 500;
}

.text-right {
  text-align: right;
}

.text-left {
  text-align: left;
}

.text-center {
  text-align: center;
}

.text-justify {
  text-align: justify;
}

.ce-center .ce-outer {
  position: relative;
  float: left;
  clear: both;
  right: auto;
  left: 50%;
  transform: translateX(-50%);
  max-width: 100%;
}

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

.video[data-type="external"] .video-embed {
  padding-top: 0;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.videobox,
.video-embed {
  position: relative;
}

.videoiframelink {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  overflow: hidden;
  text-indent: -9999px;
  color: transparent;
}

.ce-gallery.videocontainer {
  width: 100%;
  float: left;
  clear: both;
}

.ce-gallery.videocontainer .video-column {
  max-width: 100%;
  float: left;
}

.ce-gallery.videocontainer figure.video {
  display: block;
}

/* -- Headervideo -- */
.frame-type-textmedia.frame-layout-11 > .rahmen {
  width: 100% !important;
  max-width: none !important;
  float: left !important;
  clear: both !important;
  margin: 0 !important;
  display: block !important;
}

.frame-type-textmedia.frame-layout-11 .ce-gallery {
  margin: 0;
  width: 100%;
  float: left;
  clear: both;
  position: relative;
}

.frame-type-textmedia.frame-layout-11 .ce-gallery::before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.frame-type-textmedia.frame-layout-11 .video-embed .video-preview {
  height: 100%;
}

.frame-type-textmedia.frame-layout-11 .video-embed .video-preview img {
  width: 100%;
  max-width: none;
  height: auto;
}

.frame-type-textmedia.frame-layout-11.loadingok .video-embed .video-preview {
  display: none;
}

.frame-type-textmedia.frame-layout-11
  .video[data-type="internal"]
  .video-embed
  .video-embed-item {
  width: 100%;
}

body.lb_body {
  height: auto !important;
  max-width: 800px;
  width: 90vw;
}

#lightbox {
  width: 96%;
  margin: 10px 2%;
}
/* -------------------------------------------------------------- */

/* -- oben -- */
.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 6;
  max-width: calc(100% - 2rem);
  padding: 0.75rem 1rem;
  border: 2px solid var(--hauptfarbe2);
  background: var(--weiss);
  color: var(--hauptfarbe2);
  font-weight: 500;
  transform: translateY(calc(-100% - 2rem));
}

.skip-link:focus {
  transform: none;
}

.skip-link::before {
  content: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

#oben {
  width: 100%;
  float: left;
  clear: both;
  box-shadow: 0 0 5px #aaa;
  background: var(--weisstrans08);
  position: fixed;
  min-height: 60px;
  z-index: 5;
  transition: var(--standardtransition);
  backdrop-filter: blur(1px);
}

#oben.scroll {
  background: var(--weiss);
}

#oben > .rahmen {
  /* width: 85%; */
  margin: 0 auto;
  width: 100%;
  float: none;
  clear: both;
  position: relative;
}

/* Logo */
.logo {
  float: left;
  width: auto;
  margin-top: 30px;
  margin-left: 10%;
}

#oben.scroll .logo {
  margin-top: 15px;
}

#oben.scroll .logo img {
  max-width: 280px;
}

.logo .ce-gallery {
  margin: 0;
}

.logo a::before {
  display: none;
}

/* Navi */
.navi {
  float: right;
  margin-right: 10%;
}

.navi > div {
  float: left;
}

.onepagenavi {
  padding: 0;
  list-style: none;
  float: left;
  clear: both;
  font-size: 16px;
  font-weight: 300;
  text-transform: uppercase;
  transition: all 0.3s ease;
  margin: 30px 0;
}

#oben.scroll .onepagenavi {
  margin: 10px 0;
}

.onepagenavi li {
  float: left;
  clear: none;
  margin: 0 4px;
}

.onepagenavi li:first-child {
  margin: 0 4px 0 0;
}

.onepagenavi li:last-child {
  margin: 0 0 0 4px;
}

.onepagenavi a {
  display: block;
  padding: 15px 12px;
  color: var(--schwarz);
  position: relative;
  font-size: 20px;
  line-height: 1.4em;
}

.onepagenavi a::before {
  left: 10px;
  right: 10px;
  bottom: 10px;
}

.onepagenavi li:last-child a {
  padding-right: 0;
}

.mob_button {
  display: none;
  padding: 0;
  border: 0;
  border-radius: 0;
  appearance: none;
  font: inherit;
  color: inherit;
}

#oben .mob_button:focus-visible {
  outline: 2px solid var(--hauptfarbe2);
  outline-offset: 3px;
  box-shadow: none;
}

#hauptnavigation a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: -4px;
  box-shadow: none;
}

@media (prefers-reduced-motion: reduce) {
  #oben .mob_button span,
  #oben .mob_button span::before,
  #oben .mob_button span::after {
    transition: none;
  }
}

/* Progressbar */
.progressbox {
  width: 100%;
  float: left;
  clear: both;
  margin: 0;
  padding: 0;
  display: block;
}
.progressbar {
  width: 0;
  height: 5px;
  background: var(--gradient);
  transition: all linear 0.1s;
}

/* Inhaltsbereich */
#inhaltsbereich {
  float: left;
  clear: both;
  width: 100%;
}
#inhaltsbereich > .frame,
#inhaltsbereich > div > div > .tx_cn-columns > div > .col-100 > .frame {
  float: left;
  clear: both;
  width: 100%;
  /* padding: 0 0 50px 0;
    margin-bottom: 50px; */
  padding: 50px 0 0 0;
  /* margin-top: 50px; */
}

#inhaltsbereich > .frame:first-child,
#inhaltsbereich
  > div:first-child
  > div
  > .tx_cn-columns
  > div
  > .col-100:first-child
  > .frame:first-child {
  padding-top: 0;
}

/* #inhaltsbereich > .frame:last-child,
#inhaltsbereich > div:last-child > div > .tx_cn-columns > div > .col-100:last-child > .frame:last-child {
    padding-bottom: 50px;
} */

#inhaltsbereich > .frame > .rahmen,
#inhaltsbereich
  > div
  > div
  > .tx_cn-columns
  > div
  > .col-100
  > .frame:not(.frame-layout-20)
  > .rahmen {
  width: 90%;
  max-width: 1000px;
  margin: 0 auto;
  float: none;
  clear: both;
}

#inhaltsbereich > .frame-style-1column > .rahmen {
  width: 100%;
  max-width: unset;
}

#inhaltsbereich .ce-bodytext ul {
  list-style: none;
  margin: 10px 0;
  padding: 0;
}

#inhaltsbereich .ce-bodytext ul li {
  position: relative;
  padding: 0 0 0 25px;
  margin: 0 0 0.5em 0;
}

#inhaltsbereich .ce-bodytext ul li::before {
  content: "»";
  position: absolute;
  left: 10px;
  top: 0;
  display: inline-block;
}

/* Rahmen Headerbild */
.frame-headerbild {
  position: relative;
}

.frame-headerbild .ce-gallery {
  margin: 0;
  width: 100%;
}

.frame-headerbild .ce-gallery .ce-column,
.frame-headerbild .ce-gallery .image,
.frame-headerbild .ce-gallery img {
  width: 100%;
}

.frame-headerbild .ce-bodytext {
  position: absolute;
  bottom: 0;
  right: 0;
  color: var(--weiss);
  padding: 0 5% 70px 0;
  text-align: right;
}

.frame-headerbild .ce-bodytext h1 {
  margin: 0 0 30px 0;
  padding: 0;
  border-left: 0;
  font-size: 44px;
  line-height: 1em;
  font-weight: 300;
  border: none;
  color: var(--weiss);
}

/* .frame-headerbild .ce-bodytext a {
    background: var(--linkfarbe);
    color: var(--weiss);
    padding: 10px 15px;
    transition: 0.3s;
    display: inline-block;
} */

/* Multicontent */

/* Rahmen Hintergrundbild */
.frame-bg-bild {
  overflow: hidden;
}

.frame-bg-bild,
/* .frame-bg-bild *, */
.frame-bg-bild .row .col-100:first-child > .frame,
.frame-bg-bild .row .col-100:first-child .rahmen,
.frame-bg-bild .row .col-100:first-child .ce-textpic,
.frame-bg-bild .row .col-100:first-child .ce-vgallery,
.frame-bg-bild .row .col-100:first-child .ce-row,
.frame-bg-bild .row .col-100:first-child .ce-column,
.frame-bg-bild .row .col-100:first-child .image,
.frame-bg-bild .row .col-100:first-child img {
  height: 100%;
  width: auto;
}

#inhaltsbereich > div > div > .tx_cn-columns > div > .col-100 > .frame-bg-bild {
  position: relative;
  color: var(--weiss);
  margin-top: 50px;
  padding-bottom: 50px;
}

.frame-bg-bild h1,
.frame-bg-bild h2,
.frame-bg-bild h3,
.frame-bg-bild h4,
.frame-bg-bild h5,
.frame-bg-bild a {
  color: var(--weiss);
}

.frame-bg-bild a::before {
  background: var(--weiss);
}

.frame-bg-bild h1 span,
.frame-bg-bild h2 span {
  border-bottom: 2px solid var(--weiss);
}

#inhaltsbereich .frame-bg-bild .tx_cn-columns .row .col-100:first-child {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: -1;
  background: var(--schwarz);
}

#inhaltsbereich .frame-bg-bild .ce-gallery {
  margin-bottom: 0;
}

.frame-bg-bild .row .col-100:first-child img {
  max-width: unset;
  opacity: 0.5;
  /* margin-left: -50%; */
}

/* Hintergrundspalte auf Desktop flächig füllen; mobile Bildanordnung erhalten. */
@media (min-width: 841px) {
  .frame-bg-bild > .rahmen > .tx_cn-columns > .row > .col-100:first-child
    :is(.frame, .rahmen, .ce-textpic, .ce-gallery, .ce-row, .ce-column, .image, picture, img) {
    width: 100%;
    height: 100%;
  }

  .frame-bg-bild > .rahmen > .tx_cn-columns > .row > .col-100:first-child :is(.image, picture) {
    display: block;
  }

  .frame-bg-bild > .rahmen > .tx_cn-columns > .row > .col-100:first-child img {
    object-fit: cover;
    object-position: center;
  }
}

.frame-karriere {
  position: relative;
}

.frame-karriere::after {
  content: "";
  position: absolute;

  background-image: url(../Legacy/images/Logo_Qualifizierte_Ausbildungskanzlei_Pfade_RGB.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;

  right: 30px;
  bottom: 10px;

  width: 180px;
  height: 180px;
}

/* Rahmen Leistungen */
#inhaltsbereich
  > div
  > div
  > .tx_cn-columns
  > div
  > .col-100
  > .frame-leistungen {
  position: relative;
  /* padding-top: 50px;
    margin-bottom: 50px; */
  padding-bottom: 50px;
  margin-top: 50px;
  background: var(--hauptfarbe);
  z-index: 0;
  overflow: hidden;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
}

.frame-leistungen,
.frame-leistungen h1,
.frame-leistungen h2,
.frame-leistungen h3,
.frame-leistungen h4,
.frame-leistungen h5,
.frame-leistungen a {
  color: var(--weiss);
}

.frame-leistungen a::before {
  background: var(--weiss);
}

.frame-leistungen h1 span,
.frame-leistungen h2 span {
  border-bottom: 2px solid var(--weiss);
}

.frame-leistungen .row {
  column-count: 2;
  gap: 20px;
}

.frame-leistungen .col-100 > .frame {
  background: var(--schwarztrans07);
  margin-top: 80px;
}

.frame-leistungen .row > .col-100:first-child {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: -1;
  margin: 0;
  background: unset;
  background: var(--schwarz);
}

.frame-leistungen .row > .col-100:first-child > .frame {
  padding: 0;
  margin: 0;
  background: none;
  height: auto;
}

.frame-leistungen .col-100 .ce-textpic {
  margin-top: -80px;
  padding: 30px;
}

.frame-leistungen .col-100:first-child > .frame .ce-textpic {
  margin: 0;
  padding: 0;
}

.frame-leistungen .col-100 .ce-textpic ul:last-child,
.frame-leistungen .col-100 .ce-textpic p:last-child {
  margin-bottom: 0;
}

.frame-leistungen .col-100 h3 {
  text-align: center;
  font-weight: 500;
}

.frame-leistungen .col-100 .ce-gallery {
  margin-bottom: 20px;
}

.frame-leistungen .row > .col-100:first-child .ce-gallery {
  margin-bottom: 0;
}

.frame-leistungen .row > .col-100:first-child img {
  max-width: unset;
  opacity: 0.5;
}

.frame-leistungen .row > .col-100:first-child,
.frame-leistungen .row > .col-100:first-child > .frame,
.frame-leistungen .row > .col-100:first-child > .frame * {
  height: 100%;
  width: auto;
}

/* Rahmen Steuerberater */
.frame-steuerberater .ce-textpic {
  position: relative;
  font-size: 16px;
  line-height: 1.4em;
  overflow: visible;
}

.frame-steuerberater .ce-gallery {
  margin-bottom: 0;
  border: 1px solid var(--hauptfarbe2);
  z-index: -1;
  position: relative;
}

.frame-steuerberater .ce-gallery img {
  scale: 1;
  /* transition: var(--standardtransition); */
}

.frame-steuerberater .ce-gallery:hover img {
  scale: 1.1;
}

.frame-steuerberater .ce-bodytext {
  padding: 10px;
  margin: -50px 15px 0;
  display: inline-block;
  background: var(--hauptfarbe2);
  color: var(--weiss);
  width: calc(100% - 50px);
}

.frame-steuerberater .ce-bodytext > *:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
}

.frame-steuerberater strong {
  font-size: 18px;
  line-height: 1.4em;
}

.frame-steuerberater i {
  background: var(--hauptfarbe2);
  position: absolute;
  top: -5px;
  right: 5px;
  padding: 2px 5px;
}

/* Rahmen Bildslider */
#inhaltsbereich
  > div
  > div
  > .tx_cn-columns
  > div
  > .col-100
  > .frame.frame-bildslider
  > .rahmen {
  width: 85%;
  max-width: 1600px;
}

.frame-bildslider .ce-gallery.owl-carousel {
  width: calc(100% - 140px);
  padding: 0 70px;
  margin-bottom: 0;
}

.frame-bildslider .ce-gallery > .owl-stage-outer {
  /* padding: 10px 0; */
}

.frame-bildslider .owl-carousel .owl-nav button.owl-next,
.frame-bildslider .owl-carousel .owl-nav button.owl-prev {
  position: absolute;
  background: url(../Legacy/images/owl-left.png) center center no-repeat;
  background-size: contain;
  left: 0;
  right: auto;
  top: 50%;
  margin-top: -19px;
  width: 40px;
  height: 38px;
  display: block;
  overflow: hidden;
}

.frame-bildslider.frame-layout-2 .owl-carousel .owl-nav button.owl-next,
.frame-bildslider.frame-layout-2 .owl-carousel .owl-nav button.owl-prev {
  background: url(../Legacy/images/owl-left-weiss.png) left top no-repeat;
  background-size: contain;
}

.frame-bildslider .owl-carousel .owl-nav button.owl-next {
  transform: rotate(180deg);
  left: auto;
  right: 0;
}

.frame-bildslider .owl-carousel .owl-nav button.owl-next span,
.frame-bildslider .owl-carousel .owl-nav button.owl-prev span {
  display: none;
}

.frame-bildslider .owl-dots {
  float: left;
  clear: both;
  width: 100%;
  text-align: center;
  margin-top: 10px;
}

.frame-bildslider .owl-carousel button.owl-dot {
  display: inline-block;
  width: 11px;
  height: 11px;
  border-radius: 100%;
  /* background: var(--hauptfarbe) */
  background: var(--weiss);
  border: 2px solid var(--weiss);
  margin: 0 2px;
}

.frame-bildslider .owl-carousel button.owl-dot.active {
  background: var(--hauptfarbe2);
}

.frame-bildslider.frame-layout-2 .owl-carousel button.owl-dot.active {
  background: var(--hauptfarbe2);
}

.frame-bildslider .owl-carousel .owl-item .ce-column .image {
  position: relative;
  margin: 10px 0;
}

.frame-bildslider .ce-column .image img {
  /* scale: 1; */
  /* transition: var(--standardtransition); */
  /* border: 1px solid var(--hauptfarbe2); */
  /* width: calc(100% - 2px); */
}

.frame-bildslider .ce-column .image:hover img {
  /* scale: 1.1; */
}

.frame-bildslider .ce-column .image figcaption > span {
  position: absolute;
  bottom: -10px;
  left: 10px;
  right: 10px;
  background: var(--hauptfarbe2);
  color: var(--weiss);
  padding: 10px;
  max-height: 18px;
  transition: var(--standardtransition);
  text-align: center;
}

.frame-bildslider .ce-column .image:hover figcaption > span {
  max-height: 100%;
}

.frame-bildslider .ce-column .image figcaption strong {
  font-weight: 500;
  margin-bottom: 10px;
  display: inline-block;
}

.frame-bildslider figcaption,
.frame-bildslider figcaption a {
  color: white !important;
}

.frame-bildslider .ce-column .image figcaption a {
  margin: 0;
  /* position: static; */
  /* border-bottom: 1px solid white; */
}

.frame-bildslider a::before {
  background: var(--weiss);
  box-shadow: inset 0 0 0 0 var(--hauptfarbe2schatten);
}

.frame-bildslider a:hover::before {
  box-shadow: inset 500px 0 0 0 var(--hauptfarbe2schatten);
}

.frame-bildslider .ce-column .image figcaption > span *:last-child {
  margin-bottom: 0;
}

.frame-bildslider .ce-column .image figcaption em {
  background: var(--hauptfarbe2);
  position: absolute;
  top: -5px;
  right: 5px;
  padding: 2px 5px;
}

/* Layout Hintergrund Grau */
#inhaltsbereich
  > div
  > div
  > .tx_cn-columns
  > div
  > .col-100
  > .frame.frame-layout-1 {
  background: var(--hellgrau);
  padding: 50px 0;
  margin-top: 50px;
}

#inhaltsbereich
  > div
  > div
  > .tx_cn-columns
  > div
  > .col-100
  > .frame.frame-layout-1
  + .frame-layout-1 {
  margin-top: 0;
  padding-top: 0;
}

.frame.frame-layout-1 h1,
.frame.frame-layout-1 h2 {
  color: var(--hauptfarbe2);
}

/* Layout Hintergrund Himbeerrot */
#inhaltsbereich
  > div
  > div
  > .tx_cn-columns
  > div
  > .col-100
  > .frame.frame-layout-2 {
  background: var(--hauptfarbe2);
  padding: 50px 0;
  margin-top: 50px;
}

#inhaltsbereich
  > div
  > div
  > .tx_cn-columns
  > div
  > .col-100
  > .frame.frame-layout-2
  + .frame-layout-2 {
  margin-top: 0;
  padding-top: 0;
}

.frame.frame-layout-2 h1,
.frame.frame-layout-2 h2 {
  color: var(--weiss);
  border-bottom: 2px solid var(--weiss);
}

/* Powermail / Kontaktformular*/
.tx-powermail {
  float: left;
  clear: both;
  width: 100%;
  /* background-color: lightblue; */
}

.powermail_fieldset {
  border: none;
  width: 45%;
  float: left;
  clear: none;
  margin: 0 5% 0 0;
  padding: 0;
  /* background-color: pink; */
}

.powermail_fieldset:nth-of-type(2n) {
  margin: 0 0 0 5%;
}

.powermail_field,
.powermail_fieldwrap {
  float: left;
  clear: both;
  width: 100%;
}

.powermail_label {
  font-weight: 500;
  margin: 10px 0;
  float: left;
  clear: both;
  width: 100%;
}

.powermail_input,
.powermail_textarea,
.powermail_captcha {
  width: calc(100% - 22px);
  margin: 5px 0 5px 0;
  padding: 10px;
  border: 0;
  display: block;
  font-family: "Josefin Sans", sans-serif;
  font-size: 17px;
  font-weight: 300;
  line-height: 1em;
  border: 1px solid var(--hauptfarbe2);
  -webkit-appearance: none;
  border-radius: 0;
}

.powermail_textarea {
  resize: none;
  overflow: auto;
  height: 80px;
}

.powermail_fieldwrap_type_captcha .powermail_field {
  display: flex;
  flex-direction: column-reverse;
  flex-wrap: wrap;
  align-content: flex-start;
  align-items: flex-start;
  float: left;
  clear: both;
  width: 100%;
}

.powermail_submit {
  font-family: "Josefin Sans", sans-serif;
  font-weight: 300;
  font-style: normal;
  font-size: 18px;
  line-height: 1.4em;
  border: none;
  margin-top: 5px;
  cursor: pointer;
  -webkit-appearance: none;
  border-radius: 0;
}

/* Powermail error */
.powermail_field {
  position: relative;
}

.powermail-errors-list {
  background: rgb(200 0 0);
  color: var(--weiss);
  position: absolute;
  bottom: 0;
  right: -10px;
  margin: 0;
  padding: 5px 5px 0;
  list-style: none;
}

.powermail_fieldwrap_datenverarbeitung .powermail-errors-list,
.powermail_fieldwrap_datenverarbeitung_nittenau .powermail-errors-list {
  bottom: -20px;
}

.powermail-errors-list li {
  display: inline-block;
  /* font-size: 18px; */
  line-height: 1em;
  float: left;
  clear: both;
}

/* -- Footer -- */
#footer {
  width: 100%;
  float: left;
  clear: both;
  position: relative;
  color: var(--weiss);
  font-size: 16px;
  line-height: 1.2em;
}

#footer > div {
  float: left;
  clear: both;
  width: 100%;
}

.footeroben {
  background: var(--hauptfarbe2);
}

.footerunten {
  background: var(--hauptfarbe2schatten);
  padding: 30px 0;
}

.footeroben > .rahmen > .frame {
  padding: 30px 0;
}

#footer > div > .rahmen {
  width: 85%;
  margin: 0 auto;
  max-width: none;
}

#footer > div > .rahmen > .frame {
  width: 70%;
  float: left;
}

#footer > div > .rahmen > .frame.frame-bildslider {
  width: 100%;
}

#footer > div > .rahmen > .qnavi {
  width: 30%;
  float: right;
  text-align: right;
  margin: 0;
  padding: 0;
  list-style: none;
}

#footer a,
#footer h2,
#footer h3,
#footer h4 {
  color: var(--weiss);
}

#footer h2,
#footer h3,
#footer h4 {
  font-weight: 400;
}

#footer a::before {
  display: none;
}

/* Smarty Funktionen */
.funktionen {
  position: fixed;
  right: 15px;
  bottom: 30px;
  background: #ffffff;
  display: block;
  width: 30px;
  overflow: hidden;
  z-index: 4;
  opacity: 0.8;
}

.totop,
.tobottom {
  padding: 0;
  border: 0;
  border-radius: 0;
  appearance: none;
  display: block;
  cursor: pointer;
  background-position: center center;
  background-repeat: no-repeat;
  width: 24px;
  height: 24px;
  margin: 5px 3px 5px 3px;
  float: left;
  clear: both;
  background-color: var(--hauptfarbe2);
  background-image: url(../Legacy/images/arrow-top.png);
  background-position: left top;
  background-repeat: no-repeat;
}

.tobottom {
  background-image: url(../Legacy/images/arrow-bottom.png);
}

.totop:hover,
.tobottom:hover {
  background-color: var(--hauptfarbe);
}

/* Mediaconsent */
.mapsoverlay {
  background: rgba(215, 215, 215, 0.6);
}

.unterseite > #inhaltsbereich {
  margin-top: 180px;
  scroll-margin-top: 180px;
}

.unterseite #inhaltsbereich > .frame:last-child {
  padding-bottom: 50px;
}


/* Legacy/css/responsive.css */
@media (hover: none) {
}

@media (max-width: 1500px) {
  #oben .logo img {
    max-width: 270px;
  }
}

@media (max-width: 1200px) {
  /* Navizeile */
  /* #oben {
        max-height: calc(100vh - 60px);
        overflow: auto;
    } */

  .logo {
    margin-top: 20px;
  }

  #oben.scroll .logo img {
    max-width: 240px;
  }

  .mob_button {
    display: block;
  }

  .mob_button {
    position: absolute;
    top: 0;
    right: 10%;
    width: 40px;
    height: 40px;
    margin: 30px 0 15px;
    background: transparent;
    cursor: pointer;
    white-space: nowrap;
  }

  #oben.scroll .mob_button {
    margin-top: 20px;
  }

  .mob_button span {
    background-color: var(--hauptfarbe2);
    height: 3px;
    left: 5px;
    margin-top: -1px;
    position: absolute;
    top: 50%;
    transition: background-color 0.3s ease 0.3s;
    width: 30px;
  }

  .mob_button span::after,
  .mob_button span::before {
    backface-visibility: hidden;
    background-color: var(--hauptfarbe2);
    content: "";
    height: 3px;
    position: absolute;
    transform: translateZ(0px);
    transition: transform 0.3s ease 0.3s;
    width: 100%;
    display: block;
  }

  .mob_button span::before {
    transform: translateY(-8px);
  }

  .mob_button span::after {
    transform: translateY(8px);
  }

  .mobnavvisible.mob_button span {
    background-color: transparent;
  }

  .mobnavvisible.mob_button span::before {
    transform: translateY(0px) rotate(-45deg);
  }

  .mobnavvisible.mob_button span::after {
    transform: translateY(0px) rotate(45deg);
  }

  .navi {
    width: 100%;
    margin: 0;
    max-height: calc(100vh - 60px);
    overflow: auto;
  }

  .navi > .frame-type-menu_section_pages {
    width: 100% !important;
    float: left;
    clear: both;
    margin: 20px 0 0 0;
    padding: 0px 0;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
    font-size: 16px;
    /* text-transform: uppercase; */
  }

  #oben.scroll .navi > .frame-type-menu_section_pages {
    margin-top: 15px;
  }

  .onepagenavi {
    display: none;
    width: 100%;
    float: left;
    clear: both;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  #oben.scroll .onepagenavi {
    margin: 0;
  }

  .onepagenavi li {
    width: 100%;
    float: left;
    clear: both;
    margin: 2px 0 0 0;
    text-align: center;
  }

  .onepagenavi li:first-child {
    margin: 0;
  }

  .onepagenavi li:last-child {
    margin: 2px 0 0 0;
  }

  .onepagenavi li a {
    width: 96%;
    padding: 10px 2%;
    text-decoration: none;
    display: block;
    background: var(--hauptfarbe2);
    color: #fff;
  }

  .onepagenavi li:last-child a {
    padding: 10px 2%;
  }

  .onepagenavi li.act a,
  .onepagenavi li:hover a {
    background: var(--hauptfarbe);
  }

  .onepagenavi li a:hover,
  .onepagenavi li.act a {
    border: 0;
  }

  .onepagenavi a::before {
    display: none;
  }

  .unterseite > #inhaltsbereich {
    margin-top: 130px;
    scroll-margin-top: 130px;
  }

  .frame-bildslider .ce-gallery.owl-carousel {
    width: calc(100% - 90px);
    padding: 0 45px;
  }

  .frame-bildslider .owl-carousel .owl-nav button.owl-next,
  .frame-bildslider .owl-carousel .owl-nav button.owl-prev {
    margin-top: -15px;
    width: 30px;
    height: 30px;
  }

  #inhaltsbereich
    > div
    > div
    > .tx_cn-columns
    > div
    > .col-100
    > .frame.frame-bildslider
    > .rahmen {
    width: 90%;
    max-width: 1000px;
  }

  /* Footer */
  #footer > div > .rahmen > .frame {
    width: 80%;
  }

  #footer > div > .rahmen > .qnavi {
    width: 20%;
  }

  #footer .tx_cn-columns > .row > div {
    width: 50%;
  }
}

@media (max-width: 1100px) {
  .tx_cn-columns .row .col-25 {
    width: 50%;
    margin-bottom: 20px;
  }

  .tx_cn-columns[data-cols="4"] .row > div > div {
    width: 90%;
  }

  .tx_cn-columns[data-cols="4"] .row > div:nth-child(4n + 1) > div {
    margin-right: 10%;
    margin-left: 0;
  }

  .tx_cn-columns[data-cols="4"] .row > div:nth-child(4n + 2) > div {
    margin-right: 0;
    margin-left: 10%;
  }

  .tx_cn-columns[data-cols="4"] .row > div:nth-child(4n + 3) > div {
    margin-left: 0;
    margin-right: 10%;
  }

  .tx_cn-columns[data-cols="4"] .row > div:nth-child(4n + 4) > div {
    margin-left: 10%;
    margin-right: 0;
  }

  .frame-steuerberater .ce-gallery {
    max-height: 380px;
  }

  .powermail-errors-list {
    position: inherit;
    float: left;
    right: inherit;
    left: 0;
  }
}

@media (max-width: 858px) {
  /* Anpassung Headerbild ab 858px, weil da der Crop für Mobile Portrait in TYPO3 greifft */
  .frame-headerbild .ce-textpic {
    background: var(--hellgrau);
  }

  .frame-headerbild .ce-bodytext {
    position: static;
    width: 90%;
    margin: 0 auto;
    padding: 30px 0;
    text-align: center;
    color: var(--schwarz);
    z-index: 0;
  }

  .frame-headerbild .ce-bodytext h1 {
    font-size: 34px;
    line-height: 1em;
    color: var(--schwarz);
    margin: 0 0 10px 0;
  }

  .frame-headerbild .ce-bodytext a {
    position: absolute;
    bottom: -20px;
    left: calc(50% - 92px);
    z-index: 2;
  }

  h1,
  h2 {
    font-size: 34px;
    line-height: 1.2em;
    margin: 0 0 20px 0;
  }

  h1 + h2,
  h3 {
    font-size: 22px;
    line-height: 1.1em;
    margin: 0 0 10px 0;
  }

  h1 + h2 {
    margin-bottom: 20px;
  }

  h4,
  h5 {
    font-size: 20px;
    line-height: 1.1em;
    margin: 0 0 10px 0;
  }
}

@media (max-width: 840px) {
  .logo,
  #oben.scroll .logo {
    margin-top: 10px;
  }

  .navi > .frame-type-menu_section_pages,
  #oben.scroll .navi > .frame-type-menu_section_pages {
    margin-top: 10px;
  }

  .mob_button,
  #oben.scroll .mob_button {
    margin-top: 20px;
  }

  #oben .logo img,
  #oben.scroll .logo img {
    max-width: 240px;
  }

  /* Multicontent */
  .tx_cn-columns .row .col-50,
  .tx_cn-columns .row .col-25 {
    width: 100%;
  }

  .tx_cn-columns[data-cols="2"] .row > div > div,
  .tx_cn-columns[data-cols="4"] .row > div > div,
  .powermail_fieldset {
    width: 100%;
    margin: 0;
  }

  .tx_cn-columns[data-cols="2"] .row > div:nth-child(even) > div,
  .powermail_fieldset:nth-of-type(2n) {
    margin: 0;
  }

  .tx_cn-columns .row .col-50 + .col-50 {
    padding-top: 20px;
  }

  .tx_cn-columns[data-cols="4"] .row > div:nth-child(4n + 1) > div,
  .tx_cn-columns[data-cols="4"] .row > div:nth-child(4n + 2) > div,
  .tx_cn-columns[data-cols="4"] .row > div:nth-child(4n + 3) > div,
  .tx_cn-columns[data-cols="4"] .row > div:nth-child(4n + 4) > div {
    margin: 0;
  }

  /* Steuerberater */
  .frame-steuerberater .tx_cn-columns .row .col-25 {
    width: 50%;
    margin-bottom: 20px;
  }

  .frame-steuerberater .tx_cn-columns[data-cols="4"] .row > div > div {
    width: 90%;
  }

  .frame-steuerberater
    .tx_cn-columns[data-cols="4"]
    .row
    > div:nth-child(4n + 1)
    > div {
    margin-right: 10%;
    margin-left: 0;
  }

  .frame-steuerberater
    .tx_cn-columns[data-cols="4"]
    .row
    > div:nth-child(4n + 2)
    > div {
    margin-right: 0;
    margin-left: 10%;
  }

  .frame-steuerberater
    .tx_cn-columns[data-cols="4"]
    .row
    > div:nth-child(4n + 3)
    > div {
    margin-left: 0;
    margin-right: 10%;
  }

  .frame-steuerberater
    .tx_cn-columns[data-cols="4"]
    .row
    > div:nth-child(4n + 4)
    > div {
    margin-left: 10%;
    margin-right: 0;
  }

  .frame-steuerberater .ce-gallery {
    max-height: 380px;
  }

  /* Frame Karriere */
  .frame-karriere::after {
    right: 0px;
    top: -80px;

    width: 150px;
    height: 150px;
  }

  /* Frame Leistungen */
  #inhaltsbereich
    > div
    > div
    > .tx_cn-columns
    > div
    > .col-100
    > .frame-leistungen {
    background: none;
    padding-bottom: 0;
    opacity: 1;
  }

  .frame-leistungen .row > .col-100:first-child {
    height: auto;
    width: 100%;
    max-height: 360px;
    overflow: hidden;
  }

  .frame-leistungen .col-100 > .frame {
    background: var(--hauptfarbe);
  }

  .frame-leistungen .col-100 .ce-gallery {
    overflow: visible;
    float: left;
    clear: both;
    width: 100%;
  }

  .frame-leistungen .col-100 .ce-gallery .ce-row {
    overflow: visible;
  }

  .frame-leistungen .col-100 .ce-gallery img {
    box-shadow: 0px 0px 15px var(--schwarztrans07);
    border-radius: 50%;
  }

  .frame-leistungen .row > .col-100:first-child .ce-gallery img {
    width: 100%;
    height: auto;
    border-radius: unset;
  }

  .frame-leistungen .row {
    column-count: 1;
  }

  /* Rahmen Hintergrundbild */
  #inhaltsbereich
    > div
    > div
    > .tx_cn-columns
    > div
    > .col-100
    > .frame-bg-bild {
    padding-bottom: 0;
  }

  #inhaltsbereich
    > div
    > div
    > .tx_cn-columns
    > div
    > .col-100
    > .frame-bg-bild
    > .rahmen {
    width: 100%;
  }

  .frame-bg-bild,
  .frame-bg-bild.tx_cn-columns .row .col-100 > div {
    width: 100%;
    height: auto;
  }

  .frame-bg-bild .tx_cn-columns .row .col-100 {
    background: var(--hauptfarbe);
    margin-top: 140px;
    padding: 30px;
    width: calc(100% - 60px);
  }

  #inhaltsbereich .frame-bg-bild .tx_cn-columns .row .col-100:first-child {
    width: 100%;
    height: auto;
    max-height: 260px;
    overflow: hidden;
    margin-top: 0;
    padding: 0;
    bottom: unset;
  }

  .frame-bg-bild .row .col-100:first-child > .frame,
  .frame-bg-bild .row .col-100:first-child .rahmen,
  .frame-bg-bild .row .col-100:first-child .ce-textpic,
  .frame-bg-bild .row .col-100:first-child .ce-gallery,
  .frame-bg-bild .row .col-100:first-child .ce-row,
  .frame-bg-bild .row .col-100:first-child .ce-column,
  .frame-bg-bild .row .col-100:first-child .image,
  .frame-bg-bild .row .col-100:first-child img {
    width: 100%;
    height: auto;
  }

  .frame-bg-bild .row .col-100:first-child img {
    margin-top: -10%;
  }

  #footer > div > .rahmen > .frame {
    width: 100%;
  }

  #footer > div > .rahmen > .qnavi {
    width: 100%;
    text-align: center;
    border-top: solid 1px #fff;
    margin-top: 20px;
    padding-top: 20px;
  }

  .qnavi li {
    display: inline-block;
  }

  .qnavi li a {
    background: var(--hauptfarbe);
    padding: 15px 50px;
    margin: 5px 20px;
    display: inline-block;
  }
}

@media (max-width: 680px) {
  #footer .tx_cn-columns > .row > div {
    width: 100%;
  }
}

@media (max-width: 500px) {
  .logo {
    margin-left: 5%;
  }

  .mob_button {
    right: 5%;
  }

  #oben .logo img,
  #oben.scroll .logo img {
    max-width: 200px;
  }

  .mob_button,
  #oben.scroll .mob_button {
    margin-top: 15px;
  }

  .frame-steuerberater .tx_cn-columns .row .col-25 {
    width: 100%;
  }

  .frame-steuerberater
    .tx_cn-columns[data-cols="4"]
    .row
    > div:nth-child(4n + 1)
    > div,
  .frame-steuerberater
    .tx_cn-columns[data-cols="4"]
    .row
    > div:nth-child(4n + 2)
    > div,
  .frame-steuerberater
    .tx_cn-columns[data-cols="4"]
    .row
    > div:nth-child(4n + 3)
    > div,
  .frame-steuerberater
    .tx_cn-columns[data-cols="4"]
    .row
    > div:nth-child(4n + 4)
    > div {
    width: 100%;
    margin: 0;
  }

  .frame-steuerberater .ce-gallery {
    max-height: 380px;
  }

  .frame-karriere::after {
    right: 0px;
    top: -80px;

    width: 140px;
    height: 140px;
  }

  .frame-bildslider .ce-gallery.owl-carousel {
    width: 100%;
    padding: 0;
  }

  .frame-bildslider .owl-carousel .owl-nav {
    margin-top: 20px;
    width: 100%;
    text-align: center;
  }

  .frame-bildslider .owl-carousel .owl-nav button.owl-next,
  .frame-bildslider .owl-carousel .owl-nav button.owl-prev {
    /*         margin-top: -10px;
        width: 20px;
        height: 20px;
        left: 10px;
        background: url(../Legacy/images/owl-left-weiss.png) center center no-repeat;
        background-size: contain;
        filter: drop-shadow(1px 1px 3px var(--schwarz)); */
    position: inherit;
    display: inline-block;
    margin: 0 10px;
  }

  .frame-bildslider .owl-carousel .owl-nav button.owl-next {
    left: unset;
    right: 10px;
  }

  #inhaltsbereich .ce-textpic.ce-intext .ce-gallery {
    clear: both;
    margin-bottom: 20px;
  }

  .ce-textpic.ce-intext .ce-bodytext {
    float: left;
  }

  #inhaltsbereich .frame-bg-bild .tx_cn-columns .row .col-100:first-child {
    max-height: unset;
  }

  .frame-bg-bild .row .col-100:first-child img {
    margin-top: 0;
  }

  .qnavi li {
    width: 100%;
  }

  .qnavi li a {
    margin: 5px 0;
    width: calc(100% - 100px);
  }

  .mapsoverlay > div {
    top: 50%;
    transform: translateY(-50%);
  }

  .frame-bg-bild .tx_cn-columns .row .col-100 {
    padding: 15px;
    width: calc(100% - 30px);
  }

  h1,
  h2,
  h3,
  h4,
  h5 {
    -ms-hyphens: auto; /* ab IE10 */
    -moz-hyphens: auto; /* seit Firefox 6 */
    -webkit-hyphens: auto; /* seit Safari 5.1 (OS X), Safari 4.1 (iOS) */
    hyphens: auto;
  }

  h1,
  h2 {
    font-size: 30px;
  }

  h1 + h2,
  h3 {
    font-size: 20px;
  }

  h4,
  h5 {
    font-size: 18px;
  }
}

@media (max-width: 380px) {
  .frame-bg-bild .tx_cn-columns .row .col-100 {
    margin-top: 100px;
  }

  .frame-bildslider .ce-column .image figcaption em {
    right: 15px;
  }

  .frame-bildslider .ce-column .image figcaption > span {
    width: 100%;
    left: 0;
  }
}


/* Css/ghtax-upgrade.css */
/* Ergänzungen für die aktuelle TYPO3-/Cookieman-Ausgabe. */
/* Direkte Karten behalten auch ohne Cookieman die Breite des Inhaltselements. */
.frame-type-html iframe[src*="google.com/maps"] { max-width: 100%; }

:root {
    --cookiemanmain: #82124a;
    --cookiemanneutral: #fff;
    --cookiemanhellgrau: #eeeeee;
}
#cookieman-modal {
    --cookiemanhellgrau: #f1f1f1;
    font-family: "Josefin Sans", sans-serif;
}
#cookieman-modal .modal-title {
    color: var(--cookiemanmain);
    font-weight: 300;
}
#cookieman-modal .modal-content { width: 100%; }
#cookieman-modal .modal-header { padding: 1rem 1rem 0; }
#cookieman-modal .modal-body { padding: 1rem; }
#cookieman-modal .modal-footer { padding: 0 .75rem .75rem; }
#cookieman-modal .modal-footer .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    /* Josefin Sans optisch zentrieren; die gesamte Innenhöhe bleibt gleich. */
    padding-top: calc(.375rem + .15em);
    padding-bottom: calc(.375rem - .15em);
}
.mediaconsent .btn { font-family: "Josefin Sans", sans-serif; font-size: 1rem; }
#cookieman-modal .btn-primary,
#cookieman-modal .btn-success,
#cookieman-modal .btn-secondary { background-color: #82124a; border-color: #82124a; color: #fff; }
#cookieman-modal .modal-footer .btn:is(:hover, :focus) {
    background-color: #585657;
    border-color: #82124a;
}
#cookieman-modal .accordion-button::after { order: -1; margin-left: 0; margin-right: .75rem; }
#cookieman-modal .accordion-header { display: flex; align-items: center; }
#cookieman-modal .accordion-header .form-check-input {
    position: static;
    flex: 0 0 auto;
    margin: 0 1rem 0 .5rem;
    transform: none;
    width: 13px;
    height: 13px;
}

@media (max-width: 400px) {
    .mapsoverlay .btn { font-size: .9em; line-height: 1.1em; }
}
